Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gassafety
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
耿迪迪
gassafety
Commits
2e081e63
Commit
2e081e63
authored
Aug 23, 2021
by
王晓倩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
隐患信息列表显示图片
parent
eb4b2117
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
6 deletions
+1
-6
index.vue
...fety-web/src/views/riskManagement/hiddenTrouble/index.vue
+1
-6
No files found.
gassafety-web/src/views/riskManagement/hiddenTrouble/index.vue
View file @
2e081e63
...
@@ -56,9 +56,7 @@
...
@@ -56,9 +56,7 @@
</el-table-column>
</el-table-column>
<el-table-column
label=
"图片"
align=
"center"
prop=
"pictureUrl"
>
<el-table-column
label=
"图片"
align=
"center"
prop=
"pictureUrl"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span
v-if=
"scope.row.pictureUrl != '' && scope.row.pictureUrl != null"
@
click=
"checkFile(scope.row.pictureUrl)"
>
<el-image
:src=
"scope.row.pictureUrl"
:preview-src-list=
"[scope.row.pictureUrl]"
v-if=
"scope.row.pictureUrl != '' && scope.row.pictureUrl != null"
style=
"width: 16px;"
></el-image>
<i
class=
"el-icon el-icon-view"
></i>
查看
</span>
<span
v-if=
"scope.row.pictureUrl == '' || scope.row.pictureUrl == null"
>
-
</span>
<span
v-if=
"scope.row.pictureUrl == '' || scope.row.pictureUrl == null"
>
-
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
...
@@ -398,9 +396,6 @@ export default {
...
@@ -398,9 +396,6 @@ export default {
this
.
loading
=
false
;
this
.
loading
=
false
;
});
});
},
},
checkFile
(
url
)
{
window
.
open
(
"http://36.148.23.59:8901/gassafety"
+
url
,
"_blank"
);
},
/** 详细信息跳转 */
/** 详细信息跳转 */
showDetail
(
row
)
{
showDetail
(
row
)
{
this
.
$router
.
push
({
this
.
$router
.
push
({
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment