|
@@ -87,6 +87,22 @@
|
|
|
<el-table-column label="设计负责人" align="center" prop="designHead"/>
|
|
|
<el-table-column label="监理负责人" align="center" prop="supervisionHead"/>
|
|
|
<el-table-column label="监理单位" align="center" prop="supervisionUnit"/>
|
|
|
+ <el-table-column label="审核状态" align="center" prop="nodeReViewStateList" width="250">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <div style="text-align:center">
|
|
|
+ <el-popover
|
|
|
+ v-for="item in scope.row.nodeReViewStateList"
|
|
|
+ placement="top-start"
|
|
|
+ trigger="hover"
|
|
|
+ :content="changName(item.Type)">
|
|
|
+ <span slot="reference" v-if="(item.state == '1'||item.state == '2')"
|
|
|
+ style="height: 20px;margin-right: 5px;width: 20px; border-radius: 50%; display: inline-block; background-color: #30B08F;"></span>
|
|
|
+ <span slot="reference" v-if="item.state == '0' "
|
|
|
+ style="height: 20px;margin-right: 5px;width: 20px; border-radius: 50%; display: inline-block; background-color: #C03639;"></span>
|
|
|
+ </el-popover>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
|
|
<template v-slot="scope">
|
|
|
<el-button
|
|
@@ -500,6 +516,7 @@ export default {
|
|
|
enginClassification: null, // 工程分类
|
|
|
},
|
|
|
currentType: null, // 附件组件类型 put修改 add新增
|
|
|
+ dictArr:[]
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
@@ -509,6 +526,7 @@ export default {
|
|
|
this.engineeType = false
|
|
|
}
|
|
|
this.getList();
|
|
|
+ this.changeNames();
|
|
|
},
|
|
|
mounted() {
|
|
|
// 获取材质
|
|
@@ -517,7 +535,15 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
methods: {
|
|
|
-
|
|
|
+ changName(val){
|
|
|
+ let obj = this.dictArr.find(o=>o.dictValue==val)
|
|
|
+ return obj?obj.dictLabel:''
|
|
|
+ },
|
|
|
+ changeNames(){
|
|
|
+ getDicts('municipal_engineering_node').then(res=>{
|
|
|
+ this.dictArr=res.data
|
|
|
+ })
|
|
|
+ },
|
|
|
// 节点单项审核
|
|
|
checkWorking(checkingInfo){
|
|
|
console.log('checkingInfo===',checkingInfo)
|