|
@@ -56,7 +56,7 @@
|
|
<el-card>
|
|
<el-card>
|
|
<el-table :data="tableData" style="width: 100%" border @sort-change="sortChangeHandle">
|
|
<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="姓名"> </el-table-column>
|
|
- <el-table-column align="center" prop="Mobile" width="130" label="手机号/邮箱">
|
|
|
|
|
|
+ <el-table-column align="center" prop="Mobile" width="110" label="手机号/邮箱">
|
|
<template slot-scope="{ row }"> {{ row.Mobile || row.Email }} </template>
|
|
<template slot-scope="{ row }"> {{ row.Mobile || row.Email }} </template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column align="center" prop="CompanyName" label="公司名称">
|
|
<el-table-column align="center" prop="CompanyName" label="公司名称">
|
|
@@ -64,20 +64,20 @@
|
|
<span class="editsty" @click="goDetail(scope.row)">{{ scope.row.CompanyName }}</span></template
|
|
<span class="editsty" @click="goDetail(scope.row)">{{ scope.row.CompanyName }}</span></template
|
|
>
|
|
>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column align="center" prop="Status" width="100" label="状态"> </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>
|
|
<el-table-column align="center" prop="SellerName" width="110" label="所属销售"> </el-table-column>
|
|
<el-table-column align="center" prop="IsMaker" width="80" label="是否KP">
|
|
<el-table-column align="center" prop="IsMaker" width="80" label="是否KP">
|
|
<template slot-scope="{ row }">
|
|
<template slot-scope="{ row }">
|
|
{{ row.IsMaker == 1 ? "是" : "否" }}
|
|
{{ row.IsMaker == 1 ? "是" : "否" }}
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column align="center" prop="RegisterTime" width="130" label="注册时间"> </el-table-column>
|
|
|
|
- <el-table-column align="center" width="130" label="是否关注公众号">
|
|
|
|
|
|
+ <el-table-column align="center" prop="RegisterTime" width="110" label="注册时间"> </el-table-column>
|
|
|
|
+ <el-table-column align="center" width="120" label="是否关注公众号">
|
|
<template slot-scope="{ row }">
|
|
<template slot-scope="{ row }">
|
|
{{ row.IsSubscribeCygx == 1 ? "是" : "否" }}
|
|
{{ row.IsSubscribeCygx == 1 ? "是" : "否" }}
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column align="center" prop="InteractionNum" width="130" label="互动量" :render-header="renderHeader" sortable="custom">
|
|
|
|
|
|
+ <el-table-column align="center" prop="InteractionNum" width="110" label="互动量" :render-header="renderHeader" sortable="custom">
|
|
<template slot-scope="{ row }">
|
|
<template slot-scope="{ row }">
|
|
<span class="editsty" @click="lookInteraction(row, '个人')">{{ row.InteractionNum }}</span> /
|
|
<span class="editsty" @click="lookInteraction(row, '个人')">{{ row.InteractionNum }}</span> /
|
|
<el-popover trigger="hover" placement="right" @show="isShowOrganization(row)">
|
|
<el-popover trigger="hover" placement="right" @show="isShowOrganization(row)">
|
|
@@ -95,14 +95,7 @@
|
|
<div slot="header" slot-scope="{}" style="text-align: center">标签</div>
|
|
<div slot="header" slot-scope="{}" style="text-align: center">标签</div>
|
|
<template slot-scope="{ row }">
|
|
<template slot-scope="{ row }">
|
|
<div class="popover-item">
|
|
<div class="popover-item">
|
|
- <el-tag
|
|
|
|
- size="mini"
|
|
|
|
- style="margin: 5px 8px; cursor: pointer"
|
|
|
|
- v-for="item in lookLabelListNumber(row)"
|
|
|
|
- :key="item"
|
|
|
|
- :type="userLabel == item && 'danger'"
|
|
|
|
- @click="labelChildren(item, row)"
|
|
|
|
- >
|
|
|
|
|
|
+ <el-tag size="mini" style="margin: 5px 8px; cursor: pointer" v-for="item in lookLabelListNumber(row)" :key="item" :type="userLabel == item && 'danger'" @click="labelChildren(item, row)">
|
|
{{ item }}
|
|
{{ item }}
|
|
</el-tag>
|
|
</el-tag>
|
|
<span @click="showLabelDlg(row)" style="font-weight: 700; padding: 5px 10px" class="editsty" v-if="row.Labels && row.Labels.split(',').length > 10">...</span>
|
|
<span @click="showLabelDlg(row)" style="font-weight: 700; padding: 5px 10px" class="editsty" v-if="row.Labels && row.Labels.split(',').length > 10">...</span>
|
|
@@ -119,9 +112,11 @@
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column align="center" prop="" label="操作" width="100">
|
|
|
|
|
|
+ <el-table-column align="center" prop="" label="操作" width="160">
|
|
<template slot-scope="{ row }">
|
|
<template slot-scope="{ row }">
|
|
<span :class="row.IsRemind ? 'deletesty' : 'editsty'" @click="remindHandler(row)">{{ row.IsRemind ? "取消提醒" : "互动提醒" }}</span>
|
|
<span :class="row.IsRemind ? 'deletesty' : 'editsty'" @click="remindHandler(row)">{{ row.IsRemind ? "取消提醒" : "互动提醒" }}</span>
|
|
|
|
+
|
|
|
|
+ <span class="editsty" @click="feedbackHandler(row)">交流反馈</span>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
</el-table>
|
|
</el-table>
|
|
@@ -154,6 +149,7 @@
|
|
<InteractionDlg :interactionDlg.sync="interactionDlg" :interactionFrom="interactionFrom" />
|
|
<InteractionDlg :interactionDlg.sync="interactionDlg" :interactionFrom="interactionFrom" />
|
|
<label-dlg :isShowLabelDlg.sync="isShowLabelDlg" :dlgLabelList.sync="dlgLabelList" @labelChildren="labelChildren" :userLabel="userLabel" />
|
|
<label-dlg :isShowLabelDlg.sync="isShowLabelDlg" :dlgLabelList.sync="dlgLabelList" @labelChildren="labelChildren" :userLabel="userLabel" />
|
|
<remind-dlg :isShowRemindDlg.sync="isShowRemindDlg" :remindList.sync="remindList" />
|
|
<remind-dlg :isShowRemindDlg.sync="isShowRemindDlg" :remindList.sync="remindList" />
|
|
|
|
+ <FeedbackDlg :showFeedbackDlg.sync="showFeedbackDlg" :remindList.sync="remindList" />
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
@@ -164,9 +160,10 @@ import mDialog from "@/components/mDialog.vue";
|
|
import InteractionDlg from "./compontents/interactionDlg.vue";
|
|
import InteractionDlg from "./compontents/interactionDlg.vue";
|
|
import LabelDlg from "./compontents/labelDlg.vue";
|
|
import LabelDlg from "./compontents/labelDlg.vue";
|
|
import RemindDlg from "./compontents/remindDlg.vue";
|
|
import RemindDlg from "./compontents/remindDlg.vue";
|
|
|
|
+import FeedbackDlg from "./compontents/feedbackDlg.vue";
|
|
export default {
|
|
export default {
|
|
name: "",
|
|
name: "",
|
|
- components: { mPage, mDialog, InteractionDlg, LabelDlg, RemindDlg },
|
|
|
|
|
|
+ components: { mPage, mDialog, InteractionDlg, LabelDlg, RemindDlg, FeedbackDlg },
|
|
props: {},
|
|
props: {},
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
@@ -222,6 +219,7 @@ export default {
|
|
dlgLabelList: {}, //
|
|
dlgLabelList: {}, //
|
|
isShowRemindDlg: false, // 消息提醒的弹框
|
|
isShowRemindDlg: false, // 消息提醒的弹框
|
|
remindList: {}, // 消息提醒的数据
|
|
remindList: {}, // 消息提醒的数据
|
|
|
|
+ showFeedbackDlg: false, // 交流反馈的弹框
|
|
};
|
|
};
|
|
},
|
|
},
|
|
computed: {},
|
|
computed: {},
|
|
@@ -436,6 +434,11 @@ export default {
|
|
this.dlgLabelList = row;
|
|
this.dlgLabelList = row;
|
|
this.isShowLabelDlg = true;
|
|
this.isShowLabelDlg = true;
|
|
},
|
|
},
|
|
|
|
+ // 点击了交流反馈
|
|
|
|
+ feedbackHandler(item) {
|
|
|
|
+ this.remindList = item;
|
|
|
|
+ this.showFeedbackDlg = true;
|
|
|
|
+ },
|
|
},
|
|
},
|
|
/* 页面跳转前记录参数 */
|
|
/* 页面跳转前记录参数 */
|
|
beforeRouteLeave(to, from, next) {
|
|
beforeRouteLeave(to, from, next) {
|