diff --git a/acupuncture-ui/src/api/followupFile.js b/acupuncture-ui/src/api/followupFile.js new file mode 100644 index 00000000..a1f3e170 --- /dev/null +++ b/acupuncture-ui/src/api/followupFile.js @@ -0,0 +1,59 @@ +import request from "@/utils/request"; + +// 随访队列 +export function followupQuery(data) { + return request({ + url: "/followup/query", + method: "post", + data: data, + }); +} +// 新增随访队列 +export function followupAdd(data) { + return request({ + url: "/followup/add", + method: "post", + data: data, + }); +} +// 新增随访队列 +export function followupUpd(data) { + return request({ + url: "/followup/upd", + method: "post", + data: data, + }); +} +// 新增随访队列 +export function followupDel(data) { + return request({ + url: "/followup/del", + method: "post", + data: data, + }); +} +// ----随访对象---- +// 查看随访对象 +export function queryPatient(data) { + return request({ + url: "/followup/queryPatient", + method: "post", + data: data, + }); +} +// 修改随访对象 队列信息 +export function updPatient(data) { + return request({ + url: "/followup/updPatient", + method: "post", + data: data, + }); +} +// 随访工单 +export function queryTask(data) { + return request({ + url: "/followup/queryTask", + method: "post", + data: data, + }); +} \ No newline at end of file diff --git a/acupuncture-ui/src/router/index.js b/acupuncture-ui/src/router/index.js index becfbe3d..b56bf93f 100644 --- a/acupuncture-ui/src/router/index.js +++ b/acupuncture-ui/src/router/index.js @@ -83,20 +83,46 @@ export const constantRoutes = [ path: "/patientIndex", component: () => import("@/views/patientFile/index"), name: "Index", - meta: { title: "患者档案", icon: "dashboard", affix: true }, + meta: { title: "患者档案", icon: "dashboard", }, }, ], }, { path: "/medicalFile", component: Layout, - redirect: "index", + redirect: "medicalFile", children: [ { path: "/medicalIndex", component: () => import("@/views/medicalFile/index"), - name: "Index", - meta: { title: "诊疗档案", icon: "dashboard", affix: true }, + name: "medicalIndex", + meta: { title: "诊疗档案", icon: "dashboard", }, + }, + ], + }, + { + path: "/followFile", + meta: { title: "随访档案", icon: "dashboard", }, + component: Layout, + redirect: "followFile", + children: [ + { + path: "/followIndex", + component: () => import("@/views/followFile/index"), + name: "followIndex", + meta: { title: "随访队列", icon: "dashboard", }, + }, + { + path: "/followSubjects", + component: () => import("@/views/followFile/subjects"), + name: "followSubjects", + meta: { title: "随访对象", icon: "dashboard", }, + }, + { + path: "/followWork", + component: () => import("@/views/followFile/work"), + name: "followWork", + meta: { title: "随访工单", icon: "dashboard", }, }, ], }, diff --git a/acupuncture-ui/src/views/followFile/index.vue b/acupuncture-ui/src/views/followFile/index.vue new file mode 100644 index 00000000..cdb839c3 --- /dev/null +++ b/acupuncture-ui/src/views/followFile/index.vue @@ -0,0 +1,439 @@ + + + + + + diff --git a/acupuncture-ui/src/views/followFile/subjects.vue b/acupuncture-ui/src/views/followFile/subjects.vue new file mode 100644 index 00000000..53b68ea0 --- /dev/null +++ b/acupuncture-ui/src/views/followFile/subjects.vue @@ -0,0 +1,398 @@ + + + + + + diff --git a/acupuncture-ui/src/views/followFile/work.vue b/acupuncture-ui/src/views/followFile/work.vue new file mode 100644 index 00000000..371fbb33 --- /dev/null +++ b/acupuncture-ui/src/views/followFile/work.vue @@ -0,0 +1,399 @@ + + + + + + diff --git a/acupuncture-ui/src/views/medicalFile/index.vue b/acupuncture-ui/src/views/medicalFile/index.vue index 4e4d95f3..991f51a8 100644 --- a/acupuncture-ui/src/views/medicalFile/index.vue +++ b/acupuncture-ui/src/views/medicalFile/index.vue @@ -166,6 +166,7 @@ v-loading="loading" :data="listDat" @selection-change="handleSelectionChange" + max-height="600" > @@ -261,7 +262,9 @@ /> @@ -209,7 +210,9 @@ />