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

直接传商品id

上级 b01fd66c
...@@ -315,7 +315,9 @@ export default { ...@@ -315,7 +315,9 @@ export default {
goodsType : this.directoryInfo.goodsType, goodsType : this.directoryInfo.goodsType,
commitKind : commitKind, commitKind : commitKind,
freeFlag: 1, freeFlag: 1,
currentTitle: currentTitle currentTitle: currentTitle,
seqNo: 0,
cardId: this.cardInfo.id,
} }
}) })
}); });
...@@ -439,7 +441,8 @@ export default { ...@@ -439,7 +441,8 @@ export default {
commitKind : 3, commitKind : 3,
freeFlag: obj.freeFlag, freeFlag: obj.freeFlag,
currentTitle: obj.directoryName, currentTitle: obj.directoryName,
seqNo: obj.seqNo seqNo: obj.seqNo,
cardId: this.cardInfo.id,
} }
}) })
}); });
......
...@@ -124,6 +124,7 @@ export default { ...@@ -124,6 +124,7 @@ export default {
let _this = this; let _this = this;
this.directoryId = this.$route.query.directoryId || 1748; // 题库ID,获取错题集或收藏时传0 this.directoryId = this.$route.query.directoryId || 1748; // 题库ID,获取错题集或收藏时传0
this.secondSubjectId = this.$route.query.secondSubjectId || 106; // 学科id this.secondSubjectId = this.$route.query.secondSubjectId || 106; // 学科id
this.cardId = this.$route.query.cardId || 3;
this.cardType = this.$route.query.cardType || 3; // 卡类型 this.cardType = this.$route.query.cardType || 3; // 卡类型
this.goodsType = this.$route.query.goodsType || 3; // 商品类型 this.goodsType = this.$route.query.goodsType || 3; // 商品类型
this.commitKind = this.$route.query.commitKind || 3; // 答题来源 1:错题集 2:收藏 3:题库 this.commitKind = this.$route.query.commitKind || 3; // 答题来源 1:错题集 2:收藏 3:题库
...@@ -135,7 +136,7 @@ export default { ...@@ -135,7 +136,7 @@ export default {
this.queryParams.commitKind = this.commitKind; this.queryParams.commitKind = this.commitKind;
this.queryParams.directoryId = this.directoryId; this.queryParams.directoryId = this.directoryId;
this.queryParams.secondSubjectId = this.secondSubjectId; this.queryParams.secondSubjectId = this.secondSubjectId;
this.queryParams.seqNo = this.$route.query.seqNo || 1; this.queryParams.seqNo = this.$route.query.seqNo || 0;
window.__getUserInfoForQD = function(param) { window.__getUserInfoForQD = function(param) {
_this.token = param.userToken; _this.token = param.userToken;
...@@ -260,7 +261,7 @@ export default { ...@@ -260,7 +261,7 @@ export default {
}, },
{ {
key: "goodId", key: "goodId",
value: this.cardInfo.id, value: this.cardId,
type: 4, type: 4,
seqNo: 1 seqNo: 1
}, },
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册