¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <ViewConfig> |
| | | <Arguments/> |
| | | <Context/> |
| | | <Model> |
| | | <DataType name="dtMain"> |
| | | <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlApi1111</Property> |
| | | <PropertyDef name="ssbfjlbh"> |
| | | <Property></Property> |
| | | <Property name="label">è®¾æ½æ¥åºè®°å½ç¼å·</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="jlqybh"> |
| | | <Property></Property> |
| | | <Property name="label">åç²®ä¼ä¸ç¼å·</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="jlqymc"> |
| | | <Property></Property> |
| | | <Property name="label">åç²®ä¼ä¸åç§°</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="jgzdbh"> |
| | | <Property></Property> |
| | | <Property name="label">åä¾ç«ç¹ç¼å·</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="jgzdmc"> |
| | | <Property></Property> |
| | | <Property name="label">åä¾ç«ç¹åç§°</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="cfbh"> |
| | | <Property></Property> |
| | | <Property name="label">仿¿ç¼å·</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="sscfmc"> |
| | | <Property></Property> |
| | | <Property name="label">仿¿åç§°</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="sqrq"> |
| | | <Property name="dataType">Date</Property> |
| | | <Property name="label">ç³è¯·æ¥æ</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="bfyy"> |
| | | <Property></Property> |
| | | <Property name="label">æ¥åºåå </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="sqr"> |
| | | <Property></Property> |
| | | <Property name="label">ç³è¯·äºº</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="spr"> |
| | | <Property></Property> |
| | | <Property name="label">审æ¹äºº</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="sprq"> |
| | | <Property name="dataType">Date</Property> |
| | | <Property name="label">å®¡æ¹æ¥æ</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="spyj"> |
| | | <Property></Property> |
| | | <Property name="label">å®¡æ¹æè§</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="bz"> |
| | | <Property></Property> |
| | | <Property name="label">夿³¨</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="bizId"> |
| | | <Property></Property> |
| | | <Property name="label">ä¸å¡ID</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="updateTime"> |
| | | <Property name="dataType">Date</Property> |
| | | <Property name="label">æåæ´æ°æ¶é´</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="czbz"> |
| | | <Property></Property> |
| | | <Property name="label">æä½æ å¿</Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues">${dorado.getDataProvider("apiTriggerService#trigger").getResult("CZBZ")}</Property> |
| | | <Property name="keyProperty">code</Property> |
| | | <Property name="valueProperty">name</Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="kqdm"> |
| | | <Property></Property> |
| | | <Property name="label">åºåºä»£ç </Property> |
| | | </PropertyDef> |
| | | </DataType> |
| | | <DataType name="dtParam"> |
| | | <Property name="creationType">com.fzzy.api.data.ApiParam</Property> |
| | | <PropertyDef name="kqdm"> |
| | | <Property></Property> |
| | | <Property name="label">æå±åºåº</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="start"> |
| | | <Property name="dataType">Date</Property> |
| | | <Property name="label">å¼å§æ¶é´</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="end"> |
| | | <Property name="dataType">Date</Property> |
| | | <Property name="label">æªæ¢æ¶é´</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="czbz"> |
| | | <Property></Property> |
| | | <Property name="label">æä½æ å¿</Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues">${dorado.getDataProvider("apiTriggerService#trigger").getResult("CZBZ")}</Property> |
| | | <Property name="keyProperty">code</Property> |
| | | <Property name="valueProperty">name</Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | </DataType> |
| | | </Model> |
| | | <View layout="regionPadding:10"> |
| | | <Property name="packages">font-awesome,css-common</Property> |
| | | <DataSet id="dsMain"> |
| | | <Property name="dataType">[dtMain]</Property> |
| | | <Property name="dataProvider">whjlApi1111PR#listData</Property> |
| | | <Property name="pageSize">20</Property> |
| | | </DataSet> |
| | | <DataSet id="dsQuery"> |
| | | <ClientEvent name="onReady">self.insert();</ClientEvent> |
| | | <Property name="dataType">dtParam</Property> |
| | | </DataSet> |
| | | <Container layout="regionPadding:10" layoutConstraint="top"> |
| | | <Property name="exClassName">bg-color</Property> |
| | | <Property name="height">55</Property> |
| | | <Property name="contentOverflow">hidden</Property> |
| | | <Label layoutConstraint="left"> |
| | | <Property name="text">èåæ ï¼</Property> |
| | | </Label> |
| | | <Button layoutConstraint="left"> |
| | | <ClientEvent name="onClick">view.get("#dsMain").insert();
 |
| | | view.get("#dialogMain").show();</ClientEvent> |
| | | <Property name="iconClass">fa fa-plus</Property> |
| | | <Property name="caption">æ°å¢</Property> |
| | | <Property name="exClassName">btn-default</Property> |
| | | </Button> |
| | | <Button layoutConstraint="left"> |
| | | <ClientEvent name="onClick">var cur = view.get("#dgMain").getCurrentItem();
 |
| | | if(cur){
 |
| | | view.get("#dialogMain").show();
 |
| | | }else{
 |
| | | $alert("请å¾ééè¦ä¿®æ¹çæ°æ®ï¼");
 |
| | | }</ClientEvent> |
| | | <Property name="caption">ç¼è¾</Property> |
| | | <Property name="iconClass">fa fa-pencil</Property> |
| | | <Property name="exClassName">btn-warm</Property> |
| | | </Button> |
| | | <Button layoutConstraint="left"> |
| | | <ClientEvent name="onClick">var cur = view.get("#dgMain").getCurrentItem();
 |
| | | if(cur){
 |
| | | view.get("#ajaxDel").set("parameter",cur).execute(function(result){
 |
| | | if(result){
 |
| | | $alert(result);
 |
| | | } else{
 |
| | | cur.remove();
 |
| | | }
 |
| | | });
 |
| | | }else{
 |
| | | $alert("请å¾ééè¦å é¤çæ°æ®ï¼");
 |
| | | }</ClientEvent> |
| | | <Property name="caption">å é¤</Property> |
| | | <Property name="iconClass">fa fa-minus</Property> |
| | | <Property name="exClassName">btn-warn</Property> |
| | | </Button> |
| | | <Button layoutConstraint="left"> |
| | | <ClientEvent name="onClick">view.get("#dsMain").flushAsync();</ClientEvent> |
| | | <Property name="caption">å·æ°</Property> |
| | | <Property name="iconClass">fa fa-search</Property> |
| | | <Property name="exClassName">btn-flush</Property> |
| | | </Button> |
| | | <Button layoutConstraint="left"> |
| | | <ClientEvent name="onClick">var select = view.get("#dgMain").get("selection");
 |
| | | if(select && select.length > 0){
 |
| | | view.get("#ajaxPush").set("parameter",select).execute(function(result){
 |
| | | view.get("#dsMain").flushAsync();
 |
| | | $notify(result);
 |
| | | });
 |
| | | }else{
 |
| | | $alert("请å¾ééè¦ä¸æ¥çæ°æ®ï¼");
 |
| | | }</ClientEvent> |
| | | <Property name="caption">æå¨ä¸ä¼ </Property> |
| | | <Property name="iconClass">fa fa-hand-o-up</Property> |
| | | <Property name="exClassName">btn-default</Property> |
| | | </Button> |
| | | <Button layoutConstraint="right"> |
| | | <ClientEvent name="onClick">//æ¾ç¤ºè®°å½
 |
| | | view.get("#iFrame").reload();
 |
| | | view.get("#dialogLog").show();</ClientEvent> |
| | | <Property name="caption">ä¸ä¼ è®°å½</Property> |
| | | <Property name="iconClass">fa fa-bars</Property> |
| | | <Property name="exClassName">btn-flush</Property> |
| | | </Button> |
| | | </Container> |
| | | <Container layoutConstraint="center"> |
| | | <Property name="exClassName">bg-color</Property> |
| | | <DataGrid id="dgMain"> |
| | | <ClientEvent name="onDataRowDoubleClick">var data = view.get("#dsMain.data:#");
 |
| | | if(data){
 |
| | | view.get("#dialogMain").show();
 |
| | | }</ClientEvent> |
| | | <Property name="dataSet">dsMain</Property> |
| | | <Property name="selectionMode">multiRows</Property> |
| | | <Property name="readOnly">true</Property> |
| | | <RowNumColumn/> |
| | | <RowSelectorColumn> |
| | | <Property name="caption">ä¸ä¼ </Property> |
| | | </RowSelectorColumn> |
| | | <DataColumn name="ssbfjlbh"> |
| | | <Property name="property">ssbfjlbh</Property> |
| | | </DataColumn> |
| | | <DataColumn name="jlqybh"> |
| | | <Property name="property">jlqybh</Property> |
| | | </DataColumn> |
| | | <DataColumn name="jlqymc"> |
| | | <Property name="property">jlqymc</Property> |
| | | </DataColumn> |
| | | <DataColumn name="jgzdbh"> |
| | | <Property name="property">jgzdbh</Property> |
| | | </DataColumn> |
| | | <DataColumn name="jgzdmc"> |
| | | <Property name="property">jgzdmc</Property> |
| | | </DataColumn> |
| | | <DataColumn name="cfbh"> |
| | | <Property name="property">cfbh</Property> |
| | | </DataColumn> |
| | | <DataColumn name="sscfmc"> |
| | | <Property name="property">sscfmc</Property> |
| | | </DataColumn> |
| | | <DataColumn name="sqrq"> |
| | | <Property name="property">sqrq</Property> |
| | | </DataColumn> |
| | | <DataColumn name="bfyy"> |
| | | <Property name="property">bfyy</Property> |
| | | </DataColumn> |
| | | <DataColumn name="czbz"> |
| | | <Property name="property">czbz</Property> |
| | | </DataColumn> |
| | | </DataGrid> |
| | | </Container> |
| | | <Container layoutConstraint="bottom"> |
| | | <Property name="exClassName">bg-color</Property> |
| | | <DataPilot layoutConstraint="right"> |
| | | <Property name="dataSet">dsMain</Property> |
| | | <Property name="itemCodes">pageSize,pages</Property> |
| | | </DataPilot> |
| | | </Container> |
| | | <Dialog id="dialogMain"> |
| | | <Property name="width">60%</Property> |
| | | <Property name="closeable">false</Property> |
| | | <Property name="iconClass">fa fa-sliders</Property> |
| | | <Property name="caption">è´§ä½ä¿¡æ¯</Property> |
| | | <Buttons> |
| | | <Button> |
| | | <ClientEvent name="onClick">var cur = view.get("#dgMain").getCurrentItem();
 |
| | | view.get("#updateSave").execute(function(){
 |
| | | self.get("parent").hide();
 |
| | | view.get("#dsMain").flushAsync();
 |
| | | });</ClientEvent> |
| | | <Property name="caption">ç¡®å®</Property> |
| | | <Property name="iconClass">fa fa-check</Property> |
| | | </Button> |
| | | <Button> |
| | | <ClientEvent name="onClick">var cur = view.get("#dgMain").getCurrentItem();
 |
| | | self.get("parent").hide();
 |
| | | if(cur) cur.cancel();</ClientEvent> |
| | | <Property name="caption">åæ¶</Property> |
| | | <Property name="iconClass">fa fa-times</Property> |
| | | </Button> |
| | | </Buttons> |
| | | <Children> |
| | | <AutoForm> |
| | | <Property name="dataSet">dsMain</Property> |
| | | <Property name="cols">*,*</Property> |
| | | <Property name="labelPosition">left</Property> |
| | | <Property name="labelSeparator">:</Property> |
| | | <Property name="labelWidth">120</Property> |
| | | <Property name="labelAlign">right</Property> |
| | | <AutoFormElement> |
| | | <Property name="name">ssbfjlbh</Property> |
| | | <Property name="property">ssbfjlbh</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">jlqybh</Property> |
| | | <Property name="property">jlqybh</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">jlqymc</Property> |
| | | <Property name="property">jlqymc</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">jgzdbh</Property> |
| | | <Property name="property">jgzdbh</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">jgzdmc</Property> |
| | | <Property name="property">jgzdmc</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">cfbh</Property> |
| | | <Property name="property">cfbh</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">sscfmc</Property> |
| | | <Property name="property">sscfmc</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">sqrq</Property> |
| | | <Property name="property">sqrq</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">bfyy</Property> |
| | | <Property name="property">bfyy</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">sqr</Property> |
| | | <Property name="property">sqr</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">spr</Property> |
| | | <Property name="property">spr</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">sprq</Property> |
| | | <Property name="property">sprq</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">spyj</Property> |
| | | <Property name="property">spyj</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">bz</Property> |
| | | <Property name="property">bz</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">bizId</Property> |
| | | <Property name="property">bizId</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">updateTime</Property> |
| | | <Property name="property">updateTime</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">czbz</Property> |
| | | <Property name="property">czbz</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">kqdm</Property> |
| | | <Property name="property">kqdm</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | </AutoForm> |
| | | </Children> |
| | | <Tools/> |
| | | </Dialog> |
| | | <UpdateAction id="updateSave"> |
| | | <Property name="dataResolver">whjlApi1111PR#saveData</Property> |
| | | <UpdateItem> |
| | | <Property name="dataPath">[#current]</Property> |
| | | <Property name="dataSet">dsMain</Property> |
| | | </UpdateItem> |
| | | </UpdateAction> |
| | | <AjaxAction id="ajaxDel"> |
| | | <Property name="confirmMessage">å½åæ°æ®å é¤åæ æ³æ¢å¤ï¼è¯·ç¡®è®¤è¦å é¤ä¹ï¼</Property> |
| | | <Property name="service">whjlApi1111PR#delData</Property> |
| | | </AjaxAction> |
| | | <AjaxAction id="ajaxPush"> |
| | | <Property name="service">whjlApi1111PR#pushData</Property> |
| | | </AjaxAction> |
| | | <Dialog id="dialogLog"> |
| | | <Property name="width">90%</Property> |
| | | <Property name="height">90%</Property> |
| | | <Property name="caption">ä¸ä¼ è®°å½</Property> |
| | | <Property name="iconClass">fa fa-sliders</Property> |
| | | <Buttons> |
| | | <Button> |
| | | <ClientEvent name="onClick">self.get("parent").hide();</ClientEvent> |
| | | <Property name="caption">å
³é</Property> |
| | | <Property name="iconClass">fa fa-times</Property> |
| | | </Button> |
| | | </Buttons> |
| | | <Children> |
| | | <Container> |
| | | <IFrame id="iFrame"> |
| | | <Property name="path">com.fzzy.api.view.ApiLog.d</Property> |
| | | <Property name="userData"> |
| | | <Entity> |
| | | <Property name="deptId">deptId</Property> |
| | | </Entity> |
| | | </Property> |
| | | </IFrame> |
| | | </Container> |
| | | </Children> |
| | | <Tools/> |
| | | </Dialog> |
| | | <ListDropDown id="listDropYN"> |
| | | <Property name="items">æ¯,å¦</Property> |
| | | </ListDropDown> |
| | | </View> |
| | | </ViewConfig> |