| | |
| | | <el-card class="dialogwarp_tab_card"> |
| | | <el-tabs v-model="activeName" @tab-click="handleClick"> |
| | | <el-tab-pane label="业务数据信息" name="first"> |
| | | |
| | | <businesswork :oid="oid" :templateId="templateId"></businesswork> |
| | | </el-tab-pane> |
| | | <el-tab-pane label="流程跟踪" name="second"> |
| | | <avue-crud :data="flowList" :option="option" ref="crud"> |
| | |
| | | export default { |
| | | data() { |
| | | return { |
| | | oid:'', |
| | | templateId:'', |
| | | taskId: '', |
| | | businessId: '', |
| | | processInstanceId: '', |
| | |
| | | async apiGetBtnTask(id) { |
| | | const response = await getBtnTask({ processInstanceId: id }) |
| | | const res = response.data |
| | | this.oid=res.data.variables.ids; |
| | | this.templateId=res.data.variables.templateId; |
| | | if (res.success) { |
| | | console.log(res) |
| | | this.btnList = res.data.toTasks |