Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
L
learn-online-pc
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
learn-online-pc
Commits
e8a45aae
提交
e8a45aae
authored
12月 13, 2022
作者:
王鹏飞
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
chore: update
上级
8af3732f
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
14 行增加
和
14 行删除
+14
-14
zh-CN.json
src/assets/languages/zh-CN.json
+1
-1
sidebar.vue
src/components/learnSysLayout/sidebar.vue
+1
-1
course.vue
src/pages/learn/course.vue
+12
-12
没有找到文件。
src/assets/languages/zh-CN.json
浏览文件 @
e8a45aae
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
"courseAction"
:
{
"courseAction"
:
{
"all"
:
"全部"
,
"all"
:
"全部"
,
"mustLearn"
:
"先导课程"
,
"mustLearn"
:
"先导课程"
,
"changeLearn"
:
"
核心
课程"
,
"changeLearn"
:
"
必修
课程"
,
"repeatLearn"
:
"选修课程"
,
"repeatLearn"
:
"选修课程"
,
"changeStatus"
:
"选修状态"
,
"changeStatus"
:
"选修状态"
,
"noChange"
:
"未选修"
,
"noChange"
:
"未选修"
,
...
...
src/components/learnSysLayout/sidebar.vue
浏览文件 @
e8a45aae
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
<img
:src=
"UserInfo.avatar"
:alt=
"$t('components.learnSysLayout.sideBar.updateAvatar')"
>
<img
:src=
"UserInfo.avatar"
:alt=
"$t('components.learnSysLayout.sideBar.updateAvatar')"
>
</
template
>
</
template
>
<
template
v-else
>
<
template
v-else
>
<img
src=
"
@/assets/images/avatar.pn
g"
:alt=
"$t('components.learnSysLayout.sideBar.updateAvatar')"
>
<img
src=
"
https://webapp-pub.ezijing.com/weapp/share/default.jp
g"
:alt=
"$t('components.learnSysLayout.sideBar.updateAvatar')"
>
</
template
>
</
template
>
</div>
</div>
<el-button
type=
"text"
class=
"com-txt set-pwd"
@
click=
"goSetPwd"
>
{{ $t('components.learnSysLayout.sideBar.updatePwd') }}
</el-button>
<el-button
type=
"text"
class=
"com-txt set-pwd"
@
click=
"goSetPwd"
>
{{ $t('components.learnSysLayout.sideBar.updatePwd') }}
</el-button>
...
...
src/pages/learn/course.vue
浏览文件 @
e8a45aae
...
@@ -118,7 +118,7 @@ export default {
...
@@ -118,7 +118,7 @@ export default {
selectIndex
:
0
,
selectIndex
:
0
,
key
:
'course_type'
,
key
:
'course_type'
,
arrItem
:
[
arrItem
:
[
{
val
:
'1'
,
name
:
this
.
$t
(
'action.courseAction.mustLearn'
),
show
:
UserInfo
.
is_open_textbook_learning
},
//
{ val: '1', name: this.$t('action.courseAction.mustLearn'), show: UserInfo.is_open_textbook_learning },
{
val
:
'2'
,
name
:
this
.
$t
(
'action.courseAction.changeLearn'
),
show
:
UserInfo
.
is_open_required_course
},
{
val
:
'2'
,
name
:
this
.
$t
(
'action.courseAction.changeLearn'
),
show
:
UserInfo
.
is_open_required_course
},
{
val
:
'3'
,
name
:
this
.
$t
(
'action.courseAction.repeatLearn'
),
show
:
UserInfo
.
is_open_extended_course
}
{
val
:
'3'
,
name
:
this
.
$t
(
'action.courseAction.repeatLearn'
),
show
:
UserInfo
.
is_open_extended_course
}
]
]
...
@@ -126,7 +126,7 @@ export default {
...
@@ -126,7 +126,7 @@ export default {
],
],
homeList
:
[],
// 从后台请求
homeList
:
[],
// 从后台请求
param
:
{
param
:
{
course_type
:
1
,
course_type
:
2
,
order_type
:
'begin_date'
order_type
:
'begin_date'
},
},
timeInterval
:
null
,
timeInterval
:
null
,
...
@@ -178,16 +178,16 @@ export default {
...
@@ -178,16 +178,16 @@ export default {
}
}
},
},
getAjaxList
(
bool
,
str
)
{
getAjaxList
(
bool
,
str
)
{
if
(
this
.
oneParamYype
===
1
)
{
//
if (this.oneParamYype === 1) {
if
(
Number
(
UserInfo
.
is_open_textbook_learning
)
===
1
)
{
//
if (Number(UserInfo.is_open_textbook_learning) === 1) {
this
.
param
.
course_type
=
1
//
this.param.course_type = 1
}
else
if
(
Number
(
UserInfo
.
is_open_required_course
)
===
1
)
{
//
} else if (Number(UserInfo.is_open_required_course) === 1) {
this
.
param
.
course_type
=
2
//
this.param.course_type = 2
}
else
{
//
} else {
this
.
param
.
course_type
=
3
//
this.param.course_type = 3
}
//
}
this
.
oneParamYype
++
//
this.oneParamYype++
}
//
}
this
.
loading
=
true
this
.
loading
=
true
cAction
.
Course
.
getCourseList
(
bool
,
this
.
param
)
cAction
.
Course
.
getCourseList
(
bool
,
this
.
param
)
.
then
(
json
=>
{
.
then
(
json
=>
{
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论