From 61d4bef11bb712be61323bef47515436e62292bb Mon Sep 17 00:00:00 2001
From: liuwh <hugeinfo123>
Date: Wed, 27 May 2020 17:45:23 +0800
Subject: [PATCH] 2
---
SunshineIns/src/page/ApplyFor.jsx | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/SunshineIns/src/page/ApplyFor.jsx b/SunshineIns/src/page/ApplyFor.jsx
index 7047bb8..cb266ae 100644
--- a/SunshineIns/src/page/ApplyFor.jsx
+++ b/SunshineIns/src/page/ApplyFor.jsx
@@ -123,10 +123,9 @@
}
confirm = (e) => {
- console.log(e);
this.setState({ loading: true })
- Fetch.socialDelete(e).then(res => {
- if (res.code == 0) {
+ Fetch.entryDelete(e).then(res => {
+ if (res.statuscode == 1) {
console.log(res)
this.setState({ loading: false })
message.success('删除成功');
@@ -173,7 +172,7 @@
<React.Fragment>
<Divider type="vertical" />
<Popconfirm
- title="确认删除任务吗?"
+ title="确认删除申请吗?"
id={record.id}
onConfirm={e => this.confirm(record.id)}
okText="确定"
--
Gitblit v1.8.0