123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843 |
- import request from '@/utils/request'
-
- export function getBloodDialysisPatient(page, limit) {
- const params = {
- page: page,
- limit: limit
- }
- return request({
- url: 'm/api/patient/getbloodDialysisPatient',
- method: 'get',
- params: params
- })
- }
-
- export function getAllBloodDialysisPatient(page, limit, status, source) {
- const params = {
- page: page,
- limit: limit,
- patientstatus: status,
- source: source
- }
-
- return request({
- url: '/m/api/patient/getallblooddialysispatient',
- method: 'get',
- params: params
- })
- }
-
- export function getAllSlowPatient(page, limit) {
- const params = {
- page: page,
- limit: limit
- }
- return request({
- url: '/m/api/patient/getallslowpatient',
- method: 'get',
- params: params
- })
- }
-
- export function getAllMemberPatient(page, limit) {
- const params = {
- page: page,
- limit: limit
- }
- return request({
- url: '/m/api/patient/getallmemberpatient',
- method: 'get',
- params: params
- })
- }
-
- export function GenerateDialysisNo(params) {
- return request({
- url: '/m/api/patients/generatedialysisnotwo',
- method: 'get',
- params: params
- })
- }
-
- export function GetIllnessList(params) {
- return request({
- url: 'm/api/patient/getillnesslist',
- method: 'get',
- params: params
- })
- }
-
- export function GetPatientInfo(phone) {
- const params = {
- phone: phone
- }
- return request({
- url: 'm/api/patient/getpatientinfo',
- method: 'get',
- params: params
- })
- }
-
- export function savePatient(data) {
- return request({
- url: '/m/api/patient/savepatient',
- method: 'post',
- data: data
- })
- }
-
- export function getPatientDetail(id, params) {
- return request({
- url: '/m/api/patient/getpatientdetail?id=' + id,
- method: 'get',
- params: params
- })
- }
-
- export function getDoctorAdvices(id, type, startime, endtime, limit, page) {
- const params = {
- id: id,
- type: type,
- startime: startime,
- endtime: endtime,
- limit: limit,
- page: page
- }
- return request({
- url: '/m/api/patient/getdoctoradvices',
- method: 'get',
- params: params
- })
- }
-
- export function getDryWeight(id, startime, endtime, limit, page) {
- const params = {
- id: id,
- startime: startime,
- endtime: endtime,
- limit: limit,
- page: page
- }
- return request({
- url: '/m/api/paitent/getdryweight',
- method: 'get',
- params: params
- })
- }
-
- export function getBloodDialysisPatientTwo(page, limit) {
- const params = {
- page: page,
- limit: limit
- }
- return request({
- url: 'm/api/patient/getbloodDialysisPatientwo',
- method: 'get',
- params: params
- })
- }
-
- export function ToSearch(name) {
- const params = {
- name: name
- }
- return request({
- url: 'm/api/patient/tosearch',
- method: 'get',
- params: params
- })
- }
-
- export function getBloodPatientInfo(phone) {
- const params = {
- phone: phone
- }
- return request({
- url: '/m/api/patient/getbloodpatientinfo',
- method: 'get',
- params: params
- })
- }
-
- export function getSlowPatientInfo(phone) {
- const params = {
- phone: phone
- }
- return request({
- url: '/m/api/patient/getslowpatientinfo',
- method: 'get',
- params: params
- })
- }
-
- export function getMemberPatientInfo(phone) {
- const params = {
- phone: phone
- }
- return request({
- url: '/m/api/patient/getmemberpatientinfo',
- method: 'get',
- params: params
- })
- }
-
- export function getCourseManagement(id, limit, page, startime, endtime) {
- const params = {
- id: id,
- limit: limit,
- page: page,
- startime: startime,
- endtime: endtime
- }
- return request({
- url: '/m/api/patient/getcoursemanagement',
- method: 'get',
- params: params
- })
- }
-
- export function DeleteCouseManage(id, params) {
- return request({
- url: '/m/api/patient/delelecousemanage?id=' + id,
- method: 'delete',
- params: params
- })
- }
-
- export function getCouseManagementDetail(id, params) {
- return request({
- url: '/m/api/patient/getcousemanagementdetail?id=' + id,
- method: 'get',
- params: params
- })
- }
-
- export function DeleteDryWeight(id, params) {
- return request({
- url: '/m/api/patient/deletedryweight?id=' + id,
- method: 'delete',
- params: params
- })
- }
-
- export function getDryWeightDetail(id, params) {
- return request({
- url: '/m/api/patient/getdryweightdetail?id=' + id,
- method: 'get',
- params: params
- })
- }
-
- export function GetLongDialysisRecord(id, limit, page, startime, endtime) {
- const params = {
- id: id,
- limit: limit,
- page: page,
- startime: startime,
- endtime: endtime
- }
- return request({
- url: '/m/api/patient/getlongdialysisrecord',
- method: 'get',
- params: params
- })
- }
-
- export function GetPatientDetail(id, params) {
- return request({
- url: '/m/api/patient/getpatientdetail?id=' + id,
- method: 'get',
- params: params
- })
- }
-
- export function getRescueRecord(id, limit, page, startime, endtime) {
- const params = {
- id: id,
- limit: limit,
- page: page,
- startime: startime,
- endtime: endtime
- }
- return request({
- url: '/m/api/patient/getrescuerecord',
- method: 'get',
- params: params
- })
- }
-
- export function getScheduling(id, limit, page, startime, endtime, mode_types) {
- const params = {
- id: id,
- limit: limit,
- page: page,
- startime: startime,
- endtime: endtime,
- mode_types: mode_types
- }
- return request({
- url: '/m/api/patient/getscheduling',
- method: 'get',
- params: params
- })
- }
-
- export function getEducation(id, limit, page, startime, endtime) {
- const params = {
- id: id,
- limit: limit,
- page: page,
- startime: startime,
- endtime: endtime
- }
- return request({
- url: '/m/api/patient/geteducation',
- method: 'get',
- params: params
- })
- }
-
- export function getSchedulingDetail(id, params) {
- return request({
- url: '/m/api/patient/getschedulingdetail?id=' + id,
- method: 'get',
- params: params
- })
- }
-
- export function DeleteScheduling(id, params) {
- return request({
- url: '/m/api/patient/deletescheduling?id=' + id,
- method: 'delete',
- params: params
- })
- }
-
- export function getEducationDetail(id, params) {
- return request({
- url: '/m/api/patient/geteducationdetail?id=' + id,
- method: 'get',
- params: params
- })
- }
-
- export function DeleteEducationOne(id, params) {
- return request({
- url: '/m/api/patient/deleteeductionone?id=' + id,
- method: 'delete',
- params: params
- })
- }
-
- export function getRescueRecordDetail(id, params) {
- return request({
- url: '/m/api/patient/getrescuerecorddetail?id=' + id,
- method: 'get',
- params: params
- })
- }
-
- export function DeleteRescueRecord(id, params) {
- return request({
- url: '/m/api/patient/deleterescuerecord?id=' + id,
- method: 'delete',
- params: params
- })
- }
-
- export function toSearchPatient(keyword) {
- const params = {
- keyword: keyword
- }
- return request({
- url: '/m/api/patient/tosearchepatient',
- method: 'get',
- params: params
- })
- }
-
- export function SearchAllPatient(keyword) {
- const params = {
- keyword: keyword
- }
- return request({
- url: '/m/api/patient/searchallpatient',
- method: 'get',
- params: params
- })
- }
-
- export function SearchAllBlood(keyword) {
- const params = {
- keyword: keyword
- }
- return request({
- url: '/m/api/patient/searchallblood',
- method: 'get',
- params: params
- })
- }
-
- export function getSlowSearchPatient(keyword) {
- const params = {
- keyword: keyword
- }
- return request({
- url: '/m/api/patient/getslowsearchepatient',
- method: 'get',
- params: params
- })
- }
-
- export function getMemberSearchPatient(keyword) {
- const params = {
- keyword: keyword
- }
- return request({
- url: '/m/api/patient/getmembersearchpatient',
- method: 'get',
- params: params
- })
- }
-
- export function getLongDialysisDetail(id, params) {
- return request({
- url: '/m/api/patient/getlongdialysisdetail?id=' + id,
- method: 'get',
- params: params
- })
- }
-
- export function DeleteLongDialysis(id, params) {
- return request({
- url: '/m/api/patient/deletelongdialysis?id=' + id,
- method: 'delete',
- params: params
- })
- }
-
- export function getDialysisRecord(id, limit, page, startime, endtime, dislysType) {
- const params = {
- id: id,
- limit: limit,
- page: page,
- startime: startime,
- endtime: endtime,
- dislysType: dislysType
- }
- return request({
- url: '/m/api/patient/getdialysisrecord',
- method: 'get',
- params: params
- })
- }
-
- export function GetDoctorAdviceDetail(id, params) {
- return request({
- url: '/m/api/patient/getdoctoradvicedetail?id=' + id,
- method: 'get',
- params: params
- })
- }
-
- export function DeleteManagement(id, params) {
- return request({
- url: '/m/api/patient/deletemanagement?id=' + id,
- method: 'delete',
- params: params
- })
- }
-
- export function DeleteChild(id, params) {
- return request({
- url: '/m/api/patient/deletechild?id=' + id,
- method: 'delete',
- params: params
- })
- }
-
- export function updatedPatient(data) {
- return request({
- url: '/m/api/patient/updatedpatient',
- method: 'post',
- data: data
- })
- }
-
- export function getAllDoctor(params) {
- return request({
- url: '/m/api/patient/getalldoctor',
- method: 'get',
- params: params
- })
- }
-
- export function getAllInspection(params) {
- return request({
- url: '/m/api/patient/getallinspection',
- method: 'get',
- params: params
- })
- }
-
- export function getInspection(id, limit, page, startime, endtime, projectid) {
- const params = {
- id: id,
- limit: limit,
- page: page,
- startime: startime,
- endtime: endtime,
- projectid: projectid
- }
- return request({
- url: '/m/api/patient/getinspection',
- method: 'get',
- params: params
- })
- }
-
- export function getMyInformation(id, params) {
- return request({
- url: '/m/api/patient/getmyinformation?id=' + id,
- method: 'get',
- params: params
- })
- }
-
- export function getPatientName(id, params) {
- return request({
- url: '/m/api/patient/getpatientname?id=' + id,
- method: 'get',
- params: params
- })
- }
-
- export function getInspectionDetail(patientid, date, projectid) {
- const params = {
- patientid: patientid,
- date: date,
- projectid: projectid
- }
- return request({
- url: '/m/api/patient/getinspectiondetail',
- method: 'get',
- params: params
- })
- }
-
- export function submitFeed(params) {
- return request({
- url: '/m/api/patient/savefeed',
- method: 'get',
- params: params
- })
- }
-
- export function DeleteInspection(date) {
- const params = {
- date: date
- }
- return request({
- url: '/m/api/patient/deleteinspection',
- method: 'delete',
- params: params
- })
- }
-
- export function DeleteChildInspection(name, date) {
- const params = {
- name: name,
- date: date
- }
- return request({
- url: '/m/api/patient/deletechildinspection',
- method: 'delete',
- params: params
- })
- }
-
- export function SaveMessage(params) {
- return request({
- url: '/m/api/patient/savemessage',
- method: 'get',
- params: params
- })
- }
-
- export function SaveSex(sex, id) {
- const params = {
- sex: sex,
- id: id
- }
- return request({
- url: '/m/api/patient/savesex',
- method: 'get',
- params: params
- })
- }
-
- export function SaveBirthday(data) {
- return request({
- url: '/m/api/patient/savebirthday',
- method: 'post',
- data: data
- })
- }
-
- export function getOrgName(id, params) {
- return request({
- url: '/m/api/patient/getorgname?id=' + id,
- method: 'Get',
- params: params
- })
- }
-
- export function getRoleName(id, params) {
- return request({
- url: '/m/api/patient/getrolename?id=' + id,
- method: 'get',
- params: params
- })
- }
-
- export function SavePartition(params) {
- return request({
- url: '/m/api/patient/savepartition',
- method: 'get',
- params: params
- })
- }
-
- export function GetAllZone(page, limit) {
- const params = {
- page: page,
- limit: limit
- }
- return request({
- url: '/m/api/patient/getallzone',
- method: 'get',
- params: params
- })
- }
-
- export function DeleteZone(id, params) {
- return request({
- url: '/m/api/patient/deletezone?id=' + id,
- method: 'delete',
- params: params
- })
- }
-
- export function saveGroup(params) {
- return request({
- url: '/m/api/patient/savegroup',
- method: 'get',
- params: params
- })
- }
-
- export function getAllGroup(page, limit) {
- const params = {
- page: page,
- limit: limit
- }
- return request({
- url: '/m/api/patient/getallgroup',
- method: 'get',
- params: params
- })
- }
-
- export function DeleteGroup(id, params) {
- return request({
- url: '/m/api/patient/deletegroup?id=' + id,
- method: 'delete',
- params: params
- })
- }
-
- export function getAllGroupOne(params) {
- return request({
- url: '/m/api/patient/getallgroupone',
- method: 'get',
- params: params
- })
- }
-
- export function SaveBed(params) {
- return request({
- url: '/m/api/patient/savebed',
- method: 'get',
- params: params
- })
- }
-
- export function GetAllNumber(page, limit) {
- const params = {
- page: page,
- limit: limit
- }
- return request({
- url: '/m/api/patient/getallnumber',
- method: 'get',
- params: params
- })
- }
-
- export function DeleteBed(id, params) {
- return request({
- url: '/m/api/patient/deletebed?id=' + id,
- method: 'delete',
- params: params
- })
- }
-
- export function LoginOut(id, params) {
- return request({
- url: '/m/api/patient/loginout?id=' + id,
- method: 'get',
- params: params
- })
- }
-
- export function getMemberPatient(params) {
- return request({
- url: '/m/api/patient/getmemberpatient',
- method: 'get',
- params: params
- })
- }
-
- export function getSlowPatient(params) {
- return request({
- url: '/m/api/patient/getslowpatient',
- method: 'get',
- params: params
- })
- }
-
- export function getBloodPatient(params) {
- return request({
- url: '/m/api/patient/getbloodpatient',
- method: 'get',
- params: params
- })
- }
-
- export function DeletePatient(id, params) {
- return request({
- url: '/m/api/patient/deletePatient?id=' + id,
- method: 'delete',
- params: params
- })
- }
-
- export function saveName(id, name) {
- const params = {
- id: id,
- name: name
- }
- return request({
- url: '/m/api/patient/savename',
- method: 'get',
- params: params
- })
- }
-
- export function getAllOrganization(id, params) {
- return request({
- url: '/m/api/patient/getallorganization?id=' + id,
- method: 'get',
- params: params
- })
- }
-
- export function getMyOrganazition(id, params) {
- return request({
- url: '/m/api/patient/getmyorganazition?id=' + id,
- method: 'get',
- params: params
- })
- }
-
- export function getOrgInformation(id, params) {
- return request({
- url: '/m/api/org/getorginformation?id=' + id,
- method: 'get',
- params: params
- })
- }
-
- export function getAllOrgType(params) {
- return request({
- url: '/m/api/patient/getallorgtype',
- method: 'get',
- params: params
- })
- }
-
- export function updateOrg(params, id) {
- return request({
- url: '/m/api/patient/editorg?id=' + id,
- method: 'get',
- params: params
- })
- }
-
- export function getMyInforName(id, params) {
- return request({
- url: '/m/api/patient/getmyinforname?id=' + id,
- method: 'get',
- params: params
- })
- }
-
- export function getPartionDetail(id, params) {
- return request({
- url: '/m/api/patient/getpartiondetail?id=' + id,
- method: 'get',
- params: params
- })
- }
-
- export function UpdatePartition(params) {
- return request({
- url: '/m/api/patient/updatepartition',
- method: 'get',
- params: params
- })
- }
-
- export function getGroupDetail(id, params) {
- return request({
- url: '/m/api/patient/getgroupdetail?id=' + id,
- method: 'get',
- params: params
- })
- }
-
- export function updateGroup(params) {
- return request({
- url: '/m/api/patient/updategroup',
- method: 'get',
- params: params
- })
- }
-
- export function getBedDetail(id, params) {
- return request({
- url: '/m/api/patient/getbeddetail?id=' + id,
- method: 'get',
- params: params
- })
- }
-
- export function updateBed(params) {
- console.log('params', params)
- return request({
- url: '/m/api/patient/updatebed',
- method: 'get',
- params: params
- })
- }
|