| | |
| | | <Arguments/> |
| | | <Context/> |
| | | <Model> |
| | | <DataType name="dtSecCameraParam"> |
| | | <Property name="creationType">com.fzzy.igds.domain.Camera</Property> |
| | | <PropertyDef name="name"> |
| | | <Property></Property> |
| | | <Property name="label">监控名称</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="brand"> |
| | | <Property></Property> |
| | | <Property name="label">监控品牌</Property> |
| | | <DataType name="dtQuery"> |
| | | <Property name="creationType">com.fzzy.igds.domain.InoutStockChange</Property> |
| | | <PropertyDef name="depotIdIn"> |
| | | <Property name="label">倒入仓库</Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues">${dorado.getDataProvider("dicPR#sysDictData").getResult("CAMERA_BRAND")}</Property> |
| | | <Property name="keyProperty">dictValue</Property> |
| | | <Property name="valueProperty">dictLabel</Property> |
| | | <Property name="mapValues">${dorado.getDataProvider("depotPR#getAllCache").getResult()}</Property> |
| | | <Property name="keyProperty">id</Property> |
| | | <Property name="valueProperty">name</Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="spjklx"> |
| | | <Property></Property> |
| | | <Property name="label">业务类型</Property> |
| | | <PropertyDef name="depotIdOut"> |
| | | <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">1-仓内</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="key">2</Property> |
| | | <Property name="value">2-业务类</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="key">3</Property> |
| | | <Property name="value">3-安防类</Property> |
| | | </Entity> |
| | | </Collection> |
| | | </Property> |
| | | <Property name="mapValues">${dorado.getDataProvider("depotPR#getAllCache").getResult()}</Property> |
| | | <Property name="keyProperty">id</Property> |
| | | <Property name="valueProperty">name</Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="spdwlx"> |
| | | <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">1-出入口</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="key">2</Property> |
| | | <Property name="value">2-扦样机</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="key">3</Property> |
| | | <Property name="value">3-化验室</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="key">4</Property> |
| | | <Property name="value">4-结算室</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="key">5</Property> |
| | | <Property name="value">5-地磅室</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="key">6</Property> |
| | | <Property name="value">6-库区主干道</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="key">7</Property> |
| | | <Property name="value">7-仓间监控</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="key">8</Property> |
| | | <Property name="value">8-仓内</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="key">9</Property> |
| | | <Property name="value">9-药品房内外</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="key">10</Property> |
| | | <Property name="value">10-器材室内外</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="key">11</Property> |
| | | <Property name="value">11-制高点</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="key">12</Property> |
| | | <Property name="value">12-油库罐区</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="key">13</Property> |
| | | <Property name="value">13-收发油设备</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="key">14</Property> |
| | | <Property name="value">14-泵房</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="key">15</Property> |
| | | <Property name="value">15-油库主要输送管道</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="key">16</Property> |
| | | <Property name="value">16-周界</Property> |
| | | </Entity> |
| | | </Collection> |
| | | </Property> |
| | | </Property> |
| | | <PropertyDef name="changeStartDate"> |
| | | <Property name="label">开始时间</Property> |
| | | <Property name="dataType">Date</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="changeEndDate"> |
| | | <Property name="label">截止时间</Property> |
| | | <Property name="dataType">Date</Property> |
| | | </PropertyDef> |
| | | </DataType> |
| | | <DataType name="dtSecCamera"> |
| | | <Property name="creationType">com.fzzy.igds.domain.Camera</Property> |
| | | <DataType name="dtMain"> |
| | | <Property name="creationType">com.fzzy.igds.domain.InoutStockChange</Property> |
| | | <PropertyDef name="id"> |
| | | <Property></Property> |
| | | <Property name="label">监控编码</Property> |
| | | <Property name="label">倒仓单号</Property> |
| | | <Property name="readOnly">true</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="companyId"> |
| | | <Property></Property> |
| | |
| | | </PropertyDef> |
| | | <PropertyDef name="deptId"> |
| | | <Property></Property> |
| | | <Property name="label">所属库区</Property> |
| | | <Property name="label">所属分库</Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues">${dorado.getDataProvider("deptPR#getAllData").getResult()}</Property> |
| | | <Property name="keyProperty">id</Property> |
| | | <Property name="valueProperty">kqmc</Property> |
| | | </Property> |
| | | <Property name="readOnly">true</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="name"> |
| | | <Property></Property> |
| | | <Property name="label">监控名称</Property> |
| | | <Property name="required">true</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="type"> |
| | | <Property></Property> |
| | | <Property name="label">设备类型</Property> |
| | | <Property name="required">true</Property> |
| | | <Property name="label">倒仓类型</Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues"> |
| | | <Collection> |
| | | <Entity> |
| | | <Property name="code">01</Property> |
| | | <Property name="name">01-枪机</Property> |
| | | <Property name="name">倒仓</Property> |
| | | <Property name="value">0</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="code">02</Property> |
| | | <Property name="name">02-球机</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="code">03</Property> |
| | | <Property name="name">03-半球</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="code">09</Property> |
| | | <Property name="name">09-其他</Property> |
| | | <Property name="name">移库</Property> |
| | | <Property name="value">1</Property> |
| | | </Entity> |
| | | </Collection> |
| | | </Property> |
| | | <Property name="keyProperty">code</Property> |
| | | <Property name="keyProperty">value</Property> |
| | | <Property name="valueProperty">name</Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="brand"> |
| | | <PropertyDef name="foodVariety"> |
| | | <Property></Property> |
| | | <Property name="label">设备品牌</Property> |
| | | <Property name="label">粮食品种</Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues">${dorado.getDataProvider("dicPR#sysDictData").getResult("CAMERA_BRAND")}</Property> |
| | | <Property name="mapValues">${dorado.getDataProvider("dicPR#sysDictData").getResult("FOOD_VARIETY_")}</Property> |
| | | <Property name="keyProperty">dictValue</Property> |
| | | <Property name="valueProperty">dictLabel</Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="sn"> |
| | | <Property></Property> |
| | | <Property name="label">序列号</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="sort"> |
| | | <Property name="label">配套序号</Property> |
| | | <Property name="required">true</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="depotIdIn"> |
| | | <Property></Property> |
| | | <Property name="label">倒入仓库</Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues"> |
| | | <Collection> |
| | | <Entity> |
| | | <Property name="code">1</Property> |
| | | <Property name="name">配套序号#1</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="code">2</Property> |
| | | <Property name="name">配套序号#2</Property> |
| | | </Entity> |
| | | </Collection> |
| | | </Property> |
| | | <Property name="keyProperty">code</Property> |
| | | <Property name="mapValues">${dorado.getDataProvider("depotPR#getAllCache").getResult()}</Property> |
| | | <Property name="keyProperty">id</Property> |
| | | <Property name="valueProperty">name</Property> |
| | | </Property> |
| | | <Property name="required">true</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="playType"> |
| | | <PropertyDef name="depotIdOut"> |
| | | <Property></Property> |
| | | <Property name="label">播放方式</Property> |
| | | <Property name="label">倒出仓库</Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues">${dorado.getDataProvider("dicPR#triggerPlayType").getResult()}</Property> |
| | | <Property name="keyProperty">dictValue</Property> |
| | | <Property name="valueProperty">dictLabel</Property> |
| | | <Property name="mapValues">${dorado.getDataProvider("depotPR#getAllCache").getResult()}</Property> |
| | | <Property name="keyProperty">id</Property> |
| | | <Property name="valueProperty">name</Property> |
| | | </Property> |
| | | <Property name="required">true</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="loginId"> |
| | | <Property></Property> |
| | | <Property name="label">帐号</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="pwd"> |
| | | <Property></Property> |
| | | <Property name="label">密码</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="ip"> |
| | | <Property></Property> |
| | | <Property name="label">IP地址</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="controlPort"> |
| | | <Property name="dataType">Integer</Property> |
| | | <Property name="label">控制端口</Property> |
| | | <Property name="defaultValue">554</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="webPort"> |
| | | <Property name="dataType">Integer</Property> |
| | | <Property name="label">WEB端口</Property> |
| | | <Property name="defaultValue">80</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="chanNum"> |
| | | <Property name="dataType">Integer</Property> |
| | | <Property name="label">通道号</Property> |
| | | <Property name="defaultValue">1</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="urlIn"> |
| | | <Property></Property> |
| | | <Property name="label">内网地址</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="urlOut"> |
| | | <Property></Property> |
| | | <Property name="label">外网地址</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="mediaAddr"> |
| | | <Property></Property> |
| | | <Property name="label">RTSP地址</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="snapType"> |
| | | <Property></Property> |
| | | <Property name="label">抓拍方式</Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues">${dorado.getDataProvider("dicPR#triggerSnapType").getResult()}</Property> |
| | | <Property name="keyProperty">dictValue</Property> |
| | | <Property name="valueProperty">dictLabel</Property> |
| | | </Property> |
| | | <PropertyDef name="changeDate"> |
| | | <Property name="dataType">Date</Property> |
| | | <Property name="label">倒仓日期</Property> |
| | | <Property name="required">true</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="spjklx"> |
| | | <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">1-仓内</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="key">2</Property> |
| | | <Property name="value">2-业务类</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="key">3</Property> |
| | | <Property name="value">3-安防类</Property> |
| | | </Entity> |
| | | </Collection> |
| | | </Property> |
| | | </Property> |
| | | <Property name="required">true</Property> |
| | | <PropertyDef name="changeStartDate"> |
| | | <Property name="dataType">Date</Property> |
| | | <Property name="label">倒仓开始日期</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="spdwlx"> |
| | | <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">1-出入口</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="key">2</Property> |
| | | <Property name="value">2-扦样机</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="key">3</Property> |
| | | <Property name="value">3-化验室</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="key">4</Property> |
| | | <Property name="value">4-结算室</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="key">5</Property> |
| | | <Property name="value">5-地磅室</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="key">6</Property> |
| | | <Property name="value">6-库区主干道</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="key">7</Property> |
| | | <Property name="value">7-仓间监控</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="key">8</Property> |
| | | <Property name="value">8-仓内</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="key">9</Property> |
| | | <Property name="value">9-药品房内外</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="key">10</Property> |
| | | <Property name="value">10-器材室内外</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="key">11</Property> |
| | | <Property name="value">11-制高点</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="key">12</Property> |
| | | <Property name="value">12-油库罐区</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="key">13</Property> |
| | | <Property name="value">13-收发油设备</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="key">14</Property> |
| | | <Property name="value">14-泵房</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="key">15</Property> |
| | | <Property name="value">15-油库主要输送管道</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="key">16</Property> |
| | | <Property name="value">16-周界</Property> |
| | | </Entity> |
| | | </Collection> |
| | | </Property> |
| | | </Property> |
| | | <Property name="required">true</Property> |
| | | <PropertyDef name="changeEndDate"> |
| | | <Property name="dataType">Date</Property> |
| | | <Property name="label">倒仓结束日期</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="posX"> |
| | | <Property></Property> |
| | | <Property name="label">坐标X</Property> |
| | | <PropertyDef name="number"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">倒仓数量</Property> |
| | | <Property name="displayFormat">0.0 KG</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="posY"> |
| | | <PropertyDef name="stockUser"> |
| | | <Property></Property> |
| | | <Property name="label">坐标Y</Property> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">倒仓人</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="screenShow"> |
| | | <PropertyDef name="remarks"> |
| | | <Property></Property> |
| | | <Property name="label">大屏显示</Property> |
| | | <Property name="required">false</Property> |
| | | <Property name="defaultValue">N</Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues"> |
| | | <Collection> |
| | | <Entity> |
| | | <Property name="code">Y</Property> |
| | | <Property name="name">展示</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="code">N</Property> |
| | | <Property name="name">不展示</Property> |
| | | </Entity> |
| | | </Collection> |
| | | </Property> |
| | | <Property name="keyProperty">code</Property> |
| | | <Property name="valueProperty">name</Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="phoneShowTag"> |
| | | <Property></Property> |
| | | <Property name="label">APP显示</Property> |
| | | <Property name="defaultValue">N</Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues"> |
| | | <Collection> |
| | | <Entity> |
| | | <Property name="code">Y</Property> |
| | | <Property name="name">展示</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="code">N</Property> |
| | | <Property name="name">不展示</Property> |
| | | </Entity> |
| | | </Collection> |
| | | </Property> |
| | | <Property name="keyProperty">code</Property> |
| | | <Property name="valueProperty">name</Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="orderNum"> |
| | | <Property></Property> |
| | | <Property name="label">显示顺序</Property> |
| | | <Property name="dataType">Integer</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="vld"> |
| | | <Property></Property> |
| | | <Property name="label">是否使用</Property> |
| | | <Property name="defaultValue">Y</Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues"> |
| | | <Collection> |
| | | <Entity> |
| | | <Property name="code">Y</Property> |
| | | <Property name="name">启用</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="code">N</Property> |
| | | <Property name="name">禁用</Property> |
| | | </Entity> |
| | | </Collection> |
| | | </Property> |
| | | <Property name="keyProperty">code</Property> |
| | | <Property name="valueProperty">name</Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="remark"> |
| | | <Property></Property> |
| | | <Property name="label">备注说明</Property> |
| | | <Property name="label">备注信息</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="createTime"> |
| | | <Property name="dataType">DateTime</Property> |
| | |
| | | </DataType> |
| | | </Model> |
| | | <View layout="padding:10"> |
| | | <ClientEvent name="onClick">
 |
| | | /**
 |
| | | * 查询
 |
| | | */
 |
| | | query = function(){
 |
| | | view.get("#dsMain").flushAsync();
 |
| | | }
 |
| | | /**
 |
| | | * 访问
 |
| | | */
 |
| | | showWeb = function(){
 |
| | | var cur = view.get("#dsMain.data:#");
 |
| | | if(!cur.get("ip")){
 |
| | | $alert("没有配置访问IP,无法访问。");
 |
| | | return;
 |
| | | }
 |
| | | if(!cur.get("webPort")){
 |
| | | $alert("没有配置访问端口,无法访问。");
 |
| | | return;
 |
| | | }
 |
| | | var url = "http://"+cur.get("ip")+":"+cur.get("webPort");
 |
| | | window.open(url);
 |
| | | };
 |
| | | 
 |
| | | /**
 |
| | | * 预览
 |
| | | */
 |
| | | showVideo = function(){
 |
| | | var cur = view.get("#dsMain.data:#");
 |
| | | var playType = cur.get("playType");
 |
| | | 
 |
| | | if(!playType){
 |
| | | $alert("没有配置播放方式,无法预览。");
 |
| | | return;
 |
| | | }
 |
| | | if(!cur.get("ip")){
 |
| | | $alert("没有配置内部访问IP,无法访问。");
 |
| | | return;
 |
| | | }
 |
| | | if(!cur.get("controlPort")){
 |
| | | $alert("没有配置内部控制端口,无法访问。");
 |
| | | return;
 |
| | | }
 |
| | | if(!cur.get("loginId")){
 |
| | | $alert("没有配置用户名,无法访问。");
 |
| | | return;
 |
| | | }
 |
| | | if (!cur.get("pwd")) {
 |
| | | $alert("没有配置密码,无法访问。");
 |
| | | return;
 |
| | | }
 |
| | | 
 |
| | | var url = "./basic/security/video-play?cameraId="+cur.get("id")+"&playType="+playType+"&time="+ new Date().getTime();
 |
| | | 
 |
| | | view.get("#iFrameVideo").set("path",url);
 |
| | | view.get("#dialogVideo").show();
 |
| | | };
 |
| | | </ClientEvent> |
| | | <ClientEvent name="onReady">var deptId = window.parent.DEPT_ID;//父页面中的分库编码
 |
| | | //默认查询查询提条件
 |
| | | view.get("#dsQuery").insert({
 |
| | | deptId:deptId
 |
| | | });
 |
| | | /**
 |
| | | * 查询
 |
| | | */
 |
| | | query = function(){
 |
| | | var data = view.get("#dsQuery.data");
 |
| | | view.get("#dsMain").set("parameter",data).flushAsync();
 |
| | | }
 |
| | | query();
 |
| | | </ClientEvent> |
| | | <Property name="packages">font-awesome,css-common</Property> |
| | | <DataSet id="dsMain"> |
| | | <Property name="loadMode">lazy</Property> |
| | | <Property name="dataProvider">secCameraPR#listPageCamera</Property> |
| | | <Property name="dataProvider">inoutStockChangePR#pageData</Property> |
| | | <Property name="pageSize">20</Property> |
| | | <Property name="dataType">[dtSecCamera]</Property> |
| | | <Property name="dataType">[dtMain]</Property> |
| | | <Property name="loadMode">manual</Property> |
| | | </DataSet> |
| | | <DataSet id="dsParam"> |
| | | <ClientEvent name="onReady">self.insert({});</ClientEvent> |
| | | <Property name="dataType">dtSecCameraParam</Property> |
| | | <DataSet id="dsQuery"> |
| | | <Property name="dataType">dtQuery</Property> |
| | | </DataSet> |
| | | <Container> |
| | | <Property name="className">c-param</Property> |
| | | <AutoForm> |
| | | <Property name="cols">*,*,*,*,90,90</Property> |
| | | <Property name="dataSet">dsParam</Property> |
| | | <Property name="dataSet">dsQuery</Property> |
| | | <Property name="labelAlign">right</Property> |
| | | <Property name="labelWidth">100</Property> |
| | | <AutoFormElement> |
| | | <Property name="name">name</Property> |
| | | <Property name="property">name</Property> |
| | | <Property name="name">depotIdIn</Property> |
| | | <Property name="property">depotIdIn</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">brand</Property> |
| | | <Property name="property">brand</Property> |
| | | <Property name="name">depotIdOut</Property> |
| | | <Property name="property">depotIdOut</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">spjklx</Property> |
| | | <Property name="property">spjklx</Property> |
| | | <Property name="name">changeStartDate</Property> |
| | | <Property name="property">changeStartDate</Property> |
| | | <Property name="trigger">defaultDateDropDown</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">spdwlx</Property> |
| | | <Property name="property">spdwlx</Property> |
| | | <Property name="name">changeEndDate</Property> |
| | | <Property name="property">changeEndDate</Property> |
| | | <Property name="trigger">defaultDateDropDown</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <Button> |
| | | <ClientEvent name="onClick">var param = view.get("#dsParam.data");
 |
| | | view.get("#dsMain").set("parameter",param).flushAsync();</ClientEvent> |
| | | <ClientEvent name="onClick">query();
</ClientEvent> |
| | | <Property name="caption">搜索</Property> |
| | | <Property name="iconClass">fa fa-search</Property> |
| | | <Property name="exClassName">btn-q1</Property> |
| | | </Button> |
| | | <Button> |
| | | <ClientEvent name="onClick">view.get("#dsParam").setData({});</ClientEvent> |
| | | <ClientEvent name="onClick">var deptId = window.parent.DEPT_ID;//父页面中的分库编码
 |
| | | view.get("#dsQuery").setData({deptId:deptId});</ClientEvent> |
| | | <Property name="caption">重置</Property> |
| | | <Property name="exClassName">btn-q2</Property> |
| | | <Property name="iconClass">fa fa-refresh</Property> |
| | |
| | | <Property name="iconClass">fa fa-plus</Property> |
| | | </ToolBarButton> |
| | | <ToolBarButton> |
| | | <ClientEvent name="onClick">var data = view.get("#dataGridCamera").get("selection");
 |
| | | if(data){
 |
| | | view.get("#dialogMain").show();
 |
| | | }else{
 |
| | | $notify("请选择需要修改的监控信息……");
 |
| | | }</ClientEvent> |
| | | <ClientEvent name="onClick">var data = view.get("#dataGridData").get("selection");
 |
| | | if(data){
 |
| | | view.get("#dialogMain").show();
 |
| | | }else{
 |
| | | $notify("请选择需要修改的信息……");
 |
| | | }</ClientEvent> |
| | | <Property name="caption">修改</Property> |
| | | <Property name="exClassName">btn2</Property> |
| | | <Property name="width">100</Property> |
| | | <Property name="iconClass">fa fa-pencil-square-o</Property> |
| | | </ToolBarButton> |
| | | <ToolBarButton> |
| | | <ClientEvent name="onClick">var select = view.get("#dataGridCamera").get("selection");
 |
| | | if(select){
 |
| | | view.get("#ajaxDel").set("parameter",select).execute(function(result){
 |
| | | if(result){
 |
| | | <ClientEvent name="onClick">var select = view.get("#dataGridData").get("selection");
 |
| | | if(select){
 |
| | | view.get("#ajaxDel").set("parameter",select).execute(function(result){
 |
| | | if(result){
 |
| | | $alert(result);
 |
| | | }else{
 |
| | | }else{
 |
| | | query();
 |
| | | }
 |
| | | }); |
| | | }else{
 |
| | | $notify("请选择需要删除的监控信息……");
 |
| | | }</ClientEvent> |
| | | }
 |
| | | }); |
| | | }else{
 |
| | | $notify("请选择需要删除的信息……");
 |
| | | }</ClientEvent> |
| | | <Property name="caption">删除</Property> |
| | | <Property name="exClassName">btn3</Property> |
| | | <Property name="width">100</Property> |
| | | <Property name="iconClass">fa fa-times</Property> |
| | | </ToolBarButton> |
| | | <ToolBarButton> |
| | | <Property name="caption">刷新缓存</Property> |
| | | <Property name="exClassName">btn4</Property> |
| | | <Property name="iconClass">fa fa-refresh</Property> |
| | | <Property name="width">100</Property> |
| | | <Property name="action">refreshCache</Property> |
| | | </ToolBarButton> |
| | | </ToolBar> |
| | | <DataGrid id="dataGridCamera" layoutConstraint="padding:8"> |
| | | <ClientEvent name="onDataRowClick">view.get("#dataGridCamera").set("selection",arg.data);</ClientEvent> |
| | | <DataGrid id="dataGridData" layoutConstraint="padding:8"> |
| | | <ClientEvent name="onDataRowClick">view.get("#dataGridData").set("selection",arg.data);</ClientEvent> |
| | | <Property name="dataSet">dsMain</Property> |
| | | <Property name="selectionMode">singleRow</Property> |
| | | <Property name="readOnly">true</Property> |
| | |
| | | <RowNumColumn> |
| | | <Property name="width">50</Property> |
| | | </RowNumColumn> |
| | | <DataColumn name="name"> |
| | | <Property name="property">name</Property> |
| | | <DataColumn name="id"> |
| | | <Property name="property">id</Property> |
| | | <Property name="align">center</Property> |
| | | <Property name="width">150</Property> |
| | | </DataColumn> |
| | | <DataColumn name="type"> |
| | | <Property name="property">type</Property> |
| | | <Property name="align">center</Property> |
| | | <Property name="width">90</Property> |
| | | </DataColumn> |
| | | <DataColumn name="spjklx"> |
| | | <Property name="property">spjklx</Property> |
| | | <DataColumn name="depotIdIn"> |
| | | <Property name="property">depotIdIn</Property> |
| | | <Property name="align">center</Property> |
| | | <Property name="width">90</Property> |
| | | </DataColumn> |
| | | <DataColumn name="spdwlx"> |
| | | <Property name="property">spdwlx</Property> |
| | | <Property name="align">center</Property> |
| | | <Property name="width">100</Property> |
| | | </DataColumn> |
| | | <DataColumn> |
| | | <Property name="property">playType</Property> |
| | | <Property name="property">depotIdOut</Property> |
| | | <Property name="name">depotIdOut</Property> |
| | | <Property name="align">center</Property> |
| | | <Property name="name">playType</Property> |
| | | <Property name="width">160</Property> |
| | | </DataColumn> |
| | | <DataColumn> |
| | | <Property name="property">snapType</Property> |
| | | <DataColumn name="foodVariety"> |
| | | <Property name="property">foodVariety</Property> |
| | | <Property name="align">center</Property> |
| | | <Property name="name">snapType</Property> |
| | | <Property name="width">160</Property> |
| | | </DataColumn> |
| | | <DataColumn name="ip"> |
| | | <Property name="property">ip</Property> |
| | | <DataColumn name="changeDate"> |
| | | <Property name="property">changeDate</Property> |
| | | <Property name="align">center</Property> |
| | | <Property name="width">120</Property> |
| | | </DataColumn> |
| | | <DataColumn name="controlPort"> |
| | | <Property name="property">controlPort</Property> |
| | | <DataColumn name="number"> |
| | | <ClientEvent name="onRenderCell">arg.dom.style.fontWeight = "bold";
 |
| | | arg.processDefault = true;</ClientEvent> |
| | | <Property name="property">number</Property> |
| | | <Property name="align">center</Property> |
| | | <Property name="width">100</Property> |
| | | </DataColumn> |
| | | <DataColumn name="chanNum"> |
| | | <Property name="property">chanNum</Property> |
| | | <DataColumn name="stockUser"> |
| | | <Property name="property">stockUser</Property> |
| | | <Property name="align">center</Property> |
| | | <Property name="width">80</Property> |
| | | </DataColumn> |
| | | <DataColumn name="brand"> |
| | | <Property name="property">brand</Property> |
| | | <Property name="align">center</Property> |
| | | <Property name="width">100</Property> |
| | | </DataColumn> |
| | | <DataColumn name="updateTime"> |
| | | <Property name="property">updateTime</Property> |
| | | <Property name="align">center</Property> |
| | | <Property name="width">160</Property> |
| | | </DataColumn> |
| | | <DataColumn> |
| | | <ClientEvent name="onRenderCell">arg.dom.innerHTML = "<a href='javascript:;' onClick='showVideo()' class='a-btn1'>预览</a>&nbsp;|&nbsp;<a href='javascript:;' onClick='showWeb()' class='a-btn3'>访问</a>";</ClientEvent> |
| | | <Property name="width">160</Property> |
| | | <Property name="caption">操作</Property> |
| | | <Property name="align">center</Property> |
| | | <Editor/> |
| | | </DataColumn> |
| | | </DataGrid> |
| | | <ToolBar layoutConstraint="bottom"> |
| | |
| | | </Container> |
| | | <Dialog id="dialogMain" layout="regionPadding:8"> |
| | | <Property name="iconClass">fa fa-tasks</Property> |
| | | <Property name="width">1200</Property> |
| | | <Property name="caption">监控信息</Property> |
| | | <Property name="caption">倒仓信息</Property> |
| | | <Property name="width">1000</Property> |
| | | <Property name="closeable">false</Property> |
| | | <Buttons> |
| | | <Button> |
| | | <Button id="btnOK"> |
| | | <ClientEvent name="onClick">var data = view.get("#dsMain.data:#");
 |
| | | if(data.validate() != 'ok'){
 |
| | | $notify("数据校验失败!!");
 |
| | | return;
 |
| | | }
 |
| | | view.get("#uaAction").set("parameter",data).execute(function(){
 |
| | | self.get("parent").hide();
 |
| | | query();
 |
| | | });</ClientEvent> |
| | | <Property name="caption">保存</Property> |
| | | if(data.validate() != 'ok'){
 |
| | | $notify("数据校验失败!!");
 |
| | | return;
 |
| | | }
 |
| | | view.get("#uaSave").execute(function(result){
 |
| | | if(result){
 |
| | | $alert(result);
 |
| | | return;
 |
| | | }
 |
| | | $notify("数据执行完成!!");
 |
| | | query();
 |
| | | self.get("parent").hide();
 |
| | | });</ClientEvent> |
| | | <Property name="caption">确定保存</Property> |
| | | <Property name="iconClass">fa fa-check-circle</Property> |
| | | <Property name="exClassName">btn1</Property> |
| | | <Property name="width">120</Property> |
| | | </Button> |
| | | <Button> |
| | | <ClientEvent name="onClick">var cur = view.get("#dsMain.data:#");
 |
| | | if(cur) cur.cancel();
 |
| | | self.get("parent").hide();</ClientEvent> |
| | | <Property name="caption">取消</Property> |
| | | <ClientEvent name="onClick">self.get("parent").close();</ClientEvent> |
| | | <Property name="caption">取消操作</Property> |
| | | <Property name="exClassName">btn3</Property> |
| | | <Property name="iconClass">fa fa-times-circle</Property> |
| | | <Property name="width">120</Property> |
| | | </Button> |
| | | </Buttons> |
| | | <Children> |
| | | <FieldSet layout="padding:5"> |
| | | <Property name="caption">基本信息</Property> |
| | | <Buttons/> |
| | | <Children> |
| | | <AutoForm> |
| | | <Property name="dataSet">dsMain</Property> |
| | | <Property name="cols">*,*,*,*</Property> |
| | | <Property name="labelWidth">100</Property> |
| | | <Property name="labelAlign">right</Property> |
| | | <Property name="labelSeparator">:</Property> |
| | | <AutoFormElement> |
| | | <Property name="name">name</Property> |
| | | <Property name="property">name</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">type</Property> |
| | | <Property name="property">type</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">brand</Property> |
| | | <Property name="property">brand</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">deptId</Property> |
| | | <Property name="property">deptId</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">loginId</Property> |
| | | <Property name="property">loginId</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">pwd</Property> |
| | | <Property name="property">pwd</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">chanNum</Property> |
| | | <Property name="property">chanNum</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">spjklx</Property> |
| | | <Property name="property">spjklx</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">ip</Property> |
| | | <Property name="property">ip</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">controlPort</Property> |
| | | <Property name="property">controlPort</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">webPort</Property> |
| | | <Property name="property">webPort</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">spdwlx</Property> |
| | | <Property name="property">spdwlx</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">sort</Property> |
| | | <Property name="property">sort</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">screenShow</Property> |
| | | <Property name="property">screenShow</Property> |
| | | <Editor> |
| | | <RadioGroup> |
| | | <RadioButton> |
| | | <Property name="text">展示</Property> |
| | | <Property name="value">Y</Property> |
| | | </RadioButton> |
| | | <RadioButton> |
| | | <Property name="text">不展示</Property> |
| | | <Property name="value">N</Property> |
| | | </RadioButton> |
| | | </RadioGroup> |
| | | </Editor> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">phoneShowTag</Property> |
| | | <Property name="property">phoneShowTag</Property> |
| | | <Editor> |
| | | <RadioGroup> |
| | | <RadioButton> |
| | | <Property name="text">展示</Property> |
| | | <Property name="value">Y</Property> |
| | | </RadioButton> |
| | | <RadioButton> |
| | | <Property name="text">不展示</Property> |
| | | <Property name="value">N</Property> |
| | | </RadioButton> |
| | | </RadioGroup> |
| | | </Editor> |
| | | </AutoFormElement> |
| | | </AutoForm> |
| | | </Children> |
| | | </FieldSet> |
| | | <FieldSet layout="padding:5"> |
| | | <Property name="caption">播放配置</Property> |
| | | <Buttons/> |
| | | <Children> |
| | | <AutoForm> |
| | | <Property name="dataSet">dsMain</Property> |
| | | <Property name="cols">*,*,*,*,*</Property> |
| | | <Property name="labelWidth">100</Property> |
| | | <Property name="labelAlign">right</Property> |
| | | <Property name="labelSeparator">:</Property> |
| | | <AutoFormElement layoutConstraint="colSpan:2"> |
| | | <Property name="name">playType</Property> |
| | | <Property name="property">playType</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement layoutConstraint="colSpan:3"> |
| | | <Property name="name">urlIn</Property> |
| | | <Property name="property">urlIn</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement layoutConstraint="colSpan:2"> |
| | | <Property name="name">snapType</Property> |
| | | <Property name="property">snapType</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement layoutConstraint="colSpan:3"> |
| | | <Property name="name">urlOut</Property> |
| | | <Property name="property">urlOut</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement layoutConstraint="colSpan:2"> |
| | | <Property name="name">sn</Property> |
| | | <Property name="property">sn</Property> |
| | | <Editor> |
| | | <TextEditor id="sn"> |
| | | <Property name="blankText"> -- 流媒体平台中设备SN --</Property> |
| | | </TextEditor> |
| | | </Editor> |
| | | </AutoFormElement> |
| | | <AutoFormElement layoutConstraint="colSpan:3"> |
| | | <Property name="name">mediaAddr</Property> |
| | | <Property name="property">mediaAddr</Property> |
| | | <Property name="trigger">triggerMedia</Property> |
| | | <Editor> |
| | | <TextEditor id="mediaAddr"> |
| | | <Property name="blankText"> -- 点击右侧选择,或者手动填写 --</Property> |
| | | </TextEditor> |
| | | </Editor> |
| | | </AutoFormElement> |
| | | </AutoForm> |
| | | </Children> |
| | | </FieldSet> |
| | | <FieldSet layout="padding:5"> |
| | | <Property name="caption">其他信息</Property> |
| | | <Buttons/> |
| | | <Children> |
| | | <AutoForm> |
| | | <Property name="dataSet">dsMain</Property> |
| | | <Property name="cols">*,*,*</Property> |
| | | <Property name="labelWidth">100</Property> |
| | | <Property name="labelAlign">right</Property> |
| | | <Property name="labelSeparator">:</Property> |
| | | <AutoFormElement> |
| | | <Property name="name">vld</Property> |
| | | <Property name="property">vld</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">orderNum</Property> |
| | | <Property name="property">orderNum</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">updateTime</Property> |
| | | <Property name="property">updateTime</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement layoutConstraint="colSpan:2"> |
| | | <Property name="name">remark</Property> |
| | | <Property name="property">remark</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">createBy</Property> |
| | | <Property name="property">createBy</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">createTime</Property> |
| | | <Property name="property">createTime</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">updateBy</Property> |
| | | <Property name="property">updateBy</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">updateTime</Property> |
| | | <Property name="property">updateTime</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | </AutoForm> |
| | | </Children> |
| | | </FieldSet> |
| | | <AutoForm> |
| | | <Property name="dataSet">dsMain</Property> |
| | | <Property name="cols">*,*</Property> |
| | | <Property name="labelAlign">right</Property> |
| | | <Property name="labelSeparator">:</Property> |
| | | <Property name="labelWidth">120</Property> |
| | | <AutoFormElement> |
| | | <Property name="name">id</Property> |
| | | <Property name="property">id</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">type</Property> |
| | | <Property name="property">type</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">changeDate</Property> |
| | | <Property name="property">changeDate</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">deptId</Property> |
| | | <Property name="property">deptId</Property> |
| | | <Property name="readOnly">true</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">depotIdOut</Property> |
| | | <Property name="property">depotIdOut</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">depotIdIn</Property> |
| | | <Property name="property">depotIdIn</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">foodVariety</Property> |
| | | <Property name="property">foodVariety</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">number</Property> |
| | | <Property name="property">number</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">changeStartDate</Property> |
| | | <Property name="property">changeStartDate</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">changeEndDate</Property> |
| | | <Property name="property">changeEndDate</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">stockUser</Property> |
| | | <Property name="property">stockUser</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">updateTime</Property> |
| | | <Property name="property">updateTime</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement layoutConstraint="colSpan:2"> |
| | | <Property name="name">remarks</Property> |
| | | <Property name="property">remarks</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | </AutoForm> |
| | | </Children> |
| | | <Tools/> |
| | | </Dialog> |
| | | <UpdateAction id="uaAction"> |
| | | <Property name="dataResolver">secCameraPR#saveCamera</Property> |
| | | <UpdateAction id="uaSave"> |
| | | <Property name="dataResolver">inoutStockChangePR#saveData</Property> |
| | | <UpdateItem> |
| | | <Property name="dataSet">dsMain</Property> |
| | | <Property name="dataPath">[#current]</Property> |
| | | <Property name="validateData">false</Property> |
| | | </UpdateItem> |
| | | </UpdateAction> |
| | | <AjaxAction id="ajaxDel"> |
| | | <Property name="confirmMessage">确定要删除吗?</Property> |
| | | <Property name="service">secCameraPR#delCamera</Property> |
| | | <Property name="service">inoutStockChangePR#delData</Property> |
| | | </AjaxAction> |
| | | <Dialog id="dialogVideo"> |
| | | <Property name="width">1320</Property> |
| | | <Property name="caption">视频预览</Property> |
| | | <Property name="contentOverflow">hidden</Property> |
| | | <Property name="height">620</Property> |
| | | <Buttons/> |
| | | <Children> |
| | | <IFrame id="iFrameVideo" layoutConstraint="center"/> |
| | | </Children> |
| | | <Tools/> |
| | | </Dialog> |
| | | <AjaxAction id="refreshCache"> |
| | | <Property name="service">secCameraPR#refreshCache</Property> |
| | | <Property name="successMessage">缓存更新成功!</Property> |
| | | </AjaxAction> |
| | | <Trigger id="triggerMedia"> |
| | | <ClientEvent name="onExecute">view.get("#dialogMeidaSelect").show();
 |
| | | </ClientEvent> |
| | | </Trigger> |
| | | <Dialog id="dialogMeidaSelect" layout="vbox padding:10"> |
| | | <Property name="width">650</Property> |
| | | <Property name="caption">流媒体地址选择</Property> |
| | | <Buttons/> |
| | | <Children> |
| | | <Container> |
| | | <Label> |
| | | <Property name="text">海康RTSP(旧版-主码流)</Property> |
| | | <Property name="style"> |
| | | <Property name="font-weight">bold</Property> |
| | | </Property> |
| | | </Label> |
| | | <Label id="text1"> |
| | | <Property name="text">rtsp://{0}:{1}@{2}:{3}/h264/ch{4}/main/av_stream</Property> |
| | | </Label> |
| | | <Button layoutConstraint="right"> |
| | | <ClientEvent name="onClick">view.get("#mediaAddr").set("text",view.get("#text1.text"));
 |
| | | view.get("#dialogMeidaSelect").hide();
 |
| | | </ClientEvent> |
| | | <Property name="caption">选择</Property> |
| | | <CustomDropDown id="ddNotice"> |
| | | <Property name="minHeight">400</Property> |
| | | <Property name="assignmentMap">noticeId=id,customerName=customerName</Property> |
| | | <Property name="minWidth">1000</Property> |
| | | <Property name="autoOpen">true</Property> |
| | | <Container layout="regionPadding:5"> |
| | | <DataSet id="dsNotice"> |
| | | <Property name="dataProvider">inoutNoticePR#queryNoticeByKey</Property> |
| | | <Property name="parameter"> |
| | | <Entity> |
| | | <Property name="type">${request.getParameter('type')}</Property> |
| | | </Entity> |
| | | </Property> |
| | | <Property name="dataType">[dtNoticeDto]</Property> |
| | | </DataSet> |
| | | <Container layout="hbox regionPadding:5"> |
| | | <TextEditor id="key3"> |
| | | <Property name="blankText"> -- 客户名称或编码 --</Property> |
| | | <Property name="width">200</Property> |
| | | </TextEditor> |
| | | <Button> |
| | | <ClientEvent name="onClick">var key = view.get("#key3.value");
 |
| | | var type = "${request.getParameter('type')}";
 |
| | | view.get("#dsNotice").set("parameter",{key: key,type: type}).flushAsync();</ClientEvent> |
| | | <Property name="caption">查询</Property> |
| | | <Property name="exClassName">btn1</Property> |
| | | <Property name="iconClass">fa fa-search</Property> |
| | | </Button> |
| | | <Button> |
| | | <ClientEvent name="onClick">var data = view.get("#dsNotice.data:#");
 |
| | | if(data){
 |
| | | view.get("#ddNotice").close(data.toJSON());
 |
| | | }</ClientEvent> |
| | | <Property name="iconClass">fa fa-check</Property> |
| | | <Property name="exClassName">btn2</Property> |
| | | <Property name="caption">确定</Property> |
| | | </Button> |
| | | </Container> |
| | | <Container> |
| | | <Label> |
| | | <Property name="text">海康RTSP(旧版-子码流)</Property> |
| | | <Property name="style"> |
| | | <Property name="font-weight">bold</Property> |
| | | </Property> |
| | | </Label> |
| | | <Label id="text2"> |
| | | <Property name="text">rtsp://{0}:{1}@{2}:{3}/mpeg4/ch{4}/sub/av_stream</Property> |
| | | </Label> |
| | | <Button layoutConstraint="right"> |
| | | <ClientEvent name="onClick">view.get("#mediaAddr").set("text",view.get("#text2.text"));
 |
| | | view.get("#dialogMeidaSelect").hide();
 |
| | | </ClientEvent> |
| | | <Property name="caption">选择</Property> |
| | | <DataGrid> |
| | | <ClientEvent name="onDataRowDoubleClick">var data = view.get("#dsNotice.data:#");
 |
| | | if(data){
 |
| | | view.get("#ddNotice").close(data.toJSON());
 |
| | | }</ClientEvent> |
| | | <Property name="dataSet">dsNotice</Property> |
| | | <Property name="readOnly">true</Property> |
| | | <DataColumn name="name"> |
| | | <Property name="property">name</Property> |
| | | <Property name="align">center</Property> |
| | | <Property name="width">100</Property> |
| | | </DataColumn> |
| | | <DataColumn> |
| | | <Property name="property">customerName</Property> |
| | | <Property name="align">center</Property> |
| | | <Property name="name">customerName</Property> |
| | | <Property name="width">240</Property> |
| | | </DataColumn> |
| | | <DataColumn name="foodVariety"> |
| | | <Property name="property">foodVariety</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="year"> |
| | | <Property name="property">year</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="contract"> |
| | | <Property name="property">contract</Property> |
| | | <Property name="align">center</Property> |
| | | <Property name="width">300</Property> |
| | | </DataColumn> |
| | | </DataGrid> |
| | | </Container> |
| | | </CustomDropDown> |
| | | <CustomDropDown id="ddDicArea"> |
| | | <Property name="minHeight">500</Property> |
| | | <Property name="minWidth">500</Property> |
| | | <Property name="assignmentMap">foodLocation=name,foodLocationId=code</Property> |
| | | <Container layout="regionPadding:5"> |
| | | <DataSet id="dsDicArea"> |
| | | <Property name="dataProvider">dicAreaPR#pageList</Property> |
| | | <Property name="parameter"></Property> |
| | | <Property name="dataType">[dtArea]</Property> |
| | | <Property name="pageSize">1000</Property> |
| | | </DataSet> |
| | | <Container layout="hbox regionPadding:5"> |
| | | <TextEditor id="key2"> |
| | | <Property name="blankText"> -名称或简拼,北京市 bjs -</Property> |
| | | <Property name="width">200</Property> |
| | | </TextEditor> |
| | | <Button> |
| | | <ClientEvent name="onClick">var key = view.get("#key2.value");
 |
| | | view.get("#dsDicArea").set("parameter",{key:key}).flushAsync();</ClientEvent> |
| | | <Property name="caption">查询</Property> |
| | | <Property name="iconClass">fa fa-search</Property> |
| | | <Property name="exClassName">btn1</Property> |
| | | </Button> |
| | | <Button> |
| | | <ClientEvent name="onClick">var data = view.get("#dsDicArea.data:#");
 |
| | | if(data){
 |
| | | view.get("#ddDicArea").close(data.toJSON());
 |
| | | }</ClientEvent> |
| | | <Property name="iconClass">fa fa-check</Property> |
| | | <Property name="exClassName">btn2</Property> |
| | | <Property name="caption">确定</Property> |
| | | </Button> |
| | | </Container> |
| | | <Container> |
| | | <Label> |
| | | <Property name="text">海康RTSP(新版-主码流)</Property> |
| | | <Property name="style"> |
| | | <Property name="font-weight">bold</Property> |
| | | </Property> |
| | | </Label> |
| | | <Label id="text3"> |
| | | <Property name="text">rtsp://{0}:{1}@{2}:{3}/Streaming/Channels/{4}01</Property> |
| | | </Label> |
| | | <Button layoutConstraint="right"> |
| | | <ClientEvent name="onClick">view.get("#mediaAddr").set("text",view.get("#text3.text"));
 |
| | | view.get("#dialogMeidaSelect").hide();
 |
| | | </ClientEvent> |
| | | <Property name="caption">选择</Property> |
| | | <Property name="iconClass">fa fa-check</Property> |
| | | </Button> |
| | | </Container> |
| | | <Container> |
| | | <Label> |
| | | <Property name="text">海康RTSP(新版-子码流)</Property> |
| | | <Property name="style"> |
| | | <Property name="font-weight">bold</Property> |
| | | </Property> |
| | | </Label> |
| | | <Label id="text4"> |
| | | <Property name="text">rtsp://{0}:{1}@{2}:{3}/Streaming/Channels/{4}02</Property> |
| | | </Label> |
| | | <Button layoutConstraint="right"> |
| | | <ClientEvent name="onClick">view.get("#mediaAddr").set("text",view.get("#text4.text"));
 |
| | | view.get("#dialogMeidaSelect").hide();
 |
| | | </ClientEvent> |
| | | <Property name="caption">选择</Property> |
| | | <Property name="iconClass">fa fa-check</Property> |
| | | </Button> |
| | | </Container> |
| | | <Container> |
| | | <Label> |
| | | <Property name="text">大华RTSP(主码流)</Property> |
| | | <Property name="style"> |
| | | <Property name="font-weight">bold</Property> |
| | | </Property> |
| | | </Label> |
| | | <Label id="text5"> |
| | | <Property name="text">rtsp://{0}:{1}@{2}:{3}/cam/realmonitor?channel={4}&subtype=0</Property> |
| | | </Label> |
| | | <Button layoutConstraint="right"> |
| | | <ClientEvent name="onClick">view.get("#mediaAddr").set("text",view.get("#text5.text"));
 |
| | | view.get("#dialogMeidaSelect").hide();
 |
| | | </ClientEvent> |
| | | <Property name="caption">选择</Property> |
| | | <Property name="iconClass">fa fa-check</Property> |
| | | </Button> |
| | | </Container> |
| | | <Container> |
| | | <Label> |
| | | <Property name="text">大华RTSP(辅码流)</Property> |
| | | <Property name="style"> |
| | | <Property name="font-weight">bold</Property> |
| | | </Property> |
| | | </Label> |
| | | <Label id="text6"> |
| | | <Property name="text">rtsp://{0}:{1}@{2}:{3}/cam/realmonitor?channel={4}&subtype=1</Property> |
| | | </Label> |
| | | <Button layoutConstraint="right"> |
| | | <ClientEvent name="onClick">view.get("#mediaAddr").set("text",view.get("#text6.text"));
 |
| | | view.get("#dialogMeidaSelect").hide();
 |
| | | </ClientEvent> |
| | | <Property name="caption">选择</Property> |
| | | <Property name="iconClass">fa fa-check</Property> |
| | | </Button> |
| | | </Container> |
| | | <Container> |
| | | <Label> |
| | | <Property name="text">雄迈RTSP(主码流)</Property> |
| | | <Property name="style"> |
| | | <Property name="font-weight">bold</Property> |
| | | </Property> |
| | | </Label> |
| | | <Label id="text7"> |
| | | <Property name="text">rtsp://{2}:{3}/user={0}&password={1}&channel={4}&stream=0.sdp?real_stream</Property> |
| | | </Label> |
| | | <Button layoutConstraint="right"> |
| | | <ClientEvent name="onClick">view.get("#mediaAddr").set("text",view.get("#text7.text"));
 |
| | | view.get("#dialogMeidaSelect").hide();
 |
| | | </ClientEvent> |
| | | <Property name="caption">选择</Property> |
| | | <Property name="iconClass">fa fa-check</Property> |
| | | </Button> |
| | | </Container> |
| | | <Container> |
| | | <Label> |
| | | <Property name="text">雄迈RTSP(次码流)</Property> |
| | | <Property name="style"> |
| | | <Property name="font-weight">bold</Property> |
| | | </Property> |
| | | </Label> |
| | | <Label id="text8"> |
| | | <Property name="text">rtsp://{2}:{3}/user={0}&password={1}&channel={4}&stream=1.sdp?real_stream</Property> |
| | | </Label> |
| | | <Button layoutConstraint="right"> |
| | | <ClientEvent name="onClick">view.get("#mediaAddr").set("text",view.get("#text8.text"));
 |
| | | view.get("#dialogMeidaSelect").hide();
 |
| | | </ClientEvent> |
| | | <Property name="caption">选择</Property> |
| | | <Property name="iconClass">fa fa-check</Property> |
| | | </Button> |
| | | </Container> |
| | | <Container> |
| | | <Label> |
| | | <Property name="text">三星RTSP(高码率)</Property> |
| | | <Property name="style"> |
| | | <Property name="font-weight">bold</Property> |
| | | </Property> |
| | | </Label> |
| | | <Label id="text9"> |
| | | <Property name="text">rtsp://{0}:{1}@{2}:{3}/onvif/profile2/media.smp</Property> |
| | | </Label> |
| | | <Button layoutConstraint="right"> |
| | | <ClientEvent name="onClick">view.get("#mediaAddr").set("text",view.get("#text9.text"));
 |
| | | view.get("#dialogMeidaSelect").hide();
 |
| | | </ClientEvent> |
| | | <Property name="caption">选择</Property> |
| | | <Property name="iconClass">fa fa-check</Property> |
| | | </Button> |
| | | </Container> |
| | | <Container> |
| | | <Label> |
| | | <Property name="text">三星RTSP(低码率)</Property> |
| | | <Property name="style"> |
| | | <Property name="font-weight">bold</Property> |
| | | </Property> |
| | | </Label> |
| | | <Label id="text10"> |
| | | <Property name="text">rtsp://{0}:{1}@{2}:{3}/onvif/profile3/media.smp</Property> |
| | | </Label> |
| | | <Button layoutConstraint="right"> |
| | | <ClientEvent name="onClick">view.get("#mediaAddr").set("text",view.get("#text10.text"));
 |
| | | view.get("#dialogMeidaSelect").hide();
 |
| | | </ClientEvent> |
| | | <Property name="caption">选择</Property> |
| | | <Property name="iconClass">fa fa-check</Property> |
| | | </Button> |
| | | </Container> |
| | | <Container> |
| | | <Label> |
| | | <Property name="text">宇视RTSP</Property> |
| | | <Property name="style"> |
| | | <Property name="font-weight">bold</Property> |
| | | </Property> |
| | | </Label> |
| | | <Label id="text11"> |
| | | <Property name="text">rtsp://{0}:{1}@{2}/media/video1/multicast</Property> |
| | | </Label> |
| | | <Button layoutConstraint="right"> |
| | | <ClientEvent name="onClick">view.get("#mediaAddr").set("text",view.get("#text11.text"));
 |
| | | view.get("#dialogMeidaSelect").hide();
 |
| | | </ClientEvent> |
| | | <Property name="caption">选择</Property> |
| | | <Property name="iconClass">fa fa-check</Property> |
| | | </Button> |
| | | </Container> |
| | | </Children> |
| | | <Tools/> |
| | | </Dialog> |
| | | <DataGrid> |
| | | <ClientEvent name="onDataRowDoubleClick">var data = view.get("#dsDicArea.data:#");
 |
| | | if(data){
 |
| | | view.get("#ddDicArea").close(data.toJSON());
 |
| | | }</ClientEvent> |
| | | <Property name="dataSet">dsDicArea</Property> |
| | | <Property name="readOnly">true</Property> |
| | | <DataColumn name="name"> |
| | | <ClientEvent name="onRenderCell">arg.dom.style.fontWeight = "bold";
 |
| | | arg.processDefault = true;</ClientEvent> |
| | | <Property name="property">name</Property> |
| | | <Property name="readOnly">true</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="code"> |
| | | <Property name="property">code</Property> |
| | | <Property name="readOnly">true</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="simple"> |
| | | <Property name="property">simple</Property> |
| | | <Property name="readOnly">true</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | </DataGrid> |
| | | <DataPilot layoutConstraint="bottom"> |
| | | <Property name="dataSet">dsDicArea</Property> |
| | | </DataPilot> |
| | | </Container> |
| | | </CustomDropDown> |
| | | <YearDropDown id="yearDropDown"/> |
| | | </View> |
| | | </ViewConfig> |