yxk-20260616-待办、已办、抄送的列表样式调整
This commit is contained in:
@@ -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',
|
||||
|
||||
@@ -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();
|
||||
|
||||
|
||||
@@ -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',
|
||||
|
||||
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user