소스 검색

接口参数对应

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) {