| | |
| | | </DataType> |
| | | </Model> |
| | | <View layout="regionPadding:10"> |
| | | <ClientEvent name="onReady">view.get("#dsParam").insert({});</ClientEvent> |
| | | <ClientEvent name="onReady">view.get("#dsParam").insert({});
 |
| | | view.get("#dsParamCheck").insert({});</ClientEvent> |
| | | <Property name="packages">font-awesome,css-common</Property> |
| | | <DataSet id="dsMain"> |
| | | <Property name="dataType">[dtMain]</Property> |
| | |
| | | <Property name="pageSize">15</Property> |
| | | </DataSet> |
| | | <DataSet id="dsParam"> |
| | | <Property name="dataType">dtParam</Property> |
| | | </DataSet> |
| | | <DataSet id="dsParamCheck"> |
| | | <Property name="dataType">dtParam</Property> |
| | | </DataSet> |
| | | <DataSet id="dsCheck"> |
| | |
| | | <Property name="height">90%</Property> |
| | | <Property name="caption">设备检修记录</Property> |
| | | <Property name="closeable">false</Property> |
| | | <Property name="background">crey</Property> |
| | | <Buttons> |
| | | <Button layoutConstraint="center"> |
| | | <ClientEvent name="onClick">self.get("parent").hide();</ClientEvent> |
| | |
| | | <Children> |
| | | <Container layout="regionPadding:10" layoutConstraint="top"> |
| | | <Property name="exClassName">bg-color</Property> |
| | | <AutoForm> |
| | | <Property name="dataSet">dsParamCheck</Property> |
| | | <Property name="cols">*,*,*,*</Property> |
| | | <Property name="labelAlign">right</Property> |
| | | <Property name="labelSeparator">:</Property> |
| | | <Property name="labelWidth">140</Property> |
| | | <Container layout="regionPadding:10"> |
| | | <Button layoutConstraint="left"> |
| | | <ClientEvent name="onClick">var data = view.get("#dsMain.data:#")
 |
| | | view.get("#dsCheck").insert({
 |
| | |
| | | <Property name="iconClass">fa fa-trash-o</Property> |
| | | </Button> |
| | | </Container> |
| | | <AutoFormElement> |
| | | <Property name="name">start</Property> |
| | | <Property name="property">start</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">end</Property> |
| | | <Property name="property">end</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <Container layout="regionPadding:10"> |
| | | <Button layoutConstraint="left"> |
| | | <ClientEvent name="onClick">var param = view.get("#dsParamCheck.data");
 |
| | | view.get("#dsCheck").set("parameter",param).flushAsync();</ClientEvent> |
| | | <Property name="caption">查询</Property> |
| | | <Property name="exClassName">btn-normal</Property> |
| | | <Property name="iconClass">fa fa-search</Property> |
| | | </Button> |
| | | <Button layoutConstraint="left"> |
| | | <ClientEvent name="onClick">view.get("#dsParamCheck").flushAsync();</ClientEvent> |
| | | <Property name="caption">重置</Property> |
| | | <Property name="iconClass">fa fa-refresh</Property> |
| | | <Property name="exClassName">btn-default</Property> |
| | | </Button> |
| | | </Container> |
| | | </AutoForm> |
| | | </Container> |
| | | <Container layout="regionPadding:10" layoutConstraint="center"> |
| | | <Property name="exClassName">bg-color</Property> |
| | | <DataGrid id="dgCheck"> |