mirror of
https://gitee.com/pan648540858/wvp-GB28181-pro.git
synced 2026-05-21 04:47:49 +08:00
1078-添加接入国标通道页面以及属性
This commit is contained in:
parent
4ba04661ab
commit
358799a391
@ -75,112 +75,114 @@ public class JTChannel {
|
||||
@Schema(description = "国标-注册方式")
|
||||
private Integer gbRegisterWay;
|
||||
|
||||
@Schema(description = "国标-编码")
|
||||
@Schema(description = "国标-摄像机安全能力等级代码")
|
||||
private String gbSecurityLevelCode;
|
||||
|
||||
@Schema(description = "国标-编码")
|
||||
private String gbSecrecy;
|
||||
@Schema(description = "国标-保密属性(必选)缺省为0;0-不涉密,1-涉密")
|
||||
private Integer gbSecrecy;
|
||||
|
||||
@Schema(description = "国标-编码")
|
||||
@Schema(description = "国标-设备/系统IPv4/IPv6地址")
|
||||
private String gbIpAddress;
|
||||
|
||||
@Schema(description = "国标-编码")
|
||||
private String gbPort;
|
||||
@Schema(description = "国标-设备/系统端口")
|
||||
private Integer gbPort;
|
||||
|
||||
@Schema(description = "国标-编码")
|
||||
@Schema(description = "国标-设备口令")
|
||||
private String gbPassword;
|
||||
|
||||
@Schema(description = "国标-编码")
|
||||
private String gbStatus;
|
||||
@Schema(description = "国标-设备状态")
|
||||
private Boolean gbStatus;
|
||||
|
||||
@Schema(description = "国标-编码")
|
||||
private String gbLongitude;
|
||||
@Schema(description = "国标-经度 WGS-84坐标系")
|
||||
private Double gbLongitude;
|
||||
|
||||
@Schema(description = "国标-编码")
|
||||
private String gbLatitude;
|
||||
@Schema(description = "国标-,纬度 WGS-84坐标系")
|
||||
private Double gbLatitude;
|
||||
|
||||
@Schema(description = "国标-编码")
|
||||
@Schema(description = "国标-虚拟组织所属的业务分组ID")
|
||||
private String gbBusinessGroupId;
|
||||
|
||||
@Schema(description = "国标-编码")
|
||||
@Schema(description = "国标-摄像机结构类型,标识摄像机类型: 1-球机; 2-半球; 3-固定枪机; 4-遥控枪机;5-遥控半球;6-多目设备的全景/拼接通道;7-多目设备的分割通道")
|
||||
private String gbPtzType;
|
||||
|
||||
@Schema(description = "国标-编码")
|
||||
@Schema(description = "国标-摄像机光电成像类型。1-可见光成像;2-热成像;3-雷达成像;4-X光成像;5-深度光场成像;9-其他。可多值,")
|
||||
private String gbPhotoelectricImagingTyp;
|
||||
|
||||
@Schema(description = "国标-编码")
|
||||
@Schema(description = "国标-摄像机采集部位类型")
|
||||
private String gbCapturePositionType;
|
||||
|
||||
@Schema(description = "国标-编码")
|
||||
private String gbRoomType;
|
||||
@Schema(description = "国标-摄像机安装位置室外、室内属性。1-室外、2-室内。")
|
||||
private Integer gbRoomType;
|
||||
|
||||
@Schema(description = "国标-编码")
|
||||
private String gbSupplyLightType;
|
||||
@Schema(description = "国标-摄像机补光属性。1-无补光;2-红外补光;3-白光补光;4-激光补光;9-其他")
|
||||
private Integer gbSupplyLightType;
|
||||
|
||||
@Schema(description = "国标-编码")
|
||||
private String gbDirectionType;
|
||||
@Schema(description = "国标-摄像机监视方位(光轴方向)属性。1-东(西向东)、2-西(东向西)、3-南(北向南)、4-北(南向北)、" +
|
||||
"5-东南(西北到东南)、6-东北(西南到东北)、7-西南(东北到西南)、8-西北(东南到西北)")
|
||||
private Integer gbDirectionType;
|
||||
|
||||
@Schema(description = "国标-编码")
|
||||
@Schema(description = "国标-摄像机支持的分辨率,可多值")
|
||||
private String gbResolution;
|
||||
|
||||
@Schema(description = "国标-编码")
|
||||
@Schema(description = "国标-摄像机支持的码流编号列表,用于实时点播时指定码流编号(可选)")
|
||||
private String gbStreamNumberList;
|
||||
|
||||
@Schema(description = "国标-编码")
|
||||
@Schema(description = "国标-下载倍速(可选),可多值")
|
||||
private String gbDownloadSpeed;
|
||||
|
||||
@Schema(description = "国标-编码")
|
||||
private String gbSvcSpaceSupportMod;
|
||||
@Schema(description = "国标-空域编码能力,取值0-不支持;1-1级增强(1个增强层);2-2级增强(2个增强层);3-3级增强(3个增强层)")
|
||||
private Integer gbSvcSpaceSupportMod;
|
||||
|
||||
@Schema(description = "国标-编码")
|
||||
private String gbSvcTimeSupportMode;
|
||||
@Schema(description = "国标-时域编码能力,取值0-不支持;1-1级增强;2-2级增强;3-3级增强(可选)")
|
||||
private Integer gbSvcTimeSupportMode;
|
||||
|
||||
@Schema(description = "国标-编码")
|
||||
@Schema(description = "国标- SSVC增强层与基本层比例能力 ")
|
||||
private String gbSsvcRatioSupportList;
|
||||
|
||||
@Schema(description = "国标-编码")
|
||||
private String gbMobileDeviceType;
|
||||
@Schema(description = "国标-移动采集设备类型(仅移动采集设备适用,必选);1-移动机器人载摄像机;2-执法记录仪;3-移动单兵设备;" +
|
||||
"4-车载视频记录设备;5-无人机载摄像机;9-其他")
|
||||
private Integer gbMobileDeviceType;
|
||||
|
||||
@Schema(description = "国标-编码")
|
||||
private String gbHorizontalFieldAngle;
|
||||
@Schema(description = "国标-摄像机水平视场角(可选),取值范围大于0度小于等于360度")
|
||||
private Double gbHorizontalFieldAngle;
|
||||
|
||||
@Schema(description = "国标-编码")
|
||||
private String gbVerticalFieldAngle;
|
||||
@Schema(description = "国标-摄像机竖直视场角(可选),取值范围大于0度小于等于360度 ")
|
||||
private Double gbVerticalFieldAngle;
|
||||
|
||||
@Schema(description = "国标-编码")
|
||||
private String gbMaxViewDistance;
|
||||
@Schema(description = "国标-摄像机可视距离(可选),单位:米")
|
||||
private Double gbMaxViewDistance;
|
||||
|
||||
@Schema(description = "国标-编码")
|
||||
@Schema(description = "国标-基层组织编码(必选,非基层建设时为“000000”)")
|
||||
private String gbGrassrootsCode;
|
||||
|
||||
@Schema(description = "国标-编码")
|
||||
private String gbPoType;
|
||||
@Schema(description = "国标-监控点位类型(当为摄像机时必选),1-一类视频监控点;2-二类视频监控点;3-三类视频监控点;9-其他点位。")
|
||||
private Integer gbPoType;
|
||||
|
||||
@Schema(description = "国标-编码")
|
||||
@Schema(description = "国标-点位俗称")
|
||||
private String gbPoCommonName;
|
||||
|
||||
@Schema(description = "国标-编码")
|
||||
@Schema(description = "国标-设备MAC地址(可选),用“XX-XX-XX-XX-XX-XX”格式表达")
|
||||
private String gbMac;
|
||||
|
||||
@Schema(description = "国标-编码")
|
||||
@Schema(description = "国标-摄像机卡口功能类型,01-人脸卡口;02-人员卡口;03-机动车卡口;04-非机动车卡口;05-物品卡口;99-其他")
|
||||
private String gbFunctionType;
|
||||
|
||||
@Schema(description = "国标-编码")
|
||||
@Schema(description = "国标-摄像机视频编码格式")
|
||||
private String gbEncodeType;
|
||||
|
||||
@Schema(description = "国标-编码")
|
||||
@Schema(description = "国标-摄像机安装使用时间")
|
||||
private String gbInstallTime;
|
||||
|
||||
@Schema(description = "国标-编码")
|
||||
@Schema(description = "国标-摄像机所属管理单位名称")
|
||||
private String gbManagementUnit;
|
||||
|
||||
@Schema(description = "国标-编码")
|
||||
@Schema(description = "国标-摄像机所属管理单位联系人的联系方式(电话号码,可多值,用英文半角“/”分割)")
|
||||
private String gbContactInfo;
|
||||
|
||||
@Schema(description = "国标-编码")
|
||||
private String gbRecordSaveDays;
|
||||
@Schema(description = "国标-录像保存天数(可选)")
|
||||
private Integer gbRecordSaveDays;
|
||||
|
||||
@Schema(description = "国标-编码")
|
||||
@Schema(description = "国标-国民经济行业分类代码(可选)")
|
||||
private String gbIndustrialClassification;
|
||||
|
||||
public int getId() {
|
||||
@ -247,6 +249,379 @@ public class JTChannel {
|
||||
this.stream = stream;
|
||||
}
|
||||
|
||||
|
||||
public boolean isHasAudio() {
|
||||
return hasAudio;
|
||||
}
|
||||
|
||||
public String getGbDeviceId() {
|
||||
return gbDeviceId;
|
||||
}
|
||||
|
||||
public void setGbDeviceId(String gbDeviceId) {
|
||||
this.gbDeviceId = gbDeviceId;
|
||||
}
|
||||
|
||||
public String getGbName() {
|
||||
return gbName;
|
||||
}
|
||||
|
||||
public void setGbName(String gbName) {
|
||||
this.gbName = gbName;
|
||||
}
|
||||
|
||||
public String getGbManufacturer() {
|
||||
return gbManufacturer;
|
||||
}
|
||||
|
||||
public void setGbManufacturer(String gbManufacturer) {
|
||||
this.gbManufacturer = gbManufacturer;
|
||||
}
|
||||
|
||||
public String getGbModel() {
|
||||
return gbModel;
|
||||
}
|
||||
|
||||
public void setGbModel(String gbModel) {
|
||||
this.gbModel = gbModel;
|
||||
}
|
||||
|
||||
public String getGbCivilCode() {
|
||||
return gbCivilCode;
|
||||
}
|
||||
|
||||
public void setGbCivilCode(String gbCivilCode) {
|
||||
this.gbCivilCode = gbCivilCode;
|
||||
}
|
||||
|
||||
public String getGbBlock() {
|
||||
return gbBlock;
|
||||
}
|
||||
|
||||
public void setGbBlock(String gbBlock) {
|
||||
this.gbBlock = gbBlock;
|
||||
}
|
||||
|
||||
public String getGbAddress() {
|
||||
return gbAddress;
|
||||
}
|
||||
|
||||
public void setGbAddress(String gbAddress) {
|
||||
this.gbAddress = gbAddress;
|
||||
}
|
||||
|
||||
public Boolean getGbParental() {
|
||||
return gbParental;
|
||||
}
|
||||
|
||||
public void setGbParental(Boolean gbParental) {
|
||||
this.gbParental = gbParental;
|
||||
}
|
||||
|
||||
public String getGbParentId() {
|
||||
return gbParentId;
|
||||
}
|
||||
|
||||
public void setGbParentId(String gbParentId) {
|
||||
this.gbParentId = gbParentId;
|
||||
}
|
||||
|
||||
public Integer getGbRegisterWay() {
|
||||
return gbRegisterWay;
|
||||
}
|
||||
|
||||
public void setGbRegisterWay(Integer gbRegisterWay) {
|
||||
this.gbRegisterWay = gbRegisterWay;
|
||||
}
|
||||
|
||||
public String getGbSecurityLevelCode() {
|
||||
return gbSecurityLevelCode;
|
||||
}
|
||||
|
||||
public void setGbSecurityLevelCode(String gbSecurityLevelCode) {
|
||||
this.gbSecurityLevelCode = gbSecurityLevelCode;
|
||||
}
|
||||
|
||||
public Integer getGbSecrecy() {
|
||||
return gbSecrecy;
|
||||
}
|
||||
|
||||
public void setGbSecrecy(Integer gbSecrecy) {
|
||||
this.gbSecrecy = gbSecrecy;
|
||||
}
|
||||
|
||||
public String getGbIpAddress() {
|
||||
return gbIpAddress;
|
||||
}
|
||||
|
||||
public void setGbIpAddress(String gbIpAddress) {
|
||||
this.gbIpAddress = gbIpAddress;
|
||||
}
|
||||
|
||||
public Integer getGbPort() {
|
||||
return gbPort;
|
||||
}
|
||||
|
||||
public void setGbPort(Integer gbPort) {
|
||||
this.gbPort = gbPort;
|
||||
}
|
||||
|
||||
public String getGbPassword() {
|
||||
return gbPassword;
|
||||
}
|
||||
|
||||
public void setGbPassword(String gbPassword) {
|
||||
this.gbPassword = gbPassword;
|
||||
}
|
||||
|
||||
public Boolean getGbStatus() {
|
||||
return gbStatus;
|
||||
}
|
||||
|
||||
public void setGbStatus(Boolean gbStatus) {
|
||||
this.gbStatus = gbStatus;
|
||||
}
|
||||
|
||||
public Double getGbLongitude() {
|
||||
return gbLongitude;
|
||||
}
|
||||
|
||||
public void setGbLongitude(Double gbLongitude) {
|
||||
this.gbLongitude = gbLongitude;
|
||||
}
|
||||
|
||||
public Double getGbLatitude() {
|
||||
return gbLatitude;
|
||||
}
|
||||
|
||||
public void setGbLatitude(Double gbLatitude) {
|
||||
this.gbLatitude = gbLatitude;
|
||||
}
|
||||
|
||||
public String getGbBusinessGroupId() {
|
||||
return gbBusinessGroupId;
|
||||
}
|
||||
|
||||
public void setGbBusinessGroupId(String gbBusinessGroupId) {
|
||||
this.gbBusinessGroupId = gbBusinessGroupId;
|
||||
}
|
||||
|
||||
public String getGbPtzType() {
|
||||
return gbPtzType;
|
||||
}
|
||||
|
||||
public void setGbPtzType(String gbPtzType) {
|
||||
this.gbPtzType = gbPtzType;
|
||||
}
|
||||
|
||||
public String getGbPhotoelectricImagingTyp() {
|
||||
return gbPhotoelectricImagingTyp;
|
||||
}
|
||||
|
||||
public void setGbPhotoelectricImagingTyp(String gbPhotoelectricImagingTyp) {
|
||||
this.gbPhotoelectricImagingTyp = gbPhotoelectricImagingTyp;
|
||||
}
|
||||
|
||||
public String getGbCapturePositionType() {
|
||||
return gbCapturePositionType;
|
||||
}
|
||||
|
||||
public void setGbCapturePositionType(String gbCapturePositionType) {
|
||||
this.gbCapturePositionType = gbCapturePositionType;
|
||||
}
|
||||
|
||||
public Integer getGbRoomType() {
|
||||
return gbRoomType;
|
||||
}
|
||||
|
||||
public void setGbRoomType(Integer gbRoomType) {
|
||||
this.gbRoomType = gbRoomType;
|
||||
}
|
||||
|
||||
public Integer getGbSupplyLightType() {
|
||||
return gbSupplyLightType;
|
||||
}
|
||||
|
||||
public void setGbSupplyLightType(Integer gbSupplyLightType) {
|
||||
this.gbSupplyLightType = gbSupplyLightType;
|
||||
}
|
||||
|
||||
public Integer getGbDirectionType() {
|
||||
return gbDirectionType;
|
||||
}
|
||||
|
||||
public void setGbDirectionType(Integer gbDirectionType) {
|
||||
this.gbDirectionType = gbDirectionType;
|
||||
}
|
||||
|
||||
public String getGbResolution() {
|
||||
return gbResolution;
|
||||
}
|
||||
|
||||
public void setGbResolution(String gbResolution) {
|
||||
this.gbResolution = gbResolution;
|
||||
}
|
||||
|
||||
public String getGbStreamNumberList() {
|
||||
return gbStreamNumberList;
|
||||
}
|
||||
|
||||
public void setGbStreamNumberList(String gbStreamNumberList) {
|
||||
this.gbStreamNumberList = gbStreamNumberList;
|
||||
}
|
||||
|
||||
public String getGbDownloadSpeed() {
|
||||
return gbDownloadSpeed;
|
||||
}
|
||||
|
||||
public void setGbDownloadSpeed(String gbDownloadSpeed) {
|
||||
this.gbDownloadSpeed = gbDownloadSpeed;
|
||||
}
|
||||
|
||||
public Integer getGbSvcSpaceSupportMod() {
|
||||
return gbSvcSpaceSupportMod;
|
||||
}
|
||||
|
||||
public void setGbSvcSpaceSupportMod(Integer gbSvcSpaceSupportMod) {
|
||||
this.gbSvcSpaceSupportMod = gbSvcSpaceSupportMod;
|
||||
}
|
||||
|
||||
public Integer getGbSvcTimeSupportMode() {
|
||||
return gbSvcTimeSupportMode;
|
||||
}
|
||||
|
||||
public void setGbSvcTimeSupportMode(Integer gbSvcTimeSupportMode) {
|
||||
this.gbSvcTimeSupportMode = gbSvcTimeSupportMode;
|
||||
}
|
||||
|
||||
public String getGbSsvcRatioSupportList() {
|
||||
return gbSsvcRatioSupportList;
|
||||
}
|
||||
|
||||
public void setGbSsvcRatioSupportList(String gbSsvcRatioSupportList) {
|
||||
this.gbSsvcRatioSupportList = gbSsvcRatioSupportList;
|
||||
}
|
||||
|
||||
public Integer getGbMobileDeviceType() {
|
||||
return gbMobileDeviceType;
|
||||
}
|
||||
|
||||
public void setGbMobileDeviceType(Integer gbMobileDeviceType) {
|
||||
this.gbMobileDeviceType = gbMobileDeviceType;
|
||||
}
|
||||
|
||||
public Double getGbHorizontalFieldAngle() {
|
||||
return gbHorizontalFieldAngle;
|
||||
}
|
||||
|
||||
public void setGbHorizontalFieldAngle(Double gbHorizontalFieldAngle) {
|
||||
this.gbHorizontalFieldAngle = gbHorizontalFieldAngle;
|
||||
}
|
||||
|
||||
public Double getGbVerticalFieldAngle() {
|
||||
return gbVerticalFieldAngle;
|
||||
}
|
||||
|
||||
public void setGbVerticalFieldAngle(Double gbVerticalFieldAngle) {
|
||||
this.gbVerticalFieldAngle = gbVerticalFieldAngle;
|
||||
}
|
||||
|
||||
public Double getGbMaxViewDistance() {
|
||||
return gbMaxViewDistance;
|
||||
}
|
||||
|
||||
public void setGbMaxViewDistance(Double gbMaxViewDistance) {
|
||||
this.gbMaxViewDistance = gbMaxViewDistance;
|
||||
}
|
||||
|
||||
public String getGbGrassrootsCode() {
|
||||
return gbGrassrootsCode;
|
||||
}
|
||||
|
||||
public void setGbGrassrootsCode(String gbGrassrootsCode) {
|
||||
this.gbGrassrootsCode = gbGrassrootsCode;
|
||||
}
|
||||
|
||||
public Integer getGbPoType() {
|
||||
return gbPoType;
|
||||
}
|
||||
|
||||
public void setGbPoType(Integer gbPoType) {
|
||||
this.gbPoType = gbPoType;
|
||||
}
|
||||
|
||||
public String getGbPoCommonName() {
|
||||
return gbPoCommonName;
|
||||
}
|
||||
|
||||
public void setGbPoCommonName(String gbPoCommonName) {
|
||||
this.gbPoCommonName = gbPoCommonName;
|
||||
}
|
||||
|
||||
public String getGbMac() {
|
||||
return gbMac;
|
||||
}
|
||||
|
||||
public void setGbMac(String gbMac) {
|
||||
this.gbMac = gbMac;
|
||||
}
|
||||
|
||||
public String getGbFunctionType() {
|
||||
return gbFunctionType;
|
||||
}
|
||||
|
||||
public void setGbFunctionType(String gbFunctionType) {
|
||||
this.gbFunctionType = gbFunctionType;
|
||||
}
|
||||
|
||||
public String getGbEncodeType() {
|
||||
return gbEncodeType;
|
||||
}
|
||||
|
||||
public void setGbEncodeType(String gbEncodeType) {
|
||||
this.gbEncodeType = gbEncodeType;
|
||||
}
|
||||
|
||||
public String getGbInstallTime() {
|
||||
return gbInstallTime;
|
||||
}
|
||||
|
||||
public void setGbInstallTime(String gbInstallTime) {
|
||||
this.gbInstallTime = gbInstallTime;
|
||||
}
|
||||
|
||||
public String getGbManagementUnit() {
|
||||
return gbManagementUnit;
|
||||
}
|
||||
|
||||
public void setGbManagementUnit(String gbManagementUnit) {
|
||||
this.gbManagementUnit = gbManagementUnit;
|
||||
}
|
||||
|
||||
public String getGbContactInfo() {
|
||||
return gbContactInfo;
|
||||
}
|
||||
|
||||
public void setGbContactInfo(String gbContactInfo) {
|
||||
this.gbContactInfo = gbContactInfo;
|
||||
}
|
||||
|
||||
public Integer getGbRecordSaveDays() {
|
||||
return gbRecordSaveDays;
|
||||
}
|
||||
|
||||
public void setGbRecordSaveDays(Integer gbRecordSaveDays) {
|
||||
this.gbRecordSaveDays = gbRecordSaveDays;
|
||||
}
|
||||
|
||||
public String getGbIndustrialClassification() {
|
||||
return gbIndustrialClassification;
|
||||
}
|
||||
|
||||
public void setGbIndustrialClassification(String gbIndustrialClassification) {
|
||||
this.gbIndustrialClassification = gbIndustrialClassification;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "JTChannel{" +
|
||||
|
||||
356
web_src/src/components/JTChannelGBParams.vue
Executable file
356
web_src/src/components/JTChannelGBParams.vue
Executable file
@ -0,0 +1,356 @@
|
||||
<template>
|
||||
<div id="channelList" style="width: 100%">
|
||||
<div class="page-header">
|
||||
<div class="page-title">
|
||||
<el-button icon="el-icon-back" size="mini" style="font-size: 20px; color: #000;" type="text" @click="showDevice" ></el-button>
|
||||
<el-divider direction="vertical"></el-divider>
|
||||
国标通道参数
|
||||
</div>
|
||||
<div class="page-header-btn">
|
||||
<div style="display: inline;">
|
||||
<el-button icon="el-icon-close" circle size="mini" @click="showDevice()"></el-button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<el-container v-loading="isLoading" style="height: 82vh; overflow: auto">
|
||||
<el-main style="padding: 5px; background-color: #ffffff;">
|
||||
<el-divider content-position="center">通讯参数</el-divider>
|
||||
<el-form size="mini" ref="form" :rules="rules" :model="form" label-width="240px" style="display: grid; grid-template-columns: 1fr 1fr 1fr 1fr;">
|
||||
<el-form-item label="心跳发送间隔(秒)" prop="keepaliveInterval">
|
||||
<el-input v-model="form.keepaliveInterval" clearable></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="TCP消息应答超时(秒)" prop="tcpResponseTimeout">
|
||||
<el-input v-model="form.tcpResponseTimeout" clearable></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="TCP消息重传次数" prop="tcpRetransmissionCount">
|
||||
<el-input v-model="form.tcpRetransmissionCount" clearable></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="UDP消息应答超时时间(秒)" prop="udpResponseTimeout">
|
||||
<el-input v-model="form.udpResponseTimeout" clearable></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="UDP消息重传次数" prop="udpRetransmissionCount">
|
||||
<el-input v-model="form.udpRetransmissionCount" clearable></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="SMS 消息应答超时时间(秒)" prop="smsResponseTimeout">
|
||||
<el-input v-model="form.smsResponseTimeout" clearable></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="SMS 消息重传次数" prop="smsRetransmissionCount">
|
||||
<el-input v-model="form.smsRetransmissionCount" clearable></el-input>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<el-divider content-position="center">服务器参数</el-divider>
|
||||
<el-form size="mini" ref="form" :rules="rules" :model="form" label-width="240px" style="display: grid; grid-template-columns: 1fr 1fr 1fr 1fr;">
|
||||
<el-form-item label="APN(主)" prop="apnMaster">
|
||||
<el-input v-model="form.apnMaster" clearable></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="无线通信拨号用户名(主)" prop="dialingUsernameMaster">
|
||||
<el-input v-model="form.dialingUsernameMaster" clearable></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="无线通信拨号密码(主)" prop="dialingPasswordMaster">
|
||||
<el-input v-model="form.dialingPasswordMaster" clearable></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="IP或域名(主)" prop="addressMaster">
|
||||
<el-input v-model="form.addressMaster" clearable></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="APN(备)" prop="apnBackup">
|
||||
<el-input v-model="form.apnBackup" clearable></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="无线通信拨号用户名(备)" prop="dialingUsernameBackup">
|
||||
<el-input v-model="form.dialingUsernameBackup" clearable></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="无线通信拨号密码(备)" prop="dialingPasswordBackup">
|
||||
<el-input v-model="form.dialingPasswordBackup" clearable></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="IP或域名(备)" prop="addressBackup">
|
||||
<el-input v-model="form.addressBackup" clearable></el-input>
|
||||
</el-form-item>
|
||||
|
||||
<el-form-item label="APN(从)" prop="apnBackup">
|
||||
<el-input v-model="form.apnBackup" clearable></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="无线通信拨号用户名(从)" prop="dialingUsernameSlave">
|
||||
<el-input v-model="form.dialingUsernameSlave" clearable></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="无线通信拨号密码(从)" prop="dialingPasswordSlave">
|
||||
<el-input v-model="form.dialingPasswordSlave" clearable></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="IP或域名(从)" prop="addressSlave">
|
||||
<el-input v-model="form.addressSlave" clearable></el-input>
|
||||
</el-form-item>
|
||||
|
||||
<el-form-item label="IC卡认证服务器IP(主)" prop="addressIcMaster">
|
||||
<el-input v-model="form.addressIcMaster" clearable></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="IC卡认证服务器IP(备)" prop="addressIcMaster">
|
||||
<el-input v-model="form.addressIcBackup" clearable></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="IC卡认证服务器TCP端口" prop="tcpPortIcMaster">
|
||||
<el-input v-model="form.tcpPortIcMaster" clearable></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="IC卡认证服务器UDP端口" prop="udpPortIcMaster">
|
||||
<el-input v-model="form.udpPortIcMaster" clearable></el-input>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
|
||||
<el-divider content-position="center">位置汇报</el-divider>
|
||||
<el-form size="mini" ref="form" :rules="rules" :model="form" label-width="240px" style="display: grid; grid-template-columns: 1fr 1fr 1fr 1fr;">
|
||||
<el-form-item label="策略" prop="locationReportingStrategy">
|
||||
<el-select v-model="form.locationReportingStrategy" style="float: left; width: 100%" >
|
||||
<el-option label="定时汇报" :value="0">定时汇报</el-option>
|
||||
<el-option label="定距汇报" :value="1"></el-option>
|
||||
<el-option label="定时和定距汇报" :value="2"></el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="方案" prop="locationReportingPlan">
|
||||
<el-select v-model="form.locationReportingPlan" style="float: left; width: 100%" >
|
||||
<el-option label="根据ACC状态" :value="0"></el-option>
|
||||
<el-option label="登录状态和ACC状态" :value="1"></el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="驾驶员未登录汇报时间间隔(秒)" prop="reportingIntervalOffline">
|
||||
<el-input v-model="form.reportingIntervalOffline" clearable></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="休眠时汇报时间间隔(秒)" prop="reportingIntervalDormancy">
|
||||
<el-input v-model="form.reportingIntervalDormancy" clearable></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="紧急报警时汇报时间间隔(秒)" prop="reportingIntervalEmergencyAlarm">
|
||||
<el-input v-model="form.reportingIntervalEmergencyAlarm" clearable></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="缺省时间汇报间隔(秒)" prop="reportingIntervalDefault">
|
||||
<el-input v-model="form.reportingIntervalDefault" clearable></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="缺省距离汇报间隔(米)" prop="reportingDistanceDefault">
|
||||
<el-input v-model="form.reportingDistanceDefault" clearable></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="驾驶员未登录汇报距离间隔(米)" prop="reportingDistanceOffline">
|
||||
<el-input v-model="form.reportingDistanceOffline" clearable></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="休眠时汇报距离间隔(米)" prop="reportingDistanceDormancy">
|
||||
<el-input v-model="form.reportingDistanceDormancy" clearable></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="紧急报警时汇报距离间隔(米)" prop="reportingDistanceEmergencyAlarm">
|
||||
<el-input v-model="form.reportingDistanceEmergencyAlarm" clearable></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="拐点补传角度(度,小于180)" prop="inflectionPointAngle">
|
||||
<el-input v-model="form.inflectionPointAngle" clearable></el-input>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<el-divider content-position="center">电话号码</el-divider>
|
||||
<el-form size="mini" ref="form" :rules="rules" :model="form" label-width="240px" style="display: grid; grid-template-columns: 1fr 1fr 1fr 1fr;">
|
||||
<el-form-item label="监控平台电话号码" prop="platformPhoneNumber">
|
||||
<el-input v-model="form.platformPhoneNumber" clearable></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="复位电话号码" prop="phoneNumberForFactoryReset">
|
||||
<el-input v-model="form.phoneNumberForFactoryReset" clearable></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="监控平台SMS电话号码" prop="phoneNumberForSms">
|
||||
<el-input v-model="form.phoneNumberForSms" clearable></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="接收终端SMS文本报警号码" prop="phoneNumberForReceiveTextAlarm">
|
||||
<el-input v-model="form.phoneNumberForReceiveTextAlarm" clearable></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="终端电话接听策略" prop="locationReportingStrategy">
|
||||
<el-select v-model="form.locationReportingStrategy" style="float: left; width: 100%" >
|
||||
<el-option label="自动接听" :value="0">定时汇报</el-option>
|
||||
<el-option label="ACC ON时自动接听 ,OFF时手动接听" :value="1"></el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="每次最长通话时间(秒)" prop="longestCallTimeForPerSession">
|
||||
<el-input v-model="form.longestCallTimeForPerSession" clearable></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="当月最长通话时间(秒)" prop="longestCallTimeInMonth">
|
||||
<el-input v-model="form.longestCallTimeInMonth" clearable></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="监听电话号码" prop="phoneNumbersForListen">
|
||||
<el-input v-model="form.phoneNumbersForListen" clearable></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="监管平台特权短信号码" prop="privilegedSMSNumber">
|
||||
<el-input v-model="form.privilegedSMSNumber" clearable></el-input>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
|
||||
<el-divider content-position="center">报警参数</el-divider>
|
||||
<el-form size="mini" ref="form" :rules="rules" :model="form" label-width="240px" style="display: grid; grid-template-columns: 1fr 1fr 1fr 1fr;">
|
||||
<el-form-item label="报警屏蔽字(TODO)" prop="alarmMaskingWord">
|
||||
<el-input v-model="form.alarmMaskingWord" clearable></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="报警发送文本 SMS 开关(TODO)" prop="alarmSendsTextSmsSwitch">
|
||||
<el-input v-model="form.alarmSendsTextSmsSwitch" clearable></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="报警拍摄开关(TODO)" prop="alarmShootingSwitch">
|
||||
<el-input v-model="form.alarmShootingSwitch" clearable></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="报警拍摄存储标志(TODO)" prop="alarmShootingStorageFlags">
|
||||
<el-input v-model="form.alarmShootingStorageFlags" clearable></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="关键标志(TODO)" prop="KeySign">
|
||||
<el-input v-model="form.KeySign" clearable></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="电子围栏半径(米)" prop="fenceRadius">
|
||||
<el-input v-model="form.fenceRadius" clearable></el-input>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
|
||||
<el-divider content-position="center">行驶参数</el-divider>
|
||||
<el-form size="mini" ref="form" :rules="rules" :model="form" label-width="240px" style="display: grid; grid-template-columns: 1fr 1fr 1fr 1fr;">
|
||||
<el-form-item v-if="form.illegalDrivingPeriods" label="违规行驶时段-开始时间(HH:mm)" prop="illegalDrivingPeriods">
|
||||
<el-input v-model="form.illegalDrivingPeriods.startTime" clearable></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item v-if="form.illegalDrivingPeriods" label="违规行驶时段-结束时间(HH:mm)" prop="illegalDrivingPeriods">
|
||||
<el-input v-model="form.illegalDrivingPeriods.endTime" clearable></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="最高速度(千米每小时)" prop="topSpeed">
|
||||
<el-input v-model="form.topSpeed" clearable></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="超速持续时间(秒)" prop="overSpeedDuration">
|
||||
<el-input v-model="form.overSpeedDuration" clearable></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="连续驾驶时间门限(秒)" prop="continuousDrivingTimeThreshold">
|
||||
<el-input v-model="form.continuousDrivingTimeThreshold" clearable></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="当天累计驾驶时间门限(秒)" prop="cumulativeDrivingTimeThresholdForTheDay">
|
||||
<el-input v-model="form.cumulativeDrivingTimeThresholdForTheDay" clearable></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="最小休息时间(秒)" prop="minimumBreakTime">
|
||||
<el-input v-model="form.minimumBreakTime" clearable></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="最长停车时间(秒)" prop="maximumParkingTime">
|
||||
<el-input v-model="form.maximumParkingTime" clearable></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="超速预警差值(1/10 千米每小时)" prop="overSpeedWarningDifference">
|
||||
<el-input v-model="form.overSpeedWarningDifference" clearable></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="疲劳驾驶预警差值(秒)" prop="drowsyDrivingWarningDifference">
|
||||
<el-input v-model="form.drowsyDrivingWarningDifference" clearable></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="碰撞报警-碰撞时间(毫秒)" prop="collisionAlarmParamsCollisionAlarmTime">
|
||||
<el-input v-model="form.collisionAlarmParams.collisionAlarmTime" clearable></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="碰撞报警-碰撞加速度(0.1g)" prop="collisionAlarmParamsCollisionAcceleration">
|
||||
<el-input v-model="form.collisionAlarmParams.collisionAcceleration" clearable></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="侧翻报警参数-侧翻角度(度)" prop="rolloverAlarm">
|
||||
<el-input v-model="form.rolloverAlarm" clearable></el-input>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
|
||||
<el-divider content-position="center">定时拍照控制</el-divider>
|
||||
<el-form size="mini" ref="form" :rules="rules" :model="form" label-width="240px" style="display: grid; grid-template-columns: 1fr 1fr 1fr 1fr;">
|
||||
<el-form-item label="定时拍照开关-通道1" prop="rolloverAlarm">
|
||||
<el-switch v-model="form.cameraTimer.switchForChannel1" ></el-switch>
|
||||
</el-form-item>
|
||||
<el-form-item label="定时拍照开关-通道2" prop="rolloverAlarm">
|
||||
<el-switch v-model="form.cameraTimer.switchForChannel2" ></el-switch>
|
||||
</el-form-item>
|
||||
<el-form-item label="定时拍照开关-通道3" prop="rolloverAlarm">
|
||||
<el-switch v-model="form.cameraTimer.switchForChannel3" ></el-switch>
|
||||
</el-form-item>
|
||||
<el-form-item label="定时拍照开关-通道4" prop="rolloverAlarm">
|
||||
<el-switch v-model="form.cameraTimer.switchForChannel4" ></el-switch>
|
||||
</el-form-item>
|
||||
<el-form-item label="定时拍照开关-通道5" prop="rolloverAlarm">
|
||||
<el-switch v-model="form.cameraTimer.switchForChannel5" ></el-switch>
|
||||
</el-form-item>
|
||||
<el-form-item label="定时拍照存储-通道1" prop="rolloverAlarm">
|
||||
<el-switch v-model="form.cameraTimer.storageFlagsForChannel1" ></el-switch>
|
||||
</el-form-item>
|
||||
<el-form-item label="定时拍照存储-通道2" prop="rolloverAlarm">
|
||||
<el-switch v-model="form.cameraTimer.storageFlagsForChannel2" ></el-switch>
|
||||
</el-form-item>
|
||||
<el-form-item label="定时拍照存储-通道3" prop="rolloverAlarm">
|
||||
<el-switch v-model="form.cameraTimer.storageFlagsForChannel3" ></el-switch>
|
||||
</el-form-item>
|
||||
<el-form-item label="定时拍照存储-通道4" prop="rolloverAlarm">
|
||||
<el-switch v-model="form.cameraTimer.storageFlagsForChannel4" ></el-switch>
|
||||
</el-form-item>
|
||||
<el-form-item label="定时拍照存储-通道5" prop="rolloverAlarm">
|
||||
<el-switch v-model="form.cameraTimer.storageFlagsForChannel5" ></el-switch>
|
||||
</el-form-item>
|
||||
|
||||
<el-form-item label="定时时间间隔" prop="timeInterval">
|
||||
<el-input v-model="form.timeInterval" clearable></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="定时时间单位" prop="rolloverAlarm">
|
||||
<el-switch v-model="form.cameraTimer.timeUnit" active-text="分" inactive-text="秒"></el-switch>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<div style="float: right;">
|
||||
<el-button type="primary" @click="onSubmit" >确认</el-button>
|
||||
<el-button @click="showDevice">取消</el-button>
|
||||
</div>
|
||||
</el-main>
|
||||
</el-container>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import devicePlayer from './dialog/jtDevicePlayer.vue'
|
||||
import uiHeader from '../layout/UiHeader.vue'
|
||||
import DeviceTree from "./common/DeviceTree";
|
||||
import channelEdit from "./dialog/jtChannelEdit.vue";
|
||||
import JTDeviceService from "./service/JTDeviceService";
|
||||
|
||||
export default {
|
||||
name: 'channelList',
|
||||
components: {
|
||||
channelEdit,
|
||||
devicePlayer,
|
||||
uiHeader,
|
||||
DeviceTree
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
phoneNumber: this.$route.params.phoneNumber,
|
||||
form: {
|
||||
collisionAlarmParams: {},
|
||||
illegalDrivingPeriods: {},
|
||||
cameraTimer: {},
|
||||
},
|
||||
rules: {
|
||||
deviceId: [{ required: true, message: "请输入设备编号", trigger: "blur" }]
|
||||
},
|
||||
winHeight: window.innerHeight - 200,
|
||||
beforeUrl: "/jtDeviceList",
|
||||
isLoading: false,
|
||||
loadSnap: {},
|
||||
};
|
||||
},
|
||||
|
||||
mounted() {
|
||||
this.initData();
|
||||
},
|
||||
methods: {
|
||||
initData: function () {
|
||||
this.isLoading = true;
|
||||
this.$axios({
|
||||
method: 'get',
|
||||
url: `/api/jt1078/config`,
|
||||
params: {
|
||||
phoneNumber: this.phoneNumber
|
||||
}
|
||||
}).then((res)=> {
|
||||
this.isLoading = false;
|
||||
console.log(res)
|
||||
this.form = res.data.data;
|
||||
}).cache((e)=>{
|
||||
this.isLoading = false;
|
||||
});
|
||||
},
|
||||
onSubmit: function () {
|
||||
this.$axios({
|
||||
method: 'post',
|
||||
url: `/api/jt1078/set-config`,
|
||||
data: {
|
||||
phoneNumber: this.phoneNumber,
|
||||
config: this.form
|
||||
}
|
||||
}).then(function (res) {
|
||||
console.log(JSON.stringify(res));
|
||||
});
|
||||
},
|
||||
showDevice: function () {
|
||||
this.$router.push(this.beforeUrl)
|
||||
},
|
||||
}
|
||||
};
|
||||
</script>
|
||||
@ -51,7 +51,7 @@ create table wvp_jt_channel (
|
||||
gb_photoelectric_imaging_type integer,
|
||||
gb_capture_position_type integer,
|
||||
gb_room_type integer,
|
||||
gb_supply_light_type integer,
|
||||
gb_supply_light_type integer default 1,
|
||||
gb_direction_type integer,
|
||||
gb_resolution character varying(255),
|
||||
gb_stream_number_list character varying(255),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user