From bd09ddbe5eae5e780393d37b72b4da6d4e92fdb8 Mon Sep 17 00:00:00 2001 From: LiuWenHaoU <964324856@qq.com> Date: Mon, 18 May 2020 00:15:17 +0800 Subject: [PATCH] 部分修改及新增功能 --- SunshineIns/src/page/ActiveManage.jsx | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/SunshineIns/src/page/ActiveManage.jsx b/SunshineIns/src/page/ActiveManage.jsx index 819609c..3966f9a 100644 --- a/SunshineIns/src/page/ActiveManage.jsx +++ b/SunshineIns/src/page/ActiveManage.jsx @@ -298,6 +298,8 @@ record.status == 3 ? <span> <label className='theme-color' onClick={() => this.showModal(record.id)} style={{ cursor: 'pointer' }}>查看</label> + <Divider type="vertical" /> + <label className='theme-color' onClick={() => this.signIn(record.id)} style={{ cursor: 'pointer' }}>签到上墙</label> {!record.result && <React.Fragment> <Divider type="vertical" /> @@ -306,7 +308,12 @@ } </span> : - <span><label className='theme-color' onClick={() => this.showModal(record.id)} style={{ cursor: 'pointer' }}>查看</label></span> + record.status == 99 ? + <span><label className='theme-color' onClick={() => this.showModal(record.id)} style={{ cursor: 'pointer' }}>查看</label></span> + : + <span><label className='theme-color' onClick={() => this.showModal(record.id)} style={{ cursor: 'pointer' }}>查看</label> + <Divider type="vertical" /> + <label className='theme-color' onClick={() => this.signIn(record.id)} style={{ cursor: 'pointer' }}>签到上墙</label></span> ) ), -- Gitblit v1.8.0