提交 f8504a29 编写于 作者: tao.wu's avatar tao.wu

预约成功判定

上级 0e7bf6ce
......@@ -20,7 +20,7 @@
</div>
<div v-show="loaded || isWeb" class="btn-appoint btn-app-share" id="imgHeight3">
<img v-if="showRemindBtn" @click="setRemind" src="../assets/img/btn_appoint.png" />
<div v-else>
<div v-if="remindStatus">
<img src="../assets/img/btn_appointed.png">
<div class="appoint-time">12月16号我们会提示你参加活动</div>
</div>
......@@ -122,6 +122,10 @@ export default {
shareImageUrl: 'https://file.yunqueyi.com/h5/nzhd19/share.png'
}
this.isWeb = this.$rocNative.isWeb;
// this.isWeb = false;
// this.isLogin = false;
// this.remindStatus = false;
// this.loaded = true;
// 通过获取token,初始化数据
this.$rocNative.getToken().then(res => {
const { userToken } = res;
......@@ -241,7 +245,7 @@ export default {
const status = res.data.status;
if (status == 1) { // 机构状态正常
remind({ token: this.userToken }).then(resD => {
if (resD.code == '000000') {
if (resD.code == '000000' && resD.data) {
// if(!flag){
this.$dialog.alert({
title: '设置提醒成功',
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册