修改-289

This commit is contained in:
zyn
2022-12-08 11:26:25 +08:00
parent 948cb2a1dc
commit 7d2abed18a
5 changed files with 87 additions and 16 deletions
@@ -193,8 +193,14 @@
</div>
</el-form>
<!-- 选择企标计划抽屉-->
<!-- <el-drawer v-if="!disabledXX"-->
<!-- title="选择企业标准"-->
<!-- :visible.sync="ListModel"-->
<!-- size="900px"-->
<!-- custom-class="demo-drawer"-->
<!-- >-->
<el-drawer v-if="!disabledXX"
title="选择企业标准"
title="选择企标计划"
:visible.sync="ListModel"
size="900px"
custom-class="demo-drawer"
@@ -261,8 +267,9 @@
label="计划状态"
align="center">
<template slot-scope="scope">
<div>{{ scope.row.planStatus === '0'? '未开始' : (scope.row.planStatus === '1'? '制定中' : (scope.row.planStatus === '2'? '修订中' :
(scope.row.planStatus === '3'? '已取消' : '已完成'))) }}</div>
<!-- <div>{{ scope.row.planStatus === '0'? '未开始' : (scope.row.planStatus === '1'? '制定中' : (scope.row.planStatus === '2'? '修订中' :-->
<!-- (scope.row.planStatus === '3'? '已取消' : '已完成'))) }}</div>-->
<div>{{ getMap1(scope.row.planStatus) }}</div>
</template>
</el-table-column>
<el-table-column
@@ -404,6 +411,17 @@ export default {
})
},
methods: {
getMap1(item){
const map = new Map();
map.set('0','未开始')
map.set('1','制定中')
map.set('2','修订中')
map.set('3','已取消')
map.set('4','已完成')
map.set('5','立项已完成')
map.set('6','计划已确认')
return map.get(item)
},
validateForm (callback) {
this.$refs['qbfsForm'].validate((valid) => {
if (valid) {
@@ -209,8 +209,14 @@
</div>
</el-form>
<!-- 选择企标计划抽屉-->
<!-- <el-drawer v-if="!disabledXX"-->
<!-- title="选择企业标准"-->
<!-- :visible.sync="ListModel"-->
<!-- size="900px"-->
<!-- custom-class="demo-drawer"-->
<!-- >-->
<el-drawer v-if="!disabledXX"
title="选择企业标准"
title="选择企标计划"
:visible.sync="ListModel"
size="900px"
custom-class="demo-drawer"
@@ -277,8 +283,9 @@
label="计划状态"
align="center">
<template slot-scope="scope">
<div>{{ scope.row.planStatus === '0'? '未开始' : (scope.row.planStatus === '1'? '制定中' : (scope.row.planStatus === '2'? '修订中' :
(scope.row.planStatus === '3'? '已取消' : '已完成'))) }}</div>
<!-- <div>{{ scope.row.planStatus === '0'? '未开始' : (scope.row.planStatus === '1'? '制定中' : (scope.row.planStatus === '2'? '修订中' :-->
<!-- (scope.row.planStatus === '3'? '已取消' : '已完成'))) }}</div>-->
<div>{{ getMap1(scope.row.planStatus) }}</div>
</template>
</el-table-column>
<el-table-column
@@ -426,6 +433,17 @@ export default {
})
},
methods: {
getMap1(item){
const map = new Map();
map.set('0','未开始')
map.set('1','制定中')
map.set('2','修订中')
map.set('3','已取消')
map.set('4','已完成')
map.set('5','立项已完成')
map.set('6','计划已确认')
return map.get(item)
},
validateForm (callback) {
this.$refs['qbfsForm'].validate((valid) => {
if (valid) {
@@ -207,8 +207,14 @@
</div>
</el-form>
<!-- 选择企标计划抽屉-->
<el-drawer v-if="!disabledXX"
title="选择企业标准"
<!-- <el-drawer v-if="!disabledXX"-->
<!-- title="选择企业标准"-->
<!-- :visible.sync="ListModel"-->
<!-- size="900px"-->
<!-- custom-class="demo-drawer"-->
<!-- >-->
<el-drawer v-if="!disabledXX"
title="选择企标计划"
:visible.sync="ListModel"
size="900px"
custom-class="demo-drawer"
@@ -276,8 +282,9 @@
label="计划状态"
align="center">
<template slot-scope="scope">
<div>{{ scope.row.planStatus === '0'? '未开始' : (scope.row.planStatus === '1'? '制定中' : (scope.row.planStatus === '2'? '修订中' :
(scope.row.planStatus === '3'? '已取消' : '已完成'))) }}</div>
<!-- <div>{{ scope.row.planStatus === '0'? '未开始' : (scope.row.planStatus === '1'? '制定中' : (scope.row.planStatus === '2'? '修订中' :-->
<!-- (scope.row.planStatus === '3'? '已取消' : '已完成'))) }}</div>-->
<div>{{ getMap1(scope.row.planStatus) }}</div>
</template>
</el-table-column>
<el-table-column
@@ -751,6 +758,17 @@ export default {
}
},
methods: {
getMap1(item){
const map = new Map();
map.set('0','未开始')
map.set('1','制定中')
map.set('2','修订中')
map.set('3','已取消')
map.set('4','已完成')
map.set('5','立项已完成')
map.set('6','计划已确认')
return map.get(item)
},
choiceLeader(){
this.workModel = true
},
@@ -200,8 +200,14 @@
</div>
</el-form>
<!-- 选择企标计划抽屉-->
<el-drawer v-if="!disabledXX"
title="选择企业标准"
<!-- <el-drawer v-if="!disabledXX"-->
<!-- title="选择企业标准"-->
<!-- :visible.sync="ListModel"-->
<!-- size="900px"-->
<!-- custom-class="demo-drawer"-->
<!-- >-->
<el-drawer v-if="!disabledXX"
title="选择企标计划"
:visible.sync="ListModel"
size="900px"
custom-class="demo-drawer"
@@ -268,8 +274,9 @@
label="计划状态"
align="center">
<template slot-scope="scope">
<div>{{ scope.row.planStatus === '0'? '未开始' : (scope.row.planStatus === '1'? '制定中' : (scope.row.planStatus === '2'? '修订中' :
(scope.row.planStatus === '3'? '已取消' : '已完成'))) }}</div>
<!-- <div>{{ scope.row.planStatus === '0'? '未开始' : (scope.row.planStatus === '1'? '制定中' : (scope.row.planStatus === '2'? '修订中' :-->
<!-- (scope.row.planStatus === '3'? '已取消' : '已完成'))) }}</div>-->
<div>{{ getMap1(scope.row.planStatus) }}</div>
</template>
</el-table-column>
<el-table-column
@@ -413,6 +420,17 @@ export default {
})
},
methods: {
getMap1(item){
const map = new Map();
map.set('0','未开始')
map.set('1','制定中')
map.set('2','修订中')
map.set('3','已取消')
map.set('4','已完成')
map.set('5','立项已完成')
map.set('6','计划已确认')
return map.get(item)
},
validateForm (callback) {
this.$refs['qbfsForm'].validate((valid) => {
if (valid) {