|
@@ -257,7 +257,7 @@
|
|
|
<oem ref="childoem" :show.sync="oemFlag" @done="getOemDetail" :param='param' :token='token' :vin='vin' :id.sync="epc_id"></oem>
|
|
|
<part ref="childrenPart" :show.sync="partFlag" :epc_id='epc_id' :partnum="partnum" :threeData='threeData'></part>
|
|
|
<carInfo ref="childrencar" :show.sync="carFlag" :carInfoData="carInfoData"></carInfo>
|
|
|
- <carCk :show.sync="carCkShow" ref="childrencarCk" @done="carckhl" @brandCk="brandCkFn" @cxpart="cxpartFn"></carCk>
|
|
|
+ <carCk :show.sync="carCkShow" ref="childrencarCk" @ckzzname="ckzznameFn" @done="carckhl" @brandCk="brandCkFn" @cxpart="cxpartFn"></carCk>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -370,6 +370,9 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
methods:{
|
|
|
+ ckzznameFn(e){
|
|
|
+ this.zzName=e
|
|
|
+ },
|
|
|
brandCkFn(e){
|
|
|
this.brand_name=e.brandName;
|
|
|
this.epc_id=e.epc_id;
|
|
@@ -526,7 +529,7 @@ export default {
|
|
|
gobackCxdx(){
|
|
|
this.backCxdxShow=false;
|
|
|
this.carCkShow=true;
|
|
|
-
|
|
|
+
|
|
|
this.childrenShow=false;
|
|
|
},
|
|
|
oemClick(){
|
|
@@ -989,6 +992,7 @@ export default {
|
|
|
this.childrentoken=this.childrenList[this.childrenIndex].token;
|
|
|
this.lastName=this.childrenList[this.childrenIndex].caption
|
|
|
this.getPartsPc();
|
|
|
+
|
|
|
}
|
|
|
|
|
|
|
|
@@ -1005,6 +1009,7 @@ export default {
|
|
|
|
|
|
},
|
|
|
getPartsPc(){
|
|
|
+
|
|
|
fetchGet('/advancedEpc/getPartsPc', {
|
|
|
vin:this.vin,
|
|
|
access_time:this.access_time,
|
|
@@ -1034,10 +1039,7 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
getPartsPc2(){
|
|
|
- setTimeout(() => {
|
|
|
- this.childrenHeight = this.$refs.childrenMainLeft.offsetHeight // 高
|
|
|
- // console.log(this.childrenHeight)
|
|
|
- }, 500)
|
|
|
+ console.log("getPartsPc2")
|
|
|
this.prevNextShow=false;
|
|
|
// this.groupShow=false;
|
|
|
// this.restrainShow1=false
|
|
@@ -1051,6 +1053,7 @@ export default {
|
|
|
// this.carConfig=false;
|
|
|
this.firstShow=false;
|
|
|
this.childrenShow=true;
|
|
|
+
|
|
|
fetchGet('/advancedEpc/getPartsPc', {
|
|
|
vin:this.vin,
|
|
|
access_time:this.oemData.threeTime,
|
|
@@ -1065,7 +1068,11 @@ export default {
|
|
|
// console.log(res.data.result.list.image_info)
|
|
|
this.image_info=res.data.result.list.image_info;
|
|
|
|
|
|
- this.rows=res.data.result.list.rows
|
|
|
+ this.rows=res.data.result.list.rows;
|
|
|
+ setTimeout(() => {
|
|
|
+ this.childrenHeight = this.$refs.childrenMainLeft.offsetHeight // 高
|
|
|
+ console.log("childrenHeight==="+this.childrenHeight)
|
|
|
+ }, 500)
|
|
|
}else{
|
|
|
this.$message({
|
|
|
message: res.data.message,
|