123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185 |
- <!--components/detailsCard/index.wxml-->
- <wxs src="../../utils/util/util.wxs" module="util" />
- <view class="card card-padding">
- <view class="card-cont">
- <!-- 三角形icon -->
- <image class="triangle" src="../../static/comment/triangle.svg"></image>
- <!-- 状态图片 -->
- <image wx:if="{{recordInfo.reviewStatus != null}}" class="audit" src="../../static/comment/{{imageUrl}}.png"></image>
- <!-- 标题 -->
- <view class="title">
- <text>{{title}}</text>
- </view>
- <!-- 内容 -->
- <view class="cont" wx:if="{{type}}">
- <block>
- <van-cell custom-class="van-cell" title-class="text-gray" value-class="text-black flex-sm" border="{{ false }}" title="{{language=='ch'?msg[0].label_ch:msg[0].label_en}}">
- <text>{{userInfo.createTime}}</text>
- </van-cell>
- <van-cell wx:if="{{userInfo.username}}" custom-class="van-cell" title-class="text-gray" value-class="text-black flex-sm" border="{{ false }}" title="{{language=='ch'?msg[1].label_ch:msg[1].label_en}}">
- <text>{{userInfo.username}}</text>
- </van-cell>
- <van-cell wx:if="{{userInfo.idNumber}}" custom-class="van-cell" title-class="text-gray" value-class="text-black flex-sm" border="{{ false }}" title="{{language=='ch'?msg[3].label_ch:msg[3].label_en}}">
- <text>{{util.desensitization(userInfo.idNumber, 6, 14)}}</text>
- </van-cell>
- <van-cell wx:if="{{userInfo.phone}}" custom-class="van-cell" title-class="text-gray" value-class="text-black flex-sm" border="{{ false }}" title="{{language=='ch'?msg[2].label_ch:msg[2].label_en}}">
- <text>{{util.desensitization(userInfo.phone, 3, 7)}}</text>
- </van-cell>
- <!-- 卡号 -->
- <van-cell wx:if="{{userInfo.cardIdEx}}" custom-class="van-cell" title-class="text-gray" value-class="text-black flex-sm" border="{{ false }}" title="{{language=='ch'?msg[4].label_ch:msg[4].label_en}}">
- <text>{{userInfo.cardIdEx}}</text>
- </van-cell>
- <van-cell title-class="text-gray" value-class="text-black" border="{{ false }}" title="{{language=='ch'?item.label_ch:item.label_en}}" wx:if="{{item.type === 'photo'}}">
- <image class="photo" src="{{item.value}}"></image>
- </van-cell>
- <block wx:if="{{recordInfo.reviewStatus==3}}">
- <!-- 入场通道 -->
- <van-cell custom-class="van-cell" title-class="text-gray" value-class="text-black flex-sm" border="{{ false }}" title="{{international.PassageEntry[language]}}">
- <text>{{recordInfo.snAddr|| ''}}</text>
- </van-cell>
- <!-- 入场时间 -->
- <van-cell custom-class="van-cell" title-class="text-gray" value-class="text-black flex-sm" border="{{ false }}" title="{{international.TimeEntry[language]}}">
- <text>{{recordInfo.inTime || ''}}</text>
- </van-cell>
- <!-- 入场照片 -->
- <van-cell title-class="text-gray" value-class="text-black" border="{{ false }}" title="{{international.EntrancePhotos[language]}}">
- <image class="photo" src="{{recordInfo.inPhoto}}"></image>
- </van-cell>
- </block>
- <view class="cut-line-dash" wx:if="{{item.type === 'cutLine'}}"></view>
- </block>
- <!-- 二维码 -->
- <!-- <block wx:if="{{type||(recordInfo.reviewStatus==2&&!isRegular)}}">
- <view class="qrcode-area">
- <view>
- <image src="../../static/comment/qrcode.png" class="img" ></image>
- </view>
- <text>{{international.click_QRcode[language]}}</text>
- </view> -->
- <!-- 提示信息 -->
- <!-- <view class="tip">
- <text>{{international.scanning[language]}}</text>
- </view>
- </block> -->
- </view>
- <!-- {{international.Lease_until[language]}} -->
- <view class="cont" wx:else>
- <block>
- <van-cell custom-class="van-cell" title-class="text-gray" value-class="text-black flex-sm" border="{{ false }}" title="{{international.start_time[language]}}">
- <text>{{recordInfo.startTime}}</text>
- </van-cell>
- <van-cell custom-class="van-cell" title-class="text-gray" value-class="text-black flex-sm" border="{{ false }}" title="{{international.end_time[language]}}">
- <text>{{recordInfo.endTime}}</text>
- </van-cell>
- <van-cell custom-class="van-cell" title-class="text-gray" value-class="text-black flex-sm" border="{{ false }}" title="{{international.Visit_for[language]}}">
- <text>{{recordInfo.reason || '-'}}</text>
- </van-cell>
- <van-cell wx:if="{{recordInfo.remark}}" custom-class="van-cell" title-class="text-gray" value-class="text-black flex-sm" border="{{ false }}" title="{{international.remark[language]}}">
- <text>{{recordInfo.remark || ''}}</text>
- </van-cell>
- <block wx:if="{{recordInfo.reviewStatus==3}}">
- <!-- 入场通道 -->
- <van-cell custom-class="van-cell" title-class="text-gray" value-class="text-black flex-sm" border="{{ false }}" title="{{international.PassageEntry[language]}}">
- <text>{{recordInfo.snAddr|| ''}}</text>
- </van-cell>
- <!-- 入场时间 -->
- <van-cell custom-class="van-cell" title-class="text-gray" value-class="text-black flex-sm" border="{{ false }}" title="{{international.TimeEntry[language]}}">
- <text>{{recordInfo.inTime || ''}}</text>
- </van-cell>
- <!-- 入场照片 -->
- <van-cell title-class="text-gray" value-class="text-black" border="{{ false }}" title="{{international.EntrancePhotos[language]}}">
- <image class="photo" src="{{recordInfo.inPhoto}}"></image>
- </van-cell>
- </block>
- <!-- 二维码 -->
- <block wx:if="{{type||(recordInfo.reviewStatus==2&&!isRegular)}}">
- <view wx:if="{{recordInfo.commonQrCode}}">
- <view class="qrcode-area">
- <!-- 标题 -->
- <view class="qrcode-tit" wx:if="{{qrCodeOne}}">
- 通用二维码
- </view>
- <image wx:if="{{qrCodeShowType===1}}" src="../../static/appointment_my/qrCodeLose.png"></image>
- <image wx:if="{{qrCodeShowType===2}}" src="../../static/appointment_my/noTime.png"></image>
- <view wx:if="{{qrCodeShowType===3}}" bindtap="preview" data-src="{{qrCodeOne}}">
- <image src="{{qrCodeOne}}" class="img"></image>
- <!--创建一个画布,将它移出屏幕外看不到的地方-->
- <!-- <canvas class="canvas-code" canvas-id="myqrCodeOne" style="background:#fff;width:176px;height: 176px; display:block; left:-800rpx;position:absolute;" /> -->
- </view>
- <!-- <text>{{international.click_QRcode[language]}}</text> -->
- </view>
- <!-- 提示信息 -->
- <view class="tip">
- <text>{{international.tipsQrcodeOne[language]}}</text>
- </view>
- </view>
- <view wx:if="{{recordInfo.ladderQrCode}}">
- <view class="qrcode-area">
- <view class="qrcode-tit" wx:if="{{qrCodeTwo}}">
- 梯控二维码
- </view>
- <image wx:if="{{qrCodeShowType===1}}" src="../../static/appointment_my/qrCodeLose.png"></image>
- <image wx:if="{{qrCodeShowType===2}}" src="../../static/appointment_my/noTime.png"></image>
- <view wx:if="{{qrCodeShowType===3}}" bindtap="preview" data-src="{{qrCodeTwo}}">
- <image src="{{qrCodeTwo}}" class="img" bindtap="preview" data-src="{{qrCodeTwo}}"></image>
- <!--创建一个画布,将它移出屏幕外看不到的地方-->
- <!-- <canvas class="canvas-code" canvas-id="myqrCode2" style="background:#fff;width:176px;height: 176px; display:block; left:-800rpx;position:absolute;" /> -->
- </view>
- <!-- <text>{{international.click_QRcode[language]}}</text> -->
- </view>
- <!-- 提示信息 -->
- <view class="tip">
- <text>{{international.tipsQrcodeTwo[language]}}</text>
- </view>
- </view>
- </block>
- <view class="cut-line-dash"></view>
- <van-cell wx:if="{{recordInfo.name}}" custom-class="van-cell" title-class="text-gray" value-class="text-black flex-sm" border="{{ false }}" title="{{international.Name_Visitor[language]}}">
- <text>{{recordInfo.name || '-'}}</text>
- </van-cell>
- <van-cell wx:if="{{recordInfo.phone}}" custom-class="van-cell" title-class="text-gray" value-class="text-black flex-sm" border="{{ false }}" title="{{international.phone_Visitor[language]}}">
- <text>{{recordInfo.phone}}</text>
- </van-cell>
- <van-cell wx:if="{{recordInfo.company}}" custom-class="van-cell" title-class="text-gray" value-class="text-black flex-sm" border="{{ false }}" title="{{international.Visiting_unit[language]}}">
- <text>{{recordInfo.company || '-'}}</text>
- </van-cell>
- <van-cell wx:if="{{recordInfo.photo}}" custom-class="van-cell" title-class="text-gray" value-class="text-black flex-sm" border="{{ false }}" title="{{international.Visitor_photo[language]}}" wx:if="{{recordInfo.photo}}">
- <image class="photo" src="{{recordInfo.photo}}" bind:tap="preview" data-src="{{recordInfo.photo}}"></image>
- </van-cell>
- <!-- 自定义 -->
- <view wx:if="{{recordInfo.contents}}" wx:for="{{recordInfo.contents}}">
- <van-cell wx:if="{{item.isShow==1}}" custom-class="van-cell" title-class="text-gray" value-class="text-black flex-sm" border="{{ false }}" title="{{item.customName}}">
- <image wx:if="{{item.customType=='图片'}}" class="photo" src="{{item.customNameVal}}" bindtap="preview" data-src="{{item.customNameVal}}"></image>
- <text wx:else>{{item.customNameVal || ''}}</text>
- </van-cell>
- </view>
- <van-cell custom-class="van-cell" title-class="text-gray" value-class="text-black flex-sm" border="{{ false }}" title="{{international.Passable_passage[language]}}" wx:if="{{recordInfo.reviewStatus==2}}">
- <text>{{recordInfo.throughList || ''}}</text>
- </van-cell>
- <van-cell custom-class="van-cell" title-class="text-gray" value-class="text-black flex-sm" border="{{ false }}" title="{{international.Personnel_type[language]}}" wx:if="{{recordInfo.personnelType!=null}}">
- <text wx:if="{{recordInfo.personnelType== 0}}">访客</text>
- <text wx:if="{{recordInfo.personnelType== 1}}">同事</text>
- <text wx:if="{{recordInfo.personnelType== 2}}">亲属</text>
- </van-cell>
- <van-cell title-class="text-gray" value-class="text-black" border="{{ false }}" title="{{language=='ch'?item.label_ch:item.label_en}}" wx:if="{{item.type === 'photo'}}">
- <image class="photo" src="{{item.value}}"></image>
- </van-cell>
- <view class="cut-line-dash"></view>
- <van-cell custom-class="van-cell" title-class="text-gray" value-class="text-black flex-sm" border="{{ false }}" title="{{international.Name_nterviewee[language]}}">
- <text>{{recordInfo.visiteeXm}}</text>
- </van-cell>
- <van-cell wx:if="{{recordInfo.visiteePhone}}" custom-class="van-cell" title-class="text-gray" value-class="text-black flex-sm" border="{{ false }}" title="{{international.number_person_interviewed[language]}}">
- <text>{{recordInfo.visiteePhone}}</text>
- </van-cell>
- <van-cell custom-class="van-cell" title-class="text-gray" value-class="text-black flex-sm" border="{{ false }}" title="{{international.Of_unit[language]}}">
- <text>{{recordInfo.visiteeCompany || ''}}</text>
- </van-cell>
- </block>
- </view>
- </view>
- </view>
|