Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
horse
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
向伟
horse
Commits
ca982234
Commit
ca982234
authored
Nov 22, 2021
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
a27c4cc1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
editRuleModule.ts
src/module/editor/editRuleModule.ts
+9
-2
No files found.
src/module/editor/editRuleModule.ts
View file @
ca982234
...
...
@@ -62,7 +62,7 @@ const editRuleModule = () => {
//获取部门数据
const
getEmployeeData
=
()
=>
{
customerService2
.
getEmployeeData
({}).
then
(
res
=>
{
console
.
log
(
res
.
data
.
Data
,
'
数据
'
)
console
.
log
(
res
.
data
.
Data
,
'
部门
'
)
data
.
dataTree
=
res
.
data
.
Data
// 重组唯一id
if
(
data
.
dataTree
.
length
==
0
)
return
...
...
@@ -82,13 +82,20 @@ const editRuleModule = () => {
}
})
}
// 新增,修改
const
setCustomerClueRuleInfo
=
()
=>
{
customerService
.
setCustomerClueRuleInfo
(
data
.
editMsg
).
then
(
res
=>
{
console
.
log
(
'setCustomerClueRuleInfo'
,
res
)
})
}
return
{
msg
,
data
,
getDetail
,
getEmployeeData
,
jumpBeforePage
,
changeDialog
changeDialog
,
setCustomerClueRuleInfo
}
}
...
...
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