浏览代码

首页组件名修改;import修改

xinyan 6 月之前
父节点
当前提交
bd4db64d06

+ 0 - 0
src/views/score-statistics/components/lineChart.vue → src/views/score-statistics/components/LineChart.vue


+ 3 - 3
src/views/score-statistics/components/monthlyRating.vue → src/views/score-statistics/components/MonthlyRating.vue

@@ -96,7 +96,7 @@ async function fetchData() {
 
 		const resp = await getTableData(params);
 		gridOptions.data = resp.data;
-		console.log("=>(monthlyRating.vue:121) gridOptions.data", gridOptions.data);
+		console.log("=>(MonthlyRating.vue:121) gridOptions.data", gridOptions.data);
 		gridOptions.pagerConfig.total = resp.total;
 	} catch (error) {
 		console.log(error);
@@ -151,10 +151,10 @@ function headerStyle() {
 
 watch(asinMonthDate, (newVal) => {
 		const date = dayjs(newVal).startOf('month').format('YYYY-MM-DD');
-		console.log("=>(monthlyRating.vue:180) date", date);
+		console.log("=>(MonthlyRating.vue:180) date", date);
 		if (date !== asinMonthDate.value) {
 			asinMonthDate.value = date;
-			console.log("=>(monthlyRating.vue:183) asinMonthDate.value", asinMonthDate.value);
+			console.log("=>(MonthlyRating.vue:183) asinMonthDate.value", asinMonthDate.value);
 			fetchData();
 		}
 	}

+ 0 - 0
src/views/score-statistics/components/overview.vue → src/views/score-statistics/components/Overview.vue


+ 3 - 3
src/views/score-statistics/index.vue

@@ -5,9 +5,9 @@
  * @Author: xinyan
  */
 
-import LineChart from '/src/views/score-statistics/components/lineChart.vue';
-import MonthlyRating from '/src/views/score-statistics/components/monthlyRating.vue';
-import OverView from '/src/views/score-statistics/components/overView.vue';
+import LineChart from './component/LineChart.vue';
+import MonthlyRating from './component/MonthlyRating.vue';
+import OverView from './component/components/Overview.vue';
 </script>
 
 <template>