From 0ec37c12c269d6f824da6d13e47c38e04757909b Mon Sep 17 00:00:00 2001
From: gaoshp <291585735@qq.com>
Date: 星期六, 13 四月 2024 22:17:13 +0800
Subject: [PATCH] update

---
 src/views/console/workstation/index.vue |    8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/src/views/console/workstation/index.vue b/src/views/console/workstation/index.vue
index 4c73802..8dfffa3 100644
--- a/src/views/console/workstation/index.vue
+++ b/src/views/console/workstation/index.vue
@@ -237,7 +237,7 @@
 
 			</el-tabs>
 		</el-card>
-		<Dialog ref="dialog"></Dialog>
+		<Dialog ref="dialog" :option="{types,status,group}"></Dialog>
 	</el-main>
 </template>
 
@@ -480,11 +480,7 @@
 			this.$refs.dialog.open()
 		},
 		table_edit(row) {
-			if (row.isSet) {
-				row.isSet = false
-			} else {
-				row.isSet = true
-			}
+			this.$refs.dialog.open('edit',row)
 		},
 		table_del(row, index,type) {
 			this.$API.workstation.deleteWork.delete({

--
Gitblit v1.9.3