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
9944cf9c
Commit
9944cf9c
authored
Sep 18, 2019
by
Spencer Chang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[fix] 添加提交按钮逻辑
parent
2a7121ab
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
1 deletion
+21
-1
REGISTER_CON_REPO001.sql
src/main/database/Register_function/REGISTER_CON_REPO001.sql
+1
-0
REGISTER_CON_REPO003.sql
src/main/database/Register_function/REGISTER_CON_REPO003.sql
+1
-0
submit_change_req.lwm
...pp/WEB-INF/classes/cont/CON_REPO001/submit_change_req.lwm
+17
-0
con_contract_change_repo_detail.lview
...es/cont/CON_REPO001/con_contract_change_repo_detail.lview
+2
-1
No files found.
src/main/database/Register_function/REGISTER_CON_REPO001.sql
View file @
9944cf9c
...
...
@@ -29,6 +29,7 @@ sys_function_assign_pkg.func_bm_load('CON_REPO001','cont.CON500.con_contract_get
sys_function_assign_pkg
.
func_bm_load
(
'CON_REPO001'
,
'cont.CON_REPO001.create_change_req'
);
sys_function_assign_pkg
.
func_bm_load
(
'CON_REPO001'
,
'cont.CON_REPO001.calc_repo_date_amount'
);
sys_function_assign_pkg
.
func_bm_load
(
'CON_REPO001'
,
'cont.CON_REPO001.calc_cashflow'
);
sys_function_assign_pkg
.
func_bm_load
(
'CON_REPO001'
,
'cont.CON_REPO001.submit_change_req'
);
--分配菜单
sys_load_sys_function_grp_pkg
.
sys_function_group_item_load
(
p_function_group_code
=>
'CON_CHANGE_REQ'
,
p_function_code
=>
'CON_REPO001'
,
p_enabled_flag
=>
'Y'
,
P_USER_ID
=>-
1
);
...
...
src/main/database/Register_function/REGISTER_CON_REPO003.sql
View file @
9944cf9c
...
...
@@ -28,6 +28,7 @@ sys_function_assign_pkg.func_service_load('CON_REPO003','modules/cont/CON501N/co
sys_function_assign_pkg
.
func_bm_load
(
'CON_REPO003'
,
'cont.CON500.con_contract_get_layout_code'
);
sys_function_assign_pkg
.
func_bm_load
(
'CON_REPO003'
,
'cont.CON_REPO001.get_last_rent_due_date'
);
sys_function_assign_pkg
.
func_bm_load
(
'CON_REPO003'
,
'cont.CON_REPO001.calc_cashflow'
);
sys_function_assign_pkg
.
func_bm_load
(
'CON_REPO003'
,
'cont.CON_REPO001.submit_change_req'
);
--分配菜单
sys_load_sys_function_grp_pkg
.
sys_function_group_item_load
(
p_function_group_code
=>
'CON_CHANGE_REQ'
,
p_function_code
=>
'CON_REPO003'
,
p_enabled_flag
=>
'Y'
,
P_USER_ID
=>-
1
);
...
...
src/main/webapp/WEB-INF/classes/cont/CON_REPO001/submit_change_req.lwm
0 → 100644
View file @
9944cf9c
<?xml version="1.0" encoding="UTF-8"?>
<bm:model
xmlns:bm=
"http://www.leaf-framework.org/schema/bm"
>
<bm:operations>
<bm:operation
name=
"execute"
>
<bm:parameters>
<bm:parameter
name=
"change_req_id"
dataType=
"java.lang.Long"
input=
"true"
output=
"false"
/>
<bm:parameter
name=
"user_id"
dataType=
"java.lang.Long"
input=
"true"
output=
"false"
/>
</bm:parameters>
<bm:update-sql>
<![CDATA[
begin
cus_con_contract_repo_pkg.submit_change_req_repo(p_change_req_id=>
${@change_req_id},
p_layout_code=>${@layout_code},
p_user_id=>${/session/@user_id});
end;]]>
</bm:update-sql>
</bm:operation>
</bm:operations>
</bm:model>
src/main/webapp/modules/cont/CON_REPO001/con_contract_change_repo_detail.lview
View file @
9944cf9c
...
...
@@ -6,6 +6,7 @@
<a:init-procedure/>
<a:view>
<a:link
id=
"con_contract_repo_detail_get_layout_code_link_id"
model=
"cont.CON500.con_contract_get_layout_code"
modelaction=
"update"
/>
<a:link
id=
"con_repo_submit_link"
model=
""
modelaction=
"execute"
/>
<a:link
id=
"con_repo001_cancel_link"
model=
"cont.CON731.cancel_change_req"
modelaction=
"execute"
/>
<a:link
id=
"con_repo001_calc_cashflow_link"
model=
"cont.CON_REPO001.calc_cashflow"
modelaction=
"execute"
/>
<a:link
id=
"con_repo001_calc_repo_date_amount_link"
model=
"cont.CON_REPO001.calc_repo_date_amount"
modelaction=
"execute"
/>
...
...
@@ -206,7 +207,7 @@
var req_record = $(req_ds_id).getAt(0);
window['${/parameter/@bp_seq}${/parameter/@layout_code}_lock_layout_dynamic_window']();
Leaf.request({
url: $('con
731
_submit_link').getUrl(),
url: $('con
_repo
_submit_link').getUrl(),
para: {
change_req_id: ${/parameter/@change_req_id},
layout_code: '${/parameter/@layout_code}'
...
...
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