Explorar o código

公式 字段回显问题

Administrator %!s(int64=2) %!d(string=hai) anos
pai
achega
01e8fbc78f

+ 3 - 4
src/views/manager/projectinfo/qutediaolog/relation.vue

@@ -85,7 +85,7 @@
 </template>
 
 <script>
-import {getList, tabLazytreeAll, saveLinkTab, getExcelHtml, savelinktableInfo,} from "@/api/exctab/excelmodel";
+import {getList,tabLazytreeAll,saveLinkTab, getExcelHtml,} from "@/api/exctab/excelmodel";
 import EditElement from "@/views/manager/projectinfo/editElement/editElement.vue";
 import {findNodeTableByCondition as selectByNodeTable} from "@/api/manager/wbsprivate";
 export default {
@@ -251,10 +251,9 @@ export default {
                     }
                     console.log(node.id,'node.id');
                     console.log(this.GLExcelFrom.id,'this.GLExcelFrom.id');
-                    const { data: res } = await savelinktableInfo({
+                    const { data: res } = await saveLinkTab({
                     exceTabId: node.id,
-                    tabId: this.GLExcelFrom.id,
-                   
+                    tabId: this.GLExcelFrom.id
                     });
                     console.log(res);
                     if (res.code === 200) {

+ 1 - 6
src/views/manager/wbsinfo/element.vue

@@ -886,9 +886,7 @@ export default {
           element.allow = RegExp.$1 ? RegExp.$1 : '';
           element.deviation = RegExp.$2 ? RegExp.$2 : '';
         })
-
         this.editEleList = res.data.data;
-        
       })
       this.editEleVisible = true;
     },
@@ -925,10 +923,7 @@ export default {
       row.eAllowDeviation = (row.allow ? row.allow : '') + (row.deviation ? row.deviation : '');
       row.fId = this.curEleTable.id;
       row.initTableName = this.curEleTable.initTableName;
-      // if (row.eType == 4) {
-      //   this.$set(row, 'eLength', 0);
-      //   //row.eLength = 0;
-      // } else
+
       if (!row.eLength) {
         this.$message({
           type: "warning",