From fe044e84d18dee6ebf1244e622b2ad0c918872cb Mon Sep 17 00:00:00 2001
From: chenzeping <ChenZeping02609@163.com>
Date: 星期五, 16 四月 2021 23:57:55 +0800
Subject: [PATCH] 固废弹框数据传递

---
 src/components/BaseNav/WasteSolid/PublicTable.vue |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/src/components/BaseNav/WasteSolid/PublicTable.vue b/src/components/BaseNav/WasteSolid/PublicTable.vue
index ca2ccf9..3bc0315 100644
--- a/src/components/BaseNav/WasteSolid/PublicTable.vue
+++ b/src/components/BaseNav/WasteSolid/PublicTable.vue
@@ -14,6 +14,8 @@
 </template>
 
 <script>
+import mapApi from '@/api/mapApi'
+
 export default {
   name: 'PublicTable',
   props: ['displayContentTable'],
@@ -54,10 +56,18 @@
   },
   mounted () {
     this.$nextTick(() => {
-      this.listData.push(this.displayContentTable[0], {}, {}, {}, {}, {}, {})
+      this.listData.push({}, {}, {}, {}, {}, {})
     })
   },
   methods: {
+    async refsDataTable (data) {
+      const StoragePlaceId = {
+        StoragePlaceId: data
+      }
+      const result = await mapApi.getSolidWasteDetail(StoragePlaceId)
+      this.listData = result.Result.DataInfo[0]
+      console.log(this.listData)
+    },
     // 闅旇棰滆壊璁剧疆
     tableRowClassName ({
       row,

--
Gitblit v1.8.0