Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica-professional-exam
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Culm
pica-professional-exam
提交
ff347995
提交
ff347995
编写于
10月 09, 2020
作者:
guangjun.yang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
直接传商品id
上级
b01fd66c
变更
2
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
8 行增加
和
4 行删除
+8
-4
question-bank.vue
src/views/question-bank.vue
+5
-2
question-detail.vue
src/views/question-detail.vue
+3
-2
未找到文件。
src/views/question-bank.vue
浏览文件 @
ff347995
...
@@ -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
,
}
}
})
})
});
});
...
...
src/views/question-detail.vue
浏览文件 @
ff347995
...
@@ -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
.
cardI
nfo
.
i
d
,
value
:
this
.
cardId
,
type
:
4
,
type
:
4
,
seqNo
:
1
seqNo
:
1
},
},
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录