|
@@ -93,7 +93,19 @@
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="" width="350">
|
|
|
- <div slot="header" slot-scope="{}" style="text-align: center">标签</div>
|
|
|
+ <div slot="header" slot-scope="{}" style="text-align: center">
|
|
|
+ <el-popover placement="top-start" width="376" trigger="hover">
|
|
|
+ <span slot="reference">
|
|
|
+ <p style="cursor: pointer">标签 <i class="el-icon-info" style="color: #606266" /></p>
|
|
|
+ </span>
|
|
|
+ <div class="popover-item">
|
|
|
+ <span class="label-tag" :style="lookLabelColor(item)" v-for="item in lableDescribe" :key="item.SourceType" @click="labelChildren(item.RaiLabelId)">
|
|
|
+ {{ item.Label }}
|
|
|
+ <i @click.stop="deleteLabel(item)" v-if="item.SourceType == 6" class="el-icon-circle-close"></i>
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
+ </el-popover>
|
|
|
+ </div>
|
|
|
<template slot-scope="{ row }">
|
|
|
<div class="popover-item">
|
|
|
<span class="label-tag" :style="lookLabelColor(item)" v-for="item in lookLabelListNumber(row)" :key="item.RaiLabelId" @click="labelChildren(item.RaiLabelId)">
|
|
@@ -157,7 +169,6 @@ 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";
|
|
|
-import { async } from "@antv/x6/lib/registry/marker/async";
|
|
|
import AddLabelDlg from "./compontents/addLabelDlg.vue";
|
|
|
|
|
|
export default {
|
|
@@ -226,6 +237,33 @@ export default {
|
|
|
|
|
|
addLabelDlgVisibility: false, // 销售输入标签
|
|
|
raiLabelId: "",
|
|
|
+
|
|
|
+ lableDescribe: [
|
|
|
+ {
|
|
|
+ Label: "搜索关键词标签",
|
|
|
+ SourceType: 1,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ Label: "产业/个股标签(线上活动/路演/路演回放)",
|
|
|
+ SourceType: 5,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ Label: "报告类型标签",
|
|
|
+ SourceType: 8,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ Label: "产业/个股标签(线下活动/路演)",
|
|
|
+ SourceType: 2,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ Label: "销售输入标签",
|
|
|
+ SourceType: 6,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ Label: "产业/个股标签(报告)",
|
|
|
+ SourceType: 7,
|
|
|
+ },
|
|
|
+ ],
|
|
|
};
|
|
|
},
|
|
|
computed: {},
|
|
@@ -487,6 +525,7 @@ export default {
|
|
|
return { backgroundColor: "#FDE5FF", color: "#891B98" };
|
|
|
case 4:
|
|
|
case 5:
|
|
|
+ case 9:
|
|
|
return { backgroundColor: "#FFEEE5", color: "#DD4D00" };
|
|
|
case 7:
|
|
|
return { backgroundColor: "#E5FCFF", color: "#076873" };
|
|
@@ -601,6 +640,7 @@ export default {
|
|
|
cursor: pointer;
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
.popover-not-have {
|
|
|
width: 100%;
|
|
|
text-align: center;
|