luowei il y a 1 an
Parent
commit
7cdc9abe68

+ 3 - 0
src/views/core/reportForms/intrusionTestReport.vue

@@ -29,6 +29,9 @@
             <el-col span="1.5">
               <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
               <el-button type="primary" icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
+              <el-button type="primary" icon="el-icon-download" size="mini" @click="handleExport"
+                         v-hasPermi="['core:resumptionReport:export']">导出
+              </el-button>
             </el-col>
             <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
           </el-row>

+ 2 - 2
src/views/core/reportForms/monitorAccessReport.vue

@@ -220,7 +220,7 @@
         handleExport() {
       this.download('core/monitorAccessReport/export', {
         ...this.queryParams
-      }, `${'【'+this.orgName+'】'+'-监控调阅报表-'+this.formatTime(new Date(),'YYYYMMDD')}.xlsx`)
+      }, `${'【'+this.orgName+'】'+'-监控调阅统计报表-'+this.formatTime(new Date(),'YYYYMMDD')}.xlsx`)
     },
 
         getList() {
@@ -229,7 +229,7 @@
           listReport(this.queryParams).then(response => {
             this.checkList = response.data;
             this.title=response.title;
-            // this.total = response.data.total;
+             this.orgName = response.orgName;
             this.loading = false;
           });
         },

+ 1 - 1
src/views/core/reportForms/safetyInspectReport.vue

@@ -220,7 +220,7 @@ export default {
     handleExport() {
       this.download('core/safetyInspectReport/export', {
         ...this.queryParams
-      }, `${'【' + this.orgName + '】' + '-检查统计报表-' + this.formatTime(new Date(), 'YYYYMMDD')}.xlsx`)
+      }, `${'【' + this.orgName + '】' + '-行社全面检查统计报表-' + this.formatTime(new Date(), 'YYYYMMDD')}.xlsx`)
     },
 
 

+ 1 - 1
src/views/core/reportForms/selfInspectReport.vue

@@ -213,7 +213,7 @@ export default {
     handleExport() {
       this.download('core/safetyInspectReport/export', {
         ...this.queryParams
-      }, `${'【' + this.orgName + '】' + '-检查统计报表-' + this.formatTime(new Date(), 'YYYYMMDD')}.xlsx`)
+      }, `${'【' + this.orgName + '】' + '-网点负责人统计报表-' + this.formatTime(new Date(), 'YYYYMMDD')}.xlsx`)
     },
 
 

+ 5 - 0
src/views/core/reportForms/standbyPowerReport.vue

@@ -26,6 +26,11 @@
               <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
               <el-button type="primary" icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
             </el-col>
+            <el-col :span="1.5">
+              <el-button type="primary" icon="el-icon-download" size="mini" @click="handleExport"
+                         v-hasPermi="['core:resumptionReport:export']">导出
+              </el-button>
+            </el-col>
             <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
           </el-row>
         </div>