From 4a76c06e7f754e232338ce7e075c08924cffe209 Mon Sep 17 00:00:00 2001
From: xuxj <hugeinfo123>
Date: Wed, 08 Apr 2020 11:52:38 +0800
Subject: [PATCH] 部分细节修改

---
 SunshineIns/src/page/PoliceSecurity.jsx |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/SunshineIns/src/page/PoliceSecurity.jsx b/SunshineIns/src/page/PoliceSecurity.jsx
index e3cfaa5..5c8f67c 100644
--- a/SunshineIns/src/page/PoliceSecurity.jsx
+++ b/SunshineIns/src/page/PoliceSecurity.jsx
@@ -153,9 +153,13 @@
             title: '操作',
             key: 'action',
             render: (text, record) => (
-                <span>
-                    <a onClick={() => this.showModal(record.id)}>审核</a>
-                </span>
+                record.status == 2 ?
+                    <span>
+                        <a onClick={() => this.showModal(record.id)}>审核</a>
+                    </span>
+                    : <span>
+                        <a onClick={() => this.showModal(record.id)}>详情</a>
+                    </span>
             ),
         }];
         const { data, loading, resetKey, formData } = this.state;

--
Gitblit v1.8.0