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 7febd57c
authored
Aug 16, 2022
by
wuwx
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
屏蔽代码
1 parent
fc0ba59d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
17 deletions
src/views/customerTransform/components/preview.vue
src/views/customerTransform/components/selectMember.vue
src/views/customerTransform/components/preview.vue
View file @
7febd57
...
@@ -7,14 +7,16 @@
...
@@ -7,14 +7,16 @@
<template
v-if=
"item.attType == 1"
>
<template
v-if=
"item.attType == 1"
>
<div
class=
"preview-text text"
v-html=
"item.attContent"
></div>
<div
class=
"preview-text text"
v-html=
"item.attContent"
></div>
</
template
>
</
template
>
<
template
v-else-if=
"item.attType == 7 || item.attType == 4"
>
<
template
v-else-if=
"item.attType == 7"
>
<!--
<template
v-else-if=
"item.attType == 7 || item.attType == 4"
>
-->
<div
class=
"preview-activity"
>
<div
class=
"preview-activity"
>
<div
class=
"activity-name"
>
{{
item
.
attContent
.
marketingName
}}
</div>
<div
class=
"activity-name"
>
{{
item
.
attContent
.
marketingName
}}
</div>
<img
v-if=
"item.attContent.marketingType != 5 && item.attContent.marketingType != 6 && item.attContent.marketingType != 7"
class=
"activity-logo"
src=
"@/assets/guestCustom/activity-logo.png"
alt
/>
<img
v-if=
"item.attContent.marketingType != 5 && item.attContent.marketingType != 6 && item.attContent.marketingType != 7"
class=
"activity-logo"
src=
"@/assets/guestCustom/activity-logo.png"
alt
/>
<img
v-if=
"item.attContent.marketingType == 5"
class=
"activity-logo"
src=
"@/assets/guestCustom/activity-spike.png"
alt
/>
<img
v-if=
"item.attContent.marketingType == 5"
class=
"activity-logo"
src=
"@/assets/guestCustom/activity-spike.png"
alt
/>
<img
v-if=
"item.attContent.marketingType == 6"
class=
"activity-logo"
src=
"@/assets/guestCustom/activity-service.png"
alt
/>
<img
v-if=
"item.attContent.marketingType == 6"
class=
"activity-logo"
src=
"@/assets/guestCustom/activity-service.png"
alt
/>
<img
v-if=
"item.attContent.marketingType == 7"
class=
"link-logo"
src=
"@/assets/guestCustom/link.png"
alt
/>
<!--
<img
v-if=
"item.attContent.marketingType == 7"
class=
"link-logo"
src=
"@/assets/guestCustom/link.png"
alt
/>
-->
<div
class=
"activity-footer"
v-if=
"item.attContent.marketingType != 7"
>
<div
class=
"activity-footer"
>
<!--
<div
class=
"activity-footer"
v-if=
"item.attContent.marketingType != 7"
>
-->
<img
src=
"@/assets/guestCustom/applet-footer.png"
alt
/>
<img
src=
"@/assets/guestCustom/applet-footer.png"
alt
/>
</div>
</div>
</div>
</div>
...
@@ -82,7 +84,7 @@ export default {
...
@@ -82,7 +84,7 @@ export default {
return
`<img src="https://img01.glsx.com.cn/weapp/resource/saas/scrm/emoji/
${
index
}
.png">`
return
`<img src="https://img01.glsx.com.cn/weapp/resource/saas/scrm/emoji/
${
index
}
.png">`
})
})
item
.
attContent
=
htm
item
.
attContent
=
htm
}
else
if
(
item
.
attType
!=
2
&&
item
.
attType
!=
3
)
{
}
else
if
(
item
.
attType
!=
2
&&
item
.
attType
!=
3
&&
item
.
attType
!=
7
)
{
// console.log(item.attContent, JSON.parse(item.attContent).fileName)
// console.log(item.attContent, JSON.parse(item.attContent).fileName)
item
.
attContent
=
JSON
.
parse
(
item
.
attContent
)
item
.
attContent
=
JSON
.
parse
(
item
.
attContent
)
}
}
...
...
src/views/customerTransform/components/selectMember.vue
View file @
7febd57
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
<el-form-item
label=
"姓名"
style=
"margin-bottom: 0;"
>
<el-form-item
label=
"姓名"
style=
"margin-bottom: 0;"
>
<el-input
:size=
"size"
v-model
.
trim=
"searchForm.name"
@
keyup
.
enter
.
native=
"search"
clearable
placeholder=
"请输入姓名搜索"
></el-input>
<el-input
:size=
"size"
v-model
.
trim=
"searchForm.name"
@
keyup
.
enter
.
native=
"search"
clearable
placeholder=
"请输入姓名搜索"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"跟进专员类型"
>
<
!--
<
el-form-item
label=
"跟进专员类型"
>
<el-select
<el-select
v-model=
"searchForm.status"
v-model=
"searchForm.status"
clearable
clearable
...
@@ -30,7 +30,8 @@
...
@@ -30,7 +30,8 @@
:value=
"item.value"
:value=
"item.value"
></el-option>
></el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
-->
<!--
<el-form-item>
<!--
<el-form-item>
<el-checkbox
v-model=
"searchForm.checked"
>
仅看跟进专员
</el-checkbox>
<el-checkbox
v-model=
"searchForm.checked"
>
仅看跟进专员
</el-checkbox>
</el-form-item>
-->
</el-form-item>
-->
...
@@ -258,17 +259,17 @@ export default {
...
@@ -258,17 +259,17 @@ export default {
})
})
}
}
}
}
this
.
stateList
=
this
.
tableEmpData
//
this.stateList = this.tableEmpData
if
(
status
)
{
//
if (status) {
this
.
tableEmpData
=
[]
//
this.tableEmpData = []
this
.
stateList
.
forEach
(
i
=>
{
//
this.stateList.forEach(i => {
if
(
String
(
i
.
followerTypeId
).
indexOf
(
status
)
!=
-
1
)
{
//
if (String(i.followerTypeId).indexOf(status) != -1) {
this
.
tableEmpData
.
push
(
i
)
//
this.tableEmpData.push(i)
}
//
}
})
//
})
}
else
{
//
} else {
this
.
tableEmpData
=
this
.
stateList
//
this.tableEmpData = this.stateList
}
//
}
},
},
remove
(
item
)
{
remove
(
item
)
{
// var idx = this.innerTags.findIndex(k => k.id == item.id)
// var idx = this.innerTags.findIndex(k => k.id == item.id)
...
...
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