提交 86f435fd 编写于 作者: guangjun.yang's avatar guangjun.yang

点击“参与考试”

上级 14c52208
......@@ -52,7 +52,7 @@ export default {
let _this = this;
window.__getPositionData = function(param) {
console.log(param);
_this.showLoading = false;
// _this.showLoading = false;
param.setEntry = true;
_this.getProvinceIdByPosition(param);
}
......@@ -72,7 +72,7 @@ export default {
// 判断用户是否购买过I类学习卡
isBuy(cardType) {
// this.showLoading = true;
this.showLoading = true;
let param = {
cardType: cardType,
token: this.cmeToken,
......@@ -105,7 +105,6 @@ export default {
// 获取地理位置信息
getPositionData() {
console.log('getPositionData');
this.showLoading = true;
rocNative.getPositionData({
__funcName: "__getPositionData"
});
......@@ -121,7 +120,7 @@ export default {
}
this.POST("trade/goods/cardList_v2", param).then(res => {
if (res.code == "000000") {
// this.showLoading = false;
this.showLoading = false;
this.isShowPopup = true;
this.cardInfo = res.data && res.data[0] || {id: 0} ;
}
......@@ -171,6 +170,7 @@ export default {
// 跳转I类学习详情页面(中华医学会项目列表页面)
jumpToCardList() {
this.showLoading = false;
this.isShowPopup = false;
if (window.__isWeb) {
return;
......
......@@ -301,7 +301,7 @@ export default {
});
window.__getPositionData = function(param) {
console.log(param);
_this.showLoading = false;
// _this.showLoading = false;
param.setEntry = true;
_this.getProvinceIdByPosition(param);
}
......@@ -343,7 +343,7 @@ export default {
// 判断用户是否购买过I类学习卡
isBuy(cardType) {
// this.showLoading = true;
this.showLoading = true;
let param = {
cardType: cardType,
setEntry: true,
......@@ -362,6 +362,7 @@ export default {
// 跳转II类学习详情页面(中华医学会项目详情页面)
jumpToCardList() {
this.showLoading = false;
this.isShowPopup = false;
// 判断版本号,如果小于3.4.0,则只做提示
let appVersion = this.userInfo.appVersion;
......@@ -434,7 +435,7 @@ export default {
// 获取地理位置信息
getPositionData() {
this.showLoading = true;
// this.showLoading = true;
console.log('getPositionData');
rocNative.getPositionData({
__funcName: "__getPositionData"
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册