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
f1ff6b8f
Commit
f1ff6b8f
authored
Nov 20, 2019
by
lijingjing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[feat] 合同签约新增审批意见打印按钮
parent
42056313
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
0 deletions
+20
-0
con_re_print_entrance.lview
...in/webapp/modules/cont/CON311/con_re_print_entrance.lview
+20
-0
No files found.
src/main/webapp/modules/cont/CON311/con_re_print_entrance.lview
View file @
f1ff6b8f
...
...
@@ -15,6 +15,8 @@
url=
"${/request/@context_path}/modules/cont/CON505/con_contract_modify.lview"
/>
<a:link
id=
"car_modify_special_link"
url=
"${/request/@context_path}/modules/prj/PRJ501N/prj_project_maintain.lview"
/>
<a:link
id=
"con_contract_update_print_detail_link_id"
url=
"${/request/@context_path}/modules/cont/CON311/con_contract_update_print_word_detail.lview"
/>
<a:link
id=
"con_lease_org_print_link"
url=
"${/request/@context_path}/modules/cont/CON620/create_content_for_collection.lsc"
/>
<script
type=
"text/javascript"
>
<![CDATA[
function open_contract_win(ds_id, record_id) {
var record = $(ds_id).findById(record_id);
...
...
@@ -150,6 +152,24 @@
});
}
window['${/parameter/@layout_code}_user_button2_layout_dynamic_click']
=
function
()
{
var
ds_id =
get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],
'con_contract');
var
records =
$(ds_id).getSelected();
if
(records.length
!=
1)
{
Leaf.showMessage('${l:PROMPT}','${l:HLS.SELECT_RECORD}');
return;
}
var
record=
records[0];
if(record.get('sign_contract_status')=='SIGN'){
var
contract_id =
record.get('contract_id');
var
templet_code =
'SIGN_SUGGESTION'
;
var
url=
$('con_lease_org_print_link').getUrl()
+
'?
contract_id=
' + contract_id + '
&
templet_code=
' + templet_code;
window.open(url, '
_self');
}else{
Leaf.showMessage('${l:PROMPT}','签约未完成,不可打印!');
return;
}
};
]]
></script>
<a:screen-include
screen=
"modules/cont/CON500/con_contract_authority_list_validate.lview?document_category=CONTRACT&function_code=CON501"
/>
<a:screen-include
screen=
"modules/cont/CON500/con_contract_get_layout_code.lview"
/>
...
...
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