参观二维码去除

master
lion 1 year ago
parent 676c9aa5ef
commit 2915c68432

@ -20,7 +20,7 @@
<view class="orderBoxInfoRow flex-row"> <view class="orderBoxInfoRow flex-row">
<text class="orderBoxInfoRowTxt">入馆时间{{info.date?info.date:''}} {{info.time?info.time:''}}</text> <text class="orderBoxInfoRowTxt">入馆时间{{info.date?info.date:''}} {{info.time?info.time:''}}</text>
</view> </view>
<view v-if="info.type==1" class="orderBoxInfo flex-col ewmcode"> <!-- <view v-if="info.type==1" class="orderBoxInfo flex-col ewmcode">
<view style='text-align: center;'> <view style='text-align: center;'>
<view class="imgs"> <view class="imgs">
<view :class="info.status!=1?'isuse':''"> <view :class="info.status!=1?'isuse':''">
@ -34,7 +34,6 @@
</view> </view>
</view> </view>
</view> </view>
<!-- 个人 -->
<block v-if="info.type==2"> <block v-if="info.type==2">
<view class="orderBoxInfo flex-col ewmcode" :key='index' v-for="(item,index) in detailsinfo"> <view class="orderBoxInfo flex-col ewmcode" :key='index' v-for="(item,index) in detailsinfo">
<view class="names"> <view class="names">
@ -51,7 +50,6 @@
<text style='color:#828282'>{{item.name}}</text> <text style='color:#828282'>{{item.name}}</text>
<text style='color:#828282'>{{item.status_name}}</text> <text style='color:#828282'>{{item.status_name}}</text>
</view> </view>
<!-- <checkbox color='#32950b' @change='choosePerson'/>{{item.name}} -->
</view> </view>
<view style='text-align: center;'> <view style='text-align: center;'>
<view class="imgs"> <view class="imgs">
@ -67,7 +65,7 @@
</view> </view>
</view> </view>
</view> </view>
</block> </block> -->
</view> </view>
</view> </view>
@ -261,21 +259,21 @@
if (res.status != 1) { if (res.status != 1) {
clearInterval(that.timer) clearInterval(that.timer)
} }
if (res.type == 1) { // if (res.type == 1) {
that.qrFun(res.code + "-" + "0"); // that.qrFun(res.code + "-" + "0");
setTimeout(function() { // setTimeout(function() {
that.showview = true // that.showview = true
}, 500) // }, 500)
} // }
if (res.type == 2) { // if (res.type == 2) {
for (var i = 0; i < res.details.length; i++) { // for (var i = 0; i < res.details.length; i++) {
that.qrFun(res.code + "-" + res.details[i].code, 'qrcode' + i); // that.qrFun(res.code + "-" + res.details[i].code, 'qrcode' + i);
} // }
setTimeout(function() { // setTimeout(function() {
that.showview = true // that.showview = true
}, 500) // }, 500)
} // }
}, },
utilFail: function(res) { utilFail: function(res) {
uni.showToast({ uni.showToast({

Loading…
Cancel
Save