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
94a37f0a
Commit
94a37f0a
authored
Aug 14, 2024
by
38823
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
电子签约多个担保人签约进度展示
parent
ff18226b
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
69 additions
and
0 deletions
+69
-0
con_contract_ele_g_detail.lview
...ebapp/modules/cont/CON955/con_contract_ele_g_detail.lview
+17
-0
con_contract_ele_query.lview
...n/webapp/modules/cont/CON955/con_contract_ele_query.lview
+35
-0
con_contract_ele_t_detail.lview
...ebapp/modules/cont/CON955/con_contract_ele_t_detail.lview
+17
-0
No files found.
src/main/webapp/modules/cont/CON955/con_contract_ele_g_detail.lview
0 → 100644
View file @
94a37f0a
<?xml version="1.0" encoding="UTF-8"?>
<a:screen
xmlns:a=
"http://www.leaf-framework.org/application"
customizationEnabled=
"true"
dynamiccreateenabled=
"true"
trace=
"true"
>
<a:init-procedure>
</a:init-procedure>
<a:view>
<script
type=
"text/javascript"
>
<![CDATA[
$L.onReady(function(){
debugger;
var ds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'con_contract');
$(ds_id).setQueryParameter('contract_id','${/parameter/@contract_id}');
$(ds_id).query();
});
]]>
</script>
<a:screen-include
screen=
"modules/cont/CON500/con_contract_get_layout_code.lview"
/>
</a:view>
</a:screen>
src/main/webapp/modules/cont/CON955/con_contract_ele_query.lview
View file @
94a37f0a
...
@@ -18,6 +18,10 @@
...
@@ -18,6 +18,10 @@
<a:link
id=
"${/parameter/@layout_code}con_contract_query_link"
<a:link
id=
"${/parameter/@layout_code}con_contract_query_link"
url=
"${/request/@context_path}/modules/cont/CON3200/con_re_incept_modify.lview"
/>
url=
"${/request/@context_path}/modules/cont/CON3200/con_re_incept_modify.lview"
/>
<a:link
id=
"car_modify_link_readonly_c"
url=
"${/request/@context_path}/modules/prj/PRJ501N/prj_project_maintain_constru.lview"
/>
<a:link
id=
"car_modify_link_readonly_c"
url=
"${/request/@context_path}/modules/prj/PRJ501N/prj_project_maintain_constru.lview"
/>
<a:link
id=
"${/parameter/@layout_code}con_contract_gua_link"
url=
"${/request/@context_path}/modules/cont/CON955/con_contract_ele_g_detail.lview"
/>
<a:link
id=
"${/parameter/@layout_code}con_contract_gua_sp_link"
url=
"${/request/@context_path}/modules/cont/CON955/con_contract_ele_t_detail.lview"
/>
<script
type=
"text/javascript"
>
<![CDATA[
<script
type=
"text/javascript"
>
<![CDATA[
function open_contract_win(ds_id, record_id) {
function open_contract_win(ds_id, record_id) {
...
@@ -51,10 +55,35 @@
...
@@ -51,10 +55,35 @@
url = 'car_modify_link_readonly_c';
url = 'car_modify_link_readonly_c';
}
}
hls_doc_get_layout_code('con_contract_get_layout_code_link_id', param, url, ds_id);
hls_doc_get_layout_code('con_contract_get_layout_code_link_id', param, url, ds_id);
}
function open_gua_Window(record_id, ds_id) {
var record = $(ds_id).findById(record_id);
var param = record.data;
param['contract_id'] = record.get('contract_id');
param['function_usage'] = 'QUERY';
param['maintain_type'] = 'QUERY';
param['function_code'] = 'CON955_G'
param['screen_width'] = '800';
param['screen_height'] = '600';
param['url_title'] = '担保人签约状态明细';
hls_doc_get_layout_code('con_contract_get_layout_code_link_id', param,'${/parameter/@layout_code}con_contract_gua_link', ds_id);
}
function open_gua_sp_Window(record_id, ds_id) {
var record = $(ds_id).findById(record_id);
var param = record.data;
param['contract_id'] = record.get('contract_id');
param['function_usage'] = 'QUERY';
param['maintain_type'] = 'QUERY';
param['function_code'] = 'CON955_T'
param['screen_width'] = '800';
param['screen_height'] = '600';
param['url_title'] = '担保人配偶签约状态明细';
hls_doc_get_layout_code('con_contract_get_layout_code_link_id', param,'${/parameter/@layout_code}con_contract_gua_sp_link', ds_id);
}
}
window['${/parameter/@layout_code}_dynamic_link_renderer'] = function (value, record, name, config_record) {
window['${/parameter/@layout_code}_dynamic_link_renderer'] = function (value, record, name, config_record) {
if (name == 'contract_number' && value) {
if (name == 'contract_number' && value) {
return '<a href="javascript:open_contract_win(\'' + record.ds.id + '\',\'' + record.id + '\')">
' + value + '
</a>
';
return '<a href="javascript:open_contract_win(\'' + record.ds.id + '\',\'' + record.id + '\')">
' + value + '
</a>
';
...
@@ -62,6 +91,12 @@
...
@@ -62,6 +91,12 @@
if (name == 'project_number'
&&
value) {
if (name == 'project_number'
&&
value) {
return '
<a
href=
"javascript:open_project_Window(\'' + record.id + '\',\'' + record.ds.id + '\')"
>
' + value + '
</a>
';
return '
<a
href=
"javascript:open_project_Window(\'' + record.id + '\',\'' + record.ds.id + '\')"
>
' + value + '
</a>
';
}
}
if(name == 'gua_sign'
&&
value){
return '
<a
href=
"javascript:open_gua_Window(\'' + record.id + '\',\'' + record.ds.id + '\')"
>
' + value + '
</a>
';
}
if(name == 'gua_sp_sign'
&&
value){
return '
<a
href=
"javascript:open_gua_sp_Window(\'' + record.id + '\',\'' + record.ds.id + '\')"
>
' + value + '
</a>
';
}
return value;
return value;
};
};
window['${/parameter/@layout_code}_user_button1_layout_dynamic_click'] = function () {
window['${/parameter/@layout_code}_user_button1_layout_dynamic_click'] = function () {
...
...
src/main/webapp/modules/cont/CON955/con_contract_ele_t_detail.lview
0 → 100644
View file @
94a37f0a
<?xml version="1.0" encoding="UTF-8"?>
<a:screen
xmlns:a=
"http://www.leaf-framework.org/application"
customizationEnabled=
"true"
dynamiccreateenabled=
"true"
trace=
"true"
>
<a:init-procedure>
</a:init-procedure>
<a:view>
<script
type=
"text/javascript"
>
<![CDATA[
$L.onReady(function(){
debugger;
var ds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'con_contract');
$(ds_id).setQueryParameter('contract_id','${/parameter/@contract_id}');
$(ds_id).query();
});
]]>
</script>
<a:screen-include
screen=
"modules/cont/CON500/con_contract_get_layout_code.lview"
/>
</a:view>
</a:screen>
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