修改流程的布局

This commit is contained in:
qq787203167
2022-05-20 11:49:14 +08:00
parent aab82baa84
commit 4018235232
2 changed files with 20 additions and 15 deletions
@@ -319,7 +319,7 @@
pageLoading: false, pageLoading: false,
dataSource: [], dataSource: [],
dataSourceTable: [], dataSourceTable: [],
pageSize: 10, pageSize: 3,
pageNo: 1, pageNo: 1,
total: 0, total: 0,
distributionEngineerList: [], distributionEngineerList: [],
@@ -386,37 +386,36 @@
visibleDetails: false, visibleDetails: false,
columnsAll: [ columnsAll: [
{ {
title: this.$t('serialNumber'), title: 'ID',
dataIndex: 'index', dataIndex: 'index',
key: 'index', key: 'index',
align: 'center', align: 'left',
width: 140, width: 140,
fixed: 'left',
customRender: (text, record, index) => `${index + 1}` customRender: (text, record, index) => `${index + 1}`
}, },
{ {
title: this.$t('completedBy'), title: this.$t('completedBy'),
dataIndex: 'createBy', dataIndex: 'createBy',
ellipsis: true, ellipsis: true,
align: 'center' align: 'left'
}, },
{ {
title: this.$t('completedTime'), title: this.$t('completedTime'),
dataIndex: 'createTime', dataIndex: 'createTime',
ellipsis: true, ellipsis: true,
align: 'center' align: 'left'
}, },
{ {
title: this.$t('feedbackFromTheEngineer'), title: this.$t('feedbackFromTheEngineer'),
dataIndex: 'engineerFeedbackContent', dataIndex: 'engineerFeedbackContent',
align: 'center', align: 'left',
ellipsis: true, ellipsis: true,
scopedSlots: { customRender: 'engineerFeedbackContent' } scopedSlots: { customRender: 'engineerFeedbackContent' }
}, },
{ {
title: this.$t('Deliverables'), title: this.$t('Deliverables'),
dataIndex: 'fileId', dataIndex: 'fileId',
align: 'center', align: 'left',
ellipsis: true, ellipsis: true,
scopedSlots: { customRender: 'Deliverables' } scopedSlots: { customRender: 'Deliverables' }
}, },
@@ -424,11 +423,11 @@
title: this.$t('replyFromProjectContactPerson'), title: this.$t('replyFromProjectContactPerson'),
dataIndex: 'engineeringInterfacePersonReply', dataIndex: 'engineeringInterfacePersonReply',
ellipsis: true, ellipsis: true,
align: 'center' align: 'left'
}, },
{ {
title: this.$t('operation'), title: this.$t('operation'),
align: 'center', align: 'left',
width: 300, width: 300,
scopedSlots: { customRender: 'operation' } scopedSlots: { customRender: 'operation' }
} }
@@ -45,28 +45,34 @@
{ {
title: this.$t('operationNode'), title: this.$t('operationNode'),
dataIndex: 'name', dataIndex: 'name',
align: 'center' align: 'left',
width:'20%',
}, },
{ {
title: this.$t('Operator'), title: this.$t('Operator'),
dataIndex: 'assignee', dataIndex: 'assignee',
align: 'center' align: 'left',
width:'20%',
}, },
{ {
title: this.$t('result'), title: this.$t('result'),
dataIndex: 'reviewResult', dataIndex: 'reviewResult',
align: 'center', align: 'left',
width:'20%',
scopedSlots: { customRender: 'reviewResult' } scopedSlots: { customRender: 'reviewResult' }
}, },
{ {
title: this.$t('opinion'), title: this.$t('opinion'),
dataIndex: 'approvalOpinion', dataIndex: 'approvalOpinion',
align: 'center' align: 'left',
width:'20%',
}, },
{ {
title: this.$t('operationTime'), title: this.$t('operationTime'),
dataIndex: 'operatorTime', dataIndex: 'operatorTime',
align: 'center', align: 'left',
width:200,
fixed: 'right',
customRender: function(t, r, index) { customRender: function(t, r, index) {
return moment(t).format('YYYY-MM-DD HH:mm:ss') return moment(t).format('YYYY-MM-DD HH:mm:ss')
} }