From 7619d415522ab3dc3299d6a2a9f5c9964a692d3f Mon Sep 17 00:00:00 2001 From: 张诺 <zhang_12370@163.com> Date: 星期三, 18 六月 2025 17:58:53 +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