123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166 |
- 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 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) {
- console.log('data', 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) {
- console.log('数据出发了没有')
- 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) {
- console.log('id', id)
- console.log('limit', limit)
- console.log('page', page)
- console.log('startime', startime)
- console.log('endtime', endtime)
- const params = {
- id: id,
- limit: limit,
- page: page,
- startime: startime,
- endtime: endtime
- }
- return request({
- url: '/m/api/patient/getcoursemanagement',
- method: 'get',
- params: params
- })
- }
|