2 lines
3.4 KiB
JavaScript
2 lines
3.4 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-9e1afe02"],{"0ad7":function(a,t,e){},"72cd":function(a,t,e){"use strict";e("0ad7")},d5bc:function(a,t,e){"use strict";e.r(t);var n=function(){var a=this,t=a._self._c;return t("div",[t("el-card",{staticClass:"margin-top-sm"},[t("div",{staticClass:"flex justify-between",attrs:{slot:"header"},slot:"header"},[t("div",[a._v(a._s(a.$t("accountWithdrawalApplyListManage.accountWithdrawalRecords")))])]),t("div",{},[t("account-withdrawal-apply-list-table",{attrs:{"table-data":a.accountWithdrawalApplyListManageInfo.accountWithdrawalApplyLists,loading:a.loading},on:{refresh:a.handleRefresh}}),t("el-pagination",{staticClass:"pagination-container",attrs:{background:"",layout:"total, sizes, prev, pager, next, jumper","current-page":a.pagination.currentPage,"page-size":a.pagination.pageSize,total:a.pagination.total},on:{"current-change":a.handleCurrentChange,"size-change":a.handleSizeChange}})],1)])],1)},l=[],i=function(){var a=this,t=a._self._c;return t("el-table",{directives:[{name:"loading",rawName:"v-loading",value:a.loading,expression:"loading"}],staticStyle:{width:"100%"},attrs:{data:a.tableData,border:""}},[t("el-table-column",{attrs:{prop:"amount",label:a.$t("accountWithdrawalApplyListManage.withdrawalAmount"),align:"center"}}),t("el-table-column",{attrs:{prop:"applyUserName",label:a.$t("accountWithdrawalApplyListManage.applicantName"),align:"center"}}),t("el-table-column",{attrs:{prop:"applyUserTel",label:a.$t("accountWithdrawalApplyListManage.applicantPhone"),align:"center"}}),t("el-table-column",{attrs:{prop:"context",label:a.$t("accountWithdrawalApplyListManage.applicationDescription"),align:"center"}}),t("el-table-column",{attrs:{prop:"stateName",label:a.$t("accountWithdrawalApplyListManage.status"),align:"center"}})],1)},s=[],o={name:"AccountWithdrawalApplyListTable",props:{tableData:{type:Array,default:()=>[]},loading:{type:Boolean,default:!1}},emits:["refresh"],created(){console.log("refresh")}},r=o,c=e("2877"),p=Object(c["a"])(r,i,s,!1,null,null,null),d=p.exports,h=e("b775");function u(a){return new Promise((t,e)=>{Object(h["a"])({url:"/accountWithdrawalApply/listStateWithdrawalApplys",method:"get",params:a}).then(a=>{const e=a.data;t(e)}).catch(a=>{e(a)})})}var g=e("7323"),w={name:"AccountWithdrawalApplyListManage",components:{AccountWithdrawalApplyListTable:d},data(){return{loading:!1,shopId:"",accountWithdrawalApplyListManageInfo:{accountWithdrawalApplyLists:[],conditions:{state:"486,586,587,686,687"}},pagination:{currentPage:1,pageSize:10,total:0}}},created(){this.shopId=Object(g["f"])(),this._listAccountWithdrawalApplyLists()},methods:{async _listAccountWithdrawalApplyLists(){this.loading=!0;const a={...this.accountWithdrawalApplyListManageInfo.conditions,page:this.pagination.currentPage,row:this.pagination.pageSize};try{const t=await u(a);this.accountWithdrawalApplyListManageInfo.accountWithdrawalApplyLists=t.data,this.pagination.total=t.total}catch(t){console.error("获取提现申请列表失败:",t)}finally{this.loading=!1}},handleCurrentChange(a){this.pagination.currentPage=a,this._listAccountWithdrawalApplyLists()},handleSizeChange(a){this.pagination.pageSize=a,this._listAccountWithdrawalApplyLists()},handleRefresh(){this._listAccountWithdrawalApplyLists()}}},y=w,A=(e("72cd"),Object(c["a"])(y,n,l,!1,null,"69f95716",null));t["default"]=A.exports}}]);
|
|
//# sourceMappingURL=chunk-9e1afe02.a749b8fa.js.map
|