|
@@ -152,17 +152,19 @@
|
|
<template slot-scope="scope"
|
|
<template slot-scope="scope"
|
|
:class="{'isShared':scope.row.IsShared}"
|
|
:class="{'isShared':scope.row.IsShared}"
|
|
>
|
|
>
|
|
|
|
+ <el-tooltip effect="dark" placement="top-start" :disabled="!((RoleType == 'admin' || RoleType === '权益') && scope.row.IsUserMaker == -1 && scope.row.CompanyType == '权益')" content="过去4周,kp均未覆盖服务">
|
|
<span
|
|
<span
|
|
v-if="scope.row.IsSuspend ===1 || scope.row.Status=='潜在'"
|
|
v-if="scope.row.IsSuspend ===1 || scope.row.Status=='潜在'"
|
|
@click="goDetail(scope.row)"
|
|
@click="goDetail(scope.row)"
|
|
class="mouse-enter"
|
|
class="mouse-enter"
|
|
- :class="{'color-red':act_status==='正式'&&scope.row.Status.includes('正式')&&scope.row.WeekViewActive===0}"
|
|
|
|
|
|
+ :class="{'color-red':(act_status==='正式'&&scope.row.Status.includes('正式')&&scope.row.WeekViewActive===0)||scope.row.IsUserMaker == -1}"
|
|
:style="scope.row.Status=='潜在'?'':'color:#bbb;cursor:pointer'">
|
|
:style="scope.row.Status=='潜在'?'':'color:#bbb;cursor:pointer'">
|
|
{{scope.row.CompanyName}}
|
|
{{scope.row.CompanyName}}
|
|
</span>
|
|
</span>
|
|
<span v-else style="color:#409EFF;cursor:pointer;" @click="goDetail(scope.row)" class="customName"
|
|
<span v-else style="color:#409EFF;cursor:pointer;" @click="goDetail(scope.row)" class="customName"
|
|
- :class="{'isShared':scope.row.IsShared,'color-red':act_status==='正式'&&scope.row.Status.includes('正式')&&scope.row.WeekViewActive===0}"
|
|
|
|
|
|
+ :class="{'isShared':scope.row.IsShared,'color-red':(act_status==='正式'&&scope.row.Status.includes('正式')&&scope.row.WeekViewActive===0)||scope.row.IsUserMaker == -1}"
|
|
>{{scope.row.CompanyName}}</span>
|
|
>{{scope.row.CompanyName}}</span>
|
|
|
|
+ </el-tooltip>
|
|
<img width="15" src="../../../assets/img/icons/remark.png" alt="" v-if="scope.row.RenewalReason||(scope.row.Status==='冻结'&&scope.row.FreezeReason)">
|
|
<img width="15" src="../../../assets/img/icons/remark.png" alt="" v-if="scope.row.RenewalReason||(scope.row.Status==='冻结'&&scope.row.FreezeReason)">
|
|
<el-tooltip content="此客户存在长期且反复申请试用,但从未签约的情况,请谨慎领取" placement="top" :open-delay="500"
|
|
<el-tooltip content="此客户存在长期且反复申请试用,但从未签约的情况,请谨慎领取" placement="top" :open-delay="500"
|
|
v-if="RaiSellerRole && scope.row.IsScrounge == 1">
|
|
v-if="RaiSellerRole && scope.row.IsScrounge == 1">
|
|
@@ -752,6 +754,8 @@
|
|
|
|
|
|
</div>
|
|
</div>
|
|
</el-dialog>
|
|
</el-dialog>
|
|
|
|
+ <historical-notes-dlg :historicalNotesDlgVisible.sync="historicalNotesDlgVisible" :CompanyId.sync="historicalNotesId" />
|
|
|
|
+
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
@@ -772,12 +776,14 @@ import permissionView from './components/permissionView.vue'
|
|
import mixin from './mixins/customlistMixin';
|
|
import mixin from './mixins/customlistMixin';
|
|
import TotalDayDialog from '../compontents/TotalDayDialog.vue'
|
|
import TotalDayDialog from '../compontents/TotalDayDialog.vue'
|
|
import ShareListDialog from './components/shareListDialog.vue'
|
|
import ShareListDialog from './components/shareListDialog.vue'
|
|
|
|
+
|
|
|
|
+import HistoricalNotesDlg from "@/components/historicalNotesDlg.vue";
|
|
export default {
|
|
export default {
|
|
name:'',
|
|
name:'',
|
|
mixins: [ mixin ],
|
|
mixins: [ mixin ],
|
|
components: {Capplydia,Contactdia,Cauthlist,CompleteInfo,ContractInfo, AccumulativeFrequencyDlg,
|
|
components: {Capplydia,Contactdia,Cauthlist,CompleteInfo,ContractInfo, AccumulativeFrequencyDlg,
|
|
ModifyToDoDialog, CheckToDoDialog,HistoryToDoDialog,TotalDayDialog,permissionView,
|
|
ModifyToDoDialog, CheckToDoDialog,HistoryToDoDialog,TotalDayDialog,permissionView,
|
|
-ShareListDialog},
|
|
|
|
|
|
+ShareListDialog, HistoricalNotesDlg},
|
|
computed:{
|
|
computed:{
|
|
Role() {
|
|
Role() {
|
|
let role = localStorage.getItem('Role') || '';
|
|
let role = localStorage.getItem('Role') || '';
|
|
@@ -1044,7 +1050,8 @@ ShareListDialog},
|
|
BtnCancelShare:'取消共享',
|
|
BtnCancelShare:'取消共享',
|
|
BtnServiceRecord:'沟通记录',
|
|
BtnServiceRecord:'沟通记录',
|
|
BtnClose:'关闭',
|
|
BtnClose:'关闭',
|
|
- BtnLoss:'转流失'
|
|
|
|
|
|
+ BtnLoss:'转流失',
|
|
|
|
+ BtnRemarkViewHistory:'历史备注'
|
|
}, // 按钮命令列表
|
|
}, // 按钮命令列表
|
|
lookRemarkTitle:'',//查看备注标题
|
|
lookRemarkTitle:'',//查看备注标题
|
|
lookRemarkList:[],//查看备注列表
|
|
lookRemarkList:[],//查看备注列表
|
|
@@ -1095,6 +1102,9 @@ ShareListDialog},
|
|
isFixed:false,
|
|
isFixed:false,
|
|
modifySales:0,//用于重新渲染选择销售级联选择窗
|
|
modifySales:0,//用于重新渲染选择销售级联选择窗
|
|
AddCompanyBtn:false,//控制新增客户按钮是否显示
|
|
AddCompanyBtn:false,//控制新增客户按钮是否显示
|
|
|
|
+
|
|
|
|
+ historicalNotesDlgVisible: false, //历史备注的弹框
|
|
|
|
+ historicalNotesId: 0,
|
|
};
|
|
};
|
|
},
|
|
},
|
|
watch: {
|
|
watch: {
|
|
@@ -1605,6 +1615,8 @@ ShareListDialog},
|
|
this.openCloseReasonDialog(query.data)
|
|
this.openCloseReasonDialog(query.data)
|
|
}else if(query.type=='转流失'){
|
|
}else if(query.type=='转流失'){
|
|
this.turnLose(query.data)
|
|
this.turnLose(query.data)
|
|
|
|
+ }else if(query.type=='历史备注'){
|
|
|
|
+ this.historicalNotesClickHandler(query.data)
|
|
}
|
|
}
|
|
|
|
|
|
},
|
|
},
|
|
@@ -2259,6 +2271,11 @@ ShareListDialog},
|
|
this.act_status = '试用'
|
|
this.act_status = '试用'
|
|
this.getTableData();
|
|
this.getTableData();
|
|
},
|
|
},
|
|
|
|
+ // 点击了历史留言
|
|
|
|
+ historicalNotesClickHandler(item) {
|
|
|
|
+ this.historicalNotesDlgVisible = true;
|
|
|
|
+ this.historicalNotesId = item.CompanyId;
|
|
|
|
+ },
|
|
},
|
|
},
|
|
created() {
|
|
created() {
|
|
/* 除admin账号 客户类型默认 */
|
|
/* 除admin账号 客户类型默认 */
|