【功能修复】BPM:解决缺少任务分配规则的 index.vue 文件的报错

pull/43/head
YunaiV 2024-07-27 17:12:50 +08:00
parent a76b0ecbc3
commit 6db4cbf5cf
2 changed files with 0 additions and 35 deletions

View File

@ -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 })
}

View File

@ -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'),