|
@@ -55,15 +55,22 @@
|
|
|
</div>
|
|
</div>
|
|
|
<div class="activityItem">
|
|
<div class="activityItem">
|
|
|
<div class="van-cell QRCodeBtnBox">
|
|
<div class="van-cell QRCodeBtnBox">
|
|
|
- <van-button class="QRCodeBtn" color="#0057ba" @click="openQRCode">
|
|
|
|
|
- 签到二维码
|
|
|
|
|
|
|
+ <van-button style="width: 90px" class="QRCodeBtn" color="#0057ba" @click="openQRCode">
|
|
|
|
|
+ 生成签到码
|
|
|
</van-button>
|
|
</van-button>
|
|
|
- <div class="tips">必须门店老板现场,使用企业微信扫码</div>
|
|
|
|
|
|
|
+ <div class="tips">
|
|
|
|
|
+ 1、点击【暂存】后签到码生效;<br />2、请门店老板使用企微扫码签到
|
|
|
|
|
+ <!-- <div>1、点击【暂存】后签到码生效;</div>
|
|
|
|
|
+ <div>2、请门店老板使用企微扫码签到</div> -->
|
|
|
|
|
+ </div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="activityItem">
|
|
<div class="activityItem">
|
|
|
<div class="van-cell refreshBtnBox" style="padding: 5px 16px" @click="getQRChainList">
|
|
<div class="van-cell refreshBtnBox" style="padding: 5px 16px" @click="getQRChainList">
|
|
|
- <div style="font-size: 16px; margin-right: 10px">已签到成功</div>
|
|
|
|
|
|
|
+ <div style="font-size: 16px; margin-right: 10px">
|
|
|
|
|
+ 已签到成功门店:
|
|
|
|
|
+ <span style="margin-left: 5px">{{ QRChainList.length }}家 </span>
|
|
|
|
|
+ </div>
|
|
|
<div class="refresh">
|
|
<div class="refresh">
|
|
|
<van-icon
|
|
<van-icon
|
|
|
style="font-weight: 600; margin-top: 1px"
|
|
style="font-weight: 600; margin-top: 1px"
|
|
@@ -178,7 +185,6 @@ export default {
|
|
|
// 打开二维码
|
|
// 打开二维码
|
|
|
openQRCode(value) {
|
|
openQRCode(value) {
|
|
|
this.toastLoading(0, '加载中...', true);
|
|
this.toastLoading(0, '加载中...', true);
|
|
|
- debugger;
|
|
|
|
|
// approvalStatus//1-待审批 2-审批通过 不支持修改,直接查看二维码
|
|
// approvalStatus//1-待审批 2-审批通过 不支持修改,直接查看二维码
|
|
|
if (
|
|
if (
|
|
|
this.approvalStatus == '1' ||
|
|
this.approvalStatus == '1' ||
|
|
@@ -284,7 +290,9 @@ export default {
|
|
|
getSummaryQrCheckList({ qrUuid: this.qrUuids }).then((res) => {
|
|
getSummaryQrCheckList({ qrUuid: this.qrUuids }).then((res) => {
|
|
|
this.toastLoading().clear();
|
|
this.toastLoading().clear();
|
|
|
if (res.code == 200) {
|
|
if (res.code == 200) {
|
|
|
- this.QRChainList = res.data;
|
|
|
|
|
|
|
+ this.QRChainList = res.data || [];
|
|
|
|
|
+ } else {
|
|
|
|
|
+ this.QRChainList = [];
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|
|
|
},
|
|
},
|
|
@@ -312,7 +320,11 @@ export default {
|
|
|
border-radius: 10px;
|
|
border-radius: 10px;
|
|
|
}
|
|
}
|
|
|
.tips {
|
|
.tips {
|
|
|
|
|
+ flex: 1;
|
|
|
font-size: 11px;
|
|
font-size: 11px;
|
|
|
|
|
+ margin-left: 15px;
|
|
|
|
|
+ line-height: 15px;
|
|
|
|
|
+ text-align: right;
|
|
|
}
|
|
}
|
|
|
.van-button--normal {
|
|
.van-button--normal {
|
|
|
padding: 0 8px;
|
|
padding: 0 8px;
|