|
@@ -55,7 +55,9 @@
|
|
<view class="mainBox" v-if="restrainShow">
|
|
<view class="mainBox" v-if="restrainShow">
|
|
<view class="maintitle">{{caption}}</view>
|
|
<view class="maintitle">{{caption}}</view>
|
|
<view class="mainLine" v-for="(item,index) in restrains" @click="restrainsClick(item)">
|
|
<view class="mainLine" v-for="(item,index) in restrains" @click="restrainsClick(item)">
|
|
- <view class="lineName">{{item.combine_cp}}</view>
|
|
|
|
|
|
+ <!-- <view class="lineName">{{item.combine_cp}}</view> -->
|
|
|
|
+ <view class="lineName">{{item.car_name}}</view>
|
|
|
|
+
|
|
<image src="../../static/img/jt.png" mode="" class="mainLineJt"></image>
|
|
<image src="../../static/img/jt.png" mode="" class="mainLineJt"></image>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
@@ -63,7 +65,8 @@
|
|
<view class="mainBox" v-if="groupShow">
|
|
<view class="mainBox" v-if="groupShow">
|
|
<view class="maintitle">{{caption}}</view>
|
|
<view class="maintitle">{{caption}}</view>
|
|
<view class="mainLine" v-for="(item,index) in zlist" @click="goTwo(item)">
|
|
<view class="mainLine" v-for="(item,index) in zlist" @click="goTwo(item)">
|
|
- <view class="lineName">{{item.caption}}</view>
|
|
|
|
|
|
+ <!-- <view class="lineName">{{item.caption}}</view> -->
|
|
|
|
+ <view class="lineName">{{item.car_name}}</view>
|
|
<image src="../../static/img/jt.png" mode="" class="mainLineJt"></image>
|
|
<image src="../../static/img/jt.png" mode="" class="mainLineJt"></image>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
@@ -113,6 +116,7 @@
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
getModelGroup() {
|
|
getModelGroup() {
|
|
|
|
+
|
|
uni.showLoading({
|
|
uni.showLoading({
|
|
title: '加载中'
|
|
title: '加载中'
|
|
});
|
|
});
|
|
@@ -123,8 +127,9 @@
|
|
access_time: this.access_time
|
|
access_time: this.access_time
|
|
}, 'GET').then(res => {
|
|
}, 'GET').then(res => {
|
|
uni.hideLoading();
|
|
uni.hideLoading();
|
|
- //console.log(res.data.number);
|
|
|
|
|
|
+
|
|
if (res.data.number == 200 || res.data.number == 5212) {
|
|
if (res.data.number == 200 || res.data.number == 5212) {
|
|
|
|
+
|
|
this.brand_name = res.data.result.brand_name;
|
|
this.brand_name = res.data.result.brand_name;
|
|
this.brand_id = res.data.result.brand_id;
|
|
this.brand_id = res.data.result.brand_id;
|
|
this.access_time = res.data.result.access_time;
|
|
this.access_time = res.data.result.access_time;
|
|
@@ -132,10 +137,12 @@
|
|
this.epc_id = res.data.result.epc_id;
|
|
this.epc_id = res.data.result.epc_id;
|
|
|
|
|
|
if (res.data.result.restrains.length > 0) {
|
|
if (res.data.result.restrains.length > 0) {
|
|
|
|
+
|
|
this.restrains = res.data.result.restrains;
|
|
this.restrains = res.data.result.restrains;
|
|
this.restrainShow = true;
|
|
this.restrainShow = true;
|
|
|
|
|
|
} else {
|
|
} else {
|
|
|
|
+
|
|
this.zzTime = res.data.result.access_time;
|
|
this.zzTime = res.data.result.access_time;
|
|
this.zlist = res.data.result.list;
|
|
this.zlist = res.data.result.list;
|
|
this.restrainShow = false;
|
|
this.restrainShow = false;
|
|
@@ -179,8 +186,10 @@
|
|
this.epc_id = res.data.result.epc_id;
|
|
this.epc_id = res.data.result.epc_id;
|
|
|
|
|
|
if (res.data.result.restrains.length > 0) {
|
|
if (res.data.result.restrains.length > 0) {
|
|
|
|
+ console.log("车辆配置")
|
|
this.restrains = res.data.result.restrains;
|
|
this.restrains = res.data.result.restrains;
|
|
this.restrainShow = true;
|
|
this.restrainShow = true;
|
|
|
|
+ console.log(this.restrains)
|
|
|
|
|
|
} else {
|
|
} else {
|
|
this.zzTime = res.data.result.access_time;
|
|
this.zzTime = res.data.result.access_time;
|