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

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

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