浏览代码

接口参数对应

gangyj 2 年之前
父节点
当前提交
0480564652
共有 1 个文件被更改,包括 5 次插入0 次删除
  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) {