|
@@ -1715,9 +1715,9 @@
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
onShow() {
|
|
onShow() {
|
|
|
- if(localStorage.getItem('orderno')) {
|
|
|
|
|
|
|
+ if(uni.getStorageSync('orderno')) {
|
|
|
this.$http.post('/insurance/order/reviseApp', {
|
|
this.$http.post('/insurance/order/reviseApp', {
|
|
|
- orderNo: localStorage.getItem('orderno')
|
|
|
|
|
|
|
+ orderNo: uni.getStorageSync('orderno')
|
|
|
}).then(res => {
|
|
}).then(res => {
|
|
|
this.productId = res.data.productid; //险种id
|
|
this.productId = res.data.productid; //险种id
|
|
|
this.productName = res.data.product; //险种name
|
|
this.productName = res.data.product; //险种name
|
|
@@ -1790,7 +1790,7 @@
|
|
|
},
|
|
},
|
|
|
async onLoad(params) {
|
|
async onLoad(params) {
|
|
|
if (params.orderno) {
|
|
if (params.orderno) {
|
|
|
- localStorage.setItem('orderno', params.orderno)
|
|
|
|
|
|
|
+ uni.setStorageSync('orderno', params.orderno)
|
|
|
let res = await this.$http.post('/insurance/order/reviseApp', {
|
|
let res = await this.$http.post('/insurance/order/reviseApp', {
|
|
|
orderNo: params.orderno
|
|
orderNo: params.orderno
|
|
|
});
|
|
});
|