From d9ed613e480b92c8bc39303d7b986f8b94dac7df Mon Sep 17 00:00:00 2001
From: "1378012178@qq.com" <1378012178@qq.com>
Date: Thu, 19 Jun 2025 15:01:19 +0800
Subject: [PATCH] =?UTF-8?q?1=E3=80=81=E6=9C=BA=E6=9E=84=E4=BF=A1=E6=81=AF?=
=?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=AD=97=E6=AE=B5=E3=80=81=E8=B0=83=E6=95=B4?=
=?UTF-8?q?=E6=9C=BA=E6=9E=84/=E9=83=A8=E9=97=A8=E5=88=87=E6=8D=A2?=
=?UTF-8?q?=E6=97=B6=E5=AD=97=E6=AE=B5=E7=9A=84=E6=98=BE=E9=9A=90=202?=
=?UTF-8?q?=E3=80=81=E5=AA=92=E4=BD=93=E8=B5=84=E6=BA=90=E7=AE=A1=E7=90=86?=
=?UTF-8?q?=E5=8A=9F=E8=83=BD=E8=B0=83=E6=95=B4=203=E3=80=81=E4=BF=AE?=
=?UTF-8?q?=E5=A4=8D=E5=AA=92=E4=BD=93=E8=B5=84=E6=BA=90=E5=90=8C=E6=AD=A5?=
=?UTF-8?q?BUG?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.env.development | 2 +
.env.production | 2 +
src/api/common/api.ts | 9 +
src/components/Sync/SyncComponent.vue | 147 +-
src/components/dataAsync/AsyncMainList.vue | 4 +
.../admin/mediamanage/MediaManage.api.ts | 27 +-
.../admin/mediamanage/MediaManage.data.ts | 5 +
.../admin/mediamanage/MediaManageList.vue | 59 +-
.../components/MediaManageForm.vue | 118 +-
.../components/MediaManageModal.vue | 134 +-
.../biz/orgapplyinfo/OrgApplyInfo.data.ts | 73 +-
.../biz/orgapplyinfo/OrgApplyInfoList.vue | 3 +-
.../components/OrgApplyInfoForm.vue | 11 +-
.../ConfigServiceDirective.data.ts | 77 +-
.../ConfigServiceDirectiveList.vue | 26 +-
.../components/ConfigServiceDirectiveForm.vue | 115 +-
.../ConfigServiceDirectiveModal.vue | 133 +-
src/views/synchronization/directive/index.vue | 1178 +++++------------
.../synchronization/directive/index2.vue | 327 -----
.../synchronization/directive/org.data.ts | 16 +-
.../depart/components/DepartFormModal.vue | 8 +
.../depart/components/DepartLeftTree.vue | 2 +-
src/views/system/depart/depart.data.ts | 105 +-
23 files changed, 854 insertions(+), 1727 deletions(-)
delete mode 100644 src/views/synchronization/directive/index2.vue
diff --git a/.env.development b/.env.development
index b0b9e2b..c1e7f55 100644
--- a/.env.development
+++ b/.env.development
@@ -20,6 +20,8 @@ VITE_GLOB_API_URL_PREFIX=
#微前端qiankun应用,命名必须以VITE_APP_SUB_开头,jeecg-app-1为子应用的项目名称,也是子应用的路由父路径
VITE_APP_SUB_jeecg-app-1 = '//localhost:8092'
+# 试验田机构编码
+VITE_SYTJGBM = '101'
# 填写后将作为乾坤子应用启动,主应用注册时AppName需保持一致(放开 VITE_GLOB_QIANKUN_MICRO_APP_NAME 参数表示jeecg-vue3将以乾坤子应用模式启动)
#VITE_GLOB_QIANKUN_MICRO_APP_NAME=jeecg-vue3
diff --git a/.env.production b/.env.production
index 5742a92..dfb09f0 100644
--- a/.env.production
+++ b/.env.production
@@ -21,6 +21,8 @@ VITE_GLOB_DOMAIN_URL=https://www.focusnu.com/nursing-unit
# 接口父路径前缀
VITE_GLOB_API_URL_PREFIX=
+# 试验田机构编码
+VITE_SYTJGBM = '101'
# 填写后将作为乾坤子应用启动,主应用注册时AppName需保持一致(放开 VITE_GLOB_QIANKUN_MICRO_APP_NAME 参数表示jeecg-vue3将以乾坤子应用模式启动)
#VITE_GLOB_QIANKUN_MICRO_APP_NAME=jeecg-vue3
diff --git a/src/api/common/api.ts b/src/api/common/api.ts
index d7edb44..008a9e3 100644
--- a/src/api/common/api.ts
+++ b/src/api/common/api.ts
@@ -16,6 +16,7 @@ enum Api {
getTableList = '/sys/user/queryUserComponentData',
getCategoryData = '/sys/category/loadAllData',
getNuList = '/iot/cameraInfo/nuList', //后期调整
+ getOrgInfo = '/api/common/getOrgInfo',//根据机构编码获取机构信息
}
/**
@@ -164,3 +165,11 @@ export const getFileblob = (url, parameter) => {
export const uploadMyFile = (url, data) => {
return defHttp.uploadMyFile(url, data);
};
+
+/**
+ * 根据机构编码获取机构信息
+ * @param params orgCode
+ */
+export const getOrgInfo = (params) => {
+ return defHttp.get({ url: Api.getOrgInfo, params });
+};
\ No newline at end of file
diff --git a/src/components/Sync/SyncComponent.vue b/src/components/Sync/SyncComponent.vue
index dd0aa7e..67eed46 100644
--- a/src/components/Sync/SyncComponent.vue
+++ b/src/components/Sync/SyncComponent.vue
@@ -125,15 +125,15 @@