From a44ee47c9b99f9ad447d6d3b504e4e7247498f5f Mon Sep 17 00:00:00 2001 From: ye1023 <12588209+ye1023@user.noreply.gitee.com> Date: Wed, 17 Jun 2026 10:46:24 +0800 Subject: [PATCH] =?UTF-8?q?yxk-20260616-=E5=BE=85=E5=8A=9E=E3=80=81?= =?UTF-8?q?=E5=B7=B2=E5=8A=9E=E3=80=81=E6=8A=84=E9=80=81=E7=9A=84=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E6=A0=B7=E5=BC=8F=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../personalOffice/myCcTask/task.cc.data.ts | 30 ++++---- .../myHandleTask/TaskHistoryList.vue | 2 +- .../myHandleTask/task.handle.data.ts | 73 ++++++++++--------- .../myHandleTask/useTaskList.ts | 5 +- 4 files changed, 58 insertions(+), 52 deletions(-) diff --git a/src/views/super/bpm/process/personalOffice/myCcTask/task.cc.data.ts b/src/views/super/bpm/process/personalOffice/myCcTask/task.cc.data.ts index 9c28546..871abc3 100644 --- a/src/views/super/bpm/process/personalOffice/myCcTask/task.cc.data.ts +++ b/src/views/super/bpm/process/personalOffice/myCcTask/task.cc.data.ts @@ -10,21 +10,21 @@ export const columns: BasicColumn[] = [ dataIndex: 'bpmBizTitle', ellipsis: true, }, - { - title: '流程编号', - align: 'center', - dataIndex: 'processDefinitionId', - }, + // { + // title: '流程编号', + // align: 'center', + // dataIndex: 'processDefinitionId', + // }, { title: '流程名称', align: 'center', dataIndex: 'processDefinitionName', }, - { - title: '流程实例', - align: 'center', - dataIndex: 'processInstanceId', - }, + // { + // title: '流程实例', + // align: 'center', + // dataIndex: 'processInstanceId', + // }, { title: '任务名称', align: 'center', @@ -71,11 +71,11 @@ export const searchFormSchema: FormSchema[] = [ field: 'processDefinitionName', component: 'Input', }, - { - label: '流程编号', - field: 'processDefinitionId', - component: 'Input', - }, + // { + // label: '流程编号', + // field: 'processDefinitionId', + // component: 'Input', + // }, // { // label: '应用ID', // field: 'lowAppId', diff --git a/src/views/super/bpm/process/personalOffice/myHandleTask/TaskHistoryList.vue b/src/views/super/bpm/process/personalOffice/myHandleTask/TaskHistoryList.vue index 4caf4a4..0ff91a1 100644 --- a/src/views/super/bpm/process/personalOffice/myHandleTask/TaskHistoryList.vue +++ b/src/views/super/bpm/process/personalOffice/myHandleTask/TaskHistoryList.vue @@ -23,7 +23,7 @@ TaskHandleModal, }, setup() { - const { registerTable, getHistoryTaskInfo } = useTaskList('history', { pageSize: 12 }); + const { registerTable, getHistoryTaskInfo } = useTaskList('history', { pageSize: 12, actionColumnWidth: 80 }); const [registerModal, { openModal }] = useModal(); diff --git a/src/views/super/bpm/process/personalOffice/myHandleTask/task.handle.data.ts b/src/views/super/bpm/process/personalOffice/myHandleTask/task.handle.data.ts index 8127ba1..ae6815b 100644 --- a/src/views/super/bpm/process/personalOffice/myHandleTask/task.handle.data.ts +++ b/src/views/super/bpm/process/personalOffice/myHandleTask/task.handle.data.ts @@ -16,7 +16,7 @@ export const columns: BasicColumn[] = [ title: '业务标题', align: 'center', dataIndex: 'bpmBizTitle', - width: 350, + width: 400, slots: { customRender: 'bpmBizTitle' }, ellipsis: true, @@ -150,31 +150,33 @@ export const columns_history: BasicColumn[] = [ title: '业务标题', align: 'center', dataIndex: 'bpmBizTitle', + width: 400, ellipsis: true, }, - { - title: '流程编号', - align: 'center', - dataIndex: 'processDefinitionId', - ellipsis: true, - }, - { - title: '流程名称', - align: 'center', - dataIndex: 'processDefinitionName', - ellipsis: true, - }, - { - title: '流程实例', - align: 'center', - width: 100, - dataIndex: 'processInstanceId', - }, - { - title: '任务ID', - align: 'center', - dataIndex: 'taskId', - }, + // { + // title: '流程编号', + // align: 'center', + // dataIndex: 'processDefinitionId', + // ellipsis: true, + // }, + // { + // title: '流程名称', + // align: 'center', + // dataIndex: 'processDefinitionName', + // width: 180, + // ellipsis: true, + // }, + // { + // title: '流程实例', + // align: 'center', + // width: 100, + // dataIndex: 'processInstanceId', + // }, + // { + // title: '任务ID', + // align: 'center', + // dataIndex: 'taskId', + // }, { title: '发起人', align: 'center', @@ -190,11 +192,14 @@ export const columns_history: BasicColumn[] = [ { title: '开始时间', align: 'center', + width: 160, dataIndex: 'taskBeginTime', }, { title: '结束时间', align: 'center', + width: 160, + dataIndex: 'taskEndTime', }, { @@ -220,11 +225,11 @@ export const searchFormSchema: FormSchema[] = [ field: 'bpmBizTitle', component: 'Input', }, - { - label: '流程名', - field: 'processDefinitionName', - component: 'Input', - }, + // { + // label: '流程名', + // field: 'processDefinitionName', + // component: 'Input', + // }, { label: '发起人', field: 'userName', @@ -237,11 +242,11 @@ export const searchFormSchema: FormSchema[] = [ }, buss: 'run', }, - { - label: '流程编号', - field: 'processDefinitionId', - component: 'Input', - }, + // { + // label: '流程编号', + // field: 'processDefinitionId', + // component: 'Input', + // }, // { // label: '应用ID', // field: 'lowAppId', diff --git a/src/views/super/bpm/process/personalOffice/myHandleTask/useTaskList.ts b/src/views/super/bpm/process/personalOffice/myHandleTask/useTaskList.ts index 4af6fcf..a58a203 100644 --- a/src/views/super/bpm/process/personalOffice/myHandleTask/useTaskList.ts +++ b/src/views/super/bpm/process/personalOffice/myHandleTask/useTaskList.ts @@ -4,6 +4,7 @@ import { list, taskNodeInfo } from './task.handle.api'; interface TaskListOptions { pageSize?: number; + actionColumnWidth?: number; } /** @@ -23,8 +24,8 @@ export function useTaskList(type: string, options: TaskListOptions = {}) { showIndexColumn: true, showTableSetting: false, canResize: false, - scroll: { x: 1800 }, - actionColumn: { dataIndex: 'action', fixed: 'right',width:150 }, + // scroll: { x: 1800 }, + actionColumn: { dataIndex: 'action', fixed: 'right', width: options.actionColumnWidth || 150 }, useSearchForm: TaskType.GROUP != type, formConfig: { schemas: getSearchFormSchema(),