修改
This commit is contained in:
parent
e5e8f915e3
commit
9fd524be32
@ -75,11 +75,6 @@
|
||||
this.baseurl = baseurl
|
||||
this.trainingOrderNo = options.trainingOrderNo
|
||||
this.info();
|
||||
if (this.timecount > 0) {
|
||||
this.Timer = setInterval(() => {
|
||||
this.timecount--;
|
||||
}, 1000)
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
info() {
|
||||
@ -89,10 +84,13 @@
|
||||
var time = new Date(ordertimes).getTime() / 1000 + (60 * 60 * 2)
|
||||
var times = new Date().getTime() / 1000
|
||||
this.timestamp = time - times
|
||||
this.timecount = 10
|
||||
if (this.timestamp > 0) {
|
||||
this.timecount = this.timestamp
|
||||
this.Timer = setInterval(() => {
|
||||
this.timecount--;
|
||||
}, 1000)
|
||||
}
|
||||
this.timecount = 10
|
||||
})
|
||||
},
|
||||
//购买
|
||||
|
||||
@ -47,25 +47,16 @@
|
||||
};
|
||||
},
|
||||
onShow() {
|
||||
this.baseurl = baseurl
|
||||
const that = this
|
||||
this.pageNum = 1
|
||||
const value = uni.getStorageSync('Refresh');
|
||||
const nursePersonId = uni.getStorageSync('nursePersonId');
|
||||
if (value) {
|
||||
uni.removeStorageSync('Refresh');
|
||||
if (nursePersonId) {
|
||||
that.nurseStationPersonId = nursePersonId
|
||||
that.info();
|
||||
} else {}
|
||||
},
|
||||
onLoad() {
|
||||
this.baseurl = baseurl
|
||||
const that = this
|
||||
const value = uni.getStorageSync('nursePersonId');
|
||||
if (value) {
|
||||
that.nurseStationPersonId = value
|
||||
that.info();
|
||||
} else {}
|
||||
},
|
||||
onLoad() {},
|
||||
methods: {
|
||||
//订单详情
|
||||
goOrderdetails(item) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user