{"version":3,"sources":["webpack:///./src/views/LocalRegistration/FocusAreaSet/FocusAreaRuleSet/FocusAreaSpecialRule.vue?1f2e","webpack:///./src/views/LocalRegistration/components/BuSelector.vue?7983","webpack:///./src/views/LocalRegistration/components/BuSelector.vue","webpack:///./src/views/LocalRegistration/components/BuSelector.vue?ba41","webpack:///./src/views/LocalRegistration/components/title.vue?6c98","webpack:///./src/views/LocalRegistration/FocusAreaSet/FocusAreaRuleSet/index.vue?6592","webpack:///./src/views/LocalRegistration/FocusAreaSet/FocusAreaRuleSet/index.vue?af67","webpack:///./src/views/LocalRegistration/FocusAreaSet/FocusAreaRuleSet/PublishDate.vue?bbe8","webpack:///./src/views/LocalRegistration/type.ts","webpack:///./src/views/LocalRegistration/FocusAreaSet/FocusAreaRuleSet/PublishDate.vue","webpack:///./src/views/LocalRegistration/FocusAreaSet/FocusAreaRuleSet/PublishDate.vue?5891","webpack:///./src/views/LocalRegistration/FocusAreaSet/FocusAreaRuleSet/FocusAreaSpecialRule.vue?3d05","webpack:///./src/views/LocalRegistration/FocusAreaSet/FocusAreaRuleSet/FocusAreaSpecialRule.vue","webpack:///./src/views/LocalRegistration/FocusAreaSet/FocusAreaRuleSet/FocusAreaSpecialRule.vue?ef5d","webpack:///./src/views/LocalRegistration/FocusAreaSet/FocusAreaRuleSet/index.vue","webpack:///./src/views/LocalRegistration/FocusAreaSet/FocusAreaRuleSet/index.vue?a5b7","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/hooks/useModel.ts","webpack:///./src/views/LocalRegistration/FocusAreaSet/FocusAreaRuleSet/FocusAreaSpecialRule.vue?c5c1","webpack:///./src/views/LocalRegistration/FocusAreaSet/FocusAreaRuleSet/PublishDate.vue?5206","webpack:///./src/API/localRegistration.ts","webpack:///./src/views/LocalRegistration/components/title.vue?4b90","webpack:///./src/views/LocalRegistration/components/title.vue","webpack:///./src/views/LocalRegistration/components/title.vue?1422","webpack:///./src/views/LocalRegistration/FocusAreaSet/FocusAreaRuleSet/index.vue?4299"],"names":["render","_ctx","_cache","$props","$setup","$data","$options","_component_a_select_option","_component_a_select","value","valueModel","$event","$attrs","default","buList","bu","key","optionKey","optionTitle","_","name","props","type","String","Number","Boolean","emits","setup","useModel","state","user","buTreeList","filter","item","includes","nameEn","length","__exports__","_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","_component_Breadcrumb","_component_Title","_component_a_date_picker","_component_bu_selector","_component_applicable_type_class_selector","_component_a_input","_component_a_button","_component_a_table","_component_publish_date","_component_focus_area_special_rule","dataSource","text","onClick","handleShowPublishDateDrawer","args","open","publishDateVersion","moment","columns","data","pagination","rowKey","record","index","BU","disabled","mode","Mode","VIEW","ApplicableTypeClass","applicableTypeClass","FocusAreaBasicRule","focusAreaExtend","FocusAreaSpecialRule","handleShowFocusAreaRuleSetDrawer","Category","category","categories","id","Operation","handleDelete","handleAdd","EDIT","handleCancel","handleSave","publishDateVersions","visible","visiblePublishDateDrawer","visibleFocusAreaRuleSetDrawer","_c","selectedIndex","specialRule","onConfirm","handleSubmitSpecialRule","_component_a_drawer","title","closable","visibleModel","width","onClose","handleClose","date","disabledDate","rowSelection","selectedRowKeys","selectPublishDate","onChange","changePublishDate","handleConfirm","PublishDateVersionType","Array","emit","publishDate","dataIndex","selectRowKeys","currentDate","isBefore","map","format","push","NEW","sort","a","b","Province","selectedProvince","inEditing","option","handleSelectProvince","provinceOptions","province","code","selectedProvices","City","selectedCities","options","handleSelectCity","cityOptions","city","components","Title","logicId","slots","customRender","selectedCitiesName","splice","findProvinceIdByCode","find","getCities","provinceCode","reset","forEach","cityOption","isSelected","selectedProvinceName","provinceOption","deepClone","PublishDate","BuSelector","ApplicableTypeClassSelector","router","selectedVersion","HISTORY","search","userBuList","init","then","focusAreaBasic","focusAreaSpecial","status","specialRules","undefined","uniqueKeys","params","uniqueKey","message","error","selectCityList","specialRuleItem","selectedCity","provinceName","confirm","content","okText","cancelText","onOk","version","typeClasses","required","newBu","res","immediate","get","set","val","getTypclassByBu","keyModelsList","keyModelsCreate","keyModelsDelete","keyModelsEdit","applicableTypeClassList","applicableTypeClassListByBu","getCityListByName","queryRestrictCityByBu","getAllProvince","saveRegRestrictCity","deleteRegRestrictCity","getCityListByProvinceId","getAllCitys","getAllYears","getVersionByYear","getListByVersionAndYear","downloadTemplate","responseType","uploadRestrictCity","year","config","getValidityList","pulbishDate","exportLicenseMappingCityList","post","getLicenseMappingCityList","getCityInfo","createLicenseMappingCity","editLicenseMappingCity","getLicenseMappingCityDetail","thirdPartyUploadDelete","getDealerApplicableTypeClassList","checkApplicableBlank","getApplicableDspData","updateLatestDetail","saveBaseInfo","getLocalDealerByName","searchDealerByCodeAndName","getLocalDealerByCode","getLocalDealerBySwtCode","getDealerMainData","checkDeleteDealerCauseBlank","searchDealerListByCondition","exportDealerListByCondition","getDealerLogListByCondition","thirdPartyUploadExport","thirdPartyUploadImport","file","FormData","thirdPartyUploadFilenameList","beginTime","endTime","thirdPartyUploadList","current","size","thirdPartyUploadTemplate","getCheckingResultData","query","exportCheckingResultData","getCalLicenceComparisonInfo","exportCalLicenceComparisonInfo","getCalculationRuleSelection","savePublish","getPublishHistoryList","getExemptionList","deleteExemptionApi","downloadExportVinListData","downloadExportBasicData","getDetail","CreateExemptionCode","getCustomizeVinList","deleteCustomizeVin","getExemptionRuleVinList","saveContent","createContent","queryReportDataInfo","getCategoryList","publishDateList","getAreaRuleList","dealerApplicableTypeClassMap","getAreaRuleSelectedProvinces","locId","getAreaRuleSelectedCities","provineId","saveAreaRuleInfo","getCalculationRuleList","deleteCalculationRule","createNewRuleCode","saveCalculationRule","updateCalculationRule","calculationExecute","getLocRegCollectResults","exportLocRegCollectResults","startTime","userDealerCode","saveValidity","validityPublishDate","getCalculateDateFrom","getProcessList","cancelCalculate","getGroupCalculationRuleSelection","bulist","usage","queryBlankDealer","updatePublishType"],"mappings":"gHAAA,W,yECEO,SAASA,EAAOC,EAAUC,EAAYC,EAAYC,EAAYC,EAAWC,GAC9E,IAAMC,EAA6B,8BAAkB,mBAC/CC,EAAsB,8BAAkB,YAE9C,OAAQ,yBAAc,yBAAaA,EAAqB,wBAAY,CAClEC,MAAOR,EAAKS,WACZ,iBAAkBR,EAAO,KAAOA,EAAO,GAAK,SAACS,GAAgB,OAAEV,EAAe,WAAIU,KACjFV,EAAKW,QAAS,CACfC,QAAS,sBAAS,WAAM,QACrB,wBAAW,GAAO,gCAAoB,cAAW,KAAM,wBAAYZ,EAAKa,QAAQ,SAACC,GAChF,OAAQ,yBAAc,yBAAaR,EAA4B,CAC7DS,IAAKD,EAAGd,EAAKgB,WACbR,MAAOM,EAAGd,EAAKgB,YACd,CACDJ,QAAS,sBAAS,WAAM,OACtB,6BAAiB,6BAAiBE,EAAGd,EAAKiB,cAAe,OAE3DC,EAAG,GACF,KAAM,CAAC,aACR,UAENA,EAAG,GACF,GAAI,CAAC,U,4BCnBK,+BAAgB,CAC3BC,KAAM,aACNC,MAAO,CACHH,YAAa,CACTI,KAAMC,OACNV,QAAS,UAEbI,UAAW,CACPK,KAAMC,OACNV,QAAS,UAEbJ,MAAO,CACHa,KAAM,CAACC,OAAQC,SAEnBX,QAAS,CACLS,KAAMG,QACNZ,SAAS,IAGjBa,MAAO,CAAC,gBACRC,MAAA,SAAMN,GACF,IAAMX,EAAa,OAAAkB,EAAA,MAASP,EAAO,SAC3BQ,EAAU,iBAAU,MACtBf,EAAS,iBACXe,EAAMC,KAAKC,WAAWC,QAAO,SAACC,GAC1B,OAAC,OAAQ,MAAO,MAAO,IAAK,WAAWC,SAASD,EAAKE,YAO7D,OAJId,EAAMR,SAA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OAAQ,CACN4H,OAAM,EACNC,MAAK,MAMAC,GAAmB,SAAC9H,GAC/B,YAD+B,IAAAA,MAAA,IACxB,eAAU,kDAAmDA,IAGzD+H,GAAoB,SAAC/H,GAChC,YADgC,IAAAA,MAAA,IACzB,eACL,mDACA,GACA,CAAEA,OAAM,M,gGCx1BNzJ,EAAe,SAAAC,GAAK,OAAC,yBAAa,mBAAmBA,EAAEA,IAAI,0BAAcA,GACzEC,EAAa,CAAEC,MAAO,OACtBC,EAA2BJ,GAAa,WAAmB,uCAAoB,OAAQ,CAAEG,MAAO,QAAU,MAAO,MACjHE,EAAa,CAAEF,MAAO,QAErB,SAASzC,EAAOC,EAAUC,EAAYC,EAAYC,EAAYC,EAAWC,GAC9E,OAAQ,yBAAc,gCAAoB,MAAOkC,EAAY,CAC3DE,EACA,gCAAoB,OAAQC,EAAY,6BAAiB1C,EAAKoE,MAAO,KCR1D,mCAAgB,CAC7BhD,MAAO,CACLgD,KAAM,CACJ/C,KAAMC,W,iCCEZ,MAAMc,EAA2B,IAAgB,EAAQ,CAAC,CAAC,SAASrC,GAAQ,CAAC,YAAY,qBAE1E,U,mCCTf","file":"js/chunk-f04179a0.cba64e8f.js","sourcesContent":["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!./FocusAreaSpecialRule.vue?vue&type=style&index=1&id=8f05af0a&lang=scss\"","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, mergeProps as _mergeProps } 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, _mergeProps({\n value: _ctx.valueModel,\n \"onUpdate:value\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.valueModel) = $event))\n }, _ctx.$attrs), {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.buList, (bu) => {\n return (_openBlock(), _createBlock(_component_a_select_option, {\n key: bu[_ctx.optionKey],\n value: bu[_ctx.optionKey]\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(bu[_ctx.optionTitle]), 1)\n ]),\n _: 2\n }, 1032, [\"value\"]))\n }), 128))\n ]),\n _: 1\n }, 16, [\"value\"]))\n}","\nimport { defineComponent, ref } from 'vue';\nimport type { PropType } from 'vue';\nimport { useStore } from 'vuex';\nimport useModel from '@/hooks/useModel';\nexport default defineComponent({\n name: 'BuSelector',\n props: {\n optionTitle: {\n type: String as PropType,\n default: 'nameEn',\n },\n optionKey: {\n type: String as PropType,\n default: 'nameEn',\n },\n value: {\n type: [String, Number] as PropType,\n },\n default: {\n type: Boolean,\n default: false,\n },\n },\n emits: ['update:value'],\n setup(props) {\n const valueModel = useModel(props, 'value');\n const { state } = useStore();\n const buList = ref(\n state.user.buTreeList.filter((item: { nameEn: string }) =>\n ['MBPC', 'AMG', 'VAN', 'G', 'Maybach'].includes(item.nameEn)\n )\n );\n if (props.default && buList.value.length) {\n valueModel.value = buList.value[0][props.optionKey];\n }\n\n return {\n valueModel,\n buList,\n };\n },\n});\n","import { render } from \"./BuSelector.vue?vue&type=template&id=381c2498&ts=true\"\nimport script from \"./BuSelector.vue?vue&type=script&lang=ts\"\nexport * from \"./BuSelector.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__","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!./title.vue?vue&type=style&index=0&id=999dd42a&lang=scss&scoped=true\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./index.vue?vue&type=style&index=1&id=7706d48d&lang=scss\"","import { resolveComponent as _resolveComponent, createVNode as _createVNode, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, createBlock as _createBlock, vShow as _vShow, withDirectives as _withDirectives, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-7706d48d\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"local-registration-container\" }\nconst _hoisted_2 = { class: \"nav\" }\nconst _hoisted_3 = { class: \"content-container\" }\nconst _hoisted_4 = { class: \"publish-date-container\" }\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", null, \"Publish Date\", -1))\nconst _hoisted_6 = { class: \"data-table-wrapper\" }\nconst _hoisted_7 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"font_family icon-a-buttonadd-icon\" }, null, -1))\nconst _hoisted_8 = /*#__PURE__*/_createTextVNode(\"-\")\nconst _hoisted_9 = /*#__PURE__*/_createTextVNode(\"省内空白\")\nconst _hoisted_10 = /*#__PURE__*/_createTextVNode(\"大区内空白\")\nconst _hoisted_11 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"font_family icon-delete1\" }, null, -1))\nconst _hoisted_12 = /*#__PURE__*/_createTextVNode(\"Del \")\nconst _hoisted_13 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"font_family icon-tianjia11\" }, null, -1))\nconst _hoisted_14 = /*#__PURE__*/_createTextVNode(\"Add \")\nconst _hoisted_15 = { class: \"footer\" }\nconst _hoisted_16 = /*#__PURE__*/_createTextVNode(\"Cancel\")\nconst _hoisted_17 = /*#__PURE__*/_createTextVNode(\"Save\")\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_Title = _resolveComponent(\"Title\")!\n const _component_a_date_picker = _resolveComponent(\"a-date-picker\")!\n const _component_bu_selector = _resolveComponent(\"bu-selector\")!\n const _component_applicable_type_class_selector = _resolveComponent(\"applicable-type-class-selector\")!\n const _component_a_input = _resolveComponent(\"a-input\")!\n const _component_a_select_option = _resolveComponent(\"a-select-option\")!\n const _component_a_select = _resolveComponent(\"a-select\")!\n const _component_a_button = _resolveComponent(\"a-button\")!\n const _component_a_table = _resolveComponent(\"a-table\")!\n const _component_publish_date = _resolveComponent(\"publish-date\")!\n const _component_focus_area_special_rule = _resolveComponent(\"focus-area-special-rule\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(_component_Breadcrumb, { dataSource: [{ name: 'Focus Area Rule Set' }] })\n ]),\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(_component_Title, {\n class: \"title\",\n text: \"Focus area rule set\"\n }),\n _createElementVNode(\"div\", _hoisted_4, [\n _hoisted_5,\n _createElementVNode(\"div\", {\n class: \"publish-date-wrapper\",\n onClick: _cache[0] || (_cache[0] = \n//@ts-ignore\n(...args) => (_ctx.handleShowPublishDateDrawer && _ctx.handleShowPublishDateDrawer(...args)))\n }, [\n _createVNode(_component_a_date_picker, {\n open: false,\n value: \n _ctx.publishDateVersion\n ? _ctx.moment(_ctx.publishDateVersion)\n : null\n \n }, null, 8, [\"value\"])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n _createVNode(_component_a_table, {\n class: \"data-table\",\n columns: _ctx.columns,\n \"data-source\": _ctx.data,\n pagination: false,\n rowKey: (record, index) => index\n }, {\n BU: _withCtx(({ record }) => [\n _createVNode(_component_bu_selector, {\n value: record.bu,\n \"onUpdate:value\": ($event: any) => ((record.bu) = $event),\n disabled: _ctx.mode === _ctx.Mode.VIEW\n }, null, 8, [\"value\", \"onUpdate:value\", \"disabled\"])\n ]),\n ApplicableTypeClass: _withCtx(({ record }) => [\n _createVNode(_component_applicable_type_class_selector, {\n bu: record.bu,\n value: record.applicableTypeClass,\n \"onUpdate:value\": ($event: any) => ((record.applicableTypeClass) = $event),\n disabled: _ctx.mode === _ctx.Mode.VIEW\n }, null, 8, [\"bu\", \"value\", \"onUpdate:value\", \"disabled\"])\n ]),\n FocusAreaBasicRule: _withCtx(({ record }) => [\n _createVNode(_component_a_input, {\n value: \"经销商所在城市\",\n disabled: \"\"\n }),\n _hoisted_7,\n _createVNode(_component_a_select, {\n value: record.focusAreaExtend,\n \"onUpdate:value\": ($event: any) => ((record.focusAreaExtend) = $event),\n disabled: _ctx.mode === _ctx.Mode.VIEW\n }, {\n default: _withCtx(() => [\n _createVNode(_component_a_select_option, { value: \"0\" }, {\n default: _withCtx(() => [\n _hoisted_8\n ]),\n _: 1\n }),\n _createVNode(_component_a_select_option, { value: \"1\" }, {\n default: _withCtx(() => [\n _hoisted_9\n ]),\n _: 1\n }),\n _createVNode(_component_a_select_option, { value: \"2\" }, {\n default: _withCtx(() => [\n _hoisted_10\n ]),\n _: 1\n })\n ]),\n _: 2\n }, 1032, [\"value\", \"onUpdate:value\", \"disabled\"])\n ]),\n FocusAreaSpecialRule: _withCtx(({ index }) => [\n _createVNode(_component_a_input, {\n value: \"-\",\n onClick: ($event: any) => (_ctx.handleShowFocusAreaRuleSetDrawer(index))\n }, null, 8, [\"onClick\"])\n ]),\n Category: _withCtx(({ record }) => [\n _createVNode(_component_a_select, {\n value: record.category,\n \"onUpdate:value\": ($event: any) => ((record.category) = $event),\n disabled: _ctx.mode === _ctx.Mode.VIEW\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.categories, (category) => {\n return (_openBlock(), _createBlock(_component_a_select_option, {\n value: category.id,\n key: category.id\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(category.name), 1)\n ]),\n _: 2\n }, 1032, [\"value\"]))\n }), 128))\n ]),\n _: 2\n }, 1032, [\"value\", \"onUpdate:value\", \"disabled\"])\n ]),\n Operation: _withCtx(({ index }) => [\n _createVNode(_component_a_button, {\n type: \"link\",\n class: \"del-btn\",\n onClick: ($event: any) => (_ctx.handleDelete(index))\n }, {\n default: _withCtx(() => [\n _hoisted_11,\n _hoisted_12\n ]),\n _: 2\n }, 1032, [\"onClick\"])\n ]),\n _: 1\n }, 8, [\"columns\", \"data-source\", \"rowKey\"]),\n _withDirectives(_createVNode(_component_a_button, {\n type: \"link\",\n class: \"add-btn\",\n onClick: _ctx.handleAdd\n }, {\n default: _withCtx(() => [\n _hoisted_13,\n _hoisted_14\n ]),\n _: 1\n }, 8, [\"onClick\"]), [\n [_vShow, _ctx.mode === _ctx.Mode.EDIT]\n ])\n ]),\n _withDirectives(_createElementVNode(\"div\", _hoisted_15, [\n _createVNode(_component_a_button, {\n class: \"m-r-16\",\n onClick: _ctx.handleCancel\n }, {\n default: _withCtx(() => [\n _hoisted_16\n ]),\n _: 1\n }, 8, [\"onClick\"]),\n _createVNode(_component_a_button, {\n type: \"primary\",\n onClick: _ctx.handleSave\n }, {\n default: _withCtx(() => [\n _hoisted_17\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ], 512), [\n [_vShow, _ctx.mode === _ctx.Mode.EDIT]\n ])\n ])\n ]),\n _createVNode(_component_publish_date, {\n \"publish-date-version\": _ctx.publishDateVersion,\n \"onUpdate:publish-date-version\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.publishDateVersion) = $event)),\n \"publish-date-versions\": _ctx.publishDateVersions,\n \"onUpdate:publish-date-versions\": _cache[2] || (_cache[2] = ($event: any) => ((_ctx.publishDateVersions) = $event)),\n visible: _ctx.visiblePublishDateDrawer,\n \"onUpdate:visible\": _cache[3] || (_cache[3] = ($event: any) => ((_ctx.visiblePublishDateDrawer) = $event))\n }, null, 8, [\"publish-date-version\", \"publish-date-versions\", \"visible\"]),\n _createVNode(_component_focus_area_special_rule, {\n visible: _ctx.visibleFocusAreaRuleSetDrawer,\n \"onUpdate:visible\": _cache[4] || (_cache[4] = ($event: any) => ((_ctx.visibleFocusAreaRuleSetDrawer) = $event)),\n \"logic-id\": _ctx.data?.[_ctx.selectedIndex]?.id ?? 0,\n \"special-rule\": _ctx.data?.[_ctx.selectedIndex]?.specialRule ?? [],\n onConfirm: _ctx.handleSubmitSpecialRule\n }, null, 8, [\"visible\", \"logic-id\", \"special-rule\", \"onConfirm\"])\n ], 64))\n}","import { createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-817dbd4a\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"local-registration-container content\" }\nconst _hoisted_2 = { class: \"date-selector-wrapper\" }\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", null, \"Publish Date\", -1))\nconst _hoisted_4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"font_family icon-tianjia11\" }, null, -1))\nconst _hoisted_5 = /*#__PURE__*/_createTextVNode(\"Add \")\nconst _hoisted_6 = { class: \"footer\" }\nconst _hoisted_7 = /*#__PURE__*/_createTextVNode(\"Cancel\")\nconst _hoisted_8 = /*#__PURE__*/_createTextVNode(\"Confirm\")\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_a_date_picker = _resolveComponent(\"a-date-picker\")!\n const _component_a_button = _resolveComponent(\"a-button\")!\n const _component_a_table = _resolveComponent(\"a-table\")!\n const _component_a_drawer = _resolveComponent(\"a-drawer\")!\n\n return (_openBlock(), _createBlock(_component_a_drawer, {\n title: \"Publish Date\",\n closable: true,\n visible: _ctx.visibleModel,\n width: \"30%\",\n onClose: _ctx.handleClose\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _hoisted_3,\n _createElementVNode(\"div\", null, [\n _createVNode(_component_a_date_picker, {\n value: _ctx.date,\n \"onUpdate:value\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.date) = $event)),\n disabledDate: _ctx.disabledDate\n }, null, 8, [\"value\", \"disabledDate\"]),\n _createVNode(_component_a_button, {\n type: \"link\",\n class: \"add-btn\",\n onClick: _ctx.handleAdd\n }, {\n default: _withCtx(() => [\n _hoisted_4,\n _hoisted_5\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ])\n ]),\n _createVNode(_component_a_table, {\n class: \"data-table\",\n columns: _ctx.columns,\n \"data-source\": _ctx.publishDateVersions,\n pagination: false,\n rowSelection: {type: 'radio', selectedRowKeys: [_ctx.selectPublishDate], onChange: _ctx.changePublishDate},\n rowKey: \"date\"\n }, null, 8, [\"columns\", \"data-source\", \"rowSelection\"])\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n _createVNode(_component_a_button, {\n class: \"m-r-16\",\n onClick: _ctx.handleClose\n }, {\n default: _withCtx(() => [\n _hoisted_7\n ]),\n _: 1\n }, 8, [\"onClick\"]),\n _createVNode(_component_a_button, {\n type: \"primary\",\n onClick: _ctx.handleConfirm\n }, {\n default: _withCtx(() => [\n _hoisted_8\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ])\n ]),\n _: 1\n }, 8, [\"visible\", \"onClose\"]))\n}","export interface ThirdPartyUploadSearchParams {\n bu?: string;\n beginTime?: string;\n endTime?: string;\n filenames?: string[];\n vin?: string;\n}\n\nexport interface ThirdPartyData {\n vin: string;\n dealer: string;\n brand: string;\n typeClass: string;\n model: string;\n displacement: string;\n province: string;\n city: string;\n retailYearMonth: string;\n retailTime: string;\n color: string;\n license: string;\n}\n\nexport interface ThirdPartyDataUploadData extends ThirdPartyData {\n filename: string;\n createdAt: string;\n}\nexport interface DataListResponse {\n content: T[];\n totalElements: number;\n}\n\nexport interface ThirdPartyDataError extends ThirdPartyData {\n error: string;\n}\n\nexport interface ThirdPartyDataFilename {\n filename: string;\n}\n\nexport enum PublishDateVersionType {\n HISTORY,\n NEW,\n}\nexport interface PublishDateVersion {\n date: string;\n type: PublishDateVersionType;\n}\n\nexport interface AreaRuleCategory {\n id: string;\n name: string;\n}\nexport interface AreaRule {\n applicableTypeClass?: string;\n bu?: string;\n category: string;\n focusAreaBasic: '0';\n focusAreaExtend: '0' | '1' | '2';\n focusAreaSpecial: string;\n id?: number;\n publishDate: string;\n status: '0';\n specialRule?: SpecialRule[];\n}\n\nexport interface AreaRuleProvince {\n id: number;\n code: string;\n isSelected: string;\n name: string;\n}\n\nexport interface AreaRuleCity {\n code: string;\n isSelected: string;\n name: string;\n provinceCode: string;\n provinceName: string;\n}\n\nexport interface SpecialRule {\n selectedProvince?: string;\n selectedProvinceName?: string;\n selectedCities: string[];\n selectedCitiesName: Record;\n cityOptions: AreaRuleCity[];\n}\nexport interface AreaRuleParam {\n applicableTypeClass: string;\n bu: string;\n category: string;\n focusAreaBasic: '0';\n focusAreaExtend: '0' | '1' | '2';\n publishDate: string;\n focusAreaSpecial: '0';\n status: '0';\n selectCityList: {\n code: string;\n name: string;\n provinceCode: string;\n provinceName: string;\n }[];\n}\n\nexport type AreaRuleParams = AreaRuleParam[];\n\nexport interface CurveSelection {\n dealerCode: string;\n dealerName: string;\n restrictedCity: string;\n year: string;\n}\n\nexport interface CurveSelectionUploadError extends CurveSelection {\n error: string;\n}\n","\nimport { defineComponent, ref, watch } from 'vue'\nimport type { PropType } from 'vue'\nimport { Moment } from 'moment'\nimport moment from 'moment'\nimport useModel from '@/hooks/useModel'\nimport {\n PublishDateVersionType\n} from '@/views/LocalRegistration/type'\nimport type {\n PublishDateVersion\n} from '@/views/LocalRegistration/type'\nexport default defineComponent({\n emits: [\n 'update:visible',\n 'update:publishDateVersion',\n 'update:publishDateVersions',\n ],\n props: {\n publishDateVersions: {\n type: Array as PropType,\n default: () => []\n },\n publishDateVersion: {\n type: String,\n default: ''\n },\n visible: {\n type: Boolean,\n default: false\n }\n },\n setup(props, {emit}) {\n \n const visibleModel = useModel(props, 'visible')\n const selectPublishDate = ref('')\n\n watch(() => props.publishDateVersion, (publishDate) => {\n selectPublishDate.value = publishDate\n })\n \n const date = ref(moment())\n\n const handleClose = () => {\n visibleModel.value = false\n }\n\n const columns = ref([\n {\n title: 'Publish Date',\n dataIndex: 'date'\n }\n ])\n\n const changePublishDate = (selectRowKeys: string[]) => {\n if (selectRowKeys.length) {\n selectPublishDate.value = selectRowKeys[0]\n }\n }\n\n const disabledDate = (currentDate: Moment) => {\n if (currentDate.isBefore(moment(), 'day')) {\n return true\n }\n if (props.publishDateVersions.map(item => item.date).includes(currentDate.format('YYYY-MM-DD'))) {\n return true\n }\n return false\n }\n\n const handleAdd = () => {\n if (!date.value) {\n return\n }\n if (props.publishDateVersions.map(item => item.date).includes(date.value.format('YYYY-MM-DD'))) {\n return\n }\n const publishDateVersions = props.publishDateVersions\n publishDateVersions.push({\n date: date.value.format('YYYY-MM-DD'),\n type: PublishDateVersionType.NEW\n })\n publishDateVersions.sort((a, b) => {\n return a.date < b.date ? 1 : -1\n })\n selectPublishDate.value = date.value.format('YYYY-MM-DD')\n emit('update:publishDateVersions', publishDateVersions)\n }\n\n const handleConfirm = () => {\n emit('update:publishDateVersion', selectPublishDate.value)\n handleClose()\n }\n\n return {\n visibleModel,\n date,\n handleClose,\n columns,\n disabledDate,\n handleAdd,\n selectPublishDate,\n changePublishDate,\n handleConfirm\n }\n }\n})\n","import { render } from \"./PublishDate.vue?vue&type=template&id=817dbd4a&scoped=true&ts=true\"\nimport script from \"./PublishDate.vue?vue&type=script&lang=ts\"\nexport * from \"./PublishDate.vue?vue&type=script&lang=ts\"\n\nimport \"./PublishDate.vue?vue&type=style&index=0&id=817dbd4a&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-817dbd4a\"]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, createBlock as _createBlock, createElementVNode as _createElementVNode, vShow as _vShow, withDirectives as _withDirectives, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-8f05af0a\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"content local-registration-container\" }\nconst _hoisted_2 = { class: \"date-selector-wrapper\" }\nconst _hoisted_3 = { class: \"black-list-container\" }\nconst _hoisted_4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"font_family icon-delete1\" }, null, -1))\nconst _hoisted_5 = /*#__PURE__*/_createTextVNode(\"Del \")\nconst _hoisted_6 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"font_family icon-tianjia11\" }, null, -1))\nconst _hoisted_7 = /*#__PURE__*/_createTextVNode(\"Add \")\nconst _hoisted_8 = { class: \"footer\" }\nconst _hoisted_9 = /*#__PURE__*/_createTextVNode(\"Cancel\")\nconst _hoisted_10 = /*#__PURE__*/_createTextVNode(\"Confirm\")\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_Title = _resolveComponent(\"Title\")!\n const _component_a_select_option = _resolveComponent(\"a-select-option\")!\n const _component_a_select = _resolveComponent(\"a-select\")!\n const _component_a_button = _resolveComponent(\"a-button\")!\n const _component_a_table = _resolveComponent(\"a-table\")!\n const _component_a_drawer = _resolveComponent(\"a-drawer\")!\n\n return (_openBlock(), _createBlock(_component_a_drawer, {\n title: \"Focus area special rule\",\n closable: true,\n visible: _ctx.visibleModel,\n width: \"30%\",\n onClose: _ctx.handleClose\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(_component_Title, {\n class: \"title\",\n text: \"Black List\"\n }),\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(_component_a_table, {\n class: \"data-table\",\n columns: _ctx.columns,\n \"data-source\": _ctx.data,\n pagination: false,\n rowKey: (record, index) => index\n }, {\n Province: _withCtx(({ record, index }) => [\n _createVNode(_component_a_select, {\n value: record.selectedProvince,\n \"onUpdate:value\": ($event: any) => ((record.selectedProvince) = $event),\n disabled: !_ctx.inEditing,\n onChange: (value, option) => _ctx.handleSelectProvince(index, option)\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.provinceOptions, (province) => {\n return (_openBlock(), _createBlock(_component_a_select_option, {\n value: province.code,\n key: province.code,\n title: province.name,\n disabled: _ctx.selectedProvices.includes(province.code)\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(province.name), 1)\n ]),\n _: 2\n }, 1032, [\"value\", \"title\", \"disabled\"]))\n }), 128))\n ]),\n _: 2\n }, 1032, [\"value\", \"onUpdate:value\", \"disabled\", \"onChange\"])\n ]),\n City: _withCtx(({ record, index }) => [\n _createVNode(_component_a_select, {\n mode: \"multiple\",\n value: record.selectedCities,\n \"onUpdate:value\": ($event: any) => ((record.selectedCities) = $event),\n disabled: !_ctx.inEditing,\n onChange: (value, options) => _ctx.handleSelectCity(index, options)\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(record.cityOptions, (city) => {\n return (_openBlock(), _createBlock(_component_a_select_option, {\n value: city.code,\n key: city.code,\n title: city.name\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(city.name), 1)\n ]),\n _: 2\n }, 1032, [\"value\", \"title\"]))\n }), 128))\n ]),\n _: 2\n }, 1032, [\"value\", \"onUpdate:value\", \"disabled\", \"onChange\"])\n ]),\n Operation: _withCtx(({ index }) => [\n _createVNode(_component_a_button, {\n type: \"link\",\n class: \"del-btn\",\n onClick: ($event: any) => (_ctx.handleDelete(index))\n }, {\n default: _withCtx(() => [\n _hoisted_4,\n _hoisted_5\n ]),\n _: 2\n }, 1032, [\"onClick\"])\n ]),\n _: 1\n }, 8, [\"columns\", \"data-source\", \"rowKey\"])\n ]),\n _withDirectives(_createVNode(_component_a_button, {\n type: \"link\",\n class: \"add-btn\",\n onClick: _ctx.handleAdd\n }, {\n default: _withCtx(() => [\n _hoisted_6,\n _hoisted_7\n ]),\n _: 1\n }, 8, [\"onClick\"]), [\n [_vShow, _ctx.inEditing]\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_8, [\n _createVNode(_component_a_button, {\n class: \"m-r-16\",\n onClick: _ctx.handleClose\n }, {\n default: _withCtx(() => [\n _hoisted_9\n ]),\n _: 1\n }, 8, [\"onClick\"]),\n _createVNode(_component_a_button, {\n type: \"primary\",\n onClick: _ctx.handleConfirm\n }, {\n default: _withCtx(() => [\n _hoisted_10\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ])\n ]),\n _: 1\n }, 8, [\"visible\", \"onClose\"]))\n}","\nimport { defineComponent, ref, watch, computed } from 'vue'\nimport type { PropType } from 'vue'\nimport { ColumnProps } from \"ant-design-vue/es/table/interface\"\nimport useModel from '@/hooks/useModel'\nimport Title from '@/views/LocalRegistration/components/title.vue'\nimport deepClone from '@/utils/deepClone'\nimport type {\n AreaRuleProvince,\n SpecialRule\n} from '@/views/LocalRegistration/type'\nimport {\n getAreaRuleSelectedProvinces as getAreaRuleSelectedProvincesAPI,\n getAreaRuleSelectedCities as getAreaRuleSelectedCitiesAPI\n} from '@/API/localRegistration'\n\nexport default defineComponent({\n components: {\n Title\n },\n emits: [\n 'confirm'\n ],\n props: {\n logicId: {\n type: Number,\n default: 0\n },\n specialRule: {\n type: Array as PropType,\n default: () => []\n },\n visible: {\n type: Boolean,\n default: false\n }\n },\n setup(props, {emit}) {\n \n const visibleModel = useModel(props, 'visible')\n const provinceOptions = ref([])\n\n const inEditing = computed(() => {\n return props.logicId === 0\n })\n\n const columns = computed(() => {\n const columns: ColumnProps[] = [\n {\n title: 'Province',\n slots: {\n customRender: 'Province'\n }\n },\n {\n title: 'City',\n slots: {\n customRender: 'City'\n }\n },\n ]\n if (inEditing.value) {\n columns.push({\n title: 'Operation',\n slots: {\n customRender: 'Operation'\n }\n })\n }\n\n return columns\n })\n\n const data = ref([])\n\n const handleAdd = () => {\n data.value.push({\n selectedCities: [],\n selectedCitiesName: {},\n cityOptions: []\n })\n }\n\n const handleDelete = (index: number) => {\n data.value.splice(index, 1)\n }\n\n const handleClose = () => {\n data.value = []\n visibleModel.value = false\n }\n\n const handleConfirm = () => {\n emit('confirm', data.value)\n handleClose()\n }\n\n const findProvinceIdByCode = (code: string) => {\n const province = provinceOptions.value.find(item => item.code === code)\n return province ? province.id : 0\n }\n\n /**\n * 根据省份获取城市\n */\n const getCities = async (index: number, logicId: number, provinceCode: string, reset = false) => {\n const cityOptions = await getAreaRuleSelectedCitiesAPI(logicId, findProvinceIdByCode(provinceCode), provinceCode)\n data.value[index].cityOptions = cityOptions\n if (!reset) {\n const selectedCities: string[] = []\n cityOptions.forEach(cityOption => {\n if (cityOption.isSelected === '1') {\n selectedCities.push(cityOption.code)\n }\n })\n data.value[index].selectedCities = selectedCities\n } else {\n data.value[index].selectedCities = []\n }\n }\n\n const handleSelectProvince = (index: number, option: {title: string; value: string}) => {\n data.value[index].selectedProvinceName = option.title\n getCities(index, props.logicId, option.value, true)\n }\n\n const handleSelectCity = (index: number, options: {title: string; value: string}[]) => {\n const selectedCitiesName = {}\n options.forEach(option => {\n selectedCitiesName[option.value] = option.title\n })\n data.value[index].selectedCitiesName = selectedCitiesName\n }\n\n // 显示时初始化数据\n watch(visibleModel, async (visible: any) => {\n if (!visible) {\n return false\n }\n provinceOptions.value = await getAreaRuleSelectedProvincesAPI(props.logicId)\n if (props.logicId !== 0) { // 查看历史版本\n data.value = []\n provinceOptions.value.forEach((provinceOption, index) => {\n if (provinceOption.isSelected === '1') {\n const item: SpecialRule = {\n selectedProvince: provinceOption.code,\n selectedProvinceName: provinceOption.name,\n selectedCities: [],\n selectedCitiesName: {},\n cityOptions: []\n }\n data.value.push(item)\n getCities(data.value.length - 1, props.logicId, provinceOption.code)\n }\n })\n } else { // 新建版本\n data.value = deepClone(props.specialRule)\n }\n })\n\n /**\n * 已选中的省份\n */\n const selectedProvices = computed(() => {\n return data.value.map(item => item.selectedProvince)\n })\n\n return {\n visibleModel,\n handleClose,\n columns,\n data,\n handleAdd,\n handleDelete,\n handleConfirm,\n provinceOptions,\n handleSelectProvince,\n handleSelectCity,\n selectedProvices,\n inEditing\n }\n }\n})\n","import { render } from \"./FocusAreaSpecialRule.vue?vue&type=template&id=8f05af0a&scoped=true&ts=true\"\nimport script from \"./FocusAreaSpecialRule.vue?vue&type=script&lang=ts\"\nexport * from \"./FocusAreaSpecialRule.vue?vue&type=script&lang=ts\"\n\nimport \"./FocusAreaSpecialRule.vue?vue&type=style&index=0&id=8f05af0a&lang=scss&scoped=true\"\nimport \"./FocusAreaSpecialRule.vue?vue&type=style&index=1&id=8f05af0a&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-8f05af0a\"]])\n\nexport default __exports__","\nimport { defineComponent, ref, computed, watch } from 'vue';\nimport { useRouter } from 'vue-router';\nimport { useStore } from 'vuex';\nimport { ColumnProps } from 'ant-design-vue/es/table/interface';\nimport { Modal, message } from 'ant-design-vue';\nimport moment from 'moment';\nimport Title from '@/views/LocalRegistration/components/title.vue';\nimport PublishDate from '@/views/LocalRegistration/FocusAreaSet/FocusAreaRuleSet/PublishDate.vue';\nimport FocusAreaSpecialRule from '@/views/LocalRegistration/FocusAreaSet/FocusAreaRuleSet/FocusAreaSpecialRule.vue';\nimport BuSelector from '@/views/LocalRegistration/components/BuSelector.vue';\nimport ApplicableTypeClassSelector from '@/views/LocalRegistration/components/ApplicableTypeClassSelector2.vue';\nimport {\n publishDateList as publishDateListAPI,\n getAreaRuleList as getAreaRuleListAPI,\n getCategoryList as getCategoryListAPI,\n saveAreaRuleInfo as saveAreaRuleInfoAPI,\n} from '@/API/localRegistration';\nimport {\n PublishDateVersionType,\n PublishDateVersion,\n AreaRuleCategory,\n AreaRule,\n SpecialRule,\n AreaRuleParams,\n} from '@/views/LocalRegistration/type';\n\nenum Mode {\n VIEW,\n EDIT,\n}\n\nexport default defineComponent({\n components: {\n Title,\n PublishDate,\n FocusAreaSpecialRule,\n BuSelector,\n ApplicableTypeClassSelector,\n },\n setup() {\n const router = useRouter();\n const { state } = useStore();\n\n const publishDateVersions = ref([]);\n const publishDateVersion = ref();\n const categories = ref([]);\n const selectedIndex = ref();\n\n const mode = computed(() => {\n const selectedVersion = publishDateVersions.value.find(\n (item) => item.date === publishDateVersion.value\n );\n if (selectedVersion) {\n return selectedVersion.type === PublishDateVersionType.HISTORY\n ? Mode.VIEW\n : Mode.EDIT;\n }\n return Mode.VIEW;\n });\n\n const columns = computed(() => {\n const columns: ColumnProps[] = [\n {\n title: 'BU',\n slots: {\n customRender: 'BU',\n },\n },\n {\n title: 'Applicable type class',\n slots: {\n customRender: 'ApplicableTypeClass',\n },\n },\n {\n title: 'Focus area basic rule',\n slots: {\n customRender: 'FocusAreaBasicRule',\n },\n },\n {\n title: 'Category',\n slots: {\n customRender: 'Category',\n },\n },\n {\n title: 'Focus area special rule',\n slots: {\n customRender: 'FocusAreaSpecialRule',\n },\n },\n ];\n\n if (mode.value === Mode.EDIT) {\n columns.push({\n title: 'Operation',\n slots: {\n customRender: 'Operation',\n },\n });\n }\n\n return columns;\n });\n\n const data = ref([]);\n\n const visiblePublishDateDrawer = ref(false);\n\n const handleShowPublishDateDrawer = () => {\n visiblePublishDateDrawer.value = true;\n };\n\n const visibleFocusAreaRuleSetDrawer = ref(false);\n\n const handleShowFocusAreaRuleSetDrawer = (index: number) => {\n selectedIndex.value = index;\n visibleFocusAreaRuleSetDrawer.value = true;\n };\n\n const search = async () => {\n const userBuList = state.user.buTreeList.filter((item: {nameEn: string}) => ['MBPC', 'AMG', 'VAN'].includes(item.nameEn))\n .map((item: {nameEn: string}) => item.nameEn)\n\n data.value = (await getAreaRuleListAPI(\n publishDateVersion.value as string\n )).filter(item => userBuList.includes(item.bu));\n };\n\n const init = () => {\n publishDateListAPI().then((data) => {\n publishDateVersions.value = data\n .map((date) => {\n return {\n date: moment(date).format('YYYY-MM-DD'),\n type: PublishDateVersionType.HISTORY,\n };\n })\n .sort((a, b) => {\n return a.date < b.date ? 1 : -1;\n });\n if (publishDateVersions.value.length) {\n publishDateVersion.value =\n publishDateVersions.value[0].date;\n }\n });\n getCategoryListAPI().then((data) => {\n categories.value = data;\n });\n };\n\n const handleAdd = () => {\n data.value.push({\n category: '0',\n focusAreaBasic: '0',\n focusAreaExtend: '0',\n focusAreaSpecial: '0',\n publishDate: publishDateVersion.value as string,\n status: '0',\n });\n };\n\n const handleDelete = (index: number) => {\n data.value.splice(index, 1);\n };\n\n const handleSubmitSpecialRule = (specialRules: SpecialRule[]) => {\n if (\n selectedIndex.value !== undefined &&\n selectedIndex.value < data.value.length\n ) {\n data.value[selectedIndex.value].specialRule = specialRules;\n }\n };\n\n const handleCancel = () => {\n router.push({ name: 'Focus Area Set Home' });\n };\n\n const handleSave = () => {\n const uniqueKeys: string[] = [];\n const params: AreaRuleParams = [];\n for (const item of data.value) {\n if (!item.bu || !item.applicableTypeClass) {\n continue;\n }\n const uniqueKey = `${item.bu}#${item.applicableTypeClass}`;\n if (uniqueKeys.includes(uniqueKey)) {\n message.error('duplicated setting');\n return;\n }\n uniqueKeys.push(uniqueKey);\n const selectCityList: {\n code: string;\n name: string;\n provinceCode: string;\n provinceName: string;\n }[] = [];\n item.specialRule?.forEach((specialRuleItem) => {\n const selectedProvince = specialRuleItem.selectedProvince;\n if (selectedProvince) {\n specialRuleItem.selectedCities?.forEach(\n (selectedCity) => {\n selectCityList.push({\n provinceCode: selectedProvince,\n provinceName: specialRuleItem.selectedProvinceName as string,\n code: selectedCity,\n name:\n specialRuleItem.selectedCitiesName[\n selectedCity\n ],\n });\n }\n );\n }\n });\n params.push({\n bu: item.bu,\n applicableTypeClass: item.applicableTypeClass,\n focusAreaBasic: '0',\n focusAreaExtend: item.focusAreaExtend,\n category: item.category,\n publishDate: publishDateVersion.value as string,\n focusAreaSpecial: '0',\n status: '0',\n selectCityList,\n });\n }\n\n Modal.confirm({\n title: 'Please confirm',\n content: \"Can't edit rule after setting,please check if need\",\n okText: 'Confirm',\n cancelText: 'Cancel',\n onOk: async () => {\n await saveAreaRuleInfoAPI(params);\n const version = publishDateVersions.value.find(\n (item) => item.date === publishDateVersion.value\n );\n if (version) {\n version.type = PublishDateVersionType.HISTORY;\n }\n search();\n },\n });\n };\n\n init();\n\n watch(publishDateVersion, (publishDate) => {\n if (!publishDate) {\n return;\n }\n search();\n });\n\n return {\n moment,\n Mode,\n mode,\n selectedIndex,\n publishDateVersions,\n publishDateVersion,\n categories,\n columns,\n data,\n visiblePublishDateDrawer,\n handleShowPublishDateDrawer,\n visibleFocusAreaRuleSetDrawer,\n handleShowFocusAreaRuleSetDrawer,\n handleAdd,\n handleDelete,\n handleSubmitSpecialRule,\n handleCancel,\n handleSave,\n };\n },\n});\n","import { render } from \"./index.vue?vue&type=template&id=7706d48d&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=7706d48d&lang=scss&scoped=true\"\nimport \"./index.vue?vue&type=style&index=1&id=7706d48d&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-7706d48d\"]])\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__","import { computed, getCurrentInstance } from \"vue\";\n\nconst useModel = (props: any, name: string) => {\n const emit = getCurrentInstance()?.emit;\n return computed({\n get() {\n return props[name]\n },\n set(val) {\n if (emit) {\n emit(`update:${name}`, val)\n }\n },\n });\n};\nexport default useModel;\n","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./FocusAreaSpecialRule.vue?vue&type=style&index=0&id=8f05af0a&lang=scss&scoped=true\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./PublishDate.vue?vue&type=style&index=0&id=817dbd4a&lang=scss&scoped=true\"","import { fetchGet, fetchPost, fetchPostPic, fetchGetMess } from \"./index\";\nimport axios from \"axios\";\nimport type { AxiosResponse } from \"axios\";\nimport type {\n ThirdPartyUploadSearchParams,\n ThirdPartyDataError,\n ThirdPartyDataFilename,\n ThirdPartyDataUploadData,\n DataListResponse,\n AreaRuleCategory,\n AreaRule,\n AreaRuleProvince,\n AreaRuleCity,\n AreaRuleParams,\n} from \"@/views/LocalRegistration/type\";\n/** Key models set OASIS-16524 */\n/**\n * 根据Bu查typeclass\n * @returns\n */\nexport const getTypclassByBu = () => {\n return fetchPost(\"rvapi/lr/bussinessConfig/dealerApplicableTypeClassMap\");\n};\n/**\n * 列表\n * @returns\n */\nexport const keyModelsList = () => {\n return fetchPost(\"rvapi/lr/keyModel/list\");\n};\n/**\n * 新增\n * @returns\n */\nexport const keyModelsCreate = (data = {}) => {\n return fetchPost(\n \"rvapi/lr/keyModel/create\",\n {},\n {\n params: data,\n }\n );\n};\n/**\n * 删除\n * @returns\n */\nexport const keyModelsDelete = (id = \"\") => {\n return fetchPost(\n \"rvapi/lr/keyModel/delete\",\n {},\n {\n params: {\n id: id,\n },\n }\n );\n};\n/**\n * 修改\n * @returns\n */\nexport const keyModelsEdit = (data = {}) => {\n return fetchPost(\n \"rvapi/lr/keyModel/edit\",\n {},\n {\n params: data,\n }\n );\n};\n\n/** restricted city import OASIS-16522 */\n/**\n * typeClass List\n * @returns\n */\nexport const applicableTypeClassList = () => {\n return fetchGet(\"rvapi/lr/bussinessConfig/allApplicableTypeClassList\");\n};\n/** restricted city import OASIS-16522 */\n/**\n * typeClass List\n * @returns\n */\nexport const applicableTypeClassListByBu = (\n params = {}\n): Promise => {\n return fetchGet(\"rvapi/lr/bussinessConfig/applicableTypeClassListByBu\", {\n params,\n });\n};\n/**\n * typeClass List\n * @returns\n */\nexport const getCityListByName = (params = {}) => {\n return fetchGet(\"rvapi/lr/foundationArea/cityListByName\", { params });\n};\n/**\n * 列表\n * @returns\n */\nexport const queryRestrictCityByBu = (params = {}) => {\n return fetchGetMess(\"rvapi/lr/locRegRestrictCity/queryRestrictCityByBu\", {\n params,\n });\n};\n\n/**\n * 获取省的列表\n * @returns\n */\nexport const getAllProvince = () => {\n return fetchGet(\"rvapi/lr/foundationArea/allProvince\");\n};\n\n/**\n * 保存city\n * @returns\n */\nexport const saveRegRestrictCity = (params = {}) => {\n return fetchPost(\"rvapi/lr/locRegRestrictCity/saveRegRestrictCity\", params);\n};\n\n/**\n * 删除city\n * @param id\n * @returns\n */\nexport const deleteRegRestrictCity = (params = {}) => {\n return fetchGetMess(\"rvapi/lr/locRegRestrictCity/deleteRegRestrictCity\", {\n params,\n });\n};\n\n/**\n * 获取市的列表\n * @param provinceId\n * @returns\n */\nexport const getCityListByProvinceId = (params = {}) => {\n return fetchGetMess(\"rvapi/lr/foundationArea/cityListByProvinceId\", {\n params,\n });\n};\n\n/**\n * 获取所有城市的列表\n * @returns\n */\nexport const getAllCitys = () => {\n return fetchGet(\"rvapi/lr/foundationArea/allCity\");\n};\n\n/** Third party registration data import OASIS-16523 */\n/**\n * 获取年options\n * @returns\n */\nexport const getAllYears = () => {\n return fetchGet(\"rvapi/lr/locRegRestrictUpload/findAllYears\");\n};\n/**\n * 根据年获取version options\n * @param year\n * @returns\n */\nexport const getVersionByYear = (params = {}) => {\n return fetchGet(\"rvapi/lr/locRegRestrictUpload/findAllVersionByYear\", {\n params,\n });\n};\n/**\n * 获取列表\n * @param year\n * @param version\n * @returns\n */\nexport const getListByVersionAndYear = (params = {}) => {\n return fetchGetMess(\"rvapi/lr/locRegRestrictUpload/findByYearAndVersion\", {\n params,\n });\n};\n/**\n * 下载模板\n * @returns\n */\nexport const downloadTemplate = () => {\n return axios.get(`rvapi/lr/locRegRestrictUpload/template`, {\n responseType: \"blob\",\n });\n};\n/**\n * 上传\n * @returns\n */\nexport const uploadRestrictCity = (\n params = {},\n year: string,\n version: string,\n config = {}\n): Promise => {\n return fetchPost(\n `rvapi/lr/locRegRestrictUpload/import/${year}/${version}`,\n params,\n {\n ...config,\n }\n );\n};\n\n/** import OASIS-16525 */\n/**\n * 获取列表\n * @returns\n */\nexport const getValidityList = (pulbishDate: string) => {\n return fetchGet(`rvapi/lr/validity/detail?publishDate=${pulbishDate}`);\n};\n\n/** import OASIS-16526 */\n/**\n * 导出列表\n * @returns\n */\nexport const exportLicenseMappingCityList = (params = {}) => {\n return axios.post(`rvapi/lr/licenseMappingCity/export`, params, {\n responseType: \"blob\",\n });\n};\n/**\n * 获取列表\n * @returns\n */\nexport const getLicenseMappingCityList = (data = {}, params = {}) => {\n return fetchPost(\"rvapi/lr/licenseMappingCity/page/list\", data, {\n params: params,\n });\n};\n/**\n * 获取城市信息\n * @returns\n */\nexport const getCityInfo = (params = {}) => {\n return fetchGetMess(\"rvapi/lr/foundationArea/getCityInfo\", { params });\n};\n/**\n * create\n * @returns\n */\nexport const createLicenseMappingCity = (data = {}) => {\n return fetchPost(\"rvapi/lr/licenseMappingCity/create\", data);\n};\n/**\n * edit\n * @returns\n */\nexport const editLicenseMappingCity = (data = {}) => {\n return fetchPost(\"rvapi/lr/licenseMappingCity/edit\", data);\n};\n/**\n * edit\n * @returns\n */\nexport const getLicenseMappingCityDetail = (params = {}) => {\n return fetchGetMess(\"rvapi/lr/licenseMappingCity/detail\", { params });\n};\n\n/** Third party registration data import OASIS-16534 OASIS-16536 */\n/**\n * 删除\n * @param id\n * @returns\n */\nexport const thirdPartyUploadDelete = (id: number) => {\n return fetchPost(\n \"rvapi/lr/thirdPartyUpload/delete\",\n {},\n {\n params: {\n id,\n },\n }\n );\n};\n\n/** Third party registration data import OASIS-16528 */\n/**\n * add dealer 模糊查询dealerName\n * @param dealerName\n * @returns\n */\nexport const getDealerByName = (params = {}) => {\n return fetchGetMess(\"rvapi/lr/locRegDealerBasicInfo/queryDealerByName\", {\n params,\n });\n};\n/**\n * typeClass List\n * @param dealerBuList\n * @returns\n */\nexport const getDealerApplicableTypeClassList = (data = []) => {\n return fetchPost(\n \"rvapi/lr/bussinessConfig/dealerApplicableTypeClassList\",\n data\n );\n};\n/**\n * add dealer 勾选typeclass判断blank city\n * @param applicableTypeClass\n * @param province\n * @param city\n * @returns\n */\nexport const checkApplicableBlank = (params = {}) => {\n return fetchGetMess(\"rvapi/lr/locRegDealerApplicable/checkApplicableBlank\", {\n params,\n });\n};\n/**\n * add dealer 勾选typeclass生成数据\n * @param applicableTypeClass\n * @param region\n * @param province\n * @param city\n * @returns\n */\nexport const getApplicableDspData = (params = {}) => {\n return fetchGetMess(\n \"rvapi/lr/locRegDealerApplicable/queryApplicableDspData\",\n { params }\n );\n};\n/**\n * add dealer save\n * @param applicableTypeClass\n * @param effectiveTime\n * @param status\n * @returns\n */\nexport const updateLatestDetail = (params: any) => {\n return fetchPost(\n `rvapi/lr/locRegDealerApplicableDetail/updateLatestDetail`,\n params\n );\n};\n\n/**\n * add dealer save\n * @param operationType\n * @param specialAreas\n * @param basicInfo\n * @param checkList\n * @param applicables\n * @returns\n */\nexport const saveBaseInfo = (params = {}) => {\n return fetchPost(\"rvapi/lr/locRegDealerBasicInfo/saveBaseInfo\", params);\n};\n\n/** Third party registration data import OASIS-16529 */\n/**\n * delete dealer 模糊查询dealerName\n * @param dealerName\n * @returns\n */\nexport const getLocalDealerByName = (params = {}) => {\n return fetchGetMess(\"rvapi/lr/locRegDealerBasicInfo/queryLocalDealerByName\", {\n params,\n });\n};\n/**\n * delete dealer 模糊查询dealerName\n * @param dealerName\n * @returns\n */\nexport const searchDealerByCodeAndName = (params = {}) => {\n return fetchGetMess(\"dapi/dealerInfo/searchDealerByCodeAndName\", { params });\n};\n/**\n * delete dealer 模糊查询dealerCode\n * @param dealerName\n * @returns\n */\nexport const getLocalDealerByCode = (params = {}) => {\n return fetchGetMess(\"rvapi/lr/locRegDealerBasicInfo/queryLocalDealerByCode\", {\n params,\n });\n};\n/**\n * 模糊查询swtCode\n * @param dealerName\n * @returns\n */\nexport const getLocalDealerBySwtCode = (params = {}) => {\n return fetchGetMess(\n \"rvapi/lr/locRegDealerBasicInfo/queryLocalDealerBySwtCode\",\n { params }\n );\n};\n\n/**\n * delete dealer 根据dealerId查详情\n * @param dealerName\n * @returns\n */\nexport const getDealerMainData = (params = {}) => {\n return fetchGetMess(\"rvapi/lr/locRegDealerBasicInfo/queryDealerMainData\", {\n params,\n });\n};\n/**\n * delete dealer 取消勾选时查询blankcity\n * @param dealerName\n * @returns\n */\nexport const checkDeleteDealerCauseBlank = (params = {}) => {\n return fetchGetMess(\n \"rvapi/lr/locRegDealerApplicable/checkDeleteDealerCauseBlank\",\n { params }\n );\n};\n/**\n * Query focus area list 16530 查询列表\n * @param dealerName\n * @returns\n */\nexport const searchDealerListByCondition = (params = {}) => {\n return fetchPost(\n \"rvapi/lr/locRegDealerBasicInfo/queryDealerListByCondition\",\n params\n );\n};\n/** Query focus area list 16530 查询列表\n * @param dealerName\n * @returns\n */\nexport const exportDealerListByCondition = (params = {}) => {\n return axios.get(\"rvapi/lr/locRegDealerBasicInfo/exportInfo\", {\n responseType: \"blob\",\n params,\n });\n};\n/**\n * Query focus area list 16531 查询列表\n * @param dealerName\n * @returns\n */\nexport const getDealerLogListByCondition = (params = {}) => {\n return fetchGetMess(\n \"rvapi/lr/locRegDealerLog/queryDealerLogListByCondition\",\n { params }\n );\n};\n\n/**\n * 导出\n * @param filenames\n * @param bu\n * @param beginTime\n * @param endTime\n * @returns\n */\nexport const thirdPartyUploadExport = (\n params: ThirdPartyUploadSearchParams\n): Promise> => {\n return axios.post(\"rvapi/lr/thirdPartyUpload/export\", params, {\n responseType: \"blob\",\n });\n};\n/**\n * 上传\n * @param bu\n * @param file\n * @returns\n */\nexport const thirdPartyUploadImport = (\n bu: string,\n file: Blob,\n options: Record\n): Promise => {\n const params = new FormData();\n params.set(\"file\", file);\n return fetchPost(`rvapi/lr/thirdPartyUpload/import/${bu}`, params, options);\n};\n/**\n * filename筛选条件列表\n * @param bu\n * @param beginTime\n * @param endTime\n * @returns\n */\nexport const thirdPartyUploadFilenameList = (\n beginTime: string,\n endTime: string\n): Promise => {\n return fetchGet(\"rvapi/lr/thirdPartyUpload/listByCreatedAtIn\", {\n params: {\n beginTime,\n endTime,\n },\n });\n};\n/**\n * 列表查询\n * @param params\n * @param current\n * @param size\n * @returns\n */\nexport const thirdPartyUploadList = (\n params: ThirdPartyUploadSearchParams,\n current: number,\n size: number\n): Promise> => {\n return fetchPost(\"rvapi/lr/thirdPartyUpload/page/list\", params, {\n params: {\n current,\n size,\n },\n });\n};\n/**\n * 下载模板\n * @returns\n */\nexport const thirdPartyUploadTemplate = (): Promise> => {\n return axios.post(\n \"rvapi/lr/thirdPartyUpload/template\",\n {},\n {\n responseType: \"blob\",\n }\n );\n};\n\n/*** Key models set OASIS-16541 */\nexport const getCheckingResultData = (params = {}, query: any) => {\n return fetchPost(\n `/rvapi/lr/regCalculationLicensing/getCalLicenCheckResutInfo?current=${query.current}&size=${query.size}`,\n params\n );\n};\n\nexport const exportCheckingResultData = (\n params = {}\n): Promise> => {\n return axios.post(\n \"/rvapi/lr/regCalculationLicensing/exportCalLicenCheckResutInfo\",\n params,\n {\n responseType: \"blob\",\n }\n );\n};\n\n/*** Key models set OASIS-16543 */\nexport const getCalLicenceComparisonInfo = (params = {}) => {\n return fetchPost(\n \"/rvapi/lr/regCalculationLicensing/getCalLicenceComparisonInfo\",\n params\n );\n};\n\nexport const exportCalLicenceComparisonInfo = (\n params = {}\n): Promise> => {\n return axios.post(\n \"/rvapi/lr/regCalculationLicensing/exportCalLicenceComparisonInfo\",\n params,\n {\n responseType: \"blob\",\n }\n );\n};\n\n/*** Key models set OASIS-16543 获取查询选项*/\nexport const getCalculationRuleSelection = (\n bu: string\n): Promise<{ id: number; name: string }[]> => {\n return fetchPost(\n \"/rvapi/lr/regCalculationRule/getCalculationRuleSelection?bulist=\" + bu\n );\n};\n\n/*** Key models set OASIS-16541 publish*/\nexport const savePublish = (params = {}) => {\n return fetchPost(\"/rvapi/lr/regCalculationPublish/savePublish\", params);\n};\n\n/*** Key models set OASIS-16541 PublishHistoryList*/\nexport const getPublishHistoryList = (params = {}) => {\n return fetchPost(\n \"/rvapi/lr/regCalculationPublish/getPublishHistoryList\",\n {},\n { params }\n );\n};\n\n/*** Key models set OASIS-16537 查询列表*/\nexport const getExemptionList = (params = {}) => {\n return fetchPost(\"/rvapi/lr/exemptionRuleBasic/page/list\", params);\n};\n/*** Key models set OASIS-16537 删除表格数据*/\nexport const deleteExemptionApi = (id: string) => {\n return fetchPost(\"/rvapi/lr/exemptionRuleBasic/delete?id=\" + id);\n};\n/*** Key models set OASIS-16537 下载vinList*/\nexport const downloadExportVinListData = (\n params = {}\n): Promise> => {\n return axios.post(\"rvapi/lr/exemptionRuleBasic/exportVinListData\", params, {\n responseType: \"blob\",\n });\n};\n/*** Key models set OASIS-16537 下载BasicData*/\nexport const downloadExportBasicData = (\n params = {}\n): Promise> => {\n return axios.post(\"rvapi/lr/exemptionRuleBasic/exportBasicData\", params, {\n responseType: \"blob\",\n });\n};\n\n/*** Key models set OASIS-16538 view获取信息*/\nexport const getDetail = (params = {}) => {\n return fetchGet(\"rvapi/lr/exemptionRuleBasic/detail\", { params });\n};\n/*** Key models set OASIS-16538 view获取信息*/\nexport const CreateExemptionCode = () => {\n return fetchGet(\"rvapi/lr/exemptionRuleBasic/createExemptionCode\");\n};\n\n// get customize vin list\nexport const getCustomizeVinList = (params = {}) => {\n return fetchPost(\"/rvapi/lr/exemptionRuleVinDetail/customizeVinList\", params);\n};\n// delete exemption vin detail\nexport const deleteCustomizeVin = (params = {}) => {\n return fetchPost(\"/rvapi/lr/exemptionRuleVinDetail/delete\", {}, { params });\n};\n// get exemption rule vin list\nexport const getExemptionRuleVinList = (params = {}) => {\n return fetchPost(\n \"/rvapi/lr/exemptionRuleVinDetail/exemptionRuleVinList\",\n {},\n { params }\n );\n};\n// save exemption rule\nexport const saveContent = (params = {}) => {\n return fetchPost(\"/rvapi/lr/exemptionRuleBasic/saveExemptionRule\", params);\n};\n// save exemption rule\nexport const createContent = (params = {}) => {\n return fetchPost(\"/rvapi/lr/exemptionRuleBasic/createExemptionRule\", params);\n};\n// import excel for exemption rule\n// export const importExemptionRuleExcel = (params = {}) => {\n// return fetchPost('/rvapi/lr/exemptionRuleVinDetail/import/{basicId}', params)\n// }\n\n/**\n * [CR]车辆上牌情况 Query report data info\n * @returns\n */\nexport const queryReportDataInfo = (params = {}) => {\n return fetchPost(\"/rvapi/lr/regLicenseInfo/queryReportDataInfo\", params);\n};\n\n/** Local registration_Focus area rule set OASIS-16533 */\n\nexport const getCategoryList = (): Promise => {\n return fetchGet(\"/rvapi/lr/locRegAreaRule/getCategoryList\");\n};\n\nexport const publishDateList = (): Promise => {\n return fetchGet(\"/rvapi/lr/locRegAreaRule/publish/date/list\");\n};\n\nexport const getAreaRuleList = (publishDate: string): Promise => {\n return fetchGet(`/rvapi/lr/locRegAreaRule/list/${publishDate}`);\n};\n\nexport const dealerApplicableTypeClassMap = (): Promise<\n Record\n> => {\n return fetchPost(\"/rvapi/lr/bussinessConfig/dealerApplicableTypeClassMap\");\n};\n\nexport const getAreaRuleSelectedProvinces = (\n locId: number\n): Promise => {\n return fetchGet(`/rvapi/lr/locRegAreaRuleBlack/province/list/${locId}`);\n};\n\nexport const getAreaRuleSelectedCities = (\n locId: number,\n provineId: number,\n provinceCode: string\n): Promise => {\n return fetchGet(\n `/rvapi/lr/locRegAreaRuleBlack/city/list/${locId}/${provineId}/${provinceCode}`\n );\n};\n\nexport const saveAreaRuleInfo = (params: AreaRuleParams) => {\n return fetchPost(\"/rvapi/lr/locRegAreaRule/saveAreaRuleInfo\", params);\n};\n\n// 16539 16540 接口\n// bu ruleName ruleCode 查询表格数据\nexport const getCalculationRuleList = (params = {}) => {\n return fetchPost(\n \"/rvapi/lr/regCalculationRule/getCalculationRuleList\",\n {},\n { params }\n );\n};\n// 根据id 删除一行数据\nexport const deleteCalculationRule = (params = {}) => {\n return fetchPost(\"/rvapi/lr/regCalculationRule/delete\", {}, { params });\n};\n//TODO 对应什么需求?\nexport const getDefaultRule = (params = {}) => {\n return fetchPost(\n \"/rvapi/lr/regCalculationRule/getDefaultRule\",\n {},\n { params }\n );\n};\n//TODO 对应什么需求?\nexport const getRegisSelection = (params = {}) => {\n return fetchPost(\n \"/rvapi/lr/regCalculationRule/getRegisSelection\",\n {},\n { params }\n );\n};\n// Add 的时候添加新的 rulecode\nexport const createNewRuleCode = () => {\n return fetchPost(\"/rvapi/lr/regCalculationRule/getRuleCode\");\n};\n//TODO 对应什么需求?\nexport const getRuleNameVague = (params = {}) => {\n return fetchPost(\n \"/rvapi/lr/regCalculationRule/getRuleNameVague\",\n {},\n { params }\n );\n};\n// 新建 lr rule\nexport const getExemptionCodeList = (params = {}) => {\n return fetchPost(\"/rvapi/lr/exemptionRuleBasic/exemptionCodeList\", params);\n};\n// 新建 lr rule\nexport const saveCalculationRule = (params = {}) => {\n return fetchPost(\"/rvapi/lr/regCalculationRule/saveCalculationRule\", params);\n};\n// 更新 lr rule\nexport const updateCalculationRule = (params = {}) => {\n return fetchPost(\"/rvapi/lr/regCalculationRule/update\", params);\n};\n\n// calculation 抽屉接口\nexport const calculationExecute = (params = {}) => {\n return fetchPost(\"/rvapi/lr/regCalculationLicensing/execute\", params);\n};\n\n/** Dealer Checking Result Page OASIS-16545 */\nexport const getLocRegCollectResults = (\n params = {},\n query = { current: 1, size: 20 }\n): Promise => {\n return fetchPost(\n `/rvapi/lr/regCalculationLicensing/getLocRegCollectResults?current=${query.current}&size=${query.size}`,\n params\n );\n};\n\nexport const exportLocRegCollectResults = (\n bu: string,\n startTime: string,\n endTime: string,\n userDealerCode: string\n): Promise> => {\n return axios.post(\n \"/rvapi/lr/regCalculationLicensing/exportLocRegCollectResults\",\n {\n bu,\n startTime,\n endTime,\n userDealerCode,\n },\n {\n responseType: \"blob\",\n }\n );\n};\n\n/** Local registration_Registration validity set OASIS-16525 */\nexport const saveValidity = (params = {}): Promise => {\n return fetchPost(\"/rvapi/lr/validity/save\", params);\n};\n\nexport const validityPublishDate = (): Promise => {\n return fetchGet(\"/rvapi/lr/validity/publishDate\");\n};\nexport const getCalculateDateFrom = (params = {}): Promise => {\n return fetchPost(\n \"/rvapi/lr/regCalculationRule/calculateDateFrom\",\n {},\n { params }\n );\n};\nexport const getProcessList = (params = {}): Promise => {\n return fetchGet(\"/rvapi/lr/regCalculationLicensing/processList\", { params });\n};\nexport const cancelCalculate = (params = {}): Promise => {\n return fetchPost(\"/rvapi/lr/regCalculationLicensing/cancelCalculate\", {}, { params });\n};\n\nexport const getRegionCalculationRuleSelection = (\n params = {}\n): Promise => {\n return fetchPost(\n \"/rvapi/lr/regCalculationRule/getRegionCalculationRuleSelection\",\n {},\n { params }\n );\n};\n\nexport const getGroupCalculationRuleSelection = (\n bulist: string[],\n usage?: \"Y\"\n): Promise => {\n return fetchPost(\n \"/rvapi/lr/regCalculationRule/getGroupCalculationRuleSelection\",\n {},\n {\n params: {\n bulist,\n usage,\n },\n }\n );\n};\n\nexport const queryBlankDealer = (params = {}) => {\n return fetchPost(\"rvapi/lr/locRegDealerBasicInfo/queryBlankDealer\", params);\n};\n\nexport const updatePublishType = (params = {}) => {\n return fetchPost(\n \"rvapi/lr/regCalculationPublish/updatePublishType\",\n {},\n { params }\n );\n};\n","import { createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-999dd42a\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"d-f\" }\nconst _hoisted_2 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"line\" }, null, -1))\nconst _hoisted_3 = { class: \"text\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _hoisted_2,\n _createElementVNode(\"span\", _hoisted_3, _toDisplayString(_ctx.text), 1)\n ]))\n}","\nimport { defineComponent } from 'vue'\nexport default defineComponent({\n props: {\n text: {\n type: String\n }\n }\n})\n","import { render } from \"./title.vue?vue&type=template&id=999dd42a&scoped=true&ts=true\"\nimport script from \"./title.vue?vue&type=script&lang=ts\"\nexport * from \"./title.vue?vue&type=script&lang=ts\"\n\nimport \"./title.vue?vue&type=style&index=0&id=999dd42a&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-999dd42a\"]])\n\nexport default __exports__","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./index.vue?vue&type=style&index=0&id=7706d48d&lang=scss&scoped=true\""],"sourceRoot":""}