Browse Source

开票管理导出调整

qymljy 1 year ago
parent
commit
76cdf76e23

+ 1 - 0
src/HDrpManagement/invoiceapp/index.vue

@@ -10,6 +10,7 @@
       idName="sa_invoiceapplyid"
       :apiId="{query:20221216143103,del:20221216143203}"
       :options="options"
+      excelTitle="开票管理"
       :detailPath="{
         path:'/invoiceDetail'
       }"

+ 2 - 2
src/components/normal-basic-layout/index.vue

@@ -98,7 +98,7 @@
 import {mapGetters} from 'vuex'
 export default {
   componentName:'normalTable',
-  props:['tableName','idName','tableData','apiId','formPath','oldFormPath','options','autoQuery','detailPath','customTitle','hidePagination','hideSearch','statusHideDetailBtn','specialKey','drawerWidth','isExport','isNewExport','columns','fileName'],
+  props:['tableName','idName','tableData','apiId','formPath','oldFormPath','options','autoQuery','detailPath','customTitle','hidePagination','hideSearch','statusHideDetailBtn','specialKey','drawerWidth','isExport','isNewExport','columns','fileName','excelTitle'],
   components:{
     tableTemp: () => import('./modules/table.vue'),
     setColumn: () => import('./modules/setColumn.vue'),
@@ -317,7 +317,7 @@ export default {
   created () {
     this.$emit('listCreate',this.param)
     try {
-      this.routerName = this.$route.meta.title
+      this.routerName = this.excelTitle?this.excelTitle:this.$route.meta.title
       this.layout = this.tool.tabelCol(this.$route.name)[this.tableName].tablecols
       this.tableLayout = this.layout
       this.getSystemAppid()