Commit 83d6fe57 authored by 111's avatar 111

Merge branch 'feature/批量审批签约合同校验' into develop

parents 3cc0c57f e177e7c4
<?xml version="1.0" encoding="UTF-8"?>
<a:screen xmlns:a="http://www.leaf-framework.org/application" xmlns:p="uncertain.proc" trace="true">
<a:init-procedure>
<a:model-query defaultWhereClause="t1.user_id=${/session/@user_id}" fetchAll="true" model="csh.CSH509.query_roles_info" rootPath="position_code"/>
<a:model-query model="zjwfl.ZJWFL5110.zj_wfl_to_do_list_count" rootpath="to_do_list_count"/>
<a:model-query model="zjwfl.ZJWFL5110.zj_wfl_to_do_title_count" rootPath="to_do_list_count_rp"/>
<a:model-query model="zjwfl.ZJWFL5110.zj_wfl_to_do_list_others_count" rootpath="other_list_count"/>
......@@ -136,12 +137,16 @@
}
}
function batch_approved() {
var position_code = '${/model/position_code/record/@position_code}';
var records = $('zjwfl5110_toDoDs').getAll();
var comment_test = $('comment_text_cmp').value;
var params = [];
for(var i=0;i<records.length;i++){
if (records[i].get('checked') =='Y'&&records[i].get('record_id')){
if(position_code == '007' && records[i].get('workflow_code')!='CONTRACT_SIGN_WFL'){
Leaf.showMessage('提示','仅合同签约工作流可批量审批!');
return ;
}
params.push({
'node_id':records[i].get('node_id'),
'comment_text_out':comment_test,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment