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.
35 lines
549 B
35 lines
549 B
<template>
|
|
<view class="main">
|
|
666
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
import { getStudentVoucher } from '@/config/api.js'
|
|
export default {
|
|
data() {
|
|
return {
|
|
orderId: ''
|
|
}
|
|
},
|
|
onLoad(options) {
|
|
if (options.orderId) {
|
|
this.orderId = options.orderId
|
|
this.getStudentVoucherFn()
|
|
}
|
|
},
|
|
methods: {
|
|
async getStudentVoucherFn() {
|
|
let obj = {
|
|
studentId: this.studentId,
|
|
type: 1
|
|
}
|
|
const res = await getStudentVoucher(obj)
|
|
console.log(res)
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style>
|
|
</style>
|