bug修改。

This commit is contained in:
Renpc-kilig 2021-05-15 18:45:57 +08:00
parent 7c40de8b2a
commit b8320226b8
2 changed files with 3 additions and 29 deletions

View File

@ -91,7 +91,7 @@
<input type="radio" lay-filter="checkStatus" name="checkStatus" value="2" title="退回"> <input type="radio" lay-filter="checkStatus" name="checkStatus" value="2" title="退回">
</div> </div>
</div> </div>
<div class="layui-form-item" id="nextTimeDiv"> <div class="layui-form-item" style="display: none;" id="nextTimeDiv">
<label class="layui-form-label" style="width: 135px;">下次提交审核时间</label> <label class="layui-form-label" style="width: 135px;">下次提交审核时间</label>
<div class="layui-input-block" style="margin-left: 165px;"> <div class="layui-input-block" style="margin-left: 165px;">
<input type="number" id="nextNum" name="nextNum" lay-verify="inputRule" class="layui-input" value="" placeholder="请输入下次提交审核时间(单位:天)" maxlength="255"> <input type="number" id="nextNum" name="nextNum" lay-verify="inputRule" class="layui-input" value="" placeholder="请输入下次提交审核时间(单位:天)" maxlength="255">
@ -160,32 +160,6 @@
}); });
} }
// 初始化文件列表
function initFileList(fileName, ids, callback) {
var dataForm = {};
dataForm[fileName] = ids;
form.val('dataForm', dataForm);
if (!ids) {
refreshDownloadTemplet(fileName, []);
if (callback) {
callback(fileName, []);
}
return;
}
top.restAjax.get(top.restAjax.path('api/file/list', []), {
ids: ids
}, null, function (code, data) {
refreshDownloadTemplet(fileName, data);
if (callback) {
callback(fileName, data);
}
}, function (code, data) {
top.dialog.msg(data.msg);
});
}
// 初始化内容 // 初始化内容
function initData() { function initData() {
initExamBaseInfo(); initExamBaseInfo();
@ -195,7 +169,7 @@
for (var i in data) { for (var i in data) {
dataFormData[i] = data[i] + ''; dataFormData[i] = data[i] + '';
} }
if ('3' == data.checkStatus) { if ('2' == data.checkStatus) {
$('#reasonDiv').show(); $('#reasonDiv').show();
$('#nextTimeDiv').show(); $('#nextTimeDiv').show();
} }

View File

@ -91,7 +91,7 @@
<input type="radio" lay-filter="checkStatus" name="checkStatus" value="3" title="退回"> <input type="radio" lay-filter="checkStatus" name="checkStatus" value="3" title="退回">
</div> </div>
</div> </div>
<div class="layui-form-item" id="nextTimeDiv"> <div class="layui-form-item" style="display: none;" id="nextTimeDiv">
<label class="layui-form-label" style="width: 135px;">下次提交审核时间</label> <label class="layui-form-label" style="width: 135px;">下次提交审核时间</label>
<div class="layui-input-block" style="margin-left: 165px;"> <div class="layui-input-block" style="margin-left: 165px;">
<input type="number" id="nextCommitTime" name="nextCommitTime" lay-verify="inputRule" class="layui-input" value="" placeholder="请输入下次提交审核时间(单位:天)" maxlength="255"> <input type="number" id="nextCommitTime" name="nextCommitTime" lay-verify="inputRule" class="layui-input" value="" placeholder="请输入下次提交审核时间(单位:天)" maxlength="255">