项目库-可伸缩列
This commit is contained in:
@@ -29,6 +29,7 @@
|
||||
</div>
|
||||
<a-table
|
||||
ref="table"
|
||||
:components="drag(columns,'columnsAll')"
|
||||
:loading="loading"
|
||||
:pagination="false"
|
||||
:scroll="{x: 1600}"
|
||||
@@ -320,6 +321,7 @@
|
||||
import uploadFile from '@/components/uploadFile/file'
|
||||
import viewFileModel from '@/components/viewFileModel/index'
|
||||
import { Base64 } from 'js-base64'
|
||||
import { ResizeHeader, ResizeColumnProvide } from '@/mixins/header'
|
||||
|
||||
export default {
|
||||
name: 'engineeringConfirmation',
|
||||
@@ -328,6 +330,7 @@
|
||||
uploadFile,
|
||||
viewFileModel
|
||||
},
|
||||
mixins:[ResizeHeader, ResizeColumnProvide],
|
||||
data() {
|
||||
return {
|
||||
loading: false,
|
||||
@@ -404,39 +407,45 @@
|
||||
{
|
||||
title: 'ID',
|
||||
dataIndex: 'serialNumber',
|
||||
align: 'left'
|
||||
align: 'left',
|
||||
width: 235
|
||||
},
|
||||
{
|
||||
title: this.$t('completedBy'),
|
||||
dataIndex: 'createBy',
|
||||
ellipsis: true,
|
||||
align: 'left'
|
||||
align: 'left',
|
||||
width: 235
|
||||
},
|
||||
{
|
||||
title: this.$t('completedTime'),
|
||||
dataIndex: 'createTime',
|
||||
ellipsis: true,
|
||||
align: 'left'
|
||||
align: 'left',
|
||||
width: 235
|
||||
},
|
||||
{
|
||||
title: this.$t('feedbackFromTheEngineer'),
|
||||
dataIndex: 'engineerFeedbackContent',
|
||||
align: 'left',
|
||||
ellipsis: true,
|
||||
scopedSlots: { customRender: 'engineerFeedbackContent' }
|
||||
scopedSlots: { customRender: 'engineerFeedbackContent' },
|
||||
width: 235
|
||||
},
|
||||
{
|
||||
title: this.$t('Deliverables'),
|
||||
dataIndex: 'fileId',
|
||||
align: 'left',
|
||||
ellipsis: true,
|
||||
scopedSlots: { customRender: 'Deliverables' }
|
||||
scopedSlots: { customRender: 'Deliverables' },
|
||||
width: 235
|
||||
},
|
||||
{
|
||||
title: this.$t('replyFromProjectContactPerson'),
|
||||
dataIndex: 'engineeringInterfacePersonReply',
|
||||
ellipsis: true,
|
||||
align: 'left'
|
||||
align: 'left',
|
||||
width: 235
|
||||
},
|
||||
{
|
||||
title: this.$t('operation'),
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
<div style="width: 100%">
|
||||
<a-table
|
||||
ref="table"
|
||||
:components="drag(columns,'columns')"
|
||||
:loading="loading"
|
||||
:pagination="false"
|
||||
:scroll="{x: true}"
|
||||
@@ -26,9 +27,11 @@
|
||||
import { getAction, postAction, downloadFile } from '@/api/manage'
|
||||
import moment from 'moment'
|
||||
import { Base64 } from 'js-base64'
|
||||
import { ResizeHeader, ResizeColumnProvide } from '@/mixins/header'
|
||||
|
||||
export default {
|
||||
name: 'circulationHistory',
|
||||
mixins:[ResizeHeader, ResizeColumnProvide],
|
||||
data() {
|
||||
return {
|
||||
dataSource: [],
|
||||
@@ -45,23 +48,27 @@
|
||||
{
|
||||
title: this.$t('OperationNode'),
|
||||
dataIndex: 'name',
|
||||
align: 'left'
|
||||
align: 'left',
|
||||
width: 470
|
||||
},
|
||||
{
|
||||
title: this.$t('Operator'),
|
||||
dataIndex: 'assignee',
|
||||
align: 'left'
|
||||
align: 'left',
|
||||
width: 270
|
||||
},
|
||||
{
|
||||
title: this.$t('result'),
|
||||
dataIndex: 'reviewResult',
|
||||
align: 'left',
|
||||
scopedSlots: { customRender: 'reviewResult' }
|
||||
scopedSlots: { customRender: 'reviewResult' },
|
||||
width: 270
|
||||
},
|
||||
{
|
||||
title: this.$t('opinion'),
|
||||
dataIndex: 'approvalOpinion',
|
||||
align: 'left'
|
||||
align: 'left',
|
||||
width: 270
|
||||
},
|
||||
{
|
||||
title: this.$t('operationTime'),
|
||||
|
||||
Reference in New Issue
Block a user