NurseStationPersonAppletUl/pages/Orderlist/Orderlist.vue
2023-04-24 14:06:37 +08:00

48 lines
840 B
Vue

<template>
<view>
</view>
</template>
<script>
import {
selectTrainingOrderItemList
} from '@/api/Orderlist/index.js'
export default {
data() {
return {
trainingItemType: 'VIDEO_LEARNING',
nurseStationPersonId: undefined,
pageNum: 1,
pageSize: 10,
};
},
onShow() {
const that = this
const value = uni.getStorageSync('nursePersonId');
if (value) {
// that.nurseStationPersonId = value
that.nurseStationPersonId = 61
that.info();
} else {}
},
methods: {
goMyLearning() {
uni.navigateTo({
url: "/pages/MyLearning/MyLearning"
})
},
info() {
selectTrainingOrderItemList(this.pageNum, this.pageSize, this.trainingItemType, this.nurseStationPersonId)
.then(res => {
console.log(res)
})
},
}
}
</script>
<style lang="scss">
</style>