Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CRM
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
华国豪
CRM
Commits
238ba4ba
Commit
238ba4ba
authored
Apr 24, 2022
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
dab9a279
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
48 additions
and
5 deletions
+48
-5
clueManagement.vue
src/components/clueManagement/clueManagement.vue
+45
-1
customerConfiguration.vue
src/components/customerManage/customerConfiguration.vue
+1
-1
distributionRules.vue
src/components/customerManage/distributionRules.vue
+1
-2
addDistributionRules.vue
src/components/dialogModel/addDistributionRules.vue
+1
-1
No files found.
src/components/clueManagement/clueManagement.vue
View file @
238ba4ba
...
...
@@ -255,6 +255,7 @@
},
data
()
{
return
{
ruleList
:[],
guestDialogBoxShow
:
false
,
drawer2
:
false
,
activeMenu
:
1
,
...
...
@@ -582,7 +583,36 @@
if
(
type
===
3
)
{
this
.
multipleSelection
.
push
(
this
.
CustomerId
)
}
this
.
transferVisible
=
true
if
(
this
.
ruleList
.
length
==
0
){
this
.
transferVisible
=
true
}
else
{
let
tips
=
'系统已开启自动分配,无法指定推送,是否继续推送?'
this
.
$confirm
(
tips
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(()
=>
{
let
ids
if
(
this
.
CustomerId
){
ids
=
this
.
CustomerId
}
else
{
ids
=
this
.
multipleSelection
.
join
(
','
)
}
this
.
apipost
(
'/api/Customer/AutoTransferCustomer'
,
{
IDs
:
ids
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
$message
.
success
(
res
.
data
.
message
);
this
.
getList
()
}
})
}).
catch
(()
=>
{
this
.
$message
({
type
:
'info'
,
message
:
'已取消'
});
});
}
}
else
{
if
(
this
.
transferMsg
.
EmpId
===
''
)
{
return
this
.
$message
.
error
(
'请选择变更负责人!'
)
...
...
@@ -635,6 +665,15 @@
this
.
drawer2
=
true
}
},
// 获取是否开启规则
GetCustomerAllotRule
(){
this
.
apipost
(
'/api/Customer/GetCustomerAllotRule'
,
{},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
ruleList
=
res
.
data
.
data
.
EmpList
}
})
},
handleSizeChange
(
val
)
{
this
.
msg
.
pageSize
=
val
this
.
getList
();
...
...
@@ -656,6 +695,11 @@
this
.
loading
=
false
;
}
})
if
(
this
.
msg
.
CustomerType
==
1
){
// 获取是否开启规则
this
.
GetCustomerAllotRule
()
}
},
handleSelectionChange
(
val
)
{
this
.
multipleSelection
=
val
.
map
(
x
=>
...
...
src/components/customerManage/customerConfiguration.vue
View file @
238ba4ba
...
...
@@ -42,7 +42,7 @@ export default {
},
data
()
{
return
{
selectTitle
:
2
,
selectTitle
:
1
,
headerList
:[
{
title
:
'客户来源'
,
id
:
1
},
{
title
:
'分配规则'
,
id
:
2
},
...
...
src/components/customerManage/distributionRules.vue
View file @
238ba4ba
<
style
>
<
style
scoped
>
.distributionRules
{
}
...
...
src/components/dialogModel/addDistributionRules.vue
View file @
238ba4ba
<
style
>
<
style
scoped
>
.addDistributionRules
.add-tit
{
display
:
flex
;
justify-content
:
space-between
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment