From c8025c2f6d5ba52649ebe043fa44ff8d8768f411 Mon Sep 17 00:00:00 2001 From: zhang_12370 <z2864490065@outlook.com> Date: 星期三, 25 六月 2025 11:37:31 +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