From b4539ddcbb29a208bc2f448f1100b6569cdd7b87 Mon Sep 17 00:00:00 2001 From: shidongli Date: Tue, 26 Sep 2023 15:02:17 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8C=BB=E7=94=9F=E6=8E=92=E7=8F=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/Scheduling.js | 63 +++ src/views/system/Scheduling/index.vue | 727 ++++++++++++++++++++++++++ 2 files changed, 790 insertions(+) create mode 100644 src/api/system/Scheduling.js create mode 100644 src/views/system/Scheduling/index.vue diff --git a/src/api/system/Scheduling.js b/src/api/system/Scheduling.js new file mode 100644 index 0000000..be1173e --- /dev/null +++ b/src/api/system/Scheduling.js @@ -0,0 +1,63 @@ +import request from '@/utils/request' +// 医院下拉框 +export function getList(query) { + return request({ + url: '/system/hospital/getList', + method: 'get', + params: query + }) +} +// 科室下拉框 +export function hospitalDepartment(hospitalId) { + return request({ + url: `/system/hospitalDepartment/getList?hospitalId=${hospitalId}`, + method: 'get', + + }) +} +// 查询排班计划列表 +export function plan(query) { + return request({ + url: '/system/schedule/plan/list', + method: 'get', + params: query + }) +} +// 查询班次列表 +export function schedule(hospitalId) { + return request({ + url: `/system/schedule/getList?hospitalId=${hospitalId}`, + method: 'get', + + }) +} +// 医生姓名列表 +export function hospitalPerson(departmentId,hospitalId) { + return request({ + url: `/system/hospitalPerson/getList?departmentId=${departmentId}&hospitalId=${hospitalId}`, + method: 'get', + + }) +} + + + +// 新增医生排班 +export function add(data) { + return request({ + url: '/system/schedule/plan/add', + method: 'post', + data: data + }) +} +// 排班计划明细 +export function plandetail(schedulePlanId) { + return request({ + url: `/system/schedule/plandetail/getList?schedulePlanId=${schedulePlanId}`, + method: 'get', + + }) +} + + + diff --git a/src/views/system/Scheduling/index.vue b/src/views/system/Scheduling/index.vue new file mode 100644 index 0000000..18705f9 --- /dev/null +++ b/src/views/system/Scheduling/index.vue @@ -0,0 +1,727 @@ + + +