Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
center-resource
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
center-resource
Commits
4b1a5e0f
提交
4b1a5e0f
authored
7月 28, 2022
作者:
matian
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
updates
上级
80ba322e
隐藏空白字符变更
内嵌
并排
正在显示
11 个修改的文件
包含
65 行增加
和
49 行删除
+65
-49
List.vue
src/modules/admin/category/views/List.vue
+1
-1
List.vue
src/modules/admin/staff/views/List.vue
+1
-1
AddExam.vue
...es/course/create/components/stepOneComponents/AddExam.vue
+6
-3
AddExamDialog.vue
...rse/create/components/stepOneComponents/AddExamDialog.vue
+12
-9
AddExamDialog.vue
...rse/create/components/stepTwoComponents/AddExamDialog.vue
+12
-9
AddVideoDialog.vue
...se/create/components/stepTwoComponents/AddVideoDialog.vue
+2
-1
ViewCourseInfo.vue
src/modules/course/my/components/ViewCourseInfo.vue
+6
-3
ViewDetails.vue
src/modules/course/my/views/ViewDetails.vue
+20
-16
Update.vue
src/modules/resource/other/views/Update.vue
+2
-1
DealDialog.vue
src/modules/system/suggestion/components/DealDialog.vue
+2
-4
StudentList.vue
src/modules/teach/exam/views/StudentList.vue
+1
-1
没有找到文件。
src/modules/admin/category/views/List.vue
浏览文件 @
4b1a5e0f
...
...
@@ -106,7 +106,7 @@ const listOptions = computed(() => {
},
filters
:
[{
type
:
'input'
,
prop
:
'category_name'
,
label
:
'类别名称:'
,
placeholder
:
'请输入类别名称'
}],
columns
:
[
{
label
:
'类别名称'
,
prop
:
'category_name'
,
align
:
'
left
'
},
{
label
:
'类别名称'
,
prop
:
'category_name'
,
align
:
'
center
'
},
{
label
:
'层级'
,
prop
:
'depth'
,
align
:
'center'
},
{
label
:
'状态'
,
prop
:
'status_name'
,
align
:
'center'
},
{
label
:
'操作'
,
slots
:
'table-operate'
,
width
:
230
,
align
:
'center'
}
...
...
src/modules/admin/staff/views/List.vue
浏览文件 @
4b1a5e0f
...
...
@@ -40,7 +40,7 @@ const listOptions = $computed(() => {
{
label
:
'角色类型'
,
prop
:
'role_name'
,
align
:
'center'
},
{
label
:
'生效状态'
,
slots
:
'status'
,
align
:
'center'
},
{
label
:
'更新时间'
,
prop
:
'updated_time'
,
align
:
'center'
},
{
label
:
'操作'
,
slots
:
'table-operate'
,
align
:
'center'
,
fixed
:
'
right
'
}
{
label
:
'操作'
,
slots
:
'table-operate'
,
align
:
'center'
,
fixed
:
'
center
'
}
]
}
})
...
...
src/modules/course/create/components/stepOneComponents/AddExam.vue
浏览文件 @
4b1a5e0f
...
...
@@ -32,14 +32,16 @@ const listOptions = computed(() => {
{
label
:
'试卷名称'
,
prop
:
'paper_title'
,
minWidth
:
200
minWidth
:
200
,
align
:
'center'
},
{
label
:
'组卷模式'
,
prop
:
'paper_type'
,
computed
:
(
row
:
any
)
=>
{
return
row
.
row
.
paper_type
===
1
?
'选题组卷'
:
'自动组卷'
}
},
align
:
'center'
},
{
label
:
'试卷用途'
,
...
...
@@ -52,7 +54,8 @@ const listOptions = computed(() => {
}
else
if
(
row
.
row
.
paper_type
===
3
)
{
return
'课程测试'
}
}
},
align
:
'center'
},
{
label
:
'总分'
,
prop
:
'paper_total_score'
,
align
:
'center'
},
{
label
:
'及格分数'
,
prop
:
'pass_score'
,
align
:
'center'
},
...
...
src/modules/course/create/components/stepOneComponents/AddExamDialog.vue
浏览文件 @
4b1a5e0f
...
...
@@ -3,7 +3,7 @@ import { searchExam } from '../../api'
import
{
useQuestionList
}
from
'@/composables/useQuestionList'
const
appList
=
ref
()
let
{
list
:
selectTree
}
=
useQuestionList
()
let
{
list
:
selectTree
}
:
any
=
useQuestionList
()
const
tabValue
=
ref
(
'1'
)
const
multipleSelection
:
any
=
ref
([])
const
emit
=
defineEmits
<
Emits
>
()
...
...
@@ -42,14 +42,15 @@ const listOptions = {
{
type
:
'input'
,
prop
:
'paper_title'
,
label
:
'标题:'
}
],
columns
:
[
{
fixed
:
'left'
,
type
:
'selection'
},
{
fixed
:
'left'
,
type
:
'selection'
,
align
:
'center'
},
{
label
:
'组卷模式'
,
prop
:
'paper_type'
,
computed
:
(
row
:
any
)
=>
{
return
row
.
row
.
paper_type
===
1
?
'选题组卷'
:
'自动组卷'
}
},
align
:
'center'
},
{
label
:
'试卷用途'
,
...
...
@@ -57,13 +58,14 @@ const listOptions = {
computed
:
(
row
:
any
)
=>
{
const
map
=
{
1
:
'考试'
,
2
:
'课后作业'
,
3
:
'课程测试'
}
return
map
[
row
.
row
.
paper_uses
]
||
row
.
row
.
paper_uses
}
},
align
:
'center'
},
{
label
:
'试卷分类'
,
prop
:
'paper_category.name'
},
{
label
:
'试卷名称'
,
prop
:
'paper_title'
},
{
label
:
'总分'
,
prop
:
'paper_total_score'
},
{
label
:
'及格分数'
,
prop
:
'pass_score'
},
{
label
:
'更新时间'
,
prop
:
'updated_at'
}
{
label
:
'试卷分类'
,
prop
:
'paper_category.name'
,
align
:
'center'
},
{
label
:
'试卷名称'
,
prop
:
'paper_title'
,
align
:
'center'
},
{
label
:
'总分'
,
prop
:
'paper_total_score'
,
align
:
'center'
},
{
label
:
'及格分数'
,
prop
:
'pass_score'
,
align
:
'center'
},
{
label
:
'更新时间'
,
prop
:
'updated_at'
,
align
:
'center'
}
]
}
...
...
@@ -112,6 +114,7 @@ const handleSelectionChange = (val: any) => {
:props=
"defaultProps"
v-model=
"params.paper_categories"
:data=
"selectTree"
:default-expanded-keys=
"selectTree.length ? [selectTree[0]?.id] : []"
/>
</
template
>
</AppList>
...
...
src/modules/course/create/components/stepTwoComponents/AddExamDialog.vue
浏览文件 @
4b1a5e0f
...
...
@@ -2,7 +2,7 @@
import
{
searchExam
,
createCharacter
}
from
'../../api'
import
{
useQuestionList
}
from
'@/composables/useQuestionList'
const
appList
=
ref
()
let
{
list
:
selectTree
}
=
useQuestionList
()
let
{
list
:
selectTree
}
:
any
=
useQuestionList
()
const
tabValue
=
ref
(
'1'
)
const
selectionRow
:
any
=
ref
([])
const
tableData
=
ref
([])
...
...
@@ -62,13 +62,14 @@ const listOptions = {
],
columns
:
[
{
type
:
'selection'
,
fixed
:
'left'
},
{
type
:
'index'
,
label
:
'序号'
,
fixed
:
'
left
'
},
{
type
:
'index'
,
label
:
'序号'
,
fixed
:
'
center'
,
width
:
'100px
'
},
{
label
:
'组卷模式'
,
prop
:
'paper_type'
,
computed
:
(
row
:
any
)
=>
{
return
row
.
row
.
paper_type
===
1
?
'选题组卷'
:
'自动组卷'
}
},
align
:
'center'
},
{
label
:
'试卷用途'
,
...
...
@@ -76,13 +77,14 @@ const listOptions = {
computed
:
(
row
:
any
)
=>
{
const
map
=
{
1
:
'考试'
,
2
:
'课后作业'
,
3
:
'课程测试'
}
return
map
[
row
.
row
.
paper_uses
]
||
row
.
row
.
paper_uses
}
},
align
:
'center'
},
{
label
:
'试卷分类'
,
prop
:
'paper_category.name'
,
minWidth
:
200
},
{
label
:
'试卷名称'
,
prop
:
'paper_title'
,
minWidth
:
200
},
{
label
:
'总分'
,
prop
:
'paper_total_score'
},
{
label
:
'及格分数'
,
prop
:
'pass_score'
},
{
label
:
'更新时间'
,
prop
:
'updated_at'
}
{
label
:
'试卷分类'
,
prop
:
'paper_category.name'
,
minWidth
:
200
,
align
:
'center'
},
{
label
:
'试卷名称'
,
prop
:
'paper_title'
,
minWidth
:
200
,
align
:
'center'
},
{
label
:
'总分'
,
prop
:
'paper_total_score'
,
align
:
'center'
},
{
label
:
'及格分数'
,
prop
:
'pass_score'
,
align
:
'center'
},
{
label
:
'更新时间'
,
prop
:
'updated_at'
,
align
:
'center'
}
],
data
:
tableData
.
value
}
...
...
@@ -166,6 +168,7 @@ const typeFilter = () => {
check-strictly
:render-after-expand=
"false"
multiple
:default-expanded-keys=
"selectTree.length ? [selectTree[0]?.id] : []"
/>
</
template
>
</AppList>
...
...
src/modules/course/create/components/stepTwoComponents/AddVideoDialog.vue
浏览文件 @
4b1a5e0f
...
...
@@ -40,7 +40,7 @@ interface Emits {
(
e
:
'create'
):
void
}
// 筛选下拉选择tree 视频分类
let
{
list
:
selectTree
}
=
useGetCategoryList
()
let
{
list
:
selectTree
}
:
any
=
useGetCategoryList
()
const
defaultProps
=
{
children
:
'children'
,
label
:
'category_name'
,
...
...
@@ -136,6 +136,7 @@ if (props.btnInfo.resource_type === '2') {
:props=
"defaultProps"
v-model=
"params.classification"
:data=
"selectTree"
:default-expanded-keys=
"selectTree.length ? [selectTree[0]?.id] : []"
/>
</
template
>
<
template
#
body=
"{ data }"
>
...
...
src/modules/course/my/components/ViewCourseInfo.vue
浏览文件 @
4b1a5e0f
...
...
@@ -33,14 +33,16 @@ const listOptions = computed(() => {
columns
:
[
{
label
:
'试卷名称'
,
prop
:
'paper_title'
prop
:
'paper_title'
,
align
:
'center'
},
{
label
:
'组卷模式'
,
prop
:
'paper_type'
,
computed
:
(
row
:
any
)
=>
{
return
row
.
row
.
paper_type
===
1
?
'选题组卷'
:
'自动组卷'
}
},
align
:
'center'
},
{
label
:
'试卷用途'
,
...
...
@@ -53,7 +55,8 @@ const listOptions = computed(() => {
}
else
if
(
row
.
row
.
paper_type
===
3
)
{
return
'课程测试'
}
}
},
align
:
'center'
},
{
label
:
'总分'
,
prop
:
'paper_total_score'
,
align
:
'center'
},
{
label
:
'及格分数'
,
prop
:
'pass_score'
,
align
:
'center'
}
...
...
src/modules/course/my/views/ViewDetails.vue
浏览文件 @
4b1a5e0f
...
...
@@ -104,13 +104,14 @@ const activeName = ref('1')
const
listOptions
=
computed
(()
=>
{
return
{
columns
:
[
{
type
:
'index'
,
label
:
'序号'
,
fixed
:
'
left
'
},
{
type
:
'index'
,
label
:
'序号'
,
fixed
:
'
center'
,
width
:
'100px
'
},
{
label
:
'组卷模式'
,
prop
:
'paper_type'
,
computed
:
(
row
:
any
)
=>
{
return
row
.
row
.
paper_type
===
1
?
'选题组卷'
:
'自动组卷'
}
},
align
:
'center'
},
{
label
:
'试卷用途'
,
...
...
@@ -118,13 +119,14 @@ const listOptions = computed(() => {
computed
:
(
row
:
any
)
=>
{
const
map
=
{
1
:
'考试'
,
2
:
'课后作业'
,
3
:
'课程测试'
}
return
map
[
row
.
row
.
paper_uses
]
||
row
.
row
.
paper_uses
}
},
align
:
'center'
},
{
label
:
'试卷分类'
,
prop
:
'paper_category.name'
},
{
label
:
'试卷名称'
,
prop
:
'paper_title'
},
{
label
:
'总分'
,
prop
:
'paper_total_score'
},
{
label
:
'及格分数'
,
prop
:
'pass_score'
},
{
label
:
'更新时间'
,
prop
:
'updated_at'
},
{
label
:
'试卷分类'
,
prop
:
'paper_category.name'
,
align
:
'center'
},
{
label
:
'试卷名称'
,
prop
:
'paper_title'
,
align
:
'center'
},
{
label
:
'总分'
,
prop
:
'paper_total_score'
,
align
:
'center'
},
{
label
:
'及格分数'
,
prop
:
'pass_score'
,
align
:
'center'
},
{
label
:
'更新时间'
,
prop
:
'updated_at'
,
align
:
'center'
},
{
label
:
'操作'
,
slots
:
'table-operate'
,
align
:
'center'
}
],
data
:
resourceData
.
exam
...
...
@@ -134,13 +136,14 @@ const listOptions = computed(() => {
const
homeworkOptions
=
computed
(()
=>
{
return
{
columns
:
[
{
type
:
'index'
,
label
:
'序号'
,
fixed
:
'
left
'
},
{
type
:
'index'
,
label
:
'序号'
,
fixed
:
'
center'
,
width
:
'100px
'
},
{
label
:
'组卷模式'
,
prop
:
'paper_type'
,
computed
:
(
row
:
any
)
=>
{
return
row
.
row
.
paper_type
===
1
?
'选题组卷'
:
'自动组卷'
}
},
align
:
'center'
},
{
label
:
'试卷用途'
,
...
...
@@ -148,13 +151,14 @@ const homeworkOptions = computed(() => {
computed
:
(
row
:
any
)
=>
{
const
map
=
{
1
:
'考试'
,
2
:
'课后作业'
,
3
:
'课程测试'
}
return
map
[
row
.
row
.
paper_uses
]
||
row
.
row
.
paper_uses
}
},
align
:
'center'
},
{
label
:
'试卷分类'
,
prop
:
'paper_category.name'
},
{
label
:
'试卷名称'
,
prop
:
'paper_title'
},
{
label
:
'总分'
,
prop
:
'paper_total_score'
},
{
label
:
'及格分数'
,
prop
:
'pass_score'
},
{
label
:
'更新时间'
,
prop
:
'updated_at'
}
{
label
:
'试卷分类'
,
prop
:
'paper_category.name'
,
align
:
'center'
},
{
label
:
'试卷名称'
,
prop
:
'paper_title'
,
align
:
'center'
},
{
label
:
'总分'
,
prop
:
'paper_total_score'
,
align
:
'center'
},
{
label
:
'及格分数'
,
prop
:
'pass_score'
,
align
:
'center'
},
{
label
:
'更新时间'
,
prop
:
'updated_at'
,
align
:
'center'
}
],
data
:
resourceData
.
homework
}
...
...
src/modules/resource/other/views/Update.vue
浏览文件 @
4b1a5e0f
...
...
@@ -31,7 +31,7 @@ if (isUpdate) {
}
// 下拉选择tree 视频分类
let
{
list
:
selectTree
}
=
useGetCategoryList
()
let
{
list
:
selectTree
}
:
any
=
useGetCategoryList
()
const
defaultProps
=
{
children
:
'children'
,
label
:
'category_name'
,
...
...
@@ -177,6 +177,7 @@ const changeProtocol = (data: any) => {
style=
"width: 100%"
v-model=
"form.classification"
:data=
"selectTree"
:default-expanded-keys=
"selectTree.length ? [selectTree[0]?.id] : []"
/>
</el-form-item>
<el-form-item
label=
" 知识点:"
>
...
...
src/modules/system/suggestion/components/DealDialog.vue
浏览文件 @
4b1a5e0f
...
...
@@ -78,15 +78,13 @@ getSuggestionDetail({ id: props.id }).then(res => {
<el-divider
border-style=
"dashed"
/>
</el-row>
<el-form-item
label=
"问题描述:"
prop=
"title"
>
<el-input
v-model=
"form.title"
autosize
type=
"textarea"
placeholder=
"Please input"
disabled
/>
<el-input
v-model=
"form.title"
autosize
type=
"textarea"
disabled
/>
</el-form-item>
<el-form-item
label=
"问题详情:"
prop=
"content"
>
<el-input
v-model=
"form.content"
autosize
type=
"textarea"
placeholder=
"Please input"
disabled
/>
<el-input
v-model=
"form.content"
autosize
type=
"textarea"
disabled
/>
</el-form-item>
<el-form-item
label=
"相关附件:"
prop=
"files"
>
<!--
<div
v-for=
"(item, index) in form.files"
:key=
"index"
>
-->
<a
:href=
"form.files"
style=
"color: #aa1941"
target=
"_blank"
>
{{
form
.
files
}}
</a>
<!--
</div>
-->
</el-form-item>
<el-divider
border-style=
"dashed"
/>
<el-form-item
label=
"我的答复:"
prop=
"reply"
>
...
...
src/modules/teach/exam/views/StudentList.vue
浏览文件 @
4b1a5e0f
...
...
@@ -52,7 +52,7 @@ const listOptions = $computed(() => {
}
],
columns
:
[
{
label
:
'序号'
,
type
:
'index'
,
align
:
'center'
},
{
label
:
'序号'
,
type
:
'index'
,
align
:
'center'
,
width
:
'100px'
},
{
label
:
'所属课程'
,
prop
:
'course_name'
,
align
:
'center'
},
{
label
:
'所属班级'
,
prop
:
'class_name'
,
align
:
'center'
},
{
label
:
'学生姓名'
,
prop
:
'student_name'
,
align
:
'center'
},
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论