Explorar el Código

接口参数对应

gangyj hace 2 años
padre
commit
0480564652
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  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) {