Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
L
learn-online-pc
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
learn-online-pc
Commits
42e8b093
提交
42e8b093
authored
4月 21, 2020
作者:
王鹏飞
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
bug fixes
上级
7533f817
隐藏空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
9 行增加
和
8 行删除
+9
-8
CourseAction.js
client/src/action/CourseAction.js
+2
-2
discuss_api.js
client/src/api/discuss_api.js
+1
-1
mTable.vue
client/src/components/comTable/mTable.vue
+1
-1
viewReport.vue
client/src/pages/affairsHall/viewReport.vue
+1
-1
credit.vue
client/src/pages/grade/credit.vue
+1
-1
reportActiveList.vue
client/src/pages/learn/reportActiveList.vue
+1
-1
reportListAll.vue
client/src/pages/learn/reportListAll.vue
+1
-1
index.vue
client/src/pages/player/index.vue
+1
-0
没有找到文件。
client/src/action/CourseAction.js
浏览文件 @
42e8b093
...
...
@@ -52,8 +52,8 @@ export default class CourseAction extends BaseACTION {
arrTab
:
[(((
_cur
&&
_cur
.
curriculum_credit
)
||
0
)
+
_vIn
.
$t
(
'action.courseAction.credit'
)),
str1
,
cur
.
semester_name
],
status
:
_cur
.
is_enabled
?
_vIn
.
$t
(
'action.courseAction.publish'
)
:
_vIn
.
$t
(
'action.courseAction.noPublish'
),
time
:
cur
.
begin_date
.
split
(
' '
)[
0
]
+
_vIn
.
$t
(
'action.courseAction.to'
)
+
cur
.
end_date
.
split
(
' '
)[
0
],
myStatus
:
cur
.
selected
!==
0
?
(
cur
.
score
?
(
_vIn
.
$t
(
'action.courseAction.totalScore'
)
+
cur
.
score
)
:
_vIn
.
$t
(
'action.courseAction.
no
Change'
))
:
_vIn
.
$t
(
'action.courseAction.
already
Change'
),
myStatus
:
cur
.
selected
!==
0
?
(
cur
.
score
?
(
_vIn
.
$t
(
'action.courseAction.totalScore'
)
+
cur
.
score
)
:
_vIn
.
$t
(
'action.courseAction.
already
Change'
))
:
_vIn
.
$t
(
'action.courseAction.
no
Change'
),
progress
:
cur
.
video_progress
})
}
...
...
client/src/api/discuss_api.js
浏览文件 @
42e8b093
...
...
@@ -33,7 +33,7 @@ export default class DiscussAPI extends BaseAPI {
* 提出问题
* @param {[object]} param
*/
publishQues
=
(
param
)
=>
this
.
post
(
'/v2/qa/questions'
,
param
)
publishQues
=
(
param
)
=>
this
.
post
(
'/v2/qa/questions'
,
param
,
{
headers
:
{
'Content-Type'
:
'application/json'
}
}
)
/**
* 回答问题
* @param {[object]} param
...
...
client/src/components/comTable/mTable.vue
浏览文件 @
42e8b093
...
...
@@ -38,7 +38,7 @@
</el-popover>
</
template
>
<
template
v-if=
"(head.prop === 'file_url')"
>
<a
:href=
"scope.row[head.prop] || 'javascript:void(0)'"
style=
"text-decoration: none; color: #2b9dff;"
>
下载
</a>
<a
:href=
"scope.row[head.prop] || 'javascript:void(0)'"
download
target=
"_blank"
style=
"text-decoration: none; color: #2b9dff;"
>
下载
</a>
</
template
>
<
template
v-else-if=
"(head.prop === 'operate')"
>
<el-dropdown
:hide-on-click=
"false"
@
command=
"dropdownItemClick(scope.row.index, arguments)"
>
...
...
client/src/pages/affairsHall/viewReport.vue
浏览文件 @
42e8b093
...
...
@@ -59,7 +59,7 @@ export default {
}
},
mounted
()
{
this
.
VueEvent
.
$on
(
'command-tablelist-x'
,
(
_obj
)
=>
{
this
.
VueEvent
.
$o
ff
(
'command-tablelist-x'
).
$o
n
(
'command-tablelist-x'
,
(
_obj
)
=>
{
if
(
_obj
.
command
.
command
===
'reportlist-edit'
)
{
const
reid
=
_obj
.
tableData
[
_obj
.
index
-
1
].
id
this
.
$router
.
push
({
path
:
`/app/learn/report-submit/
${
this
.
rid
}
/
${
reid
}
`
})
...
...
client/src/pages/grade/credit.vue
浏览文件 @
42e8b093
...
...
@@ -104,7 +104,7 @@ export default {
}
},
mounted
()
{
this
.
VueEvent
.
$on
(
'command-tablelist-x'
,
(
data
)
=>
{
this
.
VueEvent
.
$o
ff
(
'command-tablelist-x'
).
$o
n
(
'command-tablelist-x'
,
(
data
)
=>
{
if
(
data
.
command
.
command
===
're-start'
)
{
const
_data
=
data
.
tableData
[
data
.
index
-
1
]
window
.
localStorage
.
setItem
(
'rebuild'
,
JSON
.
stringify
(
_data
))
...
...
client/src/pages/learn/reportActiveList.vue
浏览文件 @
42e8b093
...
...
@@ -56,7 +56,7 @@ export default {
}
},
mounted
()
{
this
.
VueEvent
.
$on
(
'command-tablelist-x'
,
(
_obj
)
=>
{
this
.
VueEvent
.
$o
ff
(
'command-tablelist-x'
).
$o
n
(
'command-tablelist-x'
,
(
_obj
)
=>
{
if
(
_obj
.
command
.
command
===
'activelist-show'
)
{
const
rid
=
_obj
.
tableData
[
_obj
.
index
-
1
].
id
this
.
$router
.
push
({
path
:
`/app/learn/report-list-all/
${
rid
}
`
})
...
...
client/src/pages/learn/reportListAll.vue
浏览文件 @
42e8b093
...
...
@@ -59,7 +59,7 @@ export default {
}
},
mounted
()
{
this
.
VueEvent
.
$on
(
'command-tablelist-x'
,
(
_obj
)
=>
{
this
.
VueEvent
.
$o
ff
(
'command-tablelist-x'
).
$o
n
(
'command-tablelist-x'
,
(
_obj
)
=>
{
if
(
_obj
.
command
.
command
===
'reportlist-edit'
)
{
const
reid
=
_obj
.
tableData
[
_obj
.
index
-
1
].
id
this
.
$router
.
push
({
path
:
`/app/learn/report-submit/
${
this
.
rid
}
/
${
reid
}
`
})
...
...
client/src/pages/player/index.vue
浏览文件 @
42e8b093
...
...
@@ -32,6 +32,7 @@
@
handlePlayTime=
"handlePlayTime"
@
updateProgress=
"updateProgress"
@
changeSideBar=
"changeSideBar"
:key=
"id"
></router-view>
</div>
</div>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论