Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-custom
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 07c7150a
authored
Jan 12, 2022
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
一客一群修改
1 parent
cab1c744
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
13 deletions
src/api/modules/groupGuest.js
src/views/guestGroup/add.vue
src/views/guestGroup/detail.vue
src/api/modules/groupGuest.js
View file @
07c7150
...
...
@@ -14,7 +14,7 @@ const PATH2 = 'entmicro.api.group.'
const
templateList
=
params
=>
{
params
.
method
=
`
${
PATH
}
page`
return
http
2
({
return
http
3
({
url
:
URL
,
method
:
'GET'
,
data
:
params
,
...
...
@@ -24,7 +24,7 @@ const templateList = params => {
const
insert
=
params
=>
{
params
.
method
=
`
${
PATH
}
insert`
return
http
2
({
return
http
3
({
url
:
URL
,
method
:
'POST'
,
data
:
params
,
...
...
@@ -34,7 +34,7 @@ const insert = params => {
const
update
=
params
=>
{
params
.
method
=
`
${
PATH
}
update`
return
http
2
({
return
http
3
({
url
:
URL
,
method
:
'POST'
,
data
:
params
,
...
...
@@ -44,7 +44,7 @@ const update = params => {
const
detail
=
params
=>
{
params
.
method
=
`
${
PATH
}
detail`
return
http
2
({
return
http
3
({
url
:
URL
,
method
:
'GET'
,
data
:
params
,
...
...
@@ -54,7 +54,7 @@ const detail = params => {
const
status
=
params
=>
{
params
.
method
=
`
${
PATH
}
status`
return
http
2
({
return
http
3
({
url
:
URL
,
method
:
'GET'
,
data
:
params
,
...
...
@@ -64,7 +64,7 @@ const status = params => {
const
listDepartmentTree
=
params
=>
{
params
.
method
=
'entmicro.api.department.listDepartmentTree'
return
http
2
({
return
http
3
({
url
:
URL
,
method
:
'GET'
,
data
:
params
,
...
...
@@ -74,7 +74,7 @@ const listDepartmentTree = params => {
const
nameVaild
=
params
=>
{
params
.
method
=
'entmicro.api.one.template.name.valid'
return
http
2
({
return
http
3
({
url
:
URL
,
method
:
'GET'
,
data
:
params
,
...
...
@@ -84,7 +84,7 @@ const nameVaild = params => {
const
updateNameVaild
=
params
=>
{
params
.
method
=
'entmicro.api.one.template.name.update.valid'
return
http
2
({
return
http
3
({
url
:
URL
,
method
:
'GET'
,
data
:
params
,
...
...
@@ -104,7 +104,7 @@ const getStatus = params => {
//一客一群详情页
const
getListApi
=
params
=>
{
params
.
method
=
`
${
PATH
}
page`
return
http
2
({
return
http
3
({
url
:
URL
,
method
:
'GET'
,
data
:
params
,
...
...
@@ -114,7 +114,7 @@ const getListApi = params => {
const
customerList
=
params
=>
{
params
.
method
=
`
${
PATH2
}
template.customer.page`
return
http
2
({
return
http
3
({
url
:
URL
,
method
:
'GET'
,
data
:
params
,
...
...
@@ -124,7 +124,7 @@ const customerList = params => {
const
getFollower
=
params
=>
{
params
.
method
=
'entmicro.api.staff.listFollowerStaffByPage'
return
http
2
({
return
http
3
({
url
:
'/rop-scrm-entmicro/router'
,
method
:
'POST'
,
data
:
params
,
...
...
src/views/guestGroup/add.vue
View file @
07c7150
...
...
@@ -43,7 +43,7 @@
<span>
{{
basicForm
.
followList
?
basicForm
.
followList
.
length
:
0
}}
</span>
人
</span>
<div
:key=
"key"
class=
"sale-select"
v-show=
"basicForm.followList.length"
>
<div
:key=
"
follow
key"
class=
"sale-select"
v-show=
"basicForm.followList.length"
>
<div
class=
"el-input-tag input-tag-wrapper"
>
<div
style=
"max-height: 64px"
>
<el-tag
...
...
@@ -230,6 +230,7 @@ export default {
},
membersVisible
:
false
,
key
:
new
Date
(),
followkey
:
new
Date
(),
previewFlag
:
false
,
selectData
:
[],
editStatus
:
false
,
...
...
@@ -310,6 +311,11 @@ export default {
message
:
'操作成功!'
})
this
.
$router
.
push
(
'/guestGroup/index'
)
}
else
{
this
.
$message
({
type
:
'error'
,
message
:
'操作失败'
})
}
})
.
catch
(
err
=>
{
...
...
@@ -386,9 +392,11 @@ export default {
staffName
:
item
.
staffName
}
})
this
.
followkey
=
new
Date
()
},
removeFollow
(
idx
)
{
this
.
basicForm
.
followList
.
splice
(
idx
,
1
)
this
.
followkey
=
new
Date
()
}
}
}
...
...
src/views/guestGroup/detail.vue
View file @
07c7150
...
...
@@ -399,7 +399,7 @@ export default {
}
,
getGroupList
(
id
)
{
// const id = this.userId
this
.
$apis
.
groupGuest
.
getListApi
({
id
}
).
then
(
res
=>
{
this
.
$apis
.
groupGuest
.
detail
({
id
}
).
then
(
res
=>
{
if
(
res
)
{
this
.
followList
=
[]
this
.
memberList
=
[]
...
...
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