Commit 934fe68c authored by 熊海's avatar 熊海

优化填报页面交互提示

parent 7e214445
......@@ -63,6 +63,7 @@ function StatusCheck() {
$('#reject_btn').hide()
//$('textarea[name*="question_"]').prop('readonly', true)
for (let i = 1; i < 28; i++) {
$(`#submit${i} a`).hide()
$(`#submit${i} input[type='number']`).val(()=>{
try {
if(data.reviews.length>0){
......@@ -607,6 +608,8 @@ function saveQuestionnaire(isAuto){
} else {
swal("成功!", '暂存成功', "success");
}
}else {
swal("成功!", '没有要暂存的备注', "success");
}
}
});
......@@ -927,6 +930,7 @@ function submitForReview(questionNum) {
if(result.result==true){
swal("成功!", '审核成功', "success");
$(`#submit${questionNum} a`).attr('disabled',"true")
$(`#submit${questionNum} a`).removeAttr('onclick')
}else{
swal("失败!", result.msg, "error");
}
......@@ -1215,6 +1219,7 @@ function scoreSubmission(questionNum) {
if(result.result==true){
swal("成功!", '审核成功', "success");
$(`#submit${questionNum} a`).attr('disabled',"true")
$(`#submit${questionNum} a`).removeAttr('onclick')
}else{
swal("失败!", result.msg, "error");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment