专家身份进入专家信息填写页 提交按钮改为修改按钮,信息填写页三个按钮样式,纠正错别字

This commit is contained in:
unknown 2022-01-20 13:09:34 +08:00
parent 793143ad6c
commit 694fd1c394
3 changed files with 4 additions and 10 deletions

View File

@ -252,7 +252,6 @@ export default Form.create()(({ match, history, showNotification, form, current_
}
}
return (
<div className='register_right'>
{
@ -561,9 +560,10 @@ export default Form.create()(({ match, history, showNotification, form, current_
<div className='hint'>提示个人简介职称证明学术成果荣誉称号都只能上传一个文件建议上传zip或rar格式的压缩文件</div>
</Form>
<div className='buts'>
<Button className="but41_fill mr20" type="primary" disabled={forbidden} onClick={() => expertRegisterSubmit(true)}>{lastRegister && lastRegister.status === 1 ? '修改' : '提交'}资料</Button>
{/* 专家: 修改,非专家: 提交 */}
<Button className="but41_fill mr20" type="primary" disabled={forbidden} onClick={() => expertRegisterSubmit(true)}>{current_user.expert ? '修改' : '提交'}资料</Button>
{(!lastRegister || lastRegister.status !== 1) && <Button className="but41_border mr20" disabled={forbidden} onClick={draft}>保存资料</Button>}
<Button className="butE3_border" onClick={cancel}></Button>
<Button className="butE3_border" onClick={cancel}>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</Button>
<Modal
title={`${lastRegister && lastRegister.status === 1 ? '修改' : '提交'}资料`}

View File

@ -85,15 +85,9 @@
border: 1px solid #4154f1 !important;
}
}
.but41_border {
margin-bottom: 0.6em;
padding: 0 0.5em;
}
.ant-cascader-menu-item:hover {
background: #f2f3ff;
}
// }
.buts {
font-size: 0.7em;
padding: 1.5em 2em;

View File

@ -384,7 +384,7 @@ function ReviewTasks({ showNotification, match, history, current_user }) {
<Tabs defaultActiveKey="1" animated={false}>
<TabPane tab="评信息" key="0">
<TabPane tab="评信息" key="0">
<div className="task-rules">
<div className="rules-box">
<p className="rules-head">任务信息</p>