From 8992f64eb4b785fa83bb32215f49c73a94fbb963 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sat, 21 Jan 2023 18:58:48 +0800 Subject: [PATCH] =?UTF-8?q?bpm=EF=BC=9A=E5=AE=8C=E5=96=84=E6=B5=81?= =?UTF-8?q?=E7=A8=8B=E5=88=86=E9=85=8D=E4=BB=BB=E5=8A=A1=E7=9A=84=E5=BC=B9?= =?UTF-8?q?=E7=AA=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/api/bpm/taskAssignRule/index.ts | 11 +- .../src/api/bpm/taskAssignRule/types.ts | 9 - .../src/views/bpm/group/index.vue | 4 +- .../src/views/bpm/taskAssignRule/index.vue | 213 +++++++++++------- .../bpm/taskAssignRule/taskAssignRule.data.ts | 13 +- 5 files changed, 159 insertions(+), 91 deletions(-) delete mode 100644 yudao-ui-admin-vue3/src/api/bpm/taskAssignRule/types.ts diff --git a/yudao-ui-admin-vue3/src/api/bpm/taskAssignRule/index.ts b/yudao-ui-admin-vue3/src/api/bpm/taskAssignRule/index.ts index 9bdbdf0e2..5fbe342d4 100644 --- a/yudao-ui-admin-vue3/src/api/bpm/taskAssignRule/index.ts +++ b/yudao-ui-admin-vue3/src/api/bpm/taskAssignRule/index.ts @@ -1,5 +1,14 @@ import request from '@/config/axios' -import { TaskAssignVO } from './types' + +export type TaskAssignVO = { + id: number + modelId: string + processDefinitionId: string + taskDefinitionKey: string + taskDefinitionName: string + options: string[] + type: number +} export const getTaskAssignRuleList = async (params) => { return await request.get({ url: '/bpm/task-assign-rule/list', params }) diff --git a/yudao-ui-admin-vue3/src/api/bpm/taskAssignRule/types.ts b/yudao-ui-admin-vue3/src/api/bpm/taskAssignRule/types.ts deleted file mode 100644 index e9340e7ea..000000000 --- a/yudao-ui-admin-vue3/src/api/bpm/taskAssignRule/types.ts +++ /dev/null @@ -1,9 +0,0 @@ -export type TaskAssignVO = { - id: number - modelId: string - processDefinitionId: string - taskDefinitionKey: string - taskDefinitionName: string - options: string[] - type: number -} diff --git a/yudao-ui-admin-vue3/src/views/bpm/group/index.vue b/yudao-ui-admin-vue3/src/views/bpm/group/index.vue index c13dbcf40..d167887ed 100644 --- a/yudao-ui-admin-vue3/src/views/bpm/group/index.vue +++ b/yudao-ui-admin-vue3/src/views/bpm/group/index.vue @@ -77,7 +77,7 @@ type="primary" :title="t('action.save')" :loading="actionLoading" - @click="submitForm()" + @click="submitForm" /> @@ -90,7 +90,7 @@ import { onMounted, ref } from 'vue' // 业务相关的 import import * as UserGroupApi from '@/api/bpm/userGroup' import { getListSimpleUsersApi, UserVO } from '@/api/system/user' -import { allSchemas } from './group.data' +import { allSchemas, rules } from './group.data' import { FormExpose } from '@/components/Form' const { t } = useI18n() // 国际化 diff --git a/yudao-ui-admin-vue3/src/views/bpm/taskAssignRule/index.vue b/yudao-ui-admin-vue3/src/views/bpm/taskAssignRule/index.vue index d3b6a19b3..633540c2d 100644 --- a/yudao-ui-admin-vue3/src/views/bpm/taskAssignRule/index.vue +++ b/yudao-ui-admin-vue3/src/views/bpm/taskAssignRule/index.vue @@ -9,29 +9,28 @@ - + - + @@ -39,7 +38,7 @@ + @@ -128,28 +139,31 @@