diff --git a/acupuncture-后台/src/api/report.js b/acupuncture-后台/src/api/report.js new file mode 100644 index 00000000..6155ddfd --- /dev/null +++ b/acupuncture-后台/src/api/report.js @@ -0,0 +1,64 @@ +import request from "@/utils/request"; + +// ------ 上报类型 ------ +// 查询类型 +export function reportList(data) { + return request({ + url: "/report/list", + method: "post", + data: data, + }); +} +export function reportAdd(data) { + return request({ + url: "/report/add", + method: "post", + data: data, + }); +} +export function reportUpd(data) { + return request({ + url: "/report/upd", + method: "post", + data: data, + }); +} + +export function reportDel(data) { + return request({ + url: "/report/del", + method: "post", + data: data, + }); +} +// ------ 上报管理 ------ + +export function managerQuery(data) { + return request({ + url: "/report/queryManager", + method: "post", + data: data, + }); +} +export function managerAdd(data) { + return request({ + url: "/report/addManager", + method: "post", + data: data, + }); +} +export function managerUpd(data) { + return request({ + url: "/report/updManager", + method: "post", + data: data, + }); +} + +export function managerDel(data) { + return request({ + url: "/report/delManager", + method: "post", + data: data, + }); +} \ No newline at end of file diff --git a/acupuncture-后台/src/router/index.js b/acupuncture-后台/src/router/index.js index 9e46bd00..9c618e52 100644 --- a/acupuncture-后台/src/router/index.js +++ b/acupuncture-后台/src/router/index.js @@ -100,32 +100,32 @@ export const constantRoutes = [ // }, // ], // }, - { - 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", }, - }, - ], - }, + // { + // 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", }, + // }, + // ], + // }, { path: "/user", component: Layout, diff --git a/acupuncture-后台/src/views/login.vue b/acupuncture-后台/src/views/login.vue index 2fc76b76..622a8b6c 100644 --- a/acupuncture-后台/src/views/login.vue +++ b/acupuncture-后台/src/views/login.vue @@ -193,7 +193,7 @@ export default { path: this.redirect || "/", }) .catch(() => {}); - this.getCommonQueue(); + // this.getCommonQueue(); // 公共队列 }) .catch(() => { this.loading = false; diff --git a/acupuncture-后台/src/views/medicalFile/index.vue b/acupuncture-后台/src/views/medicalFile/index.vue index 2b7039eb..aa8753c8 100644 --- a/acupuncture-后台/src/views/medicalFile/index.vue +++ b/acupuncture-后台/src/views/medicalFile/index.vue @@ -58,7 +58,7 @@ - + 导出 @@ -143,18 +143,18 @@ diff --git a/acupuncture-后台/src/views/patientFile/index.vue b/acupuncture-后台/src/views/patientFile/index.vue index 148c8153..7981eedc 100644 --- a/acupuncture-后台/src/views/patientFile/index.vue +++ b/acupuncture-后台/src/views/patientFile/index.vue @@ -40,7 +40,7 @@ - + 导出 @@ -99,10 +99,10 @@ + + + + + \ No newline at end of file diff --git a/acupuncture-后台/src/views/report/type.vue b/acupuncture-后台/src/views/report/type.vue new file mode 100644 index 00000000..70a1f008 --- /dev/null +++ b/acupuncture-后台/src/views/report/type.vue @@ -0,0 +1,265 @@ + + + + + + \ No newline at end of file