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

no message

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