qa-prevention-xgf-app/pages/eight_assignments/view_info.vue

29 lines
477 B
Vue
Raw Normal View History

2024-07-05 18:01:23 +08:00
<template>
<view class="content">
<view class="card"></view>
</view>
</template>
<script>
import {getTaskInfo} from "@/api";
export default {
onLoad(query) {
this.fnGetData(query.taskId)
uni.setNavigationBarTitle({
title: query.title + '查看'
})
},
methods: {
async fnGetData(taskId) {
let resData = await getTaskInfo({EW_RU_TASK_ID: taskId})
console.log(resData)
}
},
}
</script>
<style scoped lang="scss">
</style>