搜索中心-修改文本状态

This commit is contained in:
zyn
2023-11-16 17:32:47 +08:00
parent 61dd335361
commit a2b204c4f9
@@ -163,9 +163,17 @@
min-width="12%">
<template slot-scope="scope">
<!-- <span v-if="selectIndex === 'laws'">{{ getLawsState(scope.row.statecode) }}</span>-->
<div :class="selectIndex === 'enterprise' || selectIndex === 'laws' ? (scope.row.textStatusBussName === '参考' || scope.row.textStatusBussName === '被代替' ? 'yellowClass' :
(scope.row.textStatusBussName || scope.row.lawsTextStateName === '作废' ? 'redClass' : '')) : ''">
{{ selectIndex === 'stand'|| (selectIndex === 'bussstand' && scope.row.standType === 'FOREIGN') ? scope.row.textStatusName : (selectIndex === 'laws' ? scope.row.lawsTextStateName : scope.row.textStatusBussName) }}</div>
<!--<div :class="selectIndex === 'enterprise' || selectIndex === 'laws' ? (scope.row.textStatusBussName === '参考' || scope.row.textStatusBussName === '被代替' ? 'yellowClass' :-->
<!--(scope.row.textStatusBussName || scope.row.lawsTextStateName === '作废' ? 'redClass' : '')) : ''">-->
<!-- {{ selectIndex === 'stand'|| (selectIndex === 'bussstand' && scope.row.standType === 'FOREIGN') ? scope.row.textStatusName : (selectIndex === 'laws' ? scope.row.lawsTextStateName : scope.row.textStatusBussName) }}</div>-->
<div v-if="selectIndex === 'stand' || selectIndex === 'bussstand'"
:class="(scope.row.textStatusName === '废止' || scope.row.textStatusName === '被代替') ? 'redClass' : ''"
>{{ scope.row.textStatusName }}</div>
<div v-else-if="selectIndex === 'laws'"
:class="(scope.row.textStatusBussName === '作废' || scope.row.textStatusBussName === '被代替') ? 'redClass' : ''"
>{{ scope.row.lawsTextStateName }}</div>
<div v-else :class="(scope.row.textStatusBussName === '作废' || scope.row.textStatusBussName === '被代替') ? 'redClass' : ''"
>{{ scope.row.textStatusBussName }}</div>
</template>
</el-table-column>
<el-table-column