shuishen
2023-02-01 1a95089a3af79380c272d9b16f3d3091b9f8e40c
警情动态列表数据筛选
2 files modified
10 ■■■■ changed files
src/api/home/index.js 6 ●●●● patch | view | raw | blame | history
src/views/home/components/bottomContainer.vue 4 ●●●● patch | view | raw | blame | history
src/api/home/index.js
@@ -2,7 +2,7 @@
 * @Author: shuishen 1109946754@qq.com
 * @Date: 2022-12-27 14:19:19
 * @LastEditors: shuishen 1109946754@qq.com
 * @LastEditTime: 2023-02-01 14:50:48
 * @LastEditTime: 2023-02-01 16:56:46
 * @FilePath: \srs-police-affairs\src\api\home\index.js
 * @Description: 
 * 
@@ -28,11 +28,11 @@
    })
}
export const getAnswerPolices = () => {
export const getAnswerPolices = (params) => {
    return request({
        url: `/api/doorplate/doorplate/acceptAlarmList`,
        method: 'get',
        params: {}
        params: params
    })
}
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-01-29 10:18:29
 * @LastEditTime: 2023-02-01 16:57:05
 * @FilePath: \srs-police-affairs\src\views\home\components\bottomContainer.vue
 * @Description: 
 * 
@@ -310,7 +310,7 @@
        // 获取实时接警记录
        getAnswerPolices () {
            getAnswerPolices().then(res => {
            getAnswerPolices({ deptId: this.userInfo.dept_id }).then(res => {
                this.policeSituationRealtimeArr = []
                if (res.data.result.length > 0) {