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 3501ddfd
authored
Mar 24, 2023
by
姜鹏凯
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'develop'
2 parents
c732bdce
8ca46a1b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
15 deletions
linkwe-pc/src/views/application/shortLinkPopularize/components/Step3Type2.vue
linkwe-pc/src/views/application/shortLinkPopularize/components/Step3Type2.vue
View file @
3501ddf
...
@@ -77,7 +77,7 @@
...
@@ -77,7 +77,7 @@
form
:
{
form
:
{
type
:
0
,
type
:
0
,
group
:
{
group
:
{
cont
ne
t
:
''
,
cont
en
t
:
''
,
type
:
0
,
type
:
0
,
userIds
:
''
,
userIds
:
''
,
sendType
:
0
,
sendType
:
0
,
...
@@ -91,6 +91,19 @@
...
@@ -91,6 +91,19 @@
},
},
methods
:
{
methods
:
{
setData
()
{
setData
()
{
if
(
!
this
.
form
.
group
)
{
this
.
form
.
group
=
{
type
:
0
,
content
:
''
,
userIds
:
''
,
sendType
:
0
,
taskSendTime
:
''
,
taskEndTime
:
''
}
}
if
(
!
this
.
form
.
attachments
)
{
this
.
form
.
attachments
=
[]
}
if
(
this
.
form
.
attachments
)
{
if
(
this
.
form
.
attachments
)
{
let
arr
=
[]
let
arr
=
[]
this
.
form
.
attachments
.
forEach
((
dd
)
=>
{
this
.
form
.
attachments
.
forEach
((
dd
)
=>
{
...
@@ -98,7 +111,7 @@
...
@@ -98,7 +111,7 @@
arr
.
push
(
dd
)
arr
.
push
(
dd
)
}
}
})
})
this
.
attachmentsData
.
templateInfo
=
this
.
form
.
client
.
content
this
.
attachmentsData
.
templateInfo
=
this
.
form
.
group
.
content
let
data
=
setAttachments
(
arr
)
let
data
=
setAttachments
(
arr
)
this
.
attachmentsData
.
attachments
=
data
this
.
attachmentsData
.
attachments
=
data
this
.
$emit
(
'preview'
,
{
this
.
$emit
(
'preview'
,
{
...
@@ -106,19 +119,6 @@
...
@@ -106,19 +119,6 @@
})
})
this
.
$emit
(
'previewText'
,
{
templateInfo
:
JSON
.
parse
(
JSON
.
stringify
(
this
.
attachmentsData
.
templateInfo
))
})
this
.
$emit
(
'previewText'
,
{
templateInfo
:
JSON
.
parse
(
JSON
.
stringify
(
this
.
attachmentsData
.
templateInfo
))
})
}
}
if
(
!
this
.
form
.
group
)
{
this
.
form
.
group
=
{
type
:
0
,
content
:
''
,
userIds
:
''
,
sendType
:
0
,
taskSendTime
:
''
,
taskEndTime
:
''
}
}
if
(
!
this
.
form
.
attachments
)
{
this
.
form
.
attachments
=
[]
}
},
},
changeInfo
(
data
)
{
changeInfo
(
data
)
{
this
.
form
.
group
.
content
=
data
this
.
form
.
group
.
content
=
data
...
...
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