Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
center-resource
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
center-resource
Commits
2e0db2aa
提交
2e0db2aa
authored
7月 12, 2022
作者:
matian
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix:课程详情新增负责人字段
上级
76c1a81e
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
11 行增加
和
4 行删除
+11
-4
ViewCourseInfo.vue
src/modules/course/my/components/ViewCourseInfo.vue
+9
-2
List.vue
src/modules/course/my/views/List.vue
+2
-2
没有找到文件。
src/modules/course/my/components/ViewCourseInfo.vue
浏览文件 @
2e0db2aa
...
@@ -49,13 +49,19 @@ const basicInfo = computed((): IBasicInfo[] => {
...
@@ -49,13 +49,19 @@ const basicInfo = computed((): IBasicInfo[] => {
key
:
'created_operator_name'
key
:
'created_operator_name'
},
},
{
{
icon
:
'https://webapp-pub.oss-cn-beijing.aliyuncs.com/center_resource/course-view-icon
5
.png'
,
icon
:
'https://webapp-pub.oss-cn-beijing.aliyuncs.com/center_resource/course-view-icon
6
.png'
,
label
:
'
负责
人'
,
label
:
'
更新
人'
,
value
:
''
,
value
:
''
,
key
:
'updated_operator_name'
key
:
'updated_operator_name'
},
},
{
{
icon
:
'https://webapp-pub.oss-cn-beijing.aliyuncs.com/center_resource/course-view-icon6.png'
,
icon
:
'https://webapp-pub.oss-cn-beijing.aliyuncs.com/center_resource/course-view-icon6.png'
,
label
:
'负责人'
,
value
:
''
,
key
:
'belong_operator_name'
},
{
icon
:
'https://webapp-pub.oss-cn-beijing.aliyuncs.com/center_resource/course-view-icon7.png'
,
label
:
'选课类型'
,
label
:
'选课类型'
,
value
:
''
,
value
:
''
,
key
:
'elective_type_name'
key
:
'elective_type_name'
...
@@ -260,6 +266,7 @@ const liveOptions = computed(() => {
...
@@ -260,6 +266,7 @@ const liveOptions = computed(() => {
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
height
:
fit-content
;
height
:
fit-content
;
margin
:
10px
0
0
;
.item-right
{
.item-right
{
margin-left
:
15px
;
margin-left
:
15px
;
.label
{
.label
{
...
...
src/modules/course/my/views/List.vue
浏览文件 @
2e0db2aa
...
@@ -57,7 +57,7 @@ const listOptions = computed(() => {
...
@@ -57,7 +57,7 @@ const listOptions = computed(() => {
params
:
{
tab
:
tabValue
,
status
:
''
,
authorized
:
''
,
name
:
''
}
params
:
{
tab
:
tabValue
,
status
:
''
,
authorized
:
''
,
name
:
''
}
},
},
filters
:
[
filters
:
[
{
type
:
'input'
,
prop
:
'name'
,
label
:
'名称'
},
{
type
:
'input'
,
prop
:
'name'
,
label
:
'名称
:
'
},
{
{
prop
:
'authorized'
,
prop
:
'authorized'
,
slots
:
'filter-department'
slots
:
'filter-department'
...
@@ -112,7 +112,7 @@ const changeCard = () => {
...
@@ -112,7 +112,7 @@ const changeCard = () => {
</div>
</div>
</
template
>
</
template
>
<
template
v-if=
"tabValue == '3' && isAdmin"
#
filter-department=
"{ params }"
>
<
template
v-if=
"tabValue == '3' && isAdmin"
#
filter-department=
"{ params }"
>
<div
class=
"name"
style=
"font-size: 14px; color: #606266; padding-right: 12px"
>
部门
</div>
<div
class=
"name"
style=
"font-size: 14px; color: #606266; padding-right: 12px"
>
部门
:
</div>
<el-select
@
change=
"typeFilter"
clearable
v-model=
"params.authorized"
>
<el-select
@
change=
"typeFilter"
clearable
v-model=
"params.authorized"
>
<el-option
v-for=
"item in departmentList"
:key=
"item.id"
:label=
"item.name"
:value=
"item.id"
/>
<el-option
v-for=
"item in departmentList"
:key=
"item.id"
:label=
"item.name"
:value=
"item.id"
/>
</el-select>
</el-select>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论