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

34 lines
603 B
Vue
Raw Permalink Normal View History

2024-07-05 18:01:23 +08:00
<template>
<view class="content">
<cc-defineStep colors="#fa436a" :stepData="stepData"></cc-defineStep>
</view>
</template>
<script>
import {getTaskTechnologicalProcess} from "@/api";
export default {
data() {
return {
2024-07-08 17:59:08 +08:00
stepData: []
2024-07-05 18:01:23 +08:00
}
},
onLoad(query) {
this.fnGetData(query.taskId)
uni.setNavigationBarTitle({
title: query.title + '流程'
})
},
methods: {
async fnGetData(taskId) {
let resData = await getTaskTechnologicalProcess({ID: taskId})
2024-07-08 17:59:08 +08:00
this.stepData = resData.list
2024-07-05 18:01:23 +08:00
}
},
}
</script>
<style scoped lang="scss">
</style>