From fbc6fae6c793220d0b67ac603ce9bbf22837de79 Mon Sep 17 00:00:00 2001
From: dengjunjie <dengjunjie@hnkhzn.com>
Date: 星期四, 19 六月 2025 17:50:47 +0800
Subject: [PATCH] 1

---
 项目代码/WCS/WIDESEAWCS_Client/src/extension/taskinfo/task.js |   25 +++++++++++++++++++++----
 1 files changed, 21 insertions(+), 4 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Client/src/extension/taskinfo/task.js" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Client/src/extension/taskinfo/task.js"
index a18304d..86b29e1 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Client/src/extension/taskinfo/task.js"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Client/src/extension/taskinfo/task.js"
@@ -26,18 +26,34 @@
             if (ManualBtn) {
                 ManualBtn.data = [
                     {
-                        name: '瀹屾垚',
+                        name: '閲嶆柊涓嬪彂鍫嗗灈鏈轰换鍔�',
+                        icon: 'el-icon-check',
+                        onClick: () => {
+                            params.Extra = 0
+                            this.Manual(params, "閲嶆柊涓嬪彂鍫嗗灈鏈�")
+                        }
+                    },
+                    {
+                        name: '瀹屾垚鍫嗗灈鏈轰换鍔�',
                         icon: 'el-icon-check',
                         onClick: () => {
                             params.Extra = 1
+                            this.Manual(params, "瀹屾垚鍫嗗灈鏈�")
+                        }
+                    },
+                    {
+                        name: '瀹屾垚浠诲姟',
+                        icon: 'el-icon-check',
+                        onClick: () => {
+                            params.Extra = 2
                             this.Manual(params, "瀹屾垚")
                         }
                     },
                     {
-                        name: '鍙栨秷',
+                        name: '鍙栨秷浠诲姟',
                         icon: 'el-icon-delete',
                         onClick: () => {
-                            params.Extra = 2
+                            params.Extra = 3
                             this.Manual(params, "鍙栨秷")
                         }
                     }
@@ -73,6 +89,7 @@
         Manual(params, Remark) {
             let rows = this.$refs.table.getSelected();
             if (rows.length == 0) return this.$error("璇烽�夋嫨浠诲姟!");
+            if (rows.length > 1) return this.$error("鍙彲閫夋嫨涓�鏉′换鍔�!");
             params.DelKeys = rows.map(x => {
                 return x[this.table.key];
             });
@@ -85,7 +102,7 @@
                 showClose: true,//鏄惁鏄剧ず鍙充笂瑙掑叧闂寜閽�
                 type: "warning",//鎻愮ず绫诲瀷 success:鎴愬姛/info:淇℃伅/warning:璀﹀憡/error:鎶ラ敊
             }).then(() => {
-                this.http.post("api/Task/ManualTask", params, "姝e湪" + Remark + "浠诲姟....").then(x => {
+                this.http.post("api/Task/ManualTask?TaskId="+params.DelKeys+"&TaskType="+params.Extra, {}, "姝e湪" + Remark + "浠诲姟....").then(x => {
                     if (!x.status) return this.$error(x.message);
                     this.$success(Remark + "浠诲姟鎴愬姛!");
                     this.refresh();

--
Gitblit v1.9.3