Parcourir la source

接口参数对应

gangyj il y a 2 ans
Parent
commit
0480564652
1 fichiers modifiés avec 5 ajouts et 0 suppressions
  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) {