feat: There is no way the,

This commit is contained in:
super_liu
2021-11-12 10:29:48 +08:00
parent e78e2fc030
commit ac439a30a6
4 changed files with 45 additions and 37 deletions
@@ -26,7 +26,7 @@
@mouseleave="mouseleave(data)">
<span
:class="data.children.length !== 0 ? 'is-show' : 'is-leaf-none'"></span>
<span> {{ node.label }} </span>
<span style="font-size:12px"> {{ node.label }} </span>
<span>
<el-button
type="text"
@@ -192,7 +192,7 @@
</el-table-column>
<el-table-column
label="标准号"
min-width="15%"
width="120"
>
<template slot-scope="scope">
<a v-if="scope.row.standYear && textStatusMap[scope.row.textStatus] === '废止' || textStatusMap[scope.row.textStatus] === '被代替'" class="table-jump" style="color: #F56C6C"
@@ -212,7 +212,7 @@
show-overflow-tooltip
prop="standName"
label="标准名称"
min-width="45%"
width="350"
>
<template slot-scope="scope">
<a v-if="textStatusMap[scope.row.textStatus] === '废止' || textStatusMap[scope.row.textStatus] === '被代替'" @click="handlePreview(scope.row)" class="table-jump" style="color: #F56C6C">{{ scope.row.standName }}</a>
@@ -222,7 +222,7 @@
<el-table-column
prop="issueTime"
sortable="custom"
min-width="13%"
width="150"
label="发布日期">
<template slot-scope="scope">
<span v-if="textStatusMap[scope.row.textStatus] === '废止' || textStatusMap[scope.row.textStatus] === '被代替'" style="color: #F56C6C">{{ formatIssueDate(scope.row.issueTime) }}</span>
@@ -232,7 +232,7 @@
<el-table-column
prop="SSRQ"
sortable="custom"
min-width="13%"
width="150"
label="实施日期">
<template slot-scope="scope">
<!-- {{ formatIssueDate(scope.row.putTime) }}-->
@@ -245,7 +245,7 @@
<el-table-column
prop="XCXSSRQ"
sortable="custom"
min-width="13%"
width="150"
label="新车型实施日期">
<template slot-scope="scope">
<span v-if="textStatusMap[scope.row.textStatus] === '废止' || textStatusMap[scope.row.textStatus] === '被代替'" style="color: #F56C6C">{{ scope.row.XCXSSRQ ? scope.row.XCXSSRQ.substring(0, 10) : '-' }}</span>
@@ -255,7 +255,7 @@
<el-table-column
prop="ZCCSSRQ"
sortable="custom"
min-width="13%"
width="150"
label="在产车实施日期">
<template slot-scope="scope">
<span v-if="textStatusMap[scope.row.textStatus] === '废止' || textStatusMap[scope.row.textStatus] === '被代替'" style="color: #F56C6C">{{ scope.row.ZCCSSRQ ? scope.row.ZCCSSRQ.substring(0, 10) : '-' }}</span>
@@ -265,7 +265,7 @@
<el-table-column
prop="textStatus"
sortable="custom"
min-width="10%"
width="120"
label="文本状态">
<!-- <template slot="header" slot-scope="scope">-->
<!-- <el-tooltip class="item" effect="dark" content="计划修订”、“修订中”均为现行有效版本;“已修订”标准的有效性根据实际实施情况判定。" placement="bottom">-->
@@ -279,7 +279,10 @@
<span v-else>{{ textStatusMap[scope.row.textStatus] }}</span>
</template>
</el-table-column>
<el-table-column v-if="isPermission('cac1eb379eb8e3b987cbb2e4599adb50,247cebaefa7cf1683092af160af11502,dbaf9df2990a595c8abea28e68b1a681')>0" label="操作" align="center" min-width="10%">
<el-table-column fixed="right"
v-if="isPermission('cac1eb379eb8e3b987cbb2e4599adb50,247cebaefa7cf1683092af160af11502,dbaf9df2990a595c8abea28e68b1a681')>0"
label="操作" align="center" width="100"
>
<template slot-scope="scope">
<div v-if="isPermission('cac1eb379eb8e3b987cbb2e4599adb50,247cebaefa7cf1683092af160af11502,dbaf9df2990a595c8abea28e68b1a681') == 1"
@command="handleCommand"