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

29 lines
477 B
Vue

<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>