Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
Q
qualityTesting_studentHome
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
tobacco
qualityTesting_studentHome
Commits
57c205ca
提交
57c205ca
authored
6月 27, 2024
作者:
zfl
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
图片放大功能
上级
cd09d1bb
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
23 行增加
和
6 行删除
+23
-6
ImageZoom.vue
src/components/Image/ImageZoom.vue
+7
-2
index.vue
src/views/affirm/index.vue
+2
-2
index.vue
src/views/analysis/index.vue
+14
-2
没有找到文件。
src/components/Image/ImageZoom.vue
浏览文件 @
57c205ca
<
template
>
<div
class=
"pinch-zoom-container"
>
<img
id=
"pinch-zoom-image-id"
class=
"pinch-zoom-image"
:src=
"src"
>
<div
class=
"pinch-zoom-container"
@
click=
"cloes_fun()"
>
<img
id=
"pinch-zoom-image-id"
class=
"pinch-zoom-image"
@
click
.
stop=
"cloes_fun(false)"
:src=
"src"
>
</div>
</
template
>
<
script
>
...
...
@@ -36,6 +36,11 @@
},
methods
:
{
cloes_fun
(
s
=
true
){
if
(
s
){
this
.
$emit
(
'closeFun'
);
}
},
disableImgEventHandlers
()
{
var
_that
=
this
var
events
=
[
'onclick'
,
'onmousedown'
,
'onmousemove'
,
'onmouseout'
,
'onmouseover'
,
...
...
src/views/affirm/index.vue
浏览文件 @
57c205ca
...
...
@@ -7,9 +7,9 @@
*/
</
script
><
template
>
<el-card
class=
"box-card"
>
<div
class=
"bgd_container"
>
<
!--
<
div
class=
"bgd_container"
>
<img
src=
"image/Vector.png"
/>
</div>
</div>
-->
<div
v-if=
"test_results"
class=
"text_item"
>
{{
test_results
.
examination_questions
.
opening_tip
}}
</div>
...
...
src/views/analysis/index.vue
浏览文件 @
57c205ca
...
...
@@ -141,7 +141,16 @@
</el-col>
<el-col
:span=
"24"
><el-input
type=
"textarea"
:rows=
"3"
v-model=
"detailed_information.note[e.id].note_info"
placeholder=
"请填写要记录的内容"
></el-input></el-col>
<el-col
:span=
"24"
v-if=
"detailed_information.note[e.id].image"
style=
"padding-top:10px"
>
<img
:src=
"IP+detailed_information.note[e.id].image"
style=
"width: 80%;"
alt=
""
>
<el-image
style=
"width: 80%;"
:src=
"IP+detailed_information.note[e.id].image"
@
click=
"
ImageZoomUrl = IP+detailed_information.note[e.id].image;
is_ImageZoom = true;
"
>
</el-image>
<!--
<img
:src=
"IP+detailed_information.note[e.id].image"
style=
"width: 80%;"
alt=
""
>
-->
</el-col>
<el-col
:span=
"12"
style=
"padding-top:10px"
>
<el-upload
...
...
@@ -222,7 +231,7 @@
<div
class=
"close_box"
@
click=
"is_ImageZoom = false"
>
<i
class=
"el-icon-close"
></i>
</div>
<ImageZoom
:src=
"ImageZoomUrl"
></ImageZoom>
<ImageZoom
:src=
"ImageZoomUrl"
@
closeFun=
'closeFun'
></ImageZoom>
</div>
</div>
</
template
>
...
...
@@ -298,6 +307,9 @@ export default {
},
methods
:
{
closeFun
(){
this
.
is_ImageZoom
=
false
},
uploadSubmit
(
file
,
fileList
)
{
if
(
file
&&
(
file
.
status
==
'success'
||
file
.
status
==
'error'
))
{
this
.
node_is_loading
=
false
;
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论