{"version":3,"sources":["webpack:///./src/views/Payment/MbafcAndMblc/index.vue?8a39","webpack:///./src/views/Payment/MbafcAndMblc/index.vue?fe62","webpack:///./src/views/Payment/MbafcAndMblc/index.vue","webpack:///./src/views/Payment/MbafcAndMblc/index.vue?cfe7"],"names":["_hoisted_1","class","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","subMenuTitle","key","tab","_","name","props","setup","route","console","log","value","newVal","router","push","path","query","toTracking","showRouterView","__exports__"],"mappings":"2IAAA,W,yDCGMA,EAAa,CAAEC,MAAO,+BAErB,SAASC,EAAOC,EAAUC,EAAYC,EAAYC,EAAYC,EAAWC,GAC9E,IAAMC,EAAwB,8BAAkB,cAC1CC,EAAwB,8BAAkB,cAC1CC,EAAoB,8BAAkB,UACtCC,EAAyB,8BAAkB,eAEjD,OAAQ,yBAAc,gCAAoB,MAAOZ,EAAY,CAC3D,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,gBAAsC,0BAAtBhB,EAAKiB,aAA2C,eAAiB,UAAiC,0BAAtBjB,EAAKiB,aAA2C,uBAAyB,wBACtK,yBAAc,yBAAaV,EAAuB,CACjDW,IAAK,IACLC,IAAK,qBAEP,gCAAoB,IAAI,GAC3BnB,EAAKgB,gBAAsC,0BAAtBhB,EAAKiB,aAA2C,eAAiB,UAAiC,0BAAtBjB,EAAKiB,aAA2C,uBAAyB,wBACtK,yBAAc,yBAAaV,EAAuB,CACjDW,IAAK,IACLC,IAAK,mBACL,eAAgB,MAElB,gCAAoB,IAAI,OAE9BC,EAAG,GACF,EAAG,CAAC,YAA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WAC9B,OAAQV,EAAMH,MACZ,IAAK,sBACH,OAAO,eAAe,eAAgB,wBACxC,IAAK,uBACH,OAAO,eAAe,eAAgB,wBACxC,IAAK,qBACH,OAAO,eAAe,UAAW,uBACnC,IAAK,sBACH,OAAO,eAAe,UAAW,uBACnC,QACE,OAAO,MAKb,MAAO,CACLJ,aAAY,EACZN,UAAS,EACTG,SAAQ,EACRU,MAAK,EACLU,eAAc,M,iCC3EpB,MAAMC,EAA2B,IAAgB,EAAQ,CAAC,CAAC,SAASpC,GAAQ,CAAC,YAAY,qBAE1E","file":"js/chunk-07469620.90e943ad.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=4f909996&lang=scss&scoped=true\"","import { resolveComponent as _resolveComponent, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, withCtx as _withCtx, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-4f909996\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"main-container d-f flex-d-c\" }\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 _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(_ctx.subMenuTitle === 'MBAFC Payment Approve' ? 'MBAFC PA0001' : 'MPA0001', _ctx.subMenuTitle === 'MBAFC Payment Approve' ? '/paymentApproveMBAFC' : '/paymentApproveMBLC'))\n ? (_openBlock(), _createBlock(_component_a_tab_pane, {\n key: \"1\",\n tab: \"Pending Approve\"\n }))\n : _createCommentVNode(\"\", true),\n (_ctx.$btnPermissions(_ctx.subMenuTitle === 'MBAFC Payment Approve' ? 'MBAFC PA0002' : 'MPA0002', _ctx.subMenuTitle === 'MBAFC Payment Approve' ? '/paymentApproveMBAFC' : '/paymentApproveMBLC'))\n ? (_openBlock(), _createBlock(_component_a_tab_pane, {\n key: \"2\",\n tab: \"Payment Tracking\",\n \"force-render\": \"\"\n }))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"activeKey\", \"onTabClick\"]),\n (_ctx.showRouterView)\n ? (_openBlock(), _createBlock(_component_router_view, { key: 0 }))\n : _createCommentVNode(\"\", true)\n ]))\n}","\nimport { defineComponent, ref, computed,watch } from \"vue\";\nimport { useRouter, useRoute } from 'vue-router'\nimport { useStore } from \"vuex\";\nimport { btnPermissions } from \"@/utils\";\n\nexport default defineComponent({\n name: 'paymentApproveMBAFC',\n props: {},\n setup() {\n const route = useRoute()\n const subMenuTitle = computed(() => {\n if (route.name === 'paymentTrackingMBAFC' || route.name === 'paymentApproveMBAFC') {\n return 'MBAFC Payment Approve'\n } else {\n return 'MBLC Payment Approve'\n }\n })\n const activeKey = ref('1')\n\n if (route.name === 'paymentTrackingMBAFC' || route.name === 'paymentTrackingMBLC') {\n console.log('初始化哈哈哈哈哈。。。。。。')\n activeKey.value = '2'\n } else {\n console.log('初始化ppppppp。。。。。。')\n activeKey.value = '1'\n }\n watch(()=>route.name, (newVal) => {\n console.log(\"初始化456789........\",newVal)\n if (newVal == 'paymentApproveMBLC' || newVal == 'paymentApproveMBAFC'){\n activeKey.value = '1'\n }\n // activeKey.value = '1'\n });\n const {state} = useStore()\n const router = useRouter()\n // 点击tab\n const tabClick = (tab: string) => {\n console.log('主页面tabClick========================',route.name,tab)\n switch (tab) {\n case '1':\n console.log('点击pending。。。。')\n if (route.name == 'paymentApproveMBAFC')\n router.push({path: '/paymentApproveMBAFC,',query:{toTracking:'false'}})\n if (route.name == 'paymentApproveMBLC')\n router.push({path: '/paymentApproveMBLC',query:{toTracking:'false'}})\n if (route.name == 'paymentTrackingMBAFC')\n router.push({path: '/paymentApproveMBAFC',query:{toTracking:'false'}})\n if (route.name == 'paymentTrackingMBLC')\n router.push({path: '/paymentApproveMBLC',query:{toTracking:'false'}})\n break\n case '2':\n console.log('点击tracking。。。。')\n if (route.name == 'paymentApproveMBAFC')\n router.push({path: '/paymentApproveMBAFC/paymentTrackingMBAFC',query:{toTracking:'true'}})\n if (route.name == 'paymentApproveMBLC')\n router.push({path: '/paymentApproveMBLC/paymentTrackingMBLC',query:{toTracking:'true'}})\n break\n }\n }\n\n const showRouterView = computed(() => {\n switch (route.name) {\n case 'paymentApproveMBAFC':\n return btnPermissions('MBAFC PA0001', '/paymentApproveMBAFC')\n case 'paymentTrackingMBAFC':\n return btnPermissions('MBAFC PA0002', '/paymentApproveMBAFC')\n case 'paymentApproveMBLC':\n return btnPermissions('MPA0001', '/paymentApproveMBLC')\n case 'paymentTrackingMBLC':\n return btnPermissions('MPA0002', '/paymentApproveMBLC')\n default:\n return true\n }\n })\n\n\n return {\n subMenuTitle,\n activeKey,\n tabClick,\n route,\n showRouterView\n }\n }\n})\n","import { render } from \"./index.vue?vue&type=template&id=4f909996&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=4f909996&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-4f909996\"]])\n\nexport default __exports__"],"sourceRoot":""}