| | |
| | | <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> |