From dfa9cd5a3c47c77e797a030bc1e4abf77abcff49 Mon Sep 17 00:00:00 2001
From: GoldenZqqq <1361001127@qq.com>
Date: Tue, 22 Oct 2024 15:42:20 +0800
Subject: [PATCH] =?UTF-8?q?fix:=20=E7=82=B9=E5=87=BB=E4=BF=AE=E6=94=B9?=
=?UTF-8?q?=E6=B5=81=E7=A8=8B=E6=A8=A1=E5=9E=8B=E6=8C=89=E9=92=AE=E6=8A=A5?=
=?UTF-8?q?=E9=94=99=E9=97=AE=E9=A2=98=E4=BF=AE=E5=A4=8D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/bpm/model/CategoryDraggableModel.vue | 14 ++++----------
1 file changed, 4 insertions(+), 10 deletions(-)
diff --git a/src/views/bpm/model/CategoryDraggableModel.vue b/src/views/bpm/model/CategoryDraggableModel.vue
index 6d25128b..c6c87da5 100644
--- a/src/views/bpm/model/CategoryDraggableModel.vue
+++ b/src/views/bpm/model/CategoryDraggableModel.vue
@@ -35,7 +35,7 @@
排序
-
+
新建
@@ -150,7 +150,7 @@
@@ -299,12 +299,6 @@ const handleCategoryCommand = (command: string) => {
}
}
-/** 添加/修改操作 */
-const formRef = ref()
-const openForm = (type: string, id?: number) => {
- formRef.value.open(type, id)
-}
-
/** 删除按钮操作 */
const handleDelete = async (row: any) => {
try {
@@ -481,8 +475,8 @@ const handleDeleteGroup = async () => {
// 添加流程模型弹窗
const modelFormRef = ref()
-const handleAddModel = (type: string) => {
- modelFormRef.value.open(type)
+const openModelForm = (type: string, id?: number) => {
+ modelFormRef.value.open(type, id)
}
watch(() => props.categoryInfo.modelList, updateTableData, { immediate: true })