diff --git a/src/store/modules/home.js b/src/store/modules/home.js index ca92d85..5046842 100644 --- a/src/store/modules/home.js +++ b/src/store/modules/home.js @@ -90,7 +90,7 @@ export default { }; function splitCurrentAndPrevious(factoryListResponse, targetListResponse) { - // 初始数据 + // 初始数据 const { chipInvest, ftoInvest, chipOutput, stdOutput, bipvOutput } = init(); if (factoryListResponse) { for (const factory of factoryListResponse) { @@ -150,7 +150,7 @@ function getFactoryTargetValue(targetList, factoryId) { } /** - * + * * @returns 初始化状态值 */ function init() { @@ -254,10 +254,10 @@ async function doFetch(copilot_module = "yield", fetch_target, params) { } /** - * + * * @param {*} period 日周月年1,2,3,4 * @param {*} target 是否获取目标数据 - * @returns + * @returns */ function getCopilotYield(period, target = false) { return getCopilotData("yield", period, target); diff --git a/src/views/copilot/efficiency/assets/icon.png b/src/views/copilot/efficiency/assets/icon.png new file mode 100644 index 0000000..03c1a4c Binary files /dev/null and b/src/views/copilot/efficiency/assets/icon.png differ diff --git a/src/views/copilot/efficiency/components/BipvOutput.vue b/src/views/copilot/efficiency/components/BipvOutput.vue new file mode 100644 index 0000000..1f77c21 --- /dev/null +++ b/src/views/copilot/efficiency/components/BipvOutput.vue @@ -0,0 +1,38 @@ + + + + + + + diff --git a/src/views/copilot/efficiency/components/ChipInvest.vue b/src/views/copilot/efficiency/components/ChipInvest.vue new file mode 100644 index 0000000..9fea832 --- /dev/null +++ b/src/views/copilot/efficiency/components/ChipInvest.vue @@ -0,0 +1,106 @@ + + + + + diff --git a/src/views/copilot/efficiency/components/ChipOutput.vue b/src/views/copilot/efficiency/components/ChipOutput.vue new file mode 100644 index 0000000..9286c61 --- /dev/null +++ b/src/views/copilot/efficiency/components/ChipOutput.vue @@ -0,0 +1,38 @@ + + + + + + + diff --git a/src/views/copilot/efficiency/components/FtoInvest.vue b/src/views/copilot/efficiency/components/FtoInvest.vue new file mode 100644 index 0000000..b41bd1b --- /dev/null +++ b/src/views/copilot/efficiency/components/FtoInvest.vue @@ -0,0 +1,108 @@ + + + + + diff --git a/src/views/copilot/efficiency/components/StdOutput.vue b/src/views/copilot/efficiency/components/StdOutput.vue new file mode 100644 index 0000000..ca0a8f2 --- /dev/null +++ b/src/views/copilot/efficiency/components/StdOutput.vue @@ -0,0 +1,38 @@ + + + + + + + diff --git a/src/views/copilot/efficiency/components/sub/bar/BarChartBase.vue b/src/views/copilot/efficiency/components/sub/bar/BarChartBase.vue new file mode 100644 index 0000000..5369183 --- /dev/null +++ b/src/views/copilot/efficiency/components/sub/bar/BarChartBase.vue @@ -0,0 +1,257 @@ + + + + + + + diff --git a/src/views/copilot/efficiency/components/sub/city/CityData.vue b/src/views/copilot/efficiency/components/sub/city/CityData.vue new file mode 100644 index 0000000..dca4e9c --- /dev/null +++ b/src/views/copilot/efficiency/components/sub/city/CityData.vue @@ -0,0 +1,149 @@ + + + + + + + diff --git a/src/views/copilot/efficiency/components/sub/city/CityItem.vue b/src/views/copilot/efficiency/components/sub/city/CityItem.vue new file mode 100644 index 0000000..9145f26 --- /dev/null +++ b/src/views/copilot/efficiency/components/sub/city/CityItem.vue @@ -0,0 +1,59 @@ + + + + + + + diff --git a/src/views/copilot/efficiency/components/sub/city/CityName.vue b/src/views/copilot/efficiency/components/sub/city/CityName.vue new file mode 100644 index 0000000..bf3ffd1 --- /dev/null +++ b/src/views/copilot/efficiency/components/sub/city/CityName.vue @@ -0,0 +1,55 @@ + + + + + + + diff --git a/src/views/copilot/efficiency/components/sub/city/CityValue.vue b/src/views/copilot/efficiency/components/sub/city/CityValue.vue new file mode 100644 index 0000000..2521efc --- /dev/null +++ b/src/views/copilot/efficiency/components/sub/city/CityValue.vue @@ -0,0 +1,127 @@ + + + + + + + diff --git a/src/views/copilot/efficiency/components/sub/gradient/GradientText.vue b/src/views/copilot/efficiency/components/sub/gradient/GradientText.vue new file mode 100644 index 0000000..bb45881 --- /dev/null +++ b/src/views/copilot/efficiency/components/sub/gradient/GradientText.vue @@ -0,0 +1,64 @@ + + + + + + + diff --git a/src/views/copilot/efficiency/components/sub/ring/DoubleRingChart.vue b/src/views/copilot/efficiency/components/sub/ring/DoubleRingChart.vue new file mode 100644 index 0000000..760946b --- /dev/null +++ b/src/views/copilot/efficiency/components/sub/ring/DoubleRingChart.vue @@ -0,0 +1,221 @@ + + + + + + + diff --git a/src/views/copilot/efficiency/components/sub/ring/DoubleRingWrapper.vue b/src/views/copilot/efficiency/components/sub/ring/DoubleRingWrapper.vue new file mode 100644 index 0000000..d7348c1 --- /dev/null +++ b/src/views/copilot/efficiency/components/sub/ring/DoubleRingWrapper.vue @@ -0,0 +1,86 @@ + + + + + + + diff --git a/src/views/copilot/efficiency/index.vue b/src/views/copilot/efficiency/index.vue index 7ea9aab..1afd590 100644 --- a/src/views/copilot/efficiency/index.vue +++ b/src/views/copilot/efficiency/index.vue @@ -1,13 +1,16 @@ -