【功能修复】BPM:解决缺少任务分配规则的 index.vue 文件的报错
parent
a76b0ecbc3
commit
6db4cbf5cf
|
|
@ -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',
|
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',
|
path: '/process-instance/create',
|
||||||
component: () => import('@/views/bpm/processInstance/create/index.vue'),
|
component: () => import('@/views/bpm/processInstance/create/index.vue'),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue