|
@@ -983,7 +983,8 @@
|
|
window.onload = function() {
|
|
window.onload = function() {
|
|
if (localStorage.getItem('openId')) {
|
|
if (localStorage.getItem('openId')) {
|
|
if(!getQueryParam('externalUserid')) {
|
|
if(!getQueryParam('externalUserid')) {
|
|
- mui.alert('无权限访问', '提示', '确定');
|
|
|
|
|
|
+ let bId = getQueryParam('bId')
|
|
|
|
+ gerQwAuth(bId);
|
|
} else {
|
|
} else {
|
|
h5Type = getQueryParam('h5Type')
|
|
h5Type = getQueryParam('h5Type')
|
|
getQyWxSign()
|
|
getQyWxSign()
|
|
@@ -1467,12 +1468,13 @@
|
|
<div class="prize-name">${record.name}</div>
|
|
<div class="prize-name">${record.name}</div>
|
|
<div class="prize-time">${timeFormat(record.raffleTime)}</div>
|
|
<div class="prize-time">${timeFormat(record.raffleTime)}</div>
|
|
</div>
|
|
</div>
|
|
- <button id="toggleButton" ${record.status ? 'disabled' : ''} class="get-btn" onclick="handleOpenForm(${record.id})">${record.status ? '已领取' : '领取'}</button>
|
|
|
|
|
|
+ <button id="toggleButton" ${(record.status==-1 || record.status==0) ? 'disabled' : ''} class="get-btn" onclick="handleOpenForm(${record.id})">${record.status ? '已领取' : (record.status==-1 ? '审核中' : '领取')}</button>
|
|
</div>`
|
|
</div>`
|
|
});
|
|
});
|
|
},
|
|
},
|
|
error:function(error){
|
|
error:function(error){
|
|
- //异常处理;
|
|
|
|
|
|
+ //异常处理
|
|
|
|
+
|
|
console.log(error);
|
|
console.log(error);
|
|
}
|
|
}
|
|
});
|
|
});
|