From 04f83efe372a946f3df556d971a1130931d16d3e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E8=BE=89?= <814457906@qq.com>
Date: Sun, 7 Apr 2024 10:23:42 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/system/specialDiseaseRoute.js | 21 ++-
.../system/specialDiseaseRoute/index.vue | 128 ++++++++++++++----
2 files changed, 119 insertions(+), 30 deletions(-)
diff --git a/src/api/system/specialDiseaseRoute.js b/src/api/system/specialDiseaseRoute.js
index 35f9602..1adcff9 100644
--- a/src/api/system/specialDiseaseRoute.js
+++ b/src/api/system/specialDiseaseRoute.js
@@ -20,7 +20,7 @@ export function getSpecialDiseaseRoute(id) {
// 新增专病路径信息
export function addSpecialDiseaseRoute(data) {
return request({
- url: '/system/specialDiseaseRoute',
+ url: '/system/specialDiseaseRoute/add',
method: 'post',
data: data
})
@@ -29,7 +29,7 @@ export function addSpecialDiseaseRoute(data) {
// 修改专病路径信息
export function updateSpecialDiseaseRoute(data) {
return request({
- url: '/system/specialDiseaseRoute',
+ url: '/system/specialDiseaseRoute/edit',
method: 'put',
data: data
})
@@ -50,4 +50,19 @@ export function selectDiseaseCount(departmentName) {
})
}
-
+//所属科室
+export function getDepartmentList(query) {
+ return request({
+ url: '/system/department/getDepartmentList',
+ method: 'get',
+ params: query
+ })
+}
+//所属病区
+export function getdiseaseList(query) {
+ return request({
+ url: '/system/departmentDisease/diseaseList',
+ method: 'get',
+ params: query
+ })
+}
\ No newline at end of file
diff --git a/src/views/system/specialDiseaseRoute/index.vue b/src/views/system/specialDiseaseRoute/index.vue
index b66eb4b..2207137 100644
--- a/src/views/system/specialDiseaseRoute/index.vue
+++ b/src/views/system/specialDiseaseRoute/index.vue
@@ -110,13 +110,16 @@
-
+
+ 取消发布
+ 发布
复制
编辑
@@ -132,37 +135,36 @@
-
-
+
+
+
+
-
-
-
-
-
-
-
-
+
+
+
+
-
-
-
-
-
+
+
+
+
+
+
-
-
+
+
+
+
+
+
+
@@ -182,7 +184,7 @@