1 line
20 KiB
JavaScript
1 line
20 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-58a9cfa0"],{"0b65":function(t,n,e){"use strict";n["a"]={shortcuts:[{text:"今天",onClick:function(t){var n=new Date,e=new Date;e.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate())),t.$emit("pick",[e,n])}},{text:"昨天",onClick:function(t){var n=new Date,e=new Date;e.setTime(e.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate()-1))),n.setTime(n.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate()-1))),t.$emit("pick",[e,n])}},{text:"最近7天",onClick:function(t){var n=new Date,e=new Date;e.setTime(e.getTime()-6048e5),t.$emit("pick",[e,n])}},{text:"最近30天",onClick:function(t){var n=new Date,e=new Date;e.setTime(e.getTime()-2592e6),t.$emit("pick",[e,n])}},{text:"本月",onClick:function(t){var n=new Date,e=new Date;e.setTime(e.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),1))),t.$emit("pick",[e,n])}},{text:"本年",onClick:function(t){var n=new Date,e=new Date;e.setTime(e.setTime(new Date((new Date).getFullYear(),0,1))),t.$emit("pick",[e,n])}}]}},"0e7c":function(t,n,e){"use strict";e.r(n);var r=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{staticClass:"divBox"},[e("div",{staticClass:"selCard mb14"},[e("el-form",{ref:"searchForm",attrs:{model:t.tableFrom,inline:"",size:"small","label-width":"85px"}},[e("el-form-item",{attrs:{label:"选择时间:"}},[e("el-date-picker",{staticStyle:{width:"280px"},attrs:{"value-format":"yyyy/MM/dd",format:"yyyy/MM/dd","picker-options":t.pickerOptions,type:"daterange",placement:"bottom-end",placeholder:"自定义时间"},on:{change:t.onchangeTime},model:{value:t.timeVal,callback:function(n){t.timeVal=n},expression:"timeVal"}})],1),t._v(" "),e("el-form-item",{attrs:{label:"搜索:",prop:"keyword"}},[e("el-input",{staticClass:"selWidth",attrs:{placeholder:"请输入用户ID用户昵称、标题",clearable:""},nativeOn:{keyup:function(n){return!n.type.indexOf("key")&&t._k(n.keyCode,"enter",13,n.key,"Enter")?null:t.getList(1)}},model:{value:t.tableFrom.keyword,callback:function(n){t.$set(t.tableFrom,"keyword",n)},expression:"tableFrom.keyword"}})],1),t._v(" "),e("el-form-item",[e("el-button",{attrs:{type:"primary",size:"small"},on:{click:function(n){return t.getList(1)}}},[t._v("搜索")]),t._v(" "),e("el-button",{attrs:{size:"small"},on:{click:function(n){return t.searchReset()}}},[t._v("重置")])],1)],1)],1),t._v(" "),t.cardLists.length>0?e("cards-data",{attrs:{"card-lists":t.cardLists}}):t._e(),t._v(" "),e("el-card",[e("div",{staticClass:"mb20"},[e("el-button",{attrs:{size:"small",type:"primary"},on:{click:t.exports}},[t._v("导出")])],1),t._v(" "),e("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],attrs:{data:t.tableData.data,size:"small"}},[e("el-table-column",{attrs:{prop:"bill_id",label:"ID","min-width":"50"}}),t._v(" "),e("el-table-column",{attrs:{label:"用户昵称",prop:"nickname","min-width":"150"}}),t._v(" "),e("el-table-column",{attrs:{label:"积分标题",prop:"title","min-width":"120"}}),t._v(" "),e("el-table-column",{attrs:{label:"积分变动",prop:"number","min-width":"90"},scopedSlots:t._u([{key:"default",fn:function(n){return[1==n.row.pm?e("span",{staticStyle:{color:"#ff3b30"}},[t._v("+"+t._s(n.row.number))]):t._e(),t._v(" "),0==n.row.pm?e("span",{staticStyle:{color:"#82e493"}},[t._v("-"+t._s(n.row.number))]):t._e()]}}])}),t._v(" "),e("el-table-column",{attrs:{label:"当前积分额度",prop:"balance","min-width":"90"}}),t._v(" "),e("el-table-column",{attrs:{prop:"mark",label:"备注","min-width":"150"}}),t._v(" "),e("el-table-column",{attrs:{prop:"create_time",label:"添加时间","min-width":"90"}})],1),t._v(" "),e("div",{staticClass:"block"},[e("el-pagination",{attrs:{background:"","page-size":t.tableFrom.limit,"current-page":t.tableFrom.page,layout:"total, prev, pager, next, jumper",total:t.tableData.total},on:{"size-change":t.handleSizeChange,"current-change":t.pageChange}})],1)],1)],1)},o=[],c=e("c80c"),u=(e("96cf"),e("3b8d")),a=e("b7be"),i=e("30dc"),s=e("0f56"),f=e("2e83"),d=e("83d6"),l=e("0b65"),p={name:"IntergralLog",components:{fileList:i["a"],cardsData:s["a"]},data:function(){return{pickerOptions:l["a"],timeVal:[],listLoading:!0,roterPre:d["roterPre"],tableData:{data:[],total:0},tableFrom:{page:1,limit:20,keyword:"",date:""},loading:!1,cardLists:[]}},watch:{},mounted:function(){this.getList(""),this.getTitle()},methods:{searchReset:function(){this.timeVal=[],this.tableFrom.date="",this.$refs.searchForm.resetFields(),this.getList(1)},onchangeTime:function(t){this.timeVal=t,this.tableFrom.date=t?this.timeVal.join("-"):"",this.tableFrom.page=1,this.getList("")},exports:function(){var t=Object(u["a"])(Object(c["a"])().mark((function t(){var n,e,r,o,u;return Object(c["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:n=JSON.parse(JSON.stringify(this.tableFrom)),e=[],n.page=1,r=1,o={},u=0;case 5:if(!(u<r)){t.next=14;break}return t.next=8,this.downData(n);case 8:o=t.sent,r=Math.ceil(o.count/n.limit),o.export.length&&(e=e.concat(o.export),n.page++);case 11:u++,t.next=5;break;case 14:return Object(f["a"])(o.header,o.title,e,o.foot,o.filename),t.abrupt("return");case 16:case"end":return t.stop()}}),t,this)})));function n(){return t.apply(this,arguments)}return n}(),downData:function(t){return new Promise((function(n,e){Object(a["hc"])(t).then((function(t){return n(t.data)}))}))},exportRecord:function(){var t=this;Object(a["hc"])(this.tableFrom).then((function(n){var e=t.$createElement;t.$msgbox({title:"提示",message:e("p",null,[e("span",null,'文件正在生成中,请稍后点击"'),e("span",{style:"color: teal"},"导出记录"),e("span",null,'"查看~ ')]),confirmButtonText:"我知道了"}).then((function(n){t.$router.push({path:t.roterPre+"/group/exportList"})}))})).catch((function(n){t.$message.error(n.message)}))},getTitle:function(){var t=this;Object(a["pb"])().then((function(n){t.cardLists=n.data})).catch((function(n){t.$message.error(n.message)}))},getList:function(t){var n=this;this.listLoading=!0,this.tableFrom.page=t||this.tableFrom.page,Object(a["ob"])(this.tableFrom).then((function(t){n.tableData.data=t.data.list,n.tableData.total=t.data.count,n.listLoading=!1})).catch((function(t){n.listLoading=!1,n.$message.error(t.message)}))},pageChange:function(t){this.tableFrom.page=t,this.getList("")},handleSizeChange:function(t){this.tableFrom.limit=t,this.getList("")}}},g=p,m=(e("9af5"),e("2877")),b=Object(m["a"])(g,r,o,!1,null,"87c6246c",null);n["default"]=b.exports},"9af5":function(t,n,e){"use strict";e("f72c")},b7be:function(t,n,e){"use strict";e.d(n,"Qb",(function(){return o})),e.d(n,"Pb",(function(){return c})),e.d(n,"Lb",(function(){return u})),e.d(n,"Kb",(function(){return a})),e.d(n,"Jb",(function(){return i})),e.d(n,"Mb",(function(){return s})),e.d(n,"Nb",(function(){return f})),e.d(n,"Ob",(function(){return d})),e.d(n,"W",(function(){return l})),e.d(n,"R",(function(){return p})),e.d(n,"S",(function(){return g})),e.d(n,"U",(function(){return m})),e.d(n,"T",(function(){return b})),e.d(n,"Db",(function(){return h})),e.d(n,"Q",(function(){return v})),e.d(n,"x",(function(){return y})),e.d(n,"D",(function(){return k})),e.d(n,"v",(function(){return w})),e.d(n,"u",(function(){return D})),e.d(n,"w",(function(){return _})),e.d(n,"Eb",(function(){return x})),e.d(n,"Fb",(function(){return F})),e.d(n,"nc",(function(){return L})),e.d(n,"A",(function(){return T})),e.d(n,"z",(function(){return C})),e.d(n,"E",(function(){return O})),e.d(n,"i",(function(){return j})),e.d(n,"mc",(function(){return $})),e.d(n,"jc",(function(){return z})),e.d(n,"lc",(function(){return M})),e.d(n,"ic",(function(){return S})),e.d(n,"kc",(function(){return V})),e.d(n,"Zb",(function(){return P})),e.d(n,"oc",(function(){return Y})),e.d(n,"y",(function(){return J})),e.d(n,"C",(function(){return E})),e.d(n,"B",(function(){return N})),e.d(n,"O",(function(){return B})),e.d(n,"G",(function(){return I})),e.d(n,"J",(function(){return R})),e.d(n,"K",(function(){return q})),e.d(n,"I",(function(){return K})),e.d(n,"L",(function(){return W})),e.d(n,"P",(function(){return A})),e.d(n,"N",(function(){return Q})),e.d(n,"M",(function(){return U})),e.d(n,"F",(function(){return X})),e.d(n,"H",(function(){return Z})),e.d(n,"V",(function(){return G})),e.d(n,"pb",(function(){return H})),e.d(n,"ob",(function(){return tt})),e.d(n,"hc",(function(){return nt})),e.d(n,"fb",(function(){return et})),e.d(n,"rc",(function(){return rt})),e.d(n,"cb",(function(){return ot})),e.d(n,"ab",(function(){return ct})),e.d(n,"bb",(function(){return ut})),e.d(n,"gc",(function(){return at})),e.d(n,"X",(function(){return it})),e.d(n,"o",(function(){return st})),e.d(n,"n",(function(){return ft})),e.d(n,"m",(function(){return dt})),e.d(n,"l",(function(){return lt})),e.d(n,"k",(function(){return pt})),e.d(n,"Y",(function(){return gt})),e.d(n,"t",(function(){return mt})),e.d(n,"r",(function(){return bt})),e.d(n,"q",(function(){return ht})),e.d(n,"s",(function(){return vt})),e.d(n,"p",(function(){return yt})),e.d(n,"kb",(function(){return kt})),e.d(n,"ib",(function(){return wt})),e.d(n,"mb",(function(){return Dt})),e.d(n,"jb",(function(){return _t})),e.d(n,"lb",(function(){return xt})),e.d(n,"Z",(function(){return Ft})),e.d(n,"Bb",(function(){return Lt})),e.d(n,"Ab",(function(){return Tt})),e.d(n,"yb",(function(){return Ct})),e.d(n,"Cb",(function(){return Ot})),e.d(n,"eb",(function(){return jt})),e.d(n,"xb",(function(){return $t})),e.d(n,"zb",(function(){return zt})),e.d(n,"wb",(function(){return Mt})),e.d(n,"sb",(function(){return St})),e.d(n,"ub",(function(){return Vt})),e.d(n,"tb",(function(){return Pt})),e.d(n,"nb",(function(){return Yt})),e.d(n,"db",(function(){return Jt})),e.d(n,"qb",(function(){return Et})),e.d(n,"vb",(function(){return Nt})),e.d(n,"rb",(function(){return Bt})),e.d(n,"a",(function(){return It})),e.d(n,"pc",(function(){return Rt})),e.d(n,"d",(function(){return qt})),e.d(n,"f",(function(){return Kt})),e.d(n,"c",(function(){return Wt})),e.d(n,"j",(function(){return At})),e.d(n,"b",(function(){return Qt})),e.d(n,"h",(function(){return Ut})),e.d(n,"e",(function(){return Xt})),e.d(n,"g",(function(){return Zt})),e.d(n,"Sb",(function(){return Gt})),e.d(n,"ac",(function(){return Ht})),e.d(n,"Vb",(function(){return tn})),e.d(n,"Tb",(function(){return nn})),e.d(n,"Ub",(function(){return en})),e.d(n,"Wb",(function(){return rn})),e.d(n,"Yb",(function(){return on})),e.d(n,"gb",(function(){return cn})),e.d(n,"hb",(function(){return un})),e.d(n,"dc",(function(){return an})),e.d(n,"fc",(function(){return sn})),e.d(n,"Xb",(function(){return fn})),e.d(n,"cc",(function(){return dn})),e.d(n,"bc",(function(){return ln})),e.d(n,"ec",(function(){return pn}));var r=e("0c6d");function o(t){return r["a"].get("/store/coupon/platformLst",t)}function c(t){return r["a"].get("/store/coupon/update/".concat(t,"/form"))}function u(t){return r["a"].get("/store/coupon/show/".concat(t))}function a(t){return r["a"].delete("store/coupon/delete/".concat(t))}function i(t){return r["a"].get("/store/coupon/sys/clone/".concat(t,"/form"))}function s(t){return r["a"].get("store/coupon/sys/issue",t)}function f(t,n){return r["a"].get("store/coupon/show_lst/".concat(t),n)}function d(t){return r["a"].get("/store/coupon/send/lst",t)}function l(t){return r["a"].post("store/coupon/send",t)}function p(t){return r["a"].get("store/coupon/detail/".concat(t))}function g(t){return r["a"].get("store/coupon/lst",t)}function m(t,n){return r["a"].post("store/coupon/status/".concat(t),{status:n})}function b(){return r["a"].get("store/coupon/create/form")}function h(t){return r["a"].get("store/coupon/issue",t)}function v(t){return r["a"].delete("store/coupon/delete/".concat(t))}function y(t){return r["a"].get("broadcast/room/lst",t)}function k(t,n){return r["a"].post("broadcast/room/status/".concat(t),n)}function w(t){return r["a"].delete("broadcast/room/delete/".concat(t))}function D(t){return r["a"].get("broadcast/room/apply/form/".concat(t))}function _(t){return r["a"].get("broadcast/room/detail/".concat(t))}function x(t,n){return r["a"].post("broadcast/room/feedsPublic/".concat(t),{status:n})}function F(t,n){return r["a"].post("broadcast/room/comment/".concat(t),{status:n})}function L(t,n){return r["a"].post("broadcast/room/closeKf/".concat(t),{status:n})}function T(t){return r["a"].get("broadcast/goods/lst",t)}function C(t){return r["a"].get("broadcast/goods/detail/".concat(t))}function O(t,n){return r["a"].post("broadcast/goods/status/".concat(t),n)}function j(t){return r["a"].get("broadcast/goods/apply/form/".concat(t))}function $(){return r["a"].get("seckill/config/create/form")}function z(t){return r["a"].get("seckill/config/lst",t)}function M(t){return r["a"].get("seckill/config/update/".concat(t,"/form"))}function S(t){return r["a"].delete("seckill/config/delete/".concat(t))}function V(t,n){return r["a"].post("seckill/config/status/".concat(t),{status:n})}function P(t,n){return r["a"].get("seckill/product/detail/".concat(t),n)}function Y(t,n){return r["a"].get("broadcast/room/goods/".concat(t),n)}function J(t){return r["a"].delete("broadcast/goods/delete/".concat(t))}function E(t,n){return r["a"].post("broadcast/room/sort/".concat(t),n)}function N(t,n){return r["a"].post("broadcast/goods/sort/".concat(t),n)}function B(t){return r["a"].post("config/others/group_buying",t)}function I(){return r["a"].get("config/others/group_buying")}function R(t){return r["a"].get("store/product/group/lst",t)}function q(t){return r["a"].get("store/product/group/get/".concat(t))}function K(t){return r["a"].get("store/product/group/detail/".concat(t))}function W(t){return r["a"].post("store/product/group/status",t)}function A(t,n){return r["a"].post("store/product/group/is_show/".concat(t),{status:n})}function Q(t){return r["a"].get("store/product/group/get/".concat(t))}function U(t,n){return r["a"].post("store/product/group/update/".concat(t),n)}function X(t){return r["a"].get("store/product/group/buying/lst",t)}function Z(t,n){return r["a"].get("store/product/group/buying/detail/".concat(t),n)}function G(t,n){return r["a"].get("store/coupon/product/".concat(t),n)}function H(){return r["a"].get("user/integral/title")}function tt(t){return r["a"].get("user/integral/lst",t)}function nt(t){return r["a"].get("user/integral/excel",t)}function et(){return r["a"].get("user/integral/config")}function rt(t){return r["a"].post("user/integral/config",t)}function ot(t){return r["a"].get("discounts/lst",t)}function ct(t,n){return r["a"].post("discounts/status/".concat(t),{status:n})}function ut(t){return r["a"].get("discounts/detail/".concat(t))}function at(t){return r["a"].get("marketing/spu/lst",t)}function it(t){return r["a"].post("activity/atmosphere/create",t)}function st(t,n){return r["a"].post("activity/atmosphere/update/".concat(t),n)}function ft(t){return r["a"].get("activity/atmosphere/lst",t)}function dt(t){return r["a"].get("activity/atmosphere/detail/".concat(t))}function lt(t,n){return r["a"].post("activity/atmosphere/status/".concat(t),{status:n})}function pt(t){return r["a"].delete("activity/atmosphere/delete/".concat(t))}function gt(t){return r["a"].post("activity/border/create",t)}function mt(t,n){return r["a"].post("activity/border/update/".concat(t),n)}function bt(t){return r["a"].get("activity/border/lst",t)}function ht(t){return r["a"].get("activity/border/detail/".concat(t))}function vt(t,n){return r["a"].post("activity/border/status/".concat(t),{status:n})}function yt(t){return r["a"].delete("activity/border/delete/".concat(t))}function kt(){return r["a"].get("points/cate/lst")}function wt(){return r["a"].get("points/cate/create/form")}function Dt(t){return r["a"].get("points/cate/update/form/".concat(t))}function _t(t){return r["a"].delete("points/cate/delete/".concat(t))}function xt(t,n){return r["a"].post("points/cate/status/".concat(t),{status:n})}function Ft(t){return r["a"].post("points/product/create",t)}function Lt(t,n){return r["a"].post("points/product/update/".concat(t),n)}function Tt(t){return r["a"].get("points/product/lst",t)}function Ct(t){return r["a"].delete("points/product/delete/".concat(t))}function Ot(t,n){return r["a"].post("points/product/status/".concat(t),{status:n})}function jt(t,n){return r["a"].post("points/product/get_attr_value/".concat(t),n)}function $t(){return r["a"].get("points/cate/select")}function zt(t){return r["a"].get("points/product/detail/".concat(t))}function Mt(t){return r["a"].get("points/order/lst",t)}function St(t){return r["a"].get("points/order/detail/".concat(t))}function Vt(t){return r["a"].get("points/order/express/".concat(t))}function Pt(t){return r["a"].get("points/order/excel",t)}function Yt(t,n){return r["a"].post("points/order/delivery/".concat(t),n)}function Jt(t){return r["a"].get("store/express/options",t)}function Et(t){return r["a"].get("points/order/mark/".concat(t,"/form"))}function Nt(t,n){return r["a"].get("points/order/status/".concat(t),n)}function Bt(t){return r["a"].delete("points/order/delete/".concat(t))}function It(t){return r["a"].post("activity/form/create",t)}function Rt(){return r["a"].get("system/form/select")}function qt(t){return r["a"].get("activity/form/lst",t)}function Kt(t,n){return r["a"].post("activity/form/status/".concat(t),{status:n})}function Wt(t){return r["a"].get("activity/form/detail/".concat(t))}function At(t,n){return r["a"].get("system/form/info/".concat(t),n)}function Qt(t){return r["a"].delete("activity/form/delete/".concat(t))}function Ut(t,n){return r["a"].get("activity/form/user/lst/".concat(t),n)}function Xt(t,n){return r["a"].get("activity/form/excel/".concat(t),n)}function Zt(t,n){return r["a"].post("activity/form/update/".concat(t),n)}function Gt(t){return r["a"].post("seckill/active/create",t)}function Ht(t){return r["a"].get("seckill/config/select",t)}function tn(t){return r["a"].get("seckill/active/lst",t)}function nn(t){return r["a"].delete("seckill/active/delete/".concat(t))}function en(t){return r["a"].get("seckill/active/detail/".concat(t))}function rn(t,n){return r["a"].post("seckill/active/update/".concat(t),n)}function on(t,n){return r["a"].post("seckill/active/update_status/".concat(t),{status:n})}function cn(t){return r["a"].get("store/product/self_lst",t)}function un(t){return r["a"].get("seckill/product/list",t)}function an(t){return r["a"].get("seckill/product/switchStatus/".concat(t,"/form"))}function sn(t,n){return r["a"].post("seckill/product/update/".concat(t),n)}function fn(t){return r["a"].get("seckill/active/chart_panel/".concat(t))}function dn(t,n){return r["a"].get("seckill/active/chart_people/".concat(t),n)}function ln(t,n){return r["a"].get("seckill/active/chart_order/".concat(t),n)}function pn(t,n){return r["a"].get("seckill/active/chart_product/".concat(t),n)}},f72c:function(t,n,e){},f8b7:function(t,n,e){"use strict";e.d(n,"m",(function(){return o})),e.d(n,"b",(function(){return c})),e.d(n,"a",(function(){return u})),e.d(n,"o",(function(){return a})),e.d(n,"k",(function(){return i})),e.d(n,"l",(function(){return s})),e.d(n,"n",(function(){return f})),e.d(n,"s",(function(){return d})),e.d(n,"i",(function(){return l})),e.d(n,"j",(function(){return p})),e.d(n,"g",(function(){return g})),e.d(n,"h",(function(){return m})),e.d(n,"f",(function(){return b})),e.d(n,"u",(function(){return h})),e.d(n,"v",(function(){return v})),e.d(n,"t",(function(){return y})),e.d(n,"e",(function(){return k})),e.d(n,"d",(function(){return w})),e.d(n,"c",(function(){return D})),e.d(n,"r",(function(){return _})),e.d(n,"q",(function(){return x})),e.d(n,"p",(function(){return F}));var r=e("0c6d");function o(t){return r["a"].get("order/lst",t)}function c(){return r["a"].get("order/chart")}function u(t){return r["a"].get("order/title",t)}function a(t){return r["a"].get("store/order/update/".concat(t,"/form"))}function i(t){return r["a"].get("store/order/delivery/".concat(t,"/form"))}function s(t){return r["a"].get("order/detail/".concat(t))}function f(t,n){return r["a"].get("order/status/".concat(t),n)}function d(t){return r["a"].get("order/refund/lst",t)}function l(t){return r["a"].get("order/children/".concat(t))}function p(t){return r["a"].get("order/express/".concat(t))}function g(t){return r["a"].get("order/excel",t)}function m(t){return r["a"].get("order/refund/excel",t)}function b(t){return r["a"].get("excel/lst",t)}function h(){return r["a"].get("order/takechart")}function v(t){return r["a"].get("order/takelst",t)}function y(t){return r["a"].get("order/take_title",t)}function k(){return r["a"].get("excel/type")}function w(t){return r["a"].get("delivery/order/lst",t)}function D(t){return r["a"].get("delivery/order/cancel/".concat(t,"/form"))}function _(t){return r["a"].get("delivery/station/payLst",t)}function x(){return r["a"].get("delivery/title")}function F(){return r["a"].get("delivery/belence")}}}]); |