InternalTransfer.adf9437e.js 28 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["InternalTransfer"],{"16c7":function(e,t,r){"use strict";var a=r("913d"),n=r.n(a);n.a},"29b6":function(e,t,r){},"3a82":function(e,t,r){"use strict";var a=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"InfoBox",class:{active:e.dialogInfoIbNo},attrs:{id:"TradingDetailedInfo"}},[r("div",{staticClass:"header"},[r("div",[r("span",{directives:[{name:"t",rawName:"v-t",value:"Label.AgentNumber",expression:"'Label.AgentNumber'"}],staticClass:"title"}),r("span",[e._v(":")]),r("span",[e._v(e._s(e.form.ibNo||"--"))])]),r("span",{staticClass:"close crm-cursor",on:{click:e.close}},[r("i",{staticClass:"el-icon-close"})])]),r("el-form",{ref:"form",attrs:{model:e.form,"label-width":"150PX"}},[r("el-form-item",{attrs:{label:e.$t("Label.CidAccount")}},[e._v(" "+e._s(e.form.cId||"--")+" ")]),r("el-form-item",{attrs:{label:e.$t("Label.AgentNumber")}},[e._v(" "+e._s(e.form.ibNo||"--")+" ")]),r("el-form-item",{attrs:{label:e.$t("Label.AttributionNumber")}},[e._v(" "+e._s(e.form.pIbNo||"--")+" ")]),r("el-form-item",{attrs:{label:e.$t("Label.AgentLevel")}},[e._v(" "+e._s("cn"==e.Session.Get("lang")?e.form.agentLevelName:e.form.agentLevelEnName)+" ")]),r("el-form-item",{attrs:{label:e.$t("Label.Name")}},[e._v(" "+e._s(e.form.name||"--")+" ")]),r("el-form-item",{attrs:{label:e.$t("Label.Email")}},[e._v(" "+e._s(e.form.email||"--")+" ")]),r("el-form-item",{attrs:{label:e.$t("Label.Amount")}},[e._v(" "+e._s(e.form.balance||"--")+" ")])],1)],1)},n=[],s=r("f121"),i=r.n(s),o={name:"DetailedInfoIbNo",props:{dialogInfoIbNo:{type:Boolean,default:!1},infoType:{default:""},formInfo:{default:""},btn:{type:Boolean,default:!1}},data:function(){return{imgUrl:i.a.Host85,form:{},info:{CID:"",name:"",type:""}}},methods:{close:function(){this.$emit("close",!1)}},mounted:function(){},watch:{formInfo:function(){this.form=this.formInfo}}},c=o,l=(r("16c7"),r("89d0"),r("2877")),u=Object(l["a"])(c,a,n,!1,null,"358749ae",null);t["a"]=u.exports},"6d4f":function(e,t,r){"use strict";var a=r("29b6"),n=r.n(a);n.a},"7baa":function(e,t,r){},"89d0":function(e,t,r){"use strict";var a=r("ea8d"),n=r.n(a);n.a},"913d":function(e,t,r){},a1a2:function(e,t,r){"use strict";r("96cf");var a=r("1da1"),n=r("d4ec"),s=r("bee2"),i=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(i["a"])(r,e);var t=Object(o["a"])(r);function r(){var e;return Object(n["a"])(this,r),e=t.call(this),u.a.defaults.baseURL=d.a.Host85,e}return Object(s["a"])(r,[{key:"cidRealSingle",value:function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(){var t,r,a=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=a.length>0&&void 0!==a[0]?a[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(a["a"])(regeneratorRuntime.mark((function e(){var t,r,a=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=a.length>0&&void 0!==a[0]?a[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(a["a"])(regeneratorRuntime.mark((function e(){var t,r,a=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=a.length>0&&void 0!==a[0]?a[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(a["a"])(regeneratorRuntime.mark((function e(){var t,r,a=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=a.length>0&&void 0!==a[0]?a[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(a["a"])(regeneratorRuntime.mark((function e(){var t,r,a=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=a.length>0&&void 0!==a[0]?a[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(a["a"])(regeneratorRuntime.mark((function e(){var t,r,a=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=a.length>0&&void 0!==a[0]?a[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(a["a"])(regeneratorRuntime.mark((function e(){var t,r,a=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=a.length>0&&void 0!==a[0]?a[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(a["a"])(regeneratorRuntime.mark((function e(){var t,r,a=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=a.length>0&&void 0!==a[0]?a[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(a["a"])(regeneratorRuntime.mark((function e(){var t,r,a=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=a.length>0&&void 0!==a[0]?a[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(a["a"])(regeneratorRuntime.mark((function e(){var t,r,a=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=a.length>0&&void 0!==a[0]?a[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(a["a"])(regeneratorRuntime.mark((function e(){var t,r,a=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=a.length>0&&void 0!==a[0]?a[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(a["a"])(regeneratorRuntime.mark((function e(){var t,r,a=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=a.length>0&&void 0!==a[0]?a[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(a["a"])(regeneratorRuntime.mark((function e(){var t,r,a=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=a.length>0&&void 0!==a[0]?a[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(a["a"])(regeneratorRuntime.mark((function e(){var t,r,a=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=a.length>0&&void 0!==a[0]?a[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(a["a"])(regeneratorRuntime.mark((function e(){var t,r,a=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=a.length>0&&void 0!==a[0]?a[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(a["a"])(regeneratorRuntime.mark((function e(){var t,r,a=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=a.length>0&&void 0!==a[0]?a[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(a["a"])(regeneratorRuntime.mark((function e(){var t,r,a=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=a.length>0&&void 0!==a[0]?a[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(a["a"])(regeneratorRuntime.mark((function e(){var t,r,a=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=a.length>0&&void 0!==a[0]?a[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(a["a"])(regeneratorRuntime.mark((function e(){var t,r,a=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=a.length>0&&void 0!==a[0]?a[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},a3b2:function(e,t,r){"use strict";r.r(t);var a=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_InternalTransfer","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}})],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.withdrawLogin,callback:function(t){e.$set(e.search,"withdrawLogin","string"===typeof t?t.trim():t)},expression:"search.withdrawLogin"}}):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)],1)],1),r("el-table",{staticStyle:{width:"100%"},attrs:{data:e.mock_tableData,stripe:""}},[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-InternalTransfer-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-InternalTransfer-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:"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:"",align:"left",label:e.$i18n.t("Label.TransferAccounts")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.withdrawLogin||"--")+" ")]}}])}),r("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Label.AmountMoney")},scopedSlots:e._u([{key:"default",fn:function(t){return[r("span",{staticStyle:{color:"#EB3F57"}},[e._v("-"+e._s(e._f("NumberFormat")(t.row.amount||"0")))])]}}])}),r("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Label.IntoAccount")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.depositLogin||"--")+" ")]}}])}),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("news_add_field.Label.withdrawPlatformAmount")},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.withdrawAmount||"0"))))]),r("div",[e._v(e._s(t.row.withdrawCurrency))])]}}])}),r("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Label.ApplyTime")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.addTime||"--")+" ")]}}])}),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.withdrawStatus&&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.withdrawStatus&&1!=t.row.depositStatus?e._e():r("span",{directives:[{name:"t",rawName:"v-t",value:"State.InTheProcessing",expression:"'State.InTheProcessing'"}],staticClass:"state crm_state_green"}),3==t.row.status||3==t.row.withdrawStatus||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:"left",label:e.$i18n.t("Label.Note")},scopedSlots:e._u([{key:"default",fn:function(t){return[e.reasons[t.row.approveDesc]?r("span",[e._v(e._s("cn"==e.Session.Get("lang")?e.reasons[t.row.approveDesc].content:e.reasons[t.row.approveDesc].enContent))]):r("span",[e._v(e._s(t.row.approveDesc||"--"))])]}}])}),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-InternalTransfer-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()],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.InternalTransfer.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.TransferAccounts")+":"}},[e._v(" "+e._s(e.dialogCheck_form.withdrawLogin)+" ")]),r("el-form-item",{attrs:{prop:"",label:e.$t("Label.IntoAccount")+":"}},[e._v(" "+e._s(e.dialogCheck_form.depositLogin)+" ")]),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),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(),2==e.dialogCheck_form.withdrawStatus?r("el-form-item",{attrs:{prop:"withdrawTicket",label:e.$t("Label.withdrawOrderNumber")+":"}},[r("el-input",{attrs:{size:"small",placeholder:e.$t("Placeholder.Input")},model:{value:e.dialogCheck_form.withdrawTicket,callback:function(t){e.$set(e.dialogCheck_form,"withdrawTicket","string"===typeof t?t.trim():t)},expression:"dialogCheck_form.withdrawTicket"}})],1):e._e(),2==e.dialogCheck_form.withdrawStatus?r("el-form-item",{attrs:{prop:"depositTicket",label:e.$t("Label.depositOrderNumber")+":"}},[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()],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("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)},n=[],s=(r("ac1f"),r("841c"),r("5530")),i=(r("96cf"),r("1da1")),o=r("a1a2"),c=r("f121"),l=r.n(c),u=r("2d59"),p=r("3a82"),d=l.a.Code,f={name:"InternalTransfer",components:{DetailedInfoCid:u["a"],DetailedInfoIbNo:p["a"]},data:function(){return{flag:!1,reasons:{},pictLoading:!1,mock_tableData:[],search:{tag:1,login:"",customId:"",status:null,date:[],startDate:"",endDate:""},dialogCheck:!1,dialogCheck_form:{},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.select.empty"),trigger:"blur"}],withdrawTicket:[{required:!0,message:this.$i18n.t("vaildate.select.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.CID=e.row.CID,this.dialogCheck_form.id=e.row.id,this.dialogCheck_form.withdrawLogin=e.row.withdrawLogin,this.dialogCheck_form.depositLogin=e.row.depositLogin)},toVerified:function(){var e=Object(i["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(i["a"])(regeneratorRuntime.mark((function e(r){var a;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,o["a"].transferAction(Object(s["a"])({},t.dialogCheck_form));case 8:a=e.sent,a.code==d.StatusOK?(t.$pigeon.MessageOK(t.$i18n.t("Msg.Success")),t.cancel(),t.searchFunc(),t.flag=!1):(t.flag=!1,t.$pigeon.MessageError(a.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()},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(i["a"])(regeneratorRuntime.mark((function r(){var a;return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:return r.next=2,o["a"].cidRealSingle({id:e});case 2:a=r.sent,a.code==d.StatusOK?(t.formInfo=a.data,t.dialogInfoCid=!0):t.$pigeon.MessageError(a.msg);case 4:case"end":return r.stop()}}),r)})))()},searchSinglePIbNo:function(e){var t=this;return Object(i["a"])(regeneratorRuntime.mark((function r(){var a;return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:return r.next=2,o["a"].pIbNoRealSingle({ibNo:e});case 2:a=r.sent,a.code==d.StatusOK?(t.formInfoPib=a.data,t.dialogInfoPIbNo=!0):t.$pigeon.MessageError(a.msg);case 4:case"end":return r.stop()}}),r)})))()},searchFunc:function(){var e=this;return Object(i["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-InternalTransfer-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,o["a"].transfertList(Object(s["a"])(Object(s["a"])({},e.search),{},{page:{current:e.pagerInfo.current,row:e.pagerInfo.row}}));case 8:r=t.sent,r.code==d.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(i["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,o["a"].reasonsRefusalList({type:10});case 2:r=t.sent,r.code==d.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()}},h=f,m=(r("6d4f"),r("b760"),r("2877")),g=Object(m["a"])(h,a,n,!1,null,"08da97d2",null);t["default"]=g.exports},b760:function(e,t,r){"use strict";var a=r("7baa"),n=r.n(a);n.a},ea8d:function(e,t,r){}}]);