Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-marketing
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 8f09696d
authored
Mar 17, 2023
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复bug
1 parent
fbc5a1b3
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
25 additions
and
10 deletions
package-lock.json
package.json
src/views/friendGroup/components/basicInfo.vue
src/views/friendGroup/friendGroupAdd.vue
src/views/sop/editSop/components/FriendGroupPreview/index.vue
package-lock.json
View file @
8f09696
...
...
@@ -14466,9 +14466,9 @@
}
},
"word-edit"
:
{
"version"
:
"1.2.
0
"
,
"resolved"
:
"https://registry.npmmirror.com/word-edit/-/word-edit-1.2.
0
.tgz"
,
"integrity"
:
"sha512-
w4/vSz07prgtP/EP+NBy7qiXrCc17h5rAay48uyIGkiVxbOG6z2I12KKfVBnEwwL9xt+S4jx5W/MptzPrihv7A
=="
,
"version"
:
"1.2.
2
"
,
"resolved"
:
"https://registry.npmmirror.com/word-edit/-/word-edit-1.2.
2
.tgz"
,
"integrity"
:
"sha512-
/go0xmQfhRDWFjYHg5Y3ylSI+Dl+exSC2tUJFSdEKfQrZOAKAnxtHMWq9u/pCSNJkmXahpPUTVq3eTmCVG5xLw
=="
,
"requires"
:
{
"@amap/amap-jsapi-loader"
:
"^1.0.1"
,
"core-js"
:
"^3.6.5"
,
...
...
package.json
View file @
8f09696
...
...
@@ -22,7 +22,7 @@
"vuedraggable"
:
"^2.24.3"
,
"vuex"
:
"^3.1.2"
,
"wangeditor"
:
"^4.7.12"
,
"word-edit"
:
"^1.2.
0
"
"word-edit"
:
"^1.2.
2
"
},
"devDependencies"
:
{
"@vue/cli-plugin-babel"
:
"^4.1.0"
,
...
...
src/views/friendGroup/components/basicInfo.vue
View file @
8f09696
...
...
@@ -132,7 +132,7 @@ const SEX = {
}
import
*
as
dayjs
from
'dayjs'
import
Preview
from
'../
components/preview
.vue'
import
Preview
from
'../
../sop/editSop/components/FriendGroupPreview/index
.vue'
import
{
utils
}
from
'glsx-common'
export
default
{
name
:
'BasicInof'
,
...
...
src/views/friendGroup/friendGroupAdd.vue
View file @
8f09696
...
...
@@ -491,7 +491,9 @@ export default {
staffName
:
item
.
staffName
}
})
let
attachmentList
=
this
.
$refs
.
welcome
.
previewList
// let attachmentList = this.$refs.welcome.previewList
let
attachmentList
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
$refs
.
welcome
.
previewList
))
const
material
=
previewList
.
filter
(
item
=>
item
.
attType
!=
ATT_TYPE
.
TEXT
)
let
materialType
=
0
if
(
material
&&
material
.
length
>
0
)
{
...
...
@@ -536,6 +538,7 @@ export default {
if
(
params
.
sendType
==
2
)
{
params
.
sendTimeStr
=
this
.
basicForm
.
sendTime
+
' '
+
this
.
basicForm
.
sendDate
}
this
.
addLoading
=
true
this
.
$apis
.
friendGroup
.
momentInsert
(
params
).
then
(
res
=>
{
this
.
addLoading
=
false
...
...
src/views/sop/editSop/components/FriendGroupPreview/index.vue
View file @
8f09696
...
...
@@ -55,15 +55,17 @@
</div>
</
template
>
<
template
v-else-if=
"item.attType == 4"
>
<div
class=
"welcome-activity-panel"
>
<div
class=
"welcome-activity-panel"
>
<div
class=
"welcome-activity-box"
>
<div
class=
"welcome-activity-icon"
>
<img
:src=
"item.attContent.picurl"
v-if=
"item.attContent.picurl"
alt=
""
/>
<img
:src=
"handleContentJson(item.attContent).picurl"
v-if=
"handleContentJson(item.attContent).picurl"
alt=
""
/>
<img
src=
"@/assets/welcomeWord/coupon.png"
v-else
/>
</div>
<div
class=
"welcome-activity-desc"
>
<div
class=
"model-item-title"
>
{{
item
.
attContent
.
title
}}
</div>
<div
class=
"model-item-content"
>
{{
item
.
attContent
.
desc
}}
</div>
<div
class=
"model-item-title"
>
{{
handleContentJson
(
item
.
attContent
).
title
}}
</div>
<div
class=
"model-item-content"
>
{{
handleContentJson
(
item
.
attContent
)
.
desc
}}
</div>
</div>
</div>
</div>
...
...
@@ -156,6 +158,15 @@ export default {
},
deep
:
true
}
},
methods
:
{
handleContentJson
(
val
)
{
if
(
typeof
(
val
)
==
'string'
)
{
return
JSON
.
parse
(
val
)
}
else
{
return
val
}
},
}
}
</
script
>
...
...
@@ -267,6 +278,7 @@ export default {
}
}
}
.img-list
{
margin-right
:
3px
;
}
...
...
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