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(),