搜索中心-修改文本状态
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user