yxk-20260526-查询督办流程modal:少量样式和字段调整

This commit is contained in:
ye1023
2026-05-26 14:30:38 +08:00
parent f1f10d06ad
commit 938dd212f6
3 changed files with 58 additions and 58 deletions
@@ -1,14 +1,7 @@
<template>
<j-modal
:title="title"
:width="1400"
:visible="visible"
:footer="null"
@cancel="handleCancel"
cancelText="关闭"
>
<j-modal :title="title" :width="1400" :visible="visible" :footer="null" @cancel="handleCancel" cancelText="关闭">
<div class="business-process-list-modal">
<BasicTable @register="registerTable">
<BasicTable class="business-process-table" @register="registerTable">
<template #action="{ record }">
<TableAction :actions="getTableAction(record)" />
</template>
@@ -38,6 +31,8 @@
const visible = ref(false);
const currentBusinessId = ref('');
const defaultColumns = columns;
// 固定表体高度,让横向滚动条停留在弹窗底部,而不是跟随少量数据行出现在中间。
const tableBodyHeight = 500;
const { createMessage } = useMessage();
const onDeleteProcessRef = ref<OpenParams['onDeleteProcess']>();
const [registerBpmModal, { openModal: bpmPicModal }] = useModal();
@@ -59,6 +54,7 @@
},
scroll: {
x: 3600,
y: tableBodyHeight,
},
});
@@ -150,5 +146,9 @@
:deep(.vben-basic-table) {
padding: 0;
}
:deep(.business-process-table .ant-table-body) {
height: 500px;
}
}
</style>
@@ -30,31 +30,31 @@ export const columns: BasicColumn[] = [
align: "center",
dataIndex: 'processInstId'
},
{
title: '流程类型',
align: "center",
dataIndex: 'processType'
},
// {
// title: '流程类型',
// align: "center",
// dataIndex: 'processType'
// },
{
title: '流程状态',
align: "center",
dataIndex: 'bpmStatus'
},
{
title: '关联台账事项ID',
align: "center",
dataIndex: 'businessId'
},
{
title: '关联台账根节点id',
align: "center",
dataIndex: 'parentBusinessId'
},
{
title: '关联台账表名',
align: "center",
dataIndex: 'businessTablename'
},
// {
// title: '关联台账事项ID',
// align: "center",
// dataIndex: 'businessId'
// },
// {
// title: '关联台账根节点id',
// align: "center",
// dataIndex: 'parentBusinessId'
// },
// {
// title: '关联台账表名',
// align: "center",
// dataIndex: 'businessTablename'
// },
// {
// title: '外部来源 ID',
// align: "center",
@@ -62,7 +62,7 @@ export const columns: BasicColumn[] = [
// },
{
title: '紧急程度(一般/紧急/特急)',
title: '是否紧急',
align: "center",
dataIndex: 'urgencyLevel_dictText'
},
@@ -96,11 +96,11 @@ export const columns: BasicColumn[] = [
align: "center",
dataIndex: 'deptId'
},
{
title: '被督办部门名称(冗余)',
align: "center",
dataIndex: 'deptName'
},
// {
// title: '被督办部门名称(冗余)',
// align: "center",
// dataIndex: 'deptName'
// },
// {
// title: '部门负责人id',
// align: "center",
@@ -132,7 +132,7 @@ export const columns: BasicColumn[] = [
// dataIndex: 'followerNames'
// },
{
title: '要求完成日期(业务层面的硬性要求)',
title: '要求完成日期',
align: "center",
dataIndex: 'requireFinishDate',
customRender:({text}) =>{
@@ -145,32 +145,32 @@ export const columns: BasicColumn[] = [
align: "center",
dataIndex: 'startTime'
},
{
title: '截止时间(精确到时分,与 require_finish_date 互补)',
align: "center",
sorter: true,
dataIndex: 'deadline'
},
// {
// title: '截止时间(精确到时分,与 require_finish_date 互补)',
// align: "center",
// sorter: true,
// dataIndex: 'deadline'
// },
{
title: '实际完成时间',
align: "center",
dataIndex: 'actualFinishTime'
},
{
title: '是否已逾期',
align: "center",
dataIndex: 'isOverdue'
},
{
title: '逾期时长',
align: "center",
dataIndex: 'overdueDuration'
},
{
title: '持续时长',
align: "center",
dataIndex: 'duration'
},
// {
// title: '是否已逾期',
// align: "center",
// dataIndex: 'isOverdue'
// },
// {
// title: '逾期时长',
// align: "center",
// dataIndex: 'overdueDuration'
// },
// {
// title: '持续时长',
// align: "center",
// dataIndex: 'duration'
// },
// {
// title: '子任务完成进度(0.00~100.00,参考飞书子任务进度)',
// align: "center",
@@ -1,6 +1,6 @@
<template>
<!--流程图弹窗-->
<BasicModal v-bind="$attrs" :bodyStyle="bodyStyle" :width="900" destroyOnClose :footer="null" @register="registerModal" title="流程图">
<BasicModal v-bind="$attrs" :bodyStyle="bodyStyle" :width="1200" destroyOnClose :footer="null" @register="registerModal" title="流程图">
<BpmGraphic :instanceId="procInsId"></BpmGraphic>
</BasicModal>
</template>