{"version":3,"sources":["webpack:///./src/assets/images/date-icon.svg","webpack:///./src/views/Payment/components/EntitySelector.vue?bdb4","webpack:///./src/views/Payment/components/EntitySelector.vue","webpack:///./src/views/Payment/components/EntitySelector.vue?1a1c","webpack:///./src/assets/images/rv/upload.svg","webpack:///./src/views/Payment/BU/DealerSetting/index.vue?90f0","webpack:///./src/views/Payment/BU/DealerSetting/collapseTable.vue?66a7","webpack:///./src/views/Payment/BU/DealerSetting/collapseTable.vue","webpack:///./src/views/Payment/BU/DealerSetting/collapseTable.vue?2f23","webpack:///./src/hooks/payment/bu/useDealerSetting.ts","webpack:///./src/views/Payment/BU/DealerSetting/uploadFile.vue?de53","webpack:///./src/views/Payment/BU/DealerSetting/uploadFile.vue","webpack:///./src/views/Payment/BU/DealerSetting/uploadFile.vue?2f9f","webpack:///./src/views/Payment/BU/DealerSetting/normalUploadFile.vue?6787","webpack:///./src/views/Payment/BU/DealerSetting/normalUploadFile.vue","webpack:///./src/views/Payment/BU/DealerSetting/normalUploadFile.vue?9494","webpack:///./src/views/Payment/BU/DealerSetting/normalDealerDpDrawer.vue?7261","webpack:///./src/views/Payment/BU/DealerSetting/normalDealerDpDrawer.vue","webpack:///./src/views/Payment/BU/DealerSetting/normalDealerDpDrawer.vue?18a9","webpack:///./src/views/Payment/BU/DealerSetting/nameUploadFile.vue?2dd2","webpack:///./src/views/Payment/BU/DealerSetting/nameUploadFile.vue","webpack:///./src/views/Payment/BU/DealerSetting/nameUploadFile.vue?0a7e","webpack:///./src/views/Payment/BU/DealerSetting/index.vue","webpack:///./src/views/Payment/BU/DealerSetting/index.vue?3ee7","webpack:///./src/utils/rv/downloadFile.ts","webpack:///./src/views/Payment/BU/DealerSetting/normalUploadFile.vue?18c5","webpack:///./src/views/Payment/BU/DealerSetting/index.vue?2d9f","webpack:///./src/views/Payment/BU/DealerSetting/normalUploadFile.vue?1a68","webpack:///./src/views/Payment/BU/DealerSetting/uploadFile.vue?a8f9","webpack:///./src/views/Payment/BU/DealerSetting/uploadFile.vue?068a","webpack:///./src/views/Payment/BU/DealerSetting/nameUploadFile.vue?9fe3","webpack:///./src/views/Payment/BU/DealerSetting/normalDealerDpDrawer.vue?e1fb","webpack:///./src/assets/images/claim/rect.png","webpack:///./src/views/Payment/BU/DealerSetting/normalDealerDpDrawer.vue?cecf","webpack:///./src/views/Payment/components/YearPicker.vue?b314","webpack:///./src/views/Payment/components/YearPicker.vue","webpack:///./src/views/Payment/components/YearPicker.vue?5fcf","webpack:///./src/views/Payment/BU/DealerSetting/nameUploadFile.vue?cf1e","webpack:///./src/hooks/useModel.ts","webpack:///./src/views/Payment/BU/DealerSetting/collapseTable.vue?1388","webpack:///./src/utils/claim/downloadFile.ts","webpack:///./src/utils/payment/useStripedRowClass.ts","webpack:///./src/utils/payment/numberFormat.ts","webpack:///./src/utils/payment/useThousandsAndTwoDecimal.ts"],"names":["module","exports","render","_ctx","_cache","$props","$setup","$data","$options","_component_a_select_option","_component_a_select","$attrs","value","_value","$event","placeholder","default","entityList","entity","key","entityName","vlaue","_","props","isDefault","type","Boolean","String","setup","state","useModel","user","length","setDefaultValue","reset","__exports__","_withScopeId","n","_hoisted_1","class","_hoisted_2","_hoisted_3","_hoisted_4","_hoisted_5","src","_hoisted_6","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_11","_hoisted_12","_hoisted_13","_hoisted_14","_hoisted_15","_hoisted_16","_hoisted_17","_hoisted_18","_hoisted_19","_hoisted_20","_hoisted_21","_hoisted_22","_hoisted_23","_hoisted_24","_hoisted_25","_hoisted_26","_hoisted_27","_hoisted_28","_hoisted_29","_hoisted_30","_hoisted_31","style","_hoisted_32","_hoisted_33","_hoisted_34","_hoisted_35","_hoisted_36","_hoisted_37","_hoisted_38","_hoisted_39","_hoisted_40","_component_Breadcrumb","_component_YearPicker","_component_entity_selector","_component_a_input","_component_a_button","_component_RightOutlined","_component_collapse_table","_component_a_collapse_panel","_component_a_table","_component_a_collapse","_component_upload_file","_component_normal_upload_file","_component_normal_dealer_dp_drawer","_component_name_upload_file","dataSource","name","$t","query","year","allowClear","onPanelChange","searchRound","payoutRound","roundList","item","ref","dealerName","dealerCode","region","dealerGroup","onClick","search","handleNameDrawerOpen","handleNormalDrawerOpen","handleRiskDrawerOpen","handleDownloadClick","activeKey","expandIconPosition","expandIcon","isActive","rotate","header","column","data","RiskDelearData","NormalDelearData","NORMAL","columns","rowKey","pagination","rowClassName","getRowClass","round","onChangeTable","handleDatachange","visible","uploadVisible","title","uploadTitle","normalUploadVisible","dpProcessPayoutRound","onChildEvent","handleChildEvent","nameUploadVisible","_data","index","toString","Object","keys","defalut","Array","useStripedRowClass","arr","push","console","log","components","RightOutlined","useDealerSetting","entityRef","dataIndex","width","customRender","useThousandsAndTwoDecimal","align","dealerCodeRes","dealerNameRes","dealerRegionRes","dealerGroupRes","dealerCodeList","dealerNameList","dealerRegionList","dealerGroupList","res","normalDealer","riskDealer","roundRes","params","month","format","then","undefined","_query","initCondition","Promise","resolve","handleDownload","url","method","fileName","normalDpUploadVisible","_component_a_upload_dragger","_component_a_progress","_component_CheckCircleOutlined","_component_a_drawer","_component_ExclamationCircleOutlined","_component_a_modal","_title","placement","_visible","disabled","listType","showUploadList","multiple","beforeUpload","customRequest","uploadRequest","uploadStatus","curUploadFile","percent","curPercent","strokeColor","uploadFileSize","handleBrowse","uploadFile","handleCancel","importFile","downloadModalVisible","onOk","centered","footer","cancelTip","loading","handleCheckedMsgDownload","downloadTipsText","emptyVisible","emptyTipsText","context","val","formData","FormData","file","isXlsx","message","error","isLt5M","size","payment","maxFileSize","source","has","delete","append","toFixed","Math","floor","fileId","code","success","warning","content","emit","Date","downloadParams","CheckCircleOutlined","ExclamationCircleOutlined","EntitySelector","_arr","map","filter","includes","_hoisted_41","_hoisted_42","_hoisted_43","maskStyle","handleVisibleChange","autoUpdateForm","bu","mode","buOptions","option","handleUpdate","manualUpdateForm","headers","downloadFile","buList","ele","parentId","nameCn","setQuery","_roundRes","YearPicker","_res","nameUpload","open","collapseTable","NormalUploadFile","NormalDealerDpDrawer","NameUploadFile","options","config","responseType","reject","blob","Blob","downloadElement","document","createElement","href","window","URL","createObjectURL","download","now","body","appendChild","click","removeChild","revokeObjectURL","catch","alt","_component_a_date_picker","yearValue","isOpen","onOpenChange","handleOpenChange","handlePanelChange","suffixIcon","emits","get","set","status","str","lastIndexOf","substring","decodeURIComponent","record","toThousandsAndTwoDecimal","count","indexOf","Number","replace","$0","$1","toThousands","text"],"mappings":"qGAAAA,EAAOC,QAAU,IAA0B,8B,oDCEpC,SAASC,EAAOC,EAAUC,EAAYC,EAAYC,EAAYC,EAAWC,GAC9E,IAAMC,EAA6B,8BAAkB,mBAC/CC,EAAsB,8BAAkB,YAE9C,OAAQ,yBAAc,yBAAaA,EAAqB,wBAAYP,EAAKQ,OAAQ,CAC/EC,MAAOT,EAAKU,OACZ,iBAAkBT,EAAO,KAAOA,EAAO,GAAK,SAACU,GAAgB,OAAEX,EAAW,OAAIW,IAC9EC,YAAa,kBACX,CACFC,QAAS,sBAAS,WAAM,QACrB,wBAAW,GAAO,gCAAoB,cAAW,KAAM,wBAAYb,EAAKc,YAAY,SAACC,GACpF,OAAQ,yBAAc,yBAAaT,EAA4B,CAC7DU,IAAKD,EAAOE,WACZC,MAAOH,EAAOE,YACb,CACDJ,QAAS,sBAAS,WAAM,OACtB,6BAAiB,6BAAiBE,EAAOE,YAAa,OAExDE,EAAG,GACF,KAAM,CAAC,aACR,UAENA,EAAG,GACF,GAAI,CAAC,U,4BCrBK,+BAAgB,CAC7BC,MAAO,CACLC,UAAW,CACTC,KAAMC,QACNV,SAAS,GAEXJ,MAAO,CACLa,KAAME,SAGVC,MAAK,SAACL,GACJ,IAeQM,EAAU,iBAAU,MACtBhB,EAAS,OAAAiB,EAAA,MAASP,EAAO,SACzBN,EAAaY,EAAME,KAAKd,WAAWe,OAASH,EAAME,KAAKd,WAAa,CACxE,CACEG,WAAY,QAEd,CACEA,WAAY,QAEd,CACEA,WAAY,QAEd,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AyL,QAAQ,uBAAuB,SAASC,EAAIC,GAC3C,OAAOA,EAAK,OAEbF,QAAQ,MAAO,KAGPG,EAAc,SAACN,GAC1B,QAAcnJ,IAAVmJ,EACF,MAAO,GAET,GAAqB,kBAAVA,EAAoB,CAC7B,IAA4B,IAAxBA,EAAMC,QAAQ,KAChB,OAA4B,IAAxBD,EAAMC,QAAQ,KACTD,EAAMJ,UAAU,EAAGI,EAAMC,QAAQ,KAAO,GAExCD,EAGXA,EAAQE,OAAOF,GAGjB,OADAA,EAAQpF,KAAKhH,MAAMoM,GACZA,EACJtL,WACAyL,QAAQ,uBAAuB,S,kCC7CpC,4BAEMxK,EAA4B,WAC9B,OAAO,SAAC,G,IAAC4K,EAAI,OAGT,OAAO,eAAE,OAAQ,eAAyBA,MAGjC","file":"js/chunk-9b480162.346f37ec.js","sourcesContent":["module.exports = __webpack_public_path__ + \"img/date-icon.b14f3d24.svg\";","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(_ctx.$attrs, {\n value: _ctx._value,\n \"onUpdate:value\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx._value) = $event)),\n placeholder: \"Please select\"\n }), {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.entityList, (entity) => {\n return (_openBlock(), _createBlock(_component_a_select_option, {\n key: entity.entityName,\n vlaue: entity.entityName\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(entity.entityName), 1)\n ]),\n _: 2\n }, 1032, [\"vlaue\"]))\n }), 128))\n ]),\n _: 1\n }, 16, [\"value\"]))\n}","\nimport { defineComponent, PropType } from \"vue\";\nimport { useStore } from \"vuex\";\nimport useModel from \"@/hooks/useModel\";\nexport default defineComponent({\n props: {\n isDefault: {\n type: Boolean,\n default: false,\n },\n value: {\n type: String as PropType,\n },\n },\n setup(props) {\n const mockData = [\n // {\n // entityName: \"BBAC\",\n // },\n {\n entityName: \"FBAC\",\n },\n {\n entityName: \"MBCL\",\n },\n {\n entityName: \"DENZA\",\n },\n ];\n\n const { state } = useStore();\n const _value = useModel(props, \"value\");\n const entityList = state.user.entityList.length ? state.user.entityList : [\n {\n entityName: \"BBAC\",\n },\n {\n entityName: \"FBAC\",\n },\n {\n entityName: \"MBCL\",\n },\n {\n entityName: \"DENZA\",\n },\n ]\n // const entityList = mockData;\n const setDefaultValue = () => {\n if (props.isDefault && !_value.value) {\n if (entityList.length > 0) {\n _value.value = entityList[0].entityName;\n } else {\n _value.value = ''\n }\n }\n };\n const reset = () => {\n if (props.isDefault) {\n if (entityList.length > 0) {\n _value.value = entityList[0].entityName;\n } else {\n _value.value = ''\n }\n } \n };\n setDefaultValue();\n return {\n entityList,\n _value,\n reset\n };\n },\n});\n","import { render } from \"./EntitySelector.vue?vue&type=template&id=60a88b4d&ts=true\"\nimport script from \"./EntitySelector.vue?vue&type=script&lang=ts\"\nexport * from \"./EntitySelector.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__","module.exports = __webpack_public_path__ + \"img/upload.e4734716.svg\";","import { resolveComponent as _resolveComponent, createVNode as _createVNode, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createTextVNode as _createTextVNode, withCtx as _withCtx, createBlock as _createBlock, createCommentVNode as _createCommentVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nimport _imports_0 from '@/assets/images/claim/rect.png'\n\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-7b82519a\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"payment-container\" }\nconst _hoisted_2 = { class: \"payment-overview-block-wrapper\" }\nconst _hoisted_3 = { class: \"payment-overview-block\" }\nconst _hoisted_4 = { class: \"page-title\" }\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", {\n src: _imports_0,\n class: \"rect\"\n}, null, -1))\nconst _hoisted_6 = { class: \"wrap-title\" }\nconst _hoisted_7 = { class: \"payment-search-wrapper\" }\nconst _hoisted_8 = { class: \"payment-search-row\" }\nconst _hoisted_9 = { class: \"search-item\" }\nconst _hoisted_10 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { class: \"label\" }, \" Payout Year \", -1))\nconst _hoisted_11 = { class: \"search-item\" }\nconst _hoisted_12 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { class: \"label\" }, \" Payout Round \", -1))\nconst _hoisted_13 = { class: \"search-item\" }\nconst _hoisted_14 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { class: \"label\" }, \" Entity \", -1))\nconst _hoisted_15 = { class: \"search-item\" }\nconst _hoisted_16 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { class: \"label\" }, \" Dealer Name \", -1))\nconst _hoisted_17 = { class: \"search-item\" }\nconst _hoisted_18 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { class: \"label\" }, \" Dealer Code \", -1))\nconst _hoisted_19 = { class: \"payment-search-row m-t-16\" }\nconst _hoisted_20 = { class: \"search-item\" }\nconst _hoisted_21 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { class: \"label\" }, \" Region \", -1))\nconst _hoisted_22 = { class: \"search-item\" }\nconst _hoisted_23 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { class: \"label\" }, \" Dealer Group \", -1))\nconst _hoisted_24 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"search-item\" }, null, -1))\nconst _hoisted_25 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"search-item\" }, null, -1))\nconst _hoisted_26 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"search-item\" }, null, -1))\nconst _hoisted_27 = { class: \"search-btn\" }\nconst _hoisted_28 = /*#__PURE__*/_createTextVNode(\" Reset \")\nconst _hoisted_29 = /*#__PURE__*/_createTextVNode(\" Search \")\nconst _hoisted_30 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", null, null, -1))\nconst _hoisted_31 = {\n class: \"payment-overview-block\",\n style: {\"margin-top\":\"10px\"}\n}\nconst _hoisted_32 = { class: \"control-wrapper\" }\nconst _hoisted_33 = /*#__PURE__*/_createTextVNode(\" Name/Code Changing \")\nconst _hoisted_34 = /*#__PURE__*/_createTextVNode(\" Normal Dealer \")\nconst _hoisted_35 = /*#__PURE__*/_createTextVNode(\" Risk Dealer \")\nconst _hoisted_36 = /*#__PURE__*/_createTextVNode(\" Download \")\nconst _hoisted_37 = { class: \"collapse-wrapper\" }\nconst _hoisted_38 = {\n class: \"collapse-icon-wrapper\",\n style: {\"padding\":\"5px\",\"background\":\"white\",\"border-radius\":\"20px\"}\n}\nconst _hoisted_39 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"collapse-large-title\" }, \"Risk Dealer\", -1))\nconst _hoisted_40 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"collapse-large-title\" }, \"Normal Dealer\", -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_YearPicker = _resolveComponent(\"YearPicker\")!\n const _component_a_select_option = _resolveComponent(\"a-select-option\")!\n const _component_a_select = _resolveComponent(\"a-select\")!\n const _component_entity_selector = _resolveComponent(\"entity-selector\")!\n const _component_a_input = _resolveComponent(\"a-input\")!\n const _component_a_button = _resolveComponent(\"a-button\")!\n const _component_RightOutlined = _resolveComponent(\"RightOutlined\")!\n const _component_collapse_table = _resolveComponent(\"collapse-table\")!\n const _component_a_collapse_panel = _resolveComponent(\"a-collapse-panel\")!\n const _component_a_table = _resolveComponent(\"a-table\")!\n const _component_a_collapse = _resolveComponent(\"a-collapse\")!\n const _component_upload_file = _resolveComponent(\"upload-file\")!\n const _component_normal_upload_file = _resolveComponent(\"normal-upload-file\")!\n const _component_normal_dealer_dp_drawer = _resolveComponent(\"normal-dealer-dp-drawer\")!\n const _component_name_upload_file = _resolveComponent(\"name-upload-file\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createVNode(_component_Breadcrumb, {\n dataSource: [{ name: _ctx.$t('payment.paymentDealerStatus') }]\n }, null, 8, [\"dataSource\"]),\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"section\", _hoisted_4, [\n _hoisted_5,\n _createElementVNode(\"strong\", _hoisted_6, _toDisplayString(_ctx.$t(\"payment.paymentDealerStatus\")), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_7, [\n _createElementVNode(\"div\", _hoisted_8, [\n _createElementVNode(\"div\", _hoisted_9, [\n _hoisted_10,\n _createVNode(_component_YearPicker, {\n value: _ctx.query.year,\n \"onUpdate:value\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.query.year) = $event)),\n class: \"sel-inp-size\",\n allowClear: false,\n placeholder: \"Please select\",\n onPanelChange: _cache[1] || (_cache[1] = () => _ctx.searchRound())\n }, null, 8, [\"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_11, [\n _hoisted_12,\n _createVNode(_component_a_select, {\n allowClear: \"\",\n value: _ctx.query.payoutRound,\n \"onUpdate:value\": _cache[2] || (_cache[2] = ($event: any) => ((_ctx.query.payoutRound) = $event)),\n class: \"sel-inp-size\",\n placeholder: \"Please select\"\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.roundList, (item) => {\n return (_openBlock(), _createBlock(_component_a_select_option, { key: item }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(item), 1)\n ]),\n _: 2\n }, 1024))\n }), 128))\n ]),\n _: 1\n }, 8, [\"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_13, [\n _hoisted_14,\n _createVNode(_component_entity_selector, {\n value: _ctx.query.entity,\n \"onUpdate:value\": _cache[3] || (_cache[3] = ($event: any) => ((_ctx.query.entity) = $event)),\n ref: \"entityRef\",\n isDefault: true\n }, null, 8, [\"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_15, [\n _hoisted_16,\n _createVNode(_component_a_input, {\n value: _ctx.query.dealerName,\n \"onUpdate:value\": _cache[4] || (_cache[4] = ($event: any) => ((_ctx.query.dealerName) = $event)),\n class: \"sel-inp-size\",\n placeholder: \"Please input\"\n }, null, 8, [\"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_17, [\n _hoisted_18,\n _createVNode(_component_a_input, {\n value: _ctx.query.dealerCode,\n \"onUpdate:value\": _cache[5] || (_cache[5] = ($event: any) => ((_ctx.query.dealerCode) = $event)),\n class: \"sel-inp-size\",\n placeholder: \"Please input\"\n }, null, 8, [\"value\"])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_19, [\n _createElementVNode(\"div\", _hoisted_20, [\n _hoisted_21,\n _createVNode(_component_a_input, {\n value: _ctx.query.region,\n \"onUpdate:value\": _cache[6] || (_cache[6] = ($event: any) => ((_ctx.query.region) = $event)),\n class: \"sel-inp-size\",\n placeholder: \"Please input\"\n }, null, 8, [\"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_22, [\n _hoisted_23,\n _createVNode(_component_a_input, {\n value: _ctx.query.dealerGroup,\n \"onUpdate:value\": _cache[7] || (_cache[7] = ($event: any) => ((_ctx.query.dealerGroup) = $event)),\n class: \"sel-inp-size\",\n placeholder: \"Please input\"\n }, null, 8, [\"value\"])\n ]),\n _hoisted_24,\n _hoisted_25,\n _hoisted_26\n ]),\n _createElementVNode(\"div\", _hoisted_27, [\n _createVNode(_component_a_button, {\n style: {\"margin-right\":\"15px\"},\n onClick: _ctx.reset\n }, {\n default: _withCtx(() => [\n _hoisted_28\n ]),\n _: 1\n }, 8, [\"onClick\"]),\n _createVNode(_component_a_button, {\n type: \"primary\",\n onClick: _ctx.search\n }, {\n default: _withCtx(() => [\n _hoisted_29\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ])\n ]),\n _hoisted_30\n ]),\n _createElementVNode(\"div\", _hoisted_31, [\n _createElementVNode(\"div\", _hoisted_32, [\n _createVNode(_component_a_button, {\n style: {\"margin-right\":\"15px\"},\n onClick: _ctx.handleNameDrawerOpen\n }, {\n default: _withCtx(() => [\n _hoisted_33\n ]),\n _: 1\n }, 8, [\"onClick\"]),\n _createVNode(_component_a_button, {\n style: {\"margin-right\":\"15px\"},\n onClick: _ctx.handleNormalDrawerOpen\n }, {\n default: _withCtx(() => [\n _hoisted_34\n ]),\n _: 1\n }, 8, [\"onClick\"]),\n _createVNode(_component_a_button, {\n style: {\"margin-right\":\"15px\"},\n onClick: _ctx.handleRiskDrawerOpen\n }, {\n default: _withCtx(() => [\n _hoisted_35\n ]),\n _: 1\n }, 8, [\"onClick\"]),\n _createVNode(_component_a_button, { onClick: _ctx.handleDownloadClick }, {\n default: _withCtx(() => [\n _hoisted_36\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ]),\n _createElementVNode(\"div\", _hoisted_37, [\n _createVNode(_component_a_collapse, {\n activeKey: _ctx.activeKey,\n \"onUpdate:activeKey\": _cache[8] || (_cache[8] = ($event: any) => ((_ctx.activeKey) = $event)),\n expandIconPosition: \"right\"\n }, {\n expandIcon: _withCtx(({ isActive }) => [\n _createElementVNode(\"span\", _hoisted_38, [\n _createVNode(_component_RightOutlined, {\n rotate: isActive ? 90 : 0\n }, null, 8, [\"rotate\"])\n ])\n ]),\n default: _withCtx(() => [\n _createVNode(_component_a_collapse_panel, { key: \"1\" }, {\n header: _withCtx(() => [\n _hoisted_39\n ]),\n default: _withCtx(() => [\n _createVNode(_component_collapse_table, {\n column: _ctx.column,\n data: _ctx.RiskDelearData\n }, null, 8, [\"column\", \"data\"])\n ]),\n _: 1\n }),\n _createVNode(_component_a_collapse_panel, { key: \"2\" }, {\n header: _withCtx(() => [\n _hoisted_40\n ]),\n default: _withCtx(() => [\n (\n _ctx.NormalDelearData &&\n _ctx.NormalDelearData.NORMAL &&\n _ctx.NormalDelearData.NORMAL.length\n )\n ? (_openBlock(), _createBlock(_component_a_table, {\n key: 0,\n dataSource: _ctx.NormalDelearData.NORMAL,\n columns: _ctx.column,\n rowKey: \"id\",\n pagination: false,\n rowClassName: _ctx.getRowClass,\n style: {\"margin-bittom\":\"15px\"}\n }, null, 8, [\"dataSource\", \"columns\", \"rowClassName\"]))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_collapse_table, {\n type: \"normal\",\n column: _ctx.column,\n data: _ctx.NormalDelearData\n }, null, 8, [\"column\", \"data\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"activeKey\"])\n ])\n ])\n ])\n ]),\n _createVNode(_component_upload_file, {\n round: _ctx.payoutRound,\n onChangeTable: _ctx.handleDatachange,\n visible: _ctx.uploadVisible,\n \"onUpdate:visible\": _cache[9] || (_cache[9] = ($event: any) => ((_ctx.uploadVisible) = $event)),\n title: _ctx.uploadTitle\n }, null, 8, [\"round\", \"onChangeTable\", \"visible\", \"title\"]),\n _createVNode(_component_normal_upload_file, {\n round: _ctx.payoutRound,\n onChangeTable: _ctx.handleDatachange,\n visible: _ctx.normalUploadVisible,\n \"onUpdate:visible\": _cache[10] || (_cache[10] = ($event: any) => ((_ctx.normalUploadVisible) = $event)),\n title: _ctx.uploadTitle\n }, null, 8, [\"round\", \"onChangeTable\", \"visible\", \"title\"]),\n _createVNode(_component_normal_dealer_dp_drawer, {\n entity: _ctx.query.entity,\n round: _ctx.dpProcessPayoutRound,\n onChangeTable: _ctx.handleDatachange,\n visible: _ctx.normalUploadVisible,\n \"onUpdate:visible\": _cache[11] || (_cache[11] = ($event: any) => ((_ctx.normalUploadVisible) = $event)),\n onChildEvent: _ctx.handleChildEvent,\n title: _ctx.uploadTitle\n }, null, 8, [\"entity\", \"round\", \"onChangeTable\", \"visible\", \"onChildEvent\", \"title\"]),\n _createVNode(_component_name_upload_file, {\n ref: \"nameUpload\",\n onChangeTable: _ctx.handleDatachange,\n visible: _ctx.nameUploadVisible,\n \"onUpdate:visible\": _cache[12] || (_cache[12] = ($event: any) => ((_ctx.nameUploadVisible) = $event)),\n title: _ctx.uploadTitle\n }, null, 8, [\"onChangeTable\", \"visible\", \"title\"])\n ], 64))\n}","import { resolveComponent as _resolveComponent, createVNode as _createVNode, createElementVNode as _createElementVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, vShow as _vShow, withCtx as _withCtx, createBlock as _createBlock, withDirectives as _withDirectives, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-af50974e\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n class: \"collapse-icon-wrapper\",\n style: {\"padding\":\"5px\",\"background\":\"white\",\"border-radius\":\"20px\"}\n}\nconst _hoisted_2 = { class: \"collapse-large-title\" }\nconst _hoisted_3 = { class: \"no-data\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_RightOutlined = _resolveComponent(\"RightOutlined\")!\n const _component_a_table = _resolveComponent(\"a-table\")!\n const _component_a_collapse_panel = _resolveComponent(\"a-collapse-panel\")!\n const _component_a_collapse = _resolveComponent(\"a-collapse\")!\n\n return (_openBlock(), _createBlock(_component_a_collapse, {\n activeKey: _ctx.activeKey,\n \"onUpdate:activeKey\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.activeKey) = $event)),\n expandIconPosition: \"right\",\n class: \"payment-collapse-wrapper\"\n }, {\n expandIcon: _withCtx(({ isActive }) => [\n _createElementVNode(\"span\", _hoisted_1, [\n _createVNode(_component_RightOutlined, {\n rotate: isActive ? 90 : 0\n }, null, 8, [\"rotate\"])\n ])\n ]),\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx._data, (item, index) => {\n return _withDirectives((_openBlock(), _createBlock(_component_a_collapse_panel, {\n key: index.toString()\n }, {\n header: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_2, _toDisplayString(item.name), 1)\n ]),\n default: _withCtx(() => [\n _createVNode(_component_a_table, {\n dataSource: item.data,\n columns: _ctx.column,\n rowKey: \"id\",\n pagination: false,\n rowClassName: _ctx.getRowClass\n }, null, 8, [\"dataSource\", \"columns\", \"rowClassName\"])\n ]),\n _: 2\n }, 1024)), [\n [_vShow, _ctx._data.length]\n ])\n }), 128)),\n _withDirectives(_createElementVNode(\"div\", _hoisted_3, \" No Data \", 512), [\n [_vShow, (_ctx.data && Object.keys(_ctx.data).length === 0) || !_ctx.data]\n ])\n ]),\n _: 1\n }, 8, [\"activeKey\"]))\n}","\nimport { computed, defineComponent, PropType, ref } from \"vue\";\nimport { RightOutlined } from \"@ant-design/icons-vue\";\nimport useDealerSetting from \"@/hooks/payment/bu/useDealerSetting\";\nimport useStripedRowClass from \"@/utils/payment/useStripedRowClass\";\nimport { ItemProps } from \"./type\";\ntype PropsDataType = { [key: string]: ItemProps[] };\nexport default defineComponent({\n name: \"App\",\n props: {\n data: {\n type: Object as PropType,\n defalut: [],\n },\n column: {\n type: Array,\n },\n type: {\n type: String,\n default: \"risk\",\n },\n },\n setup(props) {\n const activeKey = ref(\"0\");\n // 斑马纹\n const getRowClass = useStripedRowClass();\n const _data = computed(() => {\n const data = props.data ? props.data : [];\n const arr = [];\n for (const key in data) {\n if (key !== \"NORMAL\") {\n arr.push({\n name: key,\n data: data[key],\n });\n }\n }\n console.log(props.type, arr);\n return arr;\n });\n return {\n getRowClass,\n activeKey,\n _data,\n };\n },\n components: {\n RightOutlined,\n },\n});\n","import { render } from \"./collapseTable.vue?vue&type=template&id=af50974e&scoped=true&ts=true\"\nimport script from \"./collapseTable.vue?vue&type=script&lang=ts\"\nexport * from \"./collapseTable.vue?vue&type=script&lang=ts\"\n\nimport \"./collapseTable.vue?vue&type=style&index=0&id=af50974e&scoped=true&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-af50974e\"]])\n\nexport default __exports__","import { computed, onMounted, reactive, ref, Ref, toRaw, toRefs } from \"vue\";\nimport moment from \"moment\";\nimport { useRoute } from \"vue-router\";\nimport { ColumnProps } from \"ant-design-vue/es/table/interface\";\nimport useMock from \"@/utils/payment/useMock\";\nimport useStripedRowClass from \"@/utils/payment/useStripedRowClass\";\nimport useThousandsAndTwoDecimal from \"@/utils/payment/useThousandsAndTwoDecimal\";\nimport useThousands from \"@/utils/payment/useThousands\";\nimport Data from \"@/views/Payment/BU/DealerSetting/mockData\";\nimport downloadFile from \"@/utils/rv/downloadFile\";\nimport { DataProps, ItemProps } from \"@/views/Payment/BU/DealerSetting/type\";\nimport {\n getDealerPayoutCondition,\n getRoundListByDate,\n fetchListDealerSetting,\n fetchListDealerSettingSIPayout\n} from \"@/API/payment\";\nconst useDealerSetting = () => {\n const entityRef = ref()\n // 表头\n const column = ref([\n {\n title: \"Dealer Code\",\n dataIndex: \"dealerCode\",\n },\n {\n title: \"Dealer Name\",\n dataIndex: \"dealerNameCN\",\n },\n {\n title: \"Dealer Group\",\n dataIndex: \"dealerGroup\",\n },\n {\n title: \"Dealer Region\",\n dataIndex: \"region\",\n },\n {\n title: \"Payout Amount w/o VAT\",\n dataIndex: \"amountWOVat\",\n width: 200,\n customRender: useThousandsAndTwoDecimal(),\n align: \"right\",\n },\n {\n title: \"Payout Amount w VAT\",\n dataIndex: \"amountWVat\",\n width: 200,\n customRender: useThousandsAndTwoDecimal(),\n align: \"right\",\n },\n ]);\n // 查询条件\n const query = reactive({\n year: \"\",\n payoutRound: \"\",\n entity: \"\",\n dealerName: \"\",\n dealerCode: \"\",\n region: \"\",\n dealerGroup: \"\",\n });\n // 查询条件的下拉列表\n const dealerCodeRes = ref();\n const dealerNameRes = ref();\n const dealerRegionRes = ref();\n const dealerGroupRes = ref();\n const dealerCodeList = computed(() => {\n return dealerCodeRes.value ? dealerCodeRes.value : [];\n });\n const dealerNameList = computed(() => {\n return dealerNameRes.value ? dealerNameRes.value : [];\n });\n const dealerRegionList = computed(() => {\n return dealerRegionRes.value ? dealerRegionRes.value : [];\n });\n const dealerGroupList = computed(() => {\n return dealerGroupRes.value ? dealerGroupRes.value : [];\n });\n // 获取折叠面板表格数据\n const res = ref();\n const NormalDelearData = computed(() => {\n return res.value?.normalDealer;\n // return res.value?.data?.data?.normalDealer;\n });\n const RiskDelearData = computed(() => {\n // return res.value?.data?.data?.riskDealer;\n return res.value?.riskDealer;\n });\n // 查询round列表\n const roundRes = ref();\n const roundList = computed(() => {\n return roundRes.value ? roundRes.value : [];\n });\n const searchRound = () => {\n roundRes.value = null;\n query.payoutRound = \"\";\n return getRoundListByDate({\n params: {\n month: 0,\n year: moment(query.year).format(\"YYYY\"),\n type: \"DEALER\",\n },\n }).then((res) => {\n roundRes.value = res;\n query.payoutRound = res.length ? res[0] : undefined;\n });\n };\n const activeKey = ref([]);\n const search = () => {\n const _query = toRaw(query);\n _query.year = moment(query.year).format(\"YYYY\");\n fetchListDealerSettingSIPayout(toRaw(_query)).then((data) => {\n res.value = data;\n activeKey.value = []\n if (typeof data.normalDealer === 'object' && Object.keys(data.normalDealer).length) {\n activeKey.value.push('2')\n }\n if (typeof data.riskDealer === 'object' && Object.keys(data.riskDealer).length) {\n activeKey.value.push('1')\n }\n });\n // useMock(Data, query).then((data) => {\n // console.log(data);\n // res.value = data;\n // });\n };\n const initCondition = () => {\n return new Promise((resolve) => {\n getDealerPayoutCondition().then((res) => {\n query.year = res.year.toString();\n resolve(res);\n });\n });\n };\n onMounted(() => {\n console.log(\"onMounted\");\n initCondition().then(() => {\n return searchRound();\n }).then(() => {\n search();\n });\n });\n const reset = () => {\n roundRes.value = null;\n query.payoutRound = \"\";\n entityRef.value.reset()\n initCondition().then(() => {\n return searchRound();\n }).then(() => {\n search();\n });\n };\n // 操作按钮\n const handleDownload = () => {\n const params = {\n url: \"/ptapi/vendor/export\",\n method: \"post\",\n params: {},\n fileName: \"Vendor Code List.xlsx\",\n };\n downloadFile(params);\n };\n const uploadVisible = ref(false);\n const normalUploadVisible = ref(false);\n const normalDpUploadVisible = ref(false);\n const nameUploadVisible = ref(false);\n const uploadTitle = ref();\n const handleNormalDrawerOpen = () => {\n if (query.entity === 'MBCL') {\n normalUploadVisible.value = true;\n } else {\n normalDpUploadVisible.value = true;\n }\n uploadTitle.value = \"Normal Dealer\";\n };\n const handleRiskDrawerOpen = () => {\n uploadVisible.value = true;\n uploadTitle.value = \"Risk Dealer\";\n };\n // 斑马纹\n const getRowClass = useStripedRowClass();\n return {\n search,\n reset,\n searchRound,\n query,\n column,\n NormalDelearData,\n RiskDelearData,\n roundList,\n roundRes,\n dealerCodeList,\n dealerNameList,\n dealerRegionList,\n dealerGroupList,\n handleDownload,\n uploadVisible,\n normalUploadVisible,\n normalDpUploadVisible,\n nameUploadVisible,\n uploadTitle,\n handleNormalDrawerOpen,\n handleRiskDrawerOpen,\n getRowClass,\n entityRef,\n activeKey\n };\n};\nexport default useDealerSetting;\n","import { createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, vShow as _vShow, withDirectives as _withDirectives, toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createBlock as _createBlock, Fragment as _Fragment, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nimport _imports_0 from '@/assets/images/rv/upload.svg'\n\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-3654b2aa\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"payment-search-wrapper\" }\nconst _hoisted_2 = { class: \"payment-search-row\" }\nconst _hoisted_3 = { class: \"search-item\" }\nconst _hoisted_4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { class: \"label\" }, \" Entity \", -1))\nconst _hoisted_5 = { class: \"search-item\" }\nconst _hoisted_6 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { class: \"label\" }, \" Payout Round \", -1))\nconst _hoisted_7 = { class: \"download-con\" }\nconst _hoisted_8 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", { class: \"font_family icon-xiazai\" }, null, -1))\nconst _hoisted_9 = /*#__PURE__*/_createTextVNode(\" Template Download \")\nconst _hoisted_10 = { class: \"border-style\" }\nconst _hoisted_11 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", { class: \"ant-upload-drag-icon\" }, [\n /*#__PURE__*/_createElementVNode(\"img\", {\n src: _imports_0,\n class: \"uploadIcon\"\n })\n], -1))\nconst _hoisted_12 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", { class: \"ant-upload-text\" }, [\n /*#__PURE__*/_createTextVNode(\" Drag and drop to upload or \"),\n /*#__PURE__*/_createElementVNode(\"span\", { class: \"blueFont\" }, \"browse for files\")\n], -1))\nconst _hoisted_13 = { class: \"process-con\" }\nconst _hoisted_14 = /*#__PURE__*/_createTextVNode(\" Selected Files: \")\nconst _hoisted_15 = { class: \"margin-style\" }\nconst _hoisted_16 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"process-title-style\" }, \"Total Process:\", -1))\nconst _hoisted_17 = { class: \"process-style\" }\nconst _hoisted_18 = { key: 0 }\nconst _hoisted_19 = /*#__PURE__*/_createTextVNode(\" Complete\")\nconst _hoisted_20 = { key: 1 }\nconst _hoisted_21 = { class: \"size-style\" }\nconst _hoisted_22 = /*#__PURE__*/_createTextVNode(\"Browse\")\nconst _hoisted_23 = /*#__PURE__*/_createTextVNode(\"Upload\")\nconst _hoisted_24 = { class: \"btn-control\" }\nconst _hoisted_25 = /*#__PURE__*/_createTextVNode(\"Cancel\")\nconst _hoisted_26 = /*#__PURE__*/_createTextVNode(\"Import\")\nconst _hoisted_27 = /*#__PURE__*/_createTextVNode(\" Tips \")\nconst _hoisted_28 = { class: \"modal-txt\" }\nconst _hoisted_29 = /*#__PURE__*/_createTextVNode(\"Cancel\")\nconst _hoisted_30 = /*#__PURE__*/_createTextVNode(\"Download\")\nconst _hoisted_31 = /*#__PURE__*/_createTextVNode(\" Tips \")\nconst _hoisted_32 = { class: \"modal-txt\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_entity_selector = _resolveComponent(\"entity-selector\")!\n const _component_a_input = _resolveComponent(\"a-input\")!\n const _component_a_button = _resolveComponent(\"a-button\")!\n const _component_a_upload_dragger = _resolveComponent(\"a-upload-dragger\")!\n const _component_a_progress = _resolveComponent(\"a-progress\")!\n const _component_CheckCircleOutlined = _resolveComponent(\"CheckCircleOutlined\")!\n const _component_a_drawer = _resolveComponent(\"a-drawer\")!\n const _component_ExclamationCircleOutlined = _resolveComponent(\"ExclamationCircleOutlined\")!\n const _component_a_modal = _resolveComponent(\"a-modal\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createVNode(_component_a_drawer, {\n title: _ctx._title,\n placement: \"right\",\n visible: _ctx._visible,\n \"onUpdate:visible\": _cache[2] || (_cache[2] = ($event: any) => ((_ctx._visible) = $event)),\n width: \"500\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _hoisted_4,\n _createVNode(_component_entity_selector, {\n value: _ctx.query.entity,\n \"onUpdate:value\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.query.entity) = $event)),\n class: \"sel-inp-size\",\n placeholder: \"Please select\"\n }, null, 8, [\"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_5, [\n _hoisted_6,\n _createVNode(_component_a_input, {\n value: _ctx.query.payoutRound,\n \"onUpdate:value\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.query.payoutRound) = $event)),\n disabled: \"\"\n }, null, 8, [\"value\"])\n ])\n ])\n ]),\n _createElementVNode(\"section\", _hoisted_7, [\n _createVNode(_component_a_button, {\n type: \"link\",\n class: \"blueFont\",\n onClick: _ctx.handleDownload\n }, {\n default: _withCtx(() => [\n _hoisted_8,\n _hoisted_9\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ]),\n _createElementVNode(\"div\", _hoisted_10, [\n _withDirectives(_createVNode(_component_a_upload_dragger, {\n name: \"file\",\n listType: \"picture-card\",\n showUploadList: false,\n multiple: false,\n \"before-upload\": _ctx.beforeUpload,\n customRequest: _ctx.uploadRequest\n }, {\n default: _withCtx(() => [\n _hoisted_11,\n _hoisted_12\n ]),\n _: 1\n }, 8, [\"before-upload\", \"customRequest\"]), [\n [_vShow, _ctx.uploadStatus === 'start']\n ]),\n _withDirectives(_createElementVNode(\"div\", _hoisted_13, [\n _createElementVNode(\"p\", null, [\n _hoisted_14,\n _createElementVNode(\"strong\", null, _toDisplayString(_ctx.curUploadFile.name), 1)\n ]),\n _createElementVNode(\"p\", _hoisted_15, [\n _hoisted_16,\n _createElementVNode(\"span\", _hoisted_17, [\n _createVNode(_component_a_progress, {\n percent: _ctx.curPercent,\n strokeColor: \"#108ee9\"\n }, null, 8, [\"percent\"]),\n (_ctx.uploadStatus === 'checked' || _ctx.uploadStatus === 'imported')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_18, [\n _createVNode(_component_CheckCircleOutlined, { style: {\"color\":\"#108ee9\"} }),\n _hoisted_19\n ]))\n : (_openBlock(), _createElementBlock(\"span\", _hoisted_20, _toDisplayString(_ctx.curPercent) + \"% done\", 1)),\n _createElementVNode(\"span\", _hoisted_21, _toDisplayString(_ctx.uploadFileSize), 1)\n ])\n ]),\n (_ctx.uploadStatus === 'checked' || _ctx.uploadStatus === 'imported')\n ? (_openBlock(), _createBlock(_component_a_button, {\n key: 0,\n class: \"right-style\",\n type: \"primary\",\n onClick: _ctx.handleBrowse\n }, {\n default: _withCtx(() => [\n _hoisted_22\n ]),\n _: 1\n }, 8, [\"onClick\"]))\n : (_openBlock(), _createBlock(_component_a_button, {\n key: 1,\n class: \"right-style\",\n type: \"primary\",\n onClick: _ctx.uploadFile\n }, {\n default: _withCtx(() => [\n _hoisted_23\n ]),\n _: 1\n }, 8, [\"onClick\"]))\n ], 512), [\n [_vShow, _ctx.uploadStatus !== 'start']\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_24, [\n _createVNode(_component_a_button, {\n style: {\"margin-right\":\"8px\"},\n onClick: _ctx.handleCancel\n }, {\n default: _withCtx(() => [\n _hoisted_25\n ]),\n _: 1\n }, 8, [\"onClick\"]),\n _createVNode(_component_a_button, {\n type: \"primary\",\n disabled: _ctx.uploadStatus !== 'checked',\n onClick: _ctx.importFile\n }, {\n default: _withCtx(() => [\n _hoisted_26\n ]),\n _: 1\n }, 8, [\"disabled\", \"onClick\"])\n ])\n ]),\n _: 1\n }, 8, [\"title\", \"visible\"]),\n _createVNode(_component_a_modal, {\n visible: _ctx.downloadModalVisible,\n \"onUpdate:visible\": _cache[3] || (_cache[3] = ($event: any) => ((_ctx.downloadModalVisible) = $event)),\n \"ok-button-props\": { disabled: true },\n \"cancel-button-props\": { disabled: true },\n onOk: _ctx.handleDownload,\n centered: \"\"\n }, {\n title: _withCtx(() => [\n _createVNode(_component_ExclamationCircleOutlined, { style: {\"color\":\"#faad14\"} }),\n _hoisted_27\n ]),\n footer: _withCtx(() => [\n _createVNode(_component_a_button, {\n key: \"back\",\n onClick: _ctx.cancelTip\n }, {\n default: _withCtx(() => [\n _hoisted_29\n ]),\n _: 1\n }, 8, [\"onClick\"]),\n _createVNode(_component_a_button, {\n key: \"submit\",\n type: \"primary\",\n loading: _ctx.loading,\n onClick: _ctx.handleCheckedMsgDownload\n }, {\n default: _withCtx(() => [\n _hoisted_30\n ]),\n _: 1\n }, 8, [\"loading\", \"onClick\"])\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"p\", _hoisted_28, _toDisplayString(_ctx.downloadTipsText), 1)\n ]),\n _: 1\n }, 8, [\"visible\", \"onOk\"]),\n _createVNode(_component_a_modal, {\n visible: _ctx.emptyVisible,\n \"onUpdate:visible\": _cache[4] || (_cache[4] = ($event: any) => ((_ctx.emptyVisible) = $event)),\n footer: null,\n centered: \"\"\n }, {\n title: _withCtx(() => [\n _createVNode(_component_ExclamationCircleOutlined, { style: {\"color\":\"#faad14\"} }),\n _hoisted_31\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"p\", _hoisted_32, _toDisplayString(_ctx.emptyTipsText), 1)\n ]),\n _: 1\n }, 8, [\"visible\"])\n ], 64))\n}","\nimport {\n computed,\n defineComponent,\n PropType,\n reactive,\n ref,\n watch,\n toRaw,\n} from \"vue\";\nimport {\n CheckCircleOutlined,\n ExclamationCircleOutlined,\n} from \"@ant-design/icons-vue\";\nimport { message } from \"ant-design-vue\";\nimport { Modal } from \"ant-design-vue\";\nimport useModel from \"@/hooks/useModel\";\nimport downloadFile from \"@/utils/claim/downloadFile\";\nimport { FileItem } from \"@/API/types\";\nimport axios from \"axios\";\nimport { useStore } from \"vuex\";\nimport EntitySelector from \"../../components/EntitySelector.vue\";\n\ntype titleProps = \"Risk Dealer\" | \"Normal Dealer\" | \"Name/Code Changing\";\ntype StatusType = \"start\" | \"beforeUpload\" | \"checked\" | \"imported\";\nexport default defineComponent({\n name: \"App\",\n props: {\n title: {\n type: String as PropType,\n default: \"Risk Dealer\",\n },\n visible: {\n type: Boolean,\n default: false,\n },\n round: {\n type: String,\n },\n },\n setup(props, context) {\n const { state } = useStore();\n\n const _title = computed(() => {\n return `Upload ${props.title} Name List`;\n });\n const _visible = useModel(props, \"visible\");\n const handleCancel = () => {\n _visible.value = false;\n };\n // entity 列表\n const entityList = computed(() => {\n return [\"BBAC\", \"FBAC\", \"MBCL\", \"DENZA\"];\n });\n // 查询条件\n const query = reactive({\n entity: null,\n payoutRound: \"\",\n });\n watch(\n () => props.round,\n (val) => {\n query.payoutRound = val as string;\n }\n );\n // 上传相关\n const uploadStatus = ref(\"start\");\n const curUploadFile = ref({});\n const uploadFileSize = ref(\"\");\n // formData\n const formData = new FormData();\n const curPercent = computed(() => {\n if (\n uploadStatus.value === \"checked\" ||\n uploadStatus.value === \"imported\"\n ) {\n return 100;\n } else {\n return 0;\n }\n });\n // 上传前校验\n const beforeUpload = (file: FileItem) => {\n const isXlsx =\n file.type ===\n \"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\";\n if (!isXlsx) {\n message.error(\"Only xlsx format files can be uploaded!\");\n }\n const isLt5M = file.size / 1024 / 1024 < state.payment.maxFileSize;\n if (!isLt5M) {\n message.error(\n `The file size should not be larger than ${state.payment.maxFileSize}MB!`\n );\n }\n return isXlsx && isLt5M;\n };\n // 保存文件数据\n const uploadRequest = (source: any) => {\n if (formData.has(\"file\")) {\n formData.delete(\"file\");\n }\n formData.append(\"file\", source.file);\n curUploadFile.value = source.file;\n uploadFileSize.value =\n source.file.size / 1024 > 1024\n ? `${(source.file.size / 1024 / 1024).toFixed(1)} MB`\n : `${Math.floor(source.file.size / 1024)} KB`;\n uploadStatus.value = \"beforeUpload\";\n };\n const params = {\n file: formData,\n };\n const downloadModalVisible = ref(false);\n const cancelTip = () => {\n downloadModalVisible.value = false;\n };\n const downloadTipsText = ref(\"\");\n const emptyVisible = ref(false);\n const emptyTipsText = ref(\"\");\n const fileId = ref(\"\");\n const uploadFile = (source: any) => {\n if (!query.entity) {\n message.error(\"Please select entity.\");\n return;\n }\n axios({\n method: \"post\",\n data: formData,\n url: `/ptapi/dealer/setting/uploadRiskDealerFile?entity=${query.entity}&payoutRound=${query.payoutRound}`,\n params: params,\n }).then((res) => {\n if (res.data.code !== \"0\" && res.data.code !== \"9011\") {\n // 显示模态窗口\n downloadModalVisible.value = true;\n downloadTipsText.value = res.data.message;\n fileId.value = res.data.data;\n uploadStatus.value = \"start\";\n } else if (res.data.code === \"9011\") {\n emptyVisible.value = true;\n emptyTipsText.value = res.data.message;\n uploadStatus.value = \"start\";\n } else {\n message.success(\"File check successfully!\");\n uploadStatus.value = \"checked\";\n }\n });\n };\n // 导入接口调用\n const importFile = () => {\n const params = {\n file: formData,\n };\n axios({\n method: \"post\",\n data: formData,\n url: `/ptapi/dealer/setting/importRiskDealerFile?entity=${query.entity}&payoutRound=${query.payoutRound}`,\n params: params,\n }).then((res) => {\n if (res.data.code !== \"0\") {\n Modal.warning({\n title: \"Tips\",\n content: res.data.message,\n centered: true,\n });\n } else {\n uploadStatus.value = \"imported\";\n message.success(\"File Upload successfully!\");\n context.emit(\"change-table\");\n }\n });\n };\n const handleBrowse = () => {\n uploadStatus.value = \"start\";\n };\n const handleDownload = () => {\n const params = {\n url: `/ptapi/dealer/setting/downloadRiskDealerTemplate`,\n method: \"get\",\n fileName: `${+new Date()}.xlsx`,\n };\n downloadFile(params, \"application/vnd-excel; char-set=UTF-8\");\n };\n // 上传功能出错后下载模态窗口\n const handleCheckedMsgDownload = () => {\n const downloadParams = {\n fileId: fileId.value,\n };\n const params = {\n url: `/ptapi/downloadFile`,\n method: \"get\",\n params: downloadParams,\n fileName: `${+new Date()}.xlsx`,\n };\n downloadFile(params, \"application/vnd-excel; char-set=UTF-8\").then(\n (res) => {\n downloadModalVisible.value = false;\n emptyVisible.value = false;\n }\n );\n };\n return {\n _title,\n _visible,\n handleCancel,\n beforeUpload,\n uploadRequest,\n uploadFile,\n importFile,\n handleBrowse,\n handleDownload,\n handleCheckedMsgDownload,\n curUploadFile,\n uploadFileSize,\n curPercent,\n uploadStatus,\n downloadModalVisible,\n downloadTipsText,\n emptyVisible,\n emptyTipsText,\n cancelTip,\n query,\n entityList,\n };\n },\n components: {\n CheckCircleOutlined,\n ExclamationCircleOutlined,\n EntitySelector,\n },\n});\n","import { render } from \"./uploadFile.vue?vue&type=template&id=3654b2aa&scoped=true&ts=true\"\nimport script from \"./uploadFile.vue?vue&type=script&lang=ts\"\nexport * from \"./uploadFile.vue?vue&type=script&lang=ts\"\n\nimport \"./uploadFile.vue?vue&type=style&index=0&id=3654b2aa&lang=scss&scoped=true\"\nimport \"./uploadFile.vue?vue&type=style&index=1&id=3654b2aa&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-3654b2aa\"]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createBlock as _createBlock, createVNode as _createVNode, vShow as _vShow, withDirectives as _withDirectives, createCommentVNode as _createCommentVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nimport _imports_0 from '@/assets/images/rv/upload.svg'\n\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-e16633c4\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"payment-search-wrapper\" }\nconst _hoisted_2 = { class: \"payment-search-row\" }\nconst _hoisted_3 = { class: \"search-item\" }\nconst _hoisted_4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { class: \"label\" }, \" Entity \", -1))\nconst _hoisted_5 = { class: \"search-item\" }\nconst _hoisted_6 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { class: \"label\" }, \" Payout Round \", -1))\nconst _hoisted_7 = { class: \"download-con\" }\nconst _hoisted_8 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", { class: \"font_family icon-xiazai\" }, null, -1))\nconst _hoisted_9 = /*#__PURE__*/_createTextVNode(\" Template Download \")\nconst _hoisted_10 = { class: \"border-style\" }\nconst _hoisted_11 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", { class: \"ant-upload-drag-icon\" }, [\n /*#__PURE__*/_createElementVNode(\"img\", {\n src: _imports_0,\n class: \"uploadIcon\"\n })\n], -1))\nconst _hoisted_12 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", { class: \"ant-upload-text\" }, [\n /*#__PURE__*/_createTextVNode(\" Drag and drop to upload or \"),\n /*#__PURE__*/_createElementVNode(\"span\", { class: \"blueFont\" }, \"browse for files\")\n], -1))\nconst _hoisted_13 = { class: \"process-con\" }\nconst _hoisted_14 = /*#__PURE__*/_createTextVNode(\" Selected Files: \")\nconst _hoisted_15 = { class: \"margin-style\" }\nconst _hoisted_16 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"process-title-style\" }, \"Total Process:\", -1))\nconst _hoisted_17 = { class: \"process-style\" }\nconst _hoisted_18 = { key: 0 }\nconst _hoisted_19 = /*#__PURE__*/_createTextVNode(\" Complete\")\nconst _hoisted_20 = { key: 1 }\nconst _hoisted_21 = { class: \"size-style\" }\nconst _hoisted_22 = /*#__PURE__*/_createTextVNode(\"Browse\")\nconst _hoisted_23 = /*#__PURE__*/_createTextVNode(\"Upload\")\nconst _hoisted_24 = { class: \"btn-control\" }\nconst _hoisted_25 = /*#__PURE__*/_createTextVNode(\"Cancel\")\nconst _hoisted_26 = /*#__PURE__*/_createTextVNode(\"Import\")\nconst _hoisted_27 = /*#__PURE__*/_createTextVNode(\" Tips \")\nconst _hoisted_28 = { class: \"modal-txt\" }\nconst _hoisted_29 = /*#__PURE__*/_createTextVNode(\"Cancel\")\nconst _hoisted_30 = /*#__PURE__*/_createTextVNode(\"Download\")\nconst _hoisted_31 = /*#__PURE__*/_createTextVNode(\" Tips \")\nconst _hoisted_32 = { class: \"modal-txt\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_a_select_option = _resolveComponent(\"a-select-option\")!\n const _component_a_select = _resolveComponent(\"a-select\")!\n const _component_a_input = _resolveComponent(\"a-input\")!\n const _component_a_button = _resolveComponent(\"a-button\")!\n const _component_a_upload_dragger = _resolveComponent(\"a-upload-dragger\")!\n const _component_a_progress = _resolveComponent(\"a-progress\")!\n const _component_CheckCircleOutlined = _resolveComponent(\"CheckCircleOutlined\")!\n const _component_a_drawer = _resolveComponent(\"a-drawer\")!\n const _component_ExclamationCircleOutlined = _resolveComponent(\"ExclamationCircleOutlined\")!\n const _component_a_modal = _resolveComponent(\"a-modal\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createVNode(_component_a_drawer, {\n title: _ctx._title,\n placement: \"right\",\n visible: _ctx._visible,\n \"onUpdate:visible\": _cache[2] || (_cache[2] = ($event: any) => ((_ctx._visible) = $event)),\n width: \"500\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _hoisted_4,\n _createVNode(_component_a_select, {\n value: _ctx.query.entity,\n \"onUpdate:value\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.query.entity) = $event)),\n class: \"sel-inp-size\",\n placeholder: \"Please select\"\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.entityList, (item) => {\n return (_openBlock(), _createBlock(_component_a_select_option, { key: item }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(item), 1)\n ]),\n _: 2\n }, 1024))\n }), 128))\n ]),\n _: 1\n }, 8, [\"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_5, [\n _hoisted_6,\n _createVNode(_component_a_input, {\n value: _ctx.query.payoutRound,\n \"onUpdate:value\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.query.payoutRound) = $event)),\n disabled: \"\"\n }, null, 8, [\"value\"])\n ])\n ])\n ]),\n _createElementVNode(\"section\", _hoisted_7, [\n _createVNode(_component_a_button, {\n type: \"link\",\n class: \"blueFont\",\n onClick: _ctx.handleDownload\n }, {\n default: _withCtx(() => [\n _hoisted_8,\n _hoisted_9\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ]),\n _createElementVNode(\"div\", _hoisted_10, [\n _withDirectives(_createVNode(_component_a_upload_dragger, {\n name: \"file\",\n listType: \"picture-card\",\n showUploadList: false,\n multiple: false,\n \"before-upload\": _ctx.beforeUpload,\n customRequest: _ctx.uploadRequest\n }, {\n default: _withCtx(() => [\n _hoisted_11,\n _hoisted_12\n ]),\n _: 1\n }, 8, [\"before-upload\", \"customRequest\"]), [\n [_vShow, _ctx.uploadStatus === 'start']\n ]),\n _withDirectives(_createElementVNode(\"div\", _hoisted_13, [\n _createElementVNode(\"p\", null, [\n _hoisted_14,\n _createElementVNode(\"strong\", null, _toDisplayString(_ctx.curUploadFile.name), 1)\n ]),\n _createElementVNode(\"p\", _hoisted_15, [\n _hoisted_16,\n _createElementVNode(\"span\", _hoisted_17, [\n _createVNode(_component_a_progress, {\n percent: _ctx.curPercent,\n strokeColor: \"#108ee9\"\n }, null, 8, [\"percent\"]),\n (_ctx.uploadStatus === 'checked' || _ctx.uploadStatus === 'imported')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_18, [\n _createVNode(_component_CheckCircleOutlined, { style: {\"color\":\"#108ee9\"} }),\n _hoisted_19\n ]))\n : (_openBlock(), _createElementBlock(\"span\", _hoisted_20, _toDisplayString(_ctx.curPercent) + \"% done\", 1)),\n _createElementVNode(\"span\", _hoisted_21, _toDisplayString(_ctx.uploadFileSize), 1)\n ])\n ]),\n (_ctx.uploadStatus === 'checked' || _ctx.uploadStatus === 'imported')\n ? (_openBlock(), _createBlock(_component_a_button, {\n key: 0,\n class: \"right-style\",\n type: \"primary\",\n onClick: _ctx.handleBrowse\n }, {\n default: _withCtx(() => [\n _hoisted_22\n ]),\n _: 1\n }, 8, [\"onClick\"]))\n : (_openBlock(), _createBlock(_component_a_button, {\n key: 1,\n class: \"right-style\",\n type: \"primary\",\n onClick: _ctx.uploadFile\n }, {\n default: _withCtx(() => [\n _hoisted_23\n ]),\n _: 1\n }, 8, [\"onClick\"]))\n ], 512), [\n [_vShow, _ctx.uploadStatus !== 'start']\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_24, [\n _createVNode(_component_a_button, {\n style: {\"margin-right\":\"8px\"},\n onClick: _ctx.handleCancel\n }, {\n default: _withCtx(() => [\n _hoisted_25\n ]),\n _: 1\n }, 8, [\"onClick\"]),\n _createVNode(_component_a_button, {\n type: \"primary\",\n disabled: _ctx.uploadStatus !== 'checked',\n onClick: _ctx.importFile\n }, {\n default: _withCtx(() => [\n _hoisted_26\n ]),\n _: 1\n }, 8, [\"disabled\", \"onClick\"])\n ])\n ]),\n _: 1\n }, 8, [\"title\", \"visible\"]),\n _createVNode(_component_a_modal, {\n visible: _ctx.downloadModalVisible,\n \"onUpdate:visible\": _cache[3] || (_cache[3] = ($event: any) => ((_ctx.downloadModalVisible) = $event)),\n \"ok-button-props\": { disabled: true },\n \"cancel-button-props\": { disabled: true },\n onOk: _ctx.handleDownload,\n centered: \"\"\n }, {\n title: _withCtx(() => [\n _createVNode(_component_ExclamationCircleOutlined, { style: {\"color\":\"#faad14\"} }),\n _hoisted_27\n ]),\n footer: _withCtx(() => [\n _createVNode(_component_a_button, {\n key: \"back\",\n onClick: _ctx.cancelTip\n }, {\n default: _withCtx(() => [\n _hoisted_29\n ]),\n _: 1\n }, 8, [\"onClick\"]),\n _createVNode(_component_a_button, {\n key: \"submit\",\n type: \"primary\",\n loading: _ctx.loading,\n onClick: _ctx.handleCheckedMsgDownload\n }, {\n default: _withCtx(() => [\n _hoisted_30\n ]),\n _: 1\n }, 8, [\"loading\", \"onClick\"])\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"p\", _hoisted_28, _toDisplayString(_ctx.downloadTipsText), 1)\n ]),\n _: 1\n }, 8, [\"visible\", \"onOk\"]),\n _createVNode(_component_a_modal, {\n visible: _ctx.emptyVisible,\n \"onUpdate:visible\": _cache[4] || (_cache[4] = ($event: any) => ((_ctx.emptyVisible) = $event)),\n footer: null,\n centered: \"\"\n }, {\n title: _withCtx(() => [\n _createVNode(_component_ExclamationCircleOutlined, { style: {\"color\":\"#faad14\"} }),\n _hoisted_31\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"p\", _hoisted_32, _toDisplayString(_ctx.emptyTipsText), 1)\n ]),\n _: 1\n }, 8, [\"visible\"])\n ], 64))\n}","\nimport { computed, defineComponent, PropType, reactive, ref, watch } from \"vue\";\nimport {\n CheckCircleOutlined,\n ExclamationCircleOutlined,\n} from \"@ant-design/icons-vue\";\nimport { message } from \"ant-design-vue\";\nimport { Modal } from \"ant-design-vue\";\nimport useModel from \"@/hooks/useModel\";\nimport downloadFile from \"@/utils/claim/downloadFile\";\nimport { FileItem } from \"@/API/types\";\nimport axios from \"axios\";\nimport { useStore } from \"vuex\";\n\ntype titleProps = \"Risk Dealer\" | \"Normal Dealer\" | \"Name/Code Changing\";\ntype StatusType = \"start\" | \"beforeUpload\" | \"checked\" | \"imported\";\nexport default defineComponent({\n name: \"App\",\n props: {\n title: {\n type: String as PropType,\n default: \"Risk Dealer\",\n },\n visible: {\n type: Boolean,\n default: false,\n },\n round: {\n type: String,\n },\n },\n setup(props, context) {\n const { state } = useStore();\n\n const _title = computed(() => {\n return `Upload ${props.title} Name List`;\n });\n const _visible = useModel(props, \"visible\");\n const handleCancel = () => {\n _visible.value = false;\n };\n // entity 列表\n const entityList = computed(() => {\n const arr = [\"MBCL\"];\n const _arr = state.user.entityList.map((item: any) => item.entityName);\n return arr.filter((item: any) => _arr.includes(item));\n });\n // 查询条件\n const query = reactive({\n entity: null,\n payoutRound: \"\",\n });\n watch(\n () => props.round,\n (val) => {\n query.payoutRound = val as string;\n }\n );\n // 上传相关\n const uploadStatus = ref(\"start\");\n const curUploadFile = ref({});\n const uploadFileSize = ref(\"\");\n // formData\n const formData = new FormData();\n const curPercent = computed(() => {\n if (\n uploadStatus.value === \"checked\" ||\n uploadStatus.value === \"imported\"\n ) {\n return 100;\n } else {\n return 0;\n }\n });\n // 上传前校验\n const beforeUpload = (file: FileItem) => {\n const isXlsx =\n file.type ===\n \"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\";\n if (!isXlsx) {\n message.error(\"Only xlsx format files can be uploaded!\");\n }\n const isLt5M = file.size / 1024 / 1024 < state.payment.maxFileSize;\n if (!isLt5M) {\n message.error(\n `The file size should not be larger than ${state.payment.maxFileSize}MB!`\n );\n }\n return isXlsx && isLt5M;\n };\n // 保存文件数据\n const uploadRequest = (source: any) => {\n if (formData.has(\"file\")) {\n formData.delete(\"file\");\n }\n formData.append(\"file\", source.file);\n curUploadFile.value = source.file;\n uploadFileSize.value =\n source.file.size / 1024 > 1024\n ? `${(source.file.size / 1024 / 1024).toFixed(1)} MB`\n : `${Math.floor(source.file.size / 1024)} KB`;\n uploadStatus.value = \"beforeUpload\";\n };\n const params = {\n file: formData,\n };\n const downloadModalVisible = ref(false);\n const cancelTip = () => {\n downloadModalVisible.value = false;\n };\n const downloadTipsText = ref(\"\");\n const emptyVisible = ref(false);\n const emptyTipsText = ref(\"\");\n const fileId = ref(\"\");\n const uploadFile = (source: any) => {\n if (!query.entity) {\n message.error(\"Please select entity.\");\n return;\n }\n axios({\n method: \"post\",\n data: formData,\n url: `/ptapi/dealer/setting/uploadNormalDealerFile?entity=${query.entity}&payoutRound=${query.payoutRound}`,\n params: params,\n }).then((res) => {\n if (\n res.data.code !== \"0\" &&\n res.data.code !== \"9011\" &&\n res.data.code !== \"9012\"\n ) {\n // 显示模态窗口\n downloadModalVisible.value = true;\n downloadTipsText.value = res.data.message;\n fileId.value = res.data.data;\n uploadStatus.value = \"start\";\n } else if (res.data.code === \"9011\" || res.data.code === \"9012\") {\n emptyVisible.value = true;\n emptyTipsText.value = res.data.message;\n uploadStatus.value = \"start\";\n } else {\n message.success(\"File check successfully!\");\n uploadStatus.value = \"checked\";\n }\n });\n };\n // 导入接口调用\n const importFile = () => {\n const params = {\n file: formData,\n };\n axios({\n method: \"post\",\n data: formData,\n url: `/ptapi/dealer/setting/importNormalDealerFile?entity=${query.entity}&payoutRound=${query.payoutRound}`,\n params: params,\n }).then((res) => {\n if (res.data.code !== \"0\") {\n Modal.warning({\n title: \"Tips\",\n content: res.data.message,\n centered: true,\n });\n } else {\n uploadStatus.value = \"imported\";\n message.success(\"File Upload successfully!\");\n context.emit(\"change-table\");\n }\n });\n };\n const handleBrowse = () => {\n uploadStatus.value = \"start\";\n };\n const handleDownload = () => {\n if (!query.entity) {\n message.error(\"Please select entity.\");\n return;\n }\n const params = {\n url: `/ptapi/dealer/setting/downloadNormalDealerTemplate`,\n method: \"get\",\n fileName: `${+new Date()}.xlsx`,\n params: {\n entity: query.entity,\n },\n };\n downloadFile(params, \"application/vnd-excel; char-set=UTF-8\");\n };\n // 上传功能出错后下载模态窗口\n const handleCheckedMsgDownload = () => {\n const downloadParams = {\n fileId: fileId.value,\n };\n const params = {\n url: `/ptapi/downloadFile`,\n method: \"get\",\n params: downloadParams,\n fileName: `${+new Date()}.xlsx`,\n };\n downloadFile(params, \"application/vnd-excel; char-set=UTF-8\").then(\n (res) => {\n downloadModalVisible.value = false;\n emptyVisible.value = false;\n }\n );\n };\n return {\n _title,\n _visible,\n handleCancel,\n beforeUpload,\n uploadRequest,\n uploadFile,\n importFile,\n handleBrowse,\n handleDownload,\n handleCheckedMsgDownload,\n curUploadFile,\n uploadFileSize,\n curPercent,\n uploadStatus,\n downloadModalVisible,\n downloadTipsText,\n emptyVisible,\n emptyTipsText,\n cancelTip,\n query,\n entityList,\n };\n },\n components: {\n CheckCircleOutlined,\n ExclamationCircleOutlined,\n },\n});\n","import { render } from \"./normalUploadFile.vue?vue&type=template&id=e16633c4&scoped=true&ts=true\"\nimport script from \"./normalUploadFile.vue?vue&type=script&lang=ts\"\nexport * from \"./normalUploadFile.vue?vue&type=script&lang=ts\"\n\nimport \"./normalUploadFile.vue?vue&type=style&index=0&id=e16633c4&lang=scss&scoped=true\"\nimport \"./normalUploadFile.vue?vue&type=style&index=1&id=e16633c4&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-e16633c4\"]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createBlock as _createBlock, createVNode as _createVNode, vShow as _vShow, withDirectives as _withDirectives, createCommentVNode as _createCommentVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nimport _imports_0 from '@/assets/images/claim/rect.png'\nimport _imports_1 from '@/assets/images/rv/upload.svg'\n\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-4c806b84\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"payment-search-wrapper\" }\nconst _hoisted_2 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"section\", { class: \"page-title\" }, [\n /*#__PURE__*/_createElementVNode(\"img\", {\n src: _imports_0,\n class: \"rect\"\n }),\n /*#__PURE__*/_createElementVNode(\"strong\", { class: \"wrap-title\" }, \"Auto Update Normal Dealer DP Status\")\n], -1))\nconst _hoisted_3 = { class: \"payment-search-row\" }\nconst _hoisted_4 = { class: \"search-item\" }\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { class: \"label\" }, \" Entity \", -1))\nconst _hoisted_6 = { class: \"search-item\" }\nconst _hoisted_7 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { class: \"label\" }, \"BU\", -1))\nconst _hoisted_8 = { class: \"search-item\" }\nconst _hoisted_9 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { class: \"label\" }, \" Payout Round \", -1))\nconst _hoisted_10 = /*#__PURE__*/_createTextVNode(\"Update\")\nconst _hoisted_11 = { class: \"payment-search-wrapper\" }\nconst _hoisted_12 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"section\", { class: \"page-title\" }, [\n /*#__PURE__*/_createElementVNode(\"img\", {\n src: _imports_0,\n class: \"rect\"\n }),\n /*#__PURE__*/_createElementVNode(\"strong\", { class: \"wrap-title\" }, \"Manual Update Normal Dealer DP Status\")\n], -1))\nconst _hoisted_13 = { class: \"payment-search-row\" }\nconst _hoisted_14 = { class: \"search-item\" }\nconst _hoisted_15 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { class: \"label\" }, \" Entity \", -1))\nconst _hoisted_16 = { class: \"search-item\" }\nconst _hoisted_17 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { class: \"label\" }, \"BU\", -1))\nconst _hoisted_18 = { class: \"search-item\" }\nconst _hoisted_19 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { class: \"label\" }, \" Payout Round \", -1))\nconst _hoisted_20 = { class: \"download-con\" }\nconst _hoisted_21 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", { class: \"font_family icon-xiazai\" }, null, -1))\nconst _hoisted_22 = /*#__PURE__*/_createTextVNode(\" Template Download \")\nconst _hoisted_23 = { class: \"border-style\" }\nconst _hoisted_24 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", { class: \"ant-upload-drag-icon\" }, [\n /*#__PURE__*/_createElementVNode(\"img\", {\n src: _imports_1,\n class: \"uploadIcon\"\n })\n], -1))\nconst _hoisted_25 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", { class: \"ant-upload-text\" }, [\n /*#__PURE__*/_createTextVNode(\" Drag and drop to upload or \"),\n /*#__PURE__*/_createElementVNode(\"span\", { class: \"blueFont\" }, \"browse for files\")\n], -1))\nconst _hoisted_26 = { class: \"process-con\" }\nconst _hoisted_27 = /*#__PURE__*/_createTextVNode(\" Selected File: \")\nconst _hoisted_28 = { class: \"margin-style\" }\nconst _hoisted_29 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"process-title-style\" }, \"Total Process:\", -1))\nconst _hoisted_30 = { class: \"process-style\" }\nconst _hoisted_31 = { key: 0 }\nconst _hoisted_32 = /*#__PURE__*/_createTextVNode(\" Complete\")\nconst _hoisted_33 = { key: 1 }\nconst _hoisted_34 = { class: \"size-style\" }\nconst _hoisted_35 = /*#__PURE__*/_createTextVNode(\"Browse\")\nconst _hoisted_36 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", { class: \"tip\" }, \"Note: manual upload Normal Dealer DP Status will overwrite system auto check result.\", -1))\nconst _hoisted_37 = { class: \"btn-control\" }\nconst _hoisted_38 = /*#__PURE__*/_createTextVNode(\"Cancel\")\nconst _hoisted_39 = /*#__PURE__*/_createTextVNode(\"Import\")\nconst _hoisted_40 = /*#__PURE__*/_createTextVNode(\" Tips \")\nconst _hoisted_41 = { class: \"modal-txt\" }\nconst _hoisted_42 = /*#__PURE__*/_createTextVNode(\"Cancel\")\nconst _hoisted_43 = /*#__PURE__*/_createTextVNode(\"Download\")\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_a_select_option = _resolveComponent(\"a-select-option\")!\n const _component_a_select = _resolveComponent(\"a-select\")!\n const _component_a_input = _resolveComponent(\"a-input\")!\n const _component_a_button = _resolveComponent(\"a-button\")!\n const _component_a_upload_dragger = _resolveComponent(\"a-upload-dragger\")!\n const _component_a_progress = _resolveComponent(\"a-progress\")!\n const _component_CheckCircleOutlined = _resolveComponent(\"CheckCircleOutlined\")!\n const _component_a_drawer = _resolveComponent(\"a-drawer\")!\n const _component_ExclamationCircleOutlined = _resolveComponent(\"ExclamationCircleOutlined\")!\n const _component_a_modal = _resolveComponent(\"a-modal\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createVNode(_component_a_drawer, {\n title: _ctx._title,\n placement: \"right\",\n visible: _ctx._visible,\n \"onUpdate:visible\": _cache[2] || (_cache[2] = ($event: any) => ((_ctx._visible) = $event)),\n width: \"600\",\n maskStyle: \"background-color: rgba(0, 0, 0, 0)\",\n \"after-visible-change\": _ctx.handleVisibleChange\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _hoisted_2,\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _hoisted_5,\n _createVNode(_component_a_select, {\n value: _ctx.entity,\n class: \"sel-inp-size\",\n placeholder: \"Please select\",\n style: {\"width\":\"80px\"}\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.entityList, (item) => {\n return (_openBlock(), _createBlock(_component_a_select_option, { key: item }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(item), 1)\n ]),\n _: 2\n }, 1024))\n }), 128))\n ]),\n _: 1\n }, 8, [\"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n _hoisted_7,\n _createVNode(_component_a_select, {\n value: _ctx.autoUpdateForm.bu,\n \"onUpdate:value\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.autoUpdateForm.bu) = $event)),\n mode: \"multiple\",\n placeholder: \"All\",\n \"allow-clear\": \"\"\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.buOptions, (option) => {\n return (_openBlock(), _createBlock(_component_a_select_option, { key: option }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(option), 1)\n ]),\n _: 2\n }, 1024))\n }), 128))\n ]),\n _: 1\n }, 8, [\"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_8, [\n _hoisted_9,\n _createVNode(_component_a_input, {\n value: _ctx.round,\n disabled: \"\",\n style: {\"width\":\"300px\"}\n }, null, 8, [\"value\"])\n ])\n ]),\n _createVNode(_component_a_button, {\n class: \"right-style\",\n type: \"primary\",\n onClick: _ctx.handleUpdate\n }, {\n default: _withCtx(() => [\n _hoisted_10\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ]),\n _createElementVNode(\"div\", _hoisted_11, [\n _hoisted_12,\n _createElementVNode(\"div\", _hoisted_13, [\n _createElementVNode(\"div\", _hoisted_14, [\n _hoisted_15,\n _createVNode(_component_a_select, {\n value: _ctx.entity,\n class: \"sel-inp-size\",\n placeholder: \"Please select\",\n style: {\"width\":\"80px\"}\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.entityList, (item) => {\n return (_openBlock(), _createBlock(_component_a_select_option, { key: item }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(item), 1)\n ]),\n _: 2\n }, 1024))\n }), 128))\n ]),\n _: 1\n }, 8, [\"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_16, [\n _hoisted_17,\n _createVNode(_component_a_select, {\n value: _ctx.manualUpdateForm.bu,\n \"onUpdate:value\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.manualUpdateForm.bu) = $event)),\n placeholder: \"All\",\n mode: \"multiple\",\n \"allow-clear\": \"\"\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.buOptions, (option) => {\n return (_openBlock(), _createBlock(_component_a_select_option, { key: option }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(option), 1)\n ]),\n _: 2\n }, 1024))\n }), 128))\n ]),\n _: 1\n }, 8, [\"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_18, [\n _hoisted_19,\n _createVNode(_component_a_input, {\n value: _ctx.round,\n disabled: \"\",\n style: {\"width\":\"300px\"}\n }, null, 8, [\"value\"])\n ])\n ])\n ]),\n _createElementVNode(\"section\", _hoisted_20, [\n _createVNode(_component_a_button, {\n type: \"link\",\n class: \"blueFont\",\n onClick: _ctx.handleDownload\n }, {\n default: _withCtx(() => [\n _hoisted_21,\n _hoisted_22\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ]),\n _createElementVNode(\"div\", _hoisted_23, [\n _withDirectives(_createVNode(_component_a_upload_dragger, {\n name: \"file\",\n listType: \"picture-card\",\n showUploadList: false,\n multiple: false,\n \"before-upload\": _ctx.beforeUpload,\n customRequest: _ctx.uploadRequest\n }, {\n default: _withCtx(() => [\n _hoisted_24,\n _hoisted_25\n ]),\n _: 1\n }, 8, [\"before-upload\", \"customRequest\"]), [\n [_vShow, _ctx.uploadStatus === 'start']\n ]),\n _withDirectives(_createElementVNode(\"div\", _hoisted_26, [\n _createElementVNode(\"p\", null, [\n _hoisted_27,\n _createElementVNode(\"strong\", null, _toDisplayString(_ctx.curUploadFile.name), 1)\n ]),\n _createElementVNode(\"p\", _hoisted_28, [\n _hoisted_29,\n _createElementVNode(\"span\", _hoisted_30, [\n _createVNode(_component_a_progress, {\n percent: _ctx.curPercent,\n strokeColor: \"#108ee9\"\n }, null, 8, [\"percent\"]),\n (_ctx.uploadStatus === 'imported')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_31, [\n _createVNode(_component_CheckCircleOutlined, { style: {\"color\":\"#108ee9\"} }),\n _hoisted_32\n ]))\n : (_openBlock(), _createElementBlock(\"span\", _hoisted_33, _toDisplayString(_ctx.curPercent) + \"% done\", 1)),\n _createElementVNode(\"span\", _hoisted_34, _toDisplayString(_ctx.uploadFileSize), 1)\n ])\n ]),\n (_ctx.uploadStatus === 'checked' || _ctx.uploadStatus === 'imported')\n ? (_openBlock(), _createBlock(_component_a_button, {\n key: 0,\n class: \"right-style\",\n type: \"primary\",\n onClick: _ctx.handleBrowse\n }, {\n default: _withCtx(() => [\n _hoisted_35\n ]),\n _: 1\n }, 8, [\"onClick\"]))\n : _createCommentVNode(\"\", true)\n ], 512), [\n [_vShow, _ctx.uploadStatus !== 'start']\n ])\n ]),\n _hoisted_36,\n _createElementVNode(\"div\", _hoisted_37, [\n _createVNode(_component_a_button, {\n style: {\"margin-right\":\"8px\"},\n onClick: _ctx.handleCancel\n }, {\n default: _withCtx(() => [\n _hoisted_38\n ]),\n _: 1\n }, 8, [\"onClick\"]),\n _createVNode(_component_a_button, {\n type: \"primary\",\n disabled: !_ctx.curUploadFile || _ctx.uploadStatus === 'start',\n onClick: _ctx.importFile\n }, {\n default: _withCtx(() => [\n _hoisted_39\n ]),\n _: 1\n }, 8, [\"disabled\", \"onClick\"])\n ])\n ]),\n _: 1\n }, 8, [\"title\", \"visible\", \"after-visible-change\"]),\n _createVNode(_component_a_modal, {\n visible: _ctx.downloadModalVisible,\n \"onUpdate:visible\": _cache[3] || (_cache[3] = ($event: any) => ((_ctx.downloadModalVisible) = $event)),\n \"ok-button-props\": { disabled: true },\n \"cancel-button-props\": { disabled: true },\n onOk: _ctx.handleDownload,\n centered: \"\"\n }, {\n title: _withCtx(() => [\n _createVNode(_component_ExclamationCircleOutlined, { style: {\"color\":\"#faad14\"} }),\n _hoisted_40\n ]),\n footer: _withCtx(() => [\n _createVNode(_component_a_button, {\n key: \"back\",\n onClick: _ctx.cancelTip\n }, {\n default: _withCtx(() => [\n _hoisted_42\n ]),\n _: 1\n }, 8, [\"onClick\"]),\n _createVNode(_component_a_button, {\n key: \"submit\",\n type: \"primary\",\n loading: _ctx.loading,\n onClick: _ctx.handleCheckedMsgDownload\n }, {\n default: _withCtx(() => [\n _hoisted_43\n ]),\n _: 1\n }, 8, [\"loading\", \"onClick\"])\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"p\", _hoisted_41, _toDisplayString(_ctx.downloadTipsText), 1)\n ]),\n _: 1\n }, 8, [\"visible\", \"onOk\"])\n ], 64))\n}","\nimport { computed, defineComponent, PropType, reactive, ref, watch } from \"vue\";\nimport {\n CheckCircleOutlined, ExclamationCircleOutlined,\n} from \"@ant-design/icons-vue\";\nimport { message } from \"ant-design-vue\";\nimport { Modal } from \"ant-design-vue\";\nimport useModel from \"@/hooks/useModel\";\nimport { FileItem } from \"@/API/types\";\nimport { useStore } from \"vuex\";\nimport { downloadFromStream, default as downloadFile } from '@/utils/payment/downloadFile';\n\nimport * as API from \"@/API/payment\";\nimport {updateNormalDealerTemplate} from \"@/API/payment\";\nimport axios from \"axios\";\nimport moment from \"moment/moment\";\nimport { findCurrentUser } from \"@/API/user\";\n\n\n\ntype titleProps = \"Risk Dealer\" | \"Normal Dealer\" | \"Name/Code Changing\";\ntype StatusType = \"start\" | \"checked\" | \"imported\";\nexport default defineComponent({\n name: \"App\",\n props: {\n title: {\n type: String as PropType,\n default: \"Risk Dealer\",\n },\n visible: {\n type: Boolean,\n default: false,\n },\n entity: {\n type: String,\n },\n round: {\n type: String,\n },\n },\n setup(props, {emit}) {\n const { state } = useStore();\n\n const _title = computed(() => {\n return `Upload ${props.title} Name List`;\n });\n const _visible = useModel(props, \"visible\");\n const handleCancel = () => {\n _visible.value = false;\n };\n // entity 列表\n const entityList = computed(() => {\n const arr = [\"MBCL\"];\n const _arr = state.user.entityList.map((item: any) => item.entityName);\n return arr.filter((item: any) => _arr.includes(item));\n });\n // 表单\n const autoUpdateForm = reactive({\n bu: []\n });\n const manualUpdateForm = reactive({\n bu: []\n });\n // 上传相关\n const uploadStatus = ref(\"start\");\n const curUploadFile = ref({});\n const uploadFileSize = ref(\"\");\n const curPercent = computed(() => {\n if (\n uploadStatus.value === \"imported\"\n ) {\n return 100;\n } else {\n return 0;\n }\n });\n // 上传前校验\n const beforeUpload = (file: FileItem) => {\n const isXlsx =\n file.type ===\n \"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\";\n if (!isXlsx) {\n message.error(\"Only xlsx format files can be uploaded!\");\n }\n const isLt5M = file.size / 1024 / 1024 < state.payment.maxFileSize;\n if (!isLt5M) {\n message.error(\n `The file size should not be larger than ${state.payment.maxFileSize}MB!`\n );\n }\n console.log(isXlsx && isLt5M);\n return isXlsx && isLt5M;\n };\n // 保存文件数据\n const uploadRequest = (source: any) => {\n curUploadFile.value = source.file;\n uploadFileSize.value =\n source.file.size / 1024 > 1024\n ? `${(source.file.size / 1024 / 1024).toFixed(1)} MB`\n : `${Math.floor(source.file.size / 1024)} KB`;\n uploadStatus.value = \"checked\";\n };\n const emptyVisible = ref(false);\n const emptyTipsText = ref(\"\");\n const handleUpdate = () => {\n // entity props.entity\n // bu manualUpdateForm.bu\n // payout Round props.round\n const params = {\n entity: props.entity,\n bu: autoUpdateForm.bu,\n payoutRound: props.round\n }\n API.updateNormalDealerDpStatus({ params: params }).then((res: any) => {\n if (res.code === '0') {\n handleCancel();\n emit('child-event', { message: 'close' });\n }\n });\n }\n // 导入接口调用\n const downloadTipsText = ref('');\n const fileId = ref('');\n const importFile = () => {\n // entity props.entity\n // bu manualUpdateForm.bu\n // payout Round props.round\n // file curUploadFile.value\n const formData = new FormData();\n formData.append('payoutRound', props.round ? props.round : '');\n formData.append('entity', props.entity ? props.entity : '');\n formData.append('bu', manualUpdateForm.bu?.length > 0 ? manualUpdateForm.bu : [] as any);\n formData.append('file', curUploadFile.value as Blob);\n\n\n axios({\n url: 'ptapi/normal-dealer-readiness-setting/manual-dp-status-process',\n data: formData,\n method: 'post',\n headers: {\n 'Content-Type': 'multipart/form-data'\n }\n }).then((res) => {\n if (res.data.data.code === '-2') {\n downloadModalVisible.value = true;\n downloadTipsText.value = res.data.data.message;\n fileId.value = res.data.data.data;\n\n console.log(downloadTipsText.value + \" ....\" + fileId.value);\n\n uploadStatus.value = 'start';\n } else {\n message.success('upload successfully!');\n uploadStatus.value = 'imported';\n handleCancel();\n emit('child-event', { message: 'close' });\n }\n });\n\n };\n\n const handleDownload = async () => {\n const params = {\n url: '/ptapi/normal-dealer-readiness-setting/download-template',\n method: 'get',\n };\n downloadFile(params)\n };\n const handleBrowse = () => {\n uploadStatus.value = \"start\";\n };\n const downloadModalVisible = ref(false);\n const cancelTip = () => {\n downloadModalVisible.value = false;\n };\n const handleCheckedMsgDownload = () => {\n const downloadParams = {\n fileId: fileId.value,\n };\n const params = {\n url: `/ptapi/downloadFile`,\n method: 'get',\n params: downloadParams,\n };\n downloadFile(params).then(\n (res) => {\n downloadModalVisible.value = false;\n }\n );\n };\n\n const buOptions = ref([]);\n findCurrentUser().then((res: any) => {\n buOptions.value = res.buList.filter((ele: any) => {\n return ele.parentId === null;\n }).map((ele: any) => {\n return ele.nameCn;\n });\n })\n \n const handleVisibleChange = (visible: boolean) => {\n autoUpdateForm.bu = [];\n manualUpdateForm.bu = [];\n uploadStatus.value = 'start';\n }\n\n return {\n _title,\n _visible,\n handleCancel,\n beforeUpload,\n uploadRequest,\n handleUpdate,\n importFile,\n handleDownload,\n handleBrowse,\n curUploadFile,\n uploadFileSize,\n curPercent,\n uploadStatus,\n emptyVisible,\n emptyTipsText,\n autoUpdateForm,\n manualUpdateForm,\n entityList,\n downloadModalVisible,\n cancelTip,\n handleCheckedMsgDownload,\n downloadTipsText,\n buOptions,\n handleVisibleChange\n };\n },\n components: {\n ExclamationCircleOutlined,\n CheckCircleOutlined\n },\n});\n","import { render } from \"./normalDealerDpDrawer.vue?vue&type=template&id=4c806b84&scoped=true&ts=true\"\nimport script from \"./normalDealerDpDrawer.vue?vue&type=script&lang=ts\"\nexport * from \"./normalDealerDpDrawer.vue?vue&type=script&lang=ts\"\n\nimport \"./normalDealerDpDrawer.vue?vue&type=style&index=0&id=4c806b84&lang=scss&scoped=true\"\nimport \"./normalDealerDpDrawer.vue?vue&type=style&index=1&id=4c806b84&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-4c806b84\"]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, 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, vShow as _vShow, withDirectives as _withDirectives, createCommentVNode as _createCommentVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nimport _imports_0 from '@/assets/images/rv/upload.svg'\n\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-3afd6756\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"payment-search-wrapper\" }\nconst _hoisted_2 = { class: \"payment-search-row\" }\nconst _hoisted_3 = { class: \"search-item\" }\nconst _hoisted_4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { class: \"label\" }, \" Payout Year \", -1))\nconst _hoisted_5 = { class: \"search-item\" }\nconst _hoisted_6 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { class: \"label\" }, \" Payout Round \", -1))\nconst _hoisted_7 = { class: \"download-con\" }\nconst _hoisted_8 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", { class: \"font_family icon-xiazai\" }, null, -1))\nconst _hoisted_9 = /*#__PURE__*/_createTextVNode(\" Template Download \")\nconst _hoisted_10 = { class: \"border-style\" }\nconst _hoisted_11 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", { class: \"ant-upload-drag-icon\" }, [\n /*#__PURE__*/_createElementVNode(\"img\", {\n src: _imports_0,\n class: \"uploadIcon\"\n })\n], -1))\nconst _hoisted_12 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", { class: \"ant-upload-text\" }, [\n /*#__PURE__*/_createTextVNode(\" Drag and drop to upload or \"),\n /*#__PURE__*/_createElementVNode(\"span\", { class: \"blueFont\" }, \"browse for files\")\n], -1))\nconst _hoisted_13 = { class: \"process-con\" }\nconst _hoisted_14 = /*#__PURE__*/_createTextVNode(\" Selected Files: \")\nconst _hoisted_15 = { class: \"margin-style\" }\nconst _hoisted_16 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"process-title-style\" }, \"Total Process:\", -1))\nconst _hoisted_17 = { class: \"process-style\" }\nconst _hoisted_18 = { key: 0 }\nconst _hoisted_19 = /*#__PURE__*/_createTextVNode(\" Complete\")\nconst _hoisted_20 = { key: 1 }\nconst _hoisted_21 = { class: \"size-style\" }\nconst _hoisted_22 = /*#__PURE__*/_createTextVNode(\"Browse\")\nconst _hoisted_23 = /*#__PURE__*/_createTextVNode(\"Upload\")\nconst _hoisted_24 = { class: \"btn-control\" }\nconst _hoisted_25 = /*#__PURE__*/_createTextVNode(\"Cancel\")\nconst _hoisted_26 = /*#__PURE__*/_createTextVNode(\"Import\")\nconst _hoisted_27 = /*#__PURE__*/_createTextVNode(\" Tips \")\nconst _hoisted_28 = { class: \"modal-txt\" }\nconst _hoisted_29 = /*#__PURE__*/_createTextVNode(\"Cancel\")\nconst _hoisted_30 = /*#__PURE__*/_createTextVNode(\"Download\")\nconst _hoisted_31 = /*#__PURE__*/_createTextVNode(\" Tips \")\nconst _hoisted_32 = { class: \"modal-txt\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_YearPicker = _resolveComponent(\"YearPicker\")!\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_upload_dragger = _resolveComponent(\"a-upload-dragger\")!\n const _component_a_progress = _resolveComponent(\"a-progress\")!\n const _component_CheckCircleOutlined = _resolveComponent(\"CheckCircleOutlined\")!\n const _component_a_drawer = _resolveComponent(\"a-drawer\")!\n const _component_ExclamationCircleOutlined = _resolveComponent(\"ExclamationCircleOutlined\")!\n const _component_a_modal = _resolveComponent(\"a-modal\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createVNode(_component_a_drawer, {\n title: _ctx._title,\n placement: \"right\",\n visible: _ctx._visible,\n \"onUpdate:visible\": _cache[3] || (_cache[3] = ($event: any) => ((_ctx._visible) = $event)),\n width: \"600\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _hoisted_4,\n _createVNode(_component_YearPicker, {\n value: _ctx.query.year,\n \"onUpdate:value\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.query.year) = $event)),\n class: \"sel-inp-size\",\n allowClear: false,\n placeholder: \"Please select\",\n disabled: _ctx.uploadStatus === 'checked' || _ctx.uploadStatus === 'imported',\n onPanelChange: _cache[1] || (_cache[1] = () => _ctx.searchRound())\n }, null, 8, [\"value\", \"disabled\"])\n ]),\n _createElementVNode(\"div\", _hoisted_5, [\n _hoisted_6,\n _createVNode(_component_a_select, {\n allowClear: \"\",\n value: _ctx.query.payoutRound,\n \"onUpdate:value\": _cache[2] || (_cache[2] = ($event: any) => ((_ctx.query.payoutRound) = $event)),\n class: \"sel-inp-size\",\n placeholder: \"Please select\",\n disabled: _ctx.uploadStatus === 'checked' || _ctx.uploadStatus === 'imported'\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.roundList, (item) => {\n return (_openBlock(), _createBlock(_component_a_select_option, { key: item }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(item), 1)\n ]),\n _: 2\n }, 1024))\n }), 128))\n ]),\n _: 1\n }, 8, [\"value\", \"disabled\"])\n ])\n ])\n ]),\n _createElementVNode(\"section\", _hoisted_7, [\n _createVNode(_component_a_button, {\n type: \"link\",\n class: \"blueFont\",\n onClick: _ctx.handleDownload\n }, {\n default: _withCtx(() => [\n _hoisted_8,\n _hoisted_9\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ]),\n _createElementVNode(\"div\", _hoisted_10, [\n _withDirectives(_createVNode(_component_a_upload_dragger, {\n name: \"file\",\n listType: \"picture-card\",\n showUploadList: false,\n multiple: false,\n \"before-upload\": _ctx.beforeUpload,\n customRequest: _ctx.uploadRequest\n }, {\n default: _withCtx(() => [\n _hoisted_11,\n _hoisted_12\n ]),\n _: 1\n }, 8, [\"before-upload\", \"customRequest\"]), [\n [_vShow, _ctx.uploadStatus === 'start']\n ]),\n _withDirectives(_createElementVNode(\"div\", _hoisted_13, [\n _createElementVNode(\"p\", null, [\n _hoisted_14,\n _createElementVNode(\"strong\", null, _toDisplayString(_ctx.curUploadFile.name), 1)\n ]),\n _createElementVNode(\"p\", _hoisted_15, [\n _hoisted_16,\n _createElementVNode(\"span\", _hoisted_17, [\n _createVNode(_component_a_progress, {\n percent: _ctx.curPercent,\n strokeColor: \"#108ee9\"\n }, null, 8, [\"percent\"]),\n (_ctx.uploadStatus === 'checked' || _ctx.uploadStatus === 'imported')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_18, [\n _createVNode(_component_CheckCircleOutlined, { style: {\"color\":\"#108ee9\"} }),\n _hoisted_19\n ]))\n : (_openBlock(), _createElementBlock(\"span\", _hoisted_20, _toDisplayString(_ctx.curPercent) + \"% done\", 1)),\n _createElementVNode(\"span\", _hoisted_21, _toDisplayString(_ctx.uploadFileSize), 1)\n ])\n ]),\n (_ctx.uploadStatus === 'checked' || _ctx.uploadStatus === 'imported')\n ? (_openBlock(), _createBlock(_component_a_button, {\n key: 0,\n class: \"right-style\",\n type: \"primary\",\n onClick: _ctx.handleBrowse\n }, {\n default: _withCtx(() => [\n _hoisted_22\n ]),\n _: 1\n }, 8, [\"onClick\"]))\n : (_openBlock(), _createBlock(_component_a_button, {\n key: 1,\n class: \"right-style\",\n type: \"primary\",\n onClick: _ctx.uploadFile\n }, {\n default: _withCtx(() => [\n _hoisted_23\n ]),\n _: 1\n }, 8, [\"onClick\"]))\n ], 512), [\n [_vShow, _ctx.uploadStatus !== 'start']\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_24, [\n _createVNode(_component_a_button, {\n style: {\"margin-right\":\"8px\"},\n onClick: _ctx.handleCancel\n }, {\n default: _withCtx(() => [\n _hoisted_25\n ]),\n _: 1\n }, 8, [\"onClick\"]),\n _createVNode(_component_a_button, {\n type: \"primary\",\n disabled: _ctx.uploadStatus !== 'checked',\n onClick: _ctx.importFile\n }, {\n default: _withCtx(() => [\n _hoisted_26\n ]),\n _: 1\n }, 8, [\"disabled\", \"onClick\"])\n ])\n ]),\n _: 1\n }, 8, [\"title\", \"visible\"]),\n _createVNode(_component_a_modal, {\n visible: _ctx.downloadModalVisible,\n \"onUpdate:visible\": _cache[4] || (_cache[4] = ($event: any) => ((_ctx.downloadModalVisible) = $event)),\n \"ok-button-props\": { disabled: true },\n \"cancel-button-props\": { disabled: true },\n onOk: _ctx.handleDownload,\n centered: \"\"\n }, {\n title: _withCtx(() => [\n _createVNode(_component_ExclamationCircleOutlined, { style: {\"color\":\"#faad14\"} }),\n _hoisted_27\n ]),\n footer: _withCtx(() => [\n _createVNode(_component_a_button, {\n key: \"back\",\n onClick: _ctx.cancelTip\n }, {\n default: _withCtx(() => [\n _hoisted_29\n ]),\n _: 1\n }, 8, [\"onClick\"]),\n _createVNode(_component_a_button, {\n key: \"submit\",\n type: \"primary\",\n loading: _ctx.loading,\n onClick: _ctx.handleCheckedMsgDownload\n }, {\n default: _withCtx(() => [\n _hoisted_30\n ]),\n _: 1\n }, 8, [\"loading\", \"onClick\"])\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"p\", _hoisted_28, _toDisplayString(_ctx.downloadTipsText), 1)\n ]),\n _: 1\n }, 8, [\"visible\", \"onOk\"]),\n _createVNode(_component_a_modal, {\n visible: _ctx.emptyVisible,\n \"onUpdate:visible\": _cache[5] || (_cache[5] = ($event: any) => ((_ctx.emptyVisible) = $event)),\n footer: null,\n centered: \"\"\n }, {\n title: _withCtx(() => [\n _createVNode(_component_ExclamationCircleOutlined, { style: {\"color\":\"#faad14\"} }),\n _hoisted_31\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"p\", _hoisted_32, _toDisplayString(_ctx.emptyTipsText), 1)\n ]),\n _: 1\n }, 8, [\"visible\"])\n ], 64))\n}","\nimport { computed, defineComponent, PropType, reactive, ref, watch, unref } from \"vue\";\nimport moment from \"moment\";\nimport {\n CheckCircleOutlined,\n ExclamationCircleOutlined,\n} from \"@ant-design/icons-vue\";\nimport { message } from \"ant-design-vue\";\nimport { Modal } from \"ant-design-vue\";\nimport useModel from \"@/hooks/useModel\";\nimport downloadFile from \"@/utils/claim/downloadFile\";\nimport { FileItem } from \"@/API/types\";\nimport YearPicker from \"../../components/YearPicker.vue\";\nimport { getRoundListByDate, getDealerPayoutCondition } from \"@/API/payment\";\nimport axios from \"axios\";\nimport { useStore } from 'vuex'\n\ntype titleProps = \"Risk Dealer\" | \"Normal Dealer\" | \"Name/Code Changing\";\ntype StatusType = \"start\" | \"beforeUpload\" | \"checked\" | \"imported\";\nexport default defineComponent({\n name: \"App\",\n props: {\n title: {\n type: String as PropType,\n default: \"Risk Dealer\",\n },\n visible: {\n type: Boolean,\n default: false,\n },\n },\n setup(props, context) {\n const { state } = useStore()\n\n const _title = computed(() => {\n return `Upload ${props.title} Name List`;\n });\n const _visible = useModel(props, \"visible\");\n const handleCancel = () => {\n _visible.value = false;\n };\n // entity 列表\n const entityList = computed(() => {\n return [\"BBAC\", \"FBAC\", \"MBCL\", \"DENZA\"];\n });\n // 查询条件\n const query = reactive({\n year: '',\n payoutRound: \"\",\n });\n // watch(() => props.query, (val) => {\n // if (val && val.year) {\n // query.year = moment(val.year).format(\"YYYY\")\n // }\n // })\n const roundRes = ref();\n const roundList = computed(() => {\n return roundRes.value ? roundRes.value : [];\n });\n const searchRound = () => {\n roundRes.value = null;\n query.payoutRound = \"\";\n getRoundListByDate({\n params: {\n month: 0,\n year: moment(query.year).format(\"YYYY\"),\n type: \"DEALER\",\n },\n }).then((res) => {\n roundRes.value = res;\n query.payoutRound = res.length ? res[0] : undefined\n });\n };\n // getDealerPayoutCondition().then((res) => {\n // query.month =\n // res.year + \"-\" + (res.month > 10 ? res.month : \"0\" + res.month);\n // query.year = res.year.toString();\n // searchRound()\n // });\n const setQuery = (_query: any, _roundRes: any) => {\n query.year = moment(_query.year).format(\"YYYY\")\n query.payoutRound = _query.payoutRound\n roundRes.value = unref(_roundRes)\n }\n // 上传相关\n const uploadStatus = ref(\"start\");\n const curUploadFile = ref({});\n const uploadFileSize = ref(\"\");\n // formData\n const formData = new FormData();\n const curPercent = computed(() => {\n if (\n uploadStatus.value === \"checked\" ||\n uploadStatus.value === \"imported\"\n ) {\n return 100;\n } else {\n return 0;\n }\n });\n // 上传前校验\n const beforeUpload = (file: FileItem) => {\n const isXlsx =\n file.type ===\n \"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\";\n if (!isXlsx) {\n message.error(\"Only xlsx format files can be uploaded!\");\n }\n const isLt5M = file.size / 1024 / 1024 < state.payment.maxFileSize;\n if (!isLt5M) {\n message.error(`The file size should not be larger than ${state.payment.maxFileSize}MB!`);\n }\n return isXlsx && isLt5M;\n };\n // 保存文件数据\n const uploadRequest = (source: any) => {\n if (formData.has(\"file\")) {\n formData.delete(\"file\");\n }\n formData.append(\"file\", source.file);\n curUploadFile.value = source.file;\n uploadFileSize.value =\n source.file.size / 1024 > 1024\n ? `${(source.file.size / 1024 / 1024).toFixed(1)} MB`\n : `${Math.floor(source.file.size / 1024)} KB`;\n uploadStatus.value = \"beforeUpload\";\n };\n const params = {\n file: formData\n };\n const downloadModalVisible = ref(false);\n const cancelTip = () => {\n downloadModalVisible.value = false;\n };\n const downloadTipsText = ref(\"\");\n const emptyVisible = ref(false);\n const emptyTipsText = ref(\"\");\n const fileId = ref(\"\");\n const uploadFile = (source: any) => {\n if (!query.payoutRound) {\n message.error(\"Please select payout round.\");\n return;\n }\n axios({\n method: \"post\",\n data: formData,\n url: `/ptapi/dealer/setting/uploadNameCodeChangingFile?payoutRound=${query.payoutRound}`,\n params: params,\n }).then((res) => {\n if (res.data.code !== \"0\" && res.data.code !== \"9011\") {\n // 显示模态窗口\n downloadModalVisible.value = true;\n downloadTipsText.value = res.data.message;\n fileId.value = res.data.data;\n uploadStatus.value = \"start\";\n } else if (res.data.code === \"9011\") {\n emptyVisible.value = true;\n emptyTipsText.value = res.data.message;\n uploadStatus.value = \"start\";\n } else {\n message.success(\"File check successfully!\");\n uploadStatus.value = \"checked\";\n }\n });\n };\n // 导入接口调用\n const importFile = () => {\n if (!query.payoutRound) {\n message.error(\"Please select payout round.\");\n return;\n }\n const params = {\n file: formData\n };\n axios({\n method: \"post\",\n data: formData,\n url: `/ptapi/dealer/setting/importNameCodeChangingFile?payoutRound=${query.payoutRound}`,\n params: params,\n }).then((res) => {\n if (res.data.code !== \"0\") {\n Modal.warning({\n title: \"Tips\",\n content: res.data.message,\n centered: true,\n });\n } else {\n uploadStatus.value = \"imported\";\n message.success(\"File Upload successfully!\");\n context.emit(\"change-table\");\n }\n });\n };\n const handleBrowse = () => {\n uploadStatus.value = \"start\";\n };\n const handleDownload = () => {\n const params = {\n url: `/ptapi/dealer/setting/downloadNameCodeChangingTemplate`,\n method: \"get\",\n fileName: `${+new Date()}.xlsx`,\n };\n downloadFile(params, \"application/vnd-excel; char-set=UTF-8\");\n };\n // 上传功能出错后下载模态窗口\n const handleCheckedMsgDownload = () => {\n const downloadParams = {\n fileId: fileId.value,\n };\n const params = {\n url: `/ptapi/downloadFile`,\n method: \"get\",\n params: downloadParams,\n fileName: `${+new Date()}.xlsx`,\n };\n downloadFile(params, \"application/vnd-excel; char-set=UTF-8\").then(\n (res) => {\n downloadModalVisible.value = false;\n emptyVisible.value = false;\n }\n );\n };\n return {\n _title,\n _visible,\n handleCancel,\n beforeUpload,\n uploadRequest,\n uploadFile,\n importFile,\n handleBrowse,\n handleDownload,\n handleCheckedMsgDownload,\n curUploadFile,\n uploadFileSize,\n curPercent,\n uploadStatus,\n downloadModalVisible,\n downloadTipsText,\n emptyVisible,\n emptyTipsText,\n cancelTip,\n query,\n entityList,\n setQuery,\n roundList,\n searchRound\n };\n },\n components: {\n CheckCircleOutlined,\n ExclamationCircleOutlined,\n YearPicker,\n },\n});\n","import { render } from \"./nameUploadFile.vue?vue&type=template&id=3afd6756&scoped=true&ts=true\"\nimport script from \"./nameUploadFile.vue?vue&type=script&lang=ts\"\nexport * from \"./nameUploadFile.vue?vue&type=script&lang=ts\"\n\nimport \"./nameUploadFile.vue?vue&type=style&index=0&id=3afd6756&lang=scss&scoped=true\"\nimport \"./nameUploadFile.vue?vue&type=style&index=1&id=3afd6756&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-3afd6756\"]])\n\nexport default __exports__","\nimport { defineComponent, ref, computed } from \"vue\";\nimport { RightOutlined } from \"@ant-design/icons-vue\";\nimport downloadFile from \"@/utils/payment/downloadFile\";\nimport YearPicker from \"../../components/YearPicker.vue\";\nimport collapseTable from \"./collapseTable.vue\";\nimport useDealerSetting from \"@/hooks/payment/bu/useDealerSetting\";\nimport uploadFile from \"./uploadFile.vue\";\nimport NormalUploadFile from \"./normalUploadFile.vue\";\nimport NormalDealerDpDrawer from \"./normalDealerDpDrawer.vue\";\nimport NameUploadFile from \"./nameUploadFile.vue\";\nimport { getDealerNewRound } from \"@/API/payment\";\nimport EntitySelector from \"@/views/Payment/components/EntitySelector.vue\";\nexport default defineComponent({\n name: \"DealerSetting\",\n props: {},\n setup() {\n const {\n search,\n reset,\n searchRound,\n query,\n NormalDelearData,\n RiskDelearData,\n column,\n roundList,\n roundRes,\n dealerCodeList,\n dealerNameList,\n dealerRegionList,\n dealerGroupList,\n handleDownload,\n handleNormalDrawerOpen,\n handleRiskDrawerOpen,\n // handleNameDrawerOpen,\n uploadVisible,\n normalUploadVisible,\n normalDpUploadVisible,\n nameUploadVisible,\n uploadTitle,\n getRowClass,\n entityRef,\n activeKey,\n } = useDealerSetting();\n const handleDatachange = () => {\n search();\n };\n const handleDownloadClick = () => {\n const params = {\n url: `/ptapi/dealer/setting/downloadRiskDealerExcel`,\n method: \"post\",\n // fileName: `${+new Date()}.xlsx`,\n params: query,\n };\n downloadFile(params);\n };\n // 查询当前最新payout round\n // 填充payout round\n const res = ref();\n const payoutRound = computed(() => {\n return res.value ? res.value.payoutRound : \"\";\n });\n getDealerNewRound().then((_res) => {\n res.value = _res;\n });\n const nameUpload = ref();\n const handleNameDrawerOpen = () => {\n nameUploadVisible.value = true;\n uploadTitle.value = \"Name/Code Changing\";\n nameUpload.value.setQuery(query, roundRes);\n };\n const dpProcessPayoutRound = computed(() => {\n return query.payoutRound;\n })\n \n const handleChildEvent = (data: any) => {\n search();\n }\n\n // getRoundListByDate({\n // params: {\n // year: \"0\",\n // month: \"0\",\n // type: \"DEALER\",\n // },\n // }).then((_res) => {\n // res.value = _res;\n // });\n return {\n open,\n search,\n reset,\n searchRound,\n query,\n activeKey,\n roundList,\n dealerCodeList,\n dealerNameList,\n dealerRegionList,\n dealerGroupList,\n handleDownload,\n handleNormalDrawerOpen,\n handleRiskDrawerOpen,\n handleNameDrawerOpen,\n nameUpload,\n handleDatachange,\n uploadVisible,\n normalUploadVisible,\n nameUploadVisible,\n uploadTitle,\n NormalDelearData,\n RiskDelearData,\n column,\n handleDownloadClick,\n payoutRound,\n getRowClass,\n entityRef,\n dpProcessPayoutRound,\n handleChildEvent,\n };\n },\n components: {\n RightOutlined,\n collapseTable,\n YearPicker,\n uploadFile,\n NormalUploadFile,\n NormalDealerDpDrawer,\n NameUploadFile,\n EntitySelector,\n },\n});\n","import { render } from \"./index.vue?vue&type=template&id=7b82519a&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=7b82519a&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-7b82519a\"]])\n\nexport default __exports__","import axios from 'axios'\nimport { AxiosRequestConfig } from '@/API/types'\nexport default (options: AxiosRequestConfig) => { \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).then((res: any) => {\n // 文件格式\n const blob = new Blob([res.data], { type: 'application/vnd-excel; char-set=UTF-8' })\n const downloadElement = document.createElement('a')\n const href = window.URL.createObjectURL(blob)\n downloadElement.href = href\n // 下载后文件名\n downloadElement.download = !fileName ? Date.now().toString() : fileName\n document.body.appendChild(downloadElement)\n downloadElement.click() \n document.body.removeChild(downloadElement)\n // 释放掉blob对象\n window.URL.revokeObjectURL(href)\n resolve(res)\n }).catch(function (error: string) {\n console.log(error)\n return reject(error)\n })\n })\n}","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./normalUploadFile.vue?vue&type=style&index=0&id=e16633c4&lang=scss&scoped=true\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./index.vue?vue&type=style&index=0&id=7b82519a&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!./normalUploadFile.vue?vue&type=style&index=1&id=e16633c4&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!./uploadFile.vue?vue&type=style&index=0&id=3654b2aa&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!./uploadFile.vue?vue&type=style&index=1&id=3654b2aa&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!./nameUploadFile.vue?vue&type=style&index=1&id=3afd6756&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!./normalDealerDpDrawer.vue?vue&type=style&index=0&id=4c806b84&lang=scss&scoped=true\"","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAQCAYAAADTasWKAAAABGdBTUEAALGPC/xhBQAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAA6ADAAQAAAABAAAAEAAAAABTVpExAAAARklEQVQIHWNgWPf+GcO6Dx0MV/+zsTD8Z5BkYPhfznDzIwMTAxz8j0NwgCoQHKAK+nMYGZ4jWcq4iIUBKMLAwLiIQZ2/DgAi2RE9IOkxIAAAAABJRU5ErkJggg==\"","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!./normalDealerDpDrawer.vue?vue&type=style&index=1&id=4c806b84&lang=scss\"","import { createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, mergeProps as _mergeProps, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\nimport _imports_0 from '@/assets/images/date-icon.svg'\n\n\nconst _hoisted_1 = /*#__PURE__*/_createElementVNode(\"img\", {\n src: _imports_0,\n alt: \"\"\n}, null, -1)\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\n return (_openBlock(), _createBlock(_component_a_date_picker, _mergeProps({\n format: \"YYYY\",\n mode: \"year\",\n value: _ctx.yearValue,\n \"onUpdate:value\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.yearValue) = $event)),\n open: _ctx.isOpen,\n onOpenChange: _ctx.handleOpenChange,\n onPanelChange: _ctx.handlePanelChange\n }, _ctx.$attrs), {\n suffixIcon: _withCtx(() => [\n _hoisted_1\n ]),\n _: 1\n }, 16, [\"value\", \"open\", \"onOpenChange\", \"onPanelChange\"]))\n}","\nimport { computed, defineComponent, ref } from 'vue'\nimport type { PropType } from 'vue'\nimport type { Moment } from 'moment' \n\nexport default defineComponent({\n props: {\n value: {\n type: Object as PropType,\n }\n },\n emits: [\n 'update:value',\n 'open-change',\n 'panel-change'\n ],\n setup(props, context) {\n const isOpen = ref(false)\n\n const yearValue = computed({\n get() {\n return props.value\n },\n set(value) {\n context.emit('update:value', value)\n }\n })\n\n const handleOpenChange = (status: boolean) => {\n isOpen.value = status ? true : false\n context.emit('open-change', status)\n }\n\n const handlePanelChange = (value: unknown, mode: string) => {\n yearValue.value = value\n isOpen.value = false\n context.emit('panel-change', value, mode)\n }\n\n return {\n isOpen,\n yearValue,\n handleOpenChange,\n handlePanelChange\n }\n }\n})\n","import { render } from \"./YearPicker.vue?vue&type=template&id=1bb4274d&ts=true\"\nimport script from \"./YearPicker.vue?vue&type=script&lang=ts\"\nexport * from \"./YearPicker.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!./nameUploadFile.vue?vue&type=style&index=0&id=3afd6756&lang=scss&scoped=true\"","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!./collapseTable.vue?vue&type=style&index=0&id=af50974e&scoped=true&lang=scss\"","/*\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","const useStripedRowClass = () => {\n return (record: T, index: number) => {\n if (index % 2 === 1) {\n return \"table-striped\";\n } else {\n return null;\n }\n };\n};\nexport default useStripedRowClass;\n","/*\n * @Author: hanxi\n * @Date: 2021-06-08 15:27:45\n * @Description: 千分位符处理,处理后的数字保留两位小数\n */\nexport const toThousandsAndTwoDecimal = (count: number | string): string => {\n if (count === undefined || count === null) {\n return \"\";\n }\n if (typeof count === \"string\") {\n if (count.indexOf(\",\") !== -1) {\n if (count.indexOf(\".\") !== -1) {\n return count;\n } else {\n return count + \".00\";\n }\n }\n count = Number(count);\n }\n count = count.toFixed(2);\n return count\n .toString()\n .replace(/(\\d)(?=(\\d{3})+\\.)/g, function($0, $1) {\n return $1 + \",\";\n })\n .replace(/\\.$/, \"\");\n};\n\nexport const toThousands = (count: number | string): string => {\n if (count === undefined) {\n return \"\";\n }\n if (typeof count === \"string\") {\n if (count.indexOf(\",\") !== -1) {\n if (count.indexOf(\".\") !== -1) {\n return count.substring(0, count.indexOf(\".\") + 1)\n } else {\n return count;\n }\n }\n count = Number(count);\n }\n count = Math.round(count)\n return count\n .toString()\n .replace(/(\\d)(?=(?:\\d{3})+$)/g,'$1,')\n};","import { h } from 'vue'\nimport { toThousandsAndTwoDecimal } from './numberFormat'\nconst useThousandsAndTwoDecimal = () => {\n return ({text}: {\n text: number | string;\n }) => {\n return h('span', toThousandsAndTwoDecimal(text));\n };\n };\n export default useThousandsAndTwoDecimal;\n "],"sourceRoot":""}