ws
2023-11-03 14f79528513e0f7c08f47c4d34efd7d6fa847a60
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1113.view.xml
@@ -7,87 +7,105 @@
      <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlApi1113</Property>
      <PropertyDef name="sbwhjlbh">
        <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="sbbh">
        <Property></Property>
        <Property name="label">设备编号</Property>
      </PropertyDef>
      <PropertyDef name="sbmc">
        <Property></Property>
        <Property name="label">设备名称</Property>
      </PropertyDef>
      <PropertyDef name="wbrq">
        <Property name="dataType">Date</Property>
        <Property name="label">维保日期</Property>
      </PropertyDef>
      <PropertyDef name="wbdw">
        <Property></Property>
        <Property name="label">维保单位</Property>
      </PropertyDef>
      <PropertyDef name="wbr">
        <Property></Property>
        <Property name="label">维保人</Property>
      </PropertyDef>
      <PropertyDef name="lxdh">
        <Property></Property>
        <Property name="label">联系电话</Property>
      </PropertyDef>
      <PropertyDef name="whlr">
        <Property></Property>
        <Property name="label">维护内容</Property>
      </PropertyDef>
      <PropertyDef name="whjl">
        <Property></Property>
        <Property name="label">维护记录</Property>
      </PropertyDef>
      <PropertyDef name="fxwt">
        <Property></Property>
        <Property name="label">发现问题</Property>
      </PropertyDef>
      <PropertyDef name="jjcs">
        <Property></Property>
        <Property name="label">解决措施</Property>
      </PropertyDef>
      <PropertyDef name="xcwbrq">
        <Property name="dataType">Date</Property>
        <Property name="label">下次维保日期</Property>
      </PropertyDef>
      <PropertyDef name="ysr">
        <Property></Property>
        <Property name="label">验收人</Property>
      </PropertyDef>
      <PropertyDef name="whjy">
        <Property></Property>
      </PropertyDef>
      <PropertyDef name="whjlzp">
        <Property></Property>
        <Property name="label">维护建议</Property>
      </PropertyDef>
      <PropertyDef name="bz">
        <Property></Property>
      </PropertyDef>
      <PropertyDef name="zpid">
        <Property></Property>
      </PropertyDef>
      <PropertyDef name="zpmc">
        <Property></Property>
      </PropertyDef>
      <PropertyDef name="zplj">
        <Property></Property>
      </PropertyDef>
      <PropertyDef name="zpdx">
        <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(&quot;apiTriggerService#trigger&quot;).getResult(&quot;CZBZ&quot;)}</Property>
          <Property name="keyProperty">code</Property>
          <Property name="valueProperty">name</Property>
        </Property>
      </PropertyDef>
      <PropertyDef name="kqdm">
        <Property></Property>
        <Property name="label">库区代码</Property>
      </PropertyDef>
      <PropertyDef name="whjlzp">
        <Property></Property>
        <Property name="label">维护记录照片</Property>
        <Property name="dataType">[dtWhjlzp]</Property>
      </PropertyDef>
    </DataType>
    <DataType name="dtParam">
@@ -114,12 +132,32 @@
        </Property>
      </PropertyDef>
    </DataType>
    <DataType name="dtWhjlzp">
      <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlWHJLZP</Property>
      <PropertyDef name="zpid">
        <Property></Property>
        <Property name="label">照片id</Property>
      </PropertyDef>
      <PropertyDef name="zpmc">
        <Property></Property>
        <Property name="label">照片名称</Property>
      </PropertyDef>
      <PropertyDef name="zplj">
        <Property></Property>
        <Property name="label">照片路径</Property>
      </PropertyDef>
      <PropertyDef name="zpdx">
        <Property name="dataType">Integer</Property>
        <Property name="label">照片大小</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">whjlApi1113PR#listData</Property>
      <Property name="pageSize">20</Property>
    </DataSet>
    <DataSet id="dsQuery">
      <ClientEvent name="onReady">self.insert();</ClientEvent>
@@ -260,6 +298,7 @@
      <Property name="closeable">false</Property>
      <Property name="iconClass">fa fa-sliders</Property>
      <Property name="caption">货位信息</Property>
      <Property name="height">80%</Property>
      <Buttons>
        <Button>
          <ClientEvent name="onClick">var cur = view.get(&quot;#dgMain&quot;).getCurrentItem();&#xD;
@@ -377,33 +416,8 @@
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">whjlzp</Property>
            <Property name="property">whjlzp</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">bz</Property>
            <Property name="property">bz</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">zpid</Property>
            <Property name="property">zpid</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">zpmc</Property>
            <Property name="property">zpmc</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">zplj</Property>
            <Property name="property">zplj</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">zpdx</Property>
            <Property name="property">zpdx</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
@@ -427,6 +441,50 @@
            <Editor/>
          </AutoFormElement>
        </AutoForm>
        <Panel>
          <Property name="caption">设备维护记录照片</Property>
          <Property name="height">80%</Property>
          <Buttons/>
          <Children>
            <Container layout="regionPadding:10">
              <Label layoutConstraint="left">
                <Property name="text">菜单栏:</Property>
              </Label>
              <Button layoutConstraint="left">
                <ClientEvent name="onClick">var list = view.get(&quot;#dsMain.data:#&quot;).get(&quot;whjlzp&quot;);&#xD;
list.insert({});&#xD;
</ClientEvent>
                <Property name="caption">新增</Property>
                <Property name="exClassName">btn-default</Property>
                <Property name="iconClass">fa fa-plus</Property>
              </Button>
              <Button layoutConstraint="left">
                <ClientEvent name="onClick">var data = view.get(&quot;#dgWhjlzp.currentEntity&quot;);&#xD;
data.remove();</ClientEvent>
                <Property name="caption">删除</Property>
                <Property name="exClassName">btn-warn</Property>
                <Property name="iconClass">fa fa-minus</Property>
              </Button>
            </Container>
            <DataGrid id="dgWhjlzp">
              <Property name="dataPath">#.whjlzp</Property>
              <Property name="dataSet">dsMain</Property>
              <DataColumn name="zpid">
                <Property name="property">zpid</Property>
              </DataColumn>
              <DataColumn name="zpmc">
                <Property name="property">zpmc</Property>
              </DataColumn>
              <DataColumn name="zplj">
                <Property name="property">zplj</Property>
              </DataColumn>
              <DataColumn name="zpdx">
                <Property name="property">zpdx</Property>
              </DataColumn>
            </DataGrid>
          </Children>
          <Tools/>
        </Panel>
      </Children>
      <Tools/>
    </Dialog>