From 35ba5476d968893bfee38d82b96d2caf19f5b216 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E8=BE=89?= <814457906@qq.com>
Date: Mon, 25 Mar 2024 11:28:17 +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 | 9 ++++
src/views/manage/patientInfo/index.vue | 38 +++++++++----
.../system/editorialSpecialization/index.vue | 54 +++++++++++++++++++
.../system/specialDiseaseRoute/index.vue | 26 +++++----
4 files changed, 106 insertions(+), 21 deletions(-)
create mode 100644 src/views/system/editorialSpecialization/index.vue
diff --git a/src/api/system/specialDiseaseRoute.js b/src/api/system/specialDiseaseRoute.js
index 2dfdec2..35f9602 100644
--- a/src/api/system/specialDiseaseRoute.js
+++ b/src/api/system/specialDiseaseRoute.js
@@ -42,3 +42,12 @@ export function delSpecialDiseaseRoute(id) {
method: 'delete'
})
}
+//科室
+export function selectDiseaseCount(departmentName) {
+ return request({
+ url: `/system/specialDiseaseRoute/departmentRouteCount?departmentName=${departmentName}`,
+ method: 'get',
+
+ })
+}
+
diff --git a/src/views/manage/patientInfo/index.vue b/src/views/manage/patientInfo/index.vue
index 057350f..75a3414 100644
--- a/src/views/manage/patientInfo/index.vue
+++ b/src/views/manage/patientInfo/index.vue
@@ -60,9 +60,13 @@
-->
-
-
+
+
+
+
+
-
+
@@ -113,9 +118,9 @@
-->
-
+
- {{ parseTime(scope.row.visitTime, '{y}-{m}-{d}') }}
+ {{ parseTime(scope.row.visitDate, '{y}-{m}-{d}') }}
@@ -124,10 +129,8 @@
-
-
-
-
+
+
@@ -159,12 +162,14 @@
import { listPatientInfo } from "@/api/manage/patientInfo";
import { getAge } from "@/utils/age";
import { selectAgencyList, getDepartmentList, subordinateAgencyList } from "@/api/manage/selectAgencyList";
+import { usergetList } from "@/api/unitconfig/patientConfiguration";
export default {
name: "PatientInfo",
dicts: ['patient_type', 'visit_method', 'sign_status', 'patient_source'],
data() {
return {
+ attendingPhysicianlist: [],
// 遮罩层
loading: true,
// 总条数
@@ -181,7 +186,7 @@ export default {
patientType: null,
visitMethod: null,
mainDiagnosis: null,
- attendingPhysician: null,
+ attendingPhysicianId: null,
hospitalAgencyId: null,
hospitalAgencyName: null,
campusAgencyId: null,
@@ -216,6 +221,15 @@ export default {
this.selectAgencyinfo();
},
methods: {
+ //主治医生
+ usergetListinfo() {
+ usergetList({
+ agencyId: this.queryParams.hospitalAgencyId,
+ postName: 'DOCTOR'
+ }).then(res => {
+ this.attendingPhysicianlist = res.data
+ })
+ },
/** 详情操作 */
handleAuthRole(row) {
this.$router.push({
@@ -294,6 +308,7 @@ export default {
this.queryParams.departmentId = null
this.queryParams.wardId = null
})
+ this.usergetListinfo();
},
//选中院区获取科室
changecampusAgency(id) {
@@ -323,6 +338,7 @@ export default {
this.queryParams.campusAgencyId = null
this.queryParams.departmentId = null
this.queryParams.wardId = null
+ this.queryParams.attendingPhysicianId = null
},
//清空院区
clearcampusAgency() {
diff --git a/src/views/system/editorialSpecialization/index.vue b/src/views/system/editorialSpecialization/index.vue
new file mode 100644
index 0000000..7f8fa0c
--- /dev/null
+++ b/src/views/system/editorialSpecialization/index.vue
@@ -0,0 +1,54 @@
+
+
+
+
+
+
+ 保存
+ 发布
+
+
+
+
+
+
+
+
+ 病种名称
+
+
+
+
+
+
+ AI生成触发条件
+ 人工添加主路径
+ 人工添加触发条件
+
+
+
+
+ {{26 + '/' + 70 }}
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/system/specialDiseaseRoute/index.vue b/src/views/system/specialDiseaseRoute/index.vue
index 2731e0d..8676ef9 100644
--- a/src/views/system/specialDiseaseRoute/index.vue
+++ b/src/views/system/specialDiseaseRoute/index.vue
@@ -122,7 +122,7 @@
复制
修改
+ v-hasPermi="['system:specialDiseaseRoute:edit']">编辑
删除
@@ -183,10 +183,10 @@