| 1 |
- import{u as e,c as l,d as o,r as a,aq as t,w as r,M as p,P as i,o as b,f as c,g as n,i as u,j as s,k as m,l as d,A as L,x as y,a2 as f,_ as g}from"./index-cgJbsk9Q.js";import{_ as T,a as A}from"./cwg-page-wrapper.Em0oD8Gp.js";import{_ as v}from"./uni-loading.CpAW2iQN.js";import{_ as $}from"./cwg-complex-search.7WhV6Xqy.js";import{_ as w}from"./cwg-tabel.D8rTO_-r.js";import{i as N}from"./cwg-right-drawer.DV6KhR1m.js";import{i as h}from"./dateUtils.czFtfM-n.js";import{u as P}from"./useFilters.Ebf6PfGb.js";import{u as _}from"./liveChat.BUvaIfgQ.js";import"./user.BtyQGfSG.js";import"./logo-full-white.B1je6nNN.js";import"./useRouter.9Te-FnFv.js";import"./cwg-link.lANmZlwR.js";import"./openExternalUrl.DIEuSLrw.js";import"./useLeftSidebarCollapse.DcXanZiP.js";import"./useMenuSplit.COJ5VtSh.js";import"./uni-easyinput.DsosIYn9.js";import"./cwg-combox.BkQ7-dcX.js";import"./uni-datetime-picker.CnmNB7rh.js";import"./uni-load-more.B2nuQMH0.js";import"./cwg-label-line-value.CvkmiB4B.js";const I=g(o({__name:"report",setup(o){const{numberFormat:g}=P(),{t:I}=e(),{columnList:C,mobileList:S,platformOptions:x,customTypeList:V,groupCurrency1:O,groupTypeName:R}=(()=>{const{t:o}=e(),{numberFormat:a}=P(),t=e=>"GBP"==e?"£":"USD"==e?"$":"EUR"==e?"€":"USC"==e?"¢":"$",r=e=>"1"==e?o("AccountType.ClassicAccount"):"2"==e?o("AccountType.SeniorAccount"):"3"==e?h()?"--":o("AccountType.AgencyAccount"):"5"==e||"6"==e?o("AccountType.SpeedAccount"):"7"==e?o("AccountType.StandardAccount"):"8"==e?o("AccountType.CentAccount"):"--",p=l(()=>[{text:o("AccountType.ClassicAccount"),value:1},{text:o("AccountType.ClassicAccount"),value:2},h()?"":{text:o("AccountType.ClassicAccount"),value:3},{text:o("AccountType.ClassicAccount"),value:7},{text:o("AccountType.ClassicAccount"),value:8}].filter(e=>!!e));return{columnList:l(()=>({1:[{prop:"ibNo",label:o("Label.AttributionNumber")},{prop:"login",label:o("Label.TradingAccount")},{prop:"name",label:o("Label.Name")},{prop:"deposit",label:o("Label.Deposit"),formatter:({row:e})=>`${t(e.currency)}${a(e.deposit??"0")}`},{prop:"withdrawal",label:o("Label.Withdrawals"),formatter:({row:e})=>`${t(e.currency)}${a(e.withdrawal??"0")}`},{prop:"credit",label:o("Label.Credit"),formatter:({row:e})=>`${t(e.currency)}${a(e.credit??"0")}`},{prop:"closeTime",label:o("Label.CloseTime")}],2:[{prop:"ibNo",label:o("Label.AttributionNumber")},{prop:"login",label:o("Label.TradingAccount")},{prop:"groupType",label:o("Label.Type"),type:"tag",tagMap:{1:o("AccountType.ClassicAccount"),2:o("AccountType.SeniorAccount"),3:h()?"":o("AccountType.AgencyAccount"),4:o("AccountType.ProfessionalAccount"),5:o("AccountType.SpeedAccount"),6:o("AccountType.SpeedAccount"),7:o("AccountType.StandardAccount"),8:o("AccountType.CentAccount")}},{prop:"symbol",label:o("Label.Varieties")},{prop:"volume",label:o("Label.Volume"),formatter:({row:e})=>`${a(e.volume??"0")}/${o("Label.Lot")}`},{prop:"rebateAmount",label:o("Label.rebateAmount"),formatter:({row:e})=>`${t(e.currency)}${a(e.rebateAmount??"0")}`},{prop:"rebatePoint",label:o("Label.rebatePoint"),formatter:({row:e})=>`${t(e.currency)}${a(e.rebatePoint??"0")}/${o("Label.Lot")}`},{prop:"commissionAmount",label:o("Label.commissionAmount"),formatter:({row:e})=>`${t(e.currency)}${a(e.commissionAmount??"0")}`},{prop:"commissionPoint",label:o("Label.commissionPoint"),formatter:({row:e})=>`${t(e.currency)}${a(e.commissionPoint??"0")}/${o("Label.Lot")}`},{prop:"openTime",label:o("Label.OpenTime")},{prop:"closeTime",label:o("Label.CloseTime")}],"3_1":[{prop:"ibNo",label:o("Label.AttributionNumber")},{prop:"login",label:o("Label.TradingAccount")},{prop:"order",label:o("Label.OrderNumber")},{prop:"platform",label:o("Label.Platform")},{prop:"cmdName",label:o("Label.Type")},{prop:"symbol",label:o("Label.Varieties")},{prop:"openPrice",label:o("Label.OpenPrice"),formatter:({row:e})=>`${a(e.openPrice??"0")}`},{prop:"openTime",label:o("Label.OpenTime")},{prop:"closePrice",label:o("Label.ClosePrice"),formatter:({row:e})=>`${a(e.closePrice??"0")}`},{prop:"closeTime",label:o("Label.CloseTime")},{prop:"tp",label:o("Label.EP")},{prop:"sl",label:o("Label.EL")},{prop:"commission",label:o("Label.OutsideCommission"),formatter:({row:e})=>`${a(e.commission??"0")}`},{prop:"volume",label:o("Label.Volume"),formatter:({row:e})=>`${a(e.volume??"0")}/${o("Label.Lot")}`},{prop:"storage",label:o("Label.StorageFee"),formatter:({row:e})=>`${t(e.currency)}${a(e.storage??"0")}`},{prop:"profit",label:o("Label.ProfitLoss"),formatter:({row:e})=>`${t(e.currency)}${a(e.profit??"0")}`},{prop:"totalProfit",label:o("Label.TotalProfitLoss"),formatter:({row:e})=>`${t(e.currency)}${a(e.totalProfit??"0")}`}],"3_2":[{prop:"ibNo",label:o("Label.AttributionNumber")},{prop:"login",label:o("Label.TradingAccount")},{prop:"order",label:o("Label.OrderNumber")},{prop:"platform",label:o("Label.Platform")},{prop:"cmdName",label:o("Label.Type")},{prop:"symbol",label:o("Label.Varieties")},{prop:"openPrice",label:o("Label.OpenPrice"),formatter:({row:e})=>`${a(e.openPrice??"0")}`},{prop:"openTime",label:o("Label.OpenTime")},{prop:"closePrice",label:o("Label.ClosePrice"),formatter:({row:e})=>`${a(e.closePrice??"0")}`},{prop:"closeTime",label:o("Label.CloseTime")},{prop:"tp",label:o("Label.EP")},{prop:"sl",label:o("Label.EL")},{prop:"commission",label:o("Label.OutsideCommission"),formatter:({row:e})=>`${a(e.commission??"0")}`},{prop:"volume",label:o("Label.Volume"),formatter:({row:e})=>`${a(e.volume??"0")}/${o("Label.Lot")}`},{prop:"storage",label:o("Label.StorageFee"),formatter:({row:e})=>`${t(e.currency)}${a(e.storage??"0")}`},{prop:"profit",label:o("Label.ProfitLoss"),formatter:({row:e})=>`${t(e.currency)}${a(e.profit??"0")}`},{prop:"totalProfit",label:o("Label.TotalProfitLoss"),formatter:({row:e})=>`${t(e.currency)}${a(e.totalProfit??"0")}`}],"3_3":[{prop:"ibNo",label:o("Label.AttributionNumber")},{prop:"login",label:o("Label.TradingAccount")},{prop:"order",label:o("Label.OrderNumber")},{prop:"platform",label:o("Label.Platform")},{prop:"cmdName",label:o("Label.Type")},{prop:"symbol",label:o("Label.Varieties")},{prop:"openPrice",label:o("Label.OpenPrice"),formatter:({row:e})=>`${a(e.openPrice??"0")}`},{prop:"openTime",label:o("Label.OpenTime")},{prop:"closePrice",label:o("Label.ClosePrice"),formatter:({row:e})=>`${a(e.closePrice??"0")}`},{prop:"closeTime",label:o("Label.CloseTime")},{prop:"tp",label:o("Label.EP")},{prop:"sl",label:o("Label.EL")},{prop:"commission",label:o("Label.OutsideCommission"),formatter:({row:e})=>`${a(e.commission??"0")}`},{prop:"volume",label:o("Label.Volume"),formatter:({row:e})=>`${a(e.volume??"0")}/${o("Label.Lot")}`},{prop:"storage",label:o("Label.StorageFee"),formatter:({row:e})=>`${t(e.currency)}${a(e.storage??"0")}`},{prop:"profit",label:o("Label.ProfitLoss"),formatter:({row:e})=>`${t(e.currency)}${a(e.profit??"0")}`},{prop:"totalProfit",label:o("Label.TotalProfitLoss"),formatter:({row:e})=>`${t(e.currency)}${a(e.totalProfit??"0")}`}],"3_4":[{prop:"ibNo",label:o("Label.AttributionNumber")},{prop:"login",label:o("Label.TradingAccount")},{prop:"order",label:o("Label.OrderNumber")},{prop:"platform",label:o("Label.Platform")},{prop:"cmdName",label:o("Label.Type")},{prop:"symbol",label:o("Label.Varieties")},{prop:"openPrice",label:o("Label.OpenPrice"),formatter:({row:e})=>`${a(e.openPrice??"0")}`},{prop:"openTime",label:o("Label.OpenTime")},{prop:"tp",label:o("Label.EP")},{prop:"sl",label:o("Label.EL")},{prop:"volume",label:o("Label.Volume"),formatter:({row:e})=>`${a(e.volume??"0")}/${o("Label.Lot")}`},{prop:"storage",label:o("Label.StorageFee"),formatter:({row:e})=>`${t(e.currency)}${a(e.storage??"0")}`},{prop:"profit",label:o("Label.ProfitLoss"),formatter:({row:e})=>`${t(e.currency)}${a(e.profit??"0")}`}],4:[{prop:"cId",label:o("Label.CidAccount")},{prop:"ibNo",label:o("Label.AttributionNumber")},{prop:"login",label:o("Label.TradingAccount")},{prop:"groupType",label:o("Label.AccountType"),formatter:({row:e})=>r(e.groupType)},{prop:"name",label:o("Label.Name")},{prop:"platform",label:o("Label.Platform")},{prop:"leverage",label:o("Label.Leverage")},{prop:"margin",label:o("Label.margin")},{prop:"commission",label:o("Label.OutsideCommission"),formatter:({row:e})=>`$${e.commission??"0"}`},{prop:"credit",label:o("Label.Credit"),formatter:({row:e})=>`$${e.credit??"0"}`},{prop:"balance",label:o("Label.Amount"),formatter:({row:e})=>`$${e.balance??"0"}`},{prop:"equity",label:o("Label.equity"),formatter:({row:e})=>`$${e.equity??"0"}`},{prop:"floating",label:o("Label.FloatingPL")},{prop:"registration",label:o("Label.RegistrationTime")}],5:[{prop:"ibNo",label:o("Label.IBAccount")},{prop:"pIbNo",label:o("Label.AttributionNumber")},{prop:"name",label:o("Label.Name")},{prop:"addTime",label:o("Label.RegistrationTime")}],6:[{prop:"ibNo",label:o("Label.IBAccount")},{prop:"typeName",label:o("Label.OperatingMode")},{prop:"balanceTypeName",label:o("Label.CommissionType")},{prop:"amount",label:o("Label.AmountMoney"),formatter:({row:e})=>a(e.amount??"0")},{prop:"addTime",label:o("Label.ProcessingDate")}],7:[{prop:"cId",label:"CID"},{prop:"ibNo",label:o("Label.IBAccount")},{prop:"name",label:o("Label.Name")},{prop:"login",label:o("Label.TradingAccount")},{prop:"platform",label:o("Label.Platform")},{prop:"fxVolume",label:o("Label.fxVolume")},{prop:"cfdVolume",label:o("Label.cfdVolume")},{prop:"indexVolume",label:o("Label.indexVolume")},{prop:"metalVolume",label:o("Label.metalVolume")}],24:[{prop:"cId",label:o("Label.CidAccount")},{prop:"ticket",label:o("Label.OrderNumber")},{prop:"login",label:o("Label.TradingAccount")},{prop:"symbol",label:o("Label.Varieties")},{prop:"openTime",label:o("Label.OpenTime")},{prop:"closeTime",label:o("Label.CloseTime")},{prop:"customType",label:o("Label.Type"),type:"tag",tagMap:{1:o("AccountType.ClassicAccount"),2:o("AccountType.SeniorAccount"),5:o("AccountType.SpeedAccount"),6:o("AccountType.NewSpeedAccount"),7:o("AccountType.StandardAccount"),8:o("AccountType.CentAccount")}},{prop:"point",label:o("Label.Rebates")},{prop:"pointValue",label:o("Ib.Report.Title9")},{prop:"volume",label:o("Label.Volume"),formatter:({row:e})=>`${a(e.volume??"0")}/${o("Label.Lot")}`},{prop:"rebate",label:o("Label.Commission"),formatter:({row:e})=>`$${e.rebate??"0"}`},{prop:"ibNo",label:o("Label.AgentNumber")},{prop:"platform",label:o("Label.Platform")}]})),mobileList:l(()=>({1:[{prop:"ibNo",label:o("Label.AttributionNumber")},{prop:"login",label:o("Label.TradingAccount")},{prop:"name",label:o("Label.Name")}],2:[{prop:"ibNo",label:o("Label.AttributionNumber")},{prop:"login",label:o("Label.TradingAccount")},{prop:"groupType",label:o("Label.Type"),type:"tag",tagMap:{1:o("AccountType.ClassicAccount"),2:o("AccountType.SeniorAccount"),3:h()?"":o("AccountType.AgencyAccount"),4:o("AccountType.ProfessionalAccount"),5:o("AccountType.SpeedAccount"),6:o("AccountType.SpeedAccount"),7:o("AccountType.StandardAccount"),8:o("AccountType.CentAccount")}}],"3_1":[{prop:"ibNo",label:o("Label.AttributionNumber")},{prop:"login",label:o("Label.TradingAccount")},{prop:"order",label:o("Label.OrderNumber")}],"3_2":[{prop:"ibNo",label:o("Label.AttributionNumber")},{prop:"login",label:o("Label.TradingAccount")},{prop:"order",label:o("Label.OrderNumber")}],"3_3":[{prop:"ibNo",label:o("Label.AttributionNumber")},{prop:"login",label:o("Label.TradingAccount")},{prop:"order",label:o("Label.OrderNumber")}],"3_4":[{prop:"ibNo",label:o("Label.AttributionNumber")},{prop:"login",label:o("Label.TradingAccount")},{prop:"order",label:o("Label.OrderNumber")}],4:[{prop:"cId",label:o("Label.CidAccount")},{prop:"ibNo",label:o("Label.AttributionNumber")},{prop:"login",label:o("Label.TradingAccount")}],5:[{prop:"ibNo",label:o("Label.IBAccount")},{prop:"pIbNo",label:o("Label.AttributionNumber")},{prop:"name",label:o("Label.Name")}],6:[{prop:"ibNo",label:o("Label.IBAccount")},{prop:"typeName",label:o("Label.OperatingMode")},{prop:"balanceTypeName",label:o("Label.CommissionType")}],7:[{prop:"cId",label:"CID"},{prop:"ibNo",label:o("Label.IBAccount")},{prop:"name",label:o("Label.Name")}],24:[{prop:"cId",label:o("Label.CidAccount")},{prop:"ticket",label:o("Label.OrderNumber")},{prop:"login",label:o("Label.TradingAccount")}]})),platformOptions:[{text:"MT4",value:"MT4"},{text:"MT5",value:"MT5"}],customTypeList:p,groupCurrency1:t,groupTypeName:r}})();let{Code:j}=f;const{userInfo:k}=_(),D=a(null),E=a(!1);l(()=>[{text:I("Ib.Report.Title1"),value:1},{text:I("Ib.Report.Title2"),value:2},{text:I("Ib.Report.Title3"),value:3},{text:I("news_add_field.IbReport.Title6"),value:6}]);const M=l(()=>({1:I("Ib.Report.Title1"),2:I("Ib.Report.Title2"),3:I("Ib.Report.Title3"),6:I("news_add_field.IbReport.Title6")})),F=l(()=>[{text:I("Ib.Report.Tit1"),value:1},{text:I("Ib.Report.Tit2"),value:2},{text:I("Ib.Report.Tit3"),value:3},{text:I("Ib.Report.Tit4"),value:4}]),B=l(()=>[{text:I("State.All"),value:0},{text:I("Ib.Report.item1"),value:1},{text:I("Ib.Report.item2"),value:2}]),q=new Date,U=q.getFullYear(),H=String(q.getMonth()+1).padStart(2,"0"),K=[`${U}-${H}-01`,`${U}-${H}-${String(q.getDate()).padStart(2,"0")}`],W=a(1),G=a({detail_type:null,customType:0,platform:"MT4",agentId:"",login:"",cId:"",isShort:0,date:K}),J=a([]),Y=t({detail_type:1,customType:0,platform:"MT4",startDate:K[0],endDate:K[1],date:K,agentId:"",login:"",cId:"",isShort:0}),z=l(()=>k.customInfo.country),Q=a([{key:"agentId_0",options:[{value:0,text:I("news_add_field.IbReport.ALL")},{value:-1,text:I("news_add_field.IbReport.DirectlyUnder")}]}]),X=e=>{const{columns:l,summaryData:o}=e,a=[];return o&&0!==Object.keys(o).length?(l.forEach((e,l)=>{if(0===l)return void(a[l]=I("Label.Total"));const t=W.value,r=Y.detail_type,p=e.prop;p?1==t?["deposit","withdrawal","credit"].includes(p)?a[l]=o[p]?g(o[p]):"0":a[l]="":2==t?["volume","rebateAmount","commissionAmount"].includes(p)?a[l]=o[p]?g(o[p]):"0":a[l]="":3==t?4==r?["volume","storage","taxes","profit"].includes(p)?a[l]=o[p]?g(o[p]):"0":a[l]="":["commission","volume","storage","taxes","profit","totalProfit"].includes(p)?a[l]=o[p]?g(o[p]):"0":a[l]="":4==t?["credit","balance","equity","floating"].includes(p)?a[l]=o[p]?g(o[p]):"0":a[l]="":6==t?a[l]="amount"===p?o[p]?g(o[p]):"0":"":7==t?["fxVolume","cfdVolume","indexVolume","metalVolume"].includes(p)?a[l]=o[p]?g(o[p]):"0":a[l]="":a[l]=24==t?"volume"===p?o[p]?g(o[p])+" /手":"0":"rebate"===p?o[p]?"$"+g(o[p]):"0":"":"":a[l]=""}),a):a},Z=e=>{var l;console.log(e,"params");const o={...e,reportType:W.value};let a=o.agentId_0;for(let r=Q.value.length-1;r>=0;r--){const e=o[`agentId_${r}`];if(void 0!==e&&""!==e){a=e;break}}console.log(a,"finalAgentId"),o.agentId=a,(null==(l=o.date)?void 0:l.length)&&(o.startDate=o.date[0],o.endDate=o.date[1]);const t=Number(o.reportType);[1,3,4,7,24].includes(t)||(o.platform=""),[1,2,3,4,7].includes(t)||(o.login=""),7!==t&&(o.cId=""),[3,7].includes(t)||(o.isShort=0),3!==t&&(o.detail_type=null),24!==t&&(o.customType=0),Object.assign(Y,o),i(()=>{var e,l;null==(l=null==(e=D.value)?void 0:e.refreshTable)||l.call(e)})},ee=e=>{Q.value.splice(1),Z(e)},le=l(()=>(console.log(W.value,"23"),3==W.value?(console.log(C.value[`3_${Y.detail_type}`]),C.value[`3_${Y.detail_type}`]||[]):(console.log(C.value[W.value]),C.value[W.value]||[]))),oe=l(()=>{let e=[];return e=3==W.value?S.value[`3_${Y.detail_type}`]||[]:S.value[W.value]||[],[...e,{prop:"more",type:"more",width:20,align:"center"}]}),ae=l(()=>async e=>{let l=N.tradeDw;const o=W.value,a=Y.detail_type;if(1==o?l=N.tradeDw:2==o?l=N.tradeAgentCommission:3==o?1==a?l=N.tradeHistory:2==a?l=N.tradePendingHistory:3==a?l=N.tradePending:4==a&&(l=N.tradePosition):4==o?l=N.tradeAccount:5==o?l=N.tradeIb:6==o?l=N.ibReportBalance:7==o?l=N.tradeSymbolCategory:24==o&&(l=N.tradeSalesHidden),l){if(2==o){const o="VN"===z.value;return await l(e,o)}return await l(e)}});r(()=>G.value.reportType,e=>{const l=Number(e);Y.reportType=l,24===l?(G.value.customType=0,G.value.detail_type=null,Y.customType=0,Y.detail_type=null):3===l?(null==G.value.detail_type&&(G.value.detail_type=1),null==Y.detail_type&&(Y.detail_type=1)):(G.value.detail_type=null,Y.detail_type=null,G.value.customType=0,Y.customType=0)},{immediate:!0}),r(()=>G.value.detail_type,e=>{Y.detail_type=null==e?null:Number(e)}),r(()=>G.value.platform,e=>{Y.platform=e}),r(()=>G.value.customType,e=>{Y.customType=e}),r(()=>G.value.isShort,e=>{Y.isShort=e}),p(e=>{console.log(null==e?void 0:e.type,"type"),W.value=null==e?void 0:e.type,i(()=>{te()})}),b(async()=>{E.value=!0,await(async()=>{const e=await N.ibTree({pid:0});e.code===j.StatusOK&&(e.data&&e.data.length>0?e.data.forEach(e=>{if(e.ibNo){let l={value:e.id,text:e.name?`${e.ibNo} - ${e.name}`:e.ibNo};Q.value[0].options.push(l)}}):L({title:e.msg,icon:"none"}))})(),E.value=!1});const te=()=>{const e=Number(W.value??1),l=[];3===e&&l.push({key:"detail_type",type:"select",label:I("placeholder.choose"),placeholder:I("placeholder.choose"),options:F.value,defaultValue:1,isSelect:!0}),[1,3,4,7,24].includes(e)&&l.push({key:"platform",type:"select",label:I("Label.Platform"),placeholder:I("placeholder.choose"),options:x,defaultValue:"MT4"}),24===e&&l.push({key:"customType",type:"select",label:I("placeholder.choose"),placeholder:I("placeholder.choose"),options:V.value,defaultValue:0,isSelect:!0}),console.log(Q.value),Q.value.forEach((e,o)=>{l.push({key:e.key,type:"select",label:I("State.All"),options:e.options,placeholder:I("State.All"),onChange:e=>(async(e,l)=>{console.log(e,"change1"),Q.value.splice(l+1);const o={...G.value};for(let t in o)t.startsWith("agentId_")&&parseInt(t.split("_")[1])>l&&delete o[t];if(o[`agentId_${l}`]=e,G.value={...o},await i(),Z(G.value),0!==e&&-1!==e&&""!==e)try{const o=await N.ibTree({pid:e});if(o.code===j.StatusOK&&o.data&&o.data.length>0){const e=[];o.data.forEach(l=>{l.ibNo&&e.push({value:l.id,text:l.name?`${l.ibNo} - ${l.name}`:l.ibNo})}),e.length>0&&Q.value.push({key:`agentId_${l+1}`,options:e})}te()}catch(a){L({title:"Error",icon:"none"})}})(e,o),defaultValue:0===o?0:""})}),[1,2,3,4,7].includes(e)&&l.push({key:"login",type:"input",label:I("Label.TradingAccount"),placeholder:I("Label.TradingAccount"),defaultValue:""}),7===e&&l.push({key:"cId",type:"input",label:"CID",placeholder:"CID",defaultValue:""}),[3,7].includes(e)&&l.push({key:"isShort",type:"select",label:I("placeholder.choose"),placeholder:I("placeholder.choose"),options:B.value,defaultValue:0,isSelect:!0}),l.push({key:"date",label:I("placeholder.Start")+" - "+I("placeholder.End"),type:"daterange"}),J.value=l};return(e,l)=>{const o=c(n("cwg-header"),T),a=c(n("uni-loading"),v),t=c(n("cwg-complex-search"),$),r=y,p=c(n("cwg-tabel"),w),i=c(n("cwg-page-wrapper"),A);return u(),s(i,{class:"create-page",isHeaderFixed:!0},{default:m(()=>[d(o,{title:M.value[W.value]},null,8,["title"]),E.value?(u(),s(a,{key:0})):(u(),s(r,{key:1,class:"account-content"},{default:m(()=>[d(r,{class:"search-content"},{default:m(()=>[d(r,{class:"search-bar"},{default:m(()=>[d(t,{fields:J.value,modelValue:G.value,"onUpdate:modelValue":l[0]||(l[0]=e=>G.value=e),onSearch:Z,onReset:ee},null,8,["fields","modelValue"])]),_:1})]),_:1}),d(p,{ref_key:"tableRef",ref:D,columns:le.value,mobilePrimaryFields:oe.value,queryParams:Y,api:ae.value,"show-operation":!1,showPagination:!0,showSummary:!0,immediate:!1,summaryMethod:X},null,8,["columns","mobilePrimaryFields","queryParams","api"])]),_:1}))]),_:1})}}}),[["__scopeId","data-v-34f61f15"]]);export{I as default};
|