emis-app/pages/print/bluetoothPrinter.vue

44 lines
524 B
Vue
Raw Normal View History

2024-02-02 07:19:01 +00:00
<template>
2024-05-09 18:29:39 +00:00
<tpx-page>
2024-05-12 12:49:00 +00:00
<tpx-bluetooth-print show="!pageLoading"
2024-06-23 13:18:03 +00:00
:imageUrl="queryOption.imageUrl"
2024-05-11 05:11:46 +00:00
></tpx-bluetooth-print>
2024-05-09 18:29:39 +00:00
</tpx-page>
</template>
2024-02-02 07:19:01 +00:00
<script>
2024-05-10 14:32:39 +00:00
2024-05-09 15:08:34 +00:00
export default {
2024-05-11 05:11:46 +00:00
2024-05-09 18:29:39 +00:00
computed: {
2024-05-10 14:32:39 +00:00
2024-05-09 18:29:39 +00:00
},
2024-05-09 15:08:34 +00:00
data () {
return {
2024-05-11 05:11:46 +00:00
pageLoading: true,
queryOption: {
imageUrl: '',
}
2024-05-09 15:08:34 +00:00
}
},
mounted () {
2024-05-10 14:32:39 +00:00
2024-05-09 15:08:34 +00:00
},
2024-05-10 03:30:15 +00:00
unmounted() {
2024-05-10 14:32:39 +00:00
2024-05-11 05:11:46 +00:00
},
onLoad(option) {
this.queryOption = option
this.initData();
2024-05-10 03:30:15 +00:00
},
2024-05-09 15:08:34 +00:00
methods: {
2024-05-11 05:11:46 +00:00
initData(){
this.pageLoading = false
},
2024-02-02 07:19:01 +00:00
}
2024-05-09 15:08:34 +00:00
}
2024-02-02 07:19:01 +00:00
</script>
2024-05-10 03:15:31 +00:00
<style scoped lang="scss">
2024-05-10 14:32:39 +00:00
2024-05-09 15:08:34 +00:00
</style>