site.js 4.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286
  1. import request from '@/utils/request'
  2. export function AddRotationChart(data){
  3. return request({
  4. url:"/api/site/addrotationchart",
  5. method:"Post",
  6. data:data,
  7. })
  8. }
  9. export function addRotationUpload(data){
  10. return request({
  11. url:"/api/site/addrotationupload",
  12. method:"Post",
  13. data:data,
  14. })
  15. }
  16. export function saveHispital(data){
  17. return request({
  18. url:"/api/site/savehispital",
  19. method:"Post",
  20. data:data,
  21. })
  22. }
  23. export function addOffices(data){
  24. return request({
  25. url:"/api/site/addoffices",
  26. method:"Post",
  27. data:data,
  28. })
  29. }
  30. export function AddDoctor(data){
  31. return request({
  32. url:"/api/site/adddoctor",
  33. method:"Post",
  34. data:data,
  35. })
  36. }
  37. export function AddDoctorInfo(data){
  38. return request({
  39. url:"/api/site/adddoctorinfo",
  40. method:"Post",
  41. data:data,
  42. })
  43. }
  44. export function AddOfficeEnvironment(data){
  45. return request({
  46. url:"/api/site/keenvironment",
  47. method:"Post",
  48. data:data,
  49. })
  50. }
  51. export function GetRationImages(params){
  52. return request({
  53. url:"/api/site/getrationimages",
  54. method:'Get',
  55. params:params,
  56. })
  57. }
  58. export function GetHospitalInfo(params){
  59. return request({
  60. url:"/api/site/gethospitalinfo",
  61. method:'Get',
  62. params:params,
  63. })
  64. }
  65. export function GetOfficeInfo(params){
  66. return request({
  67. url:"/api/site/getofficeinfo",
  68. method:'Get',
  69. params:params,
  70. })
  71. }
  72. export function GetDoctorInfo(params){
  73. return request({
  74. url:"/api/site/getdoctorinfo",
  75. method:'Get',
  76. params:params,
  77. })
  78. }
  79. export function editDoctor(id,data){
  80. return request({
  81. url:"/api/site/editdoctor?id="+id,
  82. method:'Get',
  83. data:data,
  84. })
  85. }
  86. export function getQueryDocInfo(params){
  87. return request({
  88. url:"/api/site/getquerydocinfo",
  89. method:"Post",
  90. params:params,
  91. })
  92. }
  93. export function getQueryDoCHead(params){
  94. return request({
  95. url:"/api/site/getquerydochead",
  96. method:"Post",
  97. params:params,
  98. })
  99. }
  100. export function GetOffEnvironment(params){
  101. return request({
  102. url:"/api/site/getOffEnvironment",
  103. method:'Get',
  104. params:params,
  105. })
  106. }
  107. export function addconnection(data){
  108. return request({
  109. url:"/api/site/addconnection",
  110. method:"Post",
  111. data:data,
  112. })
  113. }
  114. export function addWorkTime(data){
  115. return request({
  116. url:"/api/site/addworktime",
  117. method:"Post",
  118. data:data,
  119. })
  120. }
  121. export function addRideWay(data){
  122. return request({
  123. url:"/api/site/addrideway",
  124. method:"Post",
  125. data:data,
  126. })
  127. }
  128. export function queryConnetion(params){
  129. return request({
  130. url:"/api/site/queryconnetion",
  131. method:"Get",
  132. params:params,
  133. })
  134. }
  135. export function deleteConnecWay(id,data){
  136. return request({
  137. url:"/api/site/delete?id="+id,
  138. method:"Get",
  139. data:data,
  140. })
  141. }
  142. export function editConnecWay(id,data){
  143. return request({
  144. url:"/api/site/editconnecway?id="+id,
  145. method:"Get",
  146. data:data,
  147. })
  148. }
  149. export function saveConnecform(id,data){
  150. return request({
  151. url:"/api/site/saveconnection?id="+id,
  152. method:"Post",
  153. data:data,
  154. })
  155. }
  156. export function addContract(data){
  157. return request({
  158. url:"/api/site/addcontract",
  159. method:"Post",
  160. data:data,
  161. })
  162. }
  163. export function GetUserdModel(params){
  164. return request({
  165. url:"/api/site/getuserdmodel",
  166. method:"Post",
  167. params:params,
  168. })
  169. }
  170. export function eidtmodel(id,data){
  171. return request({
  172. url:"/api/site/eidtmodel?id="+id,
  173. method:"Get",
  174. data:data,
  175. })
  176. }
  177. export function editRideWay(id,data){
  178. return request({
  179. url:"/api/site/editrideway?id="+id,
  180. method:"Get",
  181. data:data,
  182. })
  183. }
  184. export function SaveWorkTime(id,data){
  185. return request({
  186. url:"/api/site/saveworktime?id="+id,
  187. method:"Post",
  188. data:data,
  189. })
  190. }
  191. export function saverideway(id,data){
  192. return request({
  193. url:"/api/site/saverideway?id="+id,
  194. method:"Post",
  195. data:data,
  196. })
  197. }
  198. export function getQueryNewModel(params){
  199. return request({
  200. url:"/api/site/getquerynewmodel",
  201. method:"Post",
  202. params:params,
  203. })
  204. }
  205. export function change(id,data){
  206. // console.log("编辑医生返回数据",id)
  207. return request({
  208. url:"/api/site/change?id="+id,
  209. method:"Get",
  210. data:data,
  211. })
  212. }
  213. export function saveDocInfo(id,data){
  214. return request({
  215. url:"/api/site/savedocinfo?id="+id,
  216. method:"Post",
  217. data:data,
  218. })
  219. }
  220. export function deleteDoctor(id,data){
  221. return request({
  222. url:"/api/site/deletedoctor?id="+id,
  223. method:"Get",
  224. data:data,
  225. })
  226. }