fix: 将文本状态是被代替的修改颜色显示

This commit is contained in:
zhangyanduan
2022-09-27 15:31:34 +08:00
parent ae9584e12e
commit 15c3afdc17
16 changed files with 189 additions and 189 deletions
@@ -1055,8 +1055,8 @@
width="180"
:label="selectIndex === 'INLAND_STAND' ? '文本状态' : (this.selectIndex === 'INLAND_LAWS' ? '文件状态' : '文本状态')">
<template slot-scope="scope">
<div :style="selectIndex === 'BUSINESS_STAND' || selectIndex === 'INLAND_LAWS' ? (scope.row.textStatusBussName === '参考' ? 'color: #E6A23C;' :
(scope.row.textStatusBussName === '作废' || scope.row.lawsTextStateName === '作废' || scope.row.textStatusBussName === '被代替' ? 'color: #F56C6C;' : '')) : ''">
<div :style="selectIndex === 'BUSINESS_STAND' || selectIndex === 'INLAND_LAWS' ? (scope.row.textStatusBussName === '参考'|| scope.row.textStatusBussName === '被代替' ? 'color: #E6A23C;' :
(scope.row.textStatusBussName === '作废' || scope.row.lawsTextStateName === '作废' ? 'color: #F56C6C;' : '')) : ''">
{{ selectIndex === 'INLAND_STAND' ? scope.row.textStatusName : (selectIndex === 'INLAND_LAWS' ? scope.row.lawsTextStateName : scope.row.textStatusBussName) }}
</div>
</template>
@@ -1055,8 +1055,8 @@
width="180"
:label="selectIndex === 'INLAND_STAND' ? '文本状态' : (this.selectIndex === 'INLAND_LAWS' ? '文件状态' : '文本状态')">
<template slot-scope="scope">
<div :style="selectIndex === 'BUSINESS_STAND' || selectIndex === 'INLAND_LAWS' ? (scope.row.textStatusBussName === '参考' ? 'color: #E6A23C;' :
(scope.row.textStatusBussName === '作废' || scope.row.lawsTextStateName === '作废' || scope.row.textStatusBussName === '被代替' ? 'color: #F56C6C;' : '')) : ''">
<div :style="selectIndex === 'BUSINESS_STAND' || selectIndex === 'INLAND_LAWS' ? (scope.row.textStatusBussName === '参考' || scope.row.textStatusBussName === '被代替' ? 'color: #E6A23C;' :
(scope.row.textStatusBussName === '作废' || scope.row.lawsTextStateName === '作废' ? 'color: #F56C6C;' : '')) : ''">
{{ selectIndex === 'INLAND_STAND' ? scope.row.textStatusName : (selectIndex === 'INLAND_LAWS' ? scope.row.lawsTextStateName : scope.row.textStatusBussName) }}
</div>
</template>
@@ -151,8 +151,8 @@
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 === '参考' ? 'yellowClass' :
(scope.row.textStatusBussName || scope.row.lawsTextStateName === '作废' || scope.row.textStatusBussName === '被代替' ? 'redClass' : '')) : ''">
<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>
</template>
</el-table-column>