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