guanqb
2022-11-10 16fbdb2fc5e4c76c0561cc0c6c706562978989a4
Merge branch 'master' of http://192.168.0.105:10010/r/srs-police-affairs
7 files modified
1396 ■■■■ changed files
src/App.vue 2 ●●● patch | view | raw | blame | history
src/styles/dc/index.scss 12 ●●●● patch | view | raw | blame | history
src/views/activity/index.vue 77 ●●●●● patch | view | raw | blame | history
src/views/house/index.vue 37 ●●●● patch | view | raw | blame | history
src/views/lyout/index.vue 93 ●●●●● patch | view | raw | blame | history
src/views/police/index.vue 877 ●●●●● patch | view | raw | blame | history
src/views/video/index.vue 298 ●●●● patch | view | raw | blame | history
src/App.vue
@@ -2,7 +2,7 @@
 * @Author: shuishen 1109946754@qq.com
 * @Date: 2022-08-18 15:58:10
 * @LastEditors: shuishen 1109946754@qq.com
 * @LastEditTime: 2022-09-28 10:56:33
 * @LastEditTime: 2022-11-10 09:13:07
 * @FilePath: \srs-police-affairs\src\App.vue
 * @Description: app.vue
 * 
src/styles/dc/index.scss
@@ -20,7 +20,7 @@
.dc-zoom-controller {
    top: auto !important;
    bottom: 70px !important;
    left: 420px !important;
    left: 10px !important;
    width: 36px !important;
    height: auto !important;
    border-radius: 5px !important;
@@ -28,7 +28,6 @@
    z-index: 101 !important;
    background-color: $bg-color !important;
    transition: all .3s;
    &>div {
        display: flex;
@@ -51,6 +50,7 @@
}
.dc-zoom-controller.homebottom {
    left: 410px !important;
    bottom: 370px !important;
}
@@ -59,7 +59,7 @@
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 420px;
    left: 10px;
    bottom: 10px;
    width: 36px;
    height: 36px;
@@ -70,7 +70,6 @@
    z-index: 99;
    background-color: $bg-color !important;
    transition: all .3s;
    // &.hover-effect {
    //     cursor: pointer;
@@ -83,13 +82,14 @@
}
.screen-full-btn.homebottom {
    left: 410px !important;
    bottom: 310px;
}
.dc-zoom-controller.shrink-btn {
    left: 20px !important;
    left: 410px !important;
}
.screen-full-btn.shrink-btn {
    left: 20px !important;
    left: 410px !important;
}
src/views/activity/index.vue
@@ -2,7 +2,7 @@
 * @Author: shuishen 1109946754@qq.com
 * @Date: 2022-08-18 16:18:17
 * @LastEditors: shuishen 1109946754@qq.com
 * @LastEditTime: 2022-11-08 14:26:29
 * @LastEditTime: 2022-11-10 16:15:42
 * @FilePath: \srs-police-affairs\src\views\activity\index.vue
 * @Description: 安保活动
 * 
@@ -11,19 +11,15 @@
<template>
    <div class="container">
        <div class="left-container">
        <div v-show='boxShow' class="container-content">
            <div class="title">活动信息</div>
            <div class="search-box">
                <div>
                    <div class="category">活动类型:</div>
                    <div class="category-value">
                        <el-select size="small" v-model="activityType" placeholder="请选择">
                            <el-option
                                v-for="item in activityOptions"
                                :key="item.value"
                                :label="item.label"
                                :value="item.value"
                            ></el-option>
                            <el-option v-for="item in activityOptions" :key="item.value" :label="item.label"
                                :value="item.value"></el-option>
                        </el-select>
                    </div>
                </div>
@@ -37,25 +33,16 @@
                <div>
                    <div class="category">选择时间:</div>
                    <div class="category-value">
                        <el-date-picker
                            size="small"
                            v-model="selectTime"
                            type="date"
                            placeholder="选择日期"
                            style="width:268px"
                        ></el-date-picker>
                        <el-date-picker size="small" v-model="selectTime" type="date" placeholder="选择日期"
                            style="width:268px"></el-date-picker>
                    </div>
                </div>
            </div>
            <div class="result-content">
                <div class="table-box">
                    <div
                        class="row-box"
                        :class="{ on: currentClickIndex === index }"
                    <div class="row-box" :class="{ on: currentClickIndex === index }"
                        v-for="(item, index) in activityList.slice((currentPage - 1) * pagesize, currentPage * pagesize)"
                        :key="index"
                        @click="goAbDetail(item, index)"
                    >
                        :key="index" @click="goAbDetail(item, index)">
                        <div class="row-title">常规安保</div>
                        <div class="row-content">
                            <div>
@@ -64,9 +51,7 @@
                            </div>
                            <div>
                                <div class="category">活动时间:</div>
                                <div
                                    class="category-value"
                                >2022-08-01 00:00:00 至 2022-09-01 00:00:00</div>
                                <div class="category-value">2022-08-01 00:00:00 至 2022-09-01 00:00:00</div>
                            </div>
                            <div>
                                <div class="category">活动详情:</div>
@@ -76,15 +61,9 @@
                    </div>
                </div>
                <div class="pages">
                    <el-pagination
                        background
                        layout="prev, pager, next"
                        :total="activityList.length"
                        :page-size="pagesize"
                        pager-count="3"
                        :current-page="currentPage"
                        @current-change="handleCurrentChange"
                    ></el-pagination>
                    <el-pagination background layout="prev, pager, next" :total="activityList.length"
                        :page-size="pagesize" pager-count="3" :current-page="currentPage"
                        @current-change="handleCurrentChange"></el-pagination>
                </div>
            </div>
        </div>
@@ -130,7 +109,7 @@
            </ul>
        </div>
        <div class="second-container">
        <div class="second-container" :style="{ left: `${boxShow == true ? '405px' : '5px'}` }">
            <el-tree :data="treeData" show-checkbox node-key="id" @check="treeCheckClick"></el-tree>
        </div>
@@ -174,12 +153,8 @@
            <div class="row-box">
                <div class="category">应急预案:</div>
                <div class="category-value">
                    <el-switch
                        v-model="polylineSwitch"
                        @change="switchChange"
                        active-color="#13ce66"
                        inactive-color="#ccc"
                    ></el-switch>
                    <el-switch v-model="polylineSwitch" @change="switchChange" active-color="#13ce66"
                        inactive-color="#ccc"></el-switch>
                </div>
            </div>
@@ -438,13 +413,16 @@
                    url: '/img/icon/activity.png'
                }
            ],
            activityDetails: {}
            activityDetails: {},
            boxShow: false,
        }
    },
    created () {
    },
    mounted () {
        this.$parent.resize('400px')
        this.$nextTick(() => {
            this.activityList.forEach(item => {
                this.$EventBus.$emit('layerPointAdd', {
@@ -649,6 +627,10 @@
            })
        },
        // 大小重置
        boxResize (val) {
            this.boxShow = val
        },
    },
    destroyed () {
@@ -676,6 +658,8 @@
        this.removeAll()
        tc.clear()
        this.$parent.resize('0px')
    }
}
</script>
@@ -685,7 +669,7 @@
    height: 100%;
    position: relative;
    .left-container {
    &-content {
        position: relative;
        display: flex;
        flex-direction: column;
@@ -705,11 +689,11 @@
        .search-box {
            padding: 0 10px;
            & > div:first-child {
            &>div:first-child {
                margin-top: 0;
            }
            & > div {
            &>div {
                margin-top: 10px;
                display: flex;
                align-items: center;
@@ -783,7 +767,7 @@
                    font-size: 14px;
                    .row-content {
                        & > div {
                        &>div {
                            display: flex;
                            line-height: 28px;
@@ -863,7 +847,6 @@
        position: absolute;
        top: 10px;
        display: flex;
        left: 405px;
        flex-direction: column;
        width: 240px;
@@ -918,7 +901,7 @@
            line-height: 28px;
            display: flex;
            & > div {
            &>div {
                text-align: left;
            }
src/views/house/index.vue
@@ -2,7 +2,7 @@
 * @Author: shuishen 1109946754@qq.com
 * @Date: 2022-08-18 16:18:17
 * @LastEditors: shuishen 1109946754@qq.com
 * @LastEditTime: 2022-11-09 16:28:42
 * @LastEditTime: 2022-11-10 13:49:42
 * @FilePath: \srs-police-affairs\src\views\house\index.vue
 * @Description: 小区-栋-层-房屋
 * 
@@ -11,9 +11,7 @@
<template>
    <div class="container">
        <div :style="{
            width: `${contentShow ? '400px' : '0'}`
        }" class="container-content">
        <div v-show='boxShow' class="container-content">
            <div v-show="contentShow" class="search-box">
                <input v-model="searchValue" @input="searchChange" type="text" placeholder="请输入搜索条件" />
@@ -23,7 +21,7 @@
            <div v-show="searchValBoxShow" class="search-val-box">
                <div>
                    <div @click="searchVlaClick(item)" v-for="(item, index) in searchArray" :key="index">{{
                            item.name
                    item.name
                    }}
                    </div>
                </div>
@@ -317,9 +315,6 @@
        <transition name="special-animal">
        </transition> -->
        <div class="container-btn">
            <shrink></shrink>
        </div>
        <el-dialog title="信息详情" :modal="true" :visible.sync="dialogVisible" :before-close="handleClose"
            :close-on-click-modal="true" class="police-affairs-details-box">
@@ -512,7 +507,8 @@
            searchValue: '',
            searchArray: [],
            searchValBoxShow: false
            searchValBoxShow: false,
            boxShow: false,
        }
    },
    created () {
@@ -522,6 +518,8 @@
        this.levelList = this.ridgepoleNum1.unit[0].storey
    },
    mounted () {
        this.$parent.resize('400px')
        this.$nextTick(() => {
            this.searchHouse = this.$route.query.searchName
@@ -667,29 +665,35 @@
            this.housingData = item
            this.searchValue = ''
        }
        },
        // 大小重置
        boxResize (val) {
            this.boxShow = val
        },
    },
    destroyed () {
        this.$EventBus.$emit('removeMxTileset', {
            titlesetName: 'sdTilesetLayer'
        })
        this.$parent.resize('0px')
    }
}
</script>
<style scoped lang="scss">
.container {
    display: flex;
    position: relative;
    width: 100%;
    height: 100%;
    background: transparent;
    &-content {
        width: 100%;
        height: 100%;
        color: #fff;
        background: $bg-color;
        transition: all .3s;
        li {
            list-style: none;
@@ -1210,13 +1214,6 @@
            }
        }
    }
    &-btn {
        position: relative;
        width: 36px;
        height: 100%;
    }
}
.progress {
src/views/lyout/index.vue
@@ -2,7 +2,7 @@
 * @Author: shuishen 1109946754@qq.com
 * @Date: 2022-08-18 16:18:24
 * @LastEditors: shuishen 1109946754@qq.com
 * @LastEditTime: 2022-11-07 15:10:23
 * @LastEditTime: 2022-11-10 14:11:08
 * @FilePath: \srs-police-affairs\src\views\lyout\index.vue
 * @Description: 
 * 
@@ -34,9 +34,14 @@
            <mapBox ref="modalForm" />
            <!-- 主体内容区域 -->
            <div class="main-content">
                <router-view></router-view>
            <div class="main-content" id="MainContent">
                <router-view ref='target-name'></router-view>
            </div>
            <el-button v-show='leftShow' class="flexible-btn"
                :icon="show ? 'el-icon-arrow-left' : 'el-icon-arrow-right'" id="FlexibleBtn" type="primary"
                @click="flexibelClick"></el-button>
        </div>
    </div>
</template>
@@ -71,6 +76,12 @@
                },
            ],
            show: false,
            leftShow: true,
            boxWidth: 0,
            currentUrl: '/lyout/home'
        }
    },
@@ -80,8 +91,22 @@
    },
    watch: {
        $route (to, from) {
            this.currentUrl = to.path
        $route: {
            handler (newPath, oldPath) {
                this.currentUrl = newPath.path
                this.$nextTick(() => {
                    document.querySelector('.dc-container .dc-zoom-controller').classList.remove('shrink-btn')
                    document.querySelector('.screen-full-btn').classList.remove('shrink-btn')
                })
                if (this.currentUrl == '/lyout/home') {
                    this.leftShow = false
                } else {
                    this.leftShow = true
                }
            },
            immediate: true
        }
    },
@@ -103,7 +128,40 @@
                params.childrenFlag = !params.childrenFlag
            }
        }
        },
        flexibelClick () {
            this.show = !this.show
            if (this.$refs['target-name'].boxResize) this.$refs['target-name'].boxResize(this.show)
            if (this.show) {
                document.getElementById('MainContent').style.width = this.boxWidth
                var a = this.boxWidth.replace(/[^0-9]/ig, '')
                document.getElementById('FlexibleBtn').style.left = a + 'px'
                document.querySelector('.dc-container .dc-zoom-controller').classList.add('shrink-btn')
                document.querySelector('.screen-full-btn').classList.add('shrink-btn')
            } else {
                document.getElementById('MainContent').style.width = 0
                document.getElementById('FlexibleBtn').style.left = 0
                document.querySelector('.dc-container .dc-zoom-controller').classList.remove('shrink-btn')
                document.querySelector('.screen-full-btn').classList.remove('shrink-btn')
            }
        },
        resize (val) {
            this.boxWidth = val
            this.show = false
            if (this.$refs['target-name'].boxResize) this.$refs['target-name'].boxResize(this.show)
            document.getElementById('MainContent').style.width = 0
            document.getElementById('FlexibleBtn').style.left = 0
        },
    }
}
</script>
@@ -187,4 +245,27 @@
        }
    }
}
.flexible-btn {
    padding: 0 2px;
    position: fixed;
    top: 50%;
    left: 0px;
    z-index: 11;
    width: 32px;
    height: 64px;
    color: #fff;
    background: $bg-color;
    border-color: $bg-color;
    text-align: center;
    line-height: 32px;
    border-radius: 0 5px 5px 0;
    white-space: inherit !important;
    box-shadow: 1px 0px 4px 1px $bg-color;
    transform: translate(0px, -50%);
    i {
        font-size: 16px;
    }
}
</style>
src/views/police/index.vue
@@ -2,7 +2,7 @@
 * @Author: shuishen 1109946754@qq.com
 * @Date: 2022-08-18 16:18:17
 * @LastEditors: shuishen 1109946754@qq.com
 * @LastEditTime: 2022-10-29 15:10:34
 * @LastEditTime: 2022-11-10 13:51:10
 * @FilePath: \srs-police-affairs\src\views\police\index.vue
 * @Description: 辖区管理
 * 
@@ -11,353 +11,245 @@
<template>
    <div class="container">
        <div class="switch-box">
            <el-select v-model="typeValue" @change="navClick" placeholder="请选择">
                <el-option
                    v-for="item in options"
                    :key="item.value"
                    :label="item.label"
                    :value="item.value"
                ></el-option>
            </el-select>
        </div>
        <div class="list-show" ref="tableBox" v-show="!detailFlag">
            <div class="search-box">
                <input
                    v-model="searchValue"
                    @input="searchChange"
                    type="text"
                    placeholder="请输入搜索条件"
                />
                <button @click="searchClick" class="el-icon-search"></button>
        <div v-show='boxShow' class="container-content">
            <div class="switch-box">
                <el-select v-model="typeValue" @change="navClick" placeholder="请选择">
                    <el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value">
                    </el-option>
                </el-select>
            </div>
            <div v-show="searchValBoxShow" class="search-val-box">
                <div
                    @click="searchVlaClick(item)"
                    v-for="(item, index) in searchArray"
                    :key="index"
                >{{ item.name }}</div>
            </div>
            <div class="list" v-show="navType == 1">
                <el-table
                    :data="carList.slice((currentPage - 1) * pagesize, currentPage * pagesize)"
                    style="width: 100%"
                    :header-cell-style="{ 'text-align': 'center', 'background-color': '#203c60', 'borderColor': '#324e75' }"
                    :cell-style="{ 'text-align': 'center', 'borderColor': '#324e75', 'cursor': 'pointer' }"
                    :height="currentTableHeight"
                >
                    <el-table-column type="index" label="序号" width="50">
                        <template slot-scope="scope">
                            <span>{{ (currentPage - 1) * pagesize + scope.$index + 1 }}</span>
                        </template>
                    </el-table-column>
                    <el-table-column prop="name" label="名称" width="140"></el-table-column>
                    <el-table-column prop="carType" label="类型" width="120"></el-table-column>
                    <el-table-column label="操作" align="center">
                        <template slot-scope="scope">
                            <el-button
                                @click="rowClick(scope.row)"
                                type="text"
                                size="small"
                                title="定位"
                            >
                                <i class="el-icon-location"></i>
                            </el-button>
                            <el-button
                                @click="carDetail(scope.row)"
                                type="text"
                                size="small"
                                title="轨迹"
                            >
                                <i class="el-icon-position"></i>
                            </el-button>
                        </template>
                    </el-table-column>
                </el-table>
                <div class="pages">
                    <el-pagination
                        background
                        layout="prev, pager, next"
                        :total="carList.length"
                        :page-size="pagesize"
                        pager-count="3"
                        :current-page="currentPage"
                        @current-change="handleCurrentChange"
                    ></el-pagination>
            <div class="list-show" ref="tableBox" v-show="!detailFlag">
                <div class="search-box">
                    <input v-model="searchValue" @input="searchChange" type="text" placeholder="请输入搜索条件" />
                    <button @click="searchClick" class="el-icon-search"></button>
                </div>
            </div>
            <div class="list" v-show="navType == 2">
                <el-table
                    :data="phoneList.slice((currentPage - 1) * pagesize, currentPage * pagesize)"
                    style="width: 100%"
                    :header-cell-style="{ 'text-align': 'center', 'background-color': '#203c60', 'borderColor': '#324e75' }"
                    :cell-style="{ 'text-align': 'center', 'borderColor': '#324e75', 'cursor': 'pointer' }"
                    :height="currentTableHeight"
                >
                    <el-table-column type="index" label="序号" width="50">
                        <template slot-scope="scope">
                            <span>{{ (currentPage - 1) * pagesize + scope.$index + 1 }}</span>
                        </template>
                    </el-table-column>
                    <el-table-column prop="name" label="名称" width="120"></el-table-column>
                    <el-table-column prop="phoneType" label="手台类型" width="120"></el-table-column>
                    <el-table-column label="操作" align="center">
                        <template slot-scope="scope">
                            <el-button
                                @click="rowClick(scope.row)"
                                type="text"
                                size="small"
                                title="定位"
                            >
                                <i class="el-icon-location"></i>
                            </el-button>
                            <el-button
                                @click="carDetail(scope.row)"
                                type="text"
                                size="small"
                                title="轨迹"
                            >
                                <i class="el-icon-position"></i>
                            </el-button>
                        </template>
                    </el-table-column>
                </el-table>
                <div class="pages">
                    <el-pagination
                        background
                        layout="prev, pager, next"
                        :total="phoneList.length"
                        :page-size="pagesize"
                        pager-count="3"
                        :current-page="currentPage"
                        @current-change="handleCurrentChange"
                    ></el-pagination>
                </div>
            </div>
            <div class="list" v-show="navType == 3">
                <el-table
                    :data="dtList.slice((currentPage - 1) * pagesize, currentPage * pagesize)"
                    style="width: 100%"
                    :header-cell-style="{ 'text-align': 'center', 'background-color': '#203c60', 'borderColor': '#324e75' }"
                    :cell-style="{ 'text-align': 'center', 'borderColor': '#324e75', 'cursor': 'pointer' }"
                    :height="currentTableHeight"
                >
                    <el-table-column type="index" label="序号" width="50">
                        <template slot-scope="scope">
                            <span>{{ (currentPage - 1) * pagesize + scope.$index + 1 }}</span>
                        </template>
                    </el-table-column>
                    <el-table-column prop="name" label="名称" width="140"></el-table-column>
                    <el-table-column prop="carType" label="类型" width="120"></el-table-column>
                    <el-table-column label="操作" align="center">
                        <template slot-scope="scope">
                            <el-button
                                @click="rowClick(scope.row)"
                                type="text"
                                size="small"
                                title="定位"
                            >
                                <i class="el-icon-location"></i>
                            </el-button>
                            <el-button
                                @click="carDetail(scope.row)"
                                type="text"
                                size="small"
                                title="轨迹"
                            >
                                <i class="el-icon-position"></i>
                            </el-button>
                        </template>
                    </el-table-column>
                </el-table>
                <div class="pages">
                    <el-pagination
                        background
                        layout="prev, pager, next"
                        :total="dtList.length"
                        :page-size="pagesize"
                        pager-count="3"
                        :current-page="currentPage"
                        @current-change="handleCurrentChange"
                    ></el-pagination>
                </div>
            </div>
            <div class="list" v-show="navType == 4">
                <el-table
                    :data="zfList.slice((currentPage - 1) * pagesize, currentPage * pagesize)"
                    style="width: 100%"
                    :header-cell-style="{ 'text-align': 'center', 'background-color': '#203c60', 'borderColor': '#324e75' }"
                    :cell-style="{ 'text-align': 'center', 'borderColor': '#324e75', 'cursor': 'pointer' }"
                    :height="currentTableHeight"
                >
                    <el-table-column type="index" label="序号" width="50">
                        <template slot-scope="scope">
                            <span>{{ (currentPage - 1) * pagesize + scope.$index + 1 }}</span>
                        </template>
                    </el-table-column>
                    <el-table-column prop="name" label="名称" width="120"></el-table-column>
                    <el-table-column prop="phoneType" label="手台类型" width="120"></el-table-column>
                    <el-table-column label="操作" align="center">
                        <template slot-scope="scope">
                            <el-button
                                @click="rowClick(scope.row)"
                                type="text"
                                size="small"
                                title="定位"
                            >
                                <i class="el-icon-location"></i>
                            </el-button>
                            <el-button
                                @click="carDetail(scope.row)"
                                type="text"
                                size="small"
                                title="轨迹"
                            >
                                <i class="el-icon-position"></i>
                            </el-button>
                        </template>
                    </el-table-column>
                </el-table>
                <div class="pages">
                    <el-pagination
                        background
                        layout="prev, pager, next"
                        :total="zfList.length"
                        :page-size="pagesize"
                        pager-count="3"
                        :current-page="currentPage"
                        @current-change="handleCurrentChange"
                    ></el-pagination>
                </div>
            </div>
        </div>
        <div class="track-box" v-show="detailFlag">
            <div class="back-btn" @click="goBack" title="轨迹">详细资料及轨迹查询</div>
            <ul v-show="navType == 1">
                <li>
                    <div>车辆型号:</div>
                    <div>SC7103</div>
                </li>
                <li>
                    <div>责任人:</div>
                    <div>高德光</div>
                </li>
                <li>
                    <div>出场日期:</div>
                    <div>2019-12-02 00:00:00</div>
                </li>
                <li>
                    <div>厂商:</div>
                    <div>重庆长安铃木汽车有限公司</div>
                </li>
                <li>
                    <div>选择时间:</div>
                    <div class="datetime">
                        <el-date-picker
                            v-model="trackTime"
                            type="datetimerange"
                            range-separator="至"
                            start-placeholder="开始日期"
                            size="mini"
                            :editable="false"
                            end-placeholder="结束日期"
                        ></el-date-picker>
                <div v-show="searchValBoxShow" class="search-val-box">
                    <div @click="searchVlaClick(item)" v-for="(item, index) in searchArray" :key="index">{{ item.name }}
                    </div>
                </li>
                </div>
                <li>
                    <el-button type="text" @click="lookTrack">查看轨迹</el-button>
                </li>
            </ul>
                <div class="list" v-show="navType == 1">
                    <el-table :data="carList.slice((currentPage - 1) * pagesize, currentPage * pagesize)"
                        style="width: 100%"
                        :header-cell-style="{ 'text-align': 'center', 'background-color': '#203c60', 'borderColor': '#324e75' }"
                        :cell-style="{ 'text-align': 'center', 'borderColor': '#324e75', 'cursor': 'pointer' }"
                        :height="currentTableHeight">
                        <el-table-column type="index" label="序号" width="50">
                            <template slot-scope="scope">
                                <span>{{ (currentPage - 1) * pagesize + scope.$index + 1 }}</span>
                            </template>
                        </el-table-column>
                        <el-table-column prop="name" label="名称" width="140"></el-table-column>
                        <el-table-column prop="carType" label="类型" width="120"></el-table-column>
            <ul v-show="navType == 2">
                <li>
                    <div>型号:</div>
                    <div>350m</div>
                </li>
                        <el-table-column label="操作" align="center">
                            <template slot-scope="scope">
                                <el-button @click="rowClick(scope.row)" type="text" size="small" title="定位">
                                    <i class="el-icon-location"></i>
                                </el-button>
                                <el-button @click="carDetail(scope.row)" type="text" size="small" title="轨迹">
                                    <i class="el-icon-position"></i>
                                </el-button>
                            </template>
                        </el-table-column>
                    </el-table>
                <li>
                    <div>责任人:</div>
                    <div>高德光</div>
                </li>
                <li>
                    <div>出场日期:</div>
                    <div>2019-12-02 00:00:00</div>
                </li>
                <li>
                    <div>厂商:</div>
                    <div>摩托罗拉</div>
                </li>
                <li>
                    <div>选择时间:</div>
                    <div class="datetime">
                        <el-date-picker
                            v-model="trackTime"
                            type="datetimerange"
                            range-separator="至"
                            start-placeholder="开始日期"
                            size="mini"
                            :editable="false"
                            end-placeholder="结束日期"
                        ></el-date-picker>
                    <div class="pages">
                        <el-pagination background layout="prev, pager, next" :total="carList.length"
                            :page-size="pagesize" pager-count="3" :current-page="currentPage"
                            @current-change="handleCurrentChange">
                        </el-pagination>
                    </div>
                </li>
                </div>
                <li>
                    <el-button type="text" @click="lookTrack">查看轨迹</el-button>
                </li>
            </ul>
                <div class="list" v-show="navType == 2">
                    <el-table :data="phoneList.slice((currentPage - 1) * pagesize, currentPage * pagesize)"
                        style="width: 100%"
                        :header-cell-style="{ 'text-align': 'center', 'background-color': '#203c60', 'borderColor': '#324e75' }"
                        :cell-style="{ 'text-align': 'center', 'borderColor': '#324e75', 'cursor': 'pointer' }"
                        :height="currentTableHeight">
                        <el-table-column type="index" label="序号" width="50">
                            <template slot-scope="scope">
                                <span>{{ (currentPage - 1) * pagesize + scope.$index + 1 }}</span>
                            </template>
                        </el-table-column>
                        <el-table-column prop="name" label="名称" width="120"></el-table-column>
                        <el-table-column prop="phoneType" label="手台类型" width="120"></el-table-column>
                        <el-table-column label="操作" align="center">
                            <template slot-scope="scope">
                                <el-button @click="rowClick(scope.row)" type="text" size="small" title="定位">
                                    <i class="el-icon-location"></i>
                                </el-button>
                                <el-button @click="carDetail(scope.row)" type="text" size="small" title="轨迹">
                                    <i class="el-icon-position"></i>
                                </el-button>
                            </template>
                        </el-table-column>
                    </el-table>
                    <div class="pages">
                        <el-pagination background layout="prev, pager, next" :total="phoneList.length"
                            :page-size="pagesize" pager-count="3" :current-page="currentPage"
                            @current-change="handleCurrentChange">
                        </el-pagination>
                    </div>
                </div>
                <div class="list" v-show="navType == 3">
                    <el-table :data="dtList.slice((currentPage - 1) * pagesize, currentPage * pagesize)"
                        style="width: 100%"
                        :header-cell-style="{ 'text-align': 'center', 'background-color': '#203c60', 'borderColor': '#324e75' }"
                        :cell-style="{ 'text-align': 'center', 'borderColor': '#324e75', 'cursor': 'pointer' }"
                        :height="currentTableHeight">
                        <el-table-column type="index" label="序号" width="50">
                            <template slot-scope="scope">
                                <span>{{ (currentPage - 1) * pagesize + scope.$index + 1 }}</span>
                            </template>
                        </el-table-column>
                        <el-table-column prop="name" label="名称" width="140"></el-table-column>
                        <el-table-column prop="carType" label="类型" width="120"></el-table-column>
                        <el-table-column label="操作" align="center">
                            <template slot-scope="scope">
                                <el-button @click="rowClick(scope.row)" type="text" size="small" title="定位">
                                    <i class="el-icon-location"></i>
                                </el-button>
                                <el-button @click="carDetail(scope.row)" type="text" size="small" title="轨迹">
                                    <i class="el-icon-position"></i>
                                </el-button>
                            </template>
                        </el-table-column>
                    </el-table>
                    <div class="pages">
                        <el-pagination background layout="prev, pager, next" :total="dtList.length"
                            :page-size="pagesize" pager-count="3" :current-page="currentPage"
                            @current-change="handleCurrentChange">
                        </el-pagination>
                    </div>
                </div>
                <div class="list" v-show="navType == 4">
                    <el-table :data="zfList.slice((currentPage - 1) * pagesize, currentPage * pagesize)"
                        style="width: 100%"
                        :header-cell-style="{ 'text-align': 'center', 'background-color': '#203c60', 'borderColor': '#324e75' }"
                        :cell-style="{ 'text-align': 'center', 'borderColor': '#324e75', 'cursor': 'pointer' }"
                        :height="currentTableHeight">
                        <el-table-column type="index" label="序号" width="50">
                            <template slot-scope="scope">
                                <span>{{ (currentPage - 1) * pagesize + scope.$index + 1 }}</span>
                            </template>
                        </el-table-column>
                        <el-table-column prop="name" label="名称" width="120"></el-table-column>
                        <el-table-column prop="phoneType" label="手台类型" width="120"></el-table-column>
                        <el-table-column label="操作" align="center">
                            <template slot-scope="scope">
                                <el-button @click="rowClick(scope.row)" type="text" size="small" title="定位">
                                    <i class="el-icon-location"></i>
                                </el-button>
                                <el-button @click="carDetail(scope.row)" type="text" size="small" title="轨迹">
                                    <i class="el-icon-position"></i>
                                </el-button>
                            </template>
                        </el-table-column>
                    </el-table>
                    <div class="pages">
                        <el-pagination background layout="prev, pager, next" :total="zfList.length"
                            :page-size="pagesize" pager-count="3" :current-page="currentPage"
                            @current-change="handleCurrentChange">
                        </el-pagination>
                    </div>
                </div>
            </div>
            <div class="track-box" v-show="detailFlag">
                <div class="back-btn" @click="goBack" title="轨迹">详细资料及轨迹查询</div>
                <ul v-show="navType == 1">
                    <li>
                        <div>车辆型号:</div>
                        <div>SC7103</div>
                    </li>
                    <li>
                        <div>责任人:</div>
                        <div>高德光</div>
                    </li>
                    <li>
                        <div>出场日期:</div>
                        <div>2019-12-02 00:00:00</div>
                    </li>
                    <li>
                        <div>厂商:</div>
                        <div>重庆长安铃木汽车有限公司</div>
                    </li>
                    <li>
                        <div>选择时间:</div>
                        <div class="datetime">
                            <el-date-picker v-model="trackTime" type="datetimerange" range-separator="至"
                                start-placeholder="开始日期" size="mini" :editable="false" end-placeholder="结束日期">
                            </el-date-picker>
                        </div>
                    </li>
                    <li>
                        <el-button type="text" @click="lookTrack">查看轨迹</el-button>
                    </li>
                </ul>
                <ul v-show="navType == 2">
                    <li>
                        <div>型号:</div>
                        <div>350m</div>
                    </li>
                    <li>
                        <div>责任人:</div>
                        <div>高德光</div>
                    </li>
                    <li>
                        <div>出场日期:</div>
                        <div>2019-12-02 00:00:00</div>
                    </li>
                    <li>
                        <div>厂商:</div>
                        <div>摩托罗拉</div>
                    </li>
                    <li>
                        <div>选择时间:</div>
                        <div class="datetime">
                            <el-date-picker v-model="trackTime" type="datetimerange" range-separator="至"
                                start-placeholder="开始日期" size="mini" :editable="false" end-placeholder="结束日期">
                            </el-date-picker>
                        </div>
                    </li>
                    <li>
                        <el-button type="text" @click="lookTrack">查看轨迹</el-button>
                    </li>
                </ul>
            </div>
        </div>
        <el-dialog
            :title="dialogTitle"
            :modal="true"
            :visible.sync="dialogVisible"
            :before-close="dialogBeforeClose"
            :close-on-click-modal="true"
            class="car-video-box"
        >
            <video
                src="/video/sp.mp4"
                autoplay
                controls
                width="100%"
                height="100%"
                ref="videoElement"
                style="object-fit: fill"
            ></video>
        <el-dialog :title="dialogTitle" :modal="true" :visible.sync="dialogVisible" :before-close="dialogBeforeClose"
            :close-on-click-modal="true" class="car-video-box">
            <video src="/video/sp.mp4" autoplay controls width="100%" height="100%" ref="videoElement"
                style="object-fit: fill"></video>
        </el-dialog>
        <el-dialog
            :title="phoneTitle"
            :modal="true"
            :visible.sync="phoneVisible"
            :before-close="phoneBeforeClose"
            :close-on-click-modal="true"
            class="phone-details-box"
        >
        <el-dialog :title="phoneTitle" :modal="true" :visible.sync="phoneVisible" :before-close="phoneBeforeClose"
            :close-on-click-modal="true" class="phone-details-box">
            <div class="item">
                <div>责任人:</div>
                <div>{{ phoneDetails.person }}</div>
@@ -419,7 +311,8 @@
                value: '4',
                label: '执法记录仪'
            }],
            typeValue: '1'
            typeValue: '1',
            boxShow: false,
        }
    },
    created () {
@@ -436,6 +329,8 @@
        window.addEventListener('resize', this.setTableHeight)
    },
    mounted () {
        this.$parent.resize('400px')
        this.navClick(1)
    },
    methods: {
@@ -682,7 +577,12 @@
        setTableHeight () {
            this.currentTableHeight = this.$refs.tableBox.offsetHeight - 88
        }
        },
        // 大小重置
        boxResize (val) {
            this.boxShow = val
        },
    },
    destroyed () {
@@ -712,188 +612,197 @@
        })
        window.removeEventListener('resize', this.setTableHeight)
        this.$parent.resize('0px')
    }
}
</script>
<style scoped lang="scss">
.container {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 400px;
    height: 100%;
    background: $bg-color;
    .switch-box {
        padding: 6px;
        // background: blue;
        display: flex;
        justify-content: space-around;
    &-content {
        width: 100%;
        height: 100%;
        color: #fff;
        background: $bg-color;
        & > div {
            flex: 1;
        }
    }
    .list-show {
        position: relative;
        height: calc(100% - 50px);
        .search-box {
        .switch-box {
            padding: 6px;
            padding-top: 0;
            height: 48px;
            // background: blue;
            display: flex;
            justify-content: space-around;
            input {
            &>div {
                flex: 1;
                height: 100%;
                font-size: 18px;
                text-indent: 1em;
                color: #ffffff;
                background-color: transparent;
                border: 1px solid rgb(0, 92, 169);
                border-radius: 20px 0 0 20px;
            }
            input:focus {
                outline: none;
            }
            input::-webkit-input-placeholder {
                color: rgba(238, 238, 238, 0.7);
            }
            button {
                font-size: 24px;
                font-weight: 700;
                width: 80px;
                height: 100%;
                background-color: rgb(0, 92, 169);
                color: #fff;
                border: 1px solid rgb(0, 92, 169);
                cursor: pointer;
                border-radius: 0 20px 20px 0;
            }
            button:active {
                background-color: rgb(0, 92, 169);
                border: 1px solid rgb(0, 92, 169);
            }
        }
        .search-val-box {
            display: flex;
            flex-direction: column;
            position: absolute;
            top: 48px;
            left: 6px;
            width: calc(100% - 12px);
            max-height: 160px;
            text-align: left;
            color: #fff;
            background: rgba(16, 29, 74, 0.9);
            z-index: 1111;
            border-radius: 10px;
            overflow-y: auto;
            & > div {
                height: 100%;
                padding: 0 10px;
                line-height: 36px;
                cursor: pointer;
            }
        }
        .list {
            height: calc(100% - 48px);
            display: flex;
            flex-direction: column;
            .pages {
                height: 40px;
                display: flex;
                align-items: center;
                justify-content: center;
            }
        }
    }
    .track-box {
        height: calc(100% - 50px);
        background: rgba(20, 50, 123, 1);
        .back-btn {
        .list-show {
            position: relative;
            height: 42px;
            line-height: 42px;
            text-align: center;
            color: #fff;
            border-bottom: 1px solid #fff;
            cursor: pointer;
        }
        .back-btn::before {
            content: '\e6ea';
            font-family: element-icons;
            height: 28px;
            line-height: 28px;
            color: #388ae7;
            position: absolute;
            top: 4px;
            left: 8px;
        }
        .back-btn:hover::before {
            color: #5a9eeb;
        }
            height: calc(100% - 50px);
        ul {
            margin: 0;
            padding: 0px;
        }
            .search-box {
                padding: 6px;
                padding-top: 0;
                height: 48px;
                display: flex;
        li {
            margin: 0;
            padding: 0 4px;
            list-style: none;
            height: 42px;
            line-height: 42px;
            display: flex;
            color: #fff;
            border-bottom: 1px solid #fff;
                input {
                    flex: 1;
                    height: 100%;
                    font-size: 18px;
                    text-indent: 1em;
                    color: #ffffff;
                    background-color: transparent;
                    border: 1px solid rgb(0, 92, 169);
                    border-radius: 20px 0 0 20px;
                }
            & > div {
                text-align: center;
                input:focus {
                    outline: none;
                }
                input::-webkit-input-placeholder {
                    color: rgba(238, 238, 238, 0.7);
                }
                button {
                    font-size: 24px;
                    font-weight: 700;
                    width: 80px;
                    height: 100%;
                    background-color: rgb(0, 92, 169);
                    color: #fff;
                    border: 1px solid rgb(0, 92, 169);
                    cursor: pointer;
                    border-radius: 0 20px 20px 0;
                }
                button:active {
                    background-color: rgb(0, 92, 169);
                    border: 1px solid rgb(0, 92, 169);
                }
            }
            & > div:first-child {
                flex: 2;
            .search-val-box {
                display: flex;
                flex-direction: column;
                position: absolute;
                top: 48px;
                left: 6px;
                width: calc(100% - 12px);
                max-height: 160px;
                text-align: left;
                color: #fff;
                background: rgba(16, 29, 74, 0.9);
                z-index: 1111;
                border-radius: 10px;
                overflow-y: auto;
                &>div {
                    height: 100%;
                    padding: 0 10px;
                    line-height: 36px;
                    cursor: pointer;
                }
            }
            & > div:last-child {
                flex: 6;
            .list {
                height: calc(100% - 48px);
                display: flex;
                flex-direction: column;
                & > div {
                    width: 100% !important;
                .pages {
                    height: 40px;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                }
            }
        }
        li:last-child {
            text-align: center;
            position: relative;
        .track-box {
            height: calc(100% - 50px);
            background: rgba(20, 50, 123, 1);
            .el-button {
            .back-btn {
                position: relative;
                height: 42px;
                line-height: 42px;
                text-align: center;
                color: #fff;
                border-bottom: 1px solid #fff;
                cursor: pointer;
            }
            .back-btn::before {
                content: '\e6ea';
                font-family: element-icons;
                height: 28px;
                line-height: 28px;
                color: #388ae7;
                position: absolute;
                top: 0;
                left: 0;
                right: 0;
                bottom: 0;
                margin: auto;
                padding: 0 !important;
                width: 68px;
                height: 32px;
                line-height: 32px;
                top: 4px;
                left: 8px;
            }
            .back-btn:hover::before {
                color: #5a9eeb;
            }
            ul {
                margin: 0;
                padding: 0px;
            }
            li {
                margin: 0;
                padding: 0 4px;
                list-style: none;
                height: 42px;
                line-height: 42px;
                display: flex;
                color: #fff;
                border-bottom: 1px solid #fff;
                &>div {
                    text-align: center;
                }
                &>div:first-child {
                    flex: 2;
                }
                &>div:last-child {
                    flex: 6;
                    &>div {
                        width: 100% !important;
                    }
                }
            }
            li:last-child {
                text-align: center;
                position: relative;
                .el-button {
                    position: absolute;
                    top: 0;
                    left: 0;
                    right: 0;
                    bottom: 0;
                    margin: auto;
                    padding: 0 !important;
                    width: 68px;
                    height: 32px;
                    line-height: 32px;
                }
            }
        }
    }
src/views/video/index.vue
@@ -2,7 +2,7 @@
 * @Author: shuishen 1109946754@qq.com
 * @Date: 2022-08-18 16:18:17
 * @LastEditors: shuishen 1109946754@qq.com
 * @LastEditTime: 2022-10-29 15:23:34
 * @LastEditTime: 2022-11-10 16:09:06
 * @FilePath: \srs-police-affairs\src\views\video\index.vue
 * @Description: 辖区管理
 * 
@@ -11,75 +11,52 @@
<template>
    <div class="container">
        <div class="search-box">
            <input v-model="searchValue" @input="searchChange" type="text" placeholder="请输入搜索条件" />
            <button @click="searchClick" class="el-icon-search"></button>
        </div>
        <div v-show='boxShow' class="container-content">
            <div class="search-box">
                <input v-model="searchValue" @input="searchChange" type="text" placeholder="请输入搜索条件" />
                <button @click="searchClick" class="el-icon-search"></button>
            </div>
        <div class="draw-btn">
            <el-button type="primary" size="mini" @click="draw('polygon')">绘制面</el-button>
            <el-button type="primary" size="mini" @click="draw('polyline')">绘制线</el-button>
            <el-button type="primary" size="mini" @click="removeDrawLayer">清除</el-button>
        </div>
            <div class="draw-btn">
                <el-button type="primary" size="mini" @click="draw('polygon')">绘制面</el-button>
                <el-button type="primary" size="mini" @click="draw('polyline')">绘制线</el-button>
                <el-button type="primary" size="mini" @click="removeDrawLayer">清除</el-button>
            </div>
        <div v-show="true" class="search-val-box">
            <div
                @click="searchVlaClick(item)"
                v-for="(item, index) in searchArray"
                :key="index"
            >{{ item.name }}</div>
        </div>
        <div class="list-show">
            <div class="car-list">
                <div class="list-box">
                    <el-table
                        :data="monitoringList.slice((currentPage - 1) * pagesize, currentPage * pagesize)"
                        style="width: 100%"
                        :header-cell-style="{ 'text-align': 'center', 'background-color': '#203c60', 'borderColor': '#324e75' }"
                        :cell-style="{ 'text-align': 'center', 'borderColor': '#324e75' }"
                        @cell-click="rowClick"
                    >
                        <el-table-column type="index" label="序号" width="50">
                            <template slot-scope="scope">
                                <span>{{ (currentPage - 1) * pagesize + scope.$index + 1 }}</span>
                            </template>
                        </el-table-column>
                        <el-table-column prop="name" label="设备名称" width="150"></el-table-column>
                        <el-table-column prop="type" label="设备类型"></el-table-column>
                    </el-table>
            <div v-show="true" class="search-val-box">
                <div @click="searchVlaClick(item)" v-for="(item, index) in searchArray" :key="index">{{ item.name }}
                </div>
                <div class="pages">
                    <el-pagination
                        background
                        layout="prev, pager, next"
                        :total="monitoringList.length"
                        :page-size="pagesize"
                        pager-count="3"
                        :current-page="currentPage"
                        @current-change="handleCurrentChange"
                    ></el-pagination>
            </div>
            <div class="list-show">
                <div class="car-list">
                    <div class="list-box">
                        <el-table :data="monitoringList.slice((currentPage - 1) * pagesize, currentPage * pagesize)"
                            style="width: 100%"
                            :header-cell-style="{ 'text-align': 'center', 'background-color': '#203c60', 'borderColor': '#324e75' }"
                            :cell-style="{ 'text-align': 'center', 'borderColor': '#324e75' }" @cell-click="rowClick">
                            <el-table-column type="index" label="序号" width="50">
                                <template slot-scope="scope">
                                    <span>{{ (currentPage - 1) * pagesize + scope.$index + 1 }}</span>
                                </template>
                            </el-table-column>
                            <el-table-column prop="name" label="设备名称" width="150"></el-table-column>
                            <el-table-column prop="type" label="设备类型"></el-table-column>
                        </el-table>
                    </div>
                    <div class="pages">
                        <el-pagination background layout="prev, pager, next" :total="monitoringList.length"
                            :page-size="pagesize" pager-count="3" :current-page="currentPage"
                            @current-change="handleCurrentChange"></el-pagination>
                    </div>
                </div>
            </div>
        </div>
        <el-dialog
            :title="dialogTitle"
            :modal="true"
            :visible.sync="dialogVisible"
            :before-close="dialogBeforeClose"
            :close-on-click-modal="true"
            class="car-video-box"
        >
            <video
                src="/video/sp.mp4"
                autoplay
                controls
                width="100%"
                height="100%"
                ref="videoElement"
                style="object-fit: fill"
            ></video>
        <el-dialog :title="dialogTitle" :modal="true" :visible.sync="dialogVisible" :before-close="dialogBeforeClose"
            :close-on-click-modal="true" class="car-video-box">
            <video src="/video/sp.mp4" autoplay controls width="100%" height="100%" ref="videoElement"
                style="object-fit: fill"></video>
        </el-dialog>
    </div>
</template>
@@ -101,7 +78,8 @@
            dialogVisible: false,
            searchValue: '',
            searchArray: [],
            searchValBoxShow: false
            searchValBoxShow: false,
            boxShow: false,
        }
    },
@@ -110,6 +88,8 @@
    },
    mounted () {
        this.$parent.resize('400px')
        this.initMonitoringIcon()
        graphicLayer = new EntityDraw()
    },
@@ -187,8 +167,12 @@
        removeDrawLayer () {
            graphicLayer.clearLayer()
        }
        },
        // 大小重置
        boxResize (val) {
            this.boxShow = val
        },
    },
    destroyed () {
@@ -198,116 +182,122 @@
        })
        graphicLayer.destroy()
        this.$parent.resize('0px')
    }
}
</script>
<style scoped lang="scss">
.container {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 400px;
    height: 100%;
    background: $bg-color;
    .search-box {
        padding: 8px;
        height: 48px;
        display: flex;
        input {
            flex: 1;
            height: 100%;
            font-size: 16px;
            text-indent: 1em;
            color: #ffffff;
            background-color: transparent;
            border: 1px solid rgb(0, 92, 169);
            border-radius: 20px 0 0 20px;
        }
        input:focus {
            outline: none;
        }
        input::-webkit-input-placeholder {
            color: rgba(238, 238, 238, 0.7);
        }
        button {
            font-size: 24px;
            font-weight: 700;
            width: 80px;
            height: 100%;
            background-color: rgb(0, 92, 169);
            color: #fff;
            border: 1px solid rgb(0, 92, 169);
            cursor: pointer;
            border-radius: 0 20px 20px 0;
        }
        button:active {
            background-color: rgb(0, 92, 169);
            border: 1px solid rgb(0, 92, 169);
        }
    }
    .search-val-box {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 48px;
        left: 6px;
        width: calc(100% - 12px);
        max-height: 160px;
        text-align: left;
    &-content {
        width: 100%;
        height: 100%;
        color: #fff;
        background: rgba(16, 29, 74, 0.9);
        z-index: 1111;
        border-radius: 10px;
        overflow-y: auto;
        background: $bg-color;
        & > div {
            height: 100%;
            padding: 0 10px;
            line-height: 36px;
            cursor: pointer;
        .search-box {
            padding: 8px;
            height: 48px;
            display: flex;
            input {
                flex: 1;
                height: 100%;
                font-size: 16px;
                text-indent: 1em;
                color: #ffffff;
                background-color: transparent;
                border: 1px solid rgb(0, 92, 169);
                border-radius: 20px 0 0 20px;
            }
            input:focus {
                outline: none;
            }
            input::-webkit-input-placeholder {
                color: rgba(238, 238, 238, 0.7);
            }
            button {
                font-size: 24px;
                font-weight: 700;
                width: 80px;
                height: 100%;
                background-color: rgb(0, 92, 169);
                color: #fff;
                border: 1px solid rgb(0, 92, 169);
                cursor: pointer;
                border-radius: 0 20px 20px 0;
            }
            button:active {
                background-color: rgb(0, 92, 169);
                border: 1px solid rgb(0, 92, 169);
            }
        }
    }
    .draw-btn {
        margin: 8px;
        margin-top: 0;
        display: flex;
        align-items: center;
        justify-content: space-around;
        height: 26px;
        .el-button {
            flex: 1;
        }
    }
    .list-show {
        flex: 1;
        & > div {
            height: 100%;
        .search-val-box {
            display: flex;
            flex-direction: column;
            position: absolute;
            top: 48px;
            left: 6px;
            width: calc(100% - 12px);
            max-height: 160px;
            text-align: left;
            color: #fff;
            background: rgba(16, 29, 74, 0.9);
            z-index: 1111;
            border-radius: 10px;
            overflow-y: auto;
            // background-color: #fff;
            .list-box {
            &>div {
                height: 100%;
                padding: 0 10px;
                line-height: 36px;
                cursor: pointer;
            }
        }
        .draw-btn {
            margin: 8px;
            margin-top: 0;
            display: flex;
            align-items: center;
            justify-content: space-around;
            height: 26px;
            .el-button {
                flex: 1;
            }
        }
        .pages {
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
        .list-show {
            flex: 1;
            &>div {
                height: 100%;
                display: flex;
                flex-direction: column;
                // background-color: #fff;
                .list-box {
                    flex: 1;
                }
            }
            .pages {
                height: 40px;
                display: flex;
                align-items: center;
                justify-content: center;
            }
        }
    }
}