diff --git a/src/api/bpm/processInstance/index.ts b/src/api/bpm/processInstance/index.ts index d48253c3..95591ae3 100644 --- a/src/api/bpm/processInstance/index.ts +++ b/src/api/bpm/processInstance/index.ts @@ -4,6 +4,7 @@ export type Task = { id: string name: string } + export type ProcessInstanceVO = { id: number name: string diff --git a/src/router/modules/remaining.ts b/src/router/modules/remaining.ts index 380e3618..4d8c3dac 100644 --- a/src/router/modules/remaining.ts +++ b/src/router/modules/remaining.ts @@ -272,7 +272,7 @@ const remainingRouter: AppRouteRecordRaw[] = [ }, { path: '/process-instance/create', - component: () => import('@/views/bpm/processInstance/create.vue'), + component: () => import('@/views/bpm/processInstance/create/index.vue'), name: 'BpmProcessInstanceCreate', meta: { noCache: true, diff --git a/src/views/bpm/processInstance/create/index.vue b/src/views/bpm/processInstance/create/index.vue index 023788c3..dd043eae 100644 --- a/src/views/bpm/processInstance/create/index.vue +++ b/src/views/bpm/processInstance/create/index.vue @@ -1,51 +1,53 @@ - - - - - - - + + + + + + + - - v{{ row.version }} + + + + v{{ scope.row.version }} - - + + + + + + 选择 + - - - - - - - 申请信息【{{ selectProcessInstance.name }}】 - - - - - - - - - + + + + + + + + + 申请信息【{{ selectProcessInstance.name }}】 + + 选择其它流程 + + + + + + + + diff --git a/src/views/bpm/processInstance/create/process.create.ts b/src/views/bpm/processInstance/create/process.create.ts deleted file mode 100644 index 7516c0b4..00000000 --- a/src/views/bpm/processInstance/create/process.create.ts +++ /dev/null @@ -1,39 +0,0 @@ -import type { VxeCrudSchema } from '@/hooks/web/useVxeCrudSchemas' - -// crudSchemas -const crudSchemas = reactive({ - primaryKey: 'id', - primaryType: null, - action: true, - columns: [ - { - title: '流程名称', - field: 'name' - }, - { - title: '流程分类', - field: 'category', - dictType: DICT_TYPE.BPM_MODEL_CATEGORY, - dictClass: 'number', - table: { - slots: { - default: 'category_default' - } - } - }, - { - title: '流程版本', - field: 'version', - table: { - slots: { - default: 'version_default' - } - } - }, - { - title: '流程描述', - field: 'description' - } - ] -}) -export const { allSchemas } = useVxeCrudSchemas(crudSchemas)