|
@@ -402,6 +402,7 @@
|
|
<el-form-item label="环节">
|
|
<el-form-item label="环节">
|
|
<el-checkbox-group v-model="currentCheckList">
|
|
<el-checkbox-group v-model="currentCheckList">
|
|
<el-checkbox
|
|
<el-checkbox
|
|
|
|
+ :disabled=enginNodeStatusExecuted(item)
|
|
:label="item.dictValue"
|
|
:label="item.dictValue"
|
|
v-for="item in checkList"
|
|
v-for="item in checkList"
|
|
:key="item"
|
|
:key="item"
|
|
@@ -1016,6 +1017,7 @@ export default {
|
|
|
|
|
|
},
|
|
},
|
|
currentEnginName: null,
|
|
currentEnginName: null,
|
|
|
|
+ currentCheckingEnginList:[]
|
|
};
|
|
};
|
|
},
|
|
},
|
|
created() {
|
|
created() {
|
|
@@ -1029,6 +1031,14 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
|
|
+ enginNodeStatusExecuted(item){
|
|
|
|
+ try {
|
|
|
|
+ let flag
|
|
|
|
+ if(this.currentCheckingEnginList.filter(e => e.label == item.dictValue)[0].status == '1') return true
|
|
|
|
+ } catch (error) {
|
|
|
|
+ return false
|
|
|
|
+ }
|
|
|
|
+ },
|
|
checkingAllFormClosed(){
|
|
checkingAllFormClosed(){
|
|
this.$refs.checkingFormAll.resetFields()
|
|
this.$refs.checkingFormAll.resetFields()
|
|
},
|
|
},
|
|
@@ -1170,6 +1180,25 @@ export default {
|
|
const id = data.id || this.ids
|
|
const id = data.id || this.ids
|
|
getEngineeringCivil(id).then(res => {
|
|
getEngineeringCivil(id).then(res => {
|
|
this.loading = false;
|
|
this.loading = false;
|
|
|
|
+ this.currentCheckingEnginList = []
|
|
|
|
+ // 处理当前已审核通过的节点
|
|
|
|
+ try {
|
|
|
|
+ res.data.zEngineeringNodeBoList.forEach(e => {
|
|
|
|
+ let status
|
|
|
|
+ try {
|
|
|
|
+ status = e.zEngineeringInfoBoList[0].zEngineeringReviewBo.reviewStatus
|
|
|
|
+ } catch (error) {
|
|
|
|
+ status = '1'
|
|
|
|
+ }
|
|
|
|
+ this.currentCheckingEnginList.push({
|
|
|
|
+ label:e.type,
|
|
|
|
+ status
|
|
|
|
+ })
|
|
|
|
+ })
|
|
|
|
+ } catch (error) {
|
|
|
|
+ this.currentCheckingEnginList = []
|
|
|
|
+ }
|
|
|
|
+ console.log('as',this.currentCheckingEnginList)
|
|
let newData = res.data
|
|
let newData = res.data
|
|
// 手动调用行政区发生改变
|
|
// 手动调用行政区发生改变
|
|
this.districtHasChanged(newData.district)
|
|
this.districtHasChanged(newData.district)
|
|
@@ -1182,6 +1211,7 @@ export default {
|
|
this.currentCheckList = []
|
|
this.currentCheckList = []
|
|
getDicts(val).then(res => {
|
|
getDicts(val).then(res => {
|
|
this.checkList = res.data
|
|
this.checkList = res.data
|
|
|
|
+ console.log(this.checkList)
|
|
})
|
|
})
|
|
|
|
|
|
this.queryParams = newData
|
|
this.queryParams = newData
|