From 3306225a446b2c6f8af769ef9890764af19988b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=BE=89?= <814457906@qq.com> Date: Wed, 3 Jan 2024 17:03:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/pagesC/Healthrecords/index.js | 76 ++ components/protocol/protocol.vue | 7 +- pages.json | 39 +- pages/facecollection/facecollection.vue | 4 +- pages/homepage/homepage.vue | 4 +- pages/login/login.vue | 2 +- pages/medicalservice/medicalservice.vue | 12 +- pages/register/register.vue | 4 +- .../Serviceevaluation/Serviceevaluation.vue | 2 +- pagesB/appointmenttime/appointmenttime.vue | 2 +- pagesB/evaluate/evaluate.vue | 2 +- pagesB/goodsorderRate/goodsorderRate.vue | 2 +- .../images}/Facecollection.png | Bin {static/pages => pagesB/images}/hulifuwu.png | Bin .../images}/jiankangshangcheng.png | Bin {static/pagesB => pagesB/images}/paishe.png | Bin .../pages => pagesB/images}/shaichajieguo.png | Bin {static/pagesB => pagesB/images}/updata.png | Bin .../images}/view_face_background.png | Bin .../images}/wenzhenpingtai.png | Bin .../images}/xinjianwenzhen.png | Bin .../pages => pagesB/images}/xinrenfuli.png | Bin .../pages => pagesB/images}/yuyueshaicha.png | Bin .../imagetextConsultation.vue | 2 +- pagesB/information/information.vue | 2 +- pagesB/modify/modify.vue | 8 +- pagesC/Healthrecords/Healthrecords.vue | 251 ++++- .../config/config.js | 204 ++++ .../physicalexamination.vue | 981 ++++++++++++++++++ pagesC/diabetes/diabetes.vue | 541 ++++++++++ pagesC/hypertension/hypertension.vue | 479 +++++++++ pagesC/images/Diabetes.png | Bin 0 -> 1702 bytes pagesC/images/HeartDisease.png | Bin 0 -> 1740 bytes pagesC/images/apoplexy.png | Bin 0 -> 2328 bytes pagesC/images/hypertension.png | Bin 0 -> 2064 bytes pagesC/images/jkm2x.png | Bin 0 -> 2092 bytes pagesC/images/jnFcPic.png | Bin 0 -> 5469 bytes pagesC/images/report.png | Bin 0 -> 1011 bytes pagesC/images/tcqPic.png | Bin 0 -> 1145 bytes pagesC/images/userinfo.png | Bin 0 -> 1248 bytes pagesC/images/zu112x.png | Bin 0 -> 2921 bytes {components => pagesC/logintext}/text.vue | 0 pagesC/myinformation/config/config.js | 132 +++ pagesC/myinformation/myinformation.vue | 488 +++++++++ .../subsequentVisitRecord.vue | 420 ++++++++ static/signature-selected.png | Bin 9496 -> 0 bytes static/signature-unselected.png | Bin 15582 -> 0 bytes 47 files changed, 3575 insertions(+), 89 deletions(-) create mode 100644 api/pagesC/Healthrecords/index.js rename {static/pages => pagesB/images}/Facecollection.png (100%) rename {static/pages => pagesB/images}/hulifuwu.png (100%) rename {static/pages => pagesB/images}/jiankangshangcheng.png (100%) rename {static/pagesB => pagesB/images}/paishe.png (100%) rename {static/pages => pagesB/images}/shaichajieguo.png (100%) rename {static/pagesB => pagesB/images}/updata.png (100%) rename {static/pages => pagesB/images}/view_face_background.png (100%) rename {static/pages => pagesB/images}/wenzhenpingtai.png (100%) rename {static/pagesB => pagesB/images}/xinjianwenzhen.png (100%) rename {static/pages => pagesB/images}/xinrenfuli.png (100%) rename {static/pages => pagesB/images}/yuyueshaicha.png (100%) create mode 100644 pagesC/archivesphysicalexamination/config/config.js create mode 100644 pagesC/archivesphysicalexamination/physicalexamination.vue create mode 100644 pagesC/diabetes/diabetes.vue create mode 100644 pagesC/hypertension/hypertension.vue create mode 100644 pagesC/images/Diabetes.png create mode 100644 pagesC/images/HeartDisease.png create mode 100644 pagesC/images/apoplexy.png create mode 100644 pagesC/images/hypertension.png create mode 100644 pagesC/images/jkm2x.png create mode 100644 pagesC/images/jnFcPic.png create mode 100644 pagesC/images/report.png create mode 100644 pagesC/images/tcqPic.png create mode 100644 pagesC/images/userinfo.png create mode 100644 pagesC/images/zu112x.png rename {components => pagesC/logintext}/text.vue (100%) create mode 100644 pagesC/myinformation/config/config.js create mode 100644 pagesC/myinformation/myinformation.vue create mode 100644 pagesC/subsequentVisitRecord/subsequentVisitRecord.vue delete mode 100644 static/signature-selected.png delete mode 100644 static/signature-unselected.png 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 @@