From dcf9c9e0410fe1186239e3f8d6f7bdc789c08010 Mon Sep 17 00:00:00 2001
From: lzhe <lzhe@example.com>
Date: 星期三, 05 六月 2024 18:00:39 +0800
Subject: [PATCH] 1

---
 src/views/tpm/MachineTab.vue |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/src/views/tpm/MachineTab.vue b/src/views/tpm/MachineTab.vue
index 13edf48..7760cd4 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-08 23:13:10
  * @FilePath: /belleson-frontend/Users/mache/Documents/demo/cps-web/src/views/tpm/MachineTab.vue
 -->
 <template>
@@ -58,7 +58,7 @@
                             <el-button-group>
                                 <el-button text type="primary" size="small"
                                     @click="table_edit(scope.row, scope.$index)">缂栬緫</el-button>
-                                <el-popconfirm cancel-button-text="鍋滅敤" confirm-button-text="鍒犻櫎"
+                                <el-popconfirm width="220" cancel-button-text="鍋滅敤" confirm-button-text="鍒犻櫎"
                                     title="鍒犻櫎鏁版嵁浼氬奖鍝嶅凡鍏宠仈鐨勪笟鍔� ,鑻ユ偍鎯冲湪宸插叧鑱旂殑涓氬姟涓緷鐒舵樉绀鸿繖浜涙暟鎹�, 鎮ㄥ彲浠ラ�夋嫨 鍋滅敤 鎿嶄綔銆傚仠鐢ㄥ悗姝ゆ暟鎹皢涓嶈兘鍐嶈鏂颁笟鍔′娇鐢ㄣ��"
                                     @confirm="table_del(scope.row, scope.$index, '0')"
                                     @cancel="table_del(scope.row, scope.$index, '1')">
@@ -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