Browse Source

提交达沃特、统计

caojunjie 2 years ago
parent
commit
8cb27cc9b6

+ 3 - 2
src/views/statisticAnalysis/accountBalanceC/index.vue

@@ -1,6 +1,6 @@
 <template>
   <div>
-    <basic-container v-if="show">
+    <basic-container v-show="show">
       <avue-crud
           :option="option"
           :search.sync="search"
@@ -38,7 +38,7 @@
         ref="detail"
         @goBack="goBack"
         :detailData="detailData"
-        v-else
+        v-if="!show"
     ></detail-page>
   </div>
 </template>
@@ -228,6 +228,7 @@ export default {
         this.dataList = res.data.data.records
         this.page.total = res.data.data.total
         this.loading = false
+        this.$refs.crud.doLayout()
       }).finally(() => {
         this.loading = false
       })

+ 3 - 2
src/views/statisticAnalysis/accountBalanceD/index.vue

@@ -1,6 +1,6 @@
 <template>
   <div>
-    <basic-container v-if="show">
+    <basic-container v-show="show">
       <avue-crud
           :option="option"
           :search.sync="search"
@@ -40,7 +40,7 @@
         ref="detail"
         @goBack="goBack"
         :detailData="detailData"
-        v-else
+        v-if="!show"
     ></detail-page>
   </div>
 </template>
@@ -229,6 +229,7 @@ export default {
         this.dataList = res.data.data.records
         this.page.total = res.data.data.total
         this.loading = false
+        this.$refs.crud.doLayout()
       }).finally(() => {
         this.loading = false
       })