diff --git a/pages.json b/pages.json index 4963544..8f226a4 100644 --- a/pages.json +++ b/pages.json @@ -3,40 +3,20 @@ "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue" }, "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages - { - "path": "pages/startup/startup", - "style": { - "navigationStyle": "custom", - "enablePullDownRefresh": false - } - }, - { - "path": "pages/medicalservice/medicalservice", - "style": { - "enablePullDownRefresh": false, - "navigationStyle": "custom" - } - }, - - { - "path": "pages/register/register", - "style": { - "navigationBarTitleText": "注册", - "enablePullDownRefresh": false - } - }, - - { - "path": "pages/homepage/homepage", - "style": { - "enablePullDownRefresh": false, - "navigationStyle": "custom" - } - }, - - - - + { + "path": "pages/startup/startup", + "style": { + "navigationStyle": "custom", + "enablePullDownRefresh": false + } + }, + { + "path": "pages/homepage/homepage", + "style": { + "enablePullDownRefresh": false, + "navigationStyle": "custom" + } + }, { "path": "pages/myinformation/myinformation", "style": { @@ -44,8 +24,20 @@ "navigationStyle": "custom" } }, - - { + { + "path": "pages/register/register", + "style": { + "navigationBarTitleText": "注册", + "enablePullDownRefresh": false + } + }, + { + "path": "pages/medicalservice/medicalservice", + "style": { + "enablePullDownRefresh": false, + "navigationStyle": "custom" + } + }, { "path": "pages/login/login", "style": { "navigationBarTitleText": "登录", @@ -74,628 +66,651 @@ } ], "subPackages": [{ - "root": "pagesB", - "pages": [{ - "path": "Behaviorpoints/Behaviorpoints", - "style": { - "navigationBarTitleText": "行为积分", - "enablePullDownRefresh": false - } - }, - { - "path": "orderlist/orderlist", - "style": { - "navigationBarTitleText": "预约详情", - "enablePullDownRefresh": false - } - }, - { - "path": "screenorder/screenorder", - "style": { - "navigationBarTitleText": "筛查预约", - "enablePullDownRefresh": false - } - }, { - "path": "managefamily/managefamily", - "style": { - "navigationBarTitleText": "管理家庭成员", - "enablePullDownRefresh": false - } - }, { - "path": "healthybeans/healthybeans", - "style": { - "navigationBarTitleText": "健康豆", - "enablePullDownRefresh": false - } - }, - { - "path": "hospitalcare/hospitalcare", - "style": { - "navigationBarTitleText": "院内陪护", - "enablePullDownRefresh": false - } - }, { - "path": "imagetextConsultation/imagetextConsultation", - "style": { - "navigationBarTitleText": "图文问诊", - "onReachBottomDistance": 40, //距离底部多远时触发 单位为px - "enablePullDownRefresh": true //设置参数为true - } - }, { - "path": "createnewconsultation/createnewconsultation", - "style": { - "navigationBarTitleText": "新建图文问诊", - "enablePullDownRefresh": false - } - }, { - "path": "appointmenttime/appointmenttime", - "style": { - "navigationBarTitleText": "预约时间", - "enablePullDownRefresh": false - } - }, { - "path": "information/information", - "style": { - "navigationBarTitleText": "完善个人信息", - "enablePullDownRefresh": false - } - }, { - "path": "Nursingstationserviceorder/Nursingstationserviceorder", - "style": { - "navigationBarTitleText": "护理机构服务订单", - "onReachBottomDistance": 40, //距离底部多远时触发 单位为px - "enablePullDownRefresh": true //设置参数为true - } - }, { - "path": "medicine/medicine", - "style": { - "navigationBarTitleText": "齐鲁名医", - "enablePullDownRefresh": false, - "disableScroll": true - } - }, { - "path": "confirmation/confirmation", - "style": { - "enablePullDownRefresh": false, - "navigationBarTitleText": "预约时间" - } - }, { - "path": "CommodityDetails/CommodityDetails", - "style": { - "navigationBarTitleText": "商品详情", - "enablePullDownRefresh": false - } - }, { - "path": "coupon/coupon", - "style": { - "navigationBarTitleText": "优惠券", - "onReachBottomDistance": 40, //距离底部多远时触发 单位为px - "enablePullDownRefresh": true //设置参数为true - } - }, { - "path": "modify/modify", - "style": { - "navigationBarTitleText": "修改信息", - "enablePullDownRefresh": false - } - }, { - "path": "ProjectDetails/ProjectDetails", - "style": { - "navigationBarTitleText": "护理项目详情", - "enablePullDownRefresh": false - } - }, { - "path": "modifyAddress/modifyAddress", - "style": { - "navigationBarTitleText": "修改地址", - "enablePullDownRefresh": true //设置参数为true - } - }, { - "path": "lookrate/lookrate", - "style": { - "navigationBarTitleText": "查看评价", - "enablePullDownRefresh": false - } - }, { - "path": "ServiceDetails/ServiceDetails", - "style": { - "navigationBarTitleText": "服务详情", - "enablePullDownRefresh": false - } - }, { - "path": "goodsorderRate/goodsorderRate", - "style": { - "navigationBarTitleText": "发表评价", - "enablePullDownRefresh": false - } - }, { - "path": "paysuccess/paysuccess", - "style": { - "enablePullDownRefresh": false, - "navigationStyle": "custom" - } - }, { - "path": "ratesuccess/ratesuccess", - "style": { - "enablePullDownRefresh": false, - "navigationStyle": "custom" - } - }, { - "path": "shopping/shopping", //商城 - "style": { - "navigationBarTitleText": "健康商城", - "onReachBottomDistance": 40, //距离底部多远时触发 单位为px - "enablePullDownRefresh": true //设置参数为true - } - }, { - "path": "CommodityOrder/CommodityOrder", - "style": { - "navigationStyle": "custom", // 隐藏系统导航栏 - "navigationBarTitleText": "商品订单", - "onReachBottomDistance": 40, //距离底部多远时触发 单位为px - "enablePullDownRefresh": true //设置参数为true - } - }, { - "path": "orderDetails/orderDetails", - "style": { - "navigationBarTitleText": "订单详情", - "enablePullDownRefresh": false - } - }, { - "path": "cancelorder/cancelorder", - "style": { - "navigationBarTitleText": "取消订单", - "enablePullDownRefresh": false - } - }, { - "path": "logistics/logistics", - "style": { - "navigationBarTitleText": "查看物流", - "enablePullDownRefresh": false - } - }, { - "path": "Aftersalesdetails/Aftersalesdetails", - "style": { - "navigationBarTitleText": "售后详情", - "enablePullDownRefresh": false - } - }, { - "path": "Applforrefund/Applforrefund", - "style": { - "navigationBarTitleText": "申请退款", - "enablePullDownRefresh": false - } - }, { - "path": "refundType/refundType", - "style": { - "navigationBarTitleText": "选择退款类型", - "enablePullDownRefresh": false - } - }, { - "path": "ProductList/ProductList", //商品列表 - "style": { - "navigationBarTitleText": "健康商城", - "navigationStyle": "custom", // 隐藏系统导航栏 - "onReachBottomDistance": 40, //距离底部多远时触发 单位为px - "enablePullDownRefresh": true //设置参数为true - } - }, { - "path": "nursestation/nursestation", - "style": { - "navigationBarTitleText": "护理机构详情", - "onReachBottomDistance": 40, //距离底部多远时触发 单位为px - "enablePullDownRefresh": true //设置参数为true - } - }, { - "path": "site/site", - "style": { - "navigationBarTitleText": "护理机构", - "navigationStyle": "custom", // 隐藏系统导航栏 - "onReachBottomDistance": 20, //距离底部多远时触发 单位为px - "enablePullDownRefresh": true //设置参数为true - } - }, { - "path": "classification/classification", - "style": { - "navigationBarTitleText": "分类", - "enablePullDownRefresh": false, - "disableScroll": true - } - }, { - "path": "Healthknowledge/Healthknowledge", - "style": { - "navigationBarTitleText": "健康常识", - "onReachBottomDistance": 50, //距离底部多远时触发 单位为px - "enablePullDownRefresh": true //设置参数为true - } - }, { - "path": "Healthitem/Healthitem", - "style": { - "navigationBarTitleText": "健康常识", - "enablePullDownRefresh": false - } - }, { - "path": "materialbenefits/materialbenefits", - "style": { - "navigationBarTitleText": "新人福利", - "enablePullDownRefresh": false - } - }, { - "path": "Moreoptions/Moreoptions", - "style": { - "navigationBarTitleText": "护理机构", - "enablePullDownRefresh": false - } - }, { - "path": "exchangerecords/exchangerecords", - "style": { - "navigationBarTitleText": "兑换记录", - "onReachBottomDistance": 40, //距离底部多远时触发 单位为px - "enablePullDownRefresh": true //设置参数为true - } - }, { - "path": "familymemberdetail/familymemberdetail", - "style": { - "navigationBarTitleText": "家庭成员详情", - "enablePullDownRefresh": false + "root": "pagesB", + "pages": [{ + "path": "Behaviorpoints/Behaviorpoints", + "style": { + "navigationBarTitleText": "行为积分", + "enablePullDownRefresh": false + } + }, + { + "path": "solution/solution", + "style": { + "navigationBarTitleText": "视频通话", + "enablePullDownRefresh": false + } + }, + { + "path": "orderlist/orderlist", + "style": { + "navigationBarTitleText": "预约详情", + "enablePullDownRefresh": false + } + }, + { + "path": "screenorder/screenorder", + "style": { + "navigationBarTitleText": "筛查预约", + "enablePullDownRefresh": false + } + }, { + "path": "managefamily/managefamily", + "style": { + "navigationBarTitleText": "管理家庭成员", + "enablePullDownRefresh": false + } + }, { + "path": "healthybeans/healthybeans", + "style": { + "navigationBarTitleText": "健康豆", + "enablePullDownRefresh": false + } + }, + { + "path": "hospitalcare/hospitalcare", + "style": { + "navigationBarTitleText": "院内陪护", + "enablePullDownRefresh": false + } + }, { + "path": "imagetextConsultation/imagetextConsultation", + "style": { + "navigationBarTitleText": "图文问诊", + "onReachBottomDistance": 40, //距离底部多远时触发 单位为px + "enablePullDownRefresh": true //设置参数为true + } + }, { + "path": "createnewconsultation/createnewconsultation", + "style": { + "navigationBarTitleText": "新建图文问诊", + "enablePullDownRefresh": false + } + }, { + "path": "appointmenttime/appointmenttime", + "style": { + "navigationBarTitleText": "预约时间", + "enablePullDownRefresh": false + } + }, { + "path": "information/information", + "style": { + "navigationBarTitleText": "完善个人信息", + "enablePullDownRefresh": false + } + }, { + "path": "Nursingstationserviceorder/Nursingstationserviceorder", + "style": { + "navigationBarTitleText": "护理机构服务订单", + "onReachBottomDistance": 40, //距离底部多远时触发 单位为px + "enablePullDownRefresh": true //设置参数为true + } + }, { + "path": "medicine/medicine", + "style": { + "navigationBarTitleText": "齐鲁名医", + "enablePullDownRefresh": false, + "disableScroll": true + } + }, { + "path": "confirmation/confirmation", + "style": { + "enablePullDownRefresh": false, + "navigationBarTitleText": "预约时间" + } + }, { + "path": "CommodityDetails/CommodityDetails", + "style": { + "navigationBarTitleText": "商品详情", + "enablePullDownRefresh": false + } + }, { + "path": "coupon/coupon", + "style": { + "navigationBarTitleText": "优惠券", + "onReachBottomDistance": 40, //距离底部多远时触发 单位为px + "enablePullDownRefresh": true //设置参数为true + } + }, { + "path": "modify/modify", + "style": { + "navigationBarTitleText": "修改信息", + "enablePullDownRefresh": false + } + }, { + "path": "ProjectDetails/ProjectDetails", + "style": { + "navigationBarTitleText": "护理项目详情", + "enablePullDownRefresh": false + } + }, { + "path": "modifyAddress/modifyAddress", + "style": { + "navigationBarTitleText": "修改地址", + "enablePullDownRefresh": true //设置参数为true + } + }, { + "path": "lookrate/lookrate", + "style": { + "navigationBarTitleText": "查看评价", + "enablePullDownRefresh": false + } + }, { + "path": "ServiceDetails/ServiceDetails", + "style": { + "navigationBarTitleText": "服务详情", + "enablePullDownRefresh": false + } + }, { + "path": "goodsorderRate/goodsorderRate", + "style": { + "navigationBarTitleText": "发表评价", + "enablePullDownRefresh": false + } + }, { + "path": "paysuccess/paysuccess", + "style": { + "enablePullDownRefresh": false, + "navigationStyle": "custom" + } + }, { + "path": "ratesuccess/ratesuccess", + "style": { + "enablePullDownRefresh": false, + "navigationStyle": "custom" + } + }, { + "path": "shopping/shopping", //商城 + "style": { + "navigationBarTitleText": "医路优品", + "onReachBottomDistance": 40, //距离底部多远时触发 单位为px + "enablePullDownRefresh": true //设置参数为true + } + }, { + "path": "CommodityOrder/CommodityOrder", + "style": { + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTitleText": "商品订单", + "onReachBottomDistance": 40, //距离底部多远时触发 单位为px + "enablePullDownRefresh": true //设置参数为true + } + }, { + "path": "orderDetails/orderDetails", + "style": { + "navigationBarTitleText": "订单详情", + "enablePullDownRefresh": false + } + }, { + "path": "cancelorder/cancelorder", + "style": { + "navigationBarTitleText": "取消订单", + "enablePullDownRefresh": false + } + }, { + "path": "logistics/logistics", + "style": { + "navigationBarTitleText": "查看物流", + "enablePullDownRefresh": false + } + }, { + "path": "Aftersalesdetails/Aftersalesdetails", + "style": { + "navigationBarTitleText": "售后详情", + "enablePullDownRefresh": false + } + }, { + "path": "Applforrefund/Applforrefund", + "style": { + "navigationBarTitleText": "申请退款", + "enablePullDownRefresh": false + } + }, { + "path": "refundType/refundType", + "style": { + "navigationBarTitleText": "选择退款类型", + "enablePullDownRefresh": false + } + }, { + "path": "ProductList/ProductList", //商品列表 + "style": { + "navigationBarTitleText": "健康商城", + "navigationStyle": "custom", // 隐藏系统导航栏 + "onReachBottomDistance": 40, //距离底部多远时触发 单位为px + "enablePullDownRefresh": true //设置参数为true + } + }, { + "path": "nursestation/nursestation", + "style": { + "navigationBarTitleText": "护理机构详情", + "onReachBottomDistance": 40, //距离底部多远时触发 单位为px + "enablePullDownRefresh": true //设置参数为true + } + }, { + "path": "site/site", + "style": { + "navigationBarTitleText": "护理机构", + "navigationStyle": "custom", // 隐藏系统导航栏 + "onReachBottomDistance": 20, //距离底部多远时触发 单位为px + "enablePullDownRefresh": true //设置参数为true + } + }, { + "path": "classification/classification", + "style": { + "navigationBarTitleText": "分类", + "enablePullDownRefresh": false, + "disableScroll": true + } + }, { + "path": "Healthknowledge/Healthknowledge", + "style": { + "navigationBarTitleText": "健康常识", + "onReachBottomDistance": 50, //距离底部多远时触发 单位为px + "enablePullDownRefresh": true //设置参数为true + } + }, { + "path": "Healthitem/Healthitem", + "style": { + "navigationBarTitleText": "健康常识", + "enablePullDownRefresh": false + } + }, { + "path": "materialbenefits/materialbenefits", + "style": { + "navigationBarTitleText": "新人福利", + "enablePullDownRefresh": false + } + }, { + "path": "Moreoptions/Moreoptions", + "style": { + "navigationBarTitleText": "护理机构", + "enablePullDownRefresh": false + } + }, { + "path": "exchangerecords/exchangerecords", + "style": { + "navigationBarTitleText": "兑换记录", + "onReachBottomDistance": 40, //距离底部多远时触发 单位为px + "enablePullDownRefresh": true //设置参数为true + } + }, { + "path": "familymemberdetail/familymemberdetail", + "style": { + "navigationBarTitleText": "家庭成员详情", + "enablePullDownRefresh": false + } + }, { + "path": "consultationplatform/consultationplatform", + "style": { + "navigationBarTitleText": "问诊平台", + "onReachBottomDistance": 40, //距离底部多远时触发 单位为px + "enablePullDownRefresh": true //设置参数为true + } + }, { + "path": "doctordetails/doctordetails", + "style": { + "navigationBarTitleText": "医生详情", + "enablePullDownRefresh": false + } + }, { + "path": "ExpertlookOrder/ExpertlookOrder", + "style": { + // "navigationBarTitleText": "专家咨询订单", + "navigationStyle": "custom", // 隐藏系统导航栏 + "onReachBottomDistance": 20, //距离底部多远时触发 单位为px + "enablePullDownRefresh": true //设置参数为true + // "enablePullDownRefresh": false + } + }, { + "path": "consulted/consulted", + "style": { + // "navigationBarTitleText": "待咨询", + "navigationStyle": "custom", // 隐藏系统导航栏 + "onReachBottomDistance": 20, //距离底部多远时触发 单位为px + "enablePullDownRefresh": true //设置参数为true + } + }, { + "path": "cancel/cancel", + "style": { + "navigationBarTitleText": "取消订单", + "enablePullDownRefresh": false + } + }, + { + "path": "PointsMall/PointsMall", + "style": { + "navigationBarTitleText": "积分商城", + "enablePullDownRefresh": false + } + }, { + "path": "screeningResult/screeningResult", + "style": { + "navigationBarTitleText": "筛查结果", + "enablePullDownRefresh": false + } + }, { + "path": "screeningRecord/screeningRecord", + "style": { + "navigationBarTitleText": "筛查记录", + "enablePullDownRefresh": false + } + }, { + "path": "SelectItem/SelectItem", + "style": { + "navigationBarTitleText": "选择项目", + "enablePullDownRefresh": false + } + }, { + "path": "mysigning/mysigning", + "style": { + "navigationBarTitleText": "我的签约", + "enablePullDownRefresh": false + } + }, { + "path": "myfamilydoctorteam/myfamilydoctorteam", + "style": { + "navigationBarTitleText": "我的家庭医生团队", + "enablePullDownRefresh": false + } + }, { + "path": "performancedetails/performancedetails", + "style": { + "navigationBarTitleText": "履约详情", + "enablePullDownRefresh": false + } + }, { + "path": "AddMembers/AddMembers", + "style": { + "navigationBarTitleText": "添加成员", + "enablePullDownRefresh": false + } + }, { + "path": "Serviceevaluation/Serviceevaluation", + "style": { + "onReachBottomDistance": 40, + "navigationBarTitleText": "服务评价", + "enablePullDownRefresh": false, + "onReachBottom": true + } + }, { + "path": "evaluate/evaluate", + "style": { + "navigationBarTitleText": "评价", + "onReachBottomDistance": 40, + "enablePullDownRefresh": false, + "onReachBottom": true + } + }, { + "path": "myevaluation/myevaluation", + "style": { + "navigationBarTitleText": "我的评价", + "enablePullDownRefresh": false + } } - }, { - "path": "consultationplatform/consultationplatform", - "style": { - "navigationBarTitleText": "问诊平台", - "onReachBottomDistance": 40, //距离底部多远时触发 单位为px - "enablePullDownRefresh": true //设置参数为true + ] + }, { + "root": "pagesC", + "pages": [{ + "path": "appointmenttime/appointmenttime", + "style": { + "navigationBarTitleText": "服务预约", + "enablePullDownRefresh": false + } + }, + { + "path": "Filinginformation/Filinginformation", + "style": { + "navigationBarTitleText": "查看建档信息", + "enablePullDownRefresh": false + } + }, + { + "path": "Onlinesigning/Onlinesigning", + "style": { + "navigationBarTitleText": "在线签约", + "enablePullDownRefresh": false + } + }, + { + "path": "Screeningdetails/Screeningdetails", + "style": { + "navigationBarTitleText": "筛查详情", + "enablePullDownRefresh": false + } + }, + { + "path": "Healthrecords/Healthrecords", + "style": { + "navigationBarTitleText": "健康档案", + "enablePullDownRefresh": false + } + }, + { + "path": "Screeningrecords/Screeningrecords", + "style": { + "navigationBarTitleText": "筛查记录", + "enablePullDownRefresh": false + } + }, + { + "path": "ServiceAppointment/ServiceAppointment", + "style": { + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTitleText": "商品订单", + "onReachBottomDistance": 40, //距离底部多远时触发 单位为px + "enablePullDownRefresh": true //设置参数为true + } + }, + { + "path": "servicerecord/servicerecord", + "style": { + "navigationBarTitleText": "服务记录", + "enablePullDownRefresh": false + } + }, { + "path": "Myappointment/Myappointment", + "style": { + "navigationBarTitleText": "我的预约", + "enablePullDownRefresh": false + } + }, { + "path": "healthtest/healthtest", + "style": { + "navigationBarTitleText": "健康自评", + "onReachBottomDistance": 40, //距离底部多远时触发 单位为px + "enablePullDownRefresh": true //设置参数为true + } + }, { + "path": "Physicalexamination/Physicalexamination", + "style": { + "navigationBarTitleText": "体征检测", + "enablePullDownRefresh": false + } + }, { + "path": "seekadvicefrom/seekadvicefrom", + "style": { + "navigationBarTitleText": "咨询医生", + "enablePullDownRefresh": false + } + }, { + "path": "choosedoctor/choosedoctor", + "style": { + "navigationBarTitleText": "选择医生", + "onReachBottomDistance": 40, //距离底部多远时触发 单位为px + "enablePullDownRefresh": true //设置参数为true + } + }, { + "path": "selectInstitution/selectInstitution", + "style": { + "navigationBarTitleText": "选择签约机构", + "onReachBottomDistance": 40, //距离底部多远时触发 单位为px + "enablePullDownRefresh": true //设置参数为true + } + }, { + "path": "signseekadvicefrom/signseekadvicefrom", + "style": { + "navigationBarTitleText": "", + "enablePullDownRefresh": false + } + }, + { + "path": "contractsigningprotocol/contractsigningprotocol", + "style": { + "navigationBarTitleText": "签约协议", + "enablePullDownRefresh": false + } + }, { + "path": "addequipment/addequipment", + "style": { + "navigationBarTitleText": "设备绑定", + "enablePullDownRefresh": false + } + + }, { + "path": "healthdata/healthdata", + "style": { + "navigationBarTitleText": "体征检测", + "enablePullDownRefresh": false + } + + }, { + "path": "addsugar/addsugar", + "style": { + "navigationBarTitleText": "记录血糖", + "enablePullDownRefresh": false + } + }, { + "path": "addPressure/addPressure", + "style": { + "navigationBarTitleText": "记录血压", + "enablePullDownRefresh": false + } + }, { + "path": "addTemperature/addTemperature", + "style": { + "navigationBarTitleText": "记录体温", + "enablePullDownRefresh": false + } + }, { + "path": "addBloodFat/addBloodFat", + "style": { + "navigationBarTitleText": "记录血脂", + "enablePullDownRefresh": false + } + }, { + "path": "addBMI/addBMI", + "style": { + "navigationBarTitleText": "记录BMI", + "enablePullDownRefresh": false + } + }, { + "path": "addBloodOxygen/addBloodOxygen", + "style": { + "navigationBarTitleText": "记录血氧", + "enablePullDownRefresh": false + } + }, { + "path": "addHeartRate/addHeartRate", + "style": { + "navigationBarTitleText": "记录心率", + "enablePullDownRefresh": false + } + }, { + "path": "devicelist/devicelist", + "style": { + "navigationBarTitleText": "设备列表", + "enablePullDownRefresh": false + } } - }, { - "path": "doctordetails/doctordetails", + ] + }, { + "root": "questionnaire", + "pages": [{ + "path": "hypertension/hypertension", "style": { - "navigationBarTitleText": "医生详情", + "navigationBarTitleText": "高血压评估问卷", "enablePullDownRefresh": false } }, { - "path": "ExpertlookOrder/ExpertlookOrder", + "path": "diabetes/diabetes", "style": { - // "navigationBarTitleText": "专家咨询订单", - "navigationStyle": "custom", // 隐藏系统导航栏 - "onReachBottomDistance": 20, //距离底部多远时触发 单位为px - "enablePullDownRefresh": true //设置参数为true - // "enablePullDownRefresh": false - } - }, { - "path": "consulted/consulted", - "style": { - // "navigationBarTitleText": "待咨询", - "navigationStyle": "custom", // 隐藏系统导航栏 - "onReachBottomDistance": 20, //距离底部多远时触发 单位为px - "enablePullDownRefresh": true //设置参数为true - } - }, { - "path": "cancel/cancel", - "style": { - "navigationBarTitleText": "取消订单", - "enablePullDownRefresh": false - } - }, - { - "path": "PointsMall/PointsMall", - "style": { - "navigationBarTitleText": "积分商城", + "navigationBarTitleText": "糖尿病评估问卷", "enablePullDownRefresh": false } }, { - "path": "screeningResult/screeningResult", + "path": "copd/copd", "style": { - "navigationBarTitleText": "筛查结果", + "navigationBarTitleText": "慢阻肺评估问卷", "enablePullDownRefresh": false } }, { - "path": "screeningRecord/screeningRecord", + "path": "cerebralapoplexy/cerebralapoplexy", "style": { - "navigationBarTitleText": "筛查记录", + "navigationBarTitleText": "脑卒中评估问卷", "enablePullDownRefresh": false } }, { - "path": "SelectItem/SelectItem", + "path": "chronicdisease/chronicdisease", "style": { - "navigationBarTitleText": "选择项目", + "navigationBarTitleText": "慢病评估问卷", "enablePullDownRefresh": false } }, { - "path": "mysigning/mysigning", + "path": "nephropathy/nephropathy", "style": { - "navigationBarTitleText": "我的签约", + "navigationBarTitleText": "糖尿病肾病评估报告", "enablePullDownRefresh": false } }, { - "path": "myfamilydoctorteam/myfamilydoctorteam", + "path": "Ophthalmopathy/Ophthalmopathy", "style": { - "navigationBarTitleText": "我的家庭医生团队", + "navigationBarTitleText": "糖尿病眼病评估报告", "enablePullDownRefresh": false } }, { - "path": "performancedetails/performancedetails", + "path": "Footdisease/Footdisease", "style": { - "navigationBarTitleText": "履约详情", + "navigationBarTitleText": "糖尿病足病评估问卷", "enablePullDownRefresh": false } }, { - "path": "AddMembers/AddMembers", + "path": "prescription/prescription", "style": { - "navigationBarTitleText": "添加成员", + "navigationBarTitleText": "健康处方", "enablePullDownRefresh": false } }, { - "path": "Serviceevaluation/Serviceevaluation", + "path": "History/History", "style": { - "onReachBottomDistance": 40, - "navigationBarTitleText": "服务评价", - "enablePullDownRefresh": false, - "onReachBottom": true - } - }, { - "path": "evaluate/evaluate", - "style": { - "navigationBarTitleText": "评价", - "onReachBottomDistance": 40, - "enablePullDownRefresh": false, - "onReachBottom": true - } - }, { - "path": "myevaluation/myevaluation", - "style": { - "navigationBarTitleText": "我的评价", - "enablePullDownRefresh": false - } - } - ] - }, { - "root": "pagesC", - "pages": [{ - "path": "appointmenttime/appointmenttime", - "style": { - "navigationBarTitleText": "服务预约", - "enablePullDownRefresh": false - } - }, - // { - // "path": "Filinginformation/Filinginformation", - // "style": { - // "navigationBarTitleText": "查看建档信息", - // "enablePullDownRefresh": false - // } - // }, - { - "path": "Onlinesigning/Onlinesigning", - "style": { - "navigationBarTitleText": "在线签约", - "enablePullDownRefresh": false - } - }, - { - "path": "Screeningdetails/Screeningdetails", - "style": { - "navigationBarTitleText": "筛查详情", - "enablePullDownRefresh": false - } - }, - { - "path": "Healthrecords/Healthrecords", - "style": { - "navigationBarTitleText": "健康档案", - "enablePullDownRefresh": false - } - }, - { - "path": "Screeningrecords/Screeningrecords", - "style": { - "navigationBarTitleText": "筛查记录", - "enablePullDownRefresh": false - } - }, - { - "path": "ServiceAppointment/ServiceAppointment", - "style": { - "navigationStyle": "custom", // 隐藏系统导航栏 - "navigationBarTitleText": "商品订单", - "onReachBottomDistance": 40, //距离底部多远时触发 单位为px - "enablePullDownRefresh": true //设置参数为true - } - }, - { - "path": "servicerecord/servicerecord", - "style": { - "navigationBarTitleText": "服务记录", - "enablePullDownRefresh": false - } - }, { - "path": "Myappointment/Myappointment", - "style": { - "navigationBarTitleText": "我的预约", - "enablePullDownRefresh": false - } - }, { - "path": "healthtest/healthtest", - "style": { - "navigationBarTitleText": "健康自评", - "onReachBottomDistance": 40, //距离底部多远时触发 单位为px - "enablePullDownRefresh": true //设置参数为true - } - }, { - "path": "Physicalexamination/Physicalexamination", - "style": { - "navigationBarTitleText": "体征检测", - "enablePullDownRefresh": false - } - }, { - "path": "seekadvicefrom/seekadvicefrom", - "style": { - "navigationBarTitleText": "咨询医生", - "enablePullDownRefresh": false - } - }, { - "path": "choosedoctor/choosedoctor", - "style": { - "navigationBarTitleText": "选择医生", - "onReachBottomDistance": 40, //距离底部多远时触发 单位为px - "enablePullDownRefresh": true //设置参数为true - } - }, { - "path": "selectInstitution/selectInstitution", - "style": { - "navigationBarTitleText": "选择签约机构", - "onReachBottomDistance": 40, //距离底部多远时触发 单位为px - "enablePullDownRefresh": true //设置参数为true - } - }, { - "path": "signseekadvicefrom/signseekadvicefrom", - "style": { - "navigationBarTitleText": "", - "enablePullDownRefresh": false - } - }, - { - "path": "contractsigningprotocol/contractsigningprotocol", - "style": { - "navigationBarTitleText": "签约协议", - "enablePullDownRefresh": false - } - }, { - "path": "addequipment/addequipment", - "style": { - "navigationBarTitleText": "设备绑定", + "navigationBarTitleText": "健康自评历史记录", "enablePullDownRefresh": false } }, { - "path": "healthdata/healthdata", + "path": "HistoryQuestionnaire/HistoryQuestionnaire", "style": { - "navigationBarTitleText": "体征检测", + "navigationBarTitleText": "历史记录评估问卷", "enablePullDownRefresh": false } - - }, { - "path": "addsugar/addsugar", + }] + }, + { + "root": "pagesmeeting", + "pages": [{ + "path": "room/room", "style": { - "navigationBarTitleText": "记录血糖", + "navigationBarTitleText": "视频通话", "enablePullDownRefresh": false } }, { - "path": "addPressure/addPressure", + "path": "calling", "style": { - "navigationBarTitleText": "记录血压", + "navigationBarTitleText": "视频通话", "enablePullDownRefresh": false } - }, { - "path": "addTemperature/addTemperature", - "style": { - "navigationBarTitleText": "记录体温", - "enablePullDownRefresh": false - } - }, { - "path": "addBloodFat/addBloodFat", - "style": { - "navigationBarTitleText": "记录血脂", - "enablePullDownRefresh": false - } - }, { - "path": "addBMI/addBMI", - "style": { - "navigationBarTitleText": "记录BMI", - "enablePullDownRefresh": false - } - }, { - "path": "addBloodOxygen/addBloodOxygen", - "style": { - "navigationBarTitleText": "记录血氧", - "enablePullDownRefresh": false - } - }, { - "path": "addHeartRate/addHeartRate", - "style": { - "navigationBarTitleText": "记录心率", - "enablePullDownRefresh": false - } - }, { - "path": "devicelist/devicelist", - "style": { - "navigationBarTitleText": "设备列表", - "enablePullDownRefresh": false - } - } - ] - }, { - "root": "questionnaire", - "pages": [{ - "path": "hypertension/hypertension", - "style": { - "navigationBarTitleText": "高血压评估问卷", - "enablePullDownRefresh": false - } - }, { - "path": "diabetes/diabetes", - "style": { - "navigationBarTitleText": "糖尿病评估问卷", - "enablePullDownRefresh": false - } - }, { - "path": "copd/copd", - "style": { - "navigationBarTitleText": "慢阻肺评估问卷", - "enablePullDownRefresh": false - } - }, { - "path": "cerebralapoplexy/cerebralapoplexy", - "style": { - "navigationBarTitleText": "脑卒中评估问卷", - "enablePullDownRefresh": false - } - }, { - "path": "chronicdisease/chronicdisease", - "style": { - "navigationBarTitleText": "慢病评估问卷", - "enablePullDownRefresh": false - } - }, { - "path": "nephropathy/nephropathy", - "style": { - "navigationBarTitleText": "糖尿病肾病评估报告", - "enablePullDownRefresh": false - } - }, { - "path": "Ophthalmopathy/Ophthalmopathy", - "style": { - "navigationBarTitleText": "糖尿病眼病评估报告", - "enablePullDownRefresh": false - } - }, { - "path": "Footdisease/Footdisease", - "style": { - "navigationBarTitleText": "糖尿病足病评估问卷", - "enablePullDownRefresh": false - } - }, { - "path": "prescription/prescription", - "style": { - "navigationBarTitleText": "健康处方", - "enablePullDownRefresh": false - } - }, { - "path": "History/History", - "style": { - "navigationBarTitleText": "健康自评历史记录", - "enablePullDownRefresh": false - } - - }, { - "path": "HistoryQuestionnaire/HistoryQuestionnaire", - "style": { - "navigationBarTitleText": "历史记录评估问卷", - "enablePullDownRefresh": false - } - - }] - }], + }] + } + ], "globalStyle": { "navigationBarTextStyle": "white", "navigationBarTitleText": "", diff --git a/pages/homepage/homepage.vue b/pages/homepage/homepage.vue index 6913759..721deb8 100644 --- a/pages/homepage/homepage.vue +++ b/pages/homepage/homepage.vue @@ -106,7 +106,6 @@ this.userinfo = uni.getStorageSync('userinfo') this.openid = uni.getStorageSync('openid'); this.cityCode = this.userinfo.cityCode; - if (this.address == '德州市') { uni.setStorageSync("region", 1) } else if (this.address == '东营市') { @@ -115,7 +114,6 @@ uni.setStorageSync("region", 3) } this.region = uni.getStorageSync('region') - if (this.userinfo && this.region!="3") { this.patientName = this.userinfo.patientName checkSignApply(this.userinfo.cardNo).then(res => { diff --git a/pages/message/message.vue b/pages/message/message.vue index 6bf7698..cc6846e 100644 --- a/pages/message/message.vue +++ b/pages/message/message.vue @@ -8,16 +8,15 @@ export default { data() { return { - + }; } } diff --git a/pages/myinformation/myinformation.vue b/pages/myinformation/myinformation.vue index 742e97f..fad4da7 100644 --- a/pages/myinformation/myinformation.vue +++ b/pages/myinformation/myinformation.vue @@ -90,14 +90,14 @@ 待收货 - - {{appPersonallist.waitReceivedGoodsCount}} - - - 99+ - + + {{appPersonallist.waitReceivedGoodsCount}} + + + 99+ + @@ -253,7 +253,7 @@ this.getpersnoal() }, methods: { - gomyappiont(){ + gomyappiont() { uni.navigateTo({ url: '/pagesC/Myappointment/Myappointment' }) @@ -266,7 +266,7 @@ uni.showModal({ title: '提示', content: '确认要退出此账号吗', - succ ess: function(res) { + success: function(res) { if (res.confirm) { // uni.clearStorageSync();、 that.removes() @@ -281,7 +281,7 @@ if (that.timer) { clearTimeout(that.timer) } - that.timer=setTimeout(e => { + that.timer = setTimeout(e => { uni.switchTab({ url: '/pages/homepage/homepage' }) @@ -342,7 +342,7 @@ existPatientInfo(value).then(res => { if (res.code == 200 && res.msg == 'LOGIN') { appPersonal(value2).then(Response => { - uni.setStorageSync('userinfo', Response.data); + uni.setStorageSync('userinfo', Response.data); if (Response.code == 200) { that.appPersonallist = Response.data if (!that.appPersonallist.integral) { @@ -395,9 +395,9 @@ }, // 签约信息 - Signing(){ + Signing() { uni.navigateTo({ - url:'/pagesB/mysigning/mysigning' + url: '/pagesB/mysigning/mysigning' }) }, //去登陆 @@ -529,8 +529,11 @@ }, // 专家咨询订单 expertOrder() { + // uni.navigateTo({ + // url: "/pagesB/ExpertlookOrder/ExpertlookOrder" + // }) uni.navigateTo({ - url: "/pagesB/ExpertlookOrder/ExpertlookOrder" + url: "/pagesmeeting/calling" }) }, } diff --git a/pagesB/ExpertlookOrder/ExpertlookOrder.vue b/pagesB/ExpertlookOrder/ExpertlookOrder.vue index 1efff5c..557a931 100644 --- a/pagesB/ExpertlookOrder/ExpertlookOrder.vue +++ b/pagesB/ExpertlookOrder/ExpertlookOrder.vue @@ -215,7 +215,7 @@ getCodeText: null, userId: '', userSig: '', - roomId:'', + roomId: '', } }, watch: { //监听 @@ -406,14 +406,12 @@ serve(item) { // this.info() getRoomId(item.goodsOrderId).then(res => { - console.log(res, '787') - if(res.msg){ - this.roomId=res.msg + if (res.msg) { + this.roomId = res.msg uni.navigateTo({ url: `/pagesB/solution/solution?item=${JSON.stringify(item)}&&roomId=${this.roomId}` }) - } - else{ + } else { this.$refs.uToast.show({ title: '暂无视频通话', type: 'error' @@ -423,7 +421,6 @@ // }) } }) - }, //订单详情页面 goorderdetails(item) { @@ -859,4 +856,4 @@ } } } - \ No newline at end of file + diff --git a/pagesB/solution/solution.vue b/pagesB/solution/solution.vue index 4689ac0..b508f3e 100644 --- a/pagesB/solution/solution.vue +++ b/pagesB/solution/solution.vue @@ -1,6 +1,8 @@ @@ -14,31 +16,116 @@ src: '', userSig: '', item: {}, + roomId: '', + authorizeMic: '', + authorizeCamera: '', + hasOpenDeviceAuthorizeModal: '', }; }, methods: { + goroom() { + uni.navigateTo({ + url: `/pagesmeeting/calling?userID=${this.item.patientId}&userName=${this.item.patientName}&userSig=${this.userSig}&roomID=${this.roomId}` + }) + // this.checkDeviceAuthorize().then((result) => { + // console.log('授权成功', result) + + // }) + // .catch((error) => { + // console.log('没有授权', error) + // }) + }, + checkDeviceAuthorize() { + this.hasOpenDeviceAuthorizeModal = false + return new Promise((resolve, reject) => { + if (!wx.getSetting || !wx.getSetting()) { + // 微信测试版 获取授权API异常,目前只能即使没授权也可以通过 + resolve() + } + wx.getSetting().then((result) => { + console.log('getSetting', result) + this.authorizeMic = result.authSetting['scope.record'] + this.authorizeCamera = result.authSetting['scope.camera'] + if (result.authSetting['scope.camera'] && result.authSetting['scope.record']) { + // 授权成功 + resolve() + } else { + // 没有授权,弹出授权窗口 + // 注意: wx.authorize 只有首次调用会弹框,之后调用只返回结果,如果没有授权需要自行弹框提示处理 + console.log('getSetting 没有授权,弹出授权窗口', result) + wx.authorize({ + scope: 'scope.record', + }).then((res) => { + console.log('authorize mic', res) + this.authorizeMic = true + if (this.authorizeCamera) { + resolve() + } + }) + .catch((error) => { + console.log('authorize mic error', error) + this.authorizeMic = false + }) + wx.authorize({ + scope: 'scope.camera', + }).then((res) => { + console.log('authorize camera', res) + this.authorizeCamera = true + if (this.authorizeMic) { + resolve() + } else { + this.openConfirm() + reject(new Error('authorize fail')) + } + }) + .catch((error) => { + console.log('authorize camera error', error) + this.authorizeCamera = false + this.openConfirm() + reject(new Error('authorize fail')) + }) + } + }) + }) + }, + openConfirm() { + if (this.hasOpenDeviceAuthorizeModal) { + return + } + this.hasOpenDeviceAuthorizeModal = true + return uni.showModal({ + content: '您没有打开麦克风和摄像头的权限,是否去设置打开?', + confirmText: '确认', + cancelText: '取消', + success: (res) => { + this.hasOpenDeviceAuthorizeModal = false + console.log(res) + // 点击“确认”时打开设置页面 + if (res.confirm) { + console.log('用户点击确认') + wx.openSetting({ + success: (res) => {}, + }) + } else { + console.log('用户点击取消') + } + }, + }) + }, info() { - // console.log(this.item.patientId, '88585') getUserSig(this.item.patientId).then(res => { this.userSig = res.data - this.src = - `https://msg.xinyilu.cn​​​​​?userId=5&userName=王晓燕&userSig=eJyrVgrxCdYrSy1SslIy0jNQ0gHzM1NS80oy0zLBwqZQweKU7MSCgswUJStDMwMgMLM0MYHIpFYUZBalAsVNTU2NgDIQ0ZLMXJCYmaWlsZGRoYUh1JTMdKCZFgGhHiGlhkWBZR6mKanpAVW*bpVuMfpGeY5epUZVad6G5qZBjgGZzk6GvqG2SrUAMZovIA__&roomId=456789` - - console.log(this.src, '555') }) }, }, onLoad(options) { this.item = JSON.parse(options.item) this.roomId = options.roomId - // console.log(this.roomId, '88888') this.info() - } - } \ No newline at end of file +