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 lines
14 KiB
1 lines
14 KiB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0822060b"],{"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("el-card",{staticClass:"box-card"},[e("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[e("div",{staticClass:"container"},[e("cards-data",{attrs:{"card-lists":t.cardLists}}),t._v(" "),e("el-form",{attrs:{inline:"",size:"small","label-width":"80px"}},[e("el-form-item",{attrs:{label:"搜索:"}},[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"}},[e("el-button",{staticClass:"el-button-solt",attrs:{slot:"append",icon:"el-icon-search"},on:{click:function(n){return t.getList(1)}},slot:"append"})],1)],1),t._v(" "),e("el-form-item",{staticClass:"width100",attrs:{label:"选择时间:"}},[e("el-date-picker",{staticStyle:{width:"250px"},attrs:{"value-format":"yyyy/MM/dd",format:"yyyy/MM/dd",size:"small",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",{staticClass:"width100"},[e("el-button",{attrs:{size:"small",type:"primary"},on:{click:t.exportRecord}},[t._v("导出")])],1)],1)],1)]),t._v(" "),e("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],staticStyle:{width:"100%"},attrs:{data:t.tableData.data,size:"mini"}},[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:{"page-sizes":[20,40,60,80],"page-size":t.tableFrom.limit,"current-page":t.tableFrom.page,layout:"total, sizes, prev, pager, next, jumper",total:t.tableData.total},on:{"size-change":t.handleSizeChange,"current-change":t.pageChange}})],1)],1)],1)},o=[],u=e("b7be"),c=e("30dc"),a=e("0f56"),i=e("83d6"),s={name:"preSaleProductList",components:{fileList:c["a"],cardsData:a["a"]},data:function(){return{timeVal:[],listLoading:!0,roterPre:i["roterPre"],tableData:{data:[],total:0},tableFrom:{page:1,limit:20,keyword:"",date:""},loading:!1,cardLists:[]}},watch:{},mounted:function(){this.getList(""),this.getTitle()},methods:{selectChange:function(t){this.tableFrom.date=t,this.tableFrom.page=1,this.timeVal=[],this.getList("")},onchangeTime:function(t){this.timeVal=t,this.tableFrom.date=t?this.timeVal.join("-"):"",this.tableFrom.page=1,this.getList("")},exportRecord:function(){var t=this;Object(u["jb"])(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(u["V"])().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(u["U"])(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("")}}},d=s,l=(e("1f7f"),e("2877")),f=Object(l["a"])(d,r,o,!1,null,"208e25ac",null);n["default"]=f.exports},"1f7f":function(t,n,e){"use strict";e("4e16")},"4e16":function(t,n,e){},b7be:function(t,n,e){"use strict";e.d(n,"gb",(function(){return o})),e.d(n,"fb",(function(){return u})),e.d(n,"bb",(function(){return c})),e.d(n,"ab",(function(){return a})),e.d(n,"Z",(function(){return i})),e.d(n,"cb",(function(){return s})),e.d(n,"db",(function(){return d})),e.d(n,"eb",(function(){return l})),e.d(n,"N",(function(){return f})),e.d(n,"I",(function(){return g})),e.d(n,"J",(function(){return p})),e.d(n,"L",(function(){return m})),e.d(n,"K",(function(){return b})),e.d(n,"W",(function(){return h})),e.d(n,"H",(function(){return v})),e.d(n,"o",(function(){return y})),e.d(n,"u",(function(){return k})),e.d(n,"m",(function(){return w})),e.d(n,"l",(function(){return _})),e.d(n,"n",(function(){return x})),e.d(n,"X",(function(){return L})),e.d(n,"Y",(function(){return F})),e.d(n,"pb",(function(){return C})),e.d(n,"r",(function(){return z})),e.d(n,"q",(function(){return j})),e.d(n,"v",(function(){return D})),e.d(n,"a",(function(){return S})),e.d(n,"ob",(function(){return V})),e.d(n,"lb",(function(){return $})),e.d(n,"nb",(function(){return O})),e.d(n,"kb",(function(){return P})),e.d(n,"mb",(function(){return T})),e.d(n,"hb",(function(){return M})),e.d(n,"qb",(function(){return E})),e.d(n,"p",(function(){return q})),e.d(n,"t",(function(){return B})),e.d(n,"s",(function(){return I})),e.d(n,"F",(function(){return J})),e.d(n,"x",(function(){return R})),e.d(n,"A",(function(){return K})),e.d(n,"B",(function(){return N})),e.d(n,"z",(function(){return U})),e.d(n,"C",(function(){return W})),e.d(n,"G",(function(){return A})),e.d(n,"E",(function(){return G})),e.d(n,"D",(function(){return H})),e.d(n,"w",(function(){return Q})),e.d(n,"y",(function(){return X})),e.d(n,"M",(function(){return Y})),e.d(n,"V",(function(){return Z})),e.d(n,"U",(function(){return tt})),e.d(n,"jb",(function(){return nt})),e.d(n,"T",(function(){return et})),e.d(n,"rb",(function(){return rt})),e.d(n,"S",(function(){return ot})),e.d(n,"Q",(function(){return ut})),e.d(n,"R",(function(){return ct})),e.d(n,"ib",(function(){return at})),e.d(n,"O",(function(){return it})),e.d(n,"f",(function(){return st})),e.d(n,"e",(function(){return dt})),e.d(n,"d",(function(){return lt})),e.d(n,"c",(function(){return ft})),e.d(n,"b",(function(){return gt})),e.d(n,"P",(function(){return pt})),e.d(n,"k",(function(){return mt})),e.d(n,"i",(function(){return bt})),e.d(n,"h",(function(){return ht})),e.d(n,"j",(function(){return vt})),e.d(n,"g",(function(){return yt}));var r=e("0c6d");function o(t){return r["a"].get("/store/coupon/platformLst",t)}function u(t){return r["a"].get("/store/coupon/update/".concat(t,"/form"))}function c(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 d(t,n){return r["a"].get("store/coupon/show_lst/".concat(t),n)}function l(t){return r["a"].get("/store/coupon/send/lst",t)}function f(t){return r["a"].post("store/coupon/send",t)}function g(t){return r["a"].get("store/coupon/detail/".concat(t))}function p(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 _(t){return r["a"].get("broadcast/room/apply/form/".concat(t))}function x(t){return r["a"].get("broadcast/room/detail/".concat(t))}function L(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 C(t,n){return r["a"].post("broadcast/room/closeKf/".concat(t),{status:n})}function z(t){return r["a"].get("broadcast/goods/lst",t)}function j(t){return r["a"].get("broadcast/goods/detail/".concat(t))}function D(t,n){return r["a"].post("broadcast/goods/status/".concat(t),n)}function S(t){return r["a"].get("broadcast/goods/apply/form/".concat(t))}function V(){return r["a"].get("seckill/config/create/form")}function $(t){return r["a"].get("seckill/config/lst",t)}function O(t){return r["a"].get("seckill/config/update/".concat(t,"/form"))}function P(t){return r["a"].delete("seckill/config/delete/".concat(t))}function T(t,n){return r["a"].post("seckill/config/status/".concat(t),{status:n})}function M(t,n){return r["a"].get("seckill/product/detail/".concat(t),n)}function E(t,n){return r["a"].get("broadcast/room/goods/".concat(t),n)}function q(t){return r["a"].delete("broadcast/goods/delete/".concat(t))}function B(t,n){return r["a"].post("broadcast/room/sort/".concat(t),n)}function I(t,n){return r["a"].post("broadcast/goods/sort/".concat(t),n)}function J(t){return r["a"].post("config/others/group_buying",t)}function R(){return r["a"].get("config/others/group_buying")}function K(t){return r["a"].get("store/product/group/lst",t)}function N(t){return r["a"].get("store/product/group/get/".concat(t))}function U(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 G(t){return r["a"].get("store/product/group/get/".concat(t))}function H(t,n){return r["a"].post("store/product/group/update/".concat(t),n)}function Q(t){return r["a"].get("store/product/group/buying/lst",t)}function X(t,n){return r["a"].get("store/product/group/buying/detail/".concat(t),n)}function Y(t,n){return r["a"].get("store/coupon/product/".concat(t),n)}function Z(){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 ut(t,n){return r["a"].post("discounts/status/".concat(t),{status:n})}function ct(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 dt(t){return r["a"].get("activity/atmosphere/lst",t)}function lt(t){return r["a"].get("activity/atmosphere/detail/".concat(t))}function ft(t,n){return r["a"].post("activity/atmosphere/status/".concat(t),{status:n})}function gt(t){return r["a"].delete("activity/atmosphere/delete/".concat(t))}function pt(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))}},f8b7:function(t,n,e){"use strict";e.d(n,"n",(function(){return o})),e.d(n,"b",(function(){return u})),e.d(n,"a",(function(){return c})),e.d(n,"p",(function(){return a})),e.d(n,"l",(function(){return i})),e.d(n,"m",(function(){return s})),e.d(n,"o",(function(){return d})),e.d(n,"t",(function(){return l})),e.d(n,"i",(function(){return f})),e.d(n,"j",(function(){return g})),e.d(n,"g",(function(){return p})),e.d(n,"h",(function(){return m})),e.d(n,"f",(function(){return b})),e.d(n,"v",(function(){return h})),e.d(n,"w",(function(){return v})),e.d(n,"u",(function(){return y})),e.d(n,"e",(function(){return k})),e.d(n,"d",(function(){return w})),e.d(n,"c",(function(){return _})),e.d(n,"s",(function(){return x})),e.d(n,"r",(function(){return L})),e.d(n,"q",(function(){return F}));var r=e("0c6d");function o(t){return r["a"].get("order/lst",t)}function u(){return r["a"].get("order/chart")}function c(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 d(t,n){return r["a"].get("order/status/".concat(t),n)}function l(t){return r["a"].get("order/refund/lst",t)}function f(t){return r["a"].get("order/children/".concat(t))}function g(t){return r["a"].get("order/express/".concat(t))}function p(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 _(t){return r["a"].get("delivery/order/cancel/".concat(t,"/form"))}function x(t){return r["a"].get("delivery/station/payLst",t)}function L(){return r["a"].get("delivery/title")}function F(){return r["a"].get("delivery/belence")}}}]); |