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
6564e8b4
Commit
6564e8b4
authored
Dec 29, 2023
by
38823
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
销项发票工作流反冲附件上传下载优化
parent
526e856e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
17 deletions
+34
-17
zj_wfl_approve_history.lview
src/main/webapp/modules/zjwfl/zj_wfl_approve_history.lview
+34
-17
No files found.
src/main/webapp/modules/zjwfl/zj_wfl_approve_history.lview
View file @
6564e8b4
...
...
@@ -53,6 +53,16 @@
});
}
function open_downloadfile_win_acr_reverse(instance_id) {
new Leaf.Window({
id: 'zj_wfl_approve_history_downloadfile_win',
url: $('prj_attach_downloadfile_link').getUrl() + '?table_name=ZJ_WFL_INSTANCE_ACR_REVERSE&header_id=' + instance_id,
title: '附件查看',
width: 850,
height: 400
});
}
function open_uploadfile_win(rcpt_record_id) {
new Leaf.Window({
id: 'zj_wfl_approve_history_downloadfile_win',
...
...
@@ -90,6 +100,13 @@
}
}
if(record.get('workflow_code') == 'ACR_INVOICE_REVERSE_WFL'){
if (record.get('attach_count') > 0) {
return '
<a
style=
"color:red"
href=
"javascript:open_downloadfile_win_acr_reverse(' + record.get('instance_id') + ')"
>
附件查看
</a>
';
}else{
return '
<a
href=
"javascript:open_downloadfile_win_acr_reverse(' + record.get('instance_id') + ')"
>
附件查看
</a>
';
}
}
if (record.get('attach_count') > 0) {
return '
<a
style=
"color:red"
href=
"javascript:open_downloadfile_win(' + record.get('rcpt_record_id') + ')"
>
附件查看
</a>
';
...
...
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