From e5b0e72a44e15e10eff724148cb2d04e872256f5 Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 21 Jan 2022 10:01:41 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=85=E5=AE=A1=E6=A0=B8=E4=BB=A5=E5=8F=8A?= =?UTF-8?q?=E6=88=90=E6=9E=9C=E5=BE=81=E9=9B=86=E4=B8=AD=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E5=91=98=E6=89=8D=E5=8F=AF=E4=BB=A5=E6=93=8D=E4=BD=9C=E8=AF=84?= =?UTF-8?q?=E5=AE=A1=E4=BB=BB=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/military/task/taskAdmin/index.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/military/task/taskAdmin/index.jsx b/src/military/task/taskAdmin/index.jsx index 80d8586a..a4941781 100644 --- a/src/military/task/taskAdmin/index.jsx +++ b/src/military/task/taskAdmin/index.jsx @@ -135,7 +135,7 @@ export default Form.create()(({ form, showNotification, match, history, state }) showArrow defaultValue={text?1:-1} onChange={(key) => { changeExpertReviewStatus(key, record.id) }} - disabled={!record.status == 1 || !record.status == 3 || record.assignRuleAndExperts} + disabled={record.assignRuleAndExperts || !(record.status == 1 || record.status == 3)} > { expertReviewArr.map(item => { @@ -246,7 +246,7 @@ export default Form.create()(({ form, showNotification, match, history, state }) title: '评审任务', dataIndex: 'expertReview1', render: (text, record) => { - return record.assignRuleAndExperts ? 已发布 : record.expertReview && record.status < 4 && record.status !== 2 ? : 发布 + return record.assignRuleAndExperts ? 已发布 : record.expertReview && (record.status === 1 || record.status === 3) ? : 发布 } }, {