|
@@ -1349,25 +1349,33 @@
|
|
},
|
|
},
|
|
// 除基本信息之后的修改
|
|
// 除基本信息之后的修改
|
|
handleOtherEdit(type) {
|
|
handleOtherEdit(type) {
|
|
|
|
+ debugger
|
|
console.log('除基本信息之后的修改', type);
|
|
console.log('除基本信息之后的修改', type);
|
|
- this.otherDeatils.show = true;
|
|
|
|
- this.otherDeatils.isEdit = true;
|
|
|
|
- let activeTab = this.detailsTabs.filter(item => item.code == this.activeMainTab)[0];
|
|
|
|
- this.otherDeatils.title = activeTab.label;
|
|
|
|
if ('table' === type) {
|
|
if ('table' === type) {
|
|
if (this.mainMsg.checkedList.length == 1) {
|
|
if (this.mainMsg.checkedList.length == 1) {
|
|
|
|
+ this.otherDeatils.show = true;
|
|
|
|
+ this.otherDeatils.isEdit = true;
|
|
|
|
+ let activeTab = this.detailsTabs.filter(item => item.code == this.activeMainTab)[0];
|
|
|
|
+ this.otherDeatils.title = activeTab.label;
|
|
this.otherDeatils.queryKey = this.mainMsg.checkedList[0].id;
|
|
this.otherDeatils.queryKey = this.mainMsg.checkedList[0].id;
|
|
console.log(this.otherDeatils, 'this.otherDeatils');
|
|
console.log(this.otherDeatils, 'this.otherDeatils');
|
|
|
|
+ // 查询其他标签页列表详情
|
|
|
|
+ this.getOtherListDetails(activeTab.code, this.otherDeatils.queryKey);
|
|
} else {
|
|
} else {
|
|
this.$message({
|
|
this.$message({
|
|
message: '修改请选择单个数据!',
|
|
message: '修改请选择单个数据!',
|
|
type: 'warning'
|
|
type: 'warning'
|
|
});
|
|
});
|
|
}
|
|
}
|
|
- }
|
|
|
|
- if (this.otherDeatils.queryKey) {
|
|
|
|
- // 查询其他标签页列表详情
|
|
|
|
- this.getOtherListDetails(activeTab.code, this.otherDeatils.queryKey);
|
|
|
|
|
|
+ } else if ('form' === type) {
|
|
|
|
+ if (this.otherDeatils.queryKey) {
|
|
|
|
+ this.otherDeatils.show = true;
|
|
|
|
+ this.otherDeatils.isEdit = true;
|
|
|
|
+ let activeTab = this.detailsTabs.filter(item => item.code == this.activeMainTab)[0];
|
|
|
|
+ this.otherDeatils.title = activeTab.label;
|
|
|
|
+ // 查询其他标签页列表详情
|
|
|
|
+ this.getOtherListDetails(activeTab.code, this.otherDeatils.queryKey);
|
|
|
|
+ }
|
|
}
|
|
}
|
|
},
|
|
},
|
|
// 其他标签详情弹窗-刷新
|
|
// 其他标签详情弹窗-刷新
|