项目清单确认流程 文本状态---标准状态

This commit is contained in:
zhoulingpo
2023-12-07 16:45:06 +08:00
parent f340346053
commit 6bc5d3b6f2
5 changed files with 44 additions and 44 deletions
@@ -590,7 +590,7 @@
<el-table-column <el-table-column
prop="textStatus" prop="textStatus"
width="110" width="110"
label="文本状态"> label="标准状态">
<template slot-scope="scope"> <template slot-scope="scope">
<span v-if="textStatusMap[scope.row.textStatus] === '废止'" style="color: #F56C6C">{{ <span v-if="textStatusMap[scope.row.textStatus] === '废止'" style="color: #F56C6C">{{
textStatusMap[scope.row.textStatus] textStatusMap[scope.row.textStatus]
@@ -705,7 +705,7 @@
<el-table-column <el-table-column
prop="textStatus" prop="textStatus"
width="110" width="110"
label="文本状态"> label="标准状态">
<template slot-scope="scope"> <template slot-scope="scope">
<span v-if="textStatusMap[scope.row.textStatus] === '废止' " style="color: #F56C6C">{{ <span v-if="textStatusMap[scope.row.textStatus] === '废止' " style="color: #F56C6C">{{
textStatusMap[scope.row.textStatus] textStatusMap[scope.row.textStatus]
@@ -779,7 +779,7 @@
<el-table-column <el-table-column
show-overflow-tooltip show-overflow-tooltip
prop="standStatusShow" prop="standStatusShow"
label="文本状态" label="标准状态"
width="110" width="110"
> >
@@ -844,7 +844,7 @@ export default {
handleSelectTableList: [], handleSelectTableList: [],
projectStand: [], projectStand: [],
dataList: [], dataList: [],
textStatusMap: {},// 文本状态id与name对应 textStatusMap: {},// 标准状态id与name对应
textState: [], textState: [],
handleSelectForm: { handleSelectForm: {
standName: '', //标准名称 standName: '', //标准名称
@@ -1487,7 +1487,7 @@ export default {
this.isSubmit = false; this.isSubmit = false;
}); });
}, },
// 将文本状态的id与name对应 // 将标准状态的id与name对应
setMap(data) { setMap(data) {
data.forEach(item => { data.forEach(item => {
this.$set(this.textStatusMap, item.value, item.label) this.$set(this.textStatusMap, item.value, item.label)
@@ -1524,9 +1524,9 @@ export default {
}, res => { }, res => {
this.energyKindOptions = res.data.ENERGYTYPES; //适用车型 this.energyKindOptions = res.data.ENERGYTYPES; //适用车型
this.syzdSelect = res.data.SYRZCLASS; //认证类型 this.syzdSelect = res.data.SYRZCLASS; //认证类型
this.setMap(res.data.WBZTCLASS);// 文本状态 this.setMap(res.data.WBZTCLASS);// 标准状态
this.setMap(res.data.TEXTSTATUSBUSS);//企标文本状态 this.setMap(res.data.TEXTSTATUSBUSS);//企标标准状态
this.textState = res.data.WBZTCLASS // 文本状态 this.textState = res.data.WBZTCLASS // 标准状态
this.textState.push(res.data.TEXTSTATUSBUSS) // this.textState.push(res.data.TEXTSTATUSBUSS) //
this.$http.get("sarLawsDetailedList/sar-laws-detailed-list/getAllStand", { this.$http.get("sarLawsDetailedList/sar-laws-detailed-list/getAllStand", {
page: 1, page: 1,
@@ -423,10 +423,10 @@
<el-table-column <el-table-column
prop="textStatus" prop="textStatus"
width="110" width="110"
label="文本状态"> label="标准状态">
<!-- <template slot="header" slot-scope="scope">--> <!-- <template slot="header" slot-scope="scope">-->
<!-- <el-tooltip class="item" effect="dark" content="计划修订”、“修订中”均为现行有效版本;“已修订”标准的有效性根据实际实施情况判定。" placement="bottom">--> <!-- <el-tooltip class="item" effect="dark" content="计划修订”、“修订中”均为现行有效版本;“已修订”标准的有效性根据实际实施情况判定。" placement="bottom">-->
<!-- <span>文本状态<i class="el-icon-warning-outline"></i></span>--> <!-- <span>标准状态<i class="el-icon-warning-outline"></i></span>-->
<!-- </el-tooltip>--> <!-- </el-tooltip>-->
<!-- </template>--> <!-- </template>-->
<template slot-scope="scope"> <template slot-scope="scope">
@@ -543,10 +543,10 @@
<el-table-column <el-table-column
prop="textStatus" prop="textStatus"
width="110" width="110"
label="文本状态"> label="标准状态">
<!-- <template slot="header" slot-scope="scope">--> <!-- <template slot="header" slot-scope="scope">-->
<!-- <el-tooltip class="item" effect="dark" content="计划修订”、“修订中”均为现行有效版本;“已修订”标准的有效性根据实际实施情况判定。" placement="bottom">--> <!-- <el-tooltip class="item" effect="dark" content="计划修订”、“修订中”均为现行有效版本;“已修订”标准的有效性根据实际实施情况判定。" placement="bottom">-->
<!-- <span>文本状态 <i class="el-icon-warning-outline"></i></span>--> <!-- <span>标准状态 <i class="el-icon-warning-outline"></i></span>-->
<!-- </el-tooltip>--> <!-- </el-tooltip>-->
<!-- </template>--> <!-- </template>-->
<template slot-scope="scope"> <template slot-scope="scope">
@@ -622,7 +622,7 @@
<el-table-column <el-table-column
show-overflow-tooltip show-overflow-tooltip
prop="standStatusShow" prop="standStatusShow"
label="文本状态" label="标准状态"
width="110" width="110"
> >
@@ -772,7 +772,7 @@ export default {
taskIds: this.$route.query.taskIds, taskIds: this.$route.query.taskIds,
pId: this.$route.query.prcId, pId: this.$route.query.prcId,
standMap: new Map(), standMap: new Map(),
textStatusMap: {},// 文本状态id与name对应 textStatusMap: {},// 标准状态id与name对应
}; };
}, },
mounted() { mounted() {
@@ -785,9 +785,9 @@ export default {
}, res => { }, res => {
this.energyKindOptions = res.data.ENERGYTYPES; //适用车型 this.energyKindOptions = res.data.ENERGYTYPES; //适用车型
this.standSortOptions = res.data.STANDCLASSIFY; // 标准类别 this.standSortOptions = res.data.STANDCLASSIFY; // 标准类别
this.setMap(res.data.WBZTCLASS,res.data.TEXTSTATUSBUSS);// 文本状态 this.setMap(res.data.WBZTCLASS,res.data.TEXTSTATUSBUSS);// 标准状态
this.setMap(this.zrbmMap, res.data.ZRBMCLASS); this.setMap(this.zrbmMap, res.data.ZRBMCLASS);
this.textState = res.data.WBZTCLASS // 文本状态 this.textState = res.data.WBZTCLASS // 标准状态
this.showLocalProductData(this.getLocalPro); this.showLocalProductData(this.getLocalPro);
}, e => { }, e => {
}); });
@@ -849,7 +849,7 @@ export default {
this.drawerTitle = '转办处理人' this.drawerTitle = '转办处理人'
this.selectPeople = row this.selectPeople = row
}, },
// 将文本状态的id与name对应 // 将标准状态的id与name对应
setMap(data,res) { setMap(data,res) {
var arr = data.concat(res) var arr = data.concat(res)
arr.forEach(item => { arr.forEach(item => {
@@ -424,10 +424,10 @@
<el-table-column <el-table-column
prop="textStatus" prop="textStatus"
width="110" width="110"
label="文本状态"> label="标准状态">
<!-- <template slot="header" slot-scope="scope">--> <!-- <template slot="header" slot-scope="scope">-->
<!-- <el-tooltip class="item" effect="dark" content="计划修订”、“修订中”均为现行有效版本;“已修订”标准的有效性根据实际实施情况判定。" placement="bottom">--> <!-- <el-tooltip class="item" effect="dark" content="计划修订”、“修订中”均为现行有效版本;“已修订”标准的有效性根据实际实施情况判定。" placement="bottom">-->
<!-- <span>文本状态<i class="el-icon-warning-outline"></i></span>--> <!-- <span>标准状态<i class="el-icon-warning-outline"></i></span>-->
<!-- </el-tooltip>--> <!-- </el-tooltip>-->
<!-- </template>--> <!-- </template>-->
<template slot-scope="scope"> <template slot-scope="scope">
@@ -544,10 +544,10 @@
<el-table-column <el-table-column
prop="textStatus" prop="textStatus"
width="110" width="110"
label="文本状态"> label="标准状态">
<!-- <template slot="header" slot-scope="scope">--> <!-- <template slot="header" slot-scope="scope">-->
<!-- <el-tooltip class="item" effect="dark" content="计划修订”、“修订中”均为现行有效版本;“已修订”标准的有效性根据实际实施情况判定。" placement="bottom">--> <!-- <el-tooltip class="item" effect="dark" content="计划修订”、“修订中”均为现行有效版本;“已修订”标准的有效性根据实际实施情况判定。" placement="bottom">-->
<!-- <span>文本状态 <i class="el-icon-warning-outline"></i></span>--> <!-- <span>标准状态 <i class="el-icon-warning-outline"></i></span>-->
<!-- </el-tooltip>--> <!-- </el-tooltip>-->
<!-- </template>--> <!-- </template>-->
<template slot-scope="scope"> <template slot-scope="scope">
@@ -623,7 +623,7 @@
<el-table-column <el-table-column
show-overflow-tooltip show-overflow-tooltip
prop="standStatusShow" prop="standStatusShow"
label="文本状态" label="标准状态"
width="110" width="110"
> >
@@ -773,7 +773,7 @@ export default {
taskIds: this.$route.query.taskIds, taskIds: this.$route.query.taskIds,
pId: this.$route.query.prcId, pId: this.$route.query.prcId,
standMap: new Map(), standMap: new Map(),
textStatusMap: {},// 文本状态id与name对应 textStatusMap: {},// 标准状态id与name对应
}; };
}, },
mounted() { mounted() {
@@ -786,9 +786,9 @@ export default {
}, res => { }, res => {
this.energyKindOptions = res.data.ENERGYTYPES; //适用车型 this.energyKindOptions = res.data.ENERGYTYPES; //适用车型
this.standSortOptions = res.data.STANDCLASSIFY; // 标准类别 this.standSortOptions = res.data.STANDCLASSIFY; // 标准类别
this.setMap(res.data.WBZTCLASS);// 文本状态 this.setMap(res.data.WBZTCLASS);// 标准状态
this.setMap(this.zrbmMap, res.data.ZRBMCLASS); this.setMap(this.zrbmMap, res.data.ZRBMCLASS);
this.textState = res.data.WBZTCLASS // 文本状态 this.textState = res.data.WBZTCLASS // 标准状态
this.showLocalProductData(this.getLocalPro); this.showLocalProductData(this.getLocalPro);
}, e => { }, e => {
}); });
@@ -850,7 +850,7 @@ export default {
this.drawerTitle = '转办处理人' this.drawerTitle = '转办处理人'
this.selectPeople = row this.selectPeople = row
}, },
// 将文本状态的id与name对应 // 将标准状态的id与name对应
setMap(data) { setMap(data) {
data.forEach(item => { data.forEach(item => {
this.$set(this.textStatusMap, item.value, item.label) this.$set(this.textStatusMap, item.value, item.label)
@@ -396,10 +396,10 @@
<el-table-column <el-table-column
prop="textStatus" prop="textStatus"
width="110" width="110"
label="文本状态"> label="标准状态">
<!-- <template slot="header" slot-scope="scope">--> <!-- <template slot="header" slot-scope="scope">-->
<!-- <el-tooltip class="item" effect="dark" content="计划修订”、“修订中”均为现行有效版本;“已修订”标准的有效性根据实际实施情况判定。" placement="bottom">--> <!-- <el-tooltip class="item" effect="dark" content="计划修订”、“修订中”均为现行有效版本;“已修订”标准的有效性根据实际实施情况判定。" placement="bottom">-->
<!-- <span>文本状态<i class="el-icon-warning-outline"></i></span>--> <!-- <span>标准状态<i class="el-icon-warning-outline"></i></span>-->
<!-- </el-tooltip>--> <!-- </el-tooltip>-->
<!-- </template>--> <!-- </template>-->
<template slot-scope="scope"> <template slot-scope="scope">
@@ -516,10 +516,10 @@
<el-table-column <el-table-column
prop="textStatus" prop="textStatus"
width="110" width="110"
label="文本状态"> label="标准状态">
<!-- <template slot="header" slot-scope="scope">--> <!-- <template slot="header" slot-scope="scope">-->
<!-- <el-tooltip class="item" effect="dark" content="计划修订”、“修订中”均为现行有效版本;“已修订”标准的有效性根据实际实施情况判定。" placement="bottom">--> <!-- <el-tooltip class="item" effect="dark" content="计划修订”、“修订中”均为现行有效版本;“已修订”标准的有效性根据实际实施情况判定。" placement="bottom">-->
<!-- <span>文本状态 <i class="el-icon-warning-outline"></i></span>--> <!-- <span>标准状态 <i class="el-icon-warning-outline"></i></span>-->
<!-- </el-tooltip>--> <!-- </el-tooltip>-->
<!-- </template>--> <!-- </template>-->
<template slot-scope="scope"> <template slot-scope="scope">
@@ -595,7 +595,7 @@
<el-table-column <el-table-column
show-overflow-tooltip show-overflow-tooltip
prop="standStatusShow" prop="standStatusShow"
label="文本状态" label="标准状态"
width="110" width="110"
> >
@@ -745,7 +745,7 @@ export default {
taskIds: this.$route.query.taskIds, taskIds: this.$route.query.taskIds,
pId: this.$route.query.prcId, pId: this.$route.query.prcId,
standMap: new Map(), standMap: new Map(),
textStatusMap: {},// 文本状态id与name对应 textStatusMap: {},// 标准状态id与name对应
}; };
}, },
mounted() { mounted() {
@@ -758,9 +758,9 @@ export default {
}, res => { }, res => {
this.energyKindOptions = res.data.ENERGYTYPES; //适用车型 this.energyKindOptions = res.data.ENERGYTYPES; //适用车型
this.standSortOptions = res.data.STANDCLASSIFY; // 标准类别 this.standSortOptions = res.data.STANDCLASSIFY; // 标准类别
this.setMap(res.data.WBZTCLASS);// 文本状态 this.setMap(res.data.WBZTCLASS);// 标准状态
this.setMap(this.zrbmMap, res.data.ZRBMCLASS); this.setMap(this.zrbmMap, res.data.ZRBMCLASS);
this.textState = res.data.WBZTCLASS // 文本状态 this.textState = res.data.WBZTCLASS // 标准状态
this.showLocalProductData(this.getLocalPro); this.showLocalProductData(this.getLocalPro);
}, e => { }, e => {
}); });
@@ -822,7 +822,7 @@ export default {
this.drawerTitle = '转办处理人' this.drawerTitle = '转办处理人'
this.selectPeople = row this.selectPeople = row
}, },
// 将文本状态的id与name对应 // 将标准状态的id与name对应
setMap(data) { setMap(data) {
data.forEach(item => { data.forEach(item => {
this.$set(this.textStatusMap, item.value, item.label) this.$set(this.textStatusMap, item.value, item.label)
@@ -417,10 +417,10 @@
<el-table-column <el-table-column
prop="textStatus" prop="textStatus"
width="110" width="110"
label="文本状态"> label="标准状态">
<!-- <template slot="header" slot-scope="scope">--> <!-- <template slot="header" slot-scope="scope">-->
<!-- <el-tooltip class="item" effect="dark" content="计划修订”、“修订中”均为现行有效版本;“已修订”标准的有效性根据实际实施情况判定。" placement="bottom">--> <!-- <el-tooltip class="item" effect="dark" content="计划修订”、“修订中”均为现行有效版本;“已修订”标准的有效性根据实际实施情况判定。" placement="bottom">-->
<!-- <span>文本状态<i class="el-icon-warning-outline"></i></span>--> <!-- <span>标准状态<i class="el-icon-warning-outline"></i></span>-->
<!-- </el-tooltip>--> <!-- </el-tooltip>-->
<!-- </template>--> <!-- </template>-->
<template slot-scope="scope"> <template slot-scope="scope">
@@ -537,10 +537,10 @@
<el-table-column <el-table-column
prop="textStatus" prop="textStatus"
width="110" width="110"
label="文本状态"> label="标准状态">
<!-- <template slot="header" slot-scope="scope">--> <!-- <template slot="header" slot-scope="scope">-->
<!-- <el-tooltip class="item" effect="dark" content="计划修订”、“修订中”均为现行有效版本;“已修订”标准的有效性根据实际实施情况判定。" placement="bottom">--> <!-- <el-tooltip class="item" effect="dark" content="计划修订”、“修订中”均为现行有效版本;“已修订”标准的有效性根据实际实施情况判定。" placement="bottom">-->
<!-- <span>文本状态 <i class="el-icon-warning-outline"></i></span>--> <!-- <span>标准状态 <i class="el-icon-warning-outline"></i></span>-->
<!-- </el-tooltip>--> <!-- </el-tooltip>-->
<!-- </template>--> <!-- </template>-->
<template slot-scope="scope"> <template slot-scope="scope">
@@ -616,7 +616,7 @@
<el-table-column <el-table-column
show-overflow-tooltip show-overflow-tooltip
prop="standStatusShow" prop="standStatusShow"
label="文本状态" label="标准状态"
width="110" width="110"
> >
@@ -764,7 +764,7 @@ export default {
taskIds: this.$route.query.taskIds, taskIds: this.$route.query.taskIds,
pId: this.$route.query.prcId, pId: this.$route.query.prcId,
standMap: new Map(), standMap: new Map(),
textStatusMap: {},// 文本状态id与name对应 textStatusMap: {},// 标准状态id与name对应
}; };
}, },
mounted() { mounted() {
@@ -777,9 +777,9 @@ export default {
}, res => { }, res => {
this.energyKindOptions = res.data.ENERGYTYPES; //适用车型 this.energyKindOptions = res.data.ENERGYTYPES; //适用车型
this.standSortOptions = res.data.STANDCLASSIFY; // 标准类别 this.standSortOptions = res.data.STANDCLASSIFY; // 标准类别
this.setMap(res.data.WBZTCLASS);// 文本状态 this.setMap(res.data.WBZTCLASS);// 标准状态
this.setMap(this.zrbmMap, res.data.ZRBMCLASS); this.setMap(this.zrbmMap, res.data.ZRBMCLASS);
this.textState = res.data.WBZTCLASS // 文本状态 this.textState = res.data.WBZTCLASS // 标准状态
this.showLocalProductData(this.getLocalPro); this.showLocalProductData(this.getLocalPro);
}, e => { }, e => {
}); });
@@ -841,7 +841,7 @@ export default {
this.drawerTitle = '转办处理人' this.drawerTitle = '转办处理人'
this.selectPeople = row this.selectPeople = row
}, },
// 将文本状态的id与name对应 // 将标准状态的id与name对应
setMap(data) { setMap(data) {
data.forEach(item => { data.forEach(item => {
this.$set(this.textStatusMap, item.value, item.label) this.$set(this.textStatusMap, item.value, item.label)