YYC
2023-08-04 3418d16574fe668d780665ab1159530df319c6bd
基础信息页面
已修改5个文件
已添加12个文件
3566 ■■■■■ 文件已修改
src/main/java/com/fzzy/api/view/Api1101.view.xml 15 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/whjl/dto/WhjlApi1102.java 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/whjl/dto/WhjlApi1105.java 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/whjl/dto/WhjlApi1106.java 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/whjl/dto/WhjlApi1107.java 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/whjl/view/WhjlApi1101.view.xml 941 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/whjl/view/WhjlApi1102.view.xml 590 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/whjl/view/WhjlApi1103.view.xml 314 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/whjl/view/WhjlApi1104.view.xml 425 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/whjl/view/WhjlApi1105.view.xml 462 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/whjl/view/WhjlApi1106.view.xml 418 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/whjl/view/pr/WhjlApi1101PR.java 65 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/whjl/view/pr/WhjlApi1102PR.java 64 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/whjl/view/pr/WhjlApi1103PR.java 64 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/whjl/view/pr/WhjlApi1104PR.java 65 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/whjl/view/pr/WhjlApi1105PR.java 64 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/whjl/view/pr/WhjlApi1106PR.java 64 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/api/view/Api1101.view.xml
@@ -137,19 +137,19 @@
        <Property name="label">同步时间</Property>
      </PropertyDef>
      <PropertyDef name="balx">
        <Property/>
        <Property></Property>
        <Property name="label">备案类型</Property>
      </PropertyDef>
      <PropertyDef name="ccywlx">
        <Property/>
        <Property></Property>
        <Property name="label">仓储业务类型</Property>
      </PropertyDef>
      <PropertyDef name="ccpz">
        <Property/>
        <Property></Property>
        <Property name="label">仓储品种</Property>
      </PropertyDef>
      <PropertyDef name="bazt">
        <Property/>
        <Property></Property>
        <Property name="label">备案状态</Property>
      </PropertyDef>
    </DataType>
@@ -229,8 +229,7 @@
        </Property>
      </ToolBarLabel>
      <ToolBarButton>
        <ClientEvent name="onClick">view.get(&quot;#dsMain&quot;).flushAsync();&#xD;
</ClientEvent>
        <ClientEvent name="onClick">view.get(&quot;#dsMain&quot;).flushAsync();</ClientEvent>
        <Property name="caption">刷新</Property>
        <Property name="iconClass">fa fa-search</Property>
        <Property name="width">100</Property>
@@ -289,9 +288,7 @@
    });&#xD;
}else{&#xD;
    $alert(&quot;请勾选需要删除的数据!&quot;);&#xD;
}&#xD;
&#xD;
</ClientEvent>
}</ClientEvent>
        <Property name="caption">直接删除</Property>
        <Property name="iconClass">fa fa-minus</Property>
        <Property name="exClassName">toolbar-button-warn</Property>
src/main/java/com/fzzy/whjl/dto/WhjlApi1102.java
@@ -4,6 +4,7 @@
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.util.Date;
/**
 * å†›ç²®ä¼ä¸š-军供站点信息
@@ -28,7 +29,7 @@
    private String jgzdjc;  //军供站点简称
    private String qyszbm;  //企业性质编码
    private String jgzdlb;  //军供站点类别
    private String jcrq;  //建成日期
    private Date jcrq;  //建成日期
    private Double sjcr;  //设计仓容
    private Double mj;  //面积
    private String lxr;  //联系人
src/main/java/com/fzzy/whjl/dto/WhjlApi1105.java
@@ -4,6 +4,7 @@
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.util.Date;
/**
 * ä»“储设施设备-仓房信息
@@ -36,7 +37,7 @@
    private String lxdh;  //联系电话
    private Double cfjd;  //仓房经度
    private Double cfwd;  //仓房纬度
    private String qyrq;  //启用日期
    private Date qyrq;  //启用日期
    private String cfzt;  //仓房状态
    private String cfsyzt;  //仓房使用状态
    private Double zp;  //罩棚
src/main/java/com/fzzy/whjl/dto/WhjlApi1106.java
@@ -4,6 +4,7 @@
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.util.Date;
/**
 * ä»“储设施设备-廒间信息
@@ -29,13 +30,13 @@
    private String ajmc;  //廒间名称
    private Double ajcd;  //廒间长度
    private Double ajkd;  //廒间宽度
    private String ajgd;  //廒间高度
    private Double ajgd;  //廒间高度
    private Double ajsjcr;  //廒间设计仓容
    private Double ajsjcr01;  //廒间实际仓容
    private String ajlxdh;  //廒间联系电话
    private Double ajjd;  //廒间经度
    private Double ajwd;  //廒间纬度
    private String ajqyrq;  //廒间启用日期
    private Date ajqyrq;  //廒间启用日期
    private String ajzt;  //廒间状态
    private String ajsyzt;  //廒间使用状态
    private String sfyx;  //是否有效
src/main/java/com/fzzy/whjl/dto/WhjlApi1107.java
@@ -4,6 +4,7 @@
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.util.Date;
/**
 * ä»“储设施设备-货位信息
@@ -29,13 +30,12 @@
    private String ssajbh;  //廒间编号
    private String ajmc;  //廒间名称
    private String hwmc;  //货位名称
    private String hwqyrq;  //货位启用日期
    private Date hwqyrq;  //货位启用日期
    private String hwzt;  //货位状态
    private String clfs;  //储粮方式
    private Double hwrl;  //货位容量
    private String sfyx;  //是否有效
    private String bz;  //备注
}
src/main/java/com/fzzy/whjl/view/WhjlApi1101.view.xml
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,941 @@
<?xml version="1.0" encoding="UTF-8"?>
<ViewConfig>
  <Arguments/>
  <Context/>
  <Model>
    <DataType name="dtMain">
      <Property name="creationType">com.fzzy.whjl.dto.WhjlApi1101</Property>
      <PropertyDef name="jlqybh">
        <Property></Property>
        <Property name="label">军粮企业编号</Property>
      </PropertyDef>
      <PropertyDef name="jlqymc">
        <Property></Property>
        <Property name="label">军粮企业名称</Property>
      </PropertyDef>
      <PropertyDef name="jlqyjc">
        <Property></Property>
        <Property name="label">军粮企业简称</Property>
      </PropertyDef>
      <PropertyDef name="jlzzjgdm">
        <Property></Property>
        <Property name="label">军粮组织机构代码</Property>
      </PropertyDef>
      <PropertyDef name="jlqytyshxydm">
        <Property></Property>
        <Property name="label">军粮企业统一社会信用代码</Property>
      </PropertyDef>
      <PropertyDef name="jlqylx">
        <Property></Property>
        <Property name="label">军粮企业类型</Property>
        <Property name="mapping">
          <Property name="keyProperty">key</Property>
          <Property name="valueProperty">value</Property>
          <Property name="mapValues">
            <Collection>
              <Entity>
                <Property name="key">1</Property>
                <Property name="value">保障基地</Property>
              </Entity>
              <Entity>
                <Property name="key">2</Property>
                <Property name="value">配送中心</Property>
              </Entity>
              <Entity>
                <Property name="key">3</Property>
                <Property name="value">骨干军供站</Property>
              </Entity>
              <Entity>
                <Property name="key">4</Property>
                <Property name="value">一般军供站</Property>
              </Entity>
              <Entity>
                <Property name="key">5</Property>
                <Property name="value">高边岛特地区军供站</Property>
              </Entity>
              <Entity>
                <Property name="key">9</Property>
                <Property name="value">其他</Property>
              </Entity>
            </Collection>
          </Property>
        </Property>
      </PropertyDef>
      <PropertyDef name="qyjjlx">
        <Property></Property>
        <Property name="label">企业经济类型</Property>
        <Property name="mapping">
          <Property name="keyProperty">key</Property>
          <Property name="valueProperty">value</Property>
          <Property name="mapValues">
            <Collection>
              <Entity>
                <Property name="key">100</Property>
                <Property name="value">内资企业</Property>
              </Entity>
              <Entity>
                <Property name="key">110</Property>
                <Property name="value">国有企业</Property>
              </Entity>
              <Entity>
                <Property name="key">120</Property>
                <Property name="value">集体企业</Property>
              </Entity>
              <Entity>
                <Property name="key">130</Property>
                <Property name="value">股份合作企业</Property>
              </Entity>
              <Entity>
                <Property name="key">140</Property>
                <Property name="value">联营企业</Property>
              </Entity>
              <Entity>
                <Property name="key">141</Property>
                <Property name="value">国有联营企业</Property>
              </Entity>
              <Entity>
                <Property name="key">142</Property>
                <Property name="value">集体联营企业</Property>
              </Entity>
              <Entity>
                <Property name="key">143</Property>
                <Property name="value">国有与集体联营企业</Property>
              </Entity>
              <Entity>
                <Property name="key">149</Property>
                <Property name="value">其他联营企业</Property>
              </Entity>
              <Entity>
                <Property name="key">150</Property>
                <Property name="value">有限责任公司</Property>
              </Entity>
              <Entity>
                <Property name="key">151</Property>
                <Property name="value">国有独资公司</Property>
              </Entity>
              <Entity>
                <Property name="key">159</Property>
                <Property name="value">其他有限责任公司</Property>
              </Entity>
              <Entity>
                <Property name="key">160</Property>
                <Property name="value">股份有限公司</Property>
              </Entity>
              <Entity>
                <Property name="key">170</Property>
                <Property name="value">私营企业</Property>
              </Entity>
              <Entity>
                <Property name="key">171</Property>
                <Property name="value">私营独资企业</Property>
              </Entity>
              <Entity>
                <Property name="key">172</Property>
                <Property name="value">私营合伙企业</Property>
              </Entity>
              <Entity>
                <Property name="key">173</Property>
                <Property name="value">私营有限责任公司</Property>
              </Entity>
              <Entity>
                <Property name="key">174</Property>
                <Property name="value">私营股份有限公司</Property>
              </Entity>
              <Entity>
                <Property name="key">190</Property>
                <Property name="value">其他企业</Property>
              </Entity>
              <Entity>
                <Property name="key">200</Property>
                <Property name="value">港、澳、台商投资企业</Property>
              </Entity>
              <Entity>
                <Property name="key">210</Property>
                <Property name="value">合资经营企业(港或澳、台资)</Property>
              </Entity>
              <Entity>
                <Property name="key">220</Property>
                <Property name="value">合作经营企业(港或澳、台资)</Property>
              </Entity>
              <Entity>
                <Property name="key">230</Property>
                <Property name="value">港、澳、台商独资经营企业</Property>
              </Entity>
              <Entity>
                <Property name="key">240</Property>
                <Property name="value">港、澳、台商投资股份有限公司</Property>
              </Entity>
              <Entity>
                <Property name="key">290</Property>
                <Property name="value">其他港、澳、台商投资企业</Property>
              </Entity>
              <Entity>
                <Property name="key">300</Property>
                <Property name="value">外商投资企业</Property>
              </Entity>
              <Entity>
                <Property name="key">310</Property>
                <Property name="value">中外合资经营企业</Property>
              </Entity>
              <Entity>
                <Property name="key">320</Property>
                <Property name="value">中外合作经营企业</Property>
              </Entity>
              <Entity>
                <Property name="key">330</Property>
                <Property name="value">外资企业</Property>
              </Entity>
              <Entity>
                <Property name="key">340</Property>
                <Property name="value">外商投资股份有限公司</Property>
              </Entity>
              <Entity>
                <Property name="key">390</Property>
                <Property name="value">其他外商投资企业</Property>
              </Entity>
              <Entity>
                <Property name="key">900</Property>
                <Property name="value">其他</Property>
              </Entity>
            </Collection>
          </Property>
        </Property>
      </PropertyDef>
      <PropertyDef name="qyxz">
        <Property></Property>
        <Property name="label">企业性质</Property>
        <Property name="mapping">
          <Property name="keyProperty">key</Property>
          <Property name="valueProperty">value</Property>
          <Property name="mapValues">
            <Collection>
              <Entity>
                <Property name="key">1</Property>
                <Property name="value">行政机关</Property>
              </Entity>
              <Entity>
                <Property name="key">2</Property>
                <Property name="value">事业单位</Property>
              </Entity>
              <Entity>
                <Property name="key">3</Property>
                <Property name="value">参公管理事业单位</Property>
              </Entity>
              <Entity>
                <Property name="key">4</Property>
                <Property name="value">国有及国有控股企业</Property>
              </Entity>
              <Entity>
                <Property name="key">5</Property>
                <Property name="value">内资非国有企业</Property>
              </Entity>
              <Entity>
                <Property name="key">6</Property>
                <Property name="value">私营企业</Property>
              </Entity>
              <Entity>
                <Property name="key">7</Property>
                <Property name="value">港澳台商及外商企业</Property>
              </Entity>
              <Entity>
                <Property name="key">8</Property>
                <Property name="value">个体工商户</Property>
              </Entity>
              <Entity>
                <Property name="key">9</Property>
                <Property name="value">其他</Property>
              </Entity>
            </Collection>
          </Property>
        </Property>
      </PropertyDef>
      <PropertyDef name="djzclx">
        <Property></Property>
        <Property name="label">登记注册类型</Property>
        <Property name="mapping">
          <Property name="keyProperty">key</Property>
          <Property name="valueProperty">value</Property>
          <Property name="mapValues">
            <Collection>
              <Entity>
                <Property name="key">100</Property>
                <Property name="value">内资企业</Property>
              </Entity>
              <Entity>
                <Property name="key">110</Property>
                <Property name="value">国有企业</Property>
              </Entity>
              <Entity>
                <Property name="key">120</Property>
                <Property name="value">集体企业</Property>
              </Entity>
              <Entity>
                <Property name="key">130</Property>
                <Property name="value">股份合作企业</Property>
              </Entity>
              <Entity>
                <Property name="key">140</Property>
                <Property name="value">联营企业</Property>
              </Entity>
              <Entity>
                <Property name="key">141</Property>
                <Property name="value">国有联营企业</Property>
              </Entity>
              <Entity>
                <Property name="key">142</Property>
                <Property name="value">集体联营企业</Property>
              </Entity>
              <Entity>
                <Property name="key">143</Property>
                <Property name="value">国有与集体联营企业</Property>
              </Entity>
              <Entity>
                <Property name="key">149</Property>
                <Property name="value">其他联营企业</Property>
              </Entity>
              <Entity>
                <Property name="key">150</Property>
                <Property name="value">有限责任公司</Property>
              </Entity>
              <Entity>
                <Property name="key">151</Property>
                <Property name="value">国有独资公司</Property>
              </Entity>
              <Entity>
                <Property name="key">159</Property>
                <Property name="value">其他有限责任公司</Property>
              </Entity>
              <Entity>
                <Property name="key">160</Property>
                <Property name="value">股份有限公司</Property>
              </Entity>
              <Entity>
                <Property name="key">170</Property>
                <Property name="value">私营企业</Property>
              </Entity>
              <Entity>
                <Property name="key">171</Property>
                <Property name="value">私营独资企业</Property>
              </Entity>
              <Entity>
                <Property name="key">172</Property>
                <Property name="value">私营合伙企业</Property>
              </Entity>
              <Entity>
                <Property name="key">173</Property>
                <Property name="value">私营有限责任公司</Property>
              </Entity>
              <Entity>
                <Property name="key">174</Property>
                <Property name="value">私营股份有限公司</Property>
              </Entity>
              <Entity>
                <Property name="key">190</Property>
                <Property name="value">其他企业</Property>
              </Entity>
              <Entity>
                <Property name="key">200</Property>
                <Property name="value">港、澳、台商投资企业</Property>
              </Entity>
              <Entity>
                <Property name="key">210</Property>
                <Property name="value">合资经营企业(港或澳、台资)</Property>
              </Entity>
              <Entity>
                <Property name="key">220</Property>
                <Property name="value">合作经营企业(港或澳、台资)</Property>
              </Entity>
              <Entity>
                <Property name="key">230</Property>
                <Property name="value">港、澳、台商独资经营企业</Property>
              </Entity>
              <Entity>
                <Property name="key">240</Property>
                <Property name="value">港、澳、台商投资股份有限公司</Property>
              </Entity>
              <Entity>
                <Property name="key">290</Property>
                <Property name="value">其他港、澳、台商投资企业</Property>
              </Entity>
              <Entity>
                <Property name="key">300</Property>
                <Property name="value">外商投资企业</Property>
              </Entity>
              <Entity>
                <Property name="key">310</Property>
                <Property name="value">中外合资经营企业</Property>
              </Entity>
              <Entity>
                <Property name="key">320</Property>
                <Property name="value">中外合作经营企业</Property>
              </Entity>
              <Entity>
                <Property name="key">330</Property>
                <Property name="value">外资企业</Property>
              </Entity>
              <Entity>
                <Property name="key">340</Property>
                <Property name="value">外商投资股份有限公司</Property>
              </Entity>
              <Entity>
                <Property name="key">390</Property>
                <Property name="value">其他外商投资企业</Property>
              </Entity>
              <Entity>
                <Property name="key">900</Property>
                <Property name="value">其他</Property>
              </Entity>
            </Collection>
          </Property>
        </Property>
      </PropertyDef>
      <PropertyDef name="gsdjzch">
        <Property></Property>
        <Property name="label">工商登记注册号</Property>
      </PropertyDef>
      <PropertyDef name="sfjbjlcbzg">
        <Property></Property>
        <Property name="label">是否具备军粮储备资格</Property>
        <Property name="mapping">
          <Property name="mapValues">${dorado.getDataProvider(&quot;apiTriggerService#trigger&quot;).getResult(&quot;YN&quot;)}</Property>
          <Property name="keyProperty">code</Property>
          <Property name="valueProperty">name</Property>
        </Property>
      </PropertyDef>
      <PropertyDef name="fddbr">
        <Property></Property>
        <Property name="label">法定代表人</Property>
      </PropertyDef>
      <PropertyDef name="qydz">
        <Property></Property>
        <Property name="label">企业地址</Property>
      </PropertyDef>
      <PropertyDef name="qydh">
        <Property></Property>
        <Property name="label">企业电话</Property>
      </PropertyDef>
      <PropertyDef name="qycz">
        <Property></Property>
        <Property name="label">企业传真</Property>
      </PropertyDef>
      <PropertyDef name="qydzyx">
        <Property></Property>
        <Property name="label">企业电子邮箱</Property>
      </PropertyDef>
      <PropertyDef name="qywz">
        <Property></Property>
        <Property name="label">企业网址</Property>
      </PropertyDef>
      <PropertyDef name="qyyzbm">
        <Property></Property>
        <Property name="label">企业邮政编码</Property>
      </PropertyDef>
      <PropertyDef name="qyjd">
        <Property name="dataType">Double</Property>
        <Property name="label">企业经度</Property>
        <Property name="displayFormat">#0.000000度</Property>
      </PropertyDef>
      <PropertyDef name="qywd">
        <Property name="dataType">Double</Property>
        <Property name="label">企业纬度</Property>
        <Property name="displayFormat">#0.000000度</Property>
      </PropertyDef>
      <PropertyDef name="qyxzqhmc">
        <Property></Property>
        <Property name="label">企业行政区划名称</Property>
      </PropertyDef>
      <PropertyDef name="qyxzqhdm">
        <Property></Property>
        <Property name="label">企业行政区划代码</Property>
      </PropertyDef>
      <PropertyDef name="khyh">
        <Property></Property>
        <Property name="label">开户银行</Property>
        <Property name="mapping">
          <Property name="mapValues">${dorado.getDataProvider(&quot;apiTriggerService#trigger&quot;).getResult(&quot;BANK&quot;)}</Property>
          <Property name="keyProperty">code</Property>
          <Property name="valueProperty">name</Property>
        </Property>
      </PropertyDef>
      <PropertyDef name="yhzh">
        <Property name="dataType">Double</Property>
        <Property name="label">银行账号</Property>
      </PropertyDef>
      <PropertyDef name="yhxydj">
        <Property></Property>
        <Property name="label">银行信用等级</Property>
      </PropertyDef>
      <PropertyDef name="gdzc">
        <Property name="dataType">Double</Property>
        <Property name="label">固定资产</Property>
        <Property name="displayFormat">#0.00万元</Property>
      </PropertyDef>
      <PropertyDef name="zczb">
        <Property name="dataType">Double</Property>
        <Property name="label">注册资本</Property>
        <Property name="displayFormat">#0.00万元</Property>
      </PropertyDef>
      <PropertyDef name="zc">
        <Property name="dataType">Double</Property>
        <Property name="label">资产</Property>
        <Property name="displayFormat">#0.00万元</Property>
      </PropertyDef>
      <PropertyDef name="qycyrys">
        <Property name="dataType">Double</Property>
        <Property name="label">企业从业人员数</Property>
        <Property name="displayFormat">#0人</Property>
      </PropertyDef>
      <PropertyDef name="sfyx">
        <Property></Property>
        <Property name="label">是否启用</Property>
        <Property name="mapping">
          <Property name="mapValues">${dorado.getDataProvider(&quot;apiTriggerService#trigger&quot;).getResult(&quot;YN&quot;)}</Property>
          <Property name="keyProperty">code</Property>
          <Property name="valueProperty">name</Property>
        </Property>
      </PropertyDef>
      <PropertyDef name="bz">
        <Property></Property>
        <Property name="label">备注</Property>
      </PropertyDef>
      <PropertyDef name="bizId">
        <Property/>
        <Property name="label">业务ID</Property>
      </PropertyDef>
      <PropertyDef name="updateTime">
        <Property name="dataType">Date</Property>
        <Property name="label">更新时间</Property>
      </PropertyDef>
    </DataType>
    <DataType name="dtGBArea">
      <Property name="creationType">com.fzzy.api.entity.GbArea</Property>
      <PropertyDef name="code">
        <Property></Property>
        <Property name="label">接口编码</Property>
      </PropertyDef>
      <PropertyDef name="name">
        <Property></Property>
        <Property name="label">名称</Property>
      </PropertyDef>
      <PropertyDef name="parentCode">
        <Property></Property>
        <Property name="label">父编码</Property>
      </PropertyDef>
      <PropertyDef name="disabledTag">
        <Property></Property>
        <Property name="label">禁用</Property>
      </PropertyDef>
      <PropertyDef name="simple">
        <Property></Property>
        <Property name="label">是否默认</Property>
      </PropertyDef>
      <PropertyDef name="remark">
        <Property></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">whjlApi1101PR#listData</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(&quot;#dsMain&quot;).insert();&#xD;
view.get(&quot;#dialogMain&quot;).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(&quot;#dgMain&quot;).getCurrentItem();&#xD;
if(cur){&#xD;
    view.get(&quot;#dialogMain&quot;).show();&#xD;
}else{&#xD;
    $alert(&quot;请勾选需要修改的数据!&quot;);&#xD;
}</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(&quot;#dgMain&quot;).getCurrentItem();&#xD;
if(cur){&#xD;
    view.get(&quot;#ajaxDel&quot;).set(&quot;parameter&quot;,cur).execute(function(result){&#xD;
        if(result){&#xD;
            $alert(result);&#xD;
        } else{&#xD;
            cur.remove();&#xD;
        }&#xD;
    });&#xD;
}else{&#xD;
    $alert(&quot;请勾选需要删除的数据!&quot;);&#xD;
}</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(&quot;#dsMain&quot;).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(&quot;#dgMain&quot;).get(&quot;selection&quot;);&#xD;
if(select &amp;&amp; select.length > 0){&#xD;
    view.get(&quot;#ajaxPush&quot;).set(&quot;parameter&quot;,select).execute(function(result){&#xD;
        view.get(&quot;#dsMain&quot;).flushAsync();&#xD;
        $notify(result);&#xD;
    });&#xD;
}else{&#xD;
    $alert(&quot;请勾选需要上报的数据!&quot;);&#xD;
}</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">//显示记录&#xD;
view.get(&quot;#iFrame&quot;).reload();&#xD;
view.get(&quot;#dialogLog&quot;).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(&quot;#dsMain.data:#&quot;);&#xD;
if(data){&#xD;
    view.get(&quot;#dialogMain&quot;).show();&#xD;
}</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="jlqybh">
          <Property name="property">jlqybh</Property>
        </DataColumn>
        <DataColumn name="jlqymc">
          <Property name="property">jlqymc</Property>
        </DataColumn>
        <DataColumn name="jlqytyshxydm">
          <Property name="property">jlqytyshxydm</Property>
        </DataColumn>
        <DataColumn name="jlqylx">
          <Property name="property">jlqylx</Property>
        </DataColumn>
        <DataColumn name="qyxz">
          <Property name="property">qyxz</Property>
        </DataColumn>
        <DataColumn name="gsdjzch">
          <Property name="property">gsdjzch</Property>
        </DataColumn>
        <DataColumn name="sfjbjlcbzg">
          <Property name="property">sfjbjlcbzg</Property>
        </DataColumn>
        <DataColumn name="fddbr">
          <Property name="property">fddbr</Property>
        </DataColumn>
        <DataColumn name="sfyx">
          <Property name="property">sfyx</Property>
        </DataColumn>
      </DataGrid>
    </Container>
    <Dialog id="dialogMain">
      <Property name="width">85%</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(&quot;#dgMain&quot;).getCurrentItem();&#xD;
view.get(&quot;#updateSave&quot;).execute(function(){&#xD;
    self.get(&quot;parent&quot;).hide();&#xD;
    view.get(&quot;#dsMain&quot;).flushAsync();&#xD;
});</ClientEvent>
          <Property name="caption">确定</Property>
          <Property name="iconClass">fa fa-check</Property>
        </Button>
        <Button>
          <ClientEvent name="onClick">var cur = view.get(&quot;#dgMain&quot;).getCurrentItem();&#xD;
self.get(&quot;parent&quot;).hide();&#xD;
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">top</Property>
          <Property name="labelSeparator">:</Property>
          <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">jlqyjc</Property>
            <Property name="property">jlqyjc</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">jlzzjgdm</Property>
            <Property name="property">jlzzjgdm</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">jlqytyshxydm</Property>
            <Property name="property">jlqytyshxydm</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">jlqylx</Property>
            <Property name="property">jlqylx</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">qyjjlx</Property>
            <Property name="property">qyjjlx</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">qyxz</Property>
            <Property name="property">qyxz</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">djzclx</Property>
            <Property name="property">djzclx</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">gsdjzch</Property>
            <Property name="property">gsdjzch</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">sfjbjlcbzg</Property>
            <Property name="property">sfjbjlcbzg</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">fddbr</Property>
            <Property name="property">fddbr</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">qydz</Property>
            <Property name="property">qydz</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">qydh</Property>
            <Property name="property">qydh</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">qycz</Property>
            <Property name="property">qycz</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">qydzyx</Property>
            <Property name="property">qydzyx</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">qywz</Property>
            <Property name="property">qywz</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">qyyzbm</Property>
            <Property name="property">qyyzbm</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">qyjd</Property>
            <Property name="property">qyjd</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">qywd</Property>
            <Property name="property">qywd</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">qyxzqhmc</Property>
            <Property name="property">qyxzqhmc</Property>
            <Property name="trigger">cddGbArea</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">qyxzqhdm</Property>
            <Property name="property">qyxzqhdm</Property>
            <Property name="trigger">cddGbArea</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">khyh</Property>
            <Property name="property">khyh</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">yhzh</Property>
            <Property name="property">yhzh</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">yhxydj</Property>
            <Property name="property">yhxydj</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">gdzc</Property>
            <Property name="property">gdzc</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">zczb</Property>
            <Property name="property">zczb</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">zc</Property>
            <Property name="property">zc</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">qycyrys</Property>
            <Property name="property">qycyrys</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">sfyx</Property>
            <Property name="property">sfyx</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>
        </AutoForm>
      </Children>
      <Tools/>
    </Dialog>
    <UpdateAction id="updateSave">
      <Property name="dataResolver">whjlApi1101PR#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">whjlApi1101PR#delData</Property>
    </AjaxAction>
    <AjaxAction id="ajaxPush">
      <Property name="service">whjlApi1101PR#pushData</Property>
    </AjaxAction>
    <CustomDropDown id="cddGbArea">
      <Property name="assignmentMap">xzqhdm=code,xzqhmc=name</Property>
      <Property name="height">500</Property>
      <Property name="minHeight">500</Property>
      <Property name="maxHeight">500</Property>
      <Property name="width">400</Property>
      <Container layout="regionPadding:5">
        <DataSet id="dsGBArea">
          <Property name="dataProvider">gbAreaPR#findByCode</Property>
          <Property name="dataType">[dtGBArea]</Property>
        </DataSet>
        <Container layout="hbox regionPadding:5">
          <TextEditor id="key2">
            <Property name="blankText"> -- ç¼–码或者名称 --</Property>
            <Property name="width">200</Property>
          </TextEditor>
          <Button>
            <ClientEvent name="onClick">var key = view.get(&quot;#key2.value&quot;);&#xD;
view.get(&quot;#dsGBArea&quot;).set(&quot;parameter&quot;,{key:key}).flushAsync();</ClientEvent>
            <Property name="iconClass">fa fa-search</Property>
            <Property name="caption">查询</Property>
          </Button>
          <Button>
            <ClientEvent name="onClick">var data = view.get(&quot;#dsGBArea.data:#&quot;);&#xD;
if (data) {&#xD;
    view.get(&quot;#cddGbArea&quot;).close(data.toJSON());&#xD;
}</ClientEvent>
            <Property name="caption">确定</Property>
            <Property name="iconClass">fa fa-check</Property>
          </Button>
        </Container>
        <DataGrid>
          <ClientEvent name="onDataRowDoubleClick">var data = view.get(&quot;#dsGBArea.data:#&quot;);&#xD;
if(data){&#xD;
    view.get(&quot;#cddGbArea&quot;).close(data.toJSON());&#xD;
}</ClientEvent>
          <Property name="dataSet">dsGBArea</Property>
          <Property name="readOnly">true</Property>
          <DataColumn name="code">
            <Property name="property">code</Property>
          </DataColumn>
          <DataColumn name="name">
            <Property name="property">name</Property>
          </DataColumn>
        </DataGrid>
      </Container>
    </CustomDropDown>
    <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(&quot;parent&quot;).hide();</ClientEvent>
          <Property name="caption">关闭</Property>
          <Property name="iconClass">fa fa-times</Property>
        </Button>
      </Buttons>
      <Children>
        <Container>
          <IFrame id="iFrame">
            <Property name="userData"/>
          </IFrame>
        </Container>
      </Children>
      <Tools/>
    </Dialog>
  </View>
</ViewConfig>
src/main/java/com/fzzy/whjl/view/WhjlApi1102.view.xml
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,590 @@
<?xml version="1.0" encoding="UTF-8"?>
<ViewConfig>
  <Arguments/>
  <Context/>
  <Model>
    <DataType name="dtMain">
      <Property name="creationType">com.fzzy.whjl.dto.WhjlApi1102</Property>
      <PropertyDef name="jgzdbh">
        <Property></Property>
        <Property name="label">军供站点编号</Property>
      </PropertyDef>
      <PropertyDef name="xzqhbm">
        <Property></Property>
        <Property name="label">所属行政区划编码</Property>
      </PropertyDef>
      <PropertyDef name="xzqhmc">
        <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="jgzdmc">
        <Property></Property>
        <Property name="label">军供站点名称</Property>
      </PropertyDef>
      <PropertyDef name="jgzdjc">
        <Property></Property>
        <Property name="label">军供站点简称</Property>
      </PropertyDef>
      <PropertyDef name="qyszbm">
        <Property></Property>
        <Property name="label">企业性质编码</Property>
        <Property name="mapping">
          <Property name="keyProperty">key</Property>
          <Property name="valueProperty">value</Property>
          <Property name="mapValues">
            <Collection>
              <Entity>
                <Property name="key">1</Property>
                <Property name="value">行政机关</Property>
              </Entity>
              <Entity>
                <Property name="key">2</Property>
                <Property name="value">事业单位</Property>
              </Entity>
              <Entity>
                <Property name="key">3</Property>
                <Property name="value">参公管理事业单位</Property>
              </Entity>
              <Entity>
                <Property name="key">4</Property>
                <Property name="value">国有及国有控股企业</Property>
              </Entity>
              <Entity>
                <Property name="key">5</Property>
                <Property name="value">内资非国有企业</Property>
              </Entity>
              <Entity>
                <Property name="key">6</Property>
                <Property name="value">私营企业</Property>
              </Entity>
              <Entity>
                <Property name="key">7</Property>
                <Property name="value">港澳台商及外商企业</Property>
              </Entity>
              <Entity>
                <Property name="key">8</Property>
                <Property name="value">个体工商户</Property>
              </Entity>
              <Entity>
                <Property name="key">9</Property>
                <Property name="value">其他</Property>
              </Entity>
            </Collection>
          </Property>
        </Property>
      </PropertyDef>
      <PropertyDef name="jgzdlb">
        <Property></Property>
        <Property name="label">军供站点类别</Property>
        <Property name="mapping">
          <Property name="keyProperty">key</Property>
          <Property name="valueProperty">value</Property>
          <Property name="mapValues">
            <Collection>
              <Entity>
                <Property name="key">1</Property>
                <Property name="value">保障基地</Property>
              </Entity>
              <Entity>
                <Property name="key">2</Property>
                <Property name="value">配送中心</Property>
              </Entity>
              <Entity>
                <Property name="key">3</Property>
                <Property name="value">骨干军供站</Property>
              </Entity>
              <Entity>
                <Property name="key">4</Property>
                <Property name="value">一般军供站</Property>
              </Entity>
              <Entity>
                <Property name="key">5</Property>
                <Property name="value">高边岛特地区军供站</Property>
              </Entity>
              <Entity>
                <Property name="key">9</Property>
                <Property name="value">其他</Property>
              </Entity>
            </Collection>
          </Property>
        </Property>
      </PropertyDef>
      <PropertyDef name="jcrq">
        <Property></Property>
        <Property name="label">建成日期</Property>
        <Property name="dataType">Date</Property>
      </PropertyDef>
      <PropertyDef name="sjcr">
        <Property name="dataType">Double</Property>
        <Property name="label">设计仓容</Property>
        <Property name="displayFormat">#0.00吨</Property>
      </PropertyDef>
      <PropertyDef name="mj">
        <Property name="dataType">Double</Property>
        <Property name="label">面积</Property>
        <Property name="displayFormat">#0.00</Property>
      </PropertyDef>
      <PropertyDef name="lxr">
        <Property></Property>
        <Property name="label">联系人</Property>
      </PropertyDef>
      <PropertyDef name="dh">
        <Property></Property>
        <Property name="label">电话</Property>
      </PropertyDef>
      <PropertyDef name="cz">
        <Property></Property>
        <Property name="label">传真</Property>
      </PropertyDef>
      <PropertyDef name="dz">
        <Property></Property>
        <Property name="label">地址</Property>
      </PropertyDef>
      <PropertyDef name="yzbm">
        <Property></Property>
        <Property name="label">邮政编码</Property>
      </PropertyDef>
      <PropertyDef name="jd">
        <Property name="dataType">Double</Property>
        <Property name="label">经度</Property>
        <Property name="displayFormat">#0.000000度</Property>
      </PropertyDef>
      <PropertyDef name="wd">
        <Property name="dataType">Double</Property>
        <Property name="label">纬度</Property>
        <Property name="displayFormat">#0.000000度</Property>
      </PropertyDef>
      <PropertyDef name="CYRS">
        <Property name="dataType">Integer</Property>
        <Property name="label">从业人数</Property>
        <Property name="displayFormat">#人</Property>
      </PropertyDef>
      <PropertyDef name="CLS">
        <Property name="dataType">Integer</Property>
        <Property name="label">车辆数</Property>
        <Property name="displayFormat">#辆</Property>
      </PropertyDef>
      <PropertyDef name="cplcfmj">
        <Property name="dataType">Double</Property>
        <Property name="label">成品粮仓房面积</Property>
        <Property name="displayFormat">#0.00</Property>
      </PropertyDef>
      <PropertyDef name="cplzxnl">
        <Property name="dataType">Double</Property>
        <Property name="label">成品粮装卸能力</Property>
        <Property name="displayFormat">#0.00吨/天</Property>
      </PropertyDef>
      <PropertyDef name="sfyx">
        <Property></Property>
        <Property name="label">是否启用</Property>
        <Property name="mapping">
          <Property name="mapValues">${dorado.getDataProvider(&quot;apiTriggerService#trigger&quot;).getResult(&quot;YN&quot;)}</Property>
          <Property name="keyProperty">code</Property>
        </Property>
      </PropertyDef>
      <PropertyDef name="bz">
        <Property></Property>
        <Property name="label">备注</Property>
      </PropertyDef>
    </DataType>
    <DataType name="dtGBArea">
      <Property name="creationType">com.fzzy.api.entity.GbArea</Property>
      <PropertyDef name="code">
        <Property></Property>
        <Property name="label">接口编码</Property>
      </PropertyDef>
      <PropertyDef name="name">
        <Property></Property>
        <Property name="label">名称</Property>
      </PropertyDef>
      <PropertyDef name="parentCode">
        <Property></Property>
        <Property name="label">父编码</Property>
      </PropertyDef>
      <PropertyDef name="disabledTag">
        <Property></Property>
        <Property name="label">禁用</Property>
      </PropertyDef>
      <PropertyDef name="simple">
        <Property></Property>
        <Property name="label">是否默认</Property>
      </PropertyDef>
      <PropertyDef name="remark">
        <Property></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">whjlApi1102PR#listData</Property>
    </DataSet>
    <Container layout="regionPadding:10" layoutConstraint="top">
      <Property name="contentOverflow">hidden</Property>
      <Property name="exClassName">bg-color</Property>
      <Property name="height">55</Property>
      <Label layoutConstraint="left">
        <Property name="text">菜单栏:</Property>
      </Label>
      <Button layoutConstraint="left">
        <ClientEvent name="onClick">view.get(&quot;#dsMain&quot;).insert();&#xD;
view.get(&quot;#dialogMain&quot;).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(&quot;#dgMain&quot;).getCurrentItem();&#xD;
if(cur){&#xD;
    view.get(&quot;#dialogMain&quot;).show();&#xD;
}else{&#xD;
    $alert(&quot;请勾选需要修改的数据!&quot;);&#xD;
}</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(&quot;#dgMain&quot;).getCurrentItem();&#xD;
if(cur){&#xD;
    view.get(&quot;#ajaxDel&quot;).set(&quot;parameter&quot;,cur).execute(function(result){&#xD;
        if(result){&#xD;
            $alert(result);&#xD;
        } else{&#xD;
            cur.remove();&#xD;
        }&#xD;
    });&#xD;
}else{&#xD;
    $alert(&quot;请勾选需要删除的数据!&quot;);&#xD;
}</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(&quot;#dsMain&quot;).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(&quot;#dgMain&quot;).get(&quot;selection&quot;);&#xD;
if(select &amp;&amp; select.length > 0){&#xD;
    view.get(&quot;#ajaxPush&quot;).set(&quot;parameter&quot;,select).execute(function(result){&#xD;
        view.get(&quot;#dsMain&quot;).flushAsync();&#xD;
        $notify(result);&#xD;
    });&#xD;
}else{&#xD;
    $alert(&quot;请勾选需要上报的数据!&quot;);&#xD;
}</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">//显示记录&#xD;
view.get(&quot;#iFrame&quot;).reload();&#xD;
view.get(&quot;#dialogLog&quot;).show();</ClientEvent>
        <Property name="caption">上传记录</Property>
        <Property name="iconClass">fa fa-bars</Property>
        <Property name="exClassName">btn-flush</Property>
      </Button>
    </Container>
    <Container>
      <Property name="exClassName">bg-color</Property>
      <DataGrid id="dgMain">
        <ClientEvent name="onDataRowDoubleClick">var data = view.get(&quot;#dsMain.data:#&quot;);&#xD;
if(data){&#xD;
    view.get(&quot;#dialogMain&quot;).show();&#xD;
}</ClientEvent>
        <Property name="dataSet">dsMain</Property>
        <Property name="readOnly">true</Property>
        <RowNumColumn/>
        <RowSelectorColumn>
          <Property name="caption">上传</Property>
        </RowSelectorColumn>
        <DataColumn name="jgzdbh">
          <Property name="property">jgzdbh</Property>
        </DataColumn>
        <DataColumn name="xzqhmc">
          <Property name="property">xzqhmc</Property>
        </DataColumn>
        <DataColumn name="jgzdmc">
          <Property name="property">jgzdmc</Property>
        </DataColumn>
        <DataColumn name="jcrq">
          <Property name="property">jcrq</Property>
        </DataColumn>
        <DataColumn name="sjcr">
          <Property name="property">sjcr</Property>
        </DataColumn>
        <DataColumn name="mj">
          <Property name="property">mj</Property>
        </DataColumn>
        <DataColumn name="CYRS">
          <Property name="property">CYRS</Property>
        </DataColumn>
        <DataColumn name="cplcfmj">
          <Property name="property">cplcfmj</Property>
        </DataColumn>
        <DataColumn name="sfyx">
          <Property name="property">sfyx</Property>
        </DataColumn>
      </DataGrid>
    </Container>
    <Dialog id="dialogMain">
      <Property name="width">85%</Property>
      <Property name="caption">军供站点信息</Property>
      <Property name="closeable">false</Property>
      <Property name="iconClass">fa fa-sliders</Property>
      <Buttons>
        <Button>
          <ClientEvent name="onClick">var cur = view.get(&quot;#dgMain&quot;).getCurrentItem();&#xD;
view.get(&quot;#updateSave&quot;).execute(function(){&#xD;
    self.get(&quot;parent&quot;).hide();&#xD;
    view.get(&quot;#dsMain&quot;).flushAsync();&#xD;
});</ClientEvent>
          <Property name="caption">确定</Property>
          <Property name="iconClass">fa fa-check</Property>
        </Button>
        <Button>
          <ClientEvent name="onClick">var cur = view.get(&quot;#dgMain&quot;).getCurrentItem();&#xD;
self.get(&quot;parent&quot;).hide();&#xD;
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="labelSeparator">:</Property>
          <Property name="labelPosition">left</Property>
          <Property name="labelAlign">right</Property>
          <Property name="labelWidth">130</Property>
          <AutoFormElement>
            <Property name="name">jgzdbh</Property>
            <Property name="property">jgzdbh</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">xzqhbm</Property>
            <Property name="property">xzqhbm</Property>
            <Property name="trigger">cddGbArea</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">xzqhmc</Property>
            <Property name="property">xzqhmc</Property>
            <Property name="trigger">cddGbArea</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">jgzdmc</Property>
            <Property name="property">jgzdmc</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">jgzdjc</Property>
            <Property name="property">jgzdjc</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">qyszbm</Property>
            <Property name="property">qyszbm</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">jgzdlb</Property>
            <Property name="property">jgzdlb</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">jcrq</Property>
            <Property name="property">jcrq</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">sjcr</Property>
            <Property name="property">sjcr</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">mj</Property>
            <Property name="property">mj</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">lxr</Property>
            <Property name="property">lxr</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">dh</Property>
            <Property name="property">dh</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">cz</Property>
            <Property name="property">cz</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">dz</Property>
            <Property name="property">dz</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">yzbm</Property>
            <Property name="property">yzbm</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">jd</Property>
            <Property name="property">jd</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">wd</Property>
            <Property name="property">wd</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">CYRS</Property>
            <Property name="property">CYRS</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">CLS</Property>
            <Property name="property">CLS</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">cplcfmj</Property>
            <Property name="property">cplcfmj</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">cplzxnl</Property>
            <Property name="property">cplzxnl</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">sfyx</Property>
            <Property name="property">sfyx</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement layoutConstraint="colSpan:3">
            <Property name="name">bz</Property>
            <Property name="property">bz</Property>
            <Editor/>
          </AutoFormElement>
        </AutoForm>
      </Children>
      <Tools/>
    </Dialog>
    <UpdateAction id="updateSave">
      <Property name="dataResolver">whjlApi1102PR#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">whjlApi1102PR#delData</Property>
    </AjaxAction>
    <AjaxAction id="ajaxPush">
      <Property name="service">whjlApi1102PR#pushData</Property>
    </AjaxAction>
    <CustomDropDown id="cddGbArea">
      <Property name="assignmentMap">xzqhbm=code,xzqhmc=name</Property>
      <Property name="height">500</Property>
      <Property name="minHeight">500</Property>
      <Property name="maxHeight">500</Property>
      <Property name="width">400</Property>
      <Container layout="regionPadding:5">
        <DataSet id="dsGBArea">
          <Property name="dataProvider">gbAreaPR#findByCode</Property>
          <Property name="dataType">[dtGBArea]</Property>
        </DataSet>
        <Container layout="hbox regionPadding:5">
          <TextEditor id="key2">
            <Property name="blankText"> -- ç¼–码或者名称 --</Property>
            <Property name="width">200</Property>
          </TextEditor>
          <Button>
            <ClientEvent name="onClick">var key = view.get(&quot;#key2.value&quot;);&#xD;
view.get(&quot;#dsGBArea&quot;).set(&quot;parameter&quot;,{key:key}).flushAsync();</ClientEvent>
            <Property name="iconClass">fa fa-search</Property>
            <Property name="caption">查询</Property>
          </Button>
          <Button>
            <ClientEvent name="onClick">var data = view.get(&quot;#dsGBArea.data:#&quot;);&#xD;
if (data) {&#xD;
    view.get(&quot;#cddGbArea&quot;).close(data.toJSON());&#xD;
}</ClientEvent>
            <Property name="caption">确定</Property>
            <Property name="iconClass">fa fa-check</Property>
          </Button>
        </Container>
        <DataGrid>
          <ClientEvent name="onDataRowDoubleClick">var data = view.get(&quot;#dsGBArea.data:#&quot;);&#xD;
if(data){&#xD;
    view.get(&quot;#cddGbArea&quot;).close(data.toJSON());&#xD;
}</ClientEvent>
          <Property name="dataSet">dsGBArea</Property>
          <Property name="readOnly">true</Property>
          <DataColumn name="code">
            <Property name="property">code</Property>
          </DataColumn>
          <DataColumn name="name">
            <Property name="property">name</Property>
          </DataColumn>
        </DataGrid>
      </Container>
    </CustomDropDown>
    <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(&quot;parent&quot;).hide();</ClientEvent>
          <Property name="caption">关闭</Property>
          <Property name="iconClass">fa fa-times</Property>
        </Button>
      </Buttons>
      <Children>
        <Container>
          <IFrame id="iFrame">
            <Property name="userData"></Property>
          </IFrame>
        </Container>
      </Children>
      <Tools/>
    </Dialog>
  </View>
</ViewConfig>
src/main/java/com/fzzy/whjl/view/WhjlApi1103.view.xml
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,314 @@
<?xml version="1.0" encoding="UTF-8"?>
<ViewConfig>
  <Arguments/>
  <Context/>
  <Model>
    <DataType name="dtMain">
      <Property name="creationType">com.fzzy.whjl.dto.WhjlApi1103</Property>
      <PropertyDef name="rybh">
        <Property/>
        <Property name="label">人员编号</Property>
      </PropertyDef>
      <PropertyDef name="jlqybh">
        <Property/>
        <Property name="label">军粮企业编号</Property>
      </PropertyDef>
      <PropertyDef name="jlqymc">
        <Property/>
        <Property name="label">军粮企业名称</Property>
      </PropertyDef>
      <PropertyDef name="jgzdbh">
        <Property/>
        <Property name="label">军供站点编号</Property>
      </PropertyDef>
      <PropertyDef name="jgzdmc">
        <Property/>
        <Property name="label">军供站点名称</Property>
      </PropertyDef>
      <PropertyDef name="ryxm">
        <Property/>
        <Property name="label">人员姓名</Property>
      </PropertyDef>
      <PropertyDef name="sfzhm">
        <Property/>
        <Property name="label">身份证编码</Property>
      </PropertyDef>
      <PropertyDef name="lxdh">
        <Property/>
        <Property name="label">联系电话</Property>
      </PropertyDef>
      <PropertyDef name="xl">
        <Property/>
        <Property name="label">学历</Property>
      </PropertyDef>
      <PropertyDef name="lxdz">
        <Property/>
        <Property name="label">联系地址</Property>
      </PropertyDef>
      <PropertyDef name="sfyx">
        <Property/>
        <Property name="label">是否启用</Property>
      </PropertyDef>
      <PropertyDef name="bz">
        <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">whjlApi1103PR#listData</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(&quot;#dsMain&quot;).insert();&#xD;
view.get(&quot;#dialogMain&quot;).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(&quot;#dgMain&quot;).getCurrentItem();&#xD;
if(cur){&#xD;
    view.get(&quot;#dialogMain&quot;).show();&#xD;
}else{&#xD;
    $alert(&quot;请勾选需要修改的数据!&quot;);&#xD;
}</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(&quot;#dgMain&quot;).getCurrentItem();&#xD;
if(cur){&#xD;
    view.get(&quot;#ajaxDel&quot;).set(&quot;parameter&quot;,cur).execute(function(result){&#xD;
        if(result){&#xD;
            $alert(result);&#xD;
        } else{&#xD;
            cur.remove();&#xD;
        }&#xD;
    });&#xD;
}else{&#xD;
    $alert(&quot;请勾选需要删除的数据!&quot;);&#xD;
}</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(&quot;#dsMain&quot;).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(&quot;#dgMain&quot;).get(&quot;selection&quot;);&#xD;
if(select &amp;&amp; select.length > 0){&#xD;
    view.get(&quot;#ajaxPush&quot;).set(&quot;parameter&quot;,select).execute(function(result){&#xD;
        view.get(&quot;#dsMain&quot;).flushAsync();&#xD;
        $notify(result);&#xD;
    });&#xD;
}else{&#xD;
    $alert(&quot;请勾选需要上报的数据!&quot;);&#xD;
}</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">//显示记录&#xD;
view.get(&quot;#iFrame&quot;).reload();&#xD;
view.get(&quot;#dialogLog&quot;).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(&quot;#dsMain.data:#&quot;);&#xD;
if(data){&#xD;
    view.get(&quot;#dialogMain&quot;).show();&#xD;
}</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="ryxm">
          <Property name="property">ryxm</Property>
        </DataColumn>
        <DataColumn name="jlqymc">
          <Property name="property">jlqymc</Property>
        </DataColumn>
        <DataColumn name="jgzdmc">
          <Property name="property">jgzdmc</Property>
        </DataColumn>
        <DataColumn name="sfzhm">
          <Property name="property">sfzhm</Property>
        </DataColumn>
        <DataColumn name="lxdh">
          <Property name="property">lxdh</Property>
        </DataColumn>
        <DataColumn name="xl">
          <Property name="property">xl</Property>
        </DataColumn>
        <DataColumn name="lxdz">
          <Property name="property">lxdz</Property>
        </DataColumn>
        <DataColumn name="sfyx">
          <Property name="property">sfyx</Property>
        </DataColumn>
      </DataGrid>
    </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(&quot;#dgMain&quot;).getCurrentItem();&#xD;
view.get(&quot;#updateSave&quot;).execute(function(){&#xD;
    self.get(&quot;parent&quot;).hide();&#xD;
    view.get(&quot;#dsMain&quot;).flushAsync();&#xD;
});</ClientEvent>
          <Property name="caption">确定</Property>
          <Property name="iconClass">fa fa-check</Property>
        </Button>
        <Button>
          <ClientEvent name="onClick">var cur = view.get(&quot;#dgMain&quot;).getCurrentItem();&#xD;
self.get(&quot;parent&quot;).hide();&#xD;
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">rybh</Property>
            <Property name="property">rybh</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">ryxm</Property>
            <Property name="property">ryxm</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">sfzhm</Property>
            <Property name="property">sfzhm</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">lxdh</Property>
            <Property name="property">lxdh</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">xl</Property>
            <Property name="property">xl</Property>
            <Property name="trigger">listDropXL</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">lxdz</Property>
            <Property name="property">lxdz</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">sfyx</Property>
            <Property name="property">sfyx</Property>
            <Property name="trigger">listDropYN</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">bz</Property>
            <Property name="property">bz</Property>
            <Editor/>
          </AutoFormElement>
        </AutoForm>
      </Children>
      <Tools/>
    </Dialog>
    <UpdateAction id="updateSave">
      <Property name="dataResolver">whjlApi1103PR#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">whjlApi1103PR#delData</Property>
    </AjaxAction>
    <AjaxAction id="ajaxPush">
      <Property name="service">whjlApi1103PR#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(&quot;parent&quot;).hide();</ClientEvent>
          <Property name="caption">关闭</Property>
          <Property name="iconClass">fa fa-times</Property>
        </Button>
      </Buttons>
      <Children>
        <Container>
          <IFrame id="iFrame">
            <Property name="userData"/>
          </IFrame>
        </Container>
      </Children>
      <Tools/>
    </Dialog>
    <ListDropDown id="listDropXL">
      <Property name="items">博士,硕士,本科,大专,中专,高中,初中</Property>
    </ListDropDown>
    <ListDropDown id="listDropYN">
      <Property name="items">是,否</Property>
    </ListDropDown>
  </View>
</ViewConfig>
src/main/java/com/fzzy/whjl/view/WhjlApi1104.view.xml
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,425 @@
<?xml version="1.0" encoding="UTF-8"?>
<ViewConfig>
  <Arguments/>
  <Context/>
  <Model>
    <DataType name="dtMain">
      <Property name="creationType">com.fzzy.whjl.dto.WhjlApi1104</Property>
      <PropertyDef name="lydbh">
        <Property/>
        <Property name="label">粮油店编号</Property>
      </PropertyDef>
      <PropertyDef name="xzqhbm">
        <Property/>
        <Property name="label">行政区划编码</Property>
      </PropertyDef>
      <PropertyDef name="xzqhmc">
        <Property/>
        <Property name="label">行政区划名称</Property>
      </PropertyDef>
      <PropertyDef name="jlqybh">
        <Property/>
        <Property name="label">军粮企业编号</Property>
      </PropertyDef>
      <PropertyDef name="jlqymc">
        <Property/>
        <Property name="label">军粮企业名称</Property>
      </PropertyDef>
      <PropertyDef name="jgzdbh">
        <Property/>
        <Property name="label">军供站点编号</Property>
      </PropertyDef>
      <PropertyDef name="jgzdmc">
        <Property/>
        <Property name="label">军供站点名称</Property>
      </PropertyDef>
      <PropertyDef name="lydmc">
        <Property/>
        <Property name="label">粮油店名称</Property>
      </PropertyDef>
      <PropertyDef name="lxr">
        <Property/>
        <Property name="label">联系人</Property>
      </PropertyDef>
      <PropertyDef name="lxrdh">
        <Property/>
        <Property name="label">联系电话</Property>
      </PropertyDef>
      <PropertyDef name="fgfw">
        <Property name="dataType">Double</Property>
        <Property name="label">覆盖范围</Property>
        <Property name="displayFormat">#0.00公里</Property>
      </PropertyDef>
      <PropertyDef name="jd">
        <Property name="dataType">Double</Property>
        <Property name="label">经度</Property>
        <Property name="displayFormat">#0.000000</Property>
      </PropertyDef>
      <PropertyDef name="wd">
        <Property name="dataType">Double</Property>
        <Property name="label">纬度</Property>
        <Property name="displayFormat">#0.000000</Property>
      </PropertyDef>
      <PropertyDef name="sjcr">
        <Property name="dataType">Double</Property>
        <Property name="label">实际仓容</Property>
        <Property name="displayFormat">#0.00吨</Property>
      </PropertyDef>
      <PropertyDef name="dz">
        <Property/>
        <Property name="label">地址</Property>
      </PropertyDef>
      <PropertyDef name="bz">
        <Property/>
        <Property name="label">备注</Property>
      </PropertyDef>
    </DataType>
    <DataType name="dtGBArea">
      <Property name="creationType">com.fzzy.api.entity.GbArea</Property>
      <PropertyDef name="code">
        <Property></Property>
        <Property name="label">接口编码</Property>
      </PropertyDef>
      <PropertyDef name="name">
        <Property></Property>
        <Property name="label">名称</Property>
      </PropertyDef>
      <PropertyDef name="parentCode">
        <Property></Property>
        <Property name="label">父编码</Property>
      </PropertyDef>
      <PropertyDef name="disabledTag">
        <Property></Property>
        <Property name="label">禁用</Property>
      </PropertyDef>
      <PropertyDef name="simple">
        <Property></Property>
        <Property name="label">是否默认</Property>
      </PropertyDef>
      <PropertyDef name="remark">
        <Property></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">whjlApi1104PR#listData</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(&quot;#dsMain&quot;).insert();&#xD;
view.get(&quot;#dialogMain&quot;).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(&quot;#dgMain&quot;).getCurrentItem();&#xD;
if(cur){&#xD;
    view.get(&quot;#dialogMain&quot;).show();&#xD;
}else{&#xD;
    $alert(&quot;请勾选需要修改的数据!&quot;);&#xD;
}</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(&quot;#dgMain&quot;).getCurrentItem();&#xD;
if(cur){&#xD;
    view.get(&quot;#ajaxDel&quot;).set(&quot;parameter&quot;,cur).execute(function(result){&#xD;
        if(result){&#xD;
            $alert(result);&#xD;
        } else{&#xD;
            cur.remove();&#xD;
        }&#xD;
    });&#xD;
}else{&#xD;
    $alert(&quot;请勾选需要删除的数据!&quot;);&#xD;
}</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(&quot;#dsMain&quot;).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(&quot;#dgMain&quot;).get(&quot;selection&quot;);&#xD;
if(select &amp;&amp; select.length > 0){&#xD;
    view.get(&quot;#ajaxPush&quot;).set(&quot;parameter&quot;,select).execute(function(result){&#xD;
        view.get(&quot;#dsMain&quot;).flushAsync();&#xD;
        $notify(result);&#xD;
    });&#xD;
}else{&#xD;
    $alert(&quot;请勾选需要上报的数据!&quot;);&#xD;
}</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">//显示记录&#xD;
view.get(&quot;#iFrame&quot;).reload();&#xD;
view.get(&quot;#dialogLog&quot;).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(&quot;#dsMain.data:#&quot;);&#xD;
if(data){&#xD;
    view.get(&quot;#dialogMain&quot;).show();&#xD;
}</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="lydbh">
          <Property name="property">lydbh</Property>
        </DataColumn>
        <DataColumn name="xzqhmc">
          <Property name="property">xzqhmc</Property>
        </DataColumn>
        <DataColumn name="jlqymc">
          <Property name="property">jlqymc</Property>
        </DataColumn>
        <DataColumn name="jgzdmc">
          <Property name="property">jgzdmc</Property>
        </DataColumn>
        <DataColumn name="lydmc">
          <Property name="property">lydmc</Property>
        </DataColumn>
        <DataColumn name="lxr">
          <Property name="property">lxr</Property>
        </DataColumn>
        <DataColumn name="lxrdh">
          <Property name="property">lxrdh</Property>
        </DataColumn>
        <DataColumn name="sjcr">
          <Property name="property">sjcr</Property>
        </DataColumn>
        <DataColumn name="dz">
          <Property name="property">dz</Property>
        </DataColumn>
      </DataGrid>
    </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(&quot;#dgMain&quot;).getCurrentItem();&#xD;
view.get(&quot;#updateSave&quot;).execute(function(){&#xD;
    self.get(&quot;parent&quot;).hide();&#xD;
    view.get(&quot;#dsMain&quot;).flushAsync();&#xD;
});</ClientEvent>
          <Property name="caption">确定</Property>
          <Property name="iconClass">fa fa-check</Property>
        </Button>
        <Button>
          <ClientEvent name="onClick">var cur = view.get(&quot;#dgMain&quot;).getCurrentItem();&#xD;
self.get(&quot;parent&quot;).hide();&#xD;
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="labelAlign">right</Property>
          <Property name="labelWidth">120</Property>
          <AutoFormElement>
            <Property name="name">lydbh</Property>
            <Property name="property">lydbh</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">xzqhbm</Property>
            <Property name="property">xzqhbm</Property>
            <Property name="trigger">cddGbArea</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">xzqhmc</Property>
            <Property name="property">xzqhmc</Property>
            <Property name="trigger">cddGbArea</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">lydmc</Property>
            <Property name="property">lydmc</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">lxr</Property>
            <Property name="property">lxr</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">lxrdh</Property>
            <Property name="property">lxrdh</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">fgfw</Property>
            <Property name="property">fgfw</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">jd</Property>
            <Property name="property">jd</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">wd</Property>
            <Property name="property">wd</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">sjcr</Property>
            <Property name="property">sjcr</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">dz</Property>
            <Property name="property">dz</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">bz</Property>
            <Property name="property">bz</Property>
            <Editor/>
          </AutoFormElement>
        </AutoForm>
      </Children>
      <Tools/>
    </Dialog>
    <UpdateAction id="updateSave">
      <Property name="dataResolver">whjlApi1101PR#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">whjlApi1101PR#delData</Property>
    </AjaxAction>
    <AjaxAction id="ajaxPush">
      <Property name="service">whjlApi1101PR#pushData</Property>
    </AjaxAction>
    <CustomDropDown id="cddGbArea">
      <Property name="assignmentMap">xzqhbm=code,xzqhmc=name</Property>
      <Property name="height">500</Property>
      <Property name="minHeight">500</Property>
      <Property name="maxHeight">500</Property>
      <Property name="width">400</Property>
      <Container layout="regionPadding:5">
        <DataSet id="dsGBArea">
          <Property name="dataProvider">gbAreaPR#findByCode</Property>
          <Property name="dataType">[dtGBArea]</Property>
        </DataSet>
        <Container layout="hbox regionPadding:5">
          <TextEditor id="key2">
            <Property name="blankText"> -- ç¼–码或者名称 --</Property>
            <Property name="width">200</Property>
          </TextEditor>
          <Button>
            <ClientEvent name="onClick">var key = view.get(&quot;#key2.value&quot;);&#xD;
view.get(&quot;#dsGBArea&quot;).set(&quot;parameter&quot;,{key:key}).flushAsync();</ClientEvent>
            <Property name="iconClass">fa fa-search</Property>
            <Property name="caption">查询</Property>
          </Button>
          <Button>
            <ClientEvent name="onClick">var data = view.get(&quot;#dsGBArea.data:#&quot;);&#xD;
if (data) {&#xD;
    view.get(&quot;#cddGbArea&quot;).close(data.toJSON());&#xD;
}</ClientEvent>
            <Property name="caption">确定</Property>
            <Property name="iconClass">fa fa-check</Property>
          </Button>
        </Container>
        <DataGrid>
          <ClientEvent name="onDataRowDoubleClick">var data = view.get(&quot;#dsGBArea.data:#&quot;);&#xD;
if(data){&#xD;
    view.get(&quot;#cddGbArea&quot;).close(data.toJSON());&#xD;
}</ClientEvent>
          <Property name="dataSet">dsGBArea</Property>
          <Property name="readOnly">true</Property>
          <DataColumn name="code">
            <Property name="property">code</Property>
          </DataColumn>
          <DataColumn name="name">
            <Property name="property">name</Property>
          </DataColumn>
        </DataGrid>
      </Container>
    </CustomDropDown>
    <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(&quot;parent&quot;).hide();</ClientEvent>
          <Property name="caption">关闭</Property>
          <Property name="iconClass">fa fa-times</Property>
        </Button>
      </Buttons>
      <Children>
        <Container>
          <IFrame id="iFrame">
            <Property name="userData"/>
          </IFrame>
        </Container>
      </Children>
      <Tools/>
    </Dialog>
  </View>
</ViewConfig>
src/main/java/com/fzzy/whjl/view/WhjlApi1105.view.xml
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,462 @@
<?xml version="1.0" encoding="UTF-8"?>
<ViewConfig>
  <Arguments/>
  <Context/>
  <Model>
    <DataType name="dtMain">
      <Property name="creationType">com.fzzy.whjl.dto.WhjlApi1105</Property>
      <PropertyDef name="cfbh">
        <Property/>
        <Property name="label">仓房编号</Property>
      </PropertyDef>
      <PropertyDef name="jlqybh">
        <Property/>
        <Property name="label">军粮企业编号</Property>
      </PropertyDef>
      <PropertyDef name="jlqymc">
        <Property/>
        <Property name="label">军粮企业名称</Property>
      </PropertyDef>
      <PropertyDef name="jgzdbh">
        <Property/>
        <Property name="label">军供站点编号</Property>
      </PropertyDef>
      <PropertyDef name="jgzdmc">
        <Property/>
        <Property name="label">军供站点名称</Property>
      </PropertyDef>
      <PropertyDef name="cfmc">
        <Property/>
        <Property name="label">仓房名称</Property>
      </PropertyDef>
      <PropertyDef name="cflx">
        <Property/>
        <Property name="label">仓房类型</Property>
        <Property name="mapping">
          <Property name="mapValues">${dorado.getDataProvider(&quot;apiTriggerService#trigger&quot;).getResult(&quot;CFLX&quot;)}</Property>
          <Property name="keyProperty">code</Property>
          <Property name="valueProperty">name</Property>
        </Property>
      </PropertyDef>
      <PropertyDef name="cfjg">
        <Property/>
        <Property name="label">仓房结构</Property>
      </PropertyDef>
      <PropertyDef name="jzlx">
        <Property/>
        <Property name="label">建筑类型</Property>
      </PropertyDef>
      <PropertyDef name="cfcdzj">
        <Property name="dataType">Double</Property>
        <Property name="label">仓房长度(直径)</Property>
        <Property name="displayFormat">#0.0ç±³</Property>
      </PropertyDef>
      <PropertyDef name="cfkd">
        <Property name="dataType">Double</Property>
        <Property name="label">仓房宽度</Property>
        <Property name="displayFormat">#0.0ç±³</Property>
      </PropertyDef>
      <PropertyDef name="cfgd">
        <Property name="dataType">Double</Property>
        <Property name="label">仓房高度</Property>
        <Property name="displayFormat">#0.0ç±³</Property>
      </PropertyDef>
      <PropertyDef name="cfsjcr">
        <Property name="dataType">Double</Property>
        <Property name="label">仓房设计仓容</Property>
        <Property name="displayFormat">#0.00吨</Property>
      </PropertyDef>
      <PropertyDef name="cfsjcrO1">
        <Property name="dataType">Double</Property>
        <Property name="label">仓房实际仓容</Property>
        <Property name="displayFormat">#0.00吨</Property>
      </PropertyDef>
      <PropertyDef name="lxdh">
        <Property/>
        <Property name="label">联系电话</Property>
      </PropertyDef>
      <PropertyDef name="cfjd">
        <Property name="dataType">Double</Property>
        <Property name="label">仓房经度</Property>
        <Property name="displayFormat">#0.000000度</Property>
      </PropertyDef>
      <PropertyDef name="cfwd">
        <Property name="dataType">Double</Property>
        <Property name="label">仓房纬度</Property>
        <Property name="displayFormat">#0.000000度</Property>
      </PropertyDef>
      <PropertyDef name="qyrq">
        <Property/>
        <Property name="label">启用日期</Property>
        <Property name="dataType">Date</Property>
      </PropertyDef>
      <PropertyDef name="cfzt">
        <Property/>
        <Property name="label">仓房状态</Property>
        <Property name="mapping">
          <Property name="mapValues">${dorado.getDataProvider(&quot;apiTriggerService#trigger&quot;).getResult(&quot;CFZT&quot;)}</Property>
          <Property name="keyProperty">code</Property>
          <Property name="valueProperty">name</Property>
        </Property>
      </PropertyDef>
      <PropertyDef name="cfsyzt">
        <Property/>
        <Property name="label">仓房使用状态</Property>
        <Property name="mapping">
          <Property name="keyProperty">code</Property>
          <Property name="valueProperty">name</Property>
          <Property name="mapValues">${dorado.getDataProvider(&quot;apiTriggerService#trigger&quot;).getResult(&quot;HWZT&quot;)}</Property>
        </Property>
      </PropertyDef>
      <PropertyDef name="zp">
        <Property name="dataType">Double</Property>
        <Property name="label">罩棚</Property>
        <Property name="displayFormat">#0.00吨</Property>
      </PropertyDef>
      <PropertyDef name="jyd">
        <Property name="dataType">Double</Property>
        <Property name="label">简易囤</Property>
        <Property name="displayFormat">#0.00吨</Property>
      </PropertyDef>
      <PropertyDef name="jyc">
        <Property name="dataType">Double</Property>
        <Property name="label">简易仓</Property>
        <Property name="displayFormat">#0.00吨</Property>
      </PropertyDef>
      <PropertyDef name="sfyx">
        <Property/>
        <Property name="label">是否有效</Property>
      </PropertyDef>
      <PropertyDef name="bz">
        <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">whjlApi1105PR#listData</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(&quot;#dsMain&quot;).insert();&#xD;
view.get(&quot;#dialogMain&quot;).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(&quot;#dgMain&quot;).getCurrentItem();&#xD;
if(cur){&#xD;
    view.get(&quot;#dialogMain&quot;).show();&#xD;
}else{&#xD;
    $alert(&quot;请勾选需要修改的数据!&quot;);&#xD;
}</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(&quot;#dgMain&quot;).getCurrentItem();&#xD;
if(cur){&#xD;
    view.get(&quot;#ajaxDel&quot;).set(&quot;parameter&quot;,cur).execute(function(result){&#xD;
        if(result){&#xD;
            $alert(result);&#xD;
        } else{&#xD;
            cur.remove();&#xD;
        }&#xD;
    });&#xD;
}else{&#xD;
    $alert(&quot;请勾选需要删除的数据!&quot;);&#xD;
}</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(&quot;#dsMain&quot;).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(&quot;#dgMain&quot;).get(&quot;selection&quot;);&#xD;
if(select &amp;&amp; select.length > 0){&#xD;
    view.get(&quot;#ajaxPush&quot;).set(&quot;parameter&quot;,select).execute(function(result){&#xD;
        view.get(&quot;#dsMain&quot;).flushAsync();&#xD;
        $notify(result);&#xD;
    });&#xD;
}else{&#xD;
    $alert(&quot;请勾选需要上报的数据!&quot;);&#xD;
}</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">//显示记录&#xD;
view.get(&quot;#iFrame&quot;).reload();&#xD;
view.get(&quot;#dialogLog&quot;).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(&quot;#dsMain.data:#&quot;);&#xD;
if(data){&#xD;
    view.get(&quot;#dialogMain&quot;).show();&#xD;
}</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="cfmc">
          <Property name="property">cfmc</Property>
        </DataColumn>
        <DataColumn name="jlqymc">
          <Property name="property">jlqymc</Property>
        </DataColumn>
        <DataColumn name="jgzdmc">
          <Property name="property">jgzdmc</Property>
        </DataColumn>
        <DataColumn name="cfcdzj">
          <Property name="property">cfcdzj</Property>
        </DataColumn>
        <DataColumn name="cfkd">
          <Property name="property">cfkd</Property>
        </DataColumn>
        <DataColumn name="cfgd">
          <Property name="property">cfgd</Property>
        </DataColumn>
        <DataColumn name="cfsjcrO1">
          <Property name="property">cfsjcrO1</Property>
        </DataColumn>
        <DataColumn name="qyrq">
          <Property name="property">qyrq</Property>
        </DataColumn>
        <DataColumn name="cfzt">
          <Property name="property">cfzt</Property>
        </DataColumn>
        <DataColumn name="cfsyzt">
          <Property name="property">cfsyzt</Property>
        </DataColumn>
        <DataColumn name="sfyx">
          <Property name="property">sfyx</Property>
        </DataColumn>
      </DataGrid>
    </Container>
    <Dialog id="dialogMain">
      <Property name="width">85%</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(&quot;#dgMain&quot;).getCurrentItem();&#xD;
view.get(&quot;#updateSave&quot;).execute(function(){&#xD;
    self.get(&quot;parent&quot;).hide();&#xD;
    view.get(&quot;#dsMain&quot;).flushAsync();&#xD;
});</ClientEvent>
          <Property name="caption">确定</Property>
          <Property name="iconClass">fa fa-check</Property>
        </Button>
        <Button>
          <ClientEvent name="onClick">var cur = view.get(&quot;#dgMain&quot;).getCurrentItem();&#xD;
self.get(&quot;parent&quot;).hide();&#xD;
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">cfbh</Property>
            <Property name="property">cfbh</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">cfmc</Property>
            <Property name="property">cfmc</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">cflx</Property>
            <Property name="property">cflx</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">cfjg</Property>
            <Property name="property">cfjg</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">jzlx</Property>
            <Property name="property">jzlx</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">cfcdzj</Property>
            <Property name="property">cfcdzj</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">cfkd</Property>
            <Property name="property">cfkd</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">cfgd</Property>
            <Property name="property">cfgd</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">cfsjcr</Property>
            <Property name="property">cfsjcr</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">cfsjcrO1</Property>
            <Property name="property">cfsjcrO1</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">lxdh</Property>
            <Property name="property">lxdh</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">cfjd</Property>
            <Property name="property">cfjd</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">cfwd</Property>
            <Property name="property">cfwd</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">qyrq</Property>
            <Property name="property">qyrq</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">cfzt</Property>
            <Property name="property">cfzt</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">cfsyzt</Property>
            <Property name="property">cfsyzt</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">zp</Property>
            <Property name="property">zp</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">jyd</Property>
            <Property name="property">jyd</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">jyc</Property>
            <Property name="property">jyc</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">sfyx</Property>
            <Property name="property">sfyx</Property>
            <Property name="trigger">listDropYN</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement layoutConstraint="colSpan:3">
            <Property name="name">bz</Property>
            <Property name="property">bz</Property>
            <Editor/>
          </AutoFormElement>
        </AutoForm>
      </Children>
      <Tools/>
    </Dialog>
    <UpdateAction id="updateSave">
      <Property name="dataResolver">whjlApi1105PR#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">whjlApi1105PR#delData</Property>
    </AjaxAction>
    <AjaxAction id="ajaxPush">
      <Property name="service">whjlApi1105PR#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(&quot;parent&quot;).hide();</ClientEvent>
          <Property name="caption">关闭</Property>
          <Property name="iconClass">fa fa-times</Property>
        </Button>
      </Buttons>
      <Children>
        <Container>
          <IFrame id="iFrame">
            <Property name="userData"></Property>
          </IFrame>
        </Container>
      </Children>
      <Tools/>
    </Dialog>
    <ListDropDown id="listDropYN">
      <Property name="items">是,否</Property>
    </ListDropDown>
  </View>
</ViewConfig>
src/main/java/com/fzzy/whjl/view/WhjlApi1106.view.xml
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,418 @@
<?xml version="1.0" encoding="UTF-8"?>
<ViewConfig>
  <Arguments/>
  <Context/>
  <Model>
    <DataType name="dtMain">
      <Property name="creationType">com.fzzy.whjl.dto.WhjlApi1106</Property>
      <PropertyDef name="ajbh">
        <Property/>
        <Property name="label">廒间编号</Property>
      </PropertyDef>
      <PropertyDef name="jlqybh">
        <Property/>
        <Property name="label">军粮企业编号</Property>
      </PropertyDef>
      <PropertyDef name="jlqymc">
        <Property/>
        <Property name="label">军粮企业名称</Property>
      </PropertyDef>
      <PropertyDef name="jgzdbh">
        <Property/>
        <Property name="label">军供站点编号</Property>
      </PropertyDef>
      <PropertyDef name="jgzdmc">
        <Property/>
        <Property name="label">军供站点名称</Property>
      </PropertyDef>
      <PropertyDef name="sscfbh">
        <Property/>
        <Property name="label">仓房编号</Property>
      </PropertyDef>
      <PropertyDef name="sscfmc">
        <Property/>
        <Property name="label">仓房名称</Property>
      </PropertyDef>
      <PropertyDef name="ajmc">
        <Property/>
        <Property name="label">廒间名称</Property>
      </PropertyDef>
      <PropertyDef name="ajcd">
        <Property name="dataType">Double</Property>
        <Property name="label">廒间长度</Property>
        <Property name="displayFormat">#0.0ç±³</Property>
      </PropertyDef>
      <PropertyDef name="ajkd">
        <Property name="dataType">Double</Property>
        <Property name="label">廒间宽度</Property>
        <Property name="displayFormat">#0.0ç±³</Property>
      </PropertyDef>
      <PropertyDef name="ajgd">
        <Property/>
        <Property name="label">廒间高度</Property>
        <Property name="dataType">Double</Property>
        <Property name="displayFormat">#0.0ç±³</Property>
      </PropertyDef>
      <PropertyDef name="ajsjcr">
        <Property name="dataType">Double</Property>
        <Property name="label">廒间设计仓容</Property>
        <Property name="displayFormat">#0.00吨</Property>
      </PropertyDef>
      <PropertyDef name="ajsjcr01">
        <Property name="dataType">Double</Property>
        <Property name="label">廒间实际仓容</Property>
        <Property name="displayFormat">#0.00吨</Property>
      </PropertyDef>
      <PropertyDef name="ajlxdh">
        <Property/>
        <Property name="label">廒间联系电话</Property>
      </PropertyDef>
      <PropertyDef name="ajjd">
        <Property name="dataType">Double</Property>
        <Property name="label">廒间经度</Property>
        <Property name="displayFormat">#0.000000度</Property>
      </PropertyDef>
      <PropertyDef name="ajwd">
        <Property name="dataType">Double</Property>
        <Property name="label">廒间纬度</Property>
        <Property name="displayFormat">#0.000000度</Property>
      </PropertyDef>
      <PropertyDef name="ajqyrq">
        <Property name="dataType">Date</Property>
        <Property name="label">廒间启用日期</Property>
      </PropertyDef>
      <PropertyDef name="ajzt">
        <Property/>
        <Property name="label">廒间状态</Property>
        <Property name="mapping">
          <Property name="mapValues">${dorado.getDataProvider(&quot;apiTriggerService#trigger&quot;).getResult(&quot;CFZT&quot;)}</Property>
          <Property name="keyProperty">code</Property>
          <Property name="valueProperty">name</Property>
        </Property>
      </PropertyDef>
      <PropertyDef name="ajsyzt">
        <Property/>
        <Property name="label">廒间使用状态</Property>
        <Property name="mapping">
          <Property name="mapValues">${dorado.getDataProvider(&quot;apiTriggerService#trigger&quot;).getResult(&quot;HWZT&quot;)}</Property>
          <Property name="keyProperty">code</Property>
          <Property name="valueProperty">name</Property>
        </Property>
      </PropertyDef>
      <PropertyDef name="sfyx">
        <Property/>
        <Property name="label">是否有效</Property>
      </PropertyDef>
      <PropertyDef name="bz">
        <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">whjlApi1106PR#listData</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(&quot;#dsMain&quot;).insert();&#xD;
view.get(&quot;#dialogMain&quot;).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(&quot;#dgMain&quot;).getCurrentItem();&#xD;
if(cur){&#xD;
    view.get(&quot;#dialogMain&quot;).show();&#xD;
}else{&#xD;
    $alert(&quot;请勾选需要修改的数据!&quot;);&#xD;
}</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(&quot;#dgMain&quot;).getCurrentItem();&#xD;
if(cur){&#xD;
    view.get(&quot;#ajaxDel&quot;).set(&quot;parameter&quot;,cur).execute(function(result){&#xD;
        if(result){&#xD;
            $alert(result);&#xD;
        } else{&#xD;
            cur.remove();&#xD;
        }&#xD;
    });&#xD;
}else{&#xD;
    $alert(&quot;请勾选需要删除的数据!&quot;);&#xD;
}</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(&quot;#dsMain&quot;).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(&quot;#dgMain&quot;).get(&quot;selection&quot;);&#xD;
if(select &amp;&amp; select.length > 0){&#xD;
    view.get(&quot;#ajaxPush&quot;).set(&quot;parameter&quot;,select).execute(function(result){&#xD;
        view.get(&quot;#dsMain&quot;).flushAsync();&#xD;
        $notify(result);&#xD;
    });&#xD;
}else{&#xD;
    $alert(&quot;请勾选需要上报的数据!&quot;);&#xD;
}</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">//显示记录&#xD;
view.get(&quot;#iFrame&quot;).reload();&#xD;
view.get(&quot;#dialogLog&quot;).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(&quot;#dsMain.data:#&quot;);&#xD;
if(data){&#xD;
    view.get(&quot;#dialogMain&quot;).show();&#xD;
}</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="ajmc">
          <Property name="property">ajmc</Property>
        </DataColumn>
        <DataColumn name="sscfmc">
          <Property name="property">sscfmc</Property>
        </DataColumn>
        <DataColumn name="ajcd">
          <Property name="property">ajcd</Property>
        </DataColumn>
        <DataColumn name="ajkd">
          <Property name="property">ajkd</Property>
        </DataColumn>
        <DataColumn name="ajgd">
          <Property name="property">ajgd</Property>
        </DataColumn>
        <DataColumn name="ajsjcr">
          <Property name="property">ajsjcr</Property>
        </DataColumn>
        <DataColumn name="ajsjcr01">
          <Property name="property">ajsjcr01</Property>
        </DataColumn>
        <DataColumn name="ajqyrq">
          <Property name="property">ajqyrq</Property>
        </DataColumn>
        <DataColumn name="ajzt">
          <Property name="property">ajzt</Property>
        </DataColumn>
        <DataColumn name="ajsyzt">
          <Property name="property">ajsyzt</Property>
        </DataColumn>
        <DataColumn name="sfyx">
          <Property name="property">sfyx</Property>
        </DataColumn>
      </DataGrid>
    </Container>
    <Dialog id="dialogMain">
      <Property name="width">85%</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(&quot;#dgMain&quot;).getCurrentItem();&#xD;
view.get(&quot;#updateSave&quot;).execute(function(){&#xD;
    self.get(&quot;parent&quot;).hide();&#xD;
    view.get(&quot;#dsMain&quot;).flushAsync();&#xD;
});</ClientEvent>
          <Property name="caption">确定</Property>
          <Property name="iconClass">fa fa-check</Property>
        </Button>
        <Button>
          <ClientEvent name="onClick">var cur = view.get(&quot;#dgMain&quot;).getCurrentItem();&#xD;
self.get(&quot;parent&quot;).hide();&#xD;
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">ajbh</Property>
            <Property name="property">ajbh</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">sscfbh</Property>
            <Property name="property">sscfbh</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">sscfmc</Property>
            <Property name="property">sscfmc</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">ajmc</Property>
            <Property name="property">ajmc</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">ajcd</Property>
            <Property name="property">ajcd</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">ajkd</Property>
            <Property name="property">ajkd</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">ajgd</Property>
            <Property name="property">ajgd</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">ajsjcr</Property>
            <Property name="property">ajsjcr</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">ajsjcr01</Property>
            <Property name="property">ajsjcr01</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">ajlxdh</Property>
            <Property name="property">ajlxdh</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">ajjd</Property>
            <Property name="property">ajjd</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">ajwd</Property>
            <Property name="property">ajwd</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">ajqyrq</Property>
            <Property name="property">ajqyrq</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">ajzt</Property>
            <Property name="property">ajzt</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">ajsyzt</Property>
            <Property name="property">ajsyzt</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">sfyx</Property>
            <Property name="property">sfyx</Property>
            <Property name="trigger">listDropYN</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">bz</Property>
            <Property name="property">bz</Property>
            <Editor/>
          </AutoFormElement>
        </AutoForm>
      </Children>
      <Tools/>
    </Dialog>
    <UpdateAction id="updateSave">
      <Property name="dataResolver">whjlApi1106PR#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">whjlApi1106PR#delData</Property>
    </AjaxAction>
    <AjaxAction id="ajaxPush">
      <Property name="service">whjlApi1106PR#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(&quot;parent&quot;).hide();</ClientEvent>
          <Property name="caption">关闭</Property>
          <Property name="iconClass">fa fa-times</Property>
        </Button>
      </Buttons>
      <Children>
        <Container>
          <IFrame id="iFrame">
            <Property name="userData"></Property>
          </IFrame>
        </Container>
      </Children>
      <Tools/>
    </Dialog>
    <ListDropDown id="listDropYN">
      <Property name="items">是,否</Property>
    </ListDropDown>
  </View>
</ViewConfig>
src/main/java/com/fzzy/whjl/view/pr/WhjlApi1101PR.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,65 @@
package com.fzzy.whjl.view.pr;
import com.bstek.dorado.annotation.DataProvider;
import com.bstek.dorado.annotation.DataResolver;
import com.bstek.dorado.annotation.Expose;
import com.fzzy.whjl.dto.WhjlApi1101;
import org.springframework.stereotype.Component;
import java.util.List;
/**
 * å†›ç²®ä¼ä¸š-军粮企业信息
 *
 * @Author:YAN
 */
@Component
public class WhjlApi1101PR {
    /**
     * èŽ·å–åˆ—è¡¨ä¿¡æ¯
     * whjlApi1101PR#listData
     *
     * @return
     */
    @DataProvider
    public List<WhjlApi1101> listData() {
        return null;
    }
    /**
     * æ›´æ–°æˆ–修改
     * whjlApi1101PR#saveData
     *
     * @param data
     * @return
     */
    @DataResolver
    public String saveData(WhjlApi1101 data) {
        return null;
    }
    /**
     * åˆ é™¤
     * whjlApi1101PR#delData
     *
     * @param data
     * @return
     */
    @Expose
    public String delData(WhjlApi1101 data) {
        return null;
    }
    /**
     * ä¸Šä¼ 
     * whjlApi1101PR#pushData
     *
     * @param items
     * @return
     */
    @Expose
    public String pushData(List<WhjlApi1101> items) {
        return null;
    }
}
src/main/java/com/fzzy/whjl/view/pr/WhjlApi1102PR.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,64 @@
package com.fzzy.whjl.view.pr;
import com.bstek.dorado.annotation.DataProvider;
import com.bstek.dorado.annotation.DataResolver;
import com.bstek.dorado.annotation.Expose;
import com.fzzy.whjl.dto.WhjlApi1102;
import org.springframework.stereotype.Component;
import java.util.List;
/**
 * å†›ç²®ä¼ä¸š-军供站点信息
 *
 * @Author:YAN
 */
@Component
public class WhjlApi1102PR {
    /**
     * èŽ·å–åˆ—è¡¨ä¿¡æ¯
     * whjlApi1102PR#listData
     *
     * @return
     */
    @DataProvider
    public List<WhjlApi1102> listData() {
        return null;
    }
    /**
     * æ›´æ–°æˆ–修改
     * whjlApi1102PR#saveData
     *
     * @param data
     * @return
     */
    @DataResolver
    public String saveData(WhjlApi1102 data) {
        return null;
    }
    /**
     * åˆ é™¤
     * whjlApi1102PR#delData
     *
     * @param data
     * @return
     */
    @Expose
    public String delData(WhjlApi1102 data) {
        return null;
    }
    /**
     * ä¸Šä¼ 
     * whjlApi1102PR#pushData
     *
     * @param items
     * @return
     */
    @Expose
    public String pushData(List<WhjlApi1102> items) {
        return null;
    }
}
src/main/java/com/fzzy/whjl/view/pr/WhjlApi1103PR.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,64 @@
package com.fzzy.whjl.view.pr;
import com.bstek.dorado.annotation.DataProvider;
import com.bstek.dorado.annotation.DataResolver;
import com.bstek.dorado.annotation.Expose;
import com.fzzy.whjl.dto.WhjlApi1103;
import org.springframework.stereotype.Component;
import java.util.List;
/**
 * å†›å·¥äººå‘˜ä¿¡æ¯
 *
 * @Author:YAN
 */
@Component
public class WhjlApi1103PR {
    /**
     * èŽ·å–åˆ—è¡¨ä¿¡æ¯
     * whjlApi1103PR#listData
     *
     * @return
     */
    @DataProvider
    public List<WhjlApi1103> listData() {
        return null;
    }
    /**
     * æ›´æ–°æˆ–修改
     * whjlApi1103PR#saveData
     *
     * @param data
     * @return
     */
    @DataResolver
    public String saveData(WhjlApi1103 data) {
        return null;
    }
    /**
     * åˆ é™¤
     * whjlApi1103PR#delData
     *
     * @param data
     * @return
     */
    @Expose
    public String delData(WhjlApi1103 data) {
        return null;
    }
    /**
     * ä¸Šä¼ 
     * whjlApi1103PR#pushData
     *
     * @param items
     * @return
     */
    @Expose
    public String pushData(List<WhjlApi1103> items) {
        return null;
    }
}
src/main/java/com/fzzy/whjl/view/pr/WhjlApi1104PR.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,65 @@
package com.fzzy.whjl.view.pr;
import com.bstek.dorado.annotation.DataProvider;
import com.bstek.dorado.annotation.DataResolver;
import com.bstek.dorado.annotation.Expose;
import com.fzzy.whjl.dto.WhjlApi1103;
import com.fzzy.whjl.dto.WhjlApi1104;
import org.springframework.stereotype.Component;
import java.util.List;
/**
 * æ”¾å¿ƒç²®æ²¹åº—
 *
 * @Author:YAN
 */
@Component
public class WhjlApi1104PR {
    /**
     * èŽ·å–åˆ—è¡¨ä¿¡æ¯
     * whjlApi1104PR#listData
     *
     * @return
     */
    @DataProvider
    public List<WhjlApi1104> listData() {
        return null;
    }
    /**
     * æ›´æ–°æˆ–修改
     * whjlApi1104PR#saveData
     *
     * @param data
     * @return
     */
    @DataResolver
    public String saveData(WhjlApi1104 data) {
        return null;
    }
    /**
     * åˆ é™¤
     * whjlApi1104PR#delData
     *
     * @param data
     * @return
     */
    @Expose
    public String delData(WhjlApi1104 data) {
        return null;
    }
    /**
     * ä¸Šä¼ 
     * whjlApi1104PR#pushData
     *
     * @param items
     * @return
     */
    @Expose
    public String pushData(List<WhjlApi1104> items) {
        return null;
    }
}
src/main/java/com/fzzy/whjl/view/pr/WhjlApi1105PR.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,64 @@
package com.fzzy.whjl.view.pr;
import com.bstek.dorado.annotation.DataProvider;
import com.bstek.dorado.annotation.DataResolver;
import com.bstek.dorado.annotation.Expose;
import com.fzzy.whjl.dto.WhjlApi1105;
import org.springframework.stereotype.Component;
import java.util.List;
/**
 * ä»“房信息
 *
 * @Author:YAN
 */
@Component
public class WhjlApi1105PR {
    /**
     * èŽ·å–åˆ—è¡¨ä¿¡æ¯
     * whjlApi1105PR#listData
     *
     * @return
     */
    @DataProvider
    public List<WhjlApi1105> listData() {
        return null;
    }
    /**
     * æ›´æ–°æˆ–修改
     * whjlApi1105PR#saveData
     *
     * @param data
     * @return
     */
    @DataResolver
    public String saveData(WhjlApi1105 data) {
        return null;
    }
    /**
     * åˆ é™¤
     * whjlApi1105PR#delData
     *
     * @param data
     * @return
     */
    @Expose
    public String delData(WhjlApi1105 data) {
        return null;
    }
    /**
     * ä¸Šä¼ 
     * whjlApi1105PR#pushData
     *
     * @param items
     * @return
     */
    @Expose
    public String pushData(List<WhjlApi1105> items) {
        return null;
    }
}
src/main/java/com/fzzy/whjl/view/pr/WhjlApi1106PR.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,64 @@
package com.fzzy.whjl.view.pr;
import com.bstek.dorado.annotation.DataProvider;
import com.bstek.dorado.annotation.DataResolver;
import com.bstek.dorado.annotation.Expose;
import com.fzzy.whjl.dto.WhjlApi1106;
import org.springframework.stereotype.Component;
import java.util.List;
/**
 * å»’间信息
 *
 * @Author:YAN
 */
@Component
public class WhjlApi1106PR {
    /**
     * èŽ·å–åˆ—è¡¨ä¿¡æ¯
     * whjlApi1106PR#listData
     *
     * @return
     */
    @DataProvider
    public List<WhjlApi1106> listData() {
        return null;
    }
    /**
     * æ›´æ–°æˆ–修改
     * whjlApi1106PR#saveData
     *
     * @param data
     * @return
     */
    @DataResolver
    public String saveData(WhjlApi1106 data) {
        return null;
    }
    /**
     * åˆ é™¤
     * whjlApi1106PR#delData
     *
     * @param data
     * @return
     */
    @Expose
    public String delData(WhjlApi1106 data) {
        return null;
    }
    /**
     * ä¸Šä¼ 
     * whjlApi1106PR#pushData
     *
     * @param items
     * @return
     */
    @Expose
    public String pushData(List<WhjlApi1106> items) {
        return null;
    }
}