Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
江名洋
/
linkwe-scrm
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit b709fdf4
authored
Nov 26, 2020
by
danmo
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
员工活码下载
1 parent
e4556811
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
linkwe-ui/src/views/drainageCode/staff/detail.vue
linkwe-ui/src/views/drainageCode/staff/detail.vue
View file @
b709fdf
...
@@ -104,11 +104,10 @@ export default {
...
@@ -104,11 +104,10 @@ export default {
return
year
+
'-'
+
month
+
'-'
+
date
return
year
+
'-'
+
month
+
'-'
+
date
},
},
download
()
{
download
()
{
let
userName
=
""
;
let
userName
=
this
.
form
.
weEmpleCodeUseScops
.
map
((
item
)
=>
{
this
.
form
.
weEmpleCodeUseScops
.
forEach
((
item
)
=>
{
return
item
.
businessName
userName
+=
item
.
businessName
+
","
;
}).
join
(
","
);
})
let
name
=
userName
+
"-"
+
this
.
form
.
activityScene
+
".png"
let
name
=
userName
.
substr
(
0
,
userName
.
length
-
1
)
+
"-"
+
this
.
form
.
activityScene
+
".png"
download
(
this
.
form
.
id
).
then
((
res
)
=>
{
download
(
this
.
form
.
id
).
then
((
res
)
=>
{
if
(
res
!=
null
)
{
if
(
res
!=
null
)
{
let
blob
=
new
Blob
([
res
],
{
type
:
'application/zip'
});
let
blob
=
new
Blob
([
res
],
{
type
:
'application/zip'
});
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment