From 664449f090bda2ce22a5e29b35ce32cc9ccf4dac Mon Sep 17 00:00:00 2001 From: xiao-fajia <1665375861@qq.com> Date: Fri, 30 Aug 2024 16:21:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E8=A1=A5=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 ++ src/main.js | 4 ++++ src/views/company/promotion/index.vue | 12 ++++++---- src/views/company/staff/index.vue | 16 +++++++++----- .../archives/components/ArchivesTable.vue | 10 ++++----- .../views/archives/form/ArchivesForm.vue | 22 +++++++++---------- src/views/rescue/index.vue | 14 ++++++------ 7 files changed, 47 insertions(+), 33 deletions(-) diff --git a/package.json b/package.json index 57ccf95..629c503 100644 --- a/package.json +++ b/package.json @@ -41,6 +41,7 @@ "url": "https://github.com/YunaiV/ruoyi-vue-pro" }, "dependencies": { + "@amap/amap-jsapi-loader": "^1.0.1", "@babel/parser": "^7.18.4", "@riophae/vue-treeselect": "0.4.0", "axios": "0.27.2", @@ -70,6 +71,7 @@ "vue-count-to": "1.0.13", "vue-cropper": "0.5.8", "vue-meta": "^2.4.0", + "vue-qriously": "^1.1.1", "vue-quill-editor": "^3.0.6", "vue-router": "3.4.9", "vue-video-player": "^5.0.2", diff --git a/src/main.js b/src/main.js index 6e38255..18d9258 100644 --- a/src/main.js +++ b/src/main.js @@ -30,6 +30,8 @@ import ImagePreview from "@/components/ImagePreview/index.vue"; // import hljs from 'highlight.js' // import 'highlight.js/styles/github-gist.css' import {DICT_TYPE, getDictDataLabel, getDictDatas, getDictDatas2} from "@/utils/dict"; +// 二维码 +import VueQriously from 'vue-qriously' // 全局方法挂载 Vue.prototype.getDicts = getDicts @@ -61,6 +63,8 @@ import VueMeta from 'vue-meta' Vue.use(directive) Vue.use(plugins) Vue.use(VueMeta) +// 二维码 +Vue.use(VueQriously) // Vue.use(hljs.vuePlugin); // bpmnProcessDesigner 需要引入 diff --git a/src/views/company/promotion/index.vue b/src/views/company/promotion/index.vue index 9f6ff22..9fec3e5 100644 --- a/src/views/company/promotion/index.vue +++ b/src/views/company/promotion/index.vue @@ -15,9 +15,9 @@ /> - - - + + + - + + + + + + @@ -125,7 +130,6 @@ -