{"version":3,"sources":["webpack:///./src/assets/images/Confirm-icon.svg","webpack:///./src/assets/images/in-zoom.svg","webpack:///./src/utils/closing/decimal.ts","webpack:///./src/API/setting.ts","webpack:///./src/assets/images/the-right-icon.svg","webpack:///./src/views/Program/Wording/ProgramCombinability/components/InternalProgramOfferTable.vue?006c","webpack:///./src/views/Approve/components/ProgramPreview.vue?cf80","webpack:///./src/views/Approve/components/ProgramPreview.vue?f085","webpack:///./src/views/Approve/components/ProgramPreview.vue","webpack:///./src/views/Approve/components/ProgramPreview.vue?877a","webpack:///./src/views/Program/Wording/ProgramCombinability/components/SpecialUsageTable.vue?73ad","webpack:///./src/views/Program/Wording/ProgramCombinability/components/OfferOtherProgramTable.vue?0052","webpack:///./src/views/Program/Wording/ProgramCombinability/components/Wrapper.vue?89e1","webpack:///./src/views/Program/Wording/WordingBudget.vue?18ff","webpack:///./src/views/Program/Wording/ProgramCombinability/components/Wrapper.vue","webpack:///./src/views/Program/Wording/ProgramCombinability/components/Wrapper.vue?d682","webpack:///./src/views/Program/Wording/ProgramCombinability/components/Content.vue","webpack:///./src/views/Program/Wording/ProgramCombinability/components/Content.vue?d873","webpack:///./src/views/Program/Wording/ProgramCombinability/components/InternalProgramOfferTable.vue","webpack:///./src/views/Program/Wording/ProgramCombinability/components/InternalProgramOfferTable.vue?218d","webpack:///./src/views/Program/Wording/ProgramCombinability/InternalProgramOffer/index.vue","webpack:///./src/views/Program/Wording/ProgramCombinability/InternalProgramOffer/index.vue?3fe6","webpack:///./src/views/Program/Wording/ProgramCombinability/components/OtherProgramTable.vue","webpack:///./src/views/Program/Wording/ProgramCombinability/components/OtherProgramTable.vue?f847","webpack:///./src/views/Program/Wording/ProgramCombinability/OtherProgram/index.vue","webpack:///./src/views/Program/Wording/ProgramCombinability/OtherProgram/index.vue?f338","webpack:///./src/views/Program/Wording/ProgramCombinability/components/OfferOtherProgramTable.vue","webpack:///./src/views/Program/Wording/ProgramCombinability/components/OfferOtherProgramTable.vue?e688","webpack:///./src/views/Program/Wording/ProgramCombinability/OfferOtherProgram/index.vue","webpack:///./src/views/Program/Wording/ProgramCombinability/OfferOtherProgram/index.vue?f88d","webpack:///./src/views/Program/Wording/ProgramCombinability/components/SpecialUsageTable.vue","webpack:///./src/views/Program/Wording/ProgramCombinability/components/SpecialUsageTable.vue?2d98","webpack:///./src/views/Program/Wording/ProgramCombinability/SpecialUsage/index.vue","webpack:///./src/views/Program/Wording/ProgramCombinability/SpecialUsage/index.vue?a949","webpack:///./src/views/Program/Wording/ProgramCombinability/index.vue","webpack:///./src/views/Program/Wording/ProgramCombinability/index.vue?feb5","webpack:///./src/views/Program/Wording/WordingBudget.vue","webpack:///./src/views/Program/Wording/WordingBudget.vue?bc73","webpack:///./src/views/Program/Wording/WordingBudget.vue?f805","webpack:///./src/views/Program/Wording/ProgramCombinability/index.vue?d8bc","webpack:///./src/hooks/approve/useTableRowHighlight.ts","webpack:///./src/views/Program/Wording/ProgramCombinability/components/Content.vue?08af","webpack:///./src/assets/images/withdraw-icon.svg","webpack:///./src/views/Program/Wording/ProgramCombinability/components/OtherProgramTable.vue?020a","webpack:///./src/assets/images/on-zoom.svg"],"names":["module","exports","pow","x","y","result","BigInt","i","alignPoint","a","expA","b","expB","exponent","numberToBigInt","number","neg","length","slice","matches","match","int","float","undefined","bigIntToNumber","numStr","toString","sign","shift","repeat","value","percision","this","p","Decimal","PRECISION","data","v","replace","compute","fun","valueA","valueB","maxPercision","resultValue","plus","n","minus","div","times","isZero","format","showthousands","roundUp","valueStr","round","fixed","settingSearchPdi","params","loadAttachment","programSettingGetOfferType","getAttachmentSetting","importProgramAttachment","deleteProgramAttachment","saveAttachment","importAttachment","loadCommentsMaster","getProgramAttachment","commentsSearchOption","storeCommentsMaster","deleteCommentsMaster","_withScopeId","_hoisted_1","class","ref","_hoisted_2","src","alt","_hoisted_3","_hoisted_4","_hoisted_5","_hoisted_6","_hoisted_7","_hoisted_8","_hoisted_9","render","_ctx","_cache","$props","$setup","$data","$options","name","default","onClick","$event","$emit","handlerOnZoom","args","handlerInZoom","key","wordingSrc","style","width","height","transform","scale","_","visible","props","type","Boolean","targetName","String","program","Object","required","emits","setup","content","programPreviewRef","imgPosition","handlerDocumentClick","e","assign","programId","programPeriod","emit","document","addEventListener","__exports__","_hoisted_10","_hoisted_11","id","_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","_hoisted_32","_hoisted_33","_hoisted_34","_hoisted_35","_hoisted_36","_hoisted_37","_hoisted_38","_hoisted_39","_hoisted_40","_hoisted_41","_hoisted_42","_hoisted_43","_hoisted_44","_hoisted_45","_hoisted_46","_hoisted_47","_hoisted_48","_hoisted_49","_component_a_button","_component_a_checkbox","_component_ProgramCombinability","_component_a_spin","_component_a_modal","wordingpreviewvisible","onCancel","handleClose","onOk","zIndex","getContainer","spinWrapper","spinning","footer","activeWording","handleWording","$btnPermissions","title","handlerConfirmClick","handlerReturnClick","handleWordingDownload","handleGo","bu","programCode","programName","kufriVersion","totalFleetVolume","totalEstVolume","totalVolumeList","item","index","totalBudgetVolume","onChange","expandExcell","checked","isexpand","attachment","href","docUrl","docName","toolTipContent","__props","isCollapsed","getPopupContainer","trigger","parentElement","_component_a_tooltip","placement","ExclamationCircleOutlined","$slots","isOfferOtherProgram","_component_a_divider","dashed","upper","tableData","Array","columns","dataIndex","align","ellipsis","colSpan","slots","customRender","customCell","record","modified","border","_component_a_table","bordered","pagination","rowClassName","rowKey","combinability","text","CheckCircleOutlined","CloseCircleOutlined","internalProgramOffer","require","left","right","Wrapper","Content","InternalProgramOfferTable","originData","originColumns","dataType","newRows","COL_WIDTH","COL_HEIGHT","leftThreeColumnCustomRender","columnIndex","obj","children","color","position","startRow","childLength","rowSpan","offerTypeCustomRender","rightColumn","new","generateColumn","column","shownDynamicColumns","filter","col","some","row","forEach","generateTableData","rowObj","cellData","rest","newRow","map","child","processOriginData","currentCol","level","childCount","reduce","total","push","startCol","getData","ele","flat","Infinity","immediate","customRow","maxHeight","customHeaderRow","otherProgram","body","OtherProgramTable","FIXED_COLUMN_WIDTH","CELL_WIDTH","fixedColumn","generateColumns","programCodeList","code","customIncentiveColumnsWidth","console","log","dealerIncentiveColumnsWidth","dynamicColumns","flag","vehicleGroupTitle","offerOtherProgram","OfferOtherProgramTable","keys","replaceAll","specialUsage","displayContent","fn","SpecialUsageTable","expose","init","sessionStorage","getItem","res","warning","message","okText","internal","handleRefresh","InternalProgramOffer","OtherProgram","OfferOtherProgram","SpecialUsage","components","ProgramCombinability","context","activeSheet","sd","totalCBUVolume","totalDENZAVolume","totalPBPVolume","totalVANVolume","Spread","Sheets","LicenseKey","img","Image","then","url","window","URL","createObjectURL","onload","revokeObjectURL","tableDom","getElementById","innerHTML","spread","Workbook","options","tabNavigationVisible","tabStripVisible","sheet","getActiveSheet","rowHeaderVisible","Style","backColor","borderLeft","LineBorder","LineStyle","thin","borderTop","borderRight","borderBottom","setDefaultStyle","percentColumnKeys","headerDtoList","indexOf","dataDtoList","includes","columnWidthMap","Map","size","has","get","displayName","autoGenerateColumns","setRowHeight","SheetArea","colHeader","getRange","wordWrap","setDataSource","hAlign","HorizontalAlign","r","getCell","textIndent","outlineColumn","showImage","showCheckBox","showIndicator","expandIndicator","collapseIndicator","maxLevel","showRowOutline","typeclass","rowOutlines","setCollapsed","bindColumns","refresh","resumePaint","programCombinabilityComponent","active","confirm","success","catch","lang","image","blobDownload","open","location","origin","querySelector","useTableRowHighlight","currentClickRowIndex","visibleWording","handlerRowClick"],"mappings":"qGAAAA,EAAOC,QAAU,IAA0B,iC,uBCA3CD,EAAOC,QAAU,IAA0B,4B,oGCA3C,SAASC,EAAIC,EAAWC,GAEtB,IADA,IAAIC,EAASC,OAAO,GACXC,EAAI,EAAGA,EAAIH,EAAGG,IACrBF,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AMmE,EAAGzU,OAAQsQ,IAC7BmE,EAAGnE,GAAKwI,WACNxI,EAAM,EAAImE,EAAGzU,QAAUyU,EAAGnE,EAAM,GAAGW,MAAQwD,EAAGnE,GAAKW,OACrDuD,EAAYuE,YAAYC,aAAa1I,GAAK,GAKlDkE,EAAY8D,cAAcY,UAC1B1E,EAAY2E,gBAGR7O,EAAcvD,SAASgT,cAAc,qCAE3C,MAAO,CACLnO,aAAY,EACZ1B,YAAW,EACXO,cAAa,EACbC,cAAa,EACbK,sBAAqB,EACrBC,SAAQ,EACR5F,WAAU,EACVmF,SAAQ,EACRwB,WAAU,EACVlB,oBAAmB,EACnBC,mBAAkB,EAClBG,GAAE,EACFG,aAAY,EACZF,YAAW,EACXC,YAAW,EACXtE,cAAa,EACb6E,kBAAiB,EACjBgJ,eAAc,EACdC,iBAAgB,EAChBrJ,eAAc,EACdD,iBAAgB,EAChBuJ,eAAc,EACdC,eAAc,EACdtJ,gBAAe,EACfO,SAAQ,EACRsN,8BAA6B,EAC7B9O,YAAW,M,UCjWjB,MAAM,GAA2B,KAAgB,GAAQ,CAAC,CAAC,SAASlG,IAAQ,CAAC,YAAY,qBAE1E,W,yDCTf,W,kCCAA,W,kCCAA,gBAEA,SAAS4V,EAAqBrU,GAE1B,IAAMsU,EAAuB,mBAEvBC,EAAiB,iBAASvU,GAE1BwU,EAAkB,SAAC1O,GACrBwO,EAAqBpZ,MAAQ4K,GAOjC,OAJA,mBAAMyO,GAAgB,SAACrZ,IAClBA,IAAUoZ,EAAqBpZ,MAAQ,SAGrC,CACHoZ,qBAAoB,EACpBE,gBAAe,GAIR,U,gFCtBf,W,qBCAApb,EAAOC,QAAU,IAA0B,kC,kCCA3C,W,qBCAAD,EAAOC,QAAU,IAA0B","file":"js/chunk-4e5d60a8.f5b62438.js","sourcesContent":["module.exports = __webpack_public_path__ + \"img/Confirm-icon.a02d50df.svg\";","module.exports = __webpack_public_path__ + \"img/in-zoom.5433f492.svg\";","function pow(x: number, y: number): bigint {\n let result = BigInt(1)\n for (let i = 0; i < y; i++) {\n result *= BigInt(x)\n }\n return result\n}\n\nfunction alignPoint(a: bigint, expA: number, b: bigint, expB: number): [bigint, bigint, number] {\n let exponent = 0\n if (expA > expB) {\n exponent = expA\n b *= pow(10, expA - expB)\n } else {\n exponent = expB\n a *= pow(10, expB - expA)\n }\n return [a, b, exponent]\n}\n\nfunction numberToBigInt(number: string, exponent: number): bigint {\n let neg = false\n if (number.length > 0 && number[0] === '-') {\n neg = true\n number = number.slice(1)\n }\n const matches = number.match(/^(\\d+)(?:\\.(\\d*))?$/)\n let result = BigInt(0)\n let int = '0'\n let float = ''\n if (matches && matches.length >= 2) {\n int = matches[1]\n if (matches[2] !== undefined) {\n float = matches[2]\n }\n }\n if (float.length > exponent) {\n float = float.slice(0, exponent)\n }\n result = BigInt(int + float) * pow(10, exponent - float.length)\n if (neg) {\n result *= BigInt(-1)\n }\n return result\n}\n\nfunction bigIntToNumber(number: bigint, exponent: number): string {\n let numStr = number.toString()\n let sign = ''\n if (numStr.length > 0 && numStr[0] === '-') {\n sign = '-'\n numStr = numStr.slice(1)\n }\n const shift = numStr.length - exponent\n if (shift <= 0) {\n numStr = `${sign}0.${'0'.repeat(-shift)}${numStr}`\n } else {\n numStr = `${sign}${numStr.slice(0, shift)}.${numStr.slice(shift)}`\n }\n return numStr\n}\n\nexport default class Decimal {\n static PRECISION = 20\n\n private data: string | number | bigint\n v: bigint\n p: number\n\n constructor(value: string | number | bigint, percision?: number) {\n this.p = percision === undefined ? Decimal.PRECISION : percision\n this.data = value\n if (typeof value === 'string') {\n this.v = numberToBigInt(value.replace(/,/g, ''), this.p)\n } else if (typeof value === 'number') {\n this.v = numberToBigInt(value.toString(), this.p)\n } else if (typeof value === 'bigint') {\n this.v = value * pow(10, this.p)\n } else {\n this.v = BigInt(0)\n }\n }\n\n private compute(b: Decimal, percision: number, fun: (a: bigint, b: bigint) => bigint): Decimal {\n const [valueA, valueB, maxPercision] = alignPoint(this.v, this.p, b.v, b.p)\n const resultValue = bigIntToNumber(fun(valueA, valueB), maxPercision)\n return new Decimal(resultValue, percision)\n }\n\n plus(n: Decimal | string | number | bigint, percision?: number): Decimal {\n if (!(n instanceof Decimal)) {\n n = new Decimal(n)\n }\n return this.compute(n, percision ? percision : Decimal.PRECISION, (a, b) => a + b)\n }\n\n minus(n: Decimal | string | number | bigint, percision?: number): Decimal {\n if (!(n instanceof Decimal)) {\n n = new Decimal(n)\n }\n return this.compute(n, percision ? percision : Decimal.PRECISION, (a, b) => a - b)\n }\n\n div(n: Decimal | string | number | bigint, percision?: number): Decimal {\n if (!(n instanceof Decimal)) {\n n = new Decimal(n)\n }\n const p = percision ? percision : Decimal.PRECISION\n const [valueA, valueB, maxPercision] = alignPoint(this.v, this.p, n.v, n.p)\n const resultValue = bigIntToNumber(valueA * pow(10, p) / valueB, p)\n return new Decimal(resultValue, p)\n }\n\n times(n: Decimal | string | number | bigint, percision?: number): Decimal {\n if (!(n instanceof Decimal)) {\n n = new Decimal(n)\n }\n const [valueA, valueB, maxPercision] = alignPoint(this.v, this.p, n.v, n.p)\n const resultValue = bigIntToNumber(valueA * valueB, 2 * maxPercision)\n return new Decimal(resultValue, percision)\n }\n\n isZero(): boolean {\n return this.v === BigInt(0)\n }\n\n format(percision: number, showthousands = true, roundUp = true) {\n let value = this.v\n if (this.p > percision) {\n if (roundUp) {\n if (value > 0) {\n value += BigInt(5) * pow(10, this.p - percision - 1)\n } else {\n value -= BigInt(5) * pow(10, this.p - percision - 1)\n }\n }\n value /= pow(10, this.p - percision)\n } else if ( this.p < percision) {\n value *= pow(10, percision - this.p)\n }\n\n let valueStr = value.toString()\n let sign = ''\n if (valueStr.length > 0 && valueStr[0] === '-') {\n sign = '-'\n valueStr = valueStr.slice(1)\n }\n const shift = valueStr.length - percision\n if (shift <= 0) {\n return `${sign}0.${'0'.repeat(-shift)}${valueStr}`\n } else {\n let int = valueStr.slice(0, shift)\n if (showthousands) {\n int = int.replace(/(\\d)(?=(?:\\d{3})+$)/g, '$1,')\n }\n const float = valueStr.slice(shift)\n \n return percision === 0 ? `${sign}${int}` : `${sign}${int}.${float}`\n }\n }\n\n round(percision: number, showthousands = true) {\n return this.format(percision, showthousands)\n }\n\n fixed(percision: number, showthousands = true) {\n return this.format(percision, showthousands, false)\n }\n}","import { fetchGet, fetchPost, fetchPut, fetchDelete } from './index'\nimport { AttachementProps } from '@/views/Program/types'\nimport { string } from 'vue-types';\n\nexport interface LoadAttachmentProps {\n pageAt: number;\n pageSize: number;\n tableCell: {[key: string]: string}[];\n tableCol: {id: string; display: string; type: string}[];\n totalCount: number;\n\n}\nexport interface OBProps {\n id: string; \n name: string;\n}\nexport interface OBBProps {\n label: string; \n value: string;\n}\nexport interface LoadCommentsTableCellProps{\n bu?: OBProps;\n cn?: OBProps;\n customerType?: OBProps[];\n dealerType?: OBProps[];\n id: string;\n incentiveCategory?: OBProps;\n offerType: OBProps[];\n position?: OBProps;\n powerTrain?: OBProps[];\n preconditionType?: OBProps;\n}\nexport interface LoadCommentsProps{\n pageAt: number;\n pageSize: number;\n tableCell: LoadCommentsTableCellProps[];\n tableCol: {id: string; display: string; type: string}[];\n totalCount: number;\n}\n\nexport interface AttachementListProps {\n docId: string;\n docName: string;\n docPeriod: string;\n docUrl: string;\n}\n// 查询最新PDI List\nexport const settingSearchPdi = (params = {}): Promise => {\n return fetchGet('/pgapi/program/setting/search_pdi', params)\n}\n\n// Attachment Master Setting Overview\nexport const loadAttachment = (params = {}): Promise => {\n return fetchGet('/pgapi/program/setting/load_attachment', params)\n}\n\nexport const programSettingGetOfferType = (params = {}): Promise<{incentiveCategory: []}> => {\n return fetchGet('/pgapi/program/setting/get_offer_type', params)\n}\nexport const deleteAttachment = (params = {}): Promise => {\n return fetchGet('/pgapi/program/setting/delete_attachment', params)\n}\n\n// Get program attachment setting\nexport const getAttachmentSetting = (params = {}): Promise => {\n return fetchPost('/pgapi/program/design/get_attachment_setting', params)\n}\n\nexport const importProgramAttachment = (params = {}): Promise => {\n return fetchPost('/pgapi/program/design/import_program_attachment', params)\n}\n\nexport const downloadProgramAttachment = (params = {}): Promise => {\n return fetchPost('/pgapi/program/design/download_program_attachment', params)\n}\nexport const deleteProgramAttachment = (params = {}, data: string): Promise => {\n return fetchPost('/pgapi/program/design/delete_program_attachment?programId=' + data, params)\n}\n\n\nexport const saveAttachment = (params = {}): Promise => {\n return fetchPost('/pgapi/program/setting/save_attachment', params)\n}\n\nexport const importAttachment = (params = {}): Promise => {\n return fetchPost('/pgapi/program/setting/import_attachment', params)\n}\nexport const loadCommentsMaster = (params = {}): Promise => {\n return fetchPost('/pgapi/program/setting/load_comments_master', params)\n}\n\nexport const getProgramAttachment = (params = {}): Promise<{attachment: AttachementListProps[]; programId: string}> => {\n return fetchGet('/pgapi/program/data/get_program_attachment', params)\n}\n\n\nexport const commentsSearchOption = (params = {}): Promise => {\n return fetchPost('/pgapi/program/setting/comments_search_option', params)\n}\nexport const storeCommentsMaster = (params = {}): Promise => {\n return fetchPost('/pgapi/program/setting/store_comments_master', params)\n}\n\nexport const deleteCommentsMaster = (params = {}): Promise<{incentiveCategory: []}> => {\n return fetchGet('/pgapi/program/setting/delete_comments_master', params)\n}\n\n\n\n","module.exports = __webpack_public_path__ + \"img/the-right-icon.6073fe83.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!./InternalProgramOfferTable.vue?vue&type=style&index=0&id=1c453105&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!./ProgramPreview.vue?vue&type=style&index=0&id=6d380fc6&scoped=true&lang=scss\"","import { createElementVNode as _createElementVNode, normalizeStyle as _normalizeStyle, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, Transition as _Transition, vShow as _vShow, withCtx as _withCtx, createVNode as _createVNode, withDirectives as _withDirectives, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nimport _imports_0 from '@/assets/images/the-right-icon.svg'\nimport _imports_1 from '@/assets/images/on-zoom.svg'\nimport _imports_2 from '@/assets/images/in-zoom.svg'\n\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-6d380fc6\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n class: \"program-preview-container d-f\",\n ref: \"programPreviewRef\"\n}\nconst _hoisted_2 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", {\n src: _imports_0,\n alt: \"\"\n}, null, -1))\nconst _hoisted_3 = [\n _hoisted_2\n]\nconst _hoisted_4 = { class: \"flex-w-auto program-preview-main d-f flex-d-c\" }\nconst _hoisted_5 = { class: \"d-f justify-b title-wrapper\" }\nconst _hoisted_6 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h2\", { class: \"title\" }, \"Program Review\", -1))\nconst _hoisted_7 = { class: \"d-f justify-c align-c\" }\nconst _hoisted_8 = { class: \"flex-w-auto content\" }\nconst _hoisted_9 = [\"src\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _withDirectives(_createVNode(_Transition, { name: \"fade\" }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", {\n class: \"btn d-f justify-c align-c cursor-p\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.$emit('update:visible', false)))\n }, _hoisted_3),\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n _hoisted_6,\n _createElementVNode(\"div\", _hoisted_7, [\n _createElementVNode(\"img\", {\n src: _imports_1,\n alt: \"\",\n class: \"m-r-15 cursor-p\",\n onClick: _cache[1] || (_cache[1] = \n//@ts-ignore\n(...args) => (_ctx.handlerOnZoom && _ctx.handlerOnZoom(...args)))\n }),\n _createElementVNode(\"img\", {\n src: _imports_2,\n alt: \"\",\n class: \"cursor-p\",\n onClick: _cache[2] || (_cache[2] = \n//@ts-ignore\n(...args) => (_ctx.handlerInZoom && _ctx.handlerInZoom(...args)))\n })\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_8, [\n (_ctx.wordingSrc)\n ? (_openBlock(), _createElementBlock(\"img\", {\n key: 0,\n src: _ctx.wordingSrc,\n alt: \"\",\n class: \"wording\",\n style: _normalizeStyle({ width: _ctx.width + 'px', height: _ctx.height + 'px', transform: `scale3d(${_ctx.scale}, ${_ctx.scale}, 1)` })\n }, null, 12, _hoisted_9))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ], 512)\n ]),\n _: 1\n }, 512), [\n [_vShow, _ctx.visible]\n ])\n ]))\n}","\n import { defineComponent, ref, watch, PropType, reactive, toRefs, onMounted } from 'vue';\n import { getWording } from \"@/API/approve\";\n\n export default defineComponent({\n name: \"ProgramPreview\",\n props: {\n visible: {\n type: Boolean\n },\n targetName: {\n type: String\n },\n program: {\n type: Object as PropType<{ programId: string; programPeriod: string }>,\n required: true\n }\n\n },\n emits: ['update:visible', 'update:program'],\n setup(props, content) {\n const programPreviewRef = ref();\n\n const wordingSrc = ref('');\n\n const scale = ref(1);\n\n const imgPosition = reactive<{ width: number; height: number }>({ width: 0, height: 0 });\n\n const handlerOnZoom = (): void => {\n scale.value += 0.2;\n }\n\n const handlerInZoom = (): void => {\n if (scale.value > 1) {\n scale.value -= 0.2;\n }\n }\n\n const handlerDocumentClick = (e: Event): void => {\n // if (wordingSrc.value && !programPreviewRef.value.contains(e.target)) {\n // content.emit('update:visible', false);\n // }\n }\n\n watch(() => props.visible, (value) => {\n if (!value) {\n scale.value = 1;\n imgPosition.width = 0;\n imgPosition.height = 0;\n wordingSrc.value = ''\n const program = Object.assign(props.program, { programId: '', programPeriod: '' })\n content.emit('update:program', program);\n }\n })\n\n watch(props.program, (value) => {\n if (value.programId) {\n // getWording(props.program.programId, props.program.programPeriod).then(data => {\n // const img = new Image();\n // const url = window.URL.createObjectURL(data);\n // img.onload = () => {\n // imgPosition.width = img.width;\n // imgPosition.height = img.height;\n // scale.value = 1;\n // window.URL.revokeObjectURL(img.src);\n // }\n // img.src = url;\n // wordingSrc.value = url;\n // })\n }\n })\n\n onMounted(() => {\n document.addEventListener('click', handlerDocumentClick);\n })\n\n return {\n wordingSrc,\n scale,\n ...toRefs(imgPosition),\n\n handlerOnZoom,\n handlerInZoom,\n\n programPreviewRef\n }\n }\n })\n","import { render } from \"./ProgramPreview.vue?vue&type=template&id=6d380fc6&scoped=true&ts=true\"\nimport script from \"./ProgramPreview.vue?vue&type=script&lang=ts\"\nexport * from \"./ProgramPreview.vue?vue&type=script&lang=ts\"\n\nimport \"./ProgramPreview.vue?vue&type=style&index=0&id=6d380fc6&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-6d380fc6\"]])\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!./SpecialUsageTable.vue?vue&type=style&index=0&id=19117841&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!./OfferOtherProgramTable.vue?vue&type=style&index=0&id=51b7ec31&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!./Wrapper.vue?vue&type=style&index=0&id=5dd162f3&lang=scss&scoped=true\"","import { createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createBlock as _createBlock, toDisplayString as _toDisplayString, renderList as _renderList, Fragment as _Fragment, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nimport _imports_0 from '@/assets/images/Confirm-icon.svg'\nimport _imports_1 from '@/assets/images/withdraw-icon.svg'\n\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-29d9fc90\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"p-10 m-t-10\" }\nconst _hoisted_2 = {\n class: \"flex-div m-b-20\",\n style: {\"border-bottom\":\"1px solid #f0f0f0\"}\n}\nconst _hoisted_3 = /*#__PURE__*/_createTextVNode(\"Program Wording\")\nconst _hoisted_4 = /*#__PURE__*/_createTextVNode(\"Budget Form\")\nconst _hoisted_5 = /*#__PURE__*/_createTextVNode(\"Attachment\")\nconst _hoisted_6 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { style: {\"flex\":\"1\"} }, null, -1))\nconst _hoisted_7 = { class: \"flex-div\" }\nconst _hoisted_8 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { style: {\"flex\":\"1\"} }, null, -1))\nconst _hoisted_9 = /*#__PURE__*/_createTextVNode(\"Download Wording\")\nconst _hoisted_10 = /*#__PURE__*/_createTextVNode(\"Go To Budget\")\nconst _hoisted_11 = { id: \"preview-box\" }\nconst _hoisted_12 = {\n key: 0,\n class: \"budgetForm\"\n}\nconst _hoisted_13 = { class: \"d-f\" }\nconst _hoisted_14 = { class: \"wrapper\" }\nconst _hoisted_15 = { class: \"information\" }\nconst _hoisted_16 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"title\" }, \"BU\", -1))\nconst _hoisted_17 = { class: \"value\" }\nconst _hoisted_18 = { class: \"information\" }\nconst _hoisted_19 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"title\" }, \"Program Code\", -1))\nconst _hoisted_20 = { class: \"value\" }\nconst _hoisted_21 = { class: \"information\" }\nconst _hoisted_22 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"title\" }, \"Program Name\", -1))\nconst _hoisted_23 = { class: \"value\" }\nconst _hoisted_24 = { class: \"information\" }\nconst _hoisted_25 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"title\" }, \"Program Period\", -1))\nconst _hoisted_26 = { class: \"value\" }\nconst _hoisted_27 = { class: \"wrapper\" }\nconst _hoisted_28 = { class: \"information\" }\nconst _hoisted_29 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"title\" }, \"Kufri Version\", -1))\nconst _hoisted_30 = { class: \"value\" }\nconst _hoisted_31 = {\n key: 0,\n class: \"information\"\n}\nconst _hoisted_32 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"title\" }, \"Fleet Volume\", -1))\nconst _hoisted_33 = { class: \"value text-right\" }\nconst _hoisted_34 = {\n key: 1,\n class: \"information\"\n}\nconst _hoisted_35 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"title\" }, \"Est Volume\", -1))\nconst _hoisted_36 = { class: \"value text-right\" }\nconst _hoisted_37 = { class: \"title\" }\nconst _hoisted_38 = { class: \"value text-right\" }\nconst _hoisted_39 = { class: \"information\" }\nconst _hoisted_40 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"title\" }, \"Total Budget\", -1))\nconst _hoisted_41 = { class: \"value text-right\" }\nconst _hoisted_42 = { class: \"d-f justify-e m-t-10 m-b-10\" }\nconst _hoisted_43 = /*#__PURE__*/_createTextVNode(\"Expand All\")\nconst _hoisted_44 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", {\n id: \"ssHost83\",\n class: \"excell\"\n}, null, -1))\nconst _hoisted_45 = [\"src\"]\nconst _hoisted_46 = { key: 2 }\nconst _hoisted_47 = { class: \"attachement-ul\" }\nconst _hoisted_48 = [\"href\"]\nconst _hoisted_49 = /*#__PURE__*/_createTextVNode(\"关闭\")\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_a_button = _resolveComponent(\"a-button\")!\n const _component_a_checkbox = _resolveComponent(\"a-checkbox\")!\n const _component_ProgramCombinability = _resolveComponent(\"ProgramCombinability\")!\n const _component_a_spin = _resolveComponent(\"a-spin\")!\n const _component_a_modal = _resolveComponent(\"a-modal\")!\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createVNode(_component_a_modal, {\n visible: _ctx.wordingpreviewvisible,\n width: \"80%\",\n onCancel: _ctx.handleClose,\n onOk: _ctx.handleClose,\n zIndex: 10000,\n getContainer: _ctx.spinWrapper\n }, {\n default: _withCtx(() => [\n _createVNode(_component_a_spin, { spinning: _ctx.spinning }, {\n footer: _withCtx(() => [\n _createVNode(_component_a_button, {\n key: \"back\",\n onClick: _ctx.handleClose\n }, {\n default: _withCtx(() => [\n _hoisted_49\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(_component_a_button, {\n class: \"f-l m-b-10 m-r-10\",\n type: _ctx.activeWording === 0 ? 'primary' : 'default',\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.handleWording(0)))\n }, {\n default: _withCtx(() => [\n _hoisted_3\n ]),\n _: 1\n }, 8, [\"type\"]),\n _createVNode(_component_a_button, {\n class: \"m-r-10 f-l m-b-10\",\n type: _ctx.activeWording === 1 ? 'primary' : 'default',\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.handleWording(1)))\n }, {\n default: _withCtx(() => [\n _hoisted_4\n ]),\n _: 1\n }, 8, [\"type\"]),\n _createVNode(_component_a_button, {\n class: \"m-r-10 f-l m-b-10\",\n type: _ctx.activeWording === 2 ? 'primary' : 'default',\n onClick: _cache[2] || (_cache[2] = ($event: any) => (_ctx.handleWording(2)))\n }, {\n default: _withCtx(() => [\n _hoisted_5\n ]),\n _: 1\n }, 8, [\"type\"]),\n _hoisted_6,\n (_ctx.$btnPermissions('PROGRAM CONFIRM CONFIRM'))\n ? (_openBlock(), _createElementBlock(\"img\", {\n key: 0,\n class: \"cursor-p m-l-12\",\n title: \"Confirm\",\n src: _imports_0,\n alt: \"\",\n onClick: _cache[3] || (_cache[3] = \n//@ts-ignore\n(...args) => (_ctx.handlerConfirmClick && _ctx.handlerConfirmClick(...args)))\n }))\n : _createCommentVNode(\"\", true),\n (_ctx.$btnPermissions('PROGRAM CONFIRM RETURN'))\n ? (_openBlock(), _createElementBlock(\"img\", {\n key: 1,\n class: \"cursor-p m-l-12\",\n title: \"Return\",\n src: _imports_1,\n alt: \"\",\n onClick: _cache[4] || (_cache[4] = \n//@ts-ignore\n(...args) => (_ctx.handlerReturnClick && _ctx.handlerReturnClick(...args)))\n }))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_7, [\n _hoisted_8,\n (_ctx.activeWording === 0)\n ? (_openBlock(), _createBlock(_component_a_button, {\n key: 0,\n onClick: _ctx.handleWordingDownload,\n class: \"m-r-10 f-l m-b-10\"\n }, {\n default: _withCtx(() => [\n _hoisted_9\n ]),\n _: 1\n }, 8, [\"onClick\"]))\n : (_ctx.activeWording === 1)\n ? (_openBlock(), _createBlock(_component_a_button, {\n key: 1,\n class: \"f-l m-b-10\",\n onClick: _ctx.handleGo\n }, {\n default: _withCtx(() => [\n _hoisted_10\n ]),\n _: 1\n }, 8, [\"onClick\"]))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_11, [\n (_ctx.activeWording === 1)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_12, [\n _createElementVNode(\"div\", _hoisted_13, [\n _createElementVNode(\"div\", _hoisted_14, [\n _createElementVNode(\"div\", _hoisted_15, [\n _hoisted_16,\n _createElementVNode(\"div\", _hoisted_17, \"  \" + _toDisplayString(_ctx.bu), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_18, [\n _hoisted_19,\n _createElementVNode(\"div\", _hoisted_20, \"  \" + _toDisplayString(_ctx.programCode), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_21, [\n _hoisted_22,\n _createElementVNode(\"div\", _hoisted_23, \"  \" + _toDisplayString(_ctx.programName), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_24, [\n _hoisted_25,\n _createElementVNode(\"div\", _hoisted_26, \"  \" + _toDisplayString(_ctx.programPeriod), 1)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_27, [\n _createElementVNode(\"div\", _hoisted_28, [\n _hoisted_29,\n _createElementVNode(\"div\", _hoisted_30, \"  \" + _toDisplayString(_ctx.kufriVersion), 1)\n ]),\n (_ctx.bu === 'Fleet')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_31, [\n _hoisted_32,\n _createElementVNode(\"div\", _hoisted_33, \"  \" + _toDisplayString(_ctx.totalFleetVolume), 1)\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_34, [\n _hoisted_35,\n _createElementVNode(\"div\", _hoisted_36, \"  \" + _toDisplayString(_ctx.totalEstVolume), 1)\n ])),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.totalVolumeList, (item, index) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: index,\n class: \"information\"\n }, [\n _createElementVNode(\"div\", _hoisted_37, _toDisplayString(item.key), 1),\n _createElementVNode(\"div\", _hoisted_38, \"  \" + _toDisplayString(item.value), 1)\n ]))\n }), 128)),\n _createElementVNode(\"div\", _hoisted_39, [\n _hoisted_40,\n _createElementVNode(\"div\", _hoisted_41, \"  \" + _toDisplayString(_ctx.totalBudgetVolume), 1)\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_42, [\n _createVNode(_component_a_checkbox, {\n onChange: _ctx.expandExcell,\n checked: _ctx.isexpand,\n \"onUpdate:checked\": _cache[5] || (_cache[5] = ($event: any) => ((_ctx.isexpand) = $event))\n }, {\n default: _withCtx(() => [\n _hoisted_43\n ]),\n _: 1\n }, 8, [\"onChange\", \"checked\"])\n ]),\n _hoisted_44\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.activeWording === 0 && _ctx.wordingSrc)\n ? (_openBlock(), _createElementBlock(\"img\", {\n key: 1,\n src: _ctx.wordingSrc,\n alt: \"\",\n class: \"wording-img\"\n }, null, 8, _hoisted_45))\n : _createCommentVNode(\"\", true),\n (_ctx.activeWording === 2 && _ctx.attachment.length > 0)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_46, [\n _createElementVNode(\"ul\", _hoisted_47, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.attachment, (item, index) => {\n return (_openBlock(), _createElementBlock(\"li\", { key: index }, [\n _createElementVNode(\"a\", {\n href: item.docUrl\n }, _toDisplayString(item.docName), 9, _hoisted_48)\n ]))\n }), 128))\n ])\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.activeWording === 3)\n ? (_openBlock(), _createBlock(_component_ProgramCombinability, {\n key: 3,\n ref: \"programCombinabilityComponent\"\n }, null, 512))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ]),\n _: 1\n }, 8, [\"spinning\"])\n ]),\n _: 1\n }, 8, [\"visible\", \"onCancel\", \"onOk\", \"getContainer\"])\n ]))\n}","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, unref as _unref, createVNode as _createVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createElementBlock as _createElementBlock, normalizeClass as _normalizeClass, renderSlot as _renderSlot, vShow as _vShow, withDirectives as _withDirectives, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-5dd162f3\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"program-header-pub\" }\nconst _hoisted_2 = { class: \"flex-div justify-b\" }\nconst _hoisted_3 = { key: 1 }\nconst _hoisted_4 = { class: \"com-content\" }\n\nimport { ref } from 'vue';\nimport { ExclamationCircleOutlined } from '@ant-design/icons-vue';\n\n\nexport default /*#__PURE__*/_defineComponent({\n props: {\n title: {\n default: '',\n required: true\n },\n toolTipContent: {\n default: '',\n required: false\n }\n},\n setup(__props) {\n\nconst props = __props\n\n\n\nconst isCollapsed = ref(false);\n\nconst getPopupContainer = (trigger: HTMLElement) => {\n return trigger.parentElement;\n};\n\nreturn (_ctx: any,_cache: any) => {\n const _component_a_tooltip = _resolveComponent(\"a-tooltip\")!\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"h1\", _hoisted_2, [\n _createElementVNode(\"div\", null, [\n (__props.toolTipContent !== '')\n ? (_openBlock(), _createBlock(_component_a_tooltip, {\n key: 0,\n placement: \"top\",\n getPopupContainer: getPopupContainer\n }, {\n title: _withCtx(() => [\n _createElementVNode(\"span\", null, _toDisplayString(__props.toolTipContent), 1)\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"span\", null, [\n _createTextVNode(_toDisplayString(__props.title) + \" \", 1),\n _createVNode(_unref(ExclamationCircleOutlined))\n ])\n ]),\n _: 1\n }))\n : (_openBlock(), _createElementBlock(\"span\", _hoisted_3, _toDisplayString(__props.title), 1))\n ]),\n _createElementVNode(\"i\", {\n class: _normalizeClass([\"font_family m-l-30 cursor-p icon-arrow-bg\", isCollapsed.value ? 'icon-xiangyou' : 'icon-xiangxia']),\n onClick: _cache[0] || (_cache[0] = ($event: any) => (isCollapsed.value = !isCollapsed.value))\n }, null, 2)\n ])\n ]),\n _withDirectives(_createElementVNode(\"div\", _hoisted_4, [\n _renderSlot(_ctx.$slots, \"content\")\n ], 512), [\n [_vShow, !isCollapsed.value]\n ])\n ]))\n}\n}\n\n})","import script from \"./Wrapper.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./Wrapper.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./Wrapper.vue?vue&type=style&index=0&id=5dd162f3&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, [['__scopeId',\"data-v-5dd162f3\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, createTextVNode as _createTextVNode, normalizeClass as _normalizeClass, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-b2b09d90\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"sub-title\" }\nconst _hoisted_2 = { style: {\"display\":\"flex\"} }\nconst _hoisted_3 = { class: \"default\" }\nconst _hoisted_4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h1\", null, \"Default\", -1))\nconst _hoisted_5 = { class: \"modified\" }\nconst _hoisted_6 = { class: \"modified-title\" }\nconst _hoisted_7 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h1\", null, \"Modified\", -1))\nconst _hoisted_8 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { style: {\"color\":\"#f44336\"} }, \"Hightlighted in Red:\", -1))\nconst _hoisted_9 = /*#__PURE__*/_createTextVNode()\nconst _hoisted_10 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, \"Modified Part\", -1))\nconst _hoisted_11 = [\n _hoisted_8,\n _hoisted_9,\n _hoisted_10\n]\n\n\nexport default /*#__PURE__*/_defineComponent({\n props: {\n isOfferOtherProgram: {\n required: false,\n default: false,\n type: Boolean\n }\n},\n setup(__props) {\n\nconst props = __props\n\n\n\nreturn (_ctx: any,_cache: any) => {\n const _component_a_divider = _resolveComponent(\"a-divider\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"div\", _hoisted_1, [\n _renderSlot(_ctx.$slots, \"title\")\n ]),\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _hoisted_4,\n _renderSlot(_ctx.$slots, \"default\")\n ]),\n _createVNode(_component_a_divider, {\n class: \"content-divider\",\n type: \"vertical\",\n dashed: \"\"\n }),\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"div\", _hoisted_6, [\n _hoisted_7,\n _createElementVNode(\"span\", {\n class: _normalizeClass({ upper: __props.isOfferOtherProgram })\n }, _hoisted_11, 2)\n ]),\n _renderSlot(_ctx.$slots, \"modified\")\n ])\n ])\n ], 64))\n}\n}\n\n})","import script from \"./Content.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./Content.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./Content.vue?vue&type=style&index=0&id=b2b09d90&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, [['__scopeId',\"data-v-b2b09d90\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-1c453105\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"internal-offer-table\" }\n\nimport { ref } from 'vue';\nimport { CloseCircleOutlined, CheckCircleOutlined } from '@ant-design/icons-vue';\n\n\nexport default /*#__PURE__*/_defineComponent({\n props: {\n tableData: {\n type: Array,\n required: true,\n default: () => []\n }\n},\n setup(__props) {\n\nconst props = __props\n\n\n\nconst columns = [\n {\n title: 'Vehicle Group',\n width: '180px',\n dataIndex: 'vehicleGroup',\n align: 'center',\n ellipsis: true\n },\n {\n title: 'Category',\n width: '220px',\n dataIndex: 'category1',\n colSpan: 2,\n align: 'center',\n ellipsis: true\n },\n {\n title: 'Category',\n width: '220px',\n dataIndex: 'category2',\n colSpan: 0,\n align: 'center',\n ellipsis: true\n },\n {\n title: 'Combinability',\n width: '100px',\n dataIndex: 'combinability',\n align: 'center',\n slots: {\n customRender: 'combinability'\n },\n customCell: (record) => {\n if (record.modified) {\n return {\n style: {\n border: '1px solid #f44336'\n }\n };\n }\n }\n }\n];\n\nreturn (_ctx: any,_cache: any) => {\n const _component_a_table = _resolveComponent(\"a-table\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(_component_a_table, {\n class: \"program-combinability-table\",\n columns: columns,\n \"data-source\": __props.tableData,\n bordered: \"\",\n pagination: false,\n rowClassName: (record, index) => (index % 2 === 1 ? 'table-striped' : null),\n rowKey: (record, index) => index\n }, {\n combinability: _withCtx(({ text }) => [\n _createElementVNode(\"div\", null, [\n text\n ? (_openBlock(), _createBlock(_unref(CheckCircleOutlined), {\n key: 0,\n style: {\"color\":\"#00adef\"}\n }))\n : (_openBlock(), _createBlock(_unref(CloseCircleOutlined), {\n key: 1,\n style: {\"color\":\"#f44336\"}\n }))\n ])\n ]),\n _: 1\n }, 8, [\"data-source\", \"rowClassName\", \"rowKey\"])\n ]))\n}\n}\n\n})","import script from \"./InternalProgramOfferTable.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./InternalProgramOfferTable.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./InternalProgramOfferTable.vue?vue&type=style&index=0&id=1c453105&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, [['__scopeId',\"data-v-1c453105\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createVNode as _createVNode, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nimport Wrapper from '../components/Wrapper';\nimport Content from '../components/Content';\nimport InternalProgramOfferTable from '../components/InternalProgramOfferTable';\n\n\nexport default /*#__PURE__*/_defineComponent({\n props: {\n internalProgramOffer: {\n require: true,\n default: () => ({ left: [], right: [] }),\n type: Object\n }\n},\n setup(__props) {\n\nconst props = __props\n\n\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(_unref(Wrapper), {\n title: \"Combinability For Internal Program Offer\",\n toolTipContent: \"Display based on the intersection of vehicle group.\"\n }, {\n content: _withCtx(() => [\n (__props.internalProgramOffer.left.length > 0 || __props.internalProgramOffer.right.length > 0)\n ? (_openBlock(), _createBlock(_unref(Content), { key: 0 }, {\n default: _withCtx(() => [\n _createVNode(_unref(InternalProgramOfferTable), {\n tableData: __props.internalProgramOffer.left\n }, null, 8, [\"tableData\"])\n ]),\n modified: _withCtx(() => [\n _createVNode(_unref(InternalProgramOfferTable), {\n tableData: __props.internalProgramOffer.right\n }, null, 8, [\"tableData\"])\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-ad258a44\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n class: \"internal-offer-table\",\n style: {\"position\":\"relative\"}\n}\n\nimport { ref, computed, watch } from 'vue';\nimport { CloseCircleOutlined, CheckCircleOutlined } from '@ant-design/icons-vue';\n\n\nexport default /*#__PURE__*/_defineComponent({\n props: {\n originData: {\n type: Array,\n required: true,\n default: () => []\n },\n originColumns: {\n type: Array,\n required: true,\n default: () => []\n },\n dataType: {\n required: false,\n type: String,\n default: 'default'\n }\n},\n setup(__props) {\n\nconst props = __props\n\n\n\nconst newRows = ref([]);\n\nconst COL_WIDTH = 200;\nconst COL_HEIGHT = 40;\n\nconst columnsLength = computed(() => columns.value.length);\n\nconst calculateNewRowPosition = (newRow: any) => {\n const { startCol, startRow, rowSpan } = newRow;\n const top = 60 + startRow * COL_HEIGHT;\n const left = startCol * COL_WIDTH;\n const width = (columnsLength.value - startCol) * COL_WIDTH;\n const height = rowSpan * COL_HEIGHT;\n return {\n top: `${top}px`,\n left: `${left}px`,\n width: `${width}px`,\n height: `${height}px`\n };\n};\n\n// 0 第一列,1 第二列,2 第三列, 前三列需要纵向合并单元格,有新增要改变颜色\nconst leftThreeColumnCustomRender = (columnIndex: number) => {\n return ({ record, text, index }) => {\n const obj = {\n children: text,\n props: {} as any\n };\n if (record[`${columnIndex}-isNewRow`]) {\n obj.props = {\n style: {\n color: '#f44336',\n position: 'relative',\n zIndex: 100\n }\n };\n }\n const startRow = record[`${columnIndex}-startRow`];\n const childLength = record[`${columnIndex}-childLength`];\n const endRow = startRow + childLength;\n if (index === startRow) {\n obj.props.rowSpan = childLength;\n } else {\n obj.props.rowSpan = 0;\n }\n return obj;\n };\n};\n\n// offerType 相关列 customRender\nconst offerTypeCustomRender = ({ record, text, index }) => {\n const obj = {\n children: text,\n props: {} as any\n };\n if (record[`3-isNewRow`]) {\n obj.props = {\n style: {\n color: '#f44336',\n position: 'relative',\n zIndex: 100\n }\n };\n }\n return obj;\n};\n\nconst rightColumn = {\n title: 'Combinability',\n dataIndex: 'combinability',\n align: 'center',\n width: `${COL_WIDTH}px`,\n slots: {\n customRender: 'combinability'\n },\n customCell: (record) => {\n if (record.new) {\n return {\n style: {\n border: '1px solid #f44336'\n }\n };\n }\n }\n};\n\nconst generateColumn = (column: any) => {\n column.width = `${COL_WIDTH}px`;\n column.ellipsis = true;\n if (column.title === 'Incentive Category') {\n column.align = 'center';\n column.customRender = leftThreeColumnCustomRender(0);\n return;\n }\n if (column.title === 'Program Category') {\n column.customRender = leftThreeColumnCustomRender(1);\n return;\n }\n if (column.title === 'Program Code') {\n column.customRender = leftThreeColumnCustomRender(2);\n return;\n }\n column.customRender = offerTypeCustomRender;\n};\n\nconst columns = computed(() => {\n const shownDynamicColumns = props.originColumns.filter((col: any) => {\n if (tableData.value.some((row: any) => row[col.dataIndex] && row[col.dataIndex] !== null)) {\n return true;\n }\n });\n shownDynamicColumns.forEach((col: any) => {\n generateColumn(col);\n });\n return [...shownDynamicColumns, rightColumn];\n});\n\nconst tableData = ref([]);\n\n// 将数据对象处理成一行一行的数据\nconst generateTableData = (rowObj: any, cellData: any) => {\n if (!cellData.children) return { ...rowObj, ...cellData };\n const { children, ...rest } = cellData;\n const newRow = { ...rowObj, ...rest };\n return children.map((child: any) => {\n return generateTableData(newRow, child);\n });\n};\n\n/**\n * ! 该函数做了四件事:\n * ! 1. 记录各行数据的起始行数 startRow,用于行合并时判断从哪行开始合并\n * ! 2. 统计每个汇总各层级的子行数,childLength,作为表格行合并的rowSpan,表示从 startRow 开始的合并跨越\n * ! 3. 如果父行标注了是新增的 new:true,要将其子行都标记为true,用于显示为红色文字\n * ! 4. 新增的行存入 newRows 中,用于渲染红框\n * !\n * * level: 因为需要合并的列最多只有前三列,0 第一列,1 第二列,2 第三列\n */\nlet startRow = 0;\nconst processOriginData = (currentCol: any, level: number) => {\n currentCol[`${level}-startRow`] = startRow;\n if (currentCol.new || currentCol['new-child-row']) {\n currentCol[`${level}-isNewRow`] = true;\n }\n if (!currentCol.children) {\n startRow += 1;\n currentCol[`${level}-childLength`] = 1;\n return;\n }\n const childCount = currentCol.children?.reduce((total: any, child: any) => {\n if (currentCol.new || currentCol['new-child-row']) {\n child['new-child-row'] = true;\n }\n processOriginData(child, level + 1);\n return total + child[`${level + 1}-childLength`];\n }, 0);\n currentCol[`${level}-childLength`] = childCount;\n if (currentCol.new) {\n newRows.value.push({\n startCol: level,\n startRow: currentCol[`${level}-startRow`],\n rowSpan: currentCol[`${level}-childLength`]\n });\n }\n};\n\nconst getData = () => {\n props.originData.forEach((ele: any) => {\n processOriginData(ele, 0);\n });\n\n tableData.value = props.originData\n .map((ele: any) => {\n return generateTableData({}, ele);\n })\n .flat(Infinity);\n};\n\nwatch(\n () => props.originData,\n () => {\n getData();\n },\n {\n immediate: true\n }\n);\n\nreturn (_ctx: any,_cache: any) => {\n const _component_a_table = _resolveComponent(\"a-table\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(_component_a_table, {\n class: \"program-combinability-table\",\n columns: _unref(columns),\n \"data-source\": tableData.value,\n bordered: \"\",\n pagination: false,\n rowClassName: (record, index) => (index % 2 === 1 ? 'table-striped' : null),\n rowKey: (record, index) => index,\n customRow: \n () => ({\n style: {\n height: `${COL_HEIGHT}px`,\n maxHeight: `${COL_HEIGHT}px`\n }\n })\n ,\n customHeaderRow: \n () => ({\n style: {\n height: '60px'\n }\n })\n \n }, {\n combinability: _withCtx(({ text }) => [\n _createElementVNode(\"div\", null, [\n text\n ? (_openBlock(), _createBlock(_unref(CheckCircleOutlined), {\n key: 0,\n style: {\"color\":\"#00adef\"}\n }))\n : (_openBlock(), _createBlock(_unref(CloseCircleOutlined), {\n key: 1,\n style: {\"color\":\"#f44336\"}\n }))\n ])\n ]),\n _: 1\n }, 8, [\"columns\", \"data-source\", \"rowClassName\", \"rowKey\", \"customRow\", \"customHeaderRow\"])\n ]))\n}\n}\n\n})","import script from \"./OtherProgramTable.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./OtherProgramTable.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./OtherProgramTable.vue?vue&type=style&index=0&id=ad258a44&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, [['__scopeId',\"data-v-ad258a44\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, withCtx as _withCtx } from \"vue\"\n\nimport { ref, computed, watch } from 'vue';\nimport Wrapper from '../components/Wrapper';\nimport Content from '../components/Content';\nimport OtherProgramTable from '../components/OtherProgramTable';\n\n\nexport default /*#__PURE__*/_defineComponent({\n props: {\n otherProgram: {\n require: true,\n default: () => ({ left: { title: [], body: [] }, right: { title: [], body: [] } }),\n type: Object\n }\n},\n setup(__props) {\n\nconst props = __props\n\n\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(_unref(Wrapper), {\n title: \"Combinability For Program – Other Program\",\n toolTipContent: \"Display according to the overall program.\"\n }, {\n content: _withCtx(() => [\n (__props.otherProgram.left.body.length !== 0 || __props.otherProgram.right.body.length !== 0)\n ? (_openBlock(), _createBlock(_unref(Content), { key: 0 }, {\n default: _withCtx(() => [\n (__props.otherProgram.left.body.length !== 0)\n ? (_openBlock(), _createBlock(_unref(OtherProgramTable), {\n key: 0,\n originData: __props.otherProgram.left.body,\n originColumns: __props.otherProgram.left.title\n }, null, 8, [\"originData\", \"originColumns\"]))\n : _createCommentVNode(\"\", true)\n ]),\n modified: _withCtx(() => [\n (__props.otherProgram.right.body.length !== 0)\n ? (_openBlock(), _createBlock(_unref(OtherProgramTable), {\n key: 0,\n originData: __props.otherProgram.right.body,\n originColumns: __props.otherProgram.right.title\n }, null, 8, [\"originData\", \"originColumns\"]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, normalizeStyle as _normalizeStyle, createElementVNode as _createElementVNode, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createElementBlock as _createElementBlock, renderList as _renderList, Fragment as _Fragment, toDisplayString as _toDisplayString, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-51b7ec31\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n class: \"internal-offer-table\",\n style: {\"position\":\"relative\"}\n}\nconst _hoisted_2 = { key: 0 }\nconst _hoisted_3 = { key: 1 }\nconst _hoisted_4 = { class: \"code-content\" }\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { style: {\"position\":\"relative\"} }, [\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"table-header-category\" }, \"Category\"),\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"table-header-line\" }),\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"table-header-vehicle\" }, \"Vehicle Group\")\n], -1))\n\nimport { ref, computed, watch } from 'vue';\nimport { CloseCircleOutlined, CheckCircleOutlined } from '@ant-design/icons-vue';\n\n\nexport default /*#__PURE__*/_defineComponent({\n props: {\n originData: {\n type: Object,\n required: true,\n default: () => ({})\n }\n},\n setup(__props) {\n\nconst props = __props\n\nconst FIXED_COLUMN_WIDTH = 140;\nconst CELL_WIDTH = 180;\n\n\n\nconst fixedColumn = [\n {\n width: FIXED_COLUMN_WIDTH,\n dataIndex: 'vehicleGroup',\n align: 'center',\n ellipsis: true,\n slots: {\n title: 'vehicleGroupTitle'\n }\n }\n];\n\n// 1. 生成columns\nconst generateColumns = (columns) => {\n return columns.map((col: any) => {\n return {\n ...col,\n align: 'center',\n width: CELL_WIDTH,\n slots: { customRender: 'flag' },\n customCell: (record) => {\n if (record[col.dataIndex]?.modified) {\n return {\n style: {\n border: '1px solid #f44336'\n }\n };\n }\n if (\n record[col.dataIndex]?.programCodeList.some((code: any) => {\n return code.modified === true;\n })\n ) {\n return {\n style: {\n border: '1px solid #f44336'\n }\n };\n }\n }\n };\n });\n};\n\nconst customIncentiveColumnsWidth = computed(() => {\n console.log('props.originData', props.originData);\n return CELL_WIDTH * props.originData['Customer Incentive'].length;\n});\n\nconst dealerIncentiveColumnsWidth = computed(() => {\n return CELL_WIDTH * props.originData['Dealer Incentive'].length;\n});\n\nconst dynamicColumns = computed(() => {\n return [\n ...generateColumns(props.originData['Customer Incentive']),\n ...generateColumns(props.originData['Dealer Incentive'])\n ];\n});\n\nconst columns = computed(() => {\n return [...fixedColumn, ...dynamicColumns.value];\n});\n\nconst getPopupContainer = (trigger: HTMLElement) => {\n return trigger.parentElement;\n};\n\nreturn (_ctx: any,_cache: any) => {\n const _component_a_tooltip = _resolveComponent(\"a-tooltip\")!\n const _component_a_table = _resolveComponent(\"a-table\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", {\n class: \"group\",\n style: _normalizeStyle({ width: `${_unref(customIncentiveColumnsWidth)}px`, left: `${FIXED_COLUMN_WIDTH}px` })\n }, \" Custom Incentive \", 4),\n _createElementVNode(\"div\", {\n class: \"group\",\n style: _normalizeStyle({\n width: `${_unref(dealerIncentiveColumnsWidth)}px`,\n left: `${FIXED_COLUMN_WIDTH + _unref(customIncentiveColumnsWidth)}px`\n })\n }, \" Dealer Incentive \", 4),\n _createVNode(_component_a_table, {\n class: \"program-combinability-table\",\n rowClassName: (record, index) => (index % 2 === 1 ? 'table-striped' : null),\n columns: _unref(columns),\n \"data-source\": __props.originData.data,\n bordered: \"\",\n pagination: false,\n rowKey: (record, index) => index,\n customHeaderRow: \n () => ({\n style: {\n height: '60px'\n }\n })\n \n }, {\n flag: _withCtx(({ text }) => [\n text\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 0 }, [\n (text.programCodeList.length === 0)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n (text.combinability)\n ? (_openBlock(), _createBlock(_unref(CheckCircleOutlined), {\n key: 0,\n style: {\"color\":\"#00adef\"}\n }))\n : (_openBlock(), _createBlock(_unref(CloseCircleOutlined), {\n key: 1,\n style: {\"color\":\"#f44336\"}\n }))\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_3, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(text.programCodeList, (code, index) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: index,\n class: \"program-code-content\",\n style: _normalizeStyle({ color: code.modified ? '#f44336' : '' })\n }, [\n _createVNode(_component_a_tooltip, {\n class: \"tooltip\",\n placement: \"topLeft\",\n title: code.content,\n \"arrow-point-at-center\": \"\",\n \"get-popup-container\": getPopupContainer\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"span\", _hoisted_4, _toDisplayString(code.content), 1),\n (code.combinability)\n ? (_openBlock(), _createBlock(_unref(CheckCircleOutlined), {\n key: 0,\n style: {\"color\":\"#00adef\"}\n }))\n : (_openBlock(), _createBlock(_unref(CloseCircleOutlined), {\n key: 1,\n style: {\"color\":\"#f44336\"}\n }))\n ]),\n _: 2\n }, 1032, [\"title\"])\n ], 4))\n }), 128))\n ]))\n ], 64))\n : _createCommentVNode(\"\", true)\n ]),\n vehicleGroupTitle: _withCtx(() => [\n _hoisted_5\n ]),\n _: 1\n }, 8, [\"rowClassName\", \"columns\", \"data-source\", \"rowKey\", \"customHeaderRow\"])\n ]))\n}\n}\n\n})","import script from \"./OfferOtherProgramTable.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./OfferOtherProgramTable.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./OfferOtherProgramTable.vue?vue&type=style&index=0&id=51b7ec31&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, [['__scopeId',\"data-v-51b7ec31\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, unref as _unref, createBlock as _createBlock, createCommentVNode as _createCommentVNode, withCtx as _withCtx } from \"vue\"\n\nimport { ref } from 'vue';\nimport Wrapper from '../components/Wrapper';\nimport Content from '../components/Content';\nimport OfferOtherProgramTable from '../components/OfferOtherProgramTable';\n\n\nexport default /*#__PURE__*/_defineComponent({\n props: {\n offerOtherProgram: {\n require: true,\n default: () => [],\n type: Array\n }\n},\n setup(__props) {\n\nconst props = __props\n\n\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(_unref(Wrapper), {\n title: \"Combinability For Program Offer – Other Program\",\n toolTipContent: \"Display according to the program offer.\"\n }, {\n content: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(__props.offerOtherProgram, (data, index) => {\n return (_openBlock(), _createBlock(_unref(Content), {\n key: index,\n isOfferOtherProgram: true\n }, {\n title: _withCtx(() => [\n _createElementVNode(\"span\", null, _toDisplayString(data.title), 1)\n ]),\n default: _withCtx(() => [\n (data.default)\n ? (_openBlock(), _createBlock(_unref(OfferOtherProgramTable), {\n key: 0,\n originData: data.default\n }, null, 8, [\"originData\"]))\n : _createCommentVNode(\"\", true)\n ]),\n modified: _withCtx(() => [\n (data.modified)\n ? (_openBlock(), _createBlock(_unref(OfferOtherProgramTable), {\n key: 0,\n originData: data.modified\n }, null, 8, [\"originData\"]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 2\n }, 1024))\n }), 128))\n ]),\n _: 1\n }))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-19117841\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"internal-offer-table\" }\n\nimport { ref, computed } from 'vue';\nimport { CloseCircleOutlined, CheckCircleOutlined } from '@ant-design/icons-vue';\n\n\nexport default /*#__PURE__*/_defineComponent({\n props: {\n originData: {\n type: Object,\n required: true,\n default: () => ({})\n }\n},\n setup(__props) {\n\nconst props = __props\n\n\n\nconst columns = computed(() => {\n const keys = Object.keys(props.originData);\n return keys.map((key: any) => {\n const dataIndex = key.replaceAll(' ', '');\n return {\n title: key,\n align: 'center',\n width: '120px',\n dataIndex,\n slots: { customRender: 'flag' },\n customCell: (record) => {\n if (record[dataIndex].modified) {\n return {\n style: {\n border: '1px solid #f44336'\n }\n };\n }\n }\n };\n });\n});\n\nconst tableData = computed(() => {\n return [\n Object.keys(props.originData).reduce((row: any, key: string) => {\n const dataIndex = key.replaceAll(' ', '');\n return { ...row, [dataIndex]: props.originData[key] };\n }, {})\n ];\n});\n\nreturn (_ctx: any,_cache: any) => {\n const _component_a_table = _resolveComponent(\"a-table\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(_component_a_table, {\n class: \"program-combinability-table\",\n columns: _unref(columns),\n \"data-source\": _unref(tableData),\n bordered: \"\",\n pagination: false,\n rowKey: (record, index) => index\n }, {\n flag: _withCtx(({ text }) => [\n _createElementVNode(\"div\", null, [\n (text.combinability)\n ? (_openBlock(), _createBlock(_unref(CheckCircleOutlined), {\n key: 0,\n style: {\"color\":\"#00adef\"}\n }))\n : (_openBlock(), _createBlock(_unref(CloseCircleOutlined), {\n key: 1,\n style: {\"color\":\"#f44336\"}\n }))\n ])\n ]),\n _: 1\n }, 8, [\"columns\", \"data-source\", \"rowKey\"])\n ]))\n}\n}\n\n})","import script from \"./SpecialUsageTable.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./SpecialUsageTable.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./SpecialUsageTable.vue?vue&type=style&index=0&id=19117841&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, [['__scopeId',\"data-v-19117841\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createVNode as _createVNode, withCtx as _withCtx, createSlots as _createSlots, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { computed } from 'vue';\nimport Wrapper from '../components/Wrapper';\nimport Content from '../components/Content';\nimport SpecialUsageTable from '../components/SpecialUsageTable';\n\n\nexport default /*#__PURE__*/_defineComponent({\n props: {\n specialUsage: {\n require: true,\n default: () => ({ default: {}, modified: {} }),\n type: Object\n }\n},\n setup(__props) {\n\nconst props = __props\n\n\n\nconst displayContent = computed(() => {\n return (\n Object.keys(props.specialUsage?.default).length !== 0 || Object.keys(props.specialUsage?.modified).length !== 0\n );\n});\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(_unref(Wrapper), { title: \"Combinability For Special Usage\" }, _createSlots({ _: 2 }, [\n (_unref(displayContent))\n ? {\n name: \"content\",\n fn: _withCtx(() => [\n _createVNode(_unref(Content), null, {\n default: _withCtx(() => [\n _createVNode(_unref(SpecialUsageTable), {\n originData: __props.specialUsage.default\n }, null, 8, [\"originData\"])\n ]),\n modified: _withCtx(() => [\n _createVNode(_unref(SpecialUsageTable), {\n originData: __props.specialUsage.modified\n }, null, 8, [\"originData\"])\n ]),\n _: 1\n })\n ])\n }\n : undefined\n ]), 1024))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, unref as _unref, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-e162bf10\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"content\" }\n\nimport { ref } from 'vue';\nimport InternalProgramOffer from './InternalProgramOffer/index';\nimport OtherProgram from './OtherProgram/index';\nimport OfferOtherProgram from './OfferOtherProgram/index';\nimport SpecialUsage from './SpecialUsage/index';\nimport { getProgramCombinabilityDisplay } from '@/API/program';\nimport { Modal } from 'ant-design-vue';\n\n\nexport default /*#__PURE__*/_defineComponent({\n setup(__props, { expose }) {\n\nconst internalProgramOffer = ref();\nconst specialUsage = ref({ default: {}, modified: {} });\nconst offerOtherProgram = ref();\nconst otherProgram = ref({ left: { title: [], body: [] }, right: { title: [], body: [] } });\n\nconst init = async () => {\n const res = await getProgramCombinabilityDisplay({ programId: sessionStorage.getItem('previewPgmId') });\n const data = res.data;\n if (data === null) {\n Modal.warning({\n title: 'Tips',\n content: res.message,\n okText: 'OK',\n zIndex: 10000\n });\n return;\n }\n internalProgramOffer.value = data.internal;\n specialUsage.value = data.specialUsage;\n offerOtherProgram.value = data.offerOtherProgram;\n otherProgram.value = data.otherProgram;\n};\n\nconst handleRefresh = () => {\n internalProgramOffer.value = { left: [], right: [] };\n specialUsage.value = { default: {}, modified: {} };\n offerOtherProgram.value = [];\n otherProgram.value = { left: { title: [], body: [] }, right: { title: [], body: [] } };\n init();\n};\n\nexpose({ init });\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"i\", {\n class: \"font_family icon-shuaxin refresh\",\n onClick: handleRefresh\n }),\n _createVNode(_unref(InternalProgramOffer), { internalProgramOffer: internalProgramOffer.value }, null, 8, [\"internalProgramOffer\"]),\n _createVNode(_unref(OtherProgram), { otherProgram: otherProgram.value }, null, 8, [\"otherProgram\"]),\n _createVNode(_unref(OfferOtherProgram), { offerOtherProgram: offerOtherProgram.value }, null, 8, [\"offerOtherProgram\"]),\n _createVNode(_unref(SpecialUsage), { specialUsage: specialUsage.value }, null, 8, [\"specialUsage\"])\n ]))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=e162bf10&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, [['__scopeId',\"data-v-e162bf10\"]])\n\nexport default __exports__","\nimport '@grapecity/spread-sheets/styles/gc.spread.sheets.excel2016colorful.css';\nimport GC from '@grapecity/spread-sheets';\nimport * as ExcelIO from '@grapecity/spread-excelio';\nimport { defineComponent, onMounted, ref, computed, nextTick } from 'vue';\nimport { wordingPreview, getReplacedWordingPdf, deleteReplacedWordingPdf } from '@/API/program';\nimport { useStore } from 'vuex';\nimport useUploadDraw from '@/hooks/Program/useUploadDraw';\nimport blobDownload from '@/utils/blobDownload';\nimport { useRouter } from 'vue-router';\nimport { getWording, getBudget2, controllingConfirmProgram } from '@/API/approve';\nimport { getProgramAttachment, AttachementListProps } from '@/API/setting';\nimport { message } from 'ant-design-vue';\nimport Decimal from '@/utils/closing/decimal';\nimport ProgramCombinability from './ProgramCombinability/index.vue';\n\ninterface FileItem {\n uid: string;\n name?: string;\n status?: string;\n response?: string;\n url?: string;\n}\n\ninterface FileInfo {\n file: FileItem;\n fileList: FileItem[];\n}\nexport default defineComponent({\n name: 'WordingPreview',\n props: {\n wordingpreviewvisible: Boolean\n },\n components: {\n ProgramCombinability\n },\n setup(props, context) {\n let activeSheet: any = null;\n let sd: any = null;\n const isexpand = ref(false);\n const bu = ref('');\n const kufriVersion = ref('');\n const programCode = ref('');\n const programName = ref('');\n const programPeriod = ref('');\n const totalBudgetVolume = ref('');\n const totalCBUVolume = ref('');\n const totalDENZAVolume = ref('');\n const totalEstVolume = ref('');\n const totalFleetVolume = ref('');\n const totalPBPVolume = ref('');\n const totalVANVolume = ref('');\n const totalVolumeList = ref([]);\n\n GC.Spread.Sheets.LicenseKey = (ExcelIO as any).LicenseKey =\n 'oasis.mercedes-benz.com.cn|oasis-dev.mercedes-benz.com.cn|oasis-qa.mercedes-benz.com.cn|oasis-training.mercedes-benz.com.cn|oasis-uat.mercedes-benz.com.cn,858593977834555#B0WSK5WcvIVWah7Z5lXOIdGW7ZmN6czQ7wmeGJTOKpWdpFFTUNlUnF6dztiSKpkNUdzU6gzK95mRHRFbr2UUlZ5avoVSPhjVrFVMDtURsF5NvgzKtZ7YNpEO7ZUOWFVTsZ7V8Qkezl6c4hnbC36V84GbjpmNENkYxIGexU5ZtJDdr4WdmZ7RndUMzRjUv2WUwYnQnlkQHZle6Q6LzAXd8QFWwMjUNN6cT34LPF7LXJTbmhjSHNTb9wWRvdXMQhDVkFGVINWb7tWYwkUc7FEb8EEczpFSvgzRrc5LxdnQOhXeaRVWwV7TThHRqtGejl6SLNndxwkZhhlauFjb8YkRTRjaihmaIhWcodGRxFjaLJ7dN3kVahUchRkNONHOQJHdoN5YYtyN5hWZ8RGStJTcMVXaVRUeyEzK9oHZQR7MI3kI0IyUiwiIDFEODZkM7cjI0ICSiwiNyATOwUTN6QTM0IicfJye#4Xfd5nIFVUSWJiOiMkIsICNx8idgAyUKBCZhVmcwNlI0IiTis7W0ICZyBlIsISN4gzM6ADI9IDOwIjMwIjI0ICdyNkIsIibj9SbvNmL09WZi5yclRWZjJXZt9CdhVXLzl6ch3GLuNmLt36YuonblJWLzVGZlNmcl5mLn9WaulWYyRXLzl6ch3GLuNmLt36YuonblJWLzVGZlNmcl5mLhFXLzl6ch3GLuNmLt36YuonblJWLzVGZlNmcl5mL6VGZtMXazF6bs86Yu46bj9ieuVmYtMXZkV6YyVWbuMXazF6biojIz5GRiwiI8+Y9sWY9QmZ0Jyp9EWL0Vqo90yY9O6Y9tiL9nSa9SuY9Gea94io9iojIh94QiwiI5UTN4MDO7cTOzkTN8UDOiojIklkIs4XZzxWYmpjIyNHZisnOiwmbBJye0ICRiwiI34zdjhHUQVTNUplRBdlTPlXOhZVazJRWuM';\n const router = useRouter();\n const activeWording = ref(0);\n const wordingSrc = ref('');\n const attachment = ref([]);\n const spinning = ref(false);\n const getColor = (level: number) => {\n let color = '';\n switch (level) {\n case 0:\n color = '#8EA9DB';\n break;\n case 1:\n case 2:\n case 3:\n case 4:\n case 5:\n color = '#D9E1F2';\n break;\n default:\n color = '#EDEDED';\n }\n return color;\n };\n\n const init = () => {\n const img = new Image();\n wordingSrc.value = '';\n if (activeWording.value === 0) {\n spinning.value = true;\n // wording图片\n getWording(sessionStorage.getItem('previewPgmId')).then((data) => {\n const url = window.URL.createObjectURL(data);\n img.onload = () => {\n window.URL.revokeObjectURL(img.src);\n };\n img.src = url;\n wordingSrc.value = url;\n spinning.value = false;\n });\n } else if (activeWording.value === 1) {\n spinning.value = true;\n // // budget图片\n\n nextTick(() => {\n getBudget2(sessionStorage.getItem('previewPgmId')).then((res: any) => {\n bu.value = res.data.bu;\n kufriVersion.value = res.data.kufriVersion;\n programCode.value = res.data.programCode;\n programName.value = res.data.programName;\n programPeriod.value = res.data.programPeriod;\n totalBudgetVolume.value = new Decimal(res.data.totalBudgetVolume).round(0);\n totalCBUVolume.value = new Decimal(res.data.totalCBUVolume).round(0);\n totalDENZAVolume.value = new Decimal(res.data.totalDENZAVolume).round(0);\n totalEstVolume.value = new Decimal(res.data.totalEstVolume).round(0);\n totalFleetVolume.value = new Decimal(res.data.totalFleetVolume).round(0);\n totalPBPVolume.value = new Decimal(res.data.totalPBPVolume).round(0);\n totalVANVolume.value = new Decimal(res.data.totalVANVolume).round(0);\n totalVolumeList.value = res.data.totalVolumeList.map((item: { key: string; value: string }) => {\n item.value = new Decimal(item.value).round(0);\n return item;\n });\n const tableDom = document.getElementById('ssHost83') as HTMLElement;\n if (tableDom) {\n tableDom.innerHTML = '';\n }\n const spread = new GC.Spread.Sheets.Workbook(tableDom);\n spread.options.tabNavigationVisible = false;\n spread.options.tabStripVisible = false;\n const sheet = spread.getActiveSheet();\n sheet.options.rowHeaderVisible = false;\n // sheet.options.gridline = {color:\"#FFFFFF\", showVerticalGridline: true, showHorizontalGridline: true};\n // sheet.getRange(-1, -1, -1, -1).backColor('#EDEDED')\n const style = new GC.Spread.Sheets.Style();\n style.backColor = '#EDEDED';\n style.borderLeft = new GC.Spread.Sheets.LineBorder('#FFFFFF', GC.Spread.Sheets.LineStyle.thin);\n style.borderTop = new GC.Spread.Sheets.LineBorder('#FFFFFF', GC.Spread.Sheets.LineStyle.thin);\n style.borderRight = new GC.Spread.Sheets.LineBorder('#FFFFFF', GC.Spread.Sheets.LineStyle.thin);\n style.borderBottom = new GC.Spread.Sheets.LineBorder('#FFFFFF', GC.Spread.Sheets.LineStyle.thin);\n sheet.setDefaultStyle(style);\n // 获取百分数列\n const percentColumnKeys = [] as string[];\n for (let i = 0; i < res.data.headerDtoList.length; i++) {\n if (res.data.headerDtoList[i].value.indexOf('%') !== -1) {\n percentColumnKeys.push(res.data.headerDtoList[i].key);\n }\n }\n sd = res.data.dataDtoList.map((item: Record) => {\n for (const key in item) {\n if (\n [\n 'make',\n 'period',\n 'offertype',\n 'sioffer',\n 'customer',\n 'typeclass',\n 'modelyear',\n 'model',\n 'brand'\n ].includes(key)\n ) {\n continue;\n }\n if (percentColumnKeys.includes(key)) {\n continue;\n }\n if (item[key] === '') {\n continue;\n }\n item[key] = new Decimal(item[key]).round(0);\n }\n return item;\n });\n const columns = [];\n const columnWidthMap = new Map([\n ['make', 70],\n ['period', 110],\n ['offertype', 80],\n ['sioffer', 80],\n ['customer', 70],\n ['typeclass', 50],\n ['brand', 50]\n ]);\n //设置表头\n for (let i = 0; i < res.data.headerDtoList.length; i++) {\n let size = 90;\n if (percentColumnKeys.includes(res.data.headerDtoList[i].key)) {\n size = 60;\n } else if (columnWidthMap.has(res.data.headerDtoList[i].key)) {\n size = columnWidthMap.get(res.data.headerDtoList[i].key) as number;\n }\n columns.push({\n size,\n name: res.data.headerDtoList[i].key,\n displayName: res.data.headerDtoList[i].value\n });\n }\n sheet.autoGenerateColumns = false;\n // 设置表头高度\n sheet.setRowHeight(0, 80, GC.Spread.Sheets.SheetArea.colHeader);\n // 设置列头折行\n sheet.getRange(0, 0, 1, res.data.headerDtoList.length, GC.Spread.Sheets.SheetArea.colHeader).wordWrap(true);\n //设置数据\n sheet.setDataSource(sd);\n //设置右对齐\n for (let i = 0; i < res.data.headerDtoList.length; i++) {\n if (\n ![\n 'make',\n 'period',\n 'offertype',\n 'sioffer',\n 'customer',\n 'typeclass',\n 'modelyear',\n 'model',\n 'brand'\n ].includes(res.data.headerDtoList[i].key)\n ) {\n sheet.getRange(-1, i, -1, 1).hAlign(GC.Spread.Sheets.HorizontalAlign.right);\n }\n // sheet.autoFitColumn(i)\n }\n //设置层级\n const spreadNS = GC.Spread.Sheets;\n for (let r = 0; r < sd.length; r++) {\n const level = sd[r].level;\n sheet.getCell(r, 0).textIndent(level);\n }\n sheet.outlineColumn.options({\n columnIndex: 0,\n showImage: false,\n showCheckBox: false,\n showIndicator: true,\n // images: ['./images/newFloder.png', './images/docFile.png', './images/archiverFolder.png'],\n expandIndicator: require('@/assets/images/increaseIndicator.png'),\n collapseIndicator: require('@/assets/images/decreaseIndicator.png'),\n maxLevel: 10\n });\n sheet.showRowOutline(false);\n for (let row = 0; row < sd.length; row++) {\n if (sd[row].typeclass) {\n if (row + 1 < sd.length && sd[row + 1].level > sd[row].level) {\n sheet.rowOutlines.setCollapsed(row, true);\n }\n }\n }\n\n sheet.bindColumns(columns);\n\n sheet.outlineColumn.refresh();\n sheet.resumePaint();\n activeSheet = sheet;\n spinning.value = false;\n });\n });\n } else if (activeWording.value === 2) {\n getProgramAttachment({ params: { programId: sessionStorage.getItem('previewPgmId') } }).then((data) => {\n attachment.value = data.attachment;\n });\n }\n };\n const handleClose = () => {\n context.emit('update:wordingpreviewvisible', false);\n };\n\n const programCombinabilityComponent = ref(null);\n const handleWording = (active: number) => {\n if (activeWording.value === active) return;\n activeWording.value = active;\n if (active !== 3) {\n init();\n } else {\n nextTick(() => {\n programCombinabilityComponent.value.init();\n });\n }\n };\n\n const handlerConfirmClick = (): void => {\n controllingConfirmProgram({ confirm: true, program: [{ id: sessionStorage.getItem('previewPgmId') }] })\n .then((data) => {\n message.success('Confirmed successfully');\n })\n .catch((e) => {\n message.warning(e);\n });\n };\n const handlerReturnClick = (): void => {\n controllingConfirmProgram({ confirm: false, program: [{ id: sessionStorage.getItem('previewPgmId') }] })\n .then((data) => {\n message.success('Returned successfully');\n })\n .catch((e) => {\n message.warning(e);\n });\n };\n const handleWordingDownload = () => {\n const params = {\n programId: sessionStorage.getItem('previewPgmId'),\n type: 'Internal',\n lang: 'en',\n image: false\n };\n blobDownload({ url: '/pgapi/program/wording/preview_pdf', params: params });\n };\n\n const handleGo = () => {\n window.open(`${window.location.origin}/#/budgutinputcontrolling?pgmId=${sessionStorage.getItem('previewPgmId')}`);\n };\n onMounted(() => {\n init();\n });\n\n const expandExcell = () => {\n if (!activeSheet) {\n return;\n }\n if (isexpand.value) {\n for (let row = 0; row < sd.length; row++) {\n activeSheet.rowOutlines.setCollapsed(row, false);\n }\n } else {\n for (let row = 0; row < sd.length; row++) {\n if (sd[row].typeclass) {\n if (row + 1 < sd.length && sd[row + 1].level > sd[row].level) {\n activeSheet.rowOutlines.setCollapsed(row, true);\n }\n }\n }\n }\n activeSheet.outlineColumn.refresh();\n activeSheet.resumePaint();\n };\n\n const spinWrapper = document.querySelector('.spingWrapper .ant-spin-container');\n\n return {\n expandExcell,\n handleClose,\n activeWording,\n handleWording,\n handleWordingDownload,\n handleGo,\n wordingSrc,\n spinning,\n attachment,\n handlerConfirmClick,\n handlerReturnClick,\n bu,\n kufriVersion,\n programCode,\n programName,\n programPeriod,\n totalBudgetVolume,\n totalCBUVolume,\n totalDENZAVolume,\n totalEstVolume,\n totalFleetVolume,\n totalPBPVolume,\n totalVANVolume,\n totalVolumeList,\n isexpand,\n programCombinabilityComponent,\n spinWrapper\n };\n }\n});\n","import { render } from \"./WordingBudget.vue?vue&type=template&id=29d9fc90&scoped=true&ts=true\"\nimport script from \"./WordingBudget.vue?vue&type=script&lang=ts\"\nexport * from \"./WordingBudget.vue?vue&type=script&lang=ts\"\n\nimport \"./WordingBudget.vue?vue&type=style&index=0&id=29d9fc90&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-29d9fc90\"]])\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!./WordingBudget.vue?vue&type=style&index=0&id=29d9fc90&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=e162bf10&lang=scss&scoped=true\"","import { ref, watch, Ref } from 'vue';\n\nfunction useTableRowHighlight(visible: Ref) {\n //当前点击的行\n const currentClickRowIndex = ref();\n\n const visibleWording = ref(visible);\n\n const handlerRowClick = (index: number | null): void => {\n currentClickRowIndex.value = index;\n }\n\n watch(visibleWording, (value => {\n !value && (currentClickRowIndex.value = null);\n }))\n\n return {\n currentClickRowIndex,\n handlerRowClick\n }\n}\n\nexport default useTableRowHighlight;\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!./Content.vue?vue&type=style&index=0&id=b2b09d90&lang=scss&scoped=true\"","module.exports = __webpack_public_path__ + \"img/withdraw-icon.19eb107c.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!./OtherProgramTable.vue?vue&type=style&index=0&id=ad258a44&lang=scss&scoped=true\"","module.exports = __webpack_public_path__ + \"img/on-zoom.cfeed829.svg\";"],"sourceRoot":""}