产品标准-起草-带入标准表格-作废版本整体标红
This commit is contained in:
@@ -953,32 +953,41 @@
|
|||||||
type="index"
|
type="index"
|
||||||
label="序号"
|
label="序号"
|
||||||
width="80"
|
width="80"
|
||||||
align="center"
|
align="center">
|
||||||
></el-table-column>
|
<template slot-scope="scope">
|
||||||
|
<span :style="{color: scope.row.standStatusShow === '作废'? '#F56C6C': '#333'}">{{ scope.$index + 1 }}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
label="企标标准号"
|
label="企标标准号"
|
||||||
align="center"
|
align="center"
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<a @click="handlePreview(scope.row)">{{ scope.row.standCode }}</a>
|
<a :style="{color: scope.row.standStatusShow === '作废'? '#F56C6C': '#333'}" @click="handlePreview(scope.row)">{{ scope.row.standCode }}</a>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="standName"
|
prop="standName"
|
||||||
label="中文名称"
|
label="中文名称"
|
||||||
align="center">
|
align="center">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span :style="{color: scope.row.standStatusShow === '作废'? '#F56C6C': '#333'}">{{ scope.row.standName }}</span>
|
||||||
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="standEnName"
|
prop="standEnName"
|
||||||
label="英文名称"
|
label="英文名称"
|
||||||
align="center">
|
align="center">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span :style="{color: scope.row.standStatusShow === '作废'? '#F56C6C': '#333'}">{{ scope.row.standEnName }}</span>
|
||||||
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="textStatus"
|
prop="textStatus"
|
||||||
label="文本状态"
|
label="文本状态"
|
||||||
align="center">
|
align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.standStatusShow }}</span>
|
<span :style="{color: scope.row.standStatusShow === '作废'? '#F56C6C': '#333'}">{{ scope.row.standStatusShow }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="操作" align="center" width="80">
|
<el-table-column label="操作" align="center" width="80">
|
||||||
@@ -2097,6 +2106,9 @@
|
|||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
if(res && res.data){
|
if(res && res.data){
|
||||||
|
if (res.data.textStatusBussShow === '作废') {
|
||||||
|
this.$message.error('本版本已作废')
|
||||||
|
}
|
||||||
const bringData = res.data
|
const bringData = res.data
|
||||||
this.FBGBUSSFileList=[]
|
this.FBGBUSSFileList=[]
|
||||||
this.BZSMBUSSFileList=[]
|
this.BZSMBUSSFileList=[]
|
||||||
|
|||||||
Reference in New Issue
Block a user