From 5a887acf1924950715086633d329db045223b5c4 Mon Sep 17 00:00:00 2001
From: liuwh <hugeinfo123>
Date: Tue, 09 Jun 2020 14:47:27 +0800
Subject: [PATCH] test

---
 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