Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
leaf-hlcm
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hlcm
leaf-hlcm
Commits
83d6fe57
Commit
83d6fe57
authored
Mar 11, 2021
by
111
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/批量审批签约合同校验' into develop
parents
3cc0c57f
e177e7c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
zj_wfl_to_do_list_batch.lview
...ebapp/modules/zjwfl/WFL5120/zj_wfl_to_do_list_batch.lview
+6
-1
No files found.
src/main/webapp/modules/zjwfl/WFL5120/zj_wfl_to_do_list_batch.lview
View file @
83d6fe57
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<a:screen
xmlns:a=
"http://www.leaf-framework.org/application"
xmlns:p=
"uncertain.proc"
trace=
"true"
>
<a:screen
xmlns:a=
"http://www.leaf-framework.org/application"
xmlns:p=
"uncertain.proc"
trace=
"true"
>
<a:init-procedure>
<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_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_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"
/>
<a:model-query
model=
"zjwfl.ZJWFL5110.zj_wfl_to_do_list_others_count"
rootpath=
"other_list_count"
/>
...
@@ -136,12 +137,16 @@
...
@@ -136,12 +137,16 @@
}
}
}
}
function batch_approved() {
function batch_approved() {
var position_code = '${/model/position_code/record/@position_code}';
var records = $('zjwfl5110_toDoDs').getAll();
var records = $('zjwfl5110_toDoDs').getAll();
var comment_test = $('comment_text_cmp').value;
var comment_test = $('comment_text_cmp').value;
var params = [];
var params = [];
for(var i=0;i
<records.length
;i++){
for(var i=0;i
<records.length
;i++){
if
(records[i].get('checked')
=='Y'&&records[i].get('record_id')){
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({
params.push({
'node_id':records[i].get('node_id'),
'node_id':records[i].get('node_id'),
'comment_text_out':comment_test,
'comment_text_out':comment_test,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment