{"version":3,"sources":["webpack:///./src/assets/images/rv/upload.svg","webpack:///./src/utils/claim/downloadFileUrl.ts","webpack:///./src/API/claim/claimRT.ts","webpack:///./src/views/Claim/RT/PayoutRound/index.vue?8e73","webpack:///./src/assets/images/claim/rect.png","webpack:///./src/views/Claim/RT/UploadDetail/index.vue?d8af","webpack:///./src/views/Claim/RT/index.vue?554f","webpack:///./src/hooks/claim/useRetailOverview.ts","webpack:///./src/views/Claim/RT/PayoutRound/index.vue?de52","webpack:///./src/hooks/claim/usePayoutData.ts","webpack:///./src/views/Claim/RT/PayoutRound/index.vue","webpack:///./src/views/Claim/RT/PayoutRound/index.vue?6c89","webpack:///./src/views/Claim/RT/UploadDetail/index.vue?256f","webpack:///./src/views/Claim/RT/UploadDetail/index.vue","webpack:///./src/views/Claim/RT/UploadDetail/index.vue?886d","webpack:///./src/views/Claim/RT/index.vue","webpack:///./src/views/Claim/RT/index.vue?2498","webpack:///./src/views/Claim/RT/UploadDetail/index.vue?5a64","webpack:///./src/views/Claim/RT/index.vue?dccf","webpack:///./src/views/Claim/RT/PayoutRound/index.vue?a13c","webpack:///./src/hooks/claim/usePage.ts","webpack:///./src/utils/claim/downloadFile.ts"],"names":["module","exports","options","type","url","method","params","config","Promise","resolve","reject","then","res","downloadElement","document","createElement","href","data","headers","body","appendChild","click","removeChild","window","URL","revokeObjectURL","catch","error","console","log","getRoundList","afcLcType","getClaimOverview","status","roundId","current","size","deleteReimbursement","id","payoutRoundSubmit","getPayoutRoundTable","payoutRoundGenerate","deletePayoutRound","claimViewDetail","payoutRoundId","claimViewList","getUploadRoundList","payoutForm","_withScopeId","n","_hoisted_1","class","_hoisted_2","src","_hoisted_3","_hoisted_4","_hoisted_5","_hoisted_6","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_11","key","style","_hoisted_12","_hoisted_13","_hoisted_14","_hoisted_15","render","_ctx","_cache","$props","$setup","$data","$options","_component_Breadcrumb","_component_a_select_option","_component_a_select","_component_a_space","_component_a_tooltip","_component_a_button","_component_a_popconfirm","_component_a_table","_component_a_pagination","_component_payout_round_detail","_component_upload_detail","dataSource","$t","align","default","selectSize","value","payoutVal","$event","placeholder","onChange","getTableDateHandle","payoutList","item","title","name","_","statusVal","statusList","label","$btnPermissions","onClick","generateRoundHandle","args","uploadHandle","submitCheckingHandle","exportFailResultHandle","isActive","placement","payoutFromHandle","rowKey","selectedRowKeys","onSelectChange","columns","claimListData","pagination","scroll","y","tableHeight","rowClassName","record","index","round","text","operation","viewHandle","onConfirm","deleteHandle","statusLabel","total","paginationObj","page","pageSize","pageChange","claimListParams","getTableData","onShowSizeChange","sizeChange","pageSizeOptions","buildOptionText","props","isVisible","onCloseSubVisible","closeSub","onChangeTable","refreshTable","isUploadVisible","curRole","onCloseUploadVisible","closeUpload","useRetailOverview","isMBLC","isMBAFC","store","entityCode","state","user","legalEntity","usePage","getRoundListHandle","allObj","unshift","innerHeight","dataIndex","width","slots","customRender","content","parseInt","totalElements","val","_hoisted_16","_hoisted_17","_hoisted_18","position","right","bottom","borderTop","padding","background","textAlign","zIndex","_hoisted_19","_hoisted_20","_component_a_input","_component_a_drawer","closable","visible","showDrawer","paddingBottom","onClose","getContainer","spinWrapper","selectparams","roleVal","onBlur","handleBlur","roleList","rules","typeVal","disabled","yearVal","YearList","monthVal","monthList","generateHandle","listParams","usePayoutData","undefined","emits","Boolean","required","setup","context","emit","date","Date","yearCur","getFullYear","yearPrev","yearNext","role","year","month","trim","generateParams","generateData","code","message","success","checkSelectVal","count","substring","length","Object","getOwnPropertyNames","Number","warning","okText","centered","querySelector","__exports__","_hoisted_21","_hoisted_22","_hoisted_23","_hoisted_24","_hoisted_25","_hoisted_26","_hoisted_27","_hoisted_28","_hoisted_29","_hoisted_30","_hoisted_31","_hoisted_32","_component_a_upload_dragger","_component_a_progress","_component_CheckCircleOutlined","_component_ExclamationCircleOutlined","_component_a_modal","modal","close","roundVal","isShowErrorTips","roundList","downloadTemHandle","listType","showUploadList","multiple","beforeUpload","customRequest","uploadRequest","isBeforeUpload","curUploadFile","percent","curPercent","strokeColor","completeTips","uploadFileSize","isClickAbled","uploadFile","showUploadHandle","handleExport","isImport","importFile","downloadModalVisible","onOk","handleDownload","footer","handleCancel","loading","downloadTipsText","emptyVisible","emptyTipsText","components","ExclamationCircleOutlined","CheckCircleOutlined","String","isShowUploadBtn","showDownload","uploadComplete","formData","FormData","uploadListParams","file","isXlsx","isLt5M","source","has","delete","append","toFixed","Math","floor","isShowTable","sessionStorage","setItem","path","getItem","downloadParams","fileName","downloadFileUrl","removeItem","downloadFile","messages","PayoutRoundDetail","UploadDetail","Breadcrumb","router","param","selectedRows","start","i","submitCheckingParams","ids","selectedArr","confirm","push","warn","query","queryParams","getTableDataFun","responseType","blob","Blob","createObjectURL","str","lastIndexOf","download","decodeURIComponent","now","toString"],"mappings":"qGAAAA,EAAOC,QAAU,IAA0B,2B,2DCA3C,yBASe,gBAACC,EAA6BC,GACjC,IAAAC,EAA0CF,EAAO,IAA5C,EAAqCA,EAAO,OAA5CG,OAAM,IAAG,QAAK,EAAEC,EAAqBJ,EAAO,OACnDK,GAD4CL,EAAO,SACrC,CAChBE,IAAKA,EACLC,OAAM,IAOV,MALe,QAAXA,EACAE,EAAO,UAAYD,EAEnBC,EAAO,QAAUD,EAEd,IAAIE,SAAQ,SAACC,EAASC,GACzB,IAAMH,GACDI,MAAK,SAACC,GAIH,IAAMC,EAAkBC,SAASC,cAAc,KACzCC,EAAOJ,EAAIK,KAAKA,KACtBJ,EAAgBG,KAAOA,EACXJ,EAAIM,QAAQ,uBAWxBJ,SAASK,KAAKC,YAAYP,GAC1BA,EAAgBQ,QAChBP,SAASK,KAAKG,YAAYT,GAC1BU,OAAOC,IAAIC,gBAAgBT,GAC3BP,EAAQG,MAEXc,OAAM,SAASC,GAEZ,OADAC,QAAQC,IAAIF,GACLjB,EAAOiB,W,6DChD9B,sYAIaG,EAAe,SAAExB,GAC7B,YAD6B,IAAAA,MAAA,CAAUyB,UAAW,GA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,SACnDK,EAAc,CAChBH,IAAKA,EACLC,OAAM,EACNsV,aAAc,QAOlB,MALe,QAAXtV,EACAE,EAAO,UAAYD,EAEnBC,EAAO,QAAUD,EAEd,IAAIE,SAAQ,SAACC,EAASC,GACzB,IAAMH,GACDI,MAAK,SAACC,GAEH,IAAMgV,EAAO,IAAIC,KAAK,CAACjV,EAAIK,MAAO,CAAEd,KAAMA,IACpCU,EAAkBC,SAASC,cAAc,KACzCC,EAAOO,OAAOC,IAAIsU,gBAAgBF,GACxC/U,EAAgBG,KAAOA,EACvB,IAAM+U,EAAMnV,EAAIM,QAAQ,uBAClB6G,EAAQgO,EAAIC,YAAY,KAC1BD,EAAIjH,UAAU/G,EAAQ,EAAGgO,EAAIhH,QAC7BlO,EAAgBoV,SAAWC,mBACvBH,EAAIjH,UAAU/G,EAAQ,EAAGgO,EAAIhH,SAGjClO,EAAgBoV,SADT5B,GAGoBvG,KAAKqI,MAAMC,WAE1CtV,SAASK,KAAKC,YAAYP,GAC1BA,EAAgBQ,QAChBP,SAASK,KAAKG,YAAYT,GAC1BU,OAAOC,IAAIC,gBAAgBT,GAC3BP,EAAQG,MAEXc,OAAM,SAASC,GAEZ,OADAC,QAAQC,IAAIF,GACLjB,EAAOiB,W","file":"js/chunk-5e5ba564.5e71c37d.js","sourcesContent":["module.exports = __webpack_public_path__ + \"img/upload.e4734716.svg\";","/*\n * @Author: zhengda.lv\n * @Date: 2021-10-30 10:15:26\n * @LastEditTime: 2021-12-17 16:13:15\n * @LastEditors: zhengda.lv\n * @Description: \n */\nimport axios from 'axios';\nimport { AxiosRequestConfig } from '@/API/types';\nexport default (options: AxiosRequestConfig, type: string) => {\n const { url, method = 'get', params, fileName } = options;\n const config: any = {\n url: url,\n method,\n };\n if (method === 'get') {\n config['params'] = params;\n } else {\n config['data'] = params;\n }\n return new Promise((resolve, reject) => {\n axios(config)\n .then((res: any) => {\n // debugger\n // 文件格式\n // const blob = new Blob([res.data], { type: type }); //指定格式为vnd.ms-excel\n const downloadElement = document.createElement('a');\n const href = res.data.data; //创建下载的链接\n downloadElement.href = href;\n const str = res.headers['content-disposition'];\n // const index = str.lastIndexOf('=');\n // if (str.substring(index + 1, str.length)) {\n // downloadElement.download = decodeURIComponent(\n // str.substring(index + 1, str.length)\n // );\n // } else if (fileName) {\n // downloadElement.download = fileName;\n // } else {\n // downloadElement.download = Date.now().toString();\n // }\n document.body.appendChild(downloadElement);\n downloadElement.click(); //点击下载\n document.body.removeChild(downloadElement); //下载完成移除元素\n window.URL.revokeObjectURL(href); //释放掉blob对象\n resolve(res);\n })\n .catch(function(error: string) {\n console.log(error);\n return reject(error);\n });\n });\n};\n","import { fetchGet, fetchPostPic, fetchGetMess } from '../index';\n\n/* claim主页面接口-2226 start */\n// 查询条件payout round下拉列表数据接口\nexport const getRoundList = ( params = {afcLcType: '', type: ''}): Promise => {\n\treturn fetchGet('/claimapi/payout/round/roundList?afcLcType=' + params.afcLcType + '&type=' + params.type)\n}\n// 查询主数据接口\nexport const getClaimOverview = (params = {afcLcType: '', status: '', roundId: '', current: 0, size: 1, type: ''}): Promise => {\n\treturn fetchGet('claimapi/payout/round/listPage?' + 'afcLcType=' + params.afcLcType + '&status=' + params.status + '&roundId=' + params.roundId + '¤t=' + params.current + '&size=' + params.size + '&type=' + params.type)\n}\n// 删除round导入excel接口\nexport const deleteReimbursement = (params = {id: ''}): Promise => {\n\treturn fetchGetMess('/claimapi/payout/round/delReimbursement?id=' + params.id)\n}\n// payout round submit接口\nexport const payoutRoundSubmit = (data = {}): Promise => {\n\treturn fetchPostPic('/claimapi/payout/round/submit', data)\n}\n// export 接口\nexport const exportFailResult = (params = {}): Promise => {\n\treturn fetchPostPic('claimapi/payout/round/failResult', params)\n}\n/* claim主页面接口 end */\n\n/* payout_round页面接口 start */\n// payout_round列表接口\nexport const getPayoutRoundTable = (params = {}): Promise => {\n\treturn fetchGet('/claimapi/payout/round/list', params)\n}\n// payout_round generate接口\nexport const payoutRoundGenerate = (params = {}): Promise => {\n\treturn fetchPostPic('/claimapi/payout/round/generate', params)\n}\n// 删除round接口-2225\nexport const deletePayoutRound = (params = {id: ''}): Promise => {\n\treturn fetchGetMess('/claimapi/payout/round/delRound?id=' + params.id)\n}\n/* payout_round页面接口 end */\n/* claim detail view 页面 接口 start */\n// view页面统计接口\nexport const claimViewDetail = (params = {payoutRoundId: ''}): Promise => {\n\treturn fetchGet('/claimapi/payout/round/view/count?payoutRoundId=' + params.payoutRoundId)\n}\n// view页面列表接口\nexport const claimViewList = (params = {}): Promise => {\n\treturn fetchGet('/claimapi/payout/round/view/page', params)\n}\n// view页面export接口\nexport const viewExport = (params = {payoutRoundId: '', status: '', finalResult: '', vin: ''}): Promise => {\n\treturn fetchGet('claimapi/payout/round/view/export?payoutRoundId=' + params.payoutRoundId + '&status=' + params.status + '&finalResult=' + params.finalResult + '&vin=' + params.vin)\n}\n/* claim detail view 页面 接口 end */\n/* 上传页面 start */\n// 获取上传列表\nexport const getUploadRoundList = ( params = {}): Promise => {\n\treturn fetchGet('/claimapi/payout/round/uploadPayoutRoundList', params)\n}\n/* 上传页面 end */\n// Generate Payout Form\nexport const payoutForm = (payoutRoundId: string): Promise => {\n\treturn fetchPostPic(`/claimapi/payout/round/generatePayoutForm/${payoutRoundId}`)\n}","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=5a35f744&lang=scss&scoped=true\"","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAQCAYAAADTasWKAAAABGdBTUEAALGPC/xhBQAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAA6ADAAQAAAABAAAAEAAAAABTVpExAAAARklEQVQIHWNgWPf+GcO6Dx0MV/+zsTD8Z5BkYPhfznDzIwMTAxz8j0NwgCoQHKAK+nMYGZ4jWcq4iIUBKMLAwLiIQZ2/DgAi2RE9IOkxIAAAAABJRU5ErkJggg==\"","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=1&id=a184a374&lang=scss\"","import { resolveComponent as _resolveComponent, createVNode as _createVNode, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createTextVNode as _createTextVNode, withCtx as _withCtx, createBlock as _createBlock, createCommentVNode as _createCommentVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nimport _imports_0 from '@/assets/images/claim/rect.png'\n\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-f4053d2c\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"claim-wrap wrap\" }\nconst _hoisted_2 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", {\n src: _imports_0,\n class: \"rect\"\n}, null, -1))\nconst _hoisted_3 = { class: \"wrap-title\" }\nconst _hoisted_4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { class: \"label\" }, \"Payout Round\", -1))\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { class: \"label\" }, \"Status\", -1))\nconst _hoisted_6 = /*#__PURE__*/_createTextVNode(\"Generate Payout Round\")\nconst _hoisted_7 = /*#__PURE__*/_createTextVNode(\"RT AFC List Upload\")\nconst _hoisted_8 = /*#__PURE__*/_createTextVNode(\"RT LC List Upload\")\nconst _hoisted_9 = /*#__PURE__*/_createTextVNode(\"Submit For Checking\")\nconst _hoisted_10 = /*#__PURE__*/_createTextVNode(\"Export Pending Case\")\nconst _hoisted_11 = {\n key: 5,\n style: {\"color\":\"#dcdcdc\",\"cursor\":\"not-allowed\"},\n class: \"font_family icon-GeneratePayoutForm\"\n}\nconst _hoisted_12 = /*#__PURE__*/_createTextVNode(\"Generate Payout Form\")\nconst _hoisted_13 = /*#__PURE__*/_createTextVNode(\"View\")\nconst _hoisted_14 = /*#__PURE__*/_createTextVNode(\"Delete\")\nconst _hoisted_15 = { 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_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_space = _resolveComponent(\"a-space\")!\n const _component_a_tooltip = _resolveComponent(\"a-tooltip\")!\n const _component_a_button = _resolveComponent(\"a-button\")!\n const _component_a_popconfirm = _resolveComponent(\"a-popconfirm\")!\n const _component_a_table = _resolveComponent(\"a-table\")!\n const _component_a_pagination = _resolveComponent(\"a-pagination\")!\n const _component_payout_round_detail = _resolveComponent(\"payout-round-detail\")!\n const _component_upload_detail = _resolveComponent(\"upload-detail\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createVNode(_component_Breadcrumb, { dataSource: [] }),\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"section\", null, [\n _hoisted_2,\n _createElementVNode(\"strong\", _hoisted_3, _toDisplayString(_ctx.$t(\"retailClaim.RT\")), 1)\n ]),\n _createVNode(_component_a_space, {\n class: \"feature-con\",\n align: \"end\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_a_space, { size: _ctx.selectSize }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", null, [\n _hoisted_4,\n _createVNode(_component_a_select, {\n value: _ctx.payoutVal,\n \"onUpdate:value\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.payoutVal) = $event)),\n placeholder: \"Please select\",\n class: \"sel-inp-size\",\n onChange: _cache[1] || (_cache[1] = ($event: any) => (_ctx.getTableDateHandle(_ctx.payoutVal, 'afcLcType')))\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.payoutList, (item) => {\n return (_openBlock(), _createBlock(_component_a_select_option, {\n value: item.id,\n key: item.id,\n title: item.name\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(item.name), 1)\n ]),\n _: 2\n }, 1032, [\"value\", \"title\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"value\"])\n ]),\n _createElementVNode(\"div\", null, [\n _hoisted_5,\n _createVNode(_component_a_select, {\n value: _ctx.statusVal,\n \"onUpdate:value\": _cache[2] || (_cache[2] = ($event: any) => ((_ctx.statusVal) = $event)),\n placeholder: \"Please select\",\n class: \"sel-inp-size\",\n onChange: _cache[3] || (_cache[3] = ($event: any) => (_ctx.getTableDateHandle(_ctx.statusVal, 'status')))\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.statusList, (item) => {\n return (_openBlock(), _createBlock(_component_a_select_option, {\n value: item.value,\n key: item.value,\n title: item.label\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(item.label), 1)\n ]),\n _: 2\n }, 1032, [\"value\", \"title\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"value\"])\n ])\n ]),\n _: 1\n }, 8, [\"size\"]),\n _createVNode(_component_a_space, {\n size: 20,\n style: {\"text-align\":\"right\"}\n }, {\n default: _withCtx(() => [\n (_ctx.$btnPermissions('FRC0001'))\n ? (_openBlock(), _createBlock(_component_a_tooltip, { key: 0 }, {\n title: _withCtx(() => [\n _hoisted_6\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"i\", {\n onClick: _cache[4] || (_cache[4] = \n//@ts-ignore\n(...args) => (_ctx.generateRoundHandle && _ctx.generateRoundHandle(...args))),\n class: \"font_family icon-GeneratePayoutRound1\"\n })\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n (_ctx.$btnPermissions('FRC0002'))\n ? (_openBlock(), _createBlock(_component_a_tooltip, { key: 1 }, {\n title: _withCtx(() => [\n _hoisted_7\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"i\", {\n onClick: _cache[5] || (_cache[5] = ($event: any) => (_ctx.uploadHandle('AFC'))),\n class: \"font_family icon-AFCRTListUpload\"\n })\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n (_ctx.$btnPermissions('FRC0003'))\n ? (_openBlock(), _createBlock(_component_a_tooltip, { key: 2 }, {\n title: _withCtx(() => [\n _hoisted_8\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"i\", {\n onClick: _cache[6] || (_cache[6] = ($event: any) => (_ctx.uploadHandle('LC'))),\n class: \"font_family icon-LCRTListUpload\"\n })\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n (_ctx.$btnPermissions('FRC0004'))\n ? (_openBlock(), _createBlock(_component_a_tooltip, { key: 3 }, {\n title: _withCtx(() => [\n _hoisted_9\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"i\", {\n onClick: _cache[7] || (_cache[7] = \n//@ts-ignore\n(...args) => (_ctx.submitCheckingHandle && _ctx.submitCheckingHandle(...args))),\n class: \"font_family icon-tijiao\"\n })\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n (_ctx.$btnPermissions('FRC0005'))\n ? (_openBlock(), _createBlock(_component_a_tooltip, { key: 4 }, {\n title: _withCtx(() => [\n _hoisted_10\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"i\", {\n onClick: _cache[8] || (_cache[8] = \n//@ts-ignore\n(...args) => (_ctx.exportFailResultHandle && _ctx.exportFailResultHandle(...args))),\n class: \"font_family icon-Exportpendingcase\"\n })\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n (!_ctx.isActive)\n ? (_openBlock(), _createElementBlock(\"i\", _hoisted_11))\n : _createCommentVNode(\"\", true),\n (_ctx.isActive && _ctx.$btnPermissions('FRC0006'))\n ? (_openBlock(), _createBlock(_component_a_tooltip, {\n key: 6,\n placement: \"topRight\"\n }, {\n title: _withCtx(() => [\n _hoisted_12\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"i\", {\n onClick: _cache[9] || (_cache[9] = \n//@ts-ignore\n(...args) => (_ctx.payoutFromHandle && _ctx.payoutFromHandle(...args))),\n class: \"font_family icon-GeneratePayoutForm\"\n })\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_a_table, {\n class: \"ant-table-striped\",\n rowKey: \"id\",\n \"row-selection\": {\n selectedRowKeys: _ctx.selectedRowKeys,\n onChange: _ctx.onSelectChange,\n },\n columns: _ctx.columns,\n \"data-source\": _ctx.claimListData,\n pagination: false,\n scroll: { y: _ctx.tableHeight },\n rowClassName: \n (record, index) => (index % 2 === 1 ? 'table-striped' : null)\n \n }, {\n round: _withCtx(({ text }) => [\n _createElementVNode(\"span\", null, _toDisplayString(text), 1)\n ]),\n operation: _withCtx(({ record }) => [\n (_ctx.$btnPermissions('FRC0007'))\n ? (_openBlock(), _createBlock(_component_a_button, {\n key: 0,\n type: \"link\",\n onClick: ($event: any) => (_ctx.viewHandle(record.id))\n }, {\n default: _withCtx(() => [\n _hoisted_13\n ]),\n _: 2\n }, 1032, [\"onClick\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.claimListData.length)\n ? (_openBlock(), _createBlock(_component_a_popconfirm, {\n key: 1,\n \"ok-text\": \"Confirm\",\n onConfirm: ($event: any) => (_ctx.deleteHandle(record.id))\n }, {\n title: _withCtx(() => [\n _createTextVNode(\"Confirm to delete payout round:\" + _toDisplayString(record.name) + \"?\", 1)\n ]),\n default: _withCtx(() => [\n (\n record.statusLabel === 'Activated' && _ctx.$btnPermissions('FRC0008')\n )\n ? (_openBlock(), _createBlock(_component_a_button, {\n key: 0,\n type: \"link\"\n }, {\n default: _withCtx(() => [\n _hoisted_14\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ]),\n _: 2\n }, 1032, [\"onConfirm\"]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"row-selection\", \"columns\", \"data-source\", \"scroll\", \"rowClassName\"]),\n _createElementVNode(\"div\", _hoisted_15, [\n _createVNode(_component_a_pagination, {\n total: _ctx.paginationObj.total,\n \"show-size-changer\": \"\",\n \"show-total\": (total) => `共 ${_ctx.paginationObj.total} 条`,\n onChange: _cache[10] || (_cache[10] = \n (page, pageSize) =>\n _ctx.pageChange(page, pageSize, _ctx.claimListParams, _ctx.getTableData)\n ),\n onShowSizeChange: _cache[11] || (_cache[11] = \n (page, pageSize) =>\n _ctx.sizeChange(page, pageSize, _ctx.claimListParams, _ctx.getTableData)\n ),\n pageSize: _ctx.paginationObj.size,\n \"onUpdate:pageSize\": _cache[12] || (_cache[12] = ($event: any) => ((_ctx.paginationObj.size) = $event)),\n current: _ctx.paginationObj.current,\n \"onUpdate:current\": _cache[13] || (_cache[13] = ($event: any) => ((_ctx.paginationObj.current) = $event)),\n pageSizeOptions: ['10', '20', '30', '40', '50']\n }, {\n buildOptionText: _withCtx((props) => [\n _createElementVNode(\"span\", null, _toDisplayString(props.value) + \"条/页\", 1)\n ]),\n _: 1\n }, 8, [\"total\", \"show-total\", \"pageSize\", \"current\"])\n ])\n ]),\n (_ctx.isVisible)\n ? (_openBlock(), _createBlock(_component_payout_round_detail, {\n key: 0,\n isVisible: _ctx.isVisible,\n onCloseSubVisible: _ctx.closeSub\n }, null, 8, [\"isVisible\", \"onCloseSubVisible\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.isUploadVisible)\n ? (_openBlock(), _createBlock(_component_upload_detail, {\n key: 1,\n onChangeTable: _ctx.refreshTable,\n isUploadVisible: _ctx.isUploadVisible,\n curRole: _ctx.curRole,\n onCloseUploadVisible: _ctx.closeUpload\n }, null, 8, [\"onChangeTable\", \"isUploadVisible\", \"curRole\", \"onCloseUploadVisible\"]))\n : _createCommentVNode(\"\", true)\n ], 64))\n}","import { ref, reactive } from 'vue';\nimport * as API from '@/API/claim/claimRT';\nimport {\n ClaimListQueryParams,\n ClaimTableData,\n PayoutRoundListData,\n DocType,\n} from '@/views/Claim/RT/types';\nimport usePage from '@/hooks/claim/usePage';\nimport { useStore } from 'vuex';\nconst useRetailOverview = () => {\n const isMBLC = ref(false);\n const isMBAFC = ref(false);\n\n const store = useStore();\n const entityCode = (store.state.user as any).legalEntity.entityCode;\n isMBLC.value = entityCode === 'MBLC' ? true : false;\n isMBAFC.value = entityCode === 'MBAFC' ? true : false;\n // 分页逻辑\n const { paginationObj, pageChange, sizeChange } = usePage();\n /* 查询下拉选择区域 start*/\n const payoutVal = ref('');\n const statusVal = ref('');\n const selectSize = ref(20);\n //下拉列表数据\n const payoutList = ref([]);\n const statusList = ref([\n { label: 'All', value: '' },\n { label: 'Activated', value: 1 },\n { label: 'Submitted', value: 2 },\n { label: 'SICCO Checked', value: 3 },\n { label: 'SIPO Confirmed', value: 7 },\n { label: 'Spot Checked', value: 8 },\n { label: 'Controlling Confirmed', value: 9 },\n { label: 'Payment Initiated', value: 5 },\n { label: 'Closed', value: 6 },\n ]);\n const getRoundListHandle = () => {\n // 注:目前接口传参afcLcType默认AFC\n // const params = {'afcLcType': isMBAFC.value?'AFC':'LC', 'type': 'RT'}\n const params = { afcLcType: '', type: 'RT' };\n API.getRoundList(params).then((res) => {\n const allObj = { id: '', name: 'All' };\n res.unshift(allObj);\n payoutList.value = res;\n });\n // const array = ref([]);\n // const params = {'afcLcType': 'LC', 'type': 'RT'}\n // API.getRoundList(params).then((res) => {\n // // const allObj = {id: '', name: 'All'}\n // // res.unshift(allObj)\n // // payoutList.value= res\n // array.value.push(...res);\n // debugger\n // API.getRoundList({'afcLcType': 'AFC', 'type': 'RT'}).then((res1) => {\n\n // // payoutList.value= res\n // array.value.push(...res1);\n // const allObj = {id: '', name: 'All'}\n // // res.unshift(allObj)\n // array.value.unshift(allObj)\n // payoutList.value= array.value;\n // })\n // })\n };\n getRoundListHandle();\n /* 查询下拉选择区域 end*/\n // 分页\n /* 主页面列表数据表格 start */\n const claimListParams = reactive({\n // afcLcType: isMBAFC.value?'AFC':'LC',\n afcLcType: '',\n current: 0,\n size: 20,\n status: '',\n roundId: '',\n type: 'RT',\n });\n // 设置表格\n const tableHeight = window.innerHeight - 370;\n const columns = reactive([\n { title: 'F&L', dataIndex: 'afcLcType', width: 80 },\n {\n title: 'Payout Round',\n dataIndex: 'name',\n width: 120,\n slots: { customRender: 'round' },\n },\n { title: 'VIN Count', dataIndex: 'vinCount', width: 80 },\n {\n title: 'Latest Upload Time',\n dataIndex: 'lastUplpoadTime',\n width: 130,\n },\n { title: 'Status', dataIndex: 'statusLabel', width: 80 },\n {\n title: 'Operation',\n width: 120,\n slots: { customRender: 'operation' },\n },\n ]);\n const claimListData = ref([]);\n // 主数据列表接口查询\n const getTableData = () => {\n API.getClaimOverview(claimListParams).then((res) => {\n claimListData.value = res.content;\n paginationObj.total = parseInt(res.totalElements);\n });\n };\n /* 主页面列表数据表格 end */\n const getTableDateHandle = (val: any, key: string) => {\n if (key === 'afcLcType') {\n claimListParams.roundId = val;\n } else if (key === 'status') {\n claimListParams.status = val;\n }\n getTableData();\n };\n return {\n payoutVal,\n statusVal,\n selectSize,\n payoutList,\n statusList,\n paginationObj,\n claimListParams,\n tableHeight,\n columns,\n claimListData,\n getTableData,\n pageChange,\n sizeChange,\n getTableDateHandle,\n getRoundListHandle,\n isMBLC,\n isMBAFC,\n };\n};\nexport default useRetailOverview;\n","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/claim/rect.png'\n\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-5a35f744\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"payout-round-info\" }\nconst _hoisted_2 = { class: \"big-size-sel\" }\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { class: \"label\" }, \"F&L\", -1))\nconst _hoisted_4 = {\n key: 0,\n class: \"errorTip\"\n}\nconst _hoisted_5 = { class: \"big-size-sel\" }\nconst _hoisted_6 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { class: \"label\" }, \"Type\", -1))\nconst _hoisted_7 = {\n key: 0,\n class: \"errorTip\"\n}\nconst _hoisted_8 = { class: \"min-size-sel\" }\nconst _hoisted_9 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { class: \"label\" }, \"Year\", -1))\nconst _hoisted_10 = {\n key: 0,\n class: \"errorTip\"\n}\nconst _hoisted_11 = { class: \"min-size-sel\" }\nconst _hoisted_12 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { class: \"label\" }, \"Month\", -1))\nconst _hoisted_13 = {\n key: 0,\n class: \"errorTip\"\n}\nconst _hoisted_14 = /*#__PURE__*/_createTextVNode(\"Generate\")\nconst _hoisted_15 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"section\", { class: \"payout-round-title\" }, [\n /*#__PURE__*/_createElementVNode(\"img\", {\n src: _imports_0,\n class: \"rect\"\n }),\n /*#__PURE__*/_createElementVNode(\"span\", null, \"Payout Round Management\")\n], -1))\nconst _hoisted_16 = /*#__PURE__*/_createTextVNode(\"Delete\")\nconst _hoisted_17 = { class: \"pagination-container d-f justify-e\" }\nconst _hoisted_18 = { style: {\n position: 'absolute',\n right: 0,\n bottom: 0,\n width: '100%',\n borderTop: '1px solid #e9e9e9',\n padding: '10px 16px',\n background: '#fff',\n textAlign: 'right',\n zIndex: 1,\n } }\nconst _hoisted_19 = /*#__PURE__*/_createTextVNode(\"Cancel\")\nconst _hoisted_20 = /*#__PURE__*/_createTextVNode(\"Ok\")\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_button = _resolveComponent(\"a-button\")!\n const _component_a_space = _resolveComponent(\"a-space\")!\n const _component_a_popconfirm = _resolveComponent(\"a-popconfirm\")!\n const _component_a_table = _resolveComponent(\"a-table\")!\n const _component_a_pagination = _resolveComponent(\"a-pagination\")!\n const _component_a_drawer = _resolveComponent(\"a-drawer\")!\n\n return (_openBlock(), _createBlock(_component_a_drawer, {\n title: \"Generate Payout Round\",\n closable: true,\n visible: _ctx.showDrawer,\n width: \"35.14%\",\n \"body-style\": { paddingBottom: '80px' },\n class: \"payout-round-drawer claim-drawer\",\n onClose: _ctx.onClose,\n getContainer: _ctx.spinWrapper\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createVNode(_component_a_space, { class: \"feature-con\" }, {\n default: _withCtx(() => [\n _createVNode(_component_a_space, { size: _ctx.selectSize }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_2, [\n _hoisted_3,\n _createVNode(_component_a_select, {\n value: _ctx.selectparams.roleVal,\n \"onUpdate:value\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.selectparams.roleVal) = $event)),\n placeholder: \"Please Select\",\n onBlur: _cache[1] || (_cache[1] = ($event: any) => (_ctx.handleBlur(_ctx.selectparams.roleVal, 'role')))\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.roleList, (item) => {\n return (_openBlock(), _createBlock(_component_a_select_option, {\n key: item.value,\n value: item.value\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(item.label), 1)\n ]),\n _: 2\n }, 1032, [\"value\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"value\"]),\n (_ctx.rules.role)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_4, \"Please Select F&L\"))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_5, [\n _hoisted_6,\n _createVNode(_component_a_input, {\n value: _ctx.selectparams.typeVal,\n \"onUpdate:value\": _cache[2] || (_cache[2] = ($event: any) => ((_ctx.selectparams.typeVal) = $event)),\n disabled: \"\",\n onBlur: _cache[3] || (_cache[3] = ($event: any) => (_ctx.handleBlur(_ctx.selectparams.typeVal, 'type')))\n }, null, 8, [\"value\"]),\n (_ctx.rules.type)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_7, \"Please Select Type\"))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_8, [\n _hoisted_9,\n _createVNode(_component_a_select, {\n value: _ctx.selectparams.yearVal,\n \"onUpdate:value\": _cache[4] || (_cache[4] = ($event: any) => ((_ctx.selectparams.yearVal) = $event)),\n placeholder: \"Please Select\",\n onBlur: _cache[5] || (_cache[5] = ($event: any) => (_ctx.handleBlur(_ctx.selectparams.yearVal, 'year')))\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.YearList, (item) => {\n return (_openBlock(), _createBlock(_component_a_select_option, {\n value: item,\n key: item\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(item), 1)\n ]),\n _: 2\n }, 1032, [\"value\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"value\"]),\n (_ctx.rules.year)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_10, \"Please Select Year\"))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_11, [\n _hoisted_12,\n _createVNode(_component_a_select, {\n value: _ctx.selectparams.monthVal,\n \"onUpdate:value\": _cache[6] || (_cache[6] = ($event: any) => ((_ctx.selectparams.monthVal) = $event)),\n placeholder: \"Please Select\"\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.monthList, (item) => {\n return (_openBlock(), _createBlock(_component_a_select_option, {\n value: item.value,\n key: item.value\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(item.label), 1)\n ]),\n _: 2\n }, 1032, [\"value\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"value\"]),\n (_ctx.rules.month)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_13, \"Please Select Month\"))\n : _createCommentVNode(\"\", true)\n ]),\n _createVNode(_component_a_button, {\n class: \"generate-btn\",\n type: \"primary\",\n onClick: _ctx.generateHandle\n }, {\n default: _withCtx(() => [\n _hoisted_14\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ]),\n _: 1\n }, 8, [\"size\"])\n ]),\n _: 1\n }),\n _hoisted_15,\n _createVNode(_component_a_table, {\n columns: _ctx.columns,\n \"data-source\": _ctx.data,\n rowKey: \"id\",\n pagination: false,\n scroll: { y: _ctx.tableHeight }\n }, {\n operation: _withCtx(({ record }) => [\n (_ctx.data.length)\n ? (_openBlock(), _createBlock(_component_a_popconfirm, {\n key: 0,\n \"ok-text\": \"Confirm\",\n onConfirm: ($event: any) => (_ctx.deleteHandle(record.id))\n }, {\n title: _withCtx(() => [\n _createTextVNode(\"Confirm to delete payout round:\" + _toDisplayString(record.name) + \"?\", 1)\n ]),\n default: _withCtx(() => [\n _createVNode(_component_a_button, { type: \"link\" }, {\n default: _withCtx(() => [\n _hoisted_16\n ]),\n _: 1\n })\n ]),\n _: 2\n }, 1032, [\"onConfirm\"]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"columns\", \"data-source\", \"scroll\"]),\n _createElementVNode(\"div\", _hoisted_17, [\n _createVNode(_component_a_pagination, {\n total: _ctx.paginationObj.total,\n \"show-size-changer\": \"\",\n \"show-total\": (total) => `共 ${_ctx.paginationObj.total} 条`,\n onChange: _cache[7] || (_cache[7] = \n (page, pageSize) =>\n _ctx.pageChange(page, pageSize, _ctx.listParams, _ctx.getTableData)\n ),\n onShowSizeChange: _cache[8] || (_cache[8] = \n (page, pageSize) =>\n _ctx.sizeChange(page, pageSize, _ctx.listParams, _ctx.getTableData)\n ),\n pageSize: _ctx.paginationObj.size,\n \"onUpdate:pageSize\": _cache[9] || (_cache[9] = ($event: any) => ((_ctx.paginationObj.size) = $event)),\n current: _ctx.paginationObj.current,\n \"onUpdate:current\": _cache[10] || (_cache[10] = ($event: any) => ((_ctx.paginationObj.current) = $event)),\n pageSizeOptions: ['10', '20', '30', '40', '50']\n }, {\n buildOptionText: _withCtx((props) => [\n _createElementVNode(\"span\", null, _toDisplayString(props.value) + \"条/页\", 1)\n ]),\n _: 1\n }, 8, [\"total\", \"show-total\", \"pageSize\", \"current\"])\n ]),\n _createElementVNode(\"div\", _hoisted_18, [\n _createVNode(_component_a_button, {\n style: {\"margin-right\":\"8px\"},\n onClick: _ctx.onClose\n }, {\n default: _withCtx(() => [\n _hoisted_19\n ]),\n _: 1\n }, 8, [\"onClick\"]),\n _createVNode(_component_a_button, {\n type: \"primary\",\n onClick: _ctx.onClose\n }, {\n default: _withCtx(() => [\n _hoisted_20\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ])\n ])\n ]),\n _: 1\n }, 8, [\"visible\", \"onClose\", \"getContainer\"]))\n}","import { ref, reactive } from 'vue';\nimport usePage from '@/hooks/claim/usePage';\nimport { getPayoutRoundTable } from '@/API/claim/claimRT';\nimport { PayoutRoundListData } from '@/views/Claim/RT/types';\nimport { useStore } from 'vuex';\nconst usePayoutData = () => {\n const { state } = useStore();\n // 分页逻辑\n const { paginationObj, pageChange, sizeChange } = usePage();\n // 选择条件参数默认值设置\n const selectparams = reactive({\n roleVal: undefined,\n typeVal: 'RT',\n yearVal: undefined,\n monthVal: undefined,\n });\n // 设置表格\n const tableHeight = window.innerHeight - 385;\n const columns = reactive([\n { title: 'Payout Round', dataIndex: 'name', width: 280 },\n { title: 'Operation', slots: { customRender: 'operation' } },\n ]);\n const data = ref([]);\n // 接口传参listParams\n const listParams = reactive({\n current: 0,\n size: 20,\n afcLcType: '',\n type: 'RT',\n });\n // 获取表格数据\n const getTableData = () => {\n // listParams.afcLcType = selectparams.roleVal !== '' ? selectparams.roleVal : state.claim.afcLcType\n const params = listParams;\n getPayoutRoundTable({ params }).then((res) => {\n console.log('res', res);\n data.value = res.content;\n paginationObj.total = parseInt(res.totalElements);\n });\n };\n return {\n selectparams,\n tableHeight,\n columns,\n data,\n paginationObj,\n listParams,\n getTableData,\n pageChange,\n sizeChange,\n };\n};\nexport default usePayoutData;\n","\nimport { defineComponent, ref, reactive, onMounted } from \"vue\";\nimport { payoutRoundGenerate, deletePayoutRound } from \"@/API/claim/claimRT\";\nimport usePayoutData from \"@/hooks/claim/usePayoutData\";\nimport { message } from \"ant-design-vue\";\nimport { Modal } from \"ant-design-vue\";\nexport default defineComponent({\n emits: [\"close-sub-visible\"],\n props: {\n isVisible: {\n type: Boolean,\n required: true,\n default: false,\n },\n // isDelete: {\n // type: Boolean,\n // required: true,\n // default: false,\n // },\n },\n setup(props, context) {\n const {\n selectparams,\n tableHeight,\n columns,\n data,\n paginationObj,\n listParams,\n getTableData,\n pageChange,\n sizeChange,\n } = usePayoutData();\n // // 设置抽屉显示状态\n const showDrawer = (props as any).isVisible;\n // 设置抽屉关闭\n const onClose = () => {\n context.emit(\"close-sub-visible\", { isVisible: false });\n };\n /* 选择条件生成功能区域 start */\n const roleList = [\n { label: \"Financing\", value: \"AFC\" },\n { label: \"Leasing\", value: \"LC\" },\n ];\n const monthList = [\n { label: \"Jan\", value: \"1\" },\n { label: \"Feb\", value: \"2\" },\n { label: \"Mar\", value: \"3\" },\n { label: \"Apr\", value: \"4\" },\n { label: \"May\", value: \"5\" },\n { label: \"Jun\", value: \"6\" },\n { label: \"Jul\", value: \"7\" },\n { label: \"Aug\", value: \"8\" },\n { label: \"Sep\", value: \"9\" },\n { label: \"Oct\", value: \"10\" },\n { label: \"Nov\", value: \"11\" },\n { label: \"Dec\", value: \"12\" },\n ];\n const date = new Date();\n const yearCur = `${date.getFullYear()}`;\n const yearPrev = `${date.getFullYear() - 1}`;\n const yearNext = `${date.getFullYear() + 1}`;\n const YearList = reactive([yearPrev, yearCur, yearNext]);\n // 根据选择条件校验规则\n const rules = reactive({\n role: false,\n type: false,\n year: false,\n month: false,\n });\n const selectSize = ref(20);\n // 选择框失去焦点触发校验规则,判断校验提示显示与否\n const handleBlur = (val: any, name: string) => {\n rules[name] = val.trim() === \"\" ? true : false;\n };\n /* 选择条件生成功能区域 end */\n // 页面加载渲染表格数据\n onMounted(() => {\n getTableData();\n });\n\n //2.payoutRound生成接口传参\n const generateParams = reactive({\n afcLcType: \"AFC\",\n month: 0,\n type: \"RT\",\n year: 2021,\n });\n // 调生成payoutRound接口,成功后刷新表格,失败弹出错误提示\n const generateData = () => {\n generateParams.afcLcType = selectparams.roleVal || \"\";\n payoutRoundGenerate(generateParams).then((res) => {\n if (res && res?.code == \"0\") {\n message.success(\"payout round generate success!\");\n getTableData();\n } else {\n message.error(\"payout round generate fail!\");\n }\n selectparams.roleVal = undefined;\n selectparams.typeVal = \"RT\";\n selectparams.yearVal = undefined;\n selectparams.monthVal = undefined;\n });\n };\n // 选择器内容校验\n const checkSelectVal = () => {\n let count = 0;\n for (const key in selectparams) {\n if (selectparams[key] === \"\" || selectparams[key][\"label\"] === \"\") {\n rules[`${key.substring(0, key.length - 3)}`] = true;\n }\n if (selectparams[key] !== \"\" && selectparams[key][\"label\"] !== \"\") {\n count++;\n }\n }\n if (count === Object.getOwnPropertyNames(selectparams).length) {\n return true;\n }\n };\n // 校验并调payoutRound生成接口\n const generateHandle = () => {\n if (checkSelectVal()) {\n generateParams.month = Number(selectparams.monthVal);\n generateParams.year = Number(selectparams.yearVal);\n generateData();\n }\n };\n // 删除当前round\n const deleteHandle = (id: string) => {\n deletePayoutRound({ id: id }).then((res) => {\n if (res && res?.code === \"0\") {\n message.success(res.message);\n // 成功:重新刷新页面\n listParams.current = 0;\n paginationObj.current = 1;\n getTableData();\n } else {\n Modal.warning({\n title: \"Tips\",\n content: res.message,\n okText: \"Confirm\",\n centered: true,\n });\n }\n });\n };\n\n const spinWrapper = document.querySelector(\n \".spingWrapper .ant-spin-container\"\n );\n\n return {\n showDrawer,\n selectSize,\n selectparams,\n monthList,\n roleList,\n YearList,\n onClose,\n handleBlur,\n generateHandle,\n tableHeight,\n columns,\n data,\n deleteHandle,\n pageChange,\n sizeChange,\n paginationObj,\n rules,\n getTableData,\n listParams,\n spinWrapper,\n };\n },\n});\n","import { render } from \"./index.vue?vue&type=template&id=5a35f744&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=5a35f744&lang=scss&scoped=true\"\nimport \"./index.vue?vue&type=style&index=1&id=5a35f744&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-5a35f744\"]])\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/rv/upload.svg'\n\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-a184a374\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"select-con\" }\nconst _hoisted_2 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { class: \"label\" }, \"Choose Payout Round\", -1))\nconst _hoisted_3 = {\n key: 0,\n class: \"error-tips\"\n}\nconst _hoisted_4 = { class: \"download-con\" }\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", { class: \"font_family icon-xiazai\" }, null, -1))\nconst _hoisted_6 = /*#__PURE__*/_createTextVNode(\" Template Download \")\nconst _hoisted_7 = { class: \"border-style\" }\nconst _hoisted_8 = { key: 0 }\nconst _hoisted_9 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", { class: \"ant-upload-drag-icon\" }, [\n /*#__PURE__*/_createElementVNode(\"img\", {\n src: _imports_0,\n class: \"uploadIcon\"\n })\n], -1))\nconst _hoisted_10 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", { class: \"ant-upload-text\" }, [\n /*#__PURE__*/_createTextVNode(\" Drag and drop to upload or \"),\n /*#__PURE__*/_createElementVNode(\"span\", { class: \"blueFont\" }, \"browse for files\")\n], -1))\nconst _hoisted_11 = {\n key: 1,\n class: \"process-con\"\n}\nconst _hoisted_12 = /*#__PURE__*/_createTextVNode(\" Selected Files: \")\nconst _hoisted_13 = { class: \"margin-style\" }\nconst _hoisted_14 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"process-title-style\" }, \"Total Process:\", -1))\nconst _hoisted_15 = { class: \"process-style\" }\nconst _hoisted_16 = { key: 0 }\nconst _hoisted_17 = { key: 1 }\nconst _hoisted_18 = /*#__PURE__*/_createTextVNode(\" Complete\")\nconst _hoisted_19 = { class: \"size-style\" }\nconst _hoisted_20 = /*#__PURE__*/_createTextVNode(\"Upload\")\nconst _hoisted_21 = /*#__PURE__*/_createTextVNode(\"Browse\")\nconst _hoisted_22 = {\n key: 0,\n class: \"no-calculator-wrapper\"\n}\nconst _hoisted_23 = /*#__PURE__*/_createTextVNode(\"Export\")\nconst _hoisted_24 = { style: {\n position: 'absolute',\n right: 0,\n bottom: 0,\n width: '100%',\n borderTop: '1px solid #e9e9e9',\n padding: '10px 16px',\n background: '#fff',\n textAlign: 'right',\n zIndex: 1,\n } }\nconst _hoisted_25 = /*#__PURE__*/_createTextVNode(\"Cancel\")\nconst _hoisted_26 = /*#__PURE__*/_createTextVNode(\"Import\")\nconst _hoisted_27 = /*#__PURE__*/_createTextVNode(\" Tips \")\nconst _hoisted_28 = { class: \"modal-txt\" }\nconst _hoisted_29 = /*#__PURE__*/_createTextVNode(\"Cancel\")\nconst _hoisted_30 = /*#__PURE__*/_createTextVNode(\"Download\")\nconst _hoisted_31 = /*#__PURE__*/_createTextVNode(\" Tips \")\nconst _hoisted_32 = { class: \"modal-txt\" }\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_button = _resolveComponent(\"a-button\")!\n const _component_a_upload_dragger = _resolveComponent(\"a-upload-dragger\")!\n const _component_a_progress = _resolveComponent(\"a-progress\")!\n const _component_CheckCircleOutlined = _resolveComponent(\"CheckCircleOutlined\")!\n const _component_a_table = _resolveComponent(\"a-table\")!\n const _component_ExclamationCircleOutlined = _resolveComponent(\"ExclamationCircleOutlined\")!\n const _component_a_modal = _resolveComponent(\"a-modal\")!\n const _component_a_drawer = _resolveComponent(\"a-drawer\")!\n\n return (_openBlock(), _createBlock(_component_a_drawer, {\n title: _ctx.title,\n closable: true,\n visible: _ctx.modal,\n curRole: _ctx.curRole,\n width: \"35.14%\",\n class: \"upload-drawer claim-drawer\",\n onClose: _ctx.close,\n getContainer: _ctx.spinWrapper\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"section\", _hoisted_1, [\n _hoisted_2,\n _createVNode(_component_a_select, {\n value: _ctx.roundVal,\n \"onUpdate:value\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.roundVal) = $event)),\n placeholder: \"Please Select\",\n class: \"sel-inp-size\",\n onChange: _cache[1] || (_cache[1] = ($event: any) => (_ctx.isShowErrorTips = _ctx.roundVal.trim() === '' ? true : false))\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.roundList, (item) => {\n return (_openBlock(), _createBlock(_component_a_select_option, {\n value: item.id,\n key: item.id\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 (_ctx.isShowErrorTips)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_3, \"please choose payout round!\"))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"section\", _hoisted_4, [\n _createVNode(_component_a_button, {\n type: \"link\",\n class: \"blueFont\",\n onClick: _ctx.downloadTemHandle\n }, {\n default: _withCtx(() => [\n _hoisted_5,\n _hoisted_6\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ]),\n _createElementVNode(\"div\", _hoisted_7, [\n (_ctx.isBeforeUpload)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_8, [\n _createVNode(_component_a_upload_dragger, {\n name: \"file\",\n listType: \"picture-card\",\n showUploadList: false,\n multiple: false,\n \"before-upload\": _ctx.beforeUpload,\n customRequest: _ctx.uploadRequest\n }, {\n default: _withCtx(() => [\n _hoisted_9,\n _hoisted_10\n ]),\n _: 1\n }, 8, [\"before-upload\", \"customRequest\"])\n ]))\n : _createCommentVNode(\"\", true),\n (!_ctx.isBeforeUpload)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_11, [\n _createElementVNode(\"p\", null, [\n _hoisted_12,\n _createElementVNode(\"strong\", null, _toDisplayString(_ctx.curUploadFile.name), 1)\n ]),\n _createElementVNode(\"p\", _hoisted_13, [\n _hoisted_14,\n _createElementVNode(\"span\", _hoisted_15, [\n _createVNode(_component_a_progress, {\n percent: _ctx.curPercent,\n strokeColor: \"#108ee9\"\n }, null, 8, [\"percent\"]),\n (!_ctx.completeTips)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_16, _toDisplayString(_ctx.curPercent) + \"% done\", 1))\n : _createCommentVNode(\"\", true),\n (_ctx.completeTips)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_17, [\n _createVNode(_component_CheckCircleOutlined, { style: {\"color\":\"#108ee9\"} }),\n _hoisted_18\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"span\", _hoisted_19, _toDisplayString(_ctx.uploadFileSize), 1)\n ])\n ]),\n (_ctx.isShowUploadBtn)\n ? (_openBlock(), _createBlock(_component_a_button, {\n key: 0,\n class: \"right-style\",\n type: \"primary\",\n disabled: !_ctx.isClickAbled,\n onClick: _ctx.uploadFile\n }, {\n default: _withCtx(() => [\n _hoisted_20\n ]),\n _: 1\n }, 8, [\"disabled\", \"onClick\"]))\n : (_openBlock(), _createBlock(_component_a_button, {\n key: 1,\n class: \"right-style\",\n type: \"primary\",\n onClick: _ctx.showUploadHandle\n }, {\n default: _withCtx(() => [\n _hoisted_21\n ]),\n _: 1\n }, 8, [\"onClick\"]))\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n (_ctx.isShowTable)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_22, [\n _createVNode(_component_a_table, {\n style: {\"margin-top\":\"10px\"},\n rowKey: \"id\",\n dataSource: _ctx.dataSource,\n columns: _ctx.columns,\n pagination: false,\n scroll: {\n y: 200,\n }\n }, null, 8, [\"dataSource\", \"columns\"]),\n _createVNode(_component_a_button, {\n type: \"primary\",\n onClick: _ctx.handleExport\n }, {\n default: _withCtx(() => [\n _hoisted_23\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_24, [\n _createVNode(_component_a_button, {\n style: {\"margin-right\":\"8px\"},\n onClick: _ctx.close\n }, {\n default: _withCtx(() => [\n _hoisted_25\n ]),\n _: 1\n }, 8, [\"onClick\"]),\n _createVNode(_component_a_button, {\n type: \"primary\",\n disabled: !_ctx.isImport,\n onClick: _ctx.importFile\n }, {\n default: _withCtx(() => [\n _hoisted_26\n ]),\n _: 1\n }, 8, [\"disabled\", \"onClick\"])\n ]),\n _createVNode(_component_a_modal, {\n visible: _ctx.downloadModalVisible,\n \"onUpdate:visible\": _cache[2] || (_cache[2] = ($event: any) => ((_ctx.downloadModalVisible) = $event)),\n \"ok-button-props\": { disabled: true },\n \"cancel-button-props\": { disabled: true },\n onOk: _ctx.handleDownload,\n centered: \"\"\n }, {\n title: _withCtx(() => [\n _createVNode(_component_ExclamationCircleOutlined, { style: {\"color\":\"#faad14\"} }),\n _hoisted_27\n ]),\n footer: _withCtx(() => [\n _createVNode(_component_a_button, {\n key: \"back\",\n onClick: _ctx.handleCancel\n }, {\n default: _withCtx(() => [\n _hoisted_29\n ]),\n _: 1\n }, 8, [\"onClick\"]),\n (_ctx.showDownload)\n ? (_openBlock(), _createBlock(_component_a_button, {\n key: \"submit\",\n type: \"primary\",\n loading: _ctx.loading,\n onClick: _ctx.handleDownload\n }, {\n default: _withCtx(() => [\n _hoisted_30\n ]),\n _: 1\n }, 8, [\"loading\", \"onClick\"]))\n : _createCommentVNode(\"\", true)\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"p\", _hoisted_28, _toDisplayString(_ctx.downloadTipsText), 1)\n ]),\n _: 1\n }, 8, [\"visible\", \"onOk\"]),\n _createVNode(_component_a_modal, {\n visible: _ctx.emptyVisible,\n \"onUpdate:visible\": _cache[3] || (_cache[3] = ($event: any) => ((_ctx.emptyVisible) = $event)),\n footer: null,\n centered: \"\"\n }, {\n title: _withCtx(() => [\n _createVNode(_component_ExclamationCircleOutlined, { style: {\"color\":\"#faad14\"} }),\n _hoisted_31\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"p\", _hoisted_32, _toDisplayString(_ctx.emptyTipsText), 1)\n ]),\n _: 1\n }, 8, [\"visible\"])\n ]),\n _: 1\n }, 8, [\"title\", \"visible\", \"curRole\", \"onClose\", \"getContainer\"]))\n}","\nimport axios from \"axios\";\nimport { defineComponent, ref, computed } from \"vue\";\nimport {\n ExclamationCircleOutlined,\n CheckCircleOutlined,\n} from \"@ant-design/icons-vue\";\nimport { getUploadRoundList } from \"@/API/claim/claimRT\";\nimport { PayoutRoundListData } from \"@/views/Claim/RT/types\";\nimport { FileItem } from \"@/API/types\";\nimport downloadFile from \"@/utils/claim/downloadFile\";\nimport downloadFileUrl from \"@/utils/claim/downloadFileUrl\";\nimport { message } from \"ant-design-vue\";\nimport { Modal } from \"ant-design-vue\";\nexport default defineComponent({\n components: {\n ExclamationCircleOutlined,\n CheckCircleOutlined,\n },\n emits: [\"close-upload-visible\", \"change-table\"],\n props: {\n isUploadVisible: {\n type: Boolean,\n required: true,\n default: false,\n },\n curRole: {\n type: String,\n required: true,\n default: \"\",\n },\n },\n setup(props, context) {\n const isShowErrorTips = ref(false);\n const isBeforeUpload = ref(true);\n // 进度条\n const isShowUploadBtn = ref(true);\n const curUploadFile = ref({});\n const curPercent = ref(0);\n const uploadFileSize = ref(\"\");\n const completeTips = ref(false);\n // 上传功能出错后下载模态窗口\n const loading = ref(false);\n const downloadModalVisible = ref(false);\n const downloadTipsText = ref(\"\");\n const showDownload = ref(false);\n const roundVal = ref();\n // 导入控制按钮\n const isImport = ref(false);\n // 文件上传\n const isClickAbled = ref(true);\n const uploadComplete = ref(true);\n const formData = new FormData();\n const emptyVisible = ref(false);\n const emptyTipsText = ref(\"\");\n // 获取标题内容\n const title = computed(\n () => `Upload ${(props as any).curRole} Reimbursement List`\n );\n // // 设置抽屉显示状态\n const modal = (props as any).isUploadVisible;\n const roleVal = (props as any).curRole;\n const close = () => {\n context.emit(\"close-upload-visible\", { isUploadVisible: false });\n };\n const roundList = ref([]);\n // 获取upload round 列表\n const uploadListParams = { afcLcType: `${roleVal}`, type: \"RT\" };\n\n const params = uploadListParams;\n getUploadRoundList({ params }).then((res) => {\n roundList.value = res;\n });\n // 上传前\n const beforeUpload = (file: FileItem) => {\n const isXlsx =\n file.type ===\n \"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\";\n if (!isXlsx) {\n message.error(\"Only xlsx format files can be uploaded!\");\n }\n const isLt5M = file.size / 1024 / 1024 < 10;\n if (!isLt5M) {\n message.error(\"The file size should not be larger than 10MB!\");\n }\n return isXlsx && isLt5M;\n };\n const uploadRequest = (source: any) => {\n if (formData.has(\"file\")) {\n formData.delete(\"file\");\n }\n formData.append(\"file\", source.file);\n curUploadFile.value = source.file;\n uploadFileSize.value =\n source.file.size / 1024 > 1024\n ? `${(source.file.size / 1024 / 1024).toFixed(1)} MB`\n : `${Math.floor(source.file.size / 1024)} KB`;\n isBeforeUpload.value = false;\n };\n\n const isShowTable = ref(false);\n // 上传文件\n const uploadFile = (source: any) => {\n if (roundVal.value === undefined) {\n isShowErrorTips.value = true;\n } else if (roundVal.value?.trim() === \"\") {\n isShowErrorTips.value = true;\n } else {\n isShowErrorTips.value = false;\n }\n if (isShowErrorTips.value) return;\n isClickAbled.value = false;\n const params = {\n payoutRoundId: roundVal.value,\n file: formData,\n };\n axios({\n method: \"post\",\n data: formData,\n url: \"/claimapi/payout/reimbursement/uploadReimbursement\",\n params: params,\n }).then((res) => {\n console.log(res);\n isShowUploadBtn.value = false;\n curPercent.value = 100;\n completeTips.value = true;\n isClickAbled.value = true;\n if (res.data.code !== \"0\" && res.data.code !== \"50061\") {\n if (res.data.data) {\n showDownload.value = true;\n } else {\n showDownload.value = false;\n }\n // 显示模态窗口\n downloadModalVisible.value = true;\n downloadTipsText.value = res.data.message;\n // 存data里的信息\n if (res.data.data !== \"\")\n window.sessionStorage.setItem(\"errorFileName\", res.data.data);\n } else if (res.data.code === \"50061\") {\n emptyVisible.value = true;\n emptyTipsText.value = res.data.message;\n } else {\n message.success(res.data.message);\n if (res.data !== \"\") {\n isShowTable.value = true;\n dataSource.value = res.data.data;\n } else {\n isShowTable.value = false;\n }\n isImport.value = true;\n }\n });\n };\n // 上传功能出错后下载模态窗口\n const handleDownload = () => {\n loading.value = true;\n // 调下载错误文件接口\n const path = window.sessionStorage.getItem(\"errorFileName\")\n ? window.sessionStorage.getItem(\"errorFileName\")\n : null;\n if (!path) return;\n const downloadParams = {\n payoutRoundId: roundVal.value,\n path: window.sessionStorage.getItem(\"errorFileName\"),\n };\n const params = {\n url: `/claimapi/common/download/errorFile`,\n method: \"get\",\n params: downloadParams,\n fileName: `${+new Date()}.xlsx`,\n };\n downloadFileUrl(params, \"application/vnd-excel; char-set=UTF-8\").then(\n (res) => {\n loading.value = false;\n downloadModalVisible.value = false;\n emptyVisible.value = false;\n }\n );\n };\n const handleCancel = () => {\n downloadModalVisible.value = false;\n };\n const showUploadHandle = () => {\n isBeforeUpload.value = true;\n isShowUploadBtn.value = true;\n curPercent.value = 0;\n completeTips.value = false;\n window.sessionStorage.removeItem(\"errorFileName\");\n isImport.value = false;\n };\n\n // 下载模板接口调用\n const downloadTemHandle = () => {\n const params = {\n url: `/claimapi/payout/reimbursement/templateDownload`,\n method: \"get\",\n fileName: `${+new Date()}.xlsx`,\n };\n downloadFile(params, \"application/vnd-excel; char-set=UTF-8\");\n };\n // 导入接口调用\n const importFile = () => {\n const params = {\n payoutRoundId: roundVal.value,\n file: formData,\n };\n axios({\n method: \"post\",\n data: formData,\n url: \"/claimapi/payout/reimbursement/import\",\n params: params,\n }).then((res) => {\n if (res.data.code !== \"0\") {\n Modal.warning({\n title: \"Tips\",\n content: res.data.message,\n centered: true,\n });\n } else {\n message.success(res.data.message);\n context.emit(\"change-table\");\n }\n });\n };\n const dataSource = ref([]);\n const columns = [\n {\n title: \"车辆信息\",\n dataIndex: \"calculatorKey\",\n key: \"calculatorKey\",\n width: 120,\n },\n {\n title: \"状态\",\n dataIndex: \"msg\",\n key: \"msg\",\n width: 80,\n },\n ];\n\n const spinWrapper = document.querySelector(\n \".spingWrapper .ant-spin-container\"\n );\n\n const handleExport = () => {\n const params = {\n url: `/claimapi/payout/reimbursement/exportWithoutCalculator`,\n method: \"post\",\n params: { messages: dataSource.value },\n };\n downloadFile(params, \"application/vnd-excel; char-set=UTF-8\");\n };\n\n return {\n showDownload,\n isShowErrorTips,\n downloadModalVisible,\n downloadTipsText,\n handleDownload,\n handleCancel,\n roundVal,\n title,\n modal,\n roleVal,\n close,\n roundList,\n isShowTable,\n uploadFile,\n beforeUpload,\n uploadListParams,\n downloadTemHandle,\n uploadComplete,\n importFile,\n isBeforeUpload,\n isShowUploadBtn,\n uploadRequest,\n curPercent,\n curUploadFile,\n uploadFileSize,\n isImport,\n showUploadHandle,\n completeTips,\n isClickAbled,\n emptyVisible,\n emptyTipsText,\n dataSource,\n columns,\n spinWrapper,\n handleExport,\n };\n },\n});\n","import { render } from \"./index.vue?vue&type=template&id=a184a374&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=a184a374&lang=scss&scoped=true\"\nimport \"./index.vue?vue&type=style&index=1&id=a184a374&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-a184a374\"]])\n\nexport default __exports__","\nimport { defineComponent, ref, reactive, toRefs, onMounted } from \"vue\";\nimport { useRouter } from \"vue-router\";\nimport useRetailOverview from \"@/hooks/claim/useRetailOverview\";\nimport PayoutRoundDetail from \"./PayoutRound/index.vue\";\nimport UploadDetail from \"./UploadDetail/index.vue\";\nimport {\n deleteReimbursement,\n payoutRoundSubmit,\n payoutForm,\n exportFailResult,\n} from \"@/API/claim/claimRT\";\nimport { message } from \"ant-design-vue\";\nimport { Modal } from \"ant-design-vue\";\nimport Breadcrumb from \"@/components/Breadcrumb.vue\";\nimport downloadFile from \"@/utils/claim/downloadFile\";\n\nexport default defineComponent({\n components: {\n PayoutRoundDetail,\n UploadDetail,\n Breadcrumb,\n },\n setup() {\n const isActive = ref(false); //勾选的Payout Round条目Status 是否为Controlling Confirmed\n\n const router = useRouter();\n // 主页面表格数据相关逻辑\n const {\n isMBLC,\n isMBAFC,\n payoutVal,\n statusVal,\n selectSize,\n payoutList,\n statusList,\n paginationObj,\n claimListParams,\n tableHeight,\n columns,\n claimListData,\n getTableData,\n pageChange,\n sizeChange,\n getTableDateHandle,\n getRoundListHandle,\n } = useRetailOverview();\n // 用户角色设置及判断\n const curRole = ref(\"\");\n // 设置isVisible状态\n const isVisible = ref(false);\n const isUploadVisible = ref(false);\n // 关闭抽屉\n const closeSub = (param: { isVisible: boolean }) => {\n isVisible.value = param.isVisible;\n };\n const closeUpload = (param: { isUploadVisible: boolean }) => {\n isUploadVisible.value = param.isUploadVisible;\n };\n // 功能按钮区域\n // payout round\n const generateRoundHandle = () => {\n isVisible.value = true;\n };\n const uploadHandle = (role: string) => {\n curRole.value = role;\n isUploadVisible.value = true;\n };\n // 表格复选框逻辑\n const state = reactive({\n selectedRowKeys: [], // Check here to configure the default column\n selectedRows: [],\n });\n const start = () => {\n // ajax request after empty completing\n state.selectedRowKeys = [];\n state.selectedRows = [];\n };\n const onSelectChange = (selectedRowKeys: [], selectedRows: []) => {\n state.selectedRowKeys = selectedRowKeys;\n state.selectedRows = selectedRows;\n isActive.value = false;\n for (let i = 0; i < selectedRows.length; i++) {\n if ((selectedRows[i] as any).statusLabel === \"Controlling Confirmed\") {\n isActive.value = true;\n }\n }\n };\n // Submit for checking接口调用\n const submitCheckingParams = reactive({ ids: [] });\n const submitCheckingHandle = () => {\n const selectedArr: any = [];\n if (state.selectedRows.length < 1) {\n Modal.warning({\n title: \"Tips\",\n content: \"Please select one and click again!\",\n okText: \"Confirm\",\n centered: true,\n });\n return;\n }\n Modal.confirm({\n title: \"Tips\",\n content: \"Do you want to submit selected payout round?\",\n okText: \"Confirm\",\n centered: true,\n onOk() {\n for (let i = 0; i < state.selectedRows.length; i++) {\n selectedArr.push(state.selectedRows[i].id);\n }\n submitCheckingParams.ids = selectedArr;\n payoutRoundSubmit(submitCheckingParams).then((res) => {\n if (res.code === \"0\") {\n message.success(res.message);\n // 刷新页面\n getTableData();\n } else {\n Modal.error({\n title: \"Tips\",\n content: res.message,\n centered: true,\n });\n }\n });\n },\n });\n };\n // export Fail Result\n const exportFailResultHandle = () => {\n if (\n state.selectedRowKeys.length === 0 ||\n state.selectedRowKeys.length > 1\n ) {\n Modal.warning({\n title: \"Tips\",\n content: \"Please select one and click again!\",\n centered: true,\n });\n } else if (state.selectedRowKeys.length === 1) {\n const payoutRoundId = state.selectedRows[0].id;\n const params = {\n url: \"/claimapi/payout/round/failResult\",\n method: \"post\",\n params: { roundId: `${payoutRoundId}` },\n fileName: `${+new Date()}.xlsx`,\n };\n downloadFile(params, \"application/vnd-excel; char-set=UTF-8\");\n }\n };\n // payment入口连接处\n const payoutFromHandle = () => {\n if (!isActive.value) {\n return;\n }\n if (\n state.selectedRowKeys.length === 0 ||\n state.selectedRowKeys.length > 1\n ) {\n Modal.warning({\n title: \"Tips\",\n content: \"Please select one and click again!\",\n centered: true,\n });\n } else if (state.selectedRowKeys.length === 1) {\n if (state.selectedRows[0].statusLabel !== \"Controlling Confirmed\") {\n Modal.warning({\n title: \"Tips\",\n content:\n \"Please select the data with the status of controlling confirmed!\",\n centered: true,\n });\n return;\n }\n const payoutRoundId = state.selectedRows[0].id;\n payoutForm(payoutRoundId).then((res) => {\n if (res.code === \"0\") {\n message.success(`Generate Payout Form ${res.message}`);\n getTableData();\n } else if (res.code === \"50065\") {\n message.warn(res.message);\n } else {\n message.warn(`Generate Payout Form ${res.message}`);\n }\n });\n }\n };\n const viewHandle = (id: string) => {\n router.push({ path: \"/claim/claimDetail\", query: { id: id } });\n };\n // 删除数据接口调用\n const deleteHandle = (id: string) => {\n deleteReimbursement({ id: id }).then((res) => {\n if (res.code === \"0\") {\n message.success(res.message);\n getTableData();\n getRoundListHandle();\n } else {\n Modal.error({\n title: \"Tips\",\n content: res.message,\n centered: true,\n });\n }\n });\n };\n\n const refreshTable = () => {\n getTableData();\n getRoundListHandle();\n };\n\n onMounted(() => {\n getTableData();\n });\n\n return {\n isMBLC,\n isMBAFC,\n isActive,\n curRole,\n payoutVal,\n payoutList,\n statusList,\n statusVal,\n selectSize,\n generateRoundHandle,\n uploadHandle,\n submitCheckingHandle,\n exportFailResultHandle,\n getTableDateHandle,\n start,\n onSelectChange,\n payoutFromHandle,\n columns,\n claimListData,\n getTableData,\n viewHandle,\n deleteHandle,\n isVisible,\n isUploadVisible,\n closeSub,\n closeUpload,\n tableHeight,\n pageChange,\n sizeChange,\n paginationObj,\n claimListParams,\n refreshTable,\n ...toRefs(state),\n };\n },\n});\n","import { render } from \"./index.vue?vue&type=template&id=f4053d2c&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=f4053d2c&lang=scss&scoped=true\"\n\nimport exportComponent from \"/app/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-f4053d2c\"]])\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=a184a374&lang=scss&scoped=true\"","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=f4053d2c&lang=scss&scoped=true\"","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=1&id=5a35f744&lang=scss\"","import { reactive } from \"vue\";\nconst usePage = () => {\n // 分页\n const paginationObj = reactive({\n total: 0,\n current: 1,\n size: 20\n })\n interface QueryPageParams {\n current: number;\n size: number;\n }\n interface VoidFuction{\n (): void;\n }\n const pageChange = (page: number, pageSize: number, queryParams: QueryPageParams, getTableDataFun: VoidFuction) => {\n paginationObj.current = page;\n paginationObj.size = pageSize;\n queryParams['current'] = page > 0 ? page - 1: 0\n queryParams['size'] = paginationObj.size = pageSize\n getTableDataFun()\n };\n const sizeChange = (page: number, pageSize: number, queryParams: QueryPageParams, getTableDataFun: VoidFuction) => {\n paginationObj.current = page;\n paginationObj.size = pageSize;\n queryParams['current'] = page > 0 ? page - 1: 0\n queryParams['size'] = paginationObj.size = pageSize\n getTableDataFun()\n };\n return {\n paginationObj,\n pageChange,\n sizeChange\n }\n}\nexport default usePage","/*\n * @Author: zhengda.lv\n * @Date: 2021-10-30 10:15:26\n * @LastEditTime: 2021-12-17 16:13:15\n * @LastEditors: zhengda.lv\n * @Description:\n */\nimport axios from 'axios';\nimport { AxiosRequestConfig } from '@/API/types';\nexport default (options: AxiosRequestConfig, type: string) => {\n const { url, method = 'get', params, fileName } = options;\n const config: any = {\n url: url,\n method,\n responseType: 'blob',\n };\n if (method === 'get') {\n config['params'] = params;\n } else {\n config['data'] = params;\n }\n return new Promise((resolve, reject) => {\n axios(config)\n .then((res: any) => {\n // 文件格式\n const blob = new Blob([res.data], { type: type }); //指定格式为vnd.ms-excel\n const downloadElement = document.createElement('a');\n const href = window.URL.createObjectURL(blob); //创建下载的链接\n downloadElement.href = href;\n const str = res.headers['content-disposition'];\n const index = str.lastIndexOf('=');\n if (str.substring(index + 1, str.length)) {\n downloadElement.download = decodeURIComponent(\n str.substring(index + 1, str.length)\n );\n } else if (fileName) {\n downloadElement.download = fileName;\n } else {\n downloadElement.download = Date.now().toString();\n }\n document.body.appendChild(downloadElement);\n downloadElement.click(); //点击下载\n document.body.removeChild(downloadElement); //下载完成移除元素\n window.URL.revokeObjectURL(href); //释放掉blob对象\n resolve(res);\n })\n .catch(function(error: string) {\n console.log(error);\n return reject(error);\n });\n });\n};\n"],"sourceRoot":""}