Commit ff0f7b55 by 李伟康

我的待办增加线索管理

1 parent b5440d49
......@@ -15,7 +15,8 @@ export default {
3: '客户群发',
4: '客户群群发',
5: '客户资料完善',
6: '营销sop-任务'
6: '营销sop-任务',
8: '线索跟进-任务',
},
userInfo: {},
accountList: [],
......@@ -37,7 +38,8 @@ export default {
{ text: '客户群发', value: 3 },
{ text: '客户群群发', value: 4 },
{ text: '客户资料完善', value: 5 },
{ text: '营销sop', value: 6 }
{ text: '营销sop', value: 6 },
{ text: '线索跟进', value: 8 }
],
list: [
{
......@@ -177,9 +179,8 @@ export default {
},
click (e) {
let { status, id, taskType } = e
if (status == 2 && taskType != 6) return
if (taskType == 6) {
if (status == 2 && (taskType != 6 || taskType != 8)) return
if (taskType == 6 || taskType == 8) {
this.jump(e)
} else {
wwbenchApi.updateTasks({ id }).then(res => {
......@@ -204,11 +205,13 @@ export default {
1: 'customerDetails',
2: 'customerGroup/mass',
5: 'customer/information',
6: 'home'
6: 'home',
8: 'clew/detail'
}[taskType]
let { path } = subsystemInfo[{
5: 'customer',
6: 'sop'
6: 'sop',
8: 'clew'
}[taskType]]
if (link) {
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!