| 1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["ActivityAcquisition"],{"0292":function(e,t,a){"use strict";a.r(t);var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{directives:[{name:"loading",rawName:"v-loading",value:e.pictLoading,expression:"pictLoading"}],staticClass:"view",attrs:{id:"apply_PendingAccount","element-loading-background":"rgba(43, 48, 67, 0.65)","element-loading-spinner":"el-icon-loading"}},[a("div",{staticClass:"crm-chooseTab"},[a("div",{staticClass:"chooseLang"},[e.display["ActivityAcquisition.R-ActivityOc-Search1"].show?a("span",{directives:[{name:"t",rawName:"v-t",value:"ActivityAcquisition.R-ActivityOc-Search1",expression:"'ActivityAcquisition.R-ActivityOc-Search1'"}],staticClass:"crm-cursor",class:{active:"allocated"==e.AccountType},on:{click:function(t){return e.chooseType("allocated")}}}):e._e(),e.display["ActivityAcquisition.R-ActivityOc-Search2"].show?a("span",{directives:[{name:"t",rawName:"v-t",value:"ActivityAcquisition.R-ActivityOc-Search2",expression:"'ActivityAcquisition.R-ActivityOc-Search2'"}],staticClass:"crm-cursor",class:{active:"assigned"==e.AccountType},on:{click:function(t){return e.chooseType("assigned")}}}):e._e(),e.display["ActivityAcquisition.R-ActivityOc-Search3"].show?a("span",{directives:[{name:"t",rawName:"v-t",value:"ActivityAcquisition.R-ActivityOc-Search3",expression:"'ActivityAcquisition.R-ActivityOc-Search3'"}],staticClass:"crm-cursor",class:{active:"complete"==e.AccountType},on:{click:function(t){return e.chooseType("complete")}}}):e._e(),e.display["ActivityAcquisition.R-ActivityOc-Search4"].show?a("span",{directives:[{name:"t",rawName:"v-t",value:"ActivityAcquisition.R-ActivityOc-Search4",expression:"'ActivityAcquisition.R-ActivityOc-Search4'"}],staticClass:"crm-cursor",class:{active:"insensibility"==e.AccountType},on:{click:function(t){return e.chooseType("insensibility")}}}):e._e()])]),a("div",{staticClass:"crm_search"},[a("el-form",{ref:"form",attrs:{"label-position":"",model:e.search,"label-width":""}},[a("el-row",[a("el-col",{attrs:{span:24,md:24,lg:24}},[a("el-form-item",{staticStyle:{"margin-right":"15px"}},[a("el-select",{staticClass:"crm_search_down_special crm-border-radius-no",attrs:{size:"small",placeholder:e.$t("Placeholder.Choose")},model:{value:e.search.payValid,callback:function(t){e.$set(e.search,"payValid",t)},expression:"search.payValid"}},[a("el-option",{attrs:{label:e.$t("ActivityAcquisition.Label.item1"),value:null},nativeOn:{click:function(t){return e.toSearch(t)}}}),a("el-option",{attrs:{label:e.$t("Btn.No"),value:0},nativeOn:{click:function(t){return e.toSearch(t)}}}),a("el-option",{attrs:{label:e.$t("Btn.Yes"),value:1},nativeOn:{click:function(t){return e.toSearch(t)}}})],1)],1),a("el-form-item",{staticStyle:{"margin-right":"15px"}},[a("el-select",{staticClass:"crm_search_down_special crm-border-radius-no",attrs:{size:"small",placeholder:e.$t("Placeholder.Choose")},model:{value:e.search.registerValid,callback:function(t){e.$set(e.search,"registerValid",t)},expression:"search.registerValid"}},[a("el-option",{attrs:{label:e.$t("ActivityAcquisition.Label.item2"),value:null},nativeOn:{click:function(t){return e.toSearch(t)}}}),a("el-option",{attrs:{label:e.$t("Btn.No"),value:0},nativeOn:{click:function(t){return e.toSearch(t)}}}),a("el-option",{attrs:{label:e.$t("Btn.Yes"),value:1},nativeOn:{click:function(t){return e.toSearch(t)}}})],1)],1),a("el-form-item",{staticStyle:{"margin-right":"15px"}},[a("el-select",{staticClass:"crm_search_down_special crm-border-radius-no",attrs:{size:"small",placeholder:e.$t("Placeholder.Choose")},model:{value:e.search.sourceCode,callback:function(t){e.$set(e.search,"sourceCode",t)},expression:"search.sourceCode"}},[a("el-option",{attrs:{label:e.$t("Label.Source"),value:null},nativeOn:{click:function(t){return e.toSearch(t)}}}),e._l(e.sourceList,(function(t,i){return a("el-option",{key:i,attrs:{label:"cn"==e.lang?t.name:t.nameEn,value:t.code},nativeOn:{click:function(t){return e.toSearch(t)}}})}))],2)],1),a("el-form-item",{staticStyle:{"margin-right":"15px"}},[a("el-select",{staticClass:"crm_search_down_special crm-border-radius-no",attrs:{size:"small",placeholder:e.$t("Placeholder.Choose")},model:{value:e.search.country,callback:function(t){e.$set(e.search,"country",t)},expression:"search.country"}},[a("el-option",{attrs:{label:e.$t("Label.Nationality"),value:null},nativeOn:{click:function(t){return e.toSearch(t)}}}),a("el-option",{attrs:{label:e.$t("CustomAllocation.item1"),value:"CN"},nativeOn:{click:function(t){return e.toSearch(t)}}}),a("el-option",{attrs:{label:e.$t("CustomAllocation.item2"),value:"EN"},nativeOn:{click:function(t){return e.toSearch(t)}}})],1)],1),a("el-form-item",{staticStyle:{"margin-right":"10px"}},[a("el-input",{staticClass:"crm-border-radius-no",staticStyle:{"margin-top":"5px"},attrs:{clearable:"",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.email,callback:function(t){e.$set(e.search,"email",t)},expression:"search.email"}},[a("template",{slot:"prepend"},[a("span",{directives:[{name:"t",rawName:"v-t",value:"Label.Email",expression:"'Label.Email'"}],staticClass:"crm-cursor crm-border-radius-no"})])],2)],1),a("el-form-item",{staticStyle:{"margin-right":"10px"}},[a("el-input",{staticClass:"crm-border-radius-no",staticStyle:{"margin-top":"5px"},attrs:{clearable:"",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.name,callback:function(t){e.$set(e.search,"name",t)},expression:"search.name"}},[a("template",{slot:"prepend"},[a("span",{directives:[{name:"t",rawName:"v-t",value:"Label.Name",expression:"'Label.Name'"}],staticClass:"crm-cursor crm-border-radius-no"})])],2)],1),a("el-form-item",{staticStyle:{"margin-right":"10px"}},[a("el-input",{staticClass:"crm-border-radius-no",staticStyle:{"margin-top":"5px"},attrs:{clearable:"",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.phone,callback:function(t){e.$set(e.search,"phone",t)},expression:"search.phone"}},[a("template",{slot:"prepend"},[a("span",{directives:[{name:"t",rawName:"v-t",value:"Label.Phone",expression:"'Label.Phone'"}],staticClass:"crm-cursor crm-border-radius-no"})])],2)],1),a("el-form-item",{attrs:{prop:"date"}},[a("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")},on:{input:e.getSearchDate},model:{value:e.search.date,callback:function(t){e.$set(e.search,"date",t)},expression:"search.date"}}),a("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),a("el-form-item",[a("div",{staticClass:"search_action_btn"},[e.display["ActivityAcquisition.R-ActivityOc-Import"].show?a("span",{staticClass:"crm-cursor delete active",on:{click:e.Upload}},[a("span",{directives:[{name:"t",rawName:"v-t",value:"ActivityAcquisition.R-ActivityOc-Import",expression:"'ActivityAcquisition.R-ActivityOc-Import'"}]})]):e._e(),e.multipleSelection.length&&(e.display["ActivityAcquisition.R-ActivityOc-Allocation1"].show||e.display["ActivityAcquisition.R-ActivityOc-Allocation2"].show||e.display["ActivityAcquisition.R-ActivityOc-Allocation4"].show)?a("span",{staticClass:"crm-cursor delete active",on:{click:e.AllocationAll}},[a("span",{directives:[{name:"t",rawName:"v-t",value:"ActivityAcquisition.R-ActivityOc-Allocation",expression:"'ActivityAcquisition.R-ActivityOc-Allocation'"}]})]):e._e()])])],1)],1),a("el-table",{key:e.AccountType,ref:"table",staticStyle:{width:"100%"},attrs:{stripe:"",data:e.mock_tableData},on:{"selection-change":e.handleSelectionChange}},[a("el-table-column",{attrs:{align:"left",type:"selection",width:"55"}}),a("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Label.CidAccount")},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[t.row.cId?a("span",{staticClass:"crm-text-underline",on:{click:function(a){return e.accountOpen(t.row.cId)}}},[e._v(e._s(t.row.cId||"--"))]):a("span",[e._v(e._s(t.row.cId||"--"))])])]}}])}),a("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Label.Name")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.name||"--")+" ")]}}])}),a("el-table-column",{attrs:{prop:"title",align:"left",label:e.$i18n.t("Label.Email")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.email||"--")+" ")]}}])}),"assigned"==e.AccountType?a("el-table-column",{attrs:{prop:"title",align:"left",label:e.$i18n.t("Placeholder.AreaCode")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.areaCode||"--")+" ")]}}],null,!1,2111638823)}):e._e(),"allocated"==e.AccountType||"assigned"==e.AccountType?a("el-table-column",{attrs:{prop:"title",align:"left",label:e.$i18n.t("Label.Phone")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.phone||"--")+" ")]}}],null,!1,562609121)}):e._e(),a("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Label.Nationality")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s("cn"==e.Session.Get("lang")?t.row.countryName||"--":t.row.countryEnName||"--")+" ")]}}])}),a("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Label.Source")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s("cn"==e.lang?t.row.sourceName||"--":t.row.sourceNameEn||"--")+" ")]}}])}),a("el-table-column",{attrs:{prop:"title",align:"left",label:e.$i18n.t("Label.RegistrationTime")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.addTime||"--")+" ")]}}])}),"allocated"==e.AccountType?a("el-table-column",{attrs:{prop:"title",align:"left",label:e.$i18n.t("CustomAllocation.item8")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.number||"0")+" ")]}}],null,!1,2903622382)}):e._e(),"allocated"!=e.AccountType?a("el-table-column",{attrs:{prop:"title",align:"left",label:e.$i18n.t("CustomAllocation.item5")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.allocationPibNo||"--")+" ")]}}],null,!1,3860260791)}):e._e(),"allocated"!=e.AccountType?a("el-table-column",{attrs:{prop:"title",align:"left",label:e.$i18n.t("CustomAllocation.item6")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.allocationSalesIbNo||"--")+" ")]}}],null,!1,941353039)}):e._e(),a("el-table-column",{attrs:{prop:"title",align:"center",label:e.$i18n.t("Label.Note")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.note||"--")+" ")]}}])}),"complete"!=e.AccountType?a("el-table-column",{attrs:{prop:"",align:"center",label:e.$i18n.t("Label.Action")},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-dropdown",{attrs:{trigger:"click"},on:{command:e.handleCommand}},[a("span",{staticClass:"el-dropdown-link crm-cursor"},[a("i",{staticClass:"iconfont iconcaidan",staticStyle:{"font-weight":"bold","font-size":"20px"}})]),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},["allocated"==e.AccountType&&e.display["ActivityAcquisition.R-ActivityOc-Allocation1"].show?a("el-dropdown-item",{attrs:{command:{type:"allocation",row:t.row}}},[a("i",{staticClass:"el-icon-setting"}),a("span",{directives:[{name:"t",rawName:"v-t",value:"ActivityAcquisition.R-ActivityOc-Allocation",expression:"'ActivityAcquisition.R-ActivityOc-Allocation'"}]})]):e._e(),"assigned"==e.AccountType&&e.display["ActivityAcquisition.R-ActivityOc-Allocation2"].show?a("el-dropdown-item",{attrs:{command:{type:"allocation",row:t.row}}},[a("i",{staticClass:"el-icon-setting"}),a("span",{directives:[{name:"t",rawName:"v-t",value:"ActivityAcquisition.R-ActivityOc-Allocation",expression:"'ActivityAcquisition.R-ActivityOc-Allocation'"}]})]):e._e(),"assigned"==e.AccountType?a("el-dropdown-item",{attrs:{command:{type:"assignedLink",row:t.row}}},[a("i",{staticClass:"el-icon-paperclip"}),a("span",{directives:[{name:"t",rawName:"v-t",value:"ActivityAcquisition.R-ActivityOc-Allocation3",expression:"'ActivityAcquisition.R-ActivityOc-Allocation3'"}]})]):e._e(),"insensibility"==e.AccountType&&e.display["ActivityAcquisition.R-ActivityOc-Allocation4"].show?a("el-dropdown-item",{attrs:{command:{type:"allocation",row:t.row}}},[a("i",{staticClass:"el-icon-setting"}),a("span",{directives:[{name:"t",rawName:"v-t",value:"ActivityAcquisition.R-ActivityOc-Allocation",expression:"'ActivityAcquisition.R-ActivityOc-Allocation'"}]})]):e._e(),a("el-dropdown-item",{attrs:{command:{type:"detailed",row:t.row}}},[a("i",{staticClass:"iconfont iconxiangxi"}),a("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.Detailed",expression:"'Btn.Detailed'"}]})])],1)],1)]}}],null,!1,3380180717)}):e._e()],1),e.pagerInfo.rowTotal?a("div",{staticClass:"crm_pagination"},[a("div",{staticClass:"crm_page_total"},[a("span",{directives:[{name:"t",rawName:"v-t",value:"Page.total.item1",expression:"'Page.total.item1'"}]}),a("span",[e._v(e._s(e.pagerInfo.rowTotal))]),a("span",{directives:[{name:"t",rawName:"v-t",value:"Page.total.item2",expression:"'Page.total.item2'"}]})]),a("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(),a("el-dialog",{attrs:{title:e.dialogTit,visible:e.dialogCheck,center:"","custom-class":"dialog_header_w"},on:{"update:visible":function(t){e.dialogCheck=t}}},[a("div",{staticClass:"dia-content"},[a("el-form",{ref:"dialogCheck_form",staticClass:"dialogCheck_form",attrs:{model:e.dialogCheck_form,rules:e.rules,"label-width":"135px"}},[a("el-form-item",{attrs:{prop:"",label:"CID:"}},[e._v(" "+e._s(e.dialogCheck_form.cId||"--")+" ")]),"allocated"==e.AccountType&&"comment"==e.command?a("div",[a("el-form-item",{attrs:{prop:"comment",label:e.$t("Label.Descr")+":"}},[a("el-input",{attrs:{size:"small",type:"textarea",rows:3,placeholder:e.$t("Placeholder.Input")},on:{change:e.selectChange},model:{value:e.dialogCheck_form.comment,callback:function(t){e.$set(e.dialogCheck_form,"comment","string"===typeof t?t.trim():t)},expression:"dialogCheck_form.comment"}})],1)],1):e._e(),"assigned"==e.AccountType&&"comment"==e.command?a("div",[a("el-form-item",{attrs:{prop:"comment",label:e.$t("Label.Descr")+":"}},[a("el-input",{attrs:{size:"small",type:"textarea",rows:3,placeholder:e.$t("Placeholder.Input")},on:{change:e.selectChange},model:{value:e.dialogCheck_form.comment,callback:function(t){e.$set(e.dialogCheck_form,"comment","string"===typeof t?t.trim():t)},expression:"dialogCheck_form.comment"}})],1)],1):e._e(),"insensibility"==e.AccountType&&"comment"==e.command?a("div",[a("el-form-item",{attrs:{prop:"comment",label:e.$t("Label.Descr")+":"}},[a("el-input",{attrs:{size:"small",type:"textarea",rows:3,placeholder:e.$t("Placeholder.Input")},on:{change:e.selectChange},model:{value:e.dialogCheck_form.comment,callback:function(t){e.$set(e.dialogCheck_form,"comment","string"===typeof t?t.trim():t)},expression:"dialogCheck_form.comment"}})],1)],1):e._e(),"allocated"==e.AccountType&&"allocation"==e.command?a("div",[a("el-form-item",{attrs:{prop:"status",label:e.$t("Label.CheckResults")+":"}},[a("el-select",{staticClass:"crm_search_down",attrs:{size:"small",placeholder:e.$t("Placeholder.Choose")},on:{change:e.selectChange},model:{value:e.dialogCheck_form.status,callback:function(t){e.$set(e.dialogCheck_form,"status",t)},expression:"dialogCheck_form.status"}},[a("el-option",{attrs:{label:e.$t("CustomAllocation.item11"),value:1}}),1!=e.role?a("el-option",{attrs:{label:e.$t("CustomAllocation.item12"),value:2}}):e._e(),1!=e.role?a("el-option",{attrs:{label:e.$t("CustomAllocation.item13"),value:3}}):e._e()],1)],1),1==e.dialogCheck_form.status?a("el-form-item",{attrs:{prop:"allocationAgentId",label:e.$t("CustomAllocation.item9")+":"}},[a("el-select",{staticClass:"crm_search_down",attrs:{size:"small",filterable:"",clearable:"",placeholder:e.$t("Placeholder.Choose")},on:{change:e.selectChange},model:{value:e.dialogCheck_form.allocationAgentId,callback:function(t){e.$set(e.dialogCheck_form,"allocationAgentId",t)},expression:"dialogCheck_form.allocationAgentId"}},e._l(e.group_options,(function(e){return a("el-option",{key:e.id,attrs:{label:e.name+"-"+e.ibNo,value:e.id}})})),1)],1):e._e()],1):e._e(),"assigned"==e.AccountType&&"allocation"==e.command?a("div",[a("el-form-item",{attrs:{prop:"status",label:e.$t("Label.CheckResults")+":"}},[a("el-select",{staticClass:"crm_search_down",attrs:{size:"small",placeholder:e.$t("Placeholder.Choose")},on:{change:e.selectChange},model:{value:e.dialogCheck_form.status,callback:function(t){e.$set(e.dialogCheck_form,"status",t)},expression:"dialogCheck_form.status"}},[1!=e.role?a("el-option",{attrs:{label:e.$t("CustomAllocation.item10"),value:0}}):e._e(),a("el-option",{attrs:{label:e.$t("CustomAllocation.item11"),value:1}}),1!=e.role?a("el-option",{attrs:{label:e.$t("CustomAllocation.item12"),value:2}}):e._e(),1!=e.role?a("el-option",{attrs:{label:e.$t("CustomAllocation.item13"),value:3}}):e._e()],1)],1),1==e.dialogCheck_form.status?a("el-form-item",{attrs:{prop:"allocationAgentId",label:e.$t("CustomAllocation.item9")+":"}},[a("el-select",{staticClass:"crm_search_down",attrs:{size:"small",filterable:"",clearable:"",placeholder:e.$t("Placeholder.Choose")},on:{change:e.selectChange},model:{value:e.dialogCheck_form.allocationAgentId,callback:function(t){e.$set(e.dialogCheck_form,"allocationAgentId",t)},expression:"dialogCheck_form.allocationAgentId"}},e._l(e.group_options,(function(e){return a("el-option",{key:e.id,attrs:{label:e.name+"-"+e.ibNo,value:e.id}})})),1)],1):e._e()],1):e._e(),"insensibility"==e.AccountType&&"allocation"==e.command?a("div",[a("el-form-item",{attrs:{prop:"status",label:e.$t("Label.CheckResults")+":"}},[a("el-select",{staticClass:"crm_search_down",attrs:{size:"small",placeholder:e.$t("Placeholder.Choose")},on:{change:e.selectChange},model:{value:e.dialogCheck_form.status,callback:function(t){e.$set(e.dialogCheck_form,"status",t)},expression:"dialogCheck_form.status"}},[1!=e.role?a("el-option",{attrs:{label:e.$t("CustomAllocation.item10"),value:0}}):e._e(),a("el-option",{attrs:{label:e.$t("CustomAllocation.item11"),value:1}}),1!=e.role?a("el-option",{attrs:{label:e.$t("CustomAllocation.item12"),value:2}}):e._e(),1!=e.role?a("el-option",{attrs:{label:e.$t("CustomAllocation.item13"),value:3}}):e._e()],1)],1),1==e.dialogCheck_form.status?a("el-form-item",{attrs:{prop:"allocationAgentId",label:e.$t("CustomAllocation.item9")+":"}},[a("el-select",{staticClass:"crm_search_down",attrs:{size:"small",filterable:"",clearable:"",placeholder:e.$t("Placeholder.Choose")},on:{change:e.selectChange},model:{value:e.dialogCheck_form.allocationAgentId,callback:function(t){e.$set(e.dialogCheck_form,"allocationAgentId",t)},expression:"dialogCheck_form.allocationAgentId"}},e._l(e.group_options,(function(e){return a("el-option",{key:e.id,attrs:{label:e.name+"-"+e.ibNo,value:e.id}})})),1)],1):e._e()],1):e._e()],1),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{directives:[{name:"t",rawName:"v-t",value:"Btn.Confirm",expression:"'Btn.Confirm'"}],attrs:{type:"primary"},on:{click:function(t){return e.toVerified()}}}),a("el-button",{directives:[{name:"t",rawName:"v-t",value:"Btn.Cancel",expression:"'Btn.Cancel'"}],on:{click:e.cancel}})],1)],1)]),a("el-dialog",{attrs:{title:e.dialogTit,visible:e.dialogCheckOne,center:"","custom-class":"dialog_header_w"},on:{"update:visible":function(t){e.dialogCheckOne=t}}},[a("div",{staticClass:"dia-content"},[a("el-form",{ref:"dialogCheckOne_form",staticClass:"dialogCheckOne_form",attrs:{model:e.dialogCheckOne_form,rules:e.rules,"label-width":"135px"}},[a("div",[a("el-form-item",{attrs:{prop:"country",label:e.$t("Label.Nationality")+":"}},[a("el-select",{staticClass:"crm_search_down",attrs:{size:"small",filterable:"",clearable:"",placeholder:e.$t("Placeholder.Choose")},on:{change:e.selectChange},model:{value:e.dialogCheckOne_form.country,callback:function(t){e.$set(e.dialogCheckOne_form,"country",t)},expression:"dialogCheckOne_form.country"}},e._l(e.countries,(function(t){return a("el-option",{key:t.id,attrs:{label:"cn"==e.Session.Get("lang")?t.name:t.enName,value:t.code}})})),1)],1),a("el-form-item",{attrs:{prop:"ibNo",label:e.$t("Label.AgentNumber")+":"}},[a("el-input",{attrs:{size:"small",placeholder:e.$t("Placeholder.Input")},on:{change:e.selectChange},model:{value:e.dialogCheckOne_form.ibNo,callback:function(t){e.$set(e.dialogCheckOne_form,"ibNo","string"===typeof t?t.trim():t)},expression:"dialogCheckOne_form.ibNo"}})],1)],1)]),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{directives:[{name:"t",rawName:"v-t",value:"Btn.Confirm",expression:"'Btn.Confirm'"}],attrs:{type:"primary"},on:{click:function(t){return e.toVerifiedOne()}}}),a("el-button",{directives:[{name:"t",rawName:"v-t",value:"Btn.Cancel",expression:"'Btn.Cancel'"}],on:{click:e.cancelOne}})],1)],1)]),a("el-dialog",{attrs:{title:e.$t("R-SynonymTransfer-Upload"),visible:e.dialogCheckUpload,center:"","custom-class":"dialog_header_w"},on:{"update:visible":function(t){e.dialogCheckUpload=t}}},[a("div",{directives:[{name:"loading",rawName:"v-loading",value:e.fileLoading,expression:"fileLoading"}],staticClass:"dia-content",attrs:{"element-loading-background":"rgba(43, 48, 67, 0.65)","element-loading-spinner":"el-icon-loading"}},[a("div",{staticClass:"uploadBox"},[a("div",{staticClass:"title"},[a("div",{staticClass:"tit"}),a("div",[a("span",{directives:[{name:"t",rawName:"v-t",value:"Marketing.SampleDownload",expression:"'Marketing.SampleDownload'"}]}),a("span",{staticClass:"demo crm-cursor",on:{click:e.exportAgents}},[e._v("Demo")])])]),a("div",{staticClass:"upload"},[a("el-upload",{ref:"upload",attrs:{action:e.action,accept:".xlsx",data:{name:e.name},headers:e.AccessToken,"show-file-list":!1,"auto-upload":!1,"on-success":e.handleAvatarSuccess,"on-change":e.handlePreview}},[a("el-button",{directives:[{name:"t",rawName:"v-t",value:"Marketing.SelectFile",expression:"'Marketing.SelectFile'"}],attrs:{slot:"trigger",size:"small",type:"primary"},slot:"trigger"})],1),e.file?a("span",{staticStyle:{"margin-left":"10px"}},[e._v(e._s(e.file))]):a("span",{directives:[{name:"t",rawName:"v-t",value:"Marketing.NoFileSelected",expression:"'Marketing.NoFileSelected'"}],staticStyle:{"margin-left":"10px"}})],1),a("div",{staticStyle:{"margin-top":"25px"}},[a("span",{directives:[{name:"t",rawName:"v-t",value:"ActivityAcquisition.Label.item4",expression:"'ActivityAcquisition.Label.item4'"}],staticStyle:{"line-height":"1.5"}}),a("a",{staticStyle:{color:"#368FEC"},attrs:{href:"https://en.wikipedia.org/wiki/ISO_3166-2",target:"_blank",rel:"noopener noreferrer"}},[e._v("ISO 3166-2")])])]),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{directives:[{name:"t",rawName:"v-t",value:"Btn.Confirm",expression:"'Btn.Confirm'"}],attrs:{type:"primary"},on:{click:function(t){return e.submitUpload()}}}),a("el-button",{directives:[{name:"t",rawName:"v-t",value:"Btn.Cancel",expression:"'Btn.Cancel'"}],on:{click:e.Cancel}})],1)])]),a("el-dialog",{attrs:{visible:e.dialogLink,center:"",title:e.$t("ActivityAcquisition.R-ActivityOc-Allocation3"),"custom-class":"dialog_header_w dialogLink"},on:{"update:visible":function(t){e.dialogLink=t}}},[a("div",{staticClass:"dia-content"},[a("div",{staticClass:"content",staticStyle:{"font-size":"14px","text-align":"left"}},[a("div",{directives:[{name:"t",rawName:"v-t",value:"ActivityAcquisition.Label.ChooseCommission",expression:"'ActivityAcquisition.Label.ChooseCommission'"}],staticClass:"label"}),a("el-select",{staticStyle:{width:"100%"},attrs:{size:"mini",placeholder:e.$t("Placeholder.Choose")},model:{value:e.commissions,callback:function(t){e.commissions=t},expression:"commissions"}},[a("el-option",{attrs:{label:"0",value:"F0"}}),a("el-option",{attrs:{label:"10",value:"F1"}}),a("el-option",{attrs:{label:"20",value:"F2"}})],1),a("div",{directives:[{name:"t",rawName:"v-t",value:"ActivityAcquisition.Label.IbInvalid",expression:"'ActivityAcquisition.Label.IbInvalid'"}],staticClass:"label"}),a("el-select",{staticStyle:{width:"100%"},attrs:{size:"mini",placeholder:e.$t("Placeholder.Choose")},model:{value:e.ibInvalid,callback:function(t){e.ibInvalid=t},expression:"ibInvalid"}},[a("el-option",{attrs:{label:e.$t("ActivityAcquisition.Label.Allow"),value:"B0"}}),a("el-option",{attrs:{label:e.$t("ActivityAcquisition.Label.NotAllow"),value:"B1"}})],1),a("div",[a("span",{directives:[{name:"t",rawName:"v-t",value:"ActivityAcquisition.Label.item3",expression:"'ActivityAcquisition.Label.item3'"}],staticStyle:{"line-height":"1.5"}})]),a("div",{staticClass:"btn"},[a("span",{directives:[{name:"t",rawName:"v-t",value:"ActivityAcquisition.Label.CreateLink",expression:"'ActivityAcquisition.Label.CreateLink'"}],staticClass:"crm-cursor",on:{click:e.CreateLink}})]),a("div",{staticClass:"link"},[a("el-input",{attrs:{readonly:"",size:"mini",placeholder:"",id:"custom_link"},model:{value:e.link,callback:function(t){e.link="string"===typeof t?t.trim():t},expression:"link"}}),a("div",{staticClass:"btn"},[a("span",{directives:[{name:"t",rawName:"v-t",value:"ActivityAcquisition.Label.Copy",expression:"'ActivityAcquisition.Label.Copy'"}],staticClass:"crm-cursor",on:{click:function(t){return e.CopyShareLink("custom_link")}}})])],1)],1)])]),a("trading-single",{attrs:{dialogInfoTrading:e.dialogInfoTrading,infoType:e.infoType,formInfo:e.formInfoTrading,btn:e.btn},on:{closeTrading:e.closeTrading,openInfo:e.openInfo}}),e.dialogInfoTrading?a("div",{staticClass:"crm_verified_info_mask crm_verified_info_mask_trading",on:{click:e.closeDiaTrading}}):e._e(),a("detailed-info-cid",{attrs:{dialogInfoCid:e.dialogInfoCid,formInfo:e.formInfo},on:{close:e.close}}),e.dialogInfoCid?a("div",{staticClass:"crm_verified_info_mask",on:{click:e.closeDia}}):e._e(),a("detailed-info-ibNo",{attrs:{dialogInfoIbNo:e.dialogInfoPIbNo,formInfo:e.formInfoPib},on:{close:e.close}}),e.dialogInfoPIbNo?a("div",{staticClass:"crm_verified_info_mask",on:{click:e.closeDia}}):e._e(),a("activity-acquisition-detail",{attrs:{dialogInfoTradingD:e.dialogInfoTradingD,myInfo:e.myInfo,formList:e.formList},on:{confirmToReload:e.confirmToReload,closeAdd:e.closeAdd}}),e.dialogInfoTradingD?a("div",{staticClass:"crm_verified_info_mask",on:{click:e.closeDiaAdd}}):e._e()],1)},n=[],r=(a("4160"),a("b0c0"),a("d3b7"),a("ac1f"),a("25f0"),a("3ca3"),a("841c"),a("1276"),a("9911"),a("159b"),a("ddb0"),a("2b3d"),a("5530")),o=(a("96cf"),a("1da1")),s=a("bc3a"),c=a.n(s),l=a("76ae"),u=a("f121"),d=a.n(u),m=a("2d59"),p=a("3a82"),h=a("5011"),f=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"InfoBox",class:{active:e.dialogInfoTradingD},attrs:{id:"TradingDetailedInfoAdd"}},[a("div",{staticClass:"header"},[a("div",[a("span",{directives:[{name:"t",rawName:"v-t",value:"ActivityAcquisition.R-ActivityOc",expression:"'ActivityAcquisition.R-ActivityOc'"}],staticClass:"title"})]),a("span",{staticClass:"close crm-cursor",on:{click:e.close}},[a("i",{staticClass:"el-icon-close"})])]),a("el-form",{ref:"form",attrs:{rules:e.rules,model:e.form,"label-width":"150PX"}},[a("el-form-item",{attrs:{prop:"",label:e.$t("Label.CidAccount")+":"}},[a("div",{staticClass:"theDes"},[e._v(e._s(e.form.cId||"--"))])]),a("el-form-item",{attrs:{prop:"",label:e.$t("Label.Name")+":"}},[a("div",{staticClass:"theDes"},[e._v(e._s(e.form.name||"--"))])]),a("el-form-item",{attrs:{prop:"",label:e.$t("Label.Email")+":"}},[a("div",{staticClass:"theDes"},[e._v(e._s(e.form.email||"--"))])]),"assigned"==e.myInfo?a("el-form-item",{attrs:{prop:"",label:e.$t("Placeholder.AreaCode")+":"}},[a("div",{staticClass:"theDes"},[e._v(e._s(e.form.areaCode||"--"))])]):e._e(),"allocated"==e.myInfo||"assigned"==e.myInfo?a("el-form-item",{attrs:{prop:"",label:e.$t("Label.Phone")+":"}},[a("div",{staticClass:"theDes"},[e._v(e._s(e.form.phone||"--"))])]):e._e(),a("el-form-item",{attrs:{prop:"",label:e.$t("Label.Nationality")+":"}},[a("div",{staticClass:"theDes"},[e._v(e._s("cn"==e.Session.Get("lang")?e.form.countryName||"--":e.form.countryEnName||"--"))])]),a("el-form-item",{attrs:{prop:"",label:e.$t("Label.Source")+":"}},[a("div",{staticClass:"theDes"},[e._v(e._s("cn"==e.lang?e.form.sourceName||"--":e.form.sourceNameEn||"--"))])]),a("el-form-item",{attrs:{prop:"",label:e.$t("Label.RegistrationTime")+":"}},[a("div",{staticClass:"theDes"},[e._v(e._s(e.form.addTime||"--"))])]),"allocated"==e.myInfo?a("el-form-item",{attrs:{prop:"",label:e.$t("CustomAllocation.item8")+":"}},[a("div",{staticClass:"theDes"},[e._v(e._s(e.form.number||"0"))])]):e._e(),"allocated"!=e.myInfo?a("el-form-item",{attrs:{prop:"",label:e.$t("CustomAllocation.item5")+":"}},[a("div",{staticClass:"theDes"},[e._v(e._s(e.form.allocationPibNo||"--"))])]):e._e(),"allocated"!=e.myInfo?a("el-form-item",{attrs:{prop:"",label:e.$t("CustomAllocation.item6")+":"}},[a("div",{staticClass:"theDes"},[e._v(e._s(e.form.allocationSalesIbNo||"--"))])]):e._e(),a("el-form-item",{attrs:{prop:"",label:e.$t("Label.Note")+":"}},[a("div",{staticClass:"theDes"},[e._v(e._s(e.form.note||"--"))])]),a("el-form-item",{attrs:{prop:"",label:e.$t("Label.Note")+"1:"}},[a("div",{staticClass:"theDes"},[e._v(e._s(e.form.remarks1||"--"))])]),a("el-form-item",{attrs:{prop:"",label:e.$t("Label.Note")+"2:"}},[a("div",{staticClass:"theDes"},[e._v(e._s(e.form.remarks2||"--"))])]),a("el-form-item",{attrs:{prop:"",label:e.$t("Label.Note")+"3:"}},[a("div",{staticClass:"theDes"},[e._v(e._s(e.form.remarks3||"--"))])]),a("el-form-item",{attrs:{prop:"",label:e.$t("Label.Note")+"4:"}},[a("div",{staticClass:"theDes"},[e._v(e._s(e.form.remarks4||"--"))])]),a("el-form-item",{attrs:{prop:"",label:e.$t("Label.Note")+"5:"}},[a("div",{staticClass:"theDes"},[e._v(e._s(e.form.remarks5||"--"))])])],1)],1)},g=[],v={name:"ImportTradeAdd",props:{dialogInfoTradingD:{type:Boolean,default:!1},editor:{default:""},myInfo:{default:""},formList:{default:""}},data:function(){return{flag:!1,form:{name:"",infoCode:"",initialLottery:"",lotteryPerLogin:"",minDepositLimit:"",signScope:"",signEndDate:"",signStartDate:"",signDeadLine:"",startDate:"",endDate:""},pointList:[],link:"",rules:{name:[{required:!0,message:this.$i18n.t("vaildate.input.empty"),trigger:"blur"}],infoCode:[{required:!0,message:this.$i18n.t("vaildate.input.empty"),trigger:"blur"}],initialLottery:[{required:!0,message:this.$i18n.t("vaildate.input.empty"),trigger:"blur"}],lotteryPerLogin:[{required:!0,message:this.$i18n.t("vaildate.input.empty"),trigger:"blur"}],minDepositLimit:[{required:!0,message:this.$i18n.t("vaildate.input.empty"),trigger:"blur"}],signScope:[{required:!0,message:this.$i18n.t("vaildate.input.empty"),trigger:"blur"}],signEndDate:[{required:!0,message:this.$i18n.t("vaildate.select.empty"),trigger:"change"}],signStartDate:[{required:!0,message:this.$i18n.t("vaildate.select.empty"),trigger:"change"}],signDeadLine:[{required:!0,message:this.$i18n.t("vaildate.select.empty"),trigger:"change"}],startDate:[{required:!0,message:this.$i18n.t("vaildate.select.empty"),trigger:"change"}],endDate:[{required:!0,message:this.$i18n.t("vaildate.select.empty"),trigger:"change"}],pageAddress:[{required:!0,message:this.$i18n.t("vaildate.input.empty"),trigger:"blur"}]}}},computed:{lang:function(){return this.Session.Get("lang")}},methods:{close:function(){this.$emit("closeAdd",!1)}},mounted:function(){},watch:{dialogInfoTradingD:function(e){0==e&&this.$refs["form"]&&this.$refs["form"].resetFields()},formList:function(e){this.form=e}}},b=v,y=(a("dcd8"),a("2877")),k=Object(y["a"])(b,f,g,!1,null,"73b69e9b",null),w=k.exports,C=d.a.Code,A=d.a.Host00,_={name:"PendingAccount",components:{DetailedInfoCid:m["a"],DetailedInfoIbNo:p["a"],TradingSingle:h["a"],ActivityAcquisitionDetail:w},inject:["reload"],data:function(){return{flag:!1,reasons:{},pictLoading:!1,mock_tableData:[],AccountType:"allocated",search:{name:"",phone:"",registerValid:null,payValid:null,sourceCode:null,country:null,areaId:null,email:"",allocationPibNo:"",allocationSalesIbNo:"",date:[],startDate:"",endDate:""},action:"",file:"",name:"",dialogCheckUpload:!1,url:d.a.Host85,fileLoading:!1,dialogLink:!1,commissions:"F0",ibInvalid:"B0",getInfoId:"",getInfoSerial:"",link:"",command:"",dialogTit:"",multipleSelection:[],multipleSelectionCid:[],sourceList:[],expands:null,tableData:[],dd_options:[],role:"",group_options:[],type:1,dialogInfoTrading:!1,dialogInfoCid:!1,dialogInfoPIbNo:!1,infoType:"",formInfo:{},formInfoPib:{},formInfoTrading:{},dialogInfo:!1,btn:!1,dialogCheck:!1,dialogCheck_form:{},dialogCheckOne:!1,dialogCheckOne_form:{},countries:[],dialogInfoTradingD:!1,formList:{},myInfo:"",pagerInfo:{row:10,current:1,pageTotal:0,rowTotal:0},rules:{country:[{required:!0,message:this.$i18n.t("vaildate.select.empty"),trigger:"change"}],ibNo:[{required:!0,message:this.$i18n.t("vaildate.input.empty"),trigger:"blur"}],status:[{required:!0,message:this.$i18n.t("vaildate.select.empty"),trigger:"blur"}],comment:[{required:!0,message:this.$i18n.t("vaildate.select.empty"),trigger:"change"}],groupCode:[{required:!0,message:this.$i18n.t("vaildate.select.empty"),trigger:"blur"}],login:[{required:!0,message:this.$i18n.t("vaildate.input.empty"),trigger:"blur"}],allocationAgentId:[{required:!0,message:this.$i18n.t("vaildate.select.empty"),trigger:"change"}]}}},computed:{display:function(){return JSON.parse(this.Session.Get("display",!0))},user:function(){return JSON.parse(this.Session.Get("user",!0))},lang:function(){return this.Session.Get("lang")},AccessToken:function(){return{"Access-Token":this.Session.Get("access_token")}}},methods:{selectChange:function(){this.$forceUpdate()},CopyShareLink:function(e){var t=document.getElementById(e);t.select(),document.execCommand("Copy")},CreateLink:function(){this.link=A+"/#/signup/"+this.getInfoId+"/"+this.commissions+"/"+this.ibInvalid+"?oc="+this.getInfoSerial},Upload:function(){this.dialogCheckUpload=!0},Cancel:function(){this.reload()},submitUpload:function(){this.file?(this.fileLoading=!0,this.$refs.upload.submit()):this.$pigeon.MessageWarning(this.$i18n.t("Msg.upload"))},handleAvatarSuccess:function(e){200==e.code?(this.$pigeon.MessageOK(this.$i18n.t("Msg.uploadSuccess")),this.Cancel()):this.$pigeon.MessageError(e.msg),this.fileLoading=!1},handlePreview:function(e){e.percentage?this.file="":this.file=e.name},beforeAvatarUpload:function(e){var t=e.size/1024/1024<3;return t||this.$pigeon.MessageError(this.$i18n.t("news_add_field.Des.item1")),t},exportAgents:function(){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function t(){var a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:a="/web/oc/template/export",c.a.get(a,{responseType:"blob"}).then((function(t){if(t.status==C.StatusOK)if("msSaveOrOpenBlob"in navigator)window.navigator.msSaveOrOpenBlob(t.data,"Download.xlsx");else{var a=window.URL.createObjectURL(t.data),i=document.createElement("a");document.body.appendChild(i);var n=t.headers["content-disposition"]?t.headers["content-disposition"].split(";")[1].split("=")[1]:"Download.xlsx";i.href=a,i.download=n,i.click(),window.URL.revokeObjectURL(a)}else e.$pigeon.MessageError(e.$i18n.t("Msg.Download"))}));case 2:case"end":return t.stop()}}),t)})))()},handleSelectionChange:function(e){var t=this;this.multipleSelection=[],this.multipleSelectionCid=[],e.forEach((function(e){t.multipleSelection.push(e.id),t.multipleSelectionCid.push(e.cId)}))},AllocationAll:function(){this.dialogCheck_form={},this.$refs["dialogCheck_form"]&&this.$refs["dialogCheck_form"].resetFields(),this.dialogCheck_form.ids=this.multipleSelection,this.dialogCheck_form.cId=this.multipleSelectionCid.toString(),this.dialogTit=this.$i18n.t("ActivityAcquisition.R-ActivityOc-Allocation"),this.command="allocation",this.searchFuncReal()},chooseType:function(e){this.$refs["form"]&&this.$refs["form"].resetFields(),this.search={name:"",phone:"",registerValid:null,payValid:null,sourceCode:null,country:null,areaId:null,email:"",allocationPibNo:"",allocationSalesIbNo:"",date:[],startDate:"",endDate:""},this.AccountType=e,this.pagerInfo.row=10,this.pagerInfo.current=1,this.mock_tableData=[],this.searchFunc()},handleCommand:function(e){this.dialogCheck_form={},this.command=e.type,"allocated"==this.AccountType&&"comment"==e.type||"assigned"==this.AccountType&&"comment"==e.type?(this.$refs["dialogCheck_form"]&&this.$refs["dialogCheck_form"].resetFields(),this.dialogCheck_form.allocationRosterId=e.row.id,this.dialogCheck_form.cId=e.row.cId,this.dialogTit=this.$i18n.t("ActivityAcquisition.R-ActivityOc-AddNote"),this.dialogCheck=!0):"assigned"==this.AccountType&&"assignedLink"==e.type?(this.getInfoId=e.row.allocationAgentId,this.getInfoSerial=e.row.serial,this.link="",this.dialogLink=!0):"insensibility"==this.AccountType&&"comment"==e.type?(this.$refs["dialogCheck_form"]&&this.$refs["dialogCheck_form"].resetFields(),this.dialogCheck_form.allocationRosterId=e.row.id,this.dialogCheck_form.cId=e.row.cId,this.dialogTit=this.$i18n.t("ActivityAcquisition.R-ActivityOc-AddNote"),this.dialogCheck=!0):"allocated"==this.AccountType&&"allocation"==e.type||"assigned"==this.AccountType&&"allocation"==e.type||"insensibility"==this.AccountType&&"allocation"==e.type?(this.$refs["dialogCheck_form"]&&this.$refs["dialogCheck_form"].resetFields(),this.dialogCheck_form.ids=[e.row.id],this.dialogCheck_form.cId=e.row.cId,1==this.role&&(this.dialogCheck_form.status=e.row.status),this.dialogTit=this.$i18n.t("ActivityAcquisition.R-ActivityOc-Allocation"),this.searchFuncReal()):"detailed"==e.type&&(this.formList=e.row,this.myInfo=this.AccountType,this.dialogInfoTradingD=!0)},toVerified:function(){var e=Object(o["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(o["a"])(regeneratorRuntime.mark((function e(a){var i,n,r,o,s,c;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!a){e.next=51;break}if(!t.flag){e.next=5;break}return e.abrupt("return");case 5:t.flag=!0;case 6:if("allocated"!=t.AccountType){e.next=21;break}if("comment"!=t.command){e.next=14;break}return e.next=10,l["a"].commentaAdd(t.AccountType,{allocationRosterId:t.dialogCheck_form.allocationRosterId,comment:t.dialogCheck_form.comment});case 10:i=e.sent,i.code==C.StatusOK?(t.$pigeon.MessageOK(t.$i18n.t("Msg.Success")),t.cancel(),t.searchFunc(),t.flag=!1):(t.flag=!1,t.$pigeon.MessageError(i.msg)),e.next=19;break;case 14:if("allocation"!=t.command){e.next=19;break}return e.next=17,l["a"].webOcSearchAllocation(t.AccountType,{ids:t.dialogCheck_form.ids,allocationAgentId:1==t.dialogCheck_form.status?t.dialogCheck_form.allocationAgentId:"",status:t.dialogCheck_form.status});case 17:n=e.sent,n.code==C.StatusOK?(t.$pigeon.MessageOK(t.$i18n.t("Msg.Success")),t.cancel(),t.searchFunc(),t.flag=!1):(t.flag=!1,t.$pigeon.MessageError(n.msg));case 19:e.next=49;break;case 21:if("assigned"!=t.AccountType){e.next=36;break}if("comment"!=t.command){e.next=29;break}return e.next=25,l["a"].commentaAdd(t.AccountType,{allocationRosterId:t.dialogCheck_form.allocationRosterId,comment:t.dialogCheck_form.comment});case 25:r=e.sent,r.code==C.StatusOK?(t.$pigeon.MessageOK(t.$i18n.t("Msg.Success")),t.cancel(),t.searchFunc(),t.flag=!1):(t.flag=!1,t.$pigeon.MessageError(r.msg)),e.next=34;break;case 29:if("allocation"!=t.command){e.next=34;break}return e.next=32,l["a"].webOcSearchAllocation(t.AccountType,{ids:t.dialogCheck_form.ids,allocationAgentId:1==t.dialogCheck_form.status?t.dialogCheck_form.allocationAgentId:"",status:t.dialogCheck_form.status});case 32:o=e.sent,o.code==C.StatusOK?(t.$pigeon.MessageOK(t.$i18n.t("Msg.Success")),t.cancel(),t.searchFunc(),t.flag=!1):(t.flag=!1,t.$pigeon.MessageError(o.msg));case 34:e.next=49;break;case 36:if("insensibility"!=t.AccountType){e.next=49;break}if("comment"!=t.command){e.next=44;break}return e.next=40,l["a"].commentaAdd(t.AccountType,{allocationRosterId:t.dialogCheck_form.allocationRosterId,comment:t.dialogCheck_form.comment});case 40:s=e.sent,s.code==C.StatusOK?(t.$pigeon.MessageOK(t.$i18n.t("Msg.Success")),t.cancel(),t.searchFunc(),t.flag=!1):(t.flag=!1,t.$pigeon.MessageError(s.msg)),e.next=49;break;case 44:if("allocation"!=t.command){e.next=49;break}return e.next=47,l["a"].webOcSearchAllocation(t.AccountType,{ids:t.dialogCheck_form.ids,allocationAgentId:1==t.dialogCheck_form.status?t.dialogCheck_form.allocationAgentId:"",status:t.dialogCheck_form.status});case 47:c=e.sent,c.code==C.StatusOK?(t.$pigeon.MessageOK(t.$i18n.t("Msg.Success")),t.cancel(),t.searchFunc(),t.flag=!1):(t.flag=!1,t.$pigeon.MessageError(c.msg));case 49:e.next=52;break;case 51:return e.abrupt("return",!1);case 52: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()},toVerifiedOne:function(){var e=Object(o["a"])(regeneratorRuntime.mark((function e(){var t=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:this.$refs["dialogCheckOne_form"].validate(function(){var e=Object(o["a"])(regeneratorRuntime.mark((function e(a){var i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!a){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"].clickAllocationRoster({country:t.dialogCheckOne_form.country,ibNo:t.dialogCheckOne_form.ibNo});case 8:i=e.sent,i.code==C.StatusOK?(t.$pigeon.MessageOK(t.$i18n.t("Msg.Success")),t.cancelOne(),t.searchFunc(),t.flag=!1):(t.flag=!1,t.$pigeon.MessageError(i.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}(),cancelOne:function(){this.dialogCheckOne=!1,this.$refs["dialogCheckOne_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(o["a"])(regeneratorRuntime.mark((function a(){var i;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.next=2,l["a"].cidRealSingle({id:e});case 2:i=a.sent,i.code==C.StatusOK?(t.formInfo=i.data,t.dialogInfoCid=!0):t.$pigeon.MessageError(i.msg);case 4:case"end":return a.stop()}}),a)})))()},searchSinglePIbNo:function(e){var t=this;return Object(o["a"])(regeneratorRuntime.mark((function a(){var i;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.next=2,l["a"].pIbNoRealSingle({ibNo:e});case 2:i=a.sent,i.code==C.StatusOK?(t.formInfoPib=i.data,t.dialogInfoPIbNo=!0):t.$pigeon.MessageError(i.msg);case 4:case"end":return a.stop()}}),a)})))()},searchFuncReal:function(){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function t(){var a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,l["a"].webOcSearchSales({});case 2:a=t.sent,a.code==C.StatusOK?(e.group_options=a.data,e.dialogCheck=!0):e.$pigeon.MessageError(a.msg);case 4:case"end":return t.stop()}}),t)})))()},searchdd:function(){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function t(){var a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,l["a"].ddList({});case 2:a=t.sent,a.code==C.StatusOK?e.dd_options=a.data:e.$pigeon.MessageError(a.msg);case 4:case"end":return t.stop()}}),t)})))()},searchFunc:function(){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function t(){var a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e.pictLoading=!0,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]),"allocated"!=e.AccountType){t.next=12;break}if(e.display["ActivityAcquisition.R-ActivityOc-Search1"].show){t.next=7;break}return e.$pigeon.MessageWarning(e.$i18n.t("Msg.NotDisplay")),e.pictLoading=!1,t.abrupt("return");case 7:return t.next=9,l["a"].webOcSearchListAllocated(Object(r["a"])(Object(r["a"])({},e.search),{},{page:{current:e.pagerInfo.current,row:e.pagerInfo.row}}));case 9:a=t.sent,t.next=40;break;case 12:if("assigned"!=e.AccountType){t.next=22;break}if(e.display["ActivityAcquisition.R-ActivityOc-Search2"].show){t.next=17;break}return e.$pigeon.MessageWarning(e.$i18n.t("Msg.NotDisplay")),e.pictLoading=!1,t.abrupt("return");case 17:return t.next=19,l["a"].webOcSearchListAssigned(Object(r["a"])(Object(r["a"])({},e.search),{},{page:{current:e.pagerInfo.current,row:e.pagerInfo.row}}));case 19:a=t.sent,t.next=40;break;case 22:if("complete"!=e.AccountType){t.next=32;break}if(e.display["ActivityAcquisition.R-ActivityOc-Search3"].show){t.next=27;break}return e.$pigeon.MessageWarning(e.$i18n.t("Msg.NotDisplay")),e.pictLoading=!1,t.abrupt("return");case 27:return t.next=29,l["a"].webOcSearchListComplete(Object(r["a"])(Object(r["a"])({},e.search),{},{page:{current:e.pagerInfo.current,row:e.pagerInfo.row}}));case 29:a=t.sent,t.next=40;break;case 32:if("insensibility"!=e.AccountType){t.next=40;break}if(e.display["ActivityAcquisition.R-ActivityOc-Search4"].show){t.next=37;break}return e.$pigeon.MessageWarning(e.$i18n.t("Msg.NotDisplay")),e.pictLoading=!1,t.abrupt("return");case 37:return t.next=39,l["a"].webOcSearchListInsensibility(Object(r["a"])(Object(r["a"])({},e.search),{},{page:{current:e.pagerInfo.current,row:e.pagerInfo.row}}));case 39:a=t.sent;case 40:a.code==C.StatusOK?(a.data?(e.mock_tableData=a.data,null!=a.page?(e.pagerInfo.rowTotal=a.page.rowTotal,e.pagerInfo.pageTotal=a.page.pageTotal):e.pagerInfo.rowTotal=0,e.$pigeon.MessageOK(e.$i18n.t("Msg.SearchSuccess")),e.pictLoading=!1):(e.mock_tableData=[],e.pagerInfo.rowTotal=0),e.pictLoading=!1):(e.mock_tableData=[],e.pagerInfo.rowTotal=0,e.$pigeon.MessageError(a.msg),e.pictLoading=!1);case 41:case"end":return t.stop()}}),t)})))()},searchReasons:function(){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function t(){var a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,l["a"].reasonsRefusalList({type:null});case 2:a=t.sent,a.code==C.StatusOK?null==a.data?e.reasons={}:e.reasons=a.data:e.$pigeon.MessageError(a.msg);case 4:case"end":return t.stop()}}),t)})))()},getSearchDate:function(e){this.search.date=e},toSearch:function(){this.pagerInfo.current=1,this.searchFunc()},closeDiaAdd:function(){this.dialogInfoTradingD=!1},closeAdd:function(e){this.dialogInfoTradingD=e},addVarieties:function(){this.dialogInfoTradingD=!0},confirmToReload:function(){this.closeDiaAdd()},getCountry:function(){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function t(){var a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,l["a"].Country({});case 2:a=t.sent,a.code==C.StatusOK?e.countries=a.data:e.$pigeon.MessageError(a.msg);case 4:case"end":return t.stop()}}),t)})))()},searchSourceList:function(){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function t(){var a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,l["a"].sourceList({});case 2:a=t.sent,a.code==C.StatusOK?e.sourceList=a.data:e.$pigeon.MessageError(a.msg);case 4:case"end":return t.stop()}}),t)})))()},handleSizeChange:function(e){this.pagerInfo.row=e,this.searchFunc()},handleCurrentChange:function(e){this.pagerInfo.current=e,this.searchFunc()}},mounted:function(){return this.action=this.url+"/web/oc/excel",this.role=this.user.departmentId||"",this.getCountry(),this.searchSourceList(),this.display["ActivityAcquisition.R-ActivityOc-Search1"].show?(this.AccountType="allocated",void this.searchFunc()):this.display["ActivityAcquisition.R-ActivityOc-Search2"].show?(this.AccountType="assigned",void this.searchFunc()):this.display["ActivityAcquisition.R-ActivityOc-Search3"].show?(this.AccountType="complete",void this.searchFunc()):this.display["ActivityAcquisition.R-ActivityOc-Search4"].show?(this.AccountType="insensibility",void this.searchFunc()):void 0}},x=_,$=(a("9340"),a("7877"),Object(y["a"])(x,i,n,!1,null,"363e0c84",null));t["default"]=$.exports},1220:function(e,t,a){},"3a82":function(e,t,a){"use strict";var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"InfoBox",class:{active:e.dialogInfoIbNo},attrs:{id:"TradingDetailedInfo"}},[a("div",{staticClass:"header"},[a("div",[a("span",{directives:[{name:"t",rawName:"v-t",value:"Label.AgentNumber",expression:"'Label.AgentNumber'"}],staticClass:"title"}),a("span",[e._v(":")]),a("span",[e._v(e._s(e.form.ibNo||"--"))])]),a("span",{staticClass:"close crm-cursor",on:{click:e.close}},[a("i",{staticClass:"el-icon-close"})])]),a("el-form",{ref:"form",attrs:{model:e.form,"label-width":"150PX"}},[a("el-form-item",{attrs:{label:e.$t("Label.CidAccount")}},[e._v(" "+e._s(e.form.cId||"--")+" ")]),a("el-form-item",{attrs:{label:e.$t("Label.AgentNumber")}},[e._v(" "+e._s(e.form.ibNo||"--")+" ")]),a("el-form-item",{attrs:{label:e.$t("Label.AttributionNumber")}},[e._v(" "+e._s(e.form.pIbNo||"--")+" ")]),a("el-form-item",{attrs:{label:e.$t("Label.AgentLevel")}},[e._v(" "+e._s("cn"==e.Session.Get("lang")?e.form.agentLevelName:e.form.agentLevelEnName)+" ")]),a("el-form-item",{attrs:{label:e.$t("Label.Name")}},[e._v(" "+e._s(e.form.name||"--")+" ")]),a("el-form-item",{attrs:{label:e.$t("Label.Email")}},[e._v(" "+e._s(e.form.email||"--")+" ")]),a("el-form-item",{attrs:{label:e.$t("Label.Amount")}},[e._v(" "+e._s(e.form.balance||"--")+" ")])],1)],1)},n=[],r=a("f121"),o=a.n(r),s={name:"DetailedInfoIbNo",props:{dialogInfoIbNo:{type:Boolean,default:!1},infoType:{default:""},formInfo:{default:""},btn:{type:Boolean,default:!1}},data:function(){return{imgUrl:o.a.Host85,form:{},info:{CID:"",name:"",type:""}}},methods:{close:function(){this.$emit("close",!1)}},mounted:function(){},watch:{formInfo:function(){this.form=this.formInfo}}},c=s,l=(a("c7cf"),a("89d0"),a("2877")),u=Object(l["a"])(c,i,n,!1,null,"39a3abd0",null);t["a"]=u.exports},"76ae":function(e,t,a){"use strict";a("96cf");var i=a("1da1"),n=a("d4ec"),r=a("bee2"),o=a("262e"),s=a("2caf"),c=a("ff2d"),l=a("bc3a"),u=a.n(l),d=a("f121"),m=a.n(d),p=function(e){Object(o["a"])(a,e);var t=Object(s["a"])(a);function a(){var e;return Object(n["a"])(this,a),e=t.call(this),u.a.defaults.baseURL=m.a.Host85,e}return Object(r["a"])(a,[{key:"followCptInfo",value:function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(){var t,a,i=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=i.length>0&&void 0!==i[0]?i[0]:{},e.next=3,this.post("/follow/cpt/info",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"followCptInfoSearchList",value:function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(){var t,a,i=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=i.length>0&&void 0!==i[0]?i[0]:{},e.next=3,this.post("/follow/cpt/info/search/list",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"followCptInfoSearchSingle",value:function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(){var t,a,i=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=i.length>0&&void 0!==i[0]?i[0]:{},e.next=3,this.post("/follow/cpt/info/search/single",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"followCptInfoSearchDelete",value:function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(){var t,a,i=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=i.length>0&&void 0!==i[0]?i[0]:{},e.next=3,this.post("/follow/cpt/info/delete",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"followCptInfoSearchUpdate",value:function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(){var t,a,i=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=i.length>0&&void 0!==i[0]?i[0]:{},e.next=3,this.post("/follow/cpt/info/update",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"followCptInfoSearchAdd",value:function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(){var t,a,i=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=i.length>0&&void 0!==i[0]?i[0]:{},e.next=3,this.post("/follow/cpt/info/add",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"followCptSignList",value:function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(){var t,a,i=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=i.length>0&&void 0!==i[0]?i[0]:{},e.next=3,this.post("/follow/cpt/sign/search/list",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"followCptSignSingle",value:function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(){var t,a,i=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=i.length>0&&void 0!==i[0]?i[0]:{},e.next=3,this.post("/follow/cpt/sign/search/single",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"followCptSignKickout",value:function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(){var t,a,i=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=i.length>0&&void 0!==i[0]?i[0]:{},e.next=3,this.post("/follow/cpt/sign/kickout",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"followCptLotteryList",value:function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(){var t,a,i=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=i.length>0&&void 0!==i[0]?i[0]:{},e.next=3,this.post("/follow/cpt/lottery/record/search/list",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"followCptResult",value:function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(){var t,a,i=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=i.length>0&&void 0!==i[0]?i[0]:{},e.next=3,this.post("/follow/cpt/result",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"followCptLuckyList",value:function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(){var t,a,i=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=i.length>0&&void 0!==i[0]?i[0]:{},e.next=3,this.post("/follow/cpt/lucky/search/list",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"followCptLuckySingle",value:function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(){var t,a,i=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=i.length>0&&void 0!==i[0]?i[0]:{},e.next=3,this.post("/follow/cpt/lucky/search/single",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"followCptLuckyStatus",value:function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(){var t,a,i=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=i.length>0&&void 0!==i[0]?i[0]:{},e.next=3,this.post("/follow/cpt/lucky/update/status",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"webOcSearchListAllocated",value:function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(){var t,a,i=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=i.length>0&&void 0!==i[0]?i[0]:{},e.next=3,this.post("/web/oc/allocated/search/list",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"webOcSearchListAssigned",value:function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(){var t,a,i=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=i.length>0&&void 0!==i[0]?i[0]:{},e.next=3,this.post("/web/oc/assigned/search/list",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"webOcSearchListComplete",value:function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(){var t,a,i=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=i.length>0&&void 0!==i[0]?i[0]:{},e.next=3,this.post("/web/oc/complete/search/list",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"webOcSearchListInsensibility",value:function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(){var t,a,i=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=i.length>0&&void 0!==i[0]?i[0]:{},e.next=3,this.post("/web/oc/insensibility/search/list",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"webOcSearchExcel",value:function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(){var t,a,i=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=i.length>0&&void 0!==i[0]?i[0]:{},e.next=3,this.post("/web/oc/excel",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"webOcSearchTemplate",value:function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(){var t,a,i=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=i.length>0&&void 0!==i[0]?i[0]:{},e.next=3,this.post("/web/oc/template/export",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"webOcSearchAllocation",value:function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(t){var a,i,n=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return a=n.length>1&&void 0!==n[1]?n[1]:{},e.next=3,this.post("/web/oc/"+t+"/allocation",a);case 3:return i=e.sent,e.abrupt("return",i);case 5:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"webOcSearchSales",value:function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(){var t,a,i=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=i.length>0&&void 0!==i[0]?i[0]:{},e.next=3,this.post("/web/oc/sales",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"Country",value:function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(){var t,a,i=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=i.length>0&&void 0!==i[0]?i[0]:{},e.next=3,this.post("/country/get",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"sourceList",value:function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(){var t,a,i=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=i.length>0&&void 0!==i[0]?i[0]:{},e.next=3,this.post("/source/list",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"RegistrationFormList",value:function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(){var t,a,i=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=i.length>0&&void 0!==i[0]?i[0]:{},e.next=3,this.post("/activity/dubai/exhibition/search/list",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"baiduFormList",value:function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(){var t,a,i=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=i.length>0&&void 0!==i[0]?i[0]:{},e.next=3,this.post("/activity/baidu/2020406/search/list",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()}]),a}(c["a"]);t["a"]=new p},7877:function(e,t,a){"use strict";a("a371")},"7aaf":function(e,t,a){},"857a":function(e,t,a){var i=a("1d80"),n=/"/g;e.exports=function(e,t,a,r){var o=String(i(e)),s="<"+t;return""!==a&&(s+=" "+a+'="'+String(r).replace(n,""")+'"'),s+">"+o+"</"+t+">"}},"89d0":function(e,t,a){"use strict";a("ea8d")},9340:function(e,t,a){"use strict";a("1220")},9911:function(e,t,a){"use strict";var i=a("23e7"),n=a("857a"),r=a("af03");i({target:"String",proto:!0,forced:r("link")},{link:function(e){return n(this,"a","href",e)}})},"9ce4":function(e,t,a){},a371:function(e,t,a){},af03:function(e,t,a){var i=a("d039");e.exports=function(e){return i((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}))}},c7cf:function(e,t,a){"use strict";a("9ce4")},dcd8:function(e,t,a){"use strict";a("7aaf")},ea8d:function(e,t,a){}}]);
|