ソースを参照

提交激活修改提示,不去信息页面查询了

yxb
DESKTOP-2IO5MST\huting 1年前
コミット
43f85ebfc6
1個のファイルの変更19行の追加3行の削除
  1. 19
    3
      subpackage/after-sale/activation/activate.vue

+ 19
- 3
subpackage/after-sale/activation/activate.vue ファイルの表示

@@ -24,9 +24,12 @@
</view>
</view>
<view class="up_btn">
<button aria-disabled="true" @click="btn" :disabled="disabled">
<button aria-disabled="true" @click="btn" :disabled="disabled" v-if="!state.isSuccess">
点击开始激活
</button>
<button aria-disabled="true" @click="back" v-else>
点击返回首页
</button>
</view>
</view>
<!-- 激活成功popup -->
@@ -44,7 +47,8 @@
formatTime,
expireDate,
expireDate2,
getFormatDate
getFormatDate,
msg
} from "@/utils/utils";
import {
onLoad
@@ -77,7 +81,8 @@
orderId: "",
id: "",
cardStatus: "",
obuStatus: ""
obuStatus: "",
isSuccess: false //是否激活成功
})
onLoad(() => {
//读取传入 存储的数据orderInfo
@@ -818,12 +823,18 @@

}
})
msg("激活成功")
state.isSuccess = true
// #endif

DataSynchronizationRequest();


// #ifdef MP-WEIXIN
uni.navigateTo({
url: "/subpackage/after-sale/deviceInfo/deviceInfo",
});
// #endif
}
})
};
@@ -840,6 +851,11 @@
const data = stringToJson(res.bizContent);
})
}
const back = () => {
uni.switchTab({
url: "/pages/index/index"
});
}
</script>

<style>

読み込み中…
キャンセル
保存