|
|
@ -86,6 +86,21 @@
|
|
|
|
<el-input v-model="channelForm.videoDuration"></el-input>
|
|
|
|
<el-input v-model="channelForm.videoDuration"></el-input>
|
|
|
|
<span class="infoSpan">(秒)</span>
|
|
|
|
<span class="infoSpan">(秒)</span>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
<el-form-item label="曝光补偿" class="comclass">
|
|
|
|
|
|
|
|
<el-select
|
|
|
|
|
|
|
|
v-model="channelForm.compensationVal"
|
|
|
|
|
|
|
|
placeholder="请选择"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<el-option
|
|
|
|
|
|
|
|
v-for="item in compensationOptions"
|
|
|
|
|
|
|
|
:key="item.value"
|
|
|
|
|
|
|
|
:label="item.name "
|
|
|
|
|
|
|
|
:value="item.value"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
</el-option>
|
|
|
|
|
|
|
|
</el-select>
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -327,7 +342,7 @@ export default {
|
|
|
|
{
|
|
|
|
{
|
|
|
|
"name": "HDR",
|
|
|
|
"name": "HDR",
|
|
|
|
"id": 18,
|
|
|
|
"id": 18,
|
|
|
|
"chName": "高动态范围"
|
|
|
|
"chName": "HDR"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
],
|
|
|
|
roteOptions: [
|
|
|
|
roteOptions: [
|
|
|
@ -407,6 +422,25 @@ export default {
|
|
|
|
label: "1920X1080",
|
|
|
|
label: "1920X1080",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
],
|
|
|
|
|
|
|
|
compensationOptions:[{ name:-4,
|
|
|
|
|
|
|
|
value:-4},
|
|
|
|
|
|
|
|
{ name:-3,
|
|
|
|
|
|
|
|
value:-3},
|
|
|
|
|
|
|
|
{ name:-2,
|
|
|
|
|
|
|
|
value:-2},
|
|
|
|
|
|
|
|
{ name:-1,
|
|
|
|
|
|
|
|
value:-1},
|
|
|
|
|
|
|
|
{ name:0,
|
|
|
|
|
|
|
|
value:0},
|
|
|
|
|
|
|
|
{ name:1,
|
|
|
|
|
|
|
|
value:1},
|
|
|
|
|
|
|
|
{ name:2,
|
|
|
|
|
|
|
|
value:2},
|
|
|
|
|
|
|
|
{ name:3,
|
|
|
|
|
|
|
|
value:3},
|
|
|
|
|
|
|
|
{ name:4,
|
|
|
|
|
|
|
|
value:4},
|
|
|
|
|
|
|
|
],
|
|
|
|
requestid: "",
|
|
|
|
requestid: "",
|
|
|
|
searchNum: 0,
|
|
|
|
searchNum: 0,
|
|
|
|
searchTimer: null,
|
|
|
|
searchTimer: null,
|
|
|
@ -432,7 +466,7 @@ export default {
|
|
|
|
getChannelListJoggle({ termid: this.areaData.id })
|
|
|
|
getChannelListJoggle({ termid: this.areaData.id })
|
|
|
|
.then((res) => {
|
|
|
|
.then((res) => {
|
|
|
|
this.channelList = res.data.list;
|
|
|
|
this.channelList = res.data.list;
|
|
|
|
if(Number(localStorage.getItem("channelId"))==1||Number(localStorage.getItem("channelId"))==-1){
|
|
|
|
if(Number(localStorage.getItem("channelId"))==1||Number(localStorage.getItem("channelId"))==-1||Number(localStorage.getItem("channelId"))==0){
|
|
|
|
this.channelForm.selectChannel = this.channelList[0].channelid;
|
|
|
|
this.channelForm.selectChannel = this.channelList[0].channelid;
|
|
|
|
}else{
|
|
|
|
}else{
|
|
|
|
this.channelForm.selectChannel = Number(localStorage.getItem("channelId"));
|
|
|
|
this.channelForm.selectChannel = Number(localStorage.getItem("channelId"));
|
|
|
@ -449,8 +483,8 @@ export default {
|
|
|
|
console.log(val, "是否选中");
|
|
|
|
console.log(val, "是否选中");
|
|
|
|
if (val) {
|
|
|
|
if (val) {
|
|
|
|
this.bgflag = true;
|
|
|
|
this.bgflag = true;
|
|
|
|
this.channelForm.bgsj = "";
|
|
|
|
// this.channelForm.bgsj = "";
|
|
|
|
this.channelForm.iso = "";
|
|
|
|
// this.channelForm.iso = "";
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
this.bgflag = false;
|
|
|
|
this.bgflag = false;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -536,7 +570,7 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: "configs",
|
|
|
|
name: "configs",
|
|
|
|
value: 20,
|
|
|
|
value: 21,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
// {
|
|
|
|
// {
|
|
|
|
// name: "resolutionCX",
|
|
|
|
// name: "resolutionCX",
|
|
|
@ -687,6 +721,10 @@ export default {
|
|
|
|
{ name: "name20", value: "zoomRatio" },
|
|
|
|
{ name: "name20", value: "zoomRatio" },
|
|
|
|
{ name: "value20", value: this.channelForm.zoomVal },
|
|
|
|
{ name: "value20", value: this.channelForm.zoomVal },
|
|
|
|
{ name: "type20", value: 0 },
|
|
|
|
{ name: "type20", value: 0 },
|
|
|
|
|
|
|
|
//compensation
|
|
|
|
|
|
|
|
{ name: "name21", value: "compensation" },
|
|
|
|
|
|
|
|
{ name: "value21", value: this.channelForm.compensationVal },
|
|
|
|
|
|
|
|
{ name: "type21", value: 0 },
|
|
|
|
];
|
|
|
|
];
|
|
|
|
console.log(params);
|
|
|
|
console.log(params);
|
|
|
|
this.setTermFn(params);
|
|
|
|
this.setTermFn(params);
|
|
|
@ -845,6 +883,7 @@ export default {
|
|
|
|
// resultContent.hdrMode == 1 ? true : false;
|
|
|
|
// resultContent.hdrMode == 1 ? true : false;
|
|
|
|
// this.channelForm.ywchecked =
|
|
|
|
// this.channelForm.ywchecked =
|
|
|
|
// resultContent.nightMode == 1 ? true : false;
|
|
|
|
// resultContent.nightMode == 1 ? true : false;
|
|
|
|
|
|
|
|
this.channelForm.compensationVal = resultContent.compensation;
|
|
|
|
this.channelForm.aival = resultContent.recognization;
|
|
|
|
this.channelForm.aival = resultContent.recognization;
|
|
|
|
this.channelForm.roteval = resultContent.orientation;
|
|
|
|
this.channelForm.roteval = resultContent.orientation;
|
|
|
|
this.channelForm.rtosd = resultContent.osd.rightTop!="null"?resultContent.osd.rightTop:"";
|
|
|
|
this.channelForm.rtosd = resultContent.osd.rightTop!="null"?resultContent.osd.rightTop:"";
|
|
|
@ -935,6 +974,7 @@ export default {
|
|
|
|
this.channelForm.bgsj = "";
|
|
|
|
this.channelForm.bgsj = "";
|
|
|
|
this.channelForm.iso = "";
|
|
|
|
this.channelForm.iso = "";
|
|
|
|
this.channelForm.scene="";
|
|
|
|
this.channelForm.scene="";
|
|
|
|
|
|
|
|
this.channelForm.compensationVal="";
|
|
|
|
// this.channelForm.hdrchecked = "";
|
|
|
|
// this.channelForm.hdrchecked = "";
|
|
|
|
// this.channelForm.ywchecked = "";
|
|
|
|
// this.channelForm.ywchecked = "";
|
|
|
|
this.channelForm.rtosd = "";
|
|
|
|
this.channelForm.rtosd = "";
|
|
|
@ -1071,6 +1111,9 @@ export default {
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.comclass{
|
|
|
|
|
|
|
|
margin-left: 8px;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.dialog-footer {
|
|
|
|
.dialog-footer {
|
|
|
|
.el-button--default,
|
|
|
|
.el-button--default,
|
|
|
|