hongchuangyanfa před 3 roky
rodič
revize
a56151837f

+ 9 - 0
src/api/exctab/editelement.js

@@ -35,6 +35,15 @@ export const dictionarydataType = () => {
     })
 }
 
+//表单所属方
+export const dictionaryAloneType = () => {
+  return request({
+    url: '/api/blade-system/dict/dictionary?code=owner_type',
+    method: 'get',
+  })
+}
+
+
 //添加新元素
 export const submitBatch = (data) => {
     return request({

+ 2 - 2
src/api/manager/AdjustForm.js

@@ -19,8 +19,8 @@ export const saveInput = (data) => {
 // 获取字段信息
 export const getColByTabId = (params) => {
     return request({
-        url: '/api/blade-manager/linkdatainfo/getColByTabId',
+        url: '/api/blade-manager/exctabcell/getColByTabId',
         method: 'get',
         params
     })
-}
+}

+ 4 - 4
src/views/exctab/ElementIdentification/index.vue

@@ -79,7 +79,7 @@
                 >
                   <template slot-scope="scope">
                     <el-input
-                      v-model="scope.row.eName"
+                      v-model="scope.row.textInfo"
                       placeholder="请输入内容"
                     ></el-input>
                   </template>
@@ -331,7 +331,7 @@ export default {
     }
   },
   methods: {
-    //#region 
+    //#region
     handleNodeClick (data) {//树节点点击事件
       console.log(data);
       if (data.fileType == 3) {
@@ -492,7 +492,7 @@ export default {
         }else{
           this.addTableData = []
         }
-        
+
       }
     },
     async excelType () {//清表类型
@@ -633,4 +633,4 @@ export default {
   min-width: 100%;
   display: inline-block;
 }
-</style>
+</style>

+ 5 - 5
src/views/exctab/excelmodel/excelmodel.vue

@@ -642,14 +642,14 @@ export default {
         this.wbsmodel.forEach((da) => {
           if (da.id == val) {
             this.loading = true
-            window.setTimeout(() => {
-              this.excelForm.wbsType = da.wbsType
-            }, 2000)
+            this.excelForm.wbsType = da.wbsType
             this.loading = false
           }
         })
       }
-      this.wbstree()
+      window.setTimeout(() => {
+        this.wbstree();
+      }, 100)
     },
     nodeClickExcel (data) {//wbs树点击事件
       console.log(data);
@@ -709,7 +709,7 @@ export default {
               let linkIds = ''
               val.arrs.forEach(da => {
                 if (da.isLinkTable != da.changeTable) {
-                  linkIds = `${linkIds}${linkIds != '' ? ',' : ''}${da.pkeyId}`
+                  linkIds =`${linkIds}${linkIds != '' ? ',' : ''}${da.pkeyId}_${da.isLinkTable}`
                 }
               })
               if (linkIds != '') {