{"version":3,"sources":["webpack:///./src/assets/images/rv/upload.svg","webpack:///./src/utils/claim/downloadFileUrl.ts","webpack:///./src/utils/checking/rangeArray.ts","webpack:///./src/views/Checking/CheckingManagement/UploadDetail/index.vue?f117","webpack:///./src/views/Checking/CheckingManagement/UploadDetail/index.vue?3990","webpack:///./src/API/checking/checkingManagement.ts","webpack:///./src/hooks/claim/usePage.ts","webpack:///./src/views/Checking/CheckingManagement/index.vue?5199","webpack:///./src/views/Checking/CheckingManagement/UploadDetail/index.vue?a7d3","webpack:///./src/utils/checking/downloadFile.ts","webpack:///./src/views/Checking/CheckingManagement/UploadDetail/index.vue","webpack:///./src/views/Checking/CheckingManagement/UploadDetail/index.vue?8adc","webpack:///./src/views/Checking/CheckingManagement/type.ts","webpack:///./src/hooks/checking/useManagement.ts","webpack:///./src/views/Checking/CheckingManagement/index.vue","webpack:///./src/views/Checking/CheckingManagement/index.vue?f478","webpack:///./src/utils/claim/downloadFile.ts","webpack:///./src/views/Checking/CheckingManagement/index.vue?d7ec"],"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","range","start","end","step","Array","from","length","_","i","getAGManagementData","getTAManagementData","getTDTAManagementData","searchVehicle","getBrand","getProgramCodeList","findProgramCodeList","buId","code","getProgramTANameList","getUser","usePage","paginationObj","total","current","size","pageChange","page","pageSize","queryParams","getTableDataFun","sizeChange","_withScopeId","n","_hoisted_1","class","_hoisted_2","_hoisted_3","key","_hoisted_4","_hoisted_5","_hoisted_6","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_11","_hoisted_12","_hoisted_13","_hoisted_14","_hoisted_15","_hoisted_16","render","_ctx","_cache","$props","$setup","$data","$options","_component_Breadcrumb","_component_a_input","_component_a_select_option","_component_a_select","_component_a_button","_component_a_space","_component_a_table","_component_a_pagination","_component_upload_detail","$route","name","dataSource","align","default","placeholder","value","$event","typeList","tp","title","year","yearList","status","statusList","stat","quarter","quarterList","qt","bu","buList","buVal","nameEn","id","$btnPermissions","onClick","getTableData","reset","exportData","openUploadDrawer","rowClassName","record","index","rowKey","columns","tableData","selectedRowKeys","onChange","onSelectChange","scroll","x","tableWidth","colType","y","tableHeight","pagination","text","searchParams","onShowSizeChange","pageSizeOptions","buildOptionText","props","isUploadVisible","onCloseUploadVisible","closeUpload","src","_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","style","position","right","bottom","width","borderTop","padding","background","textAlign","zIndex","_hoisted_30","_hoisted_31","_hoisted_32","_hoisted_33","_hoisted_34","_hoisted_35","_hoisted_36","_component_a_upload_dragger","_component_a_progress","_component_CheckCircleOutlined","_component_ExclamationCircleOutlined","_component_a_modal","_component_a_drawer","closable","visible","modal","onClose","close","isEmptyBu","trim","isEmptyYear","isEmptyQuarter","downloadTemHandle","listType","showUploadList","multiple","beforeUpload","customRequest","uploadRequest","isBeforeUpload","curUploadFile","percent","curPercent","strokeColor","completeTips","uploadFileSize","disabled","isClickAbled","uploadFile","showUploadHandle","downloadModalVisible","onOk","handleDownload","centered","footer","handleCancel","loading","downloadTipsText","emptyVisible","emptyTipsText","fileName","responseType","blob","Blob","createObjectURL","str","lastIndexOf","substring","download","decodeURI","Date","now","toString","components","ExclamationCircleOutlined","CheckCircleOutlined","emits","Boolean","required","setup","context","route","getYearList","currentDate","currentYear","getFullYear","isShowUploadBtn","roundVal","isImport","uploadComplete","formData","FormData","emit","file","isXlsx","message","isLt5M","source","has","delete","append","toFixed","Math","floor","queryCheck","undefined","set","sessionStorage","setItem","success","err","path","getItem","downloadParams","downloadFileUrl","removeItem","__exports__","agColumns1","dataIndex","slots","customRender","agColumns2","taColumns1","taColumns2","STARTYEAR","myDate","endYear","useManagement","AGColumns1","AGColumns2","TAColumns1","TAColumns2","setColumns","includes","businessUnit","agList","totalNum","newName","oldName","noUseBuIds","filter","ele","parentId","UploadDetail","height","state","selectedRows","selectedRow","param","businessunit","decodeURIComponent"],"mappings":"qGAAAA,EAAOC,QAAU,IAA0B,2B,oCCA3C,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,oCChD9B,IAAMG,EAAQ,SAACC,EAAeC,EAAaC,GACvC,OAAAC,MAAMC,KACF,CAAEC,QAASJ,EAAMD,GAASE,EAAO,IACjC,SAACI,EAAGC,GAAM,OAAAP,EAAQO,EAAIL,MAEf,U,oCCLf,W,kCCAA,W,kFCAA,kUAWaM,EAAsB,SAC/BjC,GAEA,OAAO,eAAU,8CAA+CA,IAIvDkC,EAAsB,SAC/BlC,GAEA,OAAO,eAAU,kDAAmDA,IAI3DmC,EAAwB,SACjCnC,GAEA,OAAO,eAAU,wBAAyBA,IAIjCoC,EAAgB,SAACpC,GAC1B,OAAO,eAAU,gCAAiCA,IAIzCqC,EAAW,SAACrC,GACrB,OAAO,eAAS,6BAA8BA,IAIrCsC,EAAqB,SAACtC,GAC/B,OAAO,eAAS,0CA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AAI8M,gBAAgBF,GACxCvN,EAAgBG,KAAOA,EACvB,IAAMuN,EAAM3N,EAAIM,QAAQ,uBAClB+G,EAAQsG,EAAIC,YAAY,KAC1BD,EAAIE,UAAUxG,EAAQ,EAAGsG,EAAInM,QAC7BvB,EAAgB6N,SAAWkF,mBACvBrF,EAAIE,UAAUxG,EAAQ,EAAGsG,EAAInM,SAGjCvB,EAAgB6N,SADTR,GAGoBU,KAAKC,MAAMC,WAE1ChO,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,kCChD9B,W","file":"js/chunk-3e0dfe32.5c296684.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","const range = (start: number, end: number, step: number): number[] =>\n Array.from(\n { length: (end - start) / step + 1 },\n (_, i) => start + i * step\n );\nexport default range;\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=1&id=23a52d82&lang=scss\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./index.vue?vue&type=style&index=0&id=23a52d82&lang=scss&scoped=true\"","import { fetchGet, fetchPost } from '../index';\nimport {\n AGManagementQueryParams,\n TAManagementQueryParams,\n} from '@/views/Checking/CheckingManagement/type';\n//* 获取bu接口\nexport const getBuData = (): Promise => {\n return fetchGet('');\n};\n\n//* AG table数据查询接口\nexport const getAGManagementData = (\n params: AGManagementQueryParams\n): Promise => {\n return fetchPost('/claimapi/claimChecking/agManagement/search', params);\n};\n\n//* TA table数据查询接口\nexport const getTAManagementData = (\n params: TAManagementQueryParams\n): Promise => {\n return fetchPost('/claimapi/claimChecking/taManagement/signTAList', params);\n};\n\n//* TDTA table数据查询接口\nexport const getTDTAManagementData = (\n params: TAManagementQueryParams\n): Promise => {\n return fetchPost('/claimapi/tdta/search', params);\n};\n\n//* 车辆信息级联查询\nexport const searchVehicle = (params: any): Promise => {\n return fetchPost('/claimapi/tdta/search/vehicle', params);\n};\n\n//* findBrandByBu\nexport const getBrand = (params: any): Promise => {\n return fetchGet('/vapi/noAuth/findBrandByBu', params);\n};\n\n//* 根据 Program Code 模糊查询 Program Code 列表\nexport const getProgramCodeList = (params: any): Promise => {\n return fetchGet('/pgapi/calc/claim/get_program_code_list', { params });\n};\n\n//* 根据BU、Program Code 模糊查询 Program Code 列表\nexport const findProgramCodeList = (buId: string, code: string): Promise => {\n return fetchGet('/pgapi/calc/claim/find_program_code_list', {\n params: {\n buId,\n code\n }\n });\n}\n\n//* 根据program code 查询 taname\nexport const getProgramTANameList = (params: any): Promise => {\n return fetchGet('/pgapi/calc/claim/get_program_taname_list', { params });\n};\n\n//* 获取用户信息的接口\nexport const getUser = (): Promise => {\n return fetchGet('/usapi/users/currentuser');\n};\n","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","import { resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createElementVNode as _createElementVNode, createVNode as _createVNode, renderList as _renderList, Fragment as _Fragment, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-82d8643e\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"wrap claim-wrap\" }\nconst _hoisted_2 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { class: \"label\" }, \"Name\", -1))\nconst _hoisted_3 = { key: 0 }\nconst _hoisted_4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { class: \"label\" }, \"Type\", -1))\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { class: \"label\" }, \"Year\", -1))\nconst _hoisted_6 = { key: 1 }\nconst _hoisted_7 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { class: \"label\" }, \"Status\", -1))\nconst _hoisted_8 = { key: 2 }\nconst _hoisted_9 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { class: \"label\" }, \"Quarter\", -1))\nconst _hoisted_10 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { class: \"label\" }, \"Business Unit\", -1))\nconst _hoisted_11 = /*#__PURE__*/_createTextVNode(\"Search\")\nconst _hoisted_12 = /*#__PURE__*/_createTextVNode(\"Reset\")\nconst _hoisted_13 = { class: \"ag-table\" }\nconst _hoisted_14 = /*#__PURE__*/_createTextVNode(\"Export\")\nconst _hoisted_15 = /*#__PURE__*/_createTextVNode(\"Upload\")\nconst _hoisted_16 = { 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_input = _resolveComponent(\"a-input\")!\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_space = _resolveComponent(\"a-space\")!\n const _component_a_table = _resolveComponent(\"a-table\")!\n const _component_a_pagination = _resolveComponent(\"a-pagination\")!\n const _component_upload_detail = _resolveComponent(\"upload-detail\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (_ctx.$route.name === 'ag-management')\n ? (_openBlock(), _createBlock(_component_Breadcrumb, {\n key: 0,\n dataSource: []\n }))\n : _createCommentVNode(\"\", true),\n (_ctx.$route.name === 'ta-management')\n ? (_openBlock(), _createBlock(_component_Breadcrumb, {\n key: 1,\n dataSource: []\n }))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_1, [\n _createVNode(_component_a_space, {\n class: \"feature-con\",\n align: \"end\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_a_space, null, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", null, [\n _hoisted_2,\n _createVNode(_component_a_input, {\n placeholder: \"Input...\",\n value: _ctx.name,\n \"onUpdate:value\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.name) = $event))\n }, null, 8, [\"value\"])\n ]),\n (_ctx.$route.name === 'ta-management')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_3, [\n _hoisted_4,\n _createVNode(_component_a_select, {\n value: _ctx.type,\n \"onUpdate:value\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.type) = $event)),\n placeholder: \"Please select\",\n class: \"sel-inp-size\"\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.typeList, (tp) => {\n return (_openBlock(), _createBlock(_component_a_select_option, {\n value: tp,\n key: tp,\n title: tp\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(tp), 1)\n ]),\n _: 2\n }, 1032, [\"value\", \"title\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"value\"])\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", null, [\n _hoisted_5,\n _createVNode(_component_a_select, {\n value: _ctx.year,\n \"onUpdate:value\": _cache[2] || (_cache[2] = ($event: any) => ((_ctx.year) = $event)),\n placeholder: \"Please select\",\n class: \"sel-inp-size\"\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.yearList, (year) => {\n return (_openBlock(), _createBlock(_component_a_select_option, {\n value: year,\n key: year,\n title: year\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(year), 1)\n ]),\n _: 2\n }, 1032, [\"value\", \"title\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"value\"])\n ]),\n (_ctx.$route.name === 'ag-management')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_6, [\n _hoisted_7,\n _createVNode(_component_a_select, {\n value: _ctx.status,\n \"onUpdate:value\": _cache[3] || (_cache[3] = ($event: any) => ((_ctx.status) = $event)),\n placeholder: \"Please select\",\n class: \"sel-inp-size\"\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.statusList, (stat) => {\n return (_openBlock(), _createBlock(_component_a_select_option, {\n value: stat,\n key: stat,\n title: stat\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(stat), 1)\n ]),\n _: 2\n }, 1032, [\"value\", \"title\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"value\"])\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.$route.name === 'ta-management')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_8, [\n _hoisted_9,\n _createVNode(_component_a_select, {\n value: _ctx.quarter,\n \"onUpdate:value\": _cache[4] || (_cache[4] = ($event: any) => ((_ctx.quarter) = $event)),\n placeholder: \"Please select\",\n class: \"sel-inp-size\"\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.quarterList, (qt) => {\n return (_openBlock(), _createBlock(_component_a_select_option, {\n value: qt,\n key: qt,\n title: qt\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(qt), 1)\n ]),\n _: 2\n }, 1032, [\"value\", \"title\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"value\"])\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", null, [\n _hoisted_10,\n _createVNode(_component_a_select, {\n value: _ctx.bu,\n \"onUpdate:value\": _cache[5] || (_cache[5] = ($event: any) => ((_ctx.bu) = $event)),\n placeholder: \"Please select\",\n class: \"sel-inp-size\"\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.buList, (buVal) => {\n return (_openBlock(), _createBlock(_component_a_select_option, {\n value: buVal.nameEn,\n key: buVal.id,\n title: buVal.nameEn\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(buVal.nameEn), 1)\n ]),\n _: 2\n }, 1032, [\"value\", \"title\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"value\"])\n ]),\n (_ctx.$btnPermissions('SEARCH'))\n ? (_openBlock(), _createBlock(_component_a_button, {\n key: 3,\n class: \"s-w btn-style\",\n type: \"primary\",\n onClick: _cache[6] || (_cache[6] = ($event: any) => (_ctx.getTableData()))\n }, {\n default: _withCtx(() => [\n _hoisted_11\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_a_button, {\n class: \"s-w btn-style\",\n onClick: _cache[7] || (_cache[7] = ($event: any) => (_ctx.reset()))\n }, {\n default: _withCtx(() => [\n _hoisted_12\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createElementVNode(\"div\", _hoisted_13, [\n _createVNode(_component_a_space, { class: \"table-button flex-div justify-e\" }, {\n default: _withCtx(() => [\n (_ctx.$btnPermissions('EXPORT'))\n ? (_openBlock(), _createBlock(_component_a_button, {\n key: 0,\n onClick: _cache[8] || (_cache[8] = ($event: any) => (_ctx.exportData()))\n }, {\n default: _withCtx(() => [\n _hoisted_14\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n (_ctx.$btnPermissions('UPLOAD'))\n ? (_openBlock(), _createBlock(_component_a_button, {\n key: 1,\n type: \"primary\",\n onClick: _cache[9] || (_cache[9] = ($event: any) => (_ctx.openUploadDrawer()))\n }, {\n default: _withCtx(() => [\n _hoisted_15\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }),\n _createElementVNode(\"div\", null, [\n _createVNode(_component_a_table, {\n class: \"ant-table-striped\",\n rowClassName: \n (record, index) =>\n index % 2 === 1 ? 'table-striped' : null\n ,\n rowKey: \"id\",\n columns: _ctx.columns,\n \"data-source\": _ctx.tableData,\n \"row-selection\": {\n selectedRowKeys: _ctx.selectedRowKeys,\n onChange: _ctx.onSelectChange,\n type: 'radio',\n },\n scroll: {\n x: _ctx.tableWidth[`${_ctx.$route.name}-${_ctx.colType}`],\n y: _ctx.tableHeight,\n },\n pagination: false\n }, {\n status: _withCtx(({ text }) => [\n _createElementVNode(\"span\", null, _toDisplayString(text === 1 ? 'Active' : ''), 1)\n ]),\n _: 1\n }, 8, [\"rowClassName\", \"columns\", \"data-source\", \"row-selection\", \"scroll\"])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_16, [\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.searchParams, _ctx.getTableData)\n ),\n onShowSizeChange: _cache[11] || (_cache[11] = \n (page, pageSize) =>\n _ctx.sizeChange(page, pageSize, _ctx.searchParams, _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.isUploadVisible)\n ? (_openBlock(), _createBlock(_component_upload_detail, {\n key: 2,\n isUploadVisible: _ctx.isUploadVisible,\n buList: _ctx.buList,\n onCloseUploadVisible: _ctx.closeUpload\n }, null, 8, [\"isUploadVisible\", \"buList\", \"onCloseUploadVisible\"]))\n : _createCommentVNode(\"\", true)\n ], 64))\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/rv/upload.svg'\n\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-23a52d82\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"select-con\" }\nconst _hoisted_2 = { class: \"selection\" }\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { class: \"label\" }, \"BU\", -1))\nconst _hoisted_4 = {\n key: 0,\n class: \"error-tips\"\n}\nconst _hoisted_5 = { class: \"selection\" }\nconst _hoisted_6 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { class: \"label\" }, \"Year\", -1))\nconst _hoisted_7 = {\n key: 0,\n class: \"error-tips\"\n}\nconst _hoisted_8 = {\n key: 0,\n class: \"selection\"\n}\nconst _hoisted_9 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { class: \"label\" }, \"Quarter\", -1))\nconst _hoisted_10 = {\n key: 0,\n class: \"error-tips\"\n}\nconst _hoisted_11 = { class: \"download-con\" }\nconst _hoisted_12 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", { class: \"font_family icon-xiazai\" }, null, -1))\nconst _hoisted_13 = /*#__PURE__*/_createTextVNode(\" Template Download \")\nconst _hoisted_14 = { class: \"border-style\" }\nconst _hoisted_15 = { key: 0 }\nconst _hoisted_16 = /*#__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_17 = /*#__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_18 = {\n key: 1,\n class: \"process-con\"\n}\nconst _hoisted_19 = /*#__PURE__*/_createTextVNode(\" Selected Files: \")\nconst _hoisted_20 = { class: \"margin-style\" }\nconst _hoisted_21 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"process-title-style\" }, \"Total Process:\", -1))\nconst _hoisted_22 = { class: \"process-style\" }\nconst _hoisted_23 = { key: 0 }\nconst _hoisted_24 = { key: 1 }\nconst _hoisted_25 = /*#__PURE__*/_createTextVNode(\" Complete\")\nconst _hoisted_26 = { class: \"size-style\" }\nconst _hoisted_27 = /*#__PURE__*/_createTextVNode(\"Upload\")\nconst _hoisted_28 = /*#__PURE__*/_createTextVNode(\"Browse\")\nconst _hoisted_29 = { 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_30 = /*#__PURE__*/_createTextVNode(\"OK\")\nconst _hoisted_31 = /*#__PURE__*/_createTextVNode(\" Tips \")\nconst _hoisted_32 = { class: \"modal-txt\" }\nconst _hoisted_33 = /*#__PURE__*/_createTextVNode(\"Cancel\")\nconst _hoisted_34 = /*#__PURE__*/_createTextVNode(\"Download\")\nconst _hoisted_35 = /*#__PURE__*/_createTextVNode(\" Tips \")\nconst _hoisted_36 = { 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_space = _resolveComponent(\"a-space\")!\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_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[_ctx.$route.name],\n closable: true,\n visible: _ctx.modal,\n width: \"35.14%\",\n class: \"upload-drawer claim-drawer\",\n onClose: _ctx.close\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"section\", _hoisted_1, [\n _createVNode(_component_a_space, null, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_2, [\n _hoisted_3,\n _createVNode(_component_a_select, {\n value: _ctx.bu,\n \"onUpdate:value\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.bu) = $event)),\n class: \"sel-inp-size\",\n placeholder: \"Please Select\",\n onChange: _cache[1] || (_cache[1] = ($event: any) => (_ctx.isEmptyBu = _ctx.bu.trim() === '' ? true : false))\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.buList, (buVal) => {\n return (_openBlock(), _createBlock(_component_a_select_option, {\n value: buVal.nameEn,\n key: buVal.id,\n title: buVal.nameEn\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(buVal.nameEn), 1)\n ]),\n _: 2\n }, 1032, [\"value\", \"title\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"value\"]),\n (_ctx.isEmptyBu)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_4, \"Please choose BU!\"))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_5, [\n _hoisted_6,\n _createVNode(_component_a_select, {\n value: _ctx.year,\n \"onUpdate:value\": _cache[2] || (_cache[2] = ($event: any) => ((_ctx.year) = $event)),\n class: \"sel-inp-size\",\n placeholder: \"Please Select\",\n onChange: _cache[3] || (_cache[3] = ($event: any) => (_ctx.isEmptyYear = _ctx.year === null ? true : false))\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.yearList, (year) => {\n return (_openBlock(), _createBlock(_component_a_select_option, {\n value: year,\n key: year\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(year), 1)\n ]),\n _: 2\n }, 1032, [\"value\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"value\"]),\n (_ctx.isEmptyYear)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_7, \"Please choose year!\"))\n : _createCommentVNode(\"\", true)\n ]),\n (_ctx.$route.name === 'ta-management')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_8, [\n _hoisted_9,\n _createVNode(_component_a_select, {\n value: _ctx.quarter,\n \"onUpdate:value\": _cache[4] || (_cache[4] = ($event: any) => ((_ctx.quarter) = $event)),\n placeholder: \"Please select\",\n class: \"sel-inp-size\",\n onChange: _cache[5] || (_cache[5] = ($event: any) => (\n _ctx.isEmptyQuarter =\n _ctx.quarter.trim() === '' ? true : false\n ))\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.quarterList, (qt) => {\n return (_openBlock(), _createBlock(_component_a_select_option, {\n value: qt,\n key: qt,\n title: qt\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(qt), 1)\n ]),\n _: 2\n }, 1032, [\"value\", \"title\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"value\"]),\n (_ctx.isEmptyQuarter)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_10, \"Please choose quarter!\"))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n })\n ]),\n _createElementVNode(\"section\", _hoisted_11, [\n _createVNode(_component_a_button, {\n type: \"link\",\n class: \"blueFont\",\n onClick: _ctx.downloadTemHandle\n }, {\n default: _withCtx(() => [\n _hoisted_12,\n _hoisted_13\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ]),\n _createElementVNode(\"div\", _hoisted_14, [\n (_ctx.isBeforeUpload)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_15, [\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_16,\n _hoisted_17\n ]),\n _: 1\n }, 8, [\"before-upload\", \"customRequest\"])\n ]))\n : _createCommentVNode(\"\", true),\n (!_ctx.isBeforeUpload)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_18, [\n _createElementVNode(\"p\", null, [\n _hoisted_19,\n _createElementVNode(\"strong\", null, _toDisplayString(_ctx.curUploadFile.name), 1)\n ]),\n _createElementVNode(\"p\", _hoisted_20, [\n _hoisted_21,\n _createElementVNode(\"span\", _hoisted_22, [\n _createVNode(_component_a_progress, {\n percent: _ctx.curPercent,\n strokeColor: \"#108ee9\"\n }, null, 8, [\"percent\"]),\n (!_ctx.completeTips)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_23, _toDisplayString(_ctx.curPercent) + \"% done\", 1))\n : _createCommentVNode(\"\", true),\n (_ctx.completeTips)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_24, [\n _createVNode(_component_CheckCircleOutlined, { style: {\"color\":\"#108ee9\"} }),\n _hoisted_25\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"span\", _hoisted_26, _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_27\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_28\n ]),\n _: 1\n }, 8, [\"onClick\"]))\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_29, [\n _createVNode(_component_a_button, {\n type: \"primary\",\n style: {\"margin-right\":\"8px\"},\n onClick: _ctx.close\n }, {\n default: _withCtx(() => [\n _hoisted_30\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ]),\n _createVNode(_component_a_modal, {\n visible: _ctx.downloadModalVisible,\n \"onUpdate:visible\": _cache[6] || (_cache[6] = ($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_31\n ]),\n footer: _withCtx(() => [\n _createVNode(_component_a_button, {\n key: \"back\",\n onClick: _ctx.handleCancel\n }, {\n default: _withCtx(() => [\n _hoisted_33\n ]),\n _: 1\n }, 8, [\"onClick\"]),\n _createVNode(_component_a_button, {\n key: \"submit\",\n type: \"primary\",\n loading: _ctx.loading,\n onClick: _ctx.handleDownload\n }, {\n default: _withCtx(() => [\n _hoisted_34\n ]),\n _: 1\n }, 8, [\"loading\", \"onClick\"])\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"p\", _hoisted_32, _toDisplayString(_ctx.downloadTipsText), 1)\n ]),\n _: 1\n }, 8, [\"visible\", \"onOk\"]),\n _createVNode(_component_a_modal, {\n visible: _ctx.emptyVisible,\n \"onUpdate:visible\": _cache[7] || (_cache[7] = ($event: any) => ((_ctx.emptyVisible) = $event)),\n footer: null,\n centered: \"\"\n }, {\n title: _withCtx(() => [\n _createVNode(_component_ExclamationCircleOutlined, { style: {\"color\":\"#faad14\"} }),\n _hoisted_35\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"p\", _hoisted_36, _toDisplayString(_ctx.emptyTipsText), 1)\n ]),\n _: 1\n }, 8, [\"visible\"])\n ]),\n _: 1\n }, 8, [\"title\", \"visible\", \"onClose\"]))\n}","import 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 config['params'] = params;\n return new Promise((resolve, reject) => {\n axios(config)\n .then((res: any) => {\n // 文件格式\n console.log(res);\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\n console.log(res.headers['content-disposition']);\n if (str.substring(index + 1, str.length)) {\n downloadElement.download = decodeURI(\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","\nimport axios from 'axios';\nimport { defineComponent, reactive, ref } from 'vue';\nimport {\n ExclamationCircleOutlined,\n CheckCircleOutlined,\n} from '@ant-design/icons-vue';\n// import { getUploadRoundList } from '@/API/claim/claimWS';\n// import { PayoutRoundListData } from '@/views/Claim/WS/types';\nimport { FileItem } from '@/API/types';\nimport downloadFile from '@/utils/claim/downloadFile';\nimport { message } from 'ant-design-vue';\nimport { Modal } from 'ant-design-vue';\nimport { useRoute } from 'vue-router';\nimport downLoadTemplate from '@/utils/checking/downloadFile';\nimport downloadFileUrl from \"@/utils/claim/downloadFileUrl\";\n\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 buList: {\n type: Array,\n default: () => [],\n },\n },\n setup(props, context) {\n const route = useRoute();\n //\n const bu = ref(null);\n const year = ref(null);\n const yearList = ref([]);\n const getYearList = (): number[] => {\n const currentDate: Date = new Date();\n const currentYear = currentDate.getFullYear();\n const yearList: number[] = [\n currentYear - 1,\n currentYear,\n currentYear + 1,\n ];\n return yearList;\n };\n yearList.value = getYearList();\n const quarter = ref(null);\n const quarterList = ref(['Q1', 'Q2', 'Q3', 'Q4']);\n\n const isEmptyYear = ref(false);\n const isEmptyBu = ref(false);\n const isEmptyQuarter = ref(false);\n\n //!\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 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 = ref('Upload AG');\n const title = reactive({\n 'ag-management': 'Upload AG',\n 'ta-management': 'Upload Sign TA',\n });\n // const title = computed(() => `Upload ${(props as any).curRole} Reimbursement List`)\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: 'AFC', type: 'WS' };\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 < 5;\n if (!isLt5M) {\n message.error('The file size should not be larger than 5MB!');\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 queryCheck = (): boolean => {\n if (year.value === undefined) {\n isEmptyYear.value = true;\n } else if (year.value === null) {\n isEmptyYear.value = true;\n } else {\n isEmptyYear.value = false;\n }\n if (bu.value === undefined || bu.value === null) {\n isEmptyBu.value = true;\n } else if (\n bu.value === '' ||\n bu.value === undefined ||\n bu.value === null\n ) {\n isEmptyBu.value = true;\n } else {\n isEmptyBu.value = false;\n }\n if (route.name === 'ta-management') {\n if (quarter.value === undefined || quarter.value === null) {\n isEmptyQuarter.value = true;\n } else if (quarter.value?.trim() === '') {\n isEmptyQuarter.value = true;\n } else {\n isEmptyQuarter.value = false;\n }\n if (\n isEmptyYear.value ||\n isEmptyBu.value ||\n isEmptyQuarter.value\n ) {\n return true;\n } else {\n return false;\n }\n }\n if (isEmptyYear.value || isEmptyBu.value) {\n return true;\n } else {\n return false;\n }\n };\n\n // 上传文件\n const uploadFile = (source: any) => {\n if (queryCheck()) return;\n isClickAbled.value = false;\n\n let params = {};\n let url = '';\n if (route.name === 'ta-management') {\n params = {\n year: year.value,\n bu: bu.value,\n quarter: quarter.value,\n file: formData,\n };\n url = '/claimapi/claimChecking/taManagement/upload';\n }\n if (route.name === 'ag-management') {\n formData.set('bu', bu.value as string);\n formData.set('year', year.value as string);\n url = '/claimapi/claimChecking/agManagement/upload';\n }\n\n axios({\n method: 'post',\n data: formData,\n url,\n params: params,\n })\n .then((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 !== '50056') {\n emptyVisible.value = true;\n emptyTipsText.value = res.data.message;\n } else if (res.data.code === '50056') {\n // 显示模态窗口\n downloadModalVisible.value = true;\n downloadTipsText.value = res.data.message;\n // 存data里的信息\n if (res.data.data !== '')\n window.sessionStorage.setItem(\n 'errorFileName',\n res.data.data\n );\n } else {\n message.success(res.data.message);\n isImport.value = true;\n }\n })\n .catch((err) => {\n console.log(err);\n console.log('asdgaetwertewt');\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(\n params,\n 'application/vnd-excel; char-set=UTF-8'\n ).then((res) => {\n loading.value = false;\n downloadModalVisible.value = false;\n emptyVisible.value = false;\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 if (queryCheck()) return;\n if (route.name === 'ta-management') {\n const params = {\n url: '/claimapi/claimChecking/taManagement/download',\n method: 'post',\n params: {\n bu: bu.value,\n year: year.value,\n quarter: quarter.value,\n },\n };\n downLoadTemplate(\n params,\n 'application/vnd-excel; char-set=UTF-8'\n );\n }\n if (route.name === 'ag-management') {\n const params = {\n url: '/claimapi/claimChecking/agManagement/template',\n method: 'get',\n params: {\n bu: bu.value,\n year: year.value,\n },\n };\n downLoadTemplate(\n params,\n 'application/vnd-excel; char-set=UTF-8'\n );\n }\n };\n\n return {\n year,\n yearList,\n bu,\n quarter,\n quarterList,\n isEmptyYear,\n isEmptyBu,\n isEmptyQuarter,\n //\n loading,\n // isShowErrorTips,\n downloadModalVisible,\n downloadTipsText,\n handleDownload,\n handleCancel,\n roundVal,\n title,\n modal,\n close,\n uploadFile,\n beforeUpload,\n downloadTemHandle,\n uploadComplete,\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 };\n },\n});\n","import { render } from \"./index.vue?vue&type=template&id=23a52d82&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=23a52d82&lang=scss&scoped=true\"\nimport \"./index.vue?vue&type=style&index=1&id=23a52d82&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-23a52d82\"]])\n\nexport default __exports__","// AG查询接口\nexport interface AGManagementQueryParams {\n name?: string | null;\n year?: string | null;\n status?: string | null;\n businessUnit?: string | null;\n current?: number;\n size?: number;\n}\n\n// AGManagement 表格数据接口\nexport interface AGManagementTableData {\n id?: number;\n name: string;\n year: string;\n dealerCount: number;\n cbu?: number;\n pbp?: number;\n total: number;\n status: string;\n uploadBy: string;\n uploadAt: string;\n}\n\nexport const agColumns1 = [\n { title: 'Name', dataIndex: 'name' },\n {\n title: 'Year',\n dataIndex: 'year',\n width: 80,\n },\n {\n title: 'Dealer Count',\n dataIndex: 'dealerCount',\n width: 130,\n },\n { title: 'CBU', dataIndex: 'cbu', width: 130 },\n { title: 'PBP', dataIndex: 'pbp', width: 130 },\n { title: 'Total', dataIndex: 'total', width: 130 },\n {\n title: 'Status',\n dataIndex: 'status',\n width: 100,\n slots: { customRender: 'status' },\n },\n {\n title: 'Upload User',\n dataIndex: 'uploadUser',\n width: 180,\n },\n {\n title: 'Upload Time',\n dataIndex: 'uploadTime',\n width: 180,\n },\n];\nexport const agColumns2 = [\n { title: 'Name', dataIndex: 'name' },\n {\n title: 'Year',\n dataIndex: 'year',\n width: 80,\n },\n {\n title: 'Dealer Count',\n dataIndex: 'dealerCount',\n width: 130,\n },\n { title: 'Total', dataIndex: 'total', width: 130 },\n {\n title: 'Status',\n dataIndex: 'status',\n width: 100,\n slots: { customRender: 'status' },\n },\n {\n title: 'Upload User',\n dataIndex: 'uploadUser',\n width: 180,\n },\n {\n title: 'Upload Time',\n dataIndex: 'uploadTime',\n width: 180,\n },\n];\n\n// export const agColumns2 = [\n// { title: 'Name', dataIndex: 'name', width: 120 },\n// {\n// title: 'Year',\n// dataIndex: 'year',\n// width: 80,\n//\n// },\n// {\n// title: 'Dealer Count',\n// dataIndex: 'dealerCount',\n// width: 130,\n//\n// },\n// { title: 'Total', dataIndex: 'total', width: 100 },\n// {\n// title: 'Status',\n// dataIndex: 'status',\n// width: 100,\n// slots: { customRender: 'status' },\n//\n// },\n// {\n// title: 'Upload User',\n// dataIndex: 'uploadUser',\n// width: 100,\n//\n// },\n// {\n// title: 'Upload Time',\n// dataIndex: 'uploadTime',\n// width: 100,\n//\n// },\n// ];\n\n// TA 查询接口\nexport interface TAManagementQueryParams {\n name?: string | null;\n year?: string | null;\n type?: string | null;\n quarter?: string | null;\n businessUnit?: string;\n current?: number;\n size?: number;\n}\n\n// TAManagement 表格数据接口\nexport interface TAManagementTableData {\n id?: number;\n name: string;\n type: string;\n year: string;\n quarter: string;\n dealercount: number;\n CBU?: number;\n PbP?: number;\n total: number;\n status: string;\n uploaduser: string;\n uploadtime: string;\n current: number;\n size: number;\n}\n\nexport const taColumns1 = [\n { title: 'Name', dataIndex: 'name' },\n {\n title: 'Type',\n dataIndex: 'type',\n width: 80,\n },\n {\n title: 'Year',\n dataIndex: 'year',\n width: 80,\n },\n {\n title: 'Quarter',\n dataIndex: 'quarter',\n width: 100,\n },\n {\n title: 'Dealer Count',\n dataIndex: 'dealercount',\n width: 130,\n },\n { title: 'CBU', dataIndex: 'CBU', width: 130 },\n { title: 'PBP', dataIndex: 'PbP', width: 130 },\n { title: 'Total', dataIndex: 'total', width: 130 },\n {\n title: 'Status',\n dataIndex: 'status',\n width: 120,\n slots: { customRender: 'status' },\n },\n {\n title: 'Upload User',\n dataIndex: 'uploaduser',\n width: 180,\n },\n {\n title: 'Upload Time',\n dataIndex: 'uploadtime',\n width: 180,\n },\n];\n\nexport const taColumns2 = [\n { title: 'Name', dataIndex: 'name' },\n {\n title: 'Type',\n dataIndex: 'type',\n width: 80,\n align: 'left',\n },\n {\n title: 'Year',\n dataIndex: 'year',\n width: 80,\n },\n {\n title: 'Quarter',\n dataIndex: 'quarter',\n width: 100,\n },\n {\n title: 'Dealer Count',\n dataIndex: 'dealercount',\n width: 130,\n },\n { title: 'Total', dataIndex: 'total', width: 130 },\n {\n title: 'Status',\n dataIndex: 'status',\n width: 120,\n slots: { customRender: 'status' },\n },\n {\n title: 'Upload User',\n dataIndex: 'uploaduser',\n width: 180,\n },\n {\n title: 'Upload Time',\n dataIndex: 'uploadtime',\n width: 180,\n },\n];\n\n// export const taColumns2 = [\n// { title: 'Name', dataIndex: 'name', width: 120 },\n// {\n// title: 'Type',\n// dataIndex: 'type',\n// width: 80,\n//\n// },\n// {\n// title: 'Year',\n// dataIndex: 'year',\n// width: 80,\n//\n// },\n// {\n// title: 'Quarter',\n// dataIndex: 'quarter',\n// width: 80,\n//\n// },\n// {\n// title: 'Dealer Count',\n// dataIndex: 'dealercount',\n// width: 130,\n//\n// },\n\n// { title: 'Total', dataIndex: 'total', width: 100 },\n// {\n// title: 'Status',\n// dataIndex: 'status',\n// width: 100,\n// slots: { customRender: 'status' },\n//\n// },\n// {\n// title: 'Upload User',\n// dataIndex: 'uploaduser',\n// width: 100,\n//\n// },\n// {\n// title: 'Upload Time',\n// dataIndex: 'uploadtime',\n// width: 100,\n//\n// },\n// ];\n","import usePage from '@/hooks/claim/usePage';\nimport range from '@/utils/checking/rangeArray';\nimport { ref, reactive, watch, onMounted } from 'vue';\nimport {\n AGManagementQueryParams,\n AGManagementTableData,\n TAManagementQueryParams,\n TAManagementTableData,\n agColumns1,\n agColumns2,\n taColumns1,\n taColumns2,\n} from '@/views/Checking/CheckingManagement/type';\nimport {\n getAGManagementData,\n getTAManagementData,\n} from '@/API/checking/checkingManagement';\nimport { useRoute } from 'vue-router';\nimport { getUser } from '@/API/checking/checkingManagement';\n\nconst STARTYEAR = 2020;\nconst myDate: Date = new Date();\nconst endYear: number = myDate.getFullYear() + 2;\n\nconst useManagement = () => {\n const route = useRoute();\n\n //* 共有的字段\n const name = ref(null);\n const year = ref(null);\n const yearList = ref(range(STARTYEAR, endYear, 1));\n\n //* AG TA 共有字段\n const bu = ref(null);\n const buList = ref([]);\n\n //* AG Management 需要的字段\n const status = ref(null);\n const statusList = ref(['Active', 'Non Active']);\n\n //* TA Mangement 需要的字段\n const type = ref(null);\n const typeList = ref(['WS', 'RT', 'ATD']);\n const quarter = ref(null);\n const quarterList = ref(['Q1', 'Q2', 'Q3', 'Q4']);\n\n const { paginationObj, pageChange, sizeChange } = usePage();\n\n const columns = ref<{ title: string; dataIndex: string; width?: number }[]>(\n []\n );\n\n //* 表头\n const AGColumns1 = reactive(agColumns1);\n const AGColumns2 = reactive(agColumns2);\n const TAColumns1 = reactive(taColumns1);\n const TAColumns2 = reactive(taColumns2);\n\n if (route.name === 'ag-management') {\n columns.value = AGColumns1;\n } else if (route.name === 'ta-management') {\n columns.value = TAColumns1;\n }\n\n // watch(bu, (newVal) => {\n // if (['VAN', 'DENZA'].includes(newVal as string)) {\n // if (route.name === 'ag-management') {\n // columns.value = AGColumns2;\n // } else {\n // columns.value = TAColumns2;\n // }\n // } else {\n // if (route.name === 'ag-management') {\n // columns.value = AGColumns1;\n // } else {\n // columns.value = TAColumns1;\n // }\n // }\n // });\n const colType = ref('c1');\n const setColumns = () => {\n if (['VAN', 'DENZA'].includes(bu.value as string)) {\n if (route.name === 'ag-management') {\n columns.value = AGColumns2;\n } else {\n columns.value = TAColumns2;\n }\n colType.value = 'c2';\n } else {\n if (route.name === 'ag-management') {\n columns.value = AGColumns1;\n } else {\n columns.value = TAColumns1;\n }\n colType.value = 'c1';\n }\n };\n\n let searchParams = reactive<\n AGManagementQueryParams | TAManagementQueryParams\n >({});\n\n // const tableData = ref([]);\n const tableData = ref(\n []\n );\n const reset = () => {\n name.value = null;\n status.value = null;\n type.value = null;\n bu.value = buList.value[0].nameEn;\n year.value = null;\n quarter.value = null;\n searchParams = reactive<\n AGManagementQueryParams | TAManagementQueryParams\n >({});\n };\n const getTableData = () => {\n searchParams.businessUnit = bu.value;\n searchParams.current = paginationObj.current - 1;\n searchParams.size = paginationObj.size;\n searchParams.name = name.value || '';\n searchParams.year = year.value || '';\n if (route.name === 'ag-management') {\n (searchParams as AGManagementQueryParams).status =\n status.value || '';\n getAGManagementData(searchParams as AGManagementQueryParams).then(\n (res) => {\n tableData.value = res.agList;\n paginationObj.total = res.total;\n }\n );\n }\n if (route.name === 'ta-management') {\n (searchParams as TAManagementQueryParams).quarter =\n quarter.value || '';\n (searchParams as TAManagementQueryParams).type = type.value || '';\n getTAManagementData(searchParams as TAManagementQueryParams).then(\n (res) => {\n tableData.value = res.data;\n paginationObj.total = res.totalNum;\n }\n );\n }\n setColumns();\n };\n\n watch(\n () => route.name,\n (newName, oldName) => {\n if (route.name === 'ag-management') {\n columns.value = AGColumns1;\n } else if (route.name === 'ta-management') {\n columns.value = TAColumns1;\n }\n if (newName !== oldName) {\n tableData.value = [];\n reset();\n getTableData();\n }\n }\n );\n\n onMounted(() => {\n // 过滤掉 fleet MBCPO AMGCPO CompanyCar\n const noUseBuIds = [6, 7, 8, 9];\n getUser().then((res) => {\n buList.value = res.buList\n .filter((ele: any) => {\n return ele.parentId === null;\n })\n .filter((ele: any) => {\n return !noUseBuIds.includes(ele.id);\n });\n bu.value = buList.value[0].nameEn;\n getTableData();\n });\n });\n\n return {\n name,\n year,\n yearList,\n status,\n statusList,\n bu,\n buList,\n type,\n typeList,\n quarter,\n quarterList,\n searchParams,\n reset,\n colType,\n columns,\n getTableData,\n tableData,\n // fakeDataList,\n paginationObj,\n pageChange,\n sizeChange,\n };\n};\n\nexport default useManagement;\n\n// const fakeDataList = ref([]);\n// fakeDataList.value = genFakeData(20);\n// const genFakeData = (num: number): AGManagementTableData[] => {\n// const fakeDataList: AGManagementTableData[] = [];\n// for (let i = 0; i < num; i++) {\n// const fakeDataObj: AGManagementTableData = {\n// id: i,\n// name: `name ${i}`,\n// year: '2020',\n// dealerCount: 123,\n// cbu: 123,\n// pbP: 123,\n// total: 369,\n// status: 'Active',\n// uploadBy: 'fake User',\n// uploadAt: '2021/5/1 16:00:11',\n// };\n// fakeDataList.push(fakeDataObj);\n// }\n// return fakeDataList;\n// };\n","\nimport { ref, defineComponent, reactive, toRefs, onMounted, watch } from 'vue';\nimport UploadDetail from './UploadDetail/index.vue';\nimport useManagement from '@/hooks/checking/useManagement';\nimport { useRoute } from 'vue-router';\nimport downloadFile from '@/utils/claim/downloadFile';\nimport fixTable from '@/hooks/checking/useFixTable';\nimport { message } from 'ant-design-vue';\n\nexport default defineComponent({\n components: {\n UploadDetail,\n },\n setup() {\n const route = useRoute();\n\n const tableWidth = reactive({\n 'ag-management-c1': 1450,\n 'ag-management-c2': 1190,\n 'ta-management-c1': 1650,\n 'ta-management-c2': 1390,\n });\n\n const {\n name,\n year,\n yearList,\n status,\n statusList,\n bu,\n buList,\n type,\n typeList,\n quarter,\n quarterList,\n searchParams,\n reset,\n columns,\n colType,\n getTableData,\n tableData,\n paginationObj,\n pageChange,\n sizeChange,\n } = useManagement();\n\n //* 限定表格\n const height: number = 100 + 50 + 150 + 10 + 15 + 32 + 10 + 48 + 10;\n const tableHeight = fixTable(height);\n\n const state = reactive({\n selectedRowKeys: [], // Check here to configure the default column\n selectedRows: [],\n });\n const onSelectChange = (selectedRowKeys: [], selectedRows: []) => {\n state.selectedRowKeys = selectedRowKeys;\n state.selectedRows = selectedRows;\n };\n\n watch(tableData, () => {\n state.selectedRow = [];\n state.selectedRowKeys = [];\n });\n\n //? 上传功能逻辑\n const isUploadVisible = ref(false);\n const openUploadDrawer = () => {\n isUploadVisible.value = true;\n };\n const closeUpload = (param: { isUploadVisible: boolean }) => {\n isUploadVisible.value = param.isUploadVisible;\n getTableData();\n };\n\n //? 导出功能\n const exportData = (): void => {\n if (state.selectedRowKeys.length === 0) {\n message.error('Please select one and click again!');\n return;\n }\n const selectedRow = state.selectedRows[0];\n if (route.name === 'ta-management') {\n const params = {\n url: '/claimapi/claimChecking/taManagement/export',\n method: 'post',\n params: {\n businessUnit: selectedRow.businessunit,\n quarter: selectedRow.quarter,\n type: selectedRow.type,\n year: selectedRow.year,\n size: 0,\n current: 0,\n },\n };\n downloadFile(params, 'application/vnd-excel; char-set=UTF-8');\n }\n if (route.name === 'ag-management') {\n const params = {\n url: '/claimapi/claimChecking/agManagement/export',\n method: 'post',\n params: {\n bu: selectedRow.bu,\n year: selectedRow.year,\n },\n };\n downloadFile(params, 'application/vnd-excel; char-set=UTF-8');\n }\n };\n\n return {\n tableWidth,\n //\n name,\n year,\n yearList,\n status,\n statusList,\n bu,\n buList,\n type,\n typeList,\n quarter,\n quarterList,\n //\n tableHeight,\n searchParams,\n reset,\n columns,\n colType,\n getTableData,\n tableData,\n onSelectChange,\n ...toRefs(state),\n //\n isUploadVisible,\n paginationObj,\n pageChange,\n sizeChange,\n openUploadDrawer,\n closeUpload,\n exportData,\n };\n },\n});\n","import { render } from \"./index.vue?vue&type=template&id=82d8643e&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=82d8643e&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-82d8643e\"]])\n\nexport default __exports__","/*\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","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=82d8643e&lang=scss&scoped=true\""],"sourceRoot":""}