webpackJsonp([18],{BtI9:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("QOex"),r={name:"tag-container",mixins:[a("DMDI").a,n.a],props:{data:{type:Array,default:function(){return[]}},type:String,refersh:Object},data:function(){return{tableData:[],tagData:{}}},methods:{addTag:function(t){this.$emit("addTag",t)},handleTrackParam:function(t,e){var a={addTag:function(){return{data:{id:e.tagId,name:e.tagName}}}}[t];return{fn:function(){},data:a?a():{}}}},watch:{data:{immediate:!0,handler:function(t){this.tableData=t}},refersh:{immediate:!0,handler:function(t){if(t.changeRefersh){var e=this.tableData.findIndex(function(e){return t.tagId===e.tagId});this.tableData[e].refersh=!0}}}},computed:{getCodeAuth:function(){return this.$getButtonLimit(this.$buttonCode.memberTagCreateGroup)},getCode:function(){return this.$buttonCode.memberTagCreateGroup}}},o={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"tag-some-list"},[a("el-table",{attrs:{data:t.tableData}},[a("el-table-column",{attrs:{label:"标签名称",prop:"tagName","min-width":"120"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{staticClass:"tag-name"},[t._v(t._s(e.row.tagName))]),t._v(" "),a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"添加标签",placement:"top"}},[t.getCodeAuth?a("i",{directives:[{name:"track",rawName:"v-track:common.click",value:t.handleTrackParam("addTag",e.row),expression:"handleTrackParam('addTag', scope.row)",arg:"common",modifiers:{click:!0}}],staticClass:"iconfont icon-tag-name icon-PlusOutlined",attrs:{"limit-code":t.getCode},on:{click:function(a){return t.addTag(e.row)}}}):t._e()])]}}])}),t._v(" "),"system"!=t.type?a("el-table-column",{attrs:{label:"覆盖人数",prop:"memberCount","min-width":"140","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n        "+t._s(e.row.memberCount?(e.row.memberCount|t.formatNum)+"人":"--")+"\n      ")]}}])},[a("template",{slot:"header"},[t._v("\n        覆盖人数\n        "),a("el-popover",{attrs:{width:"260",trigger:"hover",placement:"top"}},[a("div",{staticStyle:{color:"#303133"}},[t._v("\n            标签下不同标签值可能覆盖相同的会员，因此此处“标签”覆盖人数去重显示（如“喜欢的颜色-白、红、黑、蓝”，某会员身上可能同时具备“白、黑”二种标签值）\n          ")]),t._v(" "),a("i",{staticClass:"iconfont icon-QuestionCircleOutlined refresh",attrs:{slot:"reference"},slot:"reference"})])],1)],2):a("el-table-column",{attrs:{label:"是否实时",prop:"isActive","min-width":"40"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(" "+t._s(1==e.row.isActive?"实时":"非实时")+" ")])]}}])}),t._v(" "),a("el-table-column",{attrs:{"min-width":"200",label:"标签描述",prop:"tagDescribe","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n        "+t._s(e.row.tagDescribe||"--")+"\n      ")]}}])})],1)],1)},staticRenderFns:[]};var i=a("VU/8")(r,o,!1,function(t){a("Qtbd")},"data-v-d555680c",null);e.default=i.exports},Qtbd:function(t,e){}});