Commit ff0f7b55 by 李伟康

我的待办增加线索管理

1 parent b5440d49
...@@ -15,7 +15,8 @@ export default { ...@@ -15,7 +15,8 @@ export default {
3: '客户群发', 3: '客户群发',
4: '客户群群发', 4: '客户群群发',
5: '客户资料完善', 5: '客户资料完善',
6: '营销sop-任务' 6: '营销sop-任务',
8: '线索跟进-任务',
}, },
userInfo: {}, userInfo: {},
accountList: [], accountList: [],
...@@ -37,7 +38,8 @@ export default { ...@@ -37,7 +38,8 @@ export default {
{ text: '客户群发', value: 3 }, { text: '客户群发', value: 3 },
{ text: '客户群群发', value: 4 }, { text: '客户群群发', value: 4 },
{ text: '客户资料完善', value: 5 }, { text: '客户资料完善', value: 5 },
{ text: '营销sop', value: 6 } { text: '营销sop', value: 6 },
{ text: '线索跟进', value: 8 }
], ],
list: [ list: [
{ {
...@@ -177,9 +179,8 @@ export default { ...@@ -177,9 +179,8 @@ export default {
}, },
click (e) { click (e) {
let { status, id, taskType } = e let { status, id, taskType } = e
if (status == 2 && taskType != 6) return if (status == 2 && (taskType != 6 || taskType != 8)) return
if (taskType == 6 || taskType == 8) {
if (taskType == 6) {
this.jump(e) this.jump(e)
} else { } else {
wwbenchApi.updateTasks({ id }).then(res => { wwbenchApi.updateTasks({ id }).then(res => {
...@@ -204,11 +205,13 @@ export default { ...@@ -204,11 +205,13 @@ export default {
1: 'customerDetails', 1: 'customerDetails',
2: 'customerGroup/mass', 2: 'customerGroup/mass',
5: 'customer/information', 5: 'customer/information',
6: 'home' 6: 'home',
8: 'clew/detail'
}[taskType] }[taskType]
let { path } = subsystemInfo[{ let { path } = subsystemInfo[{
5: 'customer', 5: 'customer',
6: 'sop' 6: 'sop',
8: 'clew'
}[taskType]] }[taskType]]
if (link) { if (link) {
if (!['prod', 'production'].includes(process.env.NODE_ENV)) path = '/dj-scrm-wx-work-main-lwk/#/' if (!['prod', 'production'].includes(process.env.NODE_ENV)) path = '/dj-scrm-wx-work-main-lwk/#/'
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!