fix: 将文本状态是被代替的修改颜色显示
This commit is contained in:
@@ -311,7 +311,7 @@
|
||||
width="150"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<a v-if="scope.row.standYear && scope.row.standTextStatusShow === '废止' || scope.row.standTextStatusShow === '被代替'" class="table-jump" style="color: #F56C6C"
|
||||
<a v-if="scope.row.standYear && scope.row.standTextStatusShow === '废止'" class="table-jump" style="color: #F56C6C"
|
||||
@click="handlePreview(scope.row)">{{ scope.row.standSortShow }} {{
|
||||
scope.row.standNumber
|
||||
}}-{{ scope.row.standYear }}</a>
|
||||
@@ -331,7 +331,7 @@
|
||||
min-width="300"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<a v-if="scope.row.standTextStatusShow === '废止' || scope.row.standTextStatusShow === '被代替'" @click="handlePreview(scope.row)" class="table-jump" style="color: #F56C6C">{{ scope.row.standName }}</a>
|
||||
<a v-if="scope.row.standTextStatusShow === '废止'" @click="handlePreview(scope.row)" class="table-jump" style="color: #F56C6C">{{ scope.row.standName }}</a>
|
||||
<a v-else @click="handlePreview(scope.row)" style="color: #333333" class="table-jump">{{ scope.row.standName }}</a>
|
||||
</template>
|
||||
</el-table-column>
|
||||
@@ -341,7 +341,7 @@
|
||||
width="120"
|
||||
label="发布日期">
|
||||
<template slot-scope="scope">
|
||||
<span v-if="scope.row.standTextStatusShow === '废止' || scope.row.standTextStatusShow === '被代替'" style="color: #F56C6C">{{ formatIssueDate(scope.row.issueTime) }}</span>
|
||||
<span v-if="scope.row.standTextStatusShow === '废止'" style="color: #F56C6C">{{ formatIssueDate(scope.row.issueTime) }}</span>
|
||||
<span v-else>{{ formatIssueDate(scope.row.issueTime) }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
@@ -352,7 +352,7 @@
|
||||
label="实施日期">
|
||||
<template slot-scope="scope">
|
||||
<!-- {{ formatIssueDate(scope.row.putTime) }}-->
|
||||
<span v-if="scope.row.standTextStatusShow === '废止' || scope.row.standTextStatusShow === '被代替'" style="color: #F56C6C">{{ scope.row.ssrq ? scope.row.ssrq.substring(0, 10) : '-' }}</span>
|
||||
<span v-if="scope.row.standTextStatusShow === '废止'" style="color: #F56C6C">{{ scope.row.ssrq ? scope.row.ssrq.substring(0, 10) : '-' }}</span>
|
||||
<span v-else>{{ scope.row.ssrq ? scope.row.ssrq.substring(0, 10) : '-' }}</span>
|
||||
|
||||
</template>
|
||||
@@ -364,7 +364,7 @@
|
||||
width="150"
|
||||
label="新车型实施日期">
|
||||
<template slot-scope="scope">
|
||||
<span v-if="scope.row.standTextStatusShow === '废止' || scope.row.standTextStatusShow === '被代替'" style="color: #F56C6C">{{ scope.row.XCXSSRQ ? scope.row.XCXSSRQ.substring(0, 10) : '-' }}</span>
|
||||
<span v-if="scope.row.standTextStatusShow === '废止'" style="color: #F56C6C">{{ scope.row.XCXSSRQ ? scope.row.XCXSSRQ.substring(0, 10) : '-' }}</span>
|
||||
<span v-else>{{ scope.row.XCXSSRQ ? scope.row.XCXSSRQ.substring(0, 10) : '-' }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
@@ -374,7 +374,7 @@
|
||||
width="150"
|
||||
label="在产车实施日期">
|
||||
<template slot-scope="scope">
|
||||
<span v-if="scope.row.standTextStatusShow === '废止' || scope.row.standTextStatusShow === '被代替'" style="color: #F56C6C">{{ scope.row.ZCCSSRQ ? scope.row.ZCCSSRQ.substring(0, 10) : '-' }}</span>
|
||||
<span v-if="scope.row.standTextStatusShow === '废止'" style="color: #F56C6C">{{ scope.row.ZCCSSRQ ? scope.row.ZCCSSRQ.substring(0, 10) : '-' }}</span>
|
||||
<span v-else>{{ scope.row.ZCCSSRQ ? scope.row.ZCCSSRQ.substring(0, 10) : '-' }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
@@ -389,7 +389,7 @@
|
||||
<!-- </el-tooltip>-->
|
||||
<!-- </template>-->
|
||||
<template slot-scope="scope">
|
||||
<span v-if="scope.row.standTextStatusShow === '废止' || scope.row.standTextStatusShow === '被代替'" style="color: #F56C6C">{{
|
||||
<span v-if="scope.row.standTextStatusShow === '废止'" style="color: #F56C6C">{{
|
||||
scope.row.standTextStatusShow
|
||||
}}</span>
|
||||
<span v-else>{{ scope.row.standTextStatusShow }}</span>
|
||||
@@ -402,7 +402,7 @@
|
||||
width="150"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<a v-if="scope.row.standYear && scope.row.standTextStatusShow === '废止' || scope.row.standTextStatusShow === '被代替'" style="color: #F56C6C" class="table-jump" @click="handlePreview(scope.row)">{{
|
||||
<a v-if="scope.row.standYear && scope.row.standTextStatusShow === '废止'" style="color: #F56C6C" class="table-jump" @click="handlePreview(scope.row)">{{
|
||||
scope.row.standSortShow
|
||||
}} {{ scope.row.standNumber }}-{{ scope.row.standYear }}</a>
|
||||
<a v-else-if="scope.row.standYear && scope.row.standTextStatusShow === '——' " style="color: #409EFF" class="table-jump" @click="handlePreview(scope.row)">{{
|
||||
@@ -424,7 +424,7 @@
|
||||
min-width="300"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<a v-if="scope.row.standTextStatusShow === '废止' || scope.row.standTextStatusShow === '被代替'" style="color: #F56C6C" @click="handlePreview(scope.row)" class="table-jump">{{
|
||||
<a v-if="scope.row.standTextStatusShow === '废止'" style="color: #F56C6C" @click="handlePreview(scope.row)" class="table-jump">{{
|
||||
scope.row.standName
|
||||
}}</a>
|
||||
<a v-else-if="scope.row.standTextStatusShow === '——' " style="color: #409EFF" @click="handlePreview(scope.row)" class="table-jump">{{
|
||||
@@ -441,7 +441,7 @@
|
||||
width="120"
|
||||
label="发布日期">
|
||||
<template slot-scope="scope">
|
||||
<div v-if="scope.row.standTextStatusShow === '废止' || scope.row.standTextStatusShow === '被代替'" style="color: #F56C6C">
|
||||
<div v-if="scope.row.standTextStatusShow === '废止'" style="color: #F56C6C">
|
||||
{{ formatIssueDate(scope.row.issueTime) }}
|
||||
</div>
|
||||
<div v-else-if="scope.row.standTextStatusShow === '——' " style="color: #409EFF">
|
||||
@@ -459,7 +459,7 @@
|
||||
label="实施日期">
|
||||
<template slot-scope="scope">
|
||||
<!-- {{ formatIssueDate(scope.row.putTime) }}-->
|
||||
<span v-if="scope.row.standTextStatusShow === '废止' || scope.row.standTextStatusShow === '被代替'" style="color: #F56C6C">{{
|
||||
<span v-if="scope.row.standTextStatusShow === '废止'" style="color: #F56C6C">{{
|
||||
scope.row.SSRQ ? scope.row.SSRQ.substring(0, 10) : '-'
|
||||
}}</span>
|
||||
<span v-else-if="scope.row.standTextStatusShow === '——' " style="color: #409EFF">{{
|
||||
@@ -475,7 +475,7 @@
|
||||
width="150"
|
||||
label="新车型实施日期">
|
||||
<template slot-scope="scope">
|
||||
<span v-if="scope.row.standTextStatusShow === '废止' || scope.row.standTextStatusShow === '被代替'" style="color: #F56C6C">{{
|
||||
<span v-if="scope.row.standTextStatusShow === '废止'" style="color: #F56C6C">{{
|
||||
scope.row.XCXSSRQ ? scope.row.XCXSSRQ.substring(0, 10) : '-'
|
||||
}}</span>
|
||||
<span v-else-if="scope.row.standTextStatusShow === '——' " style="color: #409EFF">{{
|
||||
@@ -492,7 +492,7 @@
|
||||
width="150"
|
||||
label="在产车实施日期">
|
||||
<template slot-scope="scope">
|
||||
<span v-if="scope.row.standTextStatusShow === '废止' || scope.row.standTextStatusShow === '被代替'" style="color: #F56C6C">{{
|
||||
<span v-if="scope.row.standTextStatusShow === '废止'" style="color: #F56C6C">{{
|
||||
scope.row.ZCCSSRQ ? scope.row.ZCCSSRQ.substring(0, 10) : '-'
|
||||
}}</span>
|
||||
<span v-else-if="scope.row.standTextStatusShow === '——' " style="color: #409EFF">{{
|
||||
@@ -514,7 +514,7 @@
|
||||
<!-- </el-tooltip>-->
|
||||
<!-- </template>-->
|
||||
<template slot-scope="scope">
|
||||
<span v-if="scope.row.standTextStatusShow === '废止' || scope.row.standTextStatusShow === '被代替'" style="color: #F56C6C">{{
|
||||
<span v-if="scope.row.standTextStatusShow === '废止'" style="color: #F56C6C">{{
|
||||
scope.row.standTextStatusShow
|
||||
}}</span>
|
||||
<span v-else-if="scope.row.standTextStatusShow === '——' " style="color: #409EFF">{{
|
||||
|
||||
Reference in New Issue
Block a user