zhangdan 4 years ago
parent
commit
20309d2836
2 changed files with 14 additions and 2 deletions
  1. 2 2
      src/config/router.config.js
  2. 12 0
      src/views/reportForm/unRecyclableRubbishDetails.vue

+ 2 - 2
src/config/router.config.js

@@ -418,7 +418,7 @@ export const asyncRouterMap = [{
       name: 'unRecyclableRubbishTotal',
       component: () => import(/* webpackChunkName: "reportForm" */ '@/views/reportForm/unRecyclableRubbishTotal.vue'),
       meta: {
-        title: '非可回收垃圾汇总表',
+        title: '垃圾录入汇总表',
         icon: 'bar-chart',
         permission: 'M_unRecyclableTotal_list'
       }
@@ -428,7 +428,7 @@ export const asyncRouterMap = [{
       name: 'unRecyclableRubbishDetails',
       component: () => import(/* webpackChunkName: "reportForm" */ '@/views/reportForm/unRecyclableRubbishDetails.vue'),
       meta: {
-        title: '非可回收垃圾明细表',
+        title: '垃圾录入明细表',
         icon: 'fund',
         permission: 'M_unRecyclableDetails_list'
       }

+ 12 - 0
src/views/reportForm/unRecyclableRubbishDetails.vue

@@ -50,6 +50,7 @@
           <a-col :xs="24" :sm="12" :md="6" :lg="5">
             <a-button type="primary" @click="$refs.table.refresh(true)" id="unRecyclableRubbishDetails-refresh" style="margin-top: 4px">查询</a-button>
             <a-button type="" @click="reset" id="unRecyclableRubbishDetails-reset" style="margin: 4px 0 0 10px">重置</a-button>
+            <a-button class="export-btn" id="unRecyclableRubbishDetails-export" :loading="loading" @click="handleExport">导出</a-button>
           </a-col>
         </a-row>
 
@@ -101,6 +102,7 @@ export default {
         endDate: null, // 结束时间
         queryWord: ''
       },
+      loading: false,
       optionData: [], // 网点列表数据
       // 将默认当天时间日期回显在时间选择框中
       time: [
@@ -244,6 +246,16 @@ export default {
   }
   .image:not(:first-child){
     display: none;
+  }
+  .export-btn{
+    background-color: #ff9900;
+    border-color: #ff9900;
+    color: #fff;
+    margin: 4px 0 0 10px
+  }
+  .export-btn.ant-btn:focus:not(.ant-btn-primary):not(.ant-btn-danger), .export-btn.ant-btn:hover:not(.ant-btn-primary):not(.ant-btn-danger){
+    color: #fff;
+    border-color: #ff9900;
   }
 	}
 </style>