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

点击“参与考试”

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