企业标准库文本状态颜色

This commit is contained in:
zhaokaiyao@91isoft.com
2021-08-27 14:48:01 +08:00
parent 671b562bb3
commit 9ab2466e74
@@ -341,6 +341,20 @@
label="文本状态"
width="110"
>
<template slot-scope="scope">
<span v-if="scope.row.standStatusShow === '作废' ||scope.row.standStatusShow === '被代替' " style="color: #F56C6C">
{{scope.row.standStatusShow}}
</span>
<span v-else-if="scope.row.standStatusShow === '参考' " style="color: #E6A23C">
{{scope.row.standStatusShow}}
</span>
<span v-else>
{{scope.row.standStatusShow}}
</span>
</template>
</el-table-column>
<el-table-column label="操作" align="center" width="50" fixed="right">
<template slot-scope="scope">
@@ -1237,6 +1251,7 @@ export default {
children: 'children',
label: 'menuName'
},
advancedSearch:[],
nodeKey: 'id',
nodeKeyCode: 'code',