diff --git a/src/views/wpm_gx/handover.vue b/src/views/wpm_gx/handover.vue index e76670b5..ca64c413 100644 --- a/src/views/wpm_gx/handover.vue +++ b/src/views/wpm_gx/handover.vue @@ -97,24 +97,25 @@ width="50" > - + @@ -471,21 +472,21 @@ export default { }); }, //编辑 - table_edit(row) { + async table_edit(row) { this.type=row.type; this.dialog.save = true; this.mode = "edit"; - this.$nextTick(() => { - this.$refs.saveDialog.open("edit").setData(row); - }); + await this.$nextTick(); + this.$refs.saveDialog.open("edit", "", row.mtype); + await this.$refs.saveDialog.loadData(row.id); }, - table_show(row){ + async table_show(row){ this.type=row.type; this.dialog.save = true; this.mode = "show"; - this.$nextTick(() => { - this.$refs.saveDialog.open("show").setData(row); - }); + await this.$nextTick(); + this.$refs.saveDialog.open("show", "", row.mtype); + await this.$refs.saveDialog.loadData(row.id); }, //删除 async table_del(row) { @@ -603,6 +604,35 @@ export default { };