{"version":3,"sources":["webpack:///./src/assets/images/date-icon.svg","webpack:///./src/assets/images/rv/arrow-down.svg","webpack:///./src/views/Claim/DealerClaim/DealerVINBasedEnquiry/index.vue?9691","webpack:///./src/views/Claim/DealerClaim/DealerVINBasedEnquiry/index.vue?21c5","webpack:///./src/API/claim/claimVINBased.ts","webpack:///./src/views/Claim/DealerClaim/DealerVINBasedEnquiry/index.vue","webpack:///./src/views/Claim/DealerClaim/DealerVINBasedEnquiry/index.vue?c461","webpack:///./src/hooks/checking/spotChecking/useEventbus.ts","webpack:///./src/assets/images/rv/screen.png","webpack:///./src/utils/claim/downloadFile.ts"],"names":["module","exports","_withScopeId","n","_hoisted_1","class","_hoisted_2","_hoisted_3","src","_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","_hoisted_20","_hoisted_21","style","_hoisted_22","_hoisted_23","_hoisted_24","_hoisted_25","_hoisted_26","_hoisted_27","_hoisted_28","_hoisted_29","_hoisted_30","_hoisted_31","_hoisted_32","_hoisted_33","_hoisted_34","_hoisted_35","_hoisted_36","_hoisted_37","_hoisted_38","render","_ctx","_cache","$props","$setup","$data","$options","_component_Breadcrumb","_component_a_button","_component_a_input","_component_a_space","_component_a_select_option","_component_a_select","_component_a_range_picker","_component_a_table","_component_a_pagination","_component_a_tooltip","dataSource","isOpen","$t","onClick","$event","isOpenPanle","activeKey","$btnPermissions","key","exportResult","default","_","direction","value","queryListParams","vinNo","placeholder","typeClassCodes","ref","mode","maxTagCount","typeClassCodesList","item","id","title","name","materialNo","modelName","modelYear","modelYearList","wholesaleSources","wholesaleSourcesList","valueFormat","format","wholesaleTime","suffixIcon","retailTime","user","dealerCode","dealerNameCn","dealerNameEn","quertTable","type","clearQueryListParams","queryListData","columns","customRow","pagination","scroll","x","leftTableWidth","y","tableHeight","rowKey","record","index","rowClassName","total","locale","onChange","page","pageSize","pageChange","onShowSizeChange","sizeChange","current","currentPage","pageSizeOptions","buildOptionText","props","width","rightTableWidth","compatibleData","compatibleColumns","rightCustomRow","placement","programNameCn","rowIndex","slotArray","programCode","fn","columnIndex","substring","slotValueArray","valueCode","getQueryList","params","vinBasedEnquiryCompatibility","getModalYear","getTypeClass","components","setup","t","store","useEventbus","isDealer","state","legalEntity","entityCode","console","log","router","isClick","clickVinNO","clickDealerCode","organization","toLowerCase","sideNavCollapsed","window","innerWidth","searchCon","innerHeight","undefined","wholesaleBegin","wholesaleEnd","retailBegin","retailEnd","size","dataIndex","fixed","getParams","length","i","push","getTableData","then","res","data","totalNum","handelData","slots","customRender","customCell","e","codeArray","program","one","programId","valueId","oneData","j","conflict","code","getCompatibleDataDealer","param","getCompatibleData","preCell","preCellClass","count","div","target","parentElement","className","innerText","previousSibling","option","paramsConfig","url","method","downloadFile","message","error","refreshTable","queryModalYear","array","queryTypeClass","__exports__","emitter","customEmit","eventName","arg","emit","customOn","on","customOff","off","options","fileName","config","responseType","Promise","resolve","reject","blob","Blob","downloadElement","document","createElement","href","URL","createObjectURL","str","headers","lastIndexOf","download","decodeURIComponent","Date","now","toString","body","appendChild","click","removeChild","revokeObjectURL","catch"],"mappings":"qGAAAA,EAAOC,QAAU,IAA0B,8B,uBCA3CD,EAAOC,QAAU,IAA0B,+B,oCCA3C,W,0HCMMC,EAAe,SAAAC,GAAK,OAAC,yBAAa,mBAAmBA,EAAEA,IAAI,0BAAcA,GACzEC,EAAa,CAAEC,MAAO,kBACtBC,EAAa,CAAED,MAAO,mBACtBE,EAA2BL,GAAa,WAAmB,uCAAoB,MAAO,CAC1FM,IAAK,IACLH,MAAO,UACN,MAAO,MACJI,EAAa,CAAEJ,MAAO,aACtBK,EAAa,CAAEL,MAAO,aACtBM,EAAa,CAAEN,MAAO,aACtBO,EAAa,CAAEP,MAAO,aACtBQ,EAAa,CAAER,MAAO,aACtBS,EAAa,CAAET,MAAO,a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gBS,SADTjB,GAGoBmB,KAAKC,MAAMC,WAE1CZ,SAASa,KAAKC,YAAYf,GAC1BA,EAAgBgB,QAChBf,SAASa,KAAKG,YAAYjB,GAC1B7E,OAAOiF,IAAIc,gBAAgBf,GAC3BP,EAAQvD,MAEX8E,OAAM,SAAS3C,GAEZ,OADA9D,QAAQC,IAAI6D,GACLqB,EAAOrB","file":"js/chunk-7b1a0ba5.af3d9fa2.js","sourcesContent":["module.exports = __webpack_public_path__ + \"img/date-icon.b14f3d24.svg\";","module.exports = __webpack_public_path__ + \"img/arrow-down.e6641389.svg\";","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=5476d804&lang=scss&scoped=true\"","import { resolveComponent as _resolveComponent, createVNode as _createVNode, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, createTextVNode as _createTextVNode, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, renderList as _renderList, Fragment as _Fragment, createElementBlock as _createElementBlock, createSlots as _createSlots, normalizeStyle as _normalizeStyle, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nimport _imports_0 from '@/assets/images/rv/screen.png'\nimport _imports_1 from '@/assets/images/rv/arrow-down.svg'\nimport _imports_2 from '@/assets/images/date-icon.svg'\n\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-5476d804\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"content-dealer\" }\nconst _hoisted_2 = { class: \"condition-title\" }\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", {\n src: _imports_0,\n class: \"screen\"\n}, null, -1))\nconst _hoisted_4 = { class: \"item-name\" }\nconst _hoisted_5 = { class: \"item-name\" }\nconst _hoisted_6 = { class: \"item-name\" }\nconst _hoisted_7 = { class: \"item-name\" }\nconst _hoisted_8 = { class: \"item-name\" }\nconst _hoisted_9 = { class: \"item-name\" }\nconst _hoisted_10 = { class: \"item-name\" }\nconst _hoisted_11 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", { src: _imports_2 }, null, -1))\nconst _hoisted_12 = { class: \"item-name\" }\nconst _hoisted_13 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", { src: _imports_2 }, null, -1))\nconst _hoisted_14 = { class: \"item-name\" }\nconst _hoisted_15 = { class: \"item-name\" }\nconst _hoisted_16 = { class: \"item-name\" }\nconst _hoisted_17 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { class: \"item-name\" }, \" \", -1))\nconst _hoisted_18 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { class: \"item-name\" }, \" \", -1))\nconst _hoisted_19 = { class: \"tableCon\" }\nconst _hoisted_20 = { class: \"table leftTable\" }\nconst _hoisted_21 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { style: {\"height\":\"30px\"} }, null, -1))\nconst _hoisted_22 = { class: \"table-pagination\" }\nconst _hoisted_23 = { class: \"rightTable\" }\nconst _hoisted_24 = { style: {\"height\":\"30px\"} }\nconst _hoisted_25 = { style: {\"float\":\"left\",\"margin-left\":\"20px\"} }\nconst _hoisted_26 = { style: {\"margin-right\":\"15px\"} }\nconst _hoisted_27 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { style: {\"color\":\"#00adef\",\"font-weight\":\"bold\"} }, \"Y\", -1))\nconst _hoisted_28 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { style: {\"color\":\"#e1292b\",\"font-weight\":\"bold\"} }, \"N\", -1))\nconst _hoisted_29 = { style: {\"float\":\"right\",\"margin-right\":\"20px\"} }\nconst _hoisted_30 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { style: {\"color\":\"#e1292b\"} }, \"*\", -1))\nconst _hoisted_31 = { style: {\"color\":\"#666666\"} }\nconst _hoisted_32 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"br\", null, null, -1))\nconst _hoisted_33 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"br\", null, null, -1))\nconst _hoisted_34 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"br\", null, null, -1))\nconst _hoisted_35 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"br\", null, null, -1))\nconst _hoisted_36 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"br\", null, null, -1))\nconst _hoisted_37 = { style: {\"overflow\":\"hidden\",\"text-overflow\":\"ellipsis\",\"white-space\":\"nowrap\"} }\nconst _hoisted_38 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"br\", null, null, -1))\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_button = _resolveComponent(\"a-button\")!\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_range_picker = _resolveComponent(\"a-range-picker\")!\n const _component_a_table = _resolveComponent(\"a-table\")!\n const _component_a_pagination = _resolveComponent(\"a-pagination\")!\n const _component_a_tooltip = _resolveComponent(\"a-tooltip\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createVNode(_component_Breadcrumb, { dataSource: [] }),\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"condition-dealer\", { 'open-condition': _ctx.isOpen }])\n }, [\n _createElementVNode(\"section\", _hoisted_2, [\n _createElementVNode(\"div\", null, [\n _hoisted_3,\n _createElementVNode(\"strong\", null, _toDisplayString(_ctx.$t(\"dealerVINBasedEnquiry.searchConditions\")), 1),\n _createElementVNode(\"img\", {\n src: _imports_1,\n class: _normalizeClass([{ 'rotate-arrow': _ctx.isOpen }, \"arrow\"]),\n onClick: _cache[0] || (_cache[0] = ($event: any) => {\n _ctx.isOpen = !_ctx.isOpen;\n _ctx.isOpenPanle = false;\n _ctx.activeKey = '';\n })\n }, null, 2)\n ]),\n _createElementVNode(\"div\", null, [\n (_ctx.$btnPermissions('VBE0003'))\n ? (_openBlock(), _createBlock(_component_a_button, {\n key: 0,\n onClick: _ctx.exportResult,\n style: {\"margin\":\"0 16px 0 0\",\"border\":\"1px solid #bfbfbf\"}\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"dealerVINBasedEnquiry.exportVehicleCompatibility\")), 1)\n ]),\n _: 1\n }, 8, [\"onClick\"]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"condition-content clearfix\", { 'open-condition-content': _ctx.isOpen }])\n }, [\n _createVNode(_component_a_space, {\n direction: \"vertical\",\n style: {\"margin-right\":\"15px\",\"width\":\"229px\"}\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"label\", _hoisted_4, _toDisplayString(_ctx.$t(\"dealerVINBasedEnquiry.vinNO\")), 1),\n _createVNode(_component_a_input, {\n value: _ctx.queryListParams.vinNo,\n \"onUpdate:value\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.queryListParams.vinNo) = $event)),\n placeholder: _ctx.$t('dealerVINBasedEnquiry.pleaseInput')\n }, null, 8, [\"value\", \"placeholder\"])\n ]),\n _: 1\n }),\n _createVNode(_component_a_space, {\n direction: \"vertical\",\n style: {\"margin-right\":\"15px\",\"width\":\"229px\"}\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"label\", _hoisted_5, _toDisplayString(_ctx.$t(\"dealerVINBasedEnquiry.vehicleClassification\")), 1),\n _createVNode(_component_a_select, {\n value: _ctx.queryListParams.typeClassCodes,\n \"onUpdate:value\": _cache[2] || (_cache[2] = ($event: any) => ((_ctx.queryListParams.typeClassCodes) = $event)),\n style: {\"width\":\"229px\"},\n ref: \"select\",\n mode: \"multiple\",\n maxTagCount: 2,\n placeholder: _ctx.$t('dealerVINBasedEnquiry.pleaseSelect')\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.typeClassCodesList, (item) => {\n return (_openBlock(), _createBlock(_component_a_select_option, {\n value: item.id,\n key: item.id,\n title: item.name\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(item.name), 1)\n ]),\n _: 2\n }, 1032, [\"value\", \"title\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"value\", \"placeholder\"])\n ]),\n _: 1\n }),\n _createVNode(_component_a_space, {\n direction: \"vertical\",\n style: {\"margin-right\":\"15px\",\"width\":\"229px\"}\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"label\", _hoisted_6, _toDisplayString(_ctx.$t(\"dealerVINBasedEnquiry.vehicleCode\")), 1),\n _createVNode(_component_a_input, {\n value: _ctx.queryListParams.materialNo,\n \"onUpdate:value\": _cache[3] || (_cache[3] = ($event: any) => ((_ctx.queryListParams.materialNo) = $event)),\n placeholder: _ctx.$t('dealerVINBasedEnquiry.pleaseInput')\n }, null, 8, [\"value\", \"placeholder\"])\n ]),\n _: 1\n }),\n _createVNode(_component_a_space, {\n direction: \"vertical\",\n style: {\"margin-right\":\"15px\",\"width\":\"229px\"}\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"label\", _hoisted_7, _toDisplayString(_ctx.$t(\"dealerVINBasedEnquiry.vehicleName\")), 1),\n _createVNode(_component_a_input, {\n value: _ctx.queryListParams.modelName,\n \"onUpdate:value\": _cache[4] || (_cache[4] = ($event: any) => ((_ctx.queryListParams.modelName) = $event)),\n placeholder: _ctx.$t('dealerVINBasedEnquiry.pleaseInput')\n }, null, 8, [\"value\", \"placeholder\"])\n ]),\n _: 1\n }),\n _createVNode(_component_a_space, {\n direction: \"vertical\",\n style: {\"margin-right\":\"15px\",\"width\":\"229px\"}\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"label\", _hoisted_8, _toDisplayString(_ctx.$t(\"dealerVINBasedEnquiry.modelYear\")), 1),\n _createVNode(_component_a_select, {\n value: _ctx.queryListParams.modelYear,\n \"onUpdate:value\": _cache[5] || (_cache[5] = ($event: any) => ((_ctx.queryListParams.modelYear) = $event)),\n placeholder: _ctx.$t('dealerVINBasedEnquiry.pleaseSelect'),\n class: \"sel-inp-size\"\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.modelYearList, (item) => {\n return (_openBlock(), _createBlock(_component_a_select_option, {\n value: item.id,\n key: item.id,\n title: item.name\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(item.name), 1)\n ]),\n _: 2\n }, 1032, [\"value\", \"title\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"value\", \"placeholder\"])\n ]),\n _: 1\n }),\n _createVNode(_component_a_space, {\n direction: \"vertical\",\n style: {\"margin-right\":\"15px\",\"width\":\"229px\"}\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"label\", _hoisted_9, _toDisplayString(_ctx.$t(\"dealerVINBasedEnquiry.wholesaleSource\")), 1),\n _createVNode(_component_a_select, {\n value: _ctx.queryListParams.wholesaleSources,\n \"onUpdate:value\": _cache[6] || (_cache[6] = ($event: any) => ((_ctx.queryListParams.wholesaleSources) = $event)),\n placeholder: _ctx.$t('dealerVINBasedEnquiry.pleaseSelect'),\n mode: \"multiple\",\n class: \"sel-inp-size\"\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.wholesaleSourcesList, (item) => {\n return (_openBlock(), _createBlock(_component_a_select_option, {\n value: item.id,\n key: item.id,\n title: item.name\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(item.name), 1)\n ]),\n _: 2\n }, 1032, [\"value\", \"title\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"value\", \"placeholder\"])\n ]),\n _: 1\n }),\n _createVNode(_component_a_space, {\n direction: \"vertical\",\n style: {\"margin-right\":\"15px\",\"width\":\"229px\"}\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"label\", _hoisted_10, _toDisplayString(_ctx.$t(\"dealerVINBasedEnquiry.wholesaleDate\")), 1),\n _createVNode(_component_a_range_picker, {\n placeholder: [\n _ctx.$t('dealerVINBasedEnquiry.beginTime'),\n _ctx.$t('dealerVINBasedEnquiry.endTime'),\n ],\n valueFormat: \"YYYY-MM-DD\",\n format: \"YYYY-MM-DD\",\n value: _ctx.queryListParams.wholesaleTime,\n \"onUpdate:value\": _cache[7] || (_cache[7] = ($event: any) => ((_ctx.queryListParams.wholesaleTime) = $event))\n }, {\n suffixIcon: _withCtx(() => [\n _hoisted_11\n ]),\n _: 1\n }, 8, [\"placeholder\", \"value\"])\n ]),\n _: 1\n }),\n _createVNode(_component_a_space, {\n direction: \"vertical\",\n style: {\"margin-right\":\"15px\",\"width\":\"229px\"}\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"label\", _hoisted_12, _toDisplayString(_ctx.$t(\"dealerVINBasedEnquiry.retailDate\")), 1),\n _createVNode(_component_a_range_picker, {\n placeholder: [\n _ctx.$t('dealerVINBasedEnquiry.beginTime'),\n _ctx.$t('dealerVINBasedEnquiry.endTime'),\n ],\n valueFormat: \"YYYY-MM-DD\",\n format: \"YYYY-MM-DD\",\n value: _ctx.queryListParams.retailTime,\n \"onUpdate:value\": _cache[8] || (_cache[8] = ($event: any) => ((_ctx.queryListParams.retailTime) = $event))\n }, {\n suffixIcon: _withCtx(() => [\n _hoisted_13\n ]),\n _: 1\n }, 8, [\"placeholder\", \"value\"])\n ]),\n _: 1\n }),\n (_ctx.user !== 'dealer')\n ? (_openBlock(), _createBlock(_component_a_space, {\n key: 0,\n direction: \"vertical\",\n style: {\"margin-right\":\"15px\",\"width\":\"229px\"}\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"label\", _hoisted_14, _toDisplayString(_ctx.$t(\"dealerVINBasedEnquiry.dealerCode\")), 1),\n _createVNode(_component_a_input, {\n value: _ctx.queryListParams.dealerCode,\n \"onUpdate:value\": _cache[9] || (_cache[9] = ($event: any) => ((_ctx.queryListParams.dealerCode) = $event)),\n placeholder: _ctx.$t('dealerVINBasedEnquiry.pleaseInput')\n }, null, 8, [\"value\", \"placeholder\"])\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n (_ctx.user !== 'dealer')\n ? (_openBlock(), _createBlock(_component_a_space, {\n key: 1,\n direction: \"vertical\",\n style: {\"margin-right\":\"15px\",\"width\":\"229px\"}\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"label\", _hoisted_15, _toDisplayString(_ctx.$t(\"dealerVINBasedEnquiry.dealerNameCN\")), 1),\n _createVNode(_component_a_input, {\n value: _ctx.queryListParams.dealerNameCn,\n \"onUpdate:value\": _cache[10] || (_cache[10] = ($event: any) => ((_ctx.queryListParams.dealerNameCn) = $event)),\n placeholder: _ctx.$t('dealerVINBasedEnquiry.pleaseInput')\n }, null, 8, [\"value\", \"placeholder\"])\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n (_ctx.user !== 'dealer')\n ? (_openBlock(), _createBlock(_component_a_space, {\n key: 2,\n direction: \"vertical\",\n style: {\"margin-right\":\"15px\",\"width\":\"229px\"}\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"label\", _hoisted_16, _toDisplayString(_ctx.$t(\"dealerVINBasedEnquiry.dealerNameEN\")), 1),\n _createVNode(_component_a_input, {\n value: _ctx.queryListParams.dealerNameEn,\n \"onUpdate:value\": _cache[11] || (_cache[11] = ($event: any) => ((_ctx.queryListParams.dealerNameEn) = $event)),\n placeholder: _ctx.$t('dealerVINBasedEnquiry.pleaseInput')\n }, null, 8, [\"value\", \"placeholder\"])\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_a_space, {\n direction: \"vertical\",\n style: {\"margin-right\":\"15px\"}\n }, {\n default: _withCtx(() => [\n _hoisted_17,\n (_ctx.$btnPermissions('VBE0001'))\n ? (_openBlock(), _createBlock(_component_a_button, {\n key: 0,\n onClick: _ctx.quertTable,\n type: \"primary\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"dealerVINBasedEnquiry.search\")), 1)\n ]),\n _: 1\n }, 8, [\"onClick\"]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }),\n _createVNode(_component_a_space, {\n direction: \"vertical\",\n style: {\"text-align\":\"right\",\"margin-right\":\"15px\"}\n }, {\n default: _withCtx(() => [\n _hoisted_18,\n (_ctx.$btnPermissions('VBE0002'))\n ? (_openBlock(), _createBlock(_component_a_button, {\n key: 0,\n onClick: _ctx.clearQueryListParams\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"dealerVINBasedEnquiry.reset\")), 1)\n ]),\n _: 1\n }, 8, [\"onClick\"]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n })\n ], 2)\n ], 2),\n _createElementVNode(\"div\", _hoisted_19, [\n _createElementVNode(\"div\", _hoisted_20, [\n _hoisted_21,\n _createVNode(_component_a_table, {\n class: \"ant-table-striped\",\n dataSource: _ctx.queryListData,\n columns: _ctx.columns,\n customRow: _ctx.customRow,\n pagination: false,\n scroll: { x: _ctx.leftTableWidth, y: _ctx.tableHeight - 20 },\n rowKey: (record, index) => index,\n rowClassName: \n (record, index) => (index % 2 === 1 ? 'table-striped' : null)\n \n }, null, 8, [\"dataSource\", \"columns\", \"customRow\", \"scroll\", \"rowKey\", \"rowClassName\"]),\n _createElementVNode(\"div\", _hoisted_22, [\n _createVNode(_component_a_pagination, {\n total: _ctx.total,\n \"page-size\": 20,\n \"show-total\": \n (total) =>\n _ctx.locale === 'en' ? `Total ${total} items` : `共 ${total} 条`\n ,\n onChange: _cache[12] || (_cache[12] = (page, pageSize) => _ctx.pageChange(page)),\n onShowSizeChange: _cache[13] || (_cache[13] = (page, pageSize) => _ctx.sizeChange(page, pageSize)),\n \"show-size-changer\": \"\",\n \"show-less-items\": \"\",\n current: _ctx.currentPage,\n pageSize: _ctx.pageSize,\n pageSizeOptions: ['10', '20', '30', '40', '50']\n }, {\n buildOptionText: _withCtx((props) => [\n _createElementVNode(\"span\", null, _toDisplayString(props.value) + _toDisplayString(_ctx.locale === \"en\" ? \" Items/Page\" : \"条/页\"), 1)\n ]),\n _: 1\n }, 8, [\"total\", \"show-total\", \"current\", \"pageSize\"])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_23, [\n _createElementVNode(\"div\", _hoisted_24, [\n _createElementVNode(\"div\", _hoisted_25, [\n _createElementVNode(\"span\", _hoisted_26, [\n _hoisted_27,\n _createTextVNode(\":\" + _toDisplayString(_ctx.$t(\"dealerVINBasedEnquiry.compatible\")), 1)\n ]),\n _createElementVNode(\"span\", null, [\n _hoisted_28,\n _createTextVNode(\":\" + _toDisplayString(_ctx.$t(\"dealerVINBasedEnquiry.incompatible\")), 1)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_29, [\n _hoisted_30,\n _createElementVNode(\"span\", _hoisted_31, _toDisplayString(_ctx.locale === \"en\"\n ? \"The compatibility display does not include the intertemporal requirements of financial policy, and the specific requirements shall be subject to the policy content.\"\n : \"该兼容性展示不包含金融政策跨期要求,具体要求以政策内容为准。\"), 1)\n ])\n ]),\n _createElementVNode(\"div\", {\n style: _normalizeStyle({ width: _ctx.rightTableWidth + 'px' })\n }, [\n _createVNode(_component_a_table, {\n class: \"ant-table-dark\",\n dataSource: _ctx.compatibleData,\n columns: _ctx.compatibleColumns,\n pagination: false,\n scroll: { x: _ctx.rightTableWidth, y: _ctx.tableHeight },\n rowKey: (record, index) => index,\n rowClassName: () => 'table-dark',\n customRow: _ctx.rightCustomRow\n }, _createSlots({\n vinNo: _withCtx(({ record }) => [\n _createVNode(_component_a_tooltip, { placement: \"left\" }, {\n title: _withCtx(() => [\n _createTextVNode(_toDisplayString(record.vinNo), 1),\n _hoisted_32,\n _createTextVNode(\" \" + _toDisplayString(record.programNameCn), 1),\n _hoisted_33\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"div\", {\n style: {\"overflow\":\"hidden\",\"text-overflow\":\"ellipsis\",\"white-space\":\"nowrap\"},\n class: _normalizeClass([\"dark-td\", [record.rowIndex == _ctx.rowIndex ? 'active-row' : '']])\n }, [\n _createTextVNode(_toDisplayString(record.vinNo), 1),\n _hoisted_34,\n _createTextVNode(\" \" + _toDisplayString(record.programNameCn), 1),\n _hoisted_35\n ], 2)\n ]),\n _: 2\n }, 1024)\n ]),\n _: 2\n }, [\n _renderList(_ctx.slotArray, (item) => {\n return {\n name: item.programCode,\n fn: _withCtx(() => [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"dark-th\", [\n item.columnIndex == _ctx.columnIndex ? 'active-cloumns' : '',\n ]])\n }, [\n _createVNode(_component_a_tooltip, null, {\n title: _withCtx(() => [\n _createTextVNode(_toDisplayString(item.programCode.substring(2)), 1),\n _hoisted_36,\n _createTextVNode(\" \" + _toDisplayString(item.programNameCn), 1)\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_37, [\n _createTextVNode(_toDisplayString(item.programCode), 1),\n _hoisted_38,\n _createTextVNode(\" \" + _toDisplayString(item.programNameCn), 1)\n ])\n ]),\n _: 2\n }, 1024)\n ], 2)\n ])\n }\n }),\n _renderList(_ctx.slotValueArray, (item) => {\n return {\n name: item.valueCode,\n fn: _withCtx(({ record }) => [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\n 'N' === record[item.valueCode]\n ? 'N'\n : 'Y' === record[item.valueCode]\n ? 'Y'\n : '',\n ])\n }, _toDisplayString(record[item.valueCode]), 3)\n ])\n }\n })\n ]), 1032, [\"dataSource\", \"columns\", \"scroll\", \"rowKey\", \"rowClassName\", \"customRow\"])\n ], 4)\n ])\n ])\n ])\n ], 64))\n}","import { fetchPost ,fetchGet} from '../index';\n\n// 查询table数据接口\nexport const getQueryList = ( params = {}): Promise => {\n\treturn fetchPost('/claimapi/salesIncentiveProgram/vinBasedEnquiry', params)\n}\n\n// 点击车架号,查询兼容性\nexport const vinBasedEnquiryCompatibility= ( params = {}): Promise => {\n\treturn fetchPost('/claimapi/salesIncentiveProgram/vinBasedEnquiryCompatibility', params)\n}\n\n//获取年款\nexport const getModalYear = (): Promise => {\n\treturn fetchGet('/vapi/noAuth/get_property_lov?property=modelYear')\n}\n\n//获取车型分类\nexport const getTypeClass = (): Promise => {\n\treturn fetchGet('/\tvapi/noAuth/get_property_lov?property=typeClass')\n}","\nimport {\n defineComponent,\n ref,\n reactive,\n toRefs,\n onMounted,\n nextTick,\n computed,\n h,\n} from \"vue\";\nimport {\n getQueryList,\n vinBasedEnquiryCompatibility,\n getModalYear,\n getTypeClass,\n} from \"@/API/claim/claimVINBased\";\nimport { message } from \"ant-design-vue\";\nimport downloadFile from \"@/utils/claim/downloadFile\";\nimport { useStore } from \"vuex\";\nimport { useRouter } from \"vue-router\";\nimport { useI18n } from \"vue-i18n\";\nimport useEventbus from \"@/hooks/checking/spotChecking/useEventbus\";\ninterface QueryListType {\n vinNo: string | null;\n typeClassCodes: string[];\n materialNo: string | null;\n modelName: string | null;\n modelYear: string | undefined;\n wholesaleSources: string[];\n wholesaleTime: string[];\n retailTime: string[];\n dealerCode: string | null;\n dealerNameCn: string | null;\n dealerNameEn: string | null;\n}\ninterface SearchListType {\n vinNo: string | null;\n typeClassCodes: string[];\n materialNo: string | null;\n modelName: string | null;\n modelYear: string | undefined;\n wholesaleSources: string[];\n wholesaleBegin: string | null;\n wholesaleEnd: string | null;\n retailBegin: string | null;\n retailEnd: string | null;\n dealerCode: string | null;\n dealerNameCn: string | null;\n dealerNameEn: string | null;\n size: number;\n current: number;\n}\ninterface TableType {\n modelName: string;\n modelYear: string;\n programCode: string;\n programId: string;\n programNameCn: string;\n programNameEn: string;\n retailDate: string;\n vinNo: string;\n wholesaleDate: string;\n}\nexport default defineComponent({\n components: {},\n setup() {\n const { t, locale } = useI18n();\n const { customEmit } = useEventbus();\n const store = useStore();\n const isDealer = ref(true);\n if ((store.state.user as any).legalEntity.entityCode !== \"Dealer\") {\n isDealer.value = false;\n }\n console.log(isDealer.value, \"isDealer\");\n //点击右侧表格的的行列\n const columnIndex = ref(-1);\n const rowIndex = ref(-1);\n\n const router = useRouter();\n\n //是否点击左边的车辆表格\n const isClick = ref(true);\n const clickVinNO = ref(\"\");\n const clickDealerCode = ref(\"\");\n\n //分页\n const pagination = reactive({\n total: 0,\n currentPage: 1,\n pageSize: 20,\n });\n\n // const dealerCode = ref(\"193120320\");\n const { state } = useStore();\n const dealerCode = ref(\"\");\n dealerCode.value = (state.user as any).organization.entityCode;\n const user = (\n (state.user as any).legalEntity.entityCode as string\n ).toLowerCase();\n //获取sideNavCollapsed,判断左右表格宽度\n // const store = useStore();\n const leftTableWidth = computed(() => {\n if (store.state.sideNavCollapsed) {\n return (window.innerWidth - 300) * 0.3;\n } else {\n return (window.innerWidth - 80) * 0.3;\n }\n });\n\n const rightTableWidth = computed(() => {\n if (store.state.sideNavCollapsed) {\n return (window.innerWidth - 420) * 0.55;\n } else {\n return (window.innerWidth - 200) * 0.55;\n }\n });\n\n const searchCon = ref();\n const tableHeight = window.innerHeight - 345;\n // 车型分类list假值\n const typeClassCodesList = ref([]);\n // 年款假值\n const modelYearList = ref([]);\n // 批发资源假值\n const wholesaleSourcesList = reactive>([\n { id: \"10012\", name: \"MBCL\" },\n { id: \"10010\", name: \"BBAC\" },\n { id: \"10011\", name: \"FBAC\" },\n // { id: \"DENZA\", name: \"DENZA\" },\n ]);\n\n // const wholesaleSourcesList = reactive>(store.state.user.entityList);\n\n //筛选条件,各个信息框的内容\n const queryListParams = reactive({\n vinNo: \"\",\n typeClassCodes: [],\n materialNo: \"\",\n modelName: \"\",\n modelYear: undefined,\n wholesaleSources: [],\n wholesaleTime: [],\n retailTime: [],\n dealerCode: \"\",\n dealerNameCn: \"\",\n dealerNameEn: \"\",\n });\n // 设置搜索值\n const params = reactive({\n vinNo: \"\",\n typeClassCodes: [],\n materialNo: \"\",\n modelName: \"\",\n modelYear: undefined,\n wholesaleSources: [],\n wholesaleBegin: \"\",\n wholesaleEnd: \"\",\n retailBegin: \"\",\n retailEnd: \"\",\n dealerCode: \"\",\n dealerNameCn: \"\",\n dealerNameEn: \"\",\n current: 0,\n size: 20,\n });\n //显示的表格数据\n const columns = reactive([\n {\n title: t(\"dealerVINBasedEnquiry.vinNO\"),\n dataIndex: \"vinNo\",\n width: 170,\n fixed: \"left\",\n // customRender: (text: any, record: any, index: any) => {\n // // console.log(record);\n // // console.log(index);\n // // console.log(text);\n // return \"xx\";\n // },\n },\n {\n title: t(\"dealerVINBasedEnquiry.wholesaleDate\"),\n dataIndex: \"wholesaleDate\",\n width: 120,\n },\n {\n title: t(\"dealerVINBasedEnquiry.retailDate\"),\n dataIndex: \"retailDate\",\n width: 120,\n },\n {\n title: t(\"dealerVINBasedEnquiry.vehicleName\"),\n dataIndex: \"modelName\",\n width: 320,\n // customCell: (record: any, rowIndex: any) => {\n // return { style: { color: \"#FF0000\", background: \"#fafafa\" } }; //return 想要设置的样式\n // },\n },\n {\n title: t(\"dealerVINBasedEnquiry.modelYear\"),\n dataIndex: \"modelYear\",\n width: 120,\n },\n ]);\n const queryListData = ref([]);\n //用于判断查询按钮是否可点\n // const isDisabled = computed(() => {\n // const values = Object.values(queryListParams);\n // const sign = ref(true);\n\n // for (let i = 0; i < values.length; i++) {\n // if (i === 2 || i === 6) {\n // if ((values[i] as []).length > 0) {\n // sign.value = false;\n // }\n // } else {\n // if (values[i] !== null && (values[i] as string).length>0) {\n // sign.value = false;\n // }\n // }\n // }\n // return sign;\n // });\n //筛选\n const isOpen = ref(false);\n // 获取params\n const getParams = () => {\n params.vinNo = \"\";\n params.typeClassCodes = [];\n params.materialNo = \"\";\n params.modelName = \"\";\n params.modelYear = undefined;\n params.wholesaleSources = [];\n params.wholesaleBegin = \"\";\n params.wholesaleEnd = \"\";\n params.retailBegin = \"\";\n params.retailEnd = \"\";\n params.dealerCode = \"\";\n params.dealerNameCn = \"\";\n params.dealerNameEn = \"\";\n\n params.current = pagination.currentPage - 1;\n params.size = pagination.pageSize;\n\n if (queryListParams.vinNo !== null && queryListParams.vinNo !== \"\") {\n params.vinNo = queryListParams.vinNo;\n }\n\n if (\n queryListParams.typeClassCodes &&\n queryListParams.typeClassCodes.length > 0\n ) {\n params.typeClassCodes = queryListParams.typeClassCodes;\n }\n\n if (\n queryListParams.materialNo !== null &&\n queryListParams.materialNo !== \"\"\n ) {\n params.materialNo = queryListParams.materialNo;\n }\n\n if (\n queryListParams.modelName !== null &&\n queryListParams.modelName !== \"\"\n ) {\n params.modelName = queryListParams.modelName;\n }\n\n if (\n queryListParams.modelYear !== undefined &&\n queryListParams.modelYear !== \"\"\n ) {\n params.modelYear = queryListParams.modelYear;\n }\n\n if (\n queryListParams.wholesaleSources &&\n queryListParams.wholesaleSources.length > 0\n ) {\n params.wholesaleSources = queryListParams.wholesaleSources;\n } else {\n params.wholesaleSources = [];\n for (let i = 0; i < wholesaleSourcesList.length; i++) {\n params.wholesaleSources.push(wholesaleSourcesList[i].id);\n }\n }\n\n if (queryListParams.wholesaleTime.length > 0) {\n params.wholesaleBegin = queryListParams.wholesaleTime[0];\n params.wholesaleEnd = queryListParams.wholesaleTime[1];\n }\n\n if (queryListParams.retailTime.length > 0) {\n params.retailBegin = queryListParams.retailTime[0];\n params.retailEnd = queryListParams.retailTime[1];\n }\n\n if (\n queryListParams.dealerCode !== null &&\n queryListParams.dealerCode !== \"\"\n ) {\n params.dealerCode = queryListParams.dealerCode;\n }\n\n if (\n queryListParams.dealerNameCn !== null &&\n queryListParams.dealerNameCn !== \"\"\n ) {\n params.dealerNameCn = queryListParams.dealerNameCn;\n }\n\n if (\n queryListParams.dealerNameEn !== null &&\n queryListParams.dealerNameEn !== \"\"\n ) {\n params.dealerNameEn = queryListParams.dealerNameEn;\n }\n\n if (user === \"dealer\") {\n params.dealerCode = dealerCode.value;\n }\n };\n // 重置\n const clearQueryListParams = () => {\n queryListParams.vinNo = \"\";\n queryListParams.typeClassCodes = [];\n queryListParams.materialNo = \"\";\n queryListParams.modelName = \"\";\n queryListParams.modelYear = undefined;\n queryListParams.wholesaleSources = [];\n queryListParams.wholesaleTime = [];\n queryListParams.retailTime = [];\n queryListParams.dealerCode = \"\";\n queryListParams.dealerNameCn = \"\";\n queryListParams.dealerNameEn = \"\";\n };\n\n //用于循环slot显示右侧表格表头\n const slotArray: Array = [];\n const slotValueArray: Array = [];\n\n const compatibleData = ref([]);\n const compatibleColumns = ref([]);\n\n //根据筛选框信息,查询表格\n const getTableData = () => {\n compatibleData.value = [];\n compatibleColumns.value = [];\n getParams();\n getQueryList(params).then((res: any): void => {\n queryListData.value = res.data;\n pagination.total = res.totalNum;\n isOpen.value = false;\n // if (res && res.length > 0) {\n // const customerColumn = ['dealerCode', 'dealerNameCn', 'eligiblePeriodStr', 'offerTypeName', 'optionName', 'vinNo', 'model', 'inParagraph', 'payRound', 'checkResult', 'predictAmount', 'price'];\n // queryListData.value.length && Object.assign(columns, setColumnWidth(columns, queryListData.value, customerColumn))\n // }\n });\n };\n\n const quertTable = () => {\n pagination.currentPage = 1;\n getTableData();\n };\n\n //处理兼容性表格的数据,生成正常的table数据\n const handelData = (data: any, vinNo: string) => {\n console.log(data);\n compatibleColumns.value = [];\n compatibleData.value = [];\n compatibleColumns.value.push({\n title: vinNo,\n dataIndex: \"vinNo\",\n width: 260,\n fixed: \"left\",\n slots: { customRender: \"vinNo\" },\n customCell: (record: any, rowIndex: any) => {\n console.log(\"isDealer.value\", isDealer.value);\n return isDealer.value\n ? {\n onClick: (e: any) => {\n const programCode = record.programCode;\n router.push({\n name: \"Sales Incentive Claim\",\n params: { programCode: programCode },\n });\n },\n }\n : {};\n },\n });\n\n const codeArray: Array = [];\n\n for (let i = 0; i < data.program.length; i++) {\n const one = data.program[i];\n slotArray.push({\n programId: one.programId,\n programCode: one.programCode,\n programNameCn: one.programNameCn,\n columnIndex: i,\n });\n slotValueArray.push({\n valueId: \"value\" + one.programId,\n valueCode: \"value\" + one.programCode,\n programNameCn: \"value\" + one.programNameCn,\n programCode: one.programCode,\n });\n codeArray.push(one.programCode);\n compatibleColumns.value.push({\n dataIndex: one.programCode,\n width: 155,\n slots: {\n title: one.programCode,\n customRender: \"value\" + one.programCode,\n },\n // customCell: (record: any, rowIndex: any) => {\n // // console.log(record)\n // const array = Object.keys(record);\n // console.log(array)\n // for (let i=0;i = [];\n\n /*\n {\n 2021Q2V205_000:Y\n }\n \n */\n\n for (let i = 0; i < data.program.length; i++) {\n const oneData = {};\n const one = data.program[i];\n oneData[\"vinNo\"] = one.programCode;\n oneData[\"programNameCn\"] = one.programNameCn;\n oneData[\"programCode\"] = one.programCode;\n oneData[\"rowIndex\"] = i;\n\n for (let j = 0; j < codeArray.length; j++) {\n if (i > j - 1) {\n oneData[\"value\" + codeArray[j]] = \"\";\n } else {\n oneData[\"value\" + codeArray[j]] = \"Y\";\n }\n }\n\n for (let i = 0; i < one.conflict.length; i++) {\n const code = \"value\" + one.conflict[i].programCode;\n\n for (const key in oneData) {\n if (key === code && oneData[key] !== \"\") {\n oneData[key] = \"N\";\n }\n }\n }\n\n compatibleData.value.push(oneData);\n }\n };\n\n //获取dealer界面兼容性\n const getCompatibleDataDealer = (vinNo: string) => {\n const param = {\n vinNo: vinNo,\n dealerCode: dealerCode.value,\n };\n clickVinNO.value = vinNo;\n isClick.value = false;\n\n vinBasedEnquiryCompatibility(param).then((res: any): void => {\n handelData(res, vinNo);\n });\n };\n //获取兼容性\n const getCompatibleData = (vinNo: string, dealerCode: string) => {\n const param = {\n vinNo: vinNo,\n dealerCode: dealerCode,\n };\n clickVinNO.value = vinNo;\n clickDealerCode.value = dealerCode;\n isClick.value = false;\n vinBasedEnquiryCompatibility(param).then((res: any): void => {\n handelData(res, vinNo);\n });\n };\n\n //左侧表格点击事件\n const customRow = (record: any): { onClick: Function } => {\n return {\n onClick: (e: any) => {\n //e.target.previousSibling.previousSibling.previousSibling.nodeType\n columnIndex.value = -1;\n rowIndex.value = -1;\n if (locale.value === \"en\") {\n getCompatibleData(record.vinNo, record.dealerCode);\n } else {\n getCompatibleDataDealer(record.vinNo);\n }\n },\n };\n };\n\n let preCell: any = null;\n let preCellClass = \"\";\n //右侧表格点击事件\n const rightCustomRow = (record: any): { onClick: Function } => {\n return {\n onClick: (e: any) => {\n let count = 0;\n let div = e.target.parentElement;\n if (preCell !== null) {\n preCell.className = preCellClass;\n }\n if (e.target.innerText !== \"\") {\n preCellClass = e.target.className;\n preCell = e.target;\n e.target.className += \" select-border\";\n // div.className = 'select-border'\n }\n\n if (e.target.innerText === \"\") {\n columnIndex.value = -1;\n rowIndex.value = -1;\n return;\n }\n while (\n div.innerText === \"\" ||\n div.innerText === \"Y\" ||\n div.innerText === \"N\"\n ) {\n count++;\n div = div.previousSibling;\n console.log(div);\n }\n\n if (count === 0) {\n return;\n }\n\n columnIndex.value = count - 2;\n rowIndex.value = record.rowIndex;\n\n //e.target.previousSibling.previousSibling.previousSibling.nodeType\n console.log(record);\n },\n };\n };\n //导出功能\n const exportResult = () => {\n if (clickVinNO.value === \"\") {\n message.error(\n locale.value === \"en\" ? \"Please select VIN!\" : \"请选择导出的车架号!\"\n );\n return;\n }\n\n // const paramsConfig = {\n // url: `/claimapi/salesIncentiveProgram/exportExcel?vinNo=${clickVinNO.value}&dealerCode=${dealerCode.value}\"`,\n // method: \"post\",\n // // params: params,\n // fileName: `Sales_Incentive_Claim_Export_Template.xlsx`,\n // };\n\n // const option = {\n // dealerCode: dealerCode.value,\n // vinNo:clickVinNO.value\n // }\n if (locale.value === \"en\") {\n const option = {\n dealerCode: clickDealerCode.value,\n vinNo: clickVinNO.value,\n };\n\n const paramsConfig = {\n url: `/claimapi/salesIncentiveProgram/exportExcel`,\n method: \"post\",\n params: option,\n // fileName: `Sales_Incentive_Claim_Export_Template.xlsx`,\n };\n downloadFile(paramsConfig, \"application/vnd-excel; char-set=UTF-8\");\n } else {\n const option = {\n dealerCode: dealerCode.value,\n vinNo: clickVinNO.value,\n };\n\n const paramsConfig = {\n url: `/claimapi/salesIncentiveProgram/exportExcel`,\n method: \"post\",\n params: option,\n // fileName: `Sales_Incentive_Claim_Export_Template.xlsx`,\n };\n downloadFile(paramsConfig, \"application/vnd-excel; char-set=UTF-8\");\n }\n };\n const refreshTable = () => {\n getTableData();\n };\n\n //获取年款下拉框信息\n const queryModalYear = () => {\n getModalYear().then((res: any): void => {\n const array = [];\n\n for (let i = 0; i < res.length; i++) {\n if (res[i] === null || res[i] === \"\") {\n continue;\n }\n array.push({\n id: res[i],\n name: res[i],\n });\n }\n modelYearList.value = array;\n });\n };\n //获取车型分类下拉框信息\n const queryTypeClass = () => {\n getTypeClass().then((res: any): void => {\n const array = [];\n for (let i = 0; i < res.length; i++) {\n if (res[i] === null || res[i] === \"\") {\n continue;\n }\n array.push({\n id: res[i],\n name: res[i],\n });\n }\n\n typeClassCodesList.value = array;\n });\n };\n\n //更改分页页签\n const pageChange = (page: number) => {\n pagination.currentPage = page;\n getTableData();\n };\n //改变每页大小\n const sizeChange = (page: number, pageSize: number) => {\n pagination.pageSize = pageSize;\n pagination.currentPage = 1;\n getTableData();\n };\n\n onMounted(() => {\n getTableData();\n queryModalYear();\n queryTypeClass();\n });\n\n return {\n locale,\n isDealer,\n quertTable,\n user,\n ...toRefs(pagination),\n pageChange,\n sizeChange,\n isClick,\n rightCustomRow,\n columnIndex,\n rowIndex,\n slotValueArray,\n rightTableWidth,\n slotArray,\n customRow,\n compatibleColumns,\n compatibleData,\n searchCon,\n tableHeight,\n isOpen,\n columns,\n typeClassCodesList,\n modelYearList,\n wholesaleSourcesList,\n queryListParams,\n queryListData,\n params,\n getParams,\n getTableData,\n refreshTable,\n clearQueryListParams,\n exportResult,\n leftTableWidth,\n // isDisabled\n };\n },\n});\n","import { render } from \"./index.vue?vue&type=template&id=5476d804&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=5476d804&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-5476d804\"]])\n\nexport default __exports__","import mitt from 'mitt';\n\nconst emitter: mitt.Emitter = mitt();\n\n// 自定义触发器\nconst customEmit = (eventName: any, arg?: any) => {\n emitter.emit(eventName, arg)\n}\n\n// 自定义接收器\nconst customOn = (eventName: any, arg?: any) => {\n emitter.on(eventName, arg)\n}\n// 清除自定义接收器\nconst customOff = (eventName: any) => {\n emitter.off(eventName)\n}\nconst useEventbus = () => {\n return {\n customEmit,\n customOn,\n customOff\n }\n}\nexport default useEventbus\n","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAEKADAAQAAAABAAAAEAAAAAAXnVPIAAAAtklEQVQ4EWNgGPKAEdkHBw4cuPv//38lZDF0NiMj4z0HBwdlmDgTjAGigZJ9yHxsbHQ1KAbY29tPBWpqxaYRKtYKVQNXguIFmOj+/fvnANnJMD6Unuvo6JiCJsaA1QBgODAfPHhwE5D2AmkAOnsb0GY/IP0X3QAUL8AkoQp3wPhAegc2zSB5rAYgaSTIxGcAsvd+4DIJnwFgPUCnv2djY9tGjgH3gZqvsLCw2FpZWT3FZcAwEAcA8Scnl8LeDnYAAAAASUVORK5CYII=\"","/*\n * @Author: zhengda.lv\n * @Date: 2021-10-30 10:15:26\n * @LastEditTime: 2021-12-17 16:13:15\n * @LastEditors: zhengda.lv\n * @Description:\n */\nimport axios from 'axios';\nimport { AxiosRequestConfig } from '@/API/types';\nexport default (options: AxiosRequestConfig, type: string) => {\n const { url, method = 'get', params, fileName } = options;\n const config: any = {\n url: url,\n method,\n responseType: 'blob',\n };\n if (method === 'get') {\n config['params'] = params;\n } else {\n config['data'] = params;\n }\n return new Promise((resolve, reject) => {\n axios(config)\n .then((res: any) => {\n // 文件格式\n const blob = new Blob([res.data], { type: type }); //指定格式为vnd.ms-excel\n const downloadElement = document.createElement('a');\n const href = window.URL.createObjectURL(blob); //创建下载的链接\n downloadElement.href = href;\n const str = res.headers['content-disposition'];\n const index = str.lastIndexOf('=');\n if (str.substring(index + 1, str.length)) {\n downloadElement.download = decodeURIComponent(\n str.substring(index + 1, str.length)\n );\n } else if (fileName) {\n downloadElement.download = fileName;\n } else {\n downloadElement.download = Date.now().toString();\n }\n document.body.appendChild(downloadElement);\n downloadElement.click(); //点击下载\n document.body.removeChild(downloadElement); //下载完成移除元素\n window.URL.revokeObjectURL(href); //释放掉blob对象\n resolve(res);\n })\n .catch(function(error: string) {\n console.log(error);\n return reject(error);\n });\n });\n};\n"],"sourceRoot":""}