|
@@ -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()
|