提交 42be60e1 authored 作者: 钟是志's avatar 钟是志

26589 毕业生毕业去向中签约和改签审核拒绝必须要填审批说明

上级 6784a49a
......@@ -182,7 +182,7 @@ export default class userButton extends Component {
<span style={{...stylesList.body_span, ...stylesList.body_span_1}}>
{isSecond ? '发起说明' : '审批说明'}
</span>
<span>
<span id={'textarea_shen_pi_li_you'}>
<TextArea
value={value}
onChange={this.onChange}
......
......@@ -264,7 +264,7 @@ export default class GetDetail extends Component {
});
if (getToken()) {
const user = localStorage.getItem('user');
if(user && isJSON(user)){
if (user && isJSON(user)) {
this.setState({
userInfo: JSON.parse(user),
});
......@@ -323,10 +323,12 @@ export default class GetDetail extends Component {
btns,
btnValue,
});
debugger;
if(needWriteAuditInfo && !value){
message.warning('请填写审批说明');
return false;
if (needWriteAuditInfo && !value) {
let d = document.getElementById('textarea_shen_pi_li_you');
if (d) {
message.warning('请输入审批理由');
return false;
}
}
const argumentsSubmitValue = {
isCloseFlowPath,
......@@ -605,7 +607,7 @@ export default class GetDetail extends Component {
</div>
{isLoading ? (
<>
<Card style={{width: '100%'}}>
<Card style={{ width: '100%' }}>
{!isCloseUserDetail && (
<div className={styles.body_hea}>
<h3>发起人信息</h3>
......@@ -722,7 +724,7 @@ export default class GetDetail extends Component {
alignItems: 'center',
}}
>
<Spin size='large' spinning={true}/>
<Spin size='large' spinning={true} />
</div>
) : (
/* <div>
......@@ -775,7 +777,7 @@ export default class GetDetail extends Component {
)}
</div>
</Card>
<Card style={{width: '100%'}}>
<Card style={{ width: '100%' }}>
<div className={styles.body_content} style={{ minHeight: '300px' }}>
<div id={'btnsModalMountDiv'}></div>
<h3>
......@@ -1020,7 +1022,7 @@ export default class GetDetail extends Component {
alignItems: 'center',
}}
>
<Spin size='large' spinning={true}/>
<Spin size='large' spinning={true} />
</div>
)}
<PortalFlowExamineModal // 流程图
......
......@@ -47,7 +47,6 @@ const checkNeedWriteAuditInfo = ({
needWrite = true; // 26589 毕业生毕业去向中签约和改签审核拒绝必须要填审批说明
}
}
return true;
return needWrite;
};
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论