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

common.js 9.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513
  1. import request from '@/utils/request'
  2. import url from 'postcss-url'
  3. export function getInspectionMajor(params) {
  4. return request({
  5. url: '/com/api/getinspectionmajor',
  6. method: 'get',
  7. params: params
  8. })
  9. }
  10. export function getInspectionMinor(id, params) {
  11. return request({
  12. url: '/com/api/getinspectionminor?id=' + id,
  13. method: 'get',
  14. params: params
  15. })
  16. }
  17. export function getInspectionRange(id, params) {
  18. return request({
  19. url: '/com/api/getinspectionrange?id=' + id,
  20. method: 'get',
  21. params: params
  22. })
  23. }
  24. export function saveConfiguration(data) {
  25. console.log('data', data)
  26. return request({
  27. url: '/com/api/saveconfiguration',
  28. method: 'post',
  29. data: data
  30. })
  31. }
  32. export function getConfigurationList(limit, page) {
  33. const params = {
  34. limit: limit,
  35. page: page
  36. }
  37. return request({
  38. url: 'com/api/getconfigurationlist',
  39. method: 'get',
  40. params: params
  41. })
  42. }
  43. export function getConfigurationDetail(id, params) {
  44. console.log('id=====', id)
  45. return request({
  46. url: 'com/api/getconfigurationdetail?id=' + id,
  47. method: 'get',
  48. params: params
  49. })
  50. }
  51. export function getAllInspectionMinor(params) {
  52. return request({
  53. url: 'com/api/getallinspectionminor',
  54. method: 'get',
  55. params: params
  56. })
  57. }
  58. export function UpdateConfiguration(id, data) {
  59. console.log('data', data)
  60. return request({
  61. url: 'com/api/updateconfiguration?id=' + id,
  62. method: 'post',
  63. data: data
  64. })
  65. }
  66. export function DeleteConfiguration(id, params) {
  67. return request({
  68. url: 'com/api/deleteconfiguration?id=' + id,
  69. method: 'delete',
  70. params: params
  71. })
  72. }
  73. export function getAllInspectionData(params) {
  74. return request({
  75. url: 'com/api/getallinspectiondata',
  76. method: 'get',
  77. params: params
  78. })
  79. }
  80. export function SaveCheckConfiguration(data) {
  81. console.log('data', data)
  82. return request({
  83. url: '/com/api/savecheckconfiguration',
  84. method: 'post',
  85. data: data
  86. })
  87. }
  88. export function getAllCheckList(page, limit) {
  89. const params = {
  90. page: page,
  91. limit: limit
  92. }
  93. return request({
  94. url: '/com/api/getallchecklist',
  95. method: 'get',
  96. params: params
  97. })
  98. }
  99. export function getCheckDetail(id, params) {
  100. return request({
  101. url: '/com/api/getcheckdetail?id=' + id,
  102. method: 'get',
  103. params: params
  104. })
  105. }
  106. export function UpdateCheck(id, data) {
  107. return request({
  108. url: '/com/api/updatecheck?id=' + id,
  109. method: 'post',
  110. data: data
  111. })
  112. }
  113. export function DeleteCheck(id, params) {
  114. return request({
  115. url: '/com/api/deletecheck?id=' + id,
  116. method: 'delete',
  117. params: params
  118. })
  119. }
  120. export function getDialysisModeType(startime, endtime) {
  121. const params = {
  122. startime: startime,
  123. endtime: endtime
  124. }
  125. return request({
  126. url: '/com/api/getdialysismodetype',
  127. method: 'get',
  128. params: params
  129. })
  130. }
  131. export function getTotalLapseCount(startime, endtime) {
  132. const params = {
  133. startime: startime,
  134. endtime: endtime
  135. }
  136. console.log('转归params', params)
  137. return request({
  138. url: '/com/api/gettotallapsecount',
  139. method: 'get',
  140. params: params
  141. })
  142. }
  143. export function getTotalSexCount(startime, endtime) {
  144. const params = {
  145. startime: startime,
  146. endtime: endtime
  147. }
  148. return request({
  149. url: '/com/api/gettotalsexcount',
  150. method: 'get',
  151. params: params
  152. })
  153. }
  154. export function getTotalInfectiousCount(startime, endtime) {
  155. const params = {
  156. startime: startime,
  157. endtime: endtime
  158. }
  159. console.log('传染病', params)
  160. return request({
  161. url: '/com/api/gettoalinfectiouscount',
  162. method: 'get',
  163. params: params
  164. })
  165. }
  166. export function getTotalAgeCount(startime, endtime) {
  167. const params = {
  168. startime: startime,
  169. endtime: endtime
  170. }
  171. return request({
  172. url: '/com/api/gettotalagecount',
  173. method: 'get',
  174. params: params
  175. })
  176. }
  177. export function getTotalDialysisCount(startime, endtime) {
  178. const params = {
  179. startime: startime,
  180. endtime: endtime
  181. }
  182. return request({
  183. url: '/com/api/gettotaldialysiscount',
  184. method: 'get',
  185. params: params
  186. })
  187. }
  188. export function getCurrentOrgPatients(params) {
  189. return request({
  190. url: '/com/api/getcurentorgpatients',
  191. method: 'get',
  192. params: params
  193. })
  194. }
  195. export function getDialysisList(startime, endtime, page, limit) {
  196. const params = {
  197. startime: startime,
  198. endtime: endtime,
  199. page: page,
  200. limit: limit
  201. }
  202. return request({
  203. url: '/com/api/getdialysislist',
  204. method: 'get',
  205. params: params
  206. })
  207. }
  208. export function getLastSort(params) {
  209. return request({
  210. url: '/com/api/getlastsort',
  211. method: 'get',
  212. params: params
  213. })
  214. }
  215. export function getLastCheckList(params) {
  216. return request({
  217. url: '/com/api/getlastchecklist',
  218. method: 'Get',
  219. params: params
  220. })
  221. }
  222. export function getDialysisDetailById(id, startime, endtime, limit, page) {
  223. const params = {
  224. id: id,
  225. startime: startime,
  226. endtime: endtime,
  227. limit: limit,
  228. page: page
  229. }
  230. return request({
  231. url: '/com/api/getdialysisdetailbyid',
  232. method: 'get',
  233. params: params
  234. })
  235. }
  236. export function getPrescriptionByName(patientid, startime, endtime, limit, page) {
  237. const params = {
  238. patientid: patientid,
  239. startime: startime,
  240. endtime: endtime,
  241. limit: limit,
  242. page: page
  243. }
  244. // console.log('params', params)
  245. return request({
  246. url: '/com/api/getprescriptionbyname',
  247. method: 'Get',
  248. params: params
  249. })
  250. }
  251. export function geStatistics(params) {
  252. return request({
  253. url: '/com/api/getstatistics',
  254. method: 'Get',
  255. params: params
  256. })
  257. }
  258. export function getInspectionTotalCount(startime, endtime, patientid) {
  259. const params = {
  260. startime: startime,
  261. endtime: endtime,
  262. patientid: patientid
  263. }
  264. console.log('病人新项目', params)
  265. return request({
  266. url: '/com/api/getinspectiontotalcount',
  267. method: 'get',
  268. params: params
  269. })
  270. }
  271. export function getInspectionDetailById(id, startime, endtime) {
  272. const params = {
  273. id: id,
  274. startime: startime,
  275. endtime: endtime
  276. }
  277. console.log('params', params)
  278. return request({
  279. url: '/com/api/getinspectionDetailById',
  280. method: 'get',
  281. params: params
  282. })
  283. }
  284. export function getSearchPatientInfo(patientid, startime, endtime) {
  285. const params = {
  286. patientid: patientid,
  287. startime: startime,
  288. endtime: endtime
  289. }
  290. return request({
  291. url: '/com/api/getsearchpatientinfo',
  292. method: 'get',
  293. params: params
  294. })
  295. }
  296. export function getAllMajorInspection(params) {
  297. return request({
  298. url: '/com/api/getallmajorInspection',
  299. method: 'Get',
  300. params: params
  301. })
  302. }
  303. export function getPatientList(startime, endtime, limit, page) {
  304. const params = {
  305. startime: startime,
  306. endtime: endtime,
  307. limit: limit,
  308. page: page
  309. }
  310. return request({
  311. url: '/com/api/getpatientlist',
  312. method: 'Get',
  313. params: params
  314. })
  315. }
  316. export function getPatientDetailCheck(id, startime, endtime) {
  317. const params = {
  318. id: id,
  319. startime: startime,
  320. endtime: endtime
  321. }
  322. return request({
  323. url: '/com/api/getPatientDetailCheck',
  324. method: 'get',
  325. params: params
  326. })
  327. }
  328. export function SearchDetailCheck(keyword, startime, endtime) {
  329. const params = {
  330. keyword: keyword,
  331. startime: startime,
  332. endtime: endtime
  333. }
  334. return request({
  335. url: '/com/api/searchdetailcheck',
  336. method: 'get',
  337. params: params
  338. })
  339. }
  340. export function getNormData(params) {
  341. return request({
  342. url: '/com/api/getnormdata',
  343. method: 'Get',
  344. params: params
  345. })
  346. }
  347. export function getFirstQuarter(params) {
  348. // console.log('params', params)
  349. return request({
  350. url: '/com/api/getfirstquarter',
  351. method: 'get',
  352. params: params
  353. })
  354. }
  355. export function getProjectList(params) {
  356. return request({
  357. url: '/com/api/getprojectlist',
  358. method: 'get',
  359. params: params
  360. })
  361. }
  362. export function getMonthProjectList(params) {
  363. return request({
  364. url: '/com/api/getmonthprojectlist',
  365. method: 'get',
  366. params: params
  367. })
  368. }
  369. export function getPatientsControl(lapstor, startime, endtime, page, limit) {
  370. const params = {
  371. lapstor: lapstor,
  372. startime: startime,
  373. endtime: endtime,
  374. page: page,
  375. limit: limit
  376. }
  377. return request({
  378. url: '/com/api/getpatientscontrol',
  379. method: 'get',
  380. params: params
  381. })
  382. }
  383. export function getCartogramlist(lapsetor, startime, endtime, limit, page) {
  384. const params = {
  385. lapsetor: lapsetor,
  386. startime: startime,
  387. endtime: endtime,
  388. limit: limit,
  389. page: page
  390. }
  391. return request({
  392. url: '/com/api/getcartogramlist',
  393. method: 'Get',
  394. params: params
  395. })
  396. }
  397. export function getPatientContorlAnalysis(params) {
  398. return request({
  399. url: '/com/api/getpatientcontor',
  400. method: 'get',
  401. params: params
  402. })
  403. }
  404. export function GetQualityControl(params) {
  405. return request({
  406. url: '/com/api/getqualitycontrol',
  407. method: 'Get',
  408. params: params
  409. })
  410. }
  411. export function getTreatlist(params) {
  412. return request({
  413. url: '/com/api/gettreatlist',
  414. method: 'get',
  415. params: params
  416. })
  417. }
  418. export function getPatientComplianceDetail(params) {
  419. return request({
  420. url: '/com/api/getpatientcompliancedetal',
  421. method: 'Get',
  422. params: params
  423. })
  424. }
  425. export function getBloodPressureDetail(id, params) {
  426. return request({
  427. url: '/com/api/getbloodpressuredetail?id=' + id,
  428. method: 'get',
  429. params: params
  430. })
  431. }
  432. export function UpdateBloodPrussre(id, data) {
  433. console.log('data', data)
  434. return request({
  435. url: '/com/api/updatebloodprussre?id=' + id,
  436. method: 'post',
  437. data: data
  438. })
  439. }
  440. export function getBloodPressureList(params) {
  441. return request({
  442. url: '/com/api/getbloodpressurelist',
  443. method: 'get',
  444. params: params
  445. })
  446. }
  447. export function getMonthBloodList(params) {
  448. return request({
  449. url: '/com/api/getmonthbloodlist',
  450. method: 'get',
  451. params: params
  452. })
  453. }
  454. export function getIdSlist(data, patientid) {
  455. return request({
  456. url: '/com/api/getidslist?patientid=' + patientid,
  457. method: 'post',
  458. data: data
  459. })
  460. }