From 467cb0dc7091e53f79e5239ebf21fd32e5ca27e2 Mon Sep 17 00:00:00 2001 From: "1378012178@qq.com" <1378012178@qq.com> Date: Tue, 15 Jul 2025 08:39:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=8D=E5=8A=A1=E6=8C=87=E4=BB=A4=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env | 2 +- .env.development | 6 +- .env.development002 | 8 +- .env.development003 | 8 +- src/api/common/api.ts | 11 +- src/layouts/default/header/index.vue | 422 +++++++++--------- .../directiveTag/bodytag/BodyTagList.vue | 9 +- .../emotiontag/EmotionTagList.vue | 9 +- .../instructiontag/InstructionTag.api.ts | 72 +++ .../instructiontag/InstructionTag.data.ts | 31 ++ .../instructiontag/InstructionTag.vue | 266 +++++++++++ .../components/InstructionTagForm.vue | 165 +++++++ .../components/InstructionTagModal.vue | 77 ++++ .../ConfigServiceCategory.data.ts | 5 + .../ConfigServiceCategoryList.vue | 18 +- .../components/ConfigServiceCategoryForm.vue | 15 +- .../ConfigServiceDirective.api.ts | 26 +- .../ConfigServiceDirective.data.ts | 29 +- .../ConfigServiceDirectiveList.vue | 248 ++++++++-- .../components/ConfigServiceDirectiveForm.vue | 212 +++++---- .../ConfigServiceDirectiveModal.vue | 149 ++++--- .../serviceType/ConfigServiceType.data.ts | 5 + .../serviceType/ConfigServiceTypeList.vue | 49 +- .../components/ConfigServiceTypeForm.vue | 50 ++- 24 files changed, 1397 insertions(+), 495 deletions(-) create mode 100644 src/views/services/instructiontag/InstructionTag.api.ts create mode 100644 src/views/services/instructiontag/InstructionTag.data.ts create mode 100644 src/views/services/instructiontag/InstructionTag.vue create mode 100644 src/views/services/instructiontag/components/InstructionTagForm.vue create mode 100644 src/views/services/instructiontag/components/InstructionTagModal.vue diff --git a/.env b/.env index ade21e4..a7e1248 100644 --- a/.env +++ b/.env @@ -1,5 +1,5 @@ # port -VITE_PORT = 3101 +VITE_PORT = 3103 # 网站标题 VITE_GLOB_APP_TITLE = 护理单元业务平台 diff --git a/.env.development b/.env.development index c3aa1bc..6941016 100644 --- a/.env.development +++ b/.env.development @@ -6,13 +6,13 @@ VITE_PUBLIC_PATH = / # 跨域代理,您可以配置多个 ,请注意,没有换行符 -VITE_PROXY = [["/nursing-unit-001","http://localhost:8081/nursing-unit_001"],["/upload","http://localhost:3300/upload"]] +VITE_PROXY = [["/nursing-unit_101","http://localhost:8091/nursing-unit_101"],["/upload","http://localhost:3300/upload"]] #后台接口全路径地址(必填) -VITE_GLOB_DOMAIN_URL=http://localhost:8081/nursing-unit_001 +VITE_GLOB_DOMAIN_URL=http://localhost:8091/nursing-unit_101 #后台接口父地址(必填) -VITE_GLOB_API_URL=/nursing-unit-001 +VITE_GLOB_API_URL=/nursing-unit_101 # 接口前缀 VITE_GLOB_API_URL_PREFIX= diff --git a/.env.development002 b/.env.development002 index 0af995a..7e5d468 100644 --- a/.env.development002 +++ b/.env.development002 @@ -1,18 +1,18 @@ # 是否打开mock -VITE_USE_MOCK = true +VITE_USE_MOCK = false # 发布路径 VITE_PUBLIC_PATH = / # 跨域代理,您可以配置多个 ,请注意,没有换行符 -VITE_PROXY = [["/nursing-unit-002","http://localhost:8082/nursing-unit_002"],["/upload","http://localhost:3300/upload"]] +VITE_PROXY = [["/nursing-unit_102","http://localhost:8092/nursing-unit_102"],["/upload","http://localhost:3300/upload"]] #后台接口全路径地址(必填) -VITE_GLOB_DOMAIN_URL=http://localhost:8082/nursing-unit_002 +VITE_GLOB_DOMAIN_URL=http://localhost:8092/nursing-unit_102 #后台接口父地址(必填) -VITE_GLOB_API_URL=/nursing-unit-002 +VITE_GLOB_API_URL=/nursing-unit_102 # 接口前缀 VITE_GLOB_API_URL_PREFIX= diff --git a/.env.development003 b/.env.development003 index 4734fa1..f7bf6b7 100644 --- a/.env.development003 +++ b/.env.development003 @@ -1,18 +1,18 @@ # 是否打开mock -VITE_USE_MOCK = true +VITE_USE_MOCK = false # 发布路径 VITE_PUBLIC_PATH = / # 跨域代理,您可以配置多个 ,请注意,没有换行符 -VITE_PROXY = [["/nursing-unit-003","http://localhost:8083/nursing-unit_003"],["/upload","http://localhost:3300/upload"]] +VITE_PROXY = [["/nursing-unit_103","http://localhost:8093/nursing-unit_103"],["/upload","http://localhost:3300/upload"]] #后台接口全路径地址(必填) -VITE_GLOB_DOMAIN_URL=http://localhost:8083/nursing-unit_003 +VITE_GLOB_DOMAIN_URL=http://localhost:8093/nursing-unit_103 #后台接口父地址(必填) -VITE_GLOB_API_URL=/nursing-unit-003 +VITE_GLOB_API_URL=/nursing-unit_103 # 接口前缀 VITE_GLOB_API_URL_PREFIX= diff --git a/src/api/common/api.ts b/src/api/common/api.ts index 1d687d1..558b4ae 100644 --- a/src/api/common/api.ts +++ b/src/api/common/api.ts @@ -15,7 +15,8 @@ enum Api { getDictItems = '/sys/dict/getDictItems/', getTableList = '/sys/user/queryUserComponentData', getCategoryData = '/sys/category/loadAllData', - getNuList = '/iot/tplink/cameraInfo/nuList',//后期调整 + getNuList = '/iot/tplink/cameraInfo/nuList', + getOrgName = '/sys/api/getOrgName', } /** @@ -158,3 +159,11 @@ export const getFileblob = (url, parameter) => { export const uploadMyFile = (url, data) => { return defHttp.uploadMyFile(url, data); }; + +/** + * 获取机构名称 + * @param params + */ +export const getOrgName = () => { + return defHttp.get({ url: Api.getOrgName }); +}; diff --git a/src/layouts/default/header/index.vue b/src/layouts/default/header/index.vue index 2beb017..bc38bf2 100644 --- a/src/layouts/default/header/index.vue +++ b/src/layouts/default/header/index.vue @@ -1,17 +1,17 @@ diff --git a/src/views/services/instructiontag/components/InstructionTagForm.vue b/src/views/services/instructiontag/components/InstructionTagForm.vue new file mode 100644 index 0000000..814dbaa --- /dev/null +++ b/src/views/services/instructiontag/components/InstructionTagForm.vue @@ -0,0 +1,165 @@ + + + + + diff --git a/src/views/services/instructiontag/components/InstructionTagModal.vue b/src/views/services/instructiontag/components/InstructionTagModal.vue new file mode 100644 index 0000000..407f1af --- /dev/null +++ b/src/views/services/instructiontag/components/InstructionTagModal.vue @@ -0,0 +1,77 @@ + + + + + + diff --git a/src/views/services/serviceCategory/ConfigServiceCategory.data.ts b/src/views/services/serviceCategory/ConfigServiceCategory.data.ts index 8f25327..ce3feb0 100644 --- a/src/views/services/serviceCategory/ConfigServiceCategory.data.ts +++ b/src/views/services/serviceCategory/ConfigServiceCategory.data.ts @@ -5,6 +5,11 @@ import { render } from '/@/utils/common/renderUtils'; import { getWeekMonthQuarterYear } from '/@/utils'; //列表数据 export const columns: BasicColumn[] = [ + { + title: '分类标签', + align: "center", + dataIndex: 'instructionId_dictText' + }, { title: '服务类别', align: "center", diff --git a/src/views/services/serviceCategory/ConfigServiceCategoryList.vue b/src/views/services/serviceCategory/ConfigServiceCategoryList.vue index 5478a29..fe559ae 100644 --- a/src/views/services/serviceCategory/ConfigServiceCategoryList.vue +++ b/src/views/services/serviceCategory/ConfigServiceCategoryList.vue @@ -5,6 +5,14 @@ + + + + + + @@ -35,7 +43,7 @@ - +