From d2f590cfed0e874daa758d5e5548d17de8b3c772 Mon Sep 17 00:00:00 2001
From: 张诺 <zhang_12370@163.com>
Date: 星期四, 19 六月 2025 17:58:50 +0800
Subject: [PATCH] 添加巡检任务上传功能及优化文件组件

---
 src/main.js |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/src/main.js b/src/main.js
index 2110fac..5fb87f2 100644
--- a/src/main.js
+++ b/src/main.js
@@ -43,6 +43,9 @@
 import ImagePreview from "@/components/ImagePreview"
 // 瀛楀吀鏍囩缁勪欢
 import DictTag from '@/components/DictTag'
+import {summarizeTable} from "@/utils/summarizeTable.js";
+import {getCurrentDate} from "@/utils/getCurrentDate.js";
+import VueQrcode from '@chenfengyuan/vue-qrcode';
 
 const app = createApp(App)
 
@@ -55,6 +58,8 @@
 app.config.globalProperties.addDateRange = addDateRange
 app.config.globalProperties.selectDictLabel = selectDictLabel
 app.config.globalProperties.selectDictLabels = selectDictLabels
+app.config.globalProperties.summarizeTable = summarizeTable
+app.config.globalProperties.getCurrentDate = getCurrentDate
 
 // 鍏ㄥ眬缁勪欢鎸傝浇
 app.component('DictTag', DictTag)
@@ -64,6 +69,7 @@
 app.component('ImagePreview', ImagePreview)
 app.component('RightToolbar', RightToolbar)
 app.component('Editor', Editor)
+app.component('vue-qrcode', VueQrcode)
 
 app.use(router)
 app.use(store)

--
Gitblit v1.9.3