From 044c5b6fa190f51343b12bd952a644b33ab6cea8 Mon Sep 17 00:00:00 2001 From: qianlishi <1432731663@qq.com> Date: Mon, 28 Jun 2021 15:07:01 +0800 Subject: [PATCH 1/2] update --- report-ui/package.json | 1 + report-ui/src/main.js | 4 + .../bigscreen/designer/form/dynamicForm.vue | 507 ++++++++++-------- .../views/report/bigscreen/designer/index.vue | 44 +- .../bigscreen/designer/widget/widget.vue | 68 +-- .../designer/widget/widgetBarchart.vue | 2 - .../bigscreen/designer/widget/widgetText.vue | 1 - 7 files changed, 338 insertions(+), 289 deletions(-) diff --git a/report-ui/package.json b/report-ui/package.json index 179bcd1f..6f803ba1 100644 --- a/report-ui/package.json +++ b/report-ui/package.json @@ -13,6 +13,7 @@ }, "dependencies": { "@ckeditor/ckeditor5-build-decoupled-document": "^23.1.0", + "@smallwei/avue": "^2.8.14", "axios": "0.18.0", "chokidar": "^3.5.2", "codemirror": "^5.58.1", diff --git a/report-ui/src/main.js b/report-ui/src/main.js index 410b359f..2f43b247 100644 --- a/report-ui/src/main.js +++ b/report-ui/src/main.js @@ -27,6 +27,10 @@ import '@/permission' import '@/extend' +import Avue from '@smallwei/avue'; +import '@smallwei/avue/lib/index.css'; +Vue.use(Avue); + // enable element zh-cn Vue.use(ElementUI, { zhLocale }) diff --git a/report-ui/src/views/report/bigscreen/designer/form/dynamicForm.vue b/report-ui/src/views/report/bigscreen/designer/form/dynamicForm.vue index d83924e4..e03b5fea 100644 --- a/report-ui/src/views/report/bigscreen/designer/form/dynamicForm.vue +++ b/report-ui/src/views/report/bigscreen/designer/form/dynamicForm.vue @@ -7,182 +7,242 @@ !-->