|
@@ -197,8 +197,6 @@ import {
|
|
|
saveLinkTab,
|
|
|
getExcelHtml,
|
|
|
} from "@/api/exctab/excelmodel"
|
|
|
-import {
|
|
|
- getDetail,} from "@/api/manager/wbsprivate";
|
|
|
import Qute from "./qutediaolog/qute.vue";//引入元素库
|
|
|
import Relation from './qutediaolog/relation.vue'//关联清表
|
|
|
import EditElement from "@/views/manager/projectinfo/editElement/editElement.vue";//编辑元素
|
|
@@ -513,13 +511,12 @@ export default {
|
|
|
Associationlist(row) {
|
|
|
console.log('关联清表',row);
|
|
|
this.$refs.Relation.show()
|
|
|
- // this.GLExcelFrom.name = row.modeId;
|
|
|
+ // this.GLExcelFrom.name = row.title;
|
|
|
|
|
|
this.GLExcelFrom.id = row.primaryKeyId;
|
|
|
- // this.GLExcelFrom.excelId =row.id;
|
|
|
- // this.GLExcelFrom.ids = row.id;
|
|
|
- // this.GLEidxcelFrom.initTableName =row.title;
|
|
|
- // this.GLExcelFrom.excelId=row.excelId
|
|
|
+ this.GLExcelFrom.excelId =row.excelIds;
|
|
|
+ this.GLExcelFrom.ids = row.id;
|
|
|
+ this.GLExcelFrom.initTableName =row.initTableName
|
|
|
},
|
|
|
//#region 编辑元素
|
|
|
async rightClick(row) {
|
|
@@ -527,9 +524,9 @@ export default {
|
|
|
await this.getExcelHtml2(row.id);
|
|
|
// console.log('编辑元素');
|
|
|
this.editElementQuery.pkeyId = row.primaryKeyId;
|
|
|
- // this.editElementQuery.excelId = excelId;
|
|
|
+ this.editElementQuery.excelId = row.excelIds;
|
|
|
this.editElementQuery.id = row.id;
|
|
|
- this.editElementQuery.initTableName =row. title;
|
|
|
+ this.editElementQuery.initTableName =row. initTableName;
|
|
|
this.editElementQuery.pid = this.$route.query.pid;
|
|
|
this.editElementQuery.wbsid = this.$route.query.wbsid;
|
|
|
// this.editElementQuery.nodeid = this.curTreeData.id;
|