From c33f387c828ba896e81f8972db4e8c5108eff73f Mon Sep 17 00:00:00 2001 From: Cindy Chang Date: Tue, 2 Jul 2024 11:09:31 +0800 Subject: [PATCH] refine confirm disable status of account page --- src/router/index.js | 2 +- .../AccountManagement/ModalAccountEditCreate.vue | 12 +++++++++++- .../Compare/Dashboard/{index.vue => Compare.vue} | 8 +++----- 3 files changed, 15 insertions(+), 7 deletions(-) rename src/views/Compare/Dashboard/{index.vue => Compare.vue} (99%) diff --git a/src/router/index.js b/src/router/index.js index 1e3b92d..6d3f305 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -7,7 +7,7 @@ import Upload from '@/views/Upload/index.vue'; import Map from '@/views/Discover/Map/Map.vue'; import Conformance from '@/views/Discover/Conformance/index.vue'; import Performance from '@/views/Discover/Performance/index.vue'; -import CompareDashboard from '@/views/Compare/Dashboard/index.vue'; +import CompareDashboard from '@/views/Compare/Dashboard/Compare.vue'; import AccountAdmin from '@/views/AccountManagement/AccountAdmin/AccountAdmin.vue'; import MemberArea from '@/views/MemberArea/index.vue'; import NotFound404 from '@/views/NotFound404.vue'; diff --git a/src/views/AccountManagement/ModalAccountEditCreate.vue b/src/views/AccountManagement/ModalAccountEditCreate.vue index d582e2a..1bea61c 100644 --- a/src/views/AccountManagement/ModalAccountEditCreate.vue +++ b/src/views/AccountManagement/ModalAccountEditCreate.vue @@ -42,7 +42,7 @@
this.$moment(time).format('YYYY/MM/DD'); let datasetsPrimary = chartData.data[0].data; let xDataPrimary; @@ -1290,6 +1287,7 @@ export default { }; this.casesByTaskHeight = await this.getHorizontalBarHeight(this.compareDashboardData.freq.cases_by_task); // create chart + console.log('TODO:', this.compareDashboardData.time.avg_cycle_time.data[0].data); [this.avgCycleTimeData, this.avgCycleTimeOptions] = this.getLineChart( this.compareDashboardData.time.avg_cycle_time, this.contentData.avgCycleTime, 'date'); [this.avgCycleEfficiencyData, this.avgCycleEfficiencyOptions] = this.getBarChart(