From b7f53ba61fbc1844d7b92ff852762b140d46ab54 Mon Sep 17 00:00:00 2001 From: huanghongfeng <huanghongfeng@hnkhzn.com> Date: 星期一, 23 六月 2025 19:58:16 +0800 Subject: [PATCH] 最新 --- 代码管理/WMS/WIDESEA_WMSClient/src/extension/taskinfo/task_hty.js | 17 +++++++++++++++++ 1 files changed, 17 insertions(+), 0 deletions(-) diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/extension/taskinfo/task_hty.js" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/extension/taskinfo/task_hty.js" index 24e1d94..e796e55 100644 --- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/extension/taskinfo/task_hty.js" +++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/extension/taskinfo/task_hty.js" @@ -17,6 +17,23 @@ methods: { //涓嬮潰杩欎簺鏂规硶鍙互淇濈暀涔熷彲浠ュ垹闄� onInit() { + + let TaskHandCompletedBtn = this.buttons.find(x => x.value == 'Export2'); + if (TaskHandCompletedBtn) { + TaskHandCompletedBtn.onClick = function () { + this.http + .post("api/Task_Hty/Export", "鏁版嵁澶勭悊涓�...") + .then((x) => { + if (x.status) { + this.$Message.success('浠诲姟鎵嬪姩瀹屾垚鎴愬姛.'); + this.refresh(); + } else { + return this.$error(x.message); + } + }); + + } + } }, onInited() { //妗嗘灦鍒濆鍖栭厤缃悗 -- Gitblit v1.9.3