|
|
|
@ -4,7 +4,7 @@
|
|
|
|
|
title="通道设置"
|
|
|
|
|
:visible.sync="isShow"
|
|
|
|
|
:close-on-click-modal="false"
|
|
|
|
|
width="640px"
|
|
|
|
|
width="850px"
|
|
|
|
|
@close="handleclose"
|
|
|
|
|
>
|
|
|
|
|
<div class="zzinfo">
|
|
|
|
@ -88,6 +88,8 @@
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="isoDiv">
|
|
|
|
|
<el-form-item label="参数设置">
|
|
|
|
|
<el-checkbox
|
|
|
|
|
label="USB接口"
|
|
|
|
@ -103,7 +105,6 @@
|
|
|
|
|
@change="bgchange"
|
|
|
|
|
></el-checkbox>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<div class="isoDiv">
|
|
|
|
|
<el-form-item label="曝光时间">
|
|
|
|
|
<el-input v-model="channelForm.bgsj" :disabled="bgflag"></el-input>
|
|
|
|
|
<span class="infoSpan">(毫秒)</span>
|
|
|
|
@ -112,6 +113,8 @@
|
|
|
|
|
<el-input v-model="channelForm.iso" :disabled="bgflag"></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="roteAiBox">
|
|
|
|
|
<el-form-item label="模式选择">
|
|
|
|
|
<el-checkbox
|
|
|
|
|
label="HDR模式"
|
|
|
|
@ -122,7 +125,6 @@
|
|
|
|
|
v-model="channelForm.ywchecked"
|
|
|
|
|
></el-checkbox>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<div class="roteAiBox">
|
|
|
|
|
<el-form-item label="旋转角度">
|
|
|
|
|
<el-select v-model="channelForm.roteval" placeholder="请选择">
|
|
|
|
|
<el-option
|
|
|
|
@ -146,33 +148,38 @@
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="textAreabox">
|
|
|
|
|
<el-form-item label="左上OSD">
|
|
|
|
|
<el-input v-model="channelForm.ltosd"></el-input>
|
|
|
|
|
<el-input type="textarea" rows="4" v-model="channelForm.ltosd"></el-input>
|
|
|
|
|
<span class="infoSpan">(多行使用\n换行)</span>
|
|
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="右上OSD">
|
|
|
|
|
<el-input v-model="channelForm.rtosd"></el-input>
|
|
|
|
|
<el-input type="textarea" rows="4" v-model="channelForm.rtosd"></el-input>
|
|
|
|
|
<span class="infoSpan">(多行使用\n换行)</span>
|
|
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="左下OSD">
|
|
|
|
|
<el-input v-model="channelForm.lbosd"></el-input>
|
|
|
|
|
<el-input type="textarea" rows="4" v-model="channelForm.lbosd"></el-input>
|
|
|
|
|
<span class="infoSpan">(多行使用\n换行)</span>
|
|
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="右下OSD">
|
|
|
|
|
<el-input v-model="channelForm.rbosd"></el-input>
|
|
|
|
|
<el-input type="textarea" rows="4" v-model="channelForm.rbosd"></el-input>
|
|
|
|
|
<span class="infoSpan">(多行使用\n换行)</span>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</div>
|
|
|
|
|
</el-form>
|
|
|
|
|
</div>
|
|
|
|
|
<div slot="footer" class="dialog-footer">
|
|
|
|
|
|
|
|
|
|
<el-button @click="handleclose" :disabled="channelsetLoading"
|
|
|
|
|
>取 消</el-button
|
|
|
|
|
>
|
|
|
|
|
<el-button
|
|
|
|
|
type="primary"
|
|
|
|
|
:disabled="channelsetLoading"
|
|
|
|
|
@click="handleConfim"
|
|
|
|
|
@click="handleConfim(true)"
|
|
|
|
|
:loading="channelLoading"
|
|
|
|
|
>确 定</el-button
|
|
|
|
|
>
|
|
|
|
@ -383,6 +390,7 @@ export default {
|
|
|
|
|
this.searchBtn();
|
|
|
|
|
},
|
|
|
|
|
handleConfim() {
|
|
|
|
|
|
|
|
|
|
console.log("点击了确定");
|
|
|
|
|
console.log(this.channelForm);
|
|
|
|
|
this.channelLoading = true;
|
|
|
|
@ -609,7 +617,7 @@ export default {
|
|
|
|
|
window.clearInterval(this.setTimer);
|
|
|
|
|
this.setTimer = null;
|
|
|
|
|
this.setNum = 0;
|
|
|
|
|
this.isShow = false;
|
|
|
|
|
//this.isShow = false;
|
|
|
|
|
this.channelLoading = false;
|
|
|
|
|
this.$message({
|
|
|
|
|
duration: 1500,
|
|
|
|
@ -710,7 +718,8 @@ export default {
|
|
|
|
|
decodeURIComponent(escape(window.atob(resultData.content)))
|
|
|
|
|
);
|
|
|
|
|
console.log(resultContent);
|
|
|
|
|
|
|
|
|
|
this.channelForm.resolutionCX = resultContent.resolutionCX;
|
|
|
|
|
this.channelForm.resolutionCY = resultContent.resolutionCY;
|
|
|
|
|
this.channelForm.ysl = resultContent.quality;
|
|
|
|
|
this.channelForm.usbchecked =
|
|
|
|
|
resultContent.usbCamera == 1 ? true : false;
|
|
|
|
@ -728,10 +737,10 @@ export default {
|
|
|
|
|
resultContent.nightMode == 1 ? true : false;
|
|
|
|
|
this.channelForm.aival = resultContent.recognization;
|
|
|
|
|
this.channelForm.roteval = resultContent.orientation;
|
|
|
|
|
this.channelForm.rtosd = resultContent.osd.rightTop;
|
|
|
|
|
this.channelForm.ltosd = resultContent.osd.leftTop;
|
|
|
|
|
this.channelForm.lbosd = resultContent.osd.leftBottom;
|
|
|
|
|
this.channelForm.rbosd = resultContent.osd.rightBottom;
|
|
|
|
|
this.channelForm.rtosd = resultContent.osd.rightTop!="null"?resultContent.osd.rightTop:"";
|
|
|
|
|
this.channelForm.ltosd = resultContent.osd.leftTop!="null"?resultContent.osd.leftTop:"";
|
|
|
|
|
this.channelForm.lbosd = resultContent.osd.leftBottom!="null"?resultContent.osd.leftBottom:"";
|
|
|
|
|
this.channelForm.rbosd = resultContent.osd.rightBottom!="null"?resultContent.osd.rightBottom:"";
|
|
|
|
|
// this.channelForm.videoSize = resultContent.;
|
|
|
|
|
this.channelForm.videoCX = resultContent.videoCX;
|
|
|
|
|
this.channelForm.videoCY = resultContent.videoCY;
|
|
|
|
@ -921,8 +930,22 @@ export default {
|
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
|
|
.el-input {
|
|
|
|
|
width: 140px;
|
|
|
|
|
width: 90px;
|
|
|
|
|
}
|
|
|
|
|
.el-form-item{
|
|
|
|
|
&:last-child{
|
|
|
|
|
.el-form-item__label{
|
|
|
|
|
width: 60px!important;
|
|
|
|
|
}
|
|
|
|
|
.el-form-item__content{
|
|
|
|
|
margin-left: 60px!important;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.textAreabox{
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
}
|
|
|
|
|
.videoclass {
|
|
|
|
|
// .el-form-item__content {
|
|
|
|
|