From 99cc3bb108a9ced40b126778da8bbd34963549b5 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期四, 10 十月 2024 10:52:10 +0800
Subject: [PATCH] #
---
zy-acs-flow/src/page/task/TaskList.jsx | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/zy-acs-flow/src/page/task/TaskList.jsx b/zy-acs-flow/src/page/task/TaskList.jsx
index ea2b684..5ec10b1 100644
--- a/zy-acs-flow/src/page/task/TaskList.jsx
+++ b/zy-acs-flow/src/page/task/TaskList.jsx
@@ -151,7 +151,7 @@
setTaskStsByComplete(res.data.data[0]?.id);
})
request.post('/taskSts/list', {
- uuid: '宸插彇娑�'
+ uuid: 'CANCEL'
}, {
headers: {
'Content-Type': 'application/x-www-form-urlencoded'
@@ -170,6 +170,8 @@
} else {
notify(msg || 'common.response.fail', { type: 'error', messageArgs: { _: msg } });
}
+ }).catch(error => {
+ notify(error.message || 'common.response.fail', { type: 'error', messageArgs: { _: error.message } });
})
}
@@ -182,6 +184,8 @@
} else {
notify(msg || 'common.response.fail', { type: 'error', messageArgs: { _: msg } });
}
+ }).catch(error => {
+ notify(error.message || 'common.response.fail', { type: 'error', messageArgs: { _: error.message } });
})
}
--
Gitblit v1.9.1