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