| | |
| | | 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) |