7.12(优化

This commit is contained in:
Hong
2024-07-12 19:13:28 +08:00
parent 4b40442b97
commit 701a78c97a
4 changed files with 17 additions and 6 deletions

View File

@@ -399,10 +399,12 @@ export default {
if (!this.merchantType.length) this.$store.dispatch('merchant/getMerchantType');
this.loadingFrom = true;
merchant.cardealerDetail(this.merId).then((res) => {
console.log(res.qualificationPicture);
console.log(res,res.province,res.city,res.district);
// JSON.parse(res.qualificationPicture)
this.$set(res, 'sliderImages', res.qualificationPicture ? JSON.parse(res.qualificationPicture) : []);
this.dataForm = res;
this.dataForm.selectedOptions=[res.province,res.city,res.district]
this.labelarr = res.keywords.split(',') || [];
this.loadingFrom = false;
});

View File

@@ -47,8 +47,11 @@
</template>
</el-table-column>
<el-table-column prop="brandName" label="品牌名称" show-overflow-tooltip></el-table-column>
<el-table-column prop="modelName" label="型号名称" width="100px" show-overflow-tooltip></el-table-column>
<el-table-column prop="modelName" label="系列名称" width="100px" show-overflow-tooltip>
<template slot-scope="scope">
<div>{{ scope.row.modelName && scope.row.modelName }}</div>
</template>
</el-table-column>
<el-table-column prop="powerType" label="动力类型">
<template v-slot="{ row }">
{{ row.powerType == 0 ? '纯电' : row.powerType == 1 ? '油电' : '纯油' }}

View File

@@ -34,10 +34,14 @@
<el-table v-loading="listLoading" :data="posterList" style="width: 100%" highlight-current-row
class="switchTable">
<el-table-column prop="id" label="ID" width="40px" />
<el-table-column label="标题" show-overflow-tooltip>
<template slot-scope="scope">
<div>{{ scope.row.carSellerProduct && scope.row.carSellerProduct.title }}</div>
</template>
</el-table-column>
<el-table-column prop="carDealerName" label="车商名称" show-overflow-tooltip></el-table-column>
<el-table-column prop="carBuyWarName" label="车方案名称" show-overflow-tooltip></el-table-column>
<el-table-column prop="carBuyWayName" label="车方案名称" show-overflow-tooltip></el-table-column>
<el-table-column prop="depositPrice" label="定金" width="100px" show-overflow-tooltip></el-table-column>
<el-table-column prop="type" label="类型">
<template v-slot="{ row }">
{{ row.type == 0 ? '买车' : row.type == 1 ? '组买灵活' : '买车' }}
@@ -48,7 +52,8 @@
<div>{{ scope.row.carSellerProduct && scope.row.carSellerProduct.brandName }}</div>
</template>
</el-table-column>
<el-table-column label="车辆型号名称" show-overflow-tooltip>
<!-- <el-table-column prop="modelName" label="系列名称" width="100px" show-overflow-tooltip></el-table-column> -->
<el-table-column label="车辆系列名称" show-overflow-tooltip>
<template slot-scope="scope">
<div>{{ scope.row.carSellerProduct && scope.row.carSellerProduct.modelName }}</div>
</template>

View File

@@ -428,6 +428,7 @@ export default {
carModel() {
carModelAPI().then((res) => {
this.options = res;
console.log( this.options);
});
},