doctorSchedule.js 3.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. import request from '@/utils/request'
  2. import { data } from 'autoprefixer'
  3. export function saveDoctorSchedules(params) {
  4. return request({
  5. url: '/api/schedules/savedoctorschedules',
  6. methods: 'get',
  7. params: params
  8. })
  9. }
  10. export function getDoctorScheduleList(params) {
  11. return request({
  12. url: '/api/schedules/getdoctorschedulelist',
  13. methods: 'get',
  14. params: params
  15. })
  16. }
  17. export function getScheduleDetail(id, params) {
  18. return request({
  19. url: '/api/schedules/getscheduledetail?id=' + id,
  20. methods: 'get',
  21. params: params
  22. })
  23. }
  24. export function UpdateSchedule(params) {
  25. return request({
  26. url: '/api/schedules/updateschedule',
  27. methods: 'get',
  28. params: params
  29. })
  30. }
  31. export function deleteScheduleById(id, orgid) {
  32. const params = {
  33. id: id,
  34. orgid: orgid
  35. }
  36. return request({
  37. url: '/api/schedule/deleteschedule',
  38. methods: 'get',
  39. params: params
  40. })
  41. }
  42. export function getDoctorList(params) {
  43. return request({
  44. url: '/api/schedule/getdoctorlist',
  45. methods: 'get',
  46. params: params
  47. })
  48. }
  49. export function getScheduleList(params) {
  50. return request({
  51. url: '/api/schedule/getschedulelist',
  52. methods: 'get',
  53. params: params
  54. })
  55. }
  56. export function addSchedule(params) {
  57. return request({
  58. url: '/api/schedule/addschedule',
  59. methods: 'get',
  60. params: params
  61. })
  62. }
  63. export function getStaffScheduleList(params) {
  64. return request({
  65. url: '/api/schedule/getstaffschedulelist',
  66. methods: 'get',
  67. params: params
  68. })
  69. }
  70. export function getNextWeekList(params) {
  71. return request({
  72. url: '/api/schedule/getnextweeklist',
  73. methods: 'get',
  74. params: params
  75. })
  76. }
  77. export function getScheduleByDoctorId(params) {
  78. return request({
  79. url: '/api/schedule/getschedulebydoctorid',
  80. methods: 'Get',
  81. params: params
  82. })
  83. }
  84. export function toSearchScheduleList(params) {
  85. return request({
  86. url: '/api/schedule/tosearchsechedulelist',
  87. methods: 'Get',
  88. params: params
  89. })
  90. }
  91. export function DeleteStaffSchedule(params) {
  92. return request({
  93. url: '/api/schedule/deletestaffschedule',
  94. methods: 'get',
  95. params: params
  96. })
  97. }
  98. export function copyStaffSchedule(params) {
  99. return request({
  100. url: '/api/schedule/copystaffschedule',
  101. methods: 'get',
  102. params: params
  103. })
  104. }
  105. export function UpdateContinusSchedule(params) {
  106. return request({
  107. url: '/api/scheudle/updatecontinusschedule',
  108. methods: 'get',
  109. params: params
  110. })
  111. }
  112. export function SaveNurseSort(params) {
  113. return request({
  114. url: '/api/schedule/savenursesort',
  115. methods: 'Get',
  116. params: params
  117. })
  118. }
  119. export function SaveIsSchedule(params) {
  120. return request({
  121. url: '/api/schedule/saveisschedule',
  122. methods: 'get',
  123. params: params
  124. })
  125. }
  126. export function getScheduleListTotal(params) {
  127. return request({
  128. url: '/api/schedule/getscheudlelisttotal',
  129. methods: 'get',
  130. params: params
  131. })
  132. }
  133. export function toSearchTotal(params) {
  134. return request({
  135. url: '/api/schedule/tosearchtotal',
  136. methods: 'get',
  137. params: params
  138. })
  139. }
  140. export function changeOption(params) {
  141. return request({
  142. url: '/api/schedule/changeoption',
  143. methods: 'get',
  144. params: params
  145. })
  146. }
  147. export function getchartlist(params) {
  148. return request({
  149. url: '/api/schedule/getchartlist',
  150. methods: 'get',
  151. params: params
  152. })
  153. }