| 1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["Group"],{"03d8":function(e,t,a){},"129f":function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e===1/t:e!=e&&t!=t}},5732:function(e,t,a){"use strict";a.r(t);var n=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:"system_Group","element-loading-background":"rgba(43, 48, 67, 0.65)","element-loading-spinner":"el-icon-loading"}},[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",[a("div",{staticClass:"chooseLang"},[a("span",{directives:[{name:"t",rawName:"v-t",value:"system_info.Group.real",expression:"'system_info.Group.real'"}],staticClass:"crm-cursor",class:{active:"real"==e.user_type},on:{click:function(t){return e.chooseType("real")}}}),a("span",{directives:[{name:"t",rawName:"v-t",value:"system_info.Group.simulation",expression:"'system_info.Group.simulation'"}],staticClass:"crm-cursor",class:{active:"simulation"==e.user_type},on:{click:function(t){return e.chooseType("simulation")}}})])]),a("el-form-item",[a("div",{staticClass:"chooseLang"},[a("span",{staticClass:"crm-cursor",class:{active:"MT4"==e.search.platform},on:{click:function(t){return e.choosePla("MT4")}}},[e._v("MT4")]),a("span",{staticClass:"crm-cursor",class:{active:"MT5"==e.search.platform},on:{click:function(t){return e.choosePla("MT5")}}},[e._v("MT5")])])]),a("el-form-item",[a("el-input",{staticClass:"crm-border-radius-no",staticStyle:{"margin-top":"5px"},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.code,callback:function(t){e.$set(e.search,"code","string"===typeof t?t.trim():t)},expression:"search.code"}},[a("template",{slot:"prepend"},[a("span",{directives:[{name:"t",rawName:"v-t",value:"Label.GroupId",expression:"'Label.GroupId'"}],staticClass:"crm-cursor crm-border-radius-no"})])],2)],1),a("el-form-item",[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"}}),"real"==e.user_type?a("el-button",{staticClass:"crm-border-radius-no crm-border-left-no",attrs:{size:"small",icon:"el-icon-search"},on:{click:e.toSearch}}):e._e(),"simulation"==e.user_type?a("el-button",{staticClass:"crm-border-radius-no crm-border-left-no",attrs:{size:"small",icon:"el-icon-search"},on:{click:e.toSearch}}):e._e()],1)],1)],1),a("el-form-item",["real"==e.user_type&&e.display["R-Group-Add"].show?a("div",{staticClass:"search_action_btn"},[a("span",{staticClass:"crm-cursor",on:{click:e.addGroup}},[a("i",{staticClass:"el-icon-plus"}),a("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.Add",expression:"'Btn.Add'"}]})])]):e._e(),"simulation"==e.user_type&&e.display["R-Group-dome-Add"].show?a("div",{staticClass:"search_action_btn"},[a("span",{staticClass:"crm-cursor",on:{click:e.addGroup}},[a("i",{staticClass:"el-icon-plus"}),a("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.Add",expression:"'Btn.Add'"}]})])]):e._e()])],1)],1),"real"==e.user_type?a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.mock_tableData,stripe:""}},[a("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Label.Type")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.groupTypeName)+" ")]}}],null,!1,1942691549)}),a("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Label.Platform")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.platform||"--")+" ")]}}],null,!1,4237992962)}),a("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Label.GroupName")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.name||"--")+" ")]}}],null,!1,224659482)}),a("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Label.GroupId")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.code||"--")+" ")]}}],null,!1,1020099216)}),a("el-table-column",{attrs:{prop:"",align:"left",label:"A/B"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.posName||"--")+" ")]}}],null,!1,1571207414)}),a("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Label.Leverage")},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.leverages?a("span",[e._v(e._s(t.row.leverages.toString()||"--"))]):e._e()]}}],null,!1,814101464)}),a("el-table-column",{attrs:{prop:"",align:"left",label:"HIDE"},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.hides?a("span",[e._v(e._s(t.row.hides.toString()||"--"))]):e._e()]}}],null,!1,2658092504)}),a("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Label.OutsideCommission")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.comPoint||"0.0")+" ")]}}],null,!1,3364404798)}),a("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Label.Currency")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.currency||"--")+" ")]}}],null,!1,1210317146)}),a("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Label.LoginType")},scopedSlots:e._u([{key:"default",fn:function(t){return[1==t.row.type?a("span",{directives:[{name:"t",rawName:"v-t",value:"Web_info.Classic",expression:"'Web_info.Classic'"}]}):e._e(),2==t.row.type?a("span",{directives:[{name:"t",rawName:"v-t",value:"Web_info.Senior",expression:"'Web_info.Senior'"}]}):e._e(),3==t.row.type?a("span",{directives:[{name:"t",rawName:"v-t",value:"Web_info.Institutions",expression:"'Web_info.Institutions'"}]}):e._e(),5==t.row.type?a("span",{directives:[{name:"t",rawName:"v-t",value:"Web_info.Speed",expression:"'Web_info.Speed'"}]}):e._e()]}}],null,!1,1584021745)}),a("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("news_add_field.Group.CountRebate")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.rebateValidName||"--")+" ")]}}],null,!1,426566665)}),a("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("news_add_field.Group.CountCommission")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.commissionValidName||"--")+" ")]}}],null,!1,1249436577)}),a("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Label.Date")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.addTime||"--")+" ")]}}],null,!1,457315401)}),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"},[e.display["R-Group-Update"].show?a("el-dropdown-item",{attrs:{command:{type:"editor",row:t.row}}},[a("i",{staticClass:"el-icon-s-operation"}),a("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.Editor",expression:"'Btn.Editor'"}]})]):e._e(),e.display["R-Group-Delete"].show?a("el-dropdown-item",{attrs:{command:{type:"delete",id:t.row.id}}},[a("i",{staticClass:"el-icon-delete"}),a("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.Delete",expression:"'Btn.Delete'"}]})]):e._e()],1)],1)]}}],null,!1,2582335949)})],1):e._e(),"simulation"==e.user_type?a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.mock_tableData,stripe:""}},[a("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Label.Platform")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.platform||"--")+" ")]}}],null,!1,4237992962)}),a("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Label.GroupName")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.name||"--")+" ")]}}],null,!1,224659482)}),a("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Label.GroupId")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.code||"--")+" ")]}}],null,!1,1020099216)}),a("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Label.AmountMoney")},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.balance?a("span",[e._v("$")]):e._e(),e._v(e._s(t.row.balance||"--")+" ")]}}],null,!1,2843072210)}),a("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Label.ExpirationTime")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.expirationTimeDay||"--")+" "),t.row.expirationTimeDay?a("span",{directives:[{name:"t",rawName:"v-t",value:"Label.Day",expression:"'Label.Day'"}]}):e._e()]}}],null,!1,1998838944)}),a("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Label.Leverage")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.leverages.toString()||"--")+" ")]}}],null,!1,2239980004)}),a("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Label.Currency")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.currency||"--")+" ")]}}],null,!1,1210317146)}),a("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Label.LoginType")},scopedSlots:e._u([{key:"default",fn:function(t){return[1==t.row.type?a("span",{directives:[{name:"t",rawName:"v-t",value:"Web_info.Classic",expression:"'Web_info.Classic'"}]}):e._e(),2==t.row.type?a("span",{directives:[{name:"t",rawName:"v-t",value:"Web_info.Senior",expression:"'Web_info.Senior'"}]}):e._e(),3==t.row.type?a("span",{directives:[{name:"t",rawName:"v-t",value:"Web_info.Institutions",expression:"'Web_info.Institutions'"}]}):e._e(),5==t.row.type?a("span",{directives:[{name:"t",rawName:"v-t",value:"Web_info.Speed",expression:"'Web_info.Speed'"}]}):e._e()]}}],null,!1,1584021745)}),a("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Label.Date")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.addTime||"--")+" ")]}}],null,!1,457315401)}),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"},[e.display["R-Group-dome-Update"].show?a("el-dropdown-item",{attrs:{command:{type:"editor",row:t.row}}},[a("i",{staticClass:"el-icon-s-operation"}),a("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.Editor",expression:"'Btn.Editor'"}]})]):e._e(),e.display["R-Group-dome-Delete"].show?a("el-dropdown-item",{attrs:{command:{type:"delete",id:t.row.id}}},[a("i",{staticClass:"el-icon-delete"}),a("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.Delete",expression:"'Btn.Delete'"}]})]):e._e()],1)],1)]}}],null,!1,2278884781)})],1):e._e(),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("trading-info-add",{attrs:{dialogInfoTradingAdd:e.dialogInfoTradingAdd,editor:e.editor,addType:e.addType,myInfo:e.myInfo,formList:e.formList},on:{confirmToReload:e.confirmToReload,closeAdd:e.closeAdd}}),e.dialogInfoTradingAdd?a("div",{staticClass:"crm_verified_info_mask",on:{click:e.closeDiaAdd}}):e._e()],1)},r=[],o=(a("4160"),a("b0c0"),a("ac1f"),a("841c"),a("159b"),a("5530")),s=(a("96cf"),a("1da1")),i=a("da7c"),l=a("f121"),c=a.n(l),u=a("8fd6"),p=c.a.Code,d={name:"Group",components:{TradingInfoAdd:u["a"]},data:function(){return{pictLoading:!1,user_type:"real",mock_tableData:[],search:{code:"",platform:"MT4",date:[],startDate:"",endDate:""},groupType_options:[],dialogInfoTradingAdd:!1,editor:"",addType:"",myInfo:{},formList:{},pagerInfo:{row:10,current:1,pageTotal:0,rowTotal:0}}},computed:{display:function(){return JSON.parse(this.Session.Get("display",!0))}},methods:{handleCommand:function(e){"editor"==e.type?(this.editor=1,"real"==this.user_type?(this.groupRealSingle(e.row.id),this.groupRealSingleInfo(),this.myInfo.title=this.$i18n.t("system_info.Group.real")+" - "+e.row.name,this.myInfo.user_type="real"):(this.groupSimulationSingle(e.row.id),this.groupSimulationSingleInfo(),this.myInfo.title=this.$i18n.t("system_info.Group.simulation")+" - "+e.row.name,this.myInfo.user_type="simulation")):"delete"==e.type&&("real"==this.user_type?this.deleteReal(e.id):this.deleteSimulation(e.id))},closeDiaAdd:function(){this.dialogInfoTradingAdd=!1,this.editor=""},closeAdd:function(e){this.dialogInfoTradingAdd=e},addGroup:function(){this.editor="","real"==this.user_type?(this.groupRealSingleInfo(),this.myInfo.title=this.$i18n.t("system_info.Group.real")+" - "+this.$i18n.t("Label.GroupAdd"),this.myInfo.user_type="real"):(this.groupSimulationSingleInfo(),this.myInfo.title=this.$i18n.t("system_info.Group.simulation")+" - "+this.$i18n.t("Label.GroupAdd"),this.myInfo.user_type="simulation")},confirmToReload:function(){this.toSearch()},choosePla:function(e){this.search.platform=e,this.toSearch()},chooseType:function(e){this.user_type=e},deleteReal:function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(t){var a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:a=this,this.$pigeon.MessageConfirm(this.$i18n.t("Msg.Delete"),this.$i18n.t("Msg.SystemPrompt"),this.$i18n.t("Btn.Confirm"),this.$i18n.t("Btn.Cancel"),Object(s["a"])(regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,i["a"].groupRealListDelete({id:t});case 2:n=e.sent,n.code==p.StatusOK?(a.$pigeon.MessageOK(a.$i18n.t("Msg.DeleteSuccess")),a.searchFuncReal()):a.$pigeon.MessageError(n.msg);case 4:case"end":return e.stop()}}),e)}))),(function(){}));case 2:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}(),deleteSimulation:function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(t){var a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:a=this,this.$pigeon.MessageConfirm(this.$i18n.t("Msg.Delete"),this.$i18n.t("Msg.SystemPrompt"),this.$i18n.t("Btn.Confirm"),this.$i18n.t("Btn.Cancel"),Object(s["a"])(regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,i["a"].groupSimulationRealListDelete({id:t});case 2:n=e.sent,n.code==p.StatusOK?(a.$pigeon.MessageOK(a.$i18n.t("Msg.DeleteSuccess")),a.searchFuncSimulation()):a.$pigeon.MessageError(n.msg);case 4:case"end":return e.stop()}}),e)}))),(function(){}));case 2:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}(),groupRealSingle:function(e){var t=this;return Object(s["a"])(regeneratorRuntime.mark((function a(){var n;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.next=2,i["a"].groupRealSingle({id:e});case 2:n=a.sent,n.code==p.StatusOK?(t.formList=n.data,t.$pigeon.MessageOK(t.$i18n.t("Msg.SearchSuccess"))):t.$pigeon.MessageError(n.msg);case 4:case"end":return a.stop()}}),a)})))()},groupSimulationSingle:function(e){var t=this;return Object(s["a"])(regeneratorRuntime.mark((function a(){var n;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.next=2,i["a"].groupSimulationRealSingle({id:e});case 2:n=a.sent,n.code==p.StatusOK?(t.formList=n.data,t.$pigeon.MessageOK(t.$i18n.t("Msg.SearchSuccess"))):t.$pigeon.MessageError(n.msg);case 4:case"end":return a.stop()}}),a)})))()},groupRealSingleInfo:function(){var e=this;return Object(s["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,i["a"].groupRealListInfo({});case 2:a=t.sent,e.myInfo.select_info=a,e.dialogInfoTradingAdd=!0,e.addType="system_Group";case 6:case"end":return t.stop()}}),t)})))()},groupSimulationSingleInfo:function(){var e=this;return Object(s["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,i["a"].groupSimulationListInfo({});case 2:a=t.sent,e.myInfo.select_info=a,e.dialogInfoTradingAdd=!0,e.addType="system_Group";case 6:case"end":return t.stop()}}),t)})))()},customGroupType:function(){var e=this;return Object(s["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,i["a"].customGroupTypeList({});case 2:a=t.sent,a.code==p.StatusOK?(e.groupType_options=a.data,e.searchFuncReal()):e.$pigeon.MessageError(a.msg);case 4:case"end":return t.stop()}}),t)})))()},searchFuncReal:function(){var e=this;return Object(s["a"])(regeneratorRuntime.mark((function t(){var a,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e.pictLoading=!0,e.display["R-Group-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,i["a"].groupRealList(Object(o["a"])(Object(o["a"])({},e.search),{},{page:{current:e.pagerInfo.current,row:e.pagerInfo.row}}));case 8:a=t.sent,a.code==p.StatusOK?null==a.data?(e.mock_tableData=[],null!=a.page?(e.pagerInfo.rowTotal=a.page.rowTotal,e.pagerInfo.pageTotal=a.page.pageTotal):e.pagerInfo.rowTotal=0):(n=e.Session.Get("lang"),e.mock_tableData=a.data,e.mock_tableData.forEach((function(t){e.groupType_options.forEach((function(e){t.groupType==e.id&&(t.groupTypeName="cn"==n?e.name:e.enName)}))})),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.$pigeon.MessageError(a.msg),e.pictLoading=!1;case 11:case"end":return t.stop()}}),t)})))()},searchFuncSimulation:function(){var e=this;return Object(s["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,e.display["R-Group-dome-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,i["a"].groupSimulationRealList(Object(o["a"])(Object(o["a"])({},e.search),{},{page:{current:e.pagerInfo.current,row:e.pagerInfo.row}}));case 8:a=t.sent,a.code==p.StatusOK?(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.$pigeon.MessageError(a.msg),e.pictLoading=!1;case 11:case"end":return t.stop()}}),t)})))()},getSearchDate:function(e){this.search.date=e},toSearch:function(){this.pagerInfo.current=1,"real"==this.user_type?this.searchFuncReal():this.searchFuncSimulation()},handleSizeChange:function(e){this.pagerInfo.row=e,"real"==this.user_type?this.searchFuncReal():this.searchFuncSimulation()},handleCurrentChange:function(e){this.pagerInfo.current=e,"real"==this.user_type?this.searchFuncReal():this.searchFuncSimulation()}},mounted:function(){this.customGroupType()},watch:{user_type:function(e){"real"==e?this.searchFuncReal():this.searchFuncSimulation()}}},m=d,f=(a("898f"),a("aaee"),a("2877")),g=Object(f["a"])(m,n,r,!1,null,"6c316b08",null);t["default"]=g.exports},"6e97":function(e,t,a){},"841c":function(e,t,a){"use strict";var n=a("d784"),r=a("825a"),o=a("1d80"),s=a("129f"),i=a("14c3");n("search",1,(function(e,t,a){return[function(t){var a=o(this),n=void 0==t?void 0:t[e];return void 0!==n?n.call(t,a):new RegExp(t)[e](String(a))},function(e){var n=a(t,e,this);if(n.done)return n.value;var o=r(e),l=String(this),c=o.lastIndex;s(c,0)||(o.lastIndex=0);var u=i(o,l);return s(o.lastIndex,c)||(o.lastIndex=c),null===u?-1:u.index}]}))},"898f":function(e,t,a){"use strict";var n=a("03d8"),r=a.n(n);r.a},aaee:function(e,t,a){"use strict";var n=a("6e97"),r=a.n(n);r.a}}]);
|