From 227411e38ee425bf7899b64c9aec835ca7430308 Mon Sep 17 00:00:00 2001 From: "DESKTOP-FUDKNA8\\znjsz" Date: Sun, 28 Apr 2024 14:54:54 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E4=BA=A7=E9=87=8F=E9=A9=BE=E9=A9=B6?= =?UTF-8?q?=E8=88=B1=E7=9A=84=E7=9B=AE=E5=BD=95=E7=BB=93=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.dev | 4 +- .../copilot/components/ChartContainer.vue | 69 ++++++++++++++++++ .../charts/base/fetcherDoubleRing.js | 10 --- src/views/copilot/components/name.vue | 0 .../charts/base => yield/assets}/icon.png | Bin .../components}/BipvOutput.vue | 2 +- .../components}/ChipInvest.vue | 4 +- .../components}/ChipOutput.vue | 2 +- .../charts => yield/components}/FtoInvest.vue | 4 +- .../charts => yield/components}/StdOutput.vue | 2 +- .../components/sub/bar}/BarChartBase.vue | 4 +- .../components/sub/city}/CityData.vue | 0 .../components/sub/city}/CityItem.vue | 5 +- .../components/sub/city}/CityName.vue | 2 +- .../components/sub/city}/CityValue.vue | 2 +- .../components/sub/gradient}/GradientText.vue | 0 .../components/sub/ring}/DoubleRingChart.vue | 2 +- .../sub/ring}/DoubleRingWrapper.vue | 4 +- src/views/copilot/yield/index.vue | 22 +++--- .../options}/double-ring-chart-options.js | 0 20 files changed, 99 insertions(+), 39 deletions(-) create mode 100644 src/views/copilot/components/ChartContainer.vue delete mode 100644 src/views/copilot/components/charts/base/fetcherDoubleRing.js delete mode 100644 src/views/copilot/components/name.vue rename src/views/copilot/{components/charts/base => yield/assets}/icon.png (100%) rename src/views/copilot/{components/charts => yield/components}/BipvOutput.vue (88%) rename src/views/copilot/{components/charts => yield/components}/ChipInvest.vue (97%) rename src/views/copilot/{components/charts => yield/components}/ChipOutput.vue (88%) rename src/views/copilot/{components/charts => yield/components}/FtoInvest.vue (97%) rename src/views/copilot/{components/charts => yield/components}/StdOutput.vue (88%) rename src/views/copilot/{components/charts/base => yield/components/sub/bar}/BarChartBase.vue (98%) rename src/views/copilot/{components/charts/base => yield/components/sub/city}/CityData.vue (100%) rename src/views/copilot/{components/charts/base => yield/components/sub/city}/CityItem.vue (88%) rename src/views/copilot/{components/charts/base => yield/components/sub/city}/CityName.vue (94%) rename src/views/copilot/{components/charts/base => yield/components/sub/city}/CityValue.vue (97%) rename src/views/copilot/{components/charts/base => yield/components/sub/gradient}/GradientText.vue (100%) rename src/views/copilot/{components/charts/base => yield/components/sub/ring}/DoubleRingChart.vue (98%) rename src/views/copilot/{components/charts/base => yield/components/sub/ring}/DoubleRingWrapper.vue (93%) rename src/views/copilot/{components/charts/base => yield/options}/double-ring-chart-options.js (100%) diff --git a/.env.dev b/.env.dev index f62007f..e8ccd63 100644 --- a/.env.dev +++ b/.env.dev @@ -5,8 +5,8 @@ ENV = 'development' VUE_APP_TITLE = 芋道管理系统 # 芋道管理系统/开发环境 -# VUE_APP_BASE_API = 'http://192.168.1.61:48080' -VUE_APP_BASE_API = 'http://glass.kszny.picaiba.com' +VUE_APP_BASE_API = 'http://192.168.1.61:48080' +# VUE_APP_BASE_API = 'http://glass.kszny.picaiba.com' # 路由懒加载 VUE_CLI_BABEL_TRANSPILE_MODULES = true diff --git a/src/views/copilot/components/ChartContainer.vue b/src/views/copilot/components/ChartContainer.vue new file mode 100644 index 0000000..2dec009 --- /dev/null +++ b/src/views/copilot/components/ChartContainer.vue @@ -0,0 +1,69 @@ + + + + + + + diff --git a/src/views/copilot/components/charts/base/fetcherDoubleRing.js b/src/views/copilot/components/charts/base/fetcherDoubleRing.js deleted file mode 100644 index 6f452a6..0000000 --- a/src/views/copilot/components/charts/base/fetcherDoubleRing.js +++ /dev/null @@ -1,10 +0,0 @@ -export default { - getData: async function (url) { - // - return await new Promise((resolve, reject) => { - setTimeout(() => { - resolve([90119, 40801, 44028]); - }, 1200); - }); - }, -}; diff --git a/src/views/copilot/components/name.vue b/src/views/copilot/components/name.vue deleted file mode 100644 index e69de29..0000000 diff --git a/src/views/copilot/components/charts/base/icon.png b/src/views/copilot/yield/assets/icon.png similarity index 100% rename from src/views/copilot/components/charts/base/icon.png rename to src/views/copilot/yield/assets/icon.png diff --git a/src/views/copilot/components/charts/BipvOutput.vue b/src/views/copilot/yield/components/BipvOutput.vue similarity index 88% rename from src/views/copilot/components/charts/BipvOutput.vue rename to src/views/copilot/yield/components/BipvOutput.vue index dba836b..1f77c21 100644 --- a/src/views/copilot/components/charts/BipvOutput.vue +++ b/src/views/copilot/yield/components/BipvOutput.vue @@ -10,7 +10,7 @@