diff --git a/api/pagesC/Healthrecords/index.js b/api/pagesC/Healthrecords/index.js new file mode 100644 index 0000000..2025d0e --- /dev/null +++ b/api/pagesC/Healthrecords/index.js @@ -0,0 +1,76 @@ +import request from "@/api/request.js" + +// 获取体检日期 +export function getPhysicalTime(identity) { + return request({ + url: `/applet/followup/fetch/record/${identity}`, + method: 'get', + header: { + region: uni.getStorageSync('region'), + } + }) +} +// 获取随访日期 +export function getVisitTime(phType, identity) { + return request({ + url: `/applet/followup/dateList/${phType}/${identity}`, + method: 'get', + header: { + region: uni.getStorageSync('region'), + } + }) +} + +// 获取个人基本信息 +export function getUserInfo(identity) { + return request({ + url: `/applet/signinfo/archive/${identity}`, + method: 'get', + header: { + region: uni.getStorageSync('region') + } + }) +} + +// 获取体检详情 +export function getPhysicalDetail(identity, id) { + return request({ + url: `/applet/followup/fetch/detail/${identity}/${id}`, + method: 'get', + header: { + region: uni.getStorageSync('region') + } + }) +} +// 获取随访详情 +export function getVisitDetail(phType, identity, id) { + return request({ + url: `/applet/followup/detail/${phType}/${identity}/${id}`, + method: 'get', + header: { + region: uni.getStorageSync('region') + } + }) +} + +// 获取复诊记录时间轴 +export function getSubsequentVisitTime(identity) { + return request({ + url: `/performance/timelineList/${identity}`, + method: 'get', + header: { + region: uni.getStorageSync('region'), + } + }) +} + +// 获取复诊记录详情 +export function getSubsequentVisitDetail(perRecordId) { + return request({ + url: `/performance/getDetail/${perRecordId}`, + method: 'get', + header: { + region: uni.getStorageSync('region') + } + }) +} \ No newline at end of file diff --git a/components/protocol/protocol.vue b/components/protocol/protocol.vue index 8276752..72c1934 100644 --- a/components/protocol/protocol.vue +++ b/components/protocol/protocol.vue @@ -176,7 +176,7 @@ }, openCamera() { let that = this - that.meimage='' + that.meimage = '' uni.chooseImage({ sizeType: ['compressed'], sourceType: ['camera'], @@ -197,7 +197,8 @@ success(respp) { that.signatureshow = false that.$emit('residentAutographPathlist', { - residentAutographPath: JSON.parse(respp.data).imgUrl, + residentAutographPath: JSON.parse(respp + .data).imgUrl, image: that.meimage }) } @@ -302,4 +303,4 @@ } } } - + \ No newline at end of file diff --git a/pages.json b/pages.json index 031bab1..b8bf794 100644 --- a/pages.json +++ b/pages.json @@ -633,28 +633,55 @@ "navigationBarTitleText": "设备列表", "enablePullDownRefresh": false } - }, - { + }, { "path": "testreport/testreport", "style": { "navigationBarTitleText": "检测报告", "enablePullDownRefresh": false } - }, - { + }, { "path": "notice/notice", "style": { "navigationBarTitleText": "", "onReachBottomDistance": 40, //距离底部多远时触发 单位为px "enablePullDownRefresh": true //设置参数为true } - }, - { + }, { "path": "noticedetails/noticedetails", "style": { "navigationBarTitleText": "", "enablePullDownRefresh": false } + }, { + "path": "myinformation/myinformation", + "style": { + "navigationBarTitleText": "个人信息", + "enablePullDownRefresh": false + } + }, { + "path": "archivesphysicalexamination/physicalexamination", + "style": { + "navigationBarTitleText": "体检报告", + "enablePullDownRefresh": false + } + }, { + "path": "hypertension/hypertension", + "style": { + "navigationBarTitleText": "高血压随访", + "enablePullDownRefresh": false + } + }, { + "path": "diabetes/diabetes", + "style": { + "navigationBarTitleText": "糖尿病随访", + "enablePullDownRefresh": false + } + }, { + "path": "subsequentVisitRecord/subsequentVisitRecord", + "style": { + "navigationBarTitleText": "复诊记录", + "enablePullDownRefresh": false + } } ] }, { diff --git a/pages/facecollection/facecollection.vue b/pages/facecollection/facecollection.vue index bed2a0f..3491fb3 100644 --- a/pages/facecollection/facecollection.vue +++ b/pages/facecollection/facecollection.vue @@ -293,7 +293,7 @@ z-index: 2; width: 750rpx; height: 100%; - background: url("@/static/pages/view_face_background.png") no-repeat center bottom; + background: url("@/pagesB/images/view_face_background.png") no-repeat center bottom; background-size: 750rpx 661rpx; } @@ -405,4 +405,4 @@ } } } - + \ No newline at end of file diff --git a/pages/homepage/homepage.vue b/pages/homepage/homepage.vue index 6033d16..e4a499e 100644 --- a/pages/homepage/homepage.vue +++ b/pages/homepage/homepage.vue @@ -17,12 +17,12 @@ 家医签约 - + diff --git a/pages/login/login.vue b/pages/login/login.vue index 53dba97..47359bd 100644 --- a/pages/login/login.vue +++ b/pages/login/login.vue @@ -52,7 +52,7 @@ import { mapMutations } from "vuex"; - import contenttext from '../../components/text.vue' + import contenttext from '@/pagesC/logintext/text.vue'; export default { components: { contenttext, diff --git a/pages/medicalservice/medicalservice.vue b/pages/medicalservice/medicalservice.vue index 452fa02..b66a664 100644 --- a/pages/medicalservice/medicalservice.vue +++ b/pages/medicalservice/medicalservice.vue @@ -7,17 +7,17 @@ --> - - + + 常用服务 - - - - + + + + 健康资讯 diff --git a/pages/register/register.vue b/pages/register/register.vue index 3d29057..e9ba9ae 100644 --- a/pages/register/register.vue +++ b/pages/register/register.vue @@ -2,7 +2,7 @@ - + 人脸采集 @@ -145,7 +145,7 @@ getNurseType, information } from '@/api/pagesB/information/index.js' - import contenttext from '../../components/text.vue' + import contenttext from '@/pagesC/logintext/text.vue'; import { getSubordinateRegions, } from '@/api/pagesB/modifyAddress/modifyAddress.js'; diff --git a/pagesB/Serviceevaluation/Serviceevaluation.vue b/pagesB/Serviceevaluation/Serviceevaluation.vue index e150ce0..1e0a4ec 100644 --- a/pagesB/Serviceevaluation/Serviceevaluation.vue +++ b/pagesB/Serviceevaluation/Serviceevaluation.vue @@ -2,7 +2,7 @@ - + 我的评价 diff --git a/pagesB/appointmenttime/appointmenttime.vue b/pagesB/appointmenttime/appointmenttime.vue index 532cdf0..3bc7416 100644 --- a/pagesB/appointmenttime/appointmenttime.vue +++ b/pagesB/appointmenttime/appointmenttime.vue @@ -485,4 +485,4 @@ + \ No newline at end of file diff --git a/pagesB/evaluate/evaluate.vue b/pagesB/evaluate/evaluate.vue index 51e4d62..da971b7 100644 --- a/pagesB/evaluate/evaluate.vue +++ b/pagesB/evaluate/evaluate.vue @@ -8,7 +8,7 @@ - + 拍摄 diff --git a/pagesB/goodsorderRate/goodsorderRate.vue b/pagesB/goodsorderRate/goodsorderRate.vue index a28e2f8..d30d748 100644 --- a/pagesB/goodsorderRate/goodsorderRate.vue +++ b/pagesB/goodsorderRate/goodsorderRate.vue @@ -8,7 +8,7 @@ - + 拍摄 diff --git a/static/pages/Facecollection.png b/pagesB/images/Facecollection.png similarity index 100% rename from static/pages/Facecollection.png rename to pagesB/images/Facecollection.png diff --git a/static/pages/hulifuwu.png b/pagesB/images/hulifuwu.png similarity index 100% rename from static/pages/hulifuwu.png rename to pagesB/images/hulifuwu.png diff --git a/static/pages/jiankangshangcheng.png b/pagesB/images/jiankangshangcheng.png similarity index 100% rename from static/pages/jiankangshangcheng.png rename to pagesB/images/jiankangshangcheng.png diff --git a/static/pagesB/paishe.png b/pagesB/images/paishe.png similarity index 100% rename from static/pagesB/paishe.png rename to pagesB/images/paishe.png diff --git a/static/pages/shaichajieguo.png b/pagesB/images/shaichajieguo.png similarity index 100% rename from static/pages/shaichajieguo.png rename to pagesB/images/shaichajieguo.png diff --git a/static/pagesB/updata.png b/pagesB/images/updata.png similarity index 100% rename from static/pagesB/updata.png rename to pagesB/images/updata.png diff --git a/static/pages/view_face_background.png b/pagesB/images/view_face_background.png similarity index 100% rename from static/pages/view_face_background.png rename to pagesB/images/view_face_background.png diff --git a/static/pages/wenzhenpingtai.png b/pagesB/images/wenzhenpingtai.png similarity index 100% rename from static/pages/wenzhenpingtai.png rename to pagesB/images/wenzhenpingtai.png diff --git a/static/pagesB/xinjianwenzhen.png b/pagesB/images/xinjianwenzhen.png similarity index 100% rename from static/pagesB/xinjianwenzhen.png rename to pagesB/images/xinjianwenzhen.png diff --git a/static/pages/xinrenfuli.png b/pagesB/images/xinrenfuli.png similarity index 100% rename from static/pages/xinrenfuli.png rename to pagesB/images/xinrenfuli.png diff --git a/static/pages/yuyueshaicha.png b/pagesB/images/yuyueshaicha.png similarity index 100% rename from static/pages/yuyueshaicha.png rename to pagesB/images/yuyueshaicha.png diff --git a/pagesB/imagetextConsultation/imagetextConsultation.vue b/pagesB/imagetextConsultation/imagetextConsultation.vue index 1f43392..94453f4 100644 --- a/pagesB/imagetextConsultation/imagetextConsultation.vue +++ b/pagesB/imagetextConsultation/imagetextConsultation.vue @@ -1,6 +1,6 @@