123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406 |
- import request from '@/utils/request'
-
- export function fetchList(params) {
- return request({
- url: '/api/patients',
- method: 'get',
- params: params
- })
- }
-
- export function getSchedualPatient(params) {
- return request({
- url: '/api/dialysis/patients',
- method: 'get',
- params: params
- })
- }
-
- export function PatientInfo(params) {
- return request({
- url: '/api/dialysis/info',
- method: 'get',
- params: params
- })
- }
-
- export function doctorAndNurseList(params) {
- return request({
- url: '/api/alldoctors',
- method: 'get',
- params: params
- })
- }
-
- export function commitDailysisRecord(params) {
- return request({
- url: '/api/dialysis/record',
- method: 'post',
- params: params
- })
- }
-
- export function getGobelInfo(params) {
- return request({
- url: '/api/dialysis/golbal',
- method: 'post',
- params: params
- })
- }
-
- export function CreateDoctorAdvice(id, dialysisId, record_date, params) {
- return request({
- url: '/api/dialysis/advice/create?id=' + id + '&dialysis_id=' + dialysisId + '&record_date=' + record_date,
- method: 'post',
- data: params
- })
- }
-
- export function getDoctorAdviceById(params) {
- return request({
- url: '/api/dialysis/advice/get',
- method: 'get',
- params: params
- })
- }
-
- export function editDoctorAdviceById(params) {
- return request({
- url: '/api/dialysis/advice/edit',
- method: 'put',
- params: params
- })
- }
-
- export function CreateMonitor(params) {
- return request({
- url: '/api/dialysis/monitor/create',
- method: 'post',
- params: params
- })
- }
-
- export function DelMonitor(params) {
- return request({
- url: '/api/dialysis/monitor/del',
- method: 'post',
- params: params
- })
- }
-
- export function GetAllZone(params) {
- return request({
- url: '/api/dialysis/zone',
- method: 'get',
- params: params
- })
- }
-
- export function PostStartRecordInfo(params) {
- return request({
- url: '/api/dialysis/start',
- method: 'post',
- params: params
- })
- }
-
- export function GetGlobalInfo(params) {
- return request({
- url: '/api/dialysis/device',
- method: 'get',
- params: params
- })
- }
-
- export function GetDeviceInfo(params) {
- return request({
- url: '/api/dialysis/device',
- method: 'get',
- params: params
- })
- }
-
- export function commitDailysisSolution(params) {
- return request({
- url: '/api/dialysis/global',
- method: 'get',
- params: params
- })
- }
-
- export function delMonitor(params) {
- return request({
- url: '/api/dialysis/monitor/del',
- method: 'post',
- params: params
- })
- }
-
- export function getDialysisRecord(params) {
- return request({
- url: '/api/dialysis/dialysisorder',
- method: 'Get',
- params: params
- })
- }
-
- export function postPrescription(params) {
- console.log('params', params)
- return request({
- url: '/api/dialysis/prescription',
- method: 'Post',
- params: params,
- headers: {
- 'Permission': 2
- }
- })
- }
-
- export function postSoulution(params) {
- console.log('params', params)
- return request({
- url: '/api/dialysis/soulution',
- method: 'Post',
- params: params,
- headers: {
- 'Permission': 2
- }
-
- })
- }
-
- export function postDoubleCheck(params) {
- return request({
- url: '/api/dialysis/dobule',
- method: 'Post',
- params: params,
- headers: {
- 'Permission': 2
- }
-
- })
- }
-
- export function postAccepts(params) {
- console.log('params', params)
- return request({
- url: '/api/dialysis/accepts',
- method: 'Post',
- params: params,
- headers: {
- 'Permission': 2
- }
-
- })
- }
-
- export function postAssessmentBeforeDislysis(params) {
- console.log('params', params)
- return request({
- url: '/api/dialysis/assessmentbeforedislysis',
- method: 'Post',
- params: params,
- headers: {
- 'Permission': 2
- }
-
- })
- }
-
- export function postTreatmentsummary(params) {
- console.log('param223322323', params)
- return request({
- url: '/api/dialysis/treatmentsummary',
- method: 'Post',
- params: params,
- headers: {
- 'Permission': 2
- }
-
- })
- }
-
- export function postAssessmentAfterDislysis(params, data) {
- return request({
- url: '/api/dialysis/assessmentafterdislysis',
- method: 'Post',
- params: params,
- data: data,
- headers: {
- 'Permission': 2
- }
-
- })
- }
-
- export function postDelMonitorInfo(params) {
- return request({
- url: '/api/dialysis/monitor/del',
- method: 'Post',
- params: params,
- data: data
- })
- }
-
- export function CreateGroupAdvice(id, groupno, advices) {
- return request({
- url: '/api/advice_remind/create?id=' + id + '&groupno=' + groupno,
- method: 'post',
- data: advices,
- headers: {
- 'Permission': 2
- }
-
- })
- }
-
- export function GetSolution(params) {
- return request({
- url: '/api/solution/get',
- method: 'get',
- params: params
- })
- }
-
- export function CreateDryWeight(params) {
- return request({
- url: '/api/dryweight/commit',
- method: 'post',
- params: params,
- headers: {
- 'Permission': 2
- }
-
- })
- }
-
- export function GetDialysisgoods(params) {
- return request({
- url: '/api/dialysisgoods/get',
- method: 'get',
- params: params
-
- })
- }
-
- export function GetDialysisGoodStatistics(params) {
- return request({
- url: '/api/goodstatistics/get',
- method: 'get',
- params: params
-
- })
- }
-
- export function changeRole(params) {
- return request({
- url: '/api/get/getrolelist',
- method: 'get',
- params: params
- })
- }
-
- export function getPatientDialysisSolutionGroupList(params) {
- return request({
- url: '/api/patient/getpatientdialysissolutiongrouplist',
- method: 'get',
- params: params
- })
- }
-
- export function getDialysisAdviceTemplateList(params) {
- return request({
- url: '/api/patient/getdialysisadvicetemplatelist',
- method: 'get',
- params: params
- })
- }
-
- export function saveDialysisSetting(params) {
- return request({
- url: '/api/patient/savedialysissetting',
- method: 'get',
- params: params
- })
- }
-
- export function getDialysisSetting(params) {
- return request({
- url: '/api/patient/getdialysissetting',
- method: 'get',
- params: params
- })
- }
-
- export function getDialysisParameter(params) {
- return request({
- url: '/api/patient/getdialysisparameter',
- method: 'get',
- params: params
- })
- }
-
- export function getDialysisGoodTotalCount(params) {
- return request({
- url: '/api/patient/getdialysisgoodtotalcount',
- method: 'get',
- params: params
- })
- }
-
- export function getDialysisAdviceSchedudeList(params) {
- return request({
- url: '/api/patient/getdialysisadvicescheduelist',
- method: 'get',
- params: params
- })
- }
-
- export function getDialysisParameterGoodList(params) {
- return request({
- url: '/api/patient/getdialysisparametergoodlist',
- method: 'get',
- params: params
- })
- }
-
- export function saveHisDialysis(params) {
- return request({
- url: '/api/patient/savehisdialysis',
- method: 'get',
- params: params
- })
- }
-
- export function getHisDialysisGoodCount(params) {
- return request({
- url: '/api/patient/gethisdialysisgoodcount',
- method: 'get',
- params: params
- })
- }
-
- export function getSchedualPrintList(params) {
- return request({
- url: '/api/patient/getscheduleprintlist',
- method: 'get',
- params: params
- })
- }
-
- export function getSolutionlistByOrgId(params) {
- return request({
- url: '/api/patient/getsolutionlistbyorgid',
- method: 'get',
- params: params
- })
- }
-
- export function getDialysisAdviceToday(params) {
- return request({
- url: '/api/patient/getdialysisadvicetoday',
- method: 'get',
- params: params
- })
- }
|