| 1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["ib-SettingsPammManager"],{"1c45":function(t,s,a){"use strict";var e=a("ff2d");class i extends e["a"]{constructor(){super()}async MamSubsApprove(t={}){let s=await this.postAll("Host90","/mam/subs/approve",t);return s}async MamSubsApply(t={}){let s=await this.postAll("Host90","/mam/subs/apply",t);return s}async MamSubsInfo(t={}){let s=await this.postAll("Host90","/mam/subs/info",t);return s}async MamLeverageApplyAdd(t={}){let s=await this.postAll("Host90","/mam/leverage/apply/add",t);return s}async MamPwdResetAdd(t={}){let s=await this.postAll("Host90","/mam/pwd/reset/add",t);return s}async MamRepwdAdd(t={}){let s=await this.postAll("Host90","/mam/repwd/add",t);return s}async ChangeInvestorOassword(t={}){let s=await this.postAll("Host80","/account/settings/change/investor/password/add",t);return s}async MamList(t={}){let s=await this.postAll("Host90","/mam/list",t);return s}async MamApplyApprove(t={}){let s=await this.postAll("Host90","/mam/apply/approve",t);return s}async MamApplyAdd(t={}){let s=await this.postAll("Host90","/mam/apply/add",t);return s}async MamApplyData(t={}){let s=await this.postAll("Host90","/mam/apply/data",t);return s}async excludeShowLogin(t={}){let s=await this.postAll("Host80","/account/apply/exclude/show/login/type",t);return s}async TradePending(t={}){let s=await this.postAll("Host90","/trade/pending",t);return s}async TradePosition(t={}){let s=await this.postAll("Host90","/trade/position",t);return s}async TradeHistory(t={}){let s=await this.postAll("Host90","/trade/sharding/history",t);return s}async agentBalanceTransfer(t={}){let s=await this.postAll("Host90","/agent/balance/transfer/add/imd",t);return s}async agentBalanceTransferFrom(t={}){let s=await this.postAll("Host90","/agent/balance/transfer/from",t);return s}async agentTransferToList(t={}){let s=await this.postAll("Host90","/account/directAccount",t);return s}async CommissionApplyRecording(t={}){let s=await this.postAll("Host90","/custom/commission/apply/list",t);return s}async agentBalanceTransferRecording(t={}){let s=await this.postAll("Host90","/agent/balance/transfer/search/list",t);return s}async mamSubsApplyRecording(t={}){let s=await this.postAll("Host90","/mam/subs/apply/list",t);return s}async IbData(t={}){let s=await this.postAll("Host90","/ib/data",t);return s}async IbSubs(t={}){let s=await this.postAll("Host90","/ib/subs",t);return s}async accountSubs(t={}){let s=await this.postAll("Host90","/account/list",t);return s}async customerSubs(t={}){let s=await this.postAll("Host90","/custom/info/belongs",t);return s}async customerSubsList(t={}){let s=await this.postAll("Host90","/custom/info/belongs/list",t);return s}async customerSubsStatistics(t={}){let s=await this.postAll("Host90","/custom/info/belongs/statistics",t);return s}async customCommissionApply(t={}){let s=await this.postAll("Host90","/custom/commission/apply/add",t);return s}async customCommissionPoint(t={}){let s=await this.postAll("Host90","/custom/info/update/point",t);return s}async accountBelongChange(t={}){let s=await this.postAll("Host90","/account/belong/change/add",t);return s}async accountBelongChangeIb(t={}){let s=await this.postAll("Host90","/account/belong/change/agents",t);return s}async sysPointList(t={}){let s=await this.postAll("Host90","/sys/point/list",t);return s}async sysPointDelete(t={}){let s=await this.postAll("Host90","/sys/point/delete",t);return s}async sysPointUpdate(t={}){let s=await this.postAll("Host90","/sys/point/update",t);return s}async sysPointSingle(t={}){let s=await this.postAll("Host90","/sys/point/single",t);return s}async AgentPointChangeApply(t={}){let s=await this.postAll("Host90","/agent/point/change/apply",t);return s}async AgentPointChangeData(t={}){let s=await this.postAll("Host90","/agent/point/change/data",t);return s}async SysPointPoints(t={}){let s=await this.postAll("Host90","/sys/point/points",t);return s}async SysCentValid(t={}){let s=await this.postAll("Host90","/sys/point/centValid",t);return s}async SysPointAdd(t={}){let s=await this.postAll("Host90","/sys/point/add",t);return s}async getChartInfo(t={}){let s=await this.postAll("Host80","/index/chart/list",t);return s}async tradeDw(t={}){let s=await this.postAll("Host90","/trade/dw",t);return s}async tradeAccount(t={}){let s=await this.postAll("Host90","/trade/account",t);return s}async tradeAgentCommission(t={}){let s="/trade/agent/commission/vn",a=await this.postAll("Host90",s,t);return a}async tradeIb(t={}){let s=await this.postAll("Host90","/ib/report/new",t);return s}async tradePendingHistory(t={}){let s=await this.postAll("Host90","/trade/pending/history",t);return s}async tradePending(t={}){let s=await this.postAll("Host90","/trade/pending",t);return s}async tradePosition(t={}){let s=await this.postAll("Host90","/trade/position",t);return s}async tradeHistory(t={}){let s=await this.postAll("Host90","/trade/sharding/history",t);return s}async ibReportBalance(t={}){let s=await this.postAll("Host90","/ib/report/balance",t);return s}async tradeSymbolCategory(t={}){let s=await this.postAll("Host90","/trade/symbol/category",t);return s}async mamApplyList(t={}){let s=await this.postAll("Host90","/mam/apply/list",t);return s}async mamLeverageApplyList(t={}){let s=await this.postAll("Host90","/mam/leverage/apply/list",t);return s}async agentBalanceTransferList(t={}){let s=await this.postAll("Host90","/agent/balance/transfer/search/list",t);return s}async customCommissionApplyList(t={}){let s=await this.postAll("Host90","/custom/commission/apply/list",t);return s}async agentBelongChangeList(t={}){let s=await this.postAll("Host90","/account/belong/change/search/list",t);return s}async agentPointChangeList(t={}){let s=await this.postAll("Host90","/agent/point/change/list",t);return s}async agentWithdrawList(t={}){let s=await this.postAll("Host90","/finance/agent/withdraw/search/list",t);return s}async CustomRecordAccount(t={}){let s=await this.postAll("Host80","/custom/apply/list",t);return s}async reasonsRefusalList(t={}){let s=await this.postAll("Host80","/reasons/refusal/list",t);return s}async ibTree(t={}){let s=await this.postAll("Host90","/ib/tree",t);return s}async customUpdateIbInvalid(t={}){let s=await this.postAll("Host90","/custom/info/update/ibInvalid",t);return s}async CustomDropdown(t={}){let s=await this.postAll("Host80","/account/dropdown",t);return s}async accountCustomList(t={}){let s=await this.postAll("Host90","/account/custom/list",t);return s}async agentTransferApply(t={}){let s=await this.postAll("Host04","/agent/transfer/apply",t);return s}async agentTransCtaferApply(t={}){let s=await this.postAll("Host04","/agent/transfer/cta/apply",t);return s}async agentTransferList(t={}){let s=await this.postAll("Host04","/agent/transfer/list",t);return s}async mamApplyPammManagerValid(t={}){let s=await this.postAll("Host90","/mam/apply/pammManagerValid",t);return s}async mamApplyPammManagerLogins(t={}){let s=await this.postAll("Host90","/mam/apply/pamm/logins",t);return s}async mamApplyPammManagerAdd(t={}){let s=await this.postAll("Host90","/mam/apply/add",t);return s}async withdrawCancel(t={}){let s=await this.postAll("Host90","/finance/agent/withdraw/cancel",t);return s}async applyPercent(t={}){let s=await this.postAll("Host90","/pm/percent/change",t);return s}async followDealAgentSearchList(t={}){let s=await this.postAll("Host87","/follow/deal/agent/search/list",t);return s}async followDealAgentUpdate(t={}){let s=await this.postAll("Host87","/follow/deal/agent/update",t);return s}async customUpdateFollowPermissionDisplay(t={}){let s=await this.postAll("Host90","/custom/info/update/follow/permissionDisplay",t);return s}async marketAgentLinkList(t={}){let s=await this.postAll("Host90","/market/agent/link/list",t);return s}async pammListSubs(t={}){let s=await this.postAll("Host90","/pamm/subs",t);return s}async customLink(t={}){let s=await this.postAll("Host90","/custom/register/link/hash",t);return s}async customLinkCode(t={}){let s=await this.postAll("Host90","/custom/register/link/code",t);return s}async customRegisterLinkClue(t={}){let s=await this.postAll("Host90","/custom/register/link/clue",t);return s}async IbAgentSetting(t={}){let s=await this.postAll("Host90","/ib/agent/setting",t);return s}async loginTypeList(t={}){let s=await this.postAll("Host80","/login/type/search/list",t);return s}async tradeSalesHidden(t={}){let s=await this.postAll("Host90","/trade/hidden/rebate",t);return s}async getWebsdkLink1(t={}){let s=await this.postAll("Host04","/agent/withdraw/getWebsdkLink",t);return s}async agentHiddenPointSearchSingle(t={}){let s=await this.postAll("Host90","/agent/hidden/point/search/single",t);return s}async agentHiddenPointAdd(t={}){let s=await this.postAll("Host90","/agent/hidden/point/add",t);return s}async ibTreeForTransfer(t={}){let s=await this.postAll("Host90","/ib/tree",t);return s}async agentBalanceCommissionAdd(t={}){let s=await this.postAll("Host90","/agent/balance/commission/add",t);return s}async agentBalanceCommissionSearchList(t={}){let s=await this.postAll("Host90","/agent/balance/commission/search/list",t);return s}async getVietnamPoints(t={}){let s=await this.postAll("Host90","/agent/point/vn/points",t);return s}async saveVietnamPoints(t={}){let s=await this.postAll("Host90","/agent/point/vn/save",t);return s}async customLinkAdd(t={}){let s=await this.postAll("Host90","/agent/custom/link/add",t);return s}async customLinkSearchList(t={}){let s=await this.postAll("Host90","/agent/custom/link/search/list",t);return s}async customLinkTypes(t={}){let s=await this.postAll("Host90","/custom/register/link/types",t);return s}async agentApplyAddPoint(t={}){let s=await this.postAll("Host80","/agent/apply/add/point",t);return s}async realCustomerUpdatePoint(t={}){let s=await this.postAll("Host90","/custom/info/update/point",t);return s}async getLoginPoint(t={}){let s=await this.postAll("Host90","/custom/info/login/point",t);return s}async getRegisterLinkTypes(t={}){let s=await this.postAll("Host90","/custom/register/link/types",t);return s}}s["a"]=new i},"37b6":function(t,s,a){"use strict";a.r(s);var e=function(){var t=this,s=t._self._c;return s("div",{attrs:{id:"ib_SettingsPammManager"}},[s("div",{staticClass:"crm-title-box"},[s("div",{staticClass:"tit"},[s("span",[s("span",{directives:[{name:"t",rawName:"v-t",value:"Ib.PammManager.title1",expression:"'Ib.PammManager.title1'"}]}),t._v(" - "+t._s(t.row.login)+" ")])]),s("div",{staticClass:"btn crm-cursor",on:{click:t.backIndex}},[s("i",{staticClass:"el-icon-back"}),s("span",{directives:[{name:"t",rawName:"v-t",value:"Ib.Settings.Title",expression:"'Ib.Settings.Title'"}]})])]),s("div",{staticClass:"main-content"},[s("p",{directives:[{name:"t",rawName:"v-t",value:"Ib.PammManager.tips3",expression:"'Ib.PammManager.tips3'"}],staticStyle:{margin:"20px 0","font-size":"16px","line-height":"1.7","font-weight":"bold"}}),s("div",{staticClass:"search"},[s("span",{directives:[{name:"t",rawName:"v-t",value:"Ib.Settings.Hang",expression:"'Ib.Settings.Hang'"}],staticClass:"crm-cursor",class:{active:"1"==t.subs},on:{click:function(s){return t.tableSearch("1")}}}),s("span",{directives:[{name:"t",rawName:"v-t",value:"Ib.Settings.Undo",expression:"'Ib.Settings.Undo'"}],staticClass:"crm-cursor",class:{active:"2"==t.subs},on:{click:function(s){return t.tableSearch("2")}}})]),1==t.subs?s("el-transfer",{attrs:{titles:t.titles1,filterable:"","filter-method":t.filterMethod,"filter-placeholder":t.$t("placeholder.input"),data:t.transData1},model:{value:t.transValue1,callback:function(s){t.transValue1=s},expression:"transValue1"}}):t._e(),2==t.subs?s("el-transfer",{attrs:{titles:t.titles2,filterable:"","filter-method":t.filterMethod,"filter-placeholder":t.$t("placeholder.input"),data:t.transData},model:{value:t.transValue,callback:function(s){t.transValue=s},expression:"transValue"}}):t._e(),s("el-col",{attrs:{span:24}},[1==t.subs?s("el-button",{directives:[{name:"t",rawName:"v-t",value:"Btn.Confirm",expression:"'Btn.Confirm'"}],staticClass:"s-btn",attrs:{type:"primary"},on:{click:t.applyOnto}}):t._e()],1),s("el-col",{attrs:{span:24}},[2==t.subs?s("el-button",{directives:[{name:"t",rawName:"v-t",value:"Btn.Confirm",expression:"'Btn.Confirm'"}],staticClass:"s-btn",attrs:{type:"primary"},on:{click:t.applyCancel}}):t._e()],1)],1),s("el-dialog",{attrs:{visible:t.dialogCheck,center:"","close-on-click-modal":!1,"show-close":!1,"custom-class":"dialog_header_w"},on:{"update:visible":function(s){t.dialogCheck=s}}},[t.dialogVisible?s("div",{staticClass:"dia-content"},[s("div",{staticClass:"icon"},[s("i",{staticClass:"iconfont iconchenggong"})]),s("div",{directives:[{name:"t",rawName:"v-t",value:"ApplicationDialog.Des1",expression:"'ApplicationDialog.Des1'"}],staticClass:"des1"}),s("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[s("el-button",{directives:[{name:"t",rawName:"v-t",value:"Btn.Confirm",expression:"'Btn.Confirm'"}],attrs:{type:"primary"},on:{click:t.closeDia}}),s("el-button",{directives:[{name:"t",rawName:"v-t",value:"Btn.Cancel",expression:"'Btn.Cancel'"}],on:{click:t.closeDia}})],1)]):t._e(),t.dialogVisible?t._e():s("div",{staticClass:"dia-content"},[s("div",{staticClass:"icon"},[s("i",{staticClass:"iconfont iconjingshi"})]),s("div",{staticClass:"des1"},[t._v(t._s(t.RES))]),s("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[s("el-button",{directives:[{name:"t",rawName:"v-t",value:"Btn.Confirm",expression:"'Btn.Confirm'"}],attrs:{type:"primary"},on:{click:t.closeDia}}),s("el-button",{directives:[{name:"t",rawName:"v-t",value:"Btn.Cancel",expression:"'Btn.Cancel'"}],on:{click:t.closeDia}})],1)])])],1)},i=[],n=(a("14d9"),a("1c45")),l=a("f121"),o=a.n(l);let{Code:r}=o.a;var c={name:"SettingsPammManager",data(){return{flag:!1,RES:"",dialogCheck:!1,dialogVisible:!1,subs:"1",titles1:[this.$i18n.t("Ib.Settings.NotHang"),this.$i18n.t("Ib.Settings.HaveHang")],titles2:[this.$i18n.t("Ib.Settings.NotUndo"),this.$i18n.t("Ib.Settings.HaveUndo")],transData:[],transValue:[],transData1:[],transValue1:[],row:{},filterMethod(t,s){return s.key.indexOf(t)>-1}}},methods:{closeDia(){this.dialogCheck=!1,this.dialogVisible=!1},backIndex(){this.$router.push({path:"/ib/index"}).catch(t=>t)},tableSearch(t){this.subs=t},getSubs:async function(){let t=await n["a"].MamSubsInfo({mamId:Number(this.row.mamId),type:1});if(t.code==r.StatusOK){this.transData1=[];for(let s=0;s<t.data.length;s++)this.transData1.push({key:t.data[s],label:t.data[s]})}else this.$pigeon.MessageError(t.msg)},getSubs1:async function(){let t=await n["a"].MamSubsInfo({mamId:Number(this.row.mamId),type:2});if(t.code==r.StatusOK){this.transData=[];for(let s=0;s<t.data.length;s++)this.transData.push({key:t.data[s],label:t.data[s]})}else this.$pigeon.MessageError(t.msg)},applyOnto:async function(){if(this.flag)return;if(this.flag=!0,!this.transValue1||null==this.transValue1||!this.transValue1.length)return this.flag=!1,void this.$pigeon.MessageWarning(this.$i18n.t("placeholder.choose"));let t=await n["a"].MamSubsApply({mamId:Number(this.row.mamId),type:1,subs:this.transValue1});t.code==r.StatusOK?(this.dialogCheck=!0,this.dialogVisible=!0,this.flag=!1):(this.RES=t.msg,this.dialogCheck=!0,this.dialogVisible=!1,this.flag=!1)},applyCancel:async function(){if(this.flag)return;if(this.flag=!0,!this.transValue||null==this.transValue||!this.transValue.length)return this.flag=!1,void this.$pigeon.MessageWarning(this.$i18n.t("placeholder.choose"));let t=await n["a"].MamSubsApply({mamId:Number(this.row.mamId),type:2,subs:this.transValue});t.code==r.StatusOK?(this.dialogCheck=!0,this.dialogVisible=!0,this.flag=!1):(this.RES=t.msg,this.dialogCheck=!0,this.dialogVisible=!1,this.flag=!1)}},mounted(){this.row.login=this.$route.query.login,this.row.mamId=this.$route.query.id,this.getSubs(),this.getSubs1()}},p=c,u=(a("c634"),a("ba22"),a("2877")),d=Object(u["a"])(p,e,i,!1,null,"c1c2f832",null);s["default"]=d.exports},"3b17":function(t,s,a){},"9e00":function(t,s,a){},ba22:function(t,s,a){"use strict";a("3b17")},c634:function(t,s,a){"use strict";a("9e00")}}]);
|