From 716ded9c48898ff8fb9e4a1872ccfe676c7f2f99 Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期六, 15 四月 2023 16:32:28 +0800
Subject: [PATCH] 代码整合

---
 Source/UBCS-WEB/public/src/views/system/user.vue |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/Source/UBCS-WEB/public/src/views/system/user.vue b/Source/UBCS-WEB/public/src/views/system/user.vue
index b69c093..e8ce4b2 100644
--- a/Source/UBCS-WEB/public/src/views/system/user.vue
+++ b/Source/UBCS-WEB/public/src/views/system/user.vue
@@ -355,7 +355,7 @@
           {
             label: "鐢ㄦ埛骞冲彴",
             type: "select",
-            dicUrl: "/api/blade-system/dict/dictionary?code=user_type",
+            dicUrl: "/api/ubcs-system/dict/dictionary?code=user_type",
             props: {
               label: "dictValue",
               value: "dictKey"
@@ -382,7 +382,7 @@
                 label: "鎵�灞炵鎴�",
                 prop: "tenantId",
                 type: "tree",
-                dicUrl: "/api/blade-system/tenant/select",
+                dicUrl: "/api/ubcs-system/tenant/select",
                 props: {
                   label: "tenantName",
                   value: "tenantId"
@@ -410,7 +410,7 @@
               {
                 label: "鐢ㄦ埛骞冲彴",
                 type: "select",
-                dicUrl: "/api/blade-system/dict/dictionary?code=user_type",
+                dicUrl: "/api/ubcs-system/dict/dictionary?code=user_type",
                 props: {
                   label: "dictValue",
                   value: "dictKey"
@@ -625,7 +625,7 @@
           {
             label: "鐢ㄦ埛骞冲彴",
             type: "select",
-            dicUrl: "/api/blade-system/dict/dictionary?code=user_type",
+            dicUrl: "/api/ubcs-system/dict/dictionary?code=user_type",
             props: {
               label: "dictValue",
               value: "dictKey"
@@ -669,7 +669,7 @@
               res: 'data'
             },
             tip: '璇蜂笂浼� .xls,.xlsx 鏍囧噯鏍煎紡鏂囦欢',
-            action: "/api/blade-user/import-user"
+            action: "/api/ubcs-user/import-user"
           },
           {
             label: "鏁版嵁瑕嗙洊",
@@ -721,7 +721,7 @@
     'excelForm.isCovered'() {
       if (this.excelForm.isCovered !== '') {
         const column = this.findObject(this.excelOption.column, "excelFile");
-        column.action = `/api/blade-user/import-user?isCovered=${this.excelForm.isCovered}`;
+        column.action = `/api/ubcs-user/import-user?isCovered=${this.excelForm.isCovered}`;
       }
     }
   },
@@ -1020,14 +1020,14 @@
         type: "warning"
       }).then(() => {
         NProgress.start();
-        exportBlob(`/api/blade-user/export-user?${this.website.tokenHeader}=${getToken()}&account=${account}&realName=${realName}`).then(res => {
+        exportBlob(`/api/ubcs-user/export-user?${this.website.tokenHeader}=${getToken()}&account=${account}&realName=${realName}`).then(res => {
           downloadXls(res.data, `鐢ㄦ埛鏁版嵁琛�${dateNow()}.xlsx`);
           NProgress.done();
         })
       });
     },
     handleTemplate() {
-      exportBlob(`/api/blade-user/export-template?${this.website.tokenHeader}=${getToken()}`).then(res => {
+      exportBlob(`/api/ubcs-user/export-template?${this.website.tokenHeader}=${getToken()}`).then(res => {
         downloadXls(res.data, "鐢ㄦ埛鏁版嵁妯℃澘.xlsx");
       })
     },

--
Gitblit v1.9.3