From b8fa0fa65e994fb0a7067e3348ee8604db815a9b Mon Sep 17 00:00:00 2001 From: xuxj <hugeinfo123> Date: Sun, 26 Apr 2020 09:43:14 +0800 Subject: [PATCH] Merge branch 'master' of http://git.hugeinfo.com.cn/r/nsjcy/frontEnd/nsjcy --- SunshineIns/src/page/PoliceSecurity.jsx | 14 +++++++++----- 1 files changed, 9 insertions(+), 5 deletions(-) diff --git a/SunshineIns/src/page/PoliceSecurity.jsx b/SunshineIns/src/page/PoliceSecurity.jsx index 91dffde..5c8f67c 100644 --- a/SunshineIns/src/page/PoliceSecurity.jsx +++ b/SunshineIns/src/page/PoliceSecurity.jsx @@ -87,7 +87,7 @@ })) } showModal = (id) => { - this.props.history.push("/entry/ExamineEdit/" + id); + this.props.history.push("/entry/policeSecurityEdit/" + id); } Seaech = () => { @@ -147,15 +147,19 @@ dataIndex: 'status', key: 'status', render: text => ( - text == 1 ? <Badge style={{ backgroundColor: '#6C757C' }} count={'待处理'} /> : text == 2 ? <Badge style={{ backgroundColor: '#F1C40F' }} count={'已受理'} /> : <Badge style={{ backgroundColor: '#2ECC71' }} count={'已反馈'} /> + text == 1 ? <Badge style={{ backgroundColor: '#6C757C' }} count={'待处理'} /> : text == 2 ? <Badge style={{ backgroundColor: '#F1C40F' }} count={'检察院已审核'} /> : <Badge style={{ backgroundColor: '#2ECC71' }} count={'已反馈'} /> ) }, { 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