From 3a77c6fbda3243c135f9a3b55ad205970fd9f6cb Mon Sep 17 00:00:00 2001
From: yubo <autumnal_wind@yeah.net>
Date: 星期日, 12 四月 2026 19:15:38 +0800
Subject: [PATCH] feat(user): 员工代码重构
---
src/main.js | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/src/main.js b/src/main.js
index 43e27de..5fc9b74 100644
--- a/src/main.js
+++ b/src/main.js
@@ -20,11 +20,14 @@
import Selectuser from './views/user/selectuser'
import Selectdept from './views/user/selectdept'
-
+import uploadfj from './views/yunpan/uploadfj'
+import { selectDictLabel } from './utils/ruoyi'
+import { getDicts } from './api/data'
const Plugins = [
hasPermission,
hasNoPermission,
- hasAnyPermission
+ hasAnyPermission,
+ getDicts
]
Plugins.map((plugin) => {
@@ -37,11 +40,13 @@
Vue.component('Selectuser', Selectuser)
Vue.component('Selectdept', Selectdept)
-
+Vue.component('uploadfj', uploadfj)
+Vue.prototype.getDicts = getDicts
Vue.prototype.$post = request.post
Vue.prototype.$get = request.get
Vue.prototype.$put = request.put
Vue.prototype.$delete = request.delete
+Vue.prototype.selectDictLabel = selectDictLabel
Vue.prototype.$download = request.download
Vue.prototype.$upload = request.upload
Vue.prototype.$login = request.login
--
Gitblit v1.8.0