Sfoglia il codice sorgente

接口参数对应

gangyj 2 anni fa
parent
commit
0480564652
1 ha cambiato i file con 5 aggiunte e 0 eliminazioni
  1. 5 0
      src/views/exctab/ElementIdentification/index.vue

+ 5 - 0
src/views/exctab/ElementIdentification/index.vue

@@ -932,6 +932,11 @@ export default {
       }
     },
     async submitExcelRelationWbsTreeAndElement (da) {//保存接口
+      da.elementList.forEach((ele)=>{
+        ele.eName = ele.textInfo;
+        ele.eType = ele.textElementType;
+        ele.eAllowDeviation = ele.textDeviation;
+      })
       const { data: res } = await submitExcelRelationWbsTreeAndElement(da)
       console.log(res);
       if (res.code == 200) {