{"version":3,"sources":["webpack:///./src/assets/images/rv/upload.svg","webpack:///./src/assets/images/rv/complete.svg","webpack:///./src/utils/claim/downloadFileUrl.ts","webpack:///./src/views/Checking/siccoCheckingDocumentCollection/selectProgramCover.vue?13fd","webpack:///./src/views/Checking/siccoCheckingDocumentCollection/index.vue?650b","webpack:///./src/utils/claim/b64toBlob.ts","webpack:///./src/views/Checking/siccoCheckingDocumentCollection/selectProgramCover.vue?7041","webpack:///./src/views/Checking/siccoCheckingDocumentCollection/importCheckingResult.vue?d6d6","webpack:///./src/utils/claim/downloadFile.ts","webpack:///./src/views/Checking/siccoCheckingDocumentCollection/index.vue?ed4d","webpack:///./src/views/Checking/siccoCheckingDocumentCollection/selectProgramCover.vue?7d91","webpack:///./src/API/checking/SICCOCCheckingDocColl.ts","webpack:///./src/views/Checking/siccoCheckingDocumentCollection/selectProgramCover.vue","webpack:///./src/views/Checking/siccoCheckingDocumentCollection/selectProgramCover.vue?1775","webpack:///./src/views/Checking/siccoCheckingDocumentCollection/importCheckingResult.vue?9b52","webpack:///./src/views/Checking/siccoCheckingDocumentCollection/importCheckingResult.vue","webpack:///./src/views/Checking/siccoCheckingDocumentCollection/importCheckingResult.vue?818c","webpack:///./src/views/Checking/siccoCheckingDocumentCollection/index.vue","webpack:///./src/views/Checking/siccoCheckingDocumentCollection/index.vue?0845"],"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","b64toBlob","b64Data","contentType","sliceSize","byteCharacters","atob","byteArrays","offset","length","slice","byteNumbers","Array","i","charCodeAt","byteArray","Uint8Array","push","blob","Blob","fileName","responseType","createObjectURL","str","index","lastIndexOf","substring","download","decodeURIComponent","Date","now","toString","_withScopeId","n","_hoisted_1","class","_hoisted_2","_hoisted_3","style","_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","_hoisted_17","_hoisted_18","_hoisted_19","key","_hoisted_20","_hoisted_21","_hoisted_22","_hoisted_23","_hoisted_24","_hoisted_25","_hoisted_26","_hoisted_27","_hoisted_28","_hoisted_29","_hoisted_30","_hoisted_31","_hoisted_32","_hoisted_33","_hoisted_34","_hoisted_35","render","_ctx","_cache","$props","$setup","$data","$options","_component_Breadcrumb","_component_a_input","_component_a_space","_component_a_select_option","_component_a_select","_component_a_button","_component_a_table","_component_a_pagination","_component_a_drawer","_component_select_program","_component_ImportCheckingResult","_component_a_modal","dataSource","ref","align","default","direction","value","queryListParams","selectProgram","$event","placeholder","onClick","openCover","_","checkingResult","mode","resultOptions","item","title","dealerSwtCode","$btnPermissions","handleReset","getTableDataByCondition","showImportCheckingResult","handleDownload","handleExport","rowKey","columns","queryListData","pagination","rowSelection","scroll","x","tableWidth","y","tableHeight","rowClassName","record","operation","handlRessign","Periods","programSubmissionPeriodLst","checkResult","docList","collectionDocId","handlDocName","docName","total","pageSize","current","currentPage","onChange","changePagination","onShowSizeChange","changePageSize","pageSizeOptions","buildOptionText","props","placement","closable","width","visible","paddingBottom","onClose","closeDrawer","src","base64code","frameborder","alt","buList","isSelectProgramCover","onCloseSubVisible","closeSub","onFreshSourceData","batchVisible","footer","batchDownloadDocuments","totalDocNum","modal","top","transform","id","transitionName","maskTransitionName","onCancel","close","editData","programCode","allowClear","programName","dogetlistData","handleSearch","getSICCOChecingDetailList","getSICCOChecingDocCollList","getFileReview","upImportCheckingResult","format","countDownload","batchDownload","dataIndex","slots","customRender","components","emits","Boolean","required","String","offerTypeId","offerTypeNameEn","assignee","setup","context","assignees","usersLst","dataArray","param","bus","join","dogetSelectData","user","handleDelete","rec","newArr","forEach","username","nowName","handleAdd","isrepeat","isrepeadAll","addArr","nameItem","nameIndex","lstItem","lstIndex","unshift","message","concatArr","concat","chooseData","programid","emit","e","programId","__exports__","position","right","bottom","borderTop","padding","background","textAlign","zIndex","_component_a_upload_dragger","_component_a_progress","_component_ExclamationCircleOutlined","afterVisibleChange","closeThisDrawer","name","listType","showUploadList","multiple","beforeUpload","customRequest","uploadRequest","isBeforeUpload","curUploadFile","percent","curPercent","strokeColor","completeTips","uploadFileSize","disabled","isClickAbled","uploadFile","handelBrowse","freshTable","isImport","downloadModalVisible","onOk","centered","handleCancel","okButton","loading","loading2","downloadTipsText","ExclamationCircleOutlined","prop","ctx","formData","FormData","isShowUploadBtn","downloadTipsUrl","showDrawer","option","has","delete","file","isXlsx","isLt5M","size","source","append","toFixed","Math","floor","downloadParams","path","downloadFileUrl","code","success","innerWidth","ImportCheckingResult","vuexState","organization","entityCode","isSICCO","searchCon","selectTableIds","importCheckingResult","supportArrayWidth","columns2","selectProgramId","selectProgramName","getElementsByClassName","height","innerHeight","$el","scrollHeight","heightNum","parseInt","substr","indexOf","selectedRowKeys","selectedRows","selectedRowData","selectIds","columnWidth","fixed","filter","ele","parentId","map","nameCn","doGetListData","totalElements","list","claimCheckingDocCollectionList","dataItem","nowItem","extendInfoLst","extendItem","extendIndex","content","itemWidth","docItem","dealerName","widItem","fieldNameCn","page","pagesize","ext","idList","paramsConfig","downloadFile","programNameEn","programNameCn","state","onSelectChange","getIdList","downloadUrl"],"mappings":"qGAAAA,EAAOC,QAAU,IAA0B,2B,uBCA3CD,EAAOC,QAAU,IAA0B,6B,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,EA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ACdoD,uBAAsB,EACtB2I,QAAO,EACPlJ,OAAM,O,UC1fZ,MAAM,GAA2B,KAAgB,GAAQ,CAAC,CAAC,SAASvF,GAAQ,CAAC,YAAY,qBAE1E,iB","file":"js/chunk-7eec6efd.28f46bd8.js","sourcesContent":["module.exports = __webpack_public_path__ + \"img/upload.e4734716.svg\";","module.exports = __webpack_public_path__ + \"img/complete.92764ba0.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","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!./selectProgramCover.vue?vue&type=style&index=0&id=302cabe9&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=5f2473f2&lang=scss&scoped=true\"","export const b64toBlob = (b64Data='', contentType='', sliceSize=512) => {\n const byteCharacters = atob(b64Data);\n const byteArrays = [];\n for (let offset = 0; offset < byteCharacters.length; offset += sliceSize) {\n const slice = byteCharacters.slice(offset, offset + sliceSize),\n byteNumbers = new Array(slice.length);\n for (let i = 0; i < slice.length; i++) {\n byteNumbers[i] = slice.charCodeAt(i);\n }\n const byteArray = new Uint8Array(byteNumbers);\n\n byteArrays.push(byteArray);\n }\n\n const blob = new Blob(byteArrays, {type: contentType});\n return blob;\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!./selectProgramCover.vue?vue&type=style&index=1&id=302cabe9&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!./importCheckingResult.vue?vue&type=style&index=0&id=3f8fcffd&lang=scss&scoped=true\"","/*\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","import { resolveComponent as _resolveComponent, createVNode as _createVNode, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, createBlock as _createBlock, createCommentVNode as _createCommentVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-5f2473f2\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"claim-wrap wrap\" }\nconst _hoisted_2 = { class: \"searchBox\" }\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { class: \"item-name\" }, [\n /*#__PURE__*/_createElementVNode(\"span\", { style: {\"color\":\"#f00\"} }, \"*\"),\n /*#__PURE__*/_createTextVNode(\" Select Program\")\n], -1))\nconst _hoisted_4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { class: \"item-name\" }, \"Check Result\", -1))\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { class: \"item-name\" }, \"SWT Code\", -1))\nconst _hoisted_6 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { class: \"item-name\" }, null, -1))\nconst _hoisted_7 = /*#__PURE__*/_createTextVNode(\"Reset\")\nconst _hoisted_8 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { class: \"item-name\" }, null, -1))\nconst _hoisted_9 = /*#__PURE__*/_createTextVNode(\"Search\")\nconst _hoisted_10 = { class: \"table-box\" }\nconst _hoisted_11 = { class: \"btnBox\" }\nconst _hoisted_12 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { class: \"item-name\" }, null, -1))\nconst _hoisted_13 = /*#__PURE__*/_createTextVNode(\"Import Check Result\")\nconst _hoisted_14 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { class: \"item-name\" }, null, -1))\nconst _hoisted_15 = /*#__PURE__*/_createTextVNode(\"Batch Download Documents\")\nconst _hoisted_16 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { class: \"item-name\" }, null, -1))\nconst _hoisted_17 = /*#__PURE__*/_createTextVNode(\"Export\")\nconst _hoisted_18 = /*#__PURE__*/_createTextVNode(\"Reassign\")\nconst _hoisted_19 = { key: 0 }\nconst _hoisted_20 = { key: 1 }\nconst _hoisted_21 = { key: 2 }\nconst _hoisted_22 = { key: 3 }\nconst _hoisted_23 = { key: 4 }\nconst _hoisted_24 = {\n key: 0,\n class: \"docListCell\"\n}\nconst _hoisted_25 = { key: 1 }\nconst _hoisted_26 = {\n key: 2,\n style: {\"margin-left\":\"5px\",\"margin-right\":\"5px\"}\n}\nconst _hoisted_27 = { key: 1 }\nconst _hoisted_28 = { class: \"pagination-container d-f justify-e\" }\nconst _hoisted_29 = {\n style: {\"width\":\"100%\"},\n class: \"showDrawerItem\"\n}\nconst _hoisted_30 = [\"src\"]\nconst _hoisted_31 = [\"src\"]\nconst _hoisted_32 = { class: \"bottomButton\" }\nconst _hoisted_33 = /*#__PURE__*/_createTextVNode(\"Close\")\nconst _hoisted_34 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, \"Tips\", -1))\nconst _hoisted_35 = /*#__PURE__*/_createTextVNode(\"Yes\")\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_space = _resolveComponent(\"a-space\")!\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_table = _resolveComponent(\"a-table\")!\n const _component_a_pagination = _resolveComponent(\"a-pagination\")!\n const _component_a_drawer = _resolveComponent(\"a-drawer\")!\n const _component_select_program = _resolveComponent(\"select-program\")!\n const _component_ImportCheckingResult = _resolveComponent(\"ImportCheckingResult\")!\n const _component_a_modal = _resolveComponent(\"a-modal\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createVNode(_component_Breadcrumb, { dataSource: [] }),\n _createElementVNode(\"div\", _hoisted_1, [\n _createVNode(_component_a_space, {\n class: \"feature-con\",\n ref: \"searchCon\",\n align: \"end\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(_component_a_space, {\n direction: \"vertical\",\n style: {\"margin-right\":\"15px\",\"margin-bottom\":\"5px\",\"width\":\"214px\"}\n }, {\n default: _withCtx(() => [\n _hoisted_3,\n _createVNode(_component_a_input, {\n value: _ctx.queryListParams.selectProgram,\n \"onUpdate:value\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.queryListParams.selectProgram) = $event)),\n placeholder: \"Please Input\",\n onClick: _ctx.openCover\n }, null, 8, [\"value\", \"onClick\"])\n ]),\n _: 1\n }),\n _createVNode(_component_a_space, {\n direction: \"vertical\",\n style: {\"margin-right\":\"15px\",\"margin-bottom\":\"5px\",\"width\":\"214px\"}\n }, {\n default: _withCtx(() => [\n _hoisted_4,\n _createVNode(_component_a_select, {\n value: _ctx.queryListParams.checkingResult,\n \"onUpdate:value\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.queryListParams.checkingResult) = $event)),\n mode: \"multiple\",\n ref: \"select\",\n placeholder: \"Please Select\",\n class: \"sel-inp-size\"\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.resultOptions, (item) => {\n return (_openBlock(), _createBlock(_component_a_select_option, {\n value: item.key,\n key: item.key,\n title: item.key\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(item.value), 1)\n ]),\n _: 2\n }, 1032, [\"value\", \"title\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"value\"])\n ]),\n _: 1\n }),\n _createVNode(_component_a_space, {\n direction: \"vertical\",\n style: {\"margin-right\":\"15px\",\"margin-bottom\":\"5px\",\"width\":\"214px\"}\n }, {\n default: _withCtx(() => [\n _hoisted_5,\n _createVNode(_component_a_input, {\n value: _ctx.queryListParams.dealerSwtCode,\n \"onUpdate:value\": _cache[2] || (_cache[2] = ($event: any) => ((_ctx.queryListParams.dealerSwtCode) = $event)),\n placeholder: \"Please Input\"\n }, null, 8, [\"value\"])\n ]),\n _: 1\n }),\n (_ctx.$btnPermissions('SCDC-01'))\n ? (_openBlock(), _createBlock(_component_a_space, {\n key: 0,\n direction: \"vertical\",\n style: {\"margin-right\":\"15px\",\"margin-bottom\":\"5px\"}\n }, {\n default: _withCtx(() => [\n _hoisted_6,\n _createVNode(_component_a_button, { onClick: _ctx.handleReset }, {\n default: _withCtx(() => [\n _hoisted_7\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n (_ctx.$btnPermissions('SCDC-02'))\n ? (_openBlock(), _createBlock(_component_a_space, {\n key: 1,\n direction: \"vertical\",\n style: {\"margin-right\":\"15px\",\"margin-bottom\":\"5px\"}\n }, {\n default: _withCtx(() => [\n _hoisted_8,\n _createVNode(_component_a_button, {\n type: \"primary\",\n onClick: _ctx.getTableDataByCondition\n }, {\n default: _withCtx(() => [\n _hoisted_9\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _: 1\n }, 512),\n _createElementVNode(\"div\", _hoisted_10, [\n _createElementVNode(\"div\", _hoisted_11, [\n _createVNode(_component_a_space, {\n direction: \"vertical\",\n style: {\"margin-right\":\"15px\",\"margin-bottom\":\"5px\"}\n }, {\n default: _withCtx(() => [\n _hoisted_12,\n (_ctx.$btnPermissions('SCDC-04'))\n ? (_openBlock(), _createBlock(_component_a_button, {\n key: 0,\n onClick: _ctx.showImportCheckingResult\n }, {\n default: _withCtx(() => [\n _hoisted_13\n ]),\n _: 1\n }, 8, [\"onClick\"]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }),\n _createVNode(_component_a_space, {\n direction: \"vertical\",\n style: {\"margin-right\":\"15px\",\"margin-bottom\":\"5px\"}\n }, {\n default: _withCtx(() => [\n _hoisted_14,\n (_ctx.$btnPermissions('SCDC-05'))\n ? (_openBlock(), _createBlock(_component_a_button, {\n key: 0,\n onClick: _ctx.handleDownload\n }, {\n default: _withCtx(() => [\n _hoisted_15\n ]),\n _: 1\n }, 8, [\"onClick\"]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }),\n (_ctx.$btnPermissions('SCDC-03'))\n ? (_openBlock(), _createBlock(_component_a_space, {\n key: 0,\n direction: \"vertical\",\n style: {\"margin-right\":\"15px\",\"margin-bottom\":\"5px\"}\n }, {\n default: _withCtx(() => [\n _hoisted_16,\n _createVNode(_component_a_button, {\n type: \"primary\",\n onClick: _ctx.handleExport\n }, {\n default: _withCtx(() => [\n _hoisted_17\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ]),\n _createVNode(_component_a_table, {\n class: \"ant-table-striped\",\n rowKey: \"id\",\n columns: _ctx.columns,\n \"data-source\": _ctx.queryListData,\n pagination: false,\n \"row-selection\": _ctx.rowSelection,\n scroll: { x: _ctx.tableWidth, y: _ctx.tableHeight },\n rowClassName: \n (record, index) => (index % 2 === 1 ? 'table-striped' : null)\n \n }, {\n operation: _withCtx(({ record }) => [\n _createVNode(_component_a_button, {\n type: \"link\",\n onClick: ($event: any) => (_ctx.handlRessign(record))\n }, {\n default: _withCtx(() => [\n _hoisted_18\n ]),\n _: 2\n }, 1032, [\"onClick\"])\n ]),\n Periods: _withCtx(({ record }) => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(record.programSubmissionPeriodLst, (item, index) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: `Periods${index}`\n }, _toDisplayString(item), 1))\n }), 128))\n ]),\n checkResult: _withCtx(({ record }) => [\n (record.checkResult === '0')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_19))\n : (record.checkResult === '1')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_20, \"Approve\"))\n : (record.checkResult === '2')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_21, \"Reject\"))\n : (record.checkResult === '3')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_22, \"Pending\"))\n : (record.checkResult === '4')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_23, \"Unchecked\"))\n : _createCommentVNode(\"\", true)\n ]),\n docList: _withCtx(({ record }) => [\n (record.docList.length > 0)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_24, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(record.docList, (item, index) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: `doclist${item.collectionDocId}`\n }, [\n (item.filePath)\n ? (_openBlock(), _createBlock(_component_a_button, {\n key: 0,\n type: \"link\",\n onClick: ($event: any) => (_ctx.handlDocName(item))\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(item.docName), 1)\n ]),\n _: 2\n }, 1032, [\"onClick\"]))\n : (_openBlock(), _createElementBlock(\"span\", _hoisted_25, _toDisplayString(item.docName), 1)),\n (index + 1 < record.docList.length)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_26, \"|\"))\n : _createCommentVNode(\"\", true)\n ]))\n }), 128))\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_27))\n ]),\n _: 1\n }, 8, [\"columns\", \"data-source\", \"row-selection\", \"scroll\", \"rowClassName\"])\n ]),\n _createElementVNode(\"div\", _hoisted_28, [\n _createVNode(_component_a_pagination, {\n total: _ctx.pagination.total,\n pageSize: _ctx.pagination.pageSize,\n \"onUpdate:pageSize\": _cache[3] || (_cache[3] = ($event: any) => ((_ctx.pagination.pageSize) = $event)),\n current: _ctx.pagination.currentPage,\n \"onUpdate:current\": _cache[4] || (_cache[4] = ($event: any) => ((_ctx.pagination.currentPage) = $event)),\n \"show-size-changer\": \"\",\n \"show-total\": (total) => `Total ${total} items`,\n onChange: _ctx.changePagination,\n onShowSizeChange: _ctx.changePageSize,\n pageSizeOptions: ['10', '20', '30', '40', '50']\n }, {\n buildOptionText: _withCtx((props) => [\n _createElementVNode(\"span\", null, _toDisplayString(props.value) + \" / page\", 1)\n ]),\n _: 1\n }, 8, [\"total\", \"pageSize\", \"current\", \"show-total\", \"onChange\", \"onShowSizeChange\"])\n ]),\n _createVNode(_component_a_drawer, {\n title: \"查看支持文档\",\n placement: \"right\",\n closable: true,\n width: \"488px\",\n visible: _ctx.visible,\n \"body-style\": { paddingBottom: '40px' },\n onClose: _ctx.closeDrawer\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_29, [\n (_ctx.type === 'pdf')\n ? (_openBlock(), _createElementBlock(\"iframe\", {\n key: 0,\n src: _ctx.base64code,\n frameborder: \"0\",\n class: \"pdf\"\n }, null, 8, _hoisted_30))\n : _createCommentVNode(\"\", true),\n (_ctx.type === 'jpg')\n ? (_openBlock(), _createElementBlock(\"img\", {\n key: 1,\n src: _ctx.base64code,\n alt: \"\"\n }, null, 8, _hoisted_31))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_32, [\n _createVNode(_component_a_button, {\n onClick: _cache[5] || (_cache[5] = ($event: any) => (_ctx.visible = false)),\n type: \"primary\"\n }, {\n default: _withCtx(() => [\n _hoisted_33\n ]),\n _: 1\n })\n ])\n ]),\n _: 1\n }, 8, [\"visible\", \"onClose\"]),\n (_ctx.isSelectProgramCover)\n ? (_openBlock(), _createBlock(_component_select_program, {\n key: 0,\n buList: _ctx.buList,\n isSelectProgramCover: _ctx.isSelectProgramCover,\n onCloseSubVisible: _ctx.closeSub\n }, null, 8, [\"buList\", \"isSelectProgramCover\", \"onCloseSubVisible\"]))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_ImportCheckingResult, {\n onFreshSourceData: _ctx.getTableDataByCondition,\n ref: \"importCheckingResult\"\n }, null, 8, [\"onFreshSourceData\"]),\n _createVNode(_component_a_modal, {\n visible: _ctx.batchVisible,\n \"onUpdate:visible\": _cache[6] || (_cache[6] = ($event: any) => ((_ctx.batchVisible) = $event))\n }, {\n title: _withCtx(() => [\n _hoisted_34\n ]),\n footer: _withCtx(() => [\n _createVNode(_component_a_button, {\n type: \"primary\",\n onClick: _ctx.batchDownloadDocuments\n }, {\n default: _withCtx(() => [\n _hoisted_35\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"p\", null, \"Total documents number \" + _toDisplayString(_ctx.totalDocNum) + \", confirm to download?\", 1)\n ]),\n _: 1\n }, 8, [\"visible\"])\n ])\n ], 64))\n}","import { createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, normalizeClass as _normalizeClass, openBlock as _openBlock, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-302cabe9\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"selectBox\" }\nconst _hoisted_2 = { class: \"commont-con infLine\" }\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { class: \"label\" }, \"Program Code\", -1))\nconst _hoisted_4 = { class: \"commont-con infLine\" }\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { class: \"label\" }, \"Program Name\", -1))\nconst _hoisted_6 = { class: \"commont-con infLinebtn\" }\nconst _hoisted_7 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { class: \"label\" }, null, -1))\nconst _hoisted_8 = /*#__PURE__*/_createTextVNode(\"Search\")\nconst _hoisted_9 = { class: \"upload-con\" }\nconst _hoisted_10 = /*#__PURE__*/_createTextVNode(\"确认\")\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_a_input = _resolveComponent(\"a-input\")!\n const _component_a_button = _resolveComponent(\"a-button\")!\n const _component_a_table = _resolveComponent(\"a-table\")!\n const _component_a_modal = _resolveComponent(\"a-modal\")!\n\n return (_openBlock(), _createBlock(_component_a_modal, {\n title: \"Select Program\",\n closable: true,\n visible: _ctx.modal,\n width: \"600px\",\n footer: null,\n class: \"upload-drawer claim-drawer\",\n \"dialog-style\": { top: '50%', transform: 'translateY(-50%)' },\n id: \"upload-modal\",\n transitionName: \"\",\n maskTransitionName: \"\",\n onCancel: _cache[2] || (_cache[2] = ($event: any) => (_ctx.close('')))\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _hoisted_3,\n _createVNode(_component_a_input, {\n class: \"sel-inp-size\",\n placeholder: \"Input…\",\n value: _ctx.editData.programCode,\n \"onUpdate:value\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.editData.programCode) = $event)),\n allowClear: \"\"\n }, null, 8, [\"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_4, [\n _hoisted_5,\n _createVNode(_component_a_input, {\n class: \"sel-inp-size\",\n placeholder: \"Input…\",\n value: _ctx.editData.programName,\n \"onUpdate:value\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.editData.programName) = $event)),\n allowClear: \"\"\n }, null, 8, [\"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n _hoisted_7,\n _createVNode(_component_a_button, {\n class: \"searchBtn\",\n type: \"primary\",\n onClick: _ctx.dogetlistData\n }, {\n default: _withCtx(() => [\n _hoisted_8\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_9, [\n _createElementVNode(\"div\", {\n class: _normalizeClass(_ctx.queryListData.length > 1 ? 'border-style' : '')\n }, [\n _createVNode(_component_a_table, {\n class: \"ant-table-striped\",\n rowKey: \"id\",\n columns: _ctx.columns,\n \"data-source\": _ctx.queryListData,\n pagination: false,\n scroll: { y: '150px', x: '450px' },\n rowClassName: \n (record, index) =>\n index % 2 === 1 ? 'table-striped' : null\n \n }, {\n operation: _withCtx(({ record }) => [\n _createVNode(_component_a_button, {\n class: \"tabDelBtn\",\n type: \"link\",\n onClick: ($event: any) => (_ctx.handleSearch(record))\n }, {\n default: _withCtx(() => [\n _hoisted_10\n ]),\n _: 2\n }, 1032, [\"onClick\"])\n ]),\n _: 1\n }, 8, [\"columns\", \"data-source\", \"rowClassName\"])\n ], 2)\n ])\n ]),\n _: 1\n }, 8, [\"visible\", \"dialog-style\"]))\n}","import { fetchGet, fetchPost } from '../index';\nimport downloadFile from '@/utils/claim/downloadFile';\nimport axios from 'axios';\n\n//生成SICCO Checing Deatail的列表\nexport const getSICCOChecingDetailList = (params = {}): Promise => {\n // return fetchGet('/claimapi/dealer/doc/save', {params})\n return fetchPost('/claimapi/claimChecking/doc/searchProgram', params);\n};\n//查询SICCO Checking Document Collection的列表\nexport const getSICCOChecingDocCollList = (params = {}): Promise => {\n // return fetchGet('/claimapi/dealer/doc/save', {params})\n return fetchPost('/claimapi/claimChecking/doc/search', params);\n};\n//导出SICCO Checking Document Collection的列表(export)\nexport const exportSICCOChecingDocCollList = (params = {}): Promise => {\n // return fetchGet('/claimapi/dealer/doc/save', {params})\n return fetchPost('/claimapi/claimChecking/doc/export', params);\n};\n//支持文件预览\nexport const getFileReview = (params = { id: '' }): Promise => {\n // return fetchGet('/claimapi/dealer/doc/save', {params})\n // return fetchGet(`/claimapi/claimChecking/doc/review?collectionDocId=${params.id}`, params)\n return fetchGet(\n `/claimapi/claimDocCollection/review?collectionDocId=${params.id}`,\n params\n );\n};\n\n//上传 Import Checking Result\nexport const upImportCheckingResult = (format: FormData): Promise => {\n // return fetchGet('/claimapi/dealer/doc/save', {params})\n return new Promise((resolve, reject) => {\n axios({\n method: 'post',\n data: format,\n url: `/claimapi/claimChecking/doc/import`,\n })\n .then((res) => {\n resolve(res.data);\n })\n .catch((error) => {\n reject(error);\n });\n });\n};\n\nexport const ImportCheckingResult = (\n params: any,\n format: FormData\n): Promise => {\n // return fetchGet('/claimapi/dealer/doc/save', {params})\n console.log(params.file);\n return new Promise((resolve, reject) => {\n axios({\n method: 'post',\n params: params,\n data: format,\n url: `/claimapi/checking/import`,\n })\n .then((res) => {\n resolve(res.data);\n })\n .catch((error) => {\n reject(error);\n });\n });\n};\n\n// [OASIS-4962] 文档下载前的文件数量统计\nexport const countDownload = (params: any) => {\n return fetchPost('/claimapi/claimChecking/doc/countDownload', params);\n};\n\n// 下载功能\nexport const batchDownload = (params: any) => {\n // downloadFile(params, 'application/vnd-excel; char-set=UTF-8');\n return fetchPost('/claimapi/claimChecking/doc/download', params);\n};\n","\n// import axios from 'axios'\nimport { defineComponent, reactive, ref } from 'vue';\n// import { CheckCircleOutlined } from '@ant-design/icons-vue'\n// import { PayoutRoundListData } from '@/views/Claim/RT/types'\n// import { message, Modal } from 'ant-design-vue';\nimport { message } from 'ant-design-vue';\nimport { docEdit } from '@/API/claim/claimDocumentSample';\nimport { getSICCOChecingDetailList } from '@/API/checking/SICCOCCheckingDocColl';\n// import { getCoverList } from '@/API/claim/claimEnquiryProgram'\n// import { ExclamationCircleOutlined } from '@ant-design/icons-vue'\n\nconst columns = reactive([\n { title: 'Program Code', dataIndex: 'programCode', width: '120px' },\n { title: 'Program Name', dataIndex: 'programName', width: '130px' },\n {\n title: 'Operation',\n dataIndex: 'checkResult',\n slots: { customRender: 'operation' },\n width: '75px',\n },\n]);\ninterface TableType {\n username: string;\n}\n\nexport default defineComponent({\n components: {},\n emits: ['close-sub-visible', 'get-table-data'],\n props: {\n isSelectProgramCover: {\n type: Boolean,\n required: true,\n default: false,\n },\n programCode: {\n type: String,\n required: false,\n default: '',\n },\n offerTypeId: {\n type: String,\n required: false,\n default: '',\n },\n offerTypeNameEn: {\n type: String,\n required: false,\n default: '',\n },\n assignee: {\n type: String,\n required: false,\n default: '',\n },\n buList: {\n type: Array,\n required: true,\n default: () => [],\n },\n },\n setup(props, context) {\n // const docId = (props as any).docId;\n // const programCode = (props as any).programCode;\n // const offerTypeId = (props as any).offerTypeId;\n // const offerTypeNameEn = (props as any).offerTypeNameEn;\n const assignees = (props as any).assignee;\n const usersLst = ref([]);\n // 文件展示框是否显示,它显示,上传功能就隐藏\n const editData = reactive({\n programCode: '',\n programName: '',\n });\n console.log(editData);\n const queryListData = ref([]);\n const dataArray = ref<[]>([]);\n const dogetlistData = () => {\n const param = {\n bus: (props as any).buList.join(','),\n programCode: editData.programCode,\n programName: editData.programName,\n };\n getSICCOChecingDetailList(param).then((res) => {\n console.log(res);\n res.length > 0\n ? (queryListData.value = res)\n : (queryListData.value = []);\n });\n // const datalst = ref([])\n // queryListData.value = datalst.value\n /*getCoverList({programCode: editData.programCode, programCategory: editData.offerTypeId}).then(res => {\n console.log(res.data)\n if (res.data.length>0){\n // dataArray.value = res.data\n const datalst = []\n for(const i of res.data){\n datalst.push({username: i})\n }\n console.log(datalst)\n queryListData.value = datalst\n }\n })*/\n // queryListData.value = [{username:'aaa'},{username:'aaa'},{username:'aaa'},{username:'aaa'},{username:'aaa'},{username:'aaa'},{username:'aaa'},{username:'aaa'},{username:'aaa'},{username:'aaa'}]\n };\n dogetlistData();\n const dogetSelectData = () => {\n /*getCoverList({programCode: editData.programCode, programCategory: editData.offerTypeId}).then(res => {\n console.log(res.data)\n if (res.data.length>0){\n // dataArray.value = res.data\n const datalst = []\n for(const i in res.data){\n datalst.push({\n user: res.data[i],\n key:`${i}`\n })\n }\n console.log(datalst)\n usersLst.value = datalst\n }\n })*/\n usersLst.value = [\n {\n user: 'SHICHENG',\n key: '1',\n },\n {\n user: 'TIANTAO',\n key: '2',\n },\n {\n user: 'JIAPENG',\n key: '3',\n },\n {\n user: 'XILIANG',\n key: '4',\n },\n {\n user: 'ZHONGYI',\n key: '5',\n },\n {\n user: 'ZHENGDA',\n key: '6',\n },\n {\n user: 'SICHENG',\n key: '7',\n },\n {\n user: 'XUDONG',\n key: '8',\n },\n {\n user: 'RONGRONG',\n key: '9',\n },\n ];\n };\n dogetSelectData();\n //delete按钮\n const handleDelete = (rec: any) => {\n console.log(queryListData.value.length);\n const newArr = ref([]);\n queryListData.value.forEach((item, index) => {\n if (item.username !== rec.username) {\n newArr.value.push(item);\n }\n });\n queryListData.value = newArr.value;\n };\n const nowName = ref([]);\n //add按钮\n const handleAdd = () => {\n let isrepeat = false;\n let isrepeadAll = false;\n const addArr = ref([]);\n nowName.value.forEach((nameItem, nameIndex) => {\n queryListData.value.forEach((lstItem, lstIndex) => {\n if (nameItem === lstItem.username) {\n isrepeat = true;\n return false;\n }\n });\n if (!isrepeat) {\n addArr.value.unshift({ username: nameItem });\n } else {\n isrepeadAll = true;\n }\n isrepeat = false;\n // queryListData.value.unshift({username: nameItem})\n });\n if (!isrepeadAll) {\n const concatArr = addArr.value.concat(queryListData.value);\n queryListData.value = concatArr;\n console.log(concatArr);\n nowName.value = [];\n } else {\n message.error('Current assignee has already exists.');\n }\n };\n // // 设置抽屉显示状态\n const modal = (props as any).isSelectProgramCover;\n /*const handleSelect = (val: any) => {\n nowName.value = val\n console.log(val)\n }*/\n\n const close = (chooseData: any, programid: any, programName: any) => {\n if (chooseData !== null) {\n context.emit('close-sub-visible', {\n isSelectProgramCover: false,\n chooseData: chooseData,\n programid: programid,\n programName: programName,\n });\n } else {\n context.emit('close-sub-visible', {\n isSelectProgramCover: false,\n chooseData: '',\n });\n }\n };\n const handleSearch = (e: any) => {\n console.log(e, 'what is e: ');\n close(e.programCode, e.programId, e.programName);\n };\n\n // 确认编辑完成接口\n /*const upDateHandle = () => {\n // const pageDataStr = dataArray.join(\",\")\n\n const assArr = ref([])\n let iscanconfirm = true\n queryListData.value.forEach((item, index)=>{\n assArr.value.forEach((assitem,assindex)=>{\n if (assitem===item) {\n message.error('AssignessArr duplicated.')\n iscanconfirm = false\n }else {\n assArr.value.push(item)\n }\n })\n })\n\n if (iscanconfirm) {\n let assignessStr = ''\n const assignessArr = ref([])\n if (queryListData.value.length>0) {\n queryListData.value.forEach((item,index) => {\n assignessArr.value.push(item.username)\n })\n assignessStr = assignessArr.value.join(',')\n const params = {\n programCode:editData.programCode,\n offerTypeId:editData.offerTypeId,\n assignee:assignessStr\n }\n postCoverList(params).then(res => {\n if (res.code === '0') {\n message.success(res.message)\n // context.emit('get-table-data')\n close(true)\n }\n })\n }else {\n message.error('At least choose one assignee.')\n }\n }\n\n\n /!*const params = editData\n docEdit(params).then(res => {\n if (res.code === '0') {\n message.success(res.message)\n context.emit('get-table-data')\n close()\n }\n })*!/\n }*/\n\n return {\n handleSearch,\n dogetSelectData,\n assignees,\n usersLst,\n nowName,\n handleAdd,\n dataArray,\n // handleSelect,\n dogetlistData,\n queryListData,\n handleDelete,\n columns,\n editData,\n modal,\n close,\n // upDateHandle,\n };\n },\n});\n","import { render } from \"./selectProgramCover.vue?vue&type=template&id=302cabe9&scoped=true&ts=true\"\nimport script from \"./selectProgramCover.vue?vue&type=script&lang=ts\"\nexport * from \"./selectProgramCover.vue?vue&type=script&lang=ts\"\n\nimport \"./selectProgramCover.vue?vue&type=style&index=0&id=302cabe9&lang=scss&scoped=true\"\nimport \"./selectProgramCover.vue?vue&type=style&index=1&id=302cabe9&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-302cabe9\"]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nimport _imports_0 from '@/assets/images/rv/upload.svg'\nimport _imports_1 from '@/assets/images/rv/complete.svg'\n\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-3f8fcffd\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"border-style\" }\nconst _hoisted_2 = { key: 0 }\nconst _hoisted_3 = /*#__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_4 = /*#__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_5 = {\n key: 1,\n class: \"process-con\"\n}\nconst _hoisted_6 = /*#__PURE__*/_createTextVNode(\" Selected Files: \")\nconst _hoisted_7 = { class: \"margin-style\" }\nconst _hoisted_8 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"process-title-style\" }, \"Total Process:\", -1))\nconst _hoisted_9 = { class: \"process-style\" }\nconst _hoisted_10 = { style: {\"position\":\"relative\"} }\nconst _hoisted_11 = {\n key: 0,\n style: {\"margin-left\":\"92px\"}\n}\nconst _hoisted_12 = {\n key: 1,\n style: {\"color\":\"#00adef\",\"margin-left\":\"92px\"}\n}\nconst _hoisted_13 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", {\n src: _imports_1,\n class: \"completeIcon\"\n}, null, -1))\nconst _hoisted_14 = /*#__PURE__*/_createTextVNode(\" Complete \")\nconst _hoisted_15 = [\n _hoisted_13,\n _hoisted_14\n]\nconst _hoisted_16 = { class: \"size-style\" }\nconst _hoisted_17 = /*#__PURE__*/_createTextVNode(\"Upload\")\nconst _hoisted_18 = /*#__PURE__*/_createTextVNode(\"Browse\")\nconst _hoisted_19 = { 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_20 = /*#__PURE__*/_createTextVNode(\"Import\")\nconst _hoisted_21 = /*#__PURE__*/_createTextVNode(\" Tip \")\nconst _hoisted_22 = { class: \"modal-txt\" }\nconst _hoisted_23 = /*#__PURE__*/_createTextVNode(\"Cancel\")\nconst _hoisted_24 = /*#__PURE__*/_createTextVNode(\"Download\")\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_a_upload_dragger = _resolveComponent(\"a-upload-dragger\")!\n const _component_a_progress = _resolveComponent(\"a-progress\")!\n const _component_a_button = _resolveComponent(\"a-button\")!\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: \"Import Checking Result\",\n placement: \"right\",\n width: \"488px\",\n visible: _ctx.visible,\n \"onUpdate:visible\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.visible) = $event)),\n \"after-visible-change\": _ctx.afterVisibleChange,\n \"body-style\": { paddingBottom: '40px' },\n onClose: _ctx.closeThisDrawer\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n (_ctx.isBeforeUpload)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\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_3,\n _hoisted_4\n ]),\n _: 1\n }, 8, [\"before-upload\", \"customRequest\"])\n ]))\n : _createCommentVNode(\"\", true),\n (!_ctx.isBeforeUpload)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_5, [\n _createElementVNode(\"p\", null, [\n _hoisted_6,\n _createElementVNode(\"strong\", null, _toDisplayString(_ctx.curUploadFile.name), 1)\n ]),\n _createElementVNode(\"p\", _hoisted_7, [\n _hoisted_8,\n _createElementVNode(\"span\", _hoisted_9, [\n _createVNode(_component_a_progress, {\n percent: _ctx.curPercent,\n strokeColor: \"#108ee9\"\n }, null, 8, [\"percent\"])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_10, [\n (!_ctx.completeTips)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_11, _toDisplayString(_ctx.curPercent) + \"% done\", 1))\n : _createCommentVNode(\"\", true),\n (_ctx.completeTips)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_12, _hoisted_15))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"span\", _hoisted_16, _toDisplayString(_ctx.uploadFileSize), 1)\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_17\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.handelBrowse\n }, {\n default: _withCtx(() => [\n _hoisted_18\n ]),\n _: 1\n }, 8, [\"onClick\"]))\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_19, [\n _createVNode(_component_a_button, {\n onClick: _ctx.freshTable,\n disabled: _ctx.isImport,\n type: \"primary\"\n }, {\n default: _withCtx(() => [\n _hoisted_20\n ]),\n _: 1\n }, 8, [\"onClick\", \"disabled\"])\n ]),\n _createVNode(_component_a_modal, {\n visible: _ctx.downloadModalVisible,\n \"onUpdate:visible\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.downloadModalVisible) = $event)),\n onOk: _ctx.handleDownload,\n centered: \"\"\n }, {\n title: _withCtx(() => [\n _createVNode(_component_ExclamationCircleOutlined, { style: {\"color\":\"rgb(250, 173, 20)\"} }),\n _hoisted_21\n ]),\n footer: _withCtx(() => [\n _createVNode(_component_a_button, {\n key: \"back\",\n onClick: _ctx.handleCancel\n }, {\n default: _withCtx(() => [\n _hoisted_23\n ]),\n _: 1\n }, 8, [\"onClick\"]),\n (!_ctx.okButton)\n ? (_openBlock(), _createBlock(_component_a_button, {\n key: \"submit\",\n type: \"primary\",\n loading: _ctx.loading2,\n onClick: _ctx.handleDownload\n }, {\n default: _withCtx(() => [\n _hoisted_24\n ]),\n _: 1\n }, 8, [\"loading\", \"onClick\"]))\n : _createCommentVNode(\"\", true)\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"p\", _hoisted_22, _toDisplayString(_ctx.downloadTipsText), 1)\n ]),\n _: 1\n }, 8, [\"visible\", \"onOk\"])\n ]),\n _: 1\n }, 8, [\"visible\", \"after-visible-change\", \"onClose\"]))\n}","\nimport downLoadTemplate from '@/utils/checking/downloadFile2';\nimport { ExclamationCircleOutlined } from '@ant-design/icons-vue';\n\ninterface CheckingRoundType {\n key: string;\n value: string;\n text: string;\n}\nimport { ref, onMounted, reactive, toRefs, defineComponent } from 'vue';\nimport { FileItem } from '@/API/types';\nimport { message } from 'ant-design-vue';\nimport {\n upImportCheckingResult,\n ImportCheckingResult,\n} from '@/API/checking/SICCOCCheckingDocColl';\n\nimport axios from 'axios';\nimport downloadFileUrl from '@/utils/claim/downloadFileUrl';\nexport default defineComponent({\n emits: ['fresh-source-data'],\n components: {\n ExclamationCircleOutlined,\n },\n setup(prop, ctx) {\n const formData = new FormData();\n const visible = ref(false);\n const isImport = ref(true);\n //两个下拉框的值\n const isBeforeUpload = ref(true);\n // 进度条\n const isShowUploadBtn = ref(true);\n const isClickAbled = ref(true);\n\n const curUploadFile = ref({});\n const curPercent = ref(0);\n const uploadFileSize = ref('');\n const completeTips = ref(false);\n const downloadTipsText = ref('');\n const downloadTipsUrl = ref('');\n const downloadModalVisible = ref(false);\n const okButton = ref(false);\n\n const params = {\n offerTypeId: '',\n programId: '',\n };\n\n //关闭抽屉事件\n const closeThisDrawer = () => {\n visible.value = false;\n };\n const handleCancel = () => {\n downloadModalVisible.value = false;\n };\n //显示抽屉\n const showDrawer = (option: any) => {\n // params.offerTypeId = option.offerTypeId;\n // params.programId = option.programId;\n visible.value = true;\n };\n //重传\n const handelBrowse = () => {\n curPercent.value = 0;\n uploadFileSize.value = '';\n completeTips.value = false;\n isClickAbled.value = true;\n isShowUploadBtn.value = true;\n curUploadFile.value = {};\n isBeforeUpload.value = true;\n if (formData.has('file')) {\n formData.delete('file');\n }\n };\n\n //关闭抽屉的回调\n const afterVisibleChange = () => {\n isImport.value = true;\n curPercent.value = 0;\n uploadFileSize.value = '';\n completeTips.value = false;\n isClickAbled.value = true;\n isShowUploadBtn.value = true;\n curUploadFile.value = {};\n isBeforeUpload.value = true;\n if (formData.has('file')) {\n formData.delete('file');\n }\n };\n const loading = ref(false);\n const loading2 = ref(false);\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\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 handleDownload = () => {\n loading2.value = true;\n const downloadParams = {\n // payoutRoundId: roundVal.value,\n\n path: downloadTipsUrl.value,\n };\n const params = {\n url: `/claimapi/common/download/errorFile`,\n method: 'get',\n params: downloadParams,\n };\n /*const paramsConfig = {\n url: downloadTipsUrl.value,\n method: \"get\",\n // fileName: `Export_Program_Enquiry_${timeStr}.xlsx`,\n };*/\n downloadFileUrl(params, 'application/vnd-excel; char-set=UTF-8').then(\n (res) => {\n loading2.value = false;\n downloadModalVisible.value = false;\n\n // emptyVisible.value = false;\n }\n );\n };\n\n // 上传文件\n const uploadFile = (source: any) => {\n isClickAbled.value = false;\n upImportCheckingResult(formData)\n .then((res: any) => {\n console.log(res);\n if (res.code === '0') {\n message.success('Successfully uploaded');\n isImport.value = false;\n } else if (res.code === '50056') {\n console.log(res.data);\n downloadModalVisible.value = true;\n okButton.value = false;\n downloadTipsText.value =\n 'Data validation unsuccessful, please check and reupload.';\n downloadTipsUrl.value = res.data;\n } else {\n message.error(res.message);\n }\n isShowUploadBtn.value = false;\n curPercent.value = 100;\n completeTips.value = true;\n isClickAbled.value = true;\n })\n .catch(() => {\n isShowUploadBtn.value = false;\n });\n };\n\n //ok按钮,刷新表格\n const freshTable = () => {\n /*const param = {\n progDesignId:params.programId,\n offerTypeId:params.offerTypeId,\n }\n ImportCheckingResult(param,formData).then((res: any) => {\n ctx.emit(\"fresh-source-data\")\n visible.value = false\n })*/\n ctx.emit('fresh-source-data');\n visible.value = false;\n };\n return {\n loading2,\n handleDownload,\n handleCancel,\n okButton,\n downloadModalVisible,\n downloadTipsUrl,\n downloadTipsText,\n uploadFile,\n loading,\n handelBrowse,\n freshTable,\n isShowUploadBtn,\n curUploadFile,\n curPercent,\n uploadFileSize,\n completeTips,\n isClickAbled,\n isBeforeUpload,\n beforeUpload,\n uploadRequest,\n visible,\n afterVisibleChange,\n isImport,\n closeThisDrawer,\n showDrawer,\n };\n },\n});\n","import { render } from \"./importCheckingResult.vue?vue&type=template&id=3f8fcffd&scoped=true&ts=true\"\nimport script from \"./importCheckingResult.vue?vue&type=script&lang=ts\"\nexport * from \"./importCheckingResult.vue?vue&type=script&lang=ts\"\n\nimport \"./importCheckingResult.vue?vue&type=style&index=0&id=3f8fcffd&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-3f8fcffd\"]])\n\nexport default __exports__","\nimport { defineComponent, ref, reactive, toRefs, nextTick } from \"vue\";\nimport selectProgram from \"../siccoCheckingDocumentCollection/selectProgramCover.vue\";\nimport { message } from \"ant-design-vue\";\nimport downloadFile from \"@/utils/claim/downloadFile\";\nimport {\n getSICCOChecingDocCollList,\n getFileReview,\n batchDownload,\n countDownload,\n} from \"@/API/checking/SICCOCCheckingDocColl\";\nimport { AFCandLCApproveTableData } from \"@/views/Payment/Mgmt/types\";\nimport ImportCheckingResult from \"../siccoCheckingDocumentCollection/importCheckingResult.vue\";\nimport { ColumnProps } from \"ant-design-vue/es/table/interface\";\nimport { b64toBlob } from \"@/utils/claim/b64toBlob\";\nimport { useStore } from \"vuex\";\nconst tableWidth = window.innerWidth;\n\nconst resultOptions = reactive([\n {\n key: \"1\",\n value: \"Approve\",\n },\n {\n key: \"2\",\n value: \"Reject\",\n },\n {\n key: \"3\",\n value: \"Pending\",\n },\n {\n key: \"4\",\n value: \"Uncheck\",\n },\n]);\nexport default defineComponent({\n components: {\n selectProgram,\n ImportCheckingResult,\n },\n setup() {\n const { state: vuexState } = useStore();\n const user = (vuexState.user as any).organization.entityCode;\n const isSICCO = user === \"SICCO\" ? true : false;\n const tableHeight = ref();\n const searchCon = ref();\n const queryListData = ref([]);\n const isSelectProgramCover = ref(false);\n const selectTableIds = ref([]);\n const importCheckingResult = ref(null);\n const supportArrayWidth = ref(0);\n //预览文件\n const base64code = ref(\"\");\n //查看支持文档的抽屉\n const visible = ref(false);\n const type = ref(\"\");\n const columns = ref([\n // { title: \"客户名称\", align: 'center', dataIndex: \"userName\", width: 120 },\n // { title: \"身份证号\", align: 'center', dataIndex: \"idcard\", width: 150 },\n { title: \"Dealer Code\", dataIndex: \"dealerCode\", width: 120 },\n { title: \"SWT Code\", dataIndex: \"dealerSwtCode\", width: 120 },\n { title: \"Dealer Name\", dataIndex: \"dealerName\", width: 180 },\n {\n title: \"Eligible Period\",\n dataIndex: \"eligiblePeriod\",\n width: 180,\n },\n {\n title: \"支持文档\",\n dataIndex: \"docList\",\n width: 150,\n slots: { customRender: \"docList\" },\n },\n {\n title: \"Check Result\",\n dataIndex: \"checkResult\",\n width: 150,\n slots: { customRender: \"checkResult\" },\n },\n { title: \"Comments\", dataIndex: \"comments\", width: 120 },\n // { title: \"Operation\", dataIndex: \"checkResult\", width: 130, slots: { customRender: \"operation\" } },\n ]);\n const columns2 = reactive([\n // { title: \"客户名称\", align: 'center', dataIndex: \"userName\", width: 120 },\n // { title: \"身份证号\", align: 'center', dataIndex: \"idcard\", width: 150 },\n { title: \"Dealer Code\", dataIndex: \"dealerCode\", width: 120 },\n { title: \"SWT Code\", dataIndex: \"dealerSwtCode\", width: 120 },\n { title: \"Dealer Name\", dataIndex: \"dealerName\", width: 180 },\n {\n title: \"Eligible Period\",\n dataIndex: \"eligiblePeriod\",\n width: 180,\n },\n {\n title: \"支持文档\",\n dataIndex: \"docList\",\n width: 150,\n slots: { customRender: \"docList\" },\n },\n {\n title: \"Check Result\",\n dataIndex: \"checkResult\",\n width: 150,\n slots: { customRender: \"checkResult\" },\n },\n { title: \"Comments\", dataIndex: \"comments\", width: 120 },\n // { title: \"Operation\", dataIndex: \"checkResult\", width: 130, slots: { customRender: \"operation\" } },\n ]);\n //筛选条件,各个信息框的内容\n const queryListParams = reactive({\n selectProgram: \"\",\n dealerSwtCode: \"\",\n selectProgramId: \"\",\n selectProgramName: \"\",\n checkingResult: [],\n });\n nextTick(() => {\n (document.getElementsByClassName(\"table-box\")[0] as any).style.height =\n window.innerHeight - 220 - searchCon.value.$el.scrollHeight + \"px\";\n const height = (document.getElementsByClassName(\"table-box\")[0] as any)\n .style.height;\n const heightNum = parseInt(height.substr(0, height.indexOf(\"px\")));\n // tableHeight.value = heightNum - 110;\n tableHeight.value = heightNum - 130;\n });\n const rowSelection = reactive<{\n selectedRowKeys: [];\n selectedRowData: AFCandLCApproveTableData[];\n onChange: Function;\n columnWidth: string;\n fixed: boolean;\n }>({\n onChange: (\n selectedRowKeys: [],\n selectedRows: AFCandLCApproveTableData[]\n ) => {\n rowSelection.selectedRowKeys = selectedRowKeys;\n rowSelection.selectedRowData = selectedRows;\n const selectIds = ref([]);\n selectedRows.forEach((item, index) => {\n selectIds.value.push(item.id);\n });\n selectTableIds.value = selectIds.value;\n },\n selectedRowKeys: [],\n selectedRowData: [],\n columnWidth: \"40px\",\n fixed: false,\n });\n\n const buList = ref();\n buList.value = vuexState.user.buList\n .filter((ele: any) => {\n return ele.parentId === null;\n })\n .map((ele: any) => {\n return ele.nameCn;\n });\n //分页组件\n const pagination = reactive({\n pageSize: 20,\n currentPage: 1,\n total: 0,\n });\n const doGetListData = (current: number, size: number) => {\n if (queryListParams.selectProgram) {\n const param = {\n bus: buList.value.join(\",\"),\n programId: queryListParams.selectProgramId,\n dealerSwtCode: queryListParams.dealerSwtCode,\n checkingResult: queryListParams.checkingResult,\n current,\n size,\n };\n getSICCOChecingDocCollList(param).then((res) => {\n pagination.total = res.totalElements || 0;\n const list = res.claimCheckingDocCollectionList || [];\n if (list.length > 0) {\n rowSelection.fixed = true;\n const dataArr = ref([]);\n const widthLst = ref([]);\n const dmWidthLst = ref([]);\n list.forEach((dataItem: any) => {\n const nowItem = dataItem;\n dataItem.extendInfoLst?.forEach(\n (extendItem: any, extendIndex: any) => {\n nowItem[`content${extendIndex}`] = extendItem.content;\n }\n );\n const itemWidth = ref(0);\n dataItem.docList?.forEach((docItem: any) => {\n if (docItem.docName) {\n itemWidth.value =\n parseInt(itemWidth.value) +\n docItem.docName.length * 14 +\n 35;\n }\n });\n dmWidthLst.value.push(\n dataItem.dealerName ? dataItem.dealerName.length * 14 + 35 : 0\n );\n widthLst.value.push(itemWidth.value);\n dataArr.value.push(nowItem);\n });\n let largeWidth = 120;\n widthLst.value.forEach((widItem: any) => {\n if (parseInt(widItem) > largeWidth) {\n largeWidth = widItem;\n }\n });\n let dmLargeWidth = 180;\n dmWidthLst.value.forEach((widItem: any) => {\n if (parseInt(widItem) > dmLargeWidth) {\n dmLargeWidth = widItem;\n }\n });\n if (list[0].extendInfoLst && list[0].extendInfoLst.length > 0) {\n columns.value.length = 0;\n columns2.forEach((i) => {\n if (i.dataIndex === \"docList\") {\n columns.value.push({\n title: \"支持文档\",\n align: \"center\",\n dataIndex: \"docList\",\n width: largeWidth,\n slots: { customRender: \"docList\" },\n });\n } else if (i.dataIndex === \"dealerName\") {\n columns.value.push({\n title: \"Dealer Name\",\n align: \"center\",\n dataIndex: \"dealerName\",\n width: dmLargeWidth,\n });\n } else {\n columns.value.push(i);\n }\n });\n list[0].extendInfoLst.forEach((item: any, index: any) => {\n const itemWidth = item.fieldNameCn\n ? item.fieldNameCn.length * 14 + 35\n : 150;\n columns.value.unshift({\n title: item.fieldNameCn,\n align: \"center\",\n dataIndex: `content${index}`,\n width: itemWidth,\n });\n });\n }\n queryListData.value = dataArr.value;\n } else {\n queryListData.value.length = 0;\n }\n });\n } else {\n message.error(\"请选择program!\");\n }\n };\n\n //更改分页组件,包括:直接跳转到指定页,上一页下一页\n const changePagination = (page: number, pagesize: number) => {\n pagination.pageSize = pagesize;\n pagination.currentPage = page;\n doGetListData(page - 1, pagesize);\n };\n //更改每页size\n const changePageSize = (page: number, pagesize: number) => {\n pagination.pageSize = pagesize;\n pagination.currentPage = page;\n doGetListData(page - 1, pagesize);\n };\n //关闭cover弹窗\n const closeSub = (param: {\n isSelectProgramCover: boolean;\n chooseData: any;\n programid: any;\n programName: any;\n }) => {\n isSelectProgramCover.value = param.isSelectProgramCover;\n if (param.chooseData !== null) {\n queryListParams.selectProgram = param.chooseData;\n queryListParams.selectProgramId = param.programid;\n queryListParams.selectProgramName = param.programName;\n }\n };\n // 打开cover弹窗\n const openCover = () => {\n // console.log('aaaaaa')\n isSelectProgramCover.value = true;\n };\n //点击支持文档\n const handlDocName = (item: any) => {\n if (item.collectionDocId.length > 0) {\n getFileReview({ id: item.collectionDocId }).then((res: any): void => {\n if (res.ext === \"jpg\") {\n base64code.value = \"data:image/jpg;base64,\" + res.base64code;\n type.value = \"jpg\";\n } else if (res.ext === \"pdf\") {\n base64code.value = URL.createObjectURL(\n b64toBlob(res.base64code, \"application/pdf\")\n );\n type.value = \"pdf\";\n }\n\n visible.value = true;\n });\n }\n };\n //export按钮\n const handleExport = () => {\n if (selectTableIds.value.length > 0) {\n const param = {\n programCode: queryListParams.selectProgram,\n dealerSwtCode: queryListParams.dealerSwtCode,\n idList: selectTableIds.value,\n };\n const paramsConfig = {\n url: `/claimapi/claimChecking/doc/export`,\n method: \"post\",\n params: param,\n };\n downloadFile(paramsConfig, \"application/vnd-excel; char-set=UTF-8\");\n } else {\n const param = {\n checkingResult: queryListParams.checkingResult,\n dealerSwtCode: queryListParams.dealerSwtCode,\n programId: queryListParams.selectProgramId,\n programCode: queryListParams.selectProgram,\n programNameEn: queryListParams.selectProgramName,\n programNameCn: \"\",\n };\n const paramsConfig = {\n url: `/claimapi/claimChecking/doc/export`,\n method: \"post\",\n params: param,\n };\n downloadFile(paramsConfig, \"application/vnd-excel; char-set=UTF-8\");\n }\n };\n const showImportCheckingResult = () => {\n importCheckingResult.value.showDrawer();\n };\n //根据筛选条件查询表格\n const getTableDataByCondition = () => {\n pagination.currentPage = 1;\n doGetListData(pagination.currentPage - 1, pagination.pageSize);\n };\n const handleReset = () => {\n queryListParams.selectProgram = \"\";\n queryListParams.dealerSwtCode = \"\";\n queryListParams.selectProgramId = \"\";\n queryListParams.selectProgramName = \"\";\n queryListParams.checkingResult = [];\n };\n type Key = ColumnProps[\"key\"];\n const state = reactive<{\n selectedRowKeys: Key[];\n loading: boolean;\n }>({\n selectedRowKeys: [], // Check here to configure the default column\n loading: false,\n });\n\n const onSelectChange = (selectedRowKeys: Key[]) => {\n state.selectedRowKeys = selectedRowKeys;\n };\n\n //关闭样例抽屉\n const closeDrawer = () => {\n visible.value = false;\n };\n\n const batchVisible = ref(false);\n const totalDocNum = ref(0);\n\n const getIdList = () => {\n let idList = [];\n if (selectTableIds.value.length > 0) {\n idList = selectTableIds.value;\n } else {\n idList = queryListData.value.map((data: any) => {\n return data.id;\n });\n }\n return idList;\n };\n\n const handleDownload = () => {\n // const params = {\n // idList: getIdList(),\n // programCode: queryListParams.selectProgram,\n // dealerSwtCode: queryListParams.dealerSwtCode,\n // programId: queryListParams.selectProgramId,\n // programNameCn: \"\",\n // programNameEn: queryListParams.selectProgramName,\n // };\n let params: any;\n if (selectTableIds.value.length > 0) {\n params = {\n programCode: queryListParams.selectProgram,\n dealerSwtCode: queryListParams.dealerSwtCode,\n programId: queryListParams.selectProgramId,\n // idList: selectTableIds.value,\n idList: getIdList(),\n programNameEn: queryListParams.selectProgramName,\n programNameCn: \"\",\n };\n } else {\n params = {\n checkingResult: queryListParams.checkingResult,\n dealerSwtCode: queryListParams.dealerSwtCode,\n programId: queryListParams.selectProgramId,\n programCode: queryListParams.selectProgram,\n programNameEn: queryListParams.selectProgramName,\n programNameCn: \"\",\n };\n }\n countDownload(params).then((res: any) => {\n totalDocNum.value = res;\n if (totalDocNum.value === 0) {\n message.error(\"Data is empty\");\n return;\n }\n batchVisible.value = true;\n });\n };\n\n // batch download\n const batchDownloadDocuments = () => {\n let params: any;\n if (selectTableIds.value.length > 0) {\n params = {\n programCode: queryListParams.selectProgram,\n dealerSwtCode: queryListParams.dealerSwtCode,\n programId: queryListParams.selectProgramId,\n // idList: selectTableIds.value,\n idList: getIdList(),\n programNameEn: queryListParams.selectProgramName,\n programNameCn: \"\",\n };\n } else {\n params = {\n checkingResult: queryListParams.checkingResult,\n dealerSwtCode: queryListParams.dealerSwtCode,\n programId: queryListParams.selectProgramId,\n programCode: queryListParams.selectProgram,\n programNameEn: queryListParams.selectProgramName,\n programNameCn: \"\",\n };\n }\n // const params = {\n // idList: getIdList(),\n // programCode: queryListParams.selectProgram,\n // dealerSwtCode: queryListParams.dealerSwtCode,\n // programId: queryListParams.selectProgramId,\n // programNameCn: \"\",\n // programNameEn: queryListParams.selectProgramName,\n // };\n batchDownload(params).then((res: any) => {\n if (res !== null) {\n if (res.downloadUrl === null || res.downloadUrl === \"\") {\n message.success(\n \"Download request submitted successfully. Please query download result in package task center.\"\n );\n }\n\n const downloadElement = document.createElement(\"a\");\n downloadElement.href = res.downloadUrl;\n document.body.appendChild(downloadElement);\n downloadElement.click();\n document.body.removeChild(downloadElement);\n }\n batchVisible.value = false;\n message.success(\"Download request submit successful.\");\n });\n };\n\n return {\n type,\n base64code,\n closeDrawer,\n visible,\n ...toRefs(state),\n onSelectChange,\n supportArrayWidth,\n handleReset,\n columns2,\n getTableDataByCondition,\n importCheckingResult,\n showImportCheckingResult,\n handleExport,\n handlDocName,\n resultOptions,\n openCover,\n closeSub,\n isSelectProgramCover,\n changePagination,\n changePageSize,\n pagination,\n rowSelection,\n searchCon,\n tableHeight,\n queryListData,\n queryListParams,\n tableWidth,\n columns,\n batchVisible,\n totalDocNum,\n handleDownload,\n batchDownloadDocuments,\n isSICCO,\n buList,\n };\n },\n});\n","import { render } from \"./index.vue?vue&type=template&id=5f2473f2&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=5f2473f2&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-5f2473f2\"]])\n\nexport default __exports__"],"sourceRoot":""}