This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<view class="container">
|
||||
<UserInfoCard :currentCardNo="currentCardNo" :deviceInfo="deviceInfo" :onlineStatus="onlineStatus" />
|
||||
<UserInfoCard :currentCardNo="currentCardNo" :deviceInfo="deviceInfo" :onlineStatus="onlineStatus" :isDevice="userInfo.isDevice" />
|
||||
|
||||
<DeviceStatusCard v-if="userInfo.isDevice" :deviceInfo="deviceInfo" :isRealName="isRealName"
|
||||
@authentication="enterDetail('authentication')" />
|
||||
@@ -162,7 +162,9 @@
|
||||
kf_url: '-',
|
||||
mchList: [],
|
||||
imei: '-',
|
||||
max_clients: 1
|
||||
max_clients: 1,
|
||||
asset_type: 'device',
|
||||
bound_phone: ''
|
||||
});
|
||||
|
||||
let isRealName = ref(false);
|
||||
@@ -214,6 +216,8 @@
|
||||
currentCardNo.value = data.identifier || '-';
|
||||
deviceInfo.status = data.status || 1;
|
||||
deviceInfo.imei = data.imei || '-';
|
||||
deviceInfo.asset_type = data.asset_type || 'device';
|
||||
deviceInfo.bound_phone = data.bound_phone || '';
|
||||
isRealName.value = data.real_name_status === 1;
|
||||
realNameStatus.value = data.real_name_status === 1 ? '已实名' : '未实名';
|
||||
boundPhone.value = data.bound_phone || '';
|
||||
|
||||
Reference in New Issue
Block a user