Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
center-qa
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
center-qa
Commits
c35a5520
提交
c35a5520
authored
3月 02, 2022
作者:
matian
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix:bug修复
上级
d664b55d
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
22 行增加
和
2 行删除
+22
-2
importQuestion.vue
src/modules/question/components/importQuestion.vue
+10
-0
index.js
src/modules/question/index.js
+10
-0
List.vue
src/modules/question/views/List.vue
+2
-2
没有找到文件。
src/modules/question/components/importQuestion.vue
浏览文件 @
c35a5520
...
...
@@ -17,6 +17,16 @@
<div
class=
"el-upload__text"
>
将文件拖到此处,或
<em>
点击上传
</em></div>
</el-upload>
<div
style=
"text-align: center"
>
<a
href=
"https://webapp-pub.ezijing.com/qbs/%E8%AF%95%E9%A2%98%E6%A8%A1%E6%9D%BF.xlsx"
download=
"试题模板.xlsx"
style=
"color: #c01c40"
>
<i
class=
"el-icon-download"
></i>
试题模板.xlsx
</a
>
<!--
<a
href=
"https://webapp-pub.oss-cn-beijing.aliyuncs.com/qbs/question.xlsx"
:download=
"试题模版"
></a>
-->
</div>
<div
style=
"text-align: center; margin-top: 15px"
>
<el-button
size=
"mini"
@
click=
"cancel"
>
取消
</el-button>
<el-button
type=
"primary"
size=
"mini"
@
click=
"submitUpload"
style=
"margin-right: 5px"
>
确认提交
</el-button>
</div>
...
...
src/modules/question/index.js
浏览文件 @
c35a5520
...
...
@@ -24,6 +24,16 @@ const routes = [
path
:
'classify'
,
component
:
()
=>
import
(
'./views/Classify.vue'
),
meta
:
{
title
:
'题库分类'
}
},
{
path
:
'questionDetail'
,
component
:
()
=>
import
(
'./views/Create.vue'
),
meta
:
{
title
:
'试题详情'
}
},
{
path
:
'editQuestion'
,
component
:
()
=>
import
(
'./views/Create.vue'
),
meta
:
{
title
:
'编辑试题'
}
}
]
}
...
...
src/modules/question/views/List.vue
浏览文件 @
c35a5520
...
...
@@ -188,11 +188,11 @@ export default {
},
// 查看
handleView
(
row
)
{
this
.
$router
.
push
({
path
:
'/question/
create
'
,
query
:
{
id
:
row
.
id
,
type
:
'view'
}
})
this
.
$router
.
push
({
path
:
'/question/
questionDetail
'
,
query
:
{
id
:
row
.
id
,
type
:
'view'
}
})
},
// 编辑
handleSettings
(
row
)
{
this
.
$router
.
push
({
path
:
'/question/
create
'
,
query
:
{
id
:
row
.
id
,
type
:
'edit'
}
})
this
.
$router
.
push
({
path
:
'/question/
editQuestion
'
,
query
:
{
id
:
row
.
id
,
type
:
'edit'
}
})
},
radioChange
()
{
this
.
$refs
.
list
.
refetch
()
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论