Commit c8c745a8 by 王志慧

fix:Bug修复

1 parent 47fead0d
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
</div> </div>
<div class="customer-info-label"> <div class="customer-info-label">
<div class="customer-info-name">企微营销:</div> <div class="customer-info-name">企微营销:</div>
<div class="customer-info-message">{{ item.checkStatus == 0 ? '未查看' : item.checkStatus == 1 ? '已查看' : '' }}</div> <div class="customer-info-message">{{ item.receiveStatus == 1?'已领取':item.checkStatus == 1 ? '已查看' : item.sendStatus == 1 ? '已送达' : item.sendStatus == 0?'未送达':'' }}</div>
</div> </div>
</div> </div>
<div class="customer-info-right"> <div class="customer-info-right">
......
...@@ -190,7 +190,7 @@ export default { ...@@ -190,7 +190,7 @@ export default {
let params = { let params = {
followResult: this.selectFollowForm.followResult, followResult: this.selectFollowForm.followResult,
followMark: this.selectFollowForm.followMark, followMark: this.selectFollowForm.followMark,
followFlag: this.selectFollowForm.checked ? 0 : 1, followFlag: this.selectFollowForm.checked ? 1 : 2,
activityId: this.activityId, activityId: this.activityId,
staffId: this.staffId, staffId: this.staffId,
groupId: this.groupId, groupId: this.groupId,
......
...@@ -93,6 +93,10 @@ export default { ...@@ -93,6 +93,10 @@ export default {
if (payload.success) { if (payload.success) {
payload.success(res.data) payload.success(res.data)
} }
} else if (res.code == 21) {
if (payload.fail) {
payload.fail()
}
} else { } else {
Notify(res.message) Notify(res.message)
} }
......
...@@ -94,23 +94,19 @@ export default { ...@@ -94,23 +94,19 @@ export default {
this.getStaffId({ this.getStaffId({
success: res => { success: res => {
this.getTaskOverviewData() this.getTaskOverviewData()
}
})
}, },
fail: () => { fail: () => {
this.hideLoading() this.hideLoading()
this.reLogin() this.reLogin()
} }
}) })
}
})
} else { } else {
this.activityId = window.localStorage.getItem('dj_scrm_activityId') ? JSON.parse(window.localStorage.getItem('dj_scrm_activityId')) : '' this.activityId = window.localStorage.getItem('dj_scrm_activityId') ? JSON.parse(window.localStorage.getItem('dj_scrm_activityId')) : ''
this.getStaffId({ this.getStaffId({
success: res => { success: res => {
this.getTaskOverviewData() this.getTaskOverviewData()
},
fail: () => {
this.hideLoading()
this.reLogin()
} }
}) })
} }
...@@ -166,7 +162,7 @@ export default { ...@@ -166,7 +162,7 @@ export default {
{ {
const: 'const', const: 'const',
text: '本月指标 (人)', text: '本月指标 (人)',
value: overviewInfo.notFollowedUpCount + overviewInfo.followedUpCount value: overviewInfo.notFollowedUpCount
} }
] ]
this.chart.centerData = { this.chart.centerData = {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!