|
|
@@ -284,9 +284,10 @@ export default {
|
|
|
this.taskGather = response.data.customerClue.customerClueItemList;
|
|
|
}
|
|
|
this.getCustomerClassify();
|
|
|
- // 当前客资归属人不是当前登录人
|
|
|
+ // 当前客资归属人不是当前登录人和不是大区主管
|
|
|
let deptIds = JSON.parse(localStorage.getItem('deptIds'));
|
|
|
- if (deptIds.indexOf(this.infoData.deptId) == -1) {
|
|
|
+ // regionUser:true-是大区主管 false-不是大区主管
|
|
|
+ if (deptIds.indexOf(this.infoData.deptId) == -1 && !response.data.regionUser) {
|
|
|
this.$dialog
|
|
|
.confirm({
|
|
|
title: '提示',
|
|
|
@@ -558,7 +559,10 @@ export default {
|
|
|
this.SalesDepartmentShow = true;
|
|
|
},
|
|
|
onClickLeft() {
|
|
|
- this.$router.go(-1);
|
|
|
+ // this.$router.go(-1);
|
|
|
+ this.$router.replace({
|
|
|
+ path: '/clew',
|
|
|
+ });
|
|
|
},
|
|
|
},
|
|
|
};
|