Files
im-uniapp/pages/workbench/workflow/start/start.vue
2025-10-13 17:51:27 +08:00

33 lines
542 B
Vue

<template>
<view style="padding: 20rpx;">
<oa-schema-form :formConf="formData" @finish="handleFinish"></oa-schema-form>
</view>
</template>
<script>
import { getProcessForm, startProcess } from '@/api/oa/workflow/process'
export default {
data() {
return {
formData: {}
}
},
onLoad(config) {
console.log(config)
getProcessForm(config).then(res => {
console.log(res)
this.formData = res.data
})
},
methods: {
handleFinish(data) {
console.log(data)
}
}
}
</script>
<style>
</style>