diff --git a/jero-web/src/components/tableCollection/index.vue b/jero-web/src/components/tableCollection/index.vue index d4e712fbe..8304b2613 100644 --- a/jero-web/src/components/tableCollection/index.vue +++ b/jero-web/src/components/tableCollection/index.vue @@ -101,30 +101,31 @@
{{$t('configurationName')}}: {{configDetail.configName}}
{{$t('Model')}}: - {{configDetail.carType}}
{{$t('electricMachinery')}}: - {{configDetail.motor}}
{{$t('Version')}}: - {{configDetail.version}}
{{$t('Battery')}}: - {{configDetail.battery}}
diff --git a/jero-web/src/views/parameter/ParameterTemplate/index.vue b/jero-web/src/views/parameter/ParameterTemplate/index.vue index fb8d13d60..dde4540c1 100644 --- a/jero-web/src/views/parameter/ParameterTemplate/index.vue +++ b/jero-web/src/views/parameter/ParameterTemplate/index.vue @@ -52,7 +52,7 @@ size="middle" :loading="loading" :pagination="false" - :scroll="{x: true}" + :scroll="{x: '100%',y:'calc(100vh - 130px)'}" rowKey="id" :data-source="dataSource" :row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }" @@ -60,7 +60,7 @@ > - {{ text && text.length > 30 ? text.slice(0, 29) + '...' : text }} + {{ text }} @@ -157,31 +157,37 @@ export default { { title: this.$t('zoneOfApplication'), align: 'center', - width: '10%', + width: 160, + ellipsis: true, dataIndex: 'region_dictText', }, { title: this.$t('parameterTemplate'), align: 'center', + width: 180, + ellipsis: true, dataIndex: 'paramsTemplateName', scopedSlots: { customRender: 'projectName' } }, { title: this.$t('contentDescription'), align: 'center', + ellipsis: true, dataIndex: 'description', - scopedSlots: { customRender: 'titleName' } + // scopedSlots: { customRender: 'titleName' } }, { title: this.$t('createTime'), align: 'center', - width: '10%', - dataIndex: 'createTime' + dataIndex: 'createTime', + width: 160, + ellipsis: true, }, { title: this.$t('updateTime'), align: 'center', - width: '10%', + width: 160, + ellipsis: true, dataIndex: 'updateTime' }, { diff --git a/jero-web/src/views/parameter/parameterlist/index.vue b/jero-web/src/views/parameter/parameterlist/index.vue index 0237cdaeb..de2d26b32 100644 --- a/jero-web/src/views/parameter/parameterlist/index.vue +++ b/jero-web/src/views/parameter/parameterlist/index.vue @@ -72,7 +72,7 @@ size="middle" :loading="loading" :pagination="false" - :scroll="{x: '100%'}" + :scroll="{x: '100%',y:'calc(100vh - 130px)'}" rowKey="id" :data-source="dataSource" :row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }" @@ -155,20 +155,23 @@ export default { { title: this.$t('NiONumber'), align: 'center', - width: 100, + width: 130, dataIndex: 'nioNumber', - sorter: true + sorter: true, + ellipsis: true, }, { title: this.$t('ParameterName'), align: 'center', dataIndex: 'paramsName', width: 160, + ellipsis: true, }, { title: this.$t('ParameterDescription'), align: 'center', dataIndex: 'description', + ellipsis: true, // scopedSlots: { customRender: 'titleName' } }, { @@ -176,12 +179,14 @@ export default { align: 'center', dataIndex: 'dutyTerritory_dictText', width: 150, + ellipsis: true, }, { title: this.$t('createTime'), align: 'center', dataIndex: 'createTime', - width: 110, + width: 180, + ellipsis: true, }, { title: this.$t('operation'),