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 63ce2f27
authored
Oct 25, 2023
by
xinla
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
--no commit message
1 parent
8615930d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
41 additions
and
16 deletions
vue3-lw-pc/src/api/communityOperating/newCustomer.js
vue3-lw-pc/src/views/communityOperating/newCustomer/aev.vue
vue3-lw-pc/src/api/communityOperating/newCustomer.js
View file @
63ce2f2
...
@@ -30,12 +30,41 @@ export function getDetail(id) {
...
@@ -30,12 +30,41 @@ export function getDetail(id) {
* 新增新客自动拉群
* 新增新客自动拉群
* @param {Object} data
* @param {Object} data
{
{
"codeName": "string",
"id": 0, //主键ID
"groupCodeId": 'string',
"codeName": "", //活码名称
"skipVerify": true,
"emplList": "", //多个员工id,使用逗号隔开。
"tagList": [],
"tagList": "", //标签id,多个使用逗号隔开
"emplList": [],
"skipVerify": false, //是否跳过验证自动加好友
"welcomeMsg": "string"
"emplCodeUrl": "", //员工活码图片地址
"emplCodeState": "", //员工活码渠道标识
"emplCodeConfigId": "", //员工活码configId
"welcomeMsg": "", //加群引导语
"chatIdList": "", //实际群id,多个实用逗号隔开
"autoCreateRoom": 0, //当群满了后,是否自动新建群。0-否;1-是。 默认为0
"roomBaseName": "", //自动建群的群名前缀,当auto_create_room为1时有效。最长40个utf8字符
"roomBaseId": 0, //自动建群的群起始序号,当auto_create_room为1时有效
"groupCodeConfigId": "", //群活码企微信的configId
"groupCodeState": "", //群活码渠道标识
"groupCodeUrl": "", //群活码图片地址
"delFlag": 0, //0 未删除 1 已删除
"linkTitle": "", //链接标题
"linkDesc": "", //链接描述
"linkCoverUrl": "", //链接封面
"tagNames": "", //标签名,多个使用逗号隔开
"groupNames": "", //群名,多个使用逗号隔开
"addCustomerNumber": 0, //添加客户数
"joinGroupNumber": 0, //进群客户数
"searchValue": "", //搜索值
"createBy": "", //创建者
"createById": 0, //创建者ID
"createTime": "", //创建时间
"updateBy": "", //更新者
"updateById": 0, //更新者ID
"updateTime": "", //更新时间
"remark": "", //备注
"params": { //请求参数
"key": {}
}
}
}
*/
*/
export
function
add
(
data
)
{
export
function
add
(
data
)
{
...
...
vue3-lw-pc/src/views/communityOperating/newCustomer/aev.vue
View file @
63ce2f2
...
@@ -19,9 +19,9 @@ export default {
...
@@ -19,9 +19,9 @@ export default {
groupCodeId
:
undefined
,
// 群活码ID
groupCodeId
:
undefined
,
// 群活码ID
tagList
:
[],
// 客户标签
tagList
:
[],
// 客户标签
skipVerify
:
0
,
// 无需确认自动加好友
skipVerify
:
0
,
// 无需确认自动加好友
users
:
[],
tags
:
[],
},
},
tags
:
[],
users
:
[],
codes
:
[],
codes
:
[],
groupQrCode
:
{},
groupQrCode
:
{},
rules
:
Object
.
freeze
({
rules
:
Object
.
freeze
({
...
@@ -163,7 +163,7 @@ export default {
...
@@ -163,7 +163,7 @@ export default {
<el-form-item
label=
"使用员工"
prop=
"emplList"
>
<el-form-item
label=
"使用员工"
prop=
"emplList"
>
<el-button
type=
"primary"
@
click=
"onSelectUser"
>
选择员工
</el-button>
<el-button
type=
"primary"
@
click=
"onSelectUser"
>
选择员工
</el-button>
<br
/>
<br
/>
<TagEllipsis
:list=
"users"
limit=
"10"
defaultProps=
"businessName"
></TagEllipsis>
<TagEllipsis
:list=
"
form.
users"
limit=
"10"
defaultProps=
"businessName"
></TagEllipsis>
</el-form-item>
</el-form-item>
<!--
<el-form-item
label=
"选择群活码"
prop=
"groupCodeId"
>
<!--
<el-form-item
label=
"选择群活码"
prop=
"groupCodeId"
>
...
@@ -180,7 +180,7 @@ export default {
...
@@ -180,7 +180,7 @@ export default {
<!-- closable -->
<!-- closable -->
<el-button
type=
"primary"
@
click=
"dialogVisibleSelectTag = true"
>
选择标签
</el-button>
<el-button
type=
"primary"
@
click=
"dialogVisibleSelectTag = true"
>
选择标签
</el-button>
<div
class=
"tip"
>
通过此群活码进群的客户自动打上标签
</div>
<div
class=
"tip"
>
通过此群活码进群的客户自动打上标签
</div>
<TagEllipsis
:list=
"tags"
limit=
"10"
defaultProps=
"tagName"
></TagEllipsis>
<TagEllipsis
:list=
"
form.
tags"
limit=
"10"
defaultProps=
"tagName"
></TagEllipsis>
</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"
>
...
@@ -200,13 +200,9 @@ export default {
...
@@ -200,13 +200,9 @@ export default {
clearable>
</TextareaExtend>
clearable>
</TextareaExtend>
</el-form-item>
</el-form-item>
<el-form-item
label=
"活码客群:"
prop=
"chatIdList"
>
<el-form-item
label=
"活码客群:"
prop=
"chatIdList"
>
<template
v-for=
"(item, index) in form.groupList"
:key=
"index"
>
<el-button
type=
"primary"
@
click=
"selectGroupFn"
>
选择客群
</el-button>
<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>
<div
class=
"tip"
>
最多选择五个客群
</div>
<TagEllipsis
:list=
"form.groupList"
limit=
"10"
defaultProps=
"groupName"
></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