提交 360c1c75 编写于 作者: guangjun.yang's avatar guangjun.yang

I类学分项目

上级 0d143511
...@@ -138,7 +138,7 @@ export default { ...@@ -138,7 +138,7 @@ export default {
let paramList = [ let paramList = [
{ {
key: "pageUrl", key: "pageUrl",
value: getWebPageUrl(`cme/#/coop?id=${item.id}&courseRequire=${item.courseRequire}&projectId=${this.projectId}&organizationId=${this.organizationId}`), value: getWebPageUrl(`cme/#/coop?id=${item.id}&courseRequire=${item.courseRequire}&organizationId=${this.organizationId}`),
type: 4, type: 4,
seqNo: 1 seqNo: 1
} }
......
...@@ -120,7 +120,7 @@ export default { ...@@ -120,7 +120,7 @@ export default {
}, },
// 跳转到原生的购买页面 // 跳转到原生的购买页面
confirm(goodId) { confirm() {
this.isShowPopup = false; this.isShowPopup = false;
let paramList = [ let paramList = [
{ {
...@@ -131,7 +131,7 @@ export default { ...@@ -131,7 +131,7 @@ export default {
}, },
{ {
key: "goodId", key: "goodId",
value: goodId, value: this.cardInfo.id,
type: 4, type: 4,
seqNo: 1 seqNo: 1
}, },
......
...@@ -117,7 +117,7 @@ ...@@ -117,7 +117,7 @@
:btnText="project.currentProgress > 1 ? '参加考试' : '学完全部课程,可参加考试'" :btnText="project.currentProgress > 1 ? '参加考试' : '学完全部课程,可参加考试'"
:type="project.currentProgress > 1 ? 'primary' : 'disabled'"></ExjumperButton> :type="project.currentProgress > 1 ? 'primary' : 'disabled'"></ExjumperButton>
<div v-if="project.cmeType == 2" style="padding-top: 30px"></div> <div v-if="project.cmeType == 2" style="padding-top: 30px"></div>
<CardPopup :cardInfo="cardInfo" :isShow="showGoUpdate" @cancle="jumpToCardList()" @confirm="confirm"></CardPopup> <CardPopup :cardInfo="cardInfo" :isShow="isShowPopup" @cancle="jumpToCardList()" @confirm="confirm"></CardPopup>
</div> </div>
</template> </template>
<script> <script>
...@@ -237,7 +237,7 @@ export default { ...@@ -237,7 +237,7 @@ export default {
btnText: '学完全部课程,可参加考试', // 参加考试(currentProgress = 1); 或者学完全部课程,可参加考试 btnText: '学完全部课程,可参加考试', // 参加考试(currentProgress = 1); 或者学完全部课程,可参加考试
provinceId: '', provinceId: '',
organizationId: '', organizationId: '',
showGoUpdate: false, isShowPopup: false,
cardInfo: { cardInfo: {
}, },
...@@ -354,6 +354,7 @@ export default { ...@@ -354,6 +354,7 @@ export default {
// 跳转II类学习详情页面(中华医学会项目详情页面) // 跳转II类学习详情页面(中华医学会项目详情页面)
jumpToCardList() { jumpToCardList() {
this.isShowPopup = false;
if (window.__isWeb) { if (window.__isWeb) {
return; return;
} else { } else {
...@@ -409,7 +410,7 @@ export default { ...@@ -409,7 +410,7 @@ export default {
} }
this.POST("trade/goods/cardList", param).then(res => { this.POST("trade/goods/cardList", param).then(res => {
if (res.code == "000000") { if (res.code == "000000") {
this.showGoUpdate = true; this.isShowPopup = true;
this.cardInfo = res.data && res.data[0] || {} ; this.cardInfo = res.data && res.data[0] || {} ;
} }
}); });
...@@ -424,7 +425,8 @@ export default { ...@@ -424,7 +425,8 @@ export default {
}, },
// 跳转到原生的购买页面 // 跳转到原生的购买页面
confirm(goodId) { confirm() {
this.isShowPopup = false;
let paramList = [ let paramList = [
{ {
key: "className", key: "className",
...@@ -434,7 +436,7 @@ export default { ...@@ -434,7 +436,7 @@ export default {
}, },
{ {
key: "goodId", key: "goodId",
value: goodId, value: this.cardInfo.id,
type: 4, type: 4,
seqNo: 1 seqNo: 1
}, },
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册