mirror of
https://gitee.com/yudaocode/yudao-ui-admin-vben.git
synced 2025-12-30 10:32:25 +00:00
【功能修复】BPM:解决缺少任务分配规则的 index.vue 文件的报错
This commit is contained in:
@@ -1,23 +0,0 @@
|
||||
import { defHttp } from '@/utils/http/axios'
|
||||
|
||||
export interface TaskAssignVO {
|
||||
id: number
|
||||
modelId: string
|
||||
processDefinitionId: string
|
||||
taskDefinitionKey: string
|
||||
taskDefinitionName: string
|
||||
options: string[]
|
||||
type: number
|
||||
}
|
||||
|
||||
export function getTaskAssignRuleList(params) {
|
||||
return defHttp.get({ url: '/bpm/task-assign-rule/list', params })
|
||||
}
|
||||
|
||||
export function createTaskAssignRule(data: TaskAssignVO) {
|
||||
return defHttp.post({ url: '/bpm/task-assign-rule/create', data })
|
||||
}
|
||||
|
||||
export function updateTaskAssignRule(data: TaskAssignVO) {
|
||||
return defHttp.put({ url: '/bpm/task-assign-rule/update', data })
|
||||
}
|
||||
@@ -206,18 +206,6 @@ export const BpmRoute: AppRouteRecordRaw = {
|
||||
activeMenu: '/bpm/manager/model',
|
||||
},
|
||||
},
|
||||
{
|
||||
path: '/manager/task-assign-rule',
|
||||
component: () => import('@/views/bpm/taskAssignRule/index.vue'),
|
||||
name: 'BpmTaskAssignRuleList',
|
||||
meta: {
|
||||
canTo: true,
|
||||
hidden: true,
|
||||
noTagsView: false,
|
||||
icon: 'ant-design:edit-outlined',
|
||||
title: '任务分配规则',
|
||||
},
|
||||
},
|
||||
{
|
||||
path: '/process-instance/create',
|
||||
component: () => import('@/views/bpm/processInstance/create/index.vue'),
|
||||
|
||||
Reference in New Issue
Block a user