|
@@ -192,7 +192,7 @@
|
|
|
icon="el-icon-edit"
|
|
|
@click="addNodeInfo(scope.row)"
|
|
|
v-hasPermi="['zdsz:engineeringCivil:add']"
|
|
|
- >修改施工信息
|
|
|
+ >填写施工信息
|
|
|
</el-button>
|
|
|
<el-button
|
|
|
size="mini"
|
|
@@ -432,11 +432,11 @@
|
|
|
<ConstructionDetails
|
|
|
ref="ConstructionDetails"
|
|
|
:currentCollapses="currentCollapses"
|
|
|
- :zEngineeringNodeBo="zEngineeringNodeBo"
|
|
|
:type="nodeDetailType"
|
|
|
@updateNodeOption="updateNodeOption"
|
|
|
@checkWorking="checkWorking"
|
|
|
:status="status"
|
|
|
+ :zEngineeringNodeBo="zEngineeringNodeBo"
|
|
|
enginType="民用工程"
|
|
|
/>
|
|
|
|
|
@@ -857,7 +857,6 @@ export default {
|
|
|
completionStatus: undefined,
|
|
|
enginClassification: undefined,
|
|
|
imgUrl: undefined,
|
|
|
- zEngineeringNodeBo:{},
|
|
|
zEngineeringNodeBoList: {
|
|
|
type: undefined,
|
|
|
zEngineeringInfoBo: {
|
|
@@ -985,6 +984,9 @@ export default {
|
|
|
label: '不通过'
|
|
|
}
|
|
|
],
|
|
|
+ zEngineeringNodeBo:{
|
|
|
+
|
|
|
+ },
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
@@ -1035,7 +1037,7 @@ export default {
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
- // 修改施工信息
|
|
|
+ // 填写施工信息
|
|
|
updateNodeOption(zEngineeringInfoBoList) {
|
|
|
delete this.updateParams.zEngineeringNodeBoList
|
|
|
this.updateParams.zEngineeringNodeBo.zEngineeringInfoBoList = zEngineeringInfoBoList
|
|
@@ -1078,7 +1080,6 @@ export default {
|
|
|
try {
|
|
|
this.updateParams = res.data
|
|
|
this.currentCollapses = res.data.zEngineeringNodeBo.zEngineeringInfoBoList
|
|
|
- this.zEngineeringNodeBo=res.data.zEngineeringNodeBo
|
|
|
} catch (error) {
|
|
|
this.currentCollapses = [];
|
|
|
}
|
|
@@ -1098,6 +1099,7 @@ export default {
|
|
|
"value": res.data[i].dictValue,
|
|
|
})
|
|
|
}
|
|
|
+ this.zEngineeringNodeBo = e
|
|
|
this.$refs.ConstructionDetails.open(dict, _, type)
|
|
|
this.status = 'read-only'
|
|
|
})
|
|
@@ -1376,7 +1378,6 @@ export default {
|
|
|
type: 'success'
|
|
|
});
|
|
|
this.open = false
|
|
|
- this.getList()
|
|
|
console.log('选中节点集合', this.currentCheckList)
|
|
|
this.currentCheckList = []
|
|
|
// this.$emit('closeToSucceed')
|
|
@@ -1390,13 +1391,13 @@ export default {
|
|
|
type: 'success'
|
|
|
});
|
|
|
this.open = false
|
|
|
- this.getList()
|
|
|
console.log('选中节点集合', this.currentCheckList)
|
|
|
this.currentCheckList = []
|
|
|
// this.$emit('closeToSucceed')
|
|
|
}
|
|
|
})
|
|
|
}
|
|
|
+
|
|
|
return
|
|
|
getDictList({enginType: ['new_built', 'old_renovation']}).then(res => {
|
|
|
this.nodeList = res.data
|
|
@@ -1439,7 +1440,7 @@ export default {
|
|
|
this.reset();
|
|
|
const id = row.id || this.ids
|
|
|
getEngineeringCivil(id).then(res => {
|
|
|
-
|
|
|
+ debugger
|
|
|
that.loading = false;
|
|
|
// let newData = res.data
|
|
|
// // 手动调用行政区发生改变
|
|
@@ -1460,6 +1461,7 @@ export default {
|
|
|
updateEngineeringCivil(this.form).then(response => {
|
|
|
this.$modal.msgSuccess("修改成功");
|
|
|
this.open = false;
|
|
|
+ debugger
|
|
|
this.getList();
|
|
|
}).finally(() => {
|
|
|
this.buttonLoading = false;
|