diff --git a/jero-web/src/views/otamanagement/upgradeactivity/components/gnxtwh.vue b/jero-web/src/views/otamanagement/upgradeactivity/components/gnxtwh.vue index 4a73f8b06..99c367baa 100644 --- a/jero-web/src/views/otamanagement/upgradeactivity/components/gnxtwh.vue +++ b/jero-web/src/views/otamanagement/upgradeactivity/components/gnxtwh.vue @@ -199,7 +199,8 @@ export default { addModel:'' }, record:{}, - type:'' + type:'', + id:'', } }, mounted() { @@ -216,6 +217,7 @@ export default { this.type = 'add' this.visibleadd = true this.formInline.gnxt = '' + this.id = '' this.formInline.dataList = [{}] this.$nextTick(() => { this.$refs.ruleForm.clearValidate() @@ -225,6 +227,7 @@ export default { this.title = this.$t('edit') this.type = 'edit' this.formInline.gnxt = item.gnxt + this.id = item.id let List = item.dykzq.split(',') let arr = [] List.forEach((item,index)=>{ @@ -273,7 +276,8 @@ export default { this.$refs.ruleForm.validate(valid => { if (valid) { let query = { - ...this.formInline + ...this.formInline, + id:this.id } this.confirmLoading = true action(url, query).then((res) => {