From 84017ddc72a03bb3335b02cda78f7200f4d1472e Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Tue, 03 Jan 2023 17:40:54 +0800
Subject: [PATCH] 内网接口
---
src/views/home/components/bottomContainer.vue | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/src/views/home/components/bottomContainer.vue b/src/views/home/components/bottomContainer.vue
index c2f5165..c914a83 100644
--- a/src/views/home/components/bottomContainer.vue
+++ b/src/views/home/components/bottomContainer.vue
@@ -92,6 +92,8 @@
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 {
@@ -144,6 +146,8 @@
this.policeSituationRealtimeArr = realtimeArr
this.policeSituationHistoryArr = historyArr
this.policeSituationHistorySaveArr = historyArr
+
+ this.getCallPolices()
},
mounted () {
@@ -159,6 +163,15 @@
},
methods: {
+ getCallPolices () {
+ getCallPolices().thne(res => {
+ setTimeout(() => {
+
+ console.log(res, 465464)
+ }, 5000)
+ })
+ },
+
timeTabClick (type) {
this.timetype = type
this.$emit('changePoliceSituationTimeType', type)
--
Gitblit v1.9.3