Переглянути джерело

市政工程|工业工程 驼峰命名法bug对应参数修改

刘浩男 1 рік тому
батько
коміт
d79a0bd37e
1 змінених файлів з 3 додано та 3 видалено
  1. 3 3
      src/views/zdsz/engineeringIndustry/index.vue

+ 3 - 3
src/views/zdsz/engineeringIndustry/index.vue

@@ -539,7 +539,7 @@ export default {
         id:this.currentId
       }).then(res => {
         try {
-          this.currentCollapses = res.data.zengineeringNodeBoList[0].zEngineeringInfoBoList
+          this.currentCollapses = res.data.zEngineeringNodeBoList[0].zEngineeringInfoBoList
           console.log('当前历史数据',this.currentCollapses)
         } catch (error) {
           this.currentCollapses = [];
@@ -622,8 +622,8 @@ export default {
       putEngineeEngineeIndustry(id).then(response => {
         this.loading = false;
         this.form = response.data;
-        this.form.zEngineeringNodeBo = response.data.zengineeringNodeBoList[0]
-        this.form.zEngineeringNodeBo.zEngineeringInfoBo = response.data.zengineeringNodeBoList[0].zEngineeringInfoBoList[0]
+        this.form.zEngineeringNodeBo = response.data.zEngineeringNodeBoList[0]
+        this.form.zEngineeringNodeBo.zEngineeringInfoBo = response.data.zEngineeringNodeBoList[0].zEngineeringInfoBoList[0]
         this.title = (this.form.type === '1' ? "修改工业工程":"修改市政工程");
         this.currentType = 'put'
         this.open = true;