浏览代码

修复文案

yujinwen 4 周之前
父节点
当前提交
25a7a2ee3e
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/views/roadshow_manage/statistics/mixin.js

+ 2 - 2
src/views/roadshow_manage/statistics/mixin.js

@@ -86,7 +86,7 @@ export default {
 						this.tableTheadColumns= [
 							`本季度(${this.getWeekOrMonthDate(0,'quarter')})`,
 							`上一季度(${this.getWeekOrMonthDate(1,'quarter')})`,
-							`上两季度(${this.getWeekOrMonthDate(2,'quarter')})`,
+							`上两季度(${this.getWeekOrMonthDate(2,'quarter')})`,
 						];
 						break;
 				default:
@@ -183,7 +183,7 @@ export default {
 			const startMonth = (quarter - 1) * 3; // 季度起始月份(0-based)
 			const startStr = String(startMonth + 1).padStart(2, '0'); // 转换为两位月份
 			const endStr = String(startMonth + 3).padStart(2, '0'); // 结束月份(startMonth + 3,如0+3=3 → 4月,但需要显示为03)
-			return `${year}.${startStr}-${endStr}`;
+			return `${year}.${startStr}~${year}.${endStr}`;
 		},
 
 		/* 	获取几周前 周一周日日期 或前几月月份*/