From e0430e0b25d759f6505a4e4542562a69c93b1db5 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期三, 07 五月 2025 17:38:29 +0800
Subject: [PATCH] 客户档案页面开发

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

diff --git a/src/main.js b/src/main.js
index c01e80d..8112604 100644
--- a/src/main.js
+++ b/src/main.js
@@ -42,6 +42,10 @@
 import ImagePreview from "@/components/ImagePreview"
 // 瀛楀吀鏍囩缁勪欢
 import DictTag from '@/components/DictTag'
+// 琛ㄦ牸缁勪欢
+import PIMTable from "@/components/PIMTable/PIMTable.vue";
+
+import { getToken } from "@/utils/auth";
 
 const app = createApp(App)
 
@@ -54,6 +58,13 @@
 app.config.globalProperties.addDateRange = addDateRange
 app.config.globalProperties.selectDictLabel = selectDictLabel
 app.config.globalProperties.selectDictLabels = selectDictLabels
+app.config.globalProperties.javaApi = 'http://192.168.1.36:8080'
+app.config.globalProperties.HaveJson = (val) => {
+  return JSON.parse(JSON.stringify(val));
+};
+app.config.globalProperties.uploadHeader = {
+  Authorization: "Bearer " + getToken(),
+};
 
 // 鍏ㄥ眬缁勪欢鎸傝浇
 app.component('DictTag', DictTag)
@@ -63,6 +74,7 @@
 app.component('ImagePreview', ImagePreview)
 app.component('RightToolbar', RightToolbar)
 app.component('Editor', Editor)
+app.component('PIMTable', PIMTable)
 
 app.use(router)
 app.use(store)

--
Gitblit v1.9.3