123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556 |
- import request from '@/utils/request'
- import url from 'postcss-url'
- import { data } from 'autoprefixer'
-
- export function getInspectionMajor(params) {
- return request({
- url: '/com/api/getinspectionmajor',
- method: 'get',
- params: params
- })
- }
-
- export function getInspectionMinor(id, params) {
- return request({
- url: '/com/api/getinspectionminor?id=' + id,
- method: 'get',
- params: params
- })
- }
-
- export function getInspectionRange(id, params) {
- return request({
- url: '/com/api/getinspectionrange?id=' + id,
- method: 'get',
- params: params
- })
- }
-
- export function saveConfiguration(data) {
- console.log('data', data)
- return request({
- url: '/com/api/saveconfiguration',
- method: 'post',
- data: data
- })
- }
-
- export function getConfigurationList(limit, page) {
- const params = {
- limit: limit,
- page: page
- }
- return request({
- url: 'com/api/getconfigurationlist',
- method: 'get',
- params: params
- })
- }
-
- export function getConfigurationDetail(id, params) {
-
- return request({
- url: 'com/api/getconfigurationdetail?id=' + id,
- method: 'get',
- params: params
- })
- }
-
- export function getAllInspectionMinor(params) {
- return request({
- url: 'com/api/getallinspectionminor',
- method: 'get',
- params: params
- })
- }
-
- export function UpdateConfiguration(id, data) {
- console.log('data', data)
- return request({
- url: 'com/api/updateconfiguration?id=' + id,
- method: 'post',
- data: data
- })
- }
-
- export function DeleteConfiguration(id, params) {
- return request({
- url: 'com/api/deleteconfiguration?id=' + id,
- method: 'delete',
- params: params
- })
- }
-
- export function getAllInspectionData(params) {
- return request({
- url: 'com/api/getallinspectiondata',
- method: 'get',
- params: params
- })
- }
-
- export function SaveCheckConfiguration(data) {
- console.log('data', data)
- return request({
- url: '/com/api/savecheckconfiguration',
- method: 'post',
- data: data
- })
- }
-
- export function getAllCheckList(page, limit) {
- const params = {
- page: page,
- limit: limit
- }
- return request({
- url: '/com/api/getallchecklist',
- method: 'get',
- params: params
- })
- }
-
- export function getCheckDetail(id, params) {
- return request({
- url: '/com/api/getcheckdetail?id=' + id,
- method: 'get',
- params: params
- })
- }
-
- export function UpdateCheck(id, data) {
- return request({
- url: '/com/api/updatecheck?id=' + id,
- method: 'post',
- data: data
- })
- }
-
- export function DeleteCheck(id, params) {
- return request({
- url: '/com/api/deletecheck?id=' + id,
- method: 'delete',
- params: params
- })
- }
-
- export function getDialysisModeType(startime, endtime,lapsetotype,sourcetype) {
- const params = {
- startime: startime,
- endtime: endtime,
- lapsetotype:lapsetotype,
- sourcetype:sourcetype,
- }
- console.log("parasm22222",params)
- return request({
- url: '/com/api/getdialysismodetype',
- method: 'get',
- params: params
- })
- }
-
- export function getTotalLapseCount(startime, endtime,lapsetotype,sourcetype) {
- const params = {
- startime: startime,
- endtime: endtime,
- lapsetotype:lapsetotype,
- sourcetype:sourcetype,
- }
- console.log('转归params', params)
- return request({
- url: '/com/api/gettotallapsecount',
- method: 'get',
- params: params
- })
- }
-
- export function getTotalSexCount(startime, endtime,lapsetotype,sourcetype) {
- const params = {
- startime: startime,
- endtime: endtime,
- lapsetotype:lapsetotype,
- sourcetype:sourcetype,
- }
- return request({
- url: '/com/api/gettotalsexcount',
- method: 'get',
- params: params
- })
- }
-
- export function getTotalInfectiousCount(startime, endtime,lapsetotype,sourcetype) {
- const params = {
- startime: startime,
- endtime: endtime,
- lapsetotype:lapsetotype,
- sourcetype:sourcetype,
- }
- console.log('传染病', params)
- return request({
- url: '/com/api/gettoalinfectiouscount',
- method: 'get',
- params: params
- })
- }
-
- export function getTotalAgeCount(startime, endtime,lapsetotype,sourcetype) {
- const params = {
- startime: startime,
- endtime: endtime,
- lapsetotype:lapsetotype,
- sourcetype:sourcetype,
- }
- return request({
- url: '/com/api/gettotalagecount',
- method: 'get',
- params: params
- })
- }
-
- export function getTotalDialysisCount(startime, endtime,lapsetotype,sourcetype) {
- const params = {
- startime: startime,
- endtime: endtime,
- lapsetotype:lapsetotype,
- sourcetype:sourcetype,
- }
- return request({
- url: '/com/api/gettotaldialysiscount',
- method: 'get',
- params: params
- })
- }
-
- export function getCurrentOrgPatients(params) {
- return request({
- url: '/com/api/getcurentorgpatients',
- method: 'get',
- params: params
- })
- }
-
- export function getDialysisList(startime, endtime, page, limit) {
- const params = {
- startime: startime,
- endtime: endtime,
- page: page,
- limit: limit
- }
- return request({
- url: '/com/api/getdialysislist',
- method: 'get',
- params: params
- })
- }
-
- export function getLastSort(params) {
- return request({
- url: '/com/api/getlastsort',
- method: 'get',
- params: params
- })
- }
-
- export function getLastCheckList(params) {
- return request({
- url: '/com/api/getlastchecklist',
- method: 'Get',
- params: params
- })
- }
-
- export function getDialysisDetailById(id, startime, endtime, limit, page) {
- const params = {
- id: id,
- startime: startime,
- endtime: endtime,
- limit: limit,
- page: page
- }
- return request({
- url: '/com/api/getdialysisdetailbyid',
- method: 'get',
- params: params
- })
- }
-
- export function getPrescriptionByName(patientid, startime, endtime, limit, page) {
- const params = {
- patientid: patientid,
- startime: startime,
- endtime: endtime,
- limit: limit,
- page: page
- }
- // console.log('params', params)
- return request({
- url: '/com/api/getprescriptionbyname',
- method: 'Get',
- params: params
- })
- }
-
- export function geStatistics(params) {
- return request({
- url: '/com/api/getstatistics',
- method: 'Get',
- params: params
- })
- }
-
- export function getInspectionTotalCount(startime, endtime, patientid) {
- const params = {
- startime: startime,
- endtime: endtime,
- patientid: patientid
- }
- console.log('病人新项目', params)
- return request({
- url: '/com/api/getinspectiontotalcount',
- method: 'get',
- params: params
- })
- }
-
- export function getInspectionDetailById(id, startime, endtime) {
- const params = {
- id: id,
- startime: startime,
- endtime: endtime
- }
- console.log('params', params)
- return request({
- url: '/com/api/getinspectionDetailById',
- method: 'get',
- params: params
- })
- }
-
- export function getSearchPatientInfo(patientid, startime, endtime) {
- const params = {
- patientid: patientid,
- startime: startime,
- endtime: endtime
- }
- return request({
- url: '/com/api/getsearchpatientinfo',
- method: 'get',
- params: params
- })
- }
-
- export function getAllMajorInspection(params) {
- return request({
- url: '/com/api/getallmajorInspection',
- method: 'Get',
- params: params
- })
- }
-
- export function getPatientList(startime, endtime, limit, page) {
- const params = {
- startime: startime,
- endtime: endtime,
- limit: limit,
- page: page
- }
- return request({
- url: '/com/api/getpatientlist',
- method: 'Get',
- params: params
- })
- }
-
- export function getPatientDetailCheck(id, startime, endtime) {
- const params = {
- id: id,
- startime: startime,
- endtime: endtime
- }
- return request({
- url: '/com/api/getPatientDetailCheck',
- method: 'get',
- params: params
- })
- }
-
- export function SearchDetailCheck(keyword, startime, endtime) {
- const params = {
- keyword: keyword,
- startime: startime,
- endtime: endtime
- }
-
- return request({
- url: '/com/api/searchdetailcheck',
- method: 'get',
- params: params
- })
- }
-
- export function getNormData(params) {
- return request({
- url: '/com/api/getnormdata',
- method: 'Get',
- params: params
- })
- }
-
- export function getFirstQuarter(params) {
- console.log('params', params)
- return request({
- url: '/com/api/getfirstquarter',
- method: 'get',
- params: params
- })
- }
-
- export function getProjectList(params) {
- return request({
- url: '/com/api/getprojectlist',
- method: 'get',
- params: params
- })
- }
-
- export function getMonthProjectList(params) {
- return request({
- url: '/com/api/getmonthprojectlist',
- method: 'get',
- params: params
- })
- }
-
- export function getPatientsControl(lapstor, startime, endtime, page, limit) {
- const params = {
- lapstor: lapstor,
- startime: startime,
- endtime: endtime,
- page: page,
- limit: limit
- }
- return request({
- url: '/com/api/getpatientscontrol',
- method: 'get',
- params: params
- })
- }
-
- export function getCartogramlist(lapsetor, startime, endtime, limit, page) {
- const params = {
- lapsetor: lapsetor,
- startime: startime,
- endtime: endtime,
- limit: limit,
- page: page
- }
-
- return request({
- url: '/com/api/getcartogramlist',
- method: 'Get',
- params: params
- })
- }
-
- export function getPatientContorlAnalysis(params) {
- return request({
- url: '/com/api/getpatientcontor',
- method: 'get',
- params: params
- })
- }
-
- export function GetQualityControl(params) {
- return request({
- url: '/com/api/getqualitycontrol',
- method: 'Get',
- params: params
- })
- }
-
- export function getTreatlist(params) {
- return request({
- url: '/com/api/gettreatlist',
- method: 'get',
- params: params
- })
- }
-
- export function getPatientComplianceDetail(params) {
- return request({
- url: '/com/api/getpatientcompliancedetal',
- method: 'Get',
- params: params
- })
- }
-
- export function getBloodPressureDetail(id, params) {
- return request({
- url: '/com/api/getbloodpressuredetail?id=' + id,
- method: 'get',
- params: params
- })
- }
-
- export function UpdateBloodPrussre(id, data) {
- console.log('data', data)
- return request({
- url: '/com/api/updatebloodprussre?id=' + id,
- method: 'post',
- data: data
- })
- }
-
- export function getBloodPressureList(params) {
- return request({
- url: '/com/api/getbloodpressurelist',
- method: 'get',
- params: params
- })
- }
-
- export function getMonthBloodList(params) {
- return request({
- url: '/com/api/getmonthbloodlist',
- method: 'get',
- params: params
- })
- }
-
- export function getIdSlist(data, patientid) {
- return request({
- url: '/com/api/getidslist?patientid=' + patientid,
- method: 'post',
- data: data
- })
- }
-
-
- export function getTreatModeList(params){
- console.log("params",params)
- return request({
- url:"/com/api/getreatmodelist",
- method:"get",
- params:params,
- })
- }
-
- export function getCountModeId(params){
- return request({
- url:'/com/api/getcountmodeid',
- method:"Get",
- params:params
- })
- }
-
- export function getRolloutCount(params){
-
- return request({
- url:"/com/api/getrolloutcount",
- method:"Get",
- params:params
- })
- }
-
-
|