chen před 3 roky
rodič
revize
f9b37e8457
1 změnil soubory, kde provedl 8 přidání a 1 odebrání
  1. 8 1
      src/views/finance/balance_sum.vue

+ 8 - 1
src/views/finance/balance_sum.vue

@@ -40,7 +40,7 @@
     <!-- 按钮 -->
     <div class="btn-group clearfix">
       <div class="fr">
-        <el-button type="primary" size="mini">导出</el-button>
+        <ExportButton :exUrl="'/finance/totalCustomer/export'" :exParams="exParams" />
       </div>
     </div>
     <!-- 列表 -->
@@ -121,6 +121,13 @@ export default {
       listLoading: false, // 列表加载loading
     };
   },
+  computed: {
+    exParams() {
+      return {
+        ...this.searchForm,
+      };
+    },
+  },
   created() {
     this.getAreaList();
     this.getDataList();