yxk-20260616-待办、已办、抄送的列表样式调整
This commit is contained in:
@@ -10,21 +10,21 @@ export const columns: BasicColumn[] = [
|
|||||||
dataIndex: 'bpmBizTitle',
|
dataIndex: 'bpmBizTitle',
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
},
|
},
|
||||||
{
|
// {
|
||||||
title: '流程编号',
|
// title: '流程编号',
|
||||||
align: 'center',
|
// align: 'center',
|
||||||
dataIndex: 'processDefinitionId',
|
// dataIndex: 'processDefinitionId',
|
||||||
},
|
// },
|
||||||
{
|
{
|
||||||
title: '流程名称',
|
title: '流程名称',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
dataIndex: 'processDefinitionName',
|
dataIndex: 'processDefinitionName',
|
||||||
},
|
},
|
||||||
{
|
// {
|
||||||
title: '流程实例',
|
// title: '流程实例',
|
||||||
align: 'center',
|
// align: 'center',
|
||||||
dataIndex: 'processInstanceId',
|
// dataIndex: 'processInstanceId',
|
||||||
},
|
// },
|
||||||
{
|
{
|
||||||
title: '任务名称',
|
title: '任务名称',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
@@ -71,11 +71,11 @@ export const searchFormSchema: FormSchema[] = [
|
|||||||
field: 'processDefinitionName',
|
field: 'processDefinitionName',
|
||||||
component: 'Input',
|
component: 'Input',
|
||||||
},
|
},
|
||||||
{
|
// {
|
||||||
label: '流程编号',
|
// label: '流程编号',
|
||||||
field: 'processDefinitionId',
|
// field: 'processDefinitionId',
|
||||||
component: 'Input',
|
// component: 'Input',
|
||||||
},
|
// },
|
||||||
// {
|
// {
|
||||||
// label: '应用ID',
|
// label: '应用ID',
|
||||||
// field: 'lowAppId',
|
// field: 'lowAppId',
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
TaskHandleModal,
|
TaskHandleModal,
|
||||||
},
|
},
|
||||||
setup() {
|
setup() {
|
||||||
const { registerTable, getHistoryTaskInfo } = useTaskList('history', { pageSize: 12 });
|
const { registerTable, getHistoryTaskInfo } = useTaskList('history', { pageSize: 12, actionColumnWidth: 80 });
|
||||||
|
|
||||||
const [registerModal, { openModal }] = useModal();
|
const [registerModal, { openModal }] = useModal();
|
||||||
|
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ export const columns: BasicColumn[] = [
|
|||||||
title: '业务标题',
|
title: '业务标题',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
dataIndex: 'bpmBizTitle',
|
dataIndex: 'bpmBizTitle',
|
||||||
width: 350,
|
width: 400,
|
||||||
slots: { customRender: 'bpmBizTitle' },
|
slots: { customRender: 'bpmBizTitle' },
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
|
|
||||||
@@ -150,31 +150,33 @@ export const columns_history: BasicColumn[] = [
|
|||||||
title: '业务标题',
|
title: '业务标题',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
dataIndex: 'bpmBizTitle',
|
dataIndex: 'bpmBizTitle',
|
||||||
|
width: 400,
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
},
|
},
|
||||||
{
|
// {
|
||||||
title: '流程编号',
|
// title: '流程编号',
|
||||||
align: 'center',
|
// align: 'center',
|
||||||
dataIndex: 'processDefinitionId',
|
// dataIndex: 'processDefinitionId',
|
||||||
ellipsis: true,
|
// ellipsis: true,
|
||||||
},
|
// },
|
||||||
{
|
// {
|
||||||
title: '流程名称',
|
// title: '流程名称',
|
||||||
align: 'center',
|
// align: 'center',
|
||||||
dataIndex: 'processDefinitionName',
|
// dataIndex: 'processDefinitionName',
|
||||||
ellipsis: true,
|
// width: 180,
|
||||||
},
|
// ellipsis: true,
|
||||||
{
|
// },
|
||||||
title: '流程实例',
|
// {
|
||||||
align: 'center',
|
// title: '流程实例',
|
||||||
width: 100,
|
// align: 'center',
|
||||||
dataIndex: 'processInstanceId',
|
// width: 100,
|
||||||
},
|
// dataIndex: 'processInstanceId',
|
||||||
{
|
// },
|
||||||
title: '任务ID',
|
// {
|
||||||
align: 'center',
|
// title: '任务ID',
|
||||||
dataIndex: 'taskId',
|
// align: 'center',
|
||||||
},
|
// dataIndex: 'taskId',
|
||||||
|
// },
|
||||||
{
|
{
|
||||||
title: '发起人',
|
title: '发起人',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
@@ -190,11 +192,14 @@ export const columns_history: BasicColumn[] = [
|
|||||||
{
|
{
|
||||||
title: '开始时间',
|
title: '开始时间',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
|
width: 160,
|
||||||
dataIndex: 'taskBeginTime',
|
dataIndex: 'taskBeginTime',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '结束时间',
|
title: '结束时间',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
|
width: 160,
|
||||||
|
|
||||||
dataIndex: 'taskEndTime',
|
dataIndex: 'taskEndTime',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -220,11 +225,11 @@ export const searchFormSchema: FormSchema[] = [
|
|||||||
field: 'bpmBizTitle',
|
field: 'bpmBizTitle',
|
||||||
component: 'Input',
|
component: 'Input',
|
||||||
},
|
},
|
||||||
{
|
// {
|
||||||
label: '流程名',
|
// label: '流程名',
|
||||||
field: 'processDefinitionName',
|
// field: 'processDefinitionName',
|
||||||
component: 'Input',
|
// component: 'Input',
|
||||||
},
|
// },
|
||||||
{
|
{
|
||||||
label: '发起人',
|
label: '发起人',
|
||||||
field: 'userName',
|
field: 'userName',
|
||||||
@@ -237,11 +242,11 @@ export const searchFormSchema: FormSchema[] = [
|
|||||||
},
|
},
|
||||||
buss: 'run',
|
buss: 'run',
|
||||||
},
|
},
|
||||||
{
|
// {
|
||||||
label: '流程编号',
|
// label: '流程编号',
|
||||||
field: 'processDefinitionId',
|
// field: 'processDefinitionId',
|
||||||
component: 'Input',
|
// component: 'Input',
|
||||||
},
|
// },
|
||||||
// {
|
// {
|
||||||
// label: '应用ID',
|
// label: '应用ID',
|
||||||
// field: 'lowAppId',
|
// field: 'lowAppId',
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ import { list, taskNodeInfo } from './task.handle.api';
|
|||||||
|
|
||||||
interface TaskListOptions {
|
interface TaskListOptions {
|
||||||
pageSize?: number;
|
pageSize?: number;
|
||||||
|
actionColumnWidth?: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -23,8 +24,8 @@ export function useTaskList(type: string, options: TaskListOptions = {}) {
|
|||||||
showIndexColumn: true,
|
showIndexColumn: true,
|
||||||
showTableSetting: false,
|
showTableSetting: false,
|
||||||
canResize: false,
|
canResize: false,
|
||||||
scroll: { x: 1800 },
|
// scroll: { x: 1800 },
|
||||||
actionColumn: { dataIndex: 'action', fixed: 'right',width:150 },
|
actionColumn: { dataIndex: 'action', fixed: 'right', width: options.actionColumnWidth || 150 },
|
||||||
useSearchForm: TaskType.GROUP != type,
|
useSearchForm: TaskType.GROUP != type,
|
||||||
formConfig: {
|
formConfig: {
|
||||||
schemas: getSearchFormSchema(),
|
schemas: getSearchFormSchema(),
|
||||||
|
|||||||
Reference in New Issue
Block a user