<?xml version="1.0" encoding="UTF-8"?> <!-- $Author: 吴军 $Date: 2016年10月21日15:56:53 $Revision: 1.0 $Purpose: 投票进程查看 --> <a:screen xmlns:a="http://www.leaf-framework.org/application"> <a:init-procedure> <!-- <a:model-query defaultWhereClause="t1.project_id=${/parameter/@project_id}" fetchAll="true" model="prj.PRJ502N.prj_project_approval_process" rootPath="prj_projec_path"/> --><![CDATA[ ]]></a:init-procedure> <a:view> <script type="text/javascript"><![CDATA[ Leaf.onReady(init); function init() { $('prj502n_prj_project_query_ds').setQueryParameter('project_id', '${/parameter/@project_id}'); $('prj502n_prj_project_query_ds').query(); $('prj502n_prj_project_approver_query_ds').setQueryParameter('project_id', '${/parameter/@project_id}'); $('prj502n_prj_project_approver_query_ds').query(); } function prj502n_pro_project_close(){ $('${/parameter/@winid}').close(); } ]]></script> <a:dataSets> <a:dataSet id="prj502n_prj_project_ds" autoCreate="true"> <a:fields> <a:field name="project_id" defaultValue="${/parameter/@project_id}"/> </a:fields> </a:dataSet> <a:dataSet id="prj502n_prj_project_query_ds" model="prj.PRJ502N.prj_project_query" queryDataSet="prj502n_prj_project_ds"> <a:fields> <a:field name="project_number" readOnly="true"/> <a:field name="project_name" readOnly="true"/> <a:field name="name" readOnly="true"/> </a:fields> </a:dataSet> <a:dataSet id="prj502n_prj_project_approver_query_ds" model="prj.PRJ502N.hn_get_prj_approver_info" queryDataSet="prj502n_prj_project_ds"> <a:fields> <a:field name="already_cast_list" readOnly="true"/> <a:field name="not_cast_list" readOnly="true"/> <a:field name="agree_perecent" readOnly="true"/> <a:field name="refuse_perecent" readOnly="true"/> <a:field name="discuss_perecent" readOnly="true"/> <a:field name="leave_perecent" readOnly="true"/> </a:fields> </a:dataSet> </a:dataSets> <a:screenBody> <a:screenTopToolbar> <a:screenTitle/> <a:gridButton click="prj502n_pro_project_close" text="关闭"/> </a:screenTopToolbar> <a:form column="3" marginWidth="30" title="投票进程查询"> <a:textField name="project_number" bindTarget="prj502n_prj_project_query_ds" prompt="项目编号"/> <a:textField name="project_name" bindTarget="prj502n_prj_project_query_ds" prompt="项目名称" width="500"/> <a:textField name="name" bindTarget="prj502n_prj_project_query_ds" prompt="项目经理"/> </a:form> <a:form column="1" marginWidth="30" title="审批记录"> <a:hBox> <a:textField name="already_cast_list" bindTarget="prj502n_prj_project_approver_query_ds" prompt="已投名单" width="850"/> </a:hBox> <a:hBox> <a:textField name="not_cast_list" bindTarget="prj502n_prj_project_approver_query_ds" prompt="未投名单" width="850"/> </a:hBox> <a:hBox> <a:textField name="agree_perecent" bindTarget="prj502n_prj_project_approver_query_ds" prompt="同意比例"/> <a:textField name="refuse_perecent" bindTarget="prj502n_prj_project_approver_query_ds" prompt="拒绝比例"/> <a:textField name="discuss_perecent" bindTarget="prj502n_prj_project_approver_query_ds" prompt="再议比例"/> <a:textField name="leave_perecent" bindTarget="prj502n_prj_project_approver_query_ds" prompt="请假比例"/> </a:hBox> </a:form> </a:screenBody> </a:view> </a:screen>