easypay-admin/crmebadmin/static/js/chunk-6083fc32.0a63391f.js
2023-12-20 21:43:49 +08:00

1 line
4.6 KiB
JavaScript

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6083fc32"],{"08dd":function(t,e,a){},2839:function(t,e,a){"use strict";a("08dd")},"2e22":function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"divBox"},[a("el-card",{staticClass:"box-card"},[a("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[a("div",{staticClass:"container"},[a("el-form",{attrs:{"label-width":"100px",inline:!0}},[a("el-form-item",[a("el-select",{attrs:{clearable:"",placeholder:"请选择"},model:{value:t.tableFrom.type,callback:function(e){t.$set(t.tableFrom,"type",e)},expression:"tableFrom.type"}},t._l(t.typeOptions,(function(t){return a("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1)],1),t._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"primary",size:"small"},on:{click:function(e){return t.getList(1)}}},[t._v("查询")])],1)],1)],1)]),t._v(" "),a("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":""}},[a("el-table-column",{attrs:{prop:"id",label:"ID",width:"80"}}),t._v(" "),a("el-table-column",{attrs:{label:"佣金变动","min-width":"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{class:1==e.row.type?"color_red":"color_green"},[t._v(t._s(1==e.row.type?"+":"-")+t._s(e.row.price))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"mark",label:"变动信息","min-width":"150"}}),t._v(" "),a("el-table-column",{attrs:{label:"变动类型","min-width":"130",prop:"title"}}),t._v(" "),a("el-table-column",{attrs:{prop:"userName",label:"用户信息","min-width":"150"}}),t._v(" "),a("el-table-column",{attrs:{label:"时间","min-width":"130",prop:"updateTime"}})],1),t._v(" "),a("div",{staticClass:"block"},[a("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)},i=[],l=a("e7de"),r={name:"AccountsCapital",data:function(){return{timeVal:[],tableData:{data:[],total:0},listLoading:!0,tableFrom:{type:"",page:1,limit:20},userTableFrom:{page:1,limit:10,dateLimit:""},fromList:this.$constants.fromList,options:[],typeOptions:[{value:1,label:"订单返佣"},{value:2,label:"申请提现"},{value:3,label:"提现失败"},{value:4,label:"提现成功"},{value:5,label:"佣金转余额"}]}},mounted:function(){this.getList()},methods:{getList:function(t){var e=this;this.listLoading=!0,this.tableFrom.page=t||this.tableFrom.page,Object(l["f"])(this.tableFrom).then((function(t){e.tableData.data=t.list,e.tableData.total=t.total,e.listLoading=!1})).catch((function(t){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;billTypeApi().then((function(e){t.options=e.data,localStorage.setItem("CashKey",JSON.stringify(e.data))})).catch((function(e){t.$message.error(e.message)}))}}},o=r,s=(a("2839"),a("2877")),u=Object(s["a"])(o,n,i,!1,null,"6a4783de",null);e["default"]=u.exports},e7de:function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"a",(function(){return l})),a.d(e,"d",(function(){return r})),a.d(e,"c",(function(){return o})),a.d(e,"j",(function(){return s})),a.d(e,"e",(function(){return u})),a.d(e,"i",(function(){return c})),a.d(e,"h",(function(){return d})),a.d(e,"g",(function(){return p})),a.d(e,"f",(function(){return m}));var n=a("b775");function i(t){return Object(n["a"])({url:"/admin/finance/apply/list",method:"get",params:t})}function l(t){return Object(n["a"])({url:"/admin/finance/apply/balance",method:"post",params:t})}function r(t){return Object(n["a"])({url:"/admin/finance/apply/update",method:"post",params:t})}function o(t,e){return Object(n["a"])({url:"/admin/finance/apply/apply",method:"post",params:t,data:e})}function s(t){return Object(n["a"])({url:"/admin/user/topUpLog/list",method:"get",params:t})}function u(){return Object(n["a"])({url:"/admin/user/topUpLog/balance",method:"post"})}function c(t){return Object(n["a"])({url:"/admin/user/topUpLog/delete",method:"get",params:t})}function d(t){return Object(n["a"])({url:"/admin/user/topUpLog/refund",method:"post",data:t})}function p(t){return Object(n["a"])({url:"/admin/finance/founds/monitor/list",method:"get",params:t})}function m(t){return Object(n["a"])({url:"/admin/finance/founds/monitor/brokerage/record",method:"get",params:t})}}}]);