报名审核 去除交费凭证字段

This commit is contained in:
ly19960718 2021-05-27 16:13:27 +08:00
parent 8157f2f97c
commit 2336b14d93

View File

@ -155,36 +155,36 @@
<input type="text" id="applyUnitAddress" name="applyUnitAddress" class="layui-input" value="" placeholder="无" maxlength="500" readonly="readonly">
</div>
</div>
<div class="layui-form-item layui-form-text">
<label class="layui-form-label">交费凭证</label>
<div class="layui-input-block">
<input type="hidden" id="applyAuditFileId" name="applyAuditFileId">
<div class="layui-btn-container" id="applyAuditFileIdFileBox" style="border: 1px solid #e6e6e6;"></div>
<script id="applyAuditFileIdFileDownload" type="text/html">
{{# var fileName = 'applyAuditFileId'; }}
{{# if(d[fileName].length > 0) { }}
{{# var files = d[fileName];}}
{{# for(var i = 0, item = files[i]; item = files[i++];) { }}
<div class="upload-image-box">
<span class="upload-image-span">
<img src="route/file/download/false/{{item.fileId}}" align="加载失败">
</span>
<a class="layui-btn layui-btn-xs layui-btn-danger text-danger remove-image" href="javascript:void(0);" lay-form-button data-id="{{item.fileId}}" data-name="{{fileName}}" lay-filter="applyAuditFileIdRemoveFile">
<i class="fa fa-trash-o"></i>
</a>
</div>
{{# } }}
{{# } }}
{{# if(d[fileName].length < 1) { }}
<div class="upload-image-box" style="width: auto; height: auto; padding: 5px;">
<a href="javascript:void(0);" lay-form-button data-explain="交费凭证照片" data-name="applyAuditFileId" lay-filter="applyAuditFileIdUploadFile">
<i class="fa fa-plus-square-o" style="font-size: 70px;"></i>
</a>
</div>
{{# } }}
</script>
</div>
</div>
<!--<div class="layui-form-item layui-form-text">-->
<!--<label class="layui-form-label">交费凭证</label>-->
<!--<div class="layui-input-block">-->
<!--<input type="hidden" id="applyAuditFileId" name="applyAuditFileId">-->
<!--<div class="layui-btn-container" id="applyAuditFileIdFileBox" style="border: 1px solid #e6e6e6;"></div>-->
<!--<script id="applyAuditFileIdFileDownload" type="text/html">-->
<!--{{# var fileName = 'applyAuditFileId'; }}-->
<!--{{# if(d[fileName].length > 0) { }}-->
<!--{{# var files = d[fileName];}}-->
<!--{{# for(var i = 0, item = files[i]; item = files[i++];) { }}-->
<!--<div class="upload-image-box">-->
<!--<span class="upload-image-span">-->
<!--<img src="route/file/download/false/{{item.fileId}}" align="加载失败">-->
<!--</span>-->
<!--<a class="layui-btn layui-btn-xs layui-btn-danger text-danger remove-image" href="javascript:void(0);" lay-form-button data-id="{{item.fileId}}" data-name="{{fileName}}" lay-filter="applyAuditFileIdRemoveFile">-->
<!--<i class="fa fa-trash-o"></i>-->
<!--</a>-->
<!--</div>-->
<!--{{# } }}-->
<!--{{# } }}-->
<!--{{# if(d[fileName].length < 1) { }}-->
<!--<div class="upload-image-box" style="width: auto; height: auto; padding: 5px;">-->
<!--<a href="javascript:void(0);" lay-form-button data-explain="交费凭证照片" data-name="applyAuditFileId" lay-filter="applyAuditFileIdUploadFile">-->
<!--<i class="fa fa-plus-square-o" style="font-size: 70px;"></i>-->
<!--</a>-->
<!--</div>-->
<!--{{# } }}-->
<!--</script>-->
<!--</div>-->
<!--</div>-->
<div class="layui-form-item layui-form-text">
<label class="layui-form-label">审核说明</label>
<div class="layui-input-block">
@ -359,7 +359,7 @@
form.val('dataForm', dataFormData);
form.render(null, 'dataForm');
initInstitutionImageUploadFile();
initApplyAuditFileIdUploadFile();
//initApplyAuditFileIdUploadFile();
}, function(code, data) {
top.dialog.msg(data.msg);
}, function() {
@ -373,14 +373,14 @@
var saveDataVal = {}
// 提交表单
form.on('submit(submitForm1)', function(formData) {
var applyAuditFileId = formData.field.applyAuditFileId;
//var applyAuditFileId = formData.field.applyAuditFileId;
// if(applyAuditFileId == ''){
// top.dialog.msg('请上传交费凭证')
// return;
// }
saveDataVal['applyId'] = applyId;
saveDataVal['applyAuditExplain'] = formData.field.applyAuditExplain;
saveDataVal['applyAuditFileId'] = applyAuditFileId;
//saveDataVal['applyAuditFileId'] = applyAuditFileId;
saveDataVal['applyAuditState'] = 2;
saveData(saveDataVal)
});