技术标准-起草-带入标准-作废标红

This commit is contained in:
zyn
2023-11-16 17:58:45 +08:00
parent a89d917806
commit 78937bf691
@@ -1086,14 +1086,20 @@
type="index"
label="序号"
width="80"
align="center"
></el-table-column>
align="center">
<template slot-scope="scope">
<span :style="{color: scope.row.standStatusShow === '作废'? '#F56C6C': '#333'}">{{ scope.$index + 1 }}</span>
</template>
</el-table-column>
<el-table-column
v-if="this.form.reviseStatus === '1' || this.form.reviseStatus === '2'"
prop="bussSort"
label="企标类别"
align="center"
width="120">
<template slot-scope="scope">
<span :style="{color: scope.row.standStatusShow === '作废'? '#F56C6C': '#333'}">{{ scope.row.bussSort }}</span>
</template>
</el-table-column>
<el-table-column
v-if="this.form.reviseStatus === '1' || this.form.reviseStatus === '2'"
@@ -1101,6 +1107,9 @@
label="企标名称"
align="center"
width="120">
<template slot-scope="scope">
<span :style="{color: scope.row.standStatusShow === '作废'? '#F56C6C': '#333'}">{{ scope.row.esName }}</span>
</template>
</el-table-column>
<el-table-column
v-if="this.form.reviseStatus === '1' || this.form.reviseStatus === '2'"
@@ -1109,7 +1118,8 @@
align="center"
width="150">
<template slot-scope="scope">
<div>{{ getMap1(scope.row.planStatus)}}</div>
<div :style="{color: scope.row.standStatusShow === '作废'? '#F56C6C': '#333'}"
>{{ getMap1(scope.row.planStatus)}}</div>
</template>
</el-table-column>
<el-table-column
@@ -1119,7 +1129,8 @@
align="center"
label="制修订状态">
<template slot-scope="scope">
<div>{{ scope.row.reviseStatus === ''? '' : (scope.row.reviseStatus === '1'? '制定' :
<div :style="{color: scope.row.standStatusShow === '作废'? '#F56C6C': '#333'}"
>{{ scope.row.reviseStatus === ''? '' : (scope.row.reviseStatus === '1'? '制定' :
'修订') }}
</div>
</template>
@@ -1130,6 +1141,9 @@
width="120"
align="center"
label="起草人">
<template slot-scope="scope">
<span :style="{color: scope.row.standStatusShow === '作废'? '#F56C6C': '#333'}">{{ scope.row.drafterName }}</span>
</template>
</el-table-column>
<el-table-column
v-if="this.form.reviseStatus === '1' || this.form.reviseStatus === '2'"
@@ -1137,6 +1151,9 @@
width="120"
align="center"
label="评审责任人">
<template slot-scope="scope">
<span :style="{color: scope.row.standStatusShow === '作废'? '#F56C6C': '#333'}">{{ scope.row.resPersonName }}</span>
</template>
</el-table-column>
<el-table-column
v-if="this.form.reviseStatus === '1' || this.form.reviseStatus === '2'"
@@ -1144,6 +1161,9 @@
width="120"
align="center"
label="工作组组长">
<template slot-scope="scope">
<span :style="{color: scope.row.standStatusShow === '作废'? '#F56C6C': '#333'}">{{ scope.row.wgLeaderName }}</span>
</template>
</el-table-column>
<el-table-column
v-if="this.form.reviseStatus === '1' || this.form.reviseStatus === '2'"
@@ -1152,7 +1172,8 @@
align="center"
label="计划标准初稿完成时间">
<template slot-scope="scope">
<span>{{ scope.row.draftTime ? $moment(scope.row.draftTime).format("YYYY-MM-DD") : "" }}</span>
<span :style="{color: scope.row.standStatusShow === '作废'? '#F56C6C': '#333'}"
>{{ scope.row.draftTime ? $moment(scope.row.draftTime).format("YYYY-MM-DD") : "" }}</span>
</template>
</el-table-column>
<el-table-column
@@ -1162,7 +1183,8 @@
align="center"
label="计划标准发布时间">
<template slot-scope="scope">
<span>{{ scope.row.releaseTime ? $moment(scope.row.releaseTime).format("YYYY-MM-DD") : "" }}</span>
<span :style="{color: scope.row.standStatusShow === '作废'? '#F56C6C': '#333'}"
>{{ scope.row.releaseTime ? $moment(scope.row.releaseTime).format("YYYY-MM-DD") : "" }}</span>
</template>
</el-table-column>
<el-table-column
@@ -1170,42 +1192,63 @@
align="center"
prop="unitName"
label="起草责任单位">
<template slot-scope="scope">
<span :style="{color: scope.row.standStatusShow === '作废'? '#F56C6C': '#333'}">{{ scope.row.unitName }}</span>
</template>
</el-table-column>
<el-table-column
v-if="this.form.reviseStatus === '3'"
align="center"
prop="standCode"
label="企标编号">
<template slot-scope="scope">
<span :style="{color: scope.row.standStatusShow === '作废'? '#F56C6C': '#333'}">{{ scope.row.standCode }}</span>
</template>
</el-table-column>
<el-table-column
v-if="this.form.reviseStatus === '3'"
align="center"
prop="standName"
label="中文名称">
<template slot-scope="scope">
<span :style="{color: scope.row.standStatusShow === '作废'? '#F56C6C': '#333'}">{{ scope.row.standName }}</span>
</template>
</el-table-column>
<el-table-column
v-if="this.form.reviseStatus === '3'"
align="center"
prop="standStatusShow"
label="文本状态">
<template slot-scope="scope">
<span :style="{color: scope.row.standStatusShow === '作废'? '#F56C6C': '#333'}">{{ scope.row.standStatusShow }}</span>
</template>
</el-table-column>
<el-table-column
v-if="this.form.reviseStatus === '3'"
align="center"
prop="dtqbbhbuss"
label="代替企标编号">
<template slot-scope="scope">
<span :style="{color: scope.row.standStatusShow === '作废'? '#F56C6C': '#333'}">{{ scope.row.dtqbbhbuss }}</span>
</template>
</el-table-column>
<el-table-column
v-if="this.form.reviseStatus === '3'"
align="center"
prop="issueTime"
label="发布日期">
<template slot-scope="scope">
<span :style="{color: scope.row.standStatusShow === '作废'? '#F56C6C': '#333'}">{{ scope.row.issueTime }}</span>
</template>
</el-table-column>
<el-table-column
v-if="this.form.reviseStatus === '3'"
align="center"
prop="putTime"
label="实施日期">
<template slot-scope="scope">
<span :style="{color: scope.row.standStatusShow === '作废'? '#F56C6C': '#333'}">{{ scope.row.putTime }}</span>
</template>
</el-table-column>
<!-- <el-table-column-->
<!-- v-if="this.form.reviseStatus === '3'"-->