1
guanqb
2022-12-08 366ef12925077a9dcda9b3180b58d5ddc95b231d
1
1 files modified
36 ■■■■■ changed files
src/views/video/region.vue 36 ●●●●● patch | view | raw | blame | history
src/views/video/region.vue
@@ -93,6 +93,7 @@
                        v-model="monitorType1"
                        @change="((val)=>{navClick(val,1)})"
                        placeholder="请选择"
                        ref="videoSelect1"
                    >
                        <el-option
                            v-for="item in monitorOption"
@@ -120,6 +121,7 @@
                        v-model="monitorType2"
                        @change="((val)=>{navClick(val,2)})"
                        placeholder="请选择"
                        ref="videoSelect2"
                    >
                        <el-option
                            v-for="item in monitorOption"
@@ -147,6 +149,7 @@
                        v-model="monitorType3"
                        @change="((val)=>{navClick(val,3)})"
                        placeholder="请选择"
                        ref="videoSelect3"
                    >
                        <el-option
                            v-for="item in monitorOption"
@@ -174,6 +177,7 @@
                        v-model="monitorType4"
                        @change="((val)=>{navClick(val,4)})"
                        placeholder="请选择"
                        ref="videoSelect4"
                    >
                        <el-option
                            v-for="item in monitorOption"
@@ -201,6 +205,7 @@
                        v-model="monitorType5"
                        @change="((val)=>{navClick(val,5)})"
                        placeholder="请选择"
                        ref="videoSelect5"
                    >
                        <el-option
                            v-for="item in monitorOption"
@@ -228,6 +233,7 @@
                        v-model="monitorType6"
                        @change="((val)=>{navClick(val,6)})"
                        placeholder="请选择"
                        ref="videoSelect6"
                    >
                        <el-option
                            v-for="item in monitorOption"
@@ -253,10 +259,13 @@
                    <el-select
                        size="small"
                        v-model="monitorType7"
                        v-show="isShowSelect.video7"
                        @change="((val)=>{navClick(val,7)})"
                        placeholder="请选择"
                        ref="videoSelect7"
                    >
                        <el-option
                            v-show="isShowSelect.video7"
                            v-for="item in monitorOption"
                            :key="item.value"
                            :label="item.label"
@@ -282,6 +291,7 @@
                        v-model="monitorType8"
                        @change="((val)=>{navClick(val,8)})"
                        placeholder="请选择"
                        ref="videoSelect8"
                    >
                        <el-option
                            v-for="item in monitorOption"
@@ -356,7 +366,7 @@
                flvPlayer8: null,
            },
            saveRangeList: [],
            monitorOption: [],
            monitorOption: [{ value: 11, label: 111 }, { value: 22, label: 222 }, { value: 33, label: 333 }],
            monitorType1: '',
            monitorType2: '',
            monitorType3: '',
@@ -379,7 +389,7 @@
    },
    created () {
        this.getVideoList()
        // this.getVideoList()
        this.getRegionSaveList()
    },
@@ -646,11 +656,32 @@
        },
        enterVideoBox (num) {
            for (let key in this.isShowSelect) {
                this.isShowSelect[key] = false
            }
            this.isShowSelect[`video${num}`] = true
        },
        leaveVideoBox (num) {
            this.isShowSelect[`video${num}`] = false
            if (num == 1) {
                this.$refs.videoSelect1.blur()
            } else if (num == 2) {
                this.$refs.videoSelect2.blur()
            } else if (num == 3) {
                this.$refs.videoSelect3.blur()
            } else if (num == 4) {
                this.$refs.videoSelect4.blur()
            } else if (num == 5) {
                this.$refs.videoSelect5.blur()
            } else if (num == 6) {
                this.$refs.videoSelect6.blur()
            } else if (num == 7) {
                this.$refs.videoSelect7.blur()
            } else if (num == 8) {
                this.$refs.videoSelect8.blur()
            }
        },
        enterSelectBox (num) {
@@ -828,7 +859,6 @@
            .select {
                position: absolute;
                top: 6%;
                height: 16%;
                width: 100%;
                z-index: 999;
            }