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
9.1 KiB
1 lines
9.1 KiB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2fb83738"],{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 h})),n.d(e,"c",(function(){return b})),n.d(e,"L",(function(){return p})),n.d(e,"n",(function(){return _})),n.d(e,"i",(function(){return v})),n.d(e,"g",(function(){return x})),n.d(e,"h",(function(){return y})),n.d(e,"r",(function(){return w})),n.d(e,"N",(function(){return F})),n.d(e,"K",(function(){return k})),n.d(e,"I",(function(){return L})),n.d(e,"G",(function(){return S})),n.d(e,"M",(function(){return C})),n.d(e,"J",(function(){return D})),n.d(e,"H",(function(){return z})),n.d(e,"m",(function(){return j})),n.d(e,"l",(function(){return M})),n.d(e,"k",(function(){return V})),n.d(e,"e",(function(){return $})),n.d(e,"q",(function(){return O})),n.d(e,"o",(function(){return T})),n.d(e,"O",(function(){return J})),n.d(e,"t",(function(){return P})),n.d(e,"s",(function(){return q})),n.d(e,"p",(function(){return A})),n.d(e,"P",(function(){return B})),n.d(e,"u",(function(){return E})),n.d(e,"F",(function(){return N})),n.d(e,"C",(function(){return G})),n.d(e,"D",(function(){return H})),n.d(e,"E",(function(){return I}));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 h(t){return a["a"].get("financial_record/list",t)}function b(t){return a["a"].get("financial_record/export",t)}function p(t){return a["a"].get("financial/export",t)}function _(t){return a["a"].get("bill/export",t)}function v(t){return a["a"].get("user/extract/export",t)}function x(t){return a["a"].get("user/extract/status_form/".concat(t))}function y(t){return a["a"].get("user/extract/detail/".concat(t))}function w(){return a["a"].get("version")}function F(t){return a["a"].get("config/".concat(t))}function k(t){return a["a"].get("financial/lst",t)}function L(){return a["a"].get("financial/title")}function S(t){return a["a"].get("financial/detail/".concat(t))}function C(t,e){return a["a"].post("financial/status/".concat(t),e)}function D(t){return a["a"].get("financial/mark/".concat(t,"/form"))}function z(t,e){return a["a"].post("financial/update/".concat(t),e)}function j(t){return a["a"].get("financial_record/lst",t)}function M(t,e){return a["a"].get("financial_record/detail/".concat(t),e)}function V(t){return a["a"].get("financial_record/title",t)}function $(t,e){return a["a"].get("financial_record/detail_export/".concat(t),e)}function O(t){return a["a"].get("financial_record/count",t)}function T(t){return a["a"].get("agreement/".concat(t))}function J(t,e){return a["a"].post("agreement/".concat(t),e)}function P(t){return a["a"].get("receipt/lst",t)}function q(t){return a["a"].get("receipt/detail/".concat(t))}function A(){return a["a"].get("profitsharing/config")}function B(t){return a["a"].post("profitsharing/config",t)}function E(t){return a["a"].get("financial_record/mer_lst",t)}function N(t,e){return a["a"].get("financial_record/mer_list/".concat(t),e)}function G(t,e){return a["a"].get("financial_record/mer_detail/".concat(t),e)}function H(t,e){return a["a"].get("financial_record/mer_excel/".concat(t),e)}function I(t,e){return a["a"].get("financial_record/mer_title/".concat(t),e)}},"9f96":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("el-card",{staticClass:"box-card"},[n("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[n("div",{staticClass:"container"},[n("el-form",{attrs:{size:"small","label-width":"100px"}},[n("el-form-item",{staticClass:"width100",attrs:{label:"时间选择:"}},[n("el-radio-group",{staticClass:"mr20",attrs:{type:"button",size:"small"},on:{change:function(e){return t.selectChange(t.tableFrom.date)}},model:{value:t.tableFrom.date,callback:function(e){t.$set(t.tableFrom,"date",e)},expression:"tableFrom.date"}},t._l(t.fromList.fromTxt,(function(e,a){return n("el-radio-button",{key:a,attrs:{label:e.val}},[t._v(t._s(e.text))])})),1),t._v(" "),n("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(e){t.timeVal=e},expression:"timeVal"}})],1),t._v(" "),n("el-form-item",{staticStyle:{display:"inline-block"},attrs:{label:"商户名称:"}},[n("el-select",{staticClass:"selWidth",attrs:{clearable:"",filterable:"",placeholder:"请选择"},on:{change:function(e){t.getList(1),t.getStatisticalData()}},model:{value:t.tableFrom.mer_id,callback:function(e){t.$set(t.tableFrom,"mer_id",e)},expression:"tableFrom.mer_id"}},t._l(t.merSelect,(function(t){return n("el-option",{key:t.mer_id,attrs:{label:t.mer_name,value:t.mer_id}})})),1)],1)],1)],1),t._v(" "),n("cards-data",{attrs:{"card-lists":t.cardLists}})],1),t._v(" "),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],staticClass:"table",staticStyle:{width:"100%"},attrs:{data:t.tableData.data,size:"mini","highlight-current-row":""}},[n("el-table-column",{attrs:{label:"序号","min-width":"60"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.$index+(t.tableFrom.page-1)*t.tableFrom.limit+1))])]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"商户名称","min-width":"150"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.merchant?e.row.merchant.mer_name:""))])]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"充值金额(元)","min-width":"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(1===e.row.financial_pm?e.row.number:-e.row.number))])]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"create_time",label:"支付时间","min-width":"130"}})],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("2801"),c=n("c4c8"),o=n("e572"),u=n("83d6"),l=n("0f56"),s={name:"AccountsCapitalFlow",components:{cardsData:l["a"]},data:function(){return{timeVal:[],merSelect:[],tableData:{data:[],total:0},roterPre:u["roterPre"],listLoading:!0,tableFrom:{date:"",keyword:"",mer_id:"",page:1,limit:20},fromList:o["a"],options:[],cardLists:[]}},mounted:function(){this.getList(),this.getStatisticalData(),this.getMerSelect()},methods:{selectChange:function(t){this.tableFrom.date=t,this.timeVal=[],this.tableFrom.page=1,this.getList(),this.getStatisticalData()},onchangeTime:function(t){this.timeVal=t,this.tableFrom.date=t?this.timeVal.join("-"):"",this.tableFrom.page=1,this.getList(),this.getStatisticalData()},getStatisticalData:function(){var t=this;Object(i["q"])({date:this.tableFrom.date}).then((function(e){t.cardLists=e.data})).catch((function(e){t.$message.error(e.message)}))},getMerSelect:function(){var t=this;Object(c["Q"])().then((function(e){t.merSelect=e.data})).catch((function(e){t.$message.error(e.message)}))},getList:function(t){var e=this;this.listLoading=!0,this.tableFrom.page=t||this.tableFrom.page,Object(i["d"])(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()}}},f=s,d=n("2877"),m=Object(d["a"])(f,a,r,!1,null,"24da2da8",null);e["default"]=m.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"}]}}}]); |