修改已知问题

This commit is contained in:
qq787203167
2022-05-27 17:29:00 +08:00
parent c498a114bf
commit 9f835fa5ce
3 changed files with 70 additions and 43 deletions
+5
View File
@@ -90,6 +90,7 @@
.jee-hidden { .jee-hidden {
display: none display: none
} }
.box-input .ant-select-selection { .box-input .ant-select-selection {
height: 38px !important; height: 38px !important;
} }
@@ -97,3 +98,7 @@
.box-input .ant-select-selection__rendered { .box-input .ant-select-selection__rendered {
line-height: 38px; line-height: 38px;
} }
.ant-table-fixed-left table, .ant-table-fixed-right table .ant-table-fixed{
width: min-content;
}
@@ -54,7 +54,7 @@
:loading="loading" :loading="loading"
rowKey="uuid" rowKey="uuid"
:pagination="false" :pagination="false"
:scroll="{x: true}" :scroll="{x: '100%'}"
:row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }" :row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
:data-source="dataSource" :data-source="dataSource"
:columns="columns" :columns="columns"
@@ -94,38 +94,52 @@
title: this.$t('standard'), title: this.$t('standard'),
align: 'center', align: 'center',
dataIndex: 'serialNumber', dataIndex: 'serialNumber',
scopedSlots: { customRender: 'standard' } scopedSlots: { customRender: 'standard' },
ellipsis: true,
width: 180
}, },
{ {
title: this.$t('title'), title: this.$t('title'),
align: 'center', align: 'center',
dataIndex: 'title', dataIndex: 'title',
ellipsis: true,
width: 180,
scopedSlots: { customRender: 'standard' } scopedSlots: { customRender: 'standard' }
}, },
{ {
title: this.$t('ProcessType'), title: this.$t('ProcessType'),
align: 'center', align: 'center',
dataIndex: 'flowType' dataIndex: 'flowType',
ellipsis: true,
width: 180
}, },
{ {
title: this.$t('areaOfResponsibility'), title: this.$t('areaOfResponsibility'),
align: 'center', align: 'center',
dataIndex: 'dutyTerritory_dictText' dataIndex: 'dutyTerritory_dictText',
ellipsis: true,
width: 180
}, },
{ {
title: this.$t('problemType'), title: this.$t('problemType'),
align: 'center', align: 'center',
dataIndex: 'problemType' dataIndex: 'problemType',
ellipsis: true,
width: 180
}, },
{ {
title: this.$t('Sponsor'), title: this.$t('Sponsor'),
align: 'center', align: 'center',
dataIndex: 'initiator' dataIndex: 'initiator',
ellipsis: true,
width: 140
}, },
{ {
title: this.$t('personLiable'), title: this.$t('personLiable'),
align: 'center', align: 'center',
dataIndex: 'duty' dataIndex: 'duty',
ellipsis: true,
width: 140
} }
], ],
total: 0, total: 0,
@@ -154,13 +154,13 @@
rowKey="uuid" rowKey="uuid"
:loading="loading" :loading="loading"
:pagination="false" :pagination="false"
:scroll="{x: true}" :scroll="{x: '100%'}"
:row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }" :row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
:data-source="dataSource" :data-source="dataSource"
:columns="columns" :columns="columns"
> >
<span slot="standard" slot-scope="text,result"> <span slot="standard" slot-scope="text,result">
<a @click="standardClick(result)">{{text}}</a> <a @click="standardClick(result)" :title="text">{{text}}</a>
</span> </span>
</a-table> </a-table>
</div> </div>
@@ -201,48 +201,56 @@
align: 'center', align: 'center',
dataIndex: 'serialNumber', dataIndex: 'serialNumber',
ellipsis: true, ellipsis: true,
scopedSlots: { customRender: 'standard' } width:180,
scopedSlots: { customRender: 'standard' },
}, },
{ {
title: this.$t('title'), title: this.$t('title'),
align: 'center', align: 'center',
dataIndex: 'title', dataIndex: 'title',
ellipsis: true, ellipsis: true,
width:180,
scopedSlots: { customRender: 'standard' } scopedSlots: { customRender: 'standard' }
}, },
{ {
title: this.$t('ProcessType'), title: this.$t('ProcessType'),
align: 'center', align: 'center',
dataIndex: 'flowType', dataIndex: 'flowType',
width:180,
ellipsis: true ellipsis: true
}, },
{ {
title: this.$t('areaOfResponsibility'), title: this.$t('areaOfResponsibility'),
align: 'center', align: 'center',
dataIndex: 'dutyTerritory_dictText', dataIndex: 'dutyTerritory_dictText',
width:180,
ellipsis: true ellipsis: true
}, },
{ {
title: this.$t('RelatedItems'), title: this.$t('RelatedItems'),
align: 'center', align: 'center',
dataIndex: 'projectName', dataIndex: 'projectName',
width:180,
ellipsis: true ellipsis: true
}, },
{ {
title: this.$t('problemType'), title: this.$t('problemType'),
align: 'center', align: 'center',
dataIndex: 'problemType', dataIndex: 'problemType',
ellipsis: true width:140,
ellipsis: true,
}, },
{ {
title: this.$t('Sponsor'), title: this.$t('Sponsor'),
align: 'center', align: 'center',
dataIndex: 'initiator' dataIndex: 'initiator',
width:140,
}, },
{ {
title: this.$t('personLiable'), title: this.$t('personLiable'),
align: 'center', align: 'center',
dataIndex: 'duty' dataIndex: 'duty',
width:140,
} }
], ],
total: 0, total: 0,