diff --git a/api/ServiceSchedule/ServiceSchedule.js b/api/ServiceSchedule/ServiceSchedule.js new file mode 100644 index 0000000..5e582cf --- /dev/null +++ b/api/ServiceSchedule/ServiceSchedule.js @@ -0,0 +1,17 @@ +import request from "../request.js" + +// 时间表 +export function getListByDoctor(doctorId) { + return request({ + url: `/nurseApplet/schedule/plan/getListByDoctor?doctorId=${doctorId}`, + method: 'GET', + }) +} +// 状态 +export function updateStatus(data) { + return request({ + url: `/nurseApplet/schedule/plan/updateStatus`, + method: 'post', + data + }) +} diff --git a/pages/ServiceSchedule/ServiceSchedule.vue b/pages/ServiceSchedule/ServiceSchedule.vue index b54c6ec..7c15603 100644 --- a/pages/ServiceSchedule/ServiceSchedule.vue +++ b/pages/ServiceSchedule/ServiceSchedule.vue @@ -1,22 +1,29 @@