参观二维码去除

master
lion 1 year ago
parent 676c9aa5ef
commit 2915c68432

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

Loading…
Cancel
Save