shuishen
2023-02-15 2858e0118c962f2c8cc801f0c072719aac685eb4
首页底部数据更改
2 files modified
25 ■■■■ changed files
src/components/map/index.vue 4 ●●●● patch | view | raw | blame | history
src/views/home/components/bottomContainer.vue 21 ●●●●● patch | view | raw | blame | history
src/components/map/index.vue
@@ -2,7 +2,7 @@
 * @Author: shuishen 1109946754@qq.com
 * @Date: 2022-08-18 17:00:30
 * @LastEditors: shuishen 1109946754@qq.com
 * @LastEditTime: 2023-02-13 10:51:47
 * @LastEditTime: 2023-02-15 16:02:40
 * @FilePath: \srs-police-affairs\src\components\map\index.vue
 * @Description: 公用地图组件
 * 
@@ -215,7 +215,7 @@
            // global.viewer.addTerrain(terrain)
            // 内网
            // that.switchImg()
            that.switchImg()
            // 外网
            // global.viewer.imageryLayers.addImageryProvider(
src/views/home/components/bottomContainer.vue
@@ -2,7 +2,7 @@
 * @Author: shuishen 1109946754@qq.com
 * @Date: 2023-01-13 15:52:59
 * @LastEditors: shuishen 1109946754@qq.com
 * @LastEditTime: 2023-02-13 09:59:47
 * @LastEditTime: 2023-02-15 16:01:18
 * @FilePath: \srs-police-affairs\src\views\home\components\bottomContainer.vue
 * @Description: 
 * 
@@ -395,7 +395,24 @@
        handleCurrentChange: function (currentPage) {
            this.currentPage = currentPage
            this.getAlarmList({ current: this.currentPage })
            if (this.timetype == 0) {
                this.getAlarmList({ type: this.timetype, time: this.dateFormat(this.currentWeekTime), current: this.currentPage })
            } else if (this.timetype == 1) {
                this.getAlarmList({ type: this.timetype, time: this.dateFormat(this.currentMonthTime), current: this.currentPage })
            } else {
                const date = this.currentTime.map(item => {
                    return this.dateFormat(item)
                })
                this.getAlarmList({ start: date[0], end: date[1], current: this.currentPage })
            }
        },
        // 设置默认时间