{"version":3,"sources":["webpack:///./src/assets/images/tracking-icon.svg","webpack:///./src/assets/images/date-icon.svg","webpack:///./src/assets/images/tracking-icon.png","webpack:///./src/views/Approve/MgRoleApprove/PackageHome/components/ProgramTracking.vue?13bc","webpack:///./src/components/Pagination.vue?1871","webpack:///./src/components/Pagination.vue","webpack:///./src/components/Pagination.vue?abc7","webpack:///./src/views/Approve/MgRoleApprove/PackageHome/components/BatchTracking.vue?c8e1","webpack:///./src/components/Pagination.vue?8fea","webpack:///./src/views/Approve/MgRoleApprove/components/ApproveConfirmModal.vue?316c","webpack:///./src/views/Approve/MgRoleApprove/components/ApproveConfirmModal.vue","webpack:///./src/views/Approve/MgRoleApprove/components/ApproveConfirmModal.vue?d679","webpack:///./src/components/TableWrapper.vue?0107","webpack:///./src/views/Approve/MgRoleApprove/PackageHome/index.vue?3d96","webpack:///./src/views/Approve/MgRoleApprove/PackageHome/components/PendingApprove.vue?5763","webpack:///./src/views/Approve/MgRoleApprove/PackageHome/components/PendingApprove.vue","webpack:///./src/views/Approve/MgRoleApprove/PackageHome/components/PendingApprove.vue?59c8","webpack:///./src/views/Approve/MgRoleApprove/PackageHome/components/BatchTracking.vue?d251","webpack:///./src/views/Approve/MgRoleApprove/PackageHome/components/BatchTracking.vue","webpack:///./src/views/Approve/MgRoleApprove/PackageHome/components/BatchTracking.vue?0fd2","webpack:///./src/views/Approve/MgRoleApprove/PackageHome/components/ProgramTracking.vue?285d","webpack:///./src/views/Approve/MgRoleApprove/PackageHome/components/ProgramTracking.vue","webpack:///./src/views/Approve/MgRoleApprove/PackageHome/components/ProgramTracking.vue?c8cd","webpack:///./src/views/Approve/MgRoleApprove/PackageHome/index.vue","webpack:///./src/views/Approve/MgRoleApprove/PackageHome/index.vue?6ee6","webpack:///./src/views/Approve/MgRoleApprove/PackageHome/components/PendingApprove.vue?42a2","webpack:///./src/views/Approve/MgRoleApprove/components/ApproveConfirmModal.vue?7024","webpack:///./src/views/Approve/MgRoleApprove/PackageHome/index.vue?9edc","webpack:///./src/views/Approve/MgRoleApprove/components/ApproveConfirmModal.vue?06fd","webpack:///./src/components/TableWrapper.vue?0edf","webpack:///./src/components/TableWrapper.vue","webpack:///./src/components/TableWrapper.vue?c8bb"],"names":["module","exports","_hoisted_1","class","render","_ctx","_cache","$props","$setup","$data","$options","_component_a_pagination","total","current","defaultPageSize","pageSize","pageSizeOptions","onChange","handlerChange","onShowSizeChange","handlerShowSizeChange","name","props","type","Number","default","required","Array","hideOnSinglePage","Boolean","showQuickJumper","showSizeChanger","emits","setup","content","pageNumber","emit","__exports__","_withScopeId","n","_hoisted_2","_hoisted_3","_hoisted_4","_hoisted_5","key","_hoisted_6","_component_a_textarea","_component_a_button","_component_a_modal","visible","wrapClassName","centered","onCancel","$event","$emit","bodyStyle","padding","title","footer","onClick","cancelText","_","status","comment","length","disabled","okText","data","item","index","batchName","style","value","target","placeholder","rows","String","_hoisted_7","_component_router_link","_component_breadcrumb","_component_pending_approve","_component_batch_tracking","_component_program_tracking","_component_main_wrapper","className","header","dataSource","currentTab","to","state","approve","pendingApproveCount","handlerApproveOrReject","selectPendingApprove","ref","selectBatchNumber","src","alt","_component_a_tooltip","_component_a_table","_component_approve_confirm_modal","minHeight","normalSales","scroll","y","tableH","x","columns","normalColumns","pagination","rowSelection","rowClassName","record","rowKey","text","batchId","$route","query","tag","submitDate","moment","format","pbpBudget","toThousands","cbuBudget","totalBudget","tracking","placement","createdAt","operator","approvalStatus","fleetSales","fleetColumns","rowSelectionFleet","approveComment","approveStatus","selectedRowData","concat","onOnOk","handlerOk","dataIndex","width","slots","customRender","ellipsis","align","components","ApproveConfirmModal","commit","selectedRowKeys","selectedRows","resetTableSelectData","useFetch","res","refreshFetch","message","error","requestBody","forEach","push","approvalSatus","then","tableTheadHeight","document","querySelector","offsetHeight","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_11","_hoisted_12","_hoisted_13","_hoisted_14","_hoisted_15","_hoisted_16","_component_a_select_option","_component_a_select","_component_a_input","_component_a_date_picker","_component_a_tree_select","_component_Pagination","bu","mode","showArrow","buOptions","orgid","orgnmen","valueFormat","year","open","openYear","onOpenChange","handlerOpenChange","onPanelChange","handlerPanelChange","qm","qmOptions","SHOW_PARENT","batchStatus","packageStatus","id","display","$btnPermissions","handlerResetClick","handlerSearchClick","tableHeight","handlerPaginationChange","page","children","Pagination","useTableHeight","add","time","getDefaultQm","quarter","queryParams","Object","assign","_hoisted_17","_hoisted_18","_hoisted_19","_hoisted_20","_hoisted_21","_hoisted_22","_hoisted_23","_hoisted_24","_hoisted_25","_hoisted_26","_hoisted_27","_hoisted_28","_hoisted_29","_hoisted_30","_hoisted_31","_hoisted_32","_hoisted_33","_component_a_range_picker","_component_table_wrapper","_component_program_preview","_component_WordingBudget","programName","from","handlerPeriodChange","suffixIcon","filterOption","typeClassOptions","programStatus","programStatusOptions","isOpen","handleCollapse","programCode","currentClickRowIndex","handlerClickProgramName","periodFrom","lastUpdate","program","programPreviewData","wordingpreviewvisible","visiblePreview","TableWrapper","ProgramPreview","WordingBudget","store","programId","programPeriod","tablePosition","useTableRowHighlight","handlerRowClick","input","option","toLowerCase","indexOf","date","sessionStorage","setItem","PendingApprove","BatchTracking","ProgramTracking","router","route","pendingApproveRef","handlerTab","tab","form","next","$slots","undefined"],"mappings":"8HAAAA,EAAOC,QAAU,IAA0B,kC,uBCA3CD,EAAOC,QAAU,IAA0B,8B,qBCA3CD,EAAOC,QAAU,88B,oCCAjB,W,kDCGMC,EAAa,CAAEC,MAAO,sCAErB,SAASC,EAAOC,EAAUC,EAAYC,EAAYC,EAAYC,EAAWC,GAC9E,IAAMC,EAA0B,8BAAkB,gBAElD,OAAQ,yBAAc,gCAAoB,MAAOT,EAAY,CAC3D,yBAAaS,EAAyB,CACpCC,MAAOP,EAAKO,MACZ,oBAAqB,GACrB,oBAAqB,GACrBC,QAASR,EAAKQ,QACdC,gBAAiBT,EAAKS,gBACtBC,SAAUV,EAAKU,SACfC,gBAAiBX,EAAKW,gBACtB,aA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Q8C,KAGvB,gBAAoB,SAAC9B,EAAIkM,EAAMC,GAC3BpM,EAAWf,MAAQgB,EAAG6B,MAAMC,KAAiB,iBAC7CqK,OAGG,CACHpM,WAAU,EACViM,WAAU,EACV5L,uBAAsB,EACtB2L,kBAAiB,EACjB1L,qBAAoB,EAGpBJ,MAAK,M,UCpDrB,MAAM,GAA2B,IAAgB,GAAQ,CAAC,CAAC,SAASrF,GAAQ,CAAC,YAAY,qBAE1E,iB,yDCTf,W,kCCAA,W,yDCAA,W,kCCAA,W,yECEO,SAASA,EAAOC,EAAUC,EAAYC,EAAYC,EAAYC,EAAWC,GAC9E,OAAQ,yBAAc,gCAAoB,MAAO,CAC/CP,MAAO,QACPoE,MAAO,4BAAgB,CAACsE,MAAOxI,EAAK4C,QAAU,MAAQ,UACrD,CACD,wBAAY5C,EAAKuR,OAAQ,UAAW,QAAIC,GAAW,IAClD,GCNc,mCAAgB,CAC3BxQ,KAAM,eACNC,MAAO,CACH2B,QAAS,CACL1B,KAAMM,QACNJ,SAAS,M,iCCAzB,MAAMY,EAA2B,IAAgB,EAAQ,CAAC,CAAC,SAASjC,GAAQ,CAAC,YAAY,qBAE1E","file":"js/chunk-22da8000.ca8a2c29.js","sourcesContent":["module.exports = __webpack_public_path__ + \"img/tracking-icon.b5a7e56b.svg\";","module.exports = __webpack_public_path__ + \"img/date-icon.b14f3d24.svg\";","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAGKADAAQAAAABAAAAGAAAAADiNXWtAAACMElEQVRIDbVUOcsiQRCtEUVBPDFRA08EzQxUNBGMTfyjmghmgokggmJkoqKZgXiieLv7GnqYnmnnm29hC4burutNva5q5Xa7feg/iv2n3OPxWOqSz+eler3Spldoz0guA/im18byvaGCw+HAbfSXPspms5RMJlUdNtBfr1fS+vp8PsGHHxTtHSyXS+p2u8Sd3+8387PZxEL1egDVajWKx+M8r7oKAJwOq/zyLGZxBooQxCngCcxWl8tlZiYpwHw+p+l0ahrIjbgjM5EC5HI5wmdVOEUyfynAN4pAh9PpNOSRXS53kgJ8owh0yCoLBAI8n2GVAphRhBbdbDZ0Op1YMo/HQ6FQiPStzJGkAFqKtLQgca/XI6/XS+FwmOVYLBZ0PB6pWq0yIJ6Yr9I5AM+8izgtmNxWq0WVSoVisRhhKCHgf7VaUb/fp0ajQfq2lVYgo2g0GlEmk2HJkXi322FhAABEdfDBD2hFfAO0Ft1+vV5TKpUStPf7XT3DBh+9WAY4n8/kdrvV+EQiQfv9njgIbPDRi2WAYDBI2+1Wjff7/YT27HQ6TAcbfPRiAHg+n+wZxguJ73K5sBjwPJlMhPhisUjRaJRerxezwUcvQheh5GazqT7XcI5EIlQul+nz+VC73WZ/XSqVyOFwsFyPx4MGgwG79Hq9ToqiCBgCgGCRHFDdcDik2Wym9jy6J51OU6FQILvd2JS/AuCYmGYMIwQz822KYf8nAARaFcMlWw206vcHdaIHg52U38IAAAAASUVORK5CYII=\"","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!./ProgramTracking.vue?vue&type=style&index=0&id=65e18d15&scoped=true&lang=scss\"","import { resolveComponent as _resolveComponent, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-cee45ef6\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"pagination-container d-f justify-e\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_a_pagination = _resolveComponent(\"a-pagination\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(_component_a_pagination, {\n total: _ctx.total,\n \"show-size-changer\": \"\",\n \"show-quick-jumper\": \"\",\n current: _ctx.current,\n defaultPageSize: _ctx.defaultPageSize,\n pageSize: _ctx.pageSize,\n pageSizeOptions: _ctx.pageSizeOptions,\n \"show-total\": total => `Total ${total} items`,\n onChange: _ctx.handlerChange,\n onShowSizeChange: _ctx.handlerShowSizeChange\n }, null, 8, [\"total\", \"current\", \"defaultPageSize\", \"pageSize\", \"pageSizeOptions\", \"show-total\", \"onChange\", \"onShowSizeChange\"])\n ]))\n}","\n import { defineComponent } from 'vue';\n\n export default defineComponent({\n name: \"Pagination\",\n props: {\n total: {\n type: Number,\n default: 0,\n required: true\n },\n pageSizeOptions: {\n type: Array,\n },\n pageSize: {\n type: Number,\n default: 10\n },\n defaultPageSize: {\n type: Number,\n default: 10\n },\n current: {\n type: Number,\n default: 1,\n required: true\n },\n hideOnSinglePage: {\n type: Boolean,\n default: false\n },\n showQuickJumper: {\n type: Boolean,\n default: true\n },\n showSizeChanger: {\n type: Boolean,\n default: true\n }\n },\n emits: ['change', 'show-size-change'],\n setup(props, content) {\n const handlerChange = (pageNumber: number) => {\n content.emit('change', pageNumber);\n }\n\n const handlerShowSizeChange = (current: number, pageSize: number) => {\n content.emit('show-size-change', current, pageSize);\n }\n\n return {\n handlerChange,\n handlerShowSizeChange\n }\n }\n })\n","import { render } from \"./Pagination.vue?vue&type=template&id=cee45ef6&scoped=true&ts=true\"\nimport script from \"./Pagination.vue?vue&type=script&lang=ts\"\nexport * from \"./Pagination.vue?vue&type=script&lang=ts\"\n\nimport \"./Pagination.vue?vue&type=style&index=0&id=cee45ef6&scoped=true&lang=scss\"\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-cee45ef6\"]])\n\nexport default __exports__","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!./BatchTracking.vue?vue&type=style&index=0&id=45671aa7&scoped=true&lang=scss\"","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!./Pagination.vue?vue&type=style&index=0&id=cee45ef6&scoped=true&lang=scss\"","import { createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, toDisplayString as _toDisplayString, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, withCtx as _withCtx, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-59208864\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"d-f\" }, [\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"modal-icon d-f align-c justify-c\" }, \"!\"),\n /*#__PURE__*/_createTextVNode(\"Tips\")\n], -1))\nconst _hoisted_2 = { class: \"tc program-status\" }\nconst _hoisted_3 = { class: \"modal-content m-t-8\" }\nconst _hoisted_4 = { class: \"label\" }\nconst _hoisted_5 = {\n key: 0,\n class: \"f-c-red\"\n}\nconst _hoisted_6 = /*#__PURE__*/_createTextVNode(\"Comment\")\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_a_textarea = _resolveComponent(\"a-textarea\")!\n const _component_a_button = _resolveComponent(\"a-button\")!\n const _component_a_modal = _resolveComponent(\"a-modal\")!\n\n return (_openBlock(), _createBlock(_component_a_modal, {\n visible: _ctx.visible,\n wrapClassName: \"modal-container\",\n centered: \"\",\n onCancel: _cache[3] || (_cache[3] = ($event: any) => (_ctx.$emit('update:visible', false))),\n bodyStyle: {padding: '0 40px'}\n }, {\n title: _withCtx(() => [\n _hoisted_1\n ]),\n footer: _withCtx(() => [\n _createVNode(_component_a_button, {\n class: \"m-l-16 min-tbn-w\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.$emit('update:visible', false)))\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.cancelText), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_a_button, {\n class: \"m-l-16 min-tbn-w\",\n type: _ctx.status == 'rejected' && _ctx.comment.length == 0 ? '' : 'primary',\n disabled: _ctx.status == 'rejected' && _ctx.comment.length == 0,\n onClick: _cache[2] || (_cache[2] = ($event: any) => (_ctx.$emit('on-ok')))\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.okText), 1)\n ]),\n _: 1\n }, 8, [\"type\", \"disabled\"])\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"p\", _hoisted_2, _toDisplayString(_ctx.title) + \" Batch:\", 1),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.data, (item, index) => {\n return (_openBlock(), _createElementBlock(\"p\", {\n class: \"tc program-name\",\n key: index\n }, _toDisplayString(item.batchName), 1))\n }), 128)),\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"p\", _hoisted_4, [\n (_ctx.status === 'rejected')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_5, \"*\"))\n : _createCommentVNode(\"\", true),\n _hoisted_6\n ]),\n _createVNode(_component_a_textarea, {\n style: {\"border\":\"none\"},\n class: \"textarea\",\n value: _ctx.comment,\n onChange: _cache[0] || (_cache[0] = ($event: any) => (_ctx.$emit('update:comment', $event.target.value))),\n placeholder: `Please provide your comments for ${_ctx.status == 'rejected' ? 'rejection' : 'approve'}`,\n rows: 4\n }, null, 8, [\"value\", \"placeholder\"])\n ])\n ]),\n _: 1\n }, 8, [\"visible\"]))\n}","\n import { defineComponent, computed } from 'vue';\n\n export default defineComponent({\n name: \"ApprovalConfirmModal\",\n props: {\n visible: {\n type: Boolean,\n default: false\n },\n comment: {\n type: String\n },\n status: {\n type: String\n },\n //审批的batch项目\n data: {\n type: Array\n },\n okText: {\n type: String,\n default: 'Yes'\n },\n cancelText: {\n type: String,\n default: 'No'\n }\n },\n emits: ['update:visible', 'update:comment', 'on-cancel', 'on-ok'],\n setup(props) {\n const title = computed(() => props.status == 'approved' ? 'approved' : ( props.status == 'rejected' ? 'Reject' : 'Withdraw' ));\n return {\n title\n }\n }\n })\n","import { render } from \"./ApproveConfirmModal.vue?vue&type=template&id=59208864&scoped=true&ts=true\"\nimport script from \"./ApproveConfirmModal.vue?vue&type=script&lang=ts\"\nexport * from \"./ApproveConfirmModal.vue?vue&type=script&lang=ts\"\n\nimport \"./ApproveConfirmModal.vue?vue&type=style&index=0&id=59208864&scoped=true&lang=scss\"\nimport \"./ApproveConfirmModal.vue?vue&type=style&index=1&id=59208864&lang=scss\"\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-59208864\"]])\n\nexport default __exports__","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!./TableWrapper.vue?vue&type=style&index=0&id=037b2547&scoped=true&lang=scss\"","import { toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, normalizeClass as _normalizeClass, withCtx as _withCtx, createVNode as _createVNode, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-5c2050c6\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"d-f justify-b\" }\nconst _hoisted_2 = { class: \"tabs d-f\" }\nconst _hoisted_3 = /*#__PURE__*/_createTextVNode(\"Batch Tracking\")\nconst _hoisted_4 = /*#__PURE__*/_createTextVNode(\"Program Tracking\")\nconst _hoisted_5 = {\n key: 0,\n class: \"btns\"\n}\nconst _hoisted_6 = /*#__PURE__*/_createTextVNode(\"Reject\")\nconst _hoisted_7 = /*#__PURE__*/_createTextVNode(\"Approve\")\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_router_link = _resolveComponent(\"router-link\")!\n const _component_a_button = _resolveComponent(\"a-button\")!\n const _component_breadcrumb = _resolveComponent(\"breadcrumb\")!\n const _component_pending_approve = _resolveComponent(\"pending-approve\")!\n const _component_batch_tracking = _resolveComponent(\"batch-tracking\")!\n const _component_program_tracking = _resolveComponent(\"program-tracking\")!\n const _component_main_wrapper = _resolveComponent(\"main-wrapper\")!\n\n return (_openBlock(), _createBlock(_component_main_wrapper, { className: \"p-l-r-10\" }, {\n header: _withCtx(() => [\n _createVNode(_component_breadcrumb, { dataSource: [] }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"nav\", _hoisted_2, [\n _createVNode(_component_router_link, {\n class: _normalizeClass([\"tab\", [_ctx.currentTab === 'pendingApprove' ? 'active' : null]]),\n to: \"/approval/mg/packageHome?tag=pendingApprove\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Pending approval (\" + _toDisplayString(_ctx.state.approve.pendingApproveCount) + \")\", 1)\n ]),\n _: 1\n }, 8, [\"class\"]),\n _createVNode(_component_router_link, {\n class: _normalizeClass([\"tab\", [_ctx.currentTab === 'batchTracking' ? 'active' : null]]),\n to: \"/approval/mg/packageHome?tag=batchTracking\"\n }, {\n default: _withCtx(() => [\n _hoisted_3\n ]),\n _: 1\n }, 8, [\"class\"]),\n _createVNode(_component_router_link, {\n class: _normalizeClass([\"tab\", [_ctx.currentTab === 'programTracking' ? 'active' : null]]),\n to: \"/approval/mg/packageHome?tag=programTracking\"\n }, {\n default: _withCtx(() => [\n _hoisted_4\n ]),\n _: 1\n }, 8, [\"class\"])\n ]),\n (_ctx.currentTab === 'pendingApprove')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_5, [\n _createVNode(_component_a_button, {\n class: \"m-l-16\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.handlerApproveOrReject('rejected'))),\n disabled: _ctx.selectPendingApprove === 0\n }, {\n default: _withCtx(() => [\n _hoisted_6\n ]),\n _: 1\n }, 8, [\"disabled\"]),\n _createVNode(_component_a_button, {\n class: \"m-l-16\",\n type: \"primary\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.handlerApproveOrReject('approved'))),\n disabled: _ctx.selectPendingApprove === 0\n }, {\n default: _withCtx(() => [\n _hoisted_7\n ]),\n _: 1\n }, 8, [\"disabled\"])\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _: 1\n })\n ]),\n default: _withCtx(() => [\n (_ctx.currentTab === 'pendingApprove')\n ? (_openBlock(), _createBlock(_component_pending_approve, {\n key: 0,\n ref: \"pendingApproveRef\",\n selectBatchNumber: _ctx.selectPendingApprove,\n \"onUpdate:selectBatchNumber\": _cache[2] || (_cache[2] = ($event: any) => ((_ctx.selectPendingApprove) = $event))\n }, null, 8, [\"selectBatchNumber\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.currentTab === 'batchTracking')\n ? (_openBlock(), _createBlock(_component_batch_tracking, {\n key: 1,\n class: \"flex-w-auto bg-fff\"\n }))\n : _createCommentVNode(\"\", true),\n (_ctx.currentTab === 'programTracking')\n ? (_openBlock(), _createBlock(_component_program_tracking, {\n key: 2,\n class: \"flex-w-auto bg-fff\"\n }))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }))\n}","import { createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nimport _imports_0 from '@/assets/images/tracking-icon.svg'\nimport _imports_1 from '@/assets/images/tracking-icon.png'\n\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-7a8ba315\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"flex-w-auto d-f flex-d-c content\" }\nconst _hoisted_2 = { class: \"m-t-8 bg-fff flex-w-auto overflow-h\" }\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h2\", { class: \"content-title sign-line-b m-t-16\" }, \"Normal Sales\", -1))\nconst _hoisted_4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", {\n src: _imports_0,\n alt: \"\"\n}, null, -1))\nconst _hoisted_5 = { class: \"m-t-8 bg-fff flex-w-auto overflow-h\" }\nconst _hoisted_6 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h2\", { class: \"content-title sign-line-b m-t-16\" }, \"Fleet Sales\", -1))\nconst _hoisted_7 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", {\n src: _imports_1,\n alt: \"\"\n}, null, -1))\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_router_link = _resolveComponent(\"router-link\")!\n const _component_a_tooltip = _resolveComponent(\"a-tooltip\")!\n const _component_a_table = _resolveComponent(\"a-table\")!\n const _component_approve_confirm_modal = _resolveComponent(\"approve-confirm-modal\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _hoisted_3,\n _createVNode(_component_a_table, {\n class: \"tab-container default-self-table-text m-t-16\",\n style: {minHeight: 100 + 'px'},\n dataSource: _ctx.data.normalSales,\n scroll: { y: _ctx.tableH, x: 1000 },\n columns: _ctx.normalColumns,\n pagination: false,\n \"row-selection\": _ctx.rowSelection,\n rowClassName: (record, index) => (index % 2 === 1 ? 'table-striped' : null),\n rowKey: (item, index) => index\n }, {\n batchName: _withCtx(({ text, record }) => [\n _createVNode(_component_router_link, {\n title: text,\n to: `/approval/mg/package/${record.batchId}?tag=${_ctx.$route.query.tag}`\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(text), 1)\n ]),\n _: 2\n }, 1032, [\"title\", \"to\"])\n ]),\n submitDate: _withCtx(({ text }) => [\n _createTextVNode(_toDisplayString(text ? _ctx.moment(text).format('YYYY-MM-DD') : text), 1)\n ]),\n pbpBudget: _withCtx(({ text }) => [\n _createTextVNode(_toDisplayString(_ctx.toThousands(text)), 1)\n ]),\n cbuBudget: _withCtx(({ text }) => [\n _createTextVNode(_toDisplayString(_ctx.toThousands(text)), 1)\n ]),\n totalBudget: _withCtx(({ text }) => [\n _createTextVNode(_toDisplayString(_ctx.toThousands(text)), 1)\n ]),\n tracking: _withCtx(({ text }) => [\n _createVNode(_component_a_tooltip, { placement: \"topLeft\" }, {\n title: _withCtx(() => [\n _createElementVNode(\"ul\", null, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(text, (item, index) => {\n return (_openBlock(), _createElementBlock(\"li\", { key: index }, _toDisplayString(item.createdAt ?\n _ctx.moment(item.createdAt).format('YYYY-MM-DD') : item.createdAt) + \" \" + _toDisplayString(item.operator) + \" \" + _toDisplayString(item.approvalStatus), 1))\n }), 128))\n ])\n ]),\n default: _withCtx(() => [\n _hoisted_4\n ]),\n _: 2\n }, 1024)\n ]),\n _: 1\n }, 8, [\"dataSource\", \"scroll\", \"columns\", \"row-selection\", \"rowClassName\", \"rowKey\"])\n ]),\n _createElementVNode(\"div\", _hoisted_5, [\n _hoisted_6,\n _createVNode(_component_a_table, {\n class: \"tab-container default-self-table-text m-t-16\",\n style: {minHeight: 100 + 'px'},\n scroll: { y: _ctx.tableH, x: 1000 },\n dataSource: _ctx.data.fleetSales,\n columns: _ctx.fleetColumns,\n pagination: false,\n \"row-selection\": _ctx.rowSelectionFleet,\n rowClassName: (record, index) => (index % 2 === 1 ? 'table-striped' : null),\n rowKey: (item, index) => index\n }, {\n batchName: _withCtx(({ text, record }) => [\n _createVNode(_component_router_link, {\n title: text,\n to: `/approval/mg/package/${record.batchId}`\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(text), 1)\n ]),\n _: 2\n }, 1032, [\"title\", \"to\"])\n ]),\n submitDate: _withCtx(({ text }) => [\n _createTextVNode(_toDisplayString(text ? _ctx.moment(text).format('YYYY-MM-DD') : text), 1)\n ]),\n pbpBudget: _withCtx(({ text }) => [\n _createTextVNode(_toDisplayString(_ctx.toThousands(text)), 1)\n ]),\n cbuBudget: _withCtx(({ text }) => [\n _createTextVNode(_toDisplayString(_ctx.toThousands(text)), 1)\n ]),\n totalBudget: _withCtx(({ text }) => [\n _createTextVNode(_toDisplayString(_ctx.toThousands(text)), 1)\n ]),\n tracking: _withCtx(({ text }) => [\n _createVNode(_component_a_tooltip, { placement: \"topLeft\" }, {\n title: _withCtx(() => [\n _createElementVNode(\"ul\", null, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(text, (item, index) => {\n return (_openBlock(), _createElementBlock(\"li\", { key: index }, _toDisplayString(item.createdAt ?\n _ctx.moment(item.createdAt).format('YYYY-MM-DD') : item.createdAt) + \" \" + _toDisplayString(item.operator) + \" \" + _toDisplayString(item.approvalStatus), 1))\n }), 128))\n ])\n ]),\n default: _withCtx(() => [\n _hoisted_7\n ]),\n _: 2\n }, 1024)\n ]),\n _: 1\n }, 8, [\"scroll\", \"dataSource\", \"columns\", \"row-selection\", \"rowClassName\", \"rowKey\"])\n ]),\n _createVNode(_component_approve_confirm_modal, {\n visible: _ctx.visible,\n \"onUpdate:visible\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.visible) = $event)),\n comment: _ctx.approveComment,\n \"onUpdate:comment\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.approveComment) = $event)),\n status: _ctx.approveStatus,\n data: _ctx.rowSelection.selectedRowData.concat(_ctx.rowSelectionFleet.selectedRowData),\n onOnOk: _ctx.handlerOk\n }, null, 8, [\"visible\", \"comment\", \"status\", \"data\", \"onOnOk\"])\n ]))\n}","\n import { defineComponent, reactive, ref, onMounted } from 'vue';\n import { useStore } from 'vuex';\n import ApproveConfirmModal from \"../../components/ApproveConfirmModal.vue\";\n import moment from \"moment\";\n import { PendingApproveResponse, PendingApprovePackage, PackageApproveRequestBodyItem } from '../types';\n import { ColumnProps } from 'ant-design-vue/es/table/interface';\n import { getMgPendingApprove, approvePackage } from \"@/API/approve\";\n import useFetch from \"@/hooks/useFetch\";\n import { message } from \"ant-design-vue\";\n import { toThousands } from \"@/utils/approve\";\n\n type Key = ColumnProps['key'];\n\n const normalColumns = [\n {\n title: 'BU',\n dataIndex: 'buName',\n key: 'bu',\n width: 100\n },\n {\n title: 'Batch Name',\n dataIndex: 'batchName',\n key: 'batchName',\n slots: { customRender: 'batchName' },\n width: 240,\n ellipsis: true\n },\n {\n title: 'PbP budget',\n dataIndex: 'pbpBudget',\n key: 'pbpBudget',\n slots: { customRender: 'pbpBudget' },\n width: 160,\n align: 'right'\n },\n {\n title: 'CBU budget',\n dataIndex: 'cbuBudget',\n key: 'cbuBudget',\n slots: { customRender: 'cbuBudget' },\n width: 160,\n align: 'right'\n },\n {\n title: 'Total budget',\n dataIndex: 'totalBudget',\n key: 'totalBudget',\n slots: { customRender: 'totalBudget' },\n width: 160,\n align: 'right'\n },\n {\n title: 'Submit date',\n dataIndex: 'packageSubmitTime',\n key: 'submitDate',\n slots: { customRender: 'submitDate' },\n width: 160\n },\n {\n title: 'Tracking',\n dataIndex: 'logDtoList',\n key: 'logDtoList',\n slots: { customRender: 'tracking' },\n width: 100,\n align: 'center'\n }\n ]\n\n const fleetColumns = [\n {\n title: 'BU',\n dataIndex: 'buName',\n key: 'bu',\n width: 100\n },\n {\n title: 'Batch Approve Name',\n dataIndex: 'batchName',\n key: 'batchApproveName',\n slots: { customRender: 'batchName' },\n width: 240,\n ellipsis: true\n },\n {\n title: 'PbP budget',\n dataIndex: 'pbpBudget',\n key: 'pbpBudget',\n slots: { customRender: 'pbpBudget' },\n width: 160\n },\n {\n title: 'CBU budget',\n dataIndex: 'cbuBudget',\n key: 'cbuBudget',\n slots: { customRender: 'cbuBudget' },\n width: 160\n },\n {\n title: 'Total budget',\n dataIndex: 'totalBudget',\n key: 'totalBudget',\n slots: { customRender: 'totalBudget' },\n width: 160\n },\n {\n title: 'Submit date',\n dataIndex: 'packageSubmitTime',\n key: 'submitDate',\n slots: { customRender: 'submitDate' },\n width: 160\n },\n {\n title: 'Tracking',\n dataIndex: 'logDtoList',\n key: 'logDtoList',\n slots: { customRender: 'tracking' },\n width: 100,\n align: 'center'\n }\n ]\n export default defineComponent({\n name: \"PaddingApprovePackage\",\n props: {\n selectBatchNumber: {\n type: Number\n }\n },\n emits: ['update:selectBatchNumber'],\n components: {\n ApproveConfirmModal\n },\n setup(props, content) {\n const { commit } = useStore();\n\n //confirm 弹窗\n const visible = ref(false);\n\n //approveComment\n const approveComment = ref('');\n\n //status\n const approveStatus = ref('');\n\n const tableH = ref(0);\n\n\n const rowSelection = reactive<{ selectedRowKeys: Key[]; selectedRowData: PendingApprovePackage[]; onChange: Function }>({\n onChange: (selectedRowKeys: Key[], selectedRows: PendingApprovePackage[]) => {\n rowSelection.selectedRowKeys = selectedRowKeys;\n rowSelection.selectedRowData = selectedRows;\n content.emit('update:selectBatchNumber', selectedRowKeys.length);\n },\n selectedRowKeys: [],\n selectedRowData: []\n })\n const rowSelectionFleet = reactive<{ selectedRowKeys: Key[]; selectedRowData: PendingApprovePackage[]; onChange: Function }>({\n onChange: (selectedRowKeys: Key[], selectedRows: PendingApprovePackage[]) => {\n rowSelectionFleet.selectedRowKeys = selectedRowKeys;\n rowSelectionFleet.selectedRowData = selectedRows;\n content.emit('update:selectBatchNumber', selectedRowKeys.length);\n },\n selectedRowKeys: [],\n selectedRowData: []\n })\n\n const resetTableSelectData = (): void => {\n rowSelection.selectedRowKeys = [];\n rowSelection.selectedRowData = [];\n rowSelectionFleet.selectedRowKeys = [];\n rowSelectionFleet.selectedRowData = [];\n }\n\n const { data, refreshFetch } = useFetch({}, {\n fleetSales: [],\n normalSales: []\n }, getMgPendingApprove, false, (res: PendingApproveResponse): void => {\n // 存储PendingApproveCount\n commit('approve/updatePendingApproveCount', res.fleetSales.length + res.normalSales.length);\n });\n\n\n const handlerApproveOrReject = (status: string): void => {\n if (rowSelection.selectedRowKeys.length == 0 && rowSelectionFleet.selectedRowKeys.length === 0) {\n message.error('请选择需要审批的batch');\n return;\n }\n approveStatus.value = status;\n visible.value = !visible.value;\n }\n\n const handlerOk = (): void => {\n const requestBody: PackageApproveRequestBodyItem[] = [];\n rowSelection.selectedRowData.concat(rowSelectionFleet.selectedRowData).forEach(item => {\n requestBody.push({\n batchId: item.batchId,\n approvalSatus: approveStatus.value,\n content: approveComment.value\n });\n })\n approvePackage(requestBody).then(data => {\n visible.value = false;\n refreshFetch();\n resetTableSelectData();\n })\n }\n\n onMounted(() => {\n //132 是content所有的margin 40 * 2 = 80 是表格标题的高度\n const tableTheadHeight: number = (document.querySelector('.ant-table-thead') as HTMLDivElement).offsetHeight;\n tableH.value = ((document.querySelector('.content') as HTMLDivElement).offsetHeight - 132 - (tableTheadHeight * 2)) / 2;\n })\n\n return {\n /*table*/\n fleetColumns,\n normalColumns,\n rowSelection,\n rowSelectionFleet,\n data,\n\n //moment 格式化时间\n moment,\n\n //confirm modal\n visible,\n handlerApproveOrReject,\n\n //comment\n approveComment,\n\n //审批的状态\n approveStatus,\n\n //事件处理\n handlerOk,\n\n toThousands,\n\n tableH\n }\n }\n })\n","import { render } from \"./PendingApprove.vue?vue&type=template&id=7a8ba315&scoped=true&ts=true\"\nimport script from \"./PendingApprove.vue?vue&type=script&lang=ts\"\nexport * from \"./PendingApprove.vue?vue&type=script&lang=ts\"\n\nimport \"./PendingApprove.vue?vue&type=style&index=0&id=7a8ba315&scoped=true&lang=scss\"\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-7a8ba315\"]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createBlock as _createBlock, createVNode as _createVNode, createCommentVNode as _createCommentVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nimport _imports_0 from '@/assets/images/tracking-icon.svg'\n\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-45671aa7\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"container m-t-8\" }\nconst _hoisted_2 = { class: \"d-f\" }\nconst _hoisted_3 = { class: \"d-f flex-d-c flex-w-auto\" }\nconst _hoisted_4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"label-text-12\" }, \"BU\", -1))\nconst _hoisted_5 = { class: \"d-f flex-d-c flex-w-auto m-l-16\" }\nconst _hoisted_6 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"label-text-12\" }, \"Batch Name\", -1))\nconst _hoisted_7 = { class: \"d-f flex-d-c flex-w-auto m-l-16\" }\nconst _hoisted_8 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"label-text-12\" }, \"Year\", -1))\nconst _hoisted_9 = { class: \"d-f flex-w-auto flex-d-c m-l-16\" }\nconst _hoisted_10 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"label-text-12\" }, \"Q/M\", -1))\nconst _hoisted_11 = { class: \"d-f flex-d-c flex-w-auto m-l-16\" }\nconst _hoisted_12 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"label-text-12\" }, \"Batch Status\", -1))\nconst _hoisted_13 = { class: \"d-f justify-e align-e flex-w-auto m-l-16\" }\nconst _hoisted_14 = /*#__PURE__*/_createTextVNode(\"Reset\")\nconst _hoisted_15 = /*#__PURE__*/_createTextVNode(\"Search\")\nconst _hoisted_16 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", {\n src: _imports_0,\n alt: \"\"\n}, null, -1))\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_a_select_option = _resolveComponent(\"a-select-option\")!\n const _component_a_select = _resolveComponent(\"a-select\")!\n const _component_a_input = _resolveComponent(\"a-input\")!\n const _component_a_date_picker = _resolveComponent(\"a-date-picker\")!\n const _component_a_tree_select = _resolveComponent(\"a-tree-select\")!\n const _component_a_button = _resolveComponent(\"a-button\")!\n const _component_router_link = _resolveComponent(\"router-link\")!\n const _component_a_tooltip = _resolveComponent(\"a-tooltip\")!\n const _component_a_table = _resolveComponent(\"a-table\")!\n const _component_Pagination = _resolveComponent(\"Pagination\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _hoisted_4,\n _createVNode(_component_a_select, {\n value: _ctx.bu,\n \"onUpdate:value\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.bu) = $event)),\n mode: \"multiple\",\n showArrow: true\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.buOptions, (item, index) => {\n return (_openBlock(), _createBlock(_component_a_select_option, {\n value: item.orgid,\n key: index\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(item.orgnmen), 1)\n ]),\n _: 2\n }, 1032, [\"value\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_5, [\n _hoisted_6,\n _createVNode(_component_a_input, {\n value: _ctx.batchName,\n \"onUpdate:value\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.batchName) = $event))\n }, null, 8, [\"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_7, [\n _hoisted_8,\n _createVNode(_component_a_date_picker, {\n mode: \"year\",\n valueFormat: \"YYYY\",\n format: \"YYYY\",\n value: _ctx.year,\n \"onUpdate:value\": _cache[2] || (_cache[2] = ($event: any) => ((_ctx.year) = $event)),\n open: _ctx.openYear,\n onOpenChange: _ctx.handlerOpenChange,\n onPanelChange: _ctx.handlerPanelChange\n }, null, 8, [\"value\", \"open\", \"onOpenChange\", \"onPanelChange\"])\n ]),\n _createElementVNode(\"div\", _hoisted_9, [\n _hoisted_10,\n _createVNode(_component_a_tree_select, {\n value: _ctx.qm,\n \"onUpdate:value\": _cache[3] || (_cache[3] = ($event: any) => ((_ctx.qm) = $event)),\n style: {\"width\":\"100%\"},\n \"tree-data\": _ctx.qmOptions,\n \"tree-checkable\": \"\",\n \"allow-clear\": \"\",\n \"show-checked-strategy\": _ctx.SHOW_PARENT,\n \"search-placeholder\": \"Please select\"\n }, null, 8, [\"value\", \"tree-data\", \"show-checked-strategy\"])\n ]),\n _createElementVNode(\"div\", _hoisted_11, [\n _hoisted_12,\n _createVNode(_component_a_select, {\n value: _ctx.batchStatus,\n \"onUpdate:value\": _cache[4] || (_cache[4] = ($event: any) => ((_ctx.batchStatus) = $event))\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.packageStatus, (item, index) => {\n return (_openBlock(), _createBlock(_component_a_select_option, {\n value: item.id,\n key: index\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(item.display), 1)\n ]),\n _: 2\n }, 1032, [\"value\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_13, [\n (_ctx.$btnPermissions('BATCH TRACKING RESET'))\n ? (_openBlock(), _createBlock(_component_a_button, {\n key: 0,\n class: \"m-l-16\",\n onClick: _ctx.handlerResetClick\n }, {\n default: _withCtx(() => [\n _hoisted_14\n ]),\n _: 1\n }, 8, [\"onClick\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.$btnPermissions('BATCH TRACKING SEARCH'))\n ? (_openBlock(), _createBlock(_component_a_button, {\n key: 1,\n class: \"m-l-16\",\n type: \"primary\",\n onClick: _ctx.handlerSearchClick\n }, {\n default: _withCtx(() => [\n _hoisted_15\n ]),\n _: 1\n }, 8, [\"onClick\"]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _createVNode(_component_a_table, {\n class: \"tab-container m-t-16 default-self-table-text\",\n dataSource: _ctx.data,\n columns: _ctx.columns,\n pagination: false,\n scroll: { y: _ctx.tableHeight, x: 1000 },\n rowClassName: (record, index) => (index % 2 === 1 ? 'table-striped' : null),\n rowKey: (item, index) => index\n }, {\n batchName: _withCtx(({ text, record }) => [\n _createVNode(_component_router_link, {\n title: text,\n to: `/approval/mg/package/${record.batchId}?tag=${_ctx.$route.query.tag}`\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(text), 1)\n ]),\n _: 2\n }, 1032, [\"title\", \"to\"])\n ]),\n submitDate: _withCtx(({ text }) => [\n _createTextVNode(_toDisplayString(text ? _ctx.moment(text).format('YYYY-MM-DD') : text), 1)\n ]),\n pbpBudget: _withCtx(({ text }) => [\n _createTextVNode(_toDisplayString(_ctx.toThousands(text)), 1)\n ]),\n cbuBudget: _withCtx(({ text }) => [\n _createTextVNode(_toDisplayString(_ctx.toThousands(text)), 1)\n ]),\n totalBudget: _withCtx(({ text }) => [\n _createTextVNode(_toDisplayString(_ctx.toThousands(text)), 1)\n ]),\n tracking: _withCtx(({ text }) => [\n _createVNode(_component_a_tooltip, { placement: \"topLeft\" }, {\n title: _withCtx(() => [\n _createElementVNode(\"ul\", null, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(text, (item, index) => {\n return (_openBlock(), _createElementBlock(\"li\", { key: index }, _toDisplayString(item.createdAt ?\n _ctx.moment(item.createdAt).format('YYYY-MM-DD') : item.createdAt) + \" \" + _toDisplayString(item.operator) + \" \" + _toDisplayString(item.approvalStatus), 1))\n }), 128))\n ])\n ]),\n default: _withCtx(() => [\n _hoisted_16\n ]),\n _: 2\n }, 1024)\n ]),\n _: 1\n }, 8, [\"dataSource\", \"columns\", \"scroll\", \"rowClassName\", \"rowKey\"]),\n _createVNode(_component_Pagination, {\n onChange: _ctx.handlerPaginationChange,\n onShowSizeChange: _ctx.handlerShowSizeChange,\n pageSize: _ctx.pagination.pageSize,\n current: _ctx.pagination.page,\n total: _ctx.pagination.total\n }, null, 8, [\"onChange\", \"onShowSizeChange\", \"pageSize\", \"current\", \"total\"])\n ]))\n}","\n import { defineComponent, reactive, toRefs, ref } from 'vue';\n import moment from \"moment\";\n import { TreeSelect } from 'ant-design-vue';\n import Pagination from \"@/components/Pagination.vue\";\n import { BatchTrackingPackage, BatchTrackingQueryParams, ApproveStatusResponseItem } from '../types';\n import useFetch from \"@/hooks/useFetch\";\n import { getSubscribedBu, getApproveStatus, getBatchTracking} from \"@/API/approve\";\n import { BuItem } from \"@/views/Approve/SalesRoleApprove/ProgramHome/types\";\n import useTableHeight from \"@/hooks/useTableHeight\";\n import { toThousands } from \"@/utils/approve\";\n const SHOW_PARENT = TreeSelect.SHOW_PARENT;\n const columns = [\n {\n title: 'BU',\n dataIndex: 'buName',\n key: 'buName',\n width: 80\n },\n {\n title: 'Batch Name',\n dataIndex: 'batchName',\n key: 'batchName',\n slots: { customRender: 'batchName' },\n width: 240,\n ellipsis: true\n\n },\n {\n title: 'PbP budget',\n dataIndex: 'pbpBudget',\n key: 'pbpBudget',\n slots: { customRender: 'pbpBudget' },\n width: 120,\n align: 'right'\n },\n {\n title: 'CBU budget',\n dataIndex: 'cbuBudget',\n key: 'cbuBudget',\n slots: { customRender: 'cbuBudget' },\n width: 120,\n align: 'right'\n },\n {\n title: 'Total budget',\n dataIndex: 'totalBudget',\n key: 'totalBudget',\n slots: { customRender: 'totalBudget' },\n width: 120,\n align: 'right'\n },\n // {\n // title: 'Batch status',\n // dataIndex: 'status',\n // key: 'status',\n // width: 160\n // },\n {\n title: 'Requestor',\n dataIndex: 'packageSaveActorId',\n key: 'packageSaveActorId',\n width: 120\n },\n {\n title: 'Submit date',\n dataIndex: 'packageSubmitTime',\n key: 'packageSubmitTime',\n slots: { customRender: 'submitDate' },\n width: 120\n },\n {\n title: 'Approval Date',\n dataIndex: 'packageApprovalDate',\n key: 'packageApprovalDate',\n width: 160\n },\n {\n title: 'Tracking',\n dataIndex: 'logDtoList',\n key: 'logDtoList',\n slots: { customRender: 'tracking' },\n width: 100,\n align: 'center'\n }\n ];\n interface TreeDataItem {\n value: string;\n key: string;\n title?: string;\n disabled?: boolean;\n children?: TreeDataItem[];\n }\n const qmOptions: TreeDataItem[] = [\n {\n title: 'Q1',\n value: 'Q1',\n key: 'Q1',\n children: [\n {\n title: '01',\n value: '01',\n key: '01',\n },\n {\n title: '02',\n value: '02',\n key: '02',\n },\n {\n title: '03',\n value: '03',\n key: '03',\n },\n ],\n },\n {\n title: 'Q2',\n value: 'Q2',\n key: 'Q2',\n children: [\n {\n title: '04',\n value: '04',\n key: '04',\n },\n {\n title: '05',\n value: '05',\n key: '05',\n },\n {\n title: '06',\n value: '06',\n key: '06',\n },\n ],\n },\n {\n title: 'Q3',\n value: 'Q3',\n key: 'Q3',\n children: [\n {\n title: '07',\n value: '07',\n key: '07',\n },\n {\n title: '08',\n value: '08',\n key: '08',\n },\n {\n title: '09',\n value: '09',\n key: '09',\n },\n ],\n },\n {\n title: 'Q4',\n value: 'Q4',\n key: 'Q4',\n children: [\n {\n title: '10',\n value: '10',\n key: '10',\n },\n {\n title: '11',\n value: '11',\n key: '11',\n },\n {\n title: '12',\n value: '12',\n key: '12',\n },\n ],\n },\n ];\n\n export default defineComponent({\n name: \"BatchTracking\",\n components: { Pagination },\n setup() {\n \n\n const { tableHeight } = useTableHeight();\n\n //Bu\n const { data: buOptions } = useFetch({}, [], getSubscribedBu);\n\n //Status\n const { data: packageStatus } = useFetch({ type: '1' }, [], getApproveStatus);\n\n\n // 年份\n const year = ref(moment().add('month', 1).format('YYYY'));\n const openYear = ref(false);\n const handlerOpenChange = (status: any): void =>{\n if (status) {\n openYear.value = true;\n }\n }\n const handlerPanelChange = (value: string): void =>{\n const time = moment(value).format('YYYY');\n year.value = time as string;\n openYear.value = false;\n }\n\n // 季度 月份\n const getDefaultQm = (): string => {\n return 'Q' + moment().add('month', 1).quarter();\n }\n const qm = ref([getDefaultQm()]);\n //分页事件处理\n const queryParams = reactive({\n bu: [],\n batchName: '',\n year: year.value,\n qm: qm.value,\n batchStatus: 'Approved'\n });\n\n const { data, pagination, refreshFetch } = useFetch(queryParams, [], getBatchTracking, true)\n\n\n const handlerPaginationChange = (page: number): void => {\n pagination.page = page;\n refreshFetch();\n }\n\n const handlerShowSizeChange = (current: number, pageSize: number): void => {\n pagination.pageSize = pageSize;\n Object.assign(pagination, { page: current, pageSize: pageSize });\n refreshFetch();\n }\n\n // const handlerPeriodChange = (date: string[]): void => {\n // queryParams.from = date[0];\n // queryParams.to = date[1];\n // }\n\n const handlerResetClick = (): void => {\n Object.assign(queryParams, {\n bu: [],\n batchName: '',\n year: moment().add('month', 1).format('YYYY'),\n qm: [getDefaultQm()],\n batchStatus: ''\n })\n year.value = moment().add('month', 1).format('YYYY')\n qm.value = [getDefaultQm()]\n refreshFetch(1);\n\n }\n\n const handlerSearchClick = (): void => {\n Object.assign(queryParams, {year: year.value, qm: qm.value})\n refreshFetch(1);\n }\n\n return {\n //table\n columns,\n data,\n tableHeight,\n pagination,\n\n //select options\n buOptions,\n packageStatus,\n\n //queryParams\n ...toRefs(queryParams),\n\n //事件处理\n handlerPaginationChange,\n handlerShowSizeChange,\n // handlerPeriodChange,\n handlerResetClick,\n handlerSearchClick,\n\n //moment\n moment,\n\n //数字转换\n toThousands,\n\n //year q/m\n year,\n qm,\n openYear,\n handlerOpenChange,\n handlerPanelChange,\n qmOptions,\n SHOW_PARENT\n }\n }\n })\n","import { render } from \"./BatchTracking.vue?vue&type=template&id=45671aa7&scoped=true&ts=true\"\nimport script from \"./BatchTracking.vue?vue&type=script&lang=ts\"\nexport * from \"./BatchTracking.vue?vue&type=script&lang=ts\"\n\nimport \"./BatchTracking.vue?vue&type=style&index=0&id=45671aa7&scoped=true&lang=scss\"\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-45671aa7\"]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createBlock as _createBlock, createVNode as _createVNode, vShow as _vShow, withDirectives as _withDirectives, createCommentVNode as _createCommentVNode, normalizeClass as _normalizeClass, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nimport _imports_0 from '@/assets/images/date-icon.svg'\nimport _imports_1 from '@/assets/images/tracking-icon.svg'\n\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-65e18d15\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"container d-f flex-d-c m-t-8\" }\nconst _hoisted_2 = { class: \"p-r\" }\nconst _hoisted_3 = { class: \"d-f\" }\nconst _hoisted_4 = { class: \"d-f flex-d-c flex-w-auto\" }\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"label-text-12\" }, \"BU\", -1))\nconst _hoisted_6 = { class: \"d-f flex-d-c flex-w-auto m-l-16\" }\nconst _hoisted_7 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"label-text-12\" }, \"Program Name\", -1))\nconst _hoisted_8 = { class: \"d-f flex-d-c flex-w-auto m-l-16\" }\nconst _hoisted_9 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"label-text-12\" }, \"Program Period\", -1))\nconst _hoisted_10 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", {\n src: _imports_0,\n alt: \"\"\n}, null, -1))\nconst _hoisted_11 = { class: \"d-f flex-d-c flex-w-auto m-l-16\" }\nconst _hoisted_12 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"label-text-12\" }, \"Type Class\", -1))\nconst _hoisted_13 = { class: \"d-f flex-d-c flex-w-auto m-l-16\" }\nconst _hoisted_14 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"label-text-12\" }, \"Program Status\", -1))\nconst _hoisted_15 = { style: {\"padding-top\":\"25px\",\"flex\":\"1.5\"} }\nconst _hoisted_16 = { class: \"f-r\" }\nconst _hoisted_17 = /*#__PURE__*/_createTextVNode(\"Reset\")\nconst _hoisted_18 = /*#__PURE__*/_createTextVNode(\"Search\")\nconst _hoisted_19 = /*#__PURE__*/_createTextVNode(\" Expand \")\nconst _hoisted_20 = { class: \"d-f m-t-16\" }\nconst _hoisted_21 = { class: \"d-f flex-w-auto flex-d-c\" }\nconst _hoisted_22 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"label-text-12\" }, \"Program Code\", -1))\nconst _hoisted_23 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"d-f flex-w-auto flex-d-c m-l-16\" }, null, -1))\nconst _hoisted_24 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"d-f flex-w-auto flex-d-c m-l-16\" }, null, -1))\nconst _hoisted_25 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"flex-w-auto m-l-16 hide\" }, null, -1))\nconst _hoisted_26 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"flex-w-auto m-l-16 hide\" }, null, -1))\nconst _hoisted_27 = { class: \"flex-div btns\" }\nconst _hoisted_28 = /*#__PURE__*/_createTextVNode(\"Reset\")\nconst _hoisted_29 = /*#__PURE__*/_createTextVNode(\"Search\")\nconst _hoisted_30 = /*#__PURE__*/_createTextVNode(\" Collapse \")\nconst _hoisted_31 = { class: \"table-wrapper flex-w-auto\" }\nconst _hoisted_32 = [\"title\", \"onClick\"]\nconst _hoisted_33 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", {\n src: _imports_1,\n alt: \"\"\n}, null, -1))\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_a_select_option = _resolveComponent(\"a-select-option\")!\n const _component_a_select = _resolveComponent(\"a-select\")!\n const _component_a_input = _resolveComponent(\"a-input\")!\n const _component_a_range_picker = _resolveComponent(\"a-range-picker\")!\n const _component_a_button = _resolveComponent(\"a-button\")!\n const _component_router_link = _resolveComponent(\"router-link\")!\n const _component_a_tooltip = _resolveComponent(\"a-tooltip\")!\n const _component_a_table = _resolveComponent(\"a-table\")!\n const _component_table_wrapper = _resolveComponent(\"table-wrapper\")!\n const _component_program_preview = _resolveComponent(\"program-preview\")!\n const _component_WordingBudget = _resolveComponent(\"WordingBudget\")!\n const _component_Pagination = _resolveComponent(\"Pagination\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _hoisted_5,\n _createVNode(_component_a_select, {\n value: _ctx.bu,\n \"onUpdate:value\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.bu) = $event)),\n mode: \"multiple\",\n showArrow: true\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.buOptions, (item, index) => {\n return (_openBlock(), _createBlock(_component_a_select_option, {\n value: item.orgid,\n key: index\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(item.orgnmen), 1)\n ]),\n _: 2\n }, 1032, [\"value\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n _hoisted_7,\n _createVNode(_component_a_input, {\n value: _ctx.programName,\n \"onUpdate:value\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.programName) = $event))\n }, null, 8, [\"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_8, [\n _hoisted_9,\n _createVNode(_component_a_range_picker, {\n style: {width: 100 + '%'},\n value: [_ctx.from, _ctx.to],\n onChange: _ctx.handlerPeriodChange,\n format: \"YYYY-MM-DD\",\n valueFormat: \"YYYY-MM-DD\"\n }, {\n suffixIcon: _withCtx(() => [\n _hoisted_10\n ]),\n _: 1\n }, 8, [\"value\", \"onChange\"])\n ]),\n _createElementVNode(\"div\", _hoisted_11, [\n _hoisted_12,\n _createVNode(_component_a_select, {\n value: _ctx.type,\n \"onUpdate:value\": _cache[2] || (_cache[2] = ($event: any) => ((_ctx.type) = $event)),\n mode: \"multiple\",\n showArrow: true,\n \"show-search\": \"\",\n \"option-filter-prop\": \"children\",\n \"filter-option\": _ctx.filterOption\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.typeClassOptions, (item, index) => {\n return (_openBlock(), _createBlock(_component_a_select_option, {\n value: item,\n key: index\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(item), 1)\n ]),\n _: 2\n }, 1032, [\"value\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"value\", \"filter-option\"])\n ]),\n _withDirectives(_createElementVNode(\"div\", _hoisted_13, [\n _hoisted_14,\n _createVNode(_component_a_select, {\n value: _ctx.programStatus,\n \"onUpdate:value\": _cache[3] || (_cache[3] = ($event: any) => ((_ctx.programStatus) = $event))\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.programStatusOptions, (item, index) => {\n return (_openBlock(), _createBlock(_component_a_select_option, {\n value: item.id,\n key: index\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(item.display), 1)\n ]),\n _: 2\n }, 1032, [\"value\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"value\"])\n ], 512), [\n [_vShow, _ctx.isOpen]\n ]),\n _withDirectives(_createElementVNode(\"div\", _hoisted_15, [\n _createElementVNode(\"div\", _hoisted_16, [\n (_ctx.$btnPermissions('PROGRAM TRACKING RESET'))\n ? (_openBlock(), _createBlock(_component_a_button, {\n key: 0,\n class: \"m-l-16\",\n onClick: _ctx.handlerResetClick\n }, {\n default: _withCtx(() => [\n _hoisted_17\n ]),\n _: 1\n }, 8, [\"onClick\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.$btnPermissions('PROGRAM TRACKING SEARCH'))\n ? (_openBlock(), _createBlock(_component_a_button, {\n key: 1,\n class: \"m-l-16\",\n type: \"primary\",\n onClick: _ctx.handlerSearchClick\n }, {\n default: _withCtx(() => [\n _hoisted_18\n ]),\n _: 1\n }, 8, [\"onClick\"]))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_a_button, {\n type: \"link\",\n onClick: _ctx.handleCollapse,\n style: {\"padding-right\":\"0\"}\n }, {\n default: _withCtx(() => [\n _hoisted_19,\n _createElementVNode(\"i\", {\n class: _normalizeClass([\"font_family m-l-5 v-align-1\", _ctx.isOpen ? 'icon-xiangshang': 'icon-xiangxia'])\n }, null, 2)\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ])\n ], 512), [\n [_vShow, !_ctx.isOpen]\n ])\n ]),\n _withDirectives(_createElementVNode(\"div\", _hoisted_20, [\n _createElementVNode(\"div\", _hoisted_21, [\n _hoisted_22,\n _createVNode(_component_a_input, {\n value: _ctx.programCode,\n \"onUpdate:value\": _cache[4] || (_cache[4] = ($event: any) => ((_ctx.programCode) = $event))\n }, null, 8, [\"value\"])\n ]),\n _hoisted_23,\n _hoisted_24,\n _hoisted_25,\n _hoisted_26\n ], 512), [\n [_vShow, _ctx.isOpen]\n ]),\n _withDirectives(_createElementVNode(\"div\", _hoisted_27, [\n _createVNode(_component_a_button, {\n class: \"m-l-16\",\n onClick: _ctx.handlerResetClick\n }, {\n default: _withCtx(() => [\n _hoisted_28\n ]),\n _: 1\n }, 8, [\"onClick\"]),\n _createVNode(_component_a_button, {\n class: \"m-l-16\",\n type: \"primary\",\n onClick: _ctx.handlerSearchClick\n }, {\n default: _withCtx(() => [\n _hoisted_29\n ]),\n _: 1\n }, 8, [\"onClick\"]),\n _createVNode(_component_a_button, {\n type: \"link\",\n onClick: _ctx.handleCollapse,\n style: {\"padding-right\":\"0\"}\n }, {\n default: _withCtx(() => [\n _hoisted_30,\n _createElementVNode(\"i\", {\n class: _normalizeClass([\"font_family m-l-5 v-align-1\", _ctx.isOpen ? 'icon-xiangshang': 'icon-xiangxia'])\n }, null, 2)\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ], 512), [\n [_vShow, _ctx.isOpen]\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_31, [\n _createVNode(_component_table_wrapper, { visible: _ctx.visible }, {\n default: _withCtx(() => [\n _createVNode(_component_a_table, {\n class: \"tab-container m-t-16 default-self-table-text\",\n dataSource: _ctx.data,\n columns: _ctx.columns,\n pagination: false,\n scroll: { y: _ctx.tableHeight, x: 1100 },\n rowClassName: (record, index) => (index === _ctx.currentClickRowIndex ? 'table-highlight' : (index % 2 === 1 ? 'table-striped' : null)),\n rowKey: (item, index) => index\n }, {\n programName: _withCtx(({ text, record, index }) => [\n _createElementVNode(\"span\", {\n title: text,\n class: \"program-name cursor-p\",\n onClick: ($event: any) => (_ctx.handlerClickProgramName(record, index))\n }, _toDisplayString(text), 9, _hoisted_32)\n ]),\n batchName: _withCtx(({ text, record }) => [\n _createVNode(_component_router_link, {\n title: text,\n to: `/approval/mg/package/${record.batchId}?tag=${_ctx.$route.query.tag}`\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(text), 1)\n ]),\n _: 2\n }, 1032, [\"title\", \"to\"])\n ]),\n periodFrom: _withCtx(({ text }) => [\n _createTextVNode(_toDisplayString(text ? _ctx.moment(text).format('YYYY-MM-DD') : text), 1)\n ]),\n to: _withCtx(({ text }) => [\n _createTextVNode(_toDisplayString(text ? _ctx.moment(text).format('YYYY-MM-DD') : text), 1)\n ]),\n lastUpdate: _withCtx(({ text }) => [\n _createTextVNode(_toDisplayString(text ? _ctx.moment(text).format('YYYY-MM-DD') : text), 1)\n ]),\n tracking: _withCtx(({ text }) => [\n _createVNode(_component_a_tooltip, { placement: \"topLeft\" }, {\n title: _withCtx(() => [\n _createElementVNode(\"ul\", null, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(text, (item, index) => {\n return (_openBlock(), _createElementBlock(\"li\", { key: index }, _toDisplayString(item.createdAt ?\n _ctx.moment(item.createdAt).format('YYYY-MM-DD') : item.createdAt) + \" \" + _toDisplayString(item.operator) + \" \" + _toDisplayString(item.approvalStatus), 1))\n }), 128))\n ])\n ]),\n default: _withCtx(() => [\n _hoisted_33\n ]),\n _: 2\n }, 1024)\n ]),\n _: 1\n }, 8, [\"dataSource\", \"columns\", \"scroll\", \"rowClassName\", \"rowKey\"])\n ]),\n _: 1\n }, 8, [\"visible\"]),\n _createVNode(_component_program_preview, {\n visible: _ctx.visible,\n \"onUpdate:visible\": _cache[5] || (_cache[5] = ($event: any) => ((_ctx.visible) = $event)),\n program: _ctx.programPreviewData,\n \"onUpdate:program\": _cache[6] || (_cache[6] = ($event: any) => ((_ctx.programPreviewData) = $event))\n }, null, 8, [\"visible\", \"program\"])\n ]),\n (_ctx.visiblePreview)\n ? (_openBlock(), _createBlock(_component_WordingBudget, {\n key: 0,\n wordingpreviewvisible: _ctx.visiblePreview,\n \"onUpdate:wordingpreviewvisible\": _cache[7] || (_cache[7] = ($event: any) => ((_ctx.visiblePreview) = $event))\n }, null, 8, [\"wordingpreviewvisible\"]))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_Pagination, {\n onChange: _ctx.handlerPaginationChange,\n onShowSizeChange: _ctx.handlerShowSizeChange,\n pageSize: _ctx.pagination.pageSize,\n current: _ctx.pagination.page,\n total: _ctx.pagination.total\n }, null, 8, [\"onChange\", \"onShowSizeChange\", \"pageSize\", \"current\", \"total\"])\n ]))\n}","\n import { defineComponent, reactive, ref, toRefs, nextTick } from 'vue';\n import { useStore } from 'vuex';\n import moment from \"moment\";\n import Pagination from \"@/components/Pagination.vue\";\n import TableWrapper from \"@/components/TableWrapper.vue\";\n import ProgramPreview from \"@/views/Approve/components/ProgramPreview.vue\";\n import useFetch from \"@/hooks/useFetch\";\n import useTableHeight from \"@/hooks/useTableHeight\";\n import useTableRowHighlight from \"@/hooks/approve/useTableRowHighlight\";\n import {\n getSubscribedBu,\n getVehicleTypeClass,\n getProgramTracking,\n getProgramStatus\n } from \"@/API/approve\";\n import { BuItem, ProgramStatusItem, TypeClassItem } from \"@/views/Approve/SalesRoleApprove/ProgramHome/types\";\n import { ProgramTracking, ProgramTrackingQueryParams } from '../types';\n import { useRouter } from \"vue-router\";\n import WordingBudget from '@/views/Program/Wording/WordingBudget.vue'\n\n const columns = [\n {\n title: 'BU',\n dataIndex: 'bu',\n key: 'bu',\n width: 100\n },\n {\n title: 'Program Name',\n dataIndex: 'programName',\n key: 'programName',\n slots: { customRender: 'programName' },\n width: 240,\n ellipsis: true\n },\n {\n title: 'Program Code',\n dataIndex: 'programCode',\n key: 'programCode',\n width: 150,\n ellipsis: true\n },\n {\n title: 'Batch Name',\n dataIndex: 'batchName',\n key: 'batchName',\n slots: { customRender: 'batchName' },\n width: 240,\n ellipsis: true\n },\n {\n title: 'Make',\n dataIndex: 'make',\n key: 'make',\n width: 120\n },\n {\n title: 'Period from',\n dataIndex: 'periodFrom',\n key: 'periodFrom',\n slots: { customRender: 'periodFrom' },\n width: 120\n },\n {\n title: 'To',\n dataIndex: 'to',\n key: 'to',\n slots: { customRender: 'to' },\n width: 120\n },\n {\n title: 'Program status',\n dataIndex: 'programStatus',\n key: 'programStatus',\n width: 120\n },\n {\n title: 'Last update',\n dataIndex: 'lastUpdate',\n key: 'lastUpdate',\n slots: { customRender: 'lastUpdate' },\n width: 120\n },\n {\n title: 'Tracking',\n dataIndex: 'logDtoList',\n key: 'logDtoList',\n slots: { customRender: 'tracking' },\n width: 100,\n align: 'center'\n }\n ];\n\n export default defineComponent({\n name: \"BatchTracking\",\n components: { Pagination, TableWrapper, ProgramPreview, WordingBudget },\n setup() {\n const store = useStore();\n const router = useRouter();\n const visible = ref(false);\n\n const programPreviewData = reactive<{ programId: string; programPeriod: string}>({\n programId: '',\n programPeriod: ''\n });\n\n const { tableHeight } = useTableHeight();\n const isOpen = ref(false)\n const handleCollapse = () => {\n isOpen.value = !isOpen.value\n nextTick(() => {\n const tablePosition = useTableHeight(true, '.pagination-container', true);\n tableHeight.value = tablePosition.tableHeight.value\n })\n }\n\n //Bu\n const { data: buOptions } = useFetch({}, [], getSubscribedBu);\n\n //typeClass\n const { data: typeClassOptions } = useFetch({}, [], getVehicleTypeClass);\n\n //查询program status\n const { data: programStatusOptions } = useFetch({}, [], getProgramStatus);\n\n const queryParams = reactive({\n bu: [],\n programName: '',\n from: '',\n to: '',\n type: [],\n programStatus: '',\n programCode: ''\n });\n\n const { data, pagination, refreshFetch } = useFetch(queryParams, [], getProgramTracking, true);\n\n const { currentClickRowIndex, handlerRowClick } = useTableRowHighlight(visible);\n\n const filterOption = (input: string, option: any) => {\n return option.props.value.toLowerCase().indexOf(input.toLowerCase()) >= 0;\n }\n\n //分页事件处理\n const handlerPaginationChange = (page: number): void => {\n pagination.page = page;\n refreshFetch();\n }\n\n const handlerShowSizeChange = (current: number, pageSize: number): void => {\n Object.assign(pagination, { page: 1, pageSize: pageSize });\n refreshFetch();\n }\n\n const handlerPeriodChange = (date: string[]): void => {\n queryParams.from = date[0];\n queryParams.to = date[1];\n }\n // woridng preview\n const visiblePreview = ref(false)\n const handlerClickProgramName = (record: ProgramTracking, index: number): void => {\n // visible.value = true;\n programPreviewData.programId = record.programId;\n programPreviewData.programPeriod = `${moment(record.periodFrom).format('YYYY.MM')}-${moment(record.to).format('YYYY.MM')}`;\n // router.push({\n // path: \"/wordingbudget\",\n // query: {\n // programId: programPreviewData.programId,\n // programPeriod: programPreviewData.programPeriod\n // }\n // });\n const params = {\n programId: programPreviewData.programId,\n programPeriod: programPreviewData.programPeriod,\n programName: `${record.programName}(${record.programCode})`\n }\n sessionStorage.setItem('previewPgmId', record.programId)\n visiblePreview.value = true\n // sessionStorage.setItem('paramsWording', JSON.stringify(params))\n // window.open(`${window.location.origin}/#/wordingbudget`)\n //点击高亮\n handlerRowClick(index);\n }\n\n const handlerResetClick = (): void => {\n Object.assign(queryParams, {\n bu: [],\n programName: '',\n from: '',\n to: '',\n type: [],\n programStatus: '',\n programCode: ''\n })\n refreshFetch(1);\n }\n\n const handlerSearchClick = (): void => {\n refreshFetch(1);\n }\n\n return {\n columns,\n data,\n pagination,\n tableHeight,\n\n //wording\n visible,\n programPreviewData,\n\n //事件处理\n handlerPaginationChange,\n handlerShowSizeChange,\n handlerPeriodChange,\n handlerClickProgramName,\n handlerResetClick,\n handlerSearchClick,\n\n //queryParams\n ...toRefs(queryParams),\n\n //select options\n buOptions,\n typeClassOptions,\n programStatusOptions,\n\n //select\n filterOption,\n\n //moment\n moment,\n\n //store\n store,\n\n //高亮table row\n currentClickRowIndex,\n isOpen,\n handleCollapse,\n visiblePreview\n }\n }\n })\n","import { render } from \"./ProgramTracking.vue?vue&type=template&id=65e18d15&scoped=true&ts=true\"\nimport script from \"./ProgramTracking.vue?vue&type=script&lang=ts\"\nexport * from \"./ProgramTracking.vue?vue&type=script&lang=ts\"\n\nimport \"./ProgramTracking.vue?vue&type=style&index=0&id=65e18d15&scoped=true&lang=scss\"\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-65e18d15\"]])\n\nexport default __exports__","\n import { defineComponent, ref, onMounted } from 'vue';\n import { useRouter, useRoute, onBeforeRouteUpdate } from 'vue-router';\n import { useStore } from 'vuex';\n //pending approve\n import PendingApprove from \"./components/PendingApprove.vue\";\n //batch tracking`\n import BatchTracking from \"./components/BatchTracking.vue\";\n //program tracking\n import ProgramTracking from \"./components/ProgramTracking.vue\";\n\n export default defineComponent({\n name: \"PaddingApprovePackage\",\n components: {\n PendingApprove,\n BatchTracking,\n ProgramTracking\n },\n setup() {\n const router = useRouter();\n\n const route = useRoute();\n\n const { state } = useStore();\n\n const pendingApproveRef = ref();\n\n const selectPendingApprove = ref(0);\n\n //当前的tab\n const currentTab = ref('');\n\n const handlerTab = (tab: string): void => {\n router.push(`/mg/packageHome?tag=${tab}`);\n }\n\n const handlerApproveOrReject = (status: string): void => {\n //调用pendingApprove组件的handlerApprove方法\n pendingApproveRef.value.handlerApproveOrReject(status);\n }\n\n onMounted(() => {\n const tag: string = route.query.tag as string | null || 'pendingApprove';\n currentTab.value = tag;\n })\n\n onBeforeRouteUpdate((to, form, next) => {\n currentTab.value = to.query.tag as string || 'pendingApprove';\n next()\n })\n\n return {\n currentTab,\n handlerTab,\n handlerApproveOrReject,\n pendingApproveRef,\n selectPendingApprove,\n\n // store\n state\n }\n }\n })\n","import { render } from \"./index.vue?vue&type=template&id=5c2050c6&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=5c2050c6&scoped=true&lang=scss\"\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-5c2050c6\"]])\n\nexport default __exports__","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!./PendingApprove.vue?vue&type=style&index=0&id=7a8ba315&scoped=true&lang=scss\"","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!./ApproveConfirmModal.vue?vue&type=style&index=1&id=59208864&lang=scss\"","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=5c2050c6&scoped=true&lang=scss\"","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!./ApproveConfirmModal.vue?vue&type=style&index=0&id=59208864&scoped=true&lang=scss\"","import { renderSlot as _renderSlot, normalizeStyle as _normalizeStyle, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"table\",\n style: _normalizeStyle({width: _ctx.visible ? '50%' : '100%'})\n }, [\n _renderSlot(_ctx.$slots, \"default\", {}, undefined, true)\n ], 4))\n}","\n import { defineComponent } from 'vue';\n export default defineComponent({\n name: \"TableWrapper\",\n props: {\n visible: {\n type: Boolean,\n default: false\n }\n }\n })\n","import { render } from \"./TableWrapper.vue?vue&type=template&id=037b2547&scoped=true&ts=true\"\nimport script from \"./TableWrapper.vue?vue&type=script&lang=ts\"\nexport * from \"./TableWrapper.vue?vue&type=script&lang=ts\"\n\nimport \"./TableWrapper.vue?vue&type=style&index=0&id=037b2547&scoped=true&lang=scss\"\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-037b2547\"]])\n\nexport default __exports__"],"sourceRoot":""}