You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
18 KiB
1 line
18 KiB
3 years ago
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-4a2bce2d"],{"09f4":function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),Math.easeInOutQuad=function(t,e,n,a){return t/=a/2,t<1?n/2*t*t+e:(t--,-n/2*(t*(t-2)-1)+e)};var a=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){window.setTimeout(t,1e3/60)}}();function r(t){document.documentElement.scrollTop=t,document.body.parentNode.scrollTop=t,document.body.scrollTop=t}function o(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function i(t,e,n){var i=o(),c=t-i,u=20,s=0;e="undefined"===typeof e?500:e;var l=function t(){s+=u;var o=Math.easeInOutQuad(s,i,c,e);r(o),s<e?a(t):n&&"function"===typeof n&&n()};l()}},"0bf6":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"label_page"},[n("el-form",{attrs:{inline:""}},[n("el-form-item",{staticStyle:{"margin-right":"0"}},[n("el-select",{staticStyle:{width:"130px"},attrs:{size:"mini"},model:{value:t.form.model.type,callback:function(e){t.$set(t.form.model,"type",e)},expression:"form.model.type"}},t._l(t.typeList,(function(t,e){return n("el-option",{key:e,attrs:{label:t.label,value:t.value}})})),1)],1),n("el-form-item",[n("el-input",{attrs:{size:"mini"},model:{value:t.form.model.name,callback:function(e){t.$set(t.form.model,"name",e)},expression:"form.model.name"}})],1),n("el-form-item",[n("el-button",{attrs:{type:"primary",size:"mini"},on:{click:t.fetch}},[t._v("查询")]),n("el-button",{attrs:{size:"mini"},on:{click:t.reset}},[t._v("重置")])],1),n("el-form-item",{staticStyle:{float:"right"}},[n("el-button",{attrs:{type:"primary",size:"mini"},on:{click:t.add}},[t._v("新建标签")]),n("el-button",{attrs:{size:"mini"},on:{click:t.exportTag}},[t._v("导出标签")])],1)],1),n("el-table",{ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:t.tableData.records,border:"","tooltip-effect":"dark"},on:{"selection-change":t.handleSelectionChange}},[n("el-table-column",{attrs:{type:"selection",width:"55"}}),n("el-table-column",{attrs:{prop:"name",label:"标签名"}}),n("el-table-column",{attrs:{prop:"tagCount",label:"客户"}}),n("el-table-column",{attrs:{prop:"type",label:"标签类型",formatter:t.getType}}),n("el-table-column",{attrs:{prop:"tradeCondition",label:"打标条件"},scopedSlots:t._u([{key:"default",fn:function(e){return[1===e.row.type?n("span",[t._v("未设置")]):n("p",{staticClass:"condition"},[n("span",[t._v(t._s(t.getCondition(e.row.config)))]),n("span",{on:{click:function(n){return t.moreCondition(e.row)}}},[t._v("查看更多")])])]}}])}),n("el-table-column",{attrs:{label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-button",{attrs:{type:"text",size:"small"},nativeOn:{click:function(n){return n.preventDefault(),t.edit(e.row.id)}}},[t._v(" 编辑 ")]),n("el-button",{attrs:{type:"text",size:"small"},nativeOn:{click:function(n){return n.preventDefault(),t.deletes(e.row.id)}}},[t._v(" 删除 ")])]}}])})],1),n("div",{staticClass:"batch_btn"},[n("el-button",{attrs:{disabled:!t.multipleSelection.length},on:{click:function(e){return t.deletes(!1)}}},[t._v("批量删除")])],1),n("pagination",{directives:[{name:"show",rawName:"v-show",value:t.tableData.total>0,expression:"tableData.total > 0"}],attrs:{limit:t.form.size,page:t.form.current,total:Number(t.tableData.total)},on:{"update:limit":function(e){return t.$set(t.form,"size",e)},"update:page":function(e){return t.$set(t.form,"current",e)},pagination:t.fetch}}),n("Dialog",{attrs:{title:t.dialog.title,visible:t.dialog.visible,fullscreen:!1,"before-close":t.close,width:"35%"},on:{"update:visible":function(e){return t.$set(t.dialog,"visible",e)}}},[t.dialog.visible?n("more",{attrs:{info:t.dialog.info},on:{close:t.close}}):t._e()],1)],1)},r=[],o=(n("99af"),n("4160"),n("a9e3"),n("ac1f"),n("1276"),n("159b"),n("96cf"),n("1da1")),i=n("333d"),c=n("ac44"),u=n("5c96"),s=function(){var t=this,e=t.$createElement,n=t._self._c||e;
|