From e25ff993695e7a4b394a5d1aa102f113dbe5316b Mon Sep 17 00:00:00 2001
From: 徐旺旺 <11530253@qq.com>
Date: 星期日, 18 四月 2021 22:40:14 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/develop' into develop

---
 src/components/BaseNav/WasteSolid/WasteSolidIndex.vue |   22 ++++++++++++----------
 1 files changed, 12 insertions(+), 10 deletions(-)

diff --git a/src/components/BaseNav/WasteSolid/WasteSolidIndex.vue b/src/components/BaseNav/WasteSolid/WasteSolidIndex.vue
index 0b0ea0b..89c6c51 100644
--- a/src/components/BaseNav/WasteSolid/WasteSolidIndex.vue
+++ b/src/components/BaseNav/WasteSolid/WasteSolidIndex.vue
@@ -1,11 +1,10 @@
 <template>
   <public-sector>
-    <div></div>
     <template v-slot:tabs>
-      <public-tabs></public-tabs>
+      <public-tabs ref='refsTabsData'></public-tabs>
     </template>
     <template v-slot:table>
-      <public-table ref="table"></public-table>
+      <public-table ref="refsTableData"></public-table>
     </template>
     <template v-slot:video>
       <public-video></public-video>
@@ -15,7 +14,6 @@
 
 <script>
 
-// import '@/utils/dragBoxes'
 import PublicTabs from '@components/BaseNav/WasteSolid/PublicTabs'
 import PublicTable from '@components/BaseNav/WasteSolid/PublicTable'
 import PublicVideo from '@components/BaseNav/PublicVideo'
@@ -23,16 +21,17 @@
 
 export default {
   name: 'WasteSolidIndex',
-  props: ['title'],
+  props: ['storagePlaceId'],
   components: {
-    // WasteSolid,
     PublicSector,
     PublicTabs,
     PublicTable,
     PublicVideo
   },
   mounted () {
-    console.log(this.title)
+    this.$nextTick(() => {
+      this.refsData()
+    })
   },
   data () {
     return {
@@ -43,12 +42,15 @@
         StorageQty: 0.016,
         SurplusFloorArea: 0.018,
         StorageDate: '2021-01-17'
-      }],
-      displayContentTable: '',
-      flag: false
+      }]
     }
   },
   methods: {
+    refsData () {
+      const data = this.storagePlaceId
+      this.$refs.refsTabsData.refsDataTabs(data)
+      this.$refs.refsTableData.refsDataTable(data)
+    },
     // 鍥哄簾鐩稿叧淇℃伅璁剧疆
     setData (title, dataBasic, dataDetailed, value) {
       this.flag = true

--
Gitblit v1.8.0