提交 de323630 编写于 作者: tao.wu's avatar tao.wu

no message

上级 3f5718aa
......@@ -66,40 +66,40 @@ export const getPlanList = (params) => {
};
export const getPlanDetail = (planId) => {
return utils.checkAuth(()=>{
// return utils.checkAuth(()=>{
return fetch({
headers,
url: getFollowUpSC(`/followup/plans/${planId}`),
method: 'get',
description: '获取计划详情',
})
})
// })
};
export const getNodeTimeList = (planId) => {
return utils.checkAuth(()=>{
// return utils.checkAuth(()=>{
return fetch({
headers,
url: getFollowUpSC(`/followup/plans/${planId}/time`),
method: 'get',
description: '获取随访时间节点列表',
})
})
// })
};
export const getNodeTimeContent = (planTimeId) => {
return utils.checkAuth(()=>{
// return utils.checkAuth(()=>{
return fetch({
headers,
url: getFollowUpSC(`/followup/plans/time/${planTimeId}`),
method: 'get',
description: '获取节点详情',
})
})
// })
};
export const getResidentList = (params) => {
return utils.checkAuth(()=>{
// return utils.checkAuth(()=>{
return fetch({
headers,
url: getFollowUpSC(`/followup/planPatient/`),
......@@ -107,11 +107,11 @@ export const getResidentList = (params) => {
params: params,
description: '获取居民列表',
})
})
// })
};
export const getGroupList = (params) => {
return utils.checkAuth(()=>{
// return utils.checkAuth(()=>{
return fetch({
headers,
url: getFollowUpSC(`/followup/planPatient/group`),
......@@ -119,29 +119,29 @@ export const getGroupList = (params) => {
params: params,
description: '获取分组列表',
})
})
// })
};
export const getFollowStartTimeList = (planId) => {
return utils.checkAuth(()=>{
// return utils.checkAuth(()=>{
return fetch({
headers,
url: getFollowUpSC(`/followup/planPatient/${planId}/times`),
method: 'get',
description: '获取随访开始时间列表(居民相关)',
})
})
// })
};
export const getResidentDetail = (planId,patientId,fuPlanPatientId ) => {
return utils.checkAuth(()=>{
// return utils.checkAuth(()=>{
return fetch({
headers,
url: getFollowUpSC(`/followup/planPatient/${planId}/detail/${patientId}?planPatientsId=${fuPlanPatientId}`),
method: 'get',
description: '获取居民详情',
})
})
// })
};
export const changePlan = (data) => {
......@@ -180,7 +180,7 @@ export const deletePlan = (planId) => {
};
export const getVerifyStatus = (params) => {
return utils.checkAuth(()=>{
// return utils.checkAuth(()=>{
return fetch({
headers,
url: getFollowUpSC(`/followup/plans/validate/status`),
......@@ -188,7 +188,7 @@ export const getVerifyStatus = (params) => {
params: params,
description: '认证校验',
})
})
// })
};
/*预约管理*/
......@@ -217,7 +217,7 @@ export const getCheckReservation = (data) => {
};
export const getReservationPatients = (data) => {
return utils.checkAuth(()=>{
// return utils.checkAuth(()=>{
return fetch({
headers,
url: getFollowUpSC(`/followup/appoint/appointed/count`),
......@@ -225,7 +225,7 @@ export const getReservationPatients = (data) => {
data: data,
description: '查看预约人数',
})
})
// })
};
export const changeReservationStatus = (data) => {
......@@ -278,7 +278,7 @@ export const changeEnteringStatus = (data) => {
}
export const getEnteringInfo = (patientId, fuPlanPatientTimesId) => {
return utils.checkAuth(()=>{
// return utils.checkAuth(()=>{
return fetch({
headers,
url: getFollowUpSC(`/followup/entering/${patientId}/fuInfo/${fuPlanPatientTimesId}`),
......@@ -286,11 +286,11 @@ export const getEnteringInfo = (patientId, fuPlanPatientTimesId) => {
// params: params,
description: '随访单条信息查看',
},)
})
// })
}
export const getFormList = (planTimesId) => {
return utils.checkAuth(()=>{
// return utils.checkAuth(()=>{
return fetch({
headers,
url: getFollowUpSC(`/followup/entering/scale/${planTimesId}/list`),
......@@ -298,13 +298,13 @@ export const getFormList = (planTimesId) => {
// params: params,
description: '获取量表列表',
},)
})
// })
}
//获取新建计划居民列表
export const getPlanPatientsList = (data) =>{
return utils.checkAuth(()=>{
// return utils.checkAuth(()=>{
return fetch({
headers:{
sysCode: 9,
......@@ -315,13 +315,13 @@ export const getPlanPatientsList = (data) =>{
data: data,
description: '获取新建计划居民列表',
},)
})
// })
}
// 获取随访计划模板列表
export const getFollowupTemplate = (data) => {
return utils.checkAuth(()=>{
// return utils.checkAuth(()=>{
return fetch({
headers,
url: getFollowUpSC(`/followup/plans/templets`),
......@@ -329,13 +329,13 @@ export const getFollowupTemplate = (data) => {
data: data,
description: '获取随访计划模板列表',
})
})
// })
}
// 获取随访量表固定模板
export const getFollowupTableTemplate = (id) => {
return utils.checkAuth(()=>{
// return utils.checkAuth(()=>{
return fetch({
headers,
url: getFollowUpSC(`/followup/plans/templets/${id}`),
......@@ -343,13 +343,13 @@ export const getFollowupTableTemplate = (id) => {
data: {},
description: '获取随访量表固定模板',
})
})
// })
}
// 获取量表列表
export const getFormOptions = (data)=>{
return utils.checkAuth(()=>{
// return utils.checkAuth(()=>{
return fetch({
headers,
url: getFollowUpSC(`/followup/entering/scale/list`),
......@@ -357,13 +357,13 @@ export const getFormOptions = (data)=>{
data: data,
description: '获取量表列表',
})
})
// })
}
/*常量*/
export const getBasicData = (params) => {
return utils.checkAuth(()=>{
// return utils.checkAuth(()=>{
return fetch({
headers,
url: getFollowUpSC(`/basic-data/constants/`),
......@@ -371,13 +371,13 @@ export const getBasicData = (params) => {
params: params,
description: '获取常量',
})
})
// })
};
// 获取所有漫画列表
export const getAllEducationComtent = (data) => {
return utils.checkAuth(()=>{
// return utils.checkAuth(()=>{
return fetch({
headers,
url: getFollowUpSC(`/healths/comtent/workstation/list`),
......@@ -385,13 +385,13 @@ export const getAllEducationComtent = (data) => {
data: data,
description: '获取所有漫画列表'
})
})
// })
}
// 获取所有疾病
export const getAllDiseases = (params) => {
return utils.checkAuth(()=>{
// return utils.checkAuth(()=>{
return fetch({
headers,
url: getFollowUpSC(`/healths/patients/diseases/-1`),
......@@ -399,13 +399,13 @@ export const getAllDiseases = (params) => {
params: params,
description: '获取所有疾病',
})
})
// })
}
// 获取所有分组
export const getAllLabels = (params) => {
return utils.checkAuth(()=>{
// return utils.checkAuth(()=>{
return fetch({
headers,
url: getFollowUpSC(`/healths/labels/`),
......@@ -413,13 +413,13 @@ export const getAllLabels = (params) => {
params: params,
description: '获取所有分组',
})
})
// })
}
// 获取微信和短信病人数接口
export const getPatientNumber = (data) => {
return utils.checkAuth(()=>{
// return utils.checkAuth(()=>{
return fetch({
headers: {
sysCode: 9,
......@@ -430,7 +430,7 @@ export const getPatientNumber = (data) => {
data: data,
description: '获取微信和短信病人数接口',
})
})
// })
}
......@@ -443,9 +443,6 @@ export const getPatientNumber = (data) => {
export const getDomain = (data) => {
return fetch({
url: getFollowUpSC(`/followup/route/domain?type=1`),
headers:{
hospitalAuth:true
},
method: 'get',
data: {},
})
......@@ -455,9 +452,6 @@ export const getDomain = (data) => {
export const getScaleModels = (domain,scaleNo) => {
return fetch({
url: `${domain}/scale/${scaleNo}/models`,
headers:{
hospitalAuth:true
},
method: 'get',
data: {},
})
......@@ -467,9 +461,6 @@ export const getScaleModels = (domain,scaleNo) => {
export const getScaleDetail = (domain,planPatientsTimesId,scaleNo) => {
return fetch({
url: `${domain}/scale/${planPatientsTimesId}/${scaleNo}/info?type=2&isLine=2`,
headers:{
hospitalAuth:true
},
method: 'get',
data: {},
})
......@@ -479,9 +470,6 @@ export const getScaleDetail = (domain,planPatientsTimesId,scaleNo) => {
export const postScale = ( domain,data ) => {
return fetch({
url: `${domain}/scale/save`,
headers:{
hospitalAuth:true
},
method: 'post',
data: JSON.stringify(data),
})
......@@ -491,9 +479,6 @@ export const postScale = ( domain,data ) => {
export const updateScalesStatus = ( data ) => {
return fetch({
url: getFollowUpSC(`/followup/entering/scale/updateScalesStatus`),
headers:{
hospitalAuth:true
},
method: 'post',
data: data,
})
......
......@@ -57,7 +57,6 @@ export default {
description: '检查用户的机构权限',
}).then(res => {
// 1、未加入 2、审核中 3、加入成功
res.data = 2
if (res.code == '000000') {
if (res.data == 1) {
// 点击 去加入,进入加入机构流程
......
......@@ -9,7 +9,7 @@ const headers = {
/*常量API*/
export const getConstants = (params) => {
return utils.checkAuth(()=>{
// return utils.checkAuth(()=>{
return fetch({
headers,
url: getBaseUrl(`basic-data/constants/`),
......@@ -17,11 +17,11 @@ export const getConstants = (params) => {
params: params,
description: '获取常量',
})
})
// })
};
/*获取省市县乡列表*/
export const getProvinceList = (params) => {
return utils.checkAuth(()=>{
// return utils.checkAuth(()=>{
return fetch({
headers,
url: getBaseUrl(`basic-data/position/provinces`),
......@@ -29,10 +29,10 @@ export const getProvinceList = (params) => {
params: params,
description: '获取省列表',
})
})
// })
};
export const getCityList = (params) => {
return utils.checkAuth(()=>{
// return utils.checkAuth(()=>{
return fetch({
headers,
url: getBaseUrl(`basic-data/position/cities`),
......@@ -40,10 +40,10 @@ export const getCityList = (params) => {
params: params,
description: '获取市列表',
})
})
// })
};
export const getCountyList = (params) => {
return utils.checkAuth(()=>{
// return utils.checkAuth(()=>{
return fetch({
headers,
url: getBaseUrl(`basic-data/position/counties`),
......@@ -51,10 +51,10 @@ export const getCountyList = (params) => {
params: params,
description: '获取区县列表',
})
})
// })
};
export const getTownList = (params) => {
return utils.checkAuth(()=>{
// return utils.checkAuth(()=>{
return fetch({
headers,
url: getBaseUrl(`basic-data/position/towns`),
......@@ -62,7 +62,7 @@ export const getTownList = (params) => {
params: params,
description: '获取乡镇列表',
})
})
// })
};
/*居民管理*/
export const getPatientList = (data) => {
......@@ -77,7 +77,7 @@ export const getPatientList = (data) => {
})
};
export const getDiseasesList = (params) => {
return utils.checkAuth(()=>{
// return utils.checkAuth(()=>{
return fetch({
headers,
url: getBaseUrl(`healths/patients/diseases/-1`),
......@@ -85,7 +85,7 @@ export const getDiseasesList = (params) => {
params: params,
description: '获取所有疾病',
})
})
// })
};
// 新增居民
......@@ -126,7 +126,7 @@ export const refreshCode = data => {
}
export const getLabelsInfo = params => {
return utils.checkAuth(()=>{
// return utils.checkAuth(()=>{
return fetch({
headers,
url: getBaseUrl(`healths/qrcodes/getLabelsInfo`),
......@@ -134,7 +134,7 @@ export const getLabelsInfo = params => {
params: params,
description: '获取分组信息',
})
})
// })
}
export const downloadQRCode = data => {
......@@ -150,7 +150,7 @@ export const downloadQRCode = data => {
}
export const uploadExcel = data => {
return utils.checkAuth(()=>{
// return utils.checkAuth(()=>{
return fetch({
headers: {
noSysCode: true,
......@@ -161,12 +161,12 @@ export const uploadExcel = data => {
data: data,
description: '上传excel文件',
})
})
// })
}
// 分组管理
export const getLabelList = (params) => {
return utils.checkAuth(()=>{
// return utils.checkAuth(()=>{
return fetch({
headers,
url: getBaseUrl(`healths/labels/`),
......@@ -174,7 +174,7 @@ export const getLabelList = (params) => {
params: params,
description: '获取分组列表',
})
})
// })
}
export const createNewLabel = (data) => {
......@@ -205,7 +205,7 @@ export const changeLabelName = (data) => {
}
export const getLabelDetail = (labelId, params) => {
return utils.checkAuth(()=>{
// return utils.checkAuth(()=>{
return fetch({
headers,
url: getBaseUrl(`healths/labels/v2/${labelId}/patients`),
......@@ -213,7 +213,7 @@ export const getLabelDetail = (labelId, params) => {
params: params,
description: '获取分组详情',
})
})
// })
}
export const deleteCurrentLabel = (data) => {
......@@ -269,10 +269,9 @@ export const getQiniuToken = (params) => {
// 意见反馈 getSaasApiDomain
export const submitFeedback = (data) => {
return utils.checkAuth(()=>{
// return utils.checkAuth(()=>{
return fetch({
headers: {
// hospitalAuth:true,
noSysCode: true,
"Content-Type": 'application/json'
},
......@@ -280,20 +279,20 @@ export const submitFeedback = (data) => {
method: 'post',
data: data,
})
})
// })
};
/*资料不全居民*/
export const getNotCompleteList = (params) => {
return utils.checkAuth(()=>{
// return utils.checkAuth(()=>{
return fetch({
headers,
url: getBaseUrl(`healths/patients/uncomplate/${params.pageNo}/${params.pageSize}`),
method: 'get',
description: '获取资料不全居民列表',
})
})
// })
};
export const sendCompleteMessage = (data) => {
......@@ -321,7 +320,7 @@ export const sendCompleteMessageList = (data) => {
};
export const getNotCompleteCount = (params) => {
return utils.checkAuth(()=>{
// return utils.checkAuth(()=>{
return fetch({
headers,
url: getBaseUrl(`healths/patients/uncomplate/counts`),
......@@ -329,7 +328,7 @@ export const getNotCompleteCount = (params) => {
params: params,
description: '获取未完善居民人数',
})
})
// })
};
export const getRedNum = (params) => {
......@@ -343,7 +342,7 @@ export const getRedNum = (params) => {
})
};
export const getPatientDetail = (patientId) => {
return utils.checkAuth(()=>{
// return utils.checkAuth(()=>{
return fetch({
headers,
url: getBaseUrl(`healths/patients/${patientId}`),
......@@ -351,7 +350,7 @@ export const getPatientDetail = (patientId) => {
// params: params,
description: '获取居民详情',
})
})
// })
};
export const deletePatient = (data) => {
......@@ -391,7 +390,7 @@ export const savePatientInfo = (data) => {
};
export const getNationsList = (params) => {
return utils.checkAuth(()=>{
// return utils.checkAuth(()=>{
return fetch({
headers,
url: getBaseUrl(`resident/constants/nations`),
......@@ -399,11 +398,11 @@ export const getNationsList = (params) => {
params: params,
description: '获取56个民族列表',
})
})
// })
};
export const getHealthRecordList = (data) => {
return utils.checkAuth(()=>{
// return utils.checkAuth(()=>{
return fetch({
headers,
url: getBaseUrl(`followup/entering/health/records`),
......@@ -411,7 +410,7 @@ export const getHealthRecordList = (data) => {
data: data,
description: '健康档案记录列表',
})
})
// })
};
/*新的获取居民接口,搜索条件有变化*/
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册