CRMEB/crmeb/public/admin/js/chunk-36d4002a.afdb2b50.js
2023-02-14 21:14:49 +08:00

1 line
24 KiB
JavaScript

(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-36d4002a"],{"6af8":function(t,e,n){},"90e7":function(t,e,n){"use strict";n.d(e,"t",(function(){return a})),n.d(e,"j",(function(){return o})),n.d(e,"Ib",(function(){return c})),n.d(e,"Hb",(function(){return i})),n.d(e,"i",(function(){return u})),n.d(e,"eb",(function(){return s})),n.d(e,"Mb",(function(){return d})),n.d(e,"c",(function(){return l})),n.d(e,"d",(function(){return f})),n.d(e,"X",(function(){return m})),n.d(e,"db",(function(){return h})),n.d(e,"jb",(function(){return p})),n.d(e,"B",(function(){return g})),n.d(e,"Vb",(function(){return b})),n.d(e,"pb",(function(){return v})),n.d(e,"ob",(function(){return O})),n.d(e,"y",(function(){return j})),n.d(e,"z",(function(){return w})),n.d(e,"l",(function(){return _})),n.d(e,"fb",(function(){return y})),n.d(e,"m",(function(){return k})),n.d(e,"ib",(function(){return x})),n.d(e,"hb",(function(){return C})),n.d(e,"gb",(function(){return L})),n.d(e,"kb",(function(){return E})),n.d(e,"mb",(function(){return M})),n.d(e,"U",(function(){return S})),n.d(e,"nb",(function(){return T})),n.d(e,"zb",(function(){return U})),n.d(e,"G",(function(){return $})),n.d(e,"yb",(function(){return D})),n.d(e,"p",(function(){return F})),n.d(e,"n",(function(){return I})),n.d(e,"o",(function(){return R})),n.d(e,"q",(function(){return N})),n.d(e,"r",(function(){return P})),n.d(e,"qb",(function(){return W})),n.d(e,"Ub",(function(){return z})),n.d(e,"rb",(function(){return G})),n.d(e,"Pb",(function(){return q})),n.d(e,"sb",(function(){return A})),n.d(e,"ab",(function(){return V})),n.d(e,"Rb",(function(){return B})),n.d(e,"bb",(function(){return J})),n.d(e,"Y",(function(){return H})),n.d(e,"Z",(function(){return K})),n.d(e,"R",(function(){return Q})),n.d(e,"A",(function(){return X})),n.d(e,"E",(function(){return Y})),n.d(e,"D",(function(){return Z})),n.d(e,"v",(function(){return tt})),n.d(e,"F",(function(){return et})),n.d(e,"Tb",(function(){return nt})),n.d(e,"s",(function(){return rt})),n.d(e,"Qb",(function(){return at})),n.d(e,"Sb",(function(){return ot})),n.d(e,"x",(function(){return ct})),n.d(e,"C",(function(){return it})),n.d(e,"w",(function(){return ut})),n.d(e,"u",(function(){return st})),n.d(e,"Q",(function(){return dt})),n.d(e,"h",(function(){return lt})),n.d(e,"e",(function(){return ft})),n.d(e,"f",(function(){return mt})),n.d(e,"Jb",(function(){return ht})),n.d(e,"Kb",(function(){return pt})),n.d(e,"Lb",(function(){return gt})),n.d(e,"lb",(function(){return bt})),n.d(e,"Ab",(function(){return vt})),n.d(e,"S",(function(){return Ot})),n.d(e,"Cb",(function(){return jt})),n.d(e,"Bb",(function(){return wt})),n.d(e,"Db",(function(){return _t})),n.d(e,"Eb",(function(){return yt})),n.d(e,"Fb",(function(){return kt})),n.d(e,"Gb",(function(){return xt})),n.d(e,"Nb",(function(){return Ct})),n.d(e,"Ob",(function(){return Lt})),n.d(e,"T",(function(){return Et})),n.d(e,"g",(function(){return Mt})),n.d(e,"tb",(function(){return St})),n.d(e,"wb",(function(){return Tt})),n.d(e,"a",(function(){return Ut})),n.d(e,"b",(function(){return $t})),n.d(e,"ub",(function(){return Dt})),n.d(e,"xb",(function(){return Ft})),n.d(e,"vb",(function(){return It})),n.d(e,"k",(function(){return Rt})),n.d(e,"V",(function(){return Nt})),n.d(e,"W",(function(){return Pt})),n.d(e,"cb",(function(){return Wt})),n.d(e,"O",(function(){return zt})),n.d(e,"N",(function(){return Gt})),n.d(e,"I",(function(){return qt})),n.d(e,"H",(function(){return At})),n.d(e,"J",(function(){return Vt})),n.d(e,"M",(function(){return Bt})),n.d(e,"L",(function(){return Jt})),n.d(e,"P",(function(){return Ht})),n.d(e,"K",(function(){return Kt})),n("99af");var r=n("6b6c");function a(t){return Object(r.a)({url:"setting/config/header_basics",method:"get",params:t})}function o(t,e){return Object(r.a)({url:e,method:"get",params:t})}function c(t){return Object(r.a)({url:t.url,method:"get",params:t.data})}function i(){return Object(r.a)({url:"notify/sms/temp/create",method:"get"})}function u(t){return Object(r.a)({url:"serve/login",method:"post",data:t})}function s(t){return Object(r.a)({url:"serve/modify",method:"post",data:t})}function d(t){return Object(r.a)({url:"serve/update_phone",method:"post",data:t})}function l(t){return Object(r.a)({url:"serve/captcha",method:"post",data:t})}function f(t){return Object(r.a)({url:"serve/checkCode",method:"post",data:t})}function m(t){return Object(r.a)({url:"serve/register",method:"post",data:t})}function h(){return Object(r.a)({url:"serve/info",method:"get"})}function p(t){return Object(r.a)({url:"serve/sms/sign",method:"PUT",data:t})}function g(t){return Object(r.a)({url:"app/wechat/kefu/login/".concat(t),method:"get"})}function b(t){return Object(r.a)({url:"app/wechat/speechcraft",method:"get",params:t})}function v(t){return Object(r.a)({url:"app/wechat/speechcraft/".concat(t,"/edit"),method:"get"})}function O(){return Object(r.a)({url:"app/wechat/speechcraft/create",method:"get"})}function j(t){return Object(r.a)({url:"app/feedback",method:"get",params:t})}function w(t){return Object(r.a)({url:"app/feedback/".concat(t,"/edit"),method:"get"})}function _(){return Object(r.a)({url:"serve/export_all",method:"get"})}function y(){return Object(r.a)({url:"serve/open",method:"get"})}function k(t){return Object(r.a)({url:"serve/export_temp",method:"get",params:t})}function x(t){return Object(r.a)({url:"serve/record",method:"get",params:t})}function C(t){return Object(r.a)({url:"serve/open",method:"get",params:t})}function L(t){return Object(r.a)({url:"serve/opn_express",method:"post",data:t})}function E(t){return Object(r.a)({url:"serve/sms/open",method:"get",params:t})}function M(t){return Object(r.a)({url:"serve/meal_list",method:"get",params:t})}function S(t){return Object(r.a)({url:"serve/pay_meal",method:"post",data:t})}function T(t){return Object(r.a)({url:"notify/sms/record",method:"get",params:t})}function U(){return Object(r.a)({url:"merchant/store",method:"GET"})}function $(){return Object(r.a)({url:"merchant/store/address",method:"GET"})}function D(t){return Object(r.a)({url:"merchant/store/".concat(t.id),method:"POST",data:t})}function F(t){return Object(r.a)({url:"freight/express",method:"get",params:t})}function I(){return Object(r.a)({url:"/freight/express/create",method:"get"})}function R(t){return Object(r.a)({url:"freight/express/".concat(t,"/edit"),method:"get"})}function N(t){return Object(r.a)({url:"freight/express/set_status/".concat(t.id,"/").concat(t.status),method:"PUT"})}function P(){return Object(r.a)({url:"freight/express/sync_express",method:"get"})}function W(){return Object(r.a)({url:"app/wechat/speechcraftcate",method:"get"})}function z(){return Object(r.a)({url:"app/wechat_qrcode/cate/list",method:"get"})}function G(){return Object(r.a)({url:"app/wechat/speechcraftcate/create",method:"get"})}function q(t){return Object(r.a)({url:"app/wechat_qrcode/cate/create/".concat(t),method:"get"})}function A(t){return Object(r.a)({url:"app/wechat/speechcraftcate/".concat(t,"/edit"),method:"get"})}function V(t){return Object(r.a)({url:"setting/role",method:"GET",params:t})}function B(t){return Object(r.a)({url:"app/wechat_qrcode/list",method:"GET",params:t})}function J(t){return Object(r.a)({url:"setting/role/set_status/".concat(t.id,"/").concat(t.status),method:"PUT"})}function H(t){return Object(r.a)({url:"setting/role/".concat(t.id),method:"post",data:t})}function K(t){return Object(r.a)({url:"setting/role/".concat(t,"/edit"),method:"get"})}function Q(){return Object(r.a)({url:"setting/role/create",method:"get"})}function X(t){return Object(r.a)({url:"app/wechat/kefu",method:"get",params:t})}function Y(t){return Object(r.a)({url:"app/wechat/kefu/create",method:"get",params:t})}function Z(){return Object(r.a)({url:"app/wechat/kefu/add",method:"get"})}function tt(t){return Object(r.a)({url:"app/wechat/kefu",method:"post",data:t})}function et(t){return Object(r.a)({url:"app/wechat/kefu/set_status/".concat(t.id,"/").concat(t.status),method:"PUT"})}function nt(t){return Object(r.a)({url:"app/wechat_qrcode/set_status/".concat(t.id,"/").concat(t.status),method:"PUT"})}function rt(t){return Object(r.a)({url:"app/wechat_qrcode/user_list/".concat(t.id),method:"get",params:t})}function at(t){return Object(r.a)({url:"app/wechat_qrcode/info/".concat(t),method:"get"})}function ot(t,e){return Object(r.a)({url:"app/wechat_qrcode/save/".concat(t),method:"post",data:e})}function ct(t){return Object(r.a)({url:"app/wechat/kefu/".concat(t,"/edit"),method:"GET"})}function it(t,e){return Object(r.a)({url:"app/wechat/kefu/record/".concat(e),method:"GET",params:t})}function ut(t){return Object(r.a)({url:"app/wechat/kefu/chat_list",method:"GET",params:t})}function st(){return Object(r.a)({url:"notify/sms/is_login",method:"GET"})}function dt(){return Object(r.a)({url:"notify/sms/logout",method:"GET"})}function lt(t){return Object(r.a)({url:"setting/city/list/".concat(t),method:"get"})}function ft(t){return Object(r.a)({url:"setting/city/add/".concat(t),method:"get"})}function mt(t){return Object(r.a)({url:"setting/city/".concat(t,"/edit"),method:"get"})}function ht(t){return Object(r.a)({url:"setting/shipping_templates/list",method:"get",params:t})}function pt(t){return Object(r.a)({url:"setting/shipping_templates/city_list",method:"get"})}function gt(t,e){return Object(r.a)({url:"setting/shipping_templates/save/".concat(t),method:"post",data:e})}function bt(t){return Object(r.a)({url:"setting/shipping_templates/".concat(t,"/edit"),method:"get"})}function vt(){return Object(r.a)({url:"merchant/store/get_header",method:"get"})}function Ot(t){return Object(r.a)({url:"merchant/store",method:"get",params:t})}function jt(t,e){return Object(r.a)({url:"merchant/store/set_show/".concat(t,"/").concat(e),method:"put"})}function wt(t){return Object(r.a)({url:"merchant/store/get_info/".concat(t),method:"get"})}function _t(t){return Object(r.a)({url:"merchant/store_staff",method:"get",params:t})}function yt(){return Object(r.a)({url:"merchant/store_staff/create",method:"get"})}function kt(t){return Object(r.a)({url:"merchant/store_staff/".concat(t,"/edit"),method:"get"})}function xt(t,e){return Object(r.a)({url:"merchant/store_staff/set_show/".concat(t,"/").concat(e),method:"put"})}function Ct(t){return Object(r.a)({url:"merchant/verify_order",method:"get",params:t})}function Lt(t){return Object(r.a)({url:"merchant/verify/spread_info/".concat(t),method:"get"})}function Et(){return Object(r.a)({url:"merchant/store_list",method:"get"})}function Mt(){return Object(r.a)({url:"setting/city/clean_cache",method:"get"})}function St(){return Object(r.a)({url:"system/config/storage/config",method:"get"})}function Tt(t){return Object(r.a)({url:"system/config/storage/config",method:"post",data:t})}function Ut(t){return Object(r.a)({url:"system/config/storage/form/".concat(t),method:"get"})}function $t(t){return Object(r.a)({url:"system/config/storage/create/".concat(t),method:"get"})}function Dt(t){return Object(r.a)({url:"system/config/storage",method:"get",params:t})}function Ft(t){return Object(r.a)({url:"system/config/storage/synch/".concat(t),method:"put"})}function It(t){return Object(r.a)({url:"system/config/storage/status/".concat(t),method:"put"})}function Rt(t){return Object(r.a)({url:"system/config/storage/domain/".concat(t),method:"get"})}function Nt(){return Object(r.a)({url:"setting/config_list/31",method:"get"})}function Pt(t){return Object(r.a)({url:"setting/config/save_basics",method:"post",data:t})}function Wt(t){return Object(r.a)({url:"system/config/storage/save_type/".concat(t),method:"get"})}function zt(t){return Object(r.a)({url:"setting/lang_type/list",method:"get",params:t})}function Gt(t){return Object(r.a)({url:"setting/lang_type/form/".concat(t),method:"get"})}function qt(t){return Object(r.a)({url:"setting/lang_code/list",method:"get",params:t})}function At(t){return Object(r.a)({url:"setting/lang_code/info",method:"get",params:t})}function Vt(t){return Object(r.a)({url:"setting/lang_code/save",method:"post",data:t})}function Bt(t){return Object(r.a)({url:"setting/lang_country/list",method:"get",params:t})}function Jt(t){return Object(r.a)({url:"setting/lang_country/form/".concat(t),method:"get"})}function Ht(t,e){return Object(r.a)({url:"setting/lang_type/status/".concat(t,"/").concat(e),method:"put"})}function Kt(t){return Object(r.a)({url:"setting/lang_code/translate",method:"post",data:t})}},d99c:function(t,e,n){"use strict";n.r(e);var r=n("c964"),a=n("fc11"),o=n("f3f3"),c=(n("96cf"),n("d81d"),n("d3b7"),n("159b"),n("a434"),n("2f62")),i=n("90e7");o={name:"index",filters:{typeFilter:function(t){return{wechat:"微信用户",routine:"小程序用户"}[t]}},computed:Object(o.a)(Object(o.a)({},Object(c.e)("media",["isMobile"])),{},{labelWidth:function(){return this.isMobile?void 0:80},labelPosition:function(){return this.isMobile?"top":"left"}}),data:function(){var t={isChat:!0,formValidate3:{page:1,limit:15},total3:0,loading3:!1,modals3:!1,tabList:[],formValidate5:{page:1,limit:15,uid:0,to_uid:0,id:0},total2:0,loading2:!1,tableList5:[],FromData:null,formValidate:{page:1,limit:15,data:"",type:"",nickname:""},tableList2:[],modals:!1,total:0,tableFrom:{page:1,limit:15,cate_id:0,name:""},userData:{id:0,page:1,limit:15},timeVal:[],loading:!1,tableList:[],columns4:[{title:"UID",key:"uid",minWidth:120},{title:"用户头像",slot:"avatar",minWidth:120},{title:"用户昵称",key:"nickname",minWidth:120}],columns1:[{title:"二维码",slot:"image",width:80},{title:"二维码名称",key:"name",minWidth:120},{title:"总关注数",key:"follow",minWidth:120},{title:"昨日新增关注",key:"y_follow",minWidth:120},{title:"用户标签",slot:"label_name",minWidth:60},{title:"时间",slot:"add_time",minWidth:120},{title:"关联推广员",slot:"avatar",minWidth:60},{title:"状态",slot:"status",minWidth:60},{title:"操作",slot:"action",fixed:"right",minWidth:150}]};return Object(a.a)(t,"loading2",!1),Object(a.a)(t,"total2",0),Object(a.a)(t,"addFrom",{uids:[]}),Object(a.a)(t,"selections",[]),Object(a.a)(t,"rows",{}),Object(a.a)(t,"rowRecord",{}),Object(a.a)(t,"theme3","light"),Object(a.a)(t,"labelSort",[]),Object(a.a)(t,"sortName",""),Object(a.a)(t,"current",0),Object(a.a)(t,"uid",0),t},activated:function(){this.getUserLabelAll()},methods:{changeMenu:function(t,e){switch(this.orderId=t.id,e){case"1":this.downLoadCode(t.image);break;case"2":this.$router.push({path:"/admin/marketing/channel_code/code_statistic?id="+t.id});break;case"3":this.modals=!0,this.userData.id=t.id,this.getUserList(),this.break}},downLoadCode:function(t){if(!t)return this.$Message.warning("暂无二维码");var e=new Image;e.src=t,e.setAttribute("crossOrigin","anonymous"),e.onload=function(){var t=document.createElement("canvas");t.width=e.width,t.height=e.height,t.getContext("2d").drawImage(e,0,0,e.width,e.height);t=t.toDataURL();var n=document.createElement("a"),r=new MouseEvent("click");n.download=name||"photo",n.href=t,n.dispatchEvent(r)}},pageChangeUser:function(t){this.userData.page=t,this.getUserList()},getUserList:function(){var t=this;Object(i.s)(this.userData).then(function(){var e=Object(r.a)(regeneratorRuntime.mark((function e(n){var r,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=n.data,a=[],r.list.map((function(t){a.push(t.user)})),t.tabList=a,t.total2=r.count,t.loading2=!1;case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){t.loading=!1,t.tabList=[],t.$Message.error(e.msg)}))},getUserLabelAll:function(t){var e=this;Object(i.Ub)().then((function(n){n=n.data.data,n.unshift({cate_name:"全部",id:""}),n.forEach((function(t){t.status=!1})),t||(e.sortName=n[0].id,e.tableFrom.cate_id=n[0].id,e.getList()),e.labelSort=n}))},addSort:function(){var t=this;this.$modalForm(Object(i.Pb)(0)).then((function(){return t.getUserLabelAll()}))},labelEdit:function(t){var e=this;this.$modalForm(Object(i.Pb)(t.id)).then((function(){return e.getUserLabelAll(1)}))},deleteSort:function(t,e,n){var r=this;e={title:e,num:n,url:"app/wechat_qrcode/cate/del/".concat(t.id),method:"DELETE",ids:""};this.$modalSure(e).then((function(t){r.$Message.success(t.msg),r.labelSort.splice(n,1),r.labelSort=[],r.getUserLabelAll()})).catch((function(t){r.$Message.error(t.msg)}))},showMenu:function(t){this.labelSort.forEach((function(e){e.id==t.id?e.status=!t.status:e.status=!1}))},bindMenuItem:function(t,e){this.tableFrom.page=1,this.current=e,this.labelSort.forEach((function(t){t.status=!1})),this.tableFrom.cate_id=t.id,this.getList()},cancel:function(){this.formValidate={page:1,limit:10,data:"",type:"",nickname:""}},edit:function(t){this.$router.push({path:"/admin/marketing/channel_code/create?id="+t.id})},add:function(){this.$router.push({path:"/admin/marketing/channel_code/create"})},getListService:function(){var t=this;this.loading2=!0,kefucreateApi(this.formValidate).then(function(){var e=Object(r.a)(regeneratorRuntime.mark((function e(n){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=n.data,t.tableList2=r.list,t.total2=r.count,t.tableList2.map((function(t){t._isChecked=!1})),t.loading2=!1;case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){t.loading2=!1,t.$Message.error(e.msg)}))},userSearchs:function(){this.formValidate.page=1,this.getList()},del:function(t,e,n){var r=this;e={title:e,num:n,url:"/app/wechat_qrcode/del/".concat(t.id),method:"DELETE",ids:""};this.$modalSure(e).then((function(t){r.$Message.success(t.msg),r.tableList.splice(n,1)})).catch((function(t){r.$Message.error(t.msg)}))},getList:function(){var t=this;this.loading=!0,Object(i.Rb)(this.tableFrom).then(function(){var e=Object(r.a)(regeneratorRuntime.mark((function e(n){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=n.data,t.tableList=r.list,t.total=n.data.count,t.loading=!1;case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){t.loading=!1,t.$Message.error(e.msg)}))},pageChange:function(t){this.tableFrom.page=t,this.getList()},onchangeIsShow:function(t){var e=this;t={id:t.id,status:t.status};Object(i.Tb)(t).then(function(){var t=Object(r.a)(regeneratorRuntime.mark((function t(n){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.$Message.success(n.msg);case 1:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()).catch((function(t){e.$Message.error(t.msg)}))}}},n("e3e6"),c=n("2877"),n=Object(c.a)(o,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("Row",{staticClass:"ivu-mt box-wrapper"},[n("Col",{staticClass:"left-wrapper",attrs:{span:"3"}},[n("Menu",{attrs:{theme:t.theme3,"active-name":t.sortName,width:"auto"}},[n("MenuGroup",t._l(t.labelSort,(function(e,r){return n("MenuItem",{key:r,staticClass:"menu-item",class:r===t.current?"showOn":"",attrs:{name:e.id},nativeOn:{click:function(n){return t.bindMenuItem(e,r)}}},[t._v("\n "+t._s(e.cate_name)+"\n "),0!=r?n("div",{staticClass:"icon-box"},[n("Icon",{attrs:{type:"ios-more",size:"24"},on:{click:function(n){return n.stopPropagation(),t.showMenu(e)}}})],1):t._e(),0!=r?n("div",{directives:[{name:"show",rawName:"v-show",value:e.status,expression:"item.status"}],staticClass:"right-menu ivu-poptip-inner"},[n("div",{staticClass:"ivu-poptip-body",on:{click:function(n){return t.labelEdit(e)}}},[n("div",{staticClass:"ivu-poptip-body-content"},[n("div",{staticClass:"ivu-poptip-body-content-inner"},[t._v("编辑分类")])])]),n("div",{staticClass:"ivu-poptip-body",on:{click:function(n){return t.deleteSort(e,"删除分类",r)}}},[n("div",{staticClass:"ivu-poptip-body-content"},[n("div",{staticClass:"ivu-poptip-body-content-inner"},[t._v("删除分类")])])])]):t._e()])})),1)],1)],1),n("Col",{ref:"rightBox",attrs:{span:"21"}},[n("Card",{attrs:{bordered:!1,"dis-hover":""}},[n("Row",{staticClass:"mb20",attrs:{type:"flex"}},[n("Col",{attrs:{span:"20"}},[n("Button",{directives:[{name:"auth",rawName:"v-auth",value:["marketing-channel_code-create"],expression:"['marketing-channel_code-create']"}],staticClass:"mr10",attrs:{type:"primary",icon:"md-add"},on:{click:t.add}},[t._v("新建二维码")]),n("Button",{directives:[{name:"auth",rawName:"v-auth",value:["marketing-channel_code-create"],expression:"['marketing-channel_code-create']"}],staticStyle:{"margin-left":"10px"},attrs:{type:"success",icon:"md-add"},on:{click:t.addSort}},[t._v("添加分组")])],1),n("Col",{attrs:{span:"4"}},[n("Input",{attrs:{search:"","enter-button":"搜索",placeholder:"请输入二维码名称"},on:{"on-search":t.userSearchs},model:{value:t.tableFrom.name,callback:function(e){t.$set(t.tableFrom,"name",e)},expression:"tableFrom.name"}})],1)],1),n("Table",{attrs:{columns:t.columns1,data:t.tableList,loading:t.loading,"highlight-row":"","no-userFrom-text":"暂无数据","no-filtered-userFrom-text":"暂无筛选结果"},scopedSlots:t._u([{key:"image",fn:function(t){var e=t.row;return t.index,[n("div",{directives:[{name:"viewer",rawName:"v-viewer"}],staticClass:"tabBox_img"},[n("img",{directives:[{name:"lazy",rawName:"v-lazy",value:e.image,expression:"row.image"}]})])]}},{key:"avatar",fn:function(t){var e=t.row;return t.index,[n("div",{directives:[{name:"viewer",rawName:"v-viewer"}],staticClass:"tabBox_img"},[n("img",{directives:[{name:"lazy",rawName:"v-lazy",value:e.avatar,expression:"row.avatar"}]})])]}},{key:"label_name",fn:function(e){var r=e.row;return e.index,[r.label_name.length?n("div",t._l(r.label_name,(function(e,r){return n("Tag",{key:r,attrs:{checkable:!1,color:"primary"}},[t._v(t._s(e))])})),1):n("div",[t._v("--")])]}},{key:"add_time",fn:function(e){var r=e.row;return e.index,[0===r.stop?n("span",[t._v(" 永久 ")]):t._e(),1===r.stop?n("span",[t._v(" "+t._s(r.add_time)+" - "+t._s(r.end_time))]):t._e(),-1===r.stop?n("span",[t._v("已过期")]):t._e()]}},{key:"status",fn:function(e){var r=e.row;return e.index,[n("i-switch",{attrs:{value:r.status,"true-value":1,"false-value":0,disabled:2==r.lottery_status,size:"large"},on:{"on-change":function(e){return t.onchangeIsShow(r)}},model:{value:r.status,callback:function(e){t.$set(r,"status",e)},expression:"row.status"}},[n("span",{attrs:{slot:"open"},slot:"open"},[t._v("开启")]),n("span",{attrs:{slot:"close"},slot:"close"},[t._v("关闭")])])]}},{key:"action",fn:function(e){var r=e.row,a=e.index;return[n("a",{on:{click:function(e){return t.edit(r)}}},[t._v("编辑")]),n("Divider",{attrs:{type:"vertical"}}),n("a",{on:{click:function(e){return t.del(r,"删除二维码",a)}}},[t._v("删除")]),n("Divider",{attrs:{type:"vertical"}}),n("Dropdown",{attrs:{transfer:"true"},on:{"on-click":function(e){return t.changeMenu(r,e)}}},[n("a",{attrs:{href:"javascript:void(0)"}},[t._v("更多\n "),n("Icon",{attrs:{type:"ios-arrow-down"}})],1),n("DropdownMenu",{attrs:{slot:"list"},slot:"list"},[n("DropdownItem",{attrs:{name:"1"}},[t._v("下载")]),n("DropdownItem",{attrs:{name:"2"}},[t._v("统计")]),n("DropdownItem",{attrs:{name:"3"}},[t._v("用户列表")])],1)],1)]}}])}),n("div",{staticClass:"acea-row row-right page"},[n("Page",{attrs:{total:t.total,"show-elevator":"","show-total":"","page-size":t.tableFrom.limit},on:{"on-change":t.pageChange}})],1)],1)],1)],1),n("Modal",{attrs:{scrollable:"","footer-hide":"",closable:"",title:"渠道码用户列表","mask-closable":!1,width:"900"},model:{value:t.modals,callback:function(e){t.modals=e},expression:"modals"}},[n("Table",{ref:"selection",attrs:{columns:t.columns4,data:t.tabList,"no-data-text":"暂无数据","highlight-row":"","max-height":"400","no-filtered-data-text":"暂无筛选结果"},scopedSlots:t._u([{key:"avatar",fn:function(t){var e=t.row;return t.index,[n("div",{directives:[{name:"viewer",rawName:"v-viewer"}],staticClass:"tabBox_img"},[n("img",{directives:[{name:"lazy",rawName:"v-lazy",value:e.avatar,expression:"row.avatar"}]})])]}}])}),n("div",{staticClass:"acea-row row-right page"},[n("Page",{attrs:{total:t.total2,"show-elevator":"","show-total":"",loading:t.loading2,"page-size":t.userData.limit},on:{"on-change":t.pageChangeUser}})],1)],1)],1)}),[],!1,null,"0bc99491",null);e.default=n.exports},e3e6:function(t,e,n){"use strict";var r=n("6af8");n.n(r).a}}]);