| 1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-475f930e"],{"0b65":function(t,e,n){"use strict";e["a"]={shortcuts:[{text:"今天",onClick:function(t){var e=new Date,n=new Date;n.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate())),t.$emit("pick",[n,e])}},{text:"昨天",onClick:function(t){var e=new Date,n=new Date;n.setTime(n.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate()-1))),e.setTime(e.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate()-1))),t.$emit("pick",[n,e])}},{text:"最近7天",onClick:function(t){var e=new Date,n=new Date;n.setTime(n.getTime()-6048e5),t.$emit("pick",[n,e])}},{text:"最近30天",onClick:function(t){var e=new Date,n=new Date;n.setTime(n.getTime()-2592e6),t.$emit("pick",[n,e])}},{text:"本月",onClick:function(t){var e=new Date,n=new Date;n.setTime(n.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),1))),t.$emit("pick",[n,e])}},{text:"本年",onClick:function(t){var e=new Date,n=new Date;n.setTime(n.setTime(new Date((new Date).getFullYear(),0,1))),t.$emit("pick",[n,e])}}]}},2801:function(t,e,n){"use strict";n.d(e,"f",(function(){return r})),n.d(e,"j",(function(){return i})),n.d(e,"v",(function(){return c})),n.d(e,"w",(function(){return o})),n.d(e,"a",(function(){return u})),n.d(e,"b",(function(){return l})),n.d(e,"x",(function(){return s})),n.d(e,"B",(function(){return f})),n.d(e,"z",(function(){return d})),n.d(e,"A",(function(){return m})),n.d(e,"y",(function(){return g})),n.d(e,"d",(function(){return p})),n.d(e,"c",(function(){return h})),n.d(e,"L",(function(){return b})),n.d(e,"n",(function(){return v})),n.d(e,"i",(function(){return w})),n.d(e,"g",(function(){return x})),n.d(e,"h",(function(){return D})),n.d(e,"r",(function(){return k})),n.d(e,"N",(function(){return _})),n.d(e,"K",(function(){return y})),n.d(e,"I",(function(){return F})),n.d(e,"G",(function(){return L})),n.d(e,"M",(function(){return C})),n.d(e,"J",(function(){return T})),n.d(e,"H",(function(){return O})),n.d(e,"m",(function(){return S})),n.d(e,"l",(function(){return j})),n.d(e,"k",(function(){return $})),n.d(e,"e",(function(){return z})),n.d(e,"q",(function(){return M})),n.d(e,"o",(function(){return V})),n.d(e,"O",(function(){return J})),n.d(e,"t",(function(){return Y})),n.d(e,"s",(function(){return N})),n.d(e,"p",(function(){return I})),n.d(e,"P",(function(){return P})),n.d(e,"u",(function(){return A})),n.d(e,"F",(function(){return B})),n.d(e,"C",(function(){return E})),n.d(e,"D",(function(){return R})),n.d(e,"E",(function(){return q}));var a=n("0c6d");function r(t){return a["a"].get("user/extract/lst",t)}function i(t,e){return a["a"].post("user/extract/status/".concat(t),e)}function c(t){return a["a"].get("user/recharge/list",t)}function o(){return a["a"].get("user/recharge/total")}function u(t){return a["a"].get("bill/list",t)}function l(){return a["a"].get("bill/type")}function s(t){return a["a"].get("merchant/order/reconciliation/lst",t)}function f(t,e){return a["a"].post("merchant/order/reconciliation/status/".concat(t),e)}function d(t,e){return a["a"].get("merchant/order/reconciliation/".concat(t,"/order"),e)}function m(t,e){return a["a"].get("merchant/order/reconciliation/".concat(t,"/refund"),e)}function g(t){return a["a"].get("merchant/order/reconciliation/mark/".concat(t,"/form"))}function p(t){return a["a"].get("financial_record/list",t)}function h(t){return a["a"].get("financial_record/export",t)}function b(t){return a["a"].get("financial/export",t)}function v(t){return a["a"].get("bill/export",t)}function w(t){return a["a"].get("user/extract/export",t)}function x(t){return a["a"].get("user/extract/status_form/".concat(t))}function D(t){return a["a"].get("user/extract/detail/".concat(t))}function k(){return a["a"].get("version")}function _(t){return a["a"].get("config/".concat(t))}function y(t){return a["a"].get("financial/lst",t)}function F(){return a["a"].get("financial/title")}function L(t){return a["a"].get("financial/detail/".concat(t))}function C(t,e){return a["a"].post("financial/status/".concat(t),e)}function T(t){return a["a"].get("financial/mark/".concat(t,"/form"))}function O(t,e){return a["a"].post("financial/update/".concat(t),e)}function S(t){return a["a"].get("financial_record/lst",t)}function j(t,e){return a["a"].get("financial_record/detail/".concat(t),e)}function $(t){return a["a"].get("financial_record/title",t)}function z(t,e){return a["a"].get("financial_record/detail_export/".concat(t),e)}function M(t){return a["a"].get("financial_record/count",t)}function V(t){return a["a"].get("agreement/".concat(t))}function J(t,e){return a["a"].post("agreement/".concat(t),e)}function Y(t){return a["a"].get("receipt/lst",t)}function N(t){return a["a"].get("receipt/detail/".concat(t))}function I(){return a["a"].get("profitsharing/config")}function P(t){return a["a"].post("profitsharing/config",t)}function A(t){return a["a"].get("financial_record/mer_lst",t)}function B(t,e){return a["a"].get("financial_record/mer_list/".concat(t),e)}function E(t,e){return a["a"].get("financial_record/mer_detail/".concat(t),e)}function R(t,e){return a["a"].get("financial_record/mer_excel/".concat(t),e)}function q(t,e){return a["a"].get("financial_record/mer_title/".concat(t),e)}},"64dc":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:"divBox"},[n("div",{staticClass:"selCard"},[n("el-form",{ref:"searchForm",attrs:{model:t.tableFrom,size:"small",inline:"","label-width":"85px"}},[n("el-form-item",{attrs:{label:"时间选择:"}},[n("el-date-picker",{staticStyle:{width:"280px"},attrs:{"value-format":"yyyy/MM/dd",format:"yyyy/MM/dd",type:"daterange",placement:"bottom-end",clearable:"","start-placeholder":"开始时间","end-placeholder":"结束时间","picker-options":t.pickerOptions},on:{change:t.onchangeTime},model:{value:t.timeVal,callback:function(e){t.timeVal=e},expression:"timeVal"}})],1),t._v(" "),n("el-form-item",{attrs:{label:"明细类型:",prop:"type"}},[n("el-select",{staticClass:"selWidth",attrs:{filterable:"",clearable:"",placeholder:"请选择"},on:{change:function(e){return t.getList(1)}},model:{value:t.tableFrom.type,callback:function(e){t.$set(t.tableFrom,"type",e)},expression:"tableFrom.type"}},t._l(t.options,(function(t,e){return n("el-option",{key:e,attrs:{label:t.title,value:t.type}})})),1)],1),t._v(" "),n("select-search",{ref:"selectSearch",attrs:{select:t.select,searchSelectList:t.searchSelectList},on:{search:t.searchList}}),t._v(" "),n("el-form-item",[n("el-button",{attrs:{type:"primary",size:"small"},on:{click:t.getSearchList}},[t._v("搜索")]),t._v(" "),n("el-button",{attrs:{size:"small"},on:{click:function(e){return t.searchReset()}}},[t._v("重置")])],1)],1)],1),t._v(" "),n("el-card",{staticClass:"mt14"},[n("div",{staticClass:"mb20"},[n("el-button",{attrs:{size:"small",type:"primary"},on:{click:t.exports}},[t._v("导出列表")])],1),t._v(" "),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],staticClass:"table",attrs:{data:t.tableData.data,size:"small","highlight-current-row":""}},[n("el-table-column",{attrs:{prop:"uid",label:"会员ID",width:"100"}}),t._v(" "),n("el-table-column",{attrs:{prop:"nickname",label:"昵称","min-width":"150"}}),t._v(" "),n("el-table-column",{attrs:{prop:"number",label:"金额","min-width":"120"}}),t._v(" "),n("el-table-column",{attrs:{label:"明细类型","min-width":"180",prop:"title"}}),t._v(" "),n("el-table-column",{attrs:{prop:"mark",label:"备注","min-width":"250"}}),t._v(" "),n("el-table-column",{attrs:{prop:"create_time",label:"创建时间","min-width":"150"}})],1),t._v(" "),n("div",{staticClass:"block"},[n("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)},r=[],i=n("db72"),c=n("c80c"),o=(n("96cf"),n("3b8d")),u=n("2801"),l=n("e572"),s=n("2e83"),f=n("0b65"),d=n("6e76"),m={components:{selectSearch:d["default"]},name:"AccountsCapital",data:function(){return{timeVal:[],pickerOptions:f["a"],tableData:{data:[],total:0},listLoading:!0,select:"nickname",searchSelectList:[{label:"昵称",value:"nickname"},{label:"用户ID",value:"uid"},{label:"手机号",value:"phone"}],tableFrom:{type:"",date:"",keyword:"",page:1,limit:20},fromList:l["a"],options:[]}},mounted:function(){this.getTypes(),this.getList()},methods:{searchReset:function(){this.timeVal=[],this.tableFrom.date="",this.$refs.searchForm.resetFields(),this.$refs.selectSearch.resetParmas()},onchangeTime:function(t){this.timeVal=t,this.tableFrom.date=t?this.timeVal.join("-"):"",this.tableFrom.page=1,this.getList(1)},exports:function(){var t=Object(o["a"])(Object(c["a"])().mark((function t(){var e,n,a,r,i;return Object(c["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:e=JSON.parse(JSON.stringify(this.tableFrom)),n=[],e.page=1,a=1,r={},i=0;case 5:if(!(i<a)){t.next=14;break}return t.next=8,this.downData(e);case 8:r=t.sent,a=Math.ceil(r.count/e.limit),r.export.length&&(n=n.concat(r.export),e.page++);case 11:i++,t.next=5;break;case 14:return Object(s["a"])(r.header,r.title,n,r.foot,r.filename),t.abrupt("return");case 16:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),downData:function(t){return new Promise((function(e,n){Object(u["n"])(t).then((function(t){return e(t.data)}))}))},searchList:function(t){this.tableFrom=Object(i["a"])(Object(i["a"])({},this.tableFrom),t),this.getList(1)},getSearchList:function(){this.$refs.selectSearch.changeSearch()},getList:function(t){var e=this;this.listLoading=!0,this.tableFrom.page=t||this.tableFrom.page,Object(u["a"])(this.tableFrom).then((function(t){e.tableData.data=t.data.list,e.tableData.total=t.data.count,e.listLoading=!1})).catch((function(t){e.$message.error(t.message),e.listLoading=!1}))},pageChange:function(t){this.tableFrom.page=t,this.getList()},handleSizeChange:function(t){this.tableFrom.limit=t,this.getList()},getTypes:function(){var t=this;Object(u["b"])().then((function(e){t.options=e.data})).catch((function(e){t.$message.error(e.message)}))}}},g=m,p=n("2877"),h=Object(p["a"])(g,a,r,!1,null,"5ab24876",null);e["default"]=h.exports},e572:function(t,e,n){"use strict";n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return i}));var a=[{label:"开启",value:1},{label:"关闭",value:0}],r={title:"选择时间",custom:!0,fromTxt:[{text:"全部",val:""},{text:"今天",val:"today"},{text:"昨天",val:"yesterday"},{text:"最近7天",val:"lately7"},{text:"最近30天",val:"lately30"},{text:"本月",val:"month"},{text:"本年",val:"year"}]},i={title:"状态",custom:!0,fromTxt:[{text:"全部",val:""},{text:"待审核",val:"0"},{text:"审核已通过",val:"1"},{text:"审核未通过",val:"2"}]}}}]);
|