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