From b91cded52dd666e1b795ec0c6ca8056d9d55318b Mon Sep 17 00:00:00 2001 From: significative <163999932+significative@users.noreply.github.com> Date: Tue, 9 Jul 2024 14:55:40 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=A5=E4=BD=9C=E5=8F=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/chDepartment/index.vue | 496 ++++++++++++++---- .../components/chDepartment/options.js | 230 +++++++- .../workbench/components/chExpert/index.vue | 296 +++++++++++ .../workbench/components/chSchool/index.vue | 455 ++++++++++++++++ .../depart/workbench/components/index.ts | 4 +- .../src/views/depart/workbench/index.vue | 4 +- 6 files changed, 1378 insertions(+), 107 deletions(-) create mode 100644 jeecgboot-vue3-master/src/views/depart/workbench/components/chExpert/index.vue create mode 100644 jeecgboot-vue3-master/src/views/depart/workbench/components/chSchool/index.vue diff --git a/jeecgboot-vue3-master/src/views/depart/workbench/components/chDepartment/index.vue b/jeecgboot-vue3-master/src/views/depart/workbench/components/chDepartment/index.vue index b2435b1e..fd1eb8a4 100644 --- a/jeecgboot-vue3-master/src/views/depart/workbench/components/chDepartment/index.vue +++ b/jeecgboot-vue3-master/src/views/depart/workbench/components/chDepartment/index.vue @@ -1,108 +1,185 @@ @@ -110,17 +187,72 @@ import { Progress as AProgress } from 'ant-design-vue'; import { onMounted, ref } from 'vue'; import * as echarts from 'echarts'; -import { optionRing } from './options' +import { optionRing, optionBar } from './options' const ec = ref() +const ec_bar = ref() onMounted(() => { const myChart = echarts.init(ec.value); myChart.setOption(optionRing); + const bar = echarts.init(ec_bar.value); + bar.setOption(optionBar); + window.addEventListener('resize', function () { + myChart.resize() + bar.resize() + }) }) \ No newline at end of file diff --git a/jeecgboot-vue3-master/src/views/depart/workbench/components/chSchool/index.vue b/jeecgboot-vue3-master/src/views/depart/workbench/components/chSchool/index.vue new file mode 100644 index 00000000..885ab868 --- /dev/null +++ b/jeecgboot-vue3-master/src/views/depart/workbench/components/chSchool/index.vue @@ -0,0 +1,455 @@ + + + + + + \ No newline at end of file diff --git a/jeecgboot-vue3-master/src/views/depart/workbench/components/index.ts b/jeecgboot-vue3-master/src/views/depart/workbench/components/index.ts index d403267c..a53775c4 100644 --- a/jeecgboot-vue3-master/src/views/depart/workbench/components/index.ts +++ b/jeecgboot-vue3-master/src/views/depart/workbench/components/index.ts @@ -1 +1,3 @@ -export {default as ChDepartment } from './chDepartment/index.vue' \ No newline at end of file +export {default as ChDepartment } from './chDepartment/index.vue' +export {default as ChExpert } from './chExpert/index.vue' +export {default as ChSchool } from './chSchool/index.vue' \ No newline at end of file diff --git a/jeecgboot-vue3-master/src/views/depart/workbench/index.vue b/jeecgboot-vue3-master/src/views/depart/workbench/index.vue index 3324e395..a89ce813 100644 --- a/jeecgboot-vue3-master/src/views/depart/workbench/index.vue +++ b/jeecgboot-vue3-master/src/views/depart/workbench/index.vue @@ -4,9 +4,9 @@