|
@@ -724,10 +724,10 @@ export default {
|
|
return cellValue;
|
|
return cellValue;
|
|
//console.log(cellValue)
|
|
//console.log(cellValue)
|
|
},
|
|
},
|
|
- formatOwner(row, column, cellValue) {
|
|
|
|
|
|
+ formatOwner( cellValue) {
|
|
for (let i = 0; i < this.ownerTypeList.length; i++) {
|
|
for (let i = 0; i < this.ownerTypeList.length; i++) {
|
|
- if (this.ownerTypeList[i].dictKey == cellValue) {
|
|
|
|
- return this.ownerTypeList[i].dictValue;
|
|
|
|
|
|
+ if (this.ownerTypeList[i].dictValue == cellValue) {
|
|
|
|
+ return this.ownerTypeList[i].dictKey;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
return cellValue;
|
|
return cellValue;
|
|
@@ -896,10 +896,14 @@ export default {
|
|
},
|
|
},
|
|
//分配节点
|
|
//分配节点
|
|
distribution(row){
|
|
distribution(row){
|
|
|
|
+ console.log(row);
|
|
this.from.id=row.id;
|
|
this.from.id=row.id;
|
|
this.from.title=row.title;
|
|
this.from.title=row.title;
|
|
this.from.tableType=row.tabType
|
|
this.from.tableType=row.tabType
|
|
this.from.tableType=this.formatTableType(this.from.tableType);
|
|
this.from.tableType=this.formatTableType(this.from.tableType);
|
|
|
|
+ this.from.tableOwner=row.tabOwner
|
|
|
|
+ this.from.tableOwner=this.formatOwner(this.from.tableOwner);
|
|
|
|
+ // console.log( this.formatOwner(this.from.tableOwner),' this.from.tableOwner');
|
|
this.$refs.PublicWbs.show();
|
|
this.$refs.PublicWbs.show();
|
|
// this.AssociatedPublicTap = true;
|
|
// this.AssociatedPublicTap = true;
|
|
},
|
|
},
|