From 80f38ba659e9a58a834806d981575e6a9217d3e5 Mon Sep 17 00:00:00 2001 From: lzhe <lzhe@example.com> Date: 星期三, 08 五月 2024 18:23:59 +0800 Subject: [PATCH] 1 --- src/views/tpm/MachineTab.vue | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/views/tpm/MachineTab.vue b/src/views/tpm/MachineTab.vue index 13edf48..6c02bcb 100644 --- a/src/views/tpm/MachineTab.vue +++ b/src/views/tpm/MachineTab.vue @@ -1,7 +1,7 @@ <!-- * @Date: 2024-04-27 20:04:34 * @LastEditors: Sneed - * @LastEditTime: 2024-05-07 22:23:47 + * @LastEditTime: 2024-05-07 22:40:21 * @FilePath: /belleson-frontend/Users/mache/Documents/demo/cps-web/src/views/tpm/MachineTab.vue --> <template> @@ -138,10 +138,12 @@ this.$refs.table.reload(this.params) }, table_add() { - this.$refs.dialog.open('add') + this.$refs.dialog.open('add', { + groupId: this.params.groupId + }) }, table_edit(row) { - this.$refs.dialog.open('add', { id: row.id }) + this.$refs.dialog.open('edit', { id: row.id }) }, success() { this.getTreeData() -- Gitblit v1.9.3