Commit 2c6beb8c authored by gzj34291's avatar gzj34291

五级分类

parent 6db78262
<?xml version="1.0" encoding="UTF-8"?>
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm" needAccessControl="false">
<bm:operations>
<bm:operation name="query">
<bm:query-sql><![CDATA[
SELECT t.*,(select scv.code_value_name
from sys_code_values_v scv
where scv.code = 'RSC_FIVE_CLASS_EXAMINE_STATUS'
and scv.code_value = t.status_name) status_name_n,
(select scv.code_value_name
from sys_code_values_v scv
where scv.code = 'RSC_FIVE_CLASS_CRITERION'
and scv.code_value = t.before_sort) before_sort_n ,
(SELECT hb.bp_name FROM hls_bp_master hb
where hb.bp_id=t.bp_id_tenant) bp_id_tenant_n,
(SELECT cc.contract_number FROM con_contract cc
where cc.contract_id=t.contract_id) contract_number_n FROM (SELECT cc.contract_id,
cc.overdue_max_days,
cc.bp_id_tenant,
cc.lease_channel,
'APPROVING' status_name,
nvl(cc.five_class, 'NORMAL') before_sort
FROM con_contract cc
where cc.data_class='NORMAL'
and cc.contract_number=${@contract_number}) t
]]></bm:query-sql>
</bm:operation>
<bm:operation name="update">
<bm:update-sql><![CDATA[
begin
RSC_FIVE_CLASS_WFL.UPDATE_FINAL_SORT
(
p_estimate_num=>${@estimate_num},
p_user_id=>${/session/@user_id}
);
end;]]></bm:update-sql>
</bm:operation>
</bm:operations>
</bm:model>
<?xml version="1.0" encoding="UTF-8"?>
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm" needAccessControl="false">
<bm:operations>
<bm:operation name="delete">
<bm:update-sql><![CDATA[
delete from con_five_table t where t.session_id = ${/session/@session_id}
]]></bm:update-sql>
</bm:operation>
<bm:operation name="update">
<bm:update-sql><![CDATA[
begin
RSC_FIVE_CLASS_WFL.INSERT_CON_TEXT
(
p_tab_id=>${@tab_id},
p_session_id=>${/session/@session_id}
);
end;
]]></bm:update-sql>
</bm:operation>
</bm:operations>
</bm:model>
<?xml version="1.0" encoding="UTF-8"?>
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm" needAccessControl="false">
<bm:operations>
<bm:operation name="update">
<bm:update-sql><![CDATA[
begin
RSC_FIVE_CLASS_WFL.UPDATE_CON_TEXT
( p_user_id=>${/session/@user_id},
p_text=>${@text},
p_session_id=>${/session/@session_id}
);
end;
]]></bm:update-sql>
</bm:operation>
</bm:operations>
</bm:model>
<?xml version="1.0" encoding="UTF-8"?>
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm" needAccessControl="false">
<bm:operations>
<bm:operation name="update">
<bm:update-sql><![CDATA[
begin
RSC_FIVE_CLASS_WFL.REFRESH_FIVE_CLASS
(
p_estimate_num=>${@estimate_num},
p_user_id=>${/session/@user_id}
);
end;
]]></bm:update-sql>
</bm:operation>
</bm:operations>
</bm:model>
...@@ -317,6 +317,8 @@ var enableLayoutConfig = { ...@@ -317,6 +317,8 @@ var enableLayoutConfig = {
'modules/lon/LON120/loan_contract_query.lview':true, 'modules/lon/LON120/loan_contract_query.lview':true,
'modules/lon/LON100/bp_funds_query.lview':true, 'modules/lon/LON100/bp_funds_query.lview':true,
'modules/lon/LON100/bp_credit_query.lview':true, 'modules/lon/LON100/bp_credit_query.lview':true,
'modules/cont/CON2000/collection_sms_query.lview':true,
'modules/cont/CON2000/project_maintain.lview':true,
'modules/rent/rent100/con_collection_trailer.lview':true, 'modules/rent/rent100/con_collection_trailer.lview':true,
'modules/rent/rent200/con_collection_income.lview':true, 'modules/rent/rent200/con_collection_income.lview':true,
'modules/cont/CON316/contract_cost_query_entrance.lview':true, 'modules/cont/CON316/contract_cost_query_entrance.lview':true,
...@@ -327,6 +329,10 @@ var enableLayoutConfig = { ...@@ -327,6 +329,10 @@ var enableLayoutConfig = {
'modules/hsbc/HSBC110/hsbc_paying_batch_detail.lview':true, 'modules/hsbc/HSBC110/hsbc_paying_batch_detail.lview':true,
'modules/hsbc/HSBC120/hsbc_paying_batch_query.lview':true, 'modules/hsbc/HSBC120/hsbc_paying_batch_query.lview':true,
'modules/hsbc/HSBC130/pingan_account_hisbalance_query.lview':true, 'modules/hsbc/HSBC130/pingan_account_hisbalance_query.lview':true,
'modules/rsc/RSC510/rsc_five_class_wfl.lview':true,
'modules/rsc/RSC510/rsc_update_text.lview':true,
'modules/rsc/RSC510/rsc_five_class_history.lview':true,
'modules/hsbc/HSBC130/pingan_account_hisbalance_query.lview':true,
'modules/prj/PRJ501N/prj_project_lease_import_details.lview':true, 'modules/prj/PRJ501N/prj_project_lease_import_details.lview':true,
'modules/prj/PRJ501N/prj_project_lease_import.lview:':true, 'modules/prj/PRJ501N/prj_project_lease_import.lview:':true,
'modules/csh/CSH531F/csh_bank_recoi_processing.lview':true, 'modules/csh/CSH531F/csh_bank_recoi_processing.lview':true,
......
<?xml version="1.0" encoding="UTF-8"?>
<!--
$Author: 34291 gzj
$Date: 2022年9月5日
$Revision: 1.0
$Purpose:
-->
<a:screen xmlns:a="http://www.leaf-framework.org/application" customizationEnabled="true" dynamiccreateenabled="true" trace="true">
<a:view>
<script><![CDATA[
]]></script>
<a:screen-include screen="modules/cont/CON500/con_contract_get_layout_code.lview"/>
</a:view>
</a:screen>
This diff is collapsed.
<?xml version="1.0" encoding="UTF-8"?>
<a:screen xmlns:a="http://www.leaf-framework.org/application" >
<a:view>
<a:link id="update_text_ds_link_id" model="rsc.RSC510.rsc_update_text" modelaction="update"></a:link>
<script><![CDATA[
function back() {
$('update_text_winid').close();
}
function commit(){
debugger;
var count_ds=$('rsc_text_ds');
var new_record = $('RSC_FIVE_CLASS_WFL_RESULT_con_five_classification_ds').getSelected();
var record=count_ds.getCurrentRecord();
var text = record.get('text');
for (var i = 0;i < new_record.length;i++) {
var record = new_record[i];
record.set('text',text);
}
$('update_text_winid').close();
}
]]></script>
<a:dataSets>
<a:dataSet id="rsc_text_ds" autoCreate="true">
<a:fields>
<a:field name="text" required="true" />
</a:fields>
</a:dataSet>
</a:dataSets>
<a:screenBody>
<a:screenTopToolbar>
<a:gridButton click="back" text="后退"/>
<a:gridButton click="commit" text="提交"/>
</a:screenTopToolbar>
<a:fieldSet style="margin-left:10px;margin-top:10px;" labelWidth="130" title="说明信息" width="400">
<a:textField name="text" prompt="说明" bindTarget="rsc_text_ds" width="180" />
</a:fieldSet>
</a:screenBody>
</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