修改
This commit is contained in:
parent
03157e0c00
commit
4334223264
@ -249,19 +249,9 @@
|
|||||||
loginFlag: false,
|
loginFlag: false,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
onLoad(options) {
|
onLoad(options) {},
|
||||||
this.baseurl = baseurl
|
|
||||||
this.integral = options.integral
|
|
||||||
var that = this
|
|
||||||
const value = uni.getStorageSync('patientId');
|
|
||||||
if (value) {
|
|
||||||
that.patientId = value
|
|
||||||
that.updata.patientId = value
|
|
||||||
that.user();
|
|
||||||
that.selectPatientSignInifo();
|
|
||||||
}
|
|
||||||
},
|
|
||||||
onShow() {
|
onShow() {
|
||||||
|
this.baseurl = baseurl
|
||||||
this.pageNum = 1
|
this.pageNum = 1
|
||||||
this.selectExchangeGoodsinfo();
|
this.selectExchangeGoodsinfo();
|
||||||
this.baseurl = baseurl
|
this.baseurl = baseurl
|
||||||
@ -269,6 +259,9 @@
|
|||||||
var that = this
|
var that = this
|
||||||
const value = uni.getStorageSync('patientId');
|
const value = uni.getStorageSync('patientId');
|
||||||
if (value) {
|
if (value) {
|
||||||
|
that.patientId = value
|
||||||
|
that.updata.patientId = value
|
||||||
|
that.selectPatientSignInifo();
|
||||||
AppIdentification(value).then(res => {
|
AppIdentification(value).then(res => {
|
||||||
if (res.code == 200) {
|
if (res.code == 200) {
|
||||||
if (res.data.loginFlag) {
|
if (res.data.loginFlag) {
|
||||||
@ -276,7 +269,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
that.updata.patientId = value
|
|
||||||
goodPatientInfo(value).then(res => {
|
goodPatientInfo(value).then(res => {
|
||||||
if (res.code == 200) {
|
if (res.code == 200) {
|
||||||
if (res.data.length > 0) {
|
if (res.data.length > 0) {
|
||||||
@ -530,12 +522,15 @@
|
|||||||
selectExchangeGoodsinfo() {
|
selectExchangeGoodsinfo() {
|
||||||
this.pageNum = 1
|
this.pageNum = 1
|
||||||
selectExchangeGoods(this.pageNum, this.pageSize).then(res => {
|
selectExchangeGoods(this.pageNum, this.pageSize).then(res => {
|
||||||
res.rows.forEach(e => {
|
if (res.code == 200) {
|
||||||
e.goodsPictureUrl = baseurl + e.goodsPictureUrl
|
this.user();
|
||||||
e.attributePitureUrl = baseurl + e.attributePitureUrl
|
res.rows.forEach(e => {
|
||||||
})
|
e.goodsPictureUrl = baseurl + e.goodsPictureUrl
|
||||||
this.goodslist = res.rows
|
e.attributePitureUrl = baseurl + e.attributePitureUrl
|
||||||
this.goodstotal = res.total
|
})
|
||||||
|
this.goodslist = res.rows
|
||||||
|
this.goodstotal = res.total
|
||||||
|
} else {}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
//积分
|
//积分
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user