1.31 财务分析,财务数据模块完善,产业链桑基图展示

This commit is contained in:
尚政杰
2026-01-31 17:19:16 +08:00
parent 1c13386dfc
commit 0a2dab4936
527 changed files with 3390 additions and 604 deletions

View File

@@ -29,6 +29,7 @@ const _sfc_main = {
this.startDateStr = currentYear + "-" + (currentMonth > 9 ? currentMonth : "0" + currentMonth) + "-01";
this.endDateStr = this.selectDateStr = currentYear + "-" + (currentMonth > 9 ? currentMonth : "0" + currentMonth) + "-" + (currentDay > 9 ? currentDay : "0" + currentDay);
this.generateMonthDateListData();
this.$emit("date-change", this.selectDateStr);
},
methods: {
/**
@@ -42,6 +43,7 @@ const _sfc_main = {
let selectMonth = selectDate.getMonth() + 1;
let selectDay = selectDate.getDate();
this.selectDateStr = selectYear + "-" + (selectMonth > 9 ? selectMonth : "0" + selectMonth) + "-" + (selectDay > 9 ? selectDay : "0" + selectDay);
this.$emit("date-change", this.selectDateStr);
},
/**
* 生成日期数组
@@ -159,7 +161,7 @@ const _sfc_main = {
this.selectMonth = year + "年" + month + "月";
this.startDateStr = year + "-" + (month > 9 ? month : "0" + month) + "-01";
this.endDateStr = year + "-" + (month > 9 ? month : "0" + month) + "-" + lastDay;
common_vendor.index.__f__("log", "at components/LCCalendar2/LCCalendar2.vue:224", "点击上个月");
common_vendor.index.__f__("log", "at components/LCCalendar2/LCCalendar2.vue:228", "点击上个月");
}
},
/**
@@ -188,7 +190,7 @@ const _sfc_main = {
this.selectMonth = year + "年" + month + "月";
this.startDateStr = year + "-" + (month > 9 ? month : "0" + month) + "-01";
this.endDateStr = year + "-" + (month > 9 ? month : "0" + month) + "-" + lastDay;
common_vendor.index.__f__("log", "at components/LCCalendar2/LCCalendar2.vue:253", "点击下个月");
common_vendor.index.__f__("log", "at components/LCCalendar2/LCCalendar2.vue:257", "点击下个月");
}
},
monthChange(e) {
@@ -202,7 +204,7 @@ const _sfc_main = {
this.startDateStr = selectYear + "-" + (selectMonth > 9 ? selectMonth : "0" + selectMonth) + "-01";
let lastDayOfMonth = new Date(selectYear, selectMonth, 0);
this.endDateStr = selectYear + "-" + (selectMonth > 9 ? selectMonth : "0" + selectMonth) + "-" + lastDayOfMonth.getDate();
common_vendor.index.__f__("log", "at components/LCCalendar2/LCCalendar2.vue:270", "月份变更");
common_vendor.index.__f__("log", "at components/LCCalendar2/LCCalendar2.vue:274", "月份变更");
},
/**
* 点击选择开始日期和结束日期
@@ -214,7 +216,8 @@ const _sfc_main = {
if (this.selectDateStr != item.date) {
this.selectDateStr = item.date;
this.chgStockData = item;
common_vendor.index.__f__("log", "at components/LCCalendar2/LCCalendar2.vue:281", "点击某天");
common_vendor.index.__f__("log", "at components/LCCalendar2/LCCalendar2.vue:285", "点击某天");
this.$emit("date-change", this.selectDateStr);
}
}
}