Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
binhai-company
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-company
Commits
794eff9e
Commit
794eff9e
authored
Dec 12, 2023
by
小费同学阿
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changes
parent
442e56f6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
index.vue
src/views/informationReport/managementInformation/index.vue
+3
-1
No files found.
src/views/informationReport/managementInformation/index.vue
View file @
794eff9e
...
...
@@ -63,6 +63,7 @@
<
script
>
import
{
getToken
}
from
'@/utils/auth'
import
{
delManageList
,
etManageList
,
saveEnterManage
}
from
'@/api/informationReport'
import
{
saveAs
}
from
'file-saver'
export
default
{
name
:
'Index'
,
...
...
@@ -105,6 +106,7 @@ export default {
},
/** 下载文件 */
downloadFile
(
data
)
{
console
.
log
(
'process.env.VUE_APP_RESOURCE_PREFIX + data.path'
,
process
.
env
.
VUE_APP_RESOURCE_PREFIX
+
data
.
path
)
saveAs
(
process
.
env
.
VUE_APP_RESOURCE_PREFIX
+
data
.
path
,
data
.
fileName
)
},
/** 删除 */
...
...
@@ -126,7 +128,7 @@ export default {
fileSize
:
fileList
.
size
,
fileType
:
fileList
.
raw
.
type
,
// fileUrl: fileList.response.url,
path
:
fileList
.
response
.
url
,
path
:
fileList
.
response
.
fileName
,
id
:
fileList
.
uid
}
// console.log('file, fileList:', file, fileList)
...
...
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