From 5b59893edbbb7468d00421822d0d4639e7568f79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=98937886381=E2=80=99?= <‘937886381@qq.com’> Date: Fri, 12 Apr 2024 16:52:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=A5=E8=A1=A8=E6=96=B0=E5=A2=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 1 + src/main.js | 11 +- src/views/report/report/reportChart.vue | 7 + src/views/report/yearData/index.vue | 358 ++++++++++++++++++++++++ src/views/report/yearData/lineChart.vue | 162 +++++++++++ 5 files changed, 537 insertions(+), 2 deletions(-) create mode 100644 src/views/report/report/reportChart.vue create mode 100644 src/views/report/yearData/index.vue create mode 100644 src/views/report/yearData/lineChart.vue diff --git a/package.json b/package.json index 45a2630..efe8720 100644 --- a/package.json +++ b/package.json @@ -45,6 +45,7 @@ "@riophae/vue-treeselect": "0.4.0", "axios": "^1.6.8", "clipboard": "2.0.8", + "code-brick-zj": "^1.1.0", "core-js": "^3.26.0", "crypto-js": "^4.0.0", "echarts": "5.4.0", diff --git a/src/main.js b/src/main.js index 764dace..9e61108 100644 --- a/src/main.js +++ b/src/main.js @@ -1,3 +1,10 @@ +/* + * @Author: zhp + * @Date: 2024-04-12 11:13:06 + * @LastEditTime: 2024-04-12 16:20:31 + * @LastEditors: zhp + * @Description: + */ import Vue from 'vue' import Element from 'element-ui' @@ -23,7 +30,7 @@ import RightToolbar from "@/components/RightToolbar" // import hljs from 'highlight.js' // import 'highlight.js/styles/github-gist.css' import { DICT_TYPE, getDictDataLabel, getDictDatas, getDictDatas2 } from "@/utils/dict"; - +import CodeBrickZj from 'code-brick-zj'; import './theme/index.css'; // 自定义主题包 - code-brick-zj // 全局方法挂载 @@ -50,7 +57,7 @@ import VueMeta from 'vue-meta' Vue.use(directive) Vue.use(plugins) Vue.use(VueMeta) - +Vue.use(CodeBrickZj); // Form Generator 组件需要使用到 tinymce import Tinymce from '@/components/tinymce/index.vue' Vue.component('tinymce', Tinymce) diff --git a/src/views/report/report/reportChart.vue b/src/views/report/report/reportChart.vue new file mode 100644 index 0000000..a14c786 --- /dev/null +++ b/src/views/report/report/reportChart.vue @@ -0,0 +1,7 @@ + diff --git a/src/views/report/yearData/index.vue b/src/views/report/yearData/index.vue new file mode 100644 index 0000000..d989194 --- /dev/null +++ b/src/views/report/yearData/index.vue @@ -0,0 +1,358 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 查询 + 导出 + + + + + + + + + + + + + + + + + diff --git a/src/views/report/yearData/lineChart.vue b/src/views/report/yearData/lineChart.vue new file mode 100644 index 0000000..c44a3dc --- /dev/null +++ b/src/views/report/yearData/lineChart.vue @@ -0,0 +1,162 @@ + + + + + + + + + + +