<el-table-column prop="bidType" label="招标方式" align="center" width="150">
<template #default="scope">
{{ bidTypeFilte(scope.row.bidType) }}
</template>
</el-table-column>
/**
* 投标类型过滤
* @description
* @param {number} val 查询关键字
* @returns {void} 返回数据
*/
private bidTypeFilte(val: number): string {
const bidTypeOptions = [
{ value: 1, label: '竞争性综合评估' },
{ value: 2, label: '价格比较' },
{ value: 3, label: '制定供应商' }
];
const bidTypeName = bidTypeOptions.filter((item) => item.value === val);
return bidTypeName[0].label;
}
08-21
4021
“相关推荐”对你有帮助么?
-
非常没帮助
-
没帮助
-
一般
-
有帮助
-
非常有帮助
提交