From b2e47f3938cfbd6cdf65db20aa9dcf381a17ce54 Mon Sep 17 00:00:00 2001
From: gssong <1742057357@qq.com>
Date: Fri, 17 May 2024 20:59:47 +0800
Subject: [PATCH] =?UTF-8?q?update=20=E4=BC=98=E5=8C=96=E6=A8=A1=E5=9E=8B?=
=?UTF-8?q?=E4=BF=9D=E5=AD=98=E4=BD=8D=E7=BD=AE=EF=BC=8C=E5=AE=A1=E6=89=B9?=
=?UTF-8?q?=E8=AE=B0=E5=BD=95=EF=BC=8C=E8=AF=B7=E5=81=87=E7=94=B3=E8=AF=B7?=
=?UTF-8?q?=E6=8C=89=E9=92=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/bpmn/index.vue | 44 ++++++++++----------
src/components/BpmnView/index.vue | 1 +
src/components/Process/approvalRecord.vue | 4 +-
src/views/workflow/leave/index.vue | 42 ++++++++++++-------
src/views/workflow/processInstance/index.vue | 14 +------
5 files changed, 51 insertions(+), 54 deletions(-)
diff --git a/src/bpmn/index.vue b/src/bpmn/index.vue
index 13b3847..924a838 100644
--- a/src/bpmn/index.vue
+++ b/src/bpmn/index.vue
@@ -14,29 +14,6 @@
- 保 存
-
- 预 览
-
-
- XML预览
- SVG预览
-
-
-
-
-
- 下 载
-
-
- 下载XML
- 下载SVG
-
-
-
-
-
-
@@ -53,6 +30,27 @@
+
+ 保 存
+
+ 预 览
+
+
+ XML预览
+ SVG预览
+
+
+
+
+ 下 载
+
+
+ 下载XML
+ 下载SVG
+
+
+
+
diff --git a/src/components/BpmnView/index.vue b/src/components/BpmnView/index.vue
index 4ea890d..a79f084 100644
--- a/src/components/BpmnView/index.vue
+++ b/src/components/BpmnView/index.vue
@@ -405,5 +405,6 @@ defineExpose({
margin: 0;
padding: 0;
}
+ cursor: pointer;
}
diff --git a/src/components/Process/approvalRecord.vue b/src/components/Process/approvalRecord.vue
index 1610f27..cbce87a 100644
--- a/src/components/Process/approvalRecord.vue
+++ b/src/components/Process/approvalRecord.vue
@@ -62,7 +62,6 @@ const props = defineProps({
const loading = ref(false);
const visible = ref(false);
const historyList = ref>([]);
-const deleteReason = ref('');
const tabActiveName = ref('bpmn');
const bpmnViewRef = ref();
@@ -74,8 +73,7 @@ const init = async (instanceId: string) => {
tabActiveName.value = 'bpmn';
historyList.value = [];
processApi.getHistoryRecord(instanceId).then((resp) => {
- historyList.value = resp.data.historyRecordList;
- deleteReason.value = resp.data.deleteReason;
+ historyList.value = resp.data;
loading.value = false;
});
await nextTick(() => {
diff --git a/src/views/workflow/leave/index.vue b/src/views/workflow/leave/index.vue
index 2e8a9b7..23d5442 100644
--- a/src/views/workflow/leave/index.vue
+++ b/src/views/workflow/leave/index.vue
@@ -58,34 +58,44 @@
- 修改
-
-
- 删除
+ 查看
+ 撤销
-
-
-
-
-
-
-
-
diff --git a/src/views/workflow/processInstance/index.vue b/src/views/workflow/processInstance/index.vue
index 764ca2f..4f994af 100644
--- a/src/views/workflow/processInstance/index.vue
+++ b/src/views/workflow/processInstance/index.vue
@@ -81,7 +81,7 @@
-
+
@@ -97,23 +97,13 @@
- 切换版本
+ 删除
查看
-
- 删除
-