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 cda55f02
authored
Oct 19, 2023
by
xinla
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
客群优化
1 parent
b2387187
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
52 additions
and
17 deletions
vue3-lw-pc/src/views/communityOperating/newCustomer/aev.vue
vue3-lw-pc/src/views/drainageCode/group/baseInfo.vue
vue3-lw-pc/src/views/communityOperating/newCustomer/aev.vue
View file @
cda55f0
...
@@ -2,11 +2,10 @@
...
@@ -2,11 +2,10 @@
import
{
getDetail
,
add
,
update
}
from
'@/api/communityOperating/newCustomer'
import
{
getDetail
,
add
,
update
}
from
'@/api/communityOperating/newCustomer'
import
PhoneDialog
from
'@/components/PhoneDialog'
import
PhoneDialog
from
'@/components/PhoneDialog'
import
SelectTag
from
'@/components/SelectTag'
import
SelectQrCode
from
'@/components/SelectQrCode'
import
SelectQrCode
from
'@/components/SelectQrCode'
export
default
{
export
default
{
components
:
{
PhoneDialog
,
Select
Tag
,
Select
QrCode
},
components
:
{
PhoneDialog
,
SelectQrCode
},
data
()
{
data
()
{
return
{
return
{
selectedUserList
:
[],
selectedUserList
:
[],
...
@@ -183,16 +182,9 @@ export default {
...
@@ -183,16 +182,9 @@ export default {
</el-form-item>
-->
</el-form-item>
-->
<el-form-item
label=
"新客户标签"
prop=
"tags"
>
<el-form-item
label=
"新客户标签"
prop=
"tags"
>
<!-- closable -->
<!-- closable -->
<el-tag
v-for=
"(tag, index) in tags"
:key=
"index"
>
{{
tag
.
tagName
}}
</el-tag>
<el-button
type=
"primary"
:icon=
"plus"
@
click=
"dialogVisibleSelectTag = true"
>
选择标签
</el-button>
<el-button
<div
class=
"tip"
>
通过此群活码进群的客户自动打上标签
</div>
type=
"primary"
<TagEllipsis
:list=
"tags"
limit=
"10"
defaultProps=
"tagName"
></TagEllipsis>
:class=
"tags.length > 0 ? 'ml10' : ''"
plain
:icon=
"plus"
@
click=
"dialogVisibleSelectTag = true"
>
添加标签
</el-button>
<!--
<div
class=
"tip"
>
根据使用场景做标签记录,扫码添加的客户,可自动打上标签
</div>
-->
</el-form-item>
</el-form-item>
<el-form-item
label=
"添加设置"
prop=
"skipVerify"
>
<el-form-item
label=
"添加设置"
prop=
"skipVerify"
>
<el-checkbox
:true-label=
"1"
:false-label=
"0"
v-model=
"form.skipVerify"
>
<el-checkbox
:true-label=
"1"
:false-label=
"0"
v-model=
"form.skipVerify"
>
...
@@ -211,16 +203,59 @@ export default {
...
@@ -211,16 +203,59 @@ export default {
placeholder="请输入"
placeholder="请输入"
clearable>
</TextareaExtend>
clearable>
</TextareaExtend>
</el-form-item>
</el-form-item>
<el-form-item
label=
"活码客群:"
prop=
"chatIdList"
>
<template
v-for=
"(item, index) in form.groupList"
:key=
"index"
>
<el-tag
v-if=
"item.groupName"
:key=
"index"
>
{{
item
.
groupName
}}
</el-tag>
</
template
>
<div>
<el-button
type=
"primary"
@
click=
"selectGroupFn"
>
选择客群
</el-button>
</div>
<div
class=
"tip"
>
最多选择五个客群
</div>
</el-form-item>
<el-form-item
label=
"群满自动建群:"
>
<el-switch
v-model=
"form.autoCreateRoom"
:active-value=
"1"
:inactive-value=
"0"
></el-switch>
<div
class=
"sub-des"
>
默认以第一个群的群主作为新建群的群主
</div>
</el-form-item>
<el-form-item
v-if=
"form.autoCreateRoom"
label=
""
>
<el-card>
<el-form-item
label=
"群名前缀:"
prop=
"roomBaseName"
>
<el-input
show-word-limit
maxlength=
"20"
v-model=
"form.roomBaseName"
placeholder=
"请输入群名前缀"
></el-input>
</el-form-item>
<el-form-item
label=
"群起始序号:"
prop=
"roomBaseId"
>
<el-input-number
v-model=
"form.roomBaseId"
controls-position=
"right"
:min=
"1"
></el-input-number>
</el-form-item>
</el-card>
</el-form-item>
<el-form-item
label=
"链接标题"
prop=
"codeName"
>
<el-input
v-model=
"form.codeName"
maxlength=
"30"
show-word-limit
placeholder=
"请输入"
clearable
></el-input>
</el-form-item>
<el-form-item
label=
"链接描述"
prop=
"codeName"
>
<el-input
v-model=
"form.codeName"
maxlength=
"30"
show-word-limit
placeholder=
"请输入"
clearable
></el-input>
</el-form-item>
<el-form-item
label=
"链接封面"
prop=
"codeName"
>
<upload
v-model:fileUrl=
"form.picture"
type=
"0"
:maxSize=
"2"
:format=
"['jpg', 'jpeg', 'png']"
>
<
template
#
tip
><div>
支持jpg/jpeg/png格式,图片大小不超过2M
</div></
template
>
</upload>
</el-form-item>
</div>
</div>
</el-form>
</el-form>
<div>
<div>
<div
class=
"g-card"
v-if=
"form.id"
></div>
<div
class=
"g-card"
v-if=
"form.id"
></div>
<div
class=
"preview-wrap g-card"
>
<div
class=
"preview-wrap g-card"
>
<!-- 预览 -->
<!-- 预览 -->
<PhoneDialog
<PhoneDialog
:message=
"form.welcomeMsg || '请输入加群引导语'"
>
:message=
"form.welcomeMsg || '请输入加群引导语'"
<div
v-if=
"groupQrCode.picture ? true : false"
>
:isOther=
"groupQrCode && groupQrCode.codeUrl ? true : false"
>
<div
class=
"msg-title"
>
{{ form.codeName }}
</div>
<el-image
class=
"phone-dialog-image"
:src=
"groupQrCode.codeUrl"
fit=
"fill"
></el-image>
<div>
<div
class=
"msg-title"
>
{{ form.codeName }}
</div>
<el-image
class=
"phone-dialog-image"
:src=
"groupQrCode.picture"
fit=
"fill"
></el-image>
</div>
</div>
</PhoneDialog>
</PhoneDialog>
</div>
</div>
</div>
</div>
...
...
vue3-lw-pc/src/views/drainageCode/group/baseInfo.vue
View file @
cda55f0
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
</el-form-item>
</el-form-item>
<el-form-item
label=
"入群标签:"
prop=
"tagIds"
>
<el-form-item
label=
"入群标签:"
prop=
"tagIds"
>
<el-button
type=
"primary"
@
click=
"showSelectTag = true"
>
选择标签
</el-button>
<el-button
type=
"primary"
@
click=
"showSelectTag = true"
>
选择标签
</el-button>
<div
class=
"sub-des"
>
通过此群活码进群的客户自动
设置以
上标签
</div>
<div
class=
"sub-des"
>
通过此群活码进群的客户自动
打
上标签
</div>
<TagEllipsis
:list=
"tagList"
limit=
"10"
></TagEllipsis>
<TagEllipsis
:list=
"tagList"
limit=
"10"
></TagEllipsis>
</el-form-item>
</el-form-item>
<el-form-item
label=
"群满是否自动建群:"
>
<el-form-item
label=
"群满是否自动建群:"
>
...
...
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