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 | 27 +++++++++++++++++++--------
1 files changed, 19 insertions(+), 8 deletions(-)
diff --git a/src/views/bpm/processInstance/index.vue b/src/views/bpm/processInstance/index.vue
index 20c4c4b..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 { 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';
@@ -128,16 +128,27 @@
<template>
<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