Merge branch 'master' of http://192.168.0.105:10010/r/srs-police-affairs
| | |
| | | /* |
| | | * @Author: shuishen 1109946754@qq.com |
| | | * @Date: 2022-12-27 14:19:19 |
| | | * @LastEditors: shuishen 1109946754@qq.com |
| | | * @LastEditTime: 2023-01-03 16:02:57 |
| | | * @FilePath: \srs-police-affairs\src\api\home\index.js |
| | | * @Description: |
| | | * |
| | | * Copyright (c) 2023 by shuishen 1109946754@qq.com, All Rights Reserved. |
| | | */ |
| | | import request from "@/router/axios.js" |
| | | |
| | | |
| | |
| | | sameday: 1, |
| | | } |
| | | }) |
| | | } |
| | | |
| | | |
| | | export const getCallPolices = () => { |
| | | return request({ |
| | | url: `/api/doorplate/doorplate/setOutAlarmList`, |
| | | method: 'get', |
| | | params: {} |
| | | }) |
| | | } |
| | |
| | | import realtimeArr from '@/assets/data/policeSituationArr/realtimeArr.js' |
| | | import historyArr from '@/assets/data/policeSituationArr/historyArr.js' |
| | | |
| | | import { getCallPolices } from "@/api/home/index.js" |
| | | |
| | | export default { |
| | | data () { |
| | | return { |
| | |
| | | this.policeSituationRealtimeArr = realtimeArr |
| | | this.policeSituationHistoryArr = historyArr |
| | | this.policeSituationHistorySaveArr = historyArr |
| | | |
| | | this.getCallPolices() |
| | | }, |
| | | |
| | | mounted () { |
| | |
| | | }, |
| | | |
| | | methods: { |
| | | getCallPolices () { |
| | | getCallPolices().thne(res => { |
| | | setTimeout(() => { |
| | | |
| | | console.log(res, 465464) |
| | | }, 5000) |
| | | }) |
| | | }, |
| | | |
| | | timeTabClick (type) { |
| | | this.timetype = type |
| | | this.$emit('changePoliceSituationTimeType', type) |