|
@@ -8,7 +8,7 @@
|
|
|
<van-tabs v-model:active="mealType" @change="onMealTypeChange">
|
|
<van-tabs v-model:active="mealType" @change="onMealTypeChange">
|
|
|
<van-tab v-for="item in meals"
|
|
<van-tab v-for="item in meals"
|
|
|
:key="item.id"
|
|
:key="item.id"
|
|
|
- :title="item.name + (item.deadlineTime ? ' (申报截止时间:' + item.deadlineTime + ')' : '')"
|
|
|
|
|
|
|
+ :title="item.name"
|
|
|
:name="item.id">
|
|
:name="item.id">
|
|
|
</van-tab>
|
|
</van-tab>
|
|
|
</van-tabs>
|
|
</van-tabs>
|
|
@@ -44,6 +44,7 @@
|
|
|
<div v-else class="no-qrcode">
|
|
<div v-else class="no-qrcode">
|
|
|
<van-icon name="qr" size="60" color="#c8c9cc" />
|
|
<van-icon name="qr" size="60" color="#c8c9cc" />
|
|
|
<p class="no-qrcode-text">暂无二维码</p>
|
|
<p class="no-qrcode-text">暂无二维码</p>
|
|
|
|
|
+ <p class="no-qrcode-text">申报截止时间:{{ this.deadlineTime }}</p>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
@@ -100,6 +101,7 @@
|
|
|
factories: [],
|
|
factories: [],
|
|
|
qrcodeUrl: '', // 二维码图片URL
|
|
qrcodeUrl: '', // 二维码图片URL
|
|
|
qrStatus: null,
|
|
qrStatus: null,
|
|
|
|
|
+ deadlineTime:'',
|
|
|
submitting: false, // 提交状态
|
|
submitting: false, // 提交状态
|
|
|
cancelSubmitting: false,
|
|
cancelSubmitting: false,
|
|
|
showCancelDialog: false, // 控制取消弹窗显示
|
|
showCancelDialog: false, // 控制取消弹窗显示
|
|
@@ -189,6 +191,7 @@
|
|
|
if (res.code === 'ok' && res.data) {
|
|
if (res.code === 'ok' && res.data) {
|
|
|
this.qrcodeUrl = res.data.qrCode || '';
|
|
this.qrcodeUrl = res.data.qrCode || '';
|
|
|
this.qrStatus = res.data.status;
|
|
this.qrStatus = res.data.status;
|
|
|
|
|
+ this.deadlineTime = res.data.deadlineTime;
|
|
|
} else {
|
|
} else {
|
|
|
this.qrcodeUrl = '';
|
|
this.qrcodeUrl = '';
|
|
|
}
|
|
}
|