Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
center-qa
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
center-qa
Commits
9fe2e086
提交
9fe2e086
authored
2月 25, 2022
作者:
matian
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update:删除无用代码
上级
87c5d3aa
隐藏空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
1 行增加
和
19 行删除
+1
-19
BaseInfo.vue
src/modules/exam/components/BaseInfo.vue
+0
-1
CheckPaper.vue
src/modules/exam/components/CheckPaper.vue
+0
-1
ExamSetting.vue
src/modules/exam/components/ExamSetting.vue
+0
-1
Finished.vue
src/modules/exam/components/Finished.vue
+1
-3
PersonalInfo.vue
src/modules/exam/components/PersonalInfo.vue
+0
-4
Detail.vue
src/modules/exam/views/Detail.vue
+0
-4
List.vue
src/modules/exam/views/List.vue
+0
-1
NewExam.vue
src/modules/exam/views/NewExam.vue
+0
-4
没有找到文件。
src/modules/exam/components/BaseInfo.vue
浏览文件 @
9fe2e086
...
@@ -115,7 +115,6 @@ export default {
...
@@ -115,7 +115,6 @@ export default {
this
.
$message
.
warning
(
'请选择考试时间'
)
this
.
$message
.
warning
(
'请选择考试时间'
)
return
return
}
}
// console.log(params)
this
.
$emit
(
'getBaseInfo'
,
params
)
this
.
$emit
(
'getBaseInfo'
,
params
)
this
.
$parent
.
$parent
.
nextStep
()
this
.
$parent
.
$parent
.
nextStep
()
},
},
...
...
src/modules/exam/components/CheckPaper.vue
浏览文件 @
9fe2e086
...
@@ -67,7 +67,6 @@ export default {
...
@@ -67,7 +67,6 @@ export default {
const
listArray
=
[]
const
listArray
=
[]
for
(
let
j
=
0
;
j
<
this
.
ExamParerList
.
length
;
j
++
)
{
for
(
let
j
=
0
;
j
<
this
.
ExamParerList
.
length
;
j
++
)
{
if
(
this
.
q
[
i
]
===
this
.
ExamParerList
[
j
].
key
)
{
if
(
this
.
q
[
i
]
===
this
.
ExamParerList
[
j
].
key
)
{
console
.
log
(
this
.
ExamParerList
[
j
])
listArray
.
push
(
this
.
ExamParerList
[
j
])
listArray
.
push
(
this
.
ExamParerList
[
j
])
}
}
}
}
...
...
src/modules/exam/components/ExamSetting.vue
浏览文件 @
9fe2e086
...
@@ -132,7 +132,6 @@ export default {
...
@@ -132,7 +132,6 @@ export default {
}
}
},
},
mounted
()
{
mounted
()
{
console
.
log
()
if
(
this
.
$route
.
query
.
isEdit
===
'2'
&&
JSON
.
parse
(
this
.
$route
.
query
.
row
))
{
if
(
this
.
$route
.
query
.
isEdit
===
'2'
&&
JSON
.
parse
(
this
.
$route
.
query
.
row
))
{
this
.
getDetail
()
this
.
getDetail
()
}
}
...
...
src/modules/exam/components/Finished.vue
浏览文件 @
9fe2e086
...
@@ -43,9 +43,7 @@ export default {
...
@@ -43,9 +43,7 @@ export default {
return
a
return
a
}
}
},
},
mounted
()
{
console
.
log
(
this
.
params
,
'params'
)
},
methods
:
{
methods
:
{
lastStep
()
{
lastStep
()
{
this
.
$parent
.
$parent
.
lastStep
()
this
.
$parent
.
$parent
.
lastStep
()
...
...
src/modules/exam/components/PersonalInfo.vue
浏览文件 @
9fe2e086
...
@@ -125,7 +125,6 @@ export default {
...
@@ -125,7 +125,6 @@ export default {
info
.
email
=
this
.
tableData
[
6
]
info
.
email
=
this
.
tableData
[
6
]
info
.
educational_background
=
this
.
tableData
[
7
]
info
.
educational_background
=
this
.
tableData
[
7
]
info
.
mobile
=
this
.
tableData
[
8
]
info
.
mobile
=
this
.
tableData
[
8
]
console
.
log
(
info
)
this
.
$emit
(
'getInfo'
,
info
)
this
.
$emit
(
'getInfo'
,
info
)
this
.
$parent
.
$parent
.
nextStep
()
this
.
$parent
.
$parent
.
nextStep
()
},
},
...
@@ -133,18 +132,15 @@ export default {
...
@@ -133,18 +132,15 @@ export default {
this
.
$parent
.
$parent
.
lastStep
()
this
.
$parent
.
$parent
.
lastStep
()
},
},
getDetail
()
{
getDetail
()
{
console
.
log
(
JSON
.
parse
(
this
.
$route
.
query
.
row
))
const
params
=
{
const
params
=
{
id
:
JSON
.
parse
(
this
.
$route
.
query
.
row
).
exam_id
id
:
JSON
.
parse
(
this
.
$route
.
query
.
row
).
exam_id
}
}
getExamPaperDetail
(
params
).
then
(
res
=>
{
getExamPaperDetail
(
params
).
then
(
res
=>
{
console
.
log
(
JSON
.
parse
(
res
.
data
.
exam_info
.
config
).
info
)
const
list
=
JSON
.
parse
(
res
.
data
.
exam_info
.
config
).
info
const
list
=
JSON
.
parse
(
res
.
data
.
exam_info
.
config
).
info
const
arr
=
[]
const
arr
=
[]
Object
.
keys
(
list
).
forEach
(
key
=>
{
Object
.
keys
(
list
).
forEach
(
key
=>
{
arr
.
push
(
list
[
key
])
arr
.
push
(
list
[
key
])
})
})
console
.
log
(
arr
)
this
.
tableData
=
arr
this
.
tableData
=
arr
})
})
},
},
...
...
src/modules/exam/views/Detail.vue
浏览文件 @
9fe2e086
...
@@ -118,7 +118,6 @@ export default {
...
@@ -118,7 +118,6 @@ export default {
}
}
},
},
row
()
{
row
()
{
console
.
log
(
this
.
$route
.
query
.
row
)
return
JSON
.
parse
(
this
.
$route
.
query
.
row
)
return
JSON
.
parse
(
this
.
$route
.
query
.
row
)
}
}
},
},
...
@@ -141,7 +140,6 @@ export default {
...
@@ -141,7 +140,6 @@ export default {
},
},
// 添加考生
// 添加考生
handleAddStudent
()
{
handleAddStudent
()
{
console
.
log
(
this
.
row
,
'----'
)
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
'createStudent'
,
path
:
'createStudent'
,
query
:
{
id
:
this
.
row
.
exam_id
}
query
:
{
id
:
this
.
row
.
exam_id
}
...
@@ -197,7 +195,6 @@ export default {
...
@@ -197,7 +195,6 @@ export default {
}
}
downloadExamData
(
params
).
then
(
r
=>
{
downloadExamData
(
params
).
then
(
r
=>
{
const
blob
=
new
Blob
([
r
],
{
type
:
'application/vnd.ms-excel'
})
const
blob
=
new
Blob
([
r
],
{
type
:
'application/vnd.ms-excel'
})
console
.
log
(
blob
)
if
(
'download'
in
document
.
createElement
(
'a'
))
{
if
(
'download'
in
document
.
createElement
(
'a'
))
{
const
elink
=
document
.
createElement
(
'a'
)
const
elink
=
document
.
createElement
(
'a'
)
elink
.
download
=
'学员数据.xlsx'
elink
.
download
=
'学员数据.xlsx'
...
@@ -215,7 +212,6 @@ export default {
...
@@ -215,7 +212,6 @@ export default {
this
.
$confirm
(
'确定发送成绩信息'
,
{
this
.
$confirm
(
'确定发送成绩信息'
,
{
confirmButtonText
:
'确定'
confirmButtonText
:
'确定'
}).
then
(()
=>
{
}).
then
(()
=>
{
console
.
log
(
this
.
studentIds
)
const
studentId
=
this
.
multipleSelection
.
map
(
item
=>
item
.
student_id
).
toString
()
const
studentId
=
this
.
multipleSelection
.
map
(
item
=>
item
.
student_id
).
toString
()
const
params
=
{
exam_id
:
this
.
row
.
exam_id
,
students_id
:
studentId
}
const
params
=
{
exam_id
:
this
.
row
.
exam_id
,
students_id
:
studentId
}
sendMessage
(
params
).
then
(
res
=>
{
sendMessage
(
params
).
then
(
res
=>
{
...
...
src/modules/exam/views/List.vue
浏览文件 @
9fe2e086
...
@@ -100,7 +100,6 @@ export default {
...
@@ -100,7 +100,6 @@ export default {
},
},
// 单个删除
// 单个删除
handleDelete
(
row
)
{
handleDelete
(
row
)
{
console
.
log
(
row
)
const
params
=
{
id
:
row
.
exam_id
}
const
params
=
{
id
:
row
.
exam_id
}
delExamPaper
(
params
).
then
(
res
=>
{
delExamPaper
(
params
).
then
(
res
=>
{
this
.
$message
.
success
(
'删除考试成功'
)
this
.
$message
.
success
(
'删除考试成功'
)
...
...
src/modules/exam/views/NewExam.vue
浏览文件 @
9fe2e086
...
@@ -66,22 +66,18 @@ export default {
...
@@ -66,22 +66,18 @@ export default {
// 获取子组件传过来的页面基本信息
// 获取子组件传过来的页面基本信息
getBaseInfo
(
val
)
{
getBaseInfo
(
val
)
{
this
.
params
=
val
this
.
params
=
val
console
.
log
(
val
,
'123'
)
},
},
// 试卷id
// 试卷id
getCheckPaper
(
val
)
{
getCheckPaper
(
val
)
{
console
.
log
(
val
)
this
.
exam_paper
=
val
this
.
exam_paper
=
val
},
},
// 选择的试卷
// 选择的试卷
getCheckPaperList
(
val
)
{
getCheckPaperList
(
val
)
{
console
.
log
(
val
)
this
.
checkedPaper
=
val
this
.
checkedPaper
=
val
},
},
// @ts-nocheck个人信息
// @ts-nocheck个人信息
getInfo
(
val
)
{
getInfo
(
val
)
{
this
.
config
.
info
=
val
this
.
config
.
info
=
val
// console.log(this.config.info)
},
},
// 考试配置
// 考试配置
getExamConfig
(
val
)
{
getExamConfig
(
val
)
{
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论