|
@@ -235,6 +235,7 @@
|
|
<img src="~@/assets/img/icons/like-heart.png" class="name-follow-heart" v-if="scope.row.IsFollow==1">
|
|
<img src="~@/assets/img/icons/like-heart.png" class="name-follow-heart" v-if="scope.row.IsFollow==1">
|
|
<span :class="{'isShared':scope.row.IsShared}">{{scope.row.RealName}}</span>
|
|
<span :class="{'isShared':scope.row.IsShared}">{{scope.row.RealName}}</span>
|
|
<img v-if="scope.row.HaveMoveButton" width="16" style="vertical-align: middle;cursor: pointer;" src="../../../assets/img/contact_transfer.jpg" alt="" @click="clickContactTransfer(scope.row)">
|
|
<img v-if="scope.row.HaveMoveButton" width="16" style="vertical-align: middle;cursor: pointer;" src="../../../assets/img/contact_transfer.jpg" alt="" @click="clickContactTransfer(scope.row)">
|
|
|
|
+ <img v-if="scope.row.IsMaker == 1" class="name-maker" src="../../../assets/img/is_maker_icon.png" alt="">
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column prop="Position" label="职位" align="center" min-width="80px"></el-table-column>
|
|
<el-table-column prop="Position" label="职位" align="center" min-width="80px"></el-table-column>
|
|
@@ -245,6 +246,12 @@
|
|
min-width="100">
|
|
min-width="100">
|
|
<template slot-scope="scope"><span v-if="scope.row.Mobile&&scope.row.CountryCode">{{scope.row.CountryCode}}-</span><span>{{scope.row.Mobile+(scope.row.MobileTwo?'/'+scope.row.MobileTwo:'')}}</span> </template>
|
|
<template slot-scope="scope"><span v-if="scope.row.Mobile&&scope.row.CountryCode">{{scope.row.CountryCode}}-</span><span>{{scope.row.Mobile+(scope.row.MobileTwo?'/'+scope.row.MobileTwo:'')}}</span> </template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
|
+ <el-table-column v-if="isUserYanXuanButtonShow" min-width="140" align="center" key="outboundMobile" label="外呼号码">
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
+ <span>{{ scope.row.OutboundMobile }}</span>
|
|
|
|
+ <img @click="modification(scope.row.UserId, scope.row.OutboundMobile)" :src="$icons.amend" style="color: #fff; width: 12px; height: 12px; margin-left: 5px; vertical-align: middle" />
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
prop="Email"
|
|
prop="Email"
|
|
label="邮箱"
|
|
label="邮箱"
|
|
@@ -253,6 +260,7 @@
|
|
<template slot-scope="scope"> <span>{{scope.row.Email}}</span> </template>
|
|
<template slot-scope="scope"> <span>{{scope.row.Email}}</span> </template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
|
|
+ v-if="!isUserYanXuanButtonShow"
|
|
prop="IsMaker"
|
|
prop="IsMaker"
|
|
label="是否KP"
|
|
label="是否KP"
|
|
align="center">
|
|
align="center">
|
|
@@ -298,8 +306,8 @@
|
|
</template>
|
|
</template>
|
|
<el-table-column
|
|
<el-table-column
|
|
prop="IsSubscribeHzyj"
|
|
prop="IsSubscribeHzyj"
|
|
- label="是否关注公众号"
|
|
|
|
- min-width="90"
|
|
|
|
|
|
+ :label="isUserYanXuanButtonShow ? '可接受公众号推送':'是否关注公众号'"
|
|
|
|
+ min-width="140"
|
|
align="center">
|
|
align="center">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<div style="text-align:left" v-if="RoleType !=='权益'">
|
|
<div style="text-align:left" v-if="RoleType !=='权益'">
|
|
@@ -312,6 +320,11 @@
|
|
<img v-else style="width:16px;height:16px" src="~@/assets/img/icons/icon_2.png" alt="">
|
|
<img v-else style="width:16px;height:16px" src="~@/assets/img/icons/icon_2.png" alt="">
|
|
<span>查研观向小助手</span>
|
|
<span>查研观向小助手</span>
|
|
</div>
|
|
</div>
|
|
|
|
+ <div style="text-align:left">
|
|
|
|
+ <img v-if="scope.row.IsSubscribeMfyx == 1" style="width:16px;height:16px" src="~@/assets/img/icons/icon_1.png" alt="">
|
|
|
|
+ <img v-else style="width:16px;height:16px" src="~@/assets/img/icons/icon_2.png" alt="">
|
|
|
|
+ <span>买方研选</span>
|
|
|
|
+ </div>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<!-- crm 14.7 -->
|
|
<!-- crm 14.7 -->
|
|
@@ -718,7 +731,7 @@
|
|
/>
|
|
/>
|
|
<HistoricalNotesDlg :historicalNotesDlgVisible.sync="historicalNotesDlgVisible" :CompanyId.sync="historicalNotesId"/>
|
|
<HistoricalNotesDlg :historicalNotesDlgVisible.sync="historicalNotesDlgVisible" :CompanyId.sync="historicalNotesId"/>
|
|
<ContactTransfer :contactTransferDlgVisible.sync="contactTransferDlgVisible" :TransferMobile.sync="TransferMobile"/>
|
|
<ContactTransfer :contactTransferDlgVisible.sync="contactTransferDlgVisible" :TransferMobile.sync="TransferMobile"/>
|
|
-
|
|
|
|
|
|
+ <edit-mobile :editMobileDialogVisible.sync="editMobileDialogVisible" :editMobileId="editMobileId" :outboundMobile="outboundMobile" isType="客户" />
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
@@ -740,9 +753,11 @@ import HistoryContract from '../compontents/historyContract.vue'
|
|
|
|
|
|
import HistoricalNotesDlg from "@/components/historicalNotesDlg.vue";
|
|
import HistoricalNotesDlg from "@/components/historicalNotesDlg.vue";
|
|
import ContactTransfer from './components/ContactTransferDlg.vue'
|
|
import ContactTransfer from './components/ContactTransferDlg.vue'
|
|
|
|
+
|
|
|
|
+import EditMobile from "../../rai_manage/components/editMobile.vue";
|
|
export default {
|
|
export default {
|
|
name:'',
|
|
name:'',
|
|
- components: { Ctimeline, Contactdia, Readia, ElImageViewer, CpessionTable, pdf, chartAuthDialog, ExportData, CpessionTableEquity, ProductReadInfo, DeductDetailDlg, HistoryContract, HistoricalNotesDlg, ContactTransfer},
|
|
|
|
|
|
+ components: { Ctimeline, Contactdia, Readia, ElImageViewer, CpessionTable, pdf, chartAuthDialog, ExportData, CpessionTableEquity, ProductReadInfo, DeductDetailDlg, HistoryContract, HistoricalNotesDlg, ContactTransfer, EditMobile},
|
|
computed:{
|
|
computed:{
|
|
Role() {
|
|
Role() {
|
|
let role = localStorage.getItem('Role') || '';
|
|
let role = localStorage.getItem('Role') || '';
|
|
@@ -875,7 +890,11 @@ export default {
|
|
historicalNotesId: 0,
|
|
historicalNotesId: 0,
|
|
|
|
|
|
contactTransferDlgVisible: false, //联系人转移的弹框
|
|
contactTransferDlgVisible: false, //联系人转移的弹框
|
|
- TransferMobile:0
|
|
|
|
|
|
+ TransferMobile:0,
|
|
|
|
+ // 修改外呼号码的
|
|
|
|
+ editMobileDialogVisible: false,
|
|
|
|
+ editMobileId :0,
|
|
|
|
+ outboundMobile :0,
|
|
};
|
|
};
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
@@ -1688,7 +1707,7 @@ export default {
|
|
},
|
|
},
|
|
// 设置表格行的样式
|
|
// 设置表格行的样式
|
|
setRowClass({row}){
|
|
setRowClass({row}){
|
|
- if(row.NotRead && row.IsFollow==1){
|
|
|
|
|
|
+ if((row.NotRead && row.IsFollow==1) || (this.isUserYanXuanButtonShow && row.IsMaker==1)){
|
|
return "not-read-seven-days"
|
|
return "not-read-seven-days"
|
|
}
|
|
}
|
|
},
|
|
},
|
|
@@ -1703,7 +1722,12 @@ export default {
|
|
this.contactTransferDlgVisible = true;
|
|
this.contactTransferDlgVisible = true;
|
|
this.TransferMobile = item.Mobile;
|
|
this.TransferMobile = item.Mobile;
|
|
},
|
|
},
|
|
-
|
|
|
|
|
|
+ // 点击了修改预约外呼
|
|
|
|
+ modification(id, value) {
|
|
|
|
+ this.editMobileDialogVisible = true;
|
|
|
|
+ this.editMobileId = id;
|
|
|
|
+ this.outboundMobile = value;
|
|
|
|
+ },
|
|
},
|
|
},
|
|
mounted() {
|
|
mounted() {
|
|
this.getDetail();
|
|
this.getDetail();
|
|
@@ -1848,7 +1872,14 @@ export default {
|
|
height: 15px;
|
|
height: 15px;
|
|
position: absolute;
|
|
position: absolute;
|
|
left: 0;
|
|
left: 0;
|
|
- top: 0;
|
|
|
|
|
|
+ top: 0;
|
|
|
|
+ }
|
|
|
|
+ .name-maker{
|
|
|
|
+ width:32px;
|
|
|
|
+ height: 22px;
|
|
|
|
+ position: absolute;
|
|
|
|
+ right: 0;
|
|
|
|
+ top: 0;
|
|
}
|
|
}
|
|
.not-read-seven-days{
|
|
.not-read-seven-days{
|
|
background-color: #FFF8F8;
|
|
background-color: #FFF8F8;
|