{"version":3,"sources":["webpack:///./src/components/Pagination.vue?1871","webpack:///./src/components/Pagination.vue","webpack:///./src/components/Pagination.vue?abc7","webpack:///./src/components/Pagination.vue?8fea","webpack:///./src/views/Approve/SalesRoleApprove/ReleasePackageHome/index.vue?96fc","webpack:///./src/views/Approve/SalesRoleApprove/ReleasePackageHome/index.vue","webpack:///./src/views/Approve/SalesRoleApprove/ReleasePackageHome/index.vue?59f2","webpack:///./src/views/Approve/SalesRoleApprove/ReleasePackageHome/index.vue?9ba0"],"names":["_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","_hoisted_6","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_11","_hoisted_12","_hoisted_13","style","_hoisted_14","_hoisted_15","_hoisted_16","_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","_hoisted_34","_hoisted_35","_hoisted_36","_hoisted_37","_component_Breadcrumb","_component_a_select_option","_component_a_select","_component_a_date_picker","_component_a_input","_component_a_button","_component_a_checkbox","_component_router_link","_component_a_table","_component_Pagination","_component_main_wrapper","className","header","dataSource","value","bu","$event","buOptions","item","index","orgid","key","orgnmen","_","width","releasePeriod","format","valueFormat","releaseBatchName","maxlength","status","releaseStatusOptions","mbafcStatus","faStatusOptions","isOpen","$btnPermissions","onClick","handlerResetClick","handlerSearchClick","handleCollapse","mbclStatus","checked","myBatch","handlerSendClick","handlerPdfPreviewClick","handleWordingDownload","handlerDisCardClick","data","columns","pagination","rowSelection","scroll","y","tableHeight","x","rowClassName","record","rowKey","batchReleaseName","text","title","to","id","releaseAt","moment","releaseTo","handlerPaginationChange","page","dataIndex","slots","customRender","align","ellipsis","components","Pagination","useTableHeight","tablePosition","queryParams","useFetch","refreshFetch","selectedRowKeys","selectedRows","selectedRowData","validatePackageStatus","messageText","Promise","resolve","reject","length","message","error","every","Object","assign","then","map","res","params","batchId","join","success","confirm","onOk","catch","e","onCancel","console","log","href","window","URL","createObjectURL","open","setTimeout","revokeObjectURL","blobDownload","url","resetTableSelectData"],"mappings":"gIAGMA,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,aAAc,SAAAJ,GAAS,eAASA,EAAK,UACrCK,SAAUZ,EAAKa,cACfC,iBAAkBd,EAAKe,uBACtB,KAAM,EAAG,CAAC,QAAS,UAAW,kBAAmB,WAAY,kBAAmB,aAAc,WAAY,uBCjB9F,mCAAgB,CAC3BC,KAAM,aACNC,MAAO,CACHV,MAAO,CACHW,KAAMC,OACNC,QAAS,EACTC,UAAU,GAEdV,gBAAiB,CACbO,KAAMI,OAEVZ,SAAU,CACNQ,KAAMC,OACNC,QAAS,IAEbX,gBAAiB,CACbS,KAAMC,OACNC,QAAS,IAEbZ,QAAS,CACLU,KAAMC,OACNC,QAAS,EACTC,UAAU,GAEdE,iBAAkB,CACdL,KAAMM,QACNJ,SAAS,GAEbK,gBAAiB,CACbP,KAAMM,QACNJ,SAAS,GAEbM,gBAAiB,CACbR,KAAMM,QACNJ,SAAS,IAGjBO,MAAO,CA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BAAqB,O,oCCxRrC,MAAMrF,GAA2B,KAAgB,GAAQ,CAAC,CAAC,SAASjC,GAAQ,CAAC,YAAY,qBAE1E,iB,kCCTf","file":"js/chunk-06c89462.763863d6.js","sourcesContent":["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!./Pagination.vue?vue&type=style&index=0&id=cee45ef6&scoped=true&lang=scss\"","import { resolveComponent as _resolveComponent, createVNode as _createVNode, createElementVNode as _createElementVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, createBlock as _createBlock, vShow as _vShow, withDirectives as _withDirectives, createCommentVNode as _createCommentVNode, normalizeClass as _normalizeClass, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-19c7602e\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"searchMain bg-fff m-t-8\" }\nconst _hoisted_2 = { class: \"d-f\" }\nconst _hoisted_3 = { class: \"d-f flex-d-c flex-w-auto m-l-16\" }\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\" }, \"Release Period\", -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\" }, \"Batch Release Name\", -1))\nconst _hoisted_9 = { class: \"d-f flex-d-c flex-w-auto m-l-16\" }\nconst _hoisted_10 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"label-text-12\" }, \"Batch Status\", -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\" }, \"MBCL App.Status\", -1))\nconst _hoisted_13 = {\n class: \"flex-w-auto\",\n style: {\"padding-top\":\"25px\",\"flex\":\"1.5\"}\n}\nconst _hoisted_14 = { class: \"f-r\" }\nconst _hoisted_15 = /*#__PURE__*/_createTextVNode(\"Reset\")\nconst _hoisted_16 = /*#__PURE__*/_createTextVNode(\"Search\")\nconst _hoisted_17 = /*#__PURE__*/_createTextVNode(\" Expand \")\nconst _hoisted_18 = { class: \"d-f m-t-16\" }\nconst _hoisted_19 = { class: \"d-f flex-w-auto flex-d-c m-l-16\" }\nconst _hoisted_20 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"label-text-12\" }, \"MBAFC App.Status\", -1))\nconst _hoisted_21 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"flex-w-auto m-l-16 hide\" }, null, -1))\nconst _hoisted_22 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"flex-w-auto m-l-16 hide\" }, null, -1))\nconst _hoisted_23 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"flex-w-auto m-l-16 hide\" }, null, -1))\nconst _hoisted_24 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"flex-w-auto m-l-16 hide\" }, null, -1))\nconst _hoisted_25 = { class: \"d-f search-btns\" }\nconst _hoisted_26 = /*#__PURE__*/_createTextVNode(\"Reset\")\nconst _hoisted_27 = /*#__PURE__*/_createTextVNode(\"Search\")\nconst _hoisted_28 = /*#__PURE__*/_createTextVNode(\" Collapse \")\nconst _hoisted_29 = { class: \"table-main bg-fff m-t-8 flex-w-auto\" }\nconst _hoisted_30 = { class: \"d-f justify-b\" }\nconst _hoisted_31 = { class: \"d-f\" }\nconst _hoisted_32 = /*#__PURE__*/_createTextVNode(\"My Release Batch\")\nconst _hoisted_33 = { class: \"d-f\" }\nconst _hoisted_34 = /*#__PURE__*/_createTextVNode(\"Send\")\nconst _hoisted_35 = /*#__PURE__*/_createTextVNode(\"PDF Preview\")\nconst _hoisted_36 = /*#__PURE__*/_createTextVNode(\"Download\")\nconst _hoisted_37 = /*#__PURE__*/_createTextVNode(\"Discard\")\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_select_option = _resolveComponent(\"a-select-option\")!\n const _component_a_select = _resolveComponent(\"a-select\")!\n const _component_a_date_picker = _resolveComponent(\"a-date-picker\")!\n const _component_a_input = _resolveComponent(\"a-input\")!\n const _component_a_button = _resolveComponent(\"a-button\")!\n const _component_a_checkbox = _resolveComponent(\"a-checkbox\")!\n const _component_router_link = _resolveComponent(\"router-link\")!\n const _component_a_table = _resolveComponent(\"a-table\")!\n const _component_Pagination = _resolveComponent(\"Pagination\")!\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 ]),\n default: _withCtx(() => [\n _createElementVNode(\"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 }, {\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_date_picker, {\n style: {width: 100 + '%'},\n value: _ctx.releasePeriod,\n \"onUpdate:value\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.releasePeriod) = $event)),\n format: \"YYYY-MM-DD\",\n valueFormat: \"YYYY-MM-DD\"\n }, null, 8, [\"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_7, [\n _hoisted_8,\n _createVNode(_component_a_input, {\n value: _ctx.releaseBatchName,\n \"onUpdate:value\": _cache[2] || (_cache[2] = ($event: any) => ((_ctx.releaseBatchName) = $event)),\n maxlength: 50\n }, null, 8, [\"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_9, [\n _hoisted_10,\n _createVNode(_component_a_select, {\n value: _ctx.status,\n \"onUpdate:value\": _cache[3] || (_cache[3] = ($event: any) => ((_ctx.status) = $event))\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.releaseStatusOptions, (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\"])\n ]),\n _withDirectives(_createElementVNode(\"div\", _hoisted_11, [\n _hoisted_12,\n _createVNode(_component_a_select, {\n value: _ctx.mbafcStatus,\n \"onUpdate:value\": _cache[4] || (_cache[4] = ($event: any) => ((_ctx.mbafcStatus) = $event))\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.faStatusOptions, (item, index) => {\n return (_openBlock(), _createBlock(_component_a_select_option, {\n value: item.value,\n key: index\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(item.name), 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_13, [\n _createElementVNode(\"div\", _hoisted_14, [\n (_ctx.$btnPermissions('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_15\n ]),\n _: 1\n }, 8, [\"onClick\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.$btnPermissions('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_16\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_17,\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_18, [\n _createElementVNode(\"div\", _hoisted_19, [\n _hoisted_20,\n _createVNode(_component_a_select, {\n value: _ctx.mbclStatus,\n \"onUpdate:value\": _cache[5] || (_cache[5] = ($event: any) => ((_ctx.mbclStatus) = $event))\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.faStatusOptions, (item, index) => {\n return (_openBlock(), _createBlock(_component_a_select_option, {\n value: item.value,\n key: index\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(item.name), 1)\n ]),\n _: 2\n }, 1032, [\"value\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"value\"])\n ]),\n _hoisted_21,\n _hoisted_22,\n _hoisted_23,\n _hoisted_24\n ], 512), [\n [_vShow, _ctx.isOpen]\n ]),\n _withDirectives(_createElementVNode(\"div\", _hoisted_25, [\n (_ctx.$btnPermissions('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_26\n ]),\n _: 1\n }, 8, [\"onClick\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.$btnPermissions('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_27\n ]),\n _: 1\n }, 8, [\"onClick\"]))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_a_button, {\n type: \"link\",\n onClick: _ctx.handleCollapse\n }, {\n default: _withCtx(() => [\n _hoisted_28,\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_29, [\n _createElementVNode(\"div\", _hoisted_30, [\n _createElementVNode(\"div\", _hoisted_31, [\n _createVNode(_component_a_checkbox, {\n checked: _ctx.myBatch,\n \"onUpdate:checked\": _cache[6] || (_cache[6] = ($event: any) => ((_ctx.myBatch) = $event))\n }, {\n default: _withCtx(() => [\n _hoisted_32\n ]),\n _: 1\n }, 8, [\"checked\"])\n ]),\n _createElementVNode(\"div\", _hoisted_33, [\n _createVNode(_component_a_button, {\n class: \"m-l-16\",\n onClick: _ctx.handlerSendClick\n }, {\n default: _withCtx(() => [\n _hoisted_34\n ]),\n _: 1\n }, 8, [\"onClick\"]),\n _createVNode(_component_a_button, {\n class: \"m-l-16\",\n onClick: _ctx.handlerPdfPreviewClick\n }, {\n default: _withCtx(() => [\n _hoisted_35\n ]),\n _: 1\n }, 8, [\"onClick\"]),\n _createVNode(_component_a_button, {\n class: \"m-l-16\",\n onClick: _ctx.handleWordingDownload\n }, {\n default: _withCtx(() => [\n _hoisted_36\n ]),\n _: 1\n }, 8, [\"onClick\"]),\n _createVNode(_component_a_button, {\n class: \"m-l-16\",\n onClick: _ctx.handlerDisCardClick\n }, {\n default: _withCtx(() => [\n _hoisted_37\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ])\n ]),\n _createVNode(_component_a_table, {\n class: \"tab-container default-self-table-text m-t-16\",\n dataSource: _ctx.data,\n columns: _ctx.columns,\n pagination: false,\n \"row-selection\": _ctx.rowSelection,\n scroll: { y: _ctx.tableHeight, x: 1000 },\n rowClassName: (record, index) => (index % 2 === 1 ? 'table-striped' : null),\n rowKey: (item, index) => index\n }, {\n batchReleaseName: _withCtx(({ record, text }) => [\n _createVNode(_component_router_link, {\n title: text,\n class: \"ellipsis show\",\n style: {\"width\":\"207px\"},\n to: `/approval/sales/releaseSetting?releaseId=${record.id}&status=${record.status}`\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(text), 1)\n ]),\n _: 2\n }, 1032, [\"title\", \"to\"])\n ]),\n releaseAt: _withCtx(({ text }) => [\n _createTextVNode(_toDisplayString(text ? _ctx.moment(text).format('YYYY-MM-DD HH:mm:ss') : text), 1)\n ]),\n releaseTo: _withCtx(({ text }) => [\n _createTextVNode(_toDisplayString(text), 1)\n ]),\n _: 1\n }, 8, [\"dataSource\", \"columns\", \"row-selection\", \"scroll\", \"rowClassName\", \"rowKey\"]),\n _createVNode(_component_Pagination, {\n onChange: _ctx.handlerPaginationChange,\n current: _ctx.pagination.page,\n onShowSizeChange: _ctx.handlerShowSizeChange,\n pageSize: _ctx.pagination.pageSize,\n total: _ctx.pagination.total\n }, null, 8, [\"onChange\", \"current\", \"onShowSizeChange\", \"pageSize\", \"total\"])\n ])\n ]),\n _: 1\n }))\n}","\n import { defineComponent, reactive, ref, toRefs, onMounted, nextTick } from 'vue';\n import moment from \"moment\";\n import { ColumnProps } from 'ant-design-vue/es/table/interface';\n import Pagination from \"@/components/Pagination.vue\";\n import useFetch from \"@/hooks/useFetch\";\n import useTableHeight from \"@/hooks/useTableHeight\";\n import {\n getSubscribedBu,\n getReleaseBatchList,\n sendReleaseBatchList,\n sendReleaseEmail,\n discardReleaseBatch,\n pdfPreview,\n releaseBatchStatus\n } from \"@/API/approve\";\n import { QueryParams, ReleaseBatch } from './types';\n import { message, Modal } from \"ant-design-vue\";\n import {\n BuItem,\n } from \"@/views/Approve/SalesRoleApprove/ProgramHome/types\";\n import blobDownload from \"@/utils/blobDownload\";\n\n type Key = ColumnProps['key'];\n\n const columns = [\n {\n title: 'Batch Release Name',\n dataIndex: 'releaseBatchName',\n key: 'batchReleaseName',\n slots: { customRender: 'batchReleaseName' },\n width: 230,\n align: 'left',\n ellipsis: true\n },\n {\n title: 'Package Status',\n dataIndex: 'status',\n key: 'status',\n width: 130\n },\n {\n title: 'MBAFC Approval Status',\n dataIndex: 'mbafcapprovalStatus',\n key: 'mbafcapprovalStatus',\n width: 170\n },\n {\n title: 'MBLC Approval Status',\n dataIndex: 'mblcapprovalStatus',\n key: 'mblcapprovalStatus',\n width: 160\n },\n {\n title: 'Release Time',\n dataIndex: 'releaseAt',\n key: 'releaseAt',\n slots: { customRender: 'releaseAt' },\n width: 160\n },\n {\n title: 'Release To',\n dataIndex: 'releaseTo',\n key: 'releaseTo',\n slots: { customRender: 'releaseTo' },\n width: 160\n },\n {\n title: 'Release By',\n dataIndex: 'createdBy',\n key: 'releaseBy',\n width: 100\n }\n ];\n\n\n export default defineComponent({\n name: \"ProgramReleasePage\",\n components: { Pagination },\n setup() {\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 //query Params\n const queryParams = reactive({\n bu: '',\n releasePeriod: '',\n releaseBatchName: '',\n status: '',\n mbafcStatus: '',\n mbclStatus: '',\n myBatch: false\n });\n\n const { data, pagination, refreshFetch } = useFetch(queryParams, [], getReleaseBatchList, true);\n\n //查询bu options\n const { data: buOptions } = useFetch({}, [], getSubscribedBu);\n\n //mbfafc mbcl status\n const faStatusOptions = ref<{ name: string; value: string }[]>([\n { name: 'Not Uploaded', value: 'NotUploaded' },\n { name: 'Uploaded', value: 'Uploaded' }\n ]);\n\n //release status\n const { data: releaseStatusOptions } = useFetch({}, [], releaseBatchStatus);\n \n\n const rowSelection = reactive<{ selectedRowKeys: Key[]; selectedRowData: ReleaseBatch[]; onChange: Function }>({\n onChange: (selectedRowKeys: Key[], selectedRows: ReleaseBatch[]) => {\n rowSelection.selectedRowKeys = selectedRowKeys;\n rowSelection.selectedRowData = selectedRows;\n },\n selectedRowKeys: [],\n selectedRowData: []\n })\n\n const validatePackageStatus = (status: string, messageText: string): Promise => {\n return new Promise((resolve, reject) => {\n if (rowSelection.selectedRowData.length == 0) {\n message.error('Please select programs');\n return reject();\n }\n if (!rowSelection.selectedRowData.every((item) => item.status == status)) {\n message.error(messageText);\n return reject();\n }\n return resolve();\n })\n }\n\n //分页事件处理\n const handlerPaginationChange = (page: number): void => {\n pagination.page = page;\n refreshFetch();\n rowSelection.selectedRowData = [];\n rowSelection.selectedRowKeys = [];\n }\n\n const handlerShowSizeChange = (current: number, pageSize: number): void => {\n pagination.pageSize = pageSize;\n Object.assign(pagination, { page: 1, pageSize: pageSize });\n refreshFetch();\n rowSelection.selectedRowData = [];\n rowSelection.selectedRowKeys = [];\n }\n\n const handlerSendClick = (): void => {\n validatePackageStatus('Saved', '请选择状态为Saved状态的Release batch').then(data => {\n sendReleaseBatchList(rowSelection.selectedRowData.map(item => ({ id: item.id }))).then(res => {\n // message.success('send successfully');\n const params = {\n batchId: rowSelection.selectedRowData.map(item => ( item.id )).join()\n } \n sendReleaseEmail(params).then(() => {\n message.success('send successfully');\n })\n rowSelection.selectedRowData = [];\n rowSelection.selectedRowKeys = [];\n refreshFetch(1);\n })\n })\n }\n\n const handlerDisCardClick = (): void => {\n validatePackageStatus('Saved', '请选择状态为Saved状态的Release batch').then(data => {\n Modal.confirm({\n title: '提示',\n content: 'Discard Package ?',\n onOk() {\n return new Promise((resolve, reject) => {\n discardReleaseBatch(rowSelection.selectedRowData.map(item => ({ id: item.id }))).then(res => {\n message.success('Discard successfully');\n rowSelection.selectedRowData = [];\n rowSelection.selectedRowKeys = [];\n refreshFetch(1);\n resolve();\n }).catch(e => {\n reject();\n })\n })\n },\n onCancel() {\n console.log('Cancel');\n },\n });\n })\n }\n\n const handlerPdfPreviewClick = (): void => {\n if (rowSelection.selectedRowData.length == 0) {\n message.error('请选择release batch');\n return;\n }\n if (rowSelection.selectedRowData.length > 1){\n message.error('请选择单个release batch');\n return;\n }\n pdfPreview(rowSelection.selectedRowData[0].id).then(data => {\n const href = window.URL.createObjectURL(data);\n window.open(href);\n setTimeout(() => {\n window.URL.revokeObjectURL(href);\n }, 1500)\n })\n }\n\n const handleWordingDownload = () => {\n if (rowSelection.selectedRowData.length === 0) {\n message.error('请选择release batch');\n return;\n }\n if (rowSelection.selectedRowData.length > 1){\n message.error('请选择单个release batch');\n return;\n }\n const params = {\n batchId: rowSelection.selectedRowData[0].id,\n }\n blobDownload({url: '/pgapi/program/wording/download_release_batch', params: params})\n }\n\n const resetTableSelectData = (): void => {\n rowSelection.selectedRowKeys = [];\n rowSelection.selectedRowData = [];\n }\n\n const handlerResetClick = (): void => {\n Object.assign(queryParams, {\n bu: '',\n releasePeriod: '',\n releaseBatchName: '',\n status: '',\n mbafcStatus: '',\n mbclStatus: '',\n myBatch: false\n })\n resetTableSelectData();\n refreshFetch(1);\n }\n\n const handlerSearchClick = (): void => {\n resetTableSelectData();\n refreshFetch(1);\n }\n\n onMounted(() => {\n console.log('***');\n })\n\n return {\n //query Params\n ...toRefs(queryParams),\n\n //table\n columns,\n data,\n rowSelection,\n tableHeight,\n pagination,\n\n //事件处理\n handlerPaginationChange,\n handlerShowSizeChange,\n handlerSendClick,\n handlerDisCardClick,\n handlerPdfPreviewClick,\n handlerResetClick,\n handlerSearchClick,\n\n //搜索的options\n buOptions,\n releaseStatusOptions,\n faStatusOptions,\n\n // moment\n moment,\n isOpen,\n handleCollapse,\n handleWordingDownload\n }\n }\n })\n","import { render } from \"./index.vue?vue&type=template&id=19c7602e&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=19c7602e&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-19c7602e\"]])\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!./index.vue?vue&type=style&index=0&id=19c7602e&scoped=true&lang=scss\""],"sourceRoot":""}