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

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