You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
high-mini/pages/tabBar/order/webUrl/webUrl.vue

47 lines
762 B

3 years ago
<template>
<view>
<web-view :src="url"></web-view>
</view>
</template>
<script>
3 years ago
import {
cancelOrderByOrderNo
} from '../../../../Utils/Api.js'
3 years ago
export default {
data() {
return {
3 years ago
url: '',
3 years ago
orderNo:'',
sourType:''
3 years ago
}
},
onLoad(options) {
this.url = decodeURIComponent(options.url);
3 years ago
this.orderNo= options.orderid;
3 years ago
this.sourType = options.sour;
// console.log('========'+options.sour);
3 years ago
},
onUnload() {
3 years ago
// if(this.sourType != 'MOBILE'){
// this.cancelOrderByOrderNo();
// }
3 years ago
},
methods: {
3 years ago
//取消订单
cancelOrderByOrderNo() {
let that = this;
let params = {
orderNo: this.orderNo,
}
cancelOrderByOrderNo(params).then(res => {
})
},
3 years ago
}
}
</script>
<style>
</style>