Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
Q
qualityTesting_studentHome
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
tobacco
qualityTesting_studentHome
Commits
34a20c0a
提交
34a20c0a
authored
4月 21, 2023
作者:
Yroc
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
'笔记功能’
上级
c6ae7a56
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
100 行增加
和
10 行删除
+100
-10
index.vue
src/components/TestInfo/index.vue
+1
-1
index.vue
src/components/ViewHeader/index.vue
+1
-3
student_comments_view.vue
src/views/analysis/components/student_comments_view.vue
+98
-6
没有找到文件。
src/components/TestInfo/index.vue
浏览文件 @
34a20c0a
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
* @Author: AnthonyD
* @Author: AnthonyD
* @Date: 2023-03-01 15:29:44
* @Date: 2023-03-01 15:29:44
* @Last Modified by: AnthonyD
* @Last Modified by: AnthonyD
* @Last Modified time: 2023-0
3-24 09:41:58
* @Last Modified time: 2023-0
4-20 19:03:32
*/
*/
</
script
><
template
>
</
script
><
template
>
<div
class=
"header_container"
>
<div
class=
"header_container"
>
...
...
src/components/ViewHeader/index.vue
浏览文件 @
34a20c0a
...
@@ -3,12 +3,11 @@
...
@@ -3,12 +3,11 @@
* @Author: AnthonyD
* @Author: AnthonyD
* @Date: 2023-02-23 16:03:00
* @Date: 2023-02-23 16:03:00
* @Last Modified by: AnthonyD
* @Last Modified by: AnthonyD
* @Last Modified time: 2023-0
3-23 19:11:19
* @Last Modified time: 2023-0
4-20 16:51:20
*/
*/
</
script
><
template
>
</
script
><
template
>
<div
class=
"header_container"
>
<div
class=
"header_container"
>
<div
class=
"btn_box_mobile"
>
<div
class=
"btn_box_mobile"
>
<el-row>
<el-popover
placement=
"top-start"
trigger=
"hover"
>
<el-popover
placement=
"top-start"
trigger=
"hover"
>
<button
<button
style=
"
style=
"
...
@@ -44,7 +43,6 @@
...
@@ -44,7 +43,6 @@
circle
circle
></el-button>
></el-button>
</el-popover>
</el-popover>
</el-row>
</div>
</div>
<div
class=
"logo"
@
click=
"goPersonalCenter()"
style=
"cursor: pointer"
>
<div
class=
"logo"
@
click=
"goPersonalCenter()"
style=
"cursor: pointer"
>
<img
src=
"/image/logo.svg"
alt=
""
/>
<img
src=
"/image/logo.svg"
alt=
""
/>
...
...
src/views/analysis/components/student_comments_view.vue
浏览文件 @
34a20c0a
...
@@ -3,10 +3,10 @@
...
@@ -3,10 +3,10 @@
* @Author: AnthonyD
* @Author: AnthonyD
* @Date: 2023-03-27 15:09:40
* @Date: 2023-03-27 15:09:40
* @Last Modified by: AnthonyD
* @Last Modified by: AnthonyD
* @Last Modified time: 2023-04-2
0 10:49:14
* @Last Modified time: 2023-04-2
1 12:39:42
*/
*/
</
script
><
template
>
</
script
><
template
>
<div>
<div
class=
"module_container"
>
<el-row>
<el-row>
<!-- 南北方正确/错误率 -->
<!-- 南北方正确/错误率 -->
<el-col
<el-col
...
@@ -95,18 +95,82 @@
...
@@ -95,18 +95,82 @@
</el-col>
</el-col>
</el-row>
</el-row>
<div>
<div>
<div
class=
"module_header"
>
<div
class=
"module_header"
>
学员笔记:
</div>
学员笔记:
<el-button
<div
style=
"padding: 0 10px; box-sizing: border-box"
>
<el-input
disabled
type=
"textarea"
v-model=
"remark"
:rows=
"6"
>
</el-input>
</div>
</div>
<div>
<el-popover
width=
"600"
placement=
"bottom"
title=
"学生笔记:"
trigger=
"click"
v-model=
"visible"
>
<div
style=
"padding: 0 10px; box-sizing: border-box"
>
<el-input
type=
"textarea"
v-model=
"remark"
:rows=
"12"
>
</el-input>
</div>
<el-button
style=
"margin-top: 10px"
class=
"save_box"
class=
"save_box"
type=
"primary"
type=
"primary"
@
click=
"getStudentTakeDown"
@
click=
"getStudentTakeDown"
>
保存
</el-button
>
保存
</el-button
>
>
</div>
<el-button
style=
"margin-top: 10px"
class=
"save_box"
type=
"danger"
@
click=
"visible = false"
>
关闭
</el-button
>
<el-button
size=
"mini"
slot=
"reference"
class=
"note_box"
type=
"primary"
icon=
"el-icon-edit"
circle
></el-button>
</el-popover>
<el-popover
width=
"300"
placement=
"bottom-start"
title=
"学生笔记:"
trigger=
"click"
v-model=
"visible_mobile"
>
<div
style=
"padding: 0 10px; box-sizing: border-box"
>
<div
style=
"padding: 0 10px; box-sizing: border-box"
>
<el-input
type=
"textarea"
v-model=
"remark"
:rows=
"6
"
>
</el-input>
<el-input
type=
"textarea"
v-model=
"remark"
:rows=
"12
"
>
</el-input>
</div>
</div>
<el-button
style=
"margin-top: 10px"
class=
"save_box"
type=
"primary"
@
click=
"getStudentTakeDown"
>
保存
</el-button
>
<el-button
style=
"margin-top: 10px"
@
click=
"visible_mobile = false"
class=
"save_box"
type=
"danger"
>
关闭
</el-button
>
<el-button
size=
"mini"
slot=
"reference"
class=
"note_mobile_box"
type=
"primary"
icon=
"el-icon-edit"
circle
></el-button>
</el-popover>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
...
@@ -139,6 +203,8 @@ export default {
...
@@ -139,6 +203,8 @@ export default {
task_id
:
null
,
task_id
:
null
,
//学员笔记
//学员笔记
remark
:
null
,
remark
:
null
,
visible
:
false
,
visible_mobile
:
false
,
};
};
},
},
components
:
{
AnalyseModule
},
components
:
{
AnalyseModule
},
...
@@ -153,6 +219,9 @@ export default {
...
@@ -153,6 +219,9 @@ export default {
methods
:
{
methods
:
{
//学员笔记
//学员笔记
getStudentTakeDown
()
{
getStudentTakeDown
()
{
this
.
visible
=
false
;
this
.
visible_mobile
=
false
;
// let a = {remark:this.remark};
getTakeDown
(
this
.
task_id
,
{
remark
:
this
.
remark
}).
then
((
res
)
=>
{
getTakeDown
(
this
.
task_id
,
{
remark
:
this
.
remark
}).
then
((
res
)
=>
{
console
.
log
(
'上传回调'
);
console
.
log
(
'上传回调'
);
console
.
log
(
res
);
console
.
log
(
res
);
...
@@ -445,4 +514,27 @@ export default {
...
@@ -445,4 +514,27 @@ export default {
float
:
right
;
float
:
right
;
margin-right
:
10px
;
margin-right
:
10px
;
}
}
.note_box
{
position
:
fixed
;
top
:
15%
;
right
:
18%
;
}
@media
screen
and
(
min-width
:
600px
)
{
.note_mobile_box
{
display
:
none
;
}
}
@media
screen
and
(
max-width
:
600px
)
{
.note_box
{
display
:
none
;
}
.note_mobile_box
{
position
:
fixed
;
top
:
27%
;
right
:
6%
;
}
}
</
style
>
</
style
>
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论