From 3054bbce49457c82df9ad32523f3a0186e268d6f Mon Sep 17 00:00:00 2001
From: yangdelong <828900aaa>
Date: 星期五, 28 五月 2021 21:17:08 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/develop' into develop

---
 src/components/table/components/IndexStatistics.vue |   28 +++++-----------------------
 1 files changed, 5 insertions(+), 23 deletions(-)

diff --git a/src/components/table/components/IndexStatistics.vue b/src/components/table/components/IndexStatistics.vue
index ef47519..f5d31f0 100644
--- a/src/components/table/components/IndexStatistics.vue
+++ b/src/components/table/components/IndexStatistics.vue
@@ -66,37 +66,19 @@
 </template>
 
 <script>
-
+import mapApi from '@/api/mapApi'
 export default {
   name: 'IndexStatistics',
   data () {
     return {
       titleProp: '',
       activeName: 'first',
-      tableData: [{
-        date: '闆嗗洟鍏徃',
-        name: '35',
-        province: '23',
-        city: '11',
-        address: 235,
-        zip: 23
-      }, {
-        date: '澶╂触鐭冲寲',
-        name: 32,
-        province: 33,
-        city: 44,
-        address: 53,
-        zip: 200333
-      }, {
-        date: '娴庡崡鐐煎寲',
-        name: 35,
-        province: 13,
-        city: 33,
-        address: 44,
-        zip: 200333
-      }]
+      tableData: null
     }
   },
+  async mounted () {
+    this.tableData = await mapApi.getIndexStatistics()
+  },
   methods: {
     refsDatatitle (item) {
       this.titleProp = item

--
Gitblit v1.8.0