|
|
@@ -89,11 +89,11 @@ |
|
|
|
<view class="cell-left">车牌颜色</view> |
|
|
|
<view class="cell-right">{{ obu.vehiclePlateColor }}</view> |
|
|
|
</view> |
|
|
|
<view class="cell" v-if="obu.vin"> |
|
|
|
<view class="cell"> |
|
|
|
<view class="cell-left">核定载人数</view> |
|
|
|
<view class="cell-right">{{ obu.approvedCount }}</view> |
|
|
|
</view> |
|
|
|
<view class="cell"> |
|
|
|
<view class="cell" v-if="obu.vin"> |
|
|
|
<view class="cell-left">车辆识别代号</view> |
|
|
|
<view class="cell-right">{{ obu.vin }}</view> |
|
|
|
</view> |
|
|
@@ -385,7 +385,7 @@ |
|
|
|
console.log("===========", obu.num, res[1].substring(0, res[1].length - |
|
|
|
4)) |
|
|
|
decryptObuVehicleInfo(obu.num, res[1].substring(0, res[1].length - 4),function(res) { |
|
|
|
|
|
|
|
console.log("res---",res) |
|
|
|
obu.approvedCount =res.approvedCount; |
|
|
|
obu.axleCount = res.axleCount; |
|
|
|
obu.axleDistance = res.axleDistance; |
|
|
@@ -393,7 +393,7 @@ |
|
|
|
obu.userType = res.userType == 0 ?"个人用户" :"单位用户"; |
|
|
|
obu.vehiclePlate =res.plateNum; |
|
|
|
//获取车牌颜色 |
|
|
|
obu.vehiclePlateColor = getVehiclePlateColor(res.piateColor); |
|
|
|
obu.vehiclePlateColor = getVehiclePlateColor(res.plateColor); |
|
|
|
obu.vin = res.vin; |
|
|
|
obu.wheelCount = res.wheelCount; |
|
|
|
obu.outsideDimensions = res.outsideDimensions |
|
|
@@ -428,7 +428,7 @@ |
|
|
|
request(decrypt9901, options).then((res) => { |
|
|
|
const data = stringToJson(res.bizContent) |
|
|
|
console.log("decrypt9901",data) |
|
|
|
const FileData = data.data |
|
|
|
const FileData = JSON.parse(data.data) |
|
|
|
func(FileData) |
|
|
|
}); |
|
|
|
}; |