shish 2 лет назад
Родитель
Сommit
823968a386
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      ghs/src/views/assets/incomeClass.vue

+ 2 - 2
ghs/src/views/assets/incomeClass.vue

@@ -6,7 +6,7 @@
                 end-placeholder="结束日期" :picker-options="pickerOptions" size="mini"> </el-date-picker>
 			</template>
 			<template #slot-export-due>
-				<el-button type="primary" size="mini" style="margin-left:60px;" @click="exportDue()">导出数据</el-button>
+				<el-button type="primary" size="mini" style="margin-left:60px;" @click="exportData()">导出数据</el-button>
 			</template>
 		</x-crud>
 	</div>
@@ -55,7 +55,7 @@ export default {
 		...mapGetters(['shopInfo']),
 	},
 	methods: {
-		exportDue(){
+		exportData(){
 			this.$service.stat.getClassProfit({searchTime:this.searchTime,startTime:this.startTime,endTime:this.endTime,export:1}).then(res => {
 				if(res.file){
 					window.location.href = res.file