修改制度手册生成错误提示
This commit is contained in:
parent
43e6298d09
commit
e5f64407af
@ -276,6 +276,11 @@
|
||||
$(document).ready(function(){
|
||||
$("#upfile").on('click',openUpFile);//附件上传页面
|
||||
if(processOutput) { // 导出流程手册菜单控制
|
||||
if (methodId == 'data.form') {
|
||||
$('#export_report').text('导出表单手册');
|
||||
} else if (methodId == 'control.policy') {
|
||||
$('#export_report').text('导出制度手册');
|
||||
}
|
||||
outputProcess();
|
||||
}
|
||||
});
|
||||
@ -608,7 +613,7 @@
|
||||
<li class="devider"></li>
|
||||
<li ac="processExport">导出</li>
|
||||
<li class="devider" data-name="processOutput" style="display:none;"></li>
|
||||
<li ac="output" data-name="processOutput" style="display:none;">预览流程手册</li>
|
||||
<li id = "export_report" ac="output" data-name="processOutput" style="display:none;">预览流程手册</li>
|
||||
<li class="devider"></li>
|
||||
<li ac="saveImage">生成图片和缩略图</li>
|
||||
<!-- <li class="devider"></li>
|
||||
|
||||
@ -4180,9 +4180,15 @@ function outputReport() {
|
||||
});
|
||||
},2000);
|
||||
} else {
|
||||
if (methodId == 'data.form') {
|
||||
$.simpleAlert('表单手册创建失败', 'error');
|
||||
} else if (methodId == 'control.policy') {
|
||||
$.simpleAlert('制度手册创建失败,请检查正文文件格式是否正确!', 'error');
|
||||
}else{
|
||||
$.simpleAlert('流程手册创建失败', 'error');
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user