|
@@ -55,18 +55,24 @@
|
|
|
</div>
|
|
|
<el-card>
|
|
|
<el-table :data="tableData" style="width: 100%" border @sort-change="sortChangeHandle">
|
|
|
- <el-table-column align="center" prop="RealName" width="90" label="姓名"> </el-table-column>
|
|
|
+ <el-table-column align="center" prop="RealName" width="90" label="姓名">
|
|
|
+ <template slot-scope="{ row }">
|
|
|
+ <span>{{ row.RealName }}</span>
|
|
|
+
|
|
|
+ <img width="16" v-if="row.HaveMoveButton" style="vertical-align: middle; cursor: pointer" src="../../../assets/img/contact_transfer.jpg" alt="" @click="clickContactTransfer(row)" />
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
<el-table-column align="center" prop="Mobile" width="110" label="手机号/邮箱">
|
|
|
<template slot-scope="{ row }"> {{ row.Mobile || row.Email }} </template>
|
|
|
</el-table-column>
|
|
|
<el-table-column align="center" prop="CompanyName" label="公司名称">
|
|
|
- <template slot-scope="{row}">
|
|
|
+ <template slot-scope="{ row }">
|
|
|
<el-tooltip effect="dark" placement="top-start" content="过去4周,kp均未覆盖服务" v-if="row.IsUserMaker == -1">
|
|
|
<span class="deletesty" @click="goDetail(row)">{{ row.CompanyName }}</span>
|
|
|
</el-tooltip>
|
|
|
<span v-else class="editsty" @click="goDetail(row)">{{ row.CompanyName }}</span>
|
|
|
<!-- <span class="editsty" @click="goDetail(scope.row)">{{ scope.row.CompanyName }}</span> -->
|
|
|
- </template>
|
|
|
+ </template>
|
|
|
</el-table-column>
|
|
|
<el-table-column align="center" prop="Status" width="110" label="状态"> </el-table-column>
|
|
|
<el-table-column align="center" prop="SellerName" width="110" label="所属销售"> </el-table-column>
|
|
@@ -154,6 +160,7 @@
|
|
|
<label-dlg :isShowLabelDlg.sync="isShowLabelDlg" :dlgLabelList.sync="dlgLabelList" @labelChildren="labelChildren" :userLabel="userLabel" />
|
|
|
<remind-dlg :isShowRemindDlg.sync="isShowRemindDlg" :remindList.sync="remindList" />
|
|
|
<FeedbackDlg :showFeedbackDlg.sync="showFeedbackDlg" :remindList.sync="remindList" />
|
|
|
+ <ContactTransfer :contactTransferDlgVisible.sync="contactTransferDlgVisible" :TransferMobile.sync="TransferMobile" />
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -165,9 +172,11 @@ import InteractionDlg from "./compontents/interactionDlg.vue";
|
|
|
import LabelDlg from "./compontents/labelDlg.vue";
|
|
|
import RemindDlg from "./compontents/remindDlg.vue";
|
|
|
import FeedbackDlg from "./compontents/feedbackDlg.vue";
|
|
|
+import ContactTransfer from "../customList/components/ContactTransferDlg.vue";
|
|
|
+
|
|
|
export default {
|
|
|
name: "",
|
|
|
- components: { mPage, mDialog, InteractionDlg, LabelDlg, RemindDlg, FeedbackDlg },
|
|
|
+ components: { mPage, mDialog, InteractionDlg, LabelDlg, RemindDlg, FeedbackDlg, ContactTransfer },
|
|
|
props: {},
|
|
|
data() {
|
|
|
return {
|
|
@@ -224,6 +233,10 @@ export default {
|
|
|
isShowRemindDlg: false, // 消息提醒的弹框
|
|
|
remindList: {}, // 消息提醒的数据
|
|
|
showFeedbackDlg: false, // 交流反馈的弹框
|
|
|
+
|
|
|
+ TransferMobile: 0,
|
|
|
+
|
|
|
+ contactTransferDlgVisible: false, //联系人转移的弹框
|
|
|
};
|
|
|
},
|
|
|
computed: {},
|
|
@@ -443,6 +456,11 @@ export default {
|
|
|
this.remindList = item;
|
|
|
this.showFeedbackDlg = true;
|
|
|
},
|
|
|
+ // 点击了共享联系人
|
|
|
+ clickContactTransfer(item) {
|
|
|
+ this.contactTransferDlgVisible = true;
|
|
|
+ this.TransferMobile = item.Mobile;
|
|
|
+ },
|
|
|
},
|
|
|
/* 页面跳转前记录参数 */
|
|
|
beforeRouteLeave(to, from, next) {
|