clyy_play.vue 553 B

123456789101112131415161718192021
  1. <template>
  2. 预约查看
  3. </template>
  4. <script setup>
  5. import { ref, reactive, onMounted } from 'vue'
  6. import { clyyApi } from '@/api/clyy'
  7. const details = ref({})
  8. onMounted(async() => {
  9. const res = await clyyApi.cl_initTd({wpydid:'622546'})
  10. details.value = res.data.wpyd
  11. const res2 = await clyyApi.cl_searchYd({wpid:res.data.wpyd.wpid})
  12. details.value = {...details.value,...res2.data.wpydList}
  13. console.log(details.value)
  14. })
  15. </script>
  16. <style lang="scss" scoped>
  17. </style>