Commit d711db9c authored by gzj34291's avatar gzj34291

月结附件审批工作流

parent df6f0575
......@@ -13,7 +13,7 @@
<bm:operation name="query">
<bm:query-sql><![CDATA[
SELECT count(1) wfl_count
FROM con_monthly_statement t
FROM con_monthly_statement t
where t.history_flag='N'
and t.status_name ='APPROVING'
]]></bm:query-sql>
......
......@@ -13,7 +13,7 @@
<bm:operations>
<bm:operation name="query">
<bm:query-sql><![CDATA[
SELECT t.*,
SELECT t.* ,
(SELECT sv.code_value_name
FROM sys_code_values_v sv
WHERE sv.code = 'HLS_REPORT_NAME'
......
......@@ -9,7 +9,7 @@
<bm:operations>
<bm:operation name="query">
<bm:query-sql><![CDATA[
SELECT t.*,
SELECT t.* ,
(SELECT sv.code_value_name
FROM sys_code_values_v sv
WHERE sv.code = 'HLS_REPORT_NAME'
......
......@@ -15,8 +15,17 @@
and t.status_name ='APPROVED'
]]></bm:query-sql>
</bm:operation>
<bm:operation name="update">
<bm:update-sql><![CDATA[
begin
con_monthly_statement_pkg.reset_monthly_statement(p_user_id =>${/session/@user_id},
p_date =>${@date});
end;
]]></bm:update-sql>
</bm:operation>
</bm:operations>
<bm:fields>
<bm:field name="wfl_count"></bm:field>
</bm:fields>
</bm:model>
......@@ -11,7 +11,7 @@
<bm:field name="report_name" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="REPORT_NAME" prompt="CON_MONTHLY_ATTACHMENT_LIST.REPORT_NAME"/>
</bm:fields>
<bm:features>
<o:sequence-pk sequenceName="con_monthly_attachment_list_s"/>
<o:sequence-pk sequenceName="con_monthly_attachment_list_s"/>
<f:standard-who/>
</bm:features>
<bm:primary-key>
......
<?xml version="1.0" encoding="UTF-8"?>
<bm:model xmlns:o="leaf.database.local.oracle" xmlns:bm="http://www.leaf-framework.org/schema/bm" xmlns:f="leaf.database.features" alias="t1" baseTable="HLS_TAX_ACT_CONFIRM" needAccessControl="false">
<bm:fields>
<bm:field name="instance_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="INSTANCE_ID"/>
<bm:field name="workflow_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="WORKFLOW_ID"/>
<bm:field name="workflow_code" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="WORKFLOW_CODE"/>
<bm:field name="workflow_desc" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="WORKFLOW_DESC"/>
<bm:field name="current_seq" databaseType="NUMBER" datatype="java.lang.Long" physicalName="CURRENT_SEQ"/>
<bm:field name="current_node_desc" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="CURRENT_NODE_DESC"/>
<bm:field name="last_approve_date" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="LAST_APPROVE_DATE"/>
<bm:field name="company_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="COMPANY_ID"/>
<bm:field name="company_info" databaseType="VARCHAR2" datatype="java.lang.String"/>
<bm:field name="instance_status" databaseType="VARCHAR2" datatype="java.lang.String"/>
<bm:field name="instance_status_desc" databaseType="VARCHAR2" datatype="java.lang.String"/>
<bm:field name="approve_user_code" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="APPROVE_USER_CODE"/>
<bm:field name="approve_user_name" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="APPROVE_USER_NAME"/>
<bm:field name="created_by"/>
<bm:field name="submitted_by"/>
<bm:field name="document_info"/>
</bm:fields>
<bm:operations>
<bm:operation name="query">
<bm:query-sql><![CDATA[select t1.instance_id,
t1.workflow_id,
t1.workflow_code,
t1.workflow_desc,
t1.current_seq,
t1.created_by,
t1.submitted_by,
t1.instance_status,
t1.instance_status_desc,
t1.current_node_desc,
t1.last_approve_date,
t1.company_id,
t1.company_info,
--t1.approve_user_code,
--t1.approve_user_name,
(select t.approve_user_code from zj_wfl_workflow_instance_v t where t.instance_id=t1.instance_id and rownum=1 AND exists (select 1 from sys_user sy where sy.user_id=${/session/@user_id} and sy.bp_category<>'AGENT'))approve_user_code,
(select t.approve_user_name from zj_wfl_workflow_instance_v t where t.instance_id=t1.instance_id and rownum=1 AND exists (select 1 from sys_user sy where sy.user_id=${/session/@user_id} and sy.bp_category<>'AGENT'))approve_user_name,
t1.document_info
from zj_wfl_workflow_instance_v t1
where t1.workflow_code = 'HLS_MONTHLY_SETTLEMENT_WFL'
and t1.instance_id in (select c.wfl_instance_id from con_monthly_statement c where c.monthly_date =${@date})
order by t1.instance_id desc
]]></bm:query-sql>
</bm:operation>
</bm:operations>
</bm:model>
<?xml version="1.0" encoding="UTF-8"?>
<!--
$Author: likun
$Date: 2011-8-18 下午03:25:19
$Revision: 1.0
$Purpose:
-->
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm" needAccessControl="false">
<bm:operations>
<bm:operation name="query">
<bm:query-sql><![CDATA[
select t1.instance_id, t1.workflow_id, t1.workflow_code, t1.current_seq
from zj_wfl_workflow_instance_v t1
#WHERE_CLAUSE#
order by t1.instance_id desc
]]></bm:query-sql>
</bm:operation>
</bm:operations>
<bm:fields>
<bm:field name="instance_id" databaseType="NUMBER" datatype="java.lang.Long" forDisplay="false"/>
<bm:field name="workflow_id" databaseType="NUMBER" datatype="java.lang.Long" forDisplay="false"/>
<bm:field name="workflow_code" databaseType="VARCHAR2" datatype="java.lang.String" displayWidth="80" forDisplay="true" forQuery="true" />
<bm:field name="current_seq" databaseType="NUMBER" datatype="java.lang.Long" forDisplay="false"/>
</bm:fields>
</bm:model>
<?xml version="1.0" encoding="UTF-8"?>
<!--
$Author: qwm
$Date: 2013-12-28 下午1:24:13
$Revision: 1.0
$Purpose:
$Author: qwm
$Date: 2013-12-28 下午1:24:13
$Revision: 1.0
$Purpose:
-->
<a:screen xmlns:a="http://www.leaf-framework.org/application" customizationEnabled="true" trace="true">
<a:init-procedure>
<a:model-query model="rsc.RSC510.workflow_info" defaultWhereClause="instance_id=${/parameter/@instance_id}" rootPath="wolkflow_path"></a:model-query>
</a:init-procedure>
<a:view>
<a:link id="hls_attachment_uploadFile_id" url="${/request/@context_path}/uploadFile.lview"/>
<a:link id="hls_attachment_uploadonlyFile_id" url="${/request/@context_path}/downloadFile.lview"/>
<a:link id="hls_attachment_uploadFile_wfl_id" url="${/request/@context_path}/uploadFile.lview"/>
<a:link id="hls_attachment_uploadonlyFile_wfl_id" url="${/request/@context_path}/downloadFile.lview"/>
<!-- <a:link id="hls_month_end_print_id"-->
<!-- url="${/request/@context_path}/modules/cus_deposit/CUS_DEPOSIT106/hls_month_end_print.lsc"/>-->
<a:link id="hls_month_end_print_id"
url="${/request/@context_path}/modules/cus_deposit/CUS_DEPOSIT106/hls_month_end_print.lsc"/>
url="${/request/@context_path}/modules/csh/CSH501/csh_con_req_history_pdf_print.lsc"/>
<script><![CDATA[
//add by gzj
function detail_upload_window(record_id) {
if('${/model/wolkflow_path/record/@current_seq}' == '10'){
var url = $('hls_attachment_uploadFile_id').getUrl() + '?table_name=BUSINESS_REPORT&header_id=' + record_id;
if('${/model/wolkflow_path/record/@current_seq}' == '5'){
var url = $('hls_attachment_uploadFile_wfl_id').getUrl() + '?table_name=BUSINESS_REPORT&header_id=' + record_id;
var win = new Leaf.Window({
url: url,
title: '${l:HLS.SUPPORTING_DOCUMENT}',
......@@ -27,8 +30,11 @@
width: 850,
height: 400
});
win.on('close', function() {
$('month_report_wfl_ds').query();
});
}else{
var url = $('hls_attachment_uploadonlyFile_id').getUrl() + '?table_name=BUSINESS_REPORT&header_id=' + record_id;
var url = $('hls_attachment_uploadonlyFile_wfl_id').getUrl() + '?table_name=BUSINESS_REPORT&header_id=' + record_id;
var win = new Leaf.Window({
url: url,
title: '${l:HLS.SUPPORTING_DOCUMENT}',
......@@ -36,6 +42,9 @@
width: 850,
height: 400
});
win.on('close', function() {
$('month_report_wfl_ds').query();
});
}
......@@ -45,8 +54,8 @@
}
function sbo_detail_upload_window(record_id) {
if('${/model/wolkflow_path/record/@current_seq}' == '10'){
var url = $('hls_attachment_uploadFile_id').getUrl() + '?table_name=SBO_REPORT&header_id=' + record_id;
if('${/model/wolkflow_path/record/@current_seq}' == '5'){
var url = $('hls_attachment_uploadFile_wfl_id').getUrl() + '?table_name=SBO_REPORT&header_id=' + record_id;
var win = new Leaf.Window({
url: url,
title: '${l:HLS.SUPPORTING_DOCUMENT}',
......@@ -54,8 +63,11 @@
width: 850,
height: 400
});
win.on('close', function() {
$('month_report_wfl_ds').query();
});
}else{
var url = $('hls_attachment_uploadonlyFile_id').getUrl() + '?table_name=SBO_REPORT&header_id=' + record_id;
var url = $('hls_attachment_uploadonlyFile_wfl_id').getUrl() + '?table_name=SBO_REPORT&header_id=' + record_id;
var win = new Leaf.Window({
url: url,
title: '${l:HLS.SUPPORTING_DOCUMENT}',
......@@ -63,6 +75,9 @@
width: 850,
height: 400
});
win.on('close', function() {
$('month_report_wfl_ds').query();
});
}
}
......@@ -72,23 +87,26 @@
//审批通过打印审批记录
function month_approved_print() {
debugger;
var headers_ds = $('unearned_finance_income_query_ds');
var record = headers_ds.getCurrentRecord();
var year = record.get('year');
var month = record.get('month');
var headers_ds = $('month_report_wfl_ds');
var record = headers_ds.getAt(0);
// var year = record.get('year');
// var month = record.get('month');
var year = "${/parameter/@month_date}".substring(0, 4);
var month = "${/parameter/@month_date}".substring(4, 6);
var date = year+month;
var wfl_instance_id = '${/parameter/@instance_id}';
// var record = $('csh_transaction_return_wfl_ds').getCurrentRecord();
// var return_id = record.get('return_id');
var file_name = "报表确认流程" + "-" + year+'年'+ month + "月审批记录";
var url_l = $('hls_month_end_print_id').getUrl() + '?document_id=' + date + '&file_name=' + encodeURI(file_name) + '&document_table=HLS_MONTH_END&batch_flag=Y&source_type=common';
window.open(href = url_l, target = "_self");
var file_name = year+'年'+ month + "月月结资料审批记录打印";
var url_l = $('hls_month_end_print_id').getUrl() + '?document_id=' + wfl_instance_id + '&file_name=' + encodeURI(file_name) + '&document_table=HLS_MONTH_END&batch_flag=Y&source_type=COMMON';
var OpenWindow = window.open(href = url_l, target = "_blank");
}
]]></script>
<a:dataSets>
<a:dataSet id="unearned_finance_income_query_ds" autoCreate="true" >
<a:dataSet id="unearned_finance_income_query_wfl_ds" autoCreate="true" >
<a:fields>
<a:field name="month_date" defaultValue="${/parameter/@month_date}"/>
<a:field name="year"/>
......@@ -96,9 +114,9 @@
<a:field name="batch_num" defaultValue="${/parameter/@batch_num}"/>
</a:fields>
</a:dataSet>
<a:dataSet id="report_name_ds" lookupCode="HLS_REPORT_NAME"/>
<a:dataSet id="month_report_ds" autoQuery="true" fetchAll="true" model="hls.HLS801.con_monthly_statement_wfl"
queryDataSet="unearned_finance_income_query_ds">
<a:dataSet id="report_name_wfl_ds" lookupCode="HLS_REPORT_NAME"/>
<a:dataSet id="month_report_wfl_ds" autoQuery="true" fetchAll="true" model="hls.HLS801.con_monthly_statement_wfl"
queryDataSet="unearned_finance_income_query_wfl_ds">
</a:dataSet>
</a:dataSets>
<a:screenBody>
......@@ -107,13 +125,13 @@
</a:screenTopToolbar>
<a:form column="1" marginWidth="80" style="margin-left:3px" title="HLS.QUERY_TITLE">
<a:box column="3" labelWidth="150" style="margin-left:-80px">
<a:textField name="year" bindTarget="unearned_finance_income_query_ds"
<a:textField name="year" bindTarget="unearned_finance_income_query_wfl_ds"
prompt="HLS801.YEAR" readOnly="true"/>
<a:textField name="month" bindTarget="unearned_finance_income_query_ds"
<a:textField name="month" bindTarget="unearned_finance_income_query_wfl_ds"
prompt="HLS801.MONTH" readOnly="true"/>
</a:box>
</a:form>
<a:grid id="month_report_id" bindTarget="month_report_ds" marginHeight="300"
<a:grid id="month_report_wfl_id" bindTarget="month_report_wfl_ds" marginHeight="300"
marginWidth="150">
<a:columns>
<a:column name="report_name" align="center" prompt="报表名称"
......@@ -131,23 +149,15 @@
Leaf.onReady(function () {
Leaf.onReady(init);
function init() {
debugger;
var a = '${/parameter/@instance_id}';
alert(a);
var record = $('unearned_finance_income_query_ds').getCurrentRecord();
var record = $('unearned_finance_income_query_wfl_ds').getCurrentRecord();
var year = "${/parameter/@month_date}".substring(0, 4);
var month = "${/parameter/@month_date}".substring(4, 6);
record.set('year',year);
record.set('month',month);
if ('${/model/wolkflow_path/record/@current_seq}' == '10'||'${/model/wolkflow_path/record/@current_seq}' == '20') {
if ('${/model/wolkflow_path/record/@current_seq}' == '5'||'${/model/wolkflow_path/record/@current_seq}' == '10') {
document.getElementById("month_approved_print_id").style.display = "none";
}
// var records = $('month_report_ds').getAll()[0];
// var status=records.get('status_name');
// if (status != 'APPROVED') {
// document.getElementById("month_approved_print_id").style.display = "none";
// }
$('month_report_ds').query();
$('month_report_wfl_ds').query();
}
})
</script>
......
<?xml version="1.0" encoding="UTF-8"?>
<a:screen xmlns:c="leaf.application.action" xmlns:p="uncertain.proc" xmlns:a="http://www.leaf-framework.org/application" trace="true">
<a:init-procedure>
<!-- <p:switch test="/parameter/@reader_type">-->
<!-- &lt;!&ndash;-->
<!-- $Author:DJ-->
<!-- 读者类型:-->
<!-- 提交人-->
<!-- 审批人-->
<!-- 系统管理员 -->
<!-- &ndash;&gt;-->
<!-- <p:case value="SUBMITTER">-->
<!-- <a:model-query defaultWhereClause="t1.workflow_id = ${/parameter/@workflow_id}" model="zjwfl.zj_wfl_workflow" rootPath="approve_ht_workflow"/>-->
<!-- <a:model-query defaultWhereClause="t1.node_hide_approve_record = &apos;N&apos; and ${/model/approve_ht_workflow/record/@show_approve_history_flag} = &apos;Y&apos; and (${/model/approve_ht_workflow/record/@show_all_approve_ht_flag} = &apos;Y&apos; or t1.record_approve_count = t1.instance_approve_count)" fetchAll="true" model="hls.HLS801.zj_wfl_approve_history" rootPath="approve_history_list"/>-->
<!-- </p:case>-->
<!-- <p:case value="APPROVER">-->
<!-- <a:model-query defaultWhereClause="t1.node_id = ${/parameter/@node_id}" model="zjwfl.zj_wfl_workflow_node_filter_node_id" rootPath="approve_ht_node"/>-->
<!-- <a:model-query defaultWhereClause="t1.node_hide_approve_record = &apos;N&apos; and ${/model/approve_ht_node/record/@show_approve_history_flag} = &apos;Y&apos; and (${/model/approve_ht_node/record/@show_all_approve_ht_flag} = &apos;Y&apos; or t1.record_approve_count = t1.instance_approve_count)" fetchAll="true" model="hls.HLS801.zj_wfl_approve_history" rootPath="approve_history_list"/>-->
<!-- </p:case>-->
<!-- <p:case value="ADMIN">-->
<!-- <a:model-query fetchAll="true" model="hls.HLS801.zj_wfl_approve_history" rootPath="approve_history_list"/>-->
<!-- </p:case>-->
<!-- </p:switch>-->
<a:model-query fetchAll="true" model="hls.HLS801.zj_wfl_approve_history" rootPath="approve_history_list"/>
<a:model-query model="prj.PRJ600.is_prj_workflow" rootPath="is_prj_workflow"/>
<a:model-query fetchAll="true" model="zjwfl.zj_wfl_get_bp_category" rootPath="zjwfl_bp_category_history"/>
</a:init-procedure>
<a:view>
<a:link id="prj_attach_downloadfile_link" url="${/request/@context_path}/downloadFile.lview"/>
<!-- <a:link id="check_agent_link" model="zjwfl.ZJWFL1060.zj_wfl_check_agent_re" modelaction="update"/> -->
<style><![CDATA[
.cell_n{
word-wrap : break-word;
word-break: break-all;
overflow:hidden;
}
]]></style>
<a:screen-include screen="modules/zjwfl/zj_wfl_common_javascript.lview"/>
<script><![CDATA[
function render_action_type_desc(value, record, name) {
return f_zjwfl.getApproveImg(record.get('record_type'), value);
}
function open_downloadfile_win(rcpt_record_id) {
new Leaf.Window({
id: 'zj_wfl_approve_history_downloadfile_win',
url: $('prj_attach_downloadfile_link').getUrl() + '?table_name=ZJ_WFL_INSTANCE_NODE_RECIPIENT&header_id=' + rcpt_record_id,
title: '附件查看',
width: 850,
height: 400
});
}
function attachement_renderer(value, record, name) {
if (record.get('rcpt_record_id')) {
if (record.get('attach_count') > 0) {
return '<a style="color:red" href="javascript:open_downloadfile_win(' + record.get('rcpt_record_id') + ')">附件查看</a>';
}
return '<a href="javascript:open_downloadfile_win(' + record.get('rcpt_record_id') + ')">附件查看</a>';
}
}
function prj_atm_renderer(value, record, name) {
if (record.get('rcpt_record_id')) {
return '<a href="javascript:open_prj_atm()">附件查看</a>';
}
}
function open_prj_atm() {
var url = $('prj_attach_downloadfile_link').getUrl() + '?table_name=ZJ_WFL_APPROVE_RECORD&header_id=' + ${/parameter/@instance_id};
new Aurora.Window({
url: url,
title: '${l:HLS.SUPPORTING_DOCUMENT}',
id: 'con504_attach_downloadfile_win',
width: 850,
height: 400
});
}
function check_agent_renderer(value, record, name) {
//debugger;
var agent_flag = record.get('agent_flag');
if(agent_flag == 'Y'){
return '<a>' + '<font color="#FF9900">' + value + '</font>' + '</a>';
}else{
return value;
}
//alert(rcpt_record_id);
// Aurora.request({
// url: $('check_agent_link').getUrl(),
// para: {
// rcpt_record_id: rcpt_record_id
// },
// success: function(res) { //
// var agent_flag = res.result.agent_flag;
// //alert(agent_flag);
// if (agent_flag == 'AGENT') {
// return '<a>' + '<font color="#FF9900">' + value + '</font>' + '</a>';
// }
// },
// scope: this
// });
}
]]></script>
<a:dataSets>
<a:dataSet id="approveHistoryDs">
<a:datas dataSource="/model/approve_history_list"/>
</a:dataSet>
<a:dataSet id="zjwfl_bp_category_history_ds">
<a:datas dataSource="/model/zjwfl_bp_category_history"/>
</a:dataSet>
</a:dataSets>
<a:screenBody>
<a:form marginWidth="30" padding="0">
<a:table id="zj_wfl_approve_history_table_id" bindTarget="approveHistoryDs" canWheel="false" className="cell_n" percentWidth="100">
<a:columns>
<a:column name="create_date_fmt" prompt="审批时间" width="150"/>
<a:column name="action_type_desc" prompt="审批操作" renderer="render_action_type_desc" width="200"/>
<!-- <a:column name="comment_text" prompt="内部信审意见" width="250"/> -->
<a:column name="node_desc" prompt="审批节点" width="200"/>
<a:column name="approver" prompt="审批人" renderer="check_agent_renderer" width="200"/>
<a:column name="comment_text_out" prompt="审批意见" width="400"/>
<a:placeHolder id="dynamicLineColumn_id"/>
<!-- <a:column name="attachement" align="center" prompt="附件查看" renderer="attachement_renderer" width="80"/> -->
</a:columns>
</a:table>
</a:form>
</a:screenBody>
<script><![CDATA[
var record = $('zjwfl_bp_category_history_ds').getCurrentRecord();
if (record.get('bp_category') != 'EMPLOYEE') {
$('zj_wfl_approve_history_table_id').hideColumn('comment_text');
$('zj_wfl_approve_history_table_id').hideColumn('attachement');
}
if (record.get('role_code_name') == 'JF') {
$('zj_wfl_approve_history_table_id').hideColumn('comment_text');
$('zj_wfl_approve_history_table_id').hideColumn('comment_text_out');
$('zj_wfl_approve_history_table_id').hideColumn('attachement');
}
]]></script>
</a:view>
<a:view-config>
<c:create-config targetId="dynamicLineColumn_id">
<p:loop source="/model/is_prj_workflow">
<p:switch test="@prj_workflow">
<p:case value="Y">
<c:process-config>
<a:column name="attachement" align="center" prompt="附件查看" renderer="attachement_renderer" width="80"/>
</c:process-config>
</p:case>
</p:switch>
</p:loop>
</c:create-config>
</a:view-config>
</a:screen>
<?xml version="1.0" encoding="UTF-8"?>
<!--
$Author: 34291
$Date: 2022-11-16 10:18:01
$Revision: 1.0
$Purpose:
-->
<a:screen xmlns:a="http://www.leaf-framework.org/application" customizationEnabled="true" trace="true">
<a:view>
<a:link id="pageLink_node_approve_history" url="${/request/@context_path}/modules/hls/HLS801/zj_wfl_monitoring_node_approve_history.lview"/>
<a:screen-include screen="modules/zjwfl/zj_wfl_common_javascript.lview"/>
<script><![CDATA[
function winOpen_approve_history(instance_id) {
new Leaf.Window({
id: 'node_approve_history_win',
url: $('pageLink_node_approve_history').getUrl(),
params: {
instance_id: instance_id,
show_hide: 'Y'
},
title: '单据明细',
fullScreen: true
});
}
function render_monitorDs_grid(value, record, name) {
if(name=='approve_history')
{
return '<a href="javascript:winOpen_approve_history(' + record.get('instance_id') + ');">' + '明细' + '</a>';
}
else if(name=='instance_status_desc')
{
return f_zjwfl.getStatusImg(record.get('instance_status'),value);
}
}
]]></script>
<a:dataSets>
<a:dataSet id="monitorDs" autoPageSize="true" autoQuery="true" queryUrl="${/request/@context_path}/autocrud/hls.HLS801.zj_wfl_monitoring_query/query?date=${/parameter/@date}"/>
</a:dataSets>
<a:screenBody>
<a:grid id="monitorDs_grid" bindTarget="monitorDs" marginHeight="180" marginWidth="30" navBar="true">
<a:columns>
<a:column name="instance_id" align="right" prompt="实例ID" width="60"/>
<a:column name="instance_status_desc" prompt="状态" renderer="render_monitorDs_grid" width="100"/>
<a:column name="workflow_desc" autoAdjust="false" prompt="工作流描述" showTitle="true" width="100"/>
<a:column name="document_info" autoAdjust="false" prompt="单据信息" showTitle="true" width="250"/>
<a:column name="current_seq" align="right" prompt="节点序号" width="60"/>
<a:column name="current_node_desc" autoAdjust="false" prompt="当前节点" showTitle="true" width="280"/>
<a:column name="last_approve_date" align="center" prompt="上一节点审批时间" width="130"/>
<a:column name="company_info" autoAdjust="false" prompt="公司信息" showTitle="true" width="120"/>
<a:column name="approve_user_code" autoAdjust="false" prompt="当前审批人代码" showTitle="true" width="150"/>
<a:column name="approve_user_name" autoAdjust="false" prompt="当前审批人姓名" showTitle="true" width="150"/>
<a:column name="approve_history" align="center" prompt="明细" renderer="render_monitorDs_grid" width="50"/>
</a:columns>
</a:grid>
</a:screenBody>
</a:view>
</a:screen>
<?xml version="1.0" encoding="UTF-8"?>
<!--
$Author: 34291
$Date: 2022-11-16 10:18:01
$Revision: 1.0
$Purpose:
-->
<a:screen xmlns:a="http://www.leaf-framework.org/application" trace="true">
<a:init-procedure>
<a:model-query defaultWhereClause="t1.instance_id=${/parameter/@instance_id}" model="zjwfl.zj_wfl_workflow_service_display" rootPath="workflow_service_record"/>
<a:model-query defaultWhereClause="t1.instance_id=${/parameter/@instance_id}" model="zjwfl.zj_wfl_workflow_instance" rootPath="instance_simple_record"/>
</a:init-procedure>
<a:view>
<script type="text/javascript"><![CDATA[
]]></script>
<a:screenBody>
<a:switch test="/model/workflow_service_record/record/@service_url">
<a:case value="DEFAULT">
<a:screen-include screen="modules/zjwfl/zj_wfl_default_document_info.lview?instance_id=${/parameter/@instance_id}&amp;approve_count=${/model/instance_simple_record/record/@approve_count}"/>
</a:case>
<a:case value="ERROR">
<div style="color:red;"><![CDATA[自定义页面获取失败]]></div>
</a:case>
<a:case value="*">
<a:screen-include screen="${/model/workflow_service_record/record/@service_url}"/>
</a:case>
</a:switch>
<a:screen-include screen="modules/hls/HLS801/zj_wfl_approve_history.lview?instance_id=${/parameter/@instance_id}&amp;reader_type=ADMIN"/>
</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