| | |
| | | <image :src="hostMethodIcon" class="field-icon" mode="aspectFit"></image> |
| | | <view class="field-copy"> |
| | | <text class="field-label host-method-label">接待人验证方式</text> |
| | | <view class="method-badge"> |
| | | <text class="method-badge-text">{{ detail.hostVerify }}</text> |
| | | <view class="method-badge" :class="{ 'method-badge-warn': isCardVerifyMethod(detail.hostVerify) }"> |
| | | <text class="method-badge-text" :class="{ 'method-badge-text-warn': isCardVerifyMethod(detail.hostVerify) }">{{ detail.hostVerify }}</text> |
| | | </view> |
| | | </view> |
| | | </view> |
| | |
| | | <image :src="signoutMethodIcon" class="field-icon" mode="aspectFit"></image> |
| | | <view class="field-copy"> |
| | | <text class="field-label">接待人验证方式</text> |
| | | <view class="method-badge method-badge-warn"> |
| | | <text class="method-badge-text method-badge-text-warn">{{ detail.signoutVerify }}</text> |
| | | <view class="method-badge" :class="{ 'method-badge-warn': isCardVerifyMethod(detail.signoutVerify) }"> |
| | | <text class="method-badge-text" :class="{ 'method-badge-text-warn': isCardVerifyMethod(detail.signoutVerify) }">{{ detail.signoutVerify }}</text> |
| | | </view> |
| | | </view> |
| | | </view> |
| | |
| | | return typeStr || '未知'; |
| | | }; |
| | | |
| | | const isCardVerifyMethod = (verifyMethod = '') => { |
| | | return String(verifyMethod || '').includes('刷卡'); |
| | | }; |
| | | |
| | | const normalizeDetailData = (data = {}) => { |
| | | const statusInfo = getStatusInfo(data.status); |
| | | const areaTags = Array.isArray(data.visitAreaNameList) |