From b64a0deae5b5d33f9e20671a68936b27f0b9b00b Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期二, 21 七月 2026 18:03:03 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/dev_pro2.0' into dev_pro2.0
---
src/views/bpm/processInstance/index.vue | 37 ++++++++++++++++++++-----------------
1 files changed, 20 insertions(+), 17 deletions(-)
diff --git a/src/views/bpm/processInstance/index.vue b/src/views/bpm/processInstance/index.vue
index b30d739..9f3ccff 100644
--- a/src/views/bpm/processInstance/index.vue
+++ b/src/views/bpm/processInstance/index.vue
@@ -4,14 +4,14 @@
import { h } from 'vue';
-import { DocAlert, Page, prompt } from '..\..\..\packages\effects\common-ui\src';
+import { Page, prompt } from '@vben/common-ui';
import {
BpmModelFormType,
BpmProcessInstanceStatus,
DICT_TYPE,
-} from '..\..\..\packages\constants\src';
+} from '@vben/constants';
-import { Button, message, Textarea } from 'ant-design-vue';
+import { Button, message, Textarea, Tooltip } from 'ant-design-vue';
import { ACTION_ICON, TableAction, useVbenVxeGrid } from '#/adapter/vxe-table';
import { getProcessDefinition } from '#/api/bpm/definition';
@@ -126,26 +126,29 @@
</script>
<template>
- <Page auto-content-height>
- <template #doc>
- <DocAlert
- title="娴佺▼鍙戣捣銆佸彇娑堛�侀噸鏂板彂璧�"
- url="https://doc.iocoder.cn/bpm/process-instance"
- />
- </template>
-
- <Grid table-title="娴佺▼鐘舵��">
+ <Page auto-content-height><Grid table-title="娴佺▼鐘舵��">
<template #slot-summary="{ row }">
- <div
- class="flex flex-col py-2"
+ <Tooltip
v-if="row.summary && row.summary.length > 0"
+ placement="topLeft"
>
- <div v-for="(item, index) in row.summary" :key="index">
- <span class="text-gray-500">
+ <template #title>
+ <div v-for="(item, index) in row.summary" :key="index">
{{ item.key }} : {{ item.value }}
+ </div>
+ </template>
+ <div class="truncate max-w-[200px] cursor-pointer">
+ <span
+ v-for="(item, index) in row.summary"
+ :key="index"
+ >
+ <span class="text-gray-500">
+ {{ item.key }} : {{ item.value }}
+ </span>
+ <span v-if="index < row.summary.length - 1" class="mx-1 text-gray-300">|</span>
</span>
</div>
- </div>
+ </Tooltip>
<div v-else>-</div>
</template>
<template #slot-status="{ row }">
--
Gitblit v1.9.3