| 1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["OnlineDeposit"],{"133f":function(e,t,r){"use strict";r.r(t);var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{directives:[{name:"loading",rawName:"v-loading",value:e.pictLoading,expression:"pictLoading"}],staticClass:"view",attrs:{id:"financial_OnlineDeposit","element-loading-background":"rgba(43, 48, 67, 0.65)","element-loading-spinner":"el-icon-loading"}},[r("div",{staticClass:"crm_search"},[r("el-form",{ref:"form",attrs:{"label-position":"",model:e.search,"label-width":""}},[r("el-row",[r("el-col",{attrs:{span:24,md:24,lg:24}},[r("el-form-item",{staticStyle:{"margin-right":"10px"}},[r("el-select",{staticClass:"crm_search_down_special crm-border-radius-no",attrs:{size:"small",placeholder:e.$t("Placeholder.Choose")},model:{value:e.search.status,callback:function(t){e.$set(e.search,"status",t)},expression:"search.status"}},[r("el-option",{attrs:{label:e.$t("State.All"),value:null},nativeOn:{click:function(t){return e.toSearch(t)}}}),r("el-option",{attrs:{label:e.$t("State.ToBeProcessed"),value:0},nativeOn:{click:function(t){return e.toSearch(t)}}}),r("el-option",{attrs:{label:e.$t("State.InTheProcessing"),value:1},nativeOn:{click:function(t){return e.toSearch(t)}}}),r("el-option",{attrs:{label:e.$t("State.Pass"),value:2},nativeOn:{click:function(t){return e.toSearch(t)}}}),r("el-option",{attrs:{label:e.$t("State.Refused"),value:3},nativeOn:{click:function(t){return e.toSearch(t)}}})],1)],1),r("el-form-item",[r("el-select",{staticClass:"crm_search_down crm-border-radius-no",attrs:{size:"small",placeholder:e.$t("Placeholder.Choose")},model:{value:e.search.tag,callback:function(t){e.$set(e.search,"tag",t)},expression:"search.tag"}},[r("el-option",{attrs:{label:"CID",value:1}}),r("el-option",{attrs:{label:e.$t("Label.TradingAccount"),value:2}})],1)],1),r("el-form-item",{staticStyle:{"margin-right":"10px"}},[1==e.search.tag?r("el-input",{staticClass:"crm-border-left-no crm-border-radius-no",attrs:{size:"small",placeholder:e.$t("Placeholder.Input")},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.toSearch(t)}},model:{value:e.search.cId,callback:function(t){e.$set(e.search,"cId","string"===typeof t?t.trim():t)},expression:"search.cId"}}):e._e(),2==e.search.tag?r("el-input",{staticClass:"crm-border-left-no crm-border-radius-no",attrs:{size:"small",placeholder:e.$t("Placeholder.Input")},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.toSearch(t)}},model:{value:e.search.login,callback:function(t){e.$set(e.search,"login","string"===typeof t?t.trim():t)},expression:"search.login"}}):e._e(),3==e.search.tag?r("el-input",{staticClass:"crm-border-left-no crm-border-radius-no",attrs:{size:"small",placeholder:e.$t("Placeholder.Input")},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.toSearch(t)}},model:{value:e.search.customId,callback:function(t){e.$set(e.search,"customId","string"===typeof t?t.trim():t)},expression:"search.customId"}}):e._e()],1),r("el-form-item",[r("el-date-picker",{staticClass:"crm_date_pick crm-border-radius-no",attrs:{type:"daterange",align:"right","unlink-panels":"","value-format":"yyyy-MM-dd","range-separator":"-",size:"small","start-placeholder":e.$t("Placeholder.Start"),"end-placeholder":e.$t("Placeholder.End")},model:{value:e.search.date,callback:function(t){e.$set(e.search,"date",t)},expression:"search.date"}}),r("el-button",{staticClass:"crm-border-left-no crm-border-radius-no",attrs:{size:"small",icon:"el-icon-search"},on:{click:e.toSearch}})],1)],1)],1),r("el-form-item",[e.display["R-OnlineDeposit-Export"].show?r("el-button",{staticStyle:{"margin-left":"8px"},attrs:{type:"primary",size:"small"},on:{click:e.exportAgents}},[r("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.Export",expression:"'Btn.Export'"}]})]):e._e()],1)],1)],1),r("el-table",{attrs:{data:e.mock_tableData,stripe:"",fit:""}},[r("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Label.CidAccount")},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.cId&&e.display["R-OnlineDeposit-Single"].show?r("span",{staticClass:"crm-text-underline",on:{click:function(r){return e.accountOpen(t.row.cId)}}},[e._v(e._s(t.row.cId||"--"))]):r("span",[e._v(e._s(t.row.cId||"--"))])]}}])}),r("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Label.AttributionNumber")},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.pIbNo&&e.display["R-OnlineDeposit-Single"].show?r("span",{staticClass:"crm-text-underline",on:{click:function(r){return e.agentOpen(t.row.pIbNo)}}},[e._v(e._s(t.row.pIbNo||"--"))]):r("span",[e._v(e._s(t.row.pIbNo||"--"))])]}}])}),r("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Label.Encode")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.salesNo||"--")+" ")]}}])}),r("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Label.TradingAccount")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.login||"--")+" ")]}}])}),r("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Label.Platform")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.platform||"--")+" ")]}}])}),r("el-table-column",{attrs:{prop:"title",align:"left",label:e.$i18n.t("Label.Name")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.name||"--")+" ")]}}])}),r("el-table-column",{attrs:{prop:"deliveryTime",align:"left",label:e.$i18n.t("Label.SerialNumber")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.serial||"--")+" ")]}}])}),r("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Label.PaymentOrder")},scopedSlots:e._u([{key:"default",fn:function(t){return["UNION_PAY_TELEGRAPHIC"==t.row.payType?r("div",[r("el-image",{staticStyle:{width:"50px",height:"50px"},attrs:{lazy:!1,src:e.imgUrl+t.row.voucherUrl,"preview-src-list":[e.imgUrl+t.row.voucherUrl]}},[r("div",{staticClass:"image-slot",attrs:{slot:"error"},slot:"error"},[r("i",{staticClass:"el-icon-picture-outline"})])])],1):r("span",[e._v(e._s(t.row.channelSerial||"--"))])]}}])}),r("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Label.AmountMoney")},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",{staticStyle:{color:"#EB3F57"}},[e._v(e._s(e._f("NumberFormat")(t.row.amount||"--")))]),r("div",[e._v(e._s(t.row.currency||"--"))])]}}])}),r("el-table-column",{attrs:{prop:"",align:"left",label:"CNY"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("span",[e._v(e._s(e._f("NumberFormat")(t.row.cny||"--")))])]}}])}),r("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Label.PaymentType")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s("cn"==e.Session.Get("lang")?t.row.remittanceChannelName||"--":t.row.remittanceChannelEnName||"--")+" ")]}}])}),r("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("news_add_field.Label.depositPlatformAmount")},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",{staticStyle:{color:"#EB3F57"}},[e._v(e._s(e._f("NumberFormat")(e._f("NumberDecimal")(t.row.depositAmount||"0"))))]),r("div",[e._v(e._s(t.row.depositCurrency||"--"))])]}}])}),r("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Enter_info.type_dynamic7")},scopedSlots:e._u([{key:"default",fn:function(e){return[1==e.row.activityDeposit?r("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.Yes",expression:"'Btn.Yes'"}]}):r("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.No",expression:"'Btn.No'"}]})]}}])}),r("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Label.ProcessingDate")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.approveTime||"--")+" ")]}}])}),r("el-table-column",{attrs:{prop:"",align:"center",width:"120",label:e.$i18n.t("Label.State")},scopedSlots:e._u([{key:"default",fn:function(t){return[1==t.row.status?r("span",{directives:[{name:"t",rawName:"v-t",value:"State.ToBeProcessed",expression:"'State.ToBeProcessed'"}],staticClass:"state crm_state_blue"}):e._e(),2==t.row.status&&2==t.row.depositStatus?r("span",{directives:[{name:"t",rawName:"v-t",value:"State.Pass",expression:"'State.Pass'"}],staticClass:"state crm_state_gray"}):e._e(),2==t.row.status&&1==t.row.depositStatus?r("span",{directives:[{name:"t",rawName:"v-t",value:"State.InTheProcessing",expression:"'State.InTheProcessing'"}],staticClass:"state crm_state_green"}):e._e(),3==t.row.status||3==t.row.depositStatus?r("span",{directives:[{name:"t",rawName:"v-t",value:"State.Refused",expression:"'State.Refused'"}],staticClass:"state crm_state_red"}):e._e()]}}])}),r("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Label.OperatingMode")},scopedSlots:e._u([{key:"default",fn:function(t){return[1==t.row.operationType?r("span",{directives:[{name:"t",rawName:"v-t",value:"Label.automatic",expression:"'Label.automatic'"}]}):e._e(),2==t.row.operationType?r("span",{directives:[{name:"t",rawName:"v-t",value:"Label.artificial",expression:"'Label.artificial'"}]}):e._e(),t.row.operationType?e._e():r("span",[e._v(e._s("--"))])]}}])}),r("el-table-column",{attrs:{prop:"",align:"center",label:e.$i18n.t("Label.Action")},scopedSlots:e._u([{key:"default",fn:function(t){return[r("el-dropdown",{attrs:{trigger:"click"},on:{command:e.handleCommand}},[r("span",{staticClass:"el-dropdown-link crm-cursor"},[r("i",{staticClass:"iconfont iconcaidan",staticStyle:{"font-weight":"bold","font-size":"20px"}})]),r("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[1==t.row.status&&e.display["R-OnlineDeposit-Action"].show?r("el-dropdown-item",{attrs:{command:{type:"check",row:t.row}}},[r("i",{staticClass:"el-icon-s-operation"}),r("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.DealWith",expression:"'Btn.DealWith'"}]})]):e._e(),r("el-dropdown-item",{attrs:{command:{type:"detailed",row:t.row}}},[r("i",{staticClass:"iconfont iconxiangxi"}),r("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.Detailed",expression:"'Btn.Detailed'"}]})])],1)],1)]}}])})],1),e.pagerInfo.rowTotal?r("div",{staticClass:"crm_pagination"},[r("div",{staticClass:"crm_page_total"},[r("span",{directives:[{name:"t",rawName:"v-t",value:"Page.total.item1",expression:"'Page.total.item1'"}]}),r("span",[e._v(e._s(e.pagerInfo.rowTotal))]),r("span",{directives:[{name:"t",rawName:"v-t",value:"Page.total.item2",expression:"'Page.total.item2'"}]})]),r("el-pagination",{staticClass:"page",attrs:{background:"",layout:"sizes, prev, pager, next","page-sizes":[10,20,50,100],"page-size":e.pagerInfo.row,total:e.pagerInfo.rowTotal},on:{"current-change":e.handleCurrentChange,"size-change":e.handleSizeChange}})],1):e._e(),r("el-dialog",{attrs:{title:e.$t("Financial_info.OnlineDeposit.Title"),visible:e.dialogCheck,center:"","custom-class":"dialog_header_w"},on:{"update:visible":function(t){e.dialogCheck=t}}},[r("div",{staticClass:"dia-content"},[r("el-form",{ref:"dialogCheck_form",staticClass:"dialogCheck_form",attrs:{model:e.dialogCheck_form,rules:e.rules,"label-width":"135px"}},[r("el-form-item",{attrs:{prop:"",label:e.$t("Label.TradingAccount")+":"}},[e._v(" "+e._s(e.dialogCheck_form.login)+" ")]),r("el-form-item",{attrs:{prop:"",label:e.$t("Label.Platform")+":"}},[e._v(" "+e._s(e.dialogCheck_form.platform)+" ")]),r("el-form-item",{attrs:{prop:"status",label:e.$t("Label.ProcessingState")+":"}},[r("el-select",{staticClass:"crm_search_down",attrs:{size:"small",placeholder:e.$t("Placeholder.Choose")},model:{value:e.dialogCheck_form.status,callback:function(t){e.$set(e.dialogCheck_form,"status",t)},expression:"dialogCheck_form.status"}},[r("el-option",{attrs:{label:e.$t("Apply_info.VerifiedUser.Refused"),value:3}}),r("el-option",{attrs:{label:e.$t("Apply_info.VerifiedUser.Agree"),value:2}})],1)],1),2==e.dialogCheck_form.status?r("el-form-item",{attrs:{prop:"depositTicket",label:e.$t("Label.MTOrderNumber")+":"}},[r("el-input",{attrs:{size:"small",placeholder:e.$t("Placeholder.Input")},model:{value:e.dialogCheck_form.depositTicket,callback:function(t){e.$set(e.dialogCheck_form,"depositTicket","string"===typeof t?t.trim():t)},expression:"dialogCheck_form.depositTicket"}})],1):e._e(),3==e.dialogCheck_form.status?r("el-form-item",{attrs:{prop:"approveDesc",label:e.$t("Label.Descr")+":"}},[r("el-select",{staticClass:"crm_search_down",attrs:{size:"small",placeholder:e.$t("Placeholder.Choose")},model:{value:e.dialogCheck_form.approveDesc,callback:function(t){e.$set(e.dialogCheck_form,"approveDesc",t)},expression:"dialogCheck_form.approveDesc"}},e._l(e.reasons,(function(t){return r("el-option",{key:t.id,attrs:{label:"cn"==e.Session.Get("lang")?t.content:t.enContent,value:t.id}})})),1)],1):e._e()],1),r("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[r("el-button",{directives:[{name:"t",rawName:"v-t",value:"Btn.Confirm",expression:"'Btn.Confirm'"}],attrs:{type:"primary"},on:{click:function(t){return e.toVerified()}}}),r("el-button",{directives:[{name:"t",rawName:"v-t",value:"Btn.Cancel",expression:"'Btn.Cancel'"}],on:{click:e.cancel}})],1)],1)]),r("trading-single",{attrs:{dialogInfoTrading:e.dialogInfoTrading,infoType:e.infoType,formInfo:e.formInfoTrading},on:{closeTrading:e.closeTrading,openInfo:e.openInfo}}),e.dialogInfoTrading?r("div",{staticClass:"crm_verified_info_mask crm_verified_info_mask_trading",on:{click:e.closeDiaTrading}}):e._e(),r("detailed-info-cid",{attrs:{dialogInfoCid:e.dialogInfoCid,formInfo:e.formInfo},on:{close:e.close}}),e.dialogInfoCid?r("div",{staticClass:"crm_verified_info_mask",on:{click:e.closeDia}}):e._e(),r("detailed-info-ibNo",{attrs:{dialogInfoIbNo:e.dialogInfoPIbNo,formInfo:e.formInfoPib},on:{close:e.close}}),e.dialogInfoPIbNo?r("div",{staticClass:"crm_verified_info_mask",on:{click:e.closeDia}}):e._e()],1)},a=[],i=(r("d3b7"),r("ac1f"),r("3ca3"),r("841c"),r("1276"),r("ddb0"),r("2b3d"),r("5530")),s=(r("96cf"),r("1da1")),o=r("bc3a"),c=r.n(o),l=r("a1a2"),u=r("f121"),p=r.n(u),d=r("2d59"),f=r("3a82"),h=r("5011"),g=p.a.Code,m={name:"OnlineDeposit",components:{DetailedInfoCid:d["a"],DetailedInfoIbNo:f["a"],TradingSingle:h["a"]},data:function(){return{flag:!1,imgUrl:p.a.Host85,reasons:{},pictLoading:!1,mock_tableData:[],search:{tag:1,login:"",customId:"",status:null,date:[],startDate:"",endDate:""},dialogInfo:!1,dialogCheck:!1,dialogCheck_form:{},type:1,dialogInfoTrading:!1,formInfoTrading:{},dialogInfoCid:!1,dialogInfoPIbNo:!1,infoType:"",formInfo:{},formInfoPib:{},pagerInfo:{row:10,current:1,pageTotal:0,rowTotal:0},rules:{status:[{required:!0,message:this.$i18n.t("vaildate.select.empty"),trigger:"blur"}],approveDesc:[{required:!0,message:this.$i18n.t("vaildate.select.empty"),trigger:"blur"}],depositTicket:[{required:!0,message:this.$i18n.t("vaildate.input.empty"),trigger:"blur"}]}}},computed:{display:function(){return JSON.parse(this.Session.Get("display",!0))}},methods:{handleCommand:function(e){"check"==e.type?(this.$refs["dialogCheck_form"]&&this.$refs["dialogCheck_form"].resetFields(),this.dialogCheck=!0,this.dialogCheck_form.login=e.row.login,this.dialogCheck_form.platform=e.row.platform,this.dialogCheck_form.id=e.row.id,this.dialogCheck_form.operationType=e.row.operationType):"detailed"==e.type&&(this.formInfoTrading=e.row,this.infoType="financial_OnlineDeposit",this.dialogInfoTrading=!0)},toVerified:function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(){var t=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:this.$refs["dialogCheck_form"].validate(function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(r){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!r){e.next=12;break}if(!t.flag){e.next=5;break}return e.abrupt("return");case 5:t.flag=!0;case 6:return e.next=8,l["a"].depositAction(Object(i["a"])({},t.dialogCheck_form));case 8:n=e.sent,n.code==g.StatusOK?(t.$pigeon.MessageOK(t.$i18n.t("Msg.Success")),t.cancel(),t.searchFunc(),t.flag=!1):(t.flag=!1,t.$pigeon.MessageError(n.msg)),e.next=13;break;case 12:return e.abrupt("return",!1);case 13:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 1:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),cancel:function(){this.dialogCheck=!1,this.$refs["dialogCheck_form"].resetFields()},closeDiaTrading:function(){this.dialogInfoTrading=!1},closeTrading:function(e){this.dialogInfoTrading=e},openInfo:function(e){this.searchSingle(e)},closeDia:function(){this.dialogInfoCid=!1,this.dialogInfoPIbNo=!1},close:function(e){this.dialogInfoCid=e,this.dialogInfoPIbNo=e},accountOpen:function(e){this.searchSingleCid(e)},agentOpen:function(e){this.searchSinglePIbNo(e)},searchSingleCid:function(e){var t=this;return Object(s["a"])(regeneratorRuntime.mark((function r(){var n;return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:return r.next=2,l["a"].cidRealSingle({id:e});case 2:n=r.sent,n.code==g.StatusOK?(t.formInfo=n.data,t.dialogInfoCid=!0):t.$pigeon.MessageError(n.msg);case 4:case"end":return r.stop()}}),r)})))()},searchSinglePIbNo:function(e){var t=this;return Object(s["a"])(regeneratorRuntime.mark((function r(){var n;return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:return r.next=2,l["a"].pIbNoRealSingle({ibNo:e});case 2:n=r.sent,n.code==g.StatusOK?(t.formInfoPib=n.data,t.dialogInfoPIbNo=!0):t.$pigeon.MessageError(n.msg);case 4:case"end":return r.stop()}}),r)})))()},exportAgents:function(){var e=this;return Object(s["a"])(regeneratorRuntime.mark((function t(){var r,n,a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e.search.startDate&&e.search.endDate){t.next=3;break}return e.$pigeon.MessageWarning(e.$i18n.t("vaildate.date.empty")),t.abrupt("return");case 3:r=e.search.startDate.split("-")[0]+e.search.startDate.split("-")[1]+e.search.startDate.split("-")[2],n=e.search.endDate.split("-")[0]+e.search.endDate.split("-")[1]+e.search.endDate.split("-")[2],a="/finance/deposit/history/export?cId="+(e.search.cId?e.search.cId:"")+"&login"+(e.search.login?e.search.login:"")+"&platform&status"+(e.search.status?e.search.status:"")+"&startDate="+r+"&endDate="+n,c.a.get(a,{responseType:"blob"}).then((function(t){if(t.status==g.StatusOK)if("msSaveOrOpenBlob"in navigator)window.navigator.msSaveOrOpenBlob(t.data,"Download.xlsx");else{var r=window.URL.createObjectURL(t.data),n=document.createElement("a");document.body.appendChild(n);var a=t.headers["content-disposition"]?t.headers["content-disposition"].split(";")[1].split("=")[1]:"Download.xlsx";n.href=r,n.download=a,n.click(),window.URL.revokeObjectURL(r)}else e.$pigeon.MessageError(e.$i18n.t("Msg.Download"))}));case 7:case"end":return t.stop()}}),t)})))()},searchFunc:function(){var e=this;return Object(s["a"])(regeneratorRuntime.mark((function t(){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e.pictLoading=!0,e.display["R-OnlineDeposit-Search"].show){t.next=5;break}return e.$pigeon.MessageWarning(e.$i18n.t("Msg.NotDisplay")),e.pictLoading=!1,t.abrupt("return");case 5:return null==e.search.date||0==e.search.date.length?(e.search.startDate="",e.search.endDate=""):(e.search.startDate=e.search.date[0],e.search.endDate=e.search.date[1]),t.next=8,l["a"].depositList(Object(i["a"])(Object(i["a"])({},e.search),{},{page:{current:e.pagerInfo.current,row:e.pagerInfo.row}}));case 8:r=t.sent,r.code==g.StatusOK?(e.mock_tableData=r.data,null!=r.page?(e.pagerInfo.rowTotal=r.page.rowTotal,e.pagerInfo.pageTotal=r.page.pageTotal):e.pagerInfo.rowTotal=0,e.$pigeon.MessageOK(e.$i18n.t("Msg.SearchSuccess")),e.pictLoading=!1):(e.$pigeon.MessageError(r.msg),e.pictLoading=!1);case 10:case"end":return t.stop()}}),t)})))()},searchReasons:function(){var e=this;return Object(s["a"])(regeneratorRuntime.mark((function t(){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,l["a"].reasonsRefusalList({type:10});case 2:r=t.sent,r.code==g.StatusOK?null==r.data?e.reasons={}:e.reasons=r.data:e.$pigeon.MessageError(r.msg);case 4:case"end":return t.stop()}}),t)})))()},getSearchDate:function(e){this.search.date=e},toSearch:function(){this.pagerInfo.current=1,this.searchFunc()},handleSizeChange:function(e){this.pagerInfo.row=e,this.searchFunc()},handleCurrentChange:function(e){this.pagerInfo.current=e,this.searchFunc()}},mounted:function(){this.searchFunc(),this.searchReasons()},watch:{"search.tag":function(){this.search.cId="",this.search.login=""}}},v=m,b=(r("deae"),r("fcd1"),r("2877")),w=Object(b["a"])(v,n,a,!1,null,"3ad73d7e",null);t["default"]=w.exports},2124:function(e,t,r){},"2f1f":function(e,t,r){},a1a2:function(e,t,r){"use strict";r("96cf");var n=r("1da1"),a=r("d4ec"),i=r("bee2"),s=r("262e"),o=r("2caf"),c=r("ff2d"),l=r("bc3a"),u=r.n(l),p=r("f121"),d=r.n(p),f=function(e){Object(s["a"])(r,e);var t=Object(o["a"])(r);function r(){var e;return Object(a["a"])(this,r),e=t.call(this),u.a.defaults.baseURL=d.a.Host85,e}return Object(i["a"])(r,[{key:"cidRealSingle",value:function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(){var t,r,n=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]?n[0]:{},e.next=3,this.post("/custom/search/real/single",t);case 3:return r=e.sent,e.abrupt("return",r);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"pIbNoRealSingle",value:function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(){var t,r,n=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]?n[0]:{},e.next=3,this.post("/ib/search/ib/single",t);case 3:return r=e.sent,e.abrupt("return",r);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"reasonsRefusalList",value:function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(){var t,r,n=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]?n[0]:{},e.next=3,this.post("/reasons/refusal/list",t);case 3:return r=e.sent,e.abrupt("return",r);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"depositList",value:function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(){var t,r,n=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]?n[0]:{},e.next=3,this.post("/finance/deposit/searcher/list",t);case 3:return r=e.sent,e.abrupt("return",r);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"depositAction",value:function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(){var t,r,n=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]?n[0]:{},e.next=3,this.post("/finance/deposit/approve",t);case 3:return r=e.sent,e.abrupt("return",r);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"withdrawList",value:function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(){var t,r,n=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]?n[0]:{},e.next=3,this.post("/finance/withdraw/searcher/list",t);case 3:return r=e.sent,e.abrupt("return",r);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"withdrawAction",value:function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(){var t,r,n=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]?n[0]:{},e.next=3,this.post("/finance/withdraw/approve",t);case 3:return r=e.sent,e.abrupt("return",r);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"withdrawActionMT",value:function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(){var t,r,n=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]?n[0]:{},e.next=3,this.post("/finance/withdraw/approve/manager",t);case 3:return r=e.sent,e.abrupt("return",r);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"withdrawActionReceipt",value:function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(){var t,r,n=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]?n[0]:{},e.next=3,this.post("/finance/withdraw/approve/channel",t);case 3:return r=e.sent,e.abrupt("return",r);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"transfertList",value:function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(){var t,r,n=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]?n[0]:{},e.next=3,this.post("/finance/transfer/searcher/list",t);case 3:return r=e.sent,e.abrupt("return",r);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"transferAction",value:function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(){var t,r,n=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]?n[0]:{},e.next=3,this.post("/finance/transfer/approve",t);case 3:return r=e.sent,e.abrupt("return",r);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"IBwithdrawList",value:function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(){var t,r,n=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]?n[0]:{},e.next=3,this.post("/finance/agent/withdraw/search/list",t);case 3:return r=e.sent,e.abrupt("return",r);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"IBwithdrawApprove",value:function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(){var t,r,n=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]?n[0]:{},e.next=3,this.post("/finance/agent/withdraw/approve",t);case 3:return r=e.sent,e.abrupt("return",r);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"IBwithdrawActionMT",value:function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(){var t,r,n=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]?n[0]:{},e.next=3,this.post("/finance/agent/withdraw/complete",t);case 3:return r=e.sent,e.abrupt("return",r);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"IBwithdrawActionReceipt",value:function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(){var t,r,n=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]?n[0]:{},e.next=3,this.post("/finance/agent/withdraw/channel",t);case 3:return r=e.sent,e.abrupt("return",r);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"ibTransferList",value:function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(){var t,r,n=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]?n[0]:{},e.next=3,this.post("/agent/balance/transfer/search/list",t);case 3:return r=e.sent,e.abrupt("return",r);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"ibTransferApprove",value:function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(){var t,r,n=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]?n[0]:{},e.next=3,this.post("/agent/balance/transfer/approve",t);case 3:return r=e.sent,e.abrupt("return",r);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"depositGiveList",value:function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(){var t,r,n=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]?n[0]:{},e.next=3,this.post("/finance/deposit/give/searcher/list",t);case 3:return r=e.sent,e.abrupt("return",r);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"depositGiveSingle",value:function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(){var t,r,n=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]?n[0]:{},e.next=3,this.post("/finance/deposit/give/searcher/single",t);case 3:return r=e.sent,e.abrupt("return",r);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()}]),r}(c["a"]);t["a"]=new f},deae:function(e,t,r){"use strict";var n=r("2f1f"),a=r.n(n);a.a},fcd1:function(e,t,r){"use strict";var n=r("2124"),a=r.n(n);a.a}}]);
|