Commit ca982234 authored by 罗超's avatar 罗超

1

parent a27c4cc1
...@@ -62,7 +62,7 @@ const editRuleModule = () => { ...@@ -62,7 +62,7 @@ const editRuleModule = () => {
//获取部门数据 //获取部门数据
const getEmployeeData = () => { const getEmployeeData = () => {
customerService2.getEmployeeData({}).then(res => { customerService2.getEmployeeData({}).then(res => {
console.log(res.data.Data, '数据') console.log(res.data.Data, '部门')
data.dataTree = res.data.Data data.dataTree = res.data.Data
// 重组唯一id // 重组唯一id
if (data.dataTree.length == 0) return if (data.dataTree.length == 0) return
...@@ -82,13 +82,20 @@ const editRuleModule = () => { ...@@ -82,13 +82,20 @@ const editRuleModule = () => {
} }
}) })
} }
// 新增,修改
const setCustomerClueRuleInfo = () => {
customerService.setCustomerClueRuleInfo(data.editMsg).then(res => {
console.log('setCustomerClueRuleInfo', res)
})
}
return { return {
msg, msg,
data, data,
getDetail, getDetail,
getEmployeeData, getEmployeeData,
jumpBeforePage, jumpBeforePage,
changeDialog changeDialog,
setCustomerClueRuleInfo
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment