From 57d1349f06e92d83743081310aea2d2f14d6aa58 Mon Sep 17 00:00:00 2001 From: yunuo970428 <405378304@qq.com> Date: Tue, 7 Feb 2023 15:43:57 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E8=BD=A6=E5=9E=8B=E7=AE=80?= =?UTF-8?q?=E4=BB=8B--=E6=9F=A5=E7=9C=8B=E8=BD=A6=E5=9E=8B=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E6=A0=87=E5=87=86=E9=A1=B5=E9=9D=A2=E6=97=B6=E5=AD=97?= =?UTF-8?q?=E6=AE=B5=E6=8E=92=E5=BA=8F=E5=92=8C=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../vehicleconfiguration.vue | 489 +++++++----------- 1 file changed, 196 insertions(+), 293 deletions(-) diff --git a/anrui-buscenter/anrui-buscenter-ui/src/components/VehicleConfigurationSub/vehicleconfiguration.vue b/anrui-buscenter/anrui-buscenter-ui/src/components/VehicleConfigurationSub/vehicleconfiguration.vue index 17cfba9324..cecd6166b5 100644 --- a/anrui-buscenter/anrui-buscenter-ui/src/components/VehicleConfigurationSub/vehicleconfiguration.vue +++ b/anrui-buscenter/anrui-buscenter-ui/src/components/VehicleConfigurationSub/vehicleconfiguration.vue @@ -2,193 +2,173 @@
- -
-
- {{ formobj.vehicleAlias }} -
销售指导价:{{guidedPrice}} 万元
-
- - 展开 -
-
- - 收起 -
-
- - -
品牌
- {{ formobj.brandName }} -
- -
功能
- {{ formobj.vehicleTypeValue }} -
- -
系列
- {{ formobj.productLineValue }} -
- -
驱动
- {{ formobj.driveFormValue }} -
- -
马力
- {{ formobj.powerValue }} -
-
- - -
版本
- {{ formobj.vehicleVersionValue }} -
- -
燃料
- {{ formobj.fuelTypeValue }} -
- -
变速箱
- {{ formobj.gearboxTypeValue }} -
-
+
+
{{ formobj.vehicleAlias }}
+
销售指导价:{{guidedPrice}} 万元
-
-
车型信息
- - -
排放标准
- {{ formobj.emissionStandardValue }} - -
- -
发动机型号
- {{ formobj.engineTypeValue }} -
- -
细分市场
- {{ formobj.marketSegmentsValue }} - -
- -
规格型号
- {{ formobj.specifications }} -
- -
系别
- {{ formobj.departmentValue }} -
-
-
常用配置
- - -
颜色
- {{ formobj.carColor }} -
- -
缓速器
- {{ formobj.slowMachine }} -
- -
后视镜
- {{ formobj.rearViewMirror }} -
- -
轮胎
- {{ formobj.tireSize }} -
- -
驾驶室
- {{ formobj.specification }} -
-
- - -
后桥
- {{ formobj.rearAxleValue }} -
- -
速比
- {{ formobj.rearAxleRatio }} -
- -
空调
- {{ formobj.airConditioner }} -
- -
轮毂材质
- {{ formobj.hubMaterial }} -
- -
导流罩
- {{ formobj.baffleModel }} -
-
- - -
悬架
- {{ formobj.suspension }} -
- -
座椅
- {{ formobj.seat }} -
- -
护轮罩
- {{ formobj.tireCover }} -
- -
鞍座
- {{ formobj.saddle }} -
- -
轴距
- {{ formobj.wheelbase }} -
-
- - -
保险杠
- {{ formobj.bumper }} -
- -
配置包
- {{ formobj.configuringBao }} -
- -
独立热源
- {{ formobj.independentSources }} -
- -
燃料箱
- {{ formobj.fuelTank }} -
- -
多媒体
- {{ formobj.multimedia }} -
- - - - -
-
- 更多配置 -
- - 展开 -
-
- - 收起 -
-
- - - {{ formobj.otherConfig }} - - + + +
品牌
+ {{ formobj.brandName }} +
+ +
功能
+ {{ formobj.vehicleTypeValue }} +
+ +
系列
+ {{ formobj.productLineValue }} +
+ +
驱动
+ {{ formobj.driveFormValue }} +
+ +
马力
+ {{ formobj.powerValue }} +
+
+ + +
版本
+ {{ formobj.vehicleVersionValue }} +
+ +
燃料
+ {{ formobj.fuelTypeValue }} +
+ +
排放标准
+ {{ formobj.emissionStandardValue }} + +
+ +
发动机型号
+ {{ formobj.engineTypeValue }} +
+ +
变速箱类型
+ +
+
+ + +
变速箱
+ {{ formobj.gearboxTypeValue }} +
+ +
细分市场
+ {{ formobj.marketSegmentsValue }} + +
+ +
规格型号
+ {{ formobj.specifications }} +
+ +
系别
+ {{ formobj.departmentValue }} +
+ + +
+
常用配置
+ + +
后桥
+ {{ formobj.rearAxleValue }} +
+ +
速比
+ {{ formobj.rearAxleRatio }} +
+ +
轴距
+ {{ formobj.wheelbase }} +
+ +
悬架
+ {{ formobj.suspension }} +
+ +
鞍座
+ {{ formobj.saddle }} +
+
+ + +
颜色
+ {{ formobj.carColor }} +
+ +
驾驶室
+ {{ formobj.specification }} +
+ +
保险杠
+ {{ formobj.bumper }} +
+ +
燃料箱
+ {{ formobj.fuelTank }} +
+ +
导流罩
+ {{ formobj.baffleModel }} +
+
+ + +
独立热源
+ {{ formobj.independentSources }} +
+ +
缓速器
+ {{ formobj.slowMachine }} +
+ +
护轮罩
+ {{ formobj.tireCover }} +
+ +
后视镜
+ {{ formobj.rearViewMirror }} +
+ +
轮胎
+ {{ formobj.tireSize }} +
+
+ + +
轮毂材质
+ {{ formobj.hubMaterial }} +
+ +
空调
+ {{ formobj.airConditioner }} +
+ +
座椅
+ {{ formobj.seat }} +
+ +
多媒体
+ {{ formobj.multimedia }} +
+ +
配置包
+ {{ formobj.configuringBao }} +
+
+
+ 更多配置
+ + + {{ formobj.otherConfig }} + +
@@ -198,39 +178,39 @@ import { selectExiCarConfig } from '@/api/vehicleconfiguration/vehicleconfiguration.js' export default { - name: 'chexingpeizhibiaozhun', - props:{ + name: 'CheXingPeiZhiBiaoZhun', + props: { params: { - type: Object, + type: Object } }, data() { return { FormLoading: false, priceValidity: '', - guidedPrice:'', + guidedPrice: '', formobj: {}, isDown: true, isDownOther: true, sid_list: { modelSid: '', configSid: '', - vehModelConfigSid:'', + vehModelConfigSid: '', userSid: window.sessionStorage.getItem('userSid') } } }, - watch:{ + watch: { params: { deep: true, immediate: false, handler(newVal, oldVal) { - if (newVal.configSid !== '' && newVal.modelSid !== ''){ + if (newVal.configSid !== '' && newVal.modelSid !== '') { this.guidedPrice = newVal.guidedPrice selectExiCarConfig({ - modelSid:newVal.modelSid, - configSid:newVal.configSid, - vehModelConfigSid:newVal.vehModelConfigSid + modelSid: newVal.modelSid, + configSid: newVal.configSid, + vehModelConfigSid: newVal.vehModelConfigSid }).then((response) => { this.FormLoading = false if (response.success) { @@ -240,10 +220,10 @@ export default { showClose: true, message: '查看失败!', type: 'error' - }); + }) } }) - }else { + } else { this.formobj = {} this.guidedPrice = '' } @@ -251,108 +231,31 @@ export default { } }, methods: { - // 控制标题展开和收起 - changeDown(val) { - this.isDown = val - }, - changeUp(val) { - this.isDown = val - }, - // 控制更多配置展开和收起 - changeDownOtherConfig(val) { - this.isDownOther = val - }, - changeUpOtherConfig(val) { - this.isDownOther = val - } } }