From 5d75fcaea0a3774052b7484a4ffe755258502363 Mon Sep 17 00:00:00 2001
From: wlzboy <66905212@qq.com>
Date: 星期六, 06 十二月 2025 20:49:11 +0800
Subject: [PATCH] fix:开始执行人员就绪按钮
---
ruoyi-ui/src/views/system/callbacklog/index.vue | 15 +++++++++++++--
1 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/ruoyi-ui/src/views/system/callbacklog/index.vue b/ruoyi-ui/src/views/system/callbacklog/index.vue
index 1a0b084..0735694 100644
--- a/ruoyi-ui/src/views/system/callbacklog/index.vue
+++ b/ruoyi-ui/src/views/system/callbacklog/index.vue
@@ -337,11 +337,22 @@
handleRetry(row) {
const id = row.id;
this.$modal.confirm('鏄惁纭閲嶈瘯璇ュ洖璋冭褰曪紵').then(function() {
- return retryCallbacklog(id);
+ // 鍒涘缓甯︽湁瓒呮椂璁剧疆鐨勮姹傞厤缃�
+ const config = {
+ timeout: 60000 // 璁剧疆60绉掕秴鏃�
+ };
+ return retryCallbacklog(id, config);
}).then(() => {
this.getList();
this.$modal.msgSuccess("瑙﹀彂閲嶈瘯鎴愬姛");
- }).catch(() => {});
+ }).catch((error) => {
+ // 娣诲姞閿欒澶勭悊
+ if (error.message.includes('timeout')) {
+ this.$modal.msgError("璇锋眰瓒呮椂锛岃绋嶅悗閲嶈瘯");
+ } else {
+ this.$modal.msgError("閲嶈瘯澶辫触锛�" + error.message);
+ }
+ });
},
/** 鎵归噺瑙﹀彂鍥炶皟閲嶈瘯 */
handleBatchRetry() {
--
Gitblit v1.9.1