Elizabeth's proactive approach involves introducing urinal toilet attachment , an ingenious concept that optimizes space and functionality.

schedule.js 6.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334
  1. import request from '@/utils/request'
  2. export function getWeekPanels(t, patitionId) {
  3. return request({
  4. url: '/api/schedule/weekpanel?data=' + t + '&patitionid=' + patitionId,
  5. method: 'get'
  6. })
  7. }
  8. export function getWeekPanelsOne(t, patitionId) {
  9. return request({
  10. url: '/api/schedule/weekpanelone?data=' + t + '&patitionid=' + patitionId,
  11. method: 'get'
  12. })
  13. }
  14. export function getSchedules(params) {
  15. return request({
  16. url: '/api/schedule/schedules',
  17. method: 'get',
  18. params: params
  19. })
  20. }
  21. export function getSchedulesOne(params) {
  22. return request({
  23. url: '/api/schedule/schedulesone',
  24. method: 'get',
  25. params: params
  26. })
  27. }
  28. export function getSchedulesTwo(params) {
  29. return request({
  30. url: '/api/schedule/scheduletwo',
  31. method: 'get',
  32. params: params
  33. })
  34. }
  35. export function getSchedulesThree(params){
  36. return request({
  37. url:"/api/schedule/getschedulethreeone",
  38. method:"Get",
  39. params:params,
  40. })
  41. }
  42. export function getSchedulePatients(params) {
  43. return request({
  44. url: '/api/schedule/patients',
  45. method: 'get',
  46. params: params
  47. })
  48. }
  49. export function CreateSchedule(id, schedule) {
  50. return request({
  51. url: '/api/schedule/create?patient_id=' + id,
  52. method: 'Post',
  53. data: schedule
  54. })
  55. }
  56. export function CancelSchedule(id) {
  57. return request({
  58. url: '/api/schedule/delete?id=' + id,
  59. method: 'Delete'
  60. })
  61. }
  62. export function ChangeSchedule(id, schedule) {
  63. console.log('schedule', schedule)
  64. return request({
  65. url: '/api/schedule/change?id=' + id,
  66. method: 'Put',
  67. data: schedule
  68. })
  69. }
  70. export function GetPatientSchedules(id) {
  71. return request({
  72. url: '/api/patients/schedules?id=' + id,
  73. method: 'Get'
  74. })
  75. }
  76. export function GetWeekSchedulePrintInitData(date, type) {
  77. return request({
  78. url: '/api/schedule/print/initdata',
  79. method: 'get',
  80. params: {
  81. date: date
  82. }
  83. })
  84. }
  85. export function getUrgentScheduleInitData(params) {
  86. return request({
  87. url: '/api/schedule/urgentinit',
  88. method: 'Get',
  89. params: params
  90. })
  91. }
  92. export function getSearchResult(params) {
  93. return request({
  94. url: '/api/schedule/search',
  95. method: 'Get',
  96. params: params
  97. })
  98. }
  99. export function getScheduleWeekDay(params) {
  100. return request({
  101. url: '/api/schedule/week',
  102. method: 'Get',
  103. params: params
  104. })
  105. }
  106. export function exportSchedule(params, date) {
  107. return request({
  108. url: '/api/schedule/export?date=' + date,
  109. method: 'Post',
  110. data: params
  111. })
  112. }
  113. export function initDate() {
  114. return request({
  115. url: '/api/excel_date/init',
  116. method: 'Get'
  117. })
  118. }
  119. export function exportScheduleTemplate(params) {
  120. return request({
  121. url: '/api/schedule_template/export',
  122. method: 'Post',
  123. data: params
  124. })
  125. }
  126. export function getNextScheduleWeekDay(params) {
  127. return request({
  128. url: '/api/schedule/getnextscheduleweekday',
  129. method: 'get',
  130. params: params
  131. })
  132. }
  133. export function getNextScheduleWeekDayOne(params) {
  134. return request({
  135. url: '/api/schedule/getnextscheduleweekdayone',
  136. method: 'get',
  137. params: params
  138. })
  139. }
  140. export function getThreeWeekList(params) {
  141. return request({
  142. url: '/api/schedule/getthreeweeklist',
  143. method: 'get',
  144. params: params
  145. })
  146. }
  147. export function getAllZones(params) {
  148. return request({
  149. url: '/api/schedule/getallzones',
  150. method: 'get',
  151. params: params
  152. })
  153. }
  154. export function copyPatientSchedule(params) {
  155. return request({
  156. url: '/api/schedule/copypatientschedules',
  157. method: 'Get',
  158. params: params
  159. })
  160. }
  161. export function saveRemindPrint(params) {
  162. return request({
  163. url: '/api/schedule/saveremindprint',
  164. method: 'get',
  165. params: params
  166. })
  167. }
  168. export function getRemindPrintList(params) {
  169. return request({
  170. url: '/api/schedule/getremindprintlist',
  171. method: 'get',
  172. params: params
  173. })
  174. }
  175. export function getScheduleList(params) {
  176. return request({
  177. url: '/api/schedule/getbloodschedulelist',
  178. method: 'get',
  179. params: params
  180. })
  181. }
  182. export function getPrintList(params) {
  183. return request({
  184. url: '/api/schedule/getprintlist',
  185. method: 'Get',
  186. params: params
  187. })
  188. }
  189. export function getAllZoneList(params) {
  190. return request({
  191. url: '/api/schedule/getallzonelist',
  192. method: 'get',
  193. params: params
  194. })
  195. }
  196. export function getPatientSheduleCount(params) {
  197. return request({
  198. url: '/api/schedule/getpatientschedulecount',
  199. method: 'get',
  200. params: params
  201. })
  202. }
  203. export function postScheduleTemplate(params) {
  204. return request({
  205. url: '/api/schedule/postscheduletemplate',
  206. method: 'get',
  207. params: params
  208. })
  209. }
  210. export function getScheduleTemplate(params) {
  211. return request({
  212. url: '/api/schedule/getscheduletemplate',
  213. method: 'get',
  214. params: params
  215. })
  216. }
  217. export function getNextWeekPanels(params) {
  218. return request({
  219. url: '/api/schedule/getnextweekpanels',
  220. method: 'get',
  221. params: params
  222. })
  223. }
  224. export function synchroSchedule(params) {
  225. return request({
  226. url: '/api/schedule/synchroschedule',
  227. method: 'get',
  228. params: params
  229. })
  230. }
  231. export function getPatientScheduleTemplate(params) {
  232. return request({
  233. url: '/api/schedule/getpatientscheduletemplate',
  234. method: 'get',
  235. params: params
  236. })
  237. }
  238. export function getSolutionSchedule(params) {
  239. return request({
  240. url: '/api/schedule/getsolutionschedule',
  241. method: 'Get',
  242. params: params
  243. })
  244. }
  245. export function CancelScheduleTwo(id) {
  246. return request({
  247. url: '/api/schedule/delete_two?id=' + id,
  248. method: 'Delete'
  249. })
  250. }
  251. export function getScheduleConfig() {
  252. return request({
  253. url: '/api/schedule/config/get',
  254. method: 'Get'
  255. })
  256. }
  257. export function postScheduleConfig(params) {
  258. return request({
  259. url: '/api/schedule/config/commit',
  260. method: 'Post',
  261. params: params
  262. })
  263. }
  264. export function CreateScheduleTwo(id, schedule,id_two) {
  265. console.log("schedule",schedule)
  266. return request({
  267. url: '/api/schedule/create_two?patient_id=' + id+"&id_two="+id_two,
  268. method: 'Post',
  269. data: schedule
  270. })
  271. }
  272. export function ChangeScheduleTen(id,schedule){
  273. return request({
  274. url: '/api/schedule/changeschedule?id=' + id+"&bed_id="+schedule.bed_id+"&mode_id="+schedule.mode_id+"&schedule_type="+schedule.schedule_type,
  275. method: 'Put',
  276. data: schedule
  277. })
  278. }
  279. export function getNumberList(id,params){
  280. return request({
  281. url:"/api/schedule/getordernumber?id="+id,
  282. method:"Get",
  283. params:params
  284. })
  285. }