| 1 |
- {"code":"/*!\n * build: vue-admin-beautiful \n * copyright: chuzhixin 1204505056@qq.com \n * time: 2022-12-12 09:51:32\n */\n(window[\"webpackJsonp\"]=window[\"webpackJsonp\"]||[]).push([[\"chunk-78acde37\"],{\"24cf\":function(t,e,a){},6399:function(t,e,a){\"use strict\";a.r(e);var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a(\"div\",{staticStyle:{padding:\"15px\"}},[a(\"div\",{staticClass:\"view-model\"},[a(\"div\",{staticClass:\"title-view\"},[a(\"span\",{staticClass:\"tit-line\",style:{backgroundColor:t.themeA}}),t._v(\" 重点运营人群 \")]),a(\"el-row\",{attrs:{gutter:20}},t._l(t.qun_list_top,(function(e,n){return a(\"el-col\",{key:n,attrs:{span:8}},[a(\"div\",{staticClass:\"qun-li\"},[a(\"div\",{staticClass:\"clearfix qun-top-view\",style:{backgroundColor:e.color}},[a(\"div\",{staticClass:\"float_left icon-div\"},[a(\"i\",{class:e.icon})]),a(\"div\",{staticClass:\"float_left qun-info-view\"},[a(\"p\",{staticClass:\"qun-name-p\"},[t._v(\" \"+t._s(e.name)+\" \")]),a(\"p\",{staticClass:\"qun-description-p\"},[t._v(\" \"+t._s(e.description)+\" \")])])]),a(\"ul\",{staticClass:\"qun-num-ul\"},[a(\"li\",{staticClass:\"qun-num-li\"},[a(\"p\",[t._v(\"人群总数\")]),a(\"p\",{staticClass:\"num-text-p\"},[t._v(\"0\")])]),a(\"li\",{staticClass:\"qun-num-li\"},[a(\"p\",[t._v(\"昨日访问\")]),a(\"p\",{staticClass:\"num-text-p\"},[t._v(\"0\")])]),a(\"li\",{staticClass:\"qun-num-li\"},[a(\"p\",[t._v(\"昨日成交\")]),a(\"p\",{staticClass:\"num-text-p\"},[t._v(\"0\")])])]),a(\"ul\",{staticClass:\"qun-btn-ul\"},[a(\"li\",{on:{click:function(e){return t.$router.push(\"/Customer/CustomerAdmin/ClusteringAnalyze/1\")}}},[t._v(\" 人群分析 \")]),a(\"li\",{on:{click:function(e){return t.$router.push(\"/Customer/CustomerAdmin/CustomerList\")}}},[t._v(\" 客户列表 \")])])])])})),1)],1),a(\"div\",{staticClass:\"view-model\"},[a(\"div\",{staticClass:\"title-view\"},[a(\"span\",{staticClass:\"tit-line\",style:{backgroundColor:t.themeA}}),t._v(\" 我的人群库 \")]),a(\"div\",[a(\"el-tabs\",{attrs:{type:\"card\"},model:{value:t.activeName,callback:function(e){t.activeName=e},expression:\"activeName\"}},[a(\"el-tab-pane\",{attrs:{name:\"first\",label:\"自定义人群\"}},[a(\"div\",{staticClass:\"clearfix\",staticStyle:{\"padding-bottom\":\"10px\"}},[a(\"div\",{staticClass:\"float_left\"},[a(\"el-input\",{attrs:{size:\"mini\",placeholder:\"请输入人群名称\"},model:{value:t.qun_name,callback:function(e){t.qun_name=e},expression:\"qun_name\"}},[a(\"el-button\",{attrs:{slot:\"append\",icon:\"el-icon-search\"},slot:\"append\"})],1)],1),a(\"el-button\",{staticClass:\"float_right\",attrs:{type:\"primary\",size:\"mini\"},on:{click:function(e){return t.$router.push(\"/Customer/CustomerAdmin/AddClustering\")}}},[t._v(\" 新建人群 \")])],1)]),a(\"el-tab-pane\",{attrs:{name:\"second\",label:\"系统推荐人群\"}})],1),a(\"el-table\",{staticStyle:{width:\"100%\"},attrs:{border:\"\",data:t.qun_list}},[a(\"el-table-column\",{attrs:{prop:\"name\",label:\"人群名称\",width:\"180\",align:\"center\"}}),a(\"el-table-column\",{attrs:{prop:\"dingyi\",label:\"人群定义\",\"min-width\":\"300\",align:\"center\",\"show-overflow-tooltip\":\"\"}}),a(\"el-table-column\",{attrs:{prop:\"num\",label:\"人群数量\",width:\"180\",align:\"center\"}}),a(\"el-table-column\",{attrs:{prop:\"updateTime\",label:\"更新时间\",width:\"180\",align:\"center\"}}),a(\"el-table-column\",{attrs:{prop:\"handelren\",label:\"操作人\",width:\"180\",align:\"center\"}}),a(\"el-table-column\",{attrs:{fixed:\"right\",label:\"操作\",width:\"200\",align:\"center\"},scopedSlots:t._u([{key:\"default\",fn:function(e){return[a(\"el-tooltip\",{attrs:{effect:\"dark\",content:\"短信群发\",placement:\"top\"}},[a(\"el-button\",{attrs:{type:\"warning\",size:\"mini\"}},[a(\"i\",{staticClass:\"el-icon-chat-dot-square\"})])],1),\"first\"===t.activeName?a(\"el-tooltip\",{attrs:{effect:\"dark\",content:\"编辑\",placement:\"top\"}},[a(\"el-button\",{attrs:{type:\"primary\",size:\"mini\"},on:{click:function(a){return t.editData(e.row)}}},[a(\"i\",{staticClass:\"fa fa-pencil-square-o\",attrs:{\"aria-hidden\":\"true\"}})])],1):t._e(),\"first\"===t.activeName?a(\"el-tooltip\",{attrs:{effect:\"dark\",content:\"删除\",placement:\"top\"}},[a(\"el-button\",{attrs:{type:\"danger\",size:\"mini\"}},[a(\"i\",{staticClass:\"el-icon-delete\"})])],1):t._e()]}}])})],1),a(\"FooterPage\",{attrs:{\"page-size\":t.pageSize,\"total-page\":t.total,\"current-page\":t.page},on:{\"update:totalPage\":function(e){t.total=e},\"update:total-page\":function(e){t.total=e},\"update:currentPage\":function(e){t.page=e},\"update:current-page\":function(e){t.page=e},pageChange:t.pageChange,sizeChange:t.sizeChange}})],1)])])},i=[],s={name:\"CustomerClustering\",data(){return{qun_list_top:[{name:\"兴趣人群\",icon:\"fa fa-heart-o\",description:\"近7天有加商品到购物车,但是没有购买过商品的客户\",color:\"rgb(38, 159, 255)\"},{name:\"新成交客户人群\",icon:\"fa fa-handshake-o\",description:\"近720天有且仅有一次成交,且成交发生在近90天内的客户\",color:\"rgb(47, 174, 68)\"}],activeName:\"first\",pageSize:10,total:0,page:1,qun_list:[{name:\"最具购买力人群\",num:10,updateTime:\"2019-10-31 09:47:45\",handelren:\"小米\",dingyi:\"最近7天内有访问;\\n\\n最近2天内有加入购物车;\\n\\n最近2天内有下单;\\n\\n最近3天内有购买;\\n\\n累计消费订单数(2年内)大于1000;\\n\\n性别(男);\\n\\n来源[手工录入];\"}],qun_name:\"\"}},methods:{pageChange(t){this.page=t},sizeChange(t){this.pageSize=t,this.pageChange(1)},editData(){this.$router.push(\"/Customer/CustomerAdmin/EditClustering/1\")}}},l=s,o=(a(\"7b4c\"),a(\"2877\")),r=Object(o[\"a\"])(l,n,i,!1,null,\"de4a94cc\",null);e[\"default\"]=r.exports},\"7b4c\":function(t,e,a){\"use strict\";a(\"24cf\")}}]);","extractedComments":[]}
|