{"version":3,"sources":["webpack:///./src/views/Payment/components/TableWrapper.vue?cc43","webpack:///./src/views/Payment/components/TableWrapper.vue","webpack:///./src/views/Payment/components/TableWrapper.vue?6966","webpack:///./src/views/RetailValidation/Communication/TaskOverview/detail.vue?df7e","webpack:///./src/API/dealerMaster.ts","webpack:///./src/views/Payment/components/TableWrapper.vue?058f","webpack:///./src/views/RetailValidation/Communication/dictionary.ts","webpack:///./src/views/RetailValidation/Communication/TaskOverview/detail.vue?6c3d","webpack:///./src/hooks/rv/communication/useTaskOverviewDetail.ts","webpack:///./src/views/RetailValidation/Communication/TaskOverview/detail.vue","webpack:///./src/views/RetailValidation/Communication/TaskOverview/detail.vue?986c","webpack:///./src/API/rv/rvSplitTask.ts"],"names":["render","_ctx","_cache","$props","$setup","$data","$options","class","isPagination","$slots","tableHeight","tableSize","height","bottomHeight","undefined","name","props","type","Boolean","default","Number","setup","__exports__","getAllBu","getDealerGroup","getDealerType","newRegion","reqBody","updateRegion","deleteRegion","params","id","getRegion","getRegionDetail","getDealerList","getDealerDetail","dealerId","updateDealerInfo","getDealerHistory","page","size","checkDealer","dealerInfoId","dealerCode","getDealerBlockList","saveBlockRecord","getBlockCodeList","getDealerBlockLink","documentId","fileName","deleteBlockRecord","getDealerBlockView","blockCode","updateAuditState","exportDealerInfo","a","post","responseType","TaskStatusList","value","TaskCategoryList","TaskCategoryListCn","_withScopeId","n","_hoisted_1","_hoisted_2","_hoisted_3","_hoisted_4","_hoisted_5","_hoisted_6","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_11","_hoisted_12","_hoisted_13","_hoisted_14","_hoisted_15","_hoisted_16","_hoisted_17","_hoisted_18","_hoisted_19","_hoisted_20","_hoisted_21","_hoisted_22","_hoisted_23","style","_hoisted_24","key","_hoisted_25","_hoisted_26","_hoisted_27","_hoisted_28","_component_Breadcrumb","_component_a_input","_component_a_select_option","_component_a_select","_component_a_button","_component_a_table","_component_table_wrapper","_component_a_modal","dataSource","placeholder","$event","allowClear","swtCode","dealerNameCn","subRegion","subRegions","item","subRegionEn","_","onClick","handleDownload","handleExport","search","slotProps","scroll","y","x","data","columns","column","rowKey","pagination","rowClassName","record","index","isReceive","feedback","handleView","disabled","visible","feadbackModalvisible","title","footer","feadbackModalContent","getMap","list","reduce","prev","cur","useTaskDistributionOverview","route","state","query","status","category","originColumn","dataIndex","width","customRender","text","slots","filter","bu","user","orgnmen","headerId","dataRes","fetchTableData","Object","keys","forEach","then","res","buRes","buList","fetchSubRegions","nameEn","regionDto","useTaskOverviewDetail","init","_query","url","method","downloadFile","downLoad","href","downloadElement","document","createElement","body","appendChild","click","removeChild","downloadUrl","components","TableWrapper","getTaskOverviwList","addTask","editTask","deleteTask","getTaskDetailList","getTaskDetailView","reuploadFile","reuploadDocFile","checkMappingFile","mappingFile","config","formData","FormData","set","checkDocData","documentFiles","documentFile","append","uploadDocData","docIsSplit","getDocSplitNum","taskWait","taskRelease","getTaskOverviewRegionList","getTaskOverviewRegionDetail","dealerTaskList","dealerViewFeedback","dealerAddFeedback","dealerEditFeedback","dealerDocExport","detailId","dealerDataExport","exportDealerListQueryResult","downloadDocuments"],"mappings":"kIAEO,SAASA,EAAOC,EAAUC,EAAYC,EAAYC,EAAYC,EAAWC,GAC9E,OAAQ,yBAAc,gCAAoB,MAAO,CAC/CC,MAAO,4BAAgB,CAAC,wBAAyB,CAAC,WAAaN,EAAKO,iBACnE,CACD,wBAAYP,EAAKQ,OAAQ,UAAW,CAClCC,YAAaT,EAAKU,UAAUC,QAAUX,EAAKO,aAAeP,EAAKY,aAAe,GAAKZ,EAAKY,oBACvFC,GAAW,IACb,G,gBCNU,+BAAgB,CAC7BC,KAAM,eACNC,MAAO,CACLR,aAAc,CACZS,KAAMC,QACNC,SAAS,GAEXN,aAAc,CACZI,KAAMG,OACND,QAAS,KAGbE,MAAK,WACH,IAAMV,EAAY,eAAY,0BAC9B,MAAO,CACLA,UAAS,M,iCCXf,MAAMW,EAA2B,IAAgB,EAAQ,CA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gDE,EAAU,CACzE3K,OAAQ,CACNiI,SAAUhI,MAKHoL,EAAW,SAACpL,GACvB,OAAO,eAAU,sCAAsCA,IAG5CqL,EAAc,SAACrL,GAC1B,OAAO,eAAS,+BAAgC,CAC9CD,OAAQ,CACNiI,SAAUhI,MAKHsL,EAA4B,SAACvL,GACxC,YADwC,IAAAA,MAAA,IACjC,eAAU,kCAAmCA,IAGzCwL,EAA8B,SAACxL,GAC1C,YAD0C,IAAAA,MAAA,IACnC,eAAU,4BAA6BA,IAGnCyL,EAAiB,SAACzL,GAC7B,YAD6B,IAAAA,MAAA,IACtB,eAAU,0BAA2BA,IAGjC0L,EAAqB,SAACzL,GACjC,OAAO,eAAU,mCAAoC,GAAI,CACvDD,OAAQ,CACNC,GAAE,MAKK0L,EAAoB,SAAC1L,EAAYmG,GAC5C,OAAO,eAAU,kCAAmC,GAAI,CACtDpG,OAAQ,CACNC,GAAE,EACFmG,SAAQ,MAKDwF,EAAqB,SAAC3L,EAAYmG,GAC7C,OAAO,eAAU,mCAAoC,GAAI,CACvDpG,OAAQ,CACNC,GAAE,EACFmG,SAAQ,MAKDyF,EAAkB,SAACC,GAC9B,OAAO,eAAU,yCAA0C,GAAI,CAC7D9L,OAAQ,CACN8L,SAAQ,MAKDC,EAAmB,SAAC9D,EAAkBpH,GACjD,OAAO,EAAAY,EAAMC,KAAK,sCAAuC,KAAM,CAC7DC,aAAc,OACd3B,OAAQ,CACNiI,SAAQ,EACRpH,WAAU,MAWHmL,EAA8B,SAAChM,GAC1C,YAD0C,IAAAA,MAAA,IACnC,EAAAyB,EAAMC,KAAK,yCAA0C1B,EAAQ,CAClE2B,aAAc,UAILsK,EAAoB,SAACjM,GAChC,YADgC,IAAAA,MAAA,IACzB,eAAU,wCAAyCA","file":"js/chunk-4963adde.9bb18634.js","sourcesContent":["import { renderSlot as _renderSlot, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass([\"payment-table-wrapper\", {'pagination':_ctx.isPagination}])\n }, [\n _renderSlot(_ctx.$slots, \"default\", {\n tableHeight: _ctx.tableSize.height - (_ctx.isPagination ? _ctx.bottomHeight + 40 : _ctx.bottomHeight)\n }, undefined, true)\n ], 2))\n}","\nimport { defineComponent } from \"vue\";\nimport { elementSize } from \"@/utils\";\nexport default defineComponent({\n name: \"TableWrapper\",\n props: {\n isPagination: {\n type: Boolean,\n default: false\n },\n bottomHeight: {\n type: Number,\n default: 40\n }\n },\n setup() {\n const tableSize = elementSize(\".payment-table-wrapper\");\n return {\n tableSize,\n };\n },\n});\n","import { render } from \"./TableWrapper.vue?vue&type=template&id=ca3a3046&scoped=true&ts=true\"\nimport script from \"./TableWrapper.vue?vue&type=script&lang=ts\"\nexport * from \"./TableWrapper.vue?vue&type=script&lang=ts\"\n\nimport \"./TableWrapper.vue?vue&type=style&index=0&id=ca3a3046&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-ca3a3046\"]])\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!./detail.vue?vue&type=style&index=0&id=3bdb5071&scoped=true&lang=scss\"","import {fetchDelete, fetchDeletePic, fetchGet, fetchPost, fetchPut} from \"./index\";\nimport {\n DealerListQueryParams,\n DealerDetail,\n DealerListProps,\n DealerChangeHistoryProps,\n} from \"@/views/DealerMasterData/Dealer/types\";\nimport {\n Bu,\n DealerGroup,\n DealerType,\n} from \"@/views/DealerMasterData/Region/types\";\nimport {\n NewRegionProps,\n RegionListProps,\n UpdateRegionProps,\n} from \"@/views/DealerMasterData/Region/types\";\nimport axios from \"axios\";\n\nexport const getAllBu = (): Promise => {\n return fetchGet(\"/dapi/allBu\");\n};\n\nexport const getDealerGroup = (): Promise => {\n return fetchGet(\"/dapi/allGroup\");\n};\n\nexport const getDealerType = (): Promise => {\n return fetchGet(\"/dapi/allType\");\n};\n\nexport const newRegion = (reqBody: NewRegionProps): Promise => {\n return fetchPost(\"/dapi/newRegion\", reqBody);\n};\n\nexport const updateRegion = (reqBody: UpdateRegionProps): Promise => {\n return fetchPut(\"/dapi/updateRegion\", reqBody);\n};\n\nexport const deleteRegion = (params: { id: string }): Promise => {\n return fetchDeletePic(`/dapi/deleteRegion/${params.id}`);\n};\n\nexport const getRegion = (params: {\n buId: number;\n}): Promise => {\n return fetchGet(\"/dapi/dealerRegion\", { params });\n};\n\nexport const getRegionDetail = (params: {\n id: number;\n}): Promise => {\n return fetchGet(`/dapi/region/${params.id}`);\n};\n\n//dealer\n\nexport const getDealerList = (\n params: DealerListQueryParams\n): Promise => {\n return fetchGet(\"/dapi/dealerInfo/list\", { params });\n};\n\nexport const getDealerDetail = (params: {\n dealerId: string;\n}): Promise => {\n return fetchGet(`/dapi/dealerInfo/${params.dealerId}`);\n};\n\nexport const updateDealerInfo = (reqBody: DealerDetail): Promise => {\n return fetchPut(\"/dapi/dealerInfo\", reqBody);\n};\n\nexport const getDealerHistory = (params: {\n dealerId: string;\n page: number;\n size: number;\n}): Promise => {\n return fetchGet(`/dapi/dealerHistory/${params.dealerId}`, {\n params: { page: params.page, size: params.size },\n });\n};\n\nexport const checkDealer = (params: {\n dealerInfoId: string;\n dealerCode: string;\n}): Promise => {\n return fetchGet(\n `/dapi/dealerInfo/${params.dealerInfoId}/${params.dealerCode}`\n );\n};\n\n// dealer block\nexport const getDealerBlockList = (params = {}): Promise => {\n return fetchGet(\"/dapi/dealerBlock/list\", { params });\n};\n\n// 上传后保存\nexport const saveBlockRecord = (params = {}): Promise => {\n return fetchPost(\"/dapi/dealerBlock/blockRecord\", params);\n};\n\n// 获取dealerblockcode\nexport const getBlockCodeList = () => {\n return fetchGet(\"/dapi/dealerBlock/allDealerBlockCode\");\n};\n\n// 获取下载文件历史链接\nexport const getDealerBlockLink = (\n documentId: string,\n type: string,\n fileName: string\n) => {\n return fetchGet(\n `/dapi/dealerBlock/download/${documentId}/${type}/${fileName}/link`\n );\n};\n\n// 删除block数据\nexport const deleteBlockRecord = (id: string) => {\n return fetchDelete(`/dapi/dealerBlock/blockRecord/${id}`);\n};\n\n// view的table数据\nexport const getDealerBlockView = (blockCode: string) => {\n return fetchGet(`/dapi/dealerBlock/blockRecord/${blockCode}`);\n};\n\n// 更改状态\nexport const updateAuditState = (params = {}) => {\n return fetchPost(`/dapi/dealerBlock/blockRecord/audit`, {}, { params });\n};\n\nexport const exportDealerInfo = (params: any) => {\n return axios.post(\n \"/dapi/dealerInfo/export\",\n {},\n { params, responseType: \"blob\" }\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!./TableWrapper.vue?vue&type=style&index=0&id=ca3a3046&lang=scss&scoped=true\"","export const TaskStatusList = [\n {\n name: \"Draft\",\n value: \"1\",\n },\n {\n name: \"Waiting for release\",\n value: \"2\",\n },\n {\n name: \"Released\",\n value: \"3\",\n },\n {\n name: \"All\",\n value: \"-1\",\n },\n];\nexport const TaskCategoryList = [\n {\n name: \"Data\",\n value: \"1\",\n },\n {\n name: \"Document\",\n value: \"2\",\n },\n {\n name: \"All\",\n value: \"-1\",\n }\n];\nexport const TaskCategoryListCn = [\n {\n name: \"数据类别\",\n value: \"1\",\n },\n {\n name: \"文件类别\",\n value: \"2\",\n },\n {\n name: \"全部\",\n value: \"-1\",\n }\n];\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, createTextVNode as _createTextVNode, withCtx as _withCtx, createBlock as _createBlock, createCommentVNode as _createCommentVNode, normalizeClass as _normalizeClass, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-3bdb5071\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"payment-container\" }\nconst _hoisted_2 = { class: \"payment-overview-block-wrapper flex-wrapper flex-height\" }\nconst _hoisted_3 = { class: \"payment-overview-block\" }\nconst _hoisted_4 = { class: \"payment-search-wrapper\" }\nconst _hoisted_5 = { class: \"payment-search-row\" }\nconst _hoisted_6 = { class: \"search-item\" }\nconst _hoisted_7 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { class: \"label\" }, \" Dealer Code \", -1))\nconst _hoisted_8 = { class: \"search-item\" }\nconst _hoisted_9 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { class: \"label\" }, \" SWT Code \", -1))\nconst _hoisted_10 = { class: \"search-item\" }\nconst _hoisted_11 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { class: \"label\" }, \" Dealer Name CN \", -1))\nconst _hoisted_12 = { class: \"search-item\" }\nconst _hoisted_13 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { class: \"label\" }, \" Sub Region \", -1))\nconst _hoisted_14 = { class: \"payment-search-row\" }\nconst _hoisted_15 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"search-item\" }, null, -1))\nconst _hoisted_16 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"search-item\" }, null, -1))\nconst _hoisted_17 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"search-item\" }, null, -1))\nconst _hoisted_18 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"search-item\" }, null, -1))\nconst _hoisted_19 = { class: \"search-btns m-t-16\" }\nconst _hoisted_20 = /*#__PURE__*/_createTextVNode(\" Download Documents \")\nconst _hoisted_21 = /*#__PURE__*/_createTextVNode(\" Export Task Details \")\nconst _hoisted_22 = /*#__PURE__*/_createTextVNode(\" Search \")\nconst _hoisted_23 = {\n class: \"payment-overview-block flex-wrapper flex-height\",\n style: {\"margin-top\":\"10px\"}\n}\nconst _hoisted_24 = { key: 0 }\nconst _hoisted_25 = { key: 1 }\nconst _hoisted_26 = { key: 2 }\nconst _hoisted_27 = { key: 0 }\nconst _hoisted_28 = [\"onClick\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_Breadcrumb = _resolveComponent(\"Breadcrumb\")!\n const _component_a_input = _resolveComponent(\"a-input\")!\n const _component_a_select_option = _resolveComponent(\"a-select-option\")!\n const _component_a_select = _resolveComponent(\"a-select\")!\n const _component_a_button = _resolveComponent(\"a-button\")!\n const _component_a_table = _resolveComponent(\"a-table\")!\n const _component_table_wrapper = _resolveComponent(\"table-wrapper\")!\n const _component_a_modal = _resolveComponent(\"a-modal\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createVNode(_component_Breadcrumb, { dataSource: [{ name: 'Details' }] }),\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"div\", _hoisted_6, [\n _hoisted_7,\n _createVNode(_component_a_input, {\n placeholder: \"Please input\",\n value: _ctx.dealerCode,\n \"onUpdate:value\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.dealerCode) = $event)),\n allowClear: \"\"\n }, null, 8, [\"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_8, [\n _hoisted_9,\n _createVNode(_component_a_input, {\n placeholder: \"Please input\",\n value: _ctx.swtCode,\n \"onUpdate:value\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.swtCode) = $event)),\n allowClear: \"\"\n }, null, 8, [\"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_10, [\n _hoisted_11,\n _createVNode(_component_a_input, {\n placeholder: \"Please input\",\n value: _ctx.dealerNameCn,\n \"onUpdate:value\": _cache[2] || (_cache[2] = ($event: any) => ((_ctx.dealerNameCn) = $event)),\n allowClear: \"\"\n }, null, 8, [\"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_12, [\n _hoisted_13,\n _createVNode(_component_a_select, {\n value: _ctx.subRegion,\n \"onUpdate:value\": _cache[3] || (_cache[3] = ($event: any) => ((_ctx.subRegion) = $event)),\n allowClear: \"\",\n class: \"sel-inp-size\",\n placeholder: \"Please select\"\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.subRegions, (item) => {\n return (_openBlock(), _createBlock(_component_a_select_option, {\n value: item.subRegionEn,\n key: item.subRegionEn\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(item.subRegionEn), 1)\n ]),\n _: 2\n }, 1032, [\"value\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"value\"])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_14, [\n _hoisted_15,\n _hoisted_16,\n _hoisted_17,\n _hoisted_18,\n _createElementVNode(\"div\", _hoisted_19, [\n _createVNode(_component_a_button, {\n style: {\"margin-right\":\"15px\"},\n onClick: _ctx.handleDownload\n }, {\n default: _withCtx(() => [\n _hoisted_20\n ]),\n _: 1\n }, 8, [\"onClick\"]),\n _createVNode(_component_a_button, {\n style: {\"margin-right\":\"15px\"},\n onClick: _ctx.handleExport\n }, {\n default: _withCtx(() => [\n _hoisted_21\n ]),\n _: 1\n }, 8, [\"onClick\"]),\n _createVNode(_component_a_button, {\n type: \"primary\",\n onClick: _ctx.search\n }, {\n default: _withCtx(() => [\n _hoisted_22\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ])\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_23, [\n _createVNode(_component_table_wrapper, { \"is-pagination\": false }, {\n default: _withCtx((slotProps) => [\n _createVNode(_component_a_table, {\n scroll: { y: slotProps.tableHeight, x: 1600 },\n dataSource: _ctx.data,\n columns: _ctx.column,\n rowKey: \"id\",\n pagination: false,\n rowClassName: \n (record, index) =>\n index % 2 === 1 ? 'table-striped' : null\n \n }, {\n isReceive: _withCtx(({ record }) => [\n (record.isReceive === '1')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_24, \"Y\"))\n : _createCommentVNode(\"\", true),\n (record.isReceive === '2')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_25, \"N\"))\n : _createCommentVNode(\"\", true),\n (record.isReceive === '')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_26, \" No Request \"))\n : _createCommentVNode(\"\", true)\n ]),\n feedback: _withCtx(({ record }) => [\n (record.feedback === '3')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_27, \" No Request \"))\n : (_openBlock(), _createElementBlock(\"div\", {\n key: 1,\n onClick: ($event: any) => (_ctx.handleView(record)),\n class: _normalizeClass([\"link\", {\n disabled: record.feedback === '2',\n }])\n }, \" View \", 10, _hoisted_28))\n ]),\n _: 2\n }, 1032, [\"scroll\", \"dataSource\", \"columns\", \"rowClassName\"])\n ]),\n _: 1\n })\n ])\n ])\n ]),\n _createVNode(_component_a_modal, {\n visible: _ctx.feadbackModalvisible,\n \"onUpdate:visible\": _cache[4] || (_cache[4] = ($event: any) => ((_ctx.feadbackModalvisible) = $event)),\n title: \"Dealer Feedback\",\n footer: null\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.feadbackModalContent), 1)\n ]),\n _: 1\n }, 8, [\"visible\"])\n ], 64))\n}","import { ref, reactive, computed, toRaw, h } from \"vue\";\nimport { useRoute } from \"vue-router\";\nimport { useStore } from \"vuex\";\nimport { getTaskOverviewRegionDetail } from \"@/API/rv/rvSplitTask\";\nimport { getAllBu } from \"@/API/dealerMaster\";\nimport { TaskCategoryList } from \"@/views/RetailValidation/Communication/dictionary\";\n\nconst getMap = (list: any[]) => {\n return list?.reduce((prev, cur) => {\n prev[cur.value] = cur.name;\n return prev;\n }, {});\n};\n\nconst useTaskDistributionOverview = () => {\n const route = useRoute();\n const { state } = useStore()\n const { status, category, id, name } = route.query;\n const originColumn = ref([\n { title: \"Task Name\", dataIndex: \"taskName\", width: 168 },\n {\n title: \"Task Category\",\n dataIndex: \"taskCategory\",\n customRender: ({ text }: any) => {\n return h(\"span\", getMap(TaskCategoryList)[text]);\n },\n width: 168\n },\n { title: \"Task Description\", dataIndex: \"taskDescription\", width: 168 },\n { title: \"Dealer Code\", dataIndex: \"dealerCode\", width: 168 },\n { title: \"SWT Code\", dataIndex: \"swtCode\", width: 168 },\n { title: \"Dealer Name CN\", dataIndex: \"dealerNameCN\", width: 168 },\n // { title: \"Sub Region\", dataIndex: \"subRegion\", width: 168 },\n { title: \"If receive data/document\", dataIndex: \"isReceive\",slots: {customRender: 'isReceive'}, width: 168 },\n { title: \"Dealer Feedback\", dataIndex: \"feedbackDealer\", slots: {customRender: 'feedback'}, width: 168 },\n ]);\n // 根据query 过滤column\n const column = computed(() => {\n return originColumn.value.filter((item: any) => {\n return category === \"2\" || item.dataIndex !== \"taskDescription\";\n });\n });\n const query = reactive({\n bu: state.user.bu.orgnmen === 'MBPC' ? 'MB' : state.user.bu.orgnmen,\n dealerCode: \"\",\n dealerNameCn: \"\",\n headerId: id,\n subRegion: undefined,\n swtCode: \"\",\n });\n const dataRes = ref();\n const data = computed(() => {\n return dataRes.value ? dataRes.value : [];\n });\n const fetchTableData = () => {\n const params = { ...toRaw(query) };\n Object.keys(params).forEach((key) => {\n if (params[key] === undefined) {\n params[key] = \"\";\n }\n });\n return getTaskOverviewRegionDetail(params).then((res: any) => {\n dataRes.value = res;\n });\n };\n const buRes = ref();\n const buList = computed(() => {\n return buRes.value ? buRes.value : [];\n });\n\n const subRegions = ref([]);\n\n const fetchSubRegions = () => {\n getAllBu().then((res: any) => {\n res.forEach((bu: any) => {\n if (bu.nameEn === state.user.bu.orgnmen) {\n subRegions.value = bu.regionDto\n }\n })\n });\n };\n\n return {\n query,\n data,\n column,\n fetchTableData,\n buList,\n subRegions,\n fetchSubRegions,\n id, // headerId\n status, // 任务状态\n category, // 任务类型\n name // 任务名称\n };\n};\nexport default useTaskDistributionOverview;\n","\nimport { defineComponent, ref, toRefs, toRaw } from 'vue';\nimport TableWrapper from '@/views/Payment/components/TableWrapper.vue';\nimport useTaskOverviewDetail from '@/hooks/rv/communication/useTaskOverviewDetail';\nimport { getTaskDetailView, downloadDocuments } from '@/API/rv/rvSplitTask';\nimport downloadFile from '@/utils/payment/downloadFile';\nexport default defineComponent({\n name: 'App',\n props: {},\n setup() {\n const {\n query,\n data,\n column,\n fetchTableData,\n buList,\n subRegions,\n fetchSubRegions,\n id,\n status,\n category,\n name,\n } = useTaskOverviewDetail();\n const search = () => {\n fetchTableData();\n };\n const init = () => {\n fetchSubRegions();\n search();\n };\n init();\n\n const feadbackModalvisible = ref(false);\n const feadbackModalContent = ref();\n const handleView = (record: any) => {\n if (record.feedback === '2') {\n return;\n }\n getTaskDetailView(record.id).then((res: any) => {\n feadbackModalContent.value = res;\n feadbackModalvisible.value = true;\n });\n };\n const handleExport = () => {\n let params = null;\n const _query = { ...toRaw(query) };\n Object.keys(_query).forEach((key) => {\n if (_query[key] === undefined) {\n _query[key] = '';\n }\n });\n if (category === '1') {\n params = {\n url: `/rvapi/task/docData/download/data/taskDetail`,\n method: 'post',\n params: _query,\n };\n } else {\n params = {\n url: `/rvapi/task/docData/download/doc/taskDetail`,\n method: 'post',\n params: _query,\n };\n }\n downloadFile(params);\n };\n\n const downLoad = (href: string) => {\n const downloadElement = document.createElement('a');\n downloadElement.href = href;\n document.body.appendChild(downloadElement);\n downloadElement.click();\n document.body.removeChild(downloadElement);\n };\n\n const handleDownload = () => {\n const params = {\n bu: query.bu,\n dealerCode: query.dealerCode,\n dealerNameCn: query.dealerNameCn,\n headerId: id,\n subRegion: query.dealerNameCn,\n swtCode: query.swtCode,\n };\n downloadDocuments(params).then((res: any) => {\n downLoad(res.downloadUrl);\n });\n };\n\n return {\n ...toRefs(query),\n column,\n data,\n buList,\n subRegions,\n search,\n handleView,\n feadbackModalvisible,\n feadbackModalContent,\n status,\n category,\n name,\n id,\n handleExport,\n handleDownload,\n };\n },\n components: {\n TableWrapper,\n },\n});\n","import { render } from \"./detail.vue?vue&type=template&id=3bdb5071&scoped=true&ts=true\"\nimport script from \"./detail.vue?vue&type=script&lang=ts\"\nexport * from \"./detail.vue?vue&type=script&lang=ts\"\n\nimport \"./detail.vue?vue&type=style&index=0&id=3bdb5071&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-3bdb5071\"]])\n\nexport default __exports__","import { fetchGet, fetchPost, fetchPostPic } from \"../index\";\nimport type { FileResponse } from '@/API/types'\nimport axios from 'axios'\n\nexport const getTaskOverviwList = (params = {}): Promise => {\n return fetchPost(\"/rvapi/task/overview/list\", params);\n};\nexport const addTask = (params = {}) => {\n return fetchPost(\"/rvapi/task/overview/add\", params);\n};\nexport const editTask = (params = {}) => {\n return fetchPost(\"/rvapi/task/overview/edit\", params);\n};\nexport const deleteTask = (params = {}) => {\n return fetchPost(\"/rvapi/task/overview/delete\", params);\n};\nexport const getTaskDetailList = (params = {}) => {\n return fetchPost(\"/rvapi/task/detail/list\", params);\n};\nexport const getTaskDetailView = (id: any) => {\n return fetchPost(`/rvapi/task/detail/view?id=${id}`);\n};\nexport const reuploadFile = (id: any) => {\n return fetchPost(`/rvapi/task/docData/reUpload/data?headerId=${id}`);\n};\nexport const reuploadDocFile = (id: any) => {\n return fetchPost(`/rvapi/task/docData/reUpload/doc?headerId=${id}`);\n};\nexport const checkMappingFile = (mappingFile: Blob, config = {}) => {\n const formData = new FormData()\n formData.set('mapping', mappingFile)\n return fetchPost('/rvapi/task/docData/upload/mapping/standard', formData, config)\n}\nexport const checkDocData = (id: string, mappingFile: Blob, documentFiles: Blob[], config = {}): Promise => {\n const formData = new FormData()\n formData.set('mapping', mappingFile)\n documentFiles.forEach(documentFile => {\n formData.append('documents', documentFile)\n })\n\n return fetchPostPic('/rvapi/task/docData/upload/doc/errorData', formData, {\n params: {\n headerId: id\n },\n ...config\n });\n};\nexport const uploadDocData = (id: string, mappingFile: Blob, documentFiles: Blob[], config = {}) => {\n const formData = new FormData()\n formData.set('mapping', mappingFile)\n documentFiles.forEach(documentFile => {\n formData.append('documents', documentFile)\n })\n\n return fetchPostPic('/rvapi/task/docData/upload/mapping', formData, {\n params: {\n headerId: id\n },\n ...config\n });\n}\nexport const docIsSplit = (mappingFile: Blob): Promise => {\n const formData = new FormData();\n formData.set('document', mappingFile);\n return fetchPostPic('/rvapi/task/docData/upload/doc/isSplit', formData);\n}\nexport const getDocSplitNum = (id: string, mappingFile: Blob) => {\n const formData = new FormData();\n formData.set('mapping', mappingFile);\n return fetchPost('/rvapi/task/docData/upload/mapping/dealerNum', formData, {\n params: {\n headerId: id\n }\n });\n}\n// 状态waitting for release\nexport const taskWait = (id: any) => {\n return fetchPost(`/rvapi/task/overview/wait?headerId=${id}`);\n};\n// 状态release\nexport const taskRelease = (id: any) => {\n return fetchGet(`/rvapi/task/overview/release`, {\n params: {\n headerId: id\n }\n });\n};\n// OASIS-16731 Task Overview_Region\nexport const getTaskOverviewRegionList = (params = {}): Promise => {\n return fetchPost('/rvapi/task/overview/listRegion', params);\n};\n\nexport const getTaskOverviewRegionDetail = (params = {}): Promise => {\n return fetchPost('/rvapi/task/detail/region', params);\n};\n\nexport const dealerTaskList = (params = {}): Promise => {\n return fetchPost('/rvapi/task/dealer/list', params);\n};\n\nexport const dealerViewFeedback = (id: number) => {\n return fetchPost('/rvapi/task/dealer/view/feedBack', {}, {\n params: {\n id\n }\n });\n};\n\nexport const dealerAddFeedback = (id: number, feedback: string) => {\n return fetchPost('/rvapi/task/dealer/add/feedBack', {}, {\n params: {\n id,\n feedback\n }\n });\n};\n\nexport const dealerEditFeedback = (id: number, feedback: string) => {\n return fetchPost('/rvapi/task/dealer/edit/feedBack', {}, {\n params: {\n id,\n feedback\n }\n });\n};\n\nexport const dealerDocExport = (detailId: number): Promise<{downloadUrl: string}> => {\n return fetchPost('/rvapi/task/docData/download/dealerDoc', {}, {\n params: {\n detailId\n }\n })\n}\n\nexport const dealerDataExport = (headerId: number, dealerCode: string) => {\n return axios.post('/rvapi/task/docData/download/dealer', null, {\n responseType: \"blob\",\n params: {\n headerId,\n dealerCode\n }\n })\n}\n\nexport const dataTaskDetailExport = (params = {}) => {\n return axios.post('/rvapi/task/docData/download/data/taskDetail', params, {\n responseType: \"blob\"\n })\n}\n\nexport const exportDealerListQueryResult = (params = {}) => {\n return axios.post('/rvapi/task/docData/download/dealerAll', params, {\n responseType: \"blob\"\n })\n}\n\nexport const downloadDocuments = (params = {}) => {\n return fetchPost('/rvapi/task/detail/download/documents', params)\n}"],"sourceRoot":""}