瀏覽代碼

9901

9901
yangteng 11 月之前
父節點
當前提交
a8e38cf54c
共有 3 個檔案被更改,包括 7 行新增7 行删除
  1. 1
    1
      pages.json
  2. 5
    5
      subpackage/carPark/etc/etcDeviceInfo.vue
  3. 1
    1
      utils/network/request.js

+ 1
- 1
pages.json 查看文件

"plugins": { "plugins": {
"issuer-plugin": { "issuer-plugin": {
// "version": "1.0.0", // "version": "1.0.0",
"version": "dev-4a5797c781cadb52293549245fc8a257",
"version": "dev-7622ba33f9627a64cca289877e8237ed",
"provider": "wxa2d9acdd1054e69b" "provider": "wxa2d9acdd1054e69b"
} }
}, },

+ 5
- 5
subpackage/carPark/etc/etcDeviceInfo.vue 查看文件

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

+ 1
- 1
utils/network/request.js 查看文件

} }
}); });
}else if (res.data.statusCode == 99999 && res.data.errorMsg=='客户端登录凭证为空') { }else if (res.data.statusCode == 99999 && res.data.errorMsg=='客户端登录凭证为空') {
console.log("11====")
console.log("11====",res.data.errorMsg)
jump("17","") jump("17","")
}else if (res.data.statusCode == 99999) { }else if (res.data.statusCode == 99999) {
if (!start) { if (!start) {

Loading…
取消
儲存