考试申请审核新增提交确认。

This commit is contained in:
Renpc-kilig 2021-05-12 15:18:03 +08:00
parent 78f4706313
commit 1927a79fa7

View File

@ -262,6 +262,9 @@
// 提交表单
form.on('submit(submitForm)', function(formData) {
layer.confirm('审核一旦通过,将无法进行修改', {
btn: ['确定','取消'] //按钮
}, function(){
if(3 == formData.field.checkStatus) {
if(null == formData.field.reason || '' == formData.field.reason || typeof(formData.field.reason) == "undefined") {
top.dialog.msg('退回原因必填');
@ -295,6 +298,10 @@
top.dialog.close(loadLayerIndex);
});
});
}, function(){
return false;
});
return false;
});