|
|
|
@ -70,6 +70,17 @@
|
|
|
|
|
|
|
|
|
|
<el-tag type="info">{{ channelForm.zoomVal }}</el-tag>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="模板" class="modelclass">
|
|
|
|
|
<el-select v-model="channelForm.templateVal" placeholder="请选择">
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="item in templateOptions"
|
|
|
|
|
:key="item.value"
|
|
|
|
|
:label="item.name"
|
|
|
|
|
:value="item.value"
|
|
|
|
|
>
|
|
|
|
|
</el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="videoDiv">
|
|
|
|
|
<el-form-item label="视频分辨率" class="videoclass">
|
|
|
|
@ -273,6 +284,7 @@ export default {
|
|
|
|
|
rtosd: "",
|
|
|
|
|
lbosd: "",
|
|
|
|
|
rbosd: "",
|
|
|
|
|
templateVal: 2,
|
|
|
|
|
},
|
|
|
|
|
bgflag: false,
|
|
|
|
|
modelOptions: [
|
|
|
|
@ -455,6 +467,12 @@ export default {
|
|
|
|
|
{ name: 3, value: 3 },
|
|
|
|
|
{ name: 4, value: 4 },
|
|
|
|
|
],
|
|
|
|
|
templateOptions: [
|
|
|
|
|
{ name: "预览", value: 1 },
|
|
|
|
|
{ name: "静态抓拍", value: 2 },
|
|
|
|
|
{ name: "录像", value: 3 },
|
|
|
|
|
{ name: "快照", value: 4 },
|
|
|
|
|
],
|
|
|
|
|
requestid: "",
|
|
|
|
|
searchNum: 0,
|
|
|
|
|
searchTimer: null,
|
|
|
|
@ -589,7 +607,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name: "configs",
|
|
|
|
|
value: 22,
|
|
|
|
|
value: 23,
|
|
|
|
|
},
|
|
|
|
|
// {
|
|
|
|
|
// name: "resolutionCX",
|
|
|
|
@ -748,6 +766,10 @@ export default {
|
|
|
|
|
{ name: "name22", value: "gmkz" },
|
|
|
|
|
{ name: "value22", value: this.channelForm.gmkzchecked ? 1 : 0 },
|
|
|
|
|
{ name: "type22", value: 0 },
|
|
|
|
|
//模板template
|
|
|
|
|
{ name: "name23", value: "requestTemplate" },
|
|
|
|
|
{ name: "value23", value: this.channelForm.templateVal },
|
|
|
|
|
{ name: "type23", value: 0 },
|
|
|
|
|
];
|
|
|
|
|
console.log(params);
|
|
|
|
|
this.setTermFn(params, flag);
|
|
|
|
@ -981,6 +1003,7 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
this.channelForm.videoDuration = resultContent.videoDuration;
|
|
|
|
|
this.channelForm.templateVal = resultContent.requestTemplate;
|
|
|
|
|
} else {
|
|
|
|
|
this.channelForm.zzbh = "";
|
|
|
|
|
this.channelForm.ysl = 80;
|
|
|
|
@ -1002,6 +1025,7 @@ export default {
|
|
|
|
|
this.channelForm.videoCX = "";
|
|
|
|
|
this.channelForm.videoCY = "";
|
|
|
|
|
this.channelForm.videoDuration = 15;
|
|
|
|
|
this.channelForm.templateVal = 2;
|
|
|
|
|
}
|
|
|
|
|
this.$message({
|
|
|
|
|
duration: 1500,
|
|
|
|
@ -1057,6 +1081,7 @@ export default {
|
|
|
|
|
this.channelForm.videoCX = "";
|
|
|
|
|
this.channelForm.videoCY = "";
|
|
|
|
|
this.channelForm.videoDuration = 15;
|
|
|
|
|
this.channelForm.templateVal = 2;
|
|
|
|
|
window.clearInterval(this.searchTimer);
|
|
|
|
|
this.searchTimer = null;
|
|
|
|
|
this.searchNum = 0;
|
|
|
|
@ -1141,6 +1166,23 @@ export default {
|
|
|
|
|
width: 100px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.modelclass {
|
|
|
|
|
.el-form-item__label {
|
|
|
|
|
width: 80px !important;
|
|
|
|
|
}
|
|
|
|
|
.el-form-item__content {
|
|
|
|
|
margin-left: 80px !important;
|
|
|
|
|
}
|
|
|
|
|
.el-select {
|
|
|
|
|
width: 144px;
|
|
|
|
|
margin-right: 12px;
|
|
|
|
|
.el-input {
|
|
|
|
|
width: 144px;
|
|
|
|
|
}
|
|
|
|
|
.el-input__inner {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.videoDiv {
|
|
|
|
|
display: flex;
|
|
|
|
@ -1177,6 +1219,7 @@ export default {
|
|
|
|
|
width: 298px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.videoclass {
|
|
|
|
|
// .el-form-item__content {
|
|
|
|
|
// display: flex;
|
|
|
|
|