Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
tea_resources_pc
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张伯涛
tea_resources_pc
Commits
528fe76e
Commit
528fe76e
authored
Jul 25, 2024
by
张伯涛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug修改
parent
2f1e1b79
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
13 deletions
+24
-13
learnLession.js
src/api/learnLession.js
+4
-3
index.vue
src/views/courseResources/courseMall/index.vue
+11
-7
examCompany.vue
src/views/learningCenter/examCompany.vue
+9
-3
No files found.
src/api/learnLession.js
View file @
528fe76e
...
...
@@ -154,9 +154,10 @@ export function answerByOneClick(data) {
})
}
// 提交和查看已结束答题记录详情
export
function
blessonSubmit
(
id
)
{
export
function
blessonSubmit
(
params
)
{
return
request
({
url
:
'/post/user/blesson/submit/'
+
id
,
method
:
'get'
url
:
'/post/user/blesson/submit/'
,
method
:
'get'
,
params
})
}
src/views/courseResources/courseMall/index.vue
View file @
528fe76e
...
...
@@ -31,7 +31,7 @@
class=
"tabScreen"
title=
"课程分类"
:items=
"courseTypeOptions"
@
input=
"
getCourseByPagination
"
@
input=
"
handleQuery
"
/>
</el-tab-pane>
<el-tab-pane
v-if=
"mallIdentityType === 'firm'"
:label=
"postName"
name=
"1"
>
...
...
@@ -40,14 +40,14 @@
class=
"tabScreen"
title=
"岗位分类"
:items=
"jobClassifyOptions"
@
input=
"
getCourseByPagination
"
@
input=
"
handleQuery
"
/>
<screen
v-model=
"queryParams.enterpriseCourseDimensions"
class=
"tabScreen"
title=
"课程维度"
:items=
"courseDimensionsOptions"
@
input=
"
getCourseByPagination
"
@
input=
"
handleQuery
"
/>
</el-tab-pane>
<!--
<el-tab-pane
v-if=
"mallIdentityType === 'firm'"
label=
"通用能力培养"
name=
"2"
>
-->
...
...
@@ -72,7 +72,7 @@
class=
"tabScreen"
title=
"课程分类"
:items=
"courseTypeOptions"
@
input=
"
getCourseByPagination
"
@
input=
"
handleQuery
"
/>
</el-tab-pane>
<el-tab-pane
v-if=
"mallIdentityType === 'college'"
:label=
"cultureName"
name=
"1"
>
...
...
@@ -81,7 +81,7 @@
class=
"tabScreen"
title=
"技术分类"
:items=
"tecClassifyOptions"
@
input=
"
getCourseByPagination
"
@
input=
"
handleQuery
"
/>
</el-tab-pane>
</el-tabs>
...
...
@@ -94,7 +94,7 @@
title=
"难度等级"
:value=
"queryParams.difficultyClassify"
:items=
"difficultyGradeOptions"
@
input=
"
getCourseByPagination
"
@
input=
"
handleQuery
"
/>
<div
v-show=
"showExamBtns"
class=
"exam-area"
>
<el-link
type=
"primary"
@
click=
"showExamRecord"
>
考核记录
</el-link>
...
...
@@ -139,7 +139,7 @@
class=
"img"
:src=
"require('@/assets/image/kezi_icon_sousuo.png')"
fit=
"cover"
@
click=
"
getCourseByPagination
"
@
click=
"
handleQuery
"
/>
</
template
>
</el-input>
...
...
@@ -632,6 +632,10 @@ export default {
this
.
onlyFree
=
false
this
.
getCourseByPagination
()
},
handleQuery
()
{
this
.
queryParams
.
page
=
1
this
.
getCourseByPagination
()
},
// 分页查询课程列表
getCourseByPagination
()
{
this
.
queryExam
()
...
...
src/views/learningCenter/examCompany.vue
View file @
528fe76e
...
...
@@ -83,7 +83,10 @@ export default {
if
(
flag
)
{
this
.
$message
.
warning
(
'您有题目未填写请填写完再提交'
)
}
else
{
blessonSubmit
(
this
.
businessId
).
then
(
res
=>
{
const
params
=
{
businessId
:
this
.
businessId
}
blessonSubmit
(
params
).
then
(
res
=>
{
console
.
log
(
'blessonSubmit'
,
res
)
this
.
type
=
'done'
this
.
qsList
=
res
.
data
.
qsList
...
...
@@ -98,14 +101,17 @@ export default {
examInit
()
{
// 根据课程id查询试卷
console
.
log
(
'this.businessId'
,
this
.
businessId
)
findByLessonIdExam
({
status
:
this
.
answer
,
userId
:
this
.
userId
,
lessonId
:
this
.
lessonId
,
businessId
:
this
.
businessId
}).
then
(
res
=>
{
findByLessonIdExam
({
status
:
this
.
answer
,
userId
:
this
.
userId
,
lessonId
:
this
.
lessonId
,
businessId
:
this
.
businessId
}).
then
(
res
=>
{
console
.
log
(
'examFindByLessonId'
,
res
)
this
.
qsList
=
res
.
data
.
qsList
this
.
totalScore
=
res
.
data
.
totalScore
this
.
priceScore
=
res
.
data
.
priceScore
this
.
questionsId
=
res
.
data
.
questionsId
if
(
this
.
type
===
'done'
)
{
blessonSubmit
(
this
.
businessId
).
then
(
resSubmit
=>
{
const
params
=
{
businessId
:
this
.
businessId
}
blessonSubmit
(
params
).
then
(
resSubmit
=>
{
console
.
log
(
'blessonSubmit'
,
resSubmit
)
this
.
type
=
'done'
this
.
qsList
=
resSubmit
.
data
.
qsList
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment