From 9a233ab6bfd40f052286a888654935da0cf83ef3 Mon Sep 17 00:00:00 2001 From: smallNorthLee <18210040298@163.com> Date: Wed, 12 Feb 2025 22:50:40 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=20=E6=8A=BD=E5=8F=96sliceName?= =?UTF-8?q?=E6=96=B9=E6=B3=95=EF=BC=8C=E7=A7=BB=E9=99=A4=E6=B5=81=E7=A8=8B?= =?UTF-8?q?=E5=8F=91=E5=B8=83=E6=A0=A1=E9=AA=8C=E6=98=AF=E5=90=A6=E5=AD=98?= =?UTF-8?q?=E5=9C=A8=E8=BF=9B=E8=A1=8C=E4=B8=AD=E7=9A=84=E5=8D=95=E6=8D=AE?= =?UTF-8?q?=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/bpm/model/index.ts | 11 +---------- .../src/SimpleProcessDesigner.vue | 4 ++-- src/utils/index.ts | 15 +++++++++++++++ src/views/bpm/model/CategoryDraggableModel.vue | 16 +++------------- src/views/bpm/model/form/index.vue | 5 ----- src/views/bpm/processInstance/create/index.vue | 11 ++--------- 6 files changed, 23 insertions(+), 39 deletions(-) diff --git a/src/api/bpm/model/index.ts b/src/api/bpm/model/index.ts index 5590e1c4..8caee6f9 100644 --- a/src/api/bpm/model/index.ts +++ b/src/api/bpm/model/index.ts @@ -76,13 +76,4 @@ export const deployModel = async (id: number) => { export const cleanModel = async (id: number) => { return await request.delete({ url: '/bpm/model/clean?id=' + id }) } -/** - * 查询当前流程实例下是否存在正在进行中的单据 - * @param modelId 模型定义id - * @returns true/false - */ -export const getProcessInstance = async (modelId: string) => { - return await request.get({ - url: '/bpm/task/manager-list?modelId=' + modelId - }) -} + diff --git a/src/components/SimpleProcessDesignerV2/src/SimpleProcessDesigner.vue b/src/components/SimpleProcessDesignerV2/src/SimpleProcessDesigner.vue index dc35f5ba..c1493afb 100644 --- a/src/components/SimpleProcessDesignerV2/src/SimpleProcessDesigner.vue +++ b/src/components/SimpleProcessDesignerV2/src/SimpleProcessDesigner.vue @@ -25,7 +25,6 @@