Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
cert-admin
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
cert-admin
Commits
62b5eb84
提交
62b5eb84
authored
7月 14, 2021
作者:
pengxiaohui
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
bug fixes
上级
304246de
显示空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
94 行增加
和
13 行删除
+94
-13
index.vue
src/pages/course/index.vue
+24
-6
course.vue
src/pages/project/components/course.vue
+20
-2
student.vue
src/pages/project/components/student.vue
+10
-1
index.vue
src/pages/project/index.vue
+20
-2
index.vue
src/pages/student/index.vue
+20
-2
没有找到文件。
src/pages/course/index.vue
浏览文件 @
62b5eb84
...
@@ -13,10 +13,28 @@
...
@@ -13,10 +13,28 @@
</el-dropdown-menu>
</el-dropdown-menu>
</el-dropdown>
</el-dropdown>
</
template
>
</
template
>
<!-- 项目Id -->
<!-- 课程Id -->
<
template
v-slot:table_id=
"scope"
<
template
v-slot:table_id=
"scope"
>
><span
class=
"details-handle"
@
click=
"handleEdit(scope.row)"
>
{{
scope
.
row
.
id
}}
</span></
template
<span
class=
"details-handle"
@
click=
"handleEdit(scope.row)"
>
{{
scope
.
row
.
id
}}
</span>
>
</
template
>
<!-- 中文名 -->
<
template
v-slot:table_name=
"scope"
>
<el-tooltip
placement=
"top"
>
<div
slot=
"content"
>
<p
style=
"white-space:pre;"
>
{{
scope
.
row
.
chinese_name
}}
</p>
</div>
<span
style=
"white-space:pre;"
>
{{
scope
.
row
.
chinese_name
}}
</span>
</el-tooltip>
</
template
>
<!-- 英文名 -->
<
template
v-slot:table_en_name=
"scope"
>
<el-tooltip
placement=
"top"
>
<div
slot=
"content"
>
<p
style=
"white-space:pre;"
>
{{
scope
.
row
.
english_name
}}
</p>
</div>
<span
style=
"white-space:pre;"
>
{{
scope
.
row
.
english_name
}}
</span>
</el-tooltip>
</
template
>
<
template
#
footer
>
<
template
#
footer
>
<div>
<div>
<span
v-if=
"hasDelete"
>
已选中
{{
multipleSelection
.
length
}}
项
</span>
<span
v-if=
"hasDelete"
>
已选中
{{
multipleSelection
.
length
}}
项
</span>
...
@@ -129,8 +147,8 @@ export default {
...
@@ -129,8 +147,8 @@ export default {
columns
:
[
columns
:
[
{
type
:
'selection'
,
minWidth
:
'50px'
,
fixed
:
'left'
,
visible
:
this
.
hasDelete
},
{
type
:
'selection'
,
minWidth
:
'50px'
,
fixed
:
'left'
,
visible
:
this
.
hasDelete
},
{
prop
:
'id'
,
label
:
'课程ID'
,
slots
:
'table_id'
,
minWidth
:
'120px'
,
fixed
:
'left'
},
{
prop
:
'id'
,
label
:
'课程ID'
,
slots
:
'table_id'
,
minWidth
:
'120px'
,
fixed
:
'left'
},
{
prop
:
'chinese_name'
,
label
:
'课程名称'
,
minWidth
:
'130px'
},
{
prop
:
'chinese_name'
,
label
:
'课程名称'
,
slots
:
'table_name'
,
minWidth
:
'130px'
},
{
prop
:
'english_name'
,
label
:
'课程名称(英)'
,
minWidth
:
'160px'
},
{
prop
:
'english_name'
,
label
:
'课程名称(英)'
,
slots
:
'table_en_name'
,
minWidth
:
'160px'
},
{
prop
:
'pubdate'
,
label
:
'发布时间'
,
minWidth
:
'120px'
}
{
prop
:
'pubdate'
,
label
:
'发布时间'
,
minWidth
:
'120px'
}
],
],
bodyHeight
:
'calc(100% - 50px)'
bodyHeight
:
'calc(100% - 50px)'
...
...
src/pages/project/components/course.vue
浏览文件 @
62b5eb84
<
template
>
<
template
>
<div
class=
"project-course"
>
<div
class=
"project-course"
>
<table-list
v-bind=
"tableOptions"
ref=
"tabList"
@
selection-change=
"handleSelectionChange"
>
<table-list
v-bind=
"tableOptions"
ref=
"tabList"
@
selection-change=
"handleSelectionChange"
>
<!-- 中文名 -->
<template
v-slot:table_name=
"scope"
>
<el-tooltip
placement=
"top"
>
<div
slot=
"content"
>
<p
style=
"white-space:pre;"
>
{{
scope
.
row
.
chinese_name
}}
</p>
</div>
<span
style=
"white-space:pre;"
>
{{
scope
.
row
.
chinese_name
}}
</span>
</el-tooltip>
</
template
>
<!-- 英文名 -->
<
template
v-slot:table_en_name=
"scope"
>
<el-tooltip
placement=
"top"
>
<div
slot=
"content"
>
<p
style=
"white-space:pre;"
>
{{
scope
.
row
.
english_name
}}
</p>
</div>
<span
style=
"white-space:pre;"
>
{{
scope
.
row
.
english_name
}}
</span>
</el-tooltip>
</
template
>
<
template
#
footer
>
<
template
#
footer
>
<div
v-if=
"isEdit"
>
<div
v-if=
"isEdit"
>
已选中
{{
multipleSelection
.
length
}}
项
已选中
{{
multipleSelection
.
length
}}
项
...
@@ -63,8 +81,8 @@ export default {
...
@@ -63,8 +81,8 @@ export default {
columns
:
[
columns
:
[
{
type
:
'selection'
,
minWidth
:
'50px'
,
fixed
:
'left'
,
visible
:
this
.
hasSave
},
{
type
:
'selection'
,
minWidth
:
'50px'
,
fixed
:
'left'
,
visible
:
this
.
hasSave
},
{
prop
:
'id'
,
label
:
'课程ID'
,
minWidth
:
'120px'
,
fixed
:
'left'
},
{
prop
:
'id'
,
label
:
'课程ID'
,
minWidth
:
'120px'
,
fixed
:
'left'
},
{
prop
:
'chinese_name'
,
label
:
'课程名称'
,
minWidth
:
'130px'
},
{
prop
:
'chinese_name'
,
label
:
'课程名称'
,
slots
:
'table_name'
,
minWidth
:
'130px'
},
{
prop
:
'english_name'
,
label
:
'课程名称(英)'
,
minWidth
:
'160px'
},
{
prop
:
'english_name'
,
label
:
'课程名称(英)'
,
slots
:
'table_en_name'
,
minWidth
:
'160px'
},
{
prop
:
'pubdate'
,
label
:
'发布时间'
,
minWidth
:
'120px'
}
{
prop
:
'pubdate'
,
label
:
'发布时间'
,
minWidth
:
'120px'
}
]
]
}
}
...
...
src/pages/project/components/student.vue
浏览文件 @
62b5eb84
<
template
>
<
template
>
<div
class=
"project-student"
>
<div
class=
"project-student"
>
<table-list
v-bind=
"tableOptions"
ref=
"tabList"
@
selection-change=
"handleSelectionChange"
>
<table-list
v-bind=
"tableOptions"
ref=
"tabList"
@
selection-change=
"handleSelectionChange"
>
<!-- 中文名 -->
<template
v-slot:table_name=
"scope"
>
<el-tooltip
placement=
"top"
>
<div
slot=
"content"
>
<p
style=
"white-space:pre;"
>
{{
scope
.
row
.
chinese_name
}}
</p>
</div>
<span
style=
"white-space:pre;"
>
{{
scope
.
row
.
chinese_name
}}
</span>
</el-tooltip>
</
template
>
<
template
#
footer
>
<
template
#
footer
>
<div
v-if=
"isEdit"
>
<div
v-if=
"isEdit"
>
已选中
{{
multipleSelection
.
length
}}
项
已选中
{{
multipleSelection
.
length
}}
项
...
@@ -63,7 +72,7 @@ export default {
...
@@ -63,7 +72,7 @@ export default {
columns
:
[
columns
:
[
{
type
:
'selection'
,
minWidth
:
'50px'
,
fixed
:
'left'
,
visible
:
this
.
hasSave
},
{
type
:
'selection'
,
minWidth
:
'50px'
,
fixed
:
'left'
,
visible
:
this
.
hasSave
},
{
prop
:
'id'
,
label
:
'学员ID'
,
minWidth
:
'120px'
,
fixed
:
'left'
},
{
prop
:
'id'
,
label
:
'学员ID'
,
minWidth
:
'120px'
,
fixed
:
'left'
},
{
prop
:
'chinese_name'
,
label
:
'姓名'
,
minWidth
:
'90px'
},
{
prop
:
'chinese_name'
,
label
:
'姓名'
,
slots
:
'table_name'
,
minWidth
:
'90px'
},
{
{
prop
:
'gender'
,
prop
:
'gender'
,
label
:
'性别'
,
label
:
'性别'
,
...
...
src/pages/project/index.vue
浏览文件 @
62b5eb84
...
@@ -11,6 +11,24 @@
...
@@ -11,6 +11,24 @@
<el-dropdown-item
command=
"all"
>
导出全部
</el-dropdown-item>
<el-dropdown-item
command=
"all"
>
导出全部
</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown-menu>
</el-dropdown>
</el-dropdown>
</
template
>
<!-- 中文名 -->
<
template
v-slot:table_name=
"scope"
>
<el-tooltip
placement=
"top"
>
<div
slot=
"content"
>
<p
style=
"white-space:pre;"
>
{{
scope
.
row
.
chinese_name
}}
</p>
</div>
<span
style=
"white-space:pre;"
>
{{
scope
.
row
.
chinese_name
}}
</span>
</el-tooltip>
</
template
>
<!-- 英文名 -->
<
template
v-slot:table_en_name=
"scope"
>
<el-tooltip
placement=
"top"
>
<div
slot=
"content"
>
<p
style=
"white-space:pre;"
>
{{
scope
.
row
.
english_name
}}
</p>
</div>
<span
style=
"white-space:pre;"
>
{{
scope
.
row
.
english_name
}}
</span>
</el-tooltip>
</
template
>
</
template
>
<!-- 操作 -->
<!-- 操作 -->
<
template
v-slot:table-operate=
"{ row }"
>
<
template
v-slot:table-operate=
"{ row }"
>
...
@@ -129,8 +147,8 @@ export default {
...
@@ -129,8 +147,8 @@ export default {
columns
:
[
columns
:
[
{
type
:
'selection'
,
minWidth
:
'50px'
,
fixed
:
'left'
,
visible
:
this
.
hasDelete
},
{
type
:
'selection'
,
minWidth
:
'50px'
,
fixed
:
'left'
,
visible
:
this
.
hasDelete
},
{
prop
:
'id'
,
label
:
'项目ID'
,
minWidth
:
'155px'
},
{
prop
:
'id'
,
label
:
'项目ID'
,
minWidth
:
'155px'
},
{
prop
:
'chinese_name'
,
label
:
'项目名称'
,
minWidth
:
'130px'
},
{
prop
:
'chinese_name'
,
label
:
'项目名称'
,
slots
:
'table_name'
,
minWidth
:
'130px'
},
{
prop
:
'english_name'
,
label
:
'项目名称(英)'
,
minWidth
:
'160px'
},
{
prop
:
'english_name'
,
label
:
'项目名称(英)'
,
slots
:
'table_en_name'
,
minWidth
:
'160px'
},
{
{
prop
:
'type'
,
prop
:
'type'
,
label
:
'项目类型'
,
label
:
'项目类型'
,
...
...
src/pages/student/index.vue
浏览文件 @
62b5eb84
...
@@ -21,6 +21,24 @@
...
@@ -21,6 +21,24 @@
<
template
v-slot:table_id=
"scope"
>
<
template
v-slot:table_id=
"scope"
>
<span
class=
"details-handle"
style=
"color:#409EFF"
@
click=
"handleDetails(scope.row)"
>
{{
scope
.
row
.
student_number
}}
</span>
<span
class=
"details-handle"
style=
"color:#409EFF"
@
click=
"handleDetails(scope.row)"
>
{{
scope
.
row
.
student_number
}}
</span>
</
template
>
</
template
>
<!-- 中文名 -->
<
template
v-slot:table_name=
"scope"
>
<el-tooltip
placement=
"top"
>
<div
slot=
"content"
>
<p
style=
"white-space:pre;"
>
{{
scope
.
row
.
chinese_name
}}
</p>
</div>
<span
style=
"white-space:pre;"
>
{{
scope
.
row
.
chinese_name
}}
</span>
</el-tooltip>
</
template
>
<!-- 英文名 -->
<
template
v-slot:table_en_name=
"scope"
>
<el-tooltip
placement=
"top"
>
<div
slot=
"content"
>
<p
style=
"white-space:pre;"
>
{{
scope
.
row
.
english_name
}}
</p>
</div>
<span
style=
"white-space:pre;"
>
{{
scope
.
row
.
english_name
}}
</span>
</el-tooltip>
</
template
>
<!-- 状态 -->
<!-- 状态 -->
<
template
v-slot:status=
"{ row }"
>
<
template
v-slot:status=
"{ row }"
>
<el-switch
<el-switch
...
@@ -172,8 +190,8 @@ export default {
...
@@ -172,8 +190,8 @@ export default {
{
prop
:
'student_number'
,
label
:
'学籍ID'
,
slots
:
'table_id'
,
minWidth
:
'160px'
,
fixed
:
'left'
},
{
prop
:
'student_number'
,
label
:
'学籍ID'
,
slots
:
'table_id'
,
minWidth
:
'160px'
,
fixed
:
'left'
},
{
prop
:
'country'
,
label
:
'国家'
,
minWidth
:
'100px'
},
{
prop
:
'country'
,
label
:
'国家'
,
minWidth
:
'100px'
},
{
prop
:
'city'
,
label
:
'省市'
,
minWidth
:
'100px'
},
{
prop
:
'city'
,
label
:
'省市'
,
minWidth
:
'100px'
},
{
prop
:
'chinese_name'
,
label
:
'姓名'
,
minWidth
:
'90px'
},
{
prop
:
'chinese_name'
,
label
:
'姓名'
,
slots
:
'table_name'
,
minWidth
:
'90px'
},
{
prop
:
'english_name'
,
label
:
'姓名(英)'
,
minWidth
:
'130px'
},
{
prop
:
'english_name'
,
label
:
'姓名(英)'
,
slots
:
'table_en_name'
,
minWidth
:
'130px'
},
{
{
prop
:
'gender'
,
prop
:
'gender'
,
label
:
'性别'
,
label
:
'性别'
,
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论