修改信息
This commit is contained in:
parent
549ef3474c
commit
96e25a3944
@ -3,6 +3,9 @@ import request from "../../request.js"
|
|||||||
export function goodsDetails(goodsInfoId, patientId) {
|
export function goodsDetails(goodsInfoId, patientId) {
|
||||||
return request({
|
return request({
|
||||||
url: `/nurseApplet/nursingStationGoods/goodsDetails?goodsInfoId=${goodsInfoId}&patientId=${patientId}`,
|
url: `/nurseApplet/nursingStationGoods/goodsDetails?goodsInfoId=${goodsInfoId}&patientId=${patientId}`,
|
||||||
method: 'GET'
|
method: 'GET',
|
||||||
|
header: {
|
||||||
|
Authorization: 'Bearer' + ' ' + uni.getStorageSync('token')
|
||||||
|
},
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
@ -5,7 +5,10 @@ export function addStationGoodsOrder(data) {
|
|||||||
return request({
|
return request({
|
||||||
url: `/nurseApplet/nursingStationGoods/addStationGoodsOrder`,
|
url: `/nurseApplet/nursingStationGoods/addStationGoodsOrder`,
|
||||||
method: 'post',
|
method: 'post',
|
||||||
data
|
data,
|
||||||
|
header: {
|
||||||
|
Authorization: 'Bearer' + ' ' + uni.getStorageSync('token')
|
||||||
|
},
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
//小程序购买商品订单支付接口
|
//小程序购买商品订单支付接口
|
||||||
@ -13,6 +16,9 @@ export function appletGoodsOrderPay(data) {
|
|||||||
return request({
|
return request({
|
||||||
url: `/nurseApp/weChatPayment/appletGoodsOrderPay`,
|
url: `/nurseApp/weChatPayment/appletGoodsOrderPay`,
|
||||||
method: 'post',
|
method: 'post',
|
||||||
data
|
data,
|
||||||
|
header: {
|
||||||
|
Authorization: 'Bearer' + ' ' + uni.getStorageSync('token')
|
||||||
|
},
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
@ -5,7 +5,10 @@ import request from "../../request.js"
|
|||||||
export function signIn(patientId) {
|
export function signIn(patientId) {
|
||||||
return request({
|
return request({
|
||||||
url: `/nurseApplet/patientInfo/signIn?patientId=${patientId}&signInChannel=WECHAT_APPLET`,
|
url: `/nurseApplet/patientInfo/signIn?patientId=${patientId}&signInChannel=WECHAT_APPLET`,
|
||||||
method: 'post'
|
method: 'post',
|
||||||
|
header: {
|
||||||
|
Authorization: 'Bearer' + ' ' + uni.getStorageSync('token')
|
||||||
|
},
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -13,7 +16,10 @@ export function signIn(patientId) {
|
|||||||
export function selectPatientSignIn(patientId) {
|
export function selectPatientSignIn(patientId) {
|
||||||
return request({
|
return request({
|
||||||
url: `/nurseApplet/patientInfo/selectPatientSignIn?patientId=${patientId}`,
|
url: `/nurseApplet/patientInfo/selectPatientSignIn?patientId=${patientId}`,
|
||||||
method: 'get'
|
method: 'get',
|
||||||
|
header: {
|
||||||
|
Authorization: 'Bearer' + ' ' + uni.getStorageSync('token')
|
||||||
|
},
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -21,7 +27,10 @@ export function selectPatientSignIn(patientId) {
|
|||||||
export function selectExchangeGoods(pageNum, pageSize) {
|
export function selectExchangeGoods(pageNum, pageSize) {
|
||||||
return request({
|
return request({
|
||||||
url: `/nurseApplet/patientInfo/selectExchangeGoods?pageNum=${pageNum}&pageSize=${pageSize}`,
|
url: `/nurseApplet/patientInfo/selectExchangeGoods?pageNum=${pageNum}&pageSize=${pageSize}`,
|
||||||
method: 'get'
|
method: 'get',
|
||||||
|
header: {
|
||||||
|
Authorization: 'Bearer' + ' ' + uni.getStorageSync('token')
|
||||||
|
},
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -5,7 +5,10 @@ import request from "../../request.js"
|
|||||||
export function couponByUseStatus(pageNum, pageSize, patientId) {
|
export function couponByUseStatus(pageNum, pageSize, patientId) {
|
||||||
return request({
|
return request({
|
||||||
url: `/nurseApplet/patientInfo/couponByUseStatus?pageNum=${pageNum}&pageSize=${pageSize}&patientId=${patientId}`,
|
url: `/nurseApplet/patientInfo/couponByUseStatus?pageNum=${pageNum}&pageSize=${pageSize}&patientId=${patientId}`,
|
||||||
method: 'get'
|
method: 'get',
|
||||||
|
header: {
|
||||||
|
Authorization: 'Bearer' + ' ' + uni.getStorageSync('token')
|
||||||
|
},
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -13,6 +16,9 @@ export function couponByUseStatus(pageNum, pageSize, patientId) {
|
|||||||
export function insertCouponReceive(patientId, couponId) {
|
export function insertCouponReceive(patientId, couponId) {
|
||||||
return request({
|
return request({
|
||||||
url: `/nurseApplet/patientInfo/insertCouponReceive?patientId=${patientId}&couponId=${couponId}`,
|
url: `/nurseApplet/patientInfo/insertCouponReceive?patientId=${patientId}&couponId=${couponId}`,
|
||||||
method: 'post'
|
method: 'post',
|
||||||
|
header: {
|
||||||
|
Authorization: 'Bearer' + ' ' + uni.getStorageSync('token')
|
||||||
|
},
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
51
pages.json
51
pages.json
@ -4,17 +4,17 @@
|
|||||||
},
|
},
|
||||||
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
|
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
|
||||||
{
|
{
|
||||||
"path": "pages/homepage/homepage",
|
|
||||||
"style": {
|
|
||||||
"enablePullDownRefresh": false,
|
|
||||||
"navigationStyle": "custom"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"path": "pages/startup/startup",
|
"path": "pages/startup/startup",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationStyle": "custom",
|
"navigationStyle": "custom",
|
||||||
"enablePullDownRefresh": false
|
"enablePullDownRefresh": false
|
||||||
}
|
}
|
||||||
|
},{
|
||||||
|
"path": "pages/homepage/homepage",
|
||||||
|
"style": {
|
||||||
|
"enablePullDownRefresh": false,
|
||||||
|
"navigationStyle": "custom"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "pages/medicalservice/medicalservice",
|
"path": "pages/medicalservice/medicalservice",
|
||||||
@ -260,7 +260,7 @@
|
|||||||
}, {
|
}, {
|
||||||
"path": "ProductList/ProductList", //商品列表
|
"path": "ProductList/ProductList", //商品列表
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "医路优品",
|
"navigationBarTitleText": "健康商城",
|
||||||
"navigationStyle": "custom", // 隐藏系统导航栏
|
"navigationStyle": "custom", // 隐藏系统导航栏
|
||||||
"onReachBottomDistance": 40, //距离底部多远时触发 单位为px
|
"onReachBottomDistance": 40, //距离底部多远时触发 单位为px
|
||||||
"enablePullDownRefresh": true //设置参数为true
|
"enablePullDownRefresh": true //设置参数为true
|
||||||
@ -397,14 +397,7 @@
|
|||||||
"navigationBarTitleText": "履约详情",
|
"navigationBarTitleText": "履约详情",
|
||||||
"enablePullDownRefresh": false
|
"enablePullDownRefresh": false
|
||||||
}
|
}
|
||||||
},{
|
}
|
||||||
"path" : "AddMembers/AddMembers",
|
|
||||||
"style" :
|
|
||||||
{
|
|
||||||
"navigationBarTitleText": "添加成员",
|
|
||||||
"enablePullDownRefresh": false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
}, {
|
}, {
|
||||||
"root": "pagesC",
|
"root": "pagesC",
|
||||||
@ -415,13 +408,13 @@
|
|||||||
"enablePullDownRefresh": false
|
"enablePullDownRefresh": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// {
|
{
|
||||||
// "path": "Filinginformation/Filinginformation",
|
"path": "Filinginformation/Filinginformation",
|
||||||
// "style": {
|
"style": {
|
||||||
// "navigationBarTitleText": "查看建档信息"
|
"navigationBarTitleText": "查看建档信息"
|
||||||
// // "enablePullDownRefresh": false
|
// "enablePullDownRefresh": false
|
||||||
// }
|
}
|
||||||
// },
|
},
|
||||||
{
|
{
|
||||||
"path": "Onlinesigning/Onlinesigning",
|
"path": "Onlinesigning/Onlinesigning",
|
||||||
"style": {
|
"style": {
|
||||||
@ -454,8 +447,8 @@
|
|||||||
"path": "ServiceAppointment/ServiceAppointment",
|
"path": "ServiceAppointment/ServiceAppointment",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationStyle": "custom", // 隐藏系统导航栏
|
"navigationStyle": "custom", // 隐藏系统导航栏
|
||||||
// "navigationBarTitleText": "商品订单",
|
"navigationBarTitleText": "商品订单",
|
||||||
"onReachBottomDistance": 20, //距离底部多远时触发 单位为px
|
"onReachBottomDistance": 40, //距离底部多远时触发 单位为px
|
||||||
"enablePullDownRefresh": true //设置参数为true
|
"enablePullDownRefresh": true //设置参数为true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -509,20 +502,14 @@
|
|||||||
"navigationBarTitleText": "",
|
"navigationBarTitleText": "",
|
||||||
"enablePullDownRefresh": false
|
"enablePullDownRefresh": false
|
||||||
}
|
}
|
||||||
},{
|
},
|
||||||
|
{
|
||||||
"path": "contractsigningprotocol/contractsigningprotocol",
|
"path": "contractsigningprotocol/contractsigningprotocol",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "签约协议",
|
"navigationBarTitleText": "签约协议",
|
||||||
"enablePullDownRefresh": false
|
"enablePullDownRefresh": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// {
|
|
||||||
// "path": "contractsigningprotocol/contractsigningprotocol",
|
|
||||||
// "style": {
|
|
||||||
// "navigationBarTitleText": "签约协议",
|
|
||||||
// "enablePullDownRefresh": false
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
]
|
]
|
||||||
}],
|
}],
|
||||||
"globalStyle": {
|
"globalStyle": {
|
||||||
|
|||||||
@ -5,17 +5,17 @@
|
|||||||
我的
|
我的
|
||||||
</view> -->
|
</view> -->
|
||||||
<image src="../../static/pages/userbanner.png" mode="" class="userbanner"></image>
|
<image src="../../static/pages/userbanner.png" mode="" class="userbanner"></image>
|
||||||
<image src="../../static/headsculpture.png" mode="" class="headsculpture" @tap='updatainfo'></image>
|
<image :src="baseurl+appPersonallist.headPictureUrl" mode="" class="headsculpture" @tap='updatainfo'></image>
|
||||||
<view class="namesigning">
|
<view class="namesigning">
|
||||||
<span class="name">
|
<span class="name">
|
||||||
张三
|
{{appPersonallist.patientName}}
|
||||||
</span>
|
</span>
|
||||||
<view class="signing">
|
<view class="signing">
|
||||||
未签约
|
未签约
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="phone">
|
<view class="phone">
|
||||||
17869283647
|
{{appPersonallist.phone}}
|
||||||
</view>
|
</view>
|
||||||
<view class="switch btn">
|
<view class="switch btn">
|
||||||
切换家庭成员
|
切换家庭成员
|
||||||
@ -168,7 +168,7 @@
|
|||||||
appPersonallist: null, //获取个人信息
|
appPersonallist: null, //获取个人信息
|
||||||
timer: null,
|
timer: null,
|
||||||
list: {},
|
list: {},
|
||||||
// bjimg: '',
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
@ -313,16 +313,19 @@
|
|||||||
},
|
},
|
||||||
//全部订单
|
//全部订单
|
||||||
goorder(index, item) {
|
goorder(index, item) {
|
||||||
console.log(index, item)
|
// console.log(index, item)
|
||||||
const value = uni.getStorageSync('openid');
|
// const value = uni.getStorageSync('openid');
|
||||||
const value2 = uni.getStorageSync('patientId');
|
// const value2 = uni.getStorageSync('patientId');
|
||||||
if (value && value2) {
|
// if (value && value2) {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: `/pagesB/CommodityOrder/CommodityOrder?toindex=${index}&&orderStatus=${item}`
|
url: '/pagesB/CommodityOrder/CommodityOrder'
|
||||||
})
|
})
|
||||||
} else {
|
// uni.navigateTo({
|
||||||
this.gologin();
|
// url: `/pagesB/CommodityOrder/CommodityOrder?toindex=${index}&&orderStatus=${item}`
|
||||||
}
|
// })
|
||||||
|
// } else {
|
||||||
|
// this.gologin();
|
||||||
|
// }
|
||||||
},
|
},
|
||||||
//去登陆
|
//去登陆
|
||||||
gologin() {
|
gologin() {
|
||||||
|
|||||||
@ -392,7 +392,7 @@
|
|||||||
goinformation() {
|
goinformation() {
|
||||||
this.usershow = false
|
this.usershow = false
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: '/pagesB/information/information'
|
url: '/pagesB/modify/modify'
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
//立即购买跳转确认订单页面
|
//立即购买跳转确认订单页面
|
||||||
|
|||||||
@ -228,7 +228,8 @@
|
|||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
::v-deep .u-tabs {
|
::v-deep .u-tabs {
|
||||||
width: 80%;
|
width: 100%;
|
||||||
|
padding-left: 20rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.app {
|
.app {
|
||||||
|
|||||||
@ -445,6 +445,7 @@
|
|||||||
// // that.appPersonallist.homeLatitude = location.latitude;
|
// // that.appPersonallist.homeLatitude = location.latitude;
|
||||||
// // }
|
// // }
|
||||||
// uni.$on('disease', function(data) {
|
// uni.$on('disease', function(data) {
|
||||||
|
// console.log(data,'777')
|
||||||
// that.patientDiseaseInfoList = JSON.parse(data.disease)
|
// that.patientDiseaseInfoList = JSON.parse(data.disease)
|
||||||
// uni.$off('disease')
|
// uni.$off('disease')
|
||||||
// })
|
// })
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
<u-navbar :is-back="false" :background="background" class="u-navbar">
|
<u-navbar :is-back="false" :background="background" class="u-navbar">
|
||||||
<image src="@/static/pagesB/fanhui.png" mode="" @tap="goprevious"></image>
|
<image src="@/static/pagesB/fanhui.png" mode="" @tap="goprevious"></image>
|
||||||
<view class="title" @tap="goprevious">
|
<view class="title" @tap="goprevious">
|
||||||
服务预约
|
商品订单
|
||||||
</view>
|
</view>
|
||||||
<view class="inputs">
|
<view class="inputs">
|
||||||
<i class="icon"></i>
|
<i class="icon"></i>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user