标签:
1 <?xml version="1.0" encoding=‘UTF-8‘?> 2 <Widget controllerClazz="nc.bs.hrss.hi.leave.LeaveApplyListWinMainViewCtrl" id="main" refId="main" sourcePackage="hi/src/public/"> 3 <PlugoutDescs> 4 </PlugoutDescs> 5 <PluginDescs> 6 <PluginDesc id="inParam"> 7 <PluginDescItem clazztype="java.lang.String" id="appid"> 8 </PluginDescItem> 9 </PluginDesc> 10 <PluginDesc id="openMain"> 11 </PluginDesc> 12 <PluginDesc id="refresh_plugin" methodName="pluginReSearch"> 13 <PluginDescItem clazztype="java.lang.String" id="OPERATE_ROW"> 14 </PluginDescItem> 15 </PluginDesc> 16 </PluginDescs> 17 <Connectors> 18 <Connector connType="6" id="listViewConnID" pluginId="refresh_plugin" plugoutId="proxyAfterSavePlugout" source="LeaveApplyList" sourceWindow="" target="main" targetWindow=""> 19 </Connector> 20 </Connectors> 21 <Events> 22 <Event async="true" jsEventClaszz="nc.uap.lfw.core.event.conf.DialogListener" methodName="onBeforeShow" name="beforeShow" onserver="true"> 23 <SubmitRule cardSubmit="false" panelSubmit="false" tabSubmit="false"> 24 </SubmitRule> 25 <Params> 26 <Param> 27 <Name>dialogEvent</Name> 28 <Value> 29 </Value> 30 <Desc> <![CDATA[nc.uap.lfw.core.event.DialogEvent]]> </Desc> 31 </Param> 32 </Params> 33 <Action> 34 </Action> 35 </Event> 36 <!--<Event async="true" methodName="plugininParam" onserver="true"> 37 <Params> 38 <Param> 39 <Name>keys</Name> 40 <Value> 41 </Value> 42 <Desc> <![CDATA[java.util.Map]]> </Desc> 43 </Param> 44 </Params> 45 <Action> 46 </Action> 47 </Event> 48 <Event async="true" methodName="pluginReSearch" onserver="true"> 49 <Params> 50 <Param> 51 <Name>keys</Name> 52 <Value> 53 </Value> 54 <Desc> <![CDATA[java.util.Map]]> </Desc> 55 </Param> 56 </Params> 57 <Action> 58 </Action> 59 </Event>--> 60 </Events> 61 <Models> 62 <Datasets> 63 <RefMdDataset caption="用户" controlwidgetopeStatus="false" enabled="false" id="$refds_uap_user" lazyLoad="true" notNullBody="false" objMeta="uap.user" voMeta="nc.vo.sm.UserVO"> 64 <Fields> 65 </Fields> 66 </RefMdDataset> 67 <MdDataset caption="休假申请" controlwidgetopeStatus="true" enabled="false" id="leaveapply" lazyLoad="true" notNullBody="false" objMeta="hrss.leaveapply" pageSize="15" voMeta="nc.vo.hrss.leaveapply.LeaveApplyVO"> 68 <FieldRelations> 69 <FieldRelation id="transtypeid_rel" needProcess="true" refDataset="$refds_uap_BilltypeVO"> 70 <MatchFields> 71 <Field readField="billtypename" writeField="transtypeid_name"> 72 </Field> 73 </MatchFields> 74 <WhereField> 75 <Field key="pk_billtypeid" value="transtypeid"> 76 </Field> 77 </WhereField> 78 </FieldRelation> 79 <FieldRelation id="pk_group_rel" needProcess="true" refDataset="$refds_uap_group" useCache="true"> 80 <MatchFields> 81 <Field readField="name" writeField="pk_group_name"> 82 </Field> 83 </MatchFields> 84 <WhereField> 85 <Field key="pk_group" value="pk_group"> 86 </Field> 87 </WhereField> 88 </FieldRelation> 89 <FieldRelation id="pk_org_rel" needProcess="true" refDataset="$refds_uap_hrorg" useCache="true"> 90 <MatchFields> 91 <Field readField="name" writeField="pk_org_name"> 92 </Field> 93 </MatchFields> 94 <WhereField> 95 <Field key="pk_hrorg" value="pk_org"> 96 </Field> 97 </WhereField> 98 </FieldRelation> 99 <FieldRelation id="billmaker_rel" needProcess="true" refDataset="$refds_uap_user" useCache="true"> 100 <MatchFields> 101 <Field readField="user_name" writeField="billmaker_user_name"> 102 </Field> 103 </MatchFields> 104 <WhereField> 105 <Field key="cuserid" value="billmaker"> 106 </Field> 107 </WhereField> 108 </FieldRelation> 109 <FieldRelation id="approver_rel" needProcess="true" refDataset="$refds_uap_user" useCache="true"> 110 <MatchFields> 111 <Field readField="user_name" writeField="approver_user_name"> 112 </Field> 113 </MatchFields> 114 <WhereField> 115 <Field key="cuserid" value="approver"> 116 </Field> 117 </WhereField> 118 </FieldRelation> 119 <FieldRelation id="creator_rel" needProcess="true" refDataset="$refds_uap_user" useCache="true"> 120 <MatchFields> 121 <Field readField="user_name" writeField="creator_user_name"> 122 </Field> 123 </MatchFields> 124 <WhereField> 125 <Field key="cuserid" value="creator"> 126 </Field> 127 </WhereField> 128 </FieldRelation> 129 <FieldRelation id="modifier_rel" needProcess="true" refDataset="$refds_uap_user" useCache="true"> 130 <MatchFields> 131 <Field readField="user_name" writeField="modifier_user_name"> 132 </Field> 133 </MatchFields> 134 <WhereField> 135 <Field key="cuserid" value="modifier"> 136 </Field> 137 </WhereField> 138 </FieldRelation> 139 </FieldRelations> 140 <Fields> 141 <Field dataType="String" i18nName="" id="leavetype_name" langDir="node_rm-res" nullAble="true" primaryKey="false" text=""> 142 </Field> 143 </Fields> 144 <Events> 145 <Event async="true" jsEventClaszz="nc.uap.lfw.core.event.conf.DatasetListener" methodName="onDataLoad" name="onDataLoad" onserver="true"> 146 <SubmitRule> 147 </SubmitRule> 148 <Params> 149 <Param> 150 <Name>dataLoadEvent</Name> 151 <Value> 152 </Value> 153 <Desc> <![CDATA[]]> 154 </Desc> 155 </Param> 156 </Params> 157 <Action> 158 </Action> 159 </Event> 160 <Event async="true" jsEventClaszz="nc.uap.lfw.core.event.conf.DatasetListener" methodName="onAfterRowSelect" name="onAfterRowSelect" onserver="true"> 161 <SubmitRule> 162 </SubmitRule> 163 <Params> 164 <Param> 165 <Name>datasetEvent</Name> 166 <Value> 167 </Value> 168 <Desc> <![CDATA[nc.uap.lfw.core.event.DatasetEvent]]> 169 </Desc> 170 </Param> 171 </Params> 172 <Action> 173 </Action> 174 </Event> 175 </Events> 176 </MdDataset> 177 <RefMdDataset caption="单据类型" controlwidgetopeStatus="false" enabled="false" id="$refds_uap_BilltypeVO" lazyLoad="true" notNullBody="false" objMeta="uap.BilltypeVO" voMeta="nc.vo.pub.billtype.BilltypeVO"> 178 <Fields> 179 </Fields> 180 </RefMdDataset> 181 <RefMdDataset caption="组织_集团" controlwidgetopeStatus="false" enabled="false" id="$refds_uap_group" lazyLoad="true" notNullBody="false" objMeta="uap.group" voMeta="nc.vo.org.GroupVO"> 182 <Fields> 183 </Fields> 184 </RefMdDataset> 185 <RefMdDataset caption="工作记录" controlwidgetopeStatus="false" enabled="false" id="$refds_hrhi_hi_psnjob" lazyLoad="true" notNullBody="false" objMeta="hrhi.hi_psnjob" voMeta="nc.vo.hi.psndoc.PsnJobVO"> 186 <Fields> 187 </Fields> 188 </RefMdDataset> 189 <RefMdDataset caption="人员基本信息" controlwidgetopeStatus="false" enabled="false" id="$refds_hrhi_bd_psndoc" lazyLoad="true" notNullBody="false" objMeta="hrhi.bd_psndoc" voMeta="nc.vo.hi.psndoc.PsndocVO"> 190 <Fields> 191 </Fields> 192 </RefMdDataset> 193 <RefMdDataset caption="组织_业务单元_人力资源组织" controlwidgetopeStatus="false" enabled="false" id="$refds_uap_hrorg" lazyLoad="true" notNullBody="false" objMeta="uap.hrorg" voMeta="nc.vo.org.HROrgVO"> 194 <Fields> 195 </Fields> 196 </RefMdDataset> 197 <RefMdDataset caption="岗位基本信息" controlwidgetopeStatus="false" enabled="false" id="$refds_hrjf_om_post" lazyLoad="true" notNullBody="false" objMeta="hrjf.om_post" voMeta="nc.vo.om.post.PostVO"> 198 <Fields> 199 </Fields> 200 </RefMdDataset> 201 <!-- <RefMdDataset caption="请假类别(自定义档案)" controlwidgetopeStatus="false" enabled="false" id="$refds_uap_leavetype" lazyLoad="true" notNullBody="false" objMeta="uap.Defdoc-bgy-23" voMeta="nc.vo.bd.defdoc.DefdocVO"> 202 <Fields> 203 </Fields> 204 </RefMdDataset>--> 205 <RefMdDataset caption="休假类别" controlwidgetopeStatus="false" enabled="false" id="$refds_hrta_leavetype" lazyLoad="true" notNullBody="false" objMeta="hrta.leavetype" voMeta="nc.vo.ta.timeitem.LeaveTypeVO"> 206 <Fields> 207 </Fields> 208 </RefMdDataset> 209 <RefMdDataset caption="职级(自定义档案)" controlwidgetopeStatus="false" enabled="false" id="$refds_uap_psnrank" lazyLoad="true" notNullBody="false" objMeta="uap.Defdoc-BGY03" voMeta="nc.vo.bd.defdoc.DefdocVO"> 210 <Fields> 211 </Fields> 212 </RefMdDataset> 213 <RefMdDataset caption="工作制(自定义档案)" controlwidgetopeStatus="false" enabled="false" id="$refds_uap_working" lazyLoad="true" notNullBody="false" objMeta="uap.Defdoc-BGY20" voMeta="nc.vo.bd.defdoc.DefdocVO"> 214 <Fields> 215 </Fields> 216 </RefMdDataset> 217 </Datasets> 218 <ComboDatas> 219 <MDComboDataConf caption="单据状态" fullclassName="2ed33012-890c-4e5f-82a0-40ef0eeb4b45" id="combo_leaveapply_approve_state"> 220 </MDComboDataConf> 221 </ComboDatas> 222 <RefNodes> 223 <NCRefNode allowInput="false" dataListener="" dialogHeight="" dialogWidth="" filterRefNodeNames="false" hrOrgs="false" i18nName="" id="refnode_leaveapply_creator_user_name" langDir="" multiSel="false" orgs="false" pagemeta="reference" pagemodel="" read="false" readDs="masterDs" readFields="cuserid,user_name" refId="" refcode="用户" refnodeDelegator="" relationRefNodeId="" selLeafOnly="false" text="" usePower="false" writeDs="leaveapply" writeFields="creator,creator_user_name"> 224 </NCRefNode> 225 <NCRefNode allowInput="false" dataListener="" dialogHeight="" dialogWidth="" filterRefNodeNames="false" hrOrgs="false" i18nName="" id="refnode_leaveapply_billmaker_user_name" langDir="" multiSel="false" orgs="false" pagemeta="reference" pagemodel="" read="false" readDs="masterDs" readFields="cuserid,user_name" refId="" refcode="用户" refnodeDelegator="" relationRefNodeId="" selLeafOnly="false" text="" usePower="false" writeDs="leaveapply" writeFields="billmaker,billmaker_user_name"> 226 </NCRefNode> 227 <NCRefNode allowInput="false" dataListener="" dialogHeight="" dialogWidth="" filterRefNodeNames="false" hrOrgs="false" i18nName="" id="refnode_leaveapply_psncode" langDir="" multiSel="false" orgs="false" pagemeta="reference" pagemodel="" read="false" readDs="masterDs" readFields="pk_psndoc,pk_psnjob,code,name,org_orgs_name,org_dept_name,postname" refId="" refcode="人员工作记录" refnodeDelegator="" relationRefNodeId="" selLeafOnly="false" text="" usePower="false" writeDs="leaveapply" writeFields="pk_psndoc,pk_psnjob,psncode,psnname,psnorg,psndept,psnpost"> 228 </NCRefNode> 229 <NCRefNode allowInput="false" dataListener="" dialogHeight="" dialogWidth="" filterRefNodeNames="false" hrOrgs="false" i18nName="" id="refnode_leaveapply_pk_org_name" langDir="" multiSel="false" orgs="false" pagemeta="reference" pagemodel="" read="false" readDs="masterDs" readFields="pk_hrorg,name" refId="" refcode="人力资源组织" refnodeDelegator="" relationRefNodeId="" selLeafOnly="false" text="" usePower="false" writeDs="leaveapply" writeFields="pk_org,pk_org_name"> 230 </NCRefNode> 231 <NCRefNode allowInput="false" dataListener="" dialogHeight="" dialogWidth="" filterRefNodeNames="false" hrOrgs="false" i18nName="" id="refnode_leaveapply_modifier_user_name" langDir="" multiSel="false" orgs="false" pagemeta="reference" pagemodel="" read="false" readDs="masterDs" readFields="cuserid,user_name" refId="" refcode="用户" refnodeDelegator="" relationRefNodeId="" selLeafOnly="false" text="" usePower="false" writeDs="leaveapply" writeFields="modifier,modifier_user_name"> 232 </NCRefNode> 233 <!--<NCRefNode allowInput="false" dataListener="" dialogHeight="" dialogWidth="" filterRefNodeNames="false" hrOrgs="false" i18nName="" id="refnode_leaveapply_leavetype_name" langDir="" multiSel="false" orgs="false" pagemeta="reference" pagemodel="" read="false" readDs="masterDs" readFields="pk_defdoc,name" refId="" refcode="请假类别(自定义档案)" refnodeDelegator="" relationRefNodeId="" selLeafOnly="false" text="" usePower="false" writeDs="leaveapply" writeFields="leavetype,leavetype_name"> 234 </NCRefNode>--> 235 <NCRefNode allowInput="false" dataListener="" dialogHeight="" dialogWidth="" filterRefNodeNames="false" hrOrgs="false" i18nName="" id="refnode_leaveapply_leavetype_name" langDir="" multiSel="false" orgs="false" pagemeta="reference" pagemodel="" read="false" readDs="masterDs" readFields="pk_timeitem,timeitemname" refId="" refcode="休假类别" refnodeDelegator="" relationRefNodeId="" selLeafOnly="false" text="" usePower="false" writeDs="leaveapply" writeFields="leavetype,leavetype_name"> 236 </NCRefNode> 237 <NCRefNode allowInput="false" dataListener="" dialogHeight="" dialogWidth="" filterRefNodeNames="false" hrOrgs="false" i18nName="" id="refnode_leaveapply_pk_group_name" langDir="" multiSel="false" orgs="false" pagemeta="reference" pagemodel="" read="false" readDs="masterDs" readFields="pk_group,name" refId="" refcode="集团" refnodeDelegator="" relationRefNodeId="" selLeafOnly="false" text="" usePower="false" writeDs="leaveapply" writeFields="pk_group,pk_group_name"> 238 </NCRefNode> 239 <NCRefNode allowInput="false" dataListener="" dialogHeight="" dialogWidth="" filterRefNodeNames="false" hrOrgs="false" i18nName="" id="refnode_leaveapply_approver_user_name" langDir="" multiSel="false" orgs="false" pagemeta="reference" pagemodel="" read="false" readDs="masterDs" readFields="cuserid,user_name" refId="" refcode="用户" refnodeDelegator="" relationRefNodeId="" selLeafOnly="false" text="" usePower="false" writeDs="leaveapply" writeFields="approver,approver_user_name"> 240 </NCRefNode> 241 <NCRefNode allowInput="false" dataListener="" dialogHeight="" dialogWidth="" filterRefNodeNames="false" hrOrgs="false" i18nName="" id="refnode_leaveapply_transtypeid_name" langDir="" multiSel="false" orgs="false" pagemeta="reference" pagemodel="" readDs="masterDs" readFields="pk_billtypeid,billtypename,pk_billtypecode" refId="" refcode="影响因素交 易类型" refnodeDelegator="" selLeafOnly="false" text="交易类型参照" usePower="false" writeDs="leaveapply" writeFields="transtypeid,transtypeid_name,transtype"> 242 </NCRefNode> 243 </RefNodes> 244 245 246 <ComboDatas> 247 <DynamicComboData i18nName="" langDir="" caption="" className="nc.bs.hrss.mymsg.ctrl.BilltypeNameCombo" id="combo_billtypename"> 248 </DynamicComboData> 249 250 </ComboDatas> 251 252 </Models> 253 <Components> 254 <GridComp autoRowHeight="false" canCopy="true" caption="leaveapply_grid" checkBoxModel="1" dataset="leaveapply" editable="true" enabled="true" expandTree="false" id="leaveapply_grid" multiSelect="false" multiSelectShow="true" onPaste="" pagenationTop="false" reference="false" selfDefImageBtnRender="" showColInfo="false" showForm="false" showHeader="true" showImageBtn="false" showNumCol="false" showSumRow="false" showTree="true" sortable="true" visible="true"> 255 <Column autoExpand="false" dataType="String" editable="true" editorType="StringText" field="pk_group" fixedHeader="false" id="pk_group" imageOnly="false" langDir="leaveapply" nullAble="true" renderType="DefaultRender" showCheckBox="true" sortable="true" sumCol="false" text="所属集团" textAlign="left" visible="false" width="120"> 256 </Column> 257 <Column autoExpand="false" dataType="String" editable="true" editorType="Reference" field="pk_group_name" fixedHeader="false" id="pk_group_name" imageOnly="false" nullAble="true" refNode="refnode_leaveapply_pk_group_name" renderType="DefaultRender" showCheckBox="true" sortable="true" sumCol="false" text="所属集团" textAlign="left" visible="false" width="120"> 258 </Column> 259 <Column autoExpand="false" dataType="String" editable="true" editorType="StringText" field="pk_org" fixedHeader="false" id="pk_org" imageOnly="false" langDir="leaveapply" nullAble="true" renderType="DefaultRender" showCheckBox="true" sortable="true" sumCol="false" text="所属组织" textAlign="left" visible="false" width="120"> 260 </Column> 261 <Column autoExpand="false" dataType="String" editable="true" editorType="Reference" field="pk_org_name" fixedHeader="false" id="pk_org_name" imageOnly="false" nullAble="true" refNode="refnode_leaveapply_pk_org_name" renderType="DefaultRender" showCheckBox="true" sortable="true" sumCol="false" text="所属组织" textAlign="left" visible="false" width="120"> 262 </Column> 263 <Column autoExpand="false" dataType="String" editable="true" editorType="StringText" field="bill_code" fixedHeader="false" id="bill_code" imageOnly="false" langDir="leaveapply" nullAble="true" renderType="LnkCompRender" showCheckBox="true" sortable="true" sumCol="false" text="申请单编码" textAlign="left" visible="true" width="250"> 264 </Column> 265 <Column autoExpand="false" dataType="String" editable="true" editorType="StringText" field="name" fixedHeader="false" id="name" imageOnly="false" langDir="leaveapply" nullAble="true" renderType="DefaultRender" showCheckBox="true" sortable="true" sumCol="false" text="名称" textAlign="left" visible="false" width="120"> 266 </Column> 267 <Column autoExpand="false" dataType="Integer" editable="true" editorType="ComboBox" field="approve_state" fixedHeader="false" id="approve_state" imageOnly="false" langDir="leaveapply" nullAble="true" refComboData="combo_leaveapply_approve_state" renderType="ComboRender" showCheckBox="true" sortable="true" sumCol="false" text="审批状态" textAlign="left" visible="true" width="250"> 268 </Column> 269 <Column autoExpand="false" dataType="String" editable="true" editorType="StringText" field="pk_billtype" fixedHeader="false" id="pk_billtype" imageOnly="false" langDir="leaveapply" nullAble="true" renderType="DefaultRender" showCheckBox="true" sortable="true" sumCol="false" text="单据状态" textAlign="left" visible="false" width="120"> 270 </Column> 271 <Column autoExpand="false" dataType="String" editable="true" editorType="StringText" field="transtypeid" fixedHeader="false" id="transtypeid" imageOnly="false" langDir="leaveapply" nullAble="true" renderType="DefaultRender" showCheckBox="true" sortable="true" sumCol="false" text="流程类型id" textAlign="left" visible="false" width="120"> 272 </Column> 273 <Column autoExpand="false" dataType="String" editable="true" editorType="Reference" field="transtypeid_name" fixedHeader="false" id="transtypeid_name" imageOnly="false" langDir="leaveapply" nullAble="true" refNode="refnode_leaveapply_transtypeid_name" renderType="DefaultRender" showCheckBox="true" sortable="true" sumCol="false" text="流程类型id" textAlign="left" visible="false" width="120"> 274 </Column> 275 <Column autoExpand="false" dataType="String" editable="true" editorType="StringText" field="transtype" fixedHeader="false" id="transtype" imageOnly="false" langDir="leaveapply" nullAble="true" renderType="DefaultRender" showCheckBox="true" sortable="true" sumCol="false" text="流程类型" textAlign="left" visible="false" width="120"> 276 </Column> 277 <Column autoExpand="false" dataType="String" editable="true" editorType="StringText" field="pk_psndoc" fixedHeader="false" id="pk_psndoc" imageOnly="false" langDir="leaveapply" nullAble="true" renderType="DefaultRender" showCheckBox="true" sortable="true" sumCol="false" text="人员主键" textAlign="left" visible="false" width="120"> 278 </Column> 279 <Column autoExpand="false" dataType="String" editable="true" editorType="StringText" field="pk_psnjob" fixedHeader="false" id="pk_psnjob" imageOnly="false" langDir="leaveapply" nullAble="true" renderType="DefaultRender" showCheckBox="true" sortable="true" sumCol="false" text="人员工作主键" textAlign="left" visible="false" width="120"> 280 </Column> 281 <Column autoExpand="false" dataType="String" editable="true" editorType="Reference" field="psncode" fixedHeader="false" id="psncode" imageOnly="false" nullAble="true" refNode="refnode_leaveapply_psncode" renderType="DefaultRender" showCheckBox="true" sortable="false" sumCol="false" text="人员编码" textAlign="left" visible="false" width="120"> 282 </Column> 283 <Column autoExpand="false" dataType="String" editable="true" editorType="StringText" field="psnname" fixedHeader="false" id="psnname" imageOnly="false" langDir="leaveapply" nullAble="true" renderType="DefaultRender" showCheckBox="true" sortable="true" sumCol="false" text="姓名" textAlign="left" visible="false" width="120"> 284 </Column> 285 <Column autoExpand="false" dataType="String" editable="true" editorType="StringText" field="psnorg" fixedHeader="false" id="psnorg" imageOnly="false" langDir="leaveapply" nullAble="true" renderType="DefaultRender" showCheckBox="true" sortable="true" sumCol="false" text="组织" textAlign="left" visible="false" width="120"> 286 </Column> 287 <Column autoExpand="false" dataType="String" editable="true" editorType="StringText" field="psndept" fixedHeader="false" id="psndept" imageOnly="false" langDir="leaveapply" nullAble="true" renderType="DefaultRender" showCheckBox="true" sortable="true" sumCol="false" text="部门" textAlign="left" visible="false" width="120"> 288 </Column> 289 <Column autoExpand="false" dataType="String" editable="true" editorType="StringText" field="psnpost" fixedHeader="false" id="psnpost" imageOnly="false" langDir="leaveapply" nullAble="true" renderType="DefaultRender" showCheckBox="true" sortable="true" sumCol="false" text="岗位" textAlign="left" visible="false" width="120"> 290 </Column> 291 <Column autoExpand="false" dataType="String" editable="true" editorType="StringText" field="psnrank" fixedHeader="false" id="psnrank" imageOnly="false" langDir="leaveapply" nullAble="true" renderType="DefaultRender" showCheckBox="true" sortable="true" sumCol="false" text="职级" textAlign="left" visible="false" width="120"> 292 </Column> 293 <Column autoExpand="false" dataType="String" editable="true" editorType="StringText" field="billmaker" fixedHeader="false" id="billmaker" imageOnly="false" langDir="leaveapply" nullAble="true" renderType="DefaultRender" showCheckBox="true" sortable="true" sumCol="false" text="申请人" textAlign="left" visible="false" width="120"> 294 </Column> 295 <Column autoExpand="false" dataType="String" editable="true" editorType="Reference" field="billmaker_user_name" fixedHeader="false" id="billmaker_user_name" imageOnly="false" nullAble="true" refNode="refnode_leaveapply_billmaker_user_name" renderType="DefaultRender" showCheckBox="true" sortable="true" sumCol="false" text="申请人" textAlign="left" visible="false" width="120"> 296 </Column> 297 <Column autoExpand="false" dataType="UFLiteralDate" editable="true" editorType="DateText" field="apply_date" fixedHeader="false" id="apply_date" imageOnly="false" langDir="leaveapply" nullAble="true" renderType="DefaultRender" showCheckBox="true" sortable="true" sumCol="false" text="申请日期" textAlign="left" visible="true" width="250"> 298 </Column> 299 <Column autoExpand="false" dataType="String" editable="true" editorType="DateTimeText" field="approver" fixedHeader="false" id="approver" imageOnly="false" langDir="leaveapply" nullAble="true" renderType="DefaultRender" showCheckBox="true" sortable="true" sumCol="false" text="审批人" textAlign="left" visible="false" width="120"> 300 </Column> 301 <Column autoExpand="false" dataType="String" editable="true" editorType="Reference" field="approver_user_name" fixedHeader="false" id="approver_user_name" imageOnly="false" nullAble="true" refNode="refnode_leaveapply_approver_user_name" renderType="DefaultRender" showCheckBox="true" sortable="true" sumCol="false" text="审批人" textAlign="left" visible="false" width="120"> 302 </Column> 303 <Column autoExpand="false" dataType="String" editable="true" editorType="StringText" field="approver_note" fixedHeader="false" id="approver_note" imageOnly="false" langDir="leaveapply" nullAble="true" renderType="DefaultRender" showCheckBox="true" sortable="true" sumCol="false" text="审批意见" textAlign="left" visible="false" width="120"> 304 </Column> 305 <Column autoExpand="false" dataType="UFLiteralDate" editable="true" editorType="DateTimeText" field="approver_time" fixedHeader="false" id="approver_time" imageOnly="false" langDir="leaveapply" nullAble="true" renderType="DateTimeRender" showCheckBox="true" sortable="true" sumCol="false" text="审批时间" textAlign="left" visible="true" width="250"> 306 </Column> 307 <Column autoExpand="false" dataType="String" editable="true" editorType="StringText" field="creator" fixedHeader="false" id="creator" imageOnly="false" langDir="leaveapply" nullAble="true" renderType="DefaultRender" showCheckBox="true" sortable="true" sumCol="false" text="创建人" textAlign="left" visible="false" width="120"> 308 </Column> 309 <Column autoExpand="false" dataType="String" editable="true" editorType="Reference" field="creator_user_name" fixedHeader="false" id="creator_user_name" imageOnly="false" nullAble="true" refNode="refnode_leaveapply_creator_user_name" renderType="DefaultRender" showCheckBox="true" sortable="true" sumCol="false" text="创建人" textAlign="left" visible="false" width="120"> 310 </Column> 311 <Column autoExpand="false" dataType="UFDateTime" editable="true" editorType="DateTimeText" field="creationtime" fixedHeader="false" id="creationtime" imageOnly="false" langDir="leaveapply" nullAble="true" renderType="DateTimeRender" showCheckBox="true" sortable="true" sumCol="false" text="创建时间" textAlign="left" visible="false" width="120"> 312 </Column> 313 <Column autoExpand="false" dataType="String" editable="true" editorType="StringText" field="modifier" fixedHeader="false" id="modifier" imageOnly="false" langDir="leaveapply" nullAble="true" renderType="DefaultRender" showCheckBox="true" sortable="true" sumCol="false" text="最后修改人" textAlign="left" visible="false" width="120"> 314 </Column> 315 <Column autoExpand="false" dataType="String" editable="true" editorType="Reference" field="modifier_user_name" fixedHeader="false" id="modifier_user_name" imageOnly="false" nullAble="true" refNode="refnode_leaveapply_modifier_user_name" renderType="DefaultRender" showCheckBox="true" sortable="true" sumCol="false" text="最后修改人" textAlign="left" visible="false" width="120"> 316 </Column> 317 <Column autoExpand="false" dataType="UFDateTime" editable="true" editorType="DateTimeText" field="modifiedtime" fixedHeader="false" id="modifiedtime" imageOnly="false" langDir="leaveapply" nullAble="true" renderType="DateTimeRender" showCheckBox="true" sortable="true" sumCol="false" text="最后修改时间" textAlign="left" visible="false" width="120"> 318 </Column> 319 <Column autoExpand="false" dataType="String" editable="true" editorType="StringText" field="vmemo" fixedHeader="false" id="vmemo" imageOnly="false" langDir="leaveapply" nullAble="true" renderType="DefaultRender" showCheckBox="true" sortable="true" sumCol="false" text="备注" textAlign="left" visible="false" width="120"> 320 </Column> 321 </GridComp> 322 <TextComp editorType="StringText" enabled="true" focus="false" i18nName="" id="check_it_now" langDir="" text="" textAlign="left" visible="true"> 323 </TextComp> 324 <ButtonComp i18nName="" langDir="" enabled="true" id="select_confirm" text="查询" visible="true"> 325 <Events> 326 <Event async="true" jsEventClaszz="nc.uap.lfw.core.event.conf.MouseListener" methodName="onselect1" name="onclick" onserver="true"> 327 <SubmitRule cardSubmit="false" panelSubmit="false" tabSubmit="false"> 328 </SubmitRule> 329 <Params> 330 <Param> 331 <Name>mouseEvent</Name> 332 <Value> 333 </Value> 334 <Desc> <![CDATA[nc.uap.lfw.core.event.MouseEvent]]> 335 </Desc> 336 </Param> 337 </Params> 338 <Action> 339 </Action> 340 </Event> 341 </Events> 342 </ButtonComp> 343 <ComBoBoxComp i18nName="" langDir="" allowExtendValue="false" editorType="ComboBox" enabled="true" focus="false" id="check_it_two" refComboData="combo_leaveapply_approve_state" selectOnly="true" text="" textAlign="left" visible="true"> 344 </ComBoBoxComp> 345 <ButtonComp i18nName="" langDir="" enabled="true" id="select_confirm_two" text="查询" visible="true"> 346 <Events> 347 <Event async="true" jsEventClaszz="nc.uap.lfw.core.event.conf.MouseListener" methodName="onselect2" name="onclick" onserver="true"> 348 <SubmitRule cardSubmit="false" panelSubmit="false" tabSubmit="false"> 349 </SubmitRule> 350 <Params> 351 <Param> 352 <Name>mouseEvent</Name> 353 <Value> 354 </Value> 355 <Desc> <![CDATA[nc.uap.lfw.core.event.MouseEvent]]> 356 </Desc> 357 </Param> 358 </Params> 359 <Action> 360 </Action> 361 </Event> 362 </Events> 363 </ButtonComp> 364 <TextComp editorType="DateText" enabled="true" focus="false" i18nName="" id="check_it_three" langDir="" text="" textAlign="left" visible="true"> 365 </TextComp> 366 <ButtonComp i18nName="" langDir="" enabled="true" id="select_confirm_three" text="查询" visible="true"> 367 <Events> 368 <Event async="true" jsEventClaszz="nc.uap.lfw.core.event.conf.MouseListener" methodName="onselect3" name="onclick" onserver="true"> 369 <SubmitRule cardSubmit="false" panelSubmit="false" tabSubmit="false"> 370 </SubmitRule> 371 <Params> 372 <Param> 373 <Name>mouseEvent</Name> 374 <Value> 375 </Value> 376 <Desc> <![CDATA[nc.uap.lfw.core.event.MouseEvent]]> 377 </Desc> 378 </Param> 379 </Params> 380 <Action> 381 </Action> 382 </Event> 383 </Events> 384 </ButtonComp> 385 <LabelComp i18nName="" langDir="" enabled="true" id="lable" text="麻烦输入编码查询" visible="true" > 386 </LabelComp> 387 <LabelComp i18nName="" langDir="" enabled="true" id="lable1" text="输入审批状态查询" visible="true"> 388 </LabelComp> 389 <LabelComp i18nName="" langDir="" enabled="true" id="lable2" text="按照申请日期查询" visible="true"> 390 </LabelComp> 391 </Components> 392 <Menus> 393 <MenuBarComp id="menu_list"> 394 <MenuItem id="list_add" modifiers="2" showModel="1" stateManager="nc.uap.lfw.core.bm.dft.Init_Ss_Ms_StateManager" text="新增"> 395 <Events> 396 <Event async="true" methodName="onAdd" name="onclick" onserver="true"> 397 <Action> 398 </Action> 399 </Event> 400 </Events> 401 </MenuItem> 402 <!--<MenuItem id="edit" modifiers="2" showModel="1" stateManager="nc.bs.hrss.hi.leave.LeaveStateManager" text="修改"> 403 <Events> 404 <Event async="true" methodName="onEdit" name="onclick" onserver="true"> 405 <Action> 406 </Action> 407 </Event> 408 </Events> 409 </MenuItem>--> 410 <MenuItem id="list_delete" modifiers="2" showModel="1" stateManager="nc.bs.hrss.hi.leave.LeaveStateManager" text="删除"> 411 <Events> 412 <Event async="true" methodName="onDelete" name="onclick" onserver="true"> 413 <SubmitRule> 414 <Widget id="main"> 415 </Widget> 416 </SubmitRule> 417 <Action> 418 </Action> 419 </Event> 420 </Events> 421 </MenuItem> 422 <MenuItem id="sep1" modifiers="2" sep="true" showModel="1"> 423 </MenuItem> 424 <MenuItem id="list_submit" modifiers="2" showModel="1" stateManager="nc.bs.hrss.hi.leave.LeaveStateManager" text="提交"> 425 <Events> 426 <Event async="true" methodName="onSubmit" name="onclick" onserver="true"> 427 <Action> 428 </Action> 429 </Event> 430 </Events> 431 </MenuItem> 432 <MenuItem id="list_callback" modifiers="2" showModel="1" stateManager="nc.bs.hrss.hi.leave.LeaveStateManager" text="收回"> 433 <Events> 434 <Event async="true" methodName="onBack" name="onclick" onserver="true"> 435 <Action> 436 </Action> 437 </Event> 438 </Events> 439 </MenuItem> 440 <MenuItem id="list_apporvestate" modifiers="2" showModel="1" stateManager="nc.uap.lfw.core.bm.dft.Ss_StateManager" text="查看流程"> 441 <Events> 442 <Event async="true" methodName="onFlow" name="onclick" onserver="true"> 443 <Action> 444 </Action> 445 </Event> 446 </Events> 447 </MenuItem> 448 <MenuItem id="sep2" modifiers="2" sep="true" showModel="1"> 449 </MenuItem> 450 <MenuItem id="attachfile" modifiers="2" showModel="1" stateManager="nc.uap.lfw.core.bm.dft.Ss_StateManager" text="附件管理"> 451 <Events> 452 <Event async="true" methodName="onAttchFile" name="onclick" onserver="true"> 453 <Action> 454 </Action> 455 </Event> 456 </Events> 457 </MenuItem> 458 459 <!-- shaochj begin --> 460 <MenuItem id="m_" modifiers="3" sep="true" text="m_"> 461 </MenuItem> 462 <MenuItem id="copysend" i18nName="" langDir="" modifiers="2" stateManager="" text="设置抄送人"> 463 <Events> 464 <Event async="true" jsEventClaszz="nc.uap.lfw.core.event.conf.MouseListener" methodName="setCopySend" name="onclick" 465 onserver="true"> 466 <SubmitRule cardSubmit="false" panelSubmit="false" tabSubmit="false"> 467 </SubmitRule> 468 <Params> 469 <Param> 470 <Name>mouseEvent</Name> 471 <Value> 472 </Value> 473 <Desc> <![CDATA[nc.uap.lfw.core.event.MouseEvent]]> </Desc> 474 </Param> 475 </Params> 476 <Action> 477 </Action> 478 </Event> 479 </Events> 480 </MenuItem> 481 <!-- shaochj end --> 482 <MenuItem id="m_" modifiers="3" sep="true" text="m_"> 483 </MenuItem> 484 <MenuItem i18nName="" langDir="node_ta-res" id="onCopysend" modifiers="2" text="抄送" visible="true" enabled="false"> 485 <Events> 486 <Event async="true" jsEventClaszz="nc.uap.lfw.core.event.conf.MouseListener" methodName="selectCopysend" name="onclick" onserver="true"> 487 <SubmitRule cardSubmit="false" panelSubmit="false" tabSubmit="false"> 488 <Dataset id="hi_stapply"> 489 </Dataset> 490 </SubmitRule> 491 <Params> 492 <Param> 493 <Name>mouseEvent</Name> 494 <Value> 495 </Value> 496 <Desc> <![CDATA[]]> 497 </Desc> 498 </Param> 499 </Params> 500 <Action> 501 </Action> 502 </Event> 503 </Events> 504 </MenuItem> 505 <MenuItem i18nName="" langDir="" id="tableAttach" modifiers="2" text="操作指引/表格模板" visible="true" enabled="true"> 506 <Events> 507 <Event async="true" jsEventClaszz="nc.uap.lfw.core.event.conf.MouseListener" methodName="addTableAttachment" name="onclick" onserver="true"> 508 <SubmitRule cardSubmit="false" panelSubmit="false" tabSubmit="false"> 509 <Dataset id="hi_stapply"> 510 </Dataset> 511 </SubmitRule> 512 <Params> 513 <Param> 514 <Name>mouseEvent</Name> 515 <Value> 516 </Value> 517 <Desc> <![CDATA[]]> 518 </Desc> 519 </Param> 520 </Params> 521 <Action> 522 </Action> 523 </Event> 524 </Events> 525 </MenuItem> 526 527 <MenuItem id="m_" modifiers="3" sep="true" text="m_"> 528 </MenuItem> 529 <MenuItem id="export" modifiers="2" stateManager="nc.bs.hrss.ta.common.dft.Init_StateManager" text="导出pdf文档"> 530 <Events> 531 <Event async="true" methodName="exportPDF" name="onclick" onserver="true"> 532 <SubmitRule cardSubmit="false" panelSubmit="false" tabSubmit="false"> 533 <Dataset id="entryapply"> 534 </Dataset> 535 </SubmitRule> 536 <Params> 537 <Param> 538 <Name>mouseEvent</Name> 539 <Value> 540 </Value> 541 <Desc> <![CDATA[nc.uap.lfw.core.event.MouseEvent]]> 542 </Desc> 543 </Param> 544 </Params> 545 <Action> 546 </Action> 547 </Event> 548 </Events> 549 </MenuItem> 550 <!-- shaochj end --> 551 <MenuItem id="list_add" modifiers="2" showModel="1" stateManager="nc.uap.lfw.core.bm.dft.Init_Ss_Ms_StateManager" text="新增"> 552 <Events> 553 <Event async="true" methodName="onAdd" name="onclick" onserver="true"> 554 <Action> 555 </Action> 556 </Event> 557 </Events> 558 </MenuItem> 559 </MenuBarComp> 560 </Menus> 561 </Widget>
这样子的一个配置文件,你看了是不是头晕了
portal开发怎么配置一个新增按钮,同时在“新增按钮”中配置关联表的查询(一)
标签:
原文地址:http://www.cnblogs.com/zzzzw/p/4973384.html