|
@@ -267,7 +267,7 @@ export default {
|
|
this.$refs.obsFileUpload.fileList=this.queryParams.files
|
|
this.$refs.obsFileUpload.fileList=this.queryParams.files
|
|
}
|
|
}
|
|
},
|
|
},
|
|
- async openDialog(data, type) {
|
|
|
|
|
|
+ async openDialog(data, type,sata) {
|
|
await this.reset();
|
|
await this.reset();
|
|
this.currentType = type
|
|
this.currentType = type
|
|
if (this.currentType == 'add') {
|
|
if (this.currentType == 'add') {
|
|
@@ -277,6 +277,8 @@ export default {
|
|
}
|
|
}
|
|
this.queryParams.enginId = data.id
|
|
this.queryParams.enginId = data.id
|
|
this.queryParams.type = data.type
|
|
this.queryParams.type = data.type
|
|
|
|
+ //带值
|
|
|
|
+ this.queryParams.enginName = sata.enginName?sata.enginName:'';
|
|
this.open = true
|
|
this.open = true
|
|
},
|
|
},
|
|
nodeCancel() {
|
|
nodeCancel() {
|