Commit 94a37f0a authored by 38823's avatar 38823

电子签约多个担保人签约进度展示

parent ff18226b
<?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>
......@@ -18,6 +18,10 @@
<a:link id="${/parameter/@layout_code}con_contract_query_link"
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="${/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[
function open_contract_win(ds_id, record_id) {
......@@ -51,10 +55,35 @@
url = 'car_modify_link_readonly_c';
}
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) {
if (name == 'contract_number' && value) {
return '<a href="javascript:open_contract_win(\'' + record.ds.id + '\',\'' + record.id + '\')">' + value + '</a>';
......@@ -62,6 +91,12 @@
if (name == 'project_number' && value) {
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;
};
window['${/parameter/@layout_code}_user_button1_layout_dynamic_click'] = function () {
......
<?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>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment