|
@@ -92,13 +92,13 @@ export default {
|
|
// 表头
|
|
// 表头
|
|
columns: [
|
|
columns: [
|
|
{ title: '序号', dataIndex: 'no', width: '6%', align: 'center' },
|
|
{ title: '序号', dataIndex: 'no', width: '6%', align: 'center' },
|
|
- { title: '时间', dataIndex: 'createDate', width: '12%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
|
|
|
+ { title: '时间', dataIndex: 'createDate', width: '14%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
{ title: '经销商名称', dataIndex: 'dealerName', width: '15%', align: 'left', customRender: function (text) { return text || '--' }, ellipsis: true },
|
|
{ title: '经销商名称', dataIndex: 'dealerName', width: '15%', align: 'left', customRender: function (text) { return text || '--' }, ellipsis: true },
|
|
{ title: '车架号', dataIndex: 'vin', width: '15%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
{ title: '车架号', dataIndex: 'vin', width: '15%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
{ title: '品牌', dataIndex: 'carBrandName', width: '8%', align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
|
|
{ title: '品牌', dataIndex: 'carBrandName', width: '8%', align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
|
|
{ title: '车型', dataIndex: 'carModelName', width: '8%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
{ title: '车型', dataIndex: 'carModelName', width: '8%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
{ title: '年款', dataIndex: 'carModelYear', width: '8%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
{ title: '年款', dataIndex: 'carModelYear', width: '8%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
- { title: '排量', dataIndex: 'carDisplacement', width: '10%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
|
|
|
+ { title: '排量', dataIndex: 'carDisplacement', width: '8%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
{ title: '图标', dataIndex: 'carIcon', width: '8%', align: 'center', scopedSlots: { customRender: 'iconVal' } },
|
|
{ title: '图标', dataIndex: 'carIcon', width: '8%', align: 'center', scopedSlots: { customRender: 'iconVal' } },
|
|
{ title: '配置', dataIndex: 'carConfLevel', width: '26%', align: 'left', customRender: function (text) { return text || '--' }, ellipsis: true },
|
|
{ title: '配置', dataIndex: 'carConfLevel', width: '26%', align: 'left', customRender: function (text) { return text || '--' }, ellipsis: true },
|
|
{ title: '配件', dataIndex: 'partCode', width: '6%', align: 'center', scopedSlots: { customRender: 'partCode' }, ellipsis: true }
|
|
{ title: '配件', dataIndex: 'partCode', width: '6%', align: 'center', scopedSlots: { customRender: 'partCode' }, ellipsis: true }
|
|
@@ -161,8 +161,8 @@ export default {
|
|
this.$refs.table.refresh(true)
|
|
this.$refs.table.refresh(true)
|
|
},
|
|
},
|
|
setTableH () {
|
|
setTableH () {
|
|
- const tableSearchH = this.searchData && Object.keys(this.searchData).length > 0 ? 180 : this.$refs.tableSearch.offsetHeight
|
|
|
|
- this.tableHeight = window.innerHeight - tableSearchH - 420
|
|
|
|
|
|
+ const tableSearchH = this.searchData && Object.keys(this.searchData).length > 0 ? 120 : this.$refs.tableSearch.offsetHeight
|
|
|
|
+ this.tableHeight = window.innerHeight - tableSearchH - 330
|
|
},
|
|
},
|
|
pageInit () {
|
|
pageInit () {
|
|
const _this = this
|
|
const _this = this
|