{"version":3,"sources":["Components/Dialogs/MessageBox.js","Components/Dialogs/ConfirmBox.js","Images/icon_refresh_h.png","Components/Captcha/Captcha.js","Images/logo_login.png","Images/fa-unlock-alt.png","Images/icon_question_h.png","HomePage/ResetPW.js","HomePage/ForgotPW.js","HomePage/LoginPanel.js","HomePage/Login.js","Images/logo.png","Images/logo2.png","HomePage/CountDown.js","HomePage/Head.js","HomePage/Foot.js","HomePage/Home.js","Page/IPC/ProjectListAll/ProjectListAllGrid.js","Route/HomeRoute.js","Page/IPC/ProjectListAll/ProjectListAllMain.js","Route/HomeRoutePanel.js","Page/IPC/ProjectChapter/ProjectChapterService.js","Page/IPC/ProjectChapter/ProjectChapterRoutePanel.js","Images/icon01.png","Images/icon02.png","Images/icon03.png","Images/icon04.png","Images/icon05.png","Images/icon06.png","Images/icon07.png","HomePage/SystemSelector.js","Page/IPC/ProjectPrint/ProjectPrintService.js","Page/IPC/ProjectPrint/ProjectBasicMap.js","Page/IPC/ProjectPrint/ProjectBasic.js","Page/IPC/ProjectPrint/ProjectCheckPoint.js","Page/IPC/ProjectPrint/ProjectCkptCom.js","Page/IPC/ProjectPrint/ProjectExecute.js","Page/IPC/ProjectPrint/ProjectDelay.js","Page/IPC/ProjectPrint/ProjectBudgetExec.js","Page/IPC/ProjectPrint/ProjectField.js","Page/IPC/ProjectPrint/ProjectOther.js","Page/IPC/ProjectPrint/ProjectClose.js","Page/IPC/ProjectPrint/ProjectAudit.js","Page/IPC/ProjectPrint/ProjectPrintMain.js","Page/IPC/ProjectAdjustContent/ProjectAdjustContentMain.js","Components/Overlay/Overlay.js","Images/loading.gif","Basic/ErrorBoundary.js","i18n/kendoMessages.js","i18n/i18n.js","i18n/en.js","i18n/EN/common.js","i18n/EN/announce.js","i18n/EN/mail.js","i18n/EN/sysop.js","i18n/EN/flow.js","i18n/EN/eForm.js","i18n/EN/sample.js","i18n/zh-TW.js","i18n/ZH-TW/common.js","i18n/ZH-TW/announce.js","i18n/ZH-TW/mail.js","i18n/ZH-TW/sysop.js","i18n/ZH-TW/flow.js","i18n/ZH-TW/eForm.js","i18n/ZH-TW/sample.js","HomePage/SSOLogin.js","HomePage/SSOCloud.js","HomePage/ResetCountDown.js","HomePage/UserGuide.js","Route/RootRoute.js","App.js","serviceWorker.js","index.js","Page/IPC/ProjectList/ProjectListService.js","Hook/useWindowResize.js","Basic/CommonService.js","Basic/ApiFetch.js","Images/menu_icon01.png","Images/menu_icon02.png","Images/menu_icon03.png","Images/menu_icon04.png","Images/menu_icon05.png","Basic/BasicData.js","Images/menu_icon06.png","Page/IPC/ProjectAdjuctHistory/AdjustHistoryService.js","Components/Dropdowns/DropDownListWithValue.js","Css/icon/blue/fa-angle-down_White.png","Css/icon/blue/fa-angle-up_hover.png","Components/BoardCard/CollapseBoardCard.js","Page/IPC/ProjectChapter/ChapterPageIndexProvider.js","Page/IPC/ProjectFillCheckPoint/ProjectFillCheckPointService.js","Css/custom/Table.module.css","Page/IPC/ProjectFillBasic/ProjectFillBasicService.js","Basic/SDOExtension.js","Page/IPC/ProjectAdjustContent/ProjectAdjustContentService.js","Basic/Toolbar.js","Basic/PageContainer.js","Components/GridCell/CommandCell.js","Css/custom/Utils.module.css","Page/IPC/ProjectAdjustListExec/ProjectAdjustListExecService.js","Page/IPC/ProjectLogList/ProjectLogListService.js","Page/IPC/ProjectLogList/ProjectLogListWindow.js","Images/gototop.png","Components/Utils/GotoTopBtn.js","Page/IPC/ProjectFillBudgetExec/ProjectFillBudgetExecService.js","Basic/CacheLoader.js","Components/Input/TextAreaWrapInput.js","Basic/Download.js","Components/Dialogs/GlobalMessageBox.js","Components/Dialogs/GlobalConfirmBox.js","Route/RootMiddleware.js","Basic/ThemeConfig.js","Components/Input/TextInput.js"],"names":["MessageBoxContext","createContext","defaultMessageSetting","visible","message","okText","onOkAction","MessageBoxProvider","props","_useState","useState","_useState2","_slicedToArray","messageSettings","setMessageSettings","React","createElement","Provider","value","showMessage","setting","_objectSpread","children","MessageBox","_useContext","useContext","Dialog","style","zIndex","margin","textAlign","whiteSpace","DialogActionsBar","className","onClick","defaultConfirmSettings","cancelText","onCancelAction","ConfirmBoxContext","ConfirmBoxProvider","confirmSettings","setConfirmSettings","showConfirmBox","arguments","length","undefined","ConfirmBox","Captcha","src","Img","alt","href","e","preventDefault","GetCaptcha","iconRefresh","ResetPW","_React$useState","_React$useState2","passMinLen","setPassMinLen","_React$useState3","_React$useState4","policyData","setPolicyData","_React$useState5","_React$useState6","originalUserPdVisible","setOriginalUserPdVisible","_React$useState7","_React$useState8","userPDVisible","setUserPDVisible","_React$useState9","_React$useState10","confirmUserPDVisible","setConfirmUserPDVisible","useEffect","loadData","_ref","_asyncToGenerator","_regeneratorRuntime","mark","_callee","wrap","_context","prev","next","SetMaskOnOff","getSCPolicy","stop","apply","_ref2","_callee2","url","response","result","_context2","getGlobalServerConfig","backEndUrl","get","api","Post","sent","json","PASS_MIN_LEN","getPolicyData","policy","data","PASS_NO_SAME_ID_NAME","push","PASS_MIX_CHAR_NUM","PASS_NO_SPEC_CHAR","PASS_AT_LEAST_SPECIAL_CHARS","PASS_NO_SAME_2","PASS_NO_CONT_3","PASS_NO_SAME_PAST_TIMES","PASS_CHANGE_IN_DAYS","concat","submit","_ref3","_callee3","_context3","JSON","stringify","success","showGlobalMessageBox","closeWindow","_x","validateField","Yup","shape","USER_ID","required","ORIGINAL_USER_PD","USER_PD","CONFIRM_USER_NEW_PD","when","is","otherwise","equals","Formik","initialValues","validationSchema","onSubmit","prop","values","errors","handleSubmit","handleChange","setValues","marginLeft","map","x","border","TextInput","onChange","name","error","marginTop","type","display","Button","width","ForgotPW","USER_NAME","USER_EMAIL","handleBlur","LoginPanel","initCaptchaEncode","CaptchaEncode","SignInStatusContext","setSignInStatus","_React$useContext","signInStatus","HeaderFooterContext","setHeaderFooterStatus","headerFooterStatus","passwordVisible","setPasswordVisible","_useState3","_useState4","captchaTxt","setCaptcha","_useState5","_useState6","tempData","setTempData","loginCnt","useRef","_useState7","_useState8","canAccApply","setCanAccApply","dimensions","WindowResizehook","_useState9","_useState10","isShowResetPW","setIsShowResetPW","_useState11","_useState12","isShowForgotPW","setIsShowForgotPW","_useState13","_useState14","isLoaded","setIsLoaded","checkAccApply","cleanCache","getCaptcha","localStorage","removeItem","window","res","Get","ok","t0","t1","IsNullOrEmpty","CacheLoader","GetCache","DeleteCache","cacheLoaderCheck","cacheLoader","isNewVersion","setParam","SetHistory","history","LoadCache","GetBasicData","GetSingleSetParam","SET_VALUE","t2","call","GetScLink","location","current","loginCheck","console","log","_ref4","_callee4","_context4","abrupt","CaptchaEncoded","resetGlobalServerConfig","_ref5","_callee5","captchaData","_context5","_x2","onClickScLink","_ref6","_callee6","dominName","apId","link","_context6","Headers","replaceAll","openPage","_x3","_x4","logoLogin","submitForm","autoComplete","onBlur","onKeyDown","key","colSpan","iconUnlock","iconQuestion","Window","title","onClose","height","draggable","resizable","modal","Login","Countdown","useHookstate","ServerConfig","attach","Downgraded","timer","Math","random","toString","substr","getItem","date","setDate","start","cacheExpire","setTimerTime","Fragment","ReactCountdown","ref","renderer","minutes","seconds","marginRight","formatNumber","onComplete","signOut","onTick","newTime","countDown","set","setItem","process","Head","_React$useContext2","dataOri","userAgentDDLList","setUserAgentDDLList","userAgent","setUserAgent","t","useTranslation","RootHistory","GetHistory","getUserAgent","BasicData","userName","userId","orgId","ORG_ID","orgName","ORG_NAME","email","userType","UsrType","logoButtonProp","HasCache","pathname","reload","includes","logo","logo2","UnitOuName","OuName","globalState","globalServerConfig","showGlobalConfirmBox","Foot","SDOUrl","setFootData","setRisUrl","getFootData","request","responseData","Request","method","headers","Fetch","text","getRisUrl","justifyContent","withRouter","ProjectListAllGrid","listType","gridData","setGridData","skip","take","paging","setPaging","projLogListVisible","setProjLogListVisible","projectNo","projectName","projLogData","setProjLogData","field","dir","sort","setSort","openLogList","param","_toConsumableArray","Grid","slice","overflow","onSortChange","event","orderBy","sortable","allowUnsort","mode","total","pageable","Pageable","onPageChange","page","GridNoRecords","GridColumn","cell","CommandCell","icon","look","openProjectChapter","dataItem","PROJECT_STATUS_C","params","funRole","openAdjustProjectChapter","PROJECT_STATUS","PROJECT_AW_STATUS","PROJECT_NO","PROJECT_NAME","Table","textAlign_center","openProjectPrint","textAlign_right","BUDGET_TOTAL","ProjectLogListWindow","projectData","SetCodeMain","lazy","PlanImport","ProjectFillBasicMain","ProjectFillCheckPoint","ProjectFillFileUpMain","ProjectFillAddSubmitMain","ProjectFillAddAuditMain","ProjectFillRefFileMain","ProjectFillCkptComMain","SetContactMain","ProjectListtExecMain","ProjectAdjustListMain","ProjectAdjustListtReviewMain","ProjectAdjustBasicReason","ProjectAdjustBasicData","ProjectAdjustBasicCheck","ProjectAdjustScheduleReason","ProjectAdjustScheduleCheckPoint","ProjectAdjustScheduleCheck","ProjectAdjustRevokeReview","ProjectAdjustBasicReview","ProjectAdjustScheduleReview","ProjectListtReviewMain","ProjectFillOtherMain","ProjectFillExecuteMain","ProjectFillDelayMain","ProjectFillExecuteSubmitMain","ProjectFillCloseMain","ProjectFillCloseAuditMain","ProjectFillAuditMain","ProjectFillFieldMain","ProjectFillBudgetExecMain","MailSet","SuperiorAnalysisMain","SuperiorAnalysisDetailMain","SuperiorProgessMain","SuperiorRegionMain","SuperiorDelayPlanMain","StatisticsList","StatisticsQuery","UnitingQueryMain","UnitingQueryGrid","PageNotFound","PageLoading","GDBSync","GDBXls","GenerateMonthlyDAB","HomeRoute","route","routes","forEach","p","Home","renderRoutes","path","breadcrumbName","exact","component","isRDEC","setIsRDEC","setOrgId","isRdec","CheckIsRDECRole","getProjectList","filterDataByType","filter","EXEC_ORGAN_C","PROJECT_AW_STATUS_C","PageContainer","items","setItems","getFunctionList","setMenu","components","PanelBarUtils","mapItemsToComponents","Reveal","transitionExitDuration","transitionEnterDuration","direction","PanelBar","expandMode","onSelect","target","functionUrl","APIUrl","getProjectStatus","getProjectChapter","operation","requestObj","file","customfunStyle","OPERATION","USER_ROLE","ApId","getRefFile","Array","CHAPTER_ID","content","getDownLoadFileList","_x5","downProjectAttachment","IDENTITY_FIELD","FILE_NAME","downProjectFillYearAssRPT","Download","_x6","getWorkStage","_x7","_props$location$state","state","Operation","setOperation","WorkStage","setWorkStage","workStageDdlData","setWorkStageDdlData","isWorkStageChange","setIsWorkStageChange","PageIndexContext","pageIndex","changePageIndex","getChapterList","workStage","chapter","index","redirectTargetPage","STAGE","setChpaterData","findIndex","SOURCE_PATH","setChapterData","chapterData","storageData","GetStorageData","chapterList","SetStorageData","SetLocationState","_data$2","currentUrl","selectedIndex","_data$find","_data$find2","targetStage","_data$","find","SetShowBtnStatus","_props$location$state2","currentWorkStage","getWorkStageDdlData","_props$location$state3","projectStatus","r1","r2","isRdecFun","showBtnByLogStatus","showBtnByProjectStatus","showSomeBtn","DropDownListWithValue","textField","dataItemKey","_event$target$props","uniquePrivateKey","selected","SystemSelector","isPtms","isPtms2","isNDPMpc","isADPApc","isPPE","isPWSSD","isAdmin","isRd2","isInn","apRole","setApRole","isIPCRoles","setIsIPCRoles","userRoles","setUserRoles","projectListData","setProjectListData","scAnnData","setScAnnData","_React$useState11","Visible","Title","Comment","AnnDate","_React$useState12","showScAnn","setShowScAnn","_React$useState13","OverParliamentProjs","OverTrackProjs","ParliamentProjs","TrackProjs","IsNewVersion","_React$useState14","trackoData","setTrackoData","_React$useState15","PwssdCnt","RdMaxYear","RdRpmCnt","RdWipCnt","_React$useState16","setScData","allRoleList","apRoles","AP_ID","ROLE_ID","getScAnnouncement","getTrackoData","getScData","defaultConditions","PROJECT_YEAR","Date","getFullYear","otherParam","_args6","loginLog","openSubSystem","_ref7","_callee7","_context7","origin","_ref8","_callee8","_context8","getImg","iconSrc","setToDoListData","item","ownRole","TotalAmount","onClickTracko","maxWidth","ProjectName","_ref9","_callee9","_context9","ProjectNo","WorkPeriod","onClickTrackoByTitle","_ref10","_callee10","_context10","icon01","icon02","fontSize","icon03","TITLE","COMMENT","EFFECTIVE_TWDATE","icon04","icon05","icon06","icon07","ReactHtmlParser","getProjectPrint","form","FormData","append","downProjectPrint","model","GoogleMapAPIKey","getDiffCompare","ProjectPrintService","getDdlData","getProjectBasicDdl","responses","responsesJson","Promise","all","GetSetParam","getCodePlanItem","getOrganList","getCodeTownByCityId","loadAllDropDowns","arr","findText","ddl","valueField","ProjectBasicMap","myPosition","mapDefaultProps","zoom","center","lat","lng","mapApiLoaded","setMapApiLoaded","mapInstance","setMapInstance","mapApi","setMapApi","prevMarkerRef","findLocationByXY","X_COORD","Y_COORD","marker","markerPosition","setMap","Marker","position","parseFloat","getPosition","Geocoder","geocode","results","status","GeocoderStatus","OK","setCenter","GoogleMapReact","bootstrapURLKeys","defaultCenter","defaultZoom","yesIWantToUseGoogleMapApiInternals","onGoogleApiLoaded","maps","apiHasLoaded","options","streetViewControl","scrollwheel","mapTypeId","zoomControl","zoomControlOptions","ControlPosition","TOP_RIGHT","mapTypeControl","mapTypeControlOptions","MapTypeControlStyle","DROPDOWN_MENU","ProjectBasic","projectBasic","_props$projectBasic$P","MASTER_ORGAN_C","MASTER_UNDERTAKER_C","EXEC_UNDERTAKER_C","BUDGET_HOLD_ORGAN_C","BUDGET_HOLD_UNDERTAKER_C","setMyPosition","BUDGET_CLASS","PLAN_ITEM_C","PLAN_ITEM_L","BUILD_KIND_TYPE","COM_PLANKIND","COM_REVIEWITEM","ORGAN","TOWN_C","MasterUser","ExecUser","BudgetUser","DdlData","setDdlData","getAllDdl","MasterUserList","ExecUserList","BudgetUserList","getUserListByOuId","OrganPerson","organValue","userList","userValue","projLogCell","logStatuses","ProjLogs","LOG_STATUS_C","i","FormatDate","LOG_DATE","LOG_STATUS","MEMO","wordBreak","TUBE_STATUS_DESC","ProjectBudgetSourceG","BUDGET_CENTRAL","BUDGET_LOCAL","calculateTotalAmount","PLAN_YEAR","onLoad","FILE","selBuildKind","ProjectBuildKind","y","SET_TYPE","BUILD_KIND","join","REVIEWITEM","reviewItem","split","mapReview","SPEC_NOTE","ProjectAsstOrg","ASSISTANT_ORGAN_C","ASSISTANT_UNDERTAKER_C_NAME","PROJECT_LOCATION","_projectBasic$Project","open","pointClickEvent","TextAreaWrapInput","ALL_JOB","PROJECT_BENEFIT","CREATEDTIME","SCORE_A","ProjectCheckPoint","projectCheckpoint","CP_KIND","checkpoint","loadCheckPoint","t3","formatDate","RUNWAY_C","CONTROL_DATE1","CusCheckpointModels","CHECKITEM_NAME","PROGRESS","ESTIMATED_ENDDATE","endDate","SetEstimatedEndDate","adjustHistory","AdjustScheHistoryModels","MEMO_CHK_POINT","ProjectCkptCom","projectCkptCom","REAL_CONTACT","REAL_TEL","REAL_EMAIL","PCC_PROJECT_NO","PCC_PROJECT_NAME","FACTORY_CONTACT","FACTORY_TEL","IS_USER_FTY_DATA","CustomChkItemModels","ACTUAL_ENDDATE","CONTRACT_FINISH_DATE","FileModels","CRT_DATE","PROCUREMENT_AMT","TENDER_AWARDING_AMT","ProjectExecute","checkEngineeringProgress","engineeringProgress","isShow","setIsShow","isDone","setIsDone","IsEngStartWork","textAreaWrapCell","rowSpan","YEAR","MONTH","IPC_RES_PRG","IPC_ACT_PRG","TEN_RES_PRG","TEN_ACT_PRG","EXECUTE_CONDITION","ASSISTANT_ITEM","SEND_DATE","DISREGARD","OVERDUE_DAY","ProjectDelay","projectDelay","DATA_YEAR","DATA_MONTH","DELAY_KIND","DELAY_CLASS_C","DELAY_SUBCLASS_C","DELAY_RESPON","DELAY_CAUSAL","SOLUTION","COORDINATION","DEADLINES","ProjectBudgetExec","projectBudgetExec","IPCBGTEXECFAILED","IPCBGTEXECFAILEDDUTY","ddlData","loadDdlData","dropDowns","ProjectFillBudgetExecService","getAllDdlData","failedCell","mappingData","formatNumberCell","format","EXEC_YEAR","EXEC_MONTH","GT_EXPANDED_BUDGET","GT_ACT_BUDGET","GT_AP","GT_BALANCE","GT_TOTAL","GT_EXEC_RATE","YEAR_BUDGET_EXPANDED","YEAR_BUDGET_ALLOCATED","YEAR_EXEC_BUDGET","YEAR_EXEC_RATE","FailedMappingData","FailedDutyMappingData","EXEC_RATE_FAILED_NOTE","wordWrap","ProjectField","projectField","formatDateCell","showFileCell","FFSCORE","FFDATE","COMPLETEREPLYDATE","FFCOMMENT","RdecFile","FFREPORT","HandFile","FFREPORT_DATE","ProjectOther","projectOther","checkList","count","bidDetail","DETAIL_DATE","DETAIL_REASON","ProjectBid","detailType0Data","ProjectBidDetail","BID_KIND","DETAIL_TYPE","detailType1Data","AWARD_BID_DATE","BID_TENDER","BID_NAME","ProjectActivity","ACTIVITY_KIND_NAME","ACTIVITY_KIND","editType","IS_ACTIVITY","ACTIVITY_NAME","ACTIVITY_DATE","SetParam","ProjectReview","REVIEW_KIND","IS_REVIEW","OTH_RVWNAME","REVIEW_DATE","ProjectTender","TENDER_KIND_NAME","TENDER_NAME","REG_NO","TENDER_ADDR","CONTACT_NAME","CONTACT_PHONE","CONTACT_EMAIL","ProjectClose","projectClose","DATA_DATE_SHOW","TOTAL_BUDGET","TOTAL_ACTUAL_COMP","ACTUAL_PAY","UNPAY","BALANCE","MDF_DATE","ProjAttachments","ProjectAudit","projectAudit","isShowProjectField","numberList","COM_CONFERENCEGENRE","PROMERGESTATUS","COM_IPCMEMO","type1","ProjectCloseDetails","CLOSE_DETAILS_TYPE","type2","type3","DelayApply","type4","type5","ProjectMergeLog","MERGE_STATUS","totalScore","loadAllDdl","showRevokeData","RevokeData","APPRV_DATE","OTHER_REASON","ADJUST_REASON","ProjectEngineeringAuditOpinion","AUDIT_OPINION","memoData","ComIPCMemoMappingData","SpecNoteMappingData","ProjectConference","CONFERENCE_GENRE","CONFERENCE_TIME","CONFERENCE_NUM","ProjectDelayfill","FILL_TIME","FILL_REASON","PROMERGE_DATE","File","ProjectFactFinding","FINISH_DATE","REF_DATE","REF_MEMO","SCHE_TYPE","NOTES_FOR_BUDGET","NOTES_FOR_SCHEDULE","ProjectPrint","isDiffCompare","checkedLog","ProjectBasicFill","ProjectCheckpoint","CheckProjectEngineeringProgress","ProjectEngineeringProgress","ProjectBudgetExecute","ShowList","previewData","setPreviewData","query","setQuery","diffCompareResult","setDiffCompareResult","getPrintDdlData","queryDdlData","isSSOLogin","getDiffCompareParam","downRpt","extension","Extension","Type","IsRdecFun","IsDiffCompare","LOG_ID","CollapseBoardCard","button","print","isFirstArea","SubProjectOther","ProjectAdjustContentMain","awKind","projAdjId","logId","downProjectAdjustContent","Overlay","id","ErrorBoundary","_React$Component","_inherits","_super","_createSuper","_this","_classCallCheck","hasError","_createClass","errorInfo","this","Component","resources","translation","i18n","use","initReactI18next","init","fallbackLng","interpolation","escapeValue","SSOLogin","ssoLoginCheck","_search$Type","errMsg","search","require","parse","Token","setPrintInfo","SSOCloud","sessionId","cn","close","queryType","ResetCountDown","document","getElementById","classList","add","fontWeight","color","UserGuide","userGuides","setUserGuides","getUserGuides","downloadFile","groupName","fileName","padding","GroupName","Files","GotoTopBtn","targetClass","RootRoute","loading","setLoading","i18nLanguage","seti18nLanguage","lang","setLang","setVisible","load","likelySubtags","currencyData","weekData","zhLocalCurrency","zhNumbers","zhCaGregorian","zhDateFields","zhTimeZoneNames","loadMessages","messages","loadCache","changeLanguage","getThemeCookie","setTheme","LocalizationProvider","language","IntlProvider","locale","SignInStatusProvider","ChapterPageIndexProvider","setValue","GlobalMessageBox","stateConfig","globalMessageBoxSettings","GlobalConfirmBox","globalConfirmBoxSettings","BrowserRouter","basename","Switch","Route","ProjectAdjustContent","ProjectChapterRoutePanel","HomeRoutePanel","Suspense","fallback","render","App","HeaderFooterStatusProvider","isLocalhost","Boolean","hostname","match","registerValidSW","swUrl","config","navigator","serviceWorker","register","then","registration","onupdatefound","installingWorker","installing","onstatechange","controller","onUpdate","onSuccess","catch","MSInputMethodContext","documentMode","ReactDOM","StrictMode","URL","addEventListener","fetch","contentType","indexOf","ready","unregister","checkValidServiceWorker","getAllDropDowns","checkIsHANDRole","CheckIsHANDRole","getOrgByUsr","getPlanYearList","SetDelFlgName","addDefautItem","datas","newDataList","dropDownData","newDropDownData","unshift","cpKind","formData","rtnResult","CHECKPOINT_CLASS","DEL_FLG","CHECKPOINT_CLASS_ID","requestModel","updateProjectPisSelect","pisSelectVal","saveProjectCanceled","projectNos","role","CHPageInfo","cycleData","getChapterPage","getCurrentCycleData","PROJECT_MONTH","execOrgan","openChapterPage","innerHeight","innerWidth","setDimensions","handleResize","_","removeEventListener","DdlAPIUrl","defaultValue","isReturnPromise","delFlg","_args","GetParamByItems","_args2","setType","_args4","getMonthList","year","rtn","_args5","ouId","undertakerType","isEnable","_args8","cityId","_args9","identityField","_x8","downProjectAttachmentZip","_ref11","_callee11","identityFields","_context11","_x9","_x10","_ref12","_callee12","_context12","_ref13","_callee13","_context13","_x11","_x12","_ref14","_callee14","roles","_context14","_ref15","_callee15","_context15","GetUsedCode","_ref16","_callee16","_context16","_x13","GetIsUserFtyData","_ref17","_callee17","_context17","_x14","targetWindow","sessionStorage","sessionData","_ref18","_callee18","_args18","_context18","_x15","_x16","_x17","_x18","_x19","_ref19","_callee19","source","newWindow","_args19","_context19","_x20","openDiffCompare","_ref20","_callee20","_context20","_x21","makeRequest","body","credentials","Bridge_backEndUrl","mask","apiFetch","Put","Read","Insert","Update","Delete","_apiFetch","customContentType","fetching","handleErrors","setGlobalCountDown","warn","_fetching","CheckCacheSetting","has","token","SetCache","_GetHistory","_GetHistory2","Error","_CheckCacheSetting","cacheSettingLoaded","LoadCacheExpire","_LoadCache","basicData","loadBasicData","EMAIL","ROLES","USR_TYPE","allRoles","AllROLES","buttonCount","info","pageSizes","previousNext","defaultFormat","defaultSignInStatusSettings","defaultHeaderFooterStatusSettings","getCookieSetOptions","expires","secure","menuIcons","menuIcon01","menuIcon02","menuIcon03","menuIcon04","menuIcon05","withOrWithoutData","label","historyList","scheType","SEQ","alignItems","ORI_ESTIMATED_ENDDATE","ADJ_LAST_DATE","REASON","isPresent","itemFromValue","_props$data","selectedData","events","triggerEvent","onFocus","onFilterChange","eventType","getValue","DropDownList","Object","assign","popupSettings","initValue","titleStyle","visibleStyle","setVisibleStyle","angleUpIcon","angleDownIcon","defaultPageIndex","setPageIndex","loadCusItem","CheckPointClassId","isShowDel","loadFormData","_args3","saveData","requestData","checkDataValid","max","sortedData","startWorkProgress","CTRL_POINT","IS_NEW","CHECKITEM_SEQ","changeCheckItemDateModel","dataList","checkItemColName","projStartDate","oneDay","d","estimateEndDate","diffDays","diffMonth","previousDate","currDate","round","abs","IS_DELAY","module","exports","getBudgetSourceAllDropDowns","PLAN_ITEM_NAME","PLAN_ITEM_ID","levelMark","getBuildKindList","dataConvert","getProjectBasicFill","BUDGET_HOLD_IS_ENABLE","disabled","saveProjectBasicAdd","isAdj","mixed","validateBasicField","nullable","TOWN_M","validataSourceGField","test","parent","MASTER","EXEC","ASSISTANT","BUDGET_HOLD","object","AddNoColumn","pageSize","isArray","hasOwnProperty","No","defineProperty","writable","enumerable","HtmlDecode","temp","innerHTML","output","innerText","textContent","flag","overlay","moment","IsFunction","functionToCheck","handleEditedGridData","editedGridData","newItemFieldName","itemFieldName","hasChange","some","ei","newItems","record","splice","twDateRegex","RegExp","functionList","o","_o$children","imageUrl","functionId","function_url","ispopup","w","h","popupSize","dualScreenLeft","screenLeft","screenX","dualScreenTop","screenTop","screenY","documentElement","clientWidth","screen","clientHeight","systemZoom","availWidth","left","top","onunload","setTimeout","focus","closeAndbackToParentWindow","opener","openAdjustContent","Toolbar","toolbar","setToolbar","Tooltip","openDelay","anchorElement","projAwStatusDefaultList","initQueryData","refreshCnt","IsReview","getPageData","getRunWayC","getProjectNameDropDown","projName","isAdjustList","AddAdujustExec","AW_KIND","SaveExecCancel","PROJ_ADJ_ID","_item$isShowBtn","isShowBtn","getReviewResult","reviewResult","reviewResultName","getProjectLogList","_props$projectData","setCheckedLog","GridDataForExport","Columns","SetChecked","element","exportPlan","ExportGrid","initialWidth","initialHeight","a","b","diffCompare","exportData","columns","Checkbox","checked","scrollTop","getElementsByClassName","scrollTo","behavior","IsVisible","setIsVisible","toggleVisibility","currentY","Util","gototop","cursor","gotoTopPicPath","getProjectFillBudgetExec","saveProjectFillBudgetExec","initData","ProjectFillCycle","bgtExecInitData","EXEC_NOTE","failedSelectedData","dutySelectedData","Cookies","getAll","loginToken","loginCache","now","parseInt","memo","outputName","obj","Field","exportTitle","exportField","Header","Data","Format","OutputName","requestBody","_response$headers$get3","_response$headers$get4","blob","decodeURIComponent","saveAs","_globalMessageBoxSettings","minWidth","ConfirmSettings","_globalConfirmSettings","Me","REACT_APP_Bridge_API_URL","defaultPageSize","_globalState","createState","callback","OkActionCallback","OkCancelCallback","c","themeName","setProperty","SetThemeCookie","cookieExpireDate","getDate","Input"],"mappings":"mRAGaA,EAAoBC,0BAE3BC,EAAwB,CAC1BC,SAAS,EACTC,QAAS,GACTC,OAAQ,eACRC,WAAY,cAGHC,EAAqB,SAAAC,GAC9B,IAAAC,EAA8CC,mBAASV,GAAkBW,EAAAC,YAAAH,EAAA,GAAlEI,EAAeF,EAAA,GAAEG,EAAkBH,EAAA,GAW1C,OACII,IAAAC,cAAChB,EAAkBiB,SAAQ,CAACC,MAAO,CAACL,gBAAgBA,EAAiBC,mBAAmBA,EAAoBK,YAV5F,SAACf,EAASgB,GAC1BN,EAAkBO,wBAAC,GACZnB,GAAqB,IACxBC,SAAS,EACTC,QAASA,GACNgB,OAMFZ,EAAMc,WAKNC,EAAa,SAAAf,GACtB,IAAAgB,EAAgDC,qBAAWzB,GAAnDa,EAAeW,EAAfX,gBAAiBC,EAAkBU,EAAlBV,mBAEzB,OACIC,IAAAC,cAAA,WACKH,EAAgBV,SACbY,IAAAC,cAACU,IAAM,CAACC,MAAO,CAAEC,OAAQ,MACrBb,IAAAC,cAAA,KAAGW,MAAO,CAAEE,OAAQ,OAAQC,UAAW,SAAUC,WAAY,aAAclB,EAAgBT,SAC3FW,IAAAC,cAACgB,IAAgB,KACbjB,IAAAC,cAAA,UAAQiB,UAAU,WAAWC,QAAS,WAClCrB,EAAgBP,aAChBQ,EAAmBZ,KACnBW,EAAgBR,YCxCtC8B,EAAyB,CAC3BhC,SAAS,EACTC,QAAS,G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mBACA,qBACA,gBACA,eACA,YACA,eACA,gBACA,kBACA,aACA,UACA,iBACA,mBACA,iBACA,gBACA,aACA,YACA,aACA,aACA,cACA,kBACA,oBACA,sBACA,mBACA,uBACA,uBACA,sBACA,2BACA,eACA,eACA,kBACA,mBACA,mBACA,qBACA,UACA,gBACA,cACA,eACA,mBACA,sBACA,sBACA,aACA,gBACA,aACA,cACA,aACA,gBACA,YACA,eACA,eDuELjnC,SAAQ,SAAAvJ,GAChB+wB,SAAS0Y,gBAAgB97C,MAAM8iD,YAAY,cAADn9C,OAAe0M,GAAC,SAAA1M,OAAak9C,EAAS,KAAAl9C,OAAI0M,EAAC,SAEzF0wC,EAAeF,IAGNld,EAAiB,WAE1B,OADc,IAAI+a,KAAUC,SAChBzH,eAAe,UAChB,IAAIwH,KAAUj8C,IAAI,SAEtB,MAGLs+C,EAAiB,SAACF,GAEpB,IAAIG,EAAmB,IAAI78B,KAC3B68B,EAAiBtyC,QAAQsyC,EAAiBC,UAAY,KACtD,IAAIvC,KAAU/uC,IAAI,QAASkxC,EAAW3P,YAAoBrhC,IAAmCmxC,M,gCEpJjG,qCAIMh7C,EAAY,SAACnJ,GACf,OACIO,IAAAC,cAAAD,IAAA0R,SAAA,KACI1R,IAAAC,cAAC6jD,IACOrkD,GAGPO,IAAAC,cAAC0yC,IAAK,KAAElzC,EAAMsJ,SAKZ/I,QAAM4hD,KAAKh5C,K","file":"static/js/main.872f21fc.chunk.js","sourcesContent":["import React, { useState, useContext, createContext } from 'react';\r\nimport { Dialog, DialogActionsBar } from '@progress/kendo-react-dialogs';\r\n\r\nexport const MessageBoxContext = createContext();\r\n\r\nconst defaultMessageSetting = {\r\n visible: false, //是否顯示\r\n message: '', //顯示訊息\r\n okText: '確定', //確認按鈕顯示字樣\r\n onOkAction: () => {} //確認事件\r\n}\r\n\r\nexport const MessageBoxProvider = props => {\r\n const [messageSettings, setMessageSettings] = useState(MessageBoxContext);\r\n\r\n const showMessage = (message, setting) => {\r\n setMessageSettings({\r\n ...defaultMessageSetting,\r\n visible: true,\r\n message: message,\r\n ...setting\r\n })\r\n }\r\n\r\n return(\r\n \r\n {props.children}\r\n \r\n )\r\n}\r\n\r\nexport const MessageBox = props => {\r\n const { messageSettings, setMessageSettings } = useContext(MessageBoxContext);\r\n\r\n return(\r\n
\r\n {messageSettings.visible &&\r\n \r\n

{messageSettings.message}

\r\n \r\n \r\n \r\n
\r\n }\r\n
\r\n )\r\n}","import React, { useState, useContext, createContext } from 'react';\r\nimport { Dialog, DialogActionsBar } from '@progress/kendo-react-dialogs';\r\n\r\nconst defaultConfirmSettings = {\r\n visible: false, //是否顯示\r\n message: '', //顯示訊息\r\n okText: '確定', //確認按鈕字樣\r\n onOkAction: () => { }, //確認事件\r\n cancelText: '取消', //取消按鈕字樣\r\n onCancelAction: () => { }, //取消事件\r\n}\r\n\r\nexport const ConfirmBoxContext = createContext();\r\n\r\nexport const ConfirmBoxProvider = props => {\r\n const [confirmSettings, setConfirmSettings] = useState(defaultConfirmSettings);\r\n\r\n const showConfirmBox = (message, onOkAction = () => { }, confirmSettings = {}) => {\r\n setConfirmSettings({\r\n ...defaultConfirmSettings,\r\n visible: true,\r\n message: message,\r\n onOkAction: onOkAction,\r\n ...confirmSettings\r\n })\r\n }\r\n\r\n return (\r\n \r\n {props.children}\r\n \r\n )\r\n}\r\n\r\nexport const ConfirmBox = props => {\r\n const { confirmSettings, setConfirmSettings } = useContext(ConfirmBoxContext);\r\n\r\n return (\r\n
\r\n {confirmSettings.visible &&\r\n \r\n

{confirmSettings.message}

\r\n \r\n \r\n \r\n \r\n
\r\n }\r\n
\r\n )\r\n}","export default __webpack_public_path__ + \"static/media/icon_refresh_h.f7c471b7.png\";","import React, { useState, useEffect } from 'react';\r\nimport iconRefresh from '../../Images/icon_refresh_h.png';\r\nexport const Captcha = (props) => {\r\n\r\n return (\r\n
\r\n \"Red\r\n {\r\n e.preventDefault();\r\n props.GetCaptcha(e)\r\n }}>\r\n \r\n 刷新\r\n \r\n
\r\n );\r\n}\r\nexport default React.memo(Captcha)","export default __webpack_public_path__ + \"static/media/logo_login.846a0566.png\";","export default __webpack_public_path__ + \"static/media/fa-unlock-alt.9e02f979.png\";","export default __webpack_public_path__ + \"static/media/icon_question_h.e975ebea.png\";","import React from 'react';\r\nimport * as Yup from 'yup';\r\nimport { Formik } from 'formik';\r\nimport { api } from '../Basic/ApiFetch';\r\nimport { showGlobalMessageBox, getGlobalServerConfig } from '../Route/RootMiddleware';\r\nimport TextInput from '../Components/Input/TextInput';\r\nimport { Button } from '@progress/kendo-react-buttons';\r\nimport { SetMaskOnOff } from '../Basic/SDOExtension';\r\n\r\nconst ResetPW = (props) => {\r\n\r\n const [passMinLen, setPassMinLen] = React.useState(0);\r\n const [policyData, setPolicyData] = React.useState([]);\r\n const [originalUserPdVisible, setOriginalUserPdVisible] = React.useState(true);\r\n const [userPDVisible, setUserPDVisible] = React.useState(true);\r\n const [confirmUserPDVisible, setConfirmUserPDVisible] = React.useState(true);\r\n\r\n React.useEffect(() => {\r\n loadData();\r\n }, [])\r\n\r\n const loadData = async () => {\r\n SetMaskOnOff(true);\r\n await getSCPolicy();\r\n SetMaskOnOff(false);\r\n }\r\n\r\n // 取得SC密碼規則\r\n const getSCPolicy = async () => {\r\n let url = getGlobalServerConfig().backEndUrl.get() + 'Login/GetSCPolicy';\r\n let response = await api.Post(url);\r\n let result = await response.json();\r\n\r\n setPassMinLen(result.PASS_MIN_LEN);\r\n getPolicyData(result);\r\n }\r\n\r\n // 取得規則\r\n const getPolicyData = (policy) => {\r\n let data = [];\r\n if (policy.PASS_NO_SAME_ID_NAME === \"Y\") {\r\n data.push(\"不可與帳號或使用者名稱相同\");\r\n }\r\n if (policy.PASS_MIX_CHAR_NUM === \"Y\") {\r\n data.push(\"4項至少需符合3項(大寫英文字母、小寫英文字母、數字、特殊符號)\");\r\n }\r\n if (policy.PASS_NO_SPEC_CHAR === \"Y\") {\r\n data.push(\"不可含空白或特殊字元,只能用文字 A-Z 或數字 1-9 組成\");\r\n }\r\n if (policy.PASS_AT_LEAST_SPECIAL_CHARS !== \"0\") {\r\n data.push(\"至少含\" + policy.PASS_AT_LEAST_SPECIAL_CHARS + \"個特殊字元\");\r\n }\r\n if (policy.PASS_NO_SAME_2 === \"Y\") {\r\n data.push(\"相鄰二字元不可相同\");\r\n }\r\n if (policy.PASS_NO_CONT_3 === \"Y\") {\r\n data.push(\"相鄰三字元不可為連續升冪或降冪\");\r\n }\r\n if (policy.PASS_NO_SAME_PAST_TIMES !== 0) {\r\n data.push(\"不可與最近\" + policy.PASS_NO_SAME_PAST_TIMES + \"次內重複\");\r\n }\r\n if (policy.PASS_CHANGE_IN_DAYS !== 0) {\r\n data.push(\"每\" + policy.PASS_CHANGE_IN_DAYS + \"天需變更密碼\");\r\n }\r\n\r\n setPolicyData([...data]);\r\n }\r\n\r\n // 確認\r\n const submit = async (data) => {\r\n let url = getGlobalServerConfig().backEndUrl.get() + 'Login/ResetPW';\r\n let response = await api.Post(url, JSON.stringify(data));\r\n let result = await response.json();\r\n if (result.success) {\r\n showGlobalMessageBox(result.message, () => {\r\n props.closeWindow();\r\n });\r\n }\r\n else {\r\n showGlobalMessageBox(result.message);\r\n }\r\n }\r\n\r\n //欄位驗證\r\n const validateField = Yup.object().shape({\r\n USER_ID: Yup.string()\r\n .required('請輸入帳號'),\r\n ORIGINAL_USER_PD: Yup.string()\r\n .required('請輸入原密碼'),\r\n USER_PD: Yup.string()\r\n .required('請輸入新密碼'),\r\n CONFIRM_USER_NEW_PD: Yup.string()\r\n .when(\"USER_PD\", {\r\n is: undefined,\r\n otherwise: Yup.string()\r\n .required('請輸入確認新密碼')\r\n .equals([Yup.ref('USER_PD')], \"'確認新密碼' 和 '新密碼' 不相符。\")\r\n })\r\n });\r\n\r\n return (\r\n submit(data)}\r\n >\r\n {prop => {\r\n const {\r\n values,\r\n errors,\r\n handleSubmit,\r\n handleChange,\r\n setValues\r\n } = prop;\r\n return (\r\n
\r\n
\r\n 本系統同仁使用帳號,通行碼登入系統時,應盡到善良使用者的責任,以帳號來源區分如下:\r\n
\r\n 一、由公務雲登入(依循公務雲帳號管理原則)\r\n
\r\n 二、由研考資訊系統登入\r\n
\r\n (一)遵守密碼長度原則{passMinLen}碼以上\r\n
\r\n (二)以下依據條件:\r\n
\r\n {\r\n policyData.map(x => {\r\n return {x}
\r\n })\r\n }\r\n
\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n
帳號\r\n \r\n
原密碼\r\n setOriginalUserPdVisible(!originalUserPdVisible)}\r\n style={{ marginTop: \"5px\" }}\r\n >\r\n \r\n
新密碼\r\n setUserPDVisible(!userPDVisible)}\r\n style={{ marginTop: \"5px\" }}\r\n >\r\n \r\n
確認新密碼\r\n setConfirmUserPDVisible(!confirmUserPDVisible)}\r\n style={{ marginTop: \"5px\" }}\r\n >\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n );\r\n }}\r\n \r\n )\r\n}\r\n\r\nexport default ResetPW;","import React from 'react';\r\nimport * as Yup from 'yup';\r\nimport { Formik } from 'formik';\r\nimport { api } from '../Basic/ApiFetch';\r\nimport { showGlobalMessageBox, getGlobalServerConfig } from '../Route/RootMiddleware';\r\nimport TextInput from '../Components/Input/TextInput';\r\nimport { Button } from '@progress/kendo-react-buttons';\r\n\r\nconst ForgotPW = (props) => {\r\n // 確認\r\n const submit = async (data) => {\r\n let url = getGlobalServerConfig().backEndUrl.get() + 'Login/ForgotPW';\r\n let response = await api.Post(url, JSON.stringify(data));\r\n let result = await response.json();\r\n if (result.success) {\r\n showGlobalMessageBox(result.message, () => {\r\n props.closeWindow();\r\n });\r\n }\r\n else {\r\n showGlobalMessageBox(result.message);\r\n }\r\n }\r\n\r\n //欄位驗證\r\n const validateField = Yup.object().shape({\r\n USER_ID: Yup.string()\r\n .required('請輸入帳號'),\r\n USER_NAME: Yup.string()\r\n .required('請輸入姓名'),\r\n USER_EMAIL: Yup.string()\r\n .required('請輸入電子郵件位址')\r\n });\r\n\r\n return (\r\n submit(data)}\r\n >\r\n {prop => {\r\n const {\r\n values,\r\n errors,\r\n handleBlur,\r\n handleSubmit,\r\n handleChange,\r\n setValues\r\n } = prop;\r\n return (\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n
帳號\r\n \r\n
姓名\r\n \r\n
電子郵件位址\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n );\r\n }}\r\n \r\n )\r\n}\r\n\r\nexport default ForgotPW;","import React, { useEffect, useContext, useState, useRef } from 'react';\r\nimport * as Yup from 'yup';\r\nimport '../Css/Login.css';\r\nimport { Formik } from 'formik';\r\nimport { GetBasicData, HeaderFooterContext, SetHistory, SignInStatusContext } from '../Basic/BasicData';\r\nimport { api } from '../Basic/ApiFetch';\r\nimport CacheLoader from '../Basic/CacheLoader';\r\nimport { IsNullOrEmpty, openPage } from '../Basic/SDOExtension';\r\nimport TextInput from '../Components/Input/TextInput';\r\nimport { Captcha } from '../Components/Captcha/Captcha';\r\nimport { showGlobalMessageBox, getGlobalServerConfig, resetGlobalServerConfig } from '../Route/RootMiddleware';\r\nimport { WindowResizehook } from '../Hook/useWindowResize';\r\nimport { Button } from '@progress/kendo-react-buttons';\r\nimport { Window } from '@progress/kendo-react-dialogs';\r\n\r\nimport logoLogin from '../Images/logo_login.png';\r\nimport iconUnlock from '../Images/fa-unlock-alt.png';\r\nimport iconQuestion from '../Images/icon_question_h.png';\r\n\r\nimport ResetPW from './ResetPW';\r\nimport ForgotPW from './ForgotPW';\r\nimport { GetScLink, GetSingleSetParam } from '../Basic/CommonService';\r\n\r\nconst LoginPanel = (props) => {\r\n const initCaptchaEncode = { CaptchaEncode: '', }\r\n const { setSignInStatus, signInStatus } = useContext(SignInStatusContext);\r\n const { headerFooterStatus, setHeaderFooterStatus } = React.useContext(HeaderFooterContext);\r\n const [passwordVisible, setPasswordVisible] = useState(true);\r\n const [captchaTxt, setCaptcha] = useState(initCaptchaEncode);\r\n const [tempData, setTempData] = useState({});\r\n const loginCnt = useRef(0);\r\n const [canAccApply, setCanAccApply] = useState(true)\r\n\r\n const dimensions = WindowResizehook();\r\n\r\n // 密碼變更\r\n const [isShowResetPW, setIsShowResetPW] = useState(false);\r\n // 忘記密碼\r\n const [isShowForgotPW, setIsShowForgotPW] = useState(false);\r\n\r\n const [isLoaded, setIsLoaded] = useState(false);\r\n\r\n useEffect(() => {\r\n if (!isLoaded) {\r\n checkAccApply();\r\n cleanCache()\r\n\r\n getCaptcha()\r\n\r\n // 恢復預設值\r\n setHeaderFooterStatus(false);\r\n\r\n localStorage.removeItem('IsOpenRCD');\r\n\r\n // 避免home頁登出後,window.name還停留在原本的\r\n window.name = \"\";\r\n }\r\n setIsLoaded(true);\r\n }, [])\r\n\r\n const checkAccApply = async () => {\r\n let url = getGlobalServerConfig().backEndUrl.get() + 'Login/CheckAccApply';\r\n let res = await api.Get(url, null, false, false);\r\n if (res.ok) {\r\n setCanAccApply(await res.json())\r\n }\r\n }\r\n\r\n /**\r\n * 清除快取\r\n */\r\n const cleanCache = async () => {\r\n if (!IsNullOrEmpty(await CacheLoader().GetCache())) {\r\n // 清除快取\r\n await CacheLoader().DeleteCache();\r\n }\r\n // 紀錄目前登入狀態\r\n setSignInStatus();\r\n }\r\n\r\n /**\r\n * 檢查快取,若存在直接進行導頁\r\n */\r\n const cacheLoaderCheck = async () => {\r\n SetHistory(props.history);\r\n let cacheLoader = CacheLoader();\r\n let loadResult = await cacheLoader.LoadCache();\r\n if (loadResult) {\r\n // 判斷此登入者是否是議員 如果是導頁議會案件;如果不是澤進入口頁\r\n let userType = await GetBasicData(\"userType\");\r\n if (userType === \"4\") {\r\n const isNewVersion = (await GetSingleSetParam(\"SystemConfig\", \"TrackoIsNewVersion\")).SET_VALUE;\r\n let url = \"\";\r\n if (isNewVersion === \"Y\") {\r\n let setParam = await GetSingleSetParam(\"SystemConfig\", \"TrackoParliamentUrl\");\r\n url = `${setParam.SET_VALUE}/PTMSSSO/TYCGLoginSSO?`;\r\n url += `uid=${await GetBasicData(\"userId\")}`;\r\n }\r\n else {\r\n url = await GetScLink(\"OLDRIS\", \"PA\");\r\n url += '&AI=PA';\r\n }\r\n window.location.href = url;\r\n }\r\n else {\r\n setSignInStatus();\r\n props.history.push('/SystemSelector');\r\n }\r\n }\r\n else if (loginCnt.current === 0) {\r\n loginCheck(tempData);\r\n loginCnt.current = loginCnt.current + 1;\r\n }\r\n else {\r\n console.log(\"LoginError\")\r\n }\r\n }\r\n\r\n //登入驗證\r\n const loginCheck = async (data) => {\r\n if (IsNullOrEmpty(data.USER_PD) || IsNullOrEmpty(data.Captcha)) {\r\n return;\r\n }\r\n\r\n setTempData(data);\r\n data.CaptchaEncoded = captchaTxt.CaptchaEncode;\r\n let url = getGlobalServerConfig().backEndUrl.get() + 'Login';\r\n let response = await api.Post(url, JSON.stringify(data));\r\n if (!response.ok)\r\n return;\r\n\r\n let result = await response.json();\r\n if (!result.success) {\r\n showGlobalMessageBox(result.message, getCaptcha);\r\n return;\r\n }\r\n\r\n // 判斷須變更密碼\r\n if (result.data === \"Y\") {\r\n // 開啟密碼變更視窗\r\n setIsShowResetPW(true);\r\n //清除BasicData\r\n resetGlobalServerConfig();\r\n //清除快取\r\n await CacheLoader().DeleteCache();\r\n }\r\n else {\r\n cacheLoaderCheck();\r\n }\r\n }\r\n\r\n /**\r\n * 獲取驗證碼\r\n * @param {*} e \r\n */\r\n const getCaptcha = async (e) => {\r\n if (e) {\r\n e.preventDefault();\r\n }\r\n let url = getGlobalServerConfig().backEndUrl.get() + `Login/LoadCapcha`;\r\n let captchaData = { ...initCaptchaEncode };\r\n\r\n try {\r\n let response = await api.Get(url, null, null, false);\r\n if (response.ok) {\r\n captchaData = await response.json();\r\n // 接到request data後資料更新參數\r\n setCaptcha(captchaData);\r\n }\r\n }\r\n catch (ex) {\r\n console.log(ex);\r\n }\r\n }\r\n\r\n //欄位驗證\r\n const validateField = Yup.object().shape({\r\n USER_ID: Yup.string()\r\n .required('請輸入帳號'),\r\n USER_PD: Yup.string()\r\n .required('請輸入密碼'),\r\n Captcha: Yup.string()\r\n .required('請輸入驗證碼')\r\n });\r\n\r\n // 連結SC網址\r\n const onClickScLink = async (dominName, apId) => {\r\n let url = getGlobalServerConfig().backEndUrl.get() + 'Login/GetScLink/' + dominName + '/' + apId;\r\n let response = await api.Get(url, null, new Headers(), false);\r\n let data = {};\r\n if (response.ok) {\r\n data = await response.json();\r\n }\r\n\r\n let link = data.message.replaceAll(\"&\", \"&\");\r\n openPage(link, `${dominName}_${apId}`);\r\n }\r\n\r\n return (\r\n
\r\n
\r\n \r\n loginCheck(data)}\r\n >\r\n {props => {\r\n const {\r\n values,\r\n errors,\r\n handleBlur,\r\n handleSubmit,\r\n handleChange,\r\n submitForm\r\n } = props;\r\n return (\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {canAccApply &&\r\n \r\n \r\n }\r\n\r\n \r\n \r\n \r\n \r\n
使用者帳號\r\n {\r\n if (e.key === 'enter') {\r\n submitForm();\r\n }\r\n }}\r\n />\r\n
使用者密碼\r\n setPasswordVisible(!passwordVisible)}\r\n style={{ marginTop: \"5px\" }}\r\n >\r\n {\r\n if (e.key === 'enter') {\r\n submitForm();\r\n }\r\n }}\r\n />\r\n
驗證碼\r\n {\r\n if (e.key === 'enter') {\r\n submitForm();\r\n }\r\n }}\r\n />\r\n
\r\n {\r\n captchaTxt.Img &&\r\n \r\n }\r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n );\r\n }}\r\n \r\n\r\n {\r\n isShowResetPW &&\r\n
\r\n setIsShowResetPW(false)}\r\n width={dimensions.width * 0.7}\r\n height={dimensions.height * 0.85}\r\n draggable={false}\r\n resizable={false}\r\n modal={true}\r\n >\r\n setIsShowResetPW(false)}\r\n />\r\n \r\n
\r\n }\r\n\r\n {\r\n isShowForgotPW &&\r\n
\r\n setIsShowForgotPW(false)}\r\n width={dimensions.width * 0.45}\r\n height={dimensions.height * 0.55}\r\n draggable={false}\r\n resizable={false}\r\n modal={true}\r\n >\r\n setIsShowForgotPW(false)}\r\n />\r\n \r\n
\r\n }\r\n
\r\n
\r\n );\r\n}\r\n\r\nexport default LoginPanel;","//@ts-check\r\nimport React from 'react';\r\n// import LoginAnnouncement from '../HomePage/LoginAnnounce';\r\nimport '../Css/Login.css';\r\nimport LoginPanel from './LoginPanel';\r\nconst Login = (props) => {\r\n\r\n\r\n\r\n return (\r\n
\r\n {/* */}\r\n {\r\n \r\n }\r\n
\r\n );\r\n}\r\n\r\nexport default Login;","export default __webpack_public_path__ + \"static/media/logo.289bdd48.png\";","export default __webpack_public_path__ + \"static/media/logo2.fa7c31d5.png\";","/**\r\n * @typedef {{\r\n * logic:Object,\r\n * filters:Array.<{\r\n * field:string,\r\n * operator:string|function,\r\n * value?: any,\r\n * ignoreCase?:boolean\r\n * }>\r\n * }} filter\r\n */\r\n\r\nimport React, { useState, useEffect, useRef } from 'react';\r\nimport { getGlobalServerConfig } from '../Route/RootMiddleware';\r\nimport { openPage } from '../Basic/SDOExtension';\r\nimport { api } from '../Basic/ApiFetch';\r\nimport { useHookstate, Downgraded } from '@hookstate/core';\r\nimport ReactCountdown from 'react-countdown';\r\nimport { formatNumber } from '@telerik/kendo-intl';\r\nimport { Button } from '@progress/kendo-react-buttons';\r\n\r\nexport const Countdown = (props) => {\r\n /**@type {object} */\r\n const ServerConfig = useHookstate(props.ServerConfig);\r\n ServerConfig.attach(Downgraded);\r\n\r\n const renderer = ({ minutes, seconds }) => {\r\n return
\r\n \r\n 自動登出\r\n {formatNumber(minutes, '00')}:\r\n {formatNumber(seconds, '00')}\r\n \r\n
\r\n };\r\n\r\n const timer = useRef(null)\r\n const key = useRef(Math.random().toString().substr(2, 8))\r\n const [date, setDate] = useState(localStorage.getItem('timeOut'));\r\n\r\n useEffect(() => {\r\n if (timer) {\r\n timer.current.start();\r\n }\r\n }, [getGlobalServerConfig().cacheExpire.get()]);\r\n\r\n const setTimerTime = async () => {\r\n await api.Get(getGlobalServerConfig().backEndUrl.get() + 'Login/LoadBasic');\r\n\r\n localStorage.removeItem('RestCountDown');\r\n localStorage.removeItem('IsOpenRCD');\r\n }\r\n\r\n return (\r\n <>\r\n props.signOut()}\r\n onTick={(e) => {\r\n // 重新計時\r\n if (localStorage.getItem(\"RestCountDown\") === \"Y\") {\r\n setTimerTime();\r\n return;\r\n }\r\n // 若\"有效期限\"更新,到數計時也更新\r\n if (localStorage.getItem('timeOut') !== date) {\r\n setDate(localStorage.getItem('timeOut'))\r\n key.current = Math.random().toString().substr(2, 8)\r\n return\r\n }\r\n\r\n //利用tick算出正確秒數\r\n let newTime = (e.minutes * 60) + e.seconds;\r\n let c = getGlobalServerConfig().countDown.get();\r\n let exp = getGlobalServerConfig().cacheExpire.get();\r\n //檢查如果跟cacheExpire一樣更新key來強制重新計時\r\n if (c === exp)\r\n key.current = Math.random().toString().substr(2, 8)\r\n //每次api call成功會更新countDown\r\n getGlobalServerConfig().countDown.set(newTime);\r\n\r\n // 剩下1分鐘跳出視窗,有開過就不開了\r\n if (newTime === 60 && localStorage.getItem(\"IsOpenRCD\") == null) {\r\n // 是否有開啟過\"重新計時\"視窗\r\n localStorage.setItem(\"IsOpenRCD\", \"Y\");\r\n let url = process.env.PUBLIC_URL + '/ResetCountDown?time=' + newTime;\r\n openPage(url, '_blank', '', true, 400, 290)\r\n }\r\n }}\r\n />\r\n \r\n );\r\n}\r\nexport default Countdown;","/**\r\n * @typedef {{\r\n * logic:Object,\r\n * filters:Array.<{\r\n * field:string,\r\n * operator:string|function,\r\n * value?: any,\r\n * ignoreCase?:boolean\r\n * }>\r\n * }} filter\r\n */\r\n\r\nimport React from 'react';\r\nimport logo from '../Images/logo.png';\r\nimport logo2 from '../Images/logo2.png';\r\nimport { useTranslation } from 'react-i18next';\r\nimport { api } from '../Basic/ApiFetch';\r\nimport CacheLoader from '../Basic/CacheLoader';\r\nimport { HeaderFooterContext, GetHistory, SignInStatusContext } from '../Basic/BasicData';\r\nimport { IsNullOrEmpty } from '../Basic/SDOExtension';\r\nimport { showGlobalConfirmBox, getGlobalServerConfig, globalState, resetGlobalServerConfig } from '../Route/RootMiddleware';\r\nimport { Countdown } from './CountDown';\r\nimport { Button } from '@progress/kendo-react-buttons';\r\n\r\nconst Head = (props) => {\r\n const { signInStatus, setSignInStatus } = React.useContext(SignInStatusContext);\r\n const { headerFooterStatus, setHeaderFooterStatus } = React.useContext(HeaderFooterContext);\r\n const [userAgentDDLList, setUserAgentDDLList] = React.useState({\r\n data: [], //下拉選單資料\r\n dataOri: [] //使用者資料 用於過濾並給下拉選單顯示\r\n })\r\n\r\n const [userAgent, setUserAgent] = React.useState(null)\r\n\r\n const { t } = useTranslation();\r\n const languageDDLList = [\r\n { text: \"繁體中文\", value: \"zh-TW\" },\r\n { text: \"English\", value: \"en\" }\r\n ];\r\n const RootHistory = GetHistory();\r\n\r\n /**\r\n * @function isSignOut\r\n * @description 呼叫showConfirmBox來確認是否登出\r\n */\r\n const isSignOut = () => {\r\n showGlobalConfirmBox(\"確定要登出系統嗎?\", signOut);\r\n }\r\n\r\n React.useEffect(() => {\r\n if (signInStatus && !headerFooterStatus) {\r\n getUserAgent()\r\n }\r\n }, [signInStatus])\r\n\r\n /**\r\n * @function getUserAgent\r\n * @description 取得登入者還可以代理那些user\r\n */\r\n const getUserAgent = async () => {\r\n let url = getGlobalServerConfig().backEndUrl.get() + 'EmpUser/ReadUserAgent';\r\n let response = await api.Get(url, null, null, false);\r\n if (response && response.ok) {\r\n let data = await response.json()\r\n setUserAgentDDLList({\r\n ...userAgentDDLList,\r\n data: data,\r\n dataOri: data\r\n });\r\n\r\n setUserAgent(data[0]);\r\n getGlobalServerConfig().BasicData.userName.set(data[0].USER_NAME);\r\n getGlobalServerConfig().BasicData.userId.set(data[0].USER_ID);\r\n getGlobalServerConfig().BasicData.orgId.set(data[0].ORG_ID);\r\n getGlobalServerConfig().BasicData.orgName.set(data[0].ORG_NAME);\r\n getGlobalServerConfig().BasicData.email.set(data[0].USER_EMAIL);\r\n getGlobalServerConfig().BasicData.userType.set(data[0].UsrType);\r\n }\r\n }\r\n\r\n // 登出\r\n const signOut = async () => {\r\n // 清除BasicData\r\n resetGlobalServerConfig();\r\n // 清除快取\r\n await CacheLoader().DeleteCache();\r\n // 導頁導到登入頁面\r\n if (IsNullOrEmpty(RootHistory)) {\r\n window.location.href = process.env.PUBLIC_URL\r\n }\r\n else {\r\n RootHistory.push('/');\r\n }\r\n // 紀錄目前登入狀態\r\n setSignInStatus();\r\n }\r\n\r\n const logoClick = () => {\r\n RootHistory\r\n ? RootHistory.location.pathname === \"/SystemSelector\"\r\n ? RootHistory.push('/SystemSelector')\r\n : RootHistory.push('/Home')\r\n : window.location.reload();\r\n }\r\n\r\n // 有登入時載入props\r\n const logoButtonProp = CacheLoader().HasCache() ? {\r\n className: \"logoButton\",\r\n onClick: logoClick\r\n } : {}\r\n\r\n return (\r\n
\r\n {signInStatus && !headerFooterStatus &&\r\n <>\r\n \r\n \r\n \r\n
    \r\n
  • \r\n {\r\n userAgent &&\r\n
    \r\n {`${userAgent.UnitOuName}(${userAgent.OuName}):${userAgent.USER_NAME}`}\r\n
    \r\n }\r\n
  • \r\n
  • \r\n \r\n
  • \r\n
  • \r\n \r\n
  • \r\n
\r\n \r\n }\r\n
\r\n );\r\n}\r\nexport default Head;","import React from 'react';\r\nimport { api } from '../Basic/ApiFetch';\r\nimport { useTranslation } from 'react-i18next';\r\nimport { getGlobalServerConfig } from '../Route/RootMiddleware';\r\nimport { GetHistory, HeaderFooterContext, SignInStatusContext } from '../Basic/BasicData';\r\nimport { GetSingleSetParam, GetScLink } from '../Basic/CommonService';\r\nimport { openPage } from '../Basic/SDOExtension';\r\n\r\nconst Foot = (props) => {\r\n const SDOUrl = getGlobalServerConfig().backEndUrl.get();\r\n\r\n const { signInStatus } = React.useContext(SignInStatusContext)\r\n const { headerFooterStatus } = React.useContext(HeaderFooterContext);\r\n const [footData, setFootData] = React.useState(\"\");\r\n const [risUrl, setRisUrl] = React.useState(\"\");\r\n const { t } = useTranslation();\r\n\r\n // 取得版本號\r\n const getFootData = async () => {\r\n let request = new Request(SDOUrl + 'SystemInfo', {\r\n method: 'GET',\r\n headers: { 'Content-Type': 'text/plain' }\r\n });\r\n\r\n let response = await api.Fetch(request, true, false)\r\n let responseData = [];\r\n if (response) {\r\n responseData = await response.text();\r\n }\r\n\r\n // 接到request data後要做的事情\r\n setFootData(responseData);\r\n }\r\n\r\n const getRisUrl = async () => {\r\n let setParam = await GetSingleSetParam('DOMAIN_NAME', 'OLDRIS');\r\n setRisUrl(setParam.SET_VALUE);\r\n }\r\n\r\n // 連結 SC\r\n const onClickScLink = async (dominName, apId) => {\r\n let url = await GetScLink(dominName, apId);\r\n openPage(url, `${dominName}_${apId}`);\r\n }\r\n\r\n React.useEffect(() => {\r\n if (signInStatus && !headerFooterStatus) {\r\n getFootData();\r\n getRisUrl();\r\n }\r\n }, [signInStatus])\r\n\r\n return (\r\n \r\n );\r\n}\r\nexport default Foot;","import React, { useEffect } from 'react';\r\nimport { withRouter } from 'react-router-dom';\r\nimport 'bootstrap/dist/css/bootstrap.min.css';\r\nimport { useTranslation } from 'react-i18next';\r\nimport CacheLoader from '../Basic/CacheLoader';\r\nimport { GetHistory } from '../Basic/BasicData';\r\n\r\nconst Home = (props) => {\r\n const { t } = useTranslation();\r\n\r\n //檢查驗證cookie是否存在\r\n useEffect(()=>{\r\n if(!CacheLoader().HasCache()){\r\n GetHistory().push('/');\r\n }\r\n\r\n },[])\r\n\r\n return (\r\n
\r\n \r\n {/* 結果顯示區域 */}\r\n {props.children}\r\n
\r\n \r\n );\r\n}\r\n\r\n\r\nexport default withRouter(Home);","import React, { useEffect, useState } from 'react';\r\nimport '../../../Css/custom/Grid-Td-WordWrap.css';\r\nimport Table from '../../../Css/custom/Table.module.css';\r\nimport { openProjectPrint } from '../../../Basic/CommonService';\r\nimport { Pageable } from '../../../Basic/BasicData';\r\nimport { CommandCell } from '../../../Components/GridCell/CommandCell';\r\nimport { Button } from '@progress/kendo-react-buttons';\r\nimport { Grid, GridColumn, GridNoRecords } from '@progress/kendo-react-grid';\r\nimport { formatNumber } from '@telerik/kendo-intl';\r\nimport { orderBy } from \"@progress/kendo-data-query\";\r\nimport { openProjectChapter } from '../ProjectList/ProjectListService';\r\nimport ProjectLogListWindow from '../ProjectLogList/ProjectLogListWindow';\r\nimport { openAdjustProjectChapter } from '../ProjectAdjustListExec/ProjectAdjustListExecService';\r\n\r\nconst ProjectListAllGrid = (props) => {\r\n let { listType, data } = props\r\n\r\n // gridData\r\n const [gridData, setGridData] = useState([]);\r\n // grid分頁\r\n const [paging, setPaging] = React.useState({ skip: 0, take: 20 });\r\n\r\n // 異動紀錄visibility\r\n const [projLogListVisible, setProjLogListVisible] = useState(false);\r\n // 異動紀錄計畫編號\r\n const [projLogData, setProjLogData] = useState({\r\n projectNo: \"\",\r\n projectName: \"\"\r\n });\r\n // grid排序\r\n const [sort, setSort] = React.useState([\r\n {\r\n field: \"\",\r\n dir: \"\",\r\n },\r\n ]);\r\n\r\n /**\r\n * 定義指令欄 -編修按鈕\r\n * @param {*} props Grid傳入的參數\r\n * @returns commendCell Jsx\r\n */\r\n const commandCell = (props) => {\r\n return (\r\n \r\n \r\n \r\n\r\n \r\n );\r\n}\r\nexport default ResetCountDown;","import React from \"react\";\r\nimport { SetMaskOnOff } from \"../Basic/SDOExtension\";\r\nimport { SignInStatusContext } from '../Basic/BasicData';\r\nimport { api } from \"../Basic/ApiFetch\";\r\nimport { WindowResizehook } from '../Hook/useWindowResize';\r\nimport GotoTopBtn from \"../Components/Utils/GotoTopBtn\";\r\nimport { getGlobalServerConfig } from \"../Route/RootMiddleware\";\r\nimport { Download } from '../Basic/Download';\r\n\r\nconst UserGuide = () => {\r\n\r\n let APIUrl = getGlobalServerConfig().backEndUrl.get();\r\n\r\n const [userGuides, setUserGuides] = React.useState([]);\r\n const { setSignInStatus, signInStatus } = React.useContext(SignInStatusContext);\r\n\r\n const dimensions = WindowResizehook();\r\n\r\n React.useEffect(() => {\r\n loadData();\r\n }, [])\r\n\r\n const loadData = async () => {\r\n SetMaskOnOff(true);\r\n\r\n setSignInStatus();\r\n\r\n let data = await getUserGuides();\r\n console.log(data);\r\n setUserGuides([...data]);\r\n SetMaskOnOff(false);\r\n }\r\n\r\n // 取得操作手冊清單\r\n const getUserGuides = async () => {\r\n let url = APIUrl + 'UserGuide/GetUserGuides';\r\n let response = await api.Post(url);\r\n let result = [];\r\n if (response.ok) {\r\n result = await response.json();\r\n }\r\n return result;\r\n }\r\n\r\n // 下載操作手冊\r\n const downloadFile = async (groupName, fileName) => {\r\n let url = APIUrl + 'UserGuide/DownloadFile';\r\n let form = new FormData();\r\n form.append(\"groupName\", groupName);\r\n form.append(\"fileName\", fileName);\r\n Download(url, \"POST\", form, new Headers());\r\n }\r\n\r\n return (\r\n
\r\n
\r\n \r\n

操作手冊

\r\n\r\n {\r\n userGuides.length > 0 &&\r\n userGuides.map(x => {\r\n return (\r\n
\r\n

{x.GroupName}

\r\n \r\n
\r\n )\r\n })\r\n }\r\n \r\n
\r\n
\r\n \r\n )\r\n}\r\n\r\nexport default UserGuide;","//@ts-check\r\n/**\r\n * @callback requestCallback\r\n */\r\nimport React, { useState, useEffect, Suspense } from 'react';\r\nimport { BrowserRouter, Route, Switch } from \"react-router-dom\";\r\nimport Login from '../HomePage/Login';\r\nimport Head from '../HomePage/Head';\r\nimport Foot from '../HomePage/Foot';\r\nimport HomeRoute from './HomeRoute';\r\nimport HomeRoutePanel from './HomeRoutePanel';\r\n\r\nimport ProjectChapterRoutePanel from '../Page/IPC/ProjectChapter/ProjectChapterRoutePanel';\r\nimport SystemSelector from '../HomePage/SystemSelector';\r\nimport ProjectPrint from '../Page/IPC/ProjectPrint/ProjectPrintMain';\r\nimport ProjectAdjustContent from '../Page/IPC/ProjectAdjustContent/ProjectAdjustContentMain';\r\n\r\nimport { MessageBox } from '../Components/Dialogs/MessageBox';\r\nimport { GlobalMessageBox, GlobalConfirmBox, globalState, setTheme, getThemeCookie } from './RootMiddleware'\r\n\r\nimport { ConfirmBox } from '../Components/Dialogs/ConfirmBox';\r\nimport Overlay from '../Components/Overlay/Overlay';\r\nimport ErrorBoundary from '../Basic/ErrorBoundary';\r\nimport { SignInStatusProvider, HeaderFooterContext } from '../Basic/BasicData';\r\n\r\n/* kendo globalization tool */\r\nimport { LocalizationProvider, IntlProvider, load, loadMessages } from '@progress/kendo-react-intl';\r\n\r\n/* cldr 語言包 */\r\nimport likelySubtags from 'cldr-core/supplemental/likelySubtags.json';\r\nimport currencyData from 'cldr-core/supplemental/currencyData.json';\r\nimport weekData from 'cldr-core/supplemental/weekData.json';\r\n\r\n/* zh語系 語言包 */\r\nimport zhNumbers from 'cldr-numbers-full/main/zh-Hant/numbers.json';\r\nimport zhLocalCurrency from 'cldr-numbers-full/main/zh-Hant/currencies.json';\r\nimport zhCaGregorian from 'cldr-dates-full/main/zh-Hant/ca-gregorian.json';\r\nimport zhDateFields from 'cldr-dates-full/main/zh-Hant/dateFields.json';\r\nimport zhTimeZoneNames from 'cldr-dates-full/main/zh-Hant/timeZoneNames.json';\r\n\r\n// kendo DOM 多國語言\r\nimport messages from '../i18n/kendoMessages';\r\n// 多國語系i18N\r\nimport '../i18n/i18n.js';\r\nimport { useTranslation } from 'react-i18next';\r\nimport { Button } from '@progress/kendo-react-buttons';\r\nimport SSOLogin from '../HomePage/SSOLogin';\r\nimport SSOCloud from '../HomePage/SSOCloud';\r\nimport ResetCountDown from '../HomePage/ResetCountDown';\r\nimport { ChapterPageIndexProvider } from '../Page/IPC/ProjectChapter/ChapterPageIndexProvider';\r\nimport UserGuide from '../HomePage/UserGuide';\r\n\r\n/**\r\n * Root元件\r\n *\r\n * @component\r\n * @example\r\n */\r\nconst RootRoute = (props) => {\r\n\r\n const { headerFooterStatus, setHeaderFooterStatus } = React.useContext(HeaderFooterContext);\r\n const [loading, setLoading] = useState(false);\r\n const { i18n } = useTranslation();\r\n const [i18nLanguage, seti18nLanguage] = useState(\"zh-TW\");\r\n const [lang, setLang] = useState(\"zh-Hant\");\r\n const [visible, setVisible] = useState(true);\r\n\r\n // 載入基本語言包\r\n // useEffect(() => {\r\n //載入必要的語言包 (預設已有en-US)\r\n load(\r\n likelySubtags,\r\n currencyData,\r\n weekData,\r\n zhLocalCurrency,\r\n zhNumbers,\r\n zhCaGregorian,\r\n zhDateFields,\r\n zhTimeZoneNames\r\n );\r\n //載入kendo元件語言包\r\n loadMessages(messages.zh, 'zh-Hant');\r\n // }, [])\r\n\r\n // 切換語系\r\n useEffect(() => {\r\n const loadCache = async () => {\r\n i18n.changeLanguage(i18nLanguage);\r\n setLang(i18nLanguage === 'zh-TW' ? 'zh-Hant' : i18nLanguage);\r\n }\r\n if (getThemeCookie() != null) {\r\n setTheme(getThemeCookie());\r\n } else {\r\n setTheme('blue');\r\n }\r\n\r\n loadCache();\r\n }, [i18nLanguage]);\r\n\r\n useEffect(() => {\r\n let href = window.location.href;\r\n setHeaderFooterStatus(href.includes(\"ProjectChapter\") || href.includes(\"ProjectPrint\") || href.includes(\"AdjustContent\"));\r\n setLoading(true);\r\n }, [])\r\n\r\n const openMenu = () => {\r\n setVisible(!visible);\r\n }\r\n\r\n return (\r\n \r\n \r\n \r\n \r\n seti18nLanguage(value)} />\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {/* 確認加載後再決定Menu */}\r\n {loading &&\r\n
\r\n \r\n }>\r\n } />\r\n \r\n
\r\n }\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n );\r\n}\r\n\r\nexport default RootRoute;","import '@hookstate/devtools'\r\nimport React from 'react';\r\nimport { MessageBoxProvider } from './Components/Dialogs/MessageBox';\r\nimport { ConfirmBoxProvider } from './Components/Dialogs/ConfirmBox';\r\nimport RootRoute from './Route/RootRoute';\r\nimport { HeaderFooterStatusProvider } from './Basic/BasicData';\r\n\r\nconst App = () => {\r\n\r\n return (\r\n \r\n \r\n \r\n {/* */}\r\n \r\n {/* */}\r\n \r\n \r\n \r\n );\r\n}\r\n\r\nexport default App;\r\n","// This optional code is used to register a service worker.\r\n// register() is not called by default.\r\n\r\n// This lets the app load faster on subsequent visits in production, and gives\r\n// it offline capabilities. However, it also means that developers (and users)\r\n// will only see deployed updates on subsequent visits to a page, after all the\r\n// existing tabs open on the page have been closed, since previously cached\r\n// resources are updated in the background.\r\n\r\n// To learn more about the benefits of this model and instructions on how to\r\n// opt-in, read https://bit.ly/CRA-PWA\r\n\r\nconst isLocalhost = Boolean(\r\n window.location.hostname === 'localhost' ||\r\n // [::1] is the IPv6 localhost address.\r\n window.location.hostname === '[::1]' ||\r\n // 127.0.0.0/8 are considered localhost for IPv4.\r\n window.location.hostname.match(\r\n /^127(?:\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/\r\n )\r\n);\r\n\r\nexport function register(config) {\r\n if (process.env.NODE_ENV === 'production' && 'serviceWorker' in navigator) {\r\n // The URL constructor is available in all browsers that support SW.\r\n const publicUrl = new URL(process.env.PUBLIC_URL, window.location.href);\r\n if (publicUrl.origin !== window.location.origin) {\r\n // Our service worker won't work if PUBLIC_URL is on a different origin\r\n // from what our page is served on. This might happen if a CDN is used to\r\n // serve assets; see https://github.com/facebook/create-react-app/issues/2374\r\n return;\r\n }\r\n\r\n window.addEventListener('load', () => {\r\n const swUrl = `${process.env.PUBLIC_URL}/service-worker.js`;\r\n\r\n if (isLocalhost) {\r\n // This is running on localhost. Let's check if a service worker still exists or not.\r\n checkValidServiceWorker(swUrl, config);\r\n\r\n // Add some additional logging to localhost, pointing developers to the\r\n // service worker/PWA documentation.\r\n navigator.serviceWorker.ready.then(() => {\r\n console.log(\r\n 'This web app is being served cache-first by a service ' +\r\n 'worker. To learn more, visit https://bit.ly/CRA-PWA'\r\n );\r\n });\r\n } else {\r\n // Is not localhost. Just register service worker\r\n registerValidSW(swUrl, config);\r\n }\r\n });\r\n }\r\n}\r\n\r\nfunction registerValidSW(swUrl, config) {\r\n navigator.serviceWorker\r\n .register(swUrl)\r\n .then(registration => {\r\n registration.onupdatefound = () => {\r\n const installingWorker = registration.installing;\r\n if (installingWorker == null) {\r\n return;\r\n }\r\n installingWorker.onstatechange = () => {\r\n if (installingWorker.state === 'installed') {\r\n if (navigator.serviceWorker.controller) {\r\n // At this point, the updated precached content has been fetched,\r\n // but the previous service worker will still serve the older\r\n // content until all client tabs are closed.\r\n console.log(\r\n 'New content is available and will be used when all ' +\r\n 'tabs for this page are closed. See https://bit.ly/CRA-PWA.'\r\n );\r\n\r\n // Execute callback\r\n if (config && config.onUpdate) {\r\n config.onUpdate(registration);\r\n }\r\n } else {\r\n // At this point, everything has been precached.\r\n // It's the perfect time to display a\r\n // \"Content is cached for offline use.\" message.\r\n console.log('Content is cached for offline use.');\r\n\r\n // Execute callback\r\n if (config && config.onSuccess) {\r\n config.onSuccess(registration);\r\n }\r\n }\r\n }\r\n };\r\n };\r\n })\r\n .catch(error => {\r\n console.error('Error during service worker registration:', error);\r\n });\r\n}\r\n\r\nfunction checkValidServiceWorker(swUrl, config) {\r\n // Check if the service worker can be found. If it can't reload the page.\r\n fetch(swUrl, {\r\n headers: { 'Service-Worker': 'script' },\r\n })\r\n .then(response => {\r\n // Ensure service worker exists, and that we really are getting a JS file.\r\n const contentType = response.headers.get('content-type');\r\n if (\r\n response.status === 404 ||\r\n (contentType != null && contentType.indexOf('javascript') === -1)\r\n ) {\r\n // No service worker found. Probably a different app. Reload the page.\r\n navigator.serviceWorker.ready.then(registration => {\r\n registration.unregister().then(() => {\r\n window.location.reload();\r\n });\r\n });\r\n } else {\r\n // Service worker found. Proceed as normal.\r\n registerValidSW(swUrl, config);\r\n }\r\n })\r\n .catch(() => {\r\n console.log(\r\n 'No internet connection found. App is running in offline mode.'\r\n );\r\n });\r\n}\r\n\r\nexport function unregister() {\r\n if ('serviceWorker' in navigator) {\r\n navigator.serviceWorker.ready\r\n .then(registration => {\r\n registration.unregister();\r\n })\r\n .catch(error => {\r\n console.error(error.message);\r\n });\r\n }\r\n}\r\n","import 'react-app-polyfill/ie11';\r\nimport 'react-app-polyfill/stable';\r\nimport React from 'react';\r\nimport ReactDOM from 'react-dom';\r\nimport App from './App'\r\nimport * as serviceWorker from './serviceWorker';\r\nimport './index.css';\r\nimport '@progress/kendo-theme-default/dist/all.css';\r\nimport './Css/Site.css';\r\nimport './Css/SDObasic-blue.css';\r\nimport 'font-awesome/css/font-awesome.min.css'\r\nimport 'ie11-custom-properties';\r\n\r\n//@ts-ignore\r\nif(window.MSInputMethodContext && document.documentMode){\r\n // import('ie11-custom-properties');\r\n}\r\n\r\nReactDOM.render(\r\n
\r\n \r\n \r\n \r\n
,\r\n document.getElementById('root')\r\n);\r\n\r\n\r\n// If you want your app to work offline and load faster, you can change\r\n// unregister() to register() below. Note this comes with some pitfalls.\r\n// Learn more about service workers: https://bit.ly/CRA-PWA\r\n// serviceWorker.unregister();\r\nserviceWorker.register();\r\n\r\n","import { api } from \"../../../Basic/ApiFetch\";\r\nimport { getGlobalServerConfig, showGlobalMessageBox } from \"../../../Route/RootMiddleware\";\r\nimport { getCurrentCycleData, getOrganList, getPlanYearList, GetSetParam, SetDelFlgName, CheckIsHANDRole, getOrgByUsr } from \"../../../Basic/CommonService\";\r\nimport { openChapterPage } from \"../../../Basic/SDOExtension\";\r\n\r\nlet APIUrl = getGlobalServerConfig().backEndUrl.get();\r\n\r\n//取得所有查詢條件下拉式選單\r\nexport const getAllDropDowns = async () => {\r\n let checkIsHANDRole = await CheckIsHANDRole();\r\n let responses = await Promise.all([\r\n GetSetParam('PROJECT_STATUS', '', true), // 取得作業階段\r\n GetSetParam('CP_KIND', '', true), // 取得執行方式\r\n GetSetParam('SPEC_NOTE', '', true, null), // 取得特殊加註\r\n checkIsHANDRole ? getOrgByUsr() : getOrganList(),// 取得機關清單\r\n getPlanYearList(true), // 取得計畫年度\r\n ])\r\n //responses轉Json\r\n let responsesJson = responses.map(res => res.json());\r\n let result = await (Promise.all(responsesJson));\r\n if (result) {\r\n //設定停用字眼\r\n SetDelFlgName(result[2]);\r\n //加入預設值請選擇\r\n result = addDefautItem(result);\r\n return result;\r\n } else {\r\n return [];\r\n }\r\n}\r\n\r\n/**\r\n * 加入下拉選單預設值\r\n * @param {array} datas 下拉選單資料\r\n * @returns array\r\n */\r\nconst addDefautItem = (datas) => {\r\n let newDataList = [];\r\n //加入預設值請選擇\r\n datas.forEach(dropDownData => {\r\n if (dropDownData.length > 0) {\r\n let newDropDownData = [];\r\n // 將下拉清單資料Key,Value固定為Text,Value\r\n if (dropDownData[0].text === undefined || dropDownData[0].value === undefined) {\r\n newDropDownData = dropDownData.map(x => { return { text: x.SET_VALUE, value: x.SET_TYPE } })\r\n } else {\r\n newDropDownData = [...dropDownData];\r\n }\r\n\r\n // 計畫狀態多選不需加入請選擇\r\n if (dropDownData !== datas[0] && dropDownData !== datas[4])\r\n newDropDownData.unshift({ text: '請選擇', value: \"\" })\r\n newDataList.push(newDropDownData)\r\n }\r\n });\r\n return newDataList;\r\n}\r\n\r\n/**\r\n * 取得執行方式\r\n * @param {*} cpKind \r\n * @returns \r\n */\r\nexport const loadCheckPoint = async (cpKind) => {\r\n let url = APIUrl + 'SetParam/GetCodeCheckpoint';\r\n let formData = new FormData();\r\n formData.append('CP_KIND', cpKind);\r\n formData.append('isShowDel', true);\r\n let response = await api.Post(url, formData, new Headers(), false);\r\n if (response.ok) {\r\n let result = await response.json();\r\n if (result.length > 0) {\r\n let rtnResult = result.map(x => {\r\n return {\r\n text: `${x.CHECKPOINT_CLASS}${x.DEL_FLG ? \"(已停用)\" : \"\"}`,\r\n value: x.CHECKPOINT_CLASS_ID.toString()\r\n }\r\n });\r\n rtnResult.unshift({ value: \"\", text: '請選擇' })\r\n return rtnResult;\r\n }\r\n }\r\n return [];\r\n}\r\n\r\n/**\r\n * 取得計畫列表\r\n * @param {*} requestModel 查詢條件\r\n * @returns \r\n */\r\nexport const getProjectList = async (requestModel) => {\r\n let url = APIUrl + 'ProjectList/GetProjectList';\r\n let response = await api.Post(url, JSON.stringify(requestModel), null, false);\r\n let result = null;\r\n if (response.ok) {\r\n result = await response.json();\r\n }\r\n return result;\r\n}\r\n\r\n/**\r\n * 釘選/取消釘選 計畫\r\n * @param {*} projectNo\r\n * @param {*} pisSelectVal\r\n * @returns \r\n */\r\nexport const updateProjectPisSelect = async (projectNo, pisSelectVal) => {\r\n let url = APIUrl + 'ProjectList/AddDelFavoriateProject';\r\n let form = new FormData();\r\n form.append('PROJECT_NO', projectNo);\r\n form.append('PIS_SELECT', pisSelectVal);\r\n let response = await api.Post(url, form, new Headers(), false);\r\n let result = null;\r\n if (response.ok) {\r\n result = await response.json();\r\n }\r\n return result;\r\n}\r\n\r\n/**\r\n * 刪除計畫\r\n * @param {*} projectNos \r\n * @returns \r\n */\r\nexport const saveProjectCanceled = async (projectNos) => {\r\n let url = APIUrl + 'ProjectList/SaveProjectCanceled';\r\n let response = await api.Post(url, JSON.stringify(projectNos))\r\n if (response.ok) {\r\n return await response.json();\r\n } else {\r\n return null;\r\n }\r\n}\r\n\r\n/**\r\n * 開啟章節表\r\n * @param {*} item \r\n * @param {*} role \r\n * @returns \r\n */\r\nexport const openProjectChapter = async (item, role) => {\r\n //#region 資料處理\r\n const { PROJECT_NO, PROJECT_NAME, PROJECT_STATUS_C, EXEC_ORGAN_C } = item;\r\n const CHPageInfo = getChapterPage(PROJECT_STATUS_C, role);\r\n // 取得週期資料\r\n let cycleData = await getCurrentCycleData();\r\n\r\n if (cycleData == null) {\r\n showGlobalMessageBox(\"週期資料有誤,請洽系統管理員\");\r\n return\r\n }\r\n\r\n let data = {\r\n funRole: role, //功能面向角色\r\n operation: CHPageInfo.operation,\r\n workStage: CHPageInfo.workStage,\r\n projectNo: PROJECT_NO,\r\n projectName: PROJECT_NAME,\r\n chapter: CHPageInfo.chapter,\r\n cycleData: `${cycleData.PROJECT_YEAR}_${cycleData.PROJECT_MONTH}`,\r\n execOrgan: EXEC_ORGAN_C\r\n };\r\n //#endregion \r\n\r\n let title = \"\";\r\n switch (role) {\r\n case 0:\r\n title = \"資料登錄\"; break;\r\n case 2:\r\n title = \"計畫審查\"; break;\r\n default:\r\n break;\r\n }\r\n\r\n // 開啟章節表(同一個計畫只會有一個分頁,用PROJECT_NO當NAME)\r\n const url = process.env.PUBLIC_URL + '/ProjectChapter';\r\n openChapterPage(url, PROJECT_NO, `${title}(${PROJECT_NO})`, data);\r\n}\r\n\r\n/**\r\n * 取得計畫狀態對應章節表階段\r\n * @param {*} projectStatus 作業階段\r\n * @param {*} funRole 0:填報;2:管考\r\n * @returns \r\n */\r\nexport const getChapterPage = (projectStatus, funRole) => {\r\n let operation = 'P1';\r\n let workStage = 'S1';\r\n let chapter = '';\r\n switch (projectStatus) {\r\n // 立案審核\r\n case '2':\r\n workStage = 'S1';\r\n // 管考,需預設\"立案審核\"章節\r\n if (funRole === 2) {\r\n chapter = 'ProjectFillAddAudit';\r\n }\r\n break;\r\n // 立案退回\r\n case '3':\r\n workStage = 'S1';\r\n // 填報,需預設\"立案送審\"章節\r\n if (funRole === 0) {\r\n chapter = 'ProjectFillAddSubmit';\r\n }\r\n break;\r\n // 執行情形\r\n case '4':\r\n workStage = 'S2'; break;\r\n // 結案審核\r\n case '5':\r\n workStage = 'S2';\r\n // 管考,需預設\"結案審核\"章節\r\n if (funRole === 2) {\r\n chapter = 'ProjectFillCloseAudit';\r\n }\r\n break;\r\n // 結案退回\r\n case '6':\r\n workStage = 'S2';\r\n // 填報,需預設\"執行情形送出\"章節\r\n if (funRole === 0) {\r\n chapter = 'ProjectFillExecuteSubmit';\r\n }\r\n break;\r\n default:\r\n break;\r\n }\r\n return {\r\n operation: operation,\r\n workStage: workStage,\r\n chapter: chapter\r\n }\r\n}","import React from 'react';\r\n\r\nexport const WindowResizehook=()=> {\r\n const [dimensions, setDimensions] = React.useState({\r\n height: window.innerHeight,\r\n width: window.innerWidth\r\n})\r\nReact.useEffect(() => {\r\n //在useeffect內定義function以提供給window監聽\r\n function handleResize() {\r\n setDimensions({\r\n height: window.innerHeight,\r\n width: window.innerWidth\r\n })\r\n }\r\n window.addEventListener('resize', handleResize)\r\n\r\n //在useEffect內的return function一定會被執行,藉此移除監聽\r\n return _ => {\r\n window.removeEventListener('resize', handleResize)\r\n }\r\n}, [])\r\n\r\n return dimensions;\r\n}","//*****共用的Service*****\r\n\r\nimport { getGlobalServerConfig } from '../Route/RootMiddleware';\r\nimport { api } from './ApiFetch';\r\nimport { GetBasicData } from './BasicData';\r\nimport { Download } from './Download';\r\nimport { IsNullOrEmpty, openPage } from './SDOExtension';\r\n\r\nlet APIUrl = getGlobalServerConfig().backEndUrl.get();\r\nlet DdlAPIUrl = APIUrl + 'DropDown'\r\n\r\n/**\r\n * 取得system param (預設排除停用)\r\n * @returns \r\n */\r\nexport const GetSetParam = async (setItem, defaultValue = \"\", isReturnPromise = false, delFlg = false) => {\r\n let url = APIUrl + 'SetParam/GetParamByItem';\r\n let form = new FormData();\r\n form.append('setItem', setItem);\r\n if (delFlg != null)\r\n form.append('delFlg', delFlg);\r\n let response = await api.Post(url, form, new Headers(), false);\r\n if (isReturnPromise) {\r\n return response;\r\n }\r\n let result = [];\r\n if (response.ok) {\r\n result = await response.json();\r\n if (!IsNullOrEmpty(defaultValue)) {\r\n result.unshift({ SET_TYPE: \"\", SET_VALUE: defaultValue })\r\n }\r\n }\r\n return result;\r\n}\r\n\r\n/**\r\n * 取得多組system param \r\n * @returns \r\n */\r\nexport const GetParamByItems = async (item, isReturnPromise = false) => {\r\n let url = APIUrl + 'SetParam/GetParamByItems';\r\n let response = await api.Post(url, JSON.stringify(item), null, false);\r\n if (isReturnPromise) {\r\n return response;\r\n }\r\n let result = [];\r\n if (response.ok) {\r\n result = await response.json();\r\n }\r\n return result;\r\n}\r\n\r\n/**\r\n * 設定停用字眼\r\n * @returns \r\n */\r\nexport const SetDelFlgName = async (data) => {\r\n return data.map(x => {\r\n x.SET_VALUE = `${x.SET_VALUE}${x.DEL_FLG ? \"(已停用)\" : \"\"}`\r\n return x\r\n })\r\n}\r\n\r\n/**\r\n * 取得單筆 system param \r\n * @returns \r\n */\r\nexport const GetSingleSetParam = async (setItem, setType, isReturnPromise = false) => {\r\n let url = APIUrl + 'SetParam/' + setItem + '/' + setType;\r\n let response = await api.Get(url, null, null, false);\r\n if (isReturnPromise) {\r\n return response;\r\n }\r\n let result = {};\r\n if (response.ok) {\r\n result = await response.json();\r\n }\r\n return result;\r\n}\r\n\r\n/**\r\n * 月份下拉\r\n * @returns \r\n */\r\nexport const getMonthList = () => {\r\n let result = [];\r\n for (let i = 1; i <= 12; i++) {\r\n result.push({ text: i, value: i });\r\n }\r\n return result;\r\n}\r\n\r\n/**\r\n * 取得計畫年度下拉清單資料\r\n * @param {*} isReturnPromise \r\n * @param {*} year \r\n * @returns \r\n */\r\nexport const getPlanYearList = async (isReturnPromise = false, year, type) => {\r\n let url = DdlAPIUrl + '/GetProjectYearList';\r\n let form = new FormData();\r\n // 預設系統年度往回推10年\r\n form.append('year', year ?? 10);\r\n form.append('type', type ?? \"\");\r\n let response = await api.Post(url, form, new Headers(), false);\r\n\r\n if (isReturnPromise)\r\n return response;\r\n let rtn = [];\r\n if (response.ok) {\r\n rtn = await response.json();\r\n }\r\n return rtn;\r\n}\r\n\r\n/**\r\n * 取得機關下拉清單\r\n * @returns \r\n */\r\nexport const getOrganList = async () => {\r\n let url = DdlAPIUrl + '/GetOrganList';\r\n return await api.Get(url, null, null, false);\r\n}\r\n\r\n/**\r\n * 取得登入者的機關下拉選單資料\r\n * @returns \r\n */\r\nexport const getOrgByUsr = async () => {\r\n let url = DdlAPIUrl + '/GetOrgByUsr';\r\n return await api.Get(url, null, null, false);\r\n}\r\n\r\n/**\r\n * 根據機關取得人員下拉選單\r\n * @param {*} ouId \r\n * @param {*} undertakerType 1:主管機關 2:執行機關 3:協辦機關 4:代辦機關\r\n * @param {*} defaultValue \r\n * @param {*} isEnable 是否啟用\r\n * @returns \r\n */\r\nexport const getUserListByOuId = async (ouId, undertakerType, defaultValue = \"\", isEnable = true) => {\r\n let url = DdlAPIUrl + '/GetUserByOrg';\r\n let form = new FormData();\r\n form.append('OU_ID', ouId);\r\n form.append('UNDERTAKER_TYPE', undertakerType);\r\n form.append('IS_ENABLE', isEnable);\r\n let response = await api.Post(url, form, new Headers(), false);\r\n let rtn = [];\r\n if (response.ok) {\r\n rtn = await response.json();\r\n if (!IsNullOrEmpty(defaultValue)) {\r\n rtn.unshift({ text: defaultValue, value: \"\" })\r\n }\r\n }\r\n\r\n return rtn;\r\n}\r\n\r\n/**\r\n * 取得 辦理地點 (區)\r\n * @param {*} cityId 預設桃園市\r\n * @param {*} defaultValue \r\n * @returns \r\n */\r\nexport const getCodeTownByCityId = async (cityId = \"H\", defaultValue = \"\", isReturnPromise = false) => {\r\n let url = DdlAPIUrl + '/GetCodeTownByCityId';\r\n let response = await api.Post(url, JSON.stringify(cityId), null, false);\r\n if (isReturnPromise) {\r\n return response;\r\n }\r\n\r\n let rtn = [];\r\n if (response.ok) {\r\n rtn = await response.json();\r\n if (!IsNullOrEmpty(defaultValue)) {\r\n rtn.unshift({ text: defaultValue, value: \"\" })\r\n }\r\n }\r\n return rtn;\r\n}\r\n\r\n/**\r\n* 下載已上傳的檔案\r\n* @param {*} identityField \r\n*/\r\nexport const downProjectAttachment = async (identityField) => {\r\n let dbkey = 0\r\n let url = APIUrl + 'ProjectCommon/DownProjectAttachment';\r\n let formData = new FormData();\r\n formData.append(\"IDENTITY_FIELD\", identityField);\r\n formData.append('dbkey', dbkey);\r\n Download(url, 'POST', formData, new Headers())\r\n}\r\n\r\n/**\r\n * 下載附件壓縮檔\r\n * @param {*} identityFields \r\n * @param {*} title 壓縮檔檔名\r\n */\r\nexport const downProjectAttachmentZip = async (identityFields, title) => {\r\n let url = APIUrl + 'ProjectCommon/DownProjectAttachmentZip';\r\n let formData = new FormData();\r\n for (let i = 0; i < identityFields.length; i++) {\r\n formData.append(\"IDENTITY_FIELDs\", identityFields[i]);\r\n }\r\n formData.append('title', title);\r\n Download(url, 'POST', formData, new Headers());\r\n}\r\n\r\n/**\r\n * 取得當期填報週期資料\r\n * @returns \r\n */\r\nexport const getCurrentCycleData = async () => {\r\n let url = APIUrl + 'ProjectCommon/GetCurrentCycleData';\r\n let response = await api.Get(url, null, null, false);\r\n if (response.ok) {\r\n return response.json();\r\n } else {\r\n return null;\r\n }\r\n}\r\n\r\n/**\r\n * 取得SC連結\r\n * @param {*} dominName \r\n * @param {*} apId \r\n */\r\nexport const GetScLink = async (dominName, apId) => {\r\n let url = APIUrl + 'SCApplication/GetScLink/' + dominName + '/' + apId;\r\n let response = await api.Get(url, null, new Headers(), false);\r\n let data = {};\r\n if (response.ok) {\r\n data = await response.json();\r\n }\r\n\r\n return data.message.replaceAll(\"&\", \"&\");\r\n}\r\n\r\n/**\r\n * 檢查登入者是否有管考權限(管考角色)\r\n * @returns \r\n */\r\nexport const CheckIsRDECRole = async () => {\r\n let roles = await GetBasicData(\"roles\");\r\n return roles.filter(x => x.AP_ID === 'IPC3' && x.ROLE_ID === 'RDEC_RDEC_ROL_IPC3').length > 0;\r\n}\r\n\r\n/**\r\n * 檢查登入者是否\"只有\"主辦權限(主辦角色)\r\n * @returns \r\n */\r\nexport const CheckIsHANDRole = async () => {\r\n let roles = await GetBasicData(\"roles\");\r\n if (roles.length !== 1) {\r\n return false;\r\n }\r\n else {\r\n let role = roles[0];\r\n return role.AP_ID === 'IPC3' && role.ROLE_ID === 'HAND_USER_ROL_IPC3';\r\n }\r\n}\r\n\r\n/**\r\n * 取得已使用的代碼清單\r\n * @param {string} setItem 代碼類別\r\n * @returns \r\n */\r\nexport const GetUsedCode = async (setItem) => {\r\n let url = APIUrl + 'ProjectCommon/GetUsedCode';\r\n let response = await api.Post(url, JSON.stringify(setItem), null, false);\r\n if (response.ok) {\r\n return await response.json();\r\n }\r\n return [];\r\n}\r\n\r\n/**\r\n * 取得是否使用國發會界接資料\r\n * @param {string} projectNo 計畫編號\r\n * @returns true or false\r\n */\r\nexport const GetIsUserFtyData = async (projectNo) => {\r\n let url = APIUrl + 'Project/GetIsUserFtyData';\r\n let response = await api.Post(url, JSON.stringify(projectNo), null, false);\r\n if (response.ok) {\r\n return await response.json();\r\n }\r\n return false;\r\n}\r\n\r\n// #region sessionStorage 只能開一個分頁\r\n/**\r\n * 設定StorageData\r\n * @param {*} param 參數\r\n * @param {*} name window name\r\n * @param {*} targetWindow 目標window。若無傳入,則預設當下window\r\n */\r\nexport const SetStorageData = (param, name = \"chapterInfo\", targetWindow = window) => {\r\n targetWindow.sessionStorage.setItem(name, JSON.stringify(param));\r\n}\r\n\r\n/**\r\n * 移除StorageData\r\n * @param {String} storageKey 若無傳入,則移除全部\r\n * @param {*} targetWindow 目標window。若無傳入,則預設當下window\r\n */\r\nexport const RemoveStorageData = (storageKey = \"\", targetWindow = window) => {\r\n if (!IsNullOrEmpty(storageKey)) {\r\n targetWindow.sessionStorage.removeItem(storageKey);\r\n } else {\r\n targetWindow.sessionStorage.clear();\r\n }\r\n}\r\n\r\n/**\r\n * 取得StorageData\r\n * @returns \r\n */\r\nexport const GetStorageData = (name = \"chapterInfo\") => {\r\n let sessionData = sessionStorage.getItem(name);\r\n let result = JSON.parse(sessionData);\r\n return result;\r\n}\r\n//#endregion\r\n\r\n/**\r\n * 設定計畫預覽列印資訊\r\n * @param {*} isRdecFun 是否為管考功能\r\n * @param {*} funRole 功能面向角色\r\n * @param {*} projectNo 計畫編號\r\n * @param {*} projectName 計畫名稱\r\n * @param {*} isSSOLogin 是否從單一入口進入\r\n */\r\nexport const setPrintInfo = async (isRdecFun, funRole, projectNo, projectName, isSSOLogin, targetWindow = null) => {\r\n let data = {\r\n isRdecFun: isRdecFun,\r\n funRole: funRole,\r\n projectNo: projectNo,\r\n projectName: projectName,\r\n isSSOLogin: isSSOLogin\r\n };\r\n\r\n SetStorageData(data, \"printInfo\", targetWindow);\r\n}\r\n\r\n/**\r\n * 開啟計畫預覽列印\r\n * @param {*} item \r\n * @param {*} source 資料來源:chapter(章節表)、list(清單)\r\n * @param {*} funRole \r\n */\r\nexport const openProjectPrint = async (item, source = \"chapter\", funRole = null) => {\r\n funRole = source === \"chapter\" ? item.funRole : funRole;\r\n const isRdecFun = source === \"chapter\" ? item.isRdecFun : funRole === 2;\r\n const projectNo = source === \"chapter\" ? item.projectNo : item.PROJECT_NO;\r\n const projectName = source === \"chapter\" ? item.projectName : item.PROJECT_NAME;\r\n\r\n // 同一個計畫只會有一個分頁,用PROJECT_NO當NAME\r\n const newWindow = openPage(process.env.PUBLIC_URL + '/ProjectPrint', `Print${projectNo}`, `預覽列印(${projectNo})`)\r\n setPrintInfo(isRdecFun, funRole, projectNo, projectName, false, newWindow);\r\n}\r\n\r\n/**\r\n * 開啟計畫差異比對\r\n * @param {*} data \r\n */\r\nexport const openDiffCompare = async (data) => {\r\n SetStorageData(data, \"printInfo\");\r\n // 同一個計畫只會有一個分頁,用PROJECT_NO當NAME\r\n openPage(process.env.PUBLIC_URL + '/ProjectPrint', `DiffCompare${data.projectNo}`, `差異比對(${data.projectNo})`)\r\n}","import { GetHistory } from './BasicData';\r\nimport Cookies from 'universal-cookie';\r\nimport CacheLoader from './CacheLoader';\r\nimport { IsNullOrEmpty, SetMaskOnOff } from './SDOExtension';\r\nimport { showGlobalMessageBox, getGlobalServerConfig, setGlobalCountDown } from '../Route/RootMiddleware';\r\n\r\nconst queue = []\r\nlet handlerWorking = false;\r\n\r\nexport const makeRequest = (url, method, headers = null, body = null) => {\r\n return new Request(url, {\r\n method: method,\r\n headers: headers ? headers : new Headers(),\r\n credentials: 'include',\r\n body: body\r\n })\r\n}\r\n\r\n/**\r\n * 利用url及headers組出轉介所需的表頭\r\n * @param {*} url 要從轉介api導過去的實際位置\r\n * @param {*} headers \r\n * @returns 轉介api所需表頭\r\n */\r\nconst getBridgeHeader = (url, headers) => {\r\n let Bridge_headers = new Headers();\r\n\r\n Bridge_headers.append('RouteUrl', url);\r\n if (headers && headers.has('Content-Type'))\r\n Bridge_headers.append('Content-Type', headers.get('Content-Type'));\r\n\r\n return Bridge_headers;\r\n}\r\n\r\nlet Bridge_URL = getGlobalServerConfig().Bridge_backEndUrl.get();\r\nconst Get = (url, body = null, headers = null, mask = true) => {\r\n return apiFetch(makeRequest(url, 'GET', headers, body), headers != null, mask);\r\n}\r\n\r\nconst Post = (url, body = null, headers = null, mask = true) => {\r\n return apiFetch(makeRequest(url, 'POST', headers, body), headers != null, mask);\r\n}\r\n\r\nconst Put = (url, body = null, headers = null, mask) => {\r\n return apiFetch(makeRequest(url, 'PUT', headers, body), headers != null, mask);\r\n}\r\n\r\nconst Delete = (url, body = null, headers = null, mask) => {\r\n return apiFetch(makeRequest(url, 'DELETE', headers, body), headers != null, mask);\r\n}\r\n\r\nconst BGet = (url, body = null, headers = null, mask = true) => {\r\n return apiFetch(makeRequest(Bridge_URL, 'GET', getBridgeHeader(url, headers), body), headers != null, mask);\r\n}\r\n\r\nconst BPost = (url, body = null, headers = null, mask = true) => {\r\n return apiFetch(makeRequest(Bridge_URL, 'POST', getBridgeHeader(url, headers), body), headers != null, mask);\r\n}\r\n\r\nconst BPut = (url, body = null, headers = null, mask) => {\r\n return apiFetch(makeRequest(Bridge_URL, 'PUT', getBridgeHeader(url, headers), body), headers != null, mask);\r\n}\r\n\r\nconst BDelete = (url, body = null, headers = null, mask) => {\r\n return apiFetch(makeRequest(Bridge_URL, 'DELETE', getBridgeHeader(url, headers), body), headers != null, mask);\r\n}\r\n\r\nexport const api = {\r\n Read: Get,\r\n Get: Get,\r\n Insert: Post,\r\n Post: Post,\r\n Update: Put,\r\n Put: Put,\r\n Delete: Delete,\r\n Fetch: apiFetch,\r\n}\r\n/*\r\n bridge Apiset\r\n*/\r\nexport const apiBridge = {\r\n Read: BGet,\r\n Get: BGet,\r\n Insert: BPost,\r\n Post: BPost,\r\n Update: BPut,\r\n Put: BPut,\r\n Delete: BDelete\r\n}\r\n\r\n/**\r\n * @function apiFetch\r\n * @async\r\n * @param {any} request Request內容\r\n * @param {boolean} [customContentType] 是否客製ContentType,false則自動設為json\r\n * @param {boolean} [mask] 是否使用遮罩\r\n * @returns {Promise} Response結果\r\n * @description 傳入Request內容呼叫Api\r\n */\r\nexport async function apiFetch(request, customContentType = false, mask = true) {\r\n let response;\r\n if (mask)//顯示遮罩\r\n await SetMaskOnOff(true);\r\n\r\n\r\n\r\n //執行fetch\r\n response = await fetching(request, customContentType).then(handleErrors)\r\n .catch(\r\n error => {\r\n showGlobalMessageBox(\"發生伺服器端錯誤,請聯繫管理員。\");\r\n }\r\n );\r\n if (response && response.ok) {\r\n\r\n setGlobalCountDown(getGlobalServerConfig().cacheExpire.get());\r\n //resolve\r\n }\r\n else {\r\n\r\n console.warn(response);\r\n //reject\r\n }\r\n if (mask)//關閉遮罩\r\n await SetMaskOnOff(false);\r\n return response\r\n}\r\n\r\n\r\n/**\r\n * @function addFetch\r\n * @async\r\n * @param {any} request Request內容\r\n * @param {boolean} [customContentType] 是否客製ContentType,false則自動設為json\r\n * @param {boolean} [mask] 是否使用遮罩\r\n * @returns {Promise} Response結果\r\n * @description 將Request加入Queue並回傳Promise\r\n */\r\nasync function addFetch(request, customContentType, mask) {\r\n //製作Promise\r\n let promise = new Promise((resolve, reject) => {\r\n let requestItem = {\r\n request: request,\r\n customContentType: customContentType,\r\n mask: mask,\r\n resolve: resolve,//保存Promise的resolve,reject供handler改變Promise狀態\r\n reject: reject,\r\n }\r\n //將各項參數加入Queue中\r\n queue.push(requestItem);\r\n });\r\n\r\n //啟動Handler\r\n if (!handlerWorking)\r\n fetchQueueHandler();\r\n\r\n return promise;\r\n}\r\n\r\n//處理Request\r\nasync function fetchQueueHandler() {\r\n handlerWorking = true;\r\n //執行至Queue為空\r\n while (queue.length > 0) {\r\n //從列隊開頭取出(先進先出)\r\n let requestItem = queue.shift();\r\n if (requestItem.mask)//顯示遮罩\r\n SetMaskOnOff(true);\r\n //執行fetch\r\n let response = await fetching(requestItem.request, requestItem.customContentType);\r\n if (response.ok) {\r\n //resolve\r\n requestItem.resolve(response);\r\n }\r\n else {\r\n if (response.status === 401 && !IsNullOrEmpty(GetHistory())) {\r\n CacheLoader().DeleteCache();\r\n GetHistory().push('/');\r\n }\r\n //reject\r\n requestItem.reject(response);\r\n }\r\n //關閉遮罩\r\n SetMaskOnOff(false);\r\n }\r\n handlerWorking = false;\r\n}\r\n\r\n//發送fetch\r\n/**\r\n * @function addFetch\r\n * @async\r\n * @param {*} request \r\n * @param {boolean} customContentType 是否使用自定義ContentType\r\n * @returns \r\n * @description 傳入Request內容呼叫Api\r\n */\r\nexport async function fetching(request, customContentType) {\r\n //讀取Cookie時間\r\n await CheckCacheSetting();\r\n\r\n //讀取驗證token\r\n await LoadCache();\r\n\r\n //設定驗證header\r\n if (request.headers.has('authorization'))\r\n request.headers.set('authorization', getGlobalServerConfig().BasicData.token.get());\r\n else\r\n request.headers.append('authorization', getGlobalServerConfig().BasicData.token.get());\r\n\r\n //設定contentType\r\n if (!customContentType)//若不客製則設定\r\n {\r\n request.headers.set('Content-Type', 'application/json');\r\n }\r\n\r\n //fetch\r\n let response = await fetch(request)\r\n .then(handleErrors)\r\n .catch(\r\n error => {\r\n showGlobalMessageBox(\"發生伺服器端錯誤,請聯繫管理員。\");\r\n }\r\n );\r\n\r\n\r\n\r\n //更新驗證token\r\n if (response && !IsNullOrEmpty(response.headers.get('authorization'))) {\r\n getGlobalServerConfig().BasicData.token.set(response.headers.get('authorization'));\r\n }\r\n\r\n //更新cookies有效期限\r\n if (response && !IsNullOrEmpty(response.headers.get('loginCache'))) {\r\n CacheLoader().SetCache(response.headers.get('loginCache'));\r\n }\r\n\r\n return response\r\n}\r\n\r\nexport const handleErrors = (response) => {\r\n if (response && response.status === 401) {\r\n if (CacheLoader().HasCache())\r\n CacheLoader().DeleteCache();\r\n\r\n showGlobalMessageBox(\"登入資訊不存在或已過期,請重新登入!\", () => { GetHistory()?.push('/'); });\r\n return response;\r\n }\r\n if (!response.ok) {\r\n if (response.status === 401) {\r\n CacheLoader().DeleteCache();\r\n GetHistory()?.push('/');\r\n }\r\n throw new Error(response.status);\r\n };\r\n return response;\r\n}\r\n\r\nasync function CheckCacheSetting() {\r\n // if (!ServerConfig.cacheSettingLoaded)\r\n if (!getGlobalServerConfig().cacheSettingLoaded.get())\r\n await CacheLoader().LoadCacheExpire();\r\n}\r\n\r\nasync function LoadCache() {\r\n if (IsNullOrEmpty(getGlobalServerConfig().BasicData.token.get()) && CacheLoader().HasCache())\r\n await CacheLoader().LoadCache();\r\n}","export default __webpack_public_path__ + \"static/media/menu_icon01.f46a9bad.png\";","export default __webpack_public_path__ + \"static/media/menu_icon02.0980607e.png\";","export default __webpack_public_path__ + \"static/media/menu_icon03.9873748e.png\";","export default __webpack_public_path__ + \"static/media/menu_icon04.ad43af21.png\";","export default __webpack_public_path__ + \"static/media/menu_icon05.f9fe50a5.png\";","//*****共用的基本資料*****\r\n\r\n/**\r\n * @typedef {{\r\n * token:string,\r\n * userId:string,\r\n * orgId:string,\r\n * email:string\r\n * }} BasicData\r\n * */\r\n\r\nimport React, { createContext, useState } from 'react';\r\nimport { IsNullOrEmpty } from './SDOExtension';\r\nimport { api } from './ApiFetch';\r\nimport CacheLoader from '../Basic/CacheLoader';\r\nimport { getGlobalServerConfig } from '../Route/RootMiddleware';\r\nimport menuIcon01 from '../Images/menu_icon01.png';\r\nimport menuIcon02 from '../Images/menu_icon02.png';\r\nimport menuIcon03 from '../Images/menu_icon03.png';\r\nimport menuIcon04 from '../Images/menu_icon04.png';\r\nimport menuIcon05 from '../Images/menu_icon05.png';\r\nimport menuIcon06 from '../Images/menu_icon06.png';\r\n\r\n/**@type {*} */\r\nlet basicData = getGlobalServerConfig().BasicData;\r\n\r\n/**\r\n * @function GetBasicData\r\n * @returns {Promise}\r\n * @description 根據Key取得BasicData對應的資料\r\n */\r\nexport const GetBasicData = async (key) => {\r\n if (IsNullOrEmpty(basicData[key].get())) {\r\n await loadBasicData();\r\n }\r\n return basicData[key].get();\r\n}\r\n\r\n/**\r\n * @function loadBasicData\r\n * @description 透過api取得BasicData的值\r\n */\r\nexport const loadBasicData = async () => {\r\n let response = await api.Get(getGlobalServerConfig().backEndUrl.get() + 'Login/LoadBasic', null, null, false);\r\n if (response.ok) {\r\n let result = await response.json();\r\n basicData.userId.set(result.USER_ID);\r\n basicData.orgId.set(result.ORG_ID);\r\n basicData.email.set(result.EMAIL);\r\n basicData.roles.set(result.ROLES);\r\n basicData.userType.set(result.USR_TYPE);\r\n basicData.allRoles.set(result.AllROLES);\r\n }\r\n}\r\n\r\n/**\r\n * @description 供全域使用的參數\r\n */\r\nexport const ServerConfig = {\r\n // @ts-ignore\r\n backEndUrl: process.env.REACT_APP_API_URL,\r\n /**@type {boolean} */\r\n cacheSettingLoaded: false,\r\n /**@type {number} */\r\n cacheExpire: 0,\r\n pagesize: 20\r\n}\r\n\r\nconst Route = {\r\n history: null\r\n}\r\n\r\nexport const SetHistory = history => {\r\n Route.history = history\r\n}\r\n\r\nexport const GetHistory = () => {\r\n return Route.history;\r\n}\r\n\r\nexport const Pageable = {\r\n buttonCount: 5,\r\n info: true,\r\n /**@type {object} */\r\n type: 'numeric',\r\n // 若需客製page下拉選單,請提供array,反之:設定為true\r\n pageSizes: [5, 10, 20, 50, 100],//true,\r\n previousNext: true\r\n}\r\n\r\nexport const defaultFormat = 'tYY/MM/DD'\r\n\r\nexport const defaultSignInStatusSettings = {\r\n signInStatus: false,\r\n setSignInStatus: () => { },\r\n}\r\n\r\nexport const SignInStatusContext = createContext(defaultSignInStatusSettings);\r\nexport const SignInStatusProvider = props => {\r\n const [signInStatus, setVisible] = useState(defaultSignInStatusSettings.signInStatus);\r\n\r\n const setSignInStatus = async () => {\r\n setVisible(await CacheLoader().LoadCache());\r\n };\r\n\r\n return (\r\n \r\n {props.children}\r\n \r\n )\r\n}\r\n\r\n//#region 是否有頁首頁尾\r\nexport const defaultHeaderFooterStatusSettings = {\r\n headerFooterStatus: false,\r\n setHeaderFooterStatus: (e) => { },\r\n}\r\nexport const HeaderFooterContext = createContext(defaultHeaderFooterStatusSettings);\r\nexport const HeaderFooterStatusProvider = props => {\r\n const [headerFooterStatus, setVisible] = useState(defaultHeaderFooterStatusSettings.headerFooterStatus);\r\n\r\n const setHeaderFooterStatus = async (value) => {\r\n setVisible(value);\r\n };\r\n\r\n return (\r\n \r\n {props.children}\r\n \r\n )\r\n}\r\n//#endregion \r\n\r\nexport const getCookieSetOptions = (path, expires) => {\r\n let cookieOptions = {\r\n path: path,\r\n expires: expires,\r\n secure: process.env.REACT_APP_COOKIE_SECURE === 'true' ? true : false\r\n }\r\n // new Date(Date.now() - 1)\r\n\r\n return cookieOptions;\r\n}\r\n\r\n/**\r\n * menuIcons清單\r\n * @returns \r\n */\r\nexport const menuIcons =\r\n{\r\n \"PLAN\": menuIcon01, // 計畫填報\r\n \"REVIEW\": menuIcon02, // 計畫審查\r\n \"SEARCH\": menuIcon03, // 查詢\r\n \"DECISION\": menuIcon04, // 決策分析\r\n \"SETTING\": menuIcon05, // 設定\r\n \"DASHBOARD\": menuIcon06, // 儀表板\r\n};\r\n\r\n/**\r\n * True or False\r\n */\r\nexport const withOrWithoutData = [\r\n {\r\n label: \"無\",\r\n value: false\r\n },\r\n {\r\n label: \"有\",\r\n value: true\r\n }\r\n]","export default \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAALCAYAAAB24g05AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGJSURBVChTXZLPK0RRFMfffWPFi9U8v1aSLIgiKQulFAsKJc1GlA2SlbWs2FkiW01hxX9gMagpLGRjEjVkgXjM1OO9d33OmzsLbn18v+fc8+459w5lmaW1VlCJ7UZTSql+tKa0az3ij23bPiR/D98mX1psJqIoagvDcBv9IC6vSeJp4zX+LgiCJc/zkoRxc1sMtMIacT16BXEH1OWjpPEF5IEpOh3HmcBXS96ioIrOm+DhVykcxOfwsq7hhriI7vm+38G+g19mkgW8kgO64JlARryleFdiiEzuh9wROg7z0ACzIE1a5ApjDFJBkMHLUFPg8lDxHcldYnewQ9AOjeRm0Ca+SckEZ3AKvYwlHZ4o0HQN8CfQh19HMzCC30ILpiZr8ecFPqUAPZdN9B2VkeURF4nzHL4i9ybOQ3w98l9ywJsE5EIIxLM28LXs7YMH8gbDIFPEH8siX1TEo9ynB+KfVJQ7p6GZ+AAtonPkX2EAnyAnjxVCtvwf+Ac2JF/H4Tm6XKCuyf2r1eoXCfTfDFUn9CsAAAAASUVORK5CYII=\"","import React from 'react'\r\nimport { FormatDate, IsNullOrEmpty } from \"../../../Basic/SDOExtension\";\r\n\r\n/**\r\n * 總期程/分月期程調整歷程\r\n * @param {array} historyList 歷程資料\r\n * @param {string} scheType 調整類別 Y: 總期程調整、M: 分月期程調整\r\n * @returns \r\n */\r\nexport const adjustHistory = (historyList, scheType) => {\r\n if (IsNullOrEmpty(historyList)) {\r\n return null;\r\n }\r\n return (\r\n historyList.map(history => {\r\n if (scheType == \"Y\" && history.SCHE_TYPE == scheType) {\r\n return (\r\n
  • \r\n {\"第\" + history.SEQ + \"次:\" +\r\n \"原定\" + (IsNullOrEmpty(history.ORI_ESTIMATED_ENDDATE) ? '' : FormatDate(history.ORI_ESTIMATED_ENDDATE)) + \"完成,\" +\r\n \"調整至\" + (IsNullOrEmpty(history.ADJ_LAST_DATE) ? '' : FormatDate(history.ADJ_LAST_DATE)) +\r\n \"(核准日期:\" + (IsNullOrEmpty(history.APPRV_DATE) ? '' : FormatDate(history.APPRV_DATE)) + \")。\" +\r\n \"調整原因:\" + (IsNullOrEmpty(history.REASON) ? '' : history.REASON)\r\n }\r\n
  • \r\n )\r\n }\r\n else if (scheType == \"M\" && history.SCHE_TYPE == scheType) {\r\n return (\r\n
  • \r\n {\"第\" + history.SEQ + \"次:\" +\r\n (IsNullOrEmpty(history.ADJ_LAST_DATE) ? '' : FormatDate(history.ADJ_LAST_DATE)) +\r\n \"(核准日期:\" + (IsNullOrEmpty(history.APPRV_DATE) ? '' : FormatDate(history.APPRV_DATE)) + \")。\" +\r\n \"調整原因:\" + (IsNullOrEmpty(history.REASON) ? '' : history.REASON)\r\n }\r\n
  • \r\n )\r\n }\r\n return null;\r\n })\r\n )\r\n}","import React from 'react';\r\nimport { Error } from '@progress/kendo-react-labels';\r\nimport { DropDownList } from '@progress/kendo-react-dropdowns';\r\n\r\n\r\nexport const DropDownListWithValue = (props) => {\r\n\r\n const isPresent = value => value !== null && value !== undefined;\r\n const itemFromValue = (value) => {\r\n const { data = [], dataItemKey } = props;\r\n let selectedData = data.find(item => item[dataItemKey] === value);\r\n return isPresent(selectedData) ?\r\n selectedData : value;\r\n }\r\n\r\n const events = {\r\n onBlur: event => triggerEvent('onBlur', event),\r\n onFocus: event => triggerEvent('onFocus', event),\r\n onChange: event => triggerEvent('onChange', event),\r\n onPageChange: event => triggerEvent('onPageChange', event),\r\n onFilterChange: event => triggerEvent('onFilterChange', event)\r\n };\r\n\r\n const triggerEvent = (eventType, event) => {\r\n if (props[eventType]) {\r\n props[eventType].call(undefined, {\r\n ...event,\r\n target: getValue(event)\r\n })\r\n }\r\n }\r\n\r\n const getValue = (event) => {\r\n let value = event.target.value\r\n return {\r\n ...event.target,\r\n value: isPresent(value) ? value[props.dataItemKey] : value,\r\n text: isPresent(value) ? value[props.textField] : value\r\n };\r\n }\r\n\r\n return (\r\n
    \r\n \r\n {{props.error}}\r\n
    \r\n )\r\n}","export default __webpack_public_path__ + \"static/media/fa-angle-down_White.d0454d6e.png\";","export default __webpack_public_path__ + \"static/media/fa-angle-up_hover.6d8e9311.png\";","import React from 'react';\r\nimport { Reveal } from '@progress/kendo-react-animation';\r\nimport angleDownIcon from '../../Css/icon/blue/fa-angle-down_White.png';\r\nimport angleUpIcon from '../../Css/icon/blue/fa-angle-up_hover.png';\r\n\r\nconst CollapseBoardCard = (props) => {\r\n const { initValue, title, button, titleStyle, children, setValue, isFirstArea } = props;\r\n\r\n const [visible, setVisible] = React.useState(initValue === undefined || initValue ? true : false);\r\n const [visibleStyle, setVisibleStyle] = React.useState(initValue === undefined || initValue ? {} : { display: 'none' });\r\n\r\n const openMenu = () => {\r\n setVisible(!visible);\r\n setVisibleStyle(visible ? { display: 'none' } : {});\r\n\r\n if (setValue !== undefined) {\r\n setValue(!visible);\r\n }\r\n }\r\n\r\n React.useEffect(() => {\r\n if (initValue !== undefined) {\r\n setVisible(initValue);\r\n setVisibleStyle(initValue ? {} : { display: 'none' });\r\n }\r\n }, [initValue])\r\n\r\n return (\r\n
    \r\n {\r\n button &&\r\n
    {button}
    \r\n }\r\n

    \r\n {title}\r\n \"\"\r\n

    \r\n \r\n
    {children}
    \r\n \r\n
    \r\n )\r\n}\r\n\r\nexport default CollapseBoardCard;","import React, { createContext, useState } from \"react\";\r\n\r\n\r\nexport const defaultPageIndex = {\r\n pageIndex: '.0',\r\n changePageIndex: () => { },\r\n}\r\nexport const PageIndexContext = createContext(defaultPageIndex);\r\n\r\nexport const ChapterPageIndexProvider = props => {\r\n\r\n const [pageIndex, setPageIndex] = useState(defaultPageIndex.pageIndex)\r\n\r\n // 切換頁籤\r\n const changePageIndex = async (index) => {\r\n setPageIndex(index);\r\n };\r\n\r\n const defaultValue = {\r\n pageIndex,\r\n changePageIndex\r\n }\r\n\r\n return (\r\n \r\n {props.children}\r\n \r\n )\r\n}\r\n","import { api } from '../../../Basic/ApiFetch';\r\nimport { getGlobalServerConfig } from '../../../Route/RootMiddleware';\r\nimport * as Yup from 'yup';\r\nimport { IsNullOrEmpty } from '../../../Basic/SDOExtension';\r\n\r\nlet APIUrl = getGlobalServerConfig().backEndUrl.get();\r\n\r\n/**\r\n * 取得自訂檢核點\r\n * @param {*} CheckPointClassId \r\n * @returns \r\n */\r\nexport const loadCusItem = async (CheckPointClassId) => {\r\n let url = APIUrl + 'SetParam/GetCusChkItem';\r\n let formData = new FormData();\r\n formData.append('CHK_POINT_CLASS_ID', CheckPointClassId);\r\n formData.append('forSettings', false);\r\n let response = await api.Post(url, formData, new Headers(), false);\r\n let result = [];\r\n if (response.ok) {\r\n result = await response.json();\r\n }\r\n return result;\r\n}\r\n\r\n/**\r\n * 取得執行方式\r\n * @param {*} cpKind \r\n * @param {*} isShowDel \r\n * @returns \r\n */\r\nexport const loadCheckPoint = async (cpKind, isShowDel) => {\r\n let url = APIUrl + 'SetParam/GetCodeCheckpoint';\r\n let formData = new FormData();\r\n formData.append('CP_KIND', cpKind);\r\n formData.append('isShowDel', isShowDel);\r\n let response = await api.Post(url, formData, new Headers(), false);\r\n let result = [];\r\n if (response.ok) {\r\n result = await response.json();\r\n if (result.length > 0) {\r\n result.unshift({ CHECKPOINT_CLASS_ID: \"\", CHECKPOINT_CLASS: '請選擇' })\r\n }\r\n }\r\n return result;\r\n}\r\n\r\n/**\r\n * 取得檢核點設定資料\r\n * @param {*} id 列管編號 PROJECT_NO 或 PROJ_ADJ_ID \r\n * @param {*} type 取哪裡的資料,無: 主檔,\"adjust\": 調整檔\r\n * @returns \r\n */\r\nexport const loadFormData = async (id, type = null) => {\r\n let url = APIUrl + 'Project/GetProjectCheckpoint';\r\n if (type == \"adjust\") {\r\n url = APIUrl + 'ProjectAdjust/GetAdjustCheckPoint';\r\n }\r\n\r\n let response = await api.Post(url, JSON.stringify(id), null, false);\r\n let result = null;\r\n if (response.ok) {\r\n result = await response.json();\r\n }\r\n return result;\r\n}\r\n\r\n/**\r\n * 存取檢核點設定資料\r\n * @param {*} requestData\r\n * @param {*} type 存到哪裡的資料,無: 主檔,\"adjust\": 調整檔\r\n * @returns \r\n */\r\nexport const saveData = async (requestData, type = null) => {\r\n let url = APIUrl + 'Project/SaveProjectCheckpoint';\r\n if (type == \"adjust\") {\r\n url = APIUrl + 'ProjectAdjust/SetAdjustCheckPoint';\r\n }\r\n\r\n let response = await api.Post(url, JSON.stringify(requestData), null);\r\n let result = null;\r\n if (response.ok) {\r\n result = await response.json();\r\n }\r\n return result;\r\n}\r\n\r\n/**\r\n* 驗證\r\n*/\r\nexport const validataHelper = Yup.object().shape({\r\n CHECKITEM_NAME: Yup.string().required('此欄位為必填'),\r\n PROGRESS: Yup.number()\r\n .max(100, '不得超過100')\r\n .required('此欄位為必填'),\r\n ESTIMATED_ENDDATE: Yup.string().required()\r\n});\r\n\r\n/**\r\n * 存檔驗證\r\n * @param {*} formData 表格資料 \r\n * @param {*} sortedData Grid資料\r\n * @param {*} checkpoint 執行方式\r\n * @returns 錯誤訊息\r\n */\r\nexport const checkDataValid = async (formData, sortedData, checkpoint) => {\r\n // 檢查是否有選擇執行方式\r\n if (IsNullOrEmpty(checkpoint)) {\r\n return \"請選擇執行方式\";\r\n }\r\n\r\n // 若為工程類,檢查自訂檢核點是否均在\"開工檢核點之前\"\r\n if (formData.CP_KIND === '0') {\r\n // 開工檢核點進度\r\n let startWorkProgress = sortedData.find(x => x.CTRL_POINT === 'A').PROGRESS;\r\n if (sortedData.find(x => (x.IS_NEW || x.CHECKITEM_SEQ === 0) && x.editType !== 3 && x.PROGRESS >= startWorkProgress)) {\r\n return \"自訂檢核點需要在開工之前\";\r\n }\r\n }\r\n\r\n return \"\";\r\n}\r\n\r\n\r\n/**\r\n * 物件轉換,轉成可存檔Model對應欄位\r\n * @param {*} projectNo 列管編號\r\n * @param {*} dataList 待轉換資料\r\n * @param {*} checkItemColName 檢核點名稱DB欄位\r\n * @param {*} projStartDate 計畫開始日期 (用於計算第一項檢核點所需時間)\r\n * @returns \r\n */\r\nexport const changeCheckItemDateModel = (projectNo, dataList, checkItemColName, projStartDate = null) => {\r\n // 一天的毫秒數\r\n const oneDay = 24 * 60 * 60 * 1000; // hours*minutes*seconds*milliseconds\r\n\r\n return dataList.map((d, index) => {\r\n let estimateEndDate = d.ESTIMATED_ENDDATE === undefined || d.ESTIMATED_ENDDATE === null ? '' : new Date(d.ESTIMATED_ENDDATE);\r\n let diffDays = 0;\r\n let diffMonth = 0;\r\n // 計算所需時間(月)\r\n if (projStartDate != null) {\r\n // 計算第一項檢核點所需時間是以計畫開始日期為基準\r\n let previousDate = projStartDate;\r\n if (index !== 0) {\r\n previousDate = dataList[index - 1].ESTIMATED_ENDDATE === undefined\r\n ? new Date()\r\n : dataList[index - 1].ESTIMATED_ENDDATE;\r\n }\r\n let currDate = estimateEndDate;\r\n if (!IsNullOrEmpty(estimateEndDate)) {\r\n // @ts-ignore\r\n diffDays = Math.round(Math.abs((new Date(previousDate) - new Date(currDate)) / oneDay));\r\n diffMonth = Math.round((diffDays / 30) * 10) / 10\r\n }\r\n }\r\n\r\n return {\r\n SEQ: checkItemColName === 'NAME' ? 0 : d.SEQ,\r\n PROJECT_NO: projectNo,\r\n // 若來源為設定檔,則該值為設定檔欄位\r\n CHECKITEM_SEQ: checkItemColName === 'NAME' ? d.SEQ.toString() : d.CHECKITEM_SEQ,\r\n CHECKITEM_NAME: d[checkItemColName],\r\n PROGRESS: d.PROGRESS,\r\n ESTIMATED_ENDDATE: estimateEndDate,\r\n ACTUAL_ENDDATE: d.ACTUAL_ENDDATE,\r\n ORI_ESTIMATED_ENDDATE: d.ORI_ESTIMATED_ENDDATE,\r\n IS_DELAY: 0,\r\n diffMonth: diffMonth,\r\n CTRL_POINT: d.CTRL_POINT,\r\n IS_NEW: false,\r\n editType: checkItemColName === 'NAME' ? 1 : 0\r\n }\r\n })\r\n}\r\n\r\n\r\n\r\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"fullWidth\":\"Table_fullWidth__37kj9\",\"textAlign_left\":\"Table_textAlign_left__2Jxp4\",\"textAlign_center\":\"Table_textAlign_center__1yRbj\",\"break_spaces\":\"Table_break_spaces__NCTZB\",\"textAlign_right\":\"Table_textAlign_right__YeXNY\",\"addRedStar\":\"Table_addRedStar__1d21c\",\"gridTable\":\"Table_gridTable__MKvSm\",\"h3\":\"Table_h3__3kIuZ\",\"h4\":\"Table_h4__12S-S\",\"formStatusTable\":\"Table_formStatusTable__5UKQ9\",\"title\":\"Table_title__R_TOT\",\"SECTION_LEVEL2\":\"Table_SECTION_LEVEL2__a1_8B\",\"underline\":\"Table_underline__3e1in\",\"IsDone\":\"Table_IsDone__31YKy\",\"IsNotDone\":\"Table_IsNotDone__3B0eO\",\"customTable\":\"Table_customTable__2E2uG\",\"gridTextCenter\":\"Table_gridTextCenter__1IKlO\",\"floatErrorMsg\":\"Table_floatErrorMsg__3yZZC\"};","import { GetSetParam, getPlanYearList, getOrganList, getCodeTownByCityId } from \"../../../Basic/CommonService\";\r\nimport { api } from '../../../Basic/ApiFetch';\r\nimport { getGlobalServerConfig } from '../../../Route/RootMiddleware';\r\nimport { IsNullOrEmpty } from \"../../../Basic/SDOExtension\";\r\nimport * as Yup from 'yup';\r\n\r\nlet APIUrl = getGlobalServerConfig().backEndUrl.get();\r\n\r\n/**\r\n * 取得計畫基本資料下拉清單\r\n * @returns \r\n */\r\nexport const getAllDropDowns = async () => {\r\n let responses = await Promise.all([\r\n // 取得相關審查 \r\n GetSetParam(\"COM_REVIEWITEM\", \"\", true),\r\n // 取得機關\r\n getOrganList(),\r\n // 辦理地點\r\n getCodeTownByCityId(\"H\", \"\", true)\r\n ])\r\n //responses轉Json\r\n let responsesJson = responses.map(res => res.json());\r\n let result = await (Promise.all(responsesJson));\r\n\r\n // 機關\r\n result[1].unshift({ text: \"請選擇機關\", value: \"\" });\r\n // 辦理地點\r\n result[2].unshift({ text: \"請選擇\", value: \"\" });\r\n return result;\r\n}\r\n\r\nexport const getBudgetSourceAllDropDowns = async () => {\r\n let responses = await Promise.all([\r\n // 取得計畫年度\r\n getPlanYearList(true, 10, \"A\"),\r\n // 預算類型\r\n GetSetParam('BUDGETCLASS', '', true),\r\n // 中央預算來源 \r\n getCodePlanItem('2'),\r\n // 本府預算來源 \r\n getCodePlanItem('1')\r\n ])\r\n //responses轉Json\r\n let responsesJson = responses.map(res => res.json());\r\n let result = await (Promise.all(responsesJson));\r\n\r\n // 計畫年度\r\n result[0].unshift({ text: \"請選擇\", value: \"\" });\r\n // 預算類型\r\n result[1].unshift({ SET_VALUE: \"請選擇\", SET_TYPE: \"\" });\r\n // 中央預算來源\r\n result[2].unshift({ PLAN_ITEM_NAME: \"請選擇\", PLAN_ITEM_ID: \"\" });\r\n // 本府預算來源\r\n result[3].unshift({ PLAN_ITEM_NAME: \"請選擇\", PLAN_ITEM_ID: \"\" });\r\n return result;\r\n}\r\n\r\n/**\r\n * 取得預算來源\r\n * @param {*} levelMark 1:本府預算、2:中央部會\r\n * @returns \r\n */\r\nexport const getCodePlanItem = async (levelMark) => {\r\n let url = APIUrl + 'SetParam/GetCodePlanItem';\r\n let form = new FormData();\r\n form.append('LEVEL_MARK', levelMark);\r\n form.append('DEL_FLG', false);\r\n let response = await api.Post(url, form, new Headers(), false);\r\n return response;\r\n}\r\n\r\n/**\r\n * 取得建設項目類別&建設類別\r\n * @returns \r\n */\r\nexport const getBuildKindList = async () => {\r\n let responses = await Promise.all([\r\n // 取得建設項目類別 \r\n GetSetParam('BUILD_KIND_TYPE', '', true),\r\n // 取得建設類別 \r\n GetSetParam('COM_PLANKIND', '', true),\r\n ])\r\n //responses轉Json\r\n let responsesJson = responses.map(res => res.json());\r\n let result = await (Promise.all(responsesJson));\r\n\r\n result = dataConvert(result, \"\");\r\n\r\n return result;\r\n}\r\n\r\n/**\r\n * 資料轉換\r\n * @param {*} data \r\n * @returns \r\n */\r\nconst dataConvert = (data) => {\r\n return data.map(item =>\r\n item.map(x => {\r\n const result = { label: x.SET_VALUE, value: x.SET_TYPE }\r\n return result;\r\n })\r\n );\r\n}\r\n\r\n/**\r\n * 取得計畫基本資料(含計畫基本資料、計畫經費來源、計畫建設類別、計畫協辦機關)\r\n * @param {*} projectNo 列管編號\r\n * @param {*} projAdjId 調整流水號\r\n * @returns \r\n */\r\nexport const getProjectBasicFill = async (projectNo, projAdjId) => {\r\n let url = APIUrl + 'Project/GetProjectBasicFill';\r\n let response = null;\r\n if (projAdjId) {\r\n url = APIUrl + 'ProjectAdjust/GetProjectBasicAdj';\r\n let form = new FormData();\r\n form.append('PROJECT_NO', projectNo);\r\n form.append('PROJ_ADJ_ID', projAdjId);\r\n response = await api.Post(url, form, new Headers(), false);\r\n }\r\n else {\r\n response = await api.Post(url, JSON.stringify(projectNo ?? \"\"), null, false);\r\n }\r\n let result = 0;\r\n if (response.ok) {\r\n result = await response.json();\r\n }\r\n const { BUDGET_HOLD_ORGAN_C } = result.ProjectBasic\r\n\r\n // 代辦機關是否使用\r\n result.ProjectBasic.BUDGET_HOLD_IS_ENABLE = IsNullOrEmpty(BUDGET_HOLD_ORGAN_C) ? false : true\r\n\r\n if (result.ProjectBudgetSourceG != null && result.ProjectBudgetSourceG.length > 0) {\r\n result.ProjectBudgetSourceG.forEach(x => {\r\n x.disabled = IsNullOrEmpty(x.PLAN_ITEM_C);\r\n });\r\n }\r\n\r\n return result;\r\n}\r\n\r\n/**\r\n * 儲存計畫基本資料(含計畫基本資料、計畫經費來源、計畫建設類別、計畫協辦機關)\r\n * @param {*} data \r\n * @param {*} isAdj 存到哪裡的資料,false: 主檔,true: 調整檔\r\n * @returns \r\n */\r\nexport const saveProjectBasicAdd = async (data, isAdj) => {\r\n let result = null;\r\n let url = APIUrl + 'Project/SaveProjectBasicAdd';\r\n if (isAdj) {\r\n url = APIUrl + 'ProjectAdjust/SetProjectBasicAdj';\r\n }\r\n let response = await api.Post(url, JSON.stringify(data), null, false);\r\n if (response.ok) {\r\n result = await response.json();\r\n }\r\n return result;\r\n}\r\n\r\n//#region 存檔驗證\r\nYup.setLocale({\r\n //設定必填欄位顯示的訊息\r\n mixed: {\r\n required: \"此欄位必填\",\r\n }\r\n});\r\n\r\n/**\r\n * 欄位驗證\r\n */\r\nexport const validateBasicField = Yup.object().shape({\r\n PROJECT_NAME: Yup.string().nullable()\r\n .when('PROJECT_NO', { is: (PROJECT_NO) => IsNullOrEmpty(PROJECT_NO), then: Yup.string().required() }),\r\n PROJECT_YEAR: Yup.string().required(),\r\n EXEC_ORGAN_C: Yup.string().nullable()\r\n .when('PROJECT_NO', { is: (PROJECT_NO) => IsNullOrEmpty(PROJECT_NO), then: Yup.string().required() }),\r\n EXEC_UNDERTAKER_C: Yup.string().nullable()\r\n .when('PROJECT_NO', { is: (PROJECT_NO) => IsNullOrEmpty(PROJECT_NO), then: Yup.string().required() }),\r\n BUDGET_HOLD_ORGAN_C: Yup.string().nullable()\r\n .when(['BUDGET_HOLD_IS_ENABLE'],\r\n {\r\n is: (BUDGET_HOLD_IS_ENABLE) => BUDGET_HOLD_IS_ENABLE,\r\n then: Yup.string().required()\r\n }),\r\n BUDGET_HOLD_UNDERTAKER_C: Yup.string().nullable()\r\n .when(['BUDGET_HOLD_ORGAN_C'],\r\n {\r\n is: (BUDGET_HOLD_ORGAN_C) =>\r\n !IsNullOrEmpty(BUDGET_HOLD_ORGAN_C),\r\n then: Yup.string().required()\r\n }),\r\n TOWN_M: Yup.string().nullable()\r\n .when(['TOWN_C'], {\r\n is: (TOWN_C) =>\r\n TOWN_C == \"H01\",\r\n then: Yup.string().required()\r\n }),\r\n ALL_JOB: Yup.string().nullable().max(1000, '字數限制1000字以內'),\r\n PROJECT_BENEFIT: Yup.string().nullable().max(1000, '字數限制1000字以內'),\r\n MEMO: Yup.string().nullable().max(500, '字數限制500字以內'),\r\n PROJECT_LOCATION: Yup.string().nullable().max(200, '字數限制200字以內'),\r\n});\r\n\r\n// GRID資料驗證\r\nexport const validataSourceGField = Yup.object().shape({\r\n PLAN_YEAR: Yup.string().required(),\r\n BUDGET_CLASS: Yup.string().required().nullable(),\r\n PLAN_ITEM_C: Yup.string().nullable()\r\n .test(\r\n 'PLAN_ITEM_C',\r\n '此欄位必填',\r\n function (item) {\r\n if (this.parent.BUDGET_CLASS === \"1\") {\r\n return !IsNullOrEmpty(item)\r\n } else {\r\n return true\r\n }\r\n }\r\n ),\r\n BUDGET_CENTRAL: Yup.number().nullable(),\r\n PLAN_ITEM_L: Yup.string().nullable(),\r\n BUDGET_LOCAL: Yup.number().nullable(),\r\n //核定函檔案\r\n FILE: Yup.array().nullable()\r\n .test(\r\n 'BuildKindValid',\r\n '為前瞻預算,請上傳檔案',\r\n function (item) {\r\n if (this.parent.BUDGET_CLASS === \"1\") {\r\n return !IsNullOrEmpty(item) && item.find(x => x.editType != 3)\r\n } else {\r\n return true\r\n }\r\n }\r\n )\r\n});\r\n//#endregion \r\n\r\nexport const undertakerType = {\r\n //主管機關\r\n MASTER: 1,\r\n\r\n //執行機關\r\n EXEC: 2,\r\n\r\n //協辦機關\r\n ASSISTANT: 3,\r\n\r\n //代辦機關\r\n BUDGET_HOLD: 4\r\n}","//*****共用的method工具*****\r\n\r\nimport { defaultFormat, GetHistory } from './BasicData';\r\nimport moment from 'moment-taiwan';\r\nimport * as React from 'react';\r\nimport { getGlobalServerConfig } from '../Route/RootMiddleware';\r\nimport CacheLoader from './CacheLoader';\r\nimport { screen } from '@testing-library/react';\r\nimport { menuIcons } from '../Basic/BasicData';\r\nimport { SetStorageData } from './CommonService';\r\n\r\n\r\nexport const IsNullOrEmpty = (object) => {\r\n if (object === null || object === undefined)\r\n return true;\r\n if (typeof object === \"string\" && object === '')\r\n return true;\r\n if (typeof object === \"object\" && JSON.stringify(object) === \"[]\")\r\n return true;\r\n return false;\r\n}\r\n\r\n//為陣列資料加上No欄位供Grid顯示\r\n//data:陣列資料\r\n//page?:頁數 ps:從0開始\r\n//pageSize?:每頁筆數\r\nexport const AddNoColumn = (data, page = 0, pageSize = 0) => {\r\n if (!Array.isArray(data) || data.length === 0)\r\n return data;\r\n\r\n if (data[0].hasOwnProperty('NO'))\r\n return data\r\n\r\n let No = 1;\r\n No += page * pageSize;\r\n data.forEach(dataItem => {\r\n Object.defineProperty(dataItem, 'NO', {\r\n value: No++,\r\n writable: true, //可寫\r\n enumerable: true //可被列舉出 \r\n })\r\n })\r\n return data;\r\n}\r\n\r\n\r\nexport const HtmlDecode = text => {\r\n // return text;\r\n // text = text.replace(/

    /gi, '<p>');\r\n // text = text.replace(/<\\/p>/gi, '</p>');\r\n // text = text.replace(/
    /gi, '<br>');\r\n // text = text.replace(//gi, '<br/>');\r\n let temp = document.createElement(\"div\");\r\n temp.innerHTML = text;\r\n let output = temp.innerText || temp.textContent;\r\n temp = null;\r\n // output = output.replace(/<p>/gi, '

    ');\r\n // output = output.replace(/</p>/gi, '

    ');\r\n // output = output.replace(/<br>/gi, '
    ');\r\n // output = output.replace(/<br/>/gi, '
    ');\r\n return output;\r\n}\r\n\r\nexport const SetMaskOnOff = async flag => {\r\n let overlay = document.getElementById(\"globalOverlay\");\r\n if (overlay !== null) {\r\n overlay.className = flag ? \"fullscreen\" : \"hide fullscreen\";\r\n }\r\n}\r\n\r\nexport const FormatDate = (date, format = defaultFormat) => {\r\n /* 常用日期格式:\r\n YYYY-MM-DD e.g. 2020-09-10\r\n YYYY/MM/DD HH:mm:ss e.g. 2020/09/10 10:11:11\r\n tYY/MM/DD e.g. 109/09/10\r\n tYY年MM月DD日 e.g. 109年09月10日\r\n MM月DD日 tYY年 e.g. 09月10日 109年\r\n */\r\n if (IsNullOrEmpty(date))\r\n return null;\r\n return moment(date).format(format);\r\n}\r\n\r\n//機關選單資料轉換(取得Org object value)\r\nexport const GetOrgValue = (data) => {\r\n let value = [];\r\n data.map(item => {\r\n value.push(item.ORG_ID)\r\n return value;\r\n })\r\n return value;\r\n}\r\n\r\nexport const IsFunction = functionToCheck => {\r\n return functionToCheck && {}.toString.call(functionToCheck) === '[object Function]';\r\n}\r\n\r\n/**\r\n * 紀錄GridData的暫存行為,以供增刪修時使用\r\n * @param {*} editedGridData 傳入useRef以進行記錄\r\n * @param {*} item 需增刪的資料\r\n * @param {string} newItemFieldName 供新增資料判定的欄位名\r\n * @param {string} itemFieldName 供舊資料判定的欄位名\r\n */\r\nexport const handleEditedGridData = (editedGridData, item, newItemFieldName, itemFieldName) => {\r\n let hasChange = false;\r\n //如果是新資料\r\n if (item[newItemFieldName] && item.editType === 1) {\r\n //如果hiddenIndex找的到將item覆蓋以更新新增的資料\r\n if (editedGridData.current.some(ei => ei[newItemFieldName] === item[newItemFieldName])) {\r\n let newItems = editedGridData.current.map(ei => ei[newItemFieldName] === item[newItemFieldName] ? item : ei);\r\n editedGridData.current = newItems;\r\n hasChange = true;\r\n } else {//否則紀錄資料\r\n editedGridData.current.push(item);\r\n hasChange = true;\r\n\r\n }\r\n } else if (item.editType === 2) {//更新舊資料\r\n //如果找的到將item覆蓋以更新資料\r\n if (editedGridData.current.some(ei => ei[itemFieldName] === item[itemFieldName])) {\r\n let newItems = editedGridData.current.map(ei => ei[itemFieldName] === item[itemFieldName] ? item : ei);\r\n editedGridData.current = newItems;\r\n hasChange = true;\r\n\r\n }\r\n else {//否則紀錄資料\r\n editedGridData.current.push(item);\r\n hasChange = true;\r\n }\r\n } else if (item.editType === 3) {//刪除\r\n //如果找的到\r\n if (editedGridData.current.some(ei => ei[itemFieldName] === item[itemFieldName] && item[itemFieldName] !== 0)) {\r\n\r\n let newItems = editedGridData.current.map(ei => ei[itemFieldName] === item[itemFieldName] ? item : ei);\r\n editedGridData.current = newItems;\r\n hasChange = true;\r\n }//如果hiddenIndex找的到將新增的紀錄移除\r\n else if (editedGridData.current.some(ei => ei[newItemFieldName] === item[newItemFieldName] && item[itemFieldName] === 0)) {\r\n\r\n let index = editedGridData.current.findIndex(record => record[newItemFieldName] === item[newItemFieldName]);\r\n editedGridData.current.splice(index, 1);\r\n hasChange = true;\r\n } else {\r\n if (!item[newItemFieldName])\r\n editedGridData.current.push(item);\r\n hasChange = true;\r\n }\r\n }\r\n return hasChange;\r\n}\r\n\r\n/**\r\n * 民國年日期驗證規則\r\n */\r\nexport const twDateRegex = new RegExp(/^([0-9]{2}|[0-9]{3})\\/(0[1-9]|1[012])\\/(0[1-9]|[12][0-9]|3[01])$/); //ex:110/06/13\r\n\r\n/**\r\n * 連絡電話驗證規則:\r\n * 1.(2~4碼)1~4碼-4碼\r\n * 2.(2~4碼)1~4碼-4碼#分機\r\n */\r\n// export const telRegex = /\\(\\d{2,4}\\)(?:(?=\\d{1,4}-\\d{4}#)\\d{1,4}-\\d{4}#\\d+$|\\d{1,4}-\\d{4}$)/g;\r\n\r\n/**\r\n * 連絡電話驗證規則:\r\n * 只允許數字、括號及#\r\n */\r\nexport const telRegex = /^[0-9\\#\\(\\)\\/]+$/g;\r\n\r\n/**\r\n * 手機驗證規則:\r\n * 10碼\r\n */\r\nexport const mobileRegex = /\\d{10}$/;\r\n\r\n/**\r\n* 統一編號檢查\r\n* @param {String} regNo 統一編號\r\n* @returns true:符合 false:不符合\r\n*/\r\nexport const regNoVerify = (regNo) => {\r\n // 統一編號數量\r\n let count = 8;\r\n // 邏輯乘數\r\n let multiplier = [1, 2, 1, 2, 1, 2, 4, 1];\r\n // 最後整除值\r\n let lastDivisibleVal = 5;\r\n\r\n // 非數字 or 不是8碼 都是錯誤\r\n if (isNaN(parseInt(regNo)) || regNo.length !== count) {\r\n return false;\r\n }\r\n\r\n let result;\r\n if (parseInt(regNo.charAt(6)) === 7) {\r\n // 統一編號第7位數為\"7\"\r\n result = seventhIsSeven(regNo, count, multiplier, lastDivisibleVal);\r\n }\r\n else {\r\n // 統一編號第7位數非\"7\"\r\n result = seventhIsNotSeven(regNo, count, multiplier, lastDivisibleVal);\r\n }\r\n\r\n return result;\r\n}\r\n\r\n/**\r\n * 第7位數為\"7\"\r\n * @param {*} regNo 統一編號\r\n * @param {*} count 統一編號數量\r\n * @param {*} multiplier 邏輯乘數\r\n * @param {*} lastDivisibleVal 最後整除值\r\n * @returns \r\n */\r\nconst seventhIsSeven = (regNo, count, multiplier, lastDivisibleVal) => {\r\n let total1 = 0;\r\n let total2 = 0;\r\n\r\n for (let i = 0; i < count; i++) {\r\n if (i === 6) {\r\n total1 += 1;\r\n total2 += 0;\r\n }\r\n else {\r\n let val = parseInt(regNo.charAt(i)) * multiplier[i];\r\n let valStr = val.toString();\r\n if (valStr.length > 1) {\r\n for (let j = 0; j < valStr.length; j++) {\r\n total1 += parseInt(valStr.charAt(j));\r\n total2 += parseInt(valStr.charAt(j));\r\n }\r\n }\r\n else {\r\n total1 += val;\r\n total2 += val;\r\n }\r\n }\r\n }\r\n return total1 % lastDivisibleVal === 0 || total2 % lastDivisibleVal === 0;\r\n}\r\n\r\n/**\r\n * 第7位數非\"7\"\r\n * @param {*} regNo 統一編號\r\n * @param {*} count 統一編號數量\r\n * @param {*} multiplier 邏輯乘數\r\n * @param {*} lastDivisibleVal 最後整除值\r\n * @returns \r\n */\r\nconst seventhIsNotSeven = (regNo, count, multiplier, lastDivisibleVal) => {\r\n let total = 0;\r\n for (let i = 0; i < count; i++) {\r\n let val = parseInt(regNo.charAt(i)) * multiplier[i];\r\n let valStr = val.toString();\r\n if (valStr.length > 1) {\r\n for (let j = 0; j < valStr.length; j++) {\r\n total += parseInt(valStr.charAt(j));\r\n }\r\n }\r\n else {\r\n total += val;\r\n }\r\n }\r\n\r\n return total % lastDivisibleVal === 0;\r\n}\r\n\r\nexport const logOut = async () => {\r\n //清除BasicData\r\n getGlobalServerConfig().BasicData.token.set(\"\");\r\n getGlobalServerConfig().BasicData.userId.set(\"\");\r\n getGlobalServerConfig().BasicData.email.set(\"\");\r\n getGlobalServerConfig().BasicData.orgId.set(\"\");\r\n getGlobalServerConfig().BasicData.roles.set([]);\r\n //清除快取\r\n await CacheLoader().DeleteCache();\r\n //導頁導到登入頁面\r\n GetHistory().push('/');\r\n\r\n getGlobalServerConfig().BasicData.isCompDone.set(\"\");\r\n}\r\n\r\n/**\r\n * 設定Menu清單\r\n * @param {*} functionList \r\n * @returns \r\n */\r\nexport const setMenu = (functionList) => {\r\n let count = 0;\r\n\r\n return functionList.map(o => {\r\n //設定menu第一層icon跟className\r\n o.className = `menuIcon0${count}`;\r\n o.imageUrl = menuIcons[o.functionId];\r\n count++;\r\n\r\n if (o.children?.length == 0 && o.function_url !== '')\r\n o.children = null;\r\n return { ...o };\r\n })\r\n}\r\n\r\n/**\r\n * 開啟新視窗\r\n * @param {*} url \r\n * @param {*} name \r\n * @param {*} title 新視窗頁籤名稱\r\n * @param {*} ispopup 是否為開新視窗,否則為開 tab\r\n * @param {*} w 開窗寬度\r\n * @param {*} h 開窗高度\r\n */\r\nexport const openPage = (url, name = \"_blank\", title = \"\", ispopup = false, w = 0, h = 0) => {\r\n let popupSize = \"\";\r\n if (ispopup) {\r\n // Fixes dual-screen position Most browsers Firefox\r\n const dualScreenLeft = window.screenLeft !== undefined ? window.screenLeft : window.screenX;\r\n const dualScreenTop = window.screenTop !== undefined ? window.screenTop : window.screenY;\r\n\r\n const width = window.innerWidth ? window.innerWidth : document.documentElement.clientWidth ? document.documentElement.clientWidth : screen.width;\r\n const height = window.innerHeight ? window.innerHeight : document.documentElement.clientHeight ? document.documentElement.clientHeight : screen.height;\r\n\r\n const systemZoom = width / window.screen.availWidth;\r\n const left = (width - w) / 2 / systemZoom + dualScreenLeft\r\n const top = (height - h) / 2 / systemZoom + dualScreenTop\r\n popupSize = `width=${w / systemZoom}, \r\n height=${h / systemZoom}, \r\n top=${top}, \r\n left=${left}`\r\n }\r\n\r\n const newWindow = window.open(url, name, popupSize);\r\n\r\n if (!IsNullOrEmpty(title)) {\r\n // 更換新分頁title\r\n newWindow.onunload = () => {\r\n setTimeout(() => {\r\n newWindow.document.title = title;\r\n }, 200)\r\n }\r\n }\r\n\r\n if (window.focus) {\r\n newWindow.focus();\r\n }\r\n return newWindow;\r\n}\r\n\r\n/**\r\n * 開啟章節視窗\r\n * @param {*} url \r\n * @param {*} name\r\n * @param {*} title 新視窗頁籤名稱\r\n */\r\nexport const openChapterPage = (url, name, title, storageData) => {\r\n const newWindow = window.open(url, name, \"\");\r\n\r\n if (storageData != null) {\r\n SetStorageData(storageData, \"chapterInfo\", newWindow);\r\n }\r\n\r\n if (!IsNullOrEmpty(title)) {\r\n // 更換新分頁title\r\n newWindow.onunload = () => {\r\n setTimeout(() => {\r\n newWindow.document.title = title;\r\n }, 200)\r\n }\r\n }\r\n\r\n if (window.focus) {\r\n newWindow.focus();\r\n }\r\n}\r\n\r\n/**\r\n * 關閉此頁並回到來源頁\r\n * @param {*} window 傳入視窗\r\n */\r\nexport const closeAndbackToParentWindow = (window) => {\r\n window.opener.name = 'parentWin';\r\n window.open(window.opener.location.href, window.opener.name);\r\n window.opener.focus();\r\n window.close()\r\n}","import { api } from \"../../../Basic/ApiFetch\";\r\nimport { getGlobalServerConfig } from \"../../../Route/RootMiddleware\";\r\nimport { SetStorageData } from \"../../../Basic/CommonService\";\r\nimport { Download } from '../../../Basic/Download';\r\nimport { openPage } from \"../../../Basic/SDOExtension\";\r\n\r\nlet APIUrl = getGlobalServerConfig().backEndUrl.get();\r\n\r\n/**\r\n * 開啟調整內容\r\n * @param {*} item\r\n */\r\nexport const openAdjustContent = async (item) => {\r\n SetStorageData(item, \"printInfo\");\r\n // 同一個計畫只會有一個分頁,用projAdjId當NAME\r\n openPage(process.env.PUBLIC_URL + '/AdjustContent', `Adjust${item.projAdjId.toString()}`, `調整內容(${item.projectNo})`)\r\n}\r\n\r\n/**\r\n * 差異比對結果\r\n * @param {*} model \r\n */\r\nexport const getDiffCompare = async (model) => {\r\n let url = APIUrl + 'RPT/RPTProjectAdjustDiff';\r\n let response = await api.Post(url, JSON.stringify(model));\r\n let result = [];\r\n if (response.ok) {\r\n result = await response.text();\r\n }\r\n return result;\r\n}\r\n\r\n/**\r\n * 下載計畫報表\r\n * @param {*} model \r\n */\r\nexport const downProjectAdjustContent = async (model) => {\r\n let url = APIUrl + 'RPT/RPTProjectAdjustDiff';\r\n Download(url, 'POST', model);\r\n}\r\n","import React from 'react';\r\n\r\nexport const Toolbar = props => {\r\n return(\r\n
    \r\n {props.children}\r\n
    \r\n )\r\n}","import React, { useState, useEffect } from 'react';\r\nimport { IsNullOrEmpty } from './SDOExtension';\r\nimport { Toolbar } from './Toolbar';\r\n\r\nexport const PageContainer = props => {\r\n const { className } = props\r\n const [toolbar, setToolbar] = useState(null);\r\n useEffect(() => {\r\n setToolbar(\r\n \r\n {props.toolbar}\r\n \r\n )\r\n }, [props.toolbar])\r\n\r\n return (\r\n \r\n {toolbar}\r\n {props.children}\r\n \r\n )\r\n}","import * as React from \"react\";\r\nimport { Tooltip } from '@progress/kendo-react-tooltip';\r\n\r\nexport const CommandCell = props => {\r\n return (\r\n \r\n \r\n {props.children}\r\n \r\n \r\n );\r\n};\r\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"title\":\"Utils_title__aG52C\",\"underline\":\"Utils_underline__1m25E\",\"red\":\"Utils_red__3JxOR\",\"textOverFlow\":\"Utils_textOverFlow__1BreM\",\"gototop\":\"Utils_gototop__22T_b\",\"textBreakLine\":\"Utils_textBreakLine__3g6WL\",\"short_text_ellipsis\":\"Utils_short_text_ellipsis__5w51w\",\"long_text_ellipsis\":\"Utils_long_text_ellipsis__1rxGM\",\"disabled\":\"Utils_disabled__1yFAX\",\"styledList\":\"Utils_styledList__3vjR-\",\"unSelected\":\"Utils_unSelected__1VrU_\",\"selected\":\"Utils_selected__2dPi0\",\"numericTextInput_textAlign_right\":\"Utils_numericTextInput_textAlign_right__1FKQ6\",\"editIcon\":\"Utils_editIcon__3cpxT\",\"editGridCell\":\"Utils_editGridCell__NHZoL\"};","import { api } from \"../../../Basic/ApiFetch\";\r\nimport { getGlobalServerConfig } from \"../../../Route/RootMiddleware\";\r\nimport { getPlanYearList, GetSetParam, SetDelFlgName } from \"../../../Basic/CommonService\";\r\nimport { openChapterPage } from \"../../../Basic/SDOExtension\";\r\nimport { GetBasicData } from '../../../Basic/BasicData';\r\nimport { loadCheckPoint } from \"../ProjectList/ProjectListService\";\r\n\r\nlet APIUrl = getGlobalServerConfig().backEndUrl.get();\r\n\r\n/**\r\n * 調整撤銷狀態預設值 => A01(基本資料調整中)、A03(基本資料調整退回)、B01(期程調整中)、B03(期程調整退回)、W03(撤銷退回)\r\n */\r\nexport const projAwStatusDefaultList = ['A01', 'A03', 'B01', 'B03', 'W03'];\r\n\r\n/**\r\n * 初始篩選條件\r\n */\r\nexport const initQueryData = {\r\n PROJECT_YEAR: 0,\r\n PROJECT_NAME: \"\",\r\n PROJECT_AW_STATUS: [],\r\n PROJECT_NO: \"\",\r\n CP_KIND: \"\",\r\n RUNWAY_C: \"\",\r\n SPEC_NOTE: \"\",\r\n refreshCnt: 0\r\n};\r\n\r\n/**\r\n * 取得計畫列表\r\n * @param {*} requestModel 篩選條件\r\n * @param {boolean} isReturnPromise 是否回傳Promise\r\n * @returns \r\n */\r\nexport const getProjectList = async (requestModel, isReturnPromise = false) => {\r\n let url = APIUrl + 'ProjectAdjust/GetAdjustList';\r\n requestModel = { ...requestModel, IsReview: 0 };\r\n let response = await api.Post(url, JSON.stringify(requestModel), null, false);\r\n if (isReturnPromise) {\r\n return response;\r\n }\r\n if (response.ok) {\r\n return response.json();\r\n }\r\n return [];\r\n}\r\n\r\n/**\r\n * 取得頁面所需資料\r\n * @param {*} requestModel 篩選條件\r\n * @returns \r\n */\r\nexport const getPageData = async (requestModel) => {\r\n let responses = await Promise.all([\r\n // 取得申請項目 \r\n GetSetParam(\"AW_KIND\", \"\", true),\r\n getProjectList(requestModel, true)\r\n ])\r\n //responses轉Json\r\n let responsesJson = responses.map(res => res.json());\r\n let result = await (Promise.all(responsesJson));\r\n\r\n return result;\r\n}\r\n\r\n/**\r\n * 取得所有查詢條件下拉式選單\r\n * @returns \r\n */\r\nexport const getAllDropDowns = async () => {\r\n let responses = await Promise.all([\r\n GetSetParam('PROJECT_AW_STATUS', '', true), // 取得調整撤銷狀態\r\n GetSetParam('CP_KIND', '', true), // 取得執行方式類別\r\n GetSetParam('SPEC_NOTE', '', true, null), // 取得特殊加註\r\n getPlanYearList(true), // 取得計畫年度\r\n ])\r\n //responses轉Json\r\n let responsesJson = responses.map(res => res.json());\r\n let result = await (Promise.all(responsesJson));\r\n if (result) {\r\n //設定停用字眼\r\n SetDelFlgName(result[2]);\r\n //加入預設值請選擇\r\n result = addDefautItem(result);\r\n return result;\r\n } else {\r\n return [];\r\n }\r\n}\r\n\r\n/**\r\n * 加入下拉選單預設值\r\n * @param {array} datas 下拉選單資料\r\n * @returns array\r\n */\r\nexport const addDefautItem = (datas) => {\r\n let newDataList = [];\r\n //加入預設值請選擇\r\n datas.forEach(dropDownData => {\r\n if (dropDownData.length > 0) {\r\n let newDropDownData = [];\r\n // 將下拉清單資料Key,Value固定為Text,Value\r\n if (dropDownData[0].text == undefined || dropDownData[0].value == undefined) {\r\n newDropDownData = dropDownData.map(x => { return { text: x.SET_VALUE, value: x.SET_TYPE } })\r\n } else {\r\n newDropDownData = [...dropDownData];\r\n }\r\n\r\n // 調整撤銷狀態多選不需加入請選擇\r\n if (dropDownData != datas[0])\r\n newDropDownData.unshift({ text: '請選擇', value: \"\" })\r\n newDataList.push(newDropDownData)\r\n }\r\n });\r\n return newDataList;\r\n}\r\n\r\n/**\r\n * 取得執行方式\r\n * @param {*} cpKind 執行方式類別\r\n * @returns \r\n */\r\nexport const getRunWayC = async (cpKind) => {\r\n return await loadCheckPoint(cpKind);\r\n}\r\n\r\n/**\r\n * 取得計畫名稱下拉選單\r\n * @param projName 篩選的計畫名稱\r\n * @returns \r\n */\r\nexport const getProjectNameDropDown = async (projName) => {\r\n let url = APIUrl + 'ProjectList/GetProjectList';\r\n let requestModel = { PROJECT_NAME: projName, PROJECT_STATUS: [\"4\"], isAdjustList: 1 };\r\n let response = await api.Post(url, JSON.stringify(requestModel), null, false);\r\n const orgId = await GetBasicData(\"orgId\");\r\n let result = null;\r\n if (response.ok) {\r\n result = await response.json();\r\n result = result.filter(x => x.EXEC_ORGAN_C == orgId);\r\n }\r\n return result;\r\n}\r\n\r\n/**\r\n * 存檔 新增主辦申請調整計畫\r\n * @returns \r\n */\r\nexport const AddAdujustExec = async (data) => {\r\n let url = APIUrl + 'ProjectAdjust/AddAdujustExec/';\r\n let form = new FormData();\r\n form.append('PROJECT_NO', data.PROJECT_NO);\r\n form.append('AW_KIND', data.AW_KIND);\r\n let response = await api.Post(url, form, new Headers(), false);\r\n let result = null;\r\n if (response.ok) {\r\n result = await response.json();\r\n }\r\n return result;\r\n}\r\n\r\n/**\r\n * 主辦取消調整\r\n * @param {*} PROJECT_NO 列管編號\r\n * @param {*} PROJ_ADJ_ID 調整流水號\r\n * @param {*} AW_KIND 調整項目\r\n * @returns \r\n */\r\nexport const SaveExecCancel = async (PROJECT_NO, PROJ_ADJ_ID, AW_KIND) => {\r\n let url = APIUrl + 'ProjectAdjust/SaveExecCancel/';\r\n let form = new FormData();\r\n form.append('PROJECT_NO', PROJECT_NO);\r\n form.append('PROJ_ADJ_ID', PROJ_ADJ_ID);\r\n form.append('AW_KIND', AW_KIND);\r\n let response = await api.Post(url, form, new Headers(), true);\r\n let result = null;\r\n if (response.ok) {\r\n result = await response.json();\r\n }\r\n return result;\r\n}\r\n\r\n/**\r\n * 開啟章節表(for 調整撤銷用)\r\n * @param {object} item 所需參數 AW_KIND、PROJ_ADJ_ID、PROJECT_NO、PROJECT_NAME\r\n */\r\nexport const openAdjustProjectChapter = async (item) => {\r\n const { funRole, AW_KIND, PROJ_ADJ_ID, PROJECT_NO, PROJECT_NAME, isShowBtn = true } = item;\r\n\r\n let operation = '';\r\n switch (AW_KIND) {\r\n case 'AW01': operation = 'A1'; break;\r\n case 'AW02': operation = 'A2'; break;\r\n case 'AW03': operation = 'A3'; break;\r\n }\r\n\r\n let data = {\r\n funRole: funRole, //功能面向角色\r\n operation: operation,\r\n awKind: AW_KIND,\r\n projAdjId: PROJ_ADJ_ID,\r\n projectNo: PROJECT_NO,\r\n projectName: PROJECT_NAME,\r\n isShowBtn: isShowBtn,\r\n };\r\n\r\n // 開啟章節表(同一個計畫只會有一個分頁,用PROJ_ADJ_ID當NAME)\r\n const url = process.env.PUBLIC_URL + '/ProjectChapter';\r\n openChapterPage(url, PROJ_ADJ_ID, `調整撤銷(${PROJECT_NO})`, data)\r\n}\r\n\r\n/**\r\n * 取得審核結果名稱\r\n * @param {string} reviewResult 審核結果代碼\r\n * @returns \r\n */\r\nexport const getReviewResult = (reviewResult) => {\r\n let reviewResultName = \"\";\r\n switch (reviewResult) {\r\n case 'Y': reviewResultName = \"審核通過\"; break;\r\n case 'N': reviewResultName = \"審核未通過\"; break;\r\n case 'R': reviewResultName = \"退回修正\"; break;\r\n }\r\n return reviewResultName;\r\n}\r\n","import { api } from \"../../../Basic/ApiFetch\";\r\nimport { Download } from \"../../../Basic/Download\";\r\nimport { getGlobalServerConfig } from \"../../../Route/RootMiddleware\";\r\n\r\nlet APIUrl = getGlobalServerConfig().backEndUrl.get();\r\n\r\n/**\r\n * 取得計畫異動記錄清單\r\n * @param {*} \r\n * @returns \r\n */\r\nexport const getProjectLogList = async (projectNo) => {\r\n let url = APIUrl + 'ProjectList/GetProjectLogList';\r\n let response = await api.Post(url, JSON.stringify(projectNo), null, false);\r\n let result = null;\r\n if (response.ok) {\r\n result = await response.json();\r\n }\r\n return result;\r\n}\r\n\r\n/**\r\n * 下載計畫報表\r\n * @param {*} model \r\n */\r\nexport const downcompareDiff = async (model) => {\r\n model.GoogleMapAPIKey = process.env.REACT_APP_GOOGLE_API_KEY;\r\n let url = APIUrl + 'RPT/RPTProjectPrint';\r\n Download(url, 'POST', model);\r\n}\r\n","import React, { useEffect, useState, useRef } from 'react';\r\nimport { Button } from '@progress/kendo-react-buttons';\r\nimport { Grid, GridColumn, GridNoRecords } from '@progress/kendo-react-grid';\r\nimport { Pageable } from '../../../Basic/BasicData';\r\nimport '../../../Css/custom/Grid-Td-WordWrap.css';\r\nimport { downcompareDiff, getProjectLogList } from './ProjectLogListService';\r\nimport { WindowResizehook } from '../../../Hook/useWindowResize';\r\nimport { ExportGrid } from '../../../Basic/Download';\r\nimport { Window } from '@progress/kendo-react-dialogs';\r\nimport { SetMaskOnOff } from '../../../Basic/SDOExtension';\r\nimport { showGlobalMessageBox } from '../../../Route/RootMiddleware';\r\nimport { Checkbox } from '@progress/kendo-react-inputs';\r\nimport { openDiffCompare } from '../../../Basic/CommonService';\r\nconst ProjectLogListWindow = (props) => {\r\n const { visible, projectData: { projectNo, projectName }, onClose } = props\r\n\r\n // gridData\r\n const [gridData, setGridData] = useState([]);\r\n // grid分頁\r\n const [paging, setPaging] = React.useState({ skip: 0, take: 20 });\r\n\r\n const dimensions = WindowResizehook();\r\n\r\n const [isLoaded, setIsLoaded] = useState(false);\r\n\r\n const [checkedLog, setCheckedLog] = useState([]);\r\n\r\n // 匯出Grid資料\r\n const GridDataForExport = React.useRef({ props: {}, Columns: [] })\r\n\r\n const [htmlString, setHtmlString] = useState(\"\");\r\n\r\n // 取得計畫異動紀錄資料\r\n const loadData = async () => {\r\n SetMaskOnOff(true)\r\n let result = await getProjectLogList(projectNo);\r\n\r\n if (result) {\r\n setGridData([...result]);\r\n setIsLoaded(true)\r\n }\r\n setCheckedLog([])\r\n SetMaskOnOff(false);\r\n }\r\n\r\n // checkBox Cell\r\n const checkBoxCell = props => {\r\n const { dataItem, dataItem: { LOG_STATUS_C } } = props;\r\n // 特定狀態才可執行差異比對\r\n // 立案送審/調整審核通過\r\n if (LOG_STATUS_C == '2' || LOG_STATUS_C == 'B07' || LOG_STATUS_C == 'A05' || LOG_STATUS_C == 'B05') {\r\n return (\r\n \r\n x.LOG_ID).includes(dataItem.LOG_ID.toString())}\r\n value={dataItem.LOG_ID.toString()}\r\n onChange={(e) => {\r\n SetChecked(e, dataItem);\r\n }}\r\n />\r\n \r\n )\r\n } else {\r\n return (\r\n \r\n )\r\n }\r\n }\r\n\r\n //將勾選的資料放進checkedPlan\r\n const SetChecked = (e, data) => {\r\n let dataItem = [...checkedLog];\r\n let value = e.target.element.value\r\n if (e.value === true) {\r\n dataItem.push({\r\n LOG_ID: value,\r\n LOG_STATUS_C: data.LOG_STATUS_C\r\n });\r\n }\r\n else {\r\n dataItem = dataItem.filter(x => x.LOG_ID != value)\r\n }\r\n setCheckedLog(dataItem)\r\n }\r\n\r\n // 匯出\r\n const exportPlan = async (extension) => {\r\n GridDataForExport.current.Columns = GridDataForExport.current.Columns.filter(x => x.field != \"LOG_ID\");\r\n ExportGrid(GridDataForExport.current, extension, '計畫異動清單')\r\n }\r\n\r\n\r\n\r\n\r\n /**\r\n * 開啟差異比對結果\r\n */\r\n const diffCompare = () => {\r\n if (checkedLog.length != 2) {\r\n showGlobalMessageBox(\"請勾選2筆項目。\")\r\n return;\r\n } else if (checkedLog.map(x => x.LOG_STATUS_C == \"2\").length != 2) {\r\n showGlobalMessageBox(\"只能勾選 主辦送審。\")\r\n return;\r\n }\r\n\r\n let data = {\r\n projectNo: projectNo,\r\n projectName: projectName,\r\n isDiffCompare: true,\r\n checkedLog: checkedLog.map(x => x.LOG_ID).sort((a, b) => { return a - b; })\r\n }\r\n openDiffCompare(data)\r\n }\r\n\r\n // 關閉視窗\r\n const closeWindow = () => {\r\n setGridData([])\r\n setIsLoaded(false);\r\n onClose();\r\n }\r\n\r\n useEffect(() => {\r\n if (visible)\r\n loadData();\r\n }, [visible])\r\n\r\n\r\n return (\r\n <>\r\n {visible &&\r\n
    \r\n { closeWindow() }}\r\n initialWidth={dimensions.width > 700 ? 1000 : dimensions.width * .8}\r\n initialHeight={dimensions.height > 700 ? 600 : dimensions.height * .9}\r\n draggable={false}\r\n resizable={false}\r\n modal={true}>\r\n {isLoaded &&\r\n <>\r\n
    \r\n \r\n \r\n \r\n
    \r\n {\r\n if (e != null) {\r\n GridDataForExport.current.Columns = e.columns;\r\n GridDataForExport.current.props = e.props;\r\n }\r\n }}\r\n total={gridData.length}\r\n skip={paging.skip}\r\n take={paging.take}\r\n pageable={Pageable}\r\n onPageChange={(e) => setPaging({ skip: e.page.skip, take: e.page.take })}\r\n >\r\n 無資料\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n }\r\n \r\n
    \r\n }\r\n \r\n )\r\n}\r\n\r\nexport default ProjectLogListWindow;","export default __webpack_public_path__ + \"static/media/gototop.f99ea55b.png\";","import * as React from 'react';\r\nimport Util from '../../Css/custom/Utils.module.css';\r\nimport gotoTopPicPath from '../../Images/gototop.png';\r\n\r\n/**\r\n * 回最上面\r\n * @param {*} targetClass \r\n */\r\nexport const scrollTop = (targetClass) => {\r\n document.getElementsByClassName(targetClass)[0].scrollTo({ top: 0, behavior: 'smooth' })\r\n}\r\n\r\n// 回頂端浮動按鈕\r\nconst GotoTopBtn = (props) => {\r\n let { targetClass } = props;\r\n\r\n const [IsVisible, setIsVisible] = React.useState(false);\r\n\r\n\r\n\r\n const toggleVisibility = () => {\r\n let currentY = document.getElementsByClassName(targetClass)[0].scrollTop;\r\n if (currentY > 100) {\r\n setIsVisible(true);\r\n } else {\r\n setIsVisible(false);\r\n }\r\n }\r\n\r\n React.useEffect(() => {\r\n document.getElementsByClassName(targetClass)[0].addEventListener('scroll', toggleVisibility)\r\n }, [])\r\n\r\n return (\r\n <>\r\n {\r\n IsVisible &&\r\n
    scrollTop(targetClass)}>\r\n \r\n \"gotoTop\"\r\n
    TOP
    \r\n
    \r\n
    \r\n }\r\n \r\n )\r\n}\r\n\r\nexport default React.memo(GotoTopBtn)","import { api } from '../../../Basic/ApiFetch';\r\nimport { getGlobalServerConfig } from '../../../Route/RootMiddleware';\r\nimport { GetSetParam } from \"../../../Basic/CommonService\";\r\n\r\nlet APIUrl = getGlobalServerConfig().backEndUrl.get();\r\n\r\n/**\r\n * 取得所有參數資料\r\n * @returns \r\n */\r\nconst getAllDdlData = async () => {\r\n let responses = await Promise.all([\r\n // 原因 \r\n GetSetParam(\"IPCBGTEXECFAILED\", \"\", true),\r\n // 責任歸屬\r\n GetSetParam(\"IPCBGTEXECFAILEDDUTY\", \"\", true),\r\n ])\r\n //responses轉Json\r\n let responsesJson = responses.map(res => res.json());\r\n let result = await (Promise.all(responsesJson));\r\n return result;\r\n}\r\n\r\n/**\r\n * 取得計畫預算執行情形\r\n * @returns \r\n */\r\nconst getProjectFillBudgetExec = async (projectNo) => {\r\n let url = APIUrl + 'ProjectExecute/GetProjectFillBudgetExec';\r\n let response = await api.Post(url, JSON.stringify(projectNo), null, false);\r\n let result = [];\r\n if (response.ok) {\r\n result = await response.json();\r\n }\r\n return result;\r\n}\r\n\r\n/**\r\n * 儲存計畫預算執行情形\r\n * @param {*} model \r\n * @returns \r\n */\r\nconst saveProjectFillBudgetExec = async (model) => {\r\n let url = APIUrl + 'ProjectExecute/SaveProjectFillBudgetExec';\r\n let response = await api.Post(url, JSON.stringify(model), null, false);\r\n let result = null;\r\n if (response) {\r\n result = response.json();\r\n }\r\n return result;\r\n}\r\n\r\nconst bgtExecInitData = {\r\n SEQ: 0,\r\n EXEC_YEAR: \"\",\r\n EXEC_MONTH: \"\",\r\n GT_EXPANDED_BUDGET: 0,\r\n GT_ACT_BUDGET: 0,\r\n GT_AP: 0,\r\n GT_BALANCE: 0,\r\n GT_TOTAL: 0,\r\n GT_EXEC_RATE: 0,\r\n YEAR_BUDGET_EXPANDED: 0,\r\n YEAR_BUDGET_ALLOCATED: 0,\r\n YEAR_EXEC_BUDGET: 0,\r\n YEAR_EXEC_RATE: 0,\r\n EXEC_RATE_FAILED_NOTE: \"\",\r\n EXEC_NOTE: \"\",\r\n FailedMappingData: [],\r\n FailedDutyMappingData: [],\r\n failedSelectedData: [],\r\n dutySelectedData: [],\r\n}\r\n\r\nconst initData = {\r\n // 填報週期\r\n ProjectFillCycle: {},\r\n // 預算執行情形累計執行情形\r\n ProjectBudgetExecute: [],\r\n}\r\n\r\nconst ProjectFillBudgetExecService = {\r\n getAllDdlData: getAllDdlData,\r\n getProjectFillBudgetExec: getProjectFillBudgetExec,\r\n saveProjectFillBudgetExec: saveProjectFillBudgetExec,\r\n initData: initData,\r\n bgtExecInitData: bgtExecInitData,\r\n}\r\nexport default ProjectFillBudgetExecService;","import { getCookieSetOptions } from './BasicData';\r\nimport Cookies from 'universal-cookie';\r\nimport { IsNullOrEmpty } from './SDOExtension';\r\nimport { showGlobalMessageBox, getGlobalServerConfig } from '../Route/RootMiddleware';\r\nimport { handleErrors } from './ApiFetch';\r\n\r\nconst CacheLoader = () => {\r\n const HasCache = () => {\r\n let cookies = new Cookies().getAll();\r\n return cookies.hasOwnProperty('loginCache');\r\n }\r\n\r\n //讀取並寫入Basic.tokne\r\n //return:讀取是否成功\r\n const LoadCache = async () => {\r\n\r\n if (!HasCache())\r\n return false\r\n\r\n let headers = new Headers();\r\n headers.set(\"loginCache\", new Cookies().get('loginCache'));\r\n headers.append('content-type', 'application/json')\r\n let request = new Request(getGlobalServerConfig().backEndUrl.get() + 'Login', {\r\n headers: headers,\r\n credentials: 'include'\r\n })\r\n\r\n let response = await fetch(request);\r\n if (!response.ok)\r\n return false;\r\n\r\n if (!IsNullOrEmpty(response.headers.get('loginCache'))) {\r\n SetCache(response.headers.get('loginCache'));\r\n }\r\n\r\n let loginToken = await response.text();\r\n\r\n if (loginToken === '')\r\n return false;\r\n getGlobalServerConfig().BasicData.token.set(loginToken);\r\n\r\n return true;\r\n }\r\n\r\n /**\r\n * 讀取Cache過期時間\r\n * @returns \r\n */\r\n const LoadCacheExpire = async () => {\r\n let headers = new Headers();\r\n headers.append('content-type', 'application/json')\r\n let request = new Request(getGlobalServerConfig().backEndUrl.get() + 'SystemInfo/GetCacheExpireTime', {\r\n headers: headers\r\n })\r\n let response = await fetch(request)\r\n .then(handleErrors)\r\n .catch(\r\n error => {\r\n showGlobalMessageBox(\"發生伺服器端錯誤,請聯繫管理員。\");\r\n }\r\n );\r\n\r\n if (!response || !response.ok)\r\n return false;\r\n\r\n let cacheExpire = await response.text();\r\n\r\n if (cacheExpire === '')\r\n return false;\r\n\r\n getGlobalServerConfig().cacheSettingLoaded.set(true);\r\n getGlobalServerConfig().cacheExpire.set(parseInt(cacheExpire));\r\n }\r\n\r\n /**\r\n * 設定Cache\r\n * @param {*} loginCache\r\n */\r\n const SetCache = (loginCache) => {\r\n let expires = new Date(Date.now() + (getGlobalServerConfig().cacheExpire.get() * 1000))\r\n localStorage.setItem('timeOut', expires);\r\n\r\n new Cookies().set('loginCache', loginCache, getCookieSetOptions(process.env.REACT_APP_COOKIE_PATH, expires));\r\n }\r\n\r\n /**\r\n * 取得登入狀態\r\n * @returns \r\n */\r\n const GetCache = () => {\r\n return !HasCache() ? '' : new Cookies().get('loginCache');\r\n }\r\n\r\n /**\r\n * 刪除Cache\r\n */\r\n const DeleteCache = async () => {\r\n const loginCache = new Cookies().get('loginCache');\r\n\r\n if (loginCache) {\r\n let url = getGlobalServerConfig().backEndUrl.get() + 'login/DelCache';\r\n // request options\r\n const options = {\r\n method: 'POST',\r\n credentials: 'include',\r\n body: JSON.stringify(loginCache),\r\n headers: {\r\n 'Content-Type': 'application/json',\r\n }\r\n }\r\n\r\n localStorage.removeItem('timeOut');\r\n new Cookies().set('loginCache', '', getCookieSetOptions(process.env.REACT_APP_COOKIE_PATH, new Date(Date.now() - 1)));\r\n\r\n // send POST request\r\n await fetch(url, options)\r\n }\r\n }\r\n\r\n return {\r\n HasCache: HasCache,\r\n LoadCache: LoadCache,\r\n LoadCacheExpire: LoadCacheExpire,\r\n DeleteCache: DeleteCache,\r\n SetCache: SetCache,\r\n GetCache: GetCache\r\n }\r\n}\r\n\r\nexport default CacheLoader; ","import React from 'react';\r\n\r\n// 多行輸入框:純顯示不可編輯,需有換行效果\r\nconst TextAreaWrapInput = (props) => {\r\n return (\r\n \r\n {props.value}\r\n \r\n )\r\n}\r\nexport default React.memo(TextAreaWrapInput)","//*****下載*****\r\n\r\nimport { apiFetch, api } from './ApiFetch';\r\nimport { showGlobalMessageBox, getGlobalServerConfig } from '../Route/RootMiddleware';\r\nimport { saveAs } from '@progress/kendo-file-saver';\r\n\r\n/**\r\n * 下載檔案\r\n * @typedef {string} controller\r\n * @typedef {string} act\r\n * @typedef {object} form\r\n * @prop {controller} controller\r\n * @prop {act} action\r\n * @prop {form} formdata\r\n */\r\nexport const downloadFile = async (backurl, controller, act, form, NonCustomContentType) => {\r\n try {\r\n // let backurl=ServerConfig.backEndUrl;\r\n backurl = backurl == null ? getGlobalServerConfig().backEndUrl : backurl\r\n /* 檔案下載 ajax */\r\n // let request = new Request(backurl+'/'+controller+'/'+act, { method: 'POST', body: form });\r\n // let response = await apiFetch(request, !NonCustomContentType);\r\n let response = await api.Post(backurl + '/' + controller + '/' + act, form, new Headers());\r\n if (response.ok) {\r\n let fileName = decodeURIComponent(response.headers.get(\"content-disposition\")?.split(\"UTF-8''\")[1] ?? 'undefined');\r\n if (fileName != \"\") {\r\n let blob = await response.blob();\r\n if (fileName.toLowerCase().includes(\".pdf\")) {\r\n var file = new Blob([blob], { type: 'application/pdf' });\r\n var fileURL = URL.createObjectURL(file);\r\n window.open(fileURL);\r\n }\r\n else\r\n saveAs(blob, fileName)\r\n // window.open(\"data:application/pdf;base64, \" + base64EncodedPDF);\r\n // saveAs(blob, fileName)\r\n // let href = window.URL.createObjectURL(blob);\r\n // let link = document.createElement('a');\r\n // link.download = fileName;\r\n // link.href = href;\r\n // link.click();\r\n }\r\n else {\r\n showGlobalMessageBox(\"無檔案可下載\");\r\n }\r\n }\r\n }\r\n catch (e) {\r\n console.log(e);\r\n }\r\n}\r\n\r\n/**\r\n * 匯出Grid資料\r\n * @param {*} gridData \r\n * @param {*} format \r\n * @param {*} outputName \r\n */\r\nexport const ExportGrid = async (gridData, format, outputName = '') => {\r\n let columns = [];\r\n gridData.Columns.forEach(item => {\r\n if (item.field != null)\r\n columns.push({ Title: item.title, Field: item.field })\r\n // for 動態欄位查詢,ex:綜合查詢\r\n else if (item.exportTitle != null && item.exportField)\r\n columns.push({ Title: item.exportTitle, Field: item.exportField })\r\n });\r\n let data = gridData.props.exportData;\r\n let obj = { Header: columns, Data: data, Format: format, OutputName: outputName };\r\n Download(getGlobalServerConfig().backEndUrl.get() + 'RPT/ExportGrid', 'POST', obj)\r\n}\r\n\r\n/**\r\n * 下載檔案\r\n * @param {*} url \r\n * @param {*} method \r\n * @param {*} requestBody \r\n * @param {*} headers \r\n */\r\nexport const Download = async (url, method, requestBody = null, headers = null) => {\r\n let response;\r\n if (method === \"GET\") {\r\n response = await api.Get(url);\r\n }\r\n else if (method === \"POST\") {\r\n if (requestBody == null) {\r\n response = await api.Post(url);\r\n }\r\n else if (headers != null) {\r\n response = await api.Post(url, requestBody, headers);\r\n } else {\r\n response = await api.Post(url, JSON.stringify(requestBody));\r\n }\r\n }\r\n\r\n if (response == null || !response.ok) {\r\n showGlobalMessageBox(\"無檔案可下載\");\r\n }\r\n else {\r\n let fileName = decodeURIComponent(response.headers.get(\"content-disposition\")?.split(\"UTF-8''\")[1] ?? 'undefined');\r\n if (fileName !== \"\") {\r\n let blob = await response.blob();\r\n // PDF另開視窗預覽\r\n // if (fileName.toLowerCase().includes(\".pdf\")) {\r\n // var file = new Blob([blob], { type: 'application/pdf' });\r\n // var fileURL = URL.createObjectURL(file);\r\n // window.open(fileURL);\r\n // }\r\n // else\r\n saveAs(blob, fileName);\r\n }\r\n else {\r\n showGlobalMessageBox(\"無檔案可下載\");\r\n }\r\n }\r\n}","/**\r\n * @typedef {{\r\n * visible:any,\r\n * message:any,\r\n * okText:any,\r\n * onOkAction:any\r\n * }} stateConfig\r\n */\r\nimport React from 'react';\r\nimport { Dialog, DialogActionsBar } from '@progress/kendo-react-dialogs';\r\nimport { useState, Downgraded } from '@hookstate/core';\r\nimport { SetMaskOnOff } from '../../Basic/SDOExtension';\r\nexport const messageSettings = {\r\n visible: false, //是否顯示\r\n message: '', //顯示訊息\r\n okText: '確定', //確認按鈕顯示字樣\r\n onOkAction: () => { } //確認事件\r\n}\r\n\r\n/**\r\n * GlobalMessageBox元件\r\n * @component\r\n * @param {object} props\r\n * @param {stateConfig} props.stateConfig\r\n * @description 以globalState做控制的全域訊息框\r\n */\r\nexport const GlobalMessageBox = (props) => {\r\n /**建立scope */\r\n const _globalMessageBoxSettings = useState(props.stateConfig);\r\n _globalMessageBoxSettings.attach(Downgraded);\r\n if (_globalMessageBoxSettings.visible.get())\r\n SetMaskOnOff(false);\r\n return (\r\n
    \r\n {_globalMessageBoxSettings.visible.get() &&\r\n \r\n

    {_globalMessageBoxSettings.message.get()}

    \r\n \r\n \r\n \r\n
    \r\n }\r\n
    \r\n )\r\n}","/**\r\n * @typedef {{\r\n * visible:any,\r\n * message:any,\r\n * okText:any,\r\n * onOkAction:any,\r\n * onCancelAction:any\r\n * }} stateConfig\r\n */\r\nimport React from 'react';\r\nimport { Dialog, DialogActionsBar } from '@progress/kendo-react-dialogs';\r\nimport { useState, Downgraded } from '@hookstate/core';\r\n\r\nexport const ConfirmSettings = {\r\n visible: false, //是否顯示\r\n message: '', //顯示訊息\r\n okText: '確定', //確認按鈕字樣\r\n onOkAction: () => { }, //確認事件\r\n cancelText: '取消', //取消按鈕字樣\r\n onCancelAction: () => { }, //取消事件\r\n}\r\n\r\n\r\n/**\r\n * GlobalMessageBox元件\r\n * @component\r\n * @param {object} props\r\n * @param {stateConfig} props.stateConfig\r\n * @description 以globalState做控制的全域訊息框\r\n */\r\nexport const GlobalConfirmBox = (props) => {\r\n /**建立scope */\r\n const _globalConfirmSettings = useState(props.stateConfig);\r\n _globalConfirmSettings.attach(Downgraded);\r\n return (\r\n
    \r\n {_globalConfirmSettings.visible.get() &&\r\n \r\n

    {_globalConfirmSettings.message.get()}

    \r\n \r\n \r\n \r\n \r\n
    \r\n }\r\n
    \r\n )\r\n}","/**\r\n * @callback requestCallback\r\n */\r\nimport { GlobalMessageBox, messageSettings } from '../Components/Dialogs/GlobalMessageBox';\r\nimport { GlobalConfirmBox, ConfirmSettings } from '../Components/Dialogs/GlobalConfirmBox';\r\nimport { createState } from '@hookstate/core';\r\nimport { getThemeConfig } from '../Basic/ThemeConfig';\r\nimport Cookies from 'universal-cookie';\r\nimport { getCookieSetOptions } from '../Basic/BasicData';\r\nconst ServerConfig = {\r\n Me: \"PMO\",\r\n backEndUrl: process.env.REACT_APP_API_URL,\r\n Bridge_backEndUrl: process.env.REACT_APP_Bridge_API_URL,\r\n /**@type {boolean} */\r\n cacheSettingLoaded: false,\r\n /**@type {number} */\r\n cacheExpire: 0,\r\n /**@type {number} */\r\n countDown: 0,\r\n /**@type {any} */\r\n BasicData: {\r\n token: '',\r\n userId: '',\r\n userName: '',\r\n orgId: '',\r\n orgName: '',\r\n email: '',\r\n userType: '',\r\n roles: [],\r\n allRoles: []\r\n },\r\n defaultPageSize: 20\r\n}\r\n\r\nconst _globalState = {\r\n globalMessageBoxSettings: messageSettings,\r\n globalConfirmBoxSettings: ConfirmSettings,\r\n globalServerConfig: ServerConfig\r\n};\r\n\r\n/**\r\n * 利用hookstate套件管理globaleState \r\n*/\r\nexport const globalState = createState(_globalState);\r\n\r\n/**\r\n * @function showGlobalMessageBox\r\n * @param {string} message 訊息內容\r\n * @param {requestCallback} [callback] 按下確認後回呼的事件\r\n * @description 利用globalState顯示全域訊息框\r\n * @example\r\n * 使用方式1:\r\n * let message=\"訊息\";\r\n * showGlobalMessageBox(message)\r\n * @example\r\n * 使用方式2:\r\n * let message=\"訊息\";\r\n * let callback=()=>{};\r\n * showGlobalMessageBox(message)\r\n * @see globalState 參閱globalState\r\n * @author Peter.Pang \r\n */\r\nexport const showGlobalMessageBox = (message, callback) => {\r\n globalState.globalMessageBoxSettings.visible.set(true);\r\n globalState.globalMessageBoxSettings.message.set(message);\r\n //每次進入都先清除原function\r\n if (typeof (callback) == \"function\")\r\n globalState.globalMessageBoxSettings.onOkAction.set(() => callback);\r\n else\r\n globalState.globalMessageBoxSettings.onOkAction.set(() => { return () => { } });//利用空的function覆蓋\r\n\r\n}\r\n\r\n/**\r\n * @function showGlobalConfirmBox\r\n * @param {string} message 訊息內容\r\n * @param {requestCallback|Promise} [OkActionCallback] 按下確認後回呼的事件\r\n * @param {requestCallback} [OkCancelCallback] 按下取消後回呼的事件\r\n * @description 利用globalState顯示全域確認框\r\n * @example\r\n * 使用方式1:\r\n * let message=\"訊息\";\r\n * showGlobalConfirmBox(message)\r\n * @example\r\n * 使用方式2:\r\n * let message=\"訊息\";\r\n * let OkActionCallback=()=>{};\r\n * let OkCancelCallback=()=>{};\r\n * showGlobalConfirmBox(message,OkActionCallback,OkCancelCallback)\r\n * @see globalState 參閱globalState\r\n * @author Peter.Pang \r\n */\r\nexport const showGlobalConfirmBox = (message, OkActionCallback, OkCancelCallback) => {\r\n globalState.globalConfirmBoxSettings.visible.set(true);\r\n globalState.globalConfirmBoxSettings.message.set(message);\r\n if (typeof (OkActionCallback) == \"function\")\r\n globalState.globalConfirmBoxSettings.onOkAction.set(() => OkActionCallback);\r\n if (typeof (OkCancelCallback) == \"function\")\r\n globalState.globalConfirmBoxSettings.onCancelAction.set(() => OkCancelCallback);\r\n}\r\n\r\n\r\nexport const setGlobalCountDown = (c) => {\r\n globalState.globalServerConfig.countDown.set(c);\r\n}\r\n\r\n\r\nexport const getGlobalServerConfig = () => {\r\n return globalState.globalServerConfig;\r\n}\r\n\r\nexport const resetGlobalServerConfig = () => {\r\n globalState.globalServerConfig.cacheSettingLoaded.set(false);\r\n globalState.globalServerConfig.BasicData.set({\r\n token: '',\r\n userId: '',\r\n userName: '',\r\n orgId: '',\r\n orgName: '',\r\n email: '',\r\n userType: '',\r\n roles: [],\r\n allRoles: []\r\n });\r\n}\r\n\r\n/**\r\n * 切換網站樣式\r\n * @param {string} themeName \r\n */\r\nexport const setTheme = (themeName) => {\r\n let themeConfig = getThemeConfig();\r\n\r\n themeConfig.forEach(t => {\r\n document.documentElement.style.setProperty(`--selected-${t}`, `var(--${themeName}-${t})`);\r\n });\r\n SetThemeCookie(themeName);\r\n}\r\n\r\nexport const getThemeCookie = () => {\r\n let cookies = new Cookies().getAll();\r\n if (cookies.hasOwnProperty('theme'))\r\n return new Cookies().get('theme');\r\n\r\n return null;\r\n}\r\n\r\nconst SetThemeCookie = (themeName) => {\r\n\r\n let cookieExpireDate = new Date();\r\n cookieExpireDate.setDate(cookieExpireDate.getDate() + 30);\r\n new Cookies().set('theme', themeName, getCookieSetOptions(process.env.REACT_APP_COOKIE_PATH, cookieExpireDate));\r\n}\r\n\r\nexport { GlobalMessageBox, GlobalConfirmBox }","export const getThemeConfig=()=>{\r\n let themeConfig=['loginFlex-padding' \r\n ,'loginPanel-bg'\r\n ,'loginPanel-border'\r\n\r\n ,'body-bg' \r\n ,'body-bg-repeat' \r\n ,'body-bg-position'\r\n ,'container-margin'\r\n ,'container-padding'\r\n ,'container-radius'\r\n ,'container-shadow' \r\n ,'fnForm-bg' \r\n ,'header-bg'\r\n ,'header-bg-repeat'\r\n ,'header-bg-position'\r\n ,'header-shadow'\r\n ,'header-color' \r\n ,'button-bg'\r\n ,'button-color'\r\n ,'button-radius'\r\n ,'button-hover-bg'\r\n ,'navOpen-bg'\r\n ,'menu-bg'\r\n ,'menu-bg-repeat' \r\n ,'menu-bg-position'\r\n ,'menu-bg-shadow'\r\n ,'menu-hover-bg'\r\n ,'menu-color'\r\n ,'menu-icon'\r\n ,'menu-arrow' \r\n ,'menu-li-bg'\r\n ,'menu-li-img'\r\n ,'menu-li-padding'\r\n ,'menu-selected-img' \r\n ,'menu-selected-color'\r\n ,'menu-selected-bg'\r\n ,'menu-selected-border'\r\n ,'menu-selected-radius' \r\n ,'menu-selected-arrow'\r\n ,'menu-selected-arrow-size'\r\n ,'menu-padding'\r\n ,'fnbuttons-bg'\r\n ,'fnbuttons-color'\r\n ,'fnbuttons-border'\r\n ,'fnbuttons-shadow'\r\n ,'fnbuttons-hover-bg' \r\n ,'grid-bg'\r\n ,'grid-th-color'\r\n ,'grid-odd-bg'\r\n ,'grid-even-bg' \r\n ,'grid-tr-hover-bg' \r\n ,'grid-tr-hover-color' \r\n ,'grid-numbers-border'\r\n ,'form-th-bg'\r\n ,'form-th-color'\r\n ,'form-td-bg'\r\n ,'form-border'\r\n ,'kdialog-bg'\r\n ,'kdialog-color'\r\n ,'footer-bg'\r\n ,'footer-color'\r\n ,'footer-text'\r\n\r\n \r\n \r\n \r\n \r\n ];\r\n\r\n return themeConfig;\r\n}","\r\n\r\n\r\nimport React from 'react';\r\nimport { Input } from '@progress/kendo-react-inputs';\r\nimport { Error } from '@progress/kendo-react-labels';\r\n\r\nconst TextInput = (props) => {\r\n return (\r\n <>\r\n \r\n \r\n {{props.error}}\r\n \r\n )\r\n}\r\n\r\nexport default React.memo(TextInput)"],"sourceRoot":""}