1 line
16 KiB
JavaScript
1 line
16 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-e734f7c6"],{"3bbe":function(t,e,n){var a=n("861d");t.exports=function(t){if(!a(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},7156:function(t,e,n){var a=n("861d"),r=n("d2bb");t.exports=function(t,e,n){var o,i;return r&&"function"==typeof(o=e.constructor)&&o!==n&&a(i=o.prototype)&&i!==n.prototype&&r(t,i),t}},"8c28":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:"outmain ba_f"},[n("div",{},[t._m(0),n("div",{staticClass:"main-icon flex t_l mar_t20"},[n("div",{staticClass:"flex-1 t_l pad_20 bortColor"},[n("div",{staticClass:"flex-bet flex-y-top"},[n("div",[n("p",{staticClass:"title6 fon_14"},[t._v("今日储值金额")]),n("p",{staticClass:"fon_30 title35 lh16 pad_tb_20"},[t._v(t._s(t.jyData.todayMoney||0))]),n("p",{staticClass:"fon_12 title6 lh25"},[t._v("今日赠送金额:"+t._s(t.jyData.todayGiveMoney||0))])]),n("div",{staticClass:"toolTip"},[n("el-tooltip",{attrs:{effect:"dark",placement:"top"}},[n("div",{attrs:{slot:"content"},slot:"content"},[t._v("今日储值金额")]),n("button",{staticClass:"el-button question-button-tooltip el-tooltip el-button--text fon_12",attrs:{type:"button"}},[n("span",[n("i",{staticClass:"el-icon-question"})])])])],1)])]),n("div",{staticClass:"flex-1 t_l pad_20 bortColor"},[n("div",{staticClass:"flex-bet flex-y-top"},[n("div",[n("p",{staticClass:"title6 fon_14"},[t._v("累计储值金额")]),n("p",{staticClass:"fon_30 title35 lh16 pad_tb_20"},[t._v(t._s(t.jyData.allMoney||0))]),n("p",{staticClass:"fon_12 title6 lh25"},[t._v("累计赠送金额:"+t._s(t.jyData.allGiveMoney||0))])]),n("div",{staticClass:"toolTip"},[n("el-tooltip",{attrs:{effect:"dark",placement:"top"}},[n("div",{attrs:{slot:"content"},slot:"content"},[t._v("累计储值金额")]),n("button",{staticClass:"el-button question-button-tooltip el-tooltip el-button--text fon_12",attrs:{type:"button"}},[n("span",[n("i",{staticClass:"el-icon-question"})])])])],1)])]),n("div",{staticClass:"flex-1 t_l pad_20 bortColor"},[n("div",{staticClass:"flex-bet flex-y-top"},[n("div",[n("p",{staticClass:"title6 fon_14"},[t._v("累计储值人数")]),n("p",{staticClass:"fon_30 title35 lh16 pad_tb_20"},[t._v(t._s(t.jyData.people||0))]),n("p",{staticClass:"fon_12 title6 lh25"},[t._v("较前一日:"+t._s(t.jyData.comparePeople||0))])]),n("div",{staticClass:"toolTip"},[n("el-tooltip",{attrs:{effect:"dark",placement:"top"}},[n("div",{attrs:{slot:"content"},slot:"content"},[t._v("累计储值人数")]),n("button",{staticClass:"el-button question-button-tooltip el-tooltip el-button--text fon_12",attrs:{type:"button"}},[n("span",[n("i",{staticClass:"el-icon-question"})])])])],1)])]),n("div",{staticClass:"flex-1 t_l pad_20 bortColor"},[n("div",{staticClass:"flex-bet flex-y-top"},[n("div",[n("p",{staticClass:"title6 fon_14"},[t._v("平台剩余余额")]),n("p",{staticClass:"fon_30 title35 lh16 pad_tb_20"},[t._v(t._s(t.jyData.surplus||0))]),n("p",{staticClass:"fon_12 title6 lh25"},[t._v("今日消耗余额:"+t._s(t.jyData.consume||0))])]),n("div",{staticClass:"toolTip"},[n("el-tooltip",{attrs:{effect:"dark",placement:"top"}},[n("div",{attrs:{slot:"content"},slot:"content"},[t._v("平台剩余余额")]),n("button",{staticClass:"el-button question-button-tooltip el-tooltip el-button--text fon_12",attrs:{type:"button"}},[n("span",[n("i",{staticClass:"el-icon-question"})])])])],1)])])])]),t._m(1),n("div",{staticClass:"pad_20 flex-bet"},[n("el-form",{staticClass:"demo-form-inline searchform",attrs:{inline:!0,model:t.formInline}},[n("el-form-item",{attrs:{label:"昵称"}},[n("el-input",{attrs:{size:"medium",placeholder:"昵称"},on:{change:t.selach},model:{value:t.formInline.name,callback:function(e){t.$set(t.formInline,"name",e)},expression:"formInline.name"}})],1),n("el-form-item",{attrs:{label:"下单时间"}},[n("el-date-picker",{attrs:{type:"daterange","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:t.selach},model:{value:t.formInline.region,callback:function(e){t.$set(t.formInline,"region",e)},expression:"formInline.region"}})],1),n("el-form-item",[n("el-button",{attrs:{type:"primary",size:"medium"},on:{click:t.selach}},[t._v("搜索")]),n("a",{staticClass:"mar_l10",attrs:{href:t.handelExport()}},[n("el-button",{attrs:{size:"medium"}},[t._v("导出")])],1)],1)],1),n("div",{staticClass:"flex"})],1),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],staticStyle:{width:"100%"},attrs:{data:t.list,"element-loading-text":t.elementLoadingText,stripe:""}},[n("el-table-column",{attrs:{prop:"outTradeNo",label:"用户信息"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("div",{staticClass:"flex flex-y-top"},[n("div",{},[n("img",{staticClass:"goodlogo bor_rad50",attrs:{src:e.row.portrait}})]),n("div",{staticClass:"mar_l10"},[n("div",{staticClass:"flex"},[n("div",{},[t._v(t._s(e.row.userName)+" "),n("el-tag",{staticClass:"mar_l5",attrs:{size:"mini",type:"info"}},[t._v("(ID:"+t._s(e.row.userId)+")")])],1)]),n("p",{staticClass:"fon_12 color_9 mar_t5"},[t._v("小程序")])])])]}}])}),n("el-table-column",{attrs:{prop:"money",label:"充值金额"}}),n("el-table-column",{attrs:{prop:"number",label:"赠送金额"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("div",{directives:[{name:"show",rawName:"v-show",value:e.row.giveMoney>0,expression:"scope.row.giveMoney>0"}]},[t._v("赠送金额:"+t._s(e.row.giveMoney))]),n("div",{directives:[{name:"show",rawName:"v-show",value:e.row.giveScore>0,expression:"scope.row.giveScore>0"}]},[t._v("赠送积分:"+t._s(e.row.giveScore))]),n("div",{directives:[{name:"show",rawName:"v-show",value:e.row.giveGrow>0,expression:"scope.row.giveGrow>0"}]},[t._v("赠送成长值:"+t._s(e.row.giveGrow))]),n("div",{directives:[{name:"show",rawName:"v-show",value:e.row.num>0,expression:"scope.row.num>0"}]},[t._v("赠送优惠券:"+t._s(e.row.num))])]}}])}),n("el-table-column",{attrs:{prop:"outTradeNo",label:"订单编号"}}),n("el-table-column",{attrs:{prop:"createdAt",label:"操作时间"}}),n("el-table-column",{attrs:{prop:"createdAt",label:"充值状态"}},[[n("div",{staticStyle:{color:"#489620"}},[t._v("充值成功")])]],2)],1),n("el-pagination",{attrs:{background:"",layout:"prev, pager, next",total:t.page.total,"page-size":t.page.pagesize,"current-page":t.page.currentPage},on:{"update:currentPage":function(e){return t.$set(t.page,"currentPage",e)},"update:current-page":function(e){return t.$set(t.page,"currentPage",e)},"current-change":t.handleCurrentChange}})],1)},r=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"shuju_title mar_b20"},[n("div",{staticClass:"shuju_title_text"},[n("span",[t._v("储值概况")])])])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"shuju_title mar_b20 mar_t20"},[n("div",{staticClass:"shuju_title_text"},[n("span",[t._v("储值查询")])])])}],o=(n("b0c0"),n("96cf"),n("1da1")),i=n("c24f"),s=n("48fb"),l=n("ed08"),c=n("365c"),u={created:function(){this.fetchData(),this.rechargeStatistics()},data:function(){return{jyData:{todayMoney:"",todayGiveMoney:"",allMoney:"",allGiveMoney:"",people:"",comparePeople:"",surplus:"",consume:""},formInline:{name:"",region:[]},list:[],listLoading:!1,selectRows:"",elementLoadingText:"正在加载...",page:{total:0,size:10,currentPage:1}}},methods:{rechargeStatistics:function(){var t=this;return Object(o["a"])(regeneratorRuntime.mark((function e(){var n,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(s["C"])();case 2:n=e.sent,a=n.data,t.jyData=a;case 5:case"end":return e.stop()}}),e)})))()},fetchData:function(){var t=this;return Object(o["a"])(regeneratorRuntime.mark((function e(){var n,a,r,o;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t.listLoading=!0,n={page:t.page.currentPage,startTime:t.formInline.region.length?Object(l["a"])(t.formInline.region[0]):"",endTime:t.formInline.region.length?Object(l["a"])(t.formInline.region[1]):"",keyword:t.formInline.name},e.next=4,Object(i["g"])(n);case 4:a=e.sent,r=a.data,o=a.count,t.list=r,t.page.total=o,t.listLoading=!1;case 10:case"end":return e.stop()}}),e)})))()},selach:function(){this.fetchData()},handleCurrentChange:function(t){this.page.currentPage=t,this.fetchData()},handelExport:function(){var t=this.formInline.region.length?Object(l["a"])(this.formInline.region[0]):"",e=this.formInline.region.length?Object(l["a"])(this.formInline.region[1]):"",n=c["a"].backendPath;return n+"channel/member/get-deposit-order?export=1&page="+this.page.currentPage+"&keyword="+this.formInline.name+"&startTime="+t+"&endTime="+e}}},d=u,p=n("2877"),f=Object(p["a"])(d,a,r,!1,null,null,null);e["default"]=f.exports},a9e3:function(t,e,n){"use strict";var a=n("83ab"),r=n("da84"),o=n("94ca"),i=n("6eeb"),s=n("5135"),l=n("c6b6"),c=n("7156"),u=n("c04e"),d=n("d039"),p=n("7c73"),f=n("241c").f,m=n("06cf").f,b=n("9bf2").f,h=n("58a8").trim,g="Number",v=r[g],_=v.prototype,y=l(p(_))==g,C=function(t){var e,n,a,r,o,i,s,l,c=u(t,!1);if("string"==typeof c&&c.length>2)if(c=h(c),e=c.charCodeAt(0),43===e||45===e){if(n=c.charCodeAt(2),88===n||120===n)return NaN}else if(48===e){switch(c.charCodeAt(1)){case 66:case 98:a=2,r=49;break;case 79:case 111:a=8,r=55;break;default:return+c}for(o=c.slice(2),i=o.length,s=0;s<i;s++)if(l=o.charCodeAt(s),l<48||l>r)return NaN;return parseInt(o,a)}return+c};if(o(g,!v(" 0o1")||!v("0b1")||v("+0x1"))){for(var j,w=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof w&&(y?d((function(){_.valueOf.call(n)})):l(n)!=g)?c(new v(C(e)),n,w):C(e)},O=a?f(v):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),x=0;O.length>x;x++)s(v,j=O[x])&&!s(w,j)&&b(w,j,m(v,j));w.prototype=_,_.constructor=w,i(r,g,w)}},bf19:function(t,e,n){"use strict";var a=n("23e7");a({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return URL.prototype.toString.call(this)}})},c24f:function(t,e,n){"use strict";n.d(e,"k",(function(){return r})),n.d(e,"E",(function(){return o})),n.d(e,"C",(function(){return i})),n.d(e,"d",(function(){return s})),n.d(e,"b",(function(){return l})),n.d(e,"s",(function(){return c})),n.d(e,"c",(function(){return u})),n.d(e,"j",(function(){return d})),n.d(e,"q",(function(){return p})),n.d(e,"i",(function(){return f})),n.d(e,"r",(function(){return m})),n.d(e,"f",(function(){return b})),n.d(e,"x",(function(){return h})),n.d(e,"h",(function(){return g})),n.d(e,"n",(function(){return v})),n.d(e,"u",(function(){return _})),n.d(e,"g",(function(){return y})),n.d(e,"l",(function(){return C})),n.d(e,"t",(function(){return j})),n.d(e,"A",(function(){return w})),n.d(e,"z",(function(){return O})),n.d(e,"w",(function(){return x})),n.d(e,"p",(function(){return I})),n.d(e,"m",(function(){return N})),n.d(e,"y",(function(){return D})),n.d(e,"a",(function(){return M})),n.d(e,"o",(function(){return S})),n.d(e,"B",(function(){return k})),n.d(e,"e",(function(){return T})),n.d(e,"F",(function(){return E})),n.d(e,"D",(function(){return A})),n.d(e,"v",(function(){return P}));var a=n("b775");function r(t){return Object(a["a"])({url:"channel/member/get-member-list",method:"get",params:t})}function o(t){return Object(a["a"])({url:"channel/member/get-member-list",method:"post",data:t})}function i(t){return Object(a["a"])({url:"channel/activity/select-user",method:"post",data:t})}function s(t){return Object(a["a"])({url:"channel/member/change-status",method:"post",data:t})}function l(t){return Object(a["a"])({url:"channel/member/change-info",method:"post",data:t})}function c(t){return Object(a["a"])({url:"channel/member/member-label-save",method:"post",data:t})}function u(t){return Object(a["a"])({url:"channel/member/change-member-label",method:"post",data:t})}function d(t){return Object(a["a"])({url:"channel/member/get-member-label",method:"get",params:t})}function p(t){return Object(a["a"])({url:"channel/member/member-excel-list",method:"get",params:t})}function f(t){return Object(a["a"])({url:"channel/member/get-member-info",method:"post",data:t})}function m(t){return Object(a["a"])({url:"channel/member/member-info-save",method:"post",data:t})}function b(t){return Object(a["a"])({url:"channel/member/get-deposit-list",method:"get",params:t})}function h(t){return Object(a["a"])({url:"channel/member/deposit-save",method:"post",data:t})}function g(t){return Object(a["a"])({url:"channel/member/deposit-save",method:"get",params:t})}function v(t){return Object(a["a"])({url:"channel/activity/select-coupon",method:"get",params:t})}function _(t){return Object(a["a"])({url:"channel/member/modify-deposit",method:"post",data:t})}function y(t){return Object(a["a"])({url:"channel/member/get-deposit-order",method:"get",params:t})}function C(t){return Object(a["a"])({url:"channel/member/get-member-set-info",method:"get",params:t})}function j(t){return Object(a["a"])({url:"channel/member/member-set",method:"post",data:t})}function w(t){return Object(a["a"])({url:"channel/vip-card/rights-list",method:"get",params:t})}function O(t){return Object(a["a"])({url:"channel/vip-card/save-rights",method:"post",data:t})}function x(t){return Object(a["a"])({url:"channel/vip-card/modify-rights",method:"post",data:t})}function I(t){return Object(a["a"])({url:"channel/vip-card/level-list",method:"get",params:t})}function N(t){return Object(a["a"])({url:"channel/vip-card/save-level",method:"get",params:t})}function D(t){return Object(a["a"])({url:"channel/vip-card/save-level",method:"post",data:t})}function M(t){return Object(a["a"])({url:"channel/vip-card/card-record",method:"get",params:t})}function S(t){return Object(a["a"])({url:"channel/good/goods-vip",method:"get",params:t})}function k(t){return Object(a["a"])({url:"channel/good/save-goods-vip",method:"post",data:t})}function T(t){return Object(a["a"])({url:"channel/member/get-coupon-list",method:"get",params:t})}function E(t){return Object(a["a"])({url:"channel/member/store-coupon-list",method:"get",params:t})}function A(t){return Object(a["a"])({url:"channel/member/send-coupon",method:"post",data:t})}function P(t){return Object(a["a"])({url:"channel/vip-card/modify-level",method:"post",data:t})}},d2bb:function(t,e,n){var a=n("825a"),r=n("3bbe");t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,t.call(n,[]),e=n instanceof Array}catch(o){}return function(n,o){return a(n),r(o),e?t.call(n,o):n.__proto__=o,n}}():void 0)},ed08:function(t,e,n){"use strict";n.d(e,"a",(function(){return a})),n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return o}));n("a9e3"),n("ac1f"),n("5319"),n("bf19");function a(t){var e=new Date(t).toJSON(),n=new Date(+new Date(e)+288e5).toISOString().replace(/T/g," ").replace(/\.[\d]{3}Z/,"");return n}function r(t){var e=new Date(t),n=e.getFullYear(),a=e.getMonth()+1<10?"0"+(e.getMonth()+1):e.getMonth()+1,r=e.getDate()<10?"0"+e.getDate():e.getDate(),o=e.getHours()<10?"0"+e.getHours():e.getHours(),i=e.getMinutes()<10?"0"+e.getMinutes():e.getMinutes(),s=e.getSeconds()<10?"0"+e.getSeconds():e.getSeconds();return n+"-"+a+"-"+r+" "+o+":"+i+":"+s}function o(t){var e=new Date(1e3*Number(t)),n=e.getFullYear()+"-",a=(e.getMonth()+1<10?"0"+(e.getMonth()+1):e.getMonth()+1)+"-",r=(e.getDate()<10?"0"+e.getDate():e.getDate())+" ",o=(e.getHours()<10?"0"+e.getHours():e.getHours())+":",i=(e.getMinutes()<10?"0"+e.getMinutes():e.getMinutes())+":",s=e.getSeconds()<10?"0"+e.getSeconds():e.getSeconds(),l=n+a+r+o+i+s;return l}}}]); |