| | |
| | | <Property></Property> |
| | | <Property name="label">所属库区</Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues">${dorado.getDataProvider("deptPR#getAllData").getResult()}</Property> |
| | | <Property name="mapValues">${dorado.getDataProvider("deptPR#getDeptByUserType").getResult()}</Property> |
| | | <Property name="keyProperty">id</Property> |
| | | <Property name="valueProperty">kqmc</Property> |
| | | </Property> |
| | | <Property name="readOnly">true</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="name"> |
| | | <Property></Property> |
| | |
| | | </PropertyDef> |
| | | <PropertyDef name="sort"> |
| | | <Property name="label">配套序号</Property> |
| | | <Property name="required">true</Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues"> |
| | | <Collection> |
| | |
| | | <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> |
| | | <Property name="required">true</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="ptzType"> |
| | | <Property></Property> |
| | | <Property name="label">云台方式</Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues">${dorado.getDataProvider("dicPR#triggerPtzType").getResult()}</Property> |
| | | <Property name="keyProperty">dictValue</Property> |
| | | <Property name="valueProperty">dictLabel</Property> |
| | | </Property> |
| | |
| | | <Property name="readOnly">true</Property> |
| | | </PropertyDef> |
| | | </DataType> |
| | | <DataType name="dtPull"> |
| | | <Property name="creationType">com.fzzy.igds.domain.Camera</Property> |
| | | <PropertyDef name="deptId"> |
| | | <Property></Property> |
| | | <Property name="label">同步库区</Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues">${dorado.getDataProvider("deptPR#getDeptByUserType").getResult()}</Property> |
| | | <Property name="keyProperty">id</Property> |
| | | <Property name="valueProperty">kqmc</Property> |
| | | </Property> |
| | | <Property name="required">true</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="playType"> |
| | | <Property></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> |
| | | <Property name="required">true</Property> |
| | | </PropertyDef> |
| | | </DataType> |
| | | </Model> |
| | | <View layout="padding:10"> |
| | | <ClientEvent name="onClick">
 |
| | |
| | | <ClientEvent name="onReady">self.insert({});</ClientEvent> |
| | | <Property name="dataType">dtSecCameraParam</Property> |
| | | </DataSet> |
| | | <DataSet id="dsPull"> |
| | | <ClientEvent name="onReady">self.insert({});</ClientEvent> |
| | | <Property name="dataType">dtPull</Property> |
| | | </DataSet> |
| | | <Container> |
| | | <Property name="className">c-param</Property> |
| | | <AutoForm> |
| | | <Property name="cols">*,*,*,*,90,90</Property> |
| | | <Property name="cols">*,*,*,*,90,90,120</Property> |
| | | <Property name="dataSet">dsParam</Property> |
| | | <Property name="labelAlign">right</Property> |
| | | <Property name="labelWidth">100</Property> |
| | |
| | | <Property name="caption">重置</Property> |
| | | <Property name="exClassName">btn-q2</Property> |
| | | <Property name="iconClass">fa fa-refresh</Property> |
| | | </Button> |
| | | <Button> |
| | | <ClientEvent name="onClick"> |
| | | var url = "/com.fzzy.igds.ConfByDept.d";
 |
| | | window.$openTab("库区配置", url); |
| | | </ClientEvent> |
| | | <Property name="caption">库区配置</Property> |
| | | <Property name="exClassName">btn-q1</Property> |
| | | <Property name="iconClass">fa fa-plus-square</Property> |
| | | </Button> |
| | | </AutoForm> |
| | | </Container> |
| | |
| | | <Property name="iconClass">fa fa-refresh</Property> |
| | | <Property name="width">100</Property> |
| | | <Property name="action">refreshCache</Property> |
| | | </ToolBarButton> |
| | | <ToolBarButton> |
| | | <ClientEvent name="onClick">view.get("#dialogPull").show();</ClientEvent> |
| | | <Property name="caption">同步监控</Property> |
| | | <Property name="exClassName">btn2</Property> |
| | | <Property name="iconClass">fa fa-random</Property> |
| | | <Property name="width">100</Property> |
| | | </ToolBarButton> |
| | | </ToolBar> |
| | | <DataGrid id="dataGridCamera" layoutConstraint="padding:8"> |
| | |
| | | </Container> |
| | | <Dialog id="dialogMain" layout="regionPadding:8"> |
| | | <Property name="iconClass">fa fa-tasks</Property> |
| | | <Property name="width">1200</Property> |
| | | <Property name="width">80%</Property> |
| | | <Property name="caption">监控信息</Property> |
| | | <Property name="closeable">false</Property> |
| | | <Property name="height">90%</Property> |
| | | <Buttons> |
| | | <Button> |
| | | <ClientEvent name="onClick">var data = view.get("#dsMain.data:#");
 |
| | |
| | | <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">ip</Property> |
| | | <Property name="property">ip</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">chanNum</Property> |
| | | <Property name="property">chanNum</Property> |
| | | <Editor/> |
| | |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">ip</Property> |
| | | <Property name="property">ip</Property> |
| | | <Property name="name">spdwlx</Property> |
| | | <Property name="property">spdwlx</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <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> |
| | |
| | | <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> |
| | | <Property name="name">ptzType</Property> |
| | | <Property name="property">ptzType</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement layoutConstraint="colSpan:3"> |
| | | <Property name="name">mediaAddr</Property> |
| | |
| | | <Editor> |
| | | <TextEditor id="mediaAddr"> |
| | | <Property name="blankText"> -- 点击右侧选择,或者手动填写 --</Property> |
| | | </TextEditor> |
| | | </Editor> |
| | | </AutoFormElement> |
| | | <AutoFormElement layoutConstraint="colSpan:5"> |
| | | <Property name="name">sn</Property> |
| | | <Property name="property">sn</Property> |
| | | <Editor> |
| | | <TextEditor id="sn"> |
| | | <Property name="blankText"> -- 流媒体平台中设备SN --</Property> |
| | | </TextEditor> |
| | | </Editor> |
| | | </AutoFormElement> |
| | |
| | | <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> |
| | | </Children> |
| | | <Tools/> |
| | | </Dialog> |
| | | <Dialog id="dialogPull" layout="regionPadding:8"> |
| | | <Property name="iconClass">fa fa-tasks</Property> |
| | | <Property name="width">35%</Property> |
| | | <Property name="caption">同步监控信息</Property> |
| | | <Property name="closeable">false</Property> |
| | | <Buttons> |
| | | <Button> |
| | | <ClientEvent name="onClick">var data = view.get("#dsPull.data:#");
 |
| | | if(data.validate() != 'ok'){
 |
| | | $notify("数据校验失败!!");
 |
| | | return;
 |
| | | }
 |
| | | view.get("#ajaxRemoteMedia").set("parameter",data).execute(function(result){
 |
| | | if(result){
 |
| | | $alert(result);
 |
| | | }else{
 |
| | | self.get("parent").hide();
 |
| | | query();
 |
| | | }
 |
| | | });</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> |
| | | <Property name="exClassName">btn3</Property> |
| | | <Property name="iconClass">fa fa-times-circle</Property> |
| | | <Property name="width">120</Property> |
| | | </Button> |
| | | </Buttons> |
| | | <Children> |
| | | <AutoForm> |
| | | <Property name="dataSet">dsPull</Property> |
| | | <Property name="cols">*</Property> |
| | | <Property name="labelWidth">100</Property> |
| | | <Property name="labelAlign">right</Property> |
| | | <Property name="labelSeparator">:</Property> |
| | | <AutoFormElement> |
| | | <Property name="name">deptId</Property> |
| | | <Property name="property">deptId</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">playType</Property> |
| | | <Property name="property">playType</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | </AutoForm> |
| | | </Children> |
| | | <Tools/> |
| | | </Dialog> |
| | |
| | | <Property name="confirmMessage">确定要删除吗?</Property> |
| | | <Property name="service">secCameraPR#delCamera</Property> |
| | | </AjaxAction> |
| | | <UpdateAction id="ajaxRemoteMedia"> |
| | | <Property name="dataResolver">secCameraPR#flushByMedia</Property> |
| | | <UpdateItem> |
| | | <Property name="dataSet">dsPull</Property> |
| | | <Property name="dataPath">[#current]</Property> |
| | | </UpdateItem> |
| | | </UpdateAction> |
| | | <Dialog id="dialogVideo"> |
| | | <Property name="width">1320</Property> |
| | | <Property name="caption">视频预览</Property> |
| | |
| | | </ClientEvent> |
| | | </Trigger> |
| | | <Dialog id="dialogMeidaSelect" layout="vbox padding:10"> |
| | | <Property name="width">650</Property> |
| | | <Property name="width">800</Property> |
| | | <Property name="height">80%</Property> |
| | | <Property name="caption">流媒体地址选择</Property> |
| | | <Buttons/> |
| | | <Children> |
| | |
| | | </Label> |
| | | <Button layoutConstraint="right"> |
| | | <ClientEvent name="onClick">view.get("#mediaAddr").set("text",view.get("#text1.text"));
 |
| | | view.get("#dialogMeidaSelect").hide();
 |
| | | </ClientEvent> |
| | | view.get("#dialogMeidaSelect").hide();
 |
| | | </ClientEvent> |
| | | <Property name="caption">选择</Property> |
| | | <Property name="iconClass">fa fa-check</Property> |
| | | <Property name="exClassName">btn1</Property> |
| | | </Button> |
| | | </Container> |
| | | <Container> |
| | |
| | | </Label> |
| | | <Button layoutConstraint="right"> |
| | | <ClientEvent name="onClick">view.get("#mediaAddr").set("text",view.get("#text2.text"));
 |
| | | view.get("#dialogMeidaSelect").hide();
 |
| | | </ClientEvent> |
| | | view.get("#dialogMeidaSelect").hide();
 |
| | | </ClientEvent> |
| | | <Property name="caption">选择</Property> |
| | | <Property name="iconClass">fa fa-check</Property> |
| | | <Property name="exClassName">btn1</Property> |
| | | </Button> |
| | | </Container> |
| | | <Container> |
| | |
| | | </Label> |
| | | <Button layoutConstraint="right"> |
| | | <ClientEvent name="onClick">view.get("#mediaAddr").set("text",view.get("#text3.text"));
 |
| | | view.get("#dialogMeidaSelect").hide();
 |
| | | </ClientEvent> |
| | | view.get("#dialogMeidaSelect").hide();
 |
| | | </ClientEvent> |
| | | <Property name="caption">选择</Property> |
| | | <Property name="iconClass">fa fa-check</Property> |
| | | <Property name="exClassName">btn1</Property> |
| | | </Button> |
| | | </Container> |
| | | <Container> |
| | |
| | | </Label> |
| | | <Button layoutConstraint="right"> |
| | | <ClientEvent name="onClick">view.get("#mediaAddr").set("text",view.get("#text4.text"));
 |
| | | view.get("#dialogMeidaSelect").hide();
 |
| | | </ClientEvent> |
| | | view.get("#dialogMeidaSelect").hide();
 |
| | | </ClientEvent> |
| | | <Property name="caption">选择</Property> |
| | | <Property name="iconClass">fa fa-check</Property> |
| | | <Property name="exClassName">btn1</Property> |
| | | </Button> |
| | | </Container> |
| | | <Container> |
| | |
| | | </Label> |
| | | <Button layoutConstraint="right"> |
| | | <ClientEvent name="onClick">view.get("#mediaAddr").set("text",view.get("#text5.text"));
 |
| | | view.get("#dialogMeidaSelect").hide();
 |
| | | </ClientEvent> |
| | | view.get("#dialogMeidaSelect").hide();
 |
| | | </ClientEvent> |
| | | <Property name="caption">选择</Property> |
| | | <Property name="iconClass">fa fa-check</Property> |
| | | <Property name="exClassName">btn1</Property> |
| | | </Button> |
| | | </Container> |
| | | <Container> |
| | |
| | | </Label> |
| | | <Button layoutConstraint="right"> |
| | | <ClientEvent name="onClick">view.get("#mediaAddr").set("text",view.get("#text6.text"));
 |
| | | view.get("#dialogMeidaSelect").hide();
 |
| | | </ClientEvent> |
| | | view.get("#dialogMeidaSelect").hide();
 |
| | | </ClientEvent> |
| | | <Property name="caption">选择</Property> |
| | | <Property name="iconClass">fa fa-check</Property> |
| | | <Property name="exClassName">btn1</Property> |
| | | </Button> |
| | | </Container> |
| | | <Container> |
| | |
| | | </Label> |
| | | <Button layoutConstraint="right"> |
| | | <ClientEvent name="onClick">view.get("#mediaAddr").set("text",view.get("#text7.text"));
 |
| | | view.get("#dialogMeidaSelect").hide();
 |
| | | </ClientEvent> |
| | | view.get("#dialogMeidaSelect").hide();
 |
| | | </ClientEvent> |
| | | <Property name="caption">选择</Property> |
| | | <Property name="iconClass">fa fa-check</Property> |
| | | <Property name="exClassName">btn1</Property> |
| | | </Button> |
| | | </Container> |
| | | <Container> |
| | |
| | | </Label> |
| | | <Button layoutConstraint="right"> |
| | | <ClientEvent name="onClick">view.get("#mediaAddr").set("text",view.get("#text8.text"));
 |
| | | view.get("#dialogMeidaSelect").hide();
 |
| | | </ClientEvent> |
| | | view.get("#dialogMeidaSelect").hide();
 |
| | | </ClientEvent> |
| | | <Property name="caption">选择</Property> |
| | | <Property name="iconClass">fa fa-check</Property> |
| | | <Property name="exClassName">btn1</Property> |
| | | </Button> |
| | | </Container> |
| | | <Container> |
| | |
| | | </Label> |
| | | <Button layoutConstraint="right"> |
| | | <ClientEvent name="onClick">view.get("#mediaAddr").set("text",view.get("#text9.text"));
 |
| | | view.get("#dialogMeidaSelect").hide();
 |
| | | </ClientEvent> |
| | | view.get("#dialogMeidaSelect").hide();
 |
| | | </ClientEvent> |
| | | <Property name="caption">选择</Property> |
| | | <Property name="iconClass">fa fa-check</Property> |
| | | <Property name="exClassName">btn1</Property> |
| | | </Button> |
| | | </Container> |
| | | <Container> |
| | |
| | | </Label> |
| | | <Button layoutConstraint="right"> |
| | | <ClientEvent name="onClick">view.get("#mediaAddr").set("text",view.get("#text10.text"));
 |
| | | view.get("#dialogMeidaSelect").hide();
 |
| | | </ClientEvent> |
| | | view.get("#dialogMeidaSelect").hide();
 |
| | | </ClientEvent> |
| | | <Property name="caption">选择</Property> |
| | | <Property name="iconClass">fa fa-check</Property> |
| | | <Property name="exClassName">btn1</Property> |
| | | </Button> |
| | | </Container> |
| | | <Container> |
| | |
| | | </Label> |
| | | <Button layoutConstraint="right"> |
| | | <ClientEvent name="onClick">view.get("#mediaAddr").set("text",view.get("#text11.text"));
 |
| | | view.get("#dialogMeidaSelect").hide();
 |
| | | </ClientEvent> |
| | | view.get("#dialogMeidaSelect").hide();
 |
| | | </ClientEvent> |
| | | <Property name="caption">选择</Property> |
| | | <Property name="iconClass">fa fa-check</Property> |
| | | <Property name="exClassName">btn1</Property> |
| | | </Button> |
| | | </Container> |
| | | <Container> |
| | | <Label> |
| | | <Property name="text">信息说明</Property> |
| | | <Property name="style"> |
| | | <Property name="font-weight">bold</Property> |
| | | </Property> |
| | | </Label> |
| | | <Label> |
| | | <Property name="text">{0}=用户名;{1}=密码;{2}=IP;{3}=端口;{4}=通道号;{5}=序列号;</Property> |
| | | </Label> |
| | | </Container> |
| | | </Children> |
| | | <Tools/> |
| | | </Dialog> |