czt
3 天以前 46ee5aac0c31c352f19344eb3cfd762817f2559e
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1214.view.xml
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,810 @@
<?xml version="1.0" encoding="UTF-8"?>
<ViewConfig>
  <Arguments/>
  <Context/>
  <Model>
    <DataType name="dtMain">
      <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlApi1214</Property>
      <PropertyDef name="zjjgbm">
        <Property></Property>
        <Property name="label">质检机构编号</Property>
      </PropertyDef>
      <PropertyDef name="zjjgmc">
        <Property></Property>
        <Property name="label">质检机构名称</Property>
      </PropertyDef>
      <PropertyDef name="zjjgjc">
        <Property></Property>
        <Property name="label">质检机构简称</Property>
      </PropertyDef>
      <PropertyDef name="zjjgssly">
        <Property></Property>
        <Property name="label">质检机构所属领域</Property>
      </PropertyDef>
      <PropertyDef name="zjjgssdq">
        <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="sysfr">
        <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="dzyx">
        <Property></Property>
        <Property name="label">电子邮箱</Property>
      </PropertyDef>
      <PropertyDef name="dz">
        <Property></Property>
        <Property name="label">地址</Property>
      </PropertyDef>
      <PropertyDef name="yb">
        <Property></Property>
        <Property name="label">邮编</Property>
      </PropertyDef>
      <PropertyDef name="lxr">
        <Property></Property>
        <Property name="label">联系人</Property>
      </PropertyDef>
      <PropertyDef name="zgbm">
        <Property></Property>
        <Property name="label">主管部门</Property>
      </PropertyDef>
      <PropertyDef name="zjjgjb">
        <Property></Property>
        <Property name="label">质检机构级别</Property>
      </PropertyDef>
      <PropertyDef name="zcygs">
        <Property name="dataType">int</Property>
        <Property name="label">在册员工数</Property>
      </PropertyDef>
      <PropertyDef name="gjzcrs">
        <Property name="dataType">int</Property>
        <Property name="label">高级职称人数</Property>
      </PropertyDef>
      <PropertyDef name="zjzcrs">
        <Property name="dataType">int</Property>
        <Property name="label">中级职称人数</Property>
      </PropertyDef>
      <PropertyDef name="cjzcrs">
        <Property name="dataType">int</Property>
        <Property name="label">初级职称人数</Property>
      </PropertyDef>
      <PropertyDef name="bs">
        <Property name="dataType">int</Property>
        <Property name="label">博士人数</Property>
      </PropertyDef>
      <PropertyDef name="ss">
        <Property name="dataType">int</Property>
        <Property name="label">硕士人数</Property>
      </PropertyDef>
      <PropertyDef name="xs">
        <Property name="dataType">int</Property>
        <Property name="label">学士人数</Property>
      </PropertyDef>
      <PropertyDef name="dzsyx">
        <Property name="dataType">int</Property>
        <Property name="label">大专生以下</Property>
      </PropertyDef>
      <PropertyDef name="zgdzc">
        <Property name="dataType">Double</Property>
        <Property name="label">总固定资产</Property>
      </PropertyDef>
      <PropertyDef name="mj">
        <Property name="dataType">Double</Property>
        <Property name="label">面积</Property>
      </PropertyDef>
      <PropertyDef name="zcxz">
        <Property></Property>
        <Property name="label">资产性质</Property>
      </PropertyDef>
      <PropertyDef name="csspjcdrs">
        <Property name="dataType">int</Property>
        <Property name="label">从事食品检测的人数</Property>
      </PropertyDef>
      <PropertyDef name="bz">
        <Property></Property>
        <Property name="label">备注</Property>
      </PropertyDef>
      <PropertyDef name="bizId">
        <Property></Property>
        <Property name="label">业务ID</Property>
      </PropertyDef>
      <PropertyDef name="updateTime">
        <Property name="dataType">DateTime</Property>
        <Property name="label">最后更新时间</Property>
      </PropertyDef>
      <PropertyDef name="czbz">
        <Property></Property>
        <Property name="label">操作标志</Property>
      </PropertyDef>
      <PropertyDef name="kqdm">
        <Property></Property>
        <Property name="label">库区代码</Property>
      </PropertyDef>
      <PropertyDef name="jcnl">
        <Property></Property>
        <Property name="dataType">[dtJCNL]</Property>
      </PropertyDef>
      <PropertyDef name="yqsb">
        <Property></Property>
        <Property name="dataType">[dtYQSB]</Property>
      </PropertyDef>
    </DataType>
    <DataType name="dtParam">
      <Property name="creationType">com.fzzy.api.data.ApiParam</Property>
      <PropertyDef name="kqdm">
        <Property></Property>
        <Property name="label">所属库区</Property>
      </PropertyDef>
      <PropertyDef name="start">
        <Property name="dataType">Date</Property>
        <Property name="label">开始时间</Property>
      </PropertyDef>
      <PropertyDef name="end">
        <Property name="dataType">Date</Property>
        <Property name="label">截止时间</Property>
      </PropertyDef>
      <PropertyDef name="czbz">
        <Property></Property>
        <Property name="label">操作标志</Property>
        <Property name="mapping">
          <Property name="mapValues">${dorado.getDataProvider(&quot;apiTriggerService#trigger&quot;).getResult(&quot;CZBZ&quot;)}</Property>
          <Property name="keyProperty">code</Property>
          <Property name="valueProperty">name</Property>
        </Property>
      </PropertyDef>
    </DataType>
    <DataType name="dtJCNL">
      <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlJCNL</Property>
      <PropertyDef name="jcnlid">
        <Property/>
        <Property name="label">检测能力ID</Property>
      </PropertyDef>
      <PropertyDef name="zjbzid">
        <Property></Property>
        <Property name="label">质检标准编码</Property>
      </PropertyDef>
      <PropertyDef name="bzmxbm">
        <Property></Property>
        <Property name="label">标准明细编码</Property>
      </PropertyDef>
      <PropertyDef name="jcly">
        <Property></Property>
        <Property name="label">检测领域</Property>
      </PropertyDef>
      <PropertyDef name="xzfw">
        <Property></Property>
        <Property name="label">限制范围</Property>
      </PropertyDef>
      <PropertyDef name="zzzmdm">
        <Property></Property>
        <Property name="label">资质证明代码</Property>
      </PropertyDef>
      <PropertyDef name="xh">
        <Property name="dataType">int</Property>
        <Property name="label">序号</Property>
      </PropertyDef>
      <PropertyDef name="jcxm">
        <Property name="dataType">[dtJcxm]</Property>
        <Property name="label">检测能力的项目</Property>
      </PropertyDef>
    </DataType>
    <DataType name="dtYQSB">
      <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlYQSB</Property>
      <PropertyDef name="yqsbid">
        <Property></Property>
        <Property name="label">仪器设备ID</Property>
      </PropertyDef>
      <PropertyDef name="yqsbbm">
        <Property></Property>
        <Property name="label">仪器设备编码</Property>
      </PropertyDef>
      <PropertyDef name="yqsbmc">
        <Property></Property>
        <Property name="label">仪器设备名称</Property>
      </PropertyDef>
      <PropertyDef name="ggxh">
        <Property></Property>
        <Property name="label">规格型号</Property>
      </PropertyDef>
      <PropertyDef name="zzgb">
        <Property></Property>
        <Property name="label">制造国别</Property>
      </PropertyDef>
      <PropertyDef name="jg">
        <Property name="dataType">Double</Property>
        <Property name="label">ä»·æ ¼</Property>
      </PropertyDef>
      <PropertyDef name="gznf">
        <Property></Property>
        <Property name="label">购置年份</Property>
      </PropertyDef>
      <PropertyDef name="syl">
        <Property name="dataType">Double</Property>
        <Property name="label">使用率</Property>
      </PropertyDef>
      <PropertyDef name="xh">
        <Property name="dataType">int</Property>
        <Property name="label">序号</Property>
      </PropertyDef>
    </DataType>
    <DataType name="dtJcxm">
      <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlJCXM</Property>
      <PropertyDef name="jclnxmid">
        <Property/>
      </PropertyDef>
      <PropertyDef name="zjbzmxid">
        <Property/>
      </PropertyDef>
      <PropertyDef name="xh">
        <Property name="dataType">Integer</Property>
      </PropertyDef>
      <PropertyDef name="bz">
        <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">whjlApi1214PR#listData</Property>
      <Property name="pageSize">20</Property>
    </DataSet>
    <DataSet id="dsQuery">
      <ClientEvent name="onReady">self.insert();</ClientEvent>
      <Property name="dataType">dtParam</Property>
    </DataSet>
    <Container layout="regionPadding:10" layoutConstraint="top">
      <Property name="exClassName">bg-color</Property>
      <Property name="height">55</Property>
      <Property name="contentOverflow">hidden</Property>
      <Label layoutConstraint="left">
        <Property name="text">菜单栏:</Property>
      </Label>
      <Button layoutConstraint="left">
        <ClientEvent name="onClick">view.get(&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="zjjgbm">
          <Property name="property">zjjgbm</Property>
        </DataColumn>
        <DataColumn name="zjjgmc">
          <Property name="property">zjjgmc</Property>
        </DataColumn>
        <DataColumn name="zjjgjc">
          <Property name="property">zjjgjc</Property>
        </DataColumn>
        <DataColumn name="zjjgssly">
          <Property name="property">zjjgssly</Property>
        </DataColumn>
        <DataColumn name="zjjgssdq">
          <Property name="property">zjjgssdq</Property>
        </DataColumn>
        <DataColumn name="xzqhbm">
          <Property name="property">xzqhbm</Property>
        </DataColumn>
        <DataColumn name="zjjgjb">
          <Property name="property">zjjgjb</Property>
        </DataColumn>
        <DataColumn name="zcygs">
          <Property name="property">zcygs</Property>
        </DataColumn>
        <DataColumn name="gjzcrs">
          <Property name="property">gjzcrs</Property>
        </DataColumn>
        <DataColumn name="czbz">
          <Property name="property">czbz</Property>
        </DataColumn>
      </DataGrid>
    </Container>
    <Container layoutConstraint="bottom">
      <Property name="exClassName">bg-color</Property>
      <DataPilot layoutConstraint="right">
        <Property name="dataSet">dsMain</Property>
        <Property name="itemCodes">pageSize,pages</Property>
      </DataPilot>
    </Container>
    <Dialog id="dialogMain" layout="regionPadding:10;padding:5">
      <Property name="width">85%</Property>
      <Property name="closeable">false</Property>
      <Property name="iconClass">fa fa-sliders</Property>
      <Property name="caption">合同信息</Property>
      <Property name="height">85%</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>
        <FieldSet>
          <Property name="caption">质检机构</Property>
          <Buttons/>
          <Children>
            <AutoForm>
              <Property name="dataSet">dsMain</Property>
              <Property name="cols">*,*,*,*</Property>
              <Property name="labelPosition">top</Property>
              <Property name="labelSeparator">:</Property>
              <Property name="labelWidth">120</Property>
              <AutoFormElement>
                <Property name="name">zjjgbm</Property>
                <Property name="property">zjjgbm</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">zjjgmc</Property>
                <Property name="property">zjjgmc</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">zjjgjc</Property>
                <Property name="property">zjjgjc</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">zjjgssly</Property>
                <Property name="property">zjjgssly</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">zjjgssdq</Property>
                <Property name="property">zjjgssdq</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">xzqhbm</Property>
                <Property name="property">xzqhbm</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">xzqhmc</Property>
                <Property name="property">xzqhmc</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">sysfr</Property>
                <Property name="property">sysfr</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">dzyx</Property>
                <Property name="property">dzyx</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">dz</Property>
                <Property name="property">dz</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">yb</Property>
                <Property name="property">yb</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">lxr</Property>
                <Property name="property">lxr</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">zgbm</Property>
                <Property name="property">zgbm</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">zjjgjb</Property>
                <Property name="property">zjjgjb</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">zcygs</Property>
                <Property name="property">zcygs</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">gjzcrs</Property>
                <Property name="property">gjzcrs</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">zjzcrs</Property>
                <Property name="property">zjzcrs</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">cjzcrs</Property>
                <Property name="property">cjzcrs</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">bs</Property>
                <Property name="property">bs</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">ss</Property>
                <Property name="property">ss</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">xs</Property>
                <Property name="property">xs</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">dzsyx</Property>
                <Property name="property">dzsyx</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">zgdzc</Property>
                <Property name="property">zgdzc</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">mj</Property>
                <Property name="property">mj</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">zcxz</Property>
                <Property name="property">zcxz</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">csspjcdrs</Property>
                <Property name="property">csspjcdrs</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">bz</Property>
                <Property name="property">bz</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">bizId</Property>
                <Property name="property">bizId</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">updateTime</Property>
                <Property name="property">updateTime</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">czbz</Property>
                <Property name="property">czbz</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">kqdm</Property>
                <Property name="property">kqdm</Property>
                <Editor/>
              </AutoFormElement>
            </AutoForm>
          </Children>
        </FieldSet>
        <Panel layout="regionPadding:5">
          <Property name="caption">检测能力</Property>
          <Property name="height">400</Property>
          <Buttons/>
          <Children>
            <Container layout="regionPadding:10">
              <Label layoutConstraint="left">
                <Property name="text">菜单栏:</Property>
              </Label>
              <Button layoutConstraint="left">
                <ClientEvent name="onClick">var list = view.get(&quot;#dsMain.data:#&quot;).get(&quot;jcnl&quot;);&#xD;
list.insert({});</ClientEvent>
                <Property name="caption">新增</Property>
                <Property name="exClassName">btn-default</Property>
                <Property name="iconClass">fa fa-plus</Property>
              </Button>
              <Button layoutConstraint="left">
                <ClientEvent name="onClick">var data = view.get(&quot;#dataGridJCNL.currentEntity&quot;);&#xD;
if(!data){&#xD;
 return;&#xD;
}&#xD;
data.remove();</ClientEvent>
                <Property name="caption">删除</Property>
                <Property name="exClassName">btn-warn</Property>
                <Property name="iconClass">fa fa-minus</Property>
              </Button>
            </Container>
            <DataGrid id="dataGridJCNL">
              <Property name="dataSet">dsMain</Property>
              <Property name="dataPath">#.jcnl</Property>
              <DataColumn name="jcnlid">
                <Property name="property">jcnlid</Property>
              </DataColumn>
              <DataColumn name="zjbzid">
                <Property name="property">zjbzid</Property>
              </DataColumn>
              <DataColumn name="bzmxbm">
                <Property name="property">bzmxbm</Property>
              </DataColumn>
              <DataColumn name="jcly">
                <Property name="property">jcly</Property>
              </DataColumn>
              <DataColumn name="xzfw">
                <Property name="property">xzfw</Property>
              </DataColumn>
              <DataColumn name="zzzmdm">
                <Property name="property">zzzmdm</Property>
              </DataColumn>
              <DataColumn name="xh">
                <Property name="property">xh</Property>
              </DataColumn>
            </DataGrid>
          </Children>
          <Tools/>
        </Panel>
        <Panel layout="regionPadding:5">
          <Property name="caption">检测能力的项目</Property>
          <Property name="height">400</Property>
          <Buttons/>
          <Children>
            <Container layout="regionPadding:10">
              <Label layoutConstraint="left">
                <Property name="text">菜单栏:</Property>
              </Label>
              <Button layoutConstraint="left">
                <ClientEvent name="onClick">var list = view.get(&quot;#dsMain.data:#&quot;).get(&quot;jcnl&quot;).get(&quot;jcxm&quot;);&#xD;
list.insert({});</ClientEvent>
                <Property name="caption">新增</Property>
                <Property name="exClassName">btn-default</Property>
                <Property name="iconClass">fa fa-plus</Property>
              </Button>
              <Button layoutConstraint="left">
                <ClientEvent name="onClick">var data = view.get(&quot;#dgJcxm.currentEntity&quot;);&#xD;
if(!data){&#xD;
 return;&#xD;
}&#xD;
data.remove();</ClientEvent>
                <Property name="caption">删除</Property>
                <Property name="exClassName">btn-warn</Property>
                <Property name="iconClass">fa fa-minus</Property>
              </Button>
            </Container>
            <DataGrid id="dgJcxm">
              <Property name="dataSet">dsMain</Property>
              <Property name="dataPath">#.jcnl.jcxm</Property>
              <DataColumn name="jclnxmid">
                <Property name="property">jclnxmid</Property>
              </DataColumn>
              <DataColumn name="zjbzmxid">
                <Property name="property">zjbzmxid</Property>
              </DataColumn>
              <DataColumn name="xh">
                <Property name="property">xh</Property>
              </DataColumn>
              <DataColumn name="bz">
                <Property name="property">bz</Property>
              </DataColumn>
            </DataGrid>
          </Children>
          <Tools/>
        </Panel>
        <Panel layout="regionPadding:5">
          <Property name="caption">仪器设备</Property>
          <Property name="height">400</Property>
          <Buttons/>
          <Children>
            <Container layout="regionPadding:10">
              <Label layoutConstraint="left">
                <Property name="text">菜单栏:</Property>
              </Label>
              <Button layoutConstraint="left">
                <ClientEvent name="onClick">var list = view.get(&quot;#dsMain.data:#&quot;).get(&quot;yqsb&quot;);&#xD;
list.insert({});</ClientEvent>
                <Property name="caption">新增</Property>
                <Property name="exClassName">btn-default</Property>
                <Property name="iconClass">fa fa-plus</Property>
              </Button>
              <Button layoutConstraint="left">
                <ClientEvent name="onClick">var data = view.get(&quot;#dataGridYQSB.currentEntity&quot;);&#xD;
if(!data){&#xD;
 return;&#xD;
}&#xD;
data.remove();</ClientEvent>
                <Property name="caption">删除</Property>
                <Property name="exClassName">btn-warn</Property>
                <Property name="iconClass">fa fa-minus</Property>
              </Button>
            </Container>
            <DataGrid id="dataGridYQSB">
              <Property name="dataSet">dsMain</Property>
              <Property name="dataPath">#.yqsb</Property>
              <DataColumn name="yqsbbm">
                <Property name="property">yqsbid</Property>
              </DataColumn>
              <DataColumn name="yqsbbm">
                <Property name="property">yqsbbm</Property>
              </DataColumn>
              <DataColumn name="yqsbmc">
                <Property name="property">yqsbmc</Property>
              </DataColumn>
              <DataColumn name="ggxh">
                <Property name="property">ggxh</Property>
              </DataColumn>
              <DataColumn name="zzgb">
                <Property name="property">zzgb</Property>
              </DataColumn>
              <DataColumn name="jg">
                <Property name="property">jg</Property>
              </DataColumn>
              <DataColumn name="gznf">
                <Property name="property">gznf</Property>
              </DataColumn>
              <DataColumn name="syl">
                <Property name="property">syl</Property>
              </DataColumn>
              <DataColumn name="xh">
                <Property name="property">xh</Property>
              </DataColumn>
            </DataGrid>
          </Children>
          <Tools/>
        </Panel>
      </Children>
      <Tools/>
    </Dialog>
    <UpdateAction id="updateSave">
      <Property name="dataResolver">whjlApi1214PR#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">whjlApi1214PR#delData</Property>
    </AjaxAction>
    <AjaxAction id="ajaxPush">
      <Property name="service">whjlApi1214PR#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="path">com.fzzy.api.view.ApiLog.d</Property>
            <Property name="userData">
              <Entity>
                <Property name="deptId">deptId</Property>
              </Entity>
            </Property>
          </IFrame>
        </Container>
      </Children>
      <Tools/>
    </Dialog>
    <ListDropDown id="listDropYN">
      <Property name="items">是,否</Property>
    </ListDropDown>
  </View>
</ViewConfig>