Commit ca982234 authored by 罗超's avatar 罗超

1

parent a27c4cc1
......@@ -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
}
}
......
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