YYC
2023-09-07 a6b22395d5b137d684c83d9197c40f596f689ded
src/main/java/com/fzzy/otherview/gd2022/GdApi1023.view.xml
@@ -3,9 +3,638 @@
  <Arguments/>
  <Context/>
  <Model>
    <DataType name="dtMain">
      <Property name="creationType">com.fzzy.otherview.gd2022.dto.GdApi1023</Property>
      <PropertyDef name="xzbm">
        <Property></Property>
        <Property name="label">熏蒸编码</Property>
      </PropertyDef>
      <PropertyDef name="kqdm">
        <Property></Property>
        <Property name="label">库区代码</Property>
      </PropertyDef>
      <PropertyDef name="tbrq">
        <Property name="dataType">Date</Property>
        <Property name="label">填报日期</Property>
      </PropertyDef>
      <PropertyDef name="dwdm">
        <Property></Property>
        <Property name="label">单位代码</Property>
      </PropertyDef>
      <PropertyDef name="sqxzrq">
        <Property></Property>
        <Property name="label">申请熏蒸日期</Property>
      </PropertyDef>
      <PropertyDef name="fzr">
        <Property></Property>
        <Property name="label">负责人</Property>
      </PropertyDef>
      <PropertyDef name="fzrdh">
        <Property></Property>
        <Property name="label">负责人电话</Property>
      </PropertyDef>
      <PropertyDef name="xcfzr">
        <Property></Property>
        <Property name="label">现场负责人</Property>
      </PropertyDef>
      <PropertyDef name="xcfzrzw">
        <Property></Property>
        <Property name="label">现场负责人职务</Property>
      </PropertyDef>
      <PropertyDef name="xcfzrdh">
        <Property></Property>
        <Property name="label">现场负责人电话</Property>
      </PropertyDef>
      <PropertyDef name="tbr">
        <Property></Property>
        <Property name="label">填表人</Property>
      </PropertyDef>
      <PropertyDef name="tbrdh">
        <Property></Property>
        <Property name="label">填表人电话</Property>
      </PropertyDef>
      <PropertyDef name="sfszjjxd">
        <Property></Property>
        <Property name="label">是否设置警戒线(东)</Property>
      </PropertyDef>
      <PropertyDef name="sfszjjxx">
        <Property></Property>
        <Property name="label">是否设置警戒线(西)</Property>
      </PropertyDef>
      <PropertyDef name="sfszjjxn">
        <Property></Property>
        <Property name="label">是否设置警戒线(南)</Property>
      </PropertyDef>
      <PropertyDef name="sfszjjxb">
        <Property></Property>
        <Property name="label">是否设置警戒线(北)</Property>
      </PropertyDef>
      <PropertyDef name="ssxzzystqybqk">
        <Property></Property>
        <Property name="label">实施熏蒸作业时天气预报情况</Property>
      </PropertyDef>
      <PropertyDef name="xzssgcap">
        <Property></Property>
        <Property name="label">熏蒸安排及实施过程</Property>
      </PropertyDef>
      <PropertyDef name="aqfhjyjcccs">
        <Property></Property>
        <Property name="label">安全防护及应急处置措施</Property>
      </PropertyDef>
      <PropertyDef name="xzzysx">
        <Property></Property>
        <Property name="label">熏蒸注意事项</Property>
      </PropertyDef>
      <PropertyDef name="fileStorageId">
        <Property></Property>
        <Property name="label">文件存储ID</Property>
      </PropertyDef>
      <PropertyDef name="yjmc">
        <Property></Property>
        <Property name="label">药剂名称</Property>
      </PropertyDef>
      <PropertyDef name="yjlx">
        <Property></Property>
        <Property name="label">药剂类型/型号</Property>
      </PropertyDef>
      <PropertyDef name="yjyxqz">
        <Property></Property>
        <Property name="label">药剂有效期至</Property>
      </PropertyDef>
      <PropertyDef name="lqsl">
        <Property name="dataType">Double</Property>
        <Property name="label">领取数量(公斤)</Property>
      </PropertyDef>
      <PropertyDef name="sysbjfs">
        <Property></Property>
        <Property name="label">施药设备及方式</Property>
      </PropertyDef>
      <PropertyDef name="zcdd">
        <Property></Property>
        <Property name="label">暂存地点</Property>
      </PropertyDef>
      <PropertyDef name="lqr">
        <Property></Property>
        <Property name="label">领取人</Property>
      </PropertyDef>
      <PropertyDef name="lqrq">
        <Property name="dataType">Date</Property>
        <Property name="label">领取时间</Property>
      </PropertyDef>
      <PropertyDef name="czbz">
        <Property></Property>
        <Property name="label">操作标志</Property>
      </PropertyDef>
      <PropertyDef name="zhgxsj">
        <Property></Property>
        <Property name="label">最后更新时间</Property>
      </PropertyDef>
      <Reference name="dtPeople">
        <Property name="dataType">[dtPeople]</Property>
        <Property name="parameter">
          <Entity>
            <Property name="xzbm">$${this.xzbm}</Property>
            <Property name="kqdm">$${this.kqdm}</Property>
            <Property name="tbrq">$${this.tbrq}</Property>
          </Entity>
        </Property>
        <Property name="dataProvider">gDApi1023PR#peopleList</Property>
      </Reference>
      <Reference name="dtWay">
        <Property name="dataProvider">gDApi1023PR#wayList</Property>
        <Property name="dataType">[dtWay]</Property>
      </Reference>
      <Reference name="dtDtl">
        <Property name="dataProvider">gDApi1023PR#dtlList</Property>
        <Property name="dataType">[dtDtl]</Property>
      </Reference>
    </DataType>
    <DataType name="dtPeople">
      <Property name="creationType">com.fzzy.otherview.gd2022.dto.GdApi1023People</Property>
      <PropertyDef name="xm">
        <Property/>
      </PropertyDef>
      <PropertyDef name="zw">
        <Property/>
      </PropertyDef>
      <PropertyDef name="zyzg">
        <Property/>
      </PropertyDef>
      <PropertyDef name="stzk">
        <Property/>
      </PropertyDef>
      <PropertyDef name="xzrwfg">
        <Property/>
      </PropertyDef>
      <PropertyDef name="sfwb">
        <Property/>
      </PropertyDef>
    </DataType>
    <DataType name="dtWay">
      <Property name="creationType">com.fzzy.otherview.gd2022.dto.GdApi1023Way</Property>
      <PropertyDef name="xznd">
        <Property/>
      </PropertyDef>
      <PropertyDef name="mbsj">
        <Property/>
      </PropertyDef>
      <PropertyDef name="xzfs">
        <Property/>
      </PropertyDef>
      <PropertyDef name="sqfs">
        <Property/>
      </PropertyDef>
    </DataType>
    <DataType name="dtDtl">
      <Property name="creationType">com.fzzy.otherview.gd2022.dto.GdApi1023Dtl</Property>
      <PropertyDef name="cfdm">
        <Property/>
      </PropertyDef>
      <PropertyDef name="lspzdm">
        <Property/>
      </PropertyDef>
      <PropertyDef name="lsxzdm">
        <Property/>
      </PropertyDef>
      <PropertyDef name="lsdjdm">
        <Property/>
      </PropertyDef>
      <PropertyDef name="lssl">
        <Property name="dataType">Double</Property>
      </PropertyDef>
      <PropertyDef name="sf">
        <Property name="dataType">Double</Property>
      </PropertyDef>
      <PropertyDef name="zz">
        <Property name="dataType">Double</Property>
      </PropertyDef>
      <PropertyDef name="lw">
        <Property name="dataType">Double</Property>
      </PropertyDef>
      <PropertyDef name="cw">
        <Property name="dataType">Double</Property>
      </PropertyDef>
      <PropertyDef name="cnsd">
        <Property name="dataType">Double</Property>
      </PropertyDef>
      <PropertyDef name="clfs">
        <Property/>
      </PropertyDef>
      <PropertyDef name="rkrq">
        <Property name="dataType">Date</Property>
      </PropertyDef>
      <PropertyDef name="hc">
        <Property/>
      </PropertyDef>
      <PropertyDef name="cldjpd">
        <Property/>
      </PropertyDef>
      <PropertyDef name="ldtj">
        <Property name="dataType">Double</Property>
      </PropertyDef>
      <PropertyDef name="kjtj">
        <Property name="dataType">Double</Property>
      </PropertyDef>
      <PropertyDef name="lddwyyl">
        <Property name="dataType">Double</Property>
      </PropertyDef>
      <PropertyDef name="kjdwyyl">
        <Property name="dataType">Double</Property>
      </PropertyDef>
      <PropertyDef name="zyyl">
        <Property name="dataType">Double</Property>
      </PropertyDef>
      <PropertyDef name="qmx">
        <Property/>
      </PropertyDef>
      <PropertyDef name="jhxzksrq">
        <Property name="dataType">Date</Property>
      </PropertyDef>
      <PropertyDef name="jhxzjsrq">
        <Property name="dataType">Date</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">gDApi1023PR#listData</Property>
    </DataSet>
    <ToolBar>
      <ToolBarLabel>
        <Property name="text">工具栏:</Property>
        <Property name="style">
          <Property name="font-weight">bold</Property>
        </Property>
      </ToolBarLabel>
      <ToolBarButton>
        <ClientEvent name="onClick">view.get(&quot;#dsMain&quot;).flushAsync();&#xD;
</ClientEvent>
        <Property name="caption">刷新</Property>
        <Property name="iconClass">fa fa-search</Property>
        <Property name="width">100</Property>
        <Property name="exClassName">toolbar-button-push</Property>
      </ToolBarButton>
      <ToolBarButton>
        <ClientEvent name="onClick">view.get(&quot;#dsMain&quot;).insert();&#xD;
view.get(&quot;#dialogMain&quot;).show();</ClientEvent>
        <Property name="caption">新增</Property>
        <Property name="iconClass">fa fa-plus</Property>
        <Property name="width">100</Property>
        <Property name="exClassName">toolbar-button</Property>
      </ToolBarButton>
      <ToolBarButton>
        <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;
}&#xD;
</ClientEvent>
        <Property name="caption">修改</Property>
        <Property name="iconClass">fa fa-pencil</Property>
        <Property name="width">100</Property>
        <Property name="exClassName">toolbar-button-warm</Property>
      </ToolBarButton>
      <Separator/>
      <ToolBarButton>
        <ClientEvent name="onClick">var cur = view.get(&quot;#dgMain&quot;).getCurrentItem();&#xD;
if(cur){&#xD;
   view.get(&quot;#ajaxDelUpdate&quot;).set(&quot;parameter&quot;,cur).execute(function(result){&#xD;
      if(result){&#xD;
         $alert(result);&#xD;
      } else{&#xD;
         cur.set(&quot;czbz&quot;,&quot;d&quot;);&#xD;
      }&#xD;
   });&#xD;
}else{&#xD;
   $alert(&quot;请勾选需要标记删除的数据!&quot;);&#xD;
}&#xD;
</ClientEvent>
        <Property name="caption">标记删除</Property>
        <Property name="iconClass">fa fa-minus</Property>
        <Property name="exClassName">toolbar-button-warn</Property>
        <Property name="width">100</Property>
      </ToolBarButton>
      <ToolBarButton>
        <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">toolbar-button-warn</Property>
        <Property name="width">100</Property>
      </ToolBarButton>
      <Separator/>
      <ToolBarButton>
        <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">toolbar-button-push</Property>
        <Property name="width">100</Property>
      </ToolBarButton>
      <Fill/>
      <ToolBarButton>
        <Property name="caption">上传记录</Property>
        <Property name="iconClass">fa fa-bars</Property>
        <Property name="exClassName">toolbar-button</Property>
      </ToolBarButton>
    </ToolBar>
    <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="xzbm">
        <Property name="property">xzbm</Property>
        <Property name="align">center</Property>
        <Property name="width">280</Property>
      </DataColumn>
      <DataColumn name="kqdm">
        <Property name="property">kqdm</Property>
        <Property name="width">280</Property>
        <Property name="align">center</Property>
      </DataColumn>
      <DataColumn name="tbrq">
        <Property name="property">tbrq</Property>
        <Property name="width">280</Property>
        <Property name="align">center</Property>
      </DataColumn>
      <DataColumn name="dwdm">
        <Property name="property">dwdm</Property>
        <Property name="width">280</Property>
        <Property name="align">center</Property>
      </DataColumn>
      <DataColumn name="sqxzrq">
        <Property name="property">sqxzrq</Property>
        <Property name="width">280</Property>
        <Property name="align">center</Property>
      </DataColumn>
      <DataColumn name="fzr">
        <Property name="property">fzr</Property>
        <Property name="width">280</Property>
        <Property name="align">center</Property>
      </DataColumn>
      <DataColumn name="fzrdh">
        <Property name="property">fzrdh</Property>
        <Property name="width">280</Property>
        <Property name="align">center</Property>
      </DataColumn>
      <DataColumn name="czbz">
        <Property name="property">czbz</Property>
        <Property name="width">280</Property>
        <Property name="align">center</Property>
      </DataColumn>
      <DataColumn name="zhgxsj">
        <Property name="property">zhgxsj</Property>
        <Property name="width">280</Property>
        <Property name="align">center</Property>
      </DataColumn>
    </DataGrid>
    <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">xzbm</Property>
            <Property name="property">xzbm</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">kqdm</Property>
            <Property name="property">kqdm</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">tbrq</Property>
            <Property name="property">tbrq</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">dwdm</Property>
            <Property name="property">dwdm</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">sqxzrq</Property>
            <Property name="property">sqxzrq</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">fzr</Property>
            <Property name="property">fzr</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">fzrdh</Property>
            <Property name="property">fzrdh</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">xcfzr</Property>
            <Property name="property">xcfzr</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">xcfzrzw</Property>
            <Property name="property">xcfzrzw</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">xcfzrdh</Property>
            <Property name="property">xcfzrdh</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">tbr</Property>
            <Property name="property">tbr</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">tbrdh</Property>
            <Property name="property">tbrdh</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">sfszjjxd</Property>
            <Property name="property">sfszjjxd</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">sfszjjxx</Property>
            <Property name="property">sfszjjxx</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">sfszjjxn</Property>
            <Property name="property">sfszjjxn</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">sfszjjxb</Property>
            <Property name="property">sfszjjxb</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">ssxzzystqybqk</Property>
            <Property name="property">ssxzzystqybqk</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">xzssgcap</Property>
            <Property name="property">xzssgcap</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">aqfhjyjcccs</Property>
            <Property name="property">aqfhjyjcccs</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">xzzysx</Property>
            <Property name="property">xzzysx</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">fileStorageId</Property>
            <Property name="property">fileStorageId</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">yjmc</Property>
            <Property name="property">yjmc</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">yjlx</Property>
            <Property name="property">yjlx</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">yjyxqz</Property>
            <Property name="property">yjyxqz</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">lqsl</Property>
            <Property name="property">lqsl</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">sysbjfs</Property>
            <Property name="property">sysbjfs</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">zcdd</Property>
            <Property name="property">zcdd</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">lqr</Property>
            <Property name="property">lqr</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">lqrq</Property>
            <Property name="property">lqrq</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">czbz</Property>
            <Property name="property">czbz</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">zhgxsj</Property>
            <Property name="property">zhgxsj</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">dtPeople</Property>
            <Property name="property">dtPeople</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">dtWay</Property>
            <Property name="property">dtWay</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">dtDtl</Property>
            <Property name="property">dtDtl</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>
    <ListDropDown id="listDropYN">
      <Property name="items">是,否</Property>
    </ListDropDown>
  </View>
</ViewConfig>