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
e86fd307
Commit
e86fd307
authored
Nov 15, 2019
by
lijingjing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[fix] 合同结束页面修改
parent
d22b0e67
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
2 deletions
+26
-2
con_contract_finish_maintain.lview
...pp/modules/cont/CON560/con_contract_finish_maintain.lview
+13
-1
con_contract_finish_maintain_wfl.lview
...odules/cont/CON560/con_contract_finish_maintain_wfl.lview
+13
-1
No files found.
src/main/webapp/modules/cont/CON560/con_contract_finish_maintain.lview
View file @
e86fd307
...
@@ -10,6 +10,8 @@
...
@@ -10,6 +10,8 @@
]]>
]]>
</a:init-procedure>
</a:init-procedure>
<a:view>
<a:view>
<a:link
id=
"${/parameter/@layout_code}con_contract_query_link"
url=
"${/request/@context_path}/modules/cont/CON505/con_contract_modify.lview"
/>
<a:link
id=
"con_contract_terminate_link_id"
model=
"cont.CON560.con_contract_terminate"
<a:link
id=
"con_contract_terminate_link_id"
model=
"cont.CON560.con_contract_terminate"
modelaction=
"batch_update"
/>
modelaction=
"batch_update"
/>
<a:link
id=
"sys_service_welcome_link"
url=
"${/request/@context_path}/welcome.lview"
/>
<a:link
id=
"sys_service_welcome_link"
url=
"${/request/@context_path}/welcome.lview"
/>
...
@@ -47,9 +49,19 @@
...
@@ -47,9 +49,19 @@
}, null, null);
}, null, null);
}
}
function open_contract_win(ds_id, record_id) {
var record = $(ds_id).findById(record_id);
var param = record.data;
param['function_code'] = 'CON301';
param['function_usage'] = 'QUERY';
param['winid'] = 'con_contract_modify_win_id';
param['download'] = 'Y';
param['url_title'] = '${l:CON301.CONTRACT_DETAIL}';
hls_doc_get_layout_code('con_contract_get_layout_code_link_id', param, '${/parameter/@layout_code}con_contract_query_link', ds_id);
}
function con560_render_contractMaintainDs_grid(value, record, name) {
function con560_render_contractMaintainDs_grid(value, record, name) {
if (name == 'contract_number') {
if (name == 'contract_number') {
return '<a href="javascript:
con560_contractMaintainDs_grid_update(' + record.id + ');
">
' + value + '
</a>
';
return '<a href="javascript:
open_contract_win(\'' + record.ds.id + '\',\'' + record.id + '\')
">
' + value + '
</a>
';
}
}
}
}
...
...
src/main/webapp/modules/cont/CON560/con_contract_finish_maintain_wfl.lview
View file @
e86fd307
...
@@ -10,6 +10,8 @@
...
@@ -10,6 +10,8 @@
]]>
]]>
</a:init-procedure>
</a:init-procedure>
<a:view>
<a:view>
<a:link
id=
"${/parameter/@layout_code}con_contract_query_link"
url=
"${/request/@context_path}/modules/cont/CON505/con_contract_modify.lview"
/>
<a:link
id=
"con_contract_terminate_link_id"
model=
"cont.CON560.con_contract_terminate"
<a:link
id=
"con_contract_terminate_link_id"
model=
"cont.CON560.con_contract_terminate"
modelaction=
"batch_update"
/>
modelaction=
"batch_update"
/>
<a:link
id=
"sys_service_welcome_link"
url=
"${/request/@context_path}/welcome.lview"
/>
<a:link
id=
"sys_service_welcome_link"
url=
"${/request/@context_path}/welcome.lview"
/>
...
@@ -46,10 +48,20 @@
...
@@ -46,10 +48,20 @@
// return;
// return;
// }, null, null);
// }, null, null);
}
}
function open_contract_win(ds_id, record_id) {
var record = $(ds_id).findById(record_id);
var param = record.data;
param['function_code'] = 'CON301';
param['function_usage'] = 'QUERY';
param['winid'] = 'con_contract_modify_win_id';
param['download'] = 'Y';
param['url_title'] = '${l:CON301.CONTRACT_DETAIL}';
hls_doc_get_layout_code('con_contract_get_layout_code_link_id', param, '${/parameter/@layout_code}con_contract_query_link', ds_id);
}
function con560_render_contractMaintainDs_grid(value, record, name) {
function con560_render_contractMaintainDs_grid(value, record, name) {
if (name == 'contract_number') {
if (name == 'contract_number') {
return '<a href="javascript:
con560_contractMaintainDs_grid_update(' + record.id + ');
">
' + value + '
</a>
';
return '<a href="javascript:
open_contract_win(\'' + record.ds.id + '\',\'' + record.id + '\')
">
' + value + '
</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