{"version":3,"sources":["webpack:///./src/views/LocalRegistration/LocalRegistrationDataUpload/Exemption/Editor.vue?19cc","webpack:///./src/views/LocalRegistration/components/CitySelector.vue?062f","webpack:///./src/views/LocalRegistration/components/CitySelector.vue","webpack:///./src/views/LocalRegistration/components/CitySelector.vue?e53f","webpack:///./src/views/LocalRegistration/components/DealerInfo.vue?8d03","webpack:///./src/views/LocalRegistration/components/DealerInfo.vue","webpack:///./src/views/LocalRegistration/components/DealerInfo.vue?833b","webpack:///./src/views/LocalRegistration/LocalRegistrationDataUpload/Exemption/Editor.vue","webpack:///./src/views/LocalRegistration/LocalRegistrationDataUpload/Exemption/Editor.vue?127d","webpack:///./src/views/LocalRegistration/LocalRegistrationDataUpload/Exemption/Editor.vue?f6f2","webpack:///./src/views/LocalRegistration/LocalRegistrationDataUpload/Exemption/Editor.vue?ed54","webpack:///./src/API/claimDelay/common.ts","webpack:///./src/API/salesReporting/claimCheckingReport.ts","webpack:///./src/views/LocalRegistration/components/DealerGroupSelector.vue?249d","webpack:///./src/views/LocalRegistration/components/DealerGroupSelector.vue","webpack:///./src/views/LocalRegistration/components/DealerGroupSelector.vue?0841","webpack:///./src/views/LocalRegistration/components/ApplicableTypeClassSelector2.vue?4e9c","webpack:///./src/views/LocalRegistration/components/ApplicableTypeClassSelector2.vue","webpack:///./src/views/LocalRegistration/components/ApplicableTypeClassSelector2.vue?d45f","webpack:///./src/utils/claim/downloadFile.ts"],"names":["_withScopeId","n","_hoisted_1","class","_hoisted_2","_hoisted_3","_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","style","_hoisted_36","_hoisted_37","_hoisted_38","_hoisted_39","_hoisted_40","_hoisted_41","_hoisted_42","_hoisted_43","_hoisted_44","_hoisted_45","_hoisted_46","_hoisted_47","_hoisted_48","_hoisted_49","_hoisted_50","_hoisted_51","_hoisted_52","_hoisted_53","_hoisted_54","_hoisted_55","_hoisted_56","_hoisted_57","_hoisted_58","_hoisted_59","_hoisted_60","_hoisted_61","_hoisted_62","_hoisted_63","_hoisted_64","_hoisted_65","_hoisted_66","_hoisted_67","_hoisted_68","_hoisted_69","_hoisted_70","_hoisted_71","_hoisted_72","_hoisted_73","_hoisted_74","_hoisted_75","_hoisted_76","_hoisted_77","_hoisted_78","_hoisted_79","_hoisted_80","_hoisted_81","_hoisted_82","_hoisted_83","_hoisted_84","_hoisted_85","_hoisted_86","_hoisted_87","_hoisted_88","render","_ctx","_cache","$props","$setup","$data","$options","_component_Breadcrumb","_component_a_input","_component_a_date_picker","_component_dealer_group_selector","_component_dealer_info","_component_a_select_option","_component_a_select","_component_city_selector","_component_applicable_type_class_selector","_component_a_button","_component_a_checkbox","_component_a_space","_component_CheckCircleOutlined","_component_a_table","_component_a_tab_pane","_component_a_pagination","_component_a_tabs","_component_DownloadOutlined","_component_upload","dataSource","activeKey","$event","onChange","changeTabs","default","tab","disabled","currentDataType","value","customize","code","name","placeholder","description","eligibleFrom","allowClear","eligibleTo","dealerGroup","dealerCode","type","bu","swtCode","dealerName","region","mode","onBlur","getSubRegionList","regionList","item","regionEn","title","_","length","subRegion","subRegionList","city","typeClass","onClick","reset","searchCustomizeList","checked","showVin","vin","batchExemption","exportCustomizeVin","pagination","columns","customizeColumns","customizeData","scroll","y","Exemption","record","Operation","isExemption","deleteCurrentRow","handleUploadExemptionFile","handleCancel","saveCustomizeVin","exemptionRuleType","exemptionType","unchangableType","exemptionMethod","exemptionDeadline","isUploadVinFailed","hasSelectedDeadline","$route","query","isView","handleUploadVin","exportExemptionRule","exemptionRuleColumns","exemptionRuleData","rowKey","deleteExemptionRuleColumns","total","changePagination","onShowSizeChange","changePageSize","pageSize","pageSizeOptions","buildOptionText","props","saveExemptionRule","visible","visibleUploadVinDrawer","onUpload","uploadVin","downloadTemplate","args","visibleUploadExemptionFileDrawer","uploadExemptionFile","_component_a_spin","$attrs","fetching","undefined","options","data","onSearch","fetchData","fn","size","String","setup","debounce","then","res","map","info","label","filter","__exports__","required","params","typeMapToParams","dealerInfos","dealer","dealerInfo","Mode","components","DealerInfo","DealerGroupSelector","CitySelector","ApplicableTypeClassSelector","CheckCircleOutlined","DownloadOutlined","Upload","router","route","dataType","currentPage","store","getSelectBuId","buName","buList","state","user","index","findIndex","nameEn","id","sortRegions","regions","sortArr","maps","e","w","s","forEach","firstLetter","toLocaleLowerCase","push","flat","getRegionList","buId","getSelectRegionId","regionName","getSubRegions","reg","regionId","Promise","resolve","all","newRegion","ADD","EDIT","basicId","customizeColumnsAll","dataIndex","align","slots","customRender","col","applicableTypeClassList","vinList","currentVinList","exemptedData","url","method","downloadFile","approvalFile","approvalFileName","approvalFileUrl","beforeUpload","file","FILE_TYPE","isSelectedType","includes","message","error","formData","FormData","append","fileName","fileUrl","customizeSaveCheck","passCheck","1","2","success","go","find","errorMsg","searchExemptionRules","current","content","totalElements","ids","viewFromExemption","judgeVanColumns","splice","exemptionRuleSaveCheck","page","pagesize","getRegionApi","param","getOfferType","getCustomerType","getDealerGroup","getModelYear","getAllParentBu","getCurretParentBu","getRegionLst","getRegion","buIdList","getRegionDealerGroup","getBuSubregion","getDealerList","getProgramList","getComDealerList","getComProgramList","getDemoDealerList","getDemoProgramList","getCesarAnalyst","getCesarBased","getPayoutBreakdown","getPayoutBreakdown2","getCheckingRoundList","getTypeClass","planActualRoundPage","planActualCategory","getPaymentTrackingReportTable","dealerGroups","dealerGroupEn","groupId","typeClasses","newBu","immediate","config","responseType","reject","blob","Blob","downloadElement","document","createElement","href","window","URL","createObjectURL","str","headers","lastIndexOf","substring","download","decodeURIComponent","Date","now","toString","body","appendChild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AO,IAA5C,EAAqCA,EAAO,OAA5CkF,OAAM,IAAG,QAAK,EAAEjE,EAAqBjB,EAAO,OAApBiG,EAAajG,EAAO,SACnDwJ,EAAc,CAChBvE,IAAKA,EACLC,OAAM,EACNuE,aAAc,QAOlB,MALe,QAAXvE,EACAsE,EAAO,UAAYvI,EAEnBuI,EAAO,QAAUvI,EAEd,IAAI+C,SAAQ,SAACC,EAASyF,GACzB,IAAMF,GACD/I,MAAK,SAACC,GAEH,IAAMiJ,EAAO,IAAIC,KAAK,CAAClJ,EAAIT,MAAO,CAAE9E,KAAMA,IACpC0O,EAAkBC,SAASC,cAAc,KACzCC,EAAOC,OAAOC,IAAIC,gBAAgBR,GACxCE,EAAgBG,KAAOA,EACvB,IAAMI,EAAM1J,EAAI2J,QAAQ,uBAClB5H,EAAQ2H,EAAIE,YAAY,KAC1BF,EAAIG,UAAU9H,EAAQ,EAAG2H,EAAIpO,QAC7B6N,EAAgBW,SAAWC,mBACvBL,EAAIG,UAAU9H,EAAQ,EAAG2H,EAAIpO,SAGjC6N,EAAgBW,SADTvE,GAGoByE,KAAKC,MAAMC,WAE1Cd,SAASe,KAAKC,YAAYjB,GAC1BA,EAAgBkB,QAChBjB,SAASe,KAAKG,YAAYnB,GAC1BI,OAAOC,IAAIe,gBAAgBjB,GAC3B/F,EAAQvD,MAEXwK,OAAM,SAASrF,GAEZ,OADAsF,QAAQC,IAAIvF,GACL6D,EAAO7D","file":"js/chunk-f203d5fc.3ea74090.js","sourcesContent":["import { resolveComponent as _resolveComponent, createVNode as _createVNode, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, renderList as _renderList, Fragment as _Fragment, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, createBlock as _createBlock, vShow as _vShow, withDirectives as _withDirectives, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-783c80f8\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"local-registration-container\" }\nconst _hoisted_2 = { class: \"nav\" }\nconst _hoisted_3 = { class: \"search-panel\" }\nconst _hoisted_4 = { class: \"condition-item\" }\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", null, \" Exemption Code \", -1))\nconst _hoisted_6 = { class: \"condition-item\" }\nconst _hoisted_7 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { class: \"required\" }, \" Exemption Name \", -1))\nconst _hoisted_8 = { class: \"condition-item span-3\" }\nconst _hoisted_9 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", null, \" Description \", -1))\nconst _hoisted_10 = { class: \"condition-item\" }\nconst _hoisted_11 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { class: \"required\" }, \" Eligible From \", -1))\nconst _hoisted_12 = { class: \"condition-item\" }\nconst _hoisted_13 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { class: \"required\" }, \" To \", -1))\nconst _hoisted_14 = { class: \"search-panel\" }\nconst _hoisted_15 = { class: \"condition-item\" }\nconst _hoisted_16 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", null, \" Dealer Group \", -1))\nconst _hoisted_17 = { class: \"condition-item\" }\nconst _hoisted_18 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", null, \" Dealer Code \", -1))\nconst _hoisted_19 = {\n key: 0,\n class: \"condition-item\"\n}\nconst _hoisted_20 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", null, \" SWT Code \", -1))\nconst _hoisted_21 = { class: \"condition-item\" }\nconst _hoisted_22 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", null, \" Dealer Name \", -1))\nconst _hoisted_23 = { class: \"condition-item\" }\nconst _hoisted_24 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", null, \" Region \", -1))\nconst _hoisted_25 = { class: \"condition-item\" }\nconst _hoisted_26 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", null, \" Sub Region \", -1))\nconst _hoisted_27 = { class: \"condition-item\" }\nconst _hoisted_28 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", null, \" City \", -1))\nconst _hoisted_29 = { class: \"condition-item\" }\nconst _hoisted_30 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", null, \" Applicable Type Class \", -1))\nconst _hoisted_31 = { class: \"btn-wrapper\" }\nconst _hoisted_32 = /*#__PURE__*/_createTextVNode(\"Reset\")\nconst _hoisted_33 = /*#__PURE__*/_createTextVNode(\"Search\")\nconst _hoisted_34 = { class: \"content-container\" }\nconst _hoisted_35 = {\n class: \"btn-wrapper\",\n style: {\"justify-content\":\"space-between\",\"align-items\":\"center\"}\n}\nconst _hoisted_36 = /*#__PURE__*/_createTextVNode(\"VIN list overview\")\nconst _hoisted_37 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", null, \" VIN \", -1))\nconst _hoisted_38 = /*#__PURE__*/_createTextVNode(\"Batch Exemption\")\nconst _hoisted_39 = /*#__PURE__*/_createTextVNode(\"Export\")\nconst _hoisted_40 = { class: \"content\" }\nconst _hoisted_41 = /*#__PURE__*/_createTextVNode(\"-\")\nconst _hoisted_42 = /*#__PURE__*/_createTextVNode(\"Delete\")\nconst _hoisted_43 = { class: \"footer\" }\nconst _hoisted_44 = { class: \"upload-btn-wrapper\" }\nconst _hoisted_45 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", null, \"Document: \", -1))\nconst _hoisted_46 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", { class: \"font_family icon-shangchuan\" }, null, -1))\nconst _hoisted_47 = /*#__PURE__*/_createTextVNode(\"Upload exemption file\")\nconst _hoisted_48 = { class: \"right\" }\nconst _hoisted_49 = /*#__PURE__*/_createTextVNode(\"Cancel\")\nconst _hoisted_50 = /*#__PURE__*/_createTextVNode(\"Save\")\nconst _hoisted_51 = { class: \"search-panel\" }\nconst _hoisted_52 = { class: \"condition-item\" }\nconst _hoisted_53 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", null, \" Exemption Code \", -1))\nconst _hoisted_54 = { class: \"condition-item\" }\nconst _hoisted_55 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { class: \"required\" }, \" Exemption Name \", -1))\nconst _hoisted_56 = { class: \"condition-item\" }\nconst _hoisted_57 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { class: \"required\" }, \" Eligible From \", -1))\nconst _hoisted_58 = { class: \"condition-item\" }\nconst _hoisted_59 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { class: \"required\" }, \" To \", -1))\nconst _hoisted_60 = { class: \"condition-item\" }\nconst _hoisted_61 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { class: \"required\" }, \" Exemption Type \", -1))\nconst _hoisted_62 = /*#__PURE__*/_createTextVNode(\"上牌时间豁免\")\nconst _hoisted_63 = /*#__PURE__*/_createTextVNode(\"授权区域豁免\")\nconst _hoisted_64 = { class: \"condition-item\" }\nconst _hoisted_65 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { class: \"required\" }, \" Exemption Method \", -1))\nconst _hoisted_66 = /*#__PURE__*/_createTextVNode(\"豁免本地上牌\")\nconst _hoisted_67 = /*#__PURE__*/_createTextVNode(\"豁免核查基础\")\nconst _hoisted_68 = { class: \"condition-item\" }\nconst _hoisted_69 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", null, \" Registration Deadline \", -1))\nconst _hoisted_70 = { class: \"condition-item span-3\" }\nconst _hoisted_71 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", null, \" Description \", -1))\nconst _hoisted_72 = { class: \"content-container\" }\nconst _hoisted_73 = {\n class: \"btn-wrapper\",\n style: {\"justify-content\":\"space-between\",\"align-items\":\"center\"}\n}\nconst _hoisted_74 = { style: {\"color\":\"red\",\"font-weight\":\"600\",\"font-size\":\"16px\"} }\nconst _hoisted_75 = /*#__PURE__*/_createTextVNode(\"Upload VIN\")\nconst _hoisted_76 = /*#__PURE__*/_createTextVNode(\"Export\")\nconst _hoisted_77 = { class: \"content\" }\nconst _hoisted_78 = /*#__PURE__*/_createTextVNode(\"Delete\")\nconst _hoisted_79 = { class: \"footer\" }\nconst _hoisted_80 = { class: \"upload-btn-wrapper\" }\nconst _hoisted_81 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", null, \"Document: \", -1))\nconst _hoisted_82 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", { class: \"font_family icon-shangchuan\" }, null, -1))\nconst _hoisted_83 = /*#__PURE__*/_createTextVNode(\"Upload exemption file\")\nconst _hoisted_84 = { class: \"right\" }\nconst _hoisted_85 = /*#__PURE__*/_createTextVNode(\"Cancel\")\nconst _hoisted_86 = /*#__PURE__*/_createTextVNode(\"Save\")\nconst _hoisted_87 = { class: \"template\" }\nconst _hoisted_88 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, \"template download\", -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_input = _resolveComponent(\"a-input\")!\n const _component_a_date_picker = _resolveComponent(\"a-date-picker\")!\n const _component_dealer_group_selector = _resolveComponent(\"dealer-group-selector\")!\n const _component_dealer_info = _resolveComponent(\"dealer-info\")!\n const _component_a_select_option = _resolveComponent(\"a-select-option\")!\n const _component_a_select = _resolveComponent(\"a-select\")!\n const _component_city_selector = _resolveComponent(\"city-selector\")!\n const _component_applicable_type_class_selector = _resolveComponent(\"applicable-type-class-selector\")!\n const _component_a_button = _resolveComponent(\"a-button\")!\n const _component_a_checkbox = _resolveComponent(\"a-checkbox\")!\n const _component_a_space = _resolveComponent(\"a-space\")!\n const _component_CheckCircleOutlined = _resolveComponent(\"CheckCircleOutlined\")!\n const _component_a_table = _resolveComponent(\"a-table\")!\n const _component_a_tab_pane = _resolveComponent(\"a-tab-pane\")!\n const _component_a_pagination = _resolveComponent(\"a-pagination\")!\n const _component_a_tabs = _resolveComponent(\"a-tabs\")!\n const _component_DownloadOutlined = _resolveComponent(\"DownloadOutlined\")!\n const _component_upload = _resolveComponent(\"upload\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(_component_Breadcrumb, { dataSource: [] })\n ]),\n _createVNode(_component_a_tabs, {\n activeKey: _ctx.activeKey,\n \"onUpdate:activeKey\": _cache[24] || (_cache[24] = ($event: any) => ((_ctx.activeKey) = $event)),\n onChange: _ctx.changeTabs\n }, {\n default: _withCtx(() => [\n _createVNode(_component_a_tab_pane, {\n key: \"Customize\",\n tab: \"Customize\",\n disabled: _ctx.currentDataType === '2'\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _hoisted_5,\n _createVNode(_component_a_input, {\n value: _ctx.customize.code,\n \"onUpdate:value\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.customize.code) = $event)),\n disabled: \"\"\n }, null, 8, [\"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n _hoisted_7,\n _createVNode(_component_a_input, {\n value: _ctx.customize.name,\n \"onUpdate:value\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.customize.name) = $event)),\n placeholder: \"Please input\"\n }, null, 8, [\"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_8, [\n _hoisted_9,\n _createVNode(_component_a_input, {\n value: _ctx.customize.description,\n \"onUpdate:value\": _cache[2] || (_cache[2] = ($event: any) => ((_ctx.customize.description) = $event)),\n placeholder: \"Please input\"\n }, null, 8, [\"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_10, [\n _hoisted_11,\n _createVNode(_component_a_date_picker, {\n value: _ctx.customize.eligibleFrom,\n \"onUpdate:value\": _cache[3] || (_cache[3] = ($event: any) => ((_ctx.customize.eligibleFrom) = $event)),\n placeholder: \"Please select\",\n allowClear: \"\"\n }, null, 8, [\"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_12, [\n _hoisted_13,\n _createVNode(_component_a_date_picker, {\n value: _ctx.customize.eligibleTo,\n \"onUpdate:value\": _cache[4] || (_cache[4] = ($event: any) => ((_ctx.customize.eligibleTo) = $event)),\n placeholder: \"Please select\",\n allowClear: \"\"\n }, null, 8, [\"value\"])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_14, [\n _createElementVNode(\"div\", _hoisted_15, [\n _hoisted_16,\n _createVNode(_component_dealer_group_selector, {\n placeholder: \"Please select\",\n allowClear: \"\",\n value: _ctx.dealerGroup,\n \"onUpdate:value\": _cache[5] || (_cache[5] = ($event: any) => ((_ctx.dealerGroup) = $event))\n }, null, 8, [\"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_17, [\n _hoisted_18,\n _createVNode(_component_dealer_info, {\n value: _ctx.dealerCode,\n \"onUpdate:value\": _cache[6] || (_cache[6] = ($event: any) => ((_ctx.dealerCode) = $event)),\n type: \"dealerCode\"\n }, null, 8, [\"value\"])\n ]),\n (_ctx.bu === 'VAN')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_19, [\n _hoisted_20,\n _createVNode(_component_dealer_info, {\n value: _ctx.swtCode,\n \"onUpdate:value\": _cache[7] || (_cache[7] = ($event: any) => ((_ctx.swtCode) = $event)),\n type: \"swtCode\"\n }, null, 8, [\"value\"])\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_21, [\n _hoisted_22,\n _createVNode(_component_dealer_info, {\n value: _ctx.dealerName,\n \"onUpdate:value\": _cache[8] || (_cache[8] = ($event: any) => ((_ctx.dealerName) = $event)),\n type: \"dealerNameCn\"\n }, null, 8, [\"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_23, [\n _hoisted_24,\n _createVNode(_component_a_select, {\n value: _ctx.region,\n \"onUpdate:value\": _cache[9] || (_cache[9] = ($event: any) => ((_ctx.region) = $event)),\n placeholder: \"Please select\",\n \"allow-clear\": \"\",\n class: \"sel-inp-size\",\n mode: \"multiple\",\n onBlur: _ctx.getSubRegionList\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.regionList, (item) => {\n return (_openBlock(), _createBlock(_component_a_select_option, {\n value: item.regionEn,\n key: item.regionEn,\n title: item.regionEn\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(item.regionEn), 1)\n ]),\n _: 2\n }, 1032, [\"value\", \"title\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"value\", \"onBlur\"])\n ]),\n _createElementVNode(\"div\", _hoisted_25, [\n _hoisted_26,\n _createVNode(_component_a_select, {\n disabled: _ctx.region.length === 0,\n value: _ctx.subRegion,\n \"onUpdate:value\": _cache[10] || (_cache[10] = ($event: any) => ((_ctx.subRegion) = $event)),\n placeholder: \"Please select\",\n \"allow-clear\": \"\",\n class: \"sel-inp-size\",\n mode: \"multiple\"\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.subRegionList, (item) => {\n return (_openBlock(), _createBlock(_component_a_select_option, {\n value: item.regionEn,\n key: item.regionEn,\n title: item.regionEn\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(item.regionEn), 1)\n ]),\n _: 2\n }, 1032, [\"value\", \"title\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"disabled\", \"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_27, [\n _hoisted_28,\n _createVNode(_component_city_selector, {\n placeholder: \"Please select\",\n allowClear: \"\",\n value: _ctx.city,\n \"onUpdate:value\": _cache[11] || (_cache[11] = ($event: any) => ((_ctx.city) = $event))\n }, null, 8, [\"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_29, [\n _hoisted_30,\n _createVNode(_component_applicable_type_class_selector, {\n placeholder: \"Please select\",\n allowClear: \"\",\n value: _ctx.typeClass,\n \"onUpdate:value\": _cache[12] || (_cache[12] = ($event: any) => ((_ctx.typeClass) = $event)),\n bu: _ctx.bu\n }, null, 8, [\"value\", \"bu\"])\n ]),\n _createElementVNode(\"div\", _hoisted_31, [\n _createVNode(_component_a_button, { onClick: _ctx.reset }, {\n default: _withCtx(() => [\n _hoisted_32\n ]),\n _: 1\n }, 8, [\"onClick\"]),\n _createVNode(_component_a_button, {\n type: \"primary\",\n onClick: _ctx.searchCustomizeList\n }, {\n default: _withCtx(() => [\n _hoisted_33\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_34, [\n _createElementVNode(\"div\", _hoisted_35, [\n _createElementVNode(\"div\", null, [\n _createVNode(_component_a_checkbox, {\n checked: _ctx.showVin,\n \"onUpdate:checked\": _cache[13] || (_cache[13] = ($event: any) => ((_ctx.showVin) = $event))\n }, {\n default: _withCtx(() => [\n _hoisted_36\n ]),\n _: 1\n }, 8, [\"checked\"]),\n (_ctx.showVin)\n ? (_openBlock(), _createBlock(_component_a_space, { key: 0 }, {\n default: _withCtx(() => [\n _hoisted_37,\n _createVNode(_component_a_input, {\n value: _ctx.vin,\n \"onUpdate:value\": _cache[14] || (_cache[14] = ($event: any) => ((_ctx.vin) = $event)),\n placeholder: \"Please input\"\n }, null, 8, [\"value\"])\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", null, [\n _createVNode(_component_a_button, {\n type: \"primary\",\n class: \"m-r-16\",\n onClick: _ctx.batchExemption\n }, {\n default: _withCtx(() => [\n _hoisted_38\n ]),\n _: 1\n }, 8, [\"onClick\"]),\n _createVNode(_component_a_button, {\n type: \"primary\",\n onClick: _ctx.exportCustomizeVin\n }, {\n default: _withCtx(() => [\n _hoisted_39\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_40, [\n _createVNode(_component_a_table, {\n class: \"data-table\",\n pagination: false,\n columns: _ctx.customizeColumns,\n \"data-source\": _ctx.customizeData,\n scroll: {\n y: 500,\n }\n }, {\n Exemption: _withCtx(({ record }) => [\n (record.isExemption)\n ? (_openBlock(), _createBlock(_component_CheckCircleOutlined, { key: 0 }))\n : (_openBlock(), _createElementBlock(_Fragment, { key: 1 }, [\n _hoisted_41\n ], 64))\n ]),\n Operation: _withCtx(({record}) => [\n _createVNode(_component_a_button, {\n disabled: !record.isExemption,\n type: \"link\",\n onClick: ($event: any) => (_ctx.deleteCurrentRow(record))\n }, {\n default: _withCtx(() => [\n _hoisted_42\n ]),\n _: 2\n }, 1032, [\"disabled\", \"onClick\"])\n ]),\n _: 1\n }, 8, [\"columns\", \"data-source\"])\n ]),\n _createElementVNode(\"div\", _hoisted_43, [\n _createElementVNode(\"div\", _hoisted_44, [\n _hoisted_45,\n _createVNode(_component_a_button, { onClick: _ctx.handleUploadExemptionFile }, {\n default: _withCtx(() => [\n _hoisted_46,\n _hoisted_47\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ]),\n _createElementVNode(\"div\", _hoisted_48, [\n _createVNode(_component_a_button, {\n class: \"m-r-16\",\n onClick: _ctx.handleCancel\n }, {\n default: _withCtx(() => [\n _hoisted_49\n ]),\n _: 1\n }, 8, [\"onClick\"]),\n _createVNode(_component_a_button, {\n type: \"primary\",\n onClick: _ctx.saveCustomizeVin\n }, {\n default: _withCtx(() => [\n _hoisted_50\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ])\n ])\n ])\n ]),\n _: 1\n }, 8, [\"disabled\"]),\n _createVNode(_component_a_tab_pane, {\n key: \"Exemption Rule\",\n tab: \"Exemption rule\",\n \"force-render\": \"\",\n disabled: _ctx.currentDataType === '1'\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_51, [\n _createElementVNode(\"div\", _hoisted_52, [\n _hoisted_53,\n _createVNode(_component_a_input, {\n value: _ctx.exemptionRuleType.code,\n \"onUpdate:value\": _cache[15] || (_cache[15] = ($event: any) => ((_ctx.exemptionRuleType.code) = $event)),\n disabled: \"\"\n }, null, 8, [\"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_54, [\n _hoisted_55,\n _createVNode(_component_a_input, {\n value: _ctx.exemptionRuleType.name,\n \"onUpdate:value\": _cache[16] || (_cache[16] = ($event: any) => ((_ctx.exemptionRuleType.name) = $event)),\n placeholder: \"Please input\"\n }, null, 8, [\"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_56, [\n _hoisted_57,\n _createVNode(_component_a_date_picker, {\n value: _ctx.exemptionRuleType.eligibleFrom,\n \"onUpdate:value\": _cache[17] || (_cache[17] = ($event: any) => ((_ctx.exemptionRuleType.eligibleFrom) = $event)),\n placeholder: \"Please select\",\n allowClear: \"\"\n }, null, 8, [\"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_58, [\n _hoisted_59,\n _createVNode(_component_a_date_picker, {\n value: _ctx.exemptionRuleType.eligibleTo,\n \"onUpdate:value\": _cache[18] || (_cache[18] = ($event: any) => ((_ctx.exemptionRuleType.eligibleTo) = $event)),\n placeholder: \"Please select\",\n allowClear: \"\"\n }, null, 8, [\"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_60, [\n _hoisted_61,\n _createVNode(_component_a_select, {\n value: _ctx.exemptionRuleType.exemptionType,\n \"onUpdate:value\": _cache[19] || (_cache[19] = ($event: any) => ((_ctx.exemptionRuleType.exemptionType) = $event)),\n placeholder: \"Please select\",\n allowClear: \"\",\n disabled: _ctx.unchangableType\n }, {\n default: _withCtx(() => [\n _createVNode(_component_a_select_option, { value: 1 }, {\n default: _withCtx(() => [\n _hoisted_62\n ]),\n _: 1\n }),\n _createVNode(_component_a_select_option, { value: 2 }, {\n default: _withCtx(() => [\n _hoisted_63\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"value\", \"disabled\"])\n ]),\n _createElementVNode(\"div\", _hoisted_64, [\n _hoisted_65,\n _createVNode(_component_a_select, {\n value: _ctx.exemptionRuleType.exemptionMethod,\n \"onUpdate:value\": _cache[20] || (_cache[20] = ($event: any) => ((_ctx.exemptionRuleType.exemptionMethod) = $event)),\n placeholder: \"Please select\",\n allowClear: \"\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_a_select_option, { value: 1 }, {\n default: _withCtx(() => [\n _hoisted_66\n ]),\n _: 1\n }),\n _createVNode(_component_a_select_option, { value: 2 }, {\n default: _withCtx(() => [\n _hoisted_67\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_68, [\n _hoisted_69,\n _createVNode(_component_a_date_picker, {\n value: _ctx.exemptionRuleType.exemptionDeadline,\n \"onUpdate:value\": _cache[21] || (_cache[21] = ($event: any) => ((_ctx.exemptionRuleType.exemptionDeadline) = $event)),\n placeholder: \"Please select\",\n allowClear: \"\"\n }, null, 8, [\"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_70, [\n _hoisted_71,\n _createVNode(_component_a_input, {\n value: _ctx.exemptionRuleType.description,\n \"onUpdate:value\": _cache[22] || (_cache[22] = ($event: any) => ((_ctx.exemptionRuleType.description) = $event)),\n placeholder: \"Please input\"\n }, null, 8, [\"value\"])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_72, [\n _createElementVNode(\"div\", _hoisted_73, [\n _createElementVNode(\"div\", null, [\n _withDirectives(_createElementVNode(\"span\", _hoisted_74, \"Upload Failed!\", 512), [\n [_vShow, _ctx.isUploadVinFailed]\n ])\n ]),\n _createElementVNode(\"div\", null, [\n _createVNode(_component_a_button, {\n disabled: \n _ctx.hasSelectedDeadline || _ctx.$route.query.isView\n ,\n type: \"primary\",\n class: \"m-r-16\",\n onClick: _ctx.handleUploadVin\n }, {\n default: _withCtx(() => [\n _hoisted_75\n ]),\n _: 1\n }, 8, [\"disabled\", \"onClick\"]),\n _createVNode(_component_a_button, {\n type: \"primary\",\n onClick: _ctx.exportExemptionRule\n }, {\n default: _withCtx(() => [\n _hoisted_76\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_77, [\n _createVNode(_component_a_table, {\n class: \"data-table\",\n pagination: false,\n columns: _ctx.exemptionRuleColumns,\n \"data-source\": _ctx.exemptionRuleData,\n scroll: {\n y: 500,\n },\n rowKey: \"vin\"\n }, {\n Operation: _withCtx(({record}) => [\n _createVNode(_component_a_button, {\n type: \"link\",\n onClick: ($event: any) => (_ctx.deleteExemptionRuleColumns(record))\n }, {\n default: _withCtx(() => [\n _hoisted_78\n ]),\n _: 2\n }, 1032, [\"onClick\"])\n ]),\n _: 1\n }, 8, [\"columns\", \"data-source\"])\n ]),\n _createElementVNode(\"div\", _hoisted_79, [\n _createElementVNode(\"div\", _hoisted_80, [\n _hoisted_81,\n _createVNode(_component_a_button, { onClick: _ctx.handleUploadExemptionFile }, {\n default: _withCtx(() => [\n _hoisted_82,\n _hoisted_83\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ]),\n _createVNode(_component_a_pagination, {\n total: _ctx.pagination.total,\n \"show-size-changer\": \"\",\n \"show-total\": (total) => `共 ${total} 条`,\n onChange: _ctx.changePagination,\n onShowSizeChange: _ctx.changePageSize,\n pageSize: _ctx.pagination.pageSize,\n \"onUpdate:pageSize\": _cache[23] || (_cache[23] = ($event: any) => ((_ctx.pagination.pageSize) = $event)),\n pageSizeOptions: ['10', '20', '30', '40', '50']\n }, {\n buildOptionText: _withCtx((props) => [\n _createElementVNode(\"span\", null, _toDisplayString(props.value) + \"条/页\", 1)\n ]),\n _: 1\n }, 8, [\"total\", \"show-total\", \"onChange\", \"onShowSizeChange\", \"pageSize\"]),\n _createElementVNode(\"div\", _hoisted_84, [\n _createVNode(_component_a_button, {\n class: \"m-r-16\",\n onClick: _ctx.handleCancel\n }, {\n default: _withCtx(() => [\n _hoisted_85\n ]),\n _: 1\n }, 8, [\"onClick\"]),\n _createVNode(_component_a_button, {\n type: \"primary\",\n onClick: _ctx.saveExemptionRule,\n disabled: \n _ctx.isUploadVinFailed || _ctx.$route.query.isView\n \n }, {\n default: _withCtx(() => [\n _hoisted_86\n ]),\n _: 1\n }, 8, [\"onClick\", \"disabled\"])\n ])\n ])\n ])\n ]),\n _: 1\n }, 8, [\"disabled\"])\n ]),\n _: 1\n }, 8, [\"activeKey\", \"onChange\"])\n ]),\n _createVNode(_component_upload, {\n title: \"Upload VIN\",\n visible: _ctx.visibleUploadVinDrawer,\n \"onUpdate:visible\": _cache[26] || (_cache[26] = ($event: any) => ((_ctx.visibleUploadVinDrawer) = $event)),\n onUpload: _ctx.uploadVin\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_87, [\n _createElementVNode(\"div\", {\n onClick: _cache[25] || (_cache[25] = \n//@ts-ignore\n(...args) => (_ctx.downloadTemplate && _ctx.downloadTemplate(...args)))\n }, [\n _createVNode(_component_DownloadOutlined),\n _hoisted_88\n ])\n ])\n ]),\n _: 1\n }, 8, [\"visible\", \"onUpload\"]),\n _createVNode(_component_upload, {\n title: \"Upload exemption file\",\n visible: _ctx.visibleUploadExemptionFileDrawer,\n \"onUpdate:visible\": _cache[27] || (_cache[27] = ($event: any) => ((_ctx.visibleUploadExemptionFileDrawer) = $event)),\n onUpload: _ctx.uploadExemptionFile\n }, null, 8, [\"visible\", \"onUpload\"])\n ], 64))\n}","import { resolveComponent as _resolveComponent, createVNode as _createVNode, withCtx as _withCtx, createSlots as _createSlots, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_a_spin = _resolveComponent(\"a-spin\")!\n const _component_a_select = _resolveComponent(\"a-select\")!\n\n return (_openBlock(), _createBlock(_component_a_select, {\n \"v-bind\": _ctx.$attrs,\n \"show-search\": \"\",\n placeholder: \"Please select\",\n style: {\"width\":\"100%\"},\n \"filter-option\": false,\n \"not-found-content\": _ctx.fetching ? undefined : null,\n options: _ctx.data,\n onSearch: _ctx.fetchData\n }, _createSlots({ _: 2 }, [\n (_ctx.fetching)\n ? {\n name: \"notFoundContent\",\n fn: _withCtx(() => [\n _createVNode(_component_a_spin, { size: \"small\" })\n ])\n }\n : undefined\n ]), 1032, [\"v-bind\", \"not-found-content\", \"options\", \"onSearch\"]))\n}","\nimport { defineComponent, ref } from 'vue'\nimport type { PropType } from 'vue'\nimport {getCityListByName} from '@/API/localRegistration'\nimport { debounce } from 'lodash-es';\nexport default defineComponent({\n name: 'CitySelector',\n props: {\n title: {\n type: String as PropType,\n default: 'name'\n },\n key: {\n type: String as PropType,\n default: 'code'\n }\n },\n setup() {\n const data = ref()\n\n const fetching = ref(false)\n const fetchData = debounce((name: string) => {\n fetching.value = true\n\n getCityListByName({name}).then((res: any) => {\n data.value = []\n data.value = res.map((info: any) => {\n return {\n label: info.name,\n value: info.name\n }\n }).filter((item: any)=> item.label !== null)\n fetching.value = false\n })\n }, 1000)\n\n return {\n fetching,\n fetchData,\n data,\n }\n }\n})\n","import { render } from \"./CitySelector.vue?vue&type=template&id=275363ce&ts=true\"\nimport script from \"./CitySelector.vue?vue&type=script&lang=ts\"\nexport * from \"./CitySelector.vue?vue&type=script&lang=ts\"\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]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, withCtx as _withCtx, createSlots as _createSlots, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_a_spin = _resolveComponent(\"a-spin\")!\n const _component_a_select = _resolveComponent(\"a-select\")!\n\n return (_openBlock(), _createBlock(_component_a_select, {\n \"v-bind\": _ctx.$attrs,\n \"show-search\": \"\",\n placeholder: \"Please select\",\n style: {\"width\":\"100%\"},\n \"filter-option\": false,\n \"not-found-content\": _ctx.fetching ? undefined : null,\n options: _ctx.data,\n onSearch: _ctx.fetchData\n }, _createSlots({ _: 2 }, [\n (_ctx.fetching)\n ? {\n name: \"notFoundContent\",\n fn: _withCtx(() => [\n _createVNode(_component_a_spin, { size: \"small\" })\n ])\n }\n : undefined\n ]), 1032, [\"v-bind\", \"not-found-content\", \"options\", \"onSearch\"]))\n}","\nimport { defineComponent, ref } from 'vue'\nimport type { PropType } from 'vue'\nimport { debounce } from 'lodash-es';\nimport {\n searchDealerByCodeAndName,\n} from '@/API/localRegistration';\n\ninterface Params {\n code?: string;\n dealerNameCn?: string;\n}\n\nexport default defineComponent({\n name: 'DealerInfo',\n props: {\n title: {\n type: String as PropType,\n default: 'name'\n },\n key: {\n type: String as PropType,\n default: 'code'\n },\n type: {\n type: String as PropType,\n default: '',\n required: true\n }\n },\n setup(props) {\n const data = ref()\n\n const fetching = ref(false)\n const fetchData = debounce((value: string) => {\n fetching.value = true\n\n const params: any = {}\n const typeMapToParams = {\n 'dealerNameCn': 'dealerNameCn',\n 'swtCode':\"code\",\n 'dealerCode':\"code\"\n }\n params[typeMapToParams[props.type]] = value\n searchDealerByCodeAndName(params).then((res: any) => {\n data.value = []\n const dealerInfos = res.data.map((dealer: any)=> {\n return dealer.dealerInfo\n })\n data.value = dealerInfos.map((info: any) => {\n return {\n label: info[props.type],\n value: info[props.type]\n }\n }).filter((item: any)=> item.label !== null)\n fetching.value = false\n })\n }, 1000)\n\n return {\n fetching,\n fetchData,\n data,\n }\n }\n})\n","import { render } from \"./DealerInfo.vue?vue&type=template&id=927c96f2&ts=true\"\nimport script from \"./DealerInfo.vue?vue&type=script&lang=ts\"\nexport * from \"./DealerInfo.vue?vue&type=script&lang=ts\"\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]])\n\nexport default __exports__","\nimport axios from 'axios';\nimport { useStore } from 'vuex';\nimport {\n defineComponent,\n ref,\n onMounted,\n reactive,\n computed,\n watch,\n} from 'vue';\nimport { useRoute, useRouter } from 'vue-router';\nimport { message } from 'ant-design-vue';\nimport DealerGroupSelector from '@/views/LocalRegistration/components/DealerGroupSelector.vue';\nimport CitySelector from '@/views/LocalRegistration/components/CitySelector.vue';\nimport DealerInfo from '@/views/LocalRegistration/components/DealerInfo.vue';\nimport ApplicableTypeClassSelector from '@/views/LocalRegistration/components/ApplicableTypeClassSelector2.vue';\nimport Upload from '@/views/LocalRegistration/components/Upload.vue';\nimport { CheckCircleOutlined, DownloadOutlined } from '@ant-design/icons-vue';\nimport {\n getDetail,\n getCustomizeVinList,\n deleteCustomizeVin,\n getExemptionRuleVinList,\n saveContent,\n createContent,\n} from '@/API/localRegistration';\nimport { getRegion } from '@/API/salesReporting/claimCheckingReport';\nimport downloadFile from '@/utils/claim/downloadFile';\n\nenum Mode {\n VIEW,\n ADD,\n EDIT,\n}\n\ninterface CustomizeType {\n code: null | string;\n name: null | string;\n description: null | string;\n eligibleFrom: null | string;\n eligibleTo: null | string;\n}\n\ninterface ExemptionRuleType {\n code: null | string;\n name: null | string;\n description: null | string;\n eligibleFrom: null | string;\n eligibleTo: null | string;\n exemptionType: null | string;\n exemptionMethod: null | string;\n exemptionDeadline: null | string;\n}\n\ntype UndefinedString = undefined | string;\n\nexport default defineComponent({\n components: {\n DealerInfo,\n DealerGroupSelector,\n CitySelector,\n ApplicableTypeClassSelector,\n CheckCircleOutlined,\n DownloadOutlined,\n Upload,\n },\n setup() {\n const router = useRouter();\n const route = useRoute();\n const bu = route.query.bu as string;\n const currentDataType = route.query.dataType as string;\n const activeKey = ref('Customize');\n activeKey.value = (route.query.activeKey as string) ?? 'Customize';\n\n const pagination = reactive({\n pageSize: 20,\n currentPage: 1,\n total: 0,\n });\n\n const customize = reactive({\n code: null,\n name: null,\n description: null,\n eligibleFrom: null,\n eligibleTo: null,\n });\n\n const dealerGroup = ref(undefined);\n const dealerCode = ref(undefined);\n const swtCode = ref(undefined);\n const dealerName = ref(undefined);\n const city = ref(undefined);\n const typeClass = ref(undefined);\n\n // region subregion\n const region = ref([]);\n const subRegion = ref([]);\n const regionList = ref([]);\n const subRegionList = ref([]);\n const store = useStore();\n const getSelectBuId = (buName: string) => {\n const buList = store.state.user.buList;\n const index = buList.findIndex(\n (item: any) => item.nameEn === buName\n );\n return buList[index]?.id;\n };\n const sortRegions = (regions: any) => {\n const sortArr: any[] = [[], [], [], [], []];\n const maps = {\n n: 0,\n e: 1,\n w: 2,\n s: 3,\n };\n regions.forEach((region: any) => {\n const firstLetter = (region\n .regionEn[0] as string).toLocaleLowerCase();\n if (firstLetter in maps) {\n sortArr[maps[firstLetter]].push(region);\n } else {\n sortArr[4].push(region);\n }\n });\n return sortArr.flat() as any;\n };\n const getRegionList = () => {\n const buId = getSelectBuId(bu);\n getRegion({ buId }).then((res) => {\n const regions = sortRegions(res);\n regionList.value = regions;\n });\n };\n getRegionList();\n const getSelectRegionId = (regionName: string) => {\n const index = regionList.value.findIndex(\n (item: any) => item.regionEn === regionName\n );\n return regionList.value[index]?.id;\n };\n const getSubRegionList = () => {\n if (region.value.length === 0) return;\n const buId = getSelectBuId(bu);\n const getSubRegions = region.value.map((reg: any) => {\n const regionId = getSelectRegionId(reg);\n return Promise.resolve(\n getRegion({ buId: `${buId}`, regionId: `${regionId}` })\n );\n });\n Promise.all(getSubRegions).then((res: any) => {\n subRegionList.value = sortRegions(res.flat());\n });\n };\n watch(region, (newRegion: any) => {\n if (newRegion.length === 0) {\n subRegionList.value = [];\n subRegion.value = [];\n }\n });\n const mode = ref(Mode.ADD);\n\n mode.value = route.params.mode === 'add' ? Mode.ADD : Mode.EDIT;\n customize.code = route.query.code as string;\n const basicId = route.query.basicId as string;\n\n //* customize Tab页内容\n const customizeColumnsAll = [\n {\n title: 'VIN',\n dataIndex: 'vin',\n type: 'vin',\n },\n {\n title: 'Retail Date',\n dataIndex: 'retailDate',\n type: 'vin',\n },\n {\n title: 'Dealer Code',\n dataIndex: 'dealerCode',\n },\n {\n title: 'Dealer Name',\n dataIndex: 'dealerName',\n },\n {\n title: 'Applicable Type Class',\n dataIndex: 'applicableTypeClass',\n },\n {\n title: 'Dealer Group',\n dataIndex: 'dealerGroup',\n },\n {\n title: 'Region',\n dataIndex: 'region',\n },\n {\n title: 'Subregion',\n dataIndex: 'subRegion',\n },\n {\n title: 'City',\n dataIndex: 'city',\n },\n {\n title: 'Exemption',\n align: 'center',\n slots: { customRender: 'Exemption' },\n },\n {\n title: 'Operation',\n align: 'center',\n slots: { customRender: 'Operation' },\n },\n ];\n\n const customizeData = ref([]);\n\n const showVin = ref(false);\n\n const customizeColumns = computed(() => {\n if (showVin.value) {\n return customizeColumnsAll;\n } else {\n return customizeColumnsAll.filter((col: any) => {\n return !col.type;\n });\n }\n });\n\n const vin = ref(undefined);\n const searchCustomizeList = () => {\n const params = {\n applicableTypeClassList:\n typeClass.value === undefined\n ? undefined\n : [typeClass.value],\n basicId,\n city: city.value,\n dealerCode: dealerCode.value,\n swtCode: swtCode.value,\n dealerGroup: dealerGroup.value,\n dealerName: dealerName.value,\n // eligibleFrom: '2022-01-19T09:30:30.466Z',\n // eligibleTo: '2022-01-19T09:30:30.466Z',\n regionList:\n region.value.length === 0 ? undefined : region.value,\n subRegion:\n subRegion.value.length === 0 ? undefined : subRegion.value,\n vin: vin.value,\n };\n getCustomizeVinList(params).then((res: any) => {\n customizeData.value = res;\n });\n };\n\n //* Batch exemption:点击后给当前页面的查询结果批量打豁免标签\n const vinList = ref([]);\n const batchExemption = () => {\n if (customizeData.value.length === 0) return;\n const currentVinList = customizeData.value.map((data: any) => {\n data.isExemption = true;\n return {\n vin: data.vin,\n };\n });\n vinList.value = [...vinList.value, ...currentVinList];\n };\n\n const reset = () => {\n dealerGroup.value = undefined;\n dealerCode.value = undefined;\n swtCode.value = undefined;\n dealerName.value = undefined;\n region.value = [];\n city.value = undefined;\n typeClass.value = undefined;\n };\n\n const exportCustomizeVin = () => {\n if (mode.value === Mode.ADD) {\n //TODO batchsize\n const exemptedData = customizeData.value.filter((data: any) => {\n return !!data.isExemption;\n });\n const params = {\n url: `/rvapi/lr/exemptionRuleVinDetail/exportCustomizeVinListForAdd`,\n method: 'post',\n params: exemptedData,\n };\n downloadFile(params, 'application/vnd-excel; char-set=UTF-8');\n } else {\n const params = {\n url: `/rvapi/lr/exemptionRuleVinDetail/exportCustomizeVinList?basicId=${basicId}`,\n method: 'post',\n };\n downloadFile(params, 'application/vnd-excel; char-set=UTF-8');\n }\n };\n\n const approvalFile = {\n approvalFileName: '',\n approvalFileUrl: '',\n };\n\n const beforeUpload = (file: any) => {\n const FILE_TYPE = ['application/pdf', 'image/jpeg'];\n const isSelectedType = FILE_TYPE.includes(file.type as string);\n if (!isSelectedType) {\n message.error('请上传PDF或JPG格式文件!');\n }\n return isSelectedType;\n };\n\n const uploadExemptionFile = (file: any, resolve: any) => {\n if (!beforeUpload(file)) return;\n const formData = new FormData();\n formData.append('file', file);\n axios({\n method: 'post',\n data: formData,\n url: `/rvapi/lr/file/upload`,\n }).then((res: any) => {\n approvalFile.approvalFileName = res.data.data.fileName;\n approvalFile.approvalFileUrl = res.data.data.fileUrl;\n resolve();\n });\n };\n\n const customizeSaveCheck = () => {\n let passCheck = true;\n if (\n approvalFile.approvalFileUrl === '' &&\n approvalFile.approvalFileName === ''\n ) {\n message.error('Please upload document');\n passCheck = false;\n }\n if (!customize.eligibleFrom || !customize.eligibleTo) {\n message.error('Please set eligible period');\n passCheck = false;\n }\n if (!customize.name) {\n message.error('Please set eligible name');\n passCheck = false;\n }\n return passCheck;\n };\n\n const saveCustomizeVin = () => {\n if (!customizeSaveCheck()) return;\n const params = {\n dataType: 1,\n approvalFileName: approvalFile.approvalFileName,\n approvalFileUrl: approvalFile.approvalFileUrl,\n bu: bu,\n code: customize.code,\n description: customize.description,\n eligibleFrom: customize.eligibleFrom,\n eligibleTo: customize.eligibleTo,\n name: customize.name,\n id: basicId,\n vinList: vinList.value,\n };\n const method = {\n 1: createContent,\n 2: saveContent,\n };\n method[mode.value](params).then((res: any) => {\n if (res === '') {\n message.success('Save Successfully!');\n router.go(-1);\n }\n });\n };\n\n //* exemption rule Tab页内容\n const exemptionRuleType = reactive({\n code: null,\n name: null,\n description: null,\n eligibleFrom: null,\n eligibleTo: null,\n exemptionType: null,\n exemptionMethod: null,\n exemptionDeadline: null,\n });\n exemptionRuleType.code = route.query.code as string;\n\n const hasSelectedDeadline = computed(() => {\n return exemptionRuleType.exemptionDeadline === null ||\n exemptionRuleType.exemptionDeadline === ''\n ? false\n : true;\n });\n const exemptionRuleColumns = ref([\n {\n title: 'VIN',\n dataIndex: 'vin',\n },\n {\n title: 'Retail Date',\n dataIndex: 'retailDate',\n },\n {\n title: 'Dealer Code',\n dataIndex: 'dealerCode',\n },\n {\n title: 'Dealer Name',\n dataIndex: 'dealerName',\n },\n {\n title: 'Brand',\n dataIndex: 'brand',\n },\n {\n title: 'Type Class',\n dataIndex: 'typeClass',\n },\n {\n title: 'Registration Deadline',\n dataIndex: 'exemptionDeadline',\n },\n {\n title: 'Operation',\n align: 'center',\n slots: { customRender: 'Operation' },\n },\n ]);\n\n const exemptionRuleData = ref([]);\n\n const isUploadVinFailed = computed(() => {\n return exemptionRuleData.value.find(\n (item: any) => item.errorMsg !== ''\n );\n });\n\n const searchExemptionRules = () => {\n const params = {\n code: exemptionRuleType.code,\n current: pagination.currentPage,\n size: pagination.pageSize,\n };\n getExemptionRuleVinList(params).then((res: any) => {\n exemptionRuleData.value = res.content;\n pagination.total = res.totalElements;\n if (isUploadVinFailed.value) {\n exemptionRuleColumns.value.push({\n title: 'Fail reason',\n dataIndex: 'errorMsg',\n });\n }\n });\n };\n\n const changeTabs = () => {\n approvalFile.approvalFileUrl = '';\n approvalFile.approvalFileName = '';\n if (\n activeKey.value === 'Exemption Rule' &&\n mode.value === Mode.EDIT\n ) {\n searchExemptionRules();\n }\n };\n\n const deleteCurrentRow = (record: any) => {\n const params = {\n ids: [record.id],\n dataType: record.dataType,\n };\n deleteCustomizeVin(params).then((res: any) => {\n if (activeKey.value === 'Customize') {\n searchCustomizeList();\n } else {\n searchExemptionRules();\n }\n });\n };\n\n const viewFromExemption = () => {\n if (activeKey.value === 'Exemption Rule') {\n searchExemptionRules();\n }\n };\n\n const exportExemptionRule = () => {\n if (mode.value === Mode.ADD) {\n const params = {\n url: `/rvapi/lr/exemptionRuleVinDetail/exportExemptionRuleVinListForAdd`,\n method: 'post',\n params: exemptionRuleData.value,\n };\n downloadFile(params, 'application/vnd-excel; char-set=UTF-8');\n } else {\n const params = {\n url: `/rvapi/lr/exemptionRuleVinDetail/exportExemptionRuleVinList?basicId=${basicId}`,\n method: 'post',\n };\n downloadFile(params, 'application/vnd-excel; char-set=UTF-8');\n }\n };\n\n const judgeVanColumns = () => {\n if (bu === 'VAN') {\n customizeColumnsAll.splice(3, 0, {\n title: 'SWT Code',\n dataIndex: 'swtCode',\n });\n exemptionRuleColumns.value.splice(3, 0, {\n title: 'SWT Code',\n dataIndex: 'swtCode',\n });\n }\n };\n judgeVanColumns();\n\n // 导入接口调用\n const unchangableType = ref(false);\n const uploadVin = (file: any, resolve: any) => {\n const formData = new FormData();\n formData.append('file', file);\n const url =\n basicId === undefined\n ? `/rvapi/lr/exemptionRuleVinDetail/import?exemptionType=${exemptionRuleType.exemptionType}&exemptionCode=${exemptionRuleType.code}`\n : `/rvapi/lr/exemptionRuleVinDetail/import?basicId=${basicId}&exemptionType=${exemptionRuleType.exemptionType}&exemptionCode=${exemptionRuleType.code}`;\n axios({\n method: 'post',\n data: formData,\n // import excel for exemption rule\n url,\n }).then((res: any) => {\n unchangableType.value = true;\n searchExemptionRules();\n resolve();\n });\n };\n\n const exemptionRuleSaveCheck = () => {\n let passCheck = true;\n if (\n approvalFile.approvalFileUrl === '' &&\n approvalFile.approvalFileName === ''\n ) {\n message.error('Please upload document');\n passCheck = false;\n }\n if (\n !exemptionRuleType.eligibleFrom ||\n !exemptionRuleType.eligibleTo\n ) {\n message.error('Please set eligible period');\n passCheck = false;\n }\n if (!exemptionRuleType.name) {\n message.error('Please set eligible name');\n passCheck = false;\n }\n if (!exemptionRuleType.exemptionType) {\n message.error('Please set eligible type');\n passCheck = false;\n }\n if (!exemptionRuleType.exemptionMethod) {\n message.error('Please set eligible method');\n passCheck = false;\n }\n if (!hasSelectedDeadline.value && isUploadVinFailed.value) {\n message.error('Has error VIN');\n passCheck = false;\n }\n return passCheck;\n };\n\n const saveExemptionRule = () => {\n if (!exemptionRuleSaveCheck()) return;\n const params = {\n approvalFileName: approvalFile.approvalFileName,\n approvalFileUrl: approvalFile.approvalFileUrl,\n bu: bu,\n code: exemptionRuleType.code,\n dataType: 2,\n description: exemptionRuleType.description,\n eligibleFrom: exemptionRuleType.eligibleFrom,\n eligibleTo: exemptionRuleType.eligibleTo,\n exemptionDeadline: exemptionRuleType.exemptionDeadline,\n exemptionMethod: exemptionRuleType.exemptionMethod,\n exemptionType: exemptionRuleType.exemptionType,\n name: exemptionRuleType.name,\n id: basicId,\n vinList: hasSelectedDeadline.value\n ? []\n : exemptionRuleData.value.map((item: any) => {\n return {\n vin: item.vin,\n exemptionDeadline: item.exemptionDeadline,\n };\n }),\n };\n const method = {\n 1: createContent,\n 2: saveContent, //! 用不上了\n };\n method[mode.value](params).then((res: any) => {\n message.success('Save Successfully!');\n router.go(-1);\n });\n };\n\n const handleCancel = () => {\n router.go(-1);\n };\n\n const visibleUploadVinDrawer = ref(false);\n\n let isDataByUploadVin = false;\n const handleUploadVin = () => {\n if (!exemptionRuleType.exemptionType) {\n message.error('Please set eligible type');\n return;\n }\n visibleUploadVinDrawer.value = true;\n isDataByUploadVin = true;\n };\n\n const deleteExemptionRuleColumns = (record: any) => {\n deleteCurrentRow(record);\n };\n\n const visibleUploadExemptionFileDrawer = ref(false);\n\n const handleUploadExemptionFile = () => {\n visibleUploadExemptionFileDrawer.value = true;\n };\n\n //更改每页size\n const changePageSize = (page: number, pagesize: number) => {\n pagination.pageSize = pagesize;\n pagination.currentPage = page;\n searchExemptionRules();\n };\n\n //更改分页组件,包括:直接跳转到指定页,上一页下一页\n const changePagination = (page: number, pagesize: number) => {\n pagination.pageSize = pagesize;\n pagination.currentPage = page;\n searchExemptionRules();\n };\n\n onMounted(() => {\n if (basicId) {\n getDetail({ id: basicId }).then((res: any) => {\n customize.name = res.name;\n customize.description = res.description;\n customize.eligibleFrom = res.eligibleFrom;\n customize.eligibleTo = res.eligibleTo;\n exemptionRuleType.name = res.name;\n exemptionRuleType.description = res.description;\n exemptionRuleType.eligibleFrom = res.eligibleFrom;\n exemptionRuleType.eligibleTo = res.eligibleTo;\n exemptionRuleType.exemptionType = res.exemptionType;\n exemptionRuleType.exemptionMethod = res.exemptionMethod;\n exemptionRuleType.exemptionDeadline = res.exemptionDeadline;\n });\n }\n viewFromExemption();\n });\n\n const downloadTemplate = () => {\n const params = {\n url: `rvapi/lr/exemptionRuleVinDetail/downloadVinTemplate`,\n method: 'post',\n };\n downloadFile(params, 'application/vnd-excel; char-set=UTF-8');\n };\n\n return {\n currentDataType,\n dealerGroup,\n dealerCode,\n swtCode,\n dealerName,\n region,\n subRegion,\n city,\n typeClass,\n regionList,\n subRegionList,\n getSubRegionList,\n activeKey,\n exemptionRuleType,\n customize,\n mode,\n customizeColumns,\n customizeData,\n exemptionRuleColumns,\n exemptionRuleData,\n handleCancel,\n visibleUploadVinDrawer,\n handleUploadVin,\n visibleUploadExemptionFileDrawer,\n handleUploadExemptionFile,\n reset,\n searchCustomizeList,\n batchExemption,\n deleteCurrentRow,\n changeTabs,\n uploadVin,\n uploadExemptionFile,\n exportCustomizeVin,\n exportExemptionRule,\n saveCustomizeVin,\n saveExemptionRule,\n bu,\n showVin,\n vin,\n hasSelectedDeadline,\n isUploadVinFailed,\n unchangableType,\n downloadTemplate,\n deleteExemptionRuleColumns,\n pagination,\n changePageSize,\n changePagination,\n };\n },\n});\n","import { render } from \"./Editor.vue?vue&type=template&id=783c80f8&scoped=true&ts=true\"\nimport script from \"./Editor.vue?vue&type=script&lang=ts\"\nexport * from \"./Editor.vue?vue&type=script&lang=ts\"\n\nimport \"./Editor.vue?vue&type=style&index=0&id=783c80f8&lang=scss&scoped=true\"\nimport \"./Editor.vue?vue&type=style&index=1&id=783c80f8&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-783c80f8\"]])\n\nexport default __exports__","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./Editor.vue?vue&type=style&index=1&id=783c80f8&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!./Editor.vue?vue&type=style&index=0&id=783c80f8&lang=scss&scoped=true\"","import { fetchGet, fetchPost } from '../index';\n\nexport const getRegionApi = (param: any): Promise => {\n return fetchPost(`/claimapi/common/regionQuery?bu=${param.bu}`);\n};\n\nexport const getOfferType = (): Promise => {\n return fetchGet('/pgapi/program/setting/get_offer_type');\n};\n\nexport const getCustomerType = (): Promise => {\n return fetchGet('/pgapi/program/setting/get_customer_type');\n};\n\nexport const getDealerGroup = (): Promise => {\n return fetchGet('/dapi/noAuth/dealer/dealerGroupList');\n};\n","import { fetchPost, fetchGet, fetchPostPic } from \"../index\";\nimport axios from \"axios\";\nimport { TypeClassItem } from \"@/views/Approve/SalesRoleApprove/ProgramHome/types\";\n\n// 查询table数据接口\nexport const getQueryList = (params = {}): Promise => {\n return fetchPost(\n \"/claimapi/salesIncentiveClaim/claimApplicationList\",\n params\n );\n};\n// 获取ModelYear列表数据\nexport const getModelYear = (): Promise => {\n return fetchGet(\"/vapi/noAuth/get_property_lov?property=modelYear\");\n};\n/*// 获取checking round列表数据\nexport const getCheckingRoundList = (): Promise => {\n return fetchGet('/claimapi/checking/plan/checking/round/dropList');\n};*/\n// 获取bu下拉框数据\nexport const getBuList = (): Promise => {\n // return fetchGet('/claimapi/doc/dic/getBuList')\n return fetchGet(\"/mdapi/bu\");\n};\n//获取所有一级BU\nexport const getAllParentBu = (): Promise => {\n return fetchGet(\"/usapi/noAuth/bu/parentBu\");\n};\n//获取正确一级Bu\nexport const getCurretParentBu = () : Promise => {\n return fetchGet(\"/usapi/noAuth/bu/currentParentBu\")\n}\n//生成region列表\nexport const getRegionLst = (params = { bu: \"\" }): Promise => {\n return fetchPost(`/claimapi/common/regionQuery?bu=${params.bu}`, params);\n};\n//生成region,subregion列表\nexport const getRegion = (params: any): Promise => {\n return fetchPost(\n `/claimapi/common/regionRelationQuery?buId=${\n params.buId ? params.buId : \"\"\n }®ionId=${params.regionId ? params.regionId : \"\"}`,\n params\n );\n};\nexport const getRegionList = (\n buIdList: number[],\n regionId?: number\n): Promise => {\n return fetchPost(\n \"/claimapi/common/getRegionRelationByBuIdListAndRegionId\",\n {},\n {\n params: {\n buIdList,\n regionId,\n },\n }\n );\n};\nexport const getRegionDealerGroup = (params: any): Promise => {\n return fetchPost(`/rvapi/basic/webApi/report/regions`, params);\n};\n//通过bu获取subregion列表\nexport const getBuSubregion = (params: any): Promise => {\n return fetchPost(\n `/claimapi/common/retrieveSubRegionList?buId=${\n params.buId ? params.buId : \"\"\n }`,\n params\n );\n};\n// 查询Dealer table数据接口\nexport const getDealerList = (params: any): Promise => {\n return fetchPost(\n `/claimapi/dealer/communication/analysis/claim/checking/report/dealer/based/page`,\n params\n );\n};\n// 查询Program table数据接口\nexport const getProgramList = (params: any): Promise => {\n return fetchPost(\n `/claimapi/dealer/communication/analysis/claim/checking/report/program/based/page`,\n params\n );\n};\nexport const getComDealerList = (params: any): Promise => {\n return fetchPost(\n // `/claimapi/dealer/communication/analysis/dealer/based/page`,\n `/rpapi/dealer/communication/analysis/dealer/based/page`,\n params\n );\n};\n// 查询Program table数据接口\nexport const getComProgramList = (params: any): Promise => {\n return fetchPost(\n // `/claimapi/dealer/communication/analysis/program/based/page`,\n `/rpapi/dealer/communication/analysis/program/based/page`,\n params\n );\n};\nexport const getDemoDealerList = (params: any): Promise => {\n return fetchPost(`/rpapi/demo/car/report/dealer/based/page`, params);\n};\n// 查询Program table数据接口\nexport const getDemoProgramList = (params: any): Promise => {\n return fetchPost(`/rpapi/demo/car/report/program/based/page`, params);\n};\nexport const getCesarAnalyst = (params: any): Promise => {\n return fetchGet(\"/rvapi/report/cesar/query/avgAnaly\", { params });\n};\nexport const getCesarBased = (params: any): Promise => {\n return fetchGet(\"/rvapi/report/cesar/query/weekBase\", { params });\n};\n// 查询payout breakdown\nexport const getPayoutBreakdown = (params: any): Promise => {\n return fetchPost(\"/claimapi/payoutBreakdown/search\", params);\n};\nexport const getPayoutBreakdown2 = (params: any): Promise => {\n return fetchPost(\n \"/claimapi/payoutBreakdown/searchClaimCheckingOverview\",\n params\n );\n};\n//根据bu,查checkinground, 11661\nexport const getCheckingRoundList = (params: any): Promise => {\n return fetchGet(\"/claimapi/checking/program/checkingRoundList\", { params });\n};\n//获取TypeClass\nexport const getTypeClass = (): Promise => {\n return fetchGet(\"/vapi/noAuth/get_property_lov?property=typeClass\");\n};\n//获取DealerGroup\nexport const getDealerGroup = (): Promise => {\n return fetchGet(\"/dapi/noAuth/dealer/dealerGroupList\");\n};\n\n// 获取Checking PL&AC列表Checking Round View维度 size=-1获取所有 正常写获取分页\nexport const planActualRoundPage = (params: any): Promise => {\n return fetchPost(\n \"/claimapi/checking/plan/actual/checking/round/page\",\n params\n );\n};\n\n// 导出数据tabName=\nexport const planActualExport = (params: any): Promise => {\n return fetchPost(\n \"/claimapi/checking/plan/actual/claim/checking/report/export\",\n params\n );\n};\n\n// 获取Checking PL&AC列表Checking Round by Program Cagegory\nexport const planActualCategory = (params: any): Promise => {\n return fetchPost(\n \"/claimapi/checking/plan/actual/program/cagegory/page\",\n params\n );\n};\n\n// 1-6 Payment Tracking Report查询表格\nexport const getPaymentTrackingReportTable = (params = {}): Promise => {\n return fetchPost(\n // '/ptapi/paymentTracking/report/paymentTrackingList',\n \"/rpapi/paymentTracking/report/paymentTrackingList\",\n params\n );\n};\n","import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createBlock as _createBlock, normalizeProps as _normalizeProps, guardReactiveProps as _guardReactiveProps } from \"vue\"\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_a_select_option = _resolveComponent(\"a-select-option\")!\n const _component_a_select = _resolveComponent(\"a-select\")!\n\n return (_openBlock(), _createBlock(_component_a_select, _normalizeProps(_guardReactiveProps(_ctx.$attrs)), {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.dealerGroups, (item) => {\n return (_openBlock(), _createBlock(_component_a_select_option, {\n value: item.dealerGroupEn,\n key: item.groupId,\n title: item.dealerGroupEn\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(item.dealerGroupEn), 1)\n ]),\n _: 2\n }, 1032, [\"value\", \"title\"]))\n }), 128))\n ]),\n _: 1\n }, 16))\n}","\nimport { defineComponent, ref } from 'vue'\nimport type { PropType } from 'vue'\nimport {getDealerGroup} from '@/API/claimDelay/common'\nexport default defineComponent({\n name: 'DealerGroupSelector',\n props: {\n title: {\n type: String as PropType,\n default: 'name'\n },\n key: {\n type: String as PropType,\n default: 'code'\n }\n },\n setup() {\n const dealerGroups = ref([])\n getDealerGroup().then((res: any) => {\n dealerGroups.value = res;\n });\n\n return {\n dealerGroups\n }\n }\n})\n","import { render } from \"./DealerGroupSelector.vue?vue&type=template&id=0c6d109e&ts=true\"\nimport script from \"./DealerGroupSelector.vue?vue&type=script&lang=ts\"\nexport * from \"./DealerGroupSelector.vue?vue&type=script&lang=ts\"\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]])\n\nexport default __exports__","import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createBlock as _createBlock, normalizeProps as _normalizeProps, guardReactiveProps as _guardReactiveProps } from \"vue\"\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_a_select_option = _resolveComponent(\"a-select-option\")!\n const _component_a_select = _resolveComponent(\"a-select\")!\n\n return (_openBlock(), _createBlock(_component_a_select, _normalizeProps(_guardReactiveProps(_ctx.$attrs)), {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.typeClasses, (item) => {\n return (_openBlock(), _createBlock(_component_a_select_option, {\n key: item,\n title: item\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(item), 1)\n ]),\n _: 2\n }, 1032, [\"title\"]))\n }), 128))\n ]),\n _: 1\n }, 16))\n}","\nimport { defineComponent, ref,watch } from 'vue'\nimport type { PropType } from 'vue'\nimport {applicableTypeClassListByBu} from '@/API/localRegistration'\nexport default defineComponent({\n name: 'ApplicableTypeClassSelector',\n props: {\n key: {\n type: String as PropType,\n default: 'code'\n },\n bu: {\n type: String as PropType,\n default: '',\n required: true\n }\n },\n setup(props) {\n const typeClasses = ref([])\n watch(()=> props.bu, (newBu: any) => {\n if (newBu!==''){\n applicableTypeClassListByBu({bu: newBu}).then((res: any) => {\n typeClasses.value = res\n })\n }\n }, {immediate: true})\n\n return {\n typeClasses\n }\n }\n})\n","import { render } from \"./ApplicableTypeClassSelector2.vue?vue&type=template&id=8137e6be&ts=true\"\nimport script from \"./ApplicableTypeClassSelector2.vue?vue&type=script&lang=ts\"\nexport * from \"./ApplicableTypeClassSelector2.vue?vue&type=script&lang=ts\"\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]])\n\nexport default __exports__","/*\n * @Author: zhengda.lv\n * @Date: 2021-10-30 10:15:26\n * @LastEditTime: 2021-12-17 16:13:15\n * @LastEditors: zhengda.lv\n * @Description:\n */\nimport axios from 'axios';\nimport { AxiosRequestConfig } from '@/API/types';\nexport default (options: AxiosRequestConfig, type: string) => {\n const { url, method = 'get', params, fileName } = options;\n const config: any = {\n url: url,\n method,\n responseType: 'blob',\n };\n if (method === 'get') {\n config['params'] = params;\n } else {\n config['data'] = params;\n }\n return new Promise((resolve, reject) => {\n axios(config)\n .then((res: any) => {\n // 文件格式\n const blob = new Blob([res.data], { type: type }); //指定格式为vnd.ms-excel\n const downloadElement = document.createElement('a');\n const href = window.URL.createObjectURL(blob); //创建下载的链接\n downloadElement.href = href;\n const str = res.headers['content-disposition'];\n const index = str.lastIndexOf('=');\n if (str.substring(index + 1, str.length)) {\n downloadElement.download = decodeURIComponent(\n str.substring(index + 1, str.length)\n );\n } else if (fileName) {\n downloadElement.download = fileName;\n } else {\n downloadElement.download = Date.now().toString();\n }\n document.body.appendChild(downloadElement);\n downloadElement.click(); //点击下载\n document.body.removeChild(downloadElement); //下载完成移除元素\n window.URL.revokeObjectURL(href); //释放掉blob对象\n resolve(res);\n })\n .catch(function(error: string) {\n console.log(error);\n return reject(error);\n });\n });\n};\n"],"sourceRoot":""}