{"version":3,"sources":["webpack:///./src/views/Communication/Appeal/components/AppealTable.vue?010f","webpack:///./src/views/Communication/Appeal/components/AppealTable.vue","webpack:///./src/views/Communication/Appeal/components/AppealTable.vue?749b","webpack:///./src/assets/images/copy-icon.svg","webpack:///./src/views/Communication/Appeal/components/AppealTable.vue?1be2","webpack:///./src/API/checking/checkingManagement.ts","webpack:///./src/hooks/communication/useAppeal.ts","webpack:///./src/utils/claim/downloadFile.ts","webpack:///./src/API/communication/appeal.ts"],"names":["_hoisted_1","class","_hoisted_2","_hoisted_3","_hoisted_4","render","_ctx","_cache","$props","$setup","$data","$options","_component_a_divider","_component_a_table","rowClassName","record","index","rowKey","columns","tableData","scroll","x","y","tableHeight","pagination","selectedRows","selectedRowKeys","onChange","onSelectChange","operation","onClick","$event","gotoDetail","tabType","displayUploadButton","checkResultCnText","offerTypeNameEn","communicationTimes","lastCommunication","key","type","openUploadDrawer","appealStatusText","appealOperation","_","props","Array","required","default","searchType","String","height","Number","emits","setup","emit","columnsForNonHistory","title","width","dataIndex","fixed","slots","customRender","columnsForNonHistoryByDeduction","columnsForHistory","state","router","push","name","params","claimId","dealerClaimAppId","value","__exports__","module","exports","getAGManagementData","getTAManagementData","getTDTAManagementData","searchVehicle","getBrand","getProgramCodeList","findProgramCodeList","buId","code","getProgramTANameList","getUser","useAppeal","spaceSize","toBeConfirmedData","toBeConfirmedDeductionData","submitAppealDoc","finished","vinNo","vinNos","batchQuery","batchQueryTitle","batchQueryModal","batchQueryListTitle","textContentNo","input","textNoArray","batchPlaceholder","cleanEmptyEleArray","array","length","tempArray","filter","item","setBatchPlaceholder","batchQueryEvent","dom","document","getElementsByClassName","scrollTo","focus","textChangEvent","error","concat","replace","split","scrollHeight","closeBatchQueryModal","clearBatchQuery","model","modelYear","undefined","modelYearList","getModelYearList","property","then","res","year","submissionDate","programCode","programName","checkResult","checkResultList","getCheckResult","groupCode","itemCode","communicationStatus","communicationStatusList","getCommunicationStatus","appealStatus","appealStatusList","getAppealTypeList","reset","dealerCode","buList","confirmDateList","exemptionDateList","generateDeadlinesStr","date","selected","map","selectedDate","dateMap","dates","includes","init","func","store","user","organization","entityCode","ele","parentId","nameCn","bus","join","options","url","method","fileName","config","responseType","Promise","resolve","reject","blob","Blob","data","downloadElement","createElement","href","window","URL","createObjectURL","str","headers","lastIndexOf","substring","download","decodeURIComponent","Date","now","toString","body","appendChild","click","removeChild","revokeObjectURL","catch","console","log","findByGroupCode","getModelYear","confirmDeadlines","communicationData","editSupport","supportView","supportUpload","getAppealTypes","editAppealDoc","appealView","appealUpload","communicationHistoryData","communicationApprove","communicationReject","dealerClaimDetail","id","invoiceView","licenseView","batchDownload","ocrAppealUcInvoice","ocrSupportDocUcInvoice"],"mappings":"kIAGMA,EAAa,CAAEC,MAAO,SACtBC,EAAa,CAAC,WACdC,EAAa,CAAC,WACdC,EAAa,CAAC,WAEb,SAASC,EAAOC,EAAUC,EAAYC,EAAYC,EAAYC,EAAWC,GAC9E,IAAMC,EAAuB,8BAAkB,aACzCC,EAAqB,8BAAkB,WAE7C,OAAQ,yBAAc,gCAAoB,MAAOb,EAAY,CAC3D,yBAAaa,EAAoB,CAC/BZ,MAAO,oBACPa,aACE,SAACC,EAAQC,GAAU,OAACA,EAAQ,IAAM,EAAI,gBAAkB,MAE1DC,OAAQ,KACRC,QAASZ,EAAKY,QACd,cAAeZ,EAAKa,UACpBC,OAAQ,CACNC,EAAG,KACHC,EAAGhB,EAAKiB,aAEVC,YAAY,EACZ,gBAAiB,CACfC,aAAcnB,EAAKmB,aACnBC,gBAAiBpB,EAAKoB,gBACtBC,SAAUrB,EAAKsB,iBAEhB,CACDC,UAAW,sBAAS,SAAC,G,IAAEd,EAAM,SAAO,OAClC,gCAAoB,OAAQ,CAC1Bd,MAAO,YACP6B,QAAS,SAACC,GAAgB,OAACzB,EAAK0B,WAAWjB,KAC1C,KAAM,EAAGb,GAEO,oBAAjBI,EAAK2B,SACY,YAAjB3B,EAAK2B,SAC4B,MAA/BlB,EAA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C3C,GACjC,OAAO,eAAU,uCAAwCA,IAG9C4C,EAAyB,SAAC5C,GACrC,OAAO,eAAU,4CAA6CA","file":"js/chunk-0a4a99da.b6252fba.js","sourcesContent":["import { createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, withCtx as _withCtx, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-7cb17600\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"table\" }\nconst _hoisted_2 = [\"onClick\"]\nconst _hoisted_3 = [\"onClick\"]\nconst _hoisted_4 = [\"onClick\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_a_divider = _resolveComponent(\"a-divider\")!\n const _component_a_table = _resolveComponent(\"a-table\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(_component_a_table, {\n class: \"ant-table-striped\",\n rowClassName: \n (record, index) => (index % 2 === 1 ? 'table-striped' : null)\n ,\n rowKey: \"id\",\n columns: _ctx.columns,\n \"data-source\": _ctx.tableData,\n scroll: {\n x: 2500,\n y: _ctx.tableHeight,\n },\n pagination: false,\n \"row-selection\": {\n selectedRows: _ctx.selectedRows,\n selectedRowKeys: _ctx.selectedRowKeys,\n onChange: _ctx.onSelectChange,\n }\n }, {\n operation: _withCtx(({ record }) => [\n _createElementVNode(\"span\", {\n class: \"table-btn\",\n onClick: ($event: any) => (_ctx.gotoDetail(record))\n }, \"详情\", 8, _hoisted_2),\n (\n _ctx.tabType !== 'submitAppealDoc' &&\n _ctx.tabType !== 'history' &&\n ((record.displayUploadButton !== 'N' &&\n record.checkResultCnText === '待定') &&\n !(record.offerTypeNameEn === 'Demo Car' &&\n record.communicationTimes &&\n record.communicationTimes >= 1 &&\n record.lastCommunication === 'N' &&\n record.checkResultCnText === '待定'))\n )\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 0 }, [\n _createVNode(_component_a_divider, { type: \"vertical\" }),\n _createElementVNode(\"span\", {\n class: \"table-btn\",\n onClick: ($event: any) => (_ctx.openUploadDrawer(record))\n }, \"上传文档\", 8, _hoisted_3)\n ], 64))\n : _createCommentVNode(\"\", true),\n (\n _ctx.tabType !== 'toBeConfirmedData' &&\n _ctx.tabType !== 'history' &&\n (record.appealStatusText === '已申诉' ||\n record.appealStatusText === '待申诉')\n )\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 1 }, [\n _createVNode(_component_a_divider, { type: \"vertical\" }),\n _createElementVNode(\"span\", {\n class: \"table-btn\",\n onClick: ($event: any) => (_ctx.appealOperation(record))\n }, \"申诉\", 8, _hoisted_4)\n ], 64))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"rowClassName\", \"columns\", \"data-source\", \"scroll\", \"row-selection\"])\n ]))\n}","\nimport { ref, defineComponent, onMounted, reactive, toRefs, watch } from \"vue\";\nimport fixTable from \"@/hooks/checking/useFixTable\";\nimport { useRouter } from \"vue-router\";\n\nexport default defineComponent({\n props: {\n tableData: {\n type: Array,\n required: true,\n default: () => [],\n },\n searchType: {\n type: String,\n required: false,\n default: \"nonHistory\",\n },\n tabType: {\n type: String,\n required: false,\n default: \"\",\n },\n height: {\n type: Number,\n required: false,\n default: 471,\n },\n },\n emits: [\"open-upload-drawer\"],\n setup(props, { emit }) {\n const columnsForNonHistory = [\n {\n title: \"项目编号\",\n width: 150,\n dataIndex: \"programCode\",\n },\n {\n title: \"项目名称\",\n width: 250,\n dataIndex: \"programNameCn\",\n },\n {\n title: \"项目类型\",\n width: 200,\n dataIndex: \"offerTypeNameCn\",\n // slots: { customRender: 'programType' },\n },\n {\n title: \"车架号\",\n width: 200,\n dataIndex: \"vin\",\n },\n {\n title: \"车型\",\n width: 250,\n dataIndex: \"modelName\",\n },\n {\n title: \"年款\",\n width: 100,\n dataIndex: \"modelYear\",\n },\n {\n title: \"提交时间\",\n width: 150,\n dataIndex: \"claimDate\",\n },\n {\n title: \"检查结果\",\n width: 100,\n dataIndex: \"checkResultCnText\",\n },\n {\n title: \"本次沟通金额\",\n width: 100,\n dataIndex: \"finalBonus\",\n },\n {\n title: \"已付款金额\",\n width: 100,\n dataIndex: \"paymentBonus\",\n },\n {\n title: \"沟通状态\",\n width: 100,\n dataIndex: \"communicationStatusText\",\n },\n {\n title: \"确认截止日期\",\n width: 150,\n dataIndex: \"confirmDeadline\",\n },\n {\n title: \"本轮结清\",\n width: 100,\n dataIndex: \"roundClosing\",\n },\n {\n title: \"最后一次沟通\",\n width: 150,\n dataIndex: \"lastCommunication\",\n },\n {\n title: \"申诉状态\",\n width: 100,\n dataIndex: \"appealStatusText\",\n },\n {\n title: \"操作\",\n width: 150,\n dataIndex: \"operation\",\n fixed: \"right\",\n slots: { customRender: \"operation\" },\n },\n ];\n const columnsForNonHistoryByDeduction = [\n {\n title: \"项目编号\",\n width: 150,\n dataIndex: \"programCode\",\n },\n {\n title: \"项目名称\",\n width: 250,\n dataIndex: \"programNameCn\",\n },\n {\n title: \"项目类型\",\n width: 200,\n dataIndex: \"offerTypeNameCn\",\n },\n {\n title: \"车架号\",\n width: 200,\n dataIndex: \"vin\",\n },\n {\n title: \"车型\",\n width: 250,\n dataIndex: \"modelName\",\n },\n {\n title: \"年款\",\n width: 100,\n dataIndex: \"modelYear\",\n },\n {\n title: \"提交时间\",\n width: 150,\n dataIndex: \"claimDate\",\n },\n {\n title: \"检查结果\",\n width: 100,\n dataIndex: \"checkResultCnText\",\n },\n {\n title: \"本次沟通金额\",\n width: 100,\n dataIndex: \"finalBonus\",\n },\n {\n title: \"已付款金额\",\n width: 100,\n dataIndex: \"paymentBonus\",\n },\n {\n title: \"沟通状态\",\n width: 100,\n dataIndex: \"communicationStatusText\",\n },\n {\n title: \"沟通截止日期\",\n width: 150,\n dataIndex: \"exemptionDeadline\",\n },\n {\n title: \"确认截止日期\",\n width: 150,\n dataIndex: \"confirmDeadline\",\n },\n {\n title: \"本轮结清\",\n width: 100,\n dataIndex: \"roundClosing\",\n },\n {\n title: \"最后一次沟通\",\n width: 150,\n dataIndex: \"lastCommunication\",\n },\n {\n title: \"申诉状态\",\n width: 100,\n dataIndex: \"appealStatusText\",\n },\n {\n title: \"操作\",\n width: 150,\n dataIndex: \"operation\",\n fixed: \"right\",\n slots: { customRender: \"operation\" },\n },\n ];\n const columnsForHistory = [\n {\n title: \"项目编号\",\n width: 150,\n dataIndex: \"programCode\",\n },\n {\n title: \"项目名称\",\n width: 250,\n dataIndex: \"programNameCn\",\n },\n {\n title: \"项目类型\",\n width: 200,\n dataIndex: \"offerTypeNameCn\",\n // slots: { customRender: 'programType' },\n },\n {\n title: \"车架号\",\n width: 200,\n dataIndex: \"vin\",\n },\n {\n title: \"车型\",\n width: 250,\n dataIndex: \"modelName\",\n },\n {\n title: \"年款\",\n width: 100,\n dataIndex: \"modelYear\",\n },\n {\n title: \"提交时间\",\n width: 150,\n dataIndex: \"claimDate\",\n },\n {\n title: \"检查结果\",\n width: 100,\n dataIndex: \"checkResultCnText\",\n },\n {\n title: \"本次沟通金额\",\n width: 100,\n dataIndex: \"finalBonus\",\n },\n {\n title: \"已付款金额\",\n width: 100,\n dataIndex: \"paymentBonus\",\n },\n {\n title: \"沟通状态\",\n width: 100,\n dataIndex: \"communicationStatusText\",\n },\n {\n title: \"确认截止日期\",\n width: 150,\n dataIndex: \"confirmDeadline\",\n },\n {\n title: \"本轮结清\",\n width: 100,\n dataIndex: \"roundClosing\",\n },\n {\n title: \"最后一次沟通\",\n width: 150,\n dataIndex: \"lastCommunication\",\n },\n {\n title: \"申请状态\",\n width: 150,\n dataIndex: \"statusText\",\n },\n {\n title: \"申诉状态\",\n width: 100,\n dataIndex: \"appealStatusText\",\n },\n {\n title: \"操作\",\n width: 150,\n dataIndex: \"operation\",\n fixed: \"right\",\n slots: { customRender: \"operation\" },\n },\n ];\n const state = reactive({\n selectedRowKeys: [],\n selectedRows: [],\n });\n const onSelectChange = (selectedRowKeys: any, selectedRows: any) => {\n state.selectedRowKeys = selectedRowKeys;\n state.selectedRows = selectedRows;\n };\n // const height = 100 + 50 + 16 + 190 + 50 + 65;\n const tableHeight = fixTable(props.height);\n // let tableHeight = ref(0);\n const columns: any = ref([]);\n\n const router = useRouter();\n const gotoDetail = (record: any) => {\n router.push({\n name: \"appealDetail\",\n params: {\n claimId: record.dealerClaimAppId,\n },\n });\n };\n const openUploadDrawer = (record: any) => {\n emit(\"open-upload-drawer\", record, \"upload\");\n };\n const appealOperation = (record: any) => {\n emit(\"open-upload-drawer\", record, \"appeal\");\n };\n\n watch(\n () => (props as any).tableData,\n () => {\n state.selectedRows = [];\n state.selectedRowKeys = [];\n }\n );\n\n onMounted(() => {\n if (props.searchType === \"nonHistory\") {\n if (props.tabType === \"toBeConfirmedDeductionData\") {\n columns.value = columnsForNonHistoryByDeduction;\n } else {\n columns.value = columnsForNonHistory;\n }\n }\n if (props.searchType === \"history\") {\n columns.value = columnsForHistory;\n }\n });\n\n return {\n columns,\n ...toRefs(state),\n onSelectChange,\n tableHeight,\n gotoDetail,\n openUploadDrawer,\n appealOperation,\n };\n },\n});\n","import { render } from \"./AppealTable.vue?vue&type=template&id=7cb17600&scoped=true&ts=true\"\nimport script from \"./AppealTable.vue?vue&type=script&lang=ts\"\nexport * from \"./AppealTable.vue?vue&type=script&lang=ts\"\n\nimport \"./AppealTable.vue?vue&type=style&index=0&id=7cb17600&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-7cb17600\"]])\n\nexport default __exports__","module.exports = __webpack_public_path__ + \"img/copy-icon.b11fe629.svg\";","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./AppealTable.vue?vue&type=style&index=0&id=7cb17600&lang=scss&scoped=true\"","import { fetchGet, fetchPost } from '../index';\nimport {\n AGManagementQueryParams,\n TAManagementQueryParams,\n} from '@/views/Checking/CheckingManagement/type';\n//* 获取bu接口\nexport const getBuData = (): Promise => {\n return fetchGet('');\n};\n\n//* AG table数据查询接口\nexport const getAGManagementData = (\n params: AGManagementQueryParams\n): Promise => {\n return fetchPost('/claimapi/claimChecking/agManagement/search', params);\n};\n\n//* TA table数据查询接口\nexport const getTAManagementData = (\n params: TAManagementQueryParams\n): Promise => {\n return fetchPost('/claimapi/claimChecking/taManagement/signTAList', params);\n};\n\n//* TDTA table数据查询接口\nexport const getTDTAManagementData = (\n params: TAManagementQueryParams\n): Promise => {\n return fetchPost('/claimapi/tdta/search', params);\n};\n\n//* 车辆信息级联查询\nexport const searchVehicle = (params: any): Promise => {\n return fetchPost('/claimapi/tdta/search/vehicle', params);\n};\n\n//* findBrandByBu\nexport const getBrand = (params: any): Promise => {\n return fetchGet('/vapi/noAuth/findBrandByBu', params);\n};\n\n//* 根据 Program Code 模糊查询 Program Code 列表\nexport const getProgramCodeList = (params: any): Promise => {\n return fetchGet('/pgapi/calc/claim/get_program_code_list', { params });\n};\n\n//* 根据BU、Program Code 模糊查询 Program Code 列表\nexport const findProgramCodeList = (buId: string, code: string): Promise => {\n return fetchGet('/pgapi/calc/claim/find_program_code_list', {\n params: {\n buId,\n code\n }\n });\n}\n\n//* 根据program code 查询 taname\nexport const getProgramTANameList = (params: any): Promise => {\n return fetchGet('/pgapi/calc/claim/get_program_taname_list', { params });\n};\n\n//* 获取用户信息的接口\nexport const getUser = (): Promise => {\n return fetchGet('/usapi/users/currentuser');\n};\n","import { computed, ref, reactive, nextTick } from \"vue\";\nimport { message } from \"ant-design-vue\";\nimport { Moment } from \"moment\";\nimport {\n findByGroupCode,\n confirmDeadlines,\n getModelYear,\n} from \"@/API/communication/appeal\";\nimport { useStore } from \"vuex\";\nimport { getUser } from \"@/API/checking/checkingManagement\";\n\nconst useAppeal = () => {\n const spaceSize = ref(6);\n const tableData = reactive({\n toBeConfirmedData: [],\n toBeConfirmedDeductionData: [],\n submitAppealDoc: [],\n finished: [],\n });\n\n const vinNo = ref(\"\");\n const vinNos = ref([]);\n // 批量查询\n const batchQuery = reactive({\n batchQueryTitle: \"\",\n batchQueryModal: false,\n batchQueryListTitle: \"\",\n });\n //Modal的输入框\n const textContentNo = ref(\"\");\n //输入框,用于控制焦点\n const input = ref();\n //显示的VIN数组\n const textNoArray = ref([]);\n //空占位\n const batchPlaceholder = ref([\"\", \"\", \"\", \"\", \"\", \"\"]);\n const cleanEmptyEleArray = (array: Array) => {\n if (array.length > 1) {\n const tempArray = array.filter((item) => item !== \"\");\n tempArray.length || tempArray.push(\"\");\n return tempArray;\n } else {\n return array;\n }\n };\n // 设置批量查询modal 的 占位div\n const setBatchPlaceholder = () => {\n if (textNoArray.value.length) {\n batchPlaceholder.value = [];\n } else {\n batchPlaceholder.value = [\"\", \"\", \"\", \"\", \"\", \"\"];\n }\n };\n\n // 批量查询按钮事件\n const batchQueryEvent = () => {\n batchQuery.batchQueryModal = true;\n batchQuery.batchQueryTitle = \"车架号批量查询\";\n batchQuery.batchQueryListTitle = \"车架号列表\";\n textNoArray.value =\n cleanEmptyEleArray(vinNos.value)[0] === \"\"\n ? []\n : cleanEmptyEleArray(vinNos.value);\n setBatchPlaceholder();\n const dom = document.getElementsByClassName(\"list-content\")[0];\n nextTick(() => {\n dom && dom.scrollTo(0, textNoArray.value.length * 36);\n input.value.focus();\n });\n };\n // 批量文本内容\n const textChangEvent = () => {\n if (textContentNo.value.length < 5) {\n message.error(\"请从Excel中粘贴到文本框\");\n textContentNo.value = \"\";\n return;\n }\n textNoArray.value = textNoArray.value.concat(\n textContentNo.value.replace(/\\r|\\n|\\s/g, \",\").split(\",\")\n );\n const dom = document.getElementsByClassName(\"list-content\")[0];\n textContentNo.value = \"\";\n vinNos.value = [];\n vinNos.value = vinNos.value.concat(textNoArray.value);\n setBatchPlaceholder();\n nextTick(() => {\n dom.scrollTo(0, dom.scrollHeight + 40);\n input.value.focus();\n });\n };\n // 关闭批量查询Modal\n const closeBatchQueryModal = () => {\n vinNo.value = cleanEmptyEleArray(vinNos.value)[0];\n };\n // 清除批量查询\n const clearBatchQuery = () => {\n vinNos.value = [\"\"];\n textNoArray.value =\n cleanEmptyEleArray(vinNos.value)[0] === \"\"\n ? []\n : cleanEmptyEleArray(vinNos.value);\n setBatchPlaceholder();\n vinNo.value = null;\n input.value.focus();\n };\n\n const model = ref(\"\");\n const modelYear = ref(undefined);\n const modelYearList = ref([\n { title: \"2021\", value: 1 },\n { title: \"2022\", value: 2 },\n { title: \"2023\", value: 3 },\n ]);\n const getModelYearList = () => {\n getModelYear({ property: \"modelYear\" }).then((res: any) => {\n modelYearList.value = res.filter((year: any) => {\n return year !== null;\n });\n });\n };\n\n const submissionDate = ref([]);\n const programCode = ref(\"\");\n const programName = ref(\"\");\n const checkResult = ref(undefined);\n const checkResultList = ref([]);\n const getCheckResult = () => {\n findByGroupCode({ groupCode: \"checking_result\" }).then((res: any) => {\n checkResultList.value = res.filter((item: any) => item.itemCode !== 0);\n });\n };\n\n const communicationStatus = ref(undefined);\n const communicationStatusList = ref([]);\n const getCommunicationStatus = () => {\n findByGroupCode({ groupCode: \"communication_status\" }).then((res: any) => {\n communicationStatusList.value = res;\n });\n };\n\n const appealStatus = ref(undefined);\n const appealStatusList = ref([]);\n const getAppealTypeList = () => {\n findByGroupCode({ groupCode: \"appeal_status\" }).then((res: any) => {\n appealStatusList.value = res;\n });\n };\n\n const reset = () => {\n vinNo.value = \"\";\n vinNos.value = [];\n model.value = \"\";\n modelYear.value = undefined;\n submissionDate.value = [];\n programCode.value = \"\";\n programName.value = \"\";\n checkResult.value = undefined;\n communicationStatus.value = undefined;\n appealStatus.value = undefined;\n };\n\n //? 页面初始化相关\n const dealerCode = ref(\"\");\n const buList = ref([]);\n // const dateList = ref<{ date: string; selected: boolean }[]>([]);\n const confirmDateList = ref<{ date: string; selected: boolean }[]>([]);\n const exemptionDateList = ref<{ date: string; selected: boolean }[]>([]);\n const generateDeadlinesStr = () => {\n return [\n ...confirmDateList.value\n .filter((date) => {\n return date.selected;\n })\n .map((date) => {\n return date.date;\n }),\n ...exemptionDateList.value\n .filter((date) => {\n return date.selected;\n })\n .map((date) => {\n return date.date;\n }),\n ];\n };\n\n const selectedDate = ref([]);\n const dateMap = (dates: any) => {\n return dates.map((date: string) => {\n if (selectedDate.value.length === 0) {\n return {\n date,\n selected: true,\n };\n } else {\n return {\n date,\n selected: selectedDate.value.includes(date),\n };\n }\n });\n };\n const init = (func: Function) => {\n getAppealTypeList();\n getCommunicationStatus();\n getCheckResult();\n getModelYearList();\n\n const store = useStore();\n dealerCode.value = (store.state.user as any).organization.entityCode;\n\n getUser()\n .then((res) => {\n buList.value = res.buList\n .filter((ele: any) => {\n return ele.parentId === null;\n })\n .map((ele: any) => {\n return ele.nameCn;\n });\n })\n .then(() => {\n const params = {\n bus: buList.value.join(\",\"),\n dealerCode: dealerCode.value,\n };\n return confirmDeadlines(params).then((res: any) => {\n confirmDateList.value = dateMap(res[\"confirm\"]);\n exemptionDateList.value = dateMap(res[\"exemption\"]);\n });\n })\n .then(() => {\n func();\n });\n };\n\n return {\n tableData,\n spaceSize,\n batchPlaceholder,\n textContentNo,\n input,\n clearBatchQuery,\n batchQuery,\n batchQueryEvent,\n textNoArray,\n closeBatchQueryModal,\n textChangEvent,\n confirmDateList,\n exemptionDateList,\n vinNo,\n vinNos,\n model,\n modelYear,\n submissionDate,\n programCode,\n programName,\n checkResult,\n checkResultList,\n communicationStatus,\n communicationStatusList,\n appealStatus,\n appealStatusList,\n modelYearList,\n reset,\n selectedDate,\n init,\n dealerCode,\n buList,\n generateDeadlinesStr,\n };\n};\n\nexport default useAppeal;\n","/*\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","import { fetchGet, fetchPost } from \"../index\";\n\n//? 按groupCode查询数据字典\nexport const findByGroupCode = (params: any): Promise => {\n return fetchGet(`/claimapi/claimDictionary/findByGroupCode`, { params });\n};\n\n//? 获取全部年款\nexport const getModelYear = (params: any): Promise => {\n return fetchGet(`/vapi/noAuth/get_property_lov`, { params });\n};\n\n//? 7782 获取提交截止日期列表(每个经销商是不同的)\nexport const confirmDeadlines = (params: any): Promise => {\n return fetchGet(`/claimapi/dealer/communication/find/confirmDeadlines`, {\n params,\n });\n};\n\n//? 7782 经销商查看三合一\nexport const communicationData = (params: any): Promise => {\n return fetchGet(`/claimapi/dealer/communication/find/sipoCommunicated/page`, {\n params,\n });\n};\n\n//? 7784 弹出上传支持文档页面\nexport const editSupport = (params: any): Promise => {\n return fetchGet(`/claimapi/appeal/file/edit/supportDoc`, {\n params,\n });\n};\n\n//? 7784 支持文档预览\nexport const supportView = (params: any): Promise => {\n return fetchGet(`/claimapi/appeal/file/support/review`, {\n params,\n });\n};\n\n//? 7784 文档上传\nexport const docUpload = (params: any): Promise => {\n return fetchPost(`/claimapi/appeal/file/doc/upload`, params);\n};\n\n//? 7784 支持文档覆盖上传\nexport const supportUpload = (params: any): Promise => {\n return fetchPost(`/claimapi/appeal/file/support/upload`, params);\n};\n\n//? 7785 获取申诉类型下拉框\nexport const getAppealTypes = (): Promise => {\n return fetchGet(`/claimapi/appeal/file/getAppealTypes`);\n};\n\n//? 7785 弹出上传申诉文档页面\nexport const editAppealDoc = (params: any): Promise => {\n return fetchGet(`/claimapi/appeal/file/edit/appealDoc`, {\n params,\n });\n};\n\n//? 7785 申诉文件预览\nexport const appealView = (params: any): Promise => {\n return fetchGet(`/claimapi/appeal/file/appeal/review`, {\n params,\n });\n};\n\n//? 7785 申诉文档覆盖上传\nexport const appealUpload = (params: any): Promise => {\n return fetchPost(`/claimapi/appeal/file/appeal/upload`, params);\n};\n\n//? 7787 经销商查看历史\nexport const communicationHistoryData = (params: any): Promise => {\n return fetchGet(`/claimapi/dealer/communication/find/history/page`, {\n params,\n });\n};\n\n//? 接受\nexport const communicationApprove = (params: any): Promise => {\n return fetchPost(`/claimapi/dealer/communication/approved`, params);\n};\n\n//? 不接受\nexport const communicationReject = (params: any): Promise => {\n return fetchPost(`/claimapi/dealer/communication/reject`, params);\n};\n\n//? 7783 获取详情信息\nexport const dealerClaimDetail = (id: string): Promise => {\n return fetchGet(`/claimapi/dealer/claim/detail/info/${id}`);\n};\n\n//? 7783 发票预览\nexport const invoiceView = (params: any): Promise => {\n return fetchGet(`/rvapi/basic/certificate/invoiceView`, { params });\n};\n\n//? 7783 行驶证预览\nexport const licenseView = (params: any): Promise => {\n return fetchGet(`/rvapi/basic/certificate/licenseView`, { params });\n};\n\n//! 预览\n//显示已经上传的图片 2278\nexport const docReview = (params = {}): Promise => {\n return fetchGet(\"/claimapi/claimDocCollection/review\", { params });\n};\n//显示单个上传图片 2276实际是4954再用\nexport const claimReview = (params = {}): Promise => {\n return fetchGet(\"/claimapi/dealerClaimSupportingDoc/review\", { params });\n};\n\n// export const getBasicDetail = (params = {}): Promise => {\n// return fetchGet('/rvapi/basic/finance/retail/retailInfo', params)\n// }\n\nexport const batchDownload = (id: any, params: any) => {\n return fetchPost(`/claimapi/dealer/claim/detail/batchDownload/${id}`, params);\n};\n\nexport const ocrAppealUcInvoice = (data: FormData) => {\n return fetchPost('/claimapi/ocr/claim/appeal/ucInvoice', data);\n};\n\nexport const ocrSupportDocUcInvoice = (data: FormData) => {\n return fetchPost('/claimapi/ocr/claim/support-doc/ucInvoice', data);\n};\n"],"sourceRoot":""}