Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
binhai-people
Project
Project
Details
Activity
Releases
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
binhai-jiaoguan
binhai-people
Commits
c75fa689
Commit
c75fa689
authored
Nov 27, 2023
by
盖献康
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
政策法规 - 附件无法查看
parent
850f302d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
4 deletions
+16
-4
info-detail.vue
src/views/publicService/info/info-detail.vue
+16
-4
No files found.
src/views/publicService/info/info-detail.vue
View file @
c75fa689
...
...
@@ -43,9 +43,16 @@ border: 1px solid #CCCCCC;border-radius:0.3rem;padding: 0.25rem 1rem 0.25rem 1re
<el-divider
/>
<!-- 信息详情-->
<div
v-html=
" infoDetailsForm.pubContent "
/>
<div
style=
"margin-top: 20px;font-size: 18px"
><span
v-show=
"serviceFile.length > 0"
>
附件:
</span><div
v-for=
"(file, index) in serviceFile"
:key=
"index"
style=
" display: flex;align-items: center;"
>
<el-link
:href=
"`$
{file.fileUrl}`" target="_blank" style="color: #02b4fc">
{{
file
.
fileName
}}
</el-link>
</div>
<div
style=
"margin-top: 20px;font-size: 18px"
><span
v-show=
"serviceFile.length > 0"
>
附件:
</span>
<div
v-for=
"(file, index) in serviceFile"
:key=
"index"
style=
"display: flex;align-items: center;margin-top: 10px;"
>
<!--
<el-link
:href=
"`$
{file.path}`" target="_blank" style="color: #02b4fc">
{{
file
.
fileName
}}
</el-link>
-->
<span
style=
"color: #02b4fc;cursor: pointer;"
@
click=
"checkAttachments(file.path)"
>
{{
file
.
fileName
}}
</span>
</div>
</div>
<el-divider
/>
</div>
...
...
@@ -73,7 +80,8 @@ export default {
// 图标引入
time
:
time
,
user
:
user
,
type
:
type
type
:
type
,
baseUrl
:
process
.
env
.
VUE_APP_BASE_API
}
},
created
()
{
...
...
@@ -94,6 +102,10 @@ export default {
this
.
serviceFile
=
res
.
data
console
.
log
(
'出行详情附件'
,
res
)
})
},
// 查看附件
checkAttachments
(
url
)
{
window
.
open
(
this
.
baseUrl
+
url
,
'_blank'
)
}
}
}
...
...
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