|
@@ -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}`;
|
|
|
},
|
|
|
|
|
|
/* 获取几周前 周一周日日期 或前几月月份*/
|