Browse Source

编辑元素字段修改

duy 2 years ago
parent
commit
07677a37b1

+ 3 - 3
src/views/manager/archivetree.vue

@@ -34,15 +34,15 @@
               @mouseleave="mouseLeave(data)"
               style="box-sizing: border-box;width:100%;"
             >
-              <!-- <span>{{ data.title }}</span> -->
+              <span>{{ data.title }}</span>
                  <!--知识点过长处理,鼠标悬浮文字弹框显示全部内容-->
-            <span  class="custom-tree-node">
+            <!-- <span  class="custom-tree-node">
                       <el-tooltip class="item" effect="light" :content="data.title" placement="top-start">
                         <span > {{ data.title | ellipsis(25) }} </span>
                       </el-tooltip>
                   <div>
                   </div>
-             </span>
+             </span> -->
 
               <span
                 class="marleft10"

+ 6 - 1
src/views/manager/projectinfo/independent.vue

@@ -361,6 +361,7 @@ export default {
           ids: "",
           excelId: "",
           initTableName: "",
+          initTableId:'',
       },
       //编辑元素弹窗
       editElementVisible: false, //编辑元素弹框
@@ -579,7 +580,11 @@ export default {
       this.GLExcelFrom.id = row.primaryKeyId;
       this.GLExcelFrom.excelId =row.excelIds;
       this.GLExcelFrom.ids = row.id;
-      this.GLExcelFrom.initTableName =row.initTableName
+      this.GLExcelFrom.initTableName =row.initTableName;
+      this.GLExcelFrom.initTableId =row.initTableId;
+      this.GLExcelFrom.nodeid =this.curTreeData.id
+
+
     },
        //#region 编辑元素
     async rightClick(row) {

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

@@ -73,6 +73,7 @@
             :excelId="editElementQuery.excelId"
             :id="editElementQuery.id"
             :initTableName="editElementQuery.initTableName"
+            :initTableId="editElementQuery.initTableId"
             :pid="editElementQuery.pid"
             :wbsid="editElementQuery.wbsid"
             :nodeid="editElementQuery.nodeid"
@@ -214,7 +215,7 @@ export default {
                     }
                 },
                 //#region 编辑元素
-            async rightClick(pkeyId, excelId, id, initTableName) {
+            async rightClick(pkeyId, excelId, id, initTableName,initTableId,nodeid) {
                 await this.getExcelHtml2(pkeyId);
                 this.editElementQuery.pkeyId = pkeyId;
                 this.editElementQuery.excelId = excelId;
@@ -222,7 +223,8 @@ export default {
                 this.editElementQuery.initTableName = initTableName;
                 this.editElementQuery.pid = this.$route.query.pid;
                 this.editElementQuery.wbsid = this.$route.query.wbsid;
-                // this.editElementQuery.nodeid = this.curTreeData.id;
+                this.editElementQuery.initTableId = initTableId;
+                this.editElementQuery.nodeid =nodeid;
 
                 this.editElementVisible = true;
             },
@@ -268,7 +270,9 @@ export default {
                         this.GLExcelFrom.id,
                         this.GLExcelFrom.excelId,
                         this.GLExcelFrom.ids,
-                        this.GLExcelFrom.initTableName
+                        this.GLExcelFrom.initTableName,
+                        this.GLExcelFrom.initTableId,
+                        this.GLExcelFrom.nodeid 
                     );
                     }
                 } else {