glc导师评语限制2000字

This commit is contained in:
谢思 2022-09-30 14:25:30 +08:00
parent 8b6a83309a
commit c72007ddfd
1 changed files with 2 additions and 2 deletions

View File

@ -169,10 +169,10 @@ function TutorReview(props){
{helper('填写评语',
'comment',
[{ required: true, message: "请输入评语!" }],
<TextArea rows={8} placeholder="请对学生项目表现进行总体评价" className="contentBox" maxLength={500} onChange={(e)=>{setWordNum(e.target.value.length);}} disabled={detail.glccTutorEvaluation && !isEdit}/>,
<TextArea placeholder="请对学生项目表现进行总体评价" className="contentBox" maxLength={2000} onChange={(e)=>{setWordNum(e.target.value.length);}} disabled={detail.glccTutorEvaluation && !isEdit} autoSize={{minRows: 8}}/>,
'oneCont'
)}
<div className="wordNum">{wordNum} / 500</div>
<div className="wordNum">{wordNum} / 2000</div>
</div>
{checkTime2 && <Form.Item className="referItem oneCont">
{(!detail.glccTutorEvaluation || (detail.glccTutorEvaluation && isEdit)) && <Button style={{width: '100px', height: '36px'}} className="mt20" type="primary" htmlType="submit" disabled={disabled}>{detail.glccTutorEvaluation ? '保存' : '提交'}</Button>}