{"version":3,"sources":["webpack:///./src/views/Payment/BU/index.vue?5a5d","webpack:///./src/views/Payment/BU/index.vue?9da0","webpack:///./src/views/Payment/BU/index.vue","webpack:///./src/views/Payment/BU/index.vue?06ac"],"names":["_withScopeId","n","_hoisted_1","class","_hoisted_2","_hoisted_3","_hoisted_4","render","_ctx","_cache","$props","$setup","$data","$options","_component_Breadcrumb","_component_a_tab_pane","_component_a_tabs","_component_router_view","dataSource","activeKey","$event","onTabClick","tabClick","default","$btnPermissions","key","tab","_","mountedKey","Symbol","name","props","setup","route","value","mounted","router","push","path","showRouterView","__exports__"],"mappings":"kHAAA,W,+HCEMA,EAAe,SAAAC,GAAK,OAAC,yBAAa,mBAAmBA,EAAEA,IAAI,0BAAcA,GACzEC,EAAa,CAAEC,MAAO,kBACtBC,EAAa,CAAED,MAAO,gCACtBE,EAAa,CAAEF,MAAO,kCACtBG,EAA2BN,GAAa,WAAmB,uCAAoB,MAAO,CAAEG,MAAO,UAAY,MAAO,MAEjH,SAASI,EAAOC,EAAUC,EAAYC,EAAYC,EAAYC,EAAWC,GAC9E,IAAMC,EAAwB,8BAAkB,cAC1CC,EAAwB,8BAAkB,cAC1CC,EAAoB,8BAAkB,UACtCC,EAAyB,8BAAkB,eAEjD,OAAQ,yBAAc,gCAAoB,MAAOf,EAAY,CAC3D,gCAAoB,MAAOE,EAAY,CACrC,gCAAoB,MAAOC,EAAY,CACrC,yBAAaS,EAAuB,CAAEI,WAAY,KAClD,yBAAaF,EAAmB,CAC9BG,UAAWX,EAAKW,UAChB,qBAAsBV,EAAO,KAAOA,EAAO,GAAK,SAACW,GAAgB,OAAEZ,EAAc,UAAIY,IACrFC,WAAYb,EAAKc,UAChB,CACDC,QAAS,sBAAS,WAAM,OACrBf,EAAKgB,gBAAgB,WAAY,2BAC7B,yBAAc,yBAAaT,EAAuB,CACjDU,IAAK,IACLC,IAAK,4BAEP,gCAAoB,IAAI,GAC3BlB,EAAKgB,gBAAgB,WAAY,2BAC7B,yBAAc,yBAAaT,EAAuB,CACjDU,IAAK,IACLC,IAAK,sBACL,eAAgB,MAElB,gCAAoB,IAAI,OAE9BC,EAAG,GACF,EAAG,CAAC,YAAa,iBAEtBrB,IAEDE,EAAmB,gBACf,yBAAc,yBAAaS,EAAwB,CAAEQ,IAAK,KAC3D,gCAAoB,IAAI,K,4BCvCnBG,EAAaC,SACX,+BAAgB,CAC7BC,KAAM,SACNC,MAAO,GACPC,MAAA,WACE,IAAMb,EAAY,iBAAY,KACxBc,EAAQ,iBACK,8BAAfA,EAAMH,KACRX,EAAUe,MAAQ,IAElBf,EAAUe,MAAQ,IAEpB,wBAAU,WACW,8BAAfD,EAAMH,KACRX,EAAUe,MAAQ,IAElBf,EAAUe,MAAQ,OAGtB,IAAMC,EAAU,kBAAI,GACpB,qBAAQP,EAAYO,GAGpB,wBAAU,WACRA,EAAQD,OAAQ,KAGlB,IAAME,EAAS,iBAETd,EAAW,SAACI,GAChB,OAAQA,GACN,IAAK,IACHU,EAAOC,KAAK,CAAEC,KAAM,2BACpB,MACF,IAAK,IACHF,EAAOC,KAAK,CAAEC,KAAM,+BACpB,QAIAC,EAAiB,uBAAS,WAC9B,OAAQN,EAAMH,MACZ,IAAK,+BACH,OAAO,eAAe,WAAY,0BACpC,IAAK,4BACH,OAAO,eAAe,WAAY,0BACpC,QACE,OAAO,MAIb,MAAO,CACLX,UAAS,EACTG,SAAQ,EACRiB,eAAc,M,iCCrDpB,MAAMC,EAA2B,IAAgB,EAAQ,CAAC,CAAC,SAASjC,GAAQ,CAAC,YAAY,qBAE1E","file":"js/chunk-7f52f099.e3ec3c4a.js","sourcesContent":["export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./index.vue?vue&type=style&index=0&id=e5760696&lang=scss&scoped=true\"","import { resolveComponent as _resolveComponent, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, withCtx as _withCtx, createElementVNode as _createElementVNode, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-e5760696\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"main-container\" }\nconst _hoisted_2 = { class: \"d-f align-c justify-b bg-fff\" }\nconst _hoisted_3 = { class: \"payment-container d-f flex-d-c\" }\nconst _hoisted_4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"m-r-16\" }, null, -1))\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_Breadcrumb = _resolveComponent(\"Breadcrumb\")!\n const _component_a_tab_pane = _resolveComponent(\"a-tab-pane\")!\n const _component_a_tabs = _resolveComponent(\"a-tabs\")!\n const _component_router_view = _resolveComponent(\"router-view\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(_component_Breadcrumb, { dataSource: [] }),\n _createVNode(_component_a_tabs, {\n activeKey: _ctx.activeKey,\n \"onUpdate:activeKey\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.activeKey) = $event)),\n onTabClick: _ctx.tabClick\n }, {\n default: _withCtx(() => [\n (_ctx.$btnPermissions('BSPA0002', '/buSiPayoutApplication'))\n ? (_openBlock(), _createBlock(_component_a_tab_pane, {\n key: \"1\",\n tab: \"Dealer Payout Overview\"\n }))\n : _createCommentVNode(\"\", true),\n (_ctx.$btnPermissions('BSPA0003', '/buSiPayoutApplication'))\n ? (_openBlock(), _createBlock(_component_a_tab_pane, {\n key: \"2\",\n tab: \"F&L Payout Overview\",\n \"force-render\": \"\"\n }))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"activeKey\", \"onTabClick\"])\n ]),\n _hoisted_4\n ]),\n (_ctx.showRouterView)\n ? (_openBlock(), _createBlock(_component_router_view, { key: 0 }))\n : _createCommentVNode(\"\", true)\n ]))\n}","\nimport { defineComponent, ref, onMounted, provide, onUpdated, computed } from \"vue\";\nimport { useRoute, useRouter } from \"vue-router\";\nimport { btnPermissions } from \"@/utils\";\nimport store from \"@/store\";\n\nexport const mountedKey = Symbol()\nexport default defineComponent({\n name: \"Dealer\",\n props: {},\n setup() {\n const activeKey = ref(\"1\");\n const route = useRoute();\n if (route.name === \"Payment Bu Management F&L\") {\n activeKey.value = \"2\";\n } else {\n activeKey.value = \"1\";\n }\n onUpdated(() => {\n if (route.name === \"Payment Bu Management F&L\") {\n activeKey.value = \"2\";\n } else {\n activeKey.value = \"1\";\n }\n });\n const mounted = ref(false)\n provide(mountedKey, mounted)\n\n\n onMounted(() => {\n mounted.value = true\n })\n\n const router = useRouter();\n // 点击tab\n const tabClick = (tab: string) => {\n switch (tab) {\n case \"1\":\n router.push({ path: \"/buSiPayoutApplication\" });\n break;\n case \"2\":\n router.push({ path: \"/paymentBuManagement/FAndL\" });\n break;\n }\n };\n\n const showRouterView = computed(() => {\n switch (route.name) {\n case 'Payment Bu Management Dealer':\n return btnPermissions('BSPA0002', '/buSiPayoutApplication')\n case 'Payment Bu Management F&L':\n return btnPermissions('BSPA0003', '/buSiPayoutApplication')\n default:\n return true\n }\n })\n\n return {\n activeKey,\n tabClick,\n showRouterView,\n };\n },\n});\n","import { render } from \"./index.vue?vue&type=template&id=e5760696&scoped=true&ts=true\"\nimport script from \"./index.vue?vue&type=script&lang=ts\"\nexport * from \"./index.vue?vue&type=script&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=e5760696&lang=scss&scoped=true\"\n\nimport exportComponent from \"/app/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-e5760696\"]])\n\nexport default __exports__"],"sourceRoot":""}