qa-regulatory-gwj-app/pages/eight_assignments/technological_process.vue

34 lines
603 B
Vue
Raw Permalink Normal View History

2024-10-28 14:20:35 +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 {
stepData: []
}
},
onLoad(query) {
this.fnGetData(query.taskId)
uni.setNavigationBarTitle({
title: query.title + '流程'
})
},
methods: {
async fnGetData(taskId) {
let resData = await getTaskTechnologicalProcess({ID: taskId})
this.stepData = resData.list
}
},
}
</script>
<style scoped lang="scss">
</style>