OTA对接列表数据

This commit is contained in:
zyx.net
2023-08-18 15:57:37 +08:00
parent fa5f8e7996
commit 50fbdd113e
@@ -10,7 +10,7 @@
<span>VDR</span>
</div>
<a-input class="box-input" :placeholder="$t('PleaseEnter') + 'VDR'"
v-model="queryParam.VDR"></a-input>
v-model="queryParam.vdr"></a-input>
</div>
</a-col>
@@ -20,7 +20,7 @@
<span>{{ $t('theme') }}</span>
</div>
<a-input class="box-input" :placeholder="$t('PleaseEnter') + $t('theme')"
v-model="queryParam.theme"></a-input>
v-model="queryParam.summary"></a-input>
</div>
</a-col>
@@ -30,7 +30,7 @@
<span>{{ $t('influencestatute') }}</span>
</div>
<a-input class="box-input" :placeholder="$t('PleaseEnter') + $t('influencestatute')"
v-model="queryParam.influencestatute"></a-input>
v-model="queryParam.impactHomo"></a-input>
</div>
</a-col>
<template v-if="toggleSearchStatus && vehicleTypeCode== '全部'">
@@ -46,7 +46,7 @@
showSearch
optionFilterProp="label"
:autoClearSearchValue="false"
v-model="queryParam.vehicleType">
v-model="queryParam.appliedVehicleProject">
<a-select-option v-for="(item, key) in vehicleTypeList"
:label='item'
:key="key"
@@ -870,14 +870,13 @@ export default {
let url = this.vehicleTypeCode == '全部'?'/ota/otaManageApplyEO/getOtaPage':'/ota/otaManageApplyEO/getOtaCarPage'
getAction(url, query).then((res) => {
if (res.success) {
if (res.result.list.current > 1 && res.result.list.records.length == 0) {
if (res.result.current > 1 && res.result.records.length == 0) {
this.pageNo = 1
this.getList()
return
}
this.dataSource = res.result.list.records || []
this.number = res.result.pjspzq
this.total = res.result.list.total
this.dataSource = res.result.records || []
this.total = res.result.total
this.loading = false
} else {
this.loading = false