{"version":3,"sources":["components/CustomEmpty/index.js","components/CircularProgress/index.js","components/UIBuilder/CustomComponent/CustomButton.js","util/Api.js","util/asyncComponent.js","components/AppNotificationContainer/index.js","components/UIBuilder/SectionFunction/JobChecklist.js","util/Auxiliary.js","components/UIBuilder/SectionComponent/DefaultTable/index.js","components/UIBuilder/SectionComponent/DefaultGroupTable/index.js","components/UIBuilder/SectionComponent/JobPagingTable/index.js","components/UIBuilder/SectionComponent/DefaultDiv/index.js","constants/ThemeSetting.js","components/UIBuilder/SectionComponent/JobDetailDiv/index.js","components/UIBuilder/CustomComponent/DetailForm.js","components/UIBuilder/SectionComponent/DocumentTable/JobDocumentFolder.js","components/UIBuilder/SectionComponent/DocumentTable/UploadDocument.js","components/UIBuilder/SectionComponent/DocumentTable/index.js","components/UIBuilder/SectionComponent/JobChecklistTable/JobChecklistGroup.js","components/UIBuilder/SectionComponent/JobChecklistTable/JobChecklistFolder.js","components/UIBuilder/SectionComponent/JobChecklistTable/index.js","components/UIBuilder/SectionComponent/SubJobTable/SubJobGroup.js","components/UIBuilder/SectionComponent/SubJobTable/index.js","components/UIBuilder/SectionFunction/Common.js","components/UIBuilder/CustomComponent/CustomForm.js","components/UIBuilder/SectionFunction/SubJob.js","components/UIBuilder/AdditionalForm/SignatureForm.js","components/UIBuilder/AdditionalForm/index.js","components/UIBuilder/SectionComponent/JobStatusStepperDiv/index.js","components/UIBuilder/SectionComponent/DocumentNoFolderTable/UploadDocument.js","components/UIBuilder/SectionComponent/DocumentNoFolderTable/index.js","components/UIBuilder/SectionComponent/ReportTable/index.js","components/UIBuilder/Section/DefaultSection/index.js","components/UIBuilder/SectionFunction/Job.js","components/CustomBadge/index.js","components/UIBuilder/SectionFunction/Client.js","components/UIBuilder/SectionFunction/ClientUser.js","components/UIBuilder/SectionFunction/ClientJobTemplate.js","components/UIBuilder/SectionFunction/ClientJobTemplateContact.js","components/UIBuilder/SectionFunction/Report.js","components/UIBuilder/SectionFunction/Property.js","components/UIBuilder/SectionFunction/JobContact.js","components/UIBuilder/SectionFunction/Owner.js","components/UIBuilder/SectionFunction/JobNote.js","components/UIBuilder/SectionFunction/ReceivedDocument.js","components/UIBuilder/SectionFunction/Invoice.js","components/UIBuilder/SectionFunction/JobRequiredCertificate.js","components/UIBuilder/SectionFunction/JobAspectCertificate.js","components/UIBuilder/SectionFunction/PublicLodge.js","components/UIBuilder/Global/SortableHelper.js","appRedux/actions/Setting.js","util/IntlMessages.js","components/UIBuilder/Global/DataHelper.js","util/config.js","constants/ActionTypes.js","authentication/auth-methods/jwt-auth/index.js","authentication/index.js","appRedux/reducers/Settings.js","appRedux/reducers/Common.js","appRedux/reducers/index.js","appRedux/store/index.js","lngProvider/entries/en-US.js","lngProvider/entries/zh-Hans-CN.js","lngProvider/entries/ar_SA.js","lngProvider/entries/it_IT.js","lngProvider/entries/es_ES.js","lngProvider/index.js","lngProvider/entries/fr_FR.js","util/CustomScrollbars.js","containers/Topbar/languageData.js","components/SearchBox/index.js","components/UserInfo/index.js","components/AppNotification/NotificationItem.js","components/AppNotification/data.js","components/AppNotification/index.js","components/MailNotification/NotificationItem.js","components/MailNotification/data.js","components/MailNotification/index.js","containers/Topbar/HorizontalNav.js","containers/Topbar/HorizontalDefault/index.js","containers/Topbar/HorizontalDark/index.js","containers/Topbar/InsideHeader/index.js","containers/Topbar/AboveHeader/index.js","containers/Topbar/BelowHeader/index.js","containers/Topbar/UserProfile.js","containers/Topbar/index.js","routes/System/ErrorBoundary.js","routes/System/Error.js","routes/index.js","containers/Topbar/NoHeaderNotification/index.js","containers/Sidebar/SidebarLogo.js","containers/Sidebar/SidebarContent.js","containers/Sidebar/index.js","containers/App/AppSidebar.js","containers/App/MainApp.js","containers/SignIn.js","containers/SignUp.js","containers/Download.js","containers/PublicDetail/CreatePage.js","containers/PublicDetail/JobNavigation.js","containers/PublicDetail/SectionNavigation.js","containers/PublicDetail/BookingRequest/DefaultSection.js","containers/PublicDetail/BookingRequest/CreatePage.js","containers/PublicDetail/BookingRequest/index.js","containers/PublicDetail/index.js","containers/PublicLodge/DefaultSection.js","containers/PublicLodge/CreatePage.js","containers/PublicLodge/index.js","containers/App/index.js","NextApp.js","registerServiceWorker.js","index.js","components/CustomImage/index.js","util/GlobalFunction.js","components/AntDraggableModal/index.js","components/UIBuilder/SectionFunction/Document.js","util/Compare.js","components/UIBuilder/CustomComponent/CreateComponent.js","components/UIBuilder/Global/TableHelper.js"],"names":["CustomEmpty","_ref","_jsx","_Fragment","children","CircularProgress","className","src","alt","CustomButton","React","Component","constructor","props","super","handleMouseEnter","this","timeout","setTimeout","setState","isTooltipOpen","config","component","Tooltip","mouseEnterDelay","handleMouseLeave","clearTimeout","state","createButton","_buttonFormat$","_iconFormat$","_buttonFormat$2","_iconFormat$2","_iconFormat$3","_buttonFormat$3","_iconFormat$4","_buttonFormat$4","_iconFormat$5","_iconFormat$6","_buttonFormat$5","button","section","sectionComponent","pageComponent","parameter","arguments","length","undefined","icon","type","style","Icon","iconFormat","IconFormat","filter","item","actionType","buttonFormat","ButtonFormat","PlusOutlined","EditOutlined","UnlockOutlined","DeleteOutlined","PlusSquareOutlined","FolderOpenOutlined","ProfileOutlined","FullscreenOutlined","FullscreenExitOutlined","GroupOutlined","icons","split","flip","trim","iconIndex","Popconfirm","disabled","placement","title","confirmText","defaultDeleteConfirmText","onConfirm","operationalFunction","uie","functionName","onClick","sectionName","name","open","Button","size","danger","onMouseEnter","onMouseLeave","text","render","httpClient","axios","create","baseURL","baseUrl","headers","interceptors","request","use","client","Security","CryptoJS","AES","encrypt","globalFunction","enc","Utf8","parse","aesKey","iv","aesIV","mode","CBC","padding","pad","Pkcs7","toString","error","Promise","reject","uploadClient","psmaKey","asyncComponent","importComponent","AsyncFunc","componentDidMount","Nprogress","start","componentWillUnmount","mounted","default","done","ReactPlaceholder","rows","ready","AppNotificationContainer","loading","setError","message","useEffect","toastNotification","id","info","Auxiliary","collapseAllGroups","_sectionComponent$chi","_sectionComponent$chi2","data","child","current","map","folder","i","JobChecklistGroupList","group","Collapsed","collapseGroup","key","j","collapseFolder","put","then","result","catch","uploadDocument","documentComponent","documentFunction","uploadType","jobChecklistId","_documentComponent$ch","_documentComponent$ch2","_documentComponent$ch3","formRef","setFieldValue","setTimeoutMilliSecond","deleteJobChecklistClientDocument","delete","_ref2","_sectionComponent$chi3","newData","JobChecklistList","jobChecklist","JobChecklistClientDocumentList","_sectionComponent$chi4","_sectionComponent$chi5","quickChangeClientStatus","_sectionComponent$chi6","e","formComponent","jobChecklistData","k","Loading","_sectionComponent$chi7","_sectionComponent$chi8","_ref3","_sectionComponent$chi9","_sectionComponent$chi10","_sectionComponent$chi11","ChecklistClientStatusId","ChecklistClientStatusName","ChecklistClientStatusBackgroundColor","stopPropagation","publicEditBySection","dataLoading","showModal","componentType","selectedDocumentList","_sectionComponent$cus","_sectionComponent$cus2","_sectionComponent$cus3","customForm","setFieldsValue","formData","currentDataKey","customFormOnSubmit","_pageComponent$props","_formComponent$formRe","url","accessCode","form","getFieldsValue","_ref4","customFormSubmitting","resetFields","getSectionDataByDefault","publicUploadDocument","_documentComponent$ch4","_documentComponent$ch5","_documentComponent$ch6","publicQuickChangeClientStatus","_sectionComponent$chi12","_sectionComponent$chi13","_sectionComponent$chi14","_ref5","_sectionComponent$chi15","_sectionComponent$chi16","_sectionComponent$chi17","deletePublicJobChecklistClientDocument","_ref6","docMergeRFI","_pageComponent$props2","_pageComponent$props3","filename","DefaultTable","onSortEnd","oldIndex","newIndex","arrayMoveImmutable","slice","el","keyArray","index","parentComponent","DraggableContainer","SortableBody","useDragHandle","disableAutoscroll","helperClass","updateBeforeSortStart","DraggableBodyRow","restProps","findIndex","x","SortableItem","columns","sort","pagination","Pagination","loaded","selectedRowKeys","handlePaginationChange","bind","rowSelection","viewConfig","groupList","rowSelectionType","onChange","selectedRows","console","log","autoLoad","setSolumns","setTableColumns","pageSize","getSectionDataList","Table","bordered","dataSource","scroll","pageable","components","body","wrapper","row","onRow","record","event","onDoubleClick","onContextMenu","DefaultGroupTable","_jsxs","CustomBadge","CaretRightOutlined","marginRight","CaretDownOutlined","Name","marginLeft","DataList","backgroundColor","ColorPicker","defaultColor","verticalAlign","width","marginTop","dataGroup","Divider","display","JobPagingTable","jobPerPage","parseInt","authUser","JobPerPage","isNaN","selectedLabel","margin","selectedWorkflowStatus","workflowStatus","BackgroundColor","DefaultDiv","getSectionData","createUI","Descriptions","column","sm","xs","createGroupUI","uieList","Item","label","labelStyle","textAlign","contentStyle","col","source","companyId","Space","direction","THEME_TYPE","THEME_TYPE_LITE","THEME_TYPE_DARK","THEME_TYPE_SEMI_DARK","THEME_COLOR","UPDATE_RTL_STATUS","LAYOUT_TYPE","LAYOUT_TYPE_FRAMED","LAYOUT_TYPE_BOXED","LAYOUT_TYPE_FULL","NAV_STYLE","NAV_STYLE_FIXED","NAV_STYLE_MINI_SIDEBAR","NAV_STYLE_DRAWER","NAV_STYLE_NO_HEADER_MINI_SIDEBAR","NAV_STYLE_NO_HEADER_EXPANDED_SIDEBAR","NAV_STYLE_DEFAULT_HORIZONTAL","NAV_STYLE_DARK_HORIZONTAL","NAV_STYLE_INSIDE_HEADER_HORIZONTAL","NAV_STYLE_BELOW_HEADER","NAV_STYLE_ABOVE_HEADER","TAB_SIZE","JobDetailDiv","manageLabelShow","labelDiv","createRef","jobData","DetailForm","setFormValue","value","_this$formRef$current","onFormChange","changedValues","allValues","isFormModified","onFinish","async","defaultFormData","onFinishFailed","errorInfo","validateSelect","_","Error","resolve","handleChange","prevState","checkedItems","target","checked","initialValues","componentDataSource","componentDefaultValue","uieCounter","activeKey","autoLoadComponentDataSource","additionalFormRef","getComponentDataSource","getComponent","submitForm","_this$formRef$current2","submit","_this$formRef$current3","push","jobId","moduleId","module","subJobId","approvalId","parameterStr","forEach","get","datasourceUrl","renderForm","hash","Value","c","show","u","Key","required","indexOf","_this$props$pageCompo","_this$props$pageCompo2","getFieldValue","dataSourceFilter","SelectOptionList","_this$props$pageCompo3","_this$props$pageCompo4","_dataSource$","_this$props$pageCompo5","_dataSource$2","_this$props$pageCompo6","tabs","tab","array","createGroup","tabItems","groups","forceRender","Tabs","items","conditionText","condition","Row","gutter","marginBottom","orientation","hideSeparatorLine","createGroupButton","JobTypeName","Col","span","Form","valuePropName","initialValue","Checkbox","dangerouslySetInnerHTML","__html","placeholder","conditionCheckboxText","buttonText","buttonOnClick","rules","pattern","RegExp","mandatorySelect","validator","labelCol","wrapperCol","getValueFromEvent","editor","getData","createComponent","position","zIndex","with","Notify","defaultComponent","days","paddingLeft","day","JobDocumentFolder","DocumentList","dataIndex","fixed","DragHandle","color","height","lineHeight","onSelect","selected","nativeEvent","onSelectAll","changeRows","defaultSelectedRowKeys","UploadDocument","submitting","DocumentTypeId","fileList","onDragEnterCLass","uploadDocumentSubmit","documentIds","res","file","status","FormData","append","jobRequiredCertificateId","currentFile","imageTypes","uploadImageMaxLength","imageConversion","accuracy","scale","Comment","that","post","uploadUrl","onUploadProgress","progressEvent","uploadProgress","total","oldFile","percent","all","closeUploadModal","JobId","DocumentIdList","sendClientDocumentUploadNotification","publicSendClientDocumentUploadNotification","_this$state$component","_this$state$component2","_this$state$component3","uploadDocumentShow","removeFile","newFileList","splice","AntDraggableModal","onOk","onCancel","maskClosable","Modal","footer","ref","autoComplete","Select","showSearch","filterOption","inputValue","option","_option$children","toLowerCase","includes","Option","Color","onDragEnter","onDragLeave","onDragOver","preventDefault","onDrop","document","Upload","multiple","onRemove","beforeUpload","fileUploadLimit","tip","itemRender","originNode","currFileList","defaultValue","_option$children2","uid","Input","maxLength","Progress","strokeWidth","DocumentTable","changeTypeShow","changeFolderShow","shareControlShow","recycleBinShow","stampingShow","manageFolderShow","combinePdfShow","getSectionFolderDataList","JobChecklistGroup","JobChecklistFolder","counter","getJobChecklistCounter","jobChecklistGroup","jobChecklistGroupData","jobChecklistFolderId","JobChecklistFolderId","JobChecklistTable","checklistStatusSets","jobChecklistGroupId","checklistStatusSetId","jobChecklistFolderData","SubJobGroup","SubJobList","SubJobTable","manageGroupShow","addFromTemplateShow","submitConfirmShow","subJobGroupId","manageGroup","submitConfirm","addFromTemplate","getSectionGroupDataList","subJobGroupData","sections","Client","ClientUser","ClientJobTemplate","ClientJobTemplateContact","ClientJobTemplateNccClass","ClientJobTemplateChecklist","Report","Job","Property","JobContact","Owner","JobNote","Document","ReceivedDocument","SubJob","JobChecklist","Invoice","JobNccClass","JobRequiredCertificate","JobAspectCertificate","CouncilApplication","PublicLodge","callback","showError","eval","call","addBySection","_sectionComponent$cus4","_sectionComponent$cus5","componentList","_sectionComponent$cus8","_sectionComponent$cus9","selectValue","some","selectOption","_componentDataSource$","_sectionComponent$cus6","_sectionComponent$cus7","autoSelect","editBySection","_sectionComponent$cus10","_sectionComponent$cus11","areaName","_sectionComponent$cus12","_sectionComponent$cus13","_sectionComponent$cus14","_sectionComponent$cus15","_sectionComponent$cus16","moment","format","date","_componentDataSource$2","addonAfter","deleteBySection","code","sortBySection","submitCustomForm","canSubmit","_sectionComponent$cus19","_sectionComponent$cus17","_sectionComponent$cus18","pageName","sqlDate","hex","customFormFinish","onSubmitFinish","refreshDataFunction","cancelCustomForm","_sectionComponent$cus20","getAutoCompleteData","AutoComplete","minimumQueryCharacters","autoDataSource","getUieDataSource","_ref7","_component$formRef$cu","_dataSourceFilter$0$S","_component$formRef$cu2","_component$formRef$cu3","_dataSource$3","_component$formRef$cu4","autoChange","getComponentDataSourceGroup","_ref8","_dataSource$4","_component$formRef$cu5","_dataSource$5","_component$formRef$cu6","sendEmail","sendEmailShow","selectedDocumentTotalSize","EmailSignature","setEmailDefaultInfo","CompanyUserId","_ref9","setAuthUser","_pageComponent$sendEm","_pageComponent$sendEm2","_pageComponent$sendEm3","_pageComponent$sendEm4","_pageComponent$sendEm5","_pageComponent$sendEm6","getSubject","getCompanyEmailTemplate","sendEmailFormRef","To","CC","BCC","Subject","Body","Email","sendSMS","sendSMSShow","_pageComponent$sendSM","searchSuburbChange","_ref10","_ref11","options","suburb","Postcode","searchSuburbSelect","_ref12","_formComponent$formRe2","_formComponent$formRe3","searchPostalSuburbSelect","_ref13","_formComponent$formRe4","_formComponent$formRe5","getStatsDataByDefault","_ref14","CustomForm","createAdditionalForm","additionalForm","AdditionalForm","parentFormComponent","onValuesChange","getSubJobGroupList","addSubJob","SubContractorId","getSubJobGroupSelectOptionList","editSubJobPopUpRun","ScheduledDate","GroupId","quickAddDays_OralDirectionExpiryDate","oralDirectionExpiryDateChange","clearOralDirectionExpiryDate","quickAddDays_WrittenDirectionExpiryDate","_sectionComponent$cus21","_sectionComponent$cus22","writtenDirectionExpiryDateChange","clearWrittenDirectionExpiryDate","editSubmitFinish","docMergeSubJob","mailMergeTemplateShow","mailMergeObjId","SubJobId","dataModelType","_pageComponent$mailMe","mailMergeTemplate","getMailMergeTemplate","setNotify","_sectionComponent$cus23","_sectionComponent$cus24","_sectionComponent$cus25","_sectionComponent$cus26","_sectionComponent$cus27","_sectionComponent$cus28","_sectionComponent$cus29","_sectionComponent$cus30","_sectionComponent$cus31","_sectionComponent$cus32","_sectionComponent$cus33","_sectionComponent$cus34","_sectionComponent$cus35","_sectionComponent$cus36","_sectionComponent$cus37","editByInspectionScheduler","_sectionComponent$cus38","recordData","Job_ModuleId","_sectionComponent$cus42","_sectionComponent$cus43","_sectionComponent$cus44","_sectionComponent$cus45","_sectionComponent$cus46","_sectionComponent$cus39","_sectionComponent$cus40","_sectionComponent$cus41","setDirectionFromTemplate","directions","Direction","openAddFromTemplate","_component$addFromTem","_component$addFromTem2","_component$addFromTem3","_component$addFromTem4","_component$addFromTem5","_component$addFromTem6","subJobTypePresetContentList","_component$addFromTem7","_component$addFromTem8","_component$addFromTem9","_component$addFromTem10","getSubJobTypeData","getSubJobTypePresetDataSource","addBookingRequest","_pageComponent$bookin","subjobData","bookingRequestShow","bookingRequest","getWebUI","editBookingRequest","_pageComponent$bookin2","Dragger","SignatureForm","signaturePreview","Signature","signaturePreviewImgUrl","accept","_this$props$parentFor","reader","FileReader","onloadend","evt","readyState","DONE","arrayBuffer","Uint8Array","btoa","reduce","byte","String","fromCharCode","readAsArrayBuffer","warning","JobStatusStepperDiv","handleResize","screenWidth","window","innerWidth","steps","shouldUseVertical","getJobStatusStepper","addEventListener","sum","step","stepsList","IconActiveUrl","IconActive","IconInactiveUrl","IconInactive","WorkflowStatus","JobStatusStepperId","description","Description","finish","process","componentDidUpdate","prevProps","removeEventListener","Steps","responsive","justifyContent","Step","whiteSpace","wordBreak","maxWidth","flexDirection","alignItems","DocumentNoFolderTable","ReportTable","DefaultSection","popconfirmSubmitting","topFilterCounter","topButtonCounter","searchParameter","showBottomButton","tableFooter","_this$child$current","topFilterList","topFilter","createDataViewer","createTopFilter","createTopButton","objId","_this$props$section$c","_this$props$section$c2","Card","headStyle","extra","LockReason","enableLock","topButtonList","topButton","buttonList","_this$child$current2","_this$child$current3","_this$child$current4","bottomButtonList","bottomButton","fontWeight","fontSize","okText","showLabelDiv","getLabelList","filterLoaded","firstRefresh","showFilterByLabelDiv","labelGroup","labels","LabelId","filterByLabeShow","exportToExcel","refreshJobPaging","searchAddressChange","setAutoCompleteData","getAddressData","getLgaDataSource","lgaKeyName","PptState","_pageComponent$formRe","_pageComponent$formRe2","LgaId","lag","find","Data","_pageComponent$formRe3","_pageComponent$formRe4","clientJobTemplateChange","clientJobTemplateID","loadClientJobTemplate","ClientJobTemplateID","_pageComponent$formRe5","_pageComponent$formRe6","_pageComponent$formRe7","_pageComponent$formRe8","_pageComponent$formRe9","_pageComponent$formRe10","_pageComponent$formRe11","_pageComponent$formRe12","_pageComponent$formRe13","_pageComponent$formRe14","_pageComponent$formRe15","_globalFunction$getSe","_globalFunction$getSe2","_globalFunction$getSe3","_globalFunction$getSe4","WorkDescription","AllotmentArea","TotalFloorAreaNewBuildingWork","ExternalWallMaterialId","ExternalWallMaterialIds","FloorMaterialId","FloorMaterialIds","FrameMaterialId","FrameMaterialIds","RoofCladdingMaterialId","RoofCladdingMaterialIds","_pageComponent$formRe16","_pageComponent$formRe17","PptSuburb","PptPostcode","showFilterByWorkflowStatusDiv","filterByWorkflowStatusShow","borderRadius","setAutoComplete","componentRestrictions","country","input","getElementById","autocomplete","google","maps","places","Autocomplete","addListener","place","getPlace","place_id","_formComponent$formRe6","address_components","types","long_name","short_name","formatted_address","addClientPopUpRun","editClientPopUpRun","setSameAsClientAddress","_formComponent$formRe7","_formComponent$formRe8","_formComponent$formRe9","_formComponent$formRe10","_formComponent$formRe11","_formComponent$formRe12","_formComponent$formRe13","_formComponent$formRe14","_formComponent$formRe15","_formComponent$formRe16","_formComponent$formRe17","_formComponent$formRe18","_formComponent$formRe19","_formComponent$formRe20","_formComponent$formRe21","manageClientUser","history","ClientId","changePassword","showModalChangePassword","clientUserId","ClientUserId","submitChangePassword","changePasswordFormSubmitting","clientId","success","binaryString","atob","binaryLen","bytes","ascii","charCodeAt","blob","Blob","File","lastModified","Date","now","values","ClientRoleIdList","element","ClientJobTemplateId","addClientJobTemplateContactPopUpRun","editClientJobTemplateContactPopUpRun","setSameAsContactAddress","_formComponent$formRe22","_formComponent$formRe23","_formComponent$formRe24","_formComponent$formRe25","_formComponent$formRe26","_formComponent$formRe27","searchPostalSuburbChange","_formComponent$formRe28","_formComponent$formRe29","showReportDiv","report","ReportConfig","parameters","openMap","mapShow","openLandData","href","searchContactChange","replace","contact","FullNameCompany","searchContactSelect","FirstName","LastName","Company","JobTitle","Phone","Mobile","BusinessNo","StreetNumber","StreetName","Suburb","State","Country","PostalStreetNumber","PostalStreetName","PostalSuburb","PostalPostcode","PostalState","PostalCountry","RegNum","CompanyRegNum","PractitionerClass","_formComponent$formRe30","addJobContactPopUpRun","editJobContactPopUpRun","setSameAsPropertyAddress","_formComponent$formRe31","_formComponent$formRe32","_formComponent$formRe33","_formComponent$formRe34","_formComponent$formRe35","_formComponent$formRe36","_formComponent$formRe37","_formComponent$formRe38","_formComponent$formRe39","_formComponent$formRe40","_formComponent$formRe41","_formComponent$formRe42","_formComponent$formRe43","_formComponent$formRe44","_formComponent$formRe45","_formComponent$formRe46","_formComponent$formRe47","_formComponent$formRe48","_formComponent$formRe49","_formComponent$formRe50","_formComponent$formRe51","_formComponent$formRe52","_formComponent$formRe53","_formComponent$formRe54","_formComponent$formRe55","_formComponent$formRe56","_formComponent$formRe57","_formComponent$formRe58","copyFromJobContact","_formComponent$formRe59","_formComponent$formRe60","_formComponent$formRe61","_formComponent$formRe62","_formComponent$formRe63","_formComponent$formRe64","_formComponent$formRe65","_formComponent$formRe66","_formComponent$formRe67","_formComponent$formRe68","_formComponent$formRe69","_formComponent$formRe70","_formComponent$formRe71","_formComponent$formRe72","_formComponent$formRe73","_formComponent$formRe74","_formComponent$formRe75","_formComponent$formRe76","_formComponent$formRe77","_formComponent$formRe78","_formComponent$formRe79","_formComponent$formRe80","_formComponent$formRe81","_formComponent$formRe82","_formComponent$formRe83","_formComponent$formRe84","BuilderSubsection24b","PractitionerType","NominatedLevyPayer","addSubmitFinish","refreshJobContactData","addOwnerPopUpRun","editOwnerPopUpRun","checkPopUpNote","popupNoteIconShow","popupNoteShow","popUpNotes","Popup","loadNoteTemplate","Content","openRecycleBin","jobNoteRecycleBinShow","_pageComponent$jobNot","jobNoteRecycleBin","batchDownload","method","JobNum","save","clearSelectedRowKeys","_folder$current","refreshDocument","downloadDocument","publicDownloadDocument","publicBatchDownload","docMergeInvoice","InvoiceId","formatData","accountingAppInvoiceIds","AccountingApp","Status","StatusBackgroundColor","ModuleConfig","AccountingAppIntegrationId","AccountingAppInvoiceId","DueAmount","AccountingAppBackgroundColor","Balance","BalanceBackgroundColor","toUpperCase","Total","setData","calculateTotal","getAccountingApp","appIntegrationId","invoice","_invoice$child$curren","_invoice$child$curren2","_invoice$child$curren3","invoiceItem","accountingItem","_accountingItem$Statu","ShowPayButton","inactive","MpgsDomain","sectionData","deleteJobRequiredCertificateClientDocument","deletePublicJobRequiredCertificateClientDocument","docMergeJobAspectCertificate","JobAspectCertificateId","searchAddressFromHyperFlo","searchAddressFromPredictive","selectAddressFromHyperFlo","inspectionNameOnChange","scheduledTimeAmPmOnChange","searchAgentAddressChange","getAgentAddressData","setAgentSameAsPropertyAddress","searchOwnerAddressChange","getOwnerAddressData","setOwnerSameAsPropertyAddress","_pageComponent$formRe18","_pageComponent$formRe19","_pageComponent$formRe20","_pageComponent$formRe21","_pageComponent$formRe22","_pageComponent$formRe23","_pageComponent$formRe24","_pageComponent$formRe25","_pageComponent$formRe26","_pageComponent$formRe27","_pageComponent$formRe28","_pageComponent$formRe29","_pageComponent$formRe30","searchBuilderAddressChange","getBuilderAddressData","setBuilderSameAsPropertyAddress","_pageComponent$formRe31","_pageComponent$formRe32","_pageComponent$formRe33","_pageComponent$formRe34","_pageComponent$formRe35","_pageComponent$formRe36","_pageComponent$formRe37","_pageComponent$formRe38","_pageComponent$formRe39","_pageComponent$formRe40","_pageComponent$formRe41","_pageComponent$formRe42","_pageComponent$formRe43","_pageComponent$formRe44","_pageComponent$formRe45","setBuilderSameAsAgentOrOwner","_pageComponent$formRe46","_pageComponent$formRe47","_pageComponent$formRe48","_pageComponent$formRe49","_pageComponent$formRe50","_pageComponent$formRe51","_pageComponent$formRe52","_pageComponent$formRe53","_pageComponent$formRe54","_pageComponent$formRe55","_pageComponent$formRe56","_pageComponent$formRe57","_pageComponent$formRe58","_pageComponent$formRe59","_pageComponent$formRe60","_pageComponent$formRe61","_pageComponent$formRe62","_pageComponent$formRe63","_pageComponent$formRe64","_pageComponent$formRe65","_pageComponent$formRe66","_pageComponent$formRe67","_pageComponent$formRe68","_pageComponent$formRe69","_pageComponent$formRe70","_pageComponent$formRe71","_pageComponent$formRe72","_pageComponent$formRe73","_pageComponent$formRe74","_pageComponent$formRe75","_pageComponent$formRe76","_pageComponent$formRe77","_pageComponent$formRe78","_pageComponent$formRe79","_pageComponent$formRe80","_pageComponent$formRe81","_pageComponent$formRe82","_pageComponent$formRe83","_pageComponent$formRe84","_pageComponent$formRe85","_pageComponent$formRe86","_pageComponent$formRe87","_pageComponent$formRe88","_pageComponent$formRe89","_pageComponent$formRe90","_pageComponent$formRe91","_pageComponent$formRe92","_pageComponent$formRe93","_pageComponent$formRe94","_pageComponent$formRe95","_pageComponent$formRe96","_pageComponent$formRe97","_pageComponent$formRe98","_pageComponent$formRe99","_pageComponent$formRe100","_pageComponent$formRe101","_pageComponent$formRe102","_pageComponent$formRe103","_pageComponent$formRe104","_pageComponent$formRe105","_pageComponent$formRe106","_pageComponent$formRe107","_pageComponent$formRe108","_pageComponent$formRe109","_pageComponent$formRe110","_pageComponent$formRe111","_pageComponent$formRe112","_pageComponent$formRe113","_pageComponent$formRe114","_pageComponent$formRe115","_pageComponent$formRe116","_pageComponent$formRe117","applicantTypeChange","webUIConfig","sectionList","addAnotherPractitioner","buildingPractitionerGroup","newGroup","JSON","stringify","oldSource","_pageComponent$formRe118","_pageComponent$formRe119","_sectionComponent$sta","_pageComponent$formRe120","_sectionComponent$sta2","_pageComponent$formRe121","_pageComponent$formRe122","SortableHandle","MenuOutlined","cursor","SortableElement","SortableContainer","node","tds","childNodes","offsetWidth","toggleCollapsedSideNav","navCollapsed","TOGGLE_COLLAPSED_NAV","updateWindowWidth","dispatch","WINDOW_WIDTH","switchLanguage","locale","SWITCH_LANGUAGE","payload","setInitUrl","INIT_URL","injectIntl","FormattedMessage","withRef","_component$props$page","jobNavigation","onLoadData","_component$props$page2","records","exports","footerText","clientUrl","staffUrl","recaptchaSitekey","taxRate","Textarea","DatePicker","dateFormat","pageSizeOptions","showSizeChanger","showTotal","Message","Empty","imageStyle","Image","fallback","CKEditor","toolbar","supportAllValues","defaultCountry","states","addressFinderKey","googleMap","apiKey","defaultCenter","lat","lng","defaultZoom","markerStyle","sessionExpired","email","password","sms","mobileStartWith","fontColor","emailRecipient","FETCH_START","FETCH_SUCCESS","FETCH_ERROR","SHOW_MESSAGE","HIDE_MESSAGE","useProvideAuth","useState","isLoadingUser","setLoadingUser","isLoading","setLoading","loginSecurityCodeData","setLoginSecurityCodeData","showLoginSecurityCode","setShowLoginSecurityCode","useDispatch","fetchStart","fetchSuccess","fetchError","getAuthUser","clientUser","token","localStorage","getItem","defaults","common","removeItem","userLogin","user","callbackFun","setItem","Remember","userSignup","userSignOut","renderSocialMediaLogin","sendPasswordResetEmail","confirmPasswordReset","checkLoginSecurityCode","authContext","createContext","AuthProvider","auth","Provider","useAuth","useContext","initialSettings","navStyle","layoutType","themeType","themeColor","isDirectionRTL","languageId","initURL","SettingsReducer","action","rtlStatus","INIT_STATE","pathname","CommonReducer","location","createRootReducer","combineReducers","router","connectRouter","settings","Settings","Common","createBrowserHistory","require","routeMiddleware","routerMiddleware","middlewares","thunk","EnLang","messages","antd","antdEN","ZhLan","zhCN","saLang","antdAR","antdIT","antdES","AppLocale","en","enLang","zh","zhLang","ar","arLang","it","itLang","es","esLang","fr","antdFR","CustomScrollbars","Scrollbars","autoHide","renderTrackHorizontal","languageData","SearchBox","styleName","onKeyDown","onSearch","allowClear","defaultProps","UserInfo","useHistory","userMenuOptions","onLogoutClick","Popover","overlayClassName","content","trigger","Avatar","NotificationItem","notification","image","time","notifications","AppNotification","badge","MailNotification","SubMenu","Menu","HorizontalNav","useSelector","selectedKeys","substr","defaultOpenKeys","getNavStyleSubMenuClass","Link","to","Header","Layout","menu","HorizontalDefault","searchText","setSearchText","updateSearchChatUser","IntlMessages","Dropdown","overlay","language","HorizontalDark","InsideHeader","AboveHeader","BelowHeader","UserProfile","Topbar","mouseEvent","setMouseEvent","useLocation","quickSearch","search","keyword","URLSearchParams","keyCode","ErrorBoundary","hasError","getDerivedStateFromError","componentDidCatch","requestAnimationFrame","stack","withRouter","queryString","urlParams","ErrorPage","App","match","Switch","Route","path","NoHeaderNotification","SidebarLogo","sidebarCollapsed","setSidebarCollapsed","CompanyId","SidebarContent","isShow","setIsShow","selectedMenuItem","setSelectedMenuItem","ClientMenuList","ChildClientMenuList","childMenu","Url","check","theme","MenuItem","memo","Sider","Sidebar","drawerStyle","collapsed","collapsible","Drawer","closable","onClose","onToggleCollapsedNav","visible","SIDEBAR_VISIBLE_ON","AppSidebar","Footer","getContainerClass","getNavStyles","MainApp","useRouteMatch","SignIn","showResetPassword","setShowResetPassword","confirmLoading","setConfirmLoading","loginForm","useForm","resetPasswordForm","loginSecurityCodeForm","seconds","setSeconds","isDisabled","setIsDisabled","handleSendCodeClick","intervalId","setInterval","clearInterval","remember","Cookies","set","Username","expires","Password","paddingRight","float","htmlType","textDecoration","FormItem","SignUp","Download","params","useParams","responseType","blobUrl","URL","createObjectURL","iframeElement","CreatePage","page","getPageConfig","pageConfig","_this$props$pageCompo7","_this$props$pageCompo8","_this$props$pageCompo9","Meta","_createElement","JobNavigation","showWorkflow","showActionPack","popUpLeft","showLockJob","showUnlockJob","LapsedDate","_this$props$jobData$B","BuildingPermit","CompletedByDate","_this$state$jobData$W","WorkflowStatusDescription","WorkflowStatusName","WorkflowStatusBackgroundColor","PptAddress","showApprovalLapseDate","SectionNavigation","goToSection","control","getElementsByClassName","borderColor","boxShadow","rect","getBoundingClientRect","scrollTo","BookingRequest","publicHoliday","cutoffHours","cutoffMinutes","createPage","publicLodgeWebUI","decodedString","ModuleId","CutoffHours","CutoffMinutes","_this$formRef$current4","_this$formRef$current5","_this$formRef$current6","_this$createPage$curr","_this$createPage$curr2","_this$createPage$curr3","SubJobDefaultTimeBlock","_this$formRef$current7","_this$formRef$current8","_this$formRef$current9","_this$formRef$current10","_this$formRef$current11","_this$formRef$current12","_this$createPage$curr4","_this$createPage$curr5","_this$createPage$curr6","_this$formRef$current13","_this$formRef$current14","_this$formRef$current15","_this$formRef$current16","_this$createPage$curr11","_this$createPage$curr12","_this$createPage$curr13","_this$createPage$curr14","_this$createPage$curr7","_this$createPage$curr8","_this$createPage$curr9","_this$createPage$curr10","subJobType","_this$formRef$current17","PublicDetail","PublicDetailPage","stampedDocColor","sectionNavigation","getJob","ModuleName","StampedDocColor","getPublicSubJobBlockDates","top","AccessCode","PublicLodgePage","setting","onRecaptchaChange","recaptchaShow","sendForm","ConditionCheck","allWebUIConfig","submitSuccess","allPublicHoliday","defaultState","successfulMessage","tracking","searchAddressType","submitDisable","recaptchaRef","getPublicHoliday","getSubJobBlockDates","DefaultState","ScheduledTime","loadCSS","getTime","cssUrl","createElement","rel","head","appendChild","links","getElementsByTagName","removeChild","recaptcha","_this$recaptchaRef$cu","Condition","Recaptcha","PublodgePageSource","reset","timer","addressData","suggest","addressList","address","JobSearchAddress","msg","_this$formRef$current18","_this$formRef$current19","_this$formRef$current20","_this$formRef$current21","_this$formRef$current22","planNo","lotNo","properties","cadastralIdentifier","lpdata","stateTerritory","lp","test","planNoArray","join","temp","streetNumber1","streetTypeDescription","streetName","localityName","postcode","geometry","coordinates","localGovernmentArea","lgaShortName","_this$formRef$current23","_this$formRef$current24","_this$formRef$current25","_this$formRef$current26","_this$formRef$current27","jobs","_this$createPage$curr15","_this$createPage$curr16","SearchAddressFromHyperFlo","_this$createPage$curr17","_this$createPage$curr18","_this$createPage$curr19","_this$createPage$curr20","_this$createPage$curr21","_this$createPage$curr22","_this$createPage$curr23","_this$createPage$curr28","_this$createPage$curr29","_this$createPage$curr30","_this$createPage$curr31","SubJobName","_this$createPage$curr24","_this$createPage$curr25","_this$createPage$curr26","_this$createPage$curr27","_this$formRef$current28","_this$formRef$current29","_this$formRef$current30","_this$formRef$current31","_this$state$successfu","_this$state$successfu2","maxHeight","files","dataTransfer","filesArray","Array","from","have","header","Setting","_this$formRef$current32","ReCAPTCHA","sitekey","_this$formRef$current33","_this$formRef$current34","_this$formRef$current35","_this$formRef$current36","_this$formRef$current37","_this$createPage$curr32","_this$createPage$curr33","_this$createPage$curr34","_this$formRef$current38","_this$formRef$current39","_this$formRef$current40","_this$formRef$current41","_this$formRef$current42","_this$createPage$curr35","_this$createPage$curr36","_this$createPage$curr37","RestrictedRoute","rest","Redirect","urls","isPublicPage","documentElement","classList","add","setAttribute","remove","lang","contains","setLayoutType","setNavStyle","currentAppLocale","ConfigProvider","IntlProvider","exact","store","preloadedState","createStore","compose","applyMiddleware","configureStore","week","dow","NextApp","ConnectedRouter","Boolean","hostname","ReactDOM","navigator","serviceWorker","registration","unregister","CustomImage","hover","divClassName","imageClassName","buttons","truncateString","str","ellipsis","substring","formatMoney","number","symbol","thousand","decimal","isNegative","roundedNumber","Math","trunc","isFinite","NaN","factor","pow","round","Number","EPSILON","toFixed","roundToDecimalPlaces","abs","formattedNumber","formatMoneyForControl","allowNegative","isNullOrEmpty","userTyping","dotIndex","parsed","parseFloat","toLocaleString","minimumFractionDigits","maximumFractionDigits","parserMoneyForControl","formatFileSize","fileSize","dm","floor","stringToDateTime","d","t","formatDateToVersion","getFullYear","getMonth","padStart","getDate","formatUieData","_record$WorkflowStatu","clipboard","writeText","InitStatus","Stamped","download","DocumentId","html","ShareClientPortal","ShareTrackingPage","ShareOnsiteJob","EncryptedInvoiceId","edit","DecoupledEditor","onReady","ui","getEditableElement","parentElement","insertBefore","view","editing","focus","onBlur","onFocus","JobChecklistImageList","PreviewGroup","getByteImageSrc","border","JobRequiredCertificateClientDocumentList","SubJobChecklistImageList","ShowOnReport","Docusign","contactNumber","startsWith","ClientPortal","removeHtmlTags","PptTermite","PptFloodProne","PptBushfireProne","PptAlpineArea","PptSolarHotWater","PptRainwaterTank","HideOnMailMerge","Lga","showLgaInfo","SubJobReportList","ClientDueDate","ClientDueDateNote","getExtension","messageText","errorMessageText","isOpenFileInBrowser","pop","formatFileNameForUrl","saveFile","isIOS","userAgent","isMobile","link","click","handleError","errorMessage","handleResultError","getAvatarName","wordArray","nullToEmpty","confirm","ExclamationCircleOutlined","formatDate","tmp","addDate","startDate","addDays","setDate","addDateMoment","newDate","getFileNameWithoutExtension","lastIndexOf","getSectionComponent","_pageComponent$create","_section$current","setUieVisible","_pageComponent$create2","_pageComponent$create3","getUTCDate","getUTCFullYear","getUTCMonth","getUTCHours","getUTCMinutes","getUTCSeconds","titleCase","newStr","decompressData","JSZip","loadAsync","zip","areas","areaList","pages","pageList","formatPercent","getDisabledDate","disabledDates","startOf","disabledDate","isSame","today","getDay","currentHour","getHours","currentMinute","getMinutes","setDisabled","bounds","setBounds","left","bottom","right","draggleRef","useRef","onMouseOver","onMouseOut","modalRender","modal","Draggable","onStart","uiData","_event","_draggleRef$current","clientWidth","clientHeight","targetRect","modalWidth","y","transitionName","maskTransitionName","keyboard","_sectionComponent$chi18","_sectionComponent$chi19","_sectionComponent$chi20","_sectionComponent$chi21","_sectionComponent$chi22","_sectionComponent$chi23","_sectionComponent$chi24","dropDocument","_sectionComponent$chi25","_sectionComponent$chi26","_sectionComponent$chi27","_sectionComponent$chi28","batchDelete","_sectionComponent$chi29","_sectionComponent$chi30","_sectionComponent$chi31","_sectionComponent$chi32","_sectionComponent$chi33","_sectionComponent$chi34","compareUIElementValue","a","b","compareNumerical","compareDateTime","compareBool","localeCompare","compareString","createUIElement","TextArea","showCount","createInputTextArea","createInputPassword","addonBefore","createInput","parts","listHeight","getPopupContainer","triggerNode","onDropdownVisibleChange","handleDropdownVisibleChange","getOptionData","OptGroup","createSelect","showToday","renderExtraFooter","blur","createDatePicker","picker","createYearPicker","TimePicker","RangePicker","createRangePicker","createTimePicker","InputNumber","min","inputNumberMin","max","inputNumberMax","precision","inputNumberPrecision","formatter","inputNumberFormatter","parser","inputNumberParser","inputNumberAddonBefore","createInputNumber","createSwitch","createCheckbox","notFoundContent","createJobSearchAddress","createAutoComplete","Colorpicker","popup","preventBodyScroll","passive","rowButtonList","rowButton","fixedDirection","align","sorter"],"mappings":"kHACA,qBAOeA,IAJKC,IAAA,MAEnBA,EAAA,OACCC,cAAAC,WAAA,CAAAC,SAAE,cAAa,C,mCCPjB,gBAKeC,IAHUJ,IAAA,IAAC,UAACK,GAAUL,EAAA,OAAKC,cAAA,OAAKI,UAAW,UAAUA,IAAYF,SAC9EF,cAAA,OAAKK,IAAI,4BAA4BC,IAAI,YACrC,C,mCCHN,gMAOe,MAAMC,UAAqBC,IAAMC,UAC9CC,YAAYC,GACVC,QAAQ,KAQVC,iBAAmB,KACjBC,KAAKC,QAAUC,YAAW,KACxBF,KAAKG,SAAS,CA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Q,OACf1L,IAAKhF,EAAI0Q,OACT/B,MAAoB,IAAb3O,EAAI2O,MAAc3O,EAAI2O,MAAQ,KACrCmL,MAA6B,MAAtB9Z,EAAI+iE,eAAyB/iE,EAAI+iE,eAAiB5mE,SAAOC,UAAU4Q,MAAM8M,MAChFkpD,MAAoB,MAAbhjE,EAAIgjE,MAAgBhjE,EAAIgjE,MAAQ,KACvCC,OAAQjjE,EAAI4L,KAAO,CAAC0zD,EAAGC,IAAMF,YAAsBC,EAAEt/D,EAAI0Q,QAAS6uD,EAAEv/D,EAAI0Q,QAAS1Q,EAAIjC,MAAQ,KAC7F6C,OAAQA,CAAC0D,EAAMoJ,IAAW/L,IAA6B,CAAE3B,IAAKA,EAAKsE,KAAMA,EAAMoJ,OAAQA,EAAQiD,UAAWhV,EAAMgV,UAAWnT,iBAAkBA,EAAkBC,cAAeA,KAC9K,IAEGkO,CACT,C","file":"static/js/main.e92d62cb.chunk.js","sourcesContent":["\r\nimport React from 'react';\r\nimport { config } from \"util/config\";\r\n\r\nconst CustomEmpty = ({\r\n\r\n}) =>\r\n <>No records;\r\nexport default CustomEmpty;\r\n","import React from \"react\";\r\n\r\nconst CircularProgress = ({className}) =>
\r\n \"loader\"/\r\n
;\r\nexport default CircularProgress;\r\n","\r\nimport { config } from 'util/config';\r\nimport React, { Fragment } from 'react';\r\nimport { Space, Card, Table, Pagination, Modal, Tag, Tooltip, Button, Popconfirm } from 'antd';\r\nimport { Link } from 'react-router-dom';\r\nimport { PlusOutlined, EditOutlined, DeleteOutlined, PlusSquareOutlined, UnlockOutlined, FolderOpenOutlined, ProfileOutlined, FullscreenOutlined, FullscreenExitOutlined, GroupOutlined } from '@ant-design/icons';\r\nimport { operationalFunction } from 'components/UIBuilder/SectionFunction/Common';\r\n\r\nexport default class CustomButton extends React.Component {\r\n constructor(props) {\r\n super();\r\n this.state = {\r\n isTooltipOpen: false\r\n }\r\n\r\n this.timeout = null;\r\n };\r\n\r\n handleMouseEnter = () => {\r\n this.timeout = setTimeout(() => {\r\n this.setState({ isTooltipOpen: true });\r\n }, config.component.Tooltip.mouseEnterDelay * 1000);\r\n }\r\n\r\n handleMouseLeave = () => {\r\n this.setState({ isTooltipOpen: false });\r\n if (this.timeout) {\r\n clearTimeout(this.timeout);\r\n this.timeout = null;\r\n }\r\n }\r\n\r\n //创建按钮\r\n createButton({ button, section, sectionComponent, pageComponent, parameter } = {}) {\r\n let icon = null;\r\n let type = button.type;\r\n let style = config.component.Icon.style;\r\n let iconFormat = parameter.IconFormat !== undefined ? parameter.IconFormat.filter(item => item.actionType == button.actionType) : {};\r\n let buttonFormat = parameter.ButtonFormat !== undefined ? parameter.ButtonFormat.filter(item => item.actionType == button.actionType) : {};\r\n\r\n switch (button.icon) {\r\n case 'PlusOutlined':\r\n icon = ;\r\n break;\r\n case 'EditOutlined':\r\n icon = ;\r\n break;\r\n case 'UnlockOutlined':\r\n icon = ;\r\n break;\r\n case 'DeleteOutlined':\r\n icon = ;\r\n break;\r\n case 'PlusSquareOutlined':\r\n icon = ;\r\n break;\r\n case 'FolderOpenOutlined':\r\n icon = ;\r\n break;\r\n case 'ProfileOutlined':\r\n icon = ;\r\n break;\r\n case 'FullscreenOutlined':\r\n icon = ;\r\n break;\r\n case 'FullscreenExitOutlined':\r\n icon = ;\r\n break;\r\n case 'GroupOutlined':\r\n icon = ;\r\n break;\r\n case null:\r\n icon = null;\r\n break;\r\n default:\r\n let icons = button.icon.split(';');\r\n //默认获取第一个icon, 有可能会根据数据改变icon\r\n icon = ;\r\n //如果有自定义的 IconFormat, 获取对应 actionType 和 iconIndex\r\n if (iconFormat.length > 0) {\r\n icon = ;\r\n }\r\n break;\r\n }\r\n switch (button.actionType) {\r\n case 'Delete':\r\n return operationalFunction({ uie: button, functionName: button.onClick, sectionName: section.name, parameter: parameter, sectionComponent: sectionComponent, pageComponent: pageComponent })}\r\n >\r\n \r\n {button.text}\r\n \r\n \r\n default:\r\n return \r\n operationalFunction({ uie: button, functionName: button.onClick, sectionName: section.name, parameter: parameter, sectionComponent: sectionComponent, pageComponent: pageComponent })}\r\n >{button.text}\r\n \r\n }\r\n }\r\n\r\n render() {\r\n return (\r\n <>{this.createButton({\r\n button: this.props.button,\r\n section: this.props.section,\r\n sectionComponent: this.props.sectionComponent,\r\n pageComponent: this.props.pageComponent,\r\n parameter: this.props.parameter\r\n })}\r\n );\r\n }\r\n}\r\n","import axios from 'axios';\r\nimport { config } from \"./config\";\r\nimport CryptoJS from 'crypto-js';\r\nimport * as globalFunction from './GlobalFunction';\r\n\r\nexport const httpClient = axios.create({\r\n baseURL: config.baseUrl, //YOUR_API_URL HERE\r\n headers: {\r\n 'Content-Type': 'application/json'\r\n },\r\n});\r\n\r\nhttpClient.interceptors.request.use(function (client) {\r\n // Do something before request is sent\r\n client.headers.Security = CryptoJS.AES.encrypt(globalFunction.getUTCDate(), CryptoJS.enc.Utf8.parse(config.aesKey), {\r\n iv: CryptoJS.enc.Utf8.parse(config.aesIV),\r\n mode: CryptoJS.mode.CBC,\r\n padding: CryptoJS.pad.Pkcs7\r\n }).toString(); // Set your new security value here\r\n return client;\r\n}, function (error) {\r\n // Do something with request error\r\n return Promise.reject(error);\r\n});\r\n\r\nexport const uploadClient = axios.create({\r\n baseURL: config.baseUrl, //YOUR_API_URL HERE\r\n // headers: {\r\n // 'Authorization': 'Bearer ' + localStorage.getItem('token')\r\n // },\r\n});\r\n\r\nuploadClient.interceptors.request.use(function (client) {\r\n // Do something before request is sent\r\n client.headers.Security = CryptoJS.AES.encrypt(globalFunction.getUTCDate(), CryptoJS.enc.Utf8.parse(config.aesKey), {\r\n iv: CryptoJS.enc.Utf8.parse(config.aesIV),\r\n mode: CryptoJS.mode.CBC,\r\n padding: CryptoJS.pad.Pkcs7\r\n }).toString(); // Set your new security value here\r\n return client;\r\n}, function (error) {\r\n // Do something with request error\r\n return Promise.reject(error);\r\n});\r\n\r\nexport const psmaClient = axios.create({\r\n baseURL: 'https://api.psma.com.au',\r\n headers: {\r\n 'Content-Type': 'application/json',\r\n 'Authorization': config.psmaKey\r\n },\r\n});\r\n\r\nexport const googleMapClient = axios.create({\r\n baseURL: 'https://maps.googleapis.com',\r\n});\r\n","import React, { Component } from \"react\";\r\nimport Nprogress from \"nprogress\";\r\nimport ReactPlaceholder from \"react-placeholder\";\r\nimport \"nprogress/nprogress.css\";\r\n\r\nimport \"react-placeholder/lib/reactPlaceholder.css\";\r\nimport CircularProgress from \"../components/CircularProgress\";\r\n\r\nexport default function asyncComponent(importComponent) {\r\n class AsyncFunc extends Component {\r\n constructor(props) {\r\n super(props);\r\n this.state = {\r\n component: null\r\n };\r\n }\r\n\r\n componentDidMount() {\r\n Nprogress.start();\r\n }\r\n\r\n componentWillUnmount() {\r\n this.mounted = false;\r\n }\r\n\r\n async componentDidMount() {\r\n this.mounted = true;\r\n const { default: Component } = await importComponent();\r\n Nprogress.done();\r\n if (this.mounted) {\r\n this.setState({\r\n component: \r\n });\r\n }\r\n }\r\n\r\n render() {\r\n const Component = this.state.component ||\r\n
\r\n \r\n
;\r\n return (\r\n \r\n {Component}\r\n \r\n );\r\n }\r\n }\r\n\r\n return AsyncFunc;\r\n}\r\n","import React, { useEffect } from \"react\";\r\nimport CircularProgress from \"../CircularProgress\";\r\nimport { message as toastNotification } from \"antd\";\r\nimport Auxiliary from \"../../util/Auxiliary\";\r\n\r\nconst AppNotificationContainer = ({ loading, error, setError, message }) => {\r\n useEffect(() => {\r\n if (!loading && error) {\r\n toastNotification.error({error});\r\n setError(null);\r\n }\r\n if (!loading && message) {\r\n toastNotification.info({message});\r\n }\r\n });\r\n\r\n return (\r\n \r\n {loading &&
\r\n \r\n
}\r\n
\r\n )\r\n}\r\n\r\nexport default AppNotificationContainer;\r\n","import { message, Modal } from 'antd';\r\nimport { ExclamationCircleOutlined } from '@ant-design/icons';\r\nimport { config } from 'util/config';\r\nimport { httpClient } from \"util/Api\";\r\nimport moment from 'moment';\r\nimport { operationalFunction } from 'components/UIBuilder/SectionFunction/Common';\r\nimport * as globalFunction from 'util/GlobalFunction';\r\nimport * as documentFunction from 'components/UIBuilder/SectionFunction/Document';\r\n\r\nexport function collapseAllGroups({ sectionName, parameter, sectionComponent, pageComponent, uie } = {}) {\r\n let data = sectionComponent.child.current?.state.data.map((folder, i) => {\r\n folder.JobChecklistGroupList.map((group, i) => {\r\n group.Collapsed = true;\r\n return group;\r\n });\r\n return folder;\r\n });\r\n sectionComponent.child.current?.setState({ data });\r\n}\r\n\r\nexport function collapseGroup({ component, key } = {}) {\r\n let data = component.state.data.map((folder, i) => {\r\n folder.JobChecklistGroupList.map((group, j) => {\r\n if (group.key === key) {\r\n if (group.Collapsed !== true) {\r\n group.Collapsed = true;\r\n } else {\r\n group.Collapsed = false;\r\n }\r\n }\r\n return group;\r\n });\r\n return folder;\r\n });\r\n component.setState({ data });\r\n}\r\n\r\nexport function collapseFolder({ component, key, pageComponent } = {}) {\r\n let data = component.state.data.map((folder, i) => {\r\n if (folder.key === key) {\r\n if (folder.Collapsed !== true) {\r\n folder.Collapsed = true;\r\n } else {\r\n folder.Collapsed = false;\r\n }\r\n //写后台\r\n httpClient\r\n .put('Business/JobChecklistFolder/Collapse', { key: key, Collapsed: folder.Collapsed })\r\n .then(({ data }) => {\r\n if (data.result) {\r\n\r\n } else {\r\n globalFunction.handleResultError(data, pageComponent);\r\n }\r\n })\r\n .catch(function (error) {\r\n globalFunction.handleError(error, pageComponent);\r\n });\r\n }\r\n return folder;\r\n });\r\n component.setState({ data });\r\n}\r\n\r\n//上传File\r\nexport function uploadDocument({ sectionName, parameter, sectionComponent, pageComponent, uie } = {}) {\r\n let documentComponent = globalFunction.getSectionComponent(pageComponent, 'Document');\r\n documentFunction.addBySection({ sectionComponent: documentComponent, pageComponent: pageComponent });\r\n pageComponent.setState({ uploadType: 'JobChecklistClientDocument', jobChecklistId: parameter.key });\r\n setTimeout(() => {\r\n documentComponent.child.current?.uploadDocument.current?.formRef.current?.setFieldValue('DocumentTypeId', 0);\r\n }, config.setTimeoutMilliSecond);\r\n}\r\n\r\n//删除File\r\nexport function deleteJobChecklistClientDocument({ sectionName, parameter, sectionComponent, pageComponent, uie } = {}) {\r\n let that = this;\r\n httpClient\r\n .delete('Business/JobChecklist/DeleteJobChecklistClientDocument/' + parameter.key)\r\n .then(({ data }) => {\r\n if (data.result) {\r\n let newData = sectionComponent.child.current?.state.data.map(folder => {\r\n folder.JobChecklistGroupList.map(group => {\r\n group.JobChecklistList.map(jobChecklist => {\r\n if (jobChecklist.JobChecklistClientDocumentList !== null) {\r\n jobChecklist.JobChecklistClientDocumentList = jobChecklist.JobChecklistClientDocumentList.filter(item => item.key !== parameter.key);\r\n }\r\n return jobChecklist;\r\n })\r\n return group;\r\n })\r\n return folder;\r\n });\r\n\r\n setTimeout(() => {\r\n sectionComponent.child.current?.setState({ data: [] });\r\n sectionComponent.child.current?.setState({ data: newData });\r\n }, 10);\r\n } else {\r\n message.error(data.message);\r\n }\r\n })\r\n .catch(function (error) {\r\n globalFunction.handleError(error, pageComponent);\r\n });\r\n}\r\n\r\nexport function quickChangeClientStatus({ e, sectionName, parameter, formComponent, sectionComponent, pageComponent, uie } = {}) {\r\n let jobChecklistData = sectionComponent.child.current?.state.data.map((folder, i) => {\r\n folder.JobChecklistGroupList.map((group, j) => {\r\n group.JobChecklistList.map((jobChecklist, k) => {\r\n if (jobChecklist.key === parameter.key) {\r\n jobChecklist.Loading = true;\r\n }\r\n return jobChecklist;\r\n })\r\n return group;\r\n });\r\n return folder;\r\n });\r\n setTimeout(() => {\r\n sectionComponent.child.current?.setState({ data: [] });\r\n sectionComponent.child.current?.setState({ data: jobChecklistData });\r\n\r\n //写后台\r\n httpClient\r\n .put('Business/JobChecklist/QuickChangeClientStatus', { key: parameter.key })\r\n .then(({ data }) => {\r\n if (data.result) {\r\n // sectionComponent.getSectionDataByDefault();\r\n let jobChecklistData = sectionComponent.child.current?.state.data.map((folder, i) => {\r\n folder.JobChecklistGroupList.map((group, j) => {\r\n group.JobChecklistList.map((jobChecklist, k) => {\r\n if (jobChecklist.key === parameter.key) {\r\n jobChecklist.ChecklistClientStatusId = data.data.ChecklistClientStatusId;\r\n jobChecklist.ChecklistClientStatusName = data.data.ChecklistClientStatusName;\r\n jobChecklist.ChecklistClientStatusBackgroundColor = data.data.ChecklistClientStatusBackgroundColor;\r\n jobChecklist.Loading = false;\r\n }\r\n return jobChecklist;\r\n })\r\n return group;\r\n });\r\n return folder;\r\n });\r\n sectionComponent.child.current?.setState({ data: [] });\r\n sectionComponent.child.current?.setState({ data: jobChecklistData });\r\n } else {\r\n globalFunction.handleResultError(data, pageComponent);\r\n }\r\n })\r\n .catch(function (error) {\r\n globalFunction.handleError(error, pageComponent);\r\n });\r\n }, config.setTimeoutMilliSecond);\r\n e.stopPropagation();\r\n return false;\r\n}\r\n\r\n//public编辑checklist\r\nexport function publicEditBySection({ sectionName, parameter, sectionComponent, pageComponent, uie } = {}) {\r\n sectionComponent.setState({ dataLoading: true });\r\n sectionComponent.setState({ showModal: true, componentType: 'Edit' });\r\n pageComponent.setState({ selectedDocumentList: [] });\r\n\r\n setTimeout(() => {\r\n sectionComponent.customForm.current?.formRef.current?.setFieldsValue(parameter);\r\n sectionComponent.customForm.current?.setState({ formData: parameter, currentDataKey: parameter.key });\r\n sectionComponent.setState({ dataLoading: false });\r\n }, config.setTimeoutMilliSecond);\r\n}\r\n\r\n//public编辑checklist提交\r\nexport function customFormOnSubmit({ parameter, formComponent, sectionComponent, pageComponent, sectionName, uie } = {}) {\r\n\r\n let url = ''\r\n if (pageComponent.props?.accessCode == undefined) {\r\n url = 'Business/JobChecklist/'\r\n } else {\r\n url = 'Business/JobChecklist/PublicEdit'\r\n }\r\n\r\n let form = formComponent.formRef.current?.getFieldsValue();\r\n form.key = formComponent.state.currentDataKey;\r\n\r\n httpClient\r\n .put(url, form)\r\n .then(({ data }) => {\r\n if (data.result) {\r\n sectionComponent.setState({ customFormSubmitting: false });\r\n setTimeout(() => {\r\n formComponent.resetFields();\r\n sectionComponent.setState({ showModal: false });\r\n setTimeout(() => {\r\n sectionComponent.getSectionDataByDefault();\r\n sectionComponent.setState({ componentType: null });\r\n }, config.setTimeoutMilliSecond);\r\n }, config.setTimeoutMilliSecond);\r\n } else {\r\n globalFunction.handleResultError(data);\r\n sectionComponent.setState({ customFormSubmitting: false });\r\n }\r\n })\r\n .catch(function (error) {\r\n globalFunction.handleError(error, pageComponent);\r\n sectionComponent.setState({ customFormSubmitting: false });\r\n });\r\n}\r\n\r\n//public上传File\r\nexport function publicUploadDocument({ sectionName, parameter, sectionComponent, pageComponent, uie } = {}) {\r\n let documentComponent = globalFunction.getSectionComponent(pageComponent, 'ReceivedDocument');\r\n documentFunction.addBySection({ sectionComponent: documentComponent, pageComponent: pageComponent });\r\n pageComponent.setState({ uploadType: 'JobChecklistClientDocument', jobChecklistId: parameter.key });\r\n setTimeout(() => {\r\n documentComponent.child.current?.uploadDocument.current?.formRef.current?.setFieldValue('DocumentTypeId', 0);\r\n }, config.setTimeoutMilliSecond);\r\n}\r\n\r\n//public修改Client状态\r\nexport function publicQuickChangeClientStatus({ e, sectionName, parameter, sectionComponent, pageComponent, uie } = {}) {\r\n let jobChecklistData = sectionComponent.child.current?.state.data.map((folder, i) => {\r\n folder.JobChecklistGroupList.map((group, j) => {\r\n group.JobChecklistList.map((jobChecklist, k) => {\r\n if (jobChecklist.key === parameter.key) {\r\n jobChecklist.Loading = true;\r\n }\r\n return jobChecklist;\r\n })\r\n return group;\r\n });\r\n return folder;\r\n });\r\n setTimeout(() => {\r\n sectionComponent.child.current?.setState({ data: [] });\r\n sectionComponent.child.current?.setState({ data: jobChecklistData });\r\n\r\n //写后台\r\n httpClient\r\n .put('Business/JobChecklist/PublicQuickChangeClientStatus', { key: parameter.key })\r\n .then(({ data }) => {\r\n if (data.result) {\r\n // sectionComponent.getSectionDataByDefault();\r\n let jobChecklistData = sectionComponent.child.current?.state.data.map((folder, i) => {\r\n folder.JobChecklistGroupList.map((group, j) => {\r\n group.JobChecklistList.map((jobChecklist, k) => {\r\n if (jobChecklist.key === parameter.key) {\r\n jobChecklist.ChecklistClientStatusId = data.data.ChecklistClientStatusId;\r\n jobChecklist.ChecklistClientStatusName = data.data.ChecklistClientStatusName;\r\n jobChecklist.ChecklistClientStatusBackgroundColor = data.data.ChecklistClientStatusBackgroundColor;\r\n jobChecklist.Loading = false;\r\n }\r\n return jobChecklist;\r\n })\r\n return group;\r\n });\r\n return folder;\r\n });\r\n sectionComponent.child.current?.setState({ data: [] });\r\n sectionComponent.child.current?.setState({ data: jobChecklistData });\r\n } else {\r\n globalFunction.handleResultError(data, pageComponent);\r\n }\r\n })\r\n .catch(function (error) {\r\n globalFunction.handleError(error, pageComponent);\r\n });\r\n }, config.setTimeoutMilliSecond);\r\n e.stopPropagation();\r\n return false;\r\n}\r\n\r\n//public删除File\r\nexport function deletePublicJobChecklistClientDocument({ sectionName, parameter, sectionComponent, pageComponent, uie } = {}) {\r\n let that = this;\r\n httpClient\r\n .delete('Business/JobChecklist/DeletePublicJobChecklistClientDocument/' + parameter.key + '?accessCode=' + pageComponent.props.accessCode)\r\n .then(({ data }) => {\r\n if (data.result) {\r\n sectionComponent.getSectionDataByDefault();\r\n } else {\r\n message.error(data.message);\r\n }\r\n })\r\n .catch(function (error) {\r\n globalFunction.handleError(error, pageComponent);\r\n });\r\n}\r\n\r\nexport function docMergeRFI({ sectionName, parameter, sectionComponent, pageComponent, uie } = {}) {\r\n if (pageComponent.props?.accessCode === undefined) {\r\n globalFunction.download({ url: '/Admin/MailMergeTemplate/DownloadPdf?parameterId=' + uie.data + '&objId=' + parameter.key + '&dataModelType=1&keyword=RFI', data: null, filename: 'RFI.pdf' })\r\n } else {\r\n globalFunction.download({ url: '/Admin/MailMergeTemplate/PublicDownloadPdf?parameterId=' + uie.data + '&accessCode=' + pageComponent.props?.accessCode + '&dataModelType=1&keyword=RFI', data: null, filename: 'RFI.pdf' })\r\n }\r\n}\r\n","const Auxiliary = (props) => props.children;\r\n\r\nexport default Auxiliary;\r\n","import React from 'react';\r\nimport { message, Space, Table, Pagination, Tag } from 'antd';\r\nimport { Link } from 'react-router-dom';\r\nimport { httpClient } from \"util/Api\";\r\nimport { compareUIElementValue } from 'util/Compare';\r\nimport { config } from \"util/config\";\r\nimport { operationalFunction } from 'components/UIBuilder/SectionFunction/Common';\r\nimport * as globalFunction from 'util/GlobalFunction';\r\nimport { SortableContainer, SortableElement } from 'react-sortable-hoc';\r\nimport { DragHandle, SortableItem, SortableBody, updateBeforeSortStart } from \"components/UIBuilder/Global/SortableHelper\";\r\nimport { setTableColumns } from \"components/UIBuilder/Global/TableHelper\";\r\nimport { getSectionDataList } from \"components/UIBuilder/Global/DataHelper\";\r\nimport { arrayMoveImmutable } from 'array-move';\r\nimport CustomEmpty from \"components/CustomEmpty\";\r\n\r\nexport default class DefaultTable extends React.Component {\r\n constructor(props) {\r\n super();\r\n this.state = {\r\n columns: [],\r\n data: [],\r\n sort: false,\r\n pagination: {\r\n current: 1,\r\n ...config.component.Pagination\r\n },\r\n loaded: false, // 加载是否完成\r\n selectedRowKeys: []\r\n }\r\n\r\n this.handlePaginationChange = this.handlePaginationChange.bind(this);\r\n\r\n //表格选择行的配置\r\n this.rowSelection = props.viewConfig.groupList[0].rowSelectionType !== null ? {\r\n type: props.viewConfig.groupList[0].rowSelectionType,\r\n onChange: (selectedRowKeys, selectedRows) => {\r\n this.setState({selectedRowKeys});\r\n console.log(`selectedRowKeys: ${selectedRowKeys}`, 'selectedRows: ', selectedRows);\r\n },\r\n ...this.state.rowSelection\r\n } : null;\r\n }\r\n\r\n // //只有数据源变化时才刷新table\r\n // shouldComponentUpdate(nextProps, nextState) {\r\n // return nextState.data !== this.state.data;\r\n // }\r\n\r\n //获取table的表头和数据\r\n componentDidMount() {\r\n if (this.props.section.autoLoad) {\r\n this.getSectionDataByDefault();\r\n }\r\n this.setSolumns();\r\n }\r\n\r\n setSolumns() {\r\n this.setState({ columns: setTableColumns({ props: this.props, sort: this.state.sort, sectionComponent: this.props.parentComponent, pageComponent: this.props.pageComponent }) })\r\n }\r\n\r\n //点击分页后获取页面数据\r\n handlePaginationChange(current, pageSize) {\r\n getSectionDataList({ component: this, current: current, pageSize: pageSize });\r\n };\r\n\r\n //默认获取数据的方法\r\n getSectionDataByDefault() {\r\n getSectionDataList({ component: this, current: this.state.pagination.current, pageSize: this.state.pagination.pageSize });\r\n }\r\n\r\n //停止排序时设置数据\r\n onSortEnd = ({ oldIndex, newIndex }) => {\r\n if (oldIndex !== newIndex) {\r\n const newData = arrayMoveImmutable(this.state.data.slice(), oldIndex, newIndex).filter(\r\n (el) => !!el,\r\n );\r\n this.setState({ data: newData })\r\n\r\n var keyArray = newData.map((item, index) => {\r\n return item.key;\r\n });\r\n operationalFunction({ functionName: 'sortBySection', sectionName: this.props.section.name, parameter: keyArray, sectionComponent: this.props.parentComponent, pageComponent: this.props.pageComponent });\r\n }\r\n };\r\n\r\n DraggableContainer = (props) => (\r\n \r\n );\r\n\r\n DraggableBodyRow = ({ className, style, ...restProps }) => {\r\n const index = this.state.data.findIndex((x) => x.key === restProps['data-row-key']);\r\n return ;\r\n };\r\n\r\n render() {\r\n return (\r\n <>\r\n {\r\n this.state.loaded ?\r\n this.state.data.length > 0 ? //判断有没有数据\r\n {\r\n return {\r\n onClick: event => { }, // 点击行\r\n onDoubleClick: event => { }, // 双击行\r\n onContextMenu: event => { }, //右击行\r\n onMouseEnter: event => { }, // 鼠标移入行\r\n onMouseLeave: event => { }, // 鼠标移出行\r\n };\r\n }}\r\n />\r\n :\r\n : \r\n }\r\n \r\n )\r\n }\r\n}\r\n","import React from 'react';\r\nimport { message, Space, Table, Pagination, Tag, Divider, Button } from 'antd';\r\nimport { Link } from 'react-router-dom';\r\nimport { httpClient } from \"util/Api\";\r\nimport { compareUIElementValue } from 'util/Compare';\r\nimport { config } from \"util/config\";\r\nimport { operationalFunction } from 'components/UIBuilder/SectionFunction/Common';\r\nimport * as globalFunction from 'util/GlobalFunction';\r\nimport { SortableContainer, SortableElement } from 'react-sortable-hoc';\r\nimport { DragHandle, SortableItem, SortableBody, updateBeforeSortStart } from \"components/UIBuilder/Global/SortableHelper\";\r\nimport { FolderOpenOutlined, FolderOutlined, GroupOutlined, CaretRightOutlined, CaretDownOutlined } from '@ant-design/icons';\r\nimport { setTableColumns } from \"components/UIBuilder/Global/TableHelper\";\r\nimport { getSectionDataList } from \"components/UIBuilder/Global/DataHelper\";\r\nimport CustomBadge from 'components/CustomBadge';\r\nimport { arrayMoveImmutable } from 'array-move';\r\nimport CustomEmpty from \"components/CustomEmpty\";\r\n\r\nexport default class DefaultGroupTable extends React.Component {\r\n constructor(props) {\r\n super();\r\n this.state = {\r\n columns: [],\r\n data: [],\r\n sort: false,\r\n pagination: {\r\n current: 1,\r\n ...config.component.Pagination\r\n },\r\n loaded: false, // 加载是否完成\r\n selectedRowKeys: []\r\n }\r\n\r\n this.handlePaginationChange = this.handlePaginationChange.bind(this);\r\n\r\n //表格选择行的配置\r\n this.rowSelection = props.viewConfig.groupList[0].rowSelectionType !== null ? {\r\n type: props.viewConfig.groupList[0].rowSelectionType,\r\n onChange: (selectedRowKeys, selectedRows) => {\r\n console.log(`selectedRowKeys: ${selectedRowKeys}`, 'selectedRows: ', selectedRows);\r\n },\r\n ...this.state.rowSelection\r\n } : null;\r\n }\r\n\r\n // //只有数据源变化时才刷新table\r\n // shouldComponentUpdate(nextProps, nextState) {\r\n // return nextState.data !== this.state.data;\r\n // }\r\n\r\n //获取table的表头和数据\r\n componentDidMount() {\r\n if (this.props.section.autoLoad) {\r\n this.getSectionDataByDefault();\r\n }\r\n this.setState({ columns: setTableColumns({ props: this.props, sort: this.state.sort, sectionComponent: this.props.parentComponent, pageComponent: this.props.pageComponent }) })\r\n }\r\n\r\n //点击分页后获取页面数据\r\n handlePaginationChange(current, pageSize) {\r\n getSectionDataList({ component: this, current: current, pageSize: pageSize });\r\n };\r\n\r\n //默认获取数据的方法\r\n getSectionDataByDefault() {\r\n getSectionDataList({ component: this, current: this.state.pagination.current, pageSize: this.state.pagination.pageSize });\r\n }\r\n\r\n //停止排序时设置数据\r\n onSortEnd = ({ oldIndex, newIndex }) => {\r\n if (oldIndex !== newIndex) {\r\n const newData = arrayMoveImmutable(this.state.data.slice(), oldIndex, newIndex).filter(\r\n (el) => !!el,\r\n );\r\n this.setState({ data: newData })\r\n\r\n var keyArray = newData.map((item, index) => {\r\n return item.key;\r\n });\r\n operationalFunction({ functionName: 'sortBySection', sectionName: this.props.section.name, parameter: keyArray, sectionComponent: this.props.parentComponent, pageComponent: this.props.pageComponent });\r\n }\r\n };\r\n\r\n DraggableContainer = (props) => (\r\n \r\n );\r\n\r\n DraggableBodyRow = ({ className, style, ...restProps }) => {\r\n const index = this.state.data.findIndex((x) => x.key === restProps['data-row-key']);\r\n return ;\r\n };\r\n\r\n\r\n render() {\r\n return (\r\n <>\r\n {\r\n this.state.loaded ?\r\n this.state.data.length > 0 ? //判断有没有数据\r\n this.state.data.map((group, i) =>\r\n
\r\n :\r\n }\r\n text={<>{group.Name}({group.DataList.length})}\r\n backgroundColor={config.component.ColorPicker.defaultColor}\r\n verticalAlign=\"top\"\r\n />}\r\n type=\"link\"\r\n style={{ width: 'auto', marginTop: i === 0 ? '3px' : null }}\r\n onClick={() => {\r\n let data = this.state.data.map((dataGroup, j) => {\r\n if (dataGroup.Name === group.Name) {\r\n if (dataGroup.Collapsed !== true) {\r\n dataGroup.Collapsed = true;\r\n } else {\r\n dataGroup.Collapsed = false;\r\n }\r\n }\r\n return dataGroup;\r\n });\r\n this.setState({ data });\r\n }}\r\n />\r\n \r\n {\r\n group.DataList.length > 0 ?\r\n : No records\r\n }\r\n
)\r\n :\r\n : \r\n }\r\n \r\n )\r\n }\r\n}\r\n","import React from 'react';\r\nimport { message, Space, Table, Pagination, Tag } from 'antd';\r\nimport { Link } from 'react-router-dom';\r\nimport { httpClient } from \"util/Api\";\r\nimport { compareUIElementValue } from 'util/Compare';\r\nimport { config } from \"util/config\";\r\nimport { operationalFunction } from 'components/UIBuilder/SectionFunction/Common';\r\nimport * as globalFunction from 'util/GlobalFunction';\r\nimport { SortableContainer, SortableElement } from 'react-sortable-hoc';\r\nimport { DragHandle, SortableItem, SortableBody, updateBeforeSortStart } from \"components/UIBuilder/Global/SortableHelper\";\r\nimport { setTableColumns } from \"components/UIBuilder/Global/TableHelper\";\r\nimport { getSectionDataList } from \"components/UIBuilder/Global/DataHelper\";\r\nimport { arrayMoveImmutable } from 'array-move';\r\nimport CustomEmpty from \"components/CustomEmpty\";\r\nimport CustomBadge from 'components/CustomBadge';\r\n\r\nexport default class JobPagingTable extends React.Component {\r\n constructor(props) {\r\n super();\r\n this.state = {\r\n columns: [],\r\n data: [],\r\n sort: false,\r\n pagination: {\r\n current: 1,\r\n ...config.component.Pagination\r\n },\r\n loaded: false, // 加载是否完成\r\n selectedRowKeys: [],\r\n // label: []\r\n }\r\n\r\n this.handlePaginationChange = this.handlePaginationChange.bind(this);\r\n\r\n //表格选择行的配置\r\n this.rowSelection = props.viewConfig.groupList[0].rowSelectionType !== null ? {\r\n type: props.viewConfig.groupList[0].rowSelectionType,\r\n onChange: (selectedRowKeys, selectedRows) => {\r\n console.log(`selectedRowKeys: ${selectedRowKeys}`, 'selectedRows: ', selectedRows);\r\n },\r\n ...this.state.rowSelection\r\n } : null;\r\n }\r\n\r\n // //只有数据源变化时才刷新table\r\n // shouldComponentUpdate(nextProps, nextState) {\r\n // return nextState.data !== this.state.data;\r\n // }\r\n\r\n //获取table的表头和数据\r\n componentDidMount() {\r\n let pagination = this.state.pagination;\r\n let jobPerPage = parseInt(this.props.pageComponent.props.authUser.JobPerPage, 10);\r\n if (isNaN(jobPerPage)) {\r\n jobPerPage = config.component.Pagination.pageSize; // 默认值\r\n }\r\n pagination.pageSize = jobPerPage;\r\n this.setState({ pagination });\r\n if (this.props.section.autoLoad) {\r\n this.getSectionDataByDefault();\r\n }\r\n this.setSolumns();\r\n }\r\n\r\n setSolumns() {\r\n this.setState({ columns: setTableColumns({ props: this.props, sort: this.state.sort, sectionComponent: this.props.parentComponent, pageComponent: this.props.pageComponent }) })\r\n }\r\n\r\n //点击分页后获取页面数据\r\n handlePaginationChange(current, pageSize) {\r\n getSectionDataList({ component: this, current: current, pageSize: pageSize });\r\n };\r\n\r\n //默认获取数据的方法\r\n getSectionDataByDefault() {\r\n getSectionDataList({ component: this, current: this.state.pagination.current, pageSize: this.state.pagination.pageSize });\r\n }\r\n\r\n //停止排序时设置数据\r\n onSortEnd = ({ oldIndex, newIndex }) => {\r\n if (oldIndex !== newIndex) {\r\n const newData = arrayMoveImmutable(this.state.data.slice(), oldIndex, newIndex).filter(\r\n (el) => !!el,\r\n );\r\n this.setState({ data: newData })\r\n\r\n var keyArray = newData.map((item, index) => {\r\n return item.key;\r\n });\r\n operationalFunction({ functionName: 'sortBySection', sectionName: this.props.section.name, parameter: keyArray, sectionComponent: this.props.parentComponent, pageComponent: this.props.pageComponent });\r\n }\r\n };\r\n\r\n DraggableContainer = (props) => (\r\n \r\n );\r\n\r\n DraggableBodyRow = ({ className, style, ...restProps }) => {\r\n const index = this.state.data.findIndex((x) => x.key === restProps['data-row-key']);\r\n return ;\r\n };\r\n\r\n render() {\r\n return (\r\n <>\r\n {\r\n this.props.pageComponent.state.selectedLabel.length > 0 ?\r\n
\r\n {\r\n this.props.pageComponent.state.selectedLabel.map((item, i) =>\r\n
{item}
)\r\n }\r\n
: <>\r\n }\r\n {\r\n this.props.pageComponent.state.selectedWorkflowStatus.length > 0 ?\r\n
\r\n {\r\n this.props.pageComponent.state.selectedWorkflowStatus.map((workflowStatus, j) =>\r\n
)\r\n }\r\n
: <>\r\n }\r\n {\r\n this.state.loaded ?\r\n <>\r\n {\r\n this.state.data.length > 0 ? //判断有没有数据\r\n {\r\n return {\r\n onClick: event => { }, // 点击行\r\n onDoubleClick: event => { }, // 双击行\r\n onContextMenu: event => { }, //右击行\r\n onMouseEnter: event => { }, // 鼠标移入行\r\n onMouseLeave: event => { }, // 鼠标移出行\r\n };\r\n }}\r\n /> :\r\n <>No records\r\n }\r\n \r\n : \r\n }\r\n \r\n )\r\n }\r\n}\r\n","import React from 'react';\r\nimport { message, Space, Tag, Row, Col, Descriptions, Divider } from 'antd';\r\nimport { Link } from 'react-router-dom';\r\nimport { httpClient } from \"util/Api\";\r\nimport { compareUIElementValue } from 'util/Compare';\r\nimport { config } from \"util/config\";\r\nimport * as globalFunction from 'util/GlobalFunction';\r\nimport { getSectionData } from \"components/UIBuilder/Global/DataHelper\";\r\n\r\nexport default class DefaultDiv extends React.Component {\r\n constructor(props) {\r\n super();\r\n this.state = {\r\n data: {},\r\n }\r\n }\r\n\r\n //获取div数据\r\n componentDidMount() {\r\n if (this.props.section.autoLoad) {\r\n this.getSectionDataByDefault();\r\n }\r\n }\r\n\r\n getSectionDataByDefault() {\r\n getSectionData({ component: this });\r\n }\r\n\r\n //创建显示UI - component\r\n createUI() {\r\n return this.props.viewConfig.groupList.map((group, i) =>\r\n \r\n {this.createGroupUI(group)}\r\n )\r\n }\r\n\r\n //创建显示UI - Group\r\n createGroupUI(group) {\r\n return group.uieList.map((uie, i) => {\r\n return {globalFunction.formatUieData({ uie: uie, data: this.state.data[uie.source], record: this.state.data, companyId: this.props.companyId, sectionComponent: this.parentComponent, pageComponent: this.props.pageComponent })}\r\n });\r\n }\r\n\r\n render() {\r\n return (\r\n {this.createUI()}\r\n )\r\n }\r\n}\r\n","// Customizer const\r\nexport const THEME_TYPE = 'THEME_TYPE';\r\nexport const THEME_TYPE_LITE = 'THEME_TYPE_LITE';\r\nexport const THEME_TYPE_DARK = 'THEME_TYPE_DARK';\r\nexport const THEME_TYPE_SEMI_DARK = 'THEME_TYPE_SEMI_DARK';\r\n\r\nexport const THEME_COLOR = 'THEME_COLOR';\r\nexport const UPDATE_RTL_STATUS = 'UPDATE_RTL_STATUS';\r\nexport const LAYOUT_TYPE = 'LAYOUT_TYPE';\r\n\r\nexport const LAYOUT_TYPE_FRAMED = 'LAYOUT_TYPE_FRAMED';\r\nexport const LAYOUT_TYPE_BOXED = 'LAYOUT_TYPE_BOXED';\r\nexport const LAYOUT_TYPE_FULL = 'LAYOUT_TYPE_FULL';\r\n\r\nexport const NAV_STYLE = 'NAV_STYLE';\r\n\r\nexport const NAV_STYLE_FIXED = 'NAV_STYLE_FIXED';\r\nexport const NAV_STYLE_MINI_SIDEBAR = 'NAV_STYLE_MINI_SIDEBAR';\r\nexport const NAV_STYLE_DRAWER = 'NAV_STYLE_DRAWER';\r\nexport const NAV_STYLE_NO_HEADER_MINI_SIDEBAR = 'NAV_STYLE_NO_HEADER_MINI_SIDEBAR';\r\nexport const NAV_STYLE_NO_HEADER_EXPANDED_SIDEBAR = 'NAV_STYLE_NO_HEADER_EXPANDED_SIDEBAR';\r\n\r\nexport const NAV_STYLE_DEFAULT_HORIZONTAL = 'NAV_STYLE_DEFAULT_HORIZONTAL';\r\nexport const NAV_STYLE_DARK_HORIZONTAL = 'NAV_STYLE_DARK_HORIZONTAL';\r\nexport const NAV_STYLE_INSIDE_HEADER_HORIZONTAL = 'NAV_STYLE_INSIDE_HEADER_HORIZONTAL';\r\nexport const NAV_STYLE_BELOW_HEADER = 'NAV_STYLE_BELOW_HEADER';\r\nexport const NAV_STYLE_ABOVE_HEADER = 'NAV_STYLE_ABOVE_HEADER';\r\n\r\nexport const LIGHT_PURPLE = 'light_purple';\r\nexport const LIGHT_PURPLE_SEC = '#00B378';\r\nexport const LIGHT_PURPLE_DARK_TEXT_COLOR = '#9799AC';\r\n\r\nexport const RED = 'red';\r\nexport const RED_SEC = '#00D9C9';\r\nexport const RED_DARK_TEXT_COLOR = '#878BAB';\r\n\r\nexport const BLUE = 'blue';\r\nexport const BLUE_SEC = '#FCB53B';\r\nexport const BLUE_DARK_TEXT_COLOR = '#AAA59A';\r\n\r\nexport const DARK_BLUE = 'dark_blue';\r\nexport const DARK_BLUE_SEC = '#17BDE5';\r\nexport const DARK_BLUE_DARK_TEXT_COLOR = '#9DDAE9';\r\n\r\nexport const ORANGE = 'orange';\r\nexport const ORANGE_SEC = '#F1D065';\r\nexport const ORANGE_DARK_TEXT_COLOR = '#ABA895';\r\n\r\nexport const LIGHT_BLUE = 'light_blue';\r\nexport const LIGHT_BLUE_SEC = '#59DCFF';\r\nexport const LIGHT_BLUE_DARK_TEXT_COLOR = '#92A2C8';\r\n\r\nexport const DEEP_ORANGE = 'deep_orange';\r\nexport const DEEP_ORANGE_SEC = '#70A288';\r\nexport const DEEP_ORANGE_DARK_TEXT_COLOR = '#97B8C7';\r\n\r\nexport const LIGHT_PURPLE_1 = 'light_purple_1';\r\nexport const LIGHT_PURPLE_1_SEC = '#E14594';\r\nexport const LIGHT_PURPLE_1_DARK_TEXT_COLOR = '#8288B4';\r\n\r\nexport const LIGHT_PURPLE_2 = 'light_purple_2';\r\nexport const LIGHT_PURPLE_2_SEC = '#64D7D6';\r\nexport const LIGHT_PURPLE_2_DARK_TEXT_COLOR = '#5782BB';\r\n\r\nexport const ACTIVE_COLOR_OPTION = '#ffffff';\r\n\r\nexport const TAB_SIZE = 992;\r\n","import React from 'react';\r\nimport { message, Space, Tag, Row, Col, Descriptions, Divider } from 'antd';\r\nimport { Link } from 'react-router-dom';\r\nimport { httpClient } from \"util/Api\";\r\nimport { compareUIElementValue } from 'util/Compare';\r\nimport { config } from \"util/config\";\r\nimport * as globalFunction from 'util/GlobalFunction';\r\nimport { getSectionData } from \"components/UIBuilder/Global/DataHelper\";\r\n\r\nexport default class JobDetailDiv extends React.Component {\r\n constructor(props) {\r\n super();\r\n this.state = {\r\n data: {},\r\n manageLabelShow: false,\r\n }\r\n\r\n this.labelDiv = React.createRef();\r\n }\r\n\r\n //获取div数据\r\n componentDidMount() {\r\n if (this.props.section.autoLoad) {\r\n this.setState({ data: this.props.pageComponent.state.jobData });\r\n }\r\n }\r\n\r\n getSectionDataByDefault() {\r\n getSectionData({ component: this });\r\n }\r\n\r\n //创建显示UI - component\r\n createUI() {\r\n return this.props.viewConfig.groupList.map((group, i) =>\r\n \r\n {this.createGroupUI(group)}\r\n )\r\n }\r\n\r\n //创建显示UI - Group\r\n createGroupUI(group) {\r\n return group.uieList.map((uie, i) => {\r\n return {globalFunction.formatUieData({ uie: uie, data: this.state.data[uie.source], record: this.state.data, companyId: this.props.companyId, sectionComponent: this.parentComponent, pageComponent: this.props.pageComponent })}\r\n });\r\n }\r\n\r\n render() {\r\n return (\r\n <>\r\n {this.createUI()}\r\n \r\n )\r\n }\r\n}\r\n","import { config } from 'util/config';\r\nimport { httpClient } from \"util/Api\";\r\nimport React, { Fragment } from 'react';\r\nimport moment from 'moment';\r\nimport { message, Tooltip, Divider, Row, Col, Form, Button, Input, DatePicker, Select, InputNumber, Switch, AutoComplete, Tabs, Checkbox } from 'antd';\r\nimport { operationalFunction, getUieDataSource, getComponentDataSourceGroup } from 'components/UIBuilder/SectionFunction/Common';\r\nimport AdditionalForm from 'components/UIBuilder/AdditionalForm';\r\nimport * as createComponent from 'components/UIBuilder/CustomComponent/CreateComponent';\r\nimport * as globalFunction from 'util/GlobalFunction';\r\n\r\nexport default class DetailForm extends React.Component {\r\n constructor(props) {\r\n super();\r\n this.state = {\r\n currentDataKey: 0,\r\n initialValues: {},\r\n formData: {},\r\n componentDataSource: [],\r\n componentDefaultValue: [],\r\n uieCounter: 0,\r\n activeKey: 0,\r\n autoLoadComponentDataSource: true,\r\n checkedItems: {},\r\n }\r\n\r\n this.formRef = React.createRef();\r\n this.additionalFormRef = React.createRef();\r\n this.setFormValue = this.setFormValue.bind(this);\r\n };\r\n\r\n //页面启动\r\n componentDidMount() {\r\n setTimeout(() => {\r\n if (this.state.autoLoadComponentDataSource) {\r\n this.getComponentDataSource();\r\n }\r\n }, 20);\r\n this.getComponent();\r\n }\r\n\r\n //触发提交表单\r\n submitForm() {\r\n this.formRef.current?.submit();\r\n }\r\n\r\n //触发清空表单\r\n resetFields() {\r\n // this.setState({ formData: {} });\r\n this.formRef.current?.resetFields();\r\n }\r\n\r\n //同时修改状态表单和表单组件里, 对应字段的值\r\n setFormValue = (key, value) => {\r\n this.formRef.current?.setFieldsValue({ [key]: value });\r\n }\r\n\r\n //修改表单组件里的值, 修改状态表单对应的值\r\n onFormChange = (changedValues, allValues) => {\r\n this.props.sectionComponent.setState({ isFormModified: true });\r\n }\r\n\r\n //提交表单\r\n onFinish = async (values: any) => {\r\n operationalFunction({\r\n functionName: 'detailFormOnSubmit',\r\n sectionName: this.props.parentComponent.props.section.name,\r\n parameter: this.props.defaultFormData,\r\n formComponent: this,\r\n sectionComponent: this.props.sectionComponent,\r\n pageComponent: this.props.pageComponent\r\n })\r\n };\r\n\r\n //提交表单之前验证失败\r\n onFinishFailed = (errorInfo: any) => {\r\n console.log('Failed:', errorInfo);\r\n };\r\n\r\n //某些字段不能为0(- Select xxx -),必须手选一个\r\n validateSelect = async (_, value) => {\r\n if (value === 0) {\r\n // 如果选择的是“0”,则返回错误\r\n return Promise.reject(new Error(''));\r\n }\r\n // 否则验证通过\r\n return Promise.resolve();\r\n };\r\n\r\n //访问后台获取表单配置\r\n getComponent() {\r\n //处理初值, 防止某些控件崩溃\r\n let initialValues = { ...this.state.initialValues };\r\n this.props.viewConfig.groupList.map((group, i) => {\r\n group.uieList.map((uie, i) => {\r\n switch (uie.component) {\r\n case 'RichTextEditor':\r\n initialValues[uie.source] = '';\r\n break;\r\n }\r\n })\r\n })\r\n this.setState({ initialValues });\r\n }\r\n\r\n //找到需要数据源的组件, 获取其数据源\r\n getComponentDataSource() {\r\n let parameter = [];\r\n if (this.props.companyId !== undefined && this.props.companyId !== null) {\r\n parameter.push({ key: 'companyId', value: this.props.companyId })\r\n }\r\n if (this.props.jobId !== undefined && this.props.jobId !== null) {\r\n parameter.push({ key: 'jobId', value: this.props.jobId });\r\n }\r\n if (this.props.moduleId !== undefined && this.props.moduleId !== null) {\r\n parameter.push({ key: 'moduleId', value: this.props.moduleId });\r\n }\r\n if (this.props.module !== undefined && this.props.module !== null) {\r\n parameter.push({ key: 'module', value: this.props.module });\r\n }\r\n if (this.props.state !== undefined && this.props.state !== null) {\r\n parameter.push({ key: 'state', value: this.props.state });\r\n }\r\n if (this.props.jobId !== undefined && this.props.jobId !== null) {\r\n parameter.push({ key: 'jobId', value: this.props.jobId })\r\n }\r\n if (this.props.subJobId !== undefined && this.props.subJobId !== null) {\r\n parameter.push({ key: 'subJobId', value: this.props.subJobId })\r\n }\r\n if (this.props.approvalId !== undefined && this.props.approvalId !== null) {\r\n parameter.push({ key: 'approvalId', value: this.props.approvalId })\r\n }\r\n // if (this.props.viewConfig.datasourceUrl === null) {\r\n // this.props.viewConfig.groupList.map((group, i) => {\r\n // group.uieList.map(async (uie, j) => {\r\n // if (this.state.componentDataSource[uie.source] === undefined) {\r\n // getUieDataSource({ parameter: parameter, sectionName: this.props.parentComponent.props.section.name, component: this, formComponent: this, sectionComponent: this.props.sectionComponent, pageComponent: this.props.pageComponent, uie: uie });\r\n // }\r\n // })\r\n // })\r\n // setTimeout(() => {\r\n // this.props.parentComponent.setState({ renderForm: true });\r\n // }, config.setTimeoutMilliSecond);\r\n // } else if (this.props.viewConfig.autoDataSource) {\r\n // getComponentDataSourceGroup({ parameter: parameter, sectionName: this.props.parentComponent.props.section.name, component: this, formComponent: this, sectionComponent: this.props.sectionComponent, pageComponent: this.props.pageComponent });\r\n // }\r\n\r\n let parameterStr = '';\r\n parameter.forEach(item => {\r\n parameterStr += item.key + '=' + item.value + '&';\r\n })\r\n\r\n httpClient\r\n .get(this.props.component.datasourceUrl + '?' + parameterStr)\r\n .then(({ data }) => {\r\n this.props.sectionComponent.setState({ renderForm: true });\r\n let componentDataSource = this.props.sectionComponent.state.componentDataSource;\r\n if (data.result) {\r\n if (data.data.length > 0) {\r\n data.data.map((hash, i) => {\r\n let dataSource = hash.Value;\r\n let uie = null;\r\n this.props.component.groupList.filter(c => c.show).map((group, j) => {\r\n group.uieList.map((u, k) => {\r\n if (u.source == hash.Key) {\r\n uie = u;\r\n }\r\n })\r\n })\r\n if (uie !== null) {\r\n if (uie.required) {\r\n dataSource = dataSource.filter(item => item.Value !== 0);\r\n }\r\n componentDataSource[hash.Key] = dataSource;\r\n setTimeout(() => {\r\n if (uie.component === 'Select' && (uie.type === null || uie.type.indexOf('multiple') < 0)) {\r\n let formData = { ...this.state.formData };\r\n if (this.props.pageComponent.formRef.current?.getFieldValue(uie.source) === null || this.props.pageComponent.formRef.current?.getFieldValue(uie.source) === undefined) {\r\n if (uie.type === 'group') {\r\n let dataSourceFilter = dataSource.filter(group => {\r\n return group.SelectOptionList !== null && group.SelectOptionList.length > 0;\r\n });\r\n if (dataSourceFilter.length > 0) {\r\n this.props.pageComponent.formRef.current?.setFieldValue(uie.source, dataSourceFilter[0].SelectOptionList[0].Value);\r\n } else {\r\n this.props.pageComponent.formRef.current?.setFieldValue(uie.source, dataSource[0]?.Value);\r\n }\r\n } else {\r\n this.props.pageComponent.formRef.current?.setFieldValue(uie.source, dataSource[0]?.Value);\r\n }\r\n }\r\n setTimeout(() => {\r\n if (uie.onChange !== null) {\r\n operationalFunction({ functionName: uie.onChange, sectionName: this.props.parentComponent.props.section.name, parameter: this.props.pageComponent.formRef.current?.getFieldValue(uie.source), data: dataSource[0], sectionComponent: this, pageComponent: this.props.pageComponent, uie: uie });\r\n }\r\n }, config.setTimeoutMilliSecond);\r\n }\r\n }, config.setTimeoutMilliSecond)\r\n }\r\n });\r\n this.setState({ componentDataSource });\r\n }\r\n } else {\r\n globalFunction.handleResultError(data, this.props.pageComponent);\r\n }\r\n })\r\n .catch(function (error) {\r\n globalFunction.handleError(error, this.props.pageComponent);\r\n });\r\n }\r\n\r\n //创建表单UI - component\r\n createUI() {\r\n //查看tab分组信息\r\n let tabs = this.props.viewConfig.groupList.filter(c => c.tab !== null).map((group, i) => { return group.tab; }).filter((value, index, array) => array.indexOf(value) === index);\r\n if (tabs.length === 0) {\r\n //默认情况\r\n return this.props.viewConfig.groupList.filter(c => c.show).map((group, i) =>\r\n this.createGroup(group, i)\r\n );\r\n } else {\r\n //有分tab的情况, 生成tab标签页\r\n let tabItems = [];\r\n tabs.map((tab, i) => {\r\n let groups = this.props.viewConfig.groupList.filter(c => c.tab === tab);\r\n tabItems.push({\r\n label: <>{tab},\r\n key: i,\r\n forceRender: true,\r\n children: groups.map((group, i) =>\r\n this.createGroup(group, i)\r\n )\r\n });\r\n })\r\n\r\n return { this.setState({ activeKey }); }}\r\n />\r\n }\r\n }\r\n\r\n //记录condition group的checkbox状态,以展开对应的placeholder\r\n handleChange = (source, e) => {\r\n this.setState(prevState => ({\r\n checkedItems: {\r\n ...prevState.checkedItems,\r\n [source]: e.target.checked\r\n }\r\n }));\r\n };\r\n\r\n createGroup(group, i) {\r\n if (!globalFunction.isNullOrEmpty(group.conditionText)) {\r\n return \r\n {group.name !== null ? {group.name}{this.createGroupButton(group)} : <>}\r\n
\r\n
\r\n \r\n \r\n {group.conditionCheckboxText}\r\n \r\n \r\n
\r\n
\r\n } else if (!globalFunction.isNullOrEmpty(group.condition)) {\r\n if (this.state.formData.JobTypeName === group.condition) {\r\n return \r\n {group.name !== null ? {group.name}{this.createGroupButton(group)} : <>}\r\n
\r\n {\r\n group.uieList.map((uie, j) => {\r\n return \r\n \r\n this.handleChange(uie.source, e)}>{uie.title}\r\n \r\n {this.state.checkedItems[uie.source] && (\r\n \r\n )}\r\n \r\n })\r\n }\r\n
\r\n
\r\n }\r\n } else {\r\n return \r\n {group.name !== null ? {group.name}{this.createGroupButton(group)} : <>}\r\n {this.createGroupUI(group)}\r\n \r\n }\r\n }\r\n\r\n createGroupButton(group) {\r\n return !globalFunction.isNullOrEmpty(group.buttonText) ?\r\n operationalFunction({\r\n functionName: group.buttonOnClick,\r\n sectionName: this.props.parentComponent.props.section.name,\r\n parameter: this.props.defaultFormData,\r\n formComponent: this,\r\n sectionComponent: this.props.sectionComponent,\r\n pageComponent: this.props.pageComponent\r\n })}>{group.buttonText}\r\n : <>\r\n }\r\n\r\n //创建表单UI - Group\r\n createGroupUI(group) {\r\n return group.uieList.map((uie, i) => {\r\n if (uie.show) {\r\n this.state.uieCounter++;\r\n let rules = [];\r\n rules.push({\r\n required: uie.required,\r\n message: ''\r\n });\r\n if (uie.pattern != null) {\r\n rules.push({\r\n required: false,\r\n pattern: new RegExp(uie.pattern, 'i'),\r\n message: ''\r\n });\r\n }\r\n if (uie.mandatorySelect) {\r\n rules.push({\r\n validator: this.validateSelect\r\n });\r\n }\r\n\r\n let valuePropName = 'value';\r\n switch (uie.component) {\r\n case 'Switch':\r\n case 'Checkbox':\r\n valuePropName = 'checked';\r\n break;\r\n case 'RichTextEditor':\r\n valuePropName = 'data';\r\n break;\r\n }\r\n switch (uie.component) {\r\n case 'RichTextEditor':\r\n return \r\n {\r\n const data = editor.getData();\r\n return data;\r\n }}\r\n >\r\n {createComponent.createUIElement({ uie: uie, uieCounter: this.state.uieCounter, component: this, formComponent: this, sectionComponent: this.props.sectionComponent, pageComponent: this.props.pageComponent, value: this.state.componentDefaultValue[uie.source] })}\r\n \r\n \r\n case 'Select':\r\n switch (uie.type) {\r\n case 'Notify':\r\n return \r\n \r\n {createComponent.createUIElement({ uie: uie, uieCounter: this.state.uieCounter, component: this, formComponent: this, sectionComponent: this.props.sectionComponent, pageComponent: this.props.pageComponent, value: this.state.componentDefaultValue[uie.source] })}\r\n \r\n \r\n : }\r\n type=\"link\"\r\n onClick={() => operationalFunction({ uie: uie, functionName: uie.onClick, sectionName: this.props.sectionComponent.props.sectionName, parameter: null, sectionComponent: this.props.sectionComponent, pageComponent: this.props.pageComponent })}\r\n />\r\n \r\n \r\n default:\r\n return this.defaultComponent({ uie, i, rules, valuePropName });\r\n }\r\n case 'DatePicker':\r\n switch (uie.type) {\r\n case 'QuickDays':\r\n let days = [1, 7, 14, 30, 60];\r\n return \r\n \r\n {createComponent.createUIElement({ uie: uie, uieCounter: this.state.uieCounter, component: this, formComponent: this, sectionComponent: this.props.sectionComponent, pageComponent: this.props.pageComponent, value: this.state.componentDefaultValue[uie.source] })}\r\n \r\n \r\n {\r\n days.map((day, j) =>\r\n operationalFunction({ uie: uie, functionName: 'quickAddDays_' + uie.source, sectionName: this.props.sectionComponent.props.sectionName, parameter: day, sectionComponent: this.props.sectionComponent, pageComponent: this.props.pageComponent })}\r\n >{day}\r\n )\r\n }\r\n \r\n \r\n default:\r\n return this.defaultComponent({ uie, i, rules, valuePropName });\r\n }\r\n default:\r\n return this.defaultComponent({ uie, i, rules, valuePropName });\r\n }\r\n } else {\r\n return null\r\n }\r\n });\r\n }\r\n\r\n defaultComponent({ uie, i, rules, valuePropName } = {}) {\r\n return \r\n \r\n {createComponent.createUIElement({ uie: uie, uieCounter: this.state.uieCounter, component: this, formComponent: this, sectionComponent: this.props.sectionComponent, pageComponent: this.props.pageComponent, value: this.state.componentDefaultValue[uie.source] })}\r\n \r\n \r\n }\r\n\r\n //----------------- render -----------------//\r\n render() {\r\n return (\r\n
{this.createUI()}
\r\n );\r\n }\r\n}\r\n","import React from 'react';\r\nimport { Divider, Tooltip, Button, Badge, Table } from 'antd';\r\nimport { httpClient } from \"util/Api\";\r\nimport { config } from \"util/config\";\r\nimport { GroupOutlined, PlusSquareOutlined, ProfileOutlined, EditOutlined, DeleteOutlined, OrderedListOutlined, FolderOutlined, FolderOpenOutlined, CaretRightOutlined, CaretDownOutlined } from '@ant-design/icons';\r\nimport { DragHandle, SortableItem, SortableBody, updateBeforeSortStart } from \"components/UIBuilder/Global/SortableHelper\";\r\nimport { arrayMoveImmutable } from 'array-move';\r\nimport { operationalFunction } from 'components/UIBuilder/SectionFunction/Common';\r\nimport CustomBadge from 'components/CustomBadge';\r\nimport * as globalFunction from 'util/GlobalFunction';\r\nimport * as document from 'components/UIBuilder/SectionFunction/Document';\r\n\r\nexport default class JobDocumentFolder extends React.Component {\r\n constructor(props) {\r\n super();\r\n this.state = {\r\n data: [],\r\n keyArray: [],\r\n selectedRowKeys: [],\r\n sort: false,\r\n }\r\n }\r\n\r\n //停止排序时设置数据\r\n onSortEnd = ({ oldIndex, newIndex }) => {\r\n if (oldIndex !== newIndex) {\r\n const newData = arrayMoveImmutable(this.props.data.DocumentList.slice(), oldIndex, newIndex).filter(\r\n (el) => !!el,\r\n );\r\n\r\n let data = this.props.component.state.data;\r\n data = data.map((folder, i) => {\r\n if (folder.key === this.props.data.key) {\r\n folder.DocumentList = newData;\r\n }\r\n return folder;\r\n });\r\n this.props.component.setState({ data });\r\n\r\n var keyArray = newData.map((item, index) => {\r\n return item.key;\r\n });\r\n operationalFunction({ functionName: 'sortBySection', sectionName: this.props.component.props.sectionName, parameter: keyArray, sectionComponent: this.props.component.props.parentComponent, pageComponent: this.props.component.props.pageComponent });\r\n }\r\n };\r\n\r\n DraggableContainer = (props) => (\r\n \r\n );\r\n\r\n DraggableBodyRow = ({ className, style, ...restProps }) => {\r\n const index = this.props.data.DocumentList.findIndex((x) => x.key === restProps['data-row-key']);\r\n return ;\r\n };\r\n\r\n render() {\r\n let columns = [];\r\n if (this.state.sort) {\r\n columns.push({\r\n title: '',\r\n dataIndex: 'Sort',\r\n fixed: config.component.Table.fixed,\r\n className: 'drag-visible',\r\n render: () => ,\r\n })\r\n }\r\n this.props.columns.map((column, i) => {\r\n columns.push(column);\r\n })\r\n\r\n return (\r\n {\r\n // e.stopPropagation();\r\n // e.preventDefault();\r\n // }}\r\n // onDrop={(e) => {\r\n // e.preventDefault();\r\n // e.stopPropagation();\r\n // let sectionComponent = globalFunction.getSectionComponent(this.props.pageComponent, 'Document');\r\n // document.addBySection({ sectionComponent: sectionComponent, pageComponent: this.props.pageComponent });\r\n // let files = e.dataTransfer.files;\r\n // setTimeout(() => {\r\n // document.dropDocument({ files: files, component: sectionComponent.child.current?.uploadDocument.current });\r\n // sectionComponent.child.current?.uploadDocument.current?.formRef.current?.setFieldValue('DocumentTypeId', 0);\r\n // sectionComponent.child.current?.uploadDocument.current?.formRef.current?.setFieldValue('JobDocumentFolderId', this.props.data.key);\r\n // }, config.setTimeoutMilliSecond);\r\n // }}\r\n >\r\n
\r\n :\r\n }\r\n text={this.props.data.Name + ' (' + this.props.data.DocumentList.length + ')'}\r\n backgroundColor={this.props.data.BackgroundColor != null ? this.props.data.BackgroundColor : config.component.ColorPicker.defaultColor}\r\n verticalAlign=\"top\" />}\r\n type=\"link\"\r\n style={{ width: 'auto', color: '#495057', padding: '0px', height: '18px', lineHeight: '18px' }}\r\n onClick={() => {\r\n let data = this.props.component.state.data.map((folder, i) => {\r\n if (folder.key === this.props.data.key) {\r\n if (folder.Collapsed !== true) {\r\n folder.Collapsed = true;\r\n } else {\r\n folder.Collapsed = false;\r\n }\r\n }\r\n return folder;\r\n });\r\n this.props.component.setState({ data });\r\n }}\r\n />\r\n
\r\n \r\n
\r\n {\r\n this.props.data.DocumentList.length > 0 ?\r\n {\r\n this.setState({\r\n selectedRowKeys\r\n });\r\n },\r\n onSelect: (record, selected, selectedRows, nativeEvent) => {\r\n let selectedRowKeys = this.props.component.state.selectedRowKeys;\r\n if (selected) {\r\n selectedRowKeys.push(record.key);\r\n } else {\r\n selectedRowKeys = selectedRowKeys.filter(item => item !== record.key);\r\n }\r\n this.props.component.setState({ selectedRowKeys });\r\n },\r\n onSelectAll: (selected, selectedRows, changeRows) => {\r\n let selectedRowKeys = this.props.component.state.selectedRowKeys;\r\n changeRows.map((record, i) => {\r\n if (selected) {\r\n selectedRowKeys.push(record.key);\r\n } else {\r\n selectedRowKeys = selectedRowKeys.filter(item => item !== record.key);\r\n }\r\n })\r\n this.props.component.setState({ selectedRowKeys });\r\n },\r\n defaultSelectedRowKeys: []\r\n } : null}\r\n columns={columns}\r\n dataSource={this.props.data.DocumentList}\r\n scroll={config.component.Table.scroll}\r\n pagination={false}\r\n components={this.state.sort ? //判断是否带排序功能\r\n {\r\n body: {\r\n wrapper: this.DraggableContainer,\r\n row: this.DraggableBodyRow,\r\n },\r\n } : null}\r\n onRow={(record, index) => {\r\n return {\r\n onClick: event => { }, // 点击行\r\n onDoubleClick: event => { }, // 双击行\r\n onContextMenu: event => { }, //右击行\r\n onMouseEnter: event => { }, // 鼠标移入行\r\n onMouseLeave: event => { }, // 鼠标移出行\r\n };\r\n }}\r\n /> : <>\r\n }\r\n
\r\n \r\n )\r\n }\r\n}\r\n","import React from 'react';\r\nimport { httpClient, uploadClient } from \"util/Api\";\r\nimport { config } from \"util/config\";\r\nimport AntDraggableModal from 'components/AntDraggableModal';\r\nimport { message, Space, Table, Pagination, Tag, Empty, Row, Col, Form, Input, Divider, Tooltip, Button, Popconfirm, Select, Upload, Progress } from 'antd';\r\nimport { UploadOutlined, DeleteOutlined } from '@ant-design/icons';\r\nimport * as globalFunction from 'util/GlobalFunction';\r\nimport * as imageConversion from 'image-conversion';\r\nimport * as document from 'components/UIBuilder/SectionFunction/Document';\r\n\r\nexport default class UploadDocument extends React.Component {\r\n constructor(props) {\r\n super();\r\n this.state = {\r\n submitting: false,\r\n DocumentTypeId: null,\r\n fileList: [],\r\n componentDataSource: [],\r\n componentDefaultValue: [],\r\n onDragEnterCLass: ''\r\n }\r\n\r\n this.formRef = React.createRef();\r\n }\r\n\r\n async uploadDocumentSubmit() {\r\n if (this.state.fileList.length > 0) {\r\n this.setState({ submitting: true });\r\n let documentIds = [];\r\n const res = this.state.fileList.map(async (file) => {\r\n if (file.status === undefined) {\r\n let formData = new FormData();\r\n formData.append('jobId', this.props.jobId);\r\n formData.append('AccessCode', this.props.accessCode);\r\n if (this.props.pageComponent.state.jobChecklistId !== 0 && this.props.pageComponent.state.jobChecklistId !== undefined) {\r\n formData.append('jobChecklistId', this.props.pageComponent.state.jobChecklistId);\r\n formData.append('DocumentTypeName', 'JobChecklistClientDocument');\r\n }\r\n if (this.props.pageComponent.state.jobRequiredCertificateId !== 0 && this.props.pageComponent.state.jobRequiredCertificateId !== undefined) {\r\n formData.append('jobRequiredCertificateId', this.props.pageComponent.state.jobRequiredCertificateId);\r\n formData.append('DocumentTypeName', 'JobRequiredCertificateClientDocument');\r\n }\r\n\r\n let currentFile = file;\r\n if (config.imageTypes.indexOf(file.type) >= 0 && file.size > 1024 * config.uploadImageMaxLength) {\r\n currentFile = await imageConversion.compressAccurately(file, {\r\n size: config.uploadImageMaxLength,\r\n accuracy: '',\r\n type: '',\r\n width: '',\r\n height: '',\r\n scale: '1',\r\n orientation: ''\r\n });\r\n currentFile.name = file.name;\r\n }\r\n formData.append('files[]', currentFile);\r\n formData.append('Name', file.name);\r\n\r\n if (file.DocumentTypeId !== undefined && file.DocumentTypeId !== null) {\r\n formData.append('DocumentTypeId', file.DocumentTypeId);\r\n }\r\n if (file.Comment !== undefined && file.Comment !== null) {\r\n formData.append('Comment', file.Comment);\r\n }\r\n\r\n let that = this;\r\n await uploadClient\r\n .post(this.props.uploadUrl, formData, {\r\n onUploadProgress: (progressEvent) => {\r\n const uploadProgress = (progressEvent.loaded / progressEvent.total) * 100;\r\n let fileList = this.state.fileList.map((oldFile, i) => {\r\n if (oldFile.name === file.name && oldFile.size === file.size) {\r\n oldFile.percent = uploadProgress;\r\n if (oldFile.percent == 100) {\r\n oldFile.status = 'done';\r\n } else {\r\n oldFile.status = 'uploading';\r\n }\r\n }\r\n return oldFile;\r\n })\r\n this.setState({ fileList });\r\n },\r\n })\r\n .then(({ data }) => {\r\n if (data.result) {\r\n documentIds.push(data.data);\r\n return true;\r\n } else {\r\n let fileList = that.state.fileList.map((oldFile, i) => {\r\n if (oldFile.name === file.name && oldFile.size === file.size) {\r\n oldFile.status = 'error';\r\n }\r\n return oldFile;\r\n })\r\n this.setState({ fileList });\r\n message.error(file.name + ' not upload, ' + data.message);\r\n }\r\n })\r\n .catch(function (error) {\r\n let fileList = that.state.fileList.map((oldFile, i) => {\r\n if (oldFile.name === file.name && oldFile.size === file.size) {\r\n oldFile.status = 'error';\r\n }\r\n return oldFile;\r\n })\r\n that.setState({ fileList });\r\n message.error(file.name + ' not upload, ' + error.message);\r\n });\r\n }\r\n })\r\n await Promise.all(res);\r\n this.props.component.getSectionDataByDefault();\r\n\r\n //这里处理不同的uploadType的后续操作\r\n switch (this.props.pageComponent.state.uploadType) {\r\n case 'JobChecklistClientDocument':\r\n let jobChecklistSection = globalFunction.getSectionComponent(this.props.pageComponent, 'JobChecklist');\r\n jobChecklistSection.getSectionDataByDefault();\r\n break;\r\n case 'JobRequiredCertificateClientDocument':\r\n let jobRequiredCertificateSection = globalFunction.getSectionComponent(this.props.pageComponent, 'JobRequiredCertificate');\r\n jobRequiredCertificateSection.getSectionDataByDefault();\r\n break;\r\n }\r\n this.closeUploadModal();\r\n\r\n if (this.props.accessCode === undefined) {\r\n let parameter = {};\r\n parameter.JobId = this.props.jobId;\r\n parameter.DocumentIdList = documentIds;\r\n this.sendClientDocumentUploadNotification(parameter);\r\n } else {\r\n let parameter = {};\r\n parameter.accessCode = this.props.accessCode;\r\n parameter.DocumentIdList = documentIds;\r\n this.publicSendClientDocumentUploadNotification(parameter);\r\n }\r\n } else {\r\n this.closeUploadModal();\r\n }\r\n }\r\n\r\n sendClientDocumentUploadNotification(parameter) {\r\n let that = this;\r\n httpClient\r\n .post('/Business/Document/SendClientDocumentUploadNotification', parameter)\r\n .then(({ data }) => {\r\n })\r\n .catch(function (error) {\r\n });\r\n }\r\n\r\n publicSendClientDocumentUploadNotification(parameter) {\r\n let that = this;\r\n httpClient\r\n .post('/Business/Document/PublicSendClientDocumentUploadNotification', parameter)\r\n .then(({ data }) => {\r\n })\r\n .catch(function (error) {\r\n });\r\n }\r\n\r\n closeUploadModal() {\r\n this.props.pageComponent.setState({ uploadType: '', jobChecklistId: 0 });\r\n this.formRef.current?.setFieldValue('DocumentTypeId', this.state.componentDataSource?.DocumentTypeId?.[0]?.Value);\r\n\r\n this.setState({\r\n fileList: [],\r\n submitting: false\r\n });\r\n setTimeout(() => {\r\n this.props.component.setState({\r\n uploadDocumentShow: false\r\n });\r\n }, config.setTimeoutMilliSecond * 50);\r\n }\r\n\r\n removeFile(file) {\r\n const index = this.state.fileList.indexOf(file);\r\n const newFileList = this.state.fileList.slice();\r\n newFileList.splice(index, 1);\r\n this.setState({ fileList: newFileList });\r\n }\r\n\r\n render() {\r\n return (\r\n this.uploadDocumentSubmit()}\r\n onCancel={() => {\r\n this.closeUploadModal();\r\n }}\r\n width={1100}\r\n maskClosable={config.component.Modal.maskClosable}\r\n footer={[\r\n ,\r\n ,\r\n \r\n \r\n {\r\n this.state.componentDataSource.DocumentTypeId != undefined ?\r\n \r\n {\r\n return option?.children?.toLowerCase().includes(inputValue.toLowerCase())\r\n }}\r\n onChange={(value) => {\r\n this.setState({ DocumentTypeId: value });\r\n }}\r\n >\r\n {\r\n this.state.componentDataSource.DocumentTypeId.map(option => {option.Key})\r\n }\r\n \r\n : \r\n }\r\n \r\n \r\n ]}\r\n >\r\n { this.setState({ onDragEnterCLass: 'onDragEnter' }) }}\r\n onDragLeave={() => { this.setState({ onDragEnterCLass: '' }) }}\r\n onDragOver={(e) => {\r\n e.stopPropagation();\r\n e.preventDefault();\r\n }}\r\n onDrop={(e) => {\r\n e.preventDefault();\r\n e.stopPropagation();\r\n document.dropDocument({ e: e, component: this });\r\n }}>\r\n {\r\n this.removeFile(file);\r\n }}\r\n beforeUpload={(file) => {\r\n let fileList = this.state.fileList;\r\n file.DocumentTypeId = this.formRef.current?.getFieldValue('DocumentTypeId');\r\n if (file.size / 1024 / 1024 > config.fileUploadLimit) {\r\n file.status = 'error';\r\n file.tip = file.name + ' size larger than ' + config.fileUploadLimit + 'M';\r\n }\r\n if (file.size === 0) {\r\n file.status = 'error';\r\n file.tip = file.name + ' - This file is 0KB and will not be uploaded. Make sure not to select or drag files from a zipped file/folder.';\r\n }\r\n fileList.push(file);\r\n this.setState({ fileList });\r\n return false;\r\n }}\r\n itemRender={(originNode, file, currFileList) => (\r\n <>{\r\n file.status !== 'error' ?\r\n
\r\n
\r\n \r\n {file.name} ({globalFunction.formatFileSize(file.size)})\r\n \r\n \r\n }\r\n type='link'\r\n onClick={() => {\r\n this.removeFile(file);\r\n }}\r\n />\r\n \r\n \r\n \r\n \r\n {\r\n this.state.componentDataSource.DocumentTypeId != undefined ? {\r\n return option?.children?.toLowerCase().includes(inputValue.toLowerCase())\r\n }}\r\n onChange={(value) => {\r\n let fileList = this.state.fileList.map((oldFile, i) => {\r\n if (oldFile.uid === file.uid) {\r\n oldFile.DocumentTypeId = value;\r\n }\r\n return oldFile;\r\n })\r\n this.setState({ fileList });\r\n }}\r\n >\r\n {\r\n this.state.componentDataSource.DocumentTypeId.map(option => {option.Key})\r\n }\r\n : \r\n }\r\n {\r\n let fileList = this.state.fileList.map((oldFile, i) => {\r\n if (oldFile.uid === file.uid) {\r\n oldFile.Comment = e.target.value;\r\n }\r\n return oldFile;\r\n })\r\n this.setState({ fileList });\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 {file.tip}\r\n \r\n \r\n }\r\n type='link'\r\n onClick={() => {\r\n this.removeFile(file);\r\n }}\r\n />\r\n \r\n \r\n \r\n
\r\n
\r\n }\r\n )}\r\n >\r\n Drag and Drop or select file to upload, Size limit: 100 MB. Photos will be resized to {config.uploadImageMaxLength}KB.\r\n \r\n \r\n \r\n )\r\n }\r\n}\r\n","import React from 'react';\r\nimport { message, Space, Table, Pagination, Tag, Modal, Button, Select } from 'antd';\r\nimport { Link } from 'react-router-dom';\r\nimport { httpClient } from \"util/Api\";\r\nimport { compareUIElementValue } from 'util/Compare';\r\nimport { config } from \"util/config\";\r\nimport { operationalFunction } from 'components/UIBuilder/SectionFunction/Common';\r\nimport * as globalFunction from 'util/GlobalFunction';\r\nimport CustomButton from 'components/UIBuilder/CustomComponent/CustomButton';\r\nimport JobDocumentFolder from './JobDocumentFolder'\r\nimport { DragHandle, SortableItem, SortableBody, updateBeforeSortStart } from \"components/UIBuilder/Global/SortableHelper\";\r\nimport { setTableColumns } from \"components/UIBuilder/Global/TableHelper\";\r\nimport { getSectionFolderDataList } from \"components/UIBuilder/Global/DataHelper\";\r\nimport UploadDocument from './UploadDocument';\r\nimport CustomEmpty from \"components/CustomEmpty\";\r\n\r\nexport default class DocumentTable extends React.Component {\r\n constructor(props) {\r\n super();\r\n this.state = {\r\n columns: [],\r\n data: [],\r\n sort: false,\r\n pagination: {\r\n current: 1,\r\n ...config.component.Pagination\r\n },\r\n loaded: false, // 加载是否完成\r\n selectedRowKeys: [],\r\n componentDataSource: [],\r\n uploadDocumentShow: false,\r\n changeTypeShow: false,\r\n changeFolderShow: false,\r\n shareControlShow: false,\r\n recycleBinShow: false,\r\n stampingShow: false,\r\n manageFolderShow: false,\r\n combinePdfShow: false,\r\n }\r\n\r\n this.uploadDocument = React.createRef();\r\n\r\n this.child = [];\r\n }\r\n\r\n // //只有数据源变化时才刷新table\r\n // shouldComponentUpdate(nextProps, nextState) {\r\n // return nextState.data !== this.state.data;\r\n // }\r\n\r\n //获取table的表头和数据\r\n componentDidMount() {\r\n if (this.props.section.autoLoad) {\r\n this.getSectionDataByDefault();\r\n }\r\n this.setState({ columns: setTableColumns({ props: this.props, sort: this.state.sort, sectionComponent: this.props.parentComponent, pageComponent: this.props.pageComponent }) })\r\n }\r\n\r\n //默认获取数据的方法\r\n getSectionDataByDefault() {\r\n getSectionFolderDataList({ component: this, current: this.state.pagination.current, pageSize: this.state.pagination.pageSize });\r\n }\r\n\r\n render() {\r\n this.child = [];\r\n this.state.data.map((folder, i) => {\r\n this.child.push(React.createRef());\r\n });\r\n return (\r\n <>\r\n {\r\n this.state.loaded ?\r\n this.state.data.length > 0 ? //判断有没有数据\r\n this.state.data.map((folder, i) =>\r\n \r\n )\r\n :\r\n : \r\n }\r\n \r\n \r\n )\r\n }\r\n}\r\n","import React from 'react';\r\nimport { Divider, Tooltip, Button, Badge, Table } from 'antd';\r\nimport { httpClient } from \"util/Api\";\r\nimport { config } from \"util/config\";\r\nimport { GroupOutlined, PlusSquareOutlined, ProfileOutlined, EditOutlined, DeleteOutlined, OrderedListOutlined, FolderOutlined, FolderOpenOutlined, CaretRightOutlined, CaretDownOutlined } from '@ant-design/icons';\r\nimport { DragHandle, SortableItem, SortableBody, updateBeforeSortStart } from \"components/UIBuilder/Global/SortableHelper\";\r\nimport { arrayMoveImmutable } from 'array-move';\r\nimport { operationalFunction } from 'components/UIBuilder/SectionFunction/Common';\r\nimport * as jobChecklist from 'components/UIBuilder/SectionFunction/JobChecklist';\r\nimport CustomBadge from 'components/CustomBadge';\r\n\r\nexport default class JobChecklistGroup extends React.Component {\r\n constructor(props) {\r\n super();\r\n this.state = {\r\n data: [],\r\n keyArray: [],\r\n sort: false\r\n }\r\n }\r\n\r\n //停止排序时设置数据\r\n onSortEnd = ({ oldIndex, newIndex }) => {\r\n if (oldIndex !== newIndex) {\r\n const newData = arrayMoveImmutable(this.props.data.JobChecklistList.slice(), oldIndex, newIndex).filter(\r\n (el) => !!el,\r\n );\r\n\r\n let data = this.props.component.state.data;\r\n let jobChecklistData = data.map((folder, i) => {\r\n folder.JobChecklistGroupList.map((group, j) => {\r\n if (group.key === this.props.data.key) {\r\n group.JobChecklistList = newData;\r\n }\r\n return group;\r\n });\r\n return folder;\r\n });\r\n this.props.component.setState({ data });\r\n\r\n var keyArray = newData.map((item, index) => {\r\n return item.key;\r\n });\r\n operationalFunction({ functionName: 'sortBySection', sectionName: this.props.component.props.sectionName, parameter: keyArray, sectionComponent: this.props.component.props.parentComponent, pageComponent: this.props.component.props.pageComponent });\r\n }\r\n };\r\n\r\n DraggableContainer = (props) => (\r\n \r\n );\r\n\r\n DraggableBodyRow = ({ className, style, ...restProps }) => {\r\n const index = this.props.data.JobChecklistList.findIndex((x) => x.key === restProps['data-row-key']);\r\n return ;\r\n };\r\n\r\n render() {\r\n let columns = [];\r\n if (this.state.sort) {\r\n columns.push({\r\n title: '',\r\n dataIndex: 'Sort',\r\n fixed: config.component.Table.fixed,\r\n className: 'drag-visible',\r\n render: () => ,\r\n })\r\n }\r\n this.props.columns.map((column, i) => {\r\n columns.push(column);\r\n })\r\n return (\r\n
\r\n
\r\n :\r\n }\r\n text={this.props.data.Name}\r\n backgroundColor={this.props.data.BackgroundColor != null ? this.props.data.BackgroundColor : config.component.ColorPicker.defaultColor}\r\n verticalAlign=\"top\" />}\r\n type=\"link\"\r\n style={{ width: 'auto' }}\r\n onClick={() => {\r\n jobChecklist.collapseGroup({ component: this.props.component, key: this.props.data.key });\r\n }}\r\n />\r\n
\r\n \r\n
\r\n {\r\n this.props.data.JobChecklistList.length > 0 ?\r\n {\r\n\r\n },\r\n onSelect: (record, selected, selectedRows, nativeEvent) => {\r\n let selectedRowKeys = this.props.component.state.selectedRowKeys;\r\n if (selected) {\r\n selectedRowKeys.push(record.key);\r\n } else {\r\n selectedRowKeys = selectedRowKeys.filter(item => item !== record.key);\r\n }\r\n this.props.component.setState({ selectedRowKeys });\r\n },\r\n onSelectAll: (selected, selectedRows, changeRows) => {\r\n let selectedRowKeys = this.props.component.state.selectedRowKeys;\r\n changeRows.map((record, i) => {\r\n if (selected) {\r\n selectedRowKeys.push(record.key);\r\n } else {\r\n selectedRowKeys = selectedRowKeys.filter(item => item !== record.key);\r\n }\r\n })\r\n this.props.component.setState({ selectedRowKeys });\r\n },\r\n defaultSelectedRowKeys: [],\r\n ...this.state.rowSelection\r\n } : null}\r\n columns={columns}\r\n dataSource={this.props.data.JobChecklistList}\r\n scroll={config.component.Table.scroll}\r\n pagination={false}\r\n components={this.state.sort ? //判断是否带排序功能\r\n {\r\n body: {\r\n wrapper: this.DraggableContainer,\r\n row: this.DraggableBodyRow,\r\n },\r\n } : null}\r\n onRow={(record, index) => {\r\n return {\r\n onClick: event => { }, // 点击行\r\n onDoubleClick: event => { }, // 双击行\r\n onContextMenu: event => { }, //右击行\r\n onMouseEnter: event => { }, // 鼠标移入行\r\n onMouseLeave: event => { }, // 鼠标移出行\r\n };\r\n }}\r\n /> : <>\r\n }\r\n
\r\n
\r\n )\r\n }\r\n}\r\n","import React from 'react';\r\nimport { Divider, Tooltip, Button } from 'antd';\r\nimport { httpClient } from \"util/Api\";\r\nimport { config } from \"util/config\";\r\nimport { GroupOutlined, PlusSquareOutlined, ProfileOutlined, EditOutlined, DeleteOutlined, OrderedListOutlined, FolderOutlined, FolderOpenOutlined, CaretRightOutlined, CaretDownOutlined } from '@ant-design/icons';\r\nimport JobChecklistGroup from './JobChecklistGroup';\r\nimport * as jobChecklist from 'components/UIBuilder/SectionFunction/JobChecklist';\r\nimport CustomBadge from 'components/CustomBadge';\r\n\r\n\r\nexport default class JobChecklistFolder extends React.Component {\r\n constructor(props) {\r\n super();\r\n this.state = {\r\n data: [],\r\n counter: 0\r\n }\r\n }\r\n\r\n //计算Folder有多少Checklist\r\n getJobChecklistCounter() {\r\n let counter = 0;\r\n this.props.data.JobChecklistGroupList.map((jobChecklistGroup, i) => {\r\n counter += jobChecklistGroup.JobChecklistList.length;\r\n })\r\n return counter;\r\n }\r\n\r\n render() {\r\n return (\r\n <>\r\n
\r\n {\r\n this.props.data.key !== 0 ?\r\n :\r\n }\r\n type=\"link\"\r\n style={{ width: 'auto', color: '#495057', padding: '0px', height: '18px', lineHeight: '18px' }}\r\n onClick={() => {\r\n jobChecklist.collapseFolder({ component: this.props.component, key: this.props.data.key, pageComponent: this.props.pageComponent });\r\n }}\r\n >{this.props.data.Name} ({this.getJobChecklistCounter()}) : {this.props.data.Name} ({this.getJobChecklistCounter()})\r\n }\r\n\r\n \r\n {\r\n this.props.data.JobChecklistGroupList.map((jobChecklistGroupData, i) =>\r\n
\r\n \r\n
\r\n )\r\n }\r\n
\r\n \r\n )\r\n }\r\n}\r\n","import React from 'react';\r\nimport { message, Space, Table, Pagination, Tag, Row, Col, Form, Input, Divider, Tooltip, Button, Popconfirm } from 'antd';\r\nimport { PlusSquareOutlined, ProfileOutlined, EditOutlined, DeleteOutlined } from '@ant-design/icons';\r\nimport { Link } from 'react-router-dom';\r\nimport { httpClient } from \"util/Api\";\r\nimport { compareUIElementValue } from 'util/Compare';\r\nimport { config } from \"util/config\";\r\nimport * as globalFunction from 'util/GlobalFunction';\r\nimport { SortableContainer, SortableElement } from 'react-sortable-hoc';\r\nimport { setTableColumns } from \"components/UIBuilder/Global/TableHelper\";\r\nimport { getSectionFolderDataList } from \"components/UIBuilder/Global/DataHelper\";\r\nimport JobChecklistFolder from './JobChecklistFolder';\r\nimport * as jobChecklist from 'components/UIBuilder/SectionFunction/JobChecklist';\r\nimport CustomEmpty from \"components/CustomEmpty\";\r\nimport JobChecklistGroup from './JobChecklistGroup';\r\n\r\nexport default class JobChecklistTable extends React.Component {\r\n constructor(props) {\r\n super();\r\n this.state = {\r\n columns: [],\r\n data: [],\r\n checklistStatusSets: [],\r\n sort: false,\r\n pagination: {\r\n current: 1,\r\n ...config.component.Pagination\r\n },\r\n loaded: false, // 加载是否完成\r\n selectedRowKeys: [],\r\n jobChecklistFolderId: null,\r\n jobChecklistGroupId: null,\r\n jobChecklistId: null,\r\n checklistStatusSetId: null,\r\n event: null,\r\n }\r\n }\r\n\r\n // //只有数据源变化时才刷新table\r\n // shouldComponentUpdate(nextProps, nextState) {\r\n // return nextState.data !== this.state.data;\r\n // }\r\n\r\n //获取table的表头和数据\r\n componentDidMount() {\r\n if (this.props.section.autoLoad) {\r\n this.getSectionDataByDefault();\r\n }\r\n this.setState({ columns: setTableColumns({ props: this.props, sort: this.state.sort, sectionComponent: this.props.parentComponent, pageComponent: this.props.pageComponent }) })\r\n }\r\n\r\n //默认获取数据的方法\r\n getSectionDataByDefault() {\r\n getSectionFolderDataList({ component: this, current: this.state.pagination.current, pageSize: this.state.pagination.pageSize });\r\n }\r\n\r\n render() {\r\n return (\r\n <>\r\n {\r\n this.state.loaded ?\r\n this.state.data.length > 0 ? //判断有没有数据\r\n this.state.data.length > 1 ? //有多个folder\r\n \r\n {\r\n this.state.data.map((jobChecklistFolderData, i) => )\r\n }\r\n \r\n :\r\n <>\r\n {\r\n this.state.data[0].JobChecklistGroupList.map((jobChecklistGroupData, i) =>\r\n
\r\n \r\n
\r\n )\r\n }\r\n \r\n :\r\n No records : \r\n }\r\n \r\n )\r\n }\r\n}\r\n","import React from 'react';\r\nimport { Divider, Tooltip, Button, Badge, Table } from 'antd';\r\nimport { httpClient } from \"util/Api\";\r\nimport { config } from \"util/config\";\r\nimport { GroupOutlined, PlusSquareOutlined, ProfileOutlined, EditOutlined, DeleteOutlined, OrderedListOutlined, FolderOutlined, FolderOpenOutlined, CaretRightOutlined, CaretDownOutlined } from '@ant-design/icons';\r\nimport { DragHandle, SortableItem, SortableBody, updateBeforeSortStart } from \"components/UIBuilder/Global/SortableHelper\";\r\nimport { arrayMoveImmutable } from 'array-move';\r\nimport { operationalFunction } from 'components/UIBuilder/SectionFunction/Common';\r\nimport * as subJob from 'components/UIBuilder/SectionFunction/SubJob';\r\nimport CustomBadge from 'components/CustomBadge';\r\nimport * as globalFunction from 'util/GlobalFunction';\r\n\r\nexport default class SubJobGroup extends React.Component {\r\n constructor(props) {\r\n super();\r\n this.state = {\r\n data: [],\r\n keyArray: [],\r\n sort: false\r\n }\r\n }\r\n\r\n //停止排序时设置数据\r\n onSortEnd = ({ oldIndex, newIndex }) => {\r\n if (oldIndex !== newIndex) {\r\n const newData = arrayMoveImmutable(this.props.data.SubJobList.slice(), oldIndex, newIndex).filter(\r\n (el) => !!el,\r\n );\r\n\r\n let data = this.props.component.state.data;\r\n let subJobData = data.map((group, j) => {\r\n if (group.key === this.props.data.key) {\r\n group.SubJobList = newData;\r\n }\r\n return group;\r\n });\r\n this.props.component.setState({ data });\r\n\r\n var keyArray = newData.map((item, index) => {\r\n return item.key;\r\n });\r\n operationalFunction({ functionName: 'sortBySection', sectionName: this.props.component.props.sectionName, parameter: keyArray, sectionComponent: this.props.component.props.parentComponent, pageComponent: this.props.component.props.pageComponent });\r\n }\r\n };\r\n\r\n DraggableContainer = (props) => (\r\n \r\n );\r\n\r\n DraggableBodyRow = ({ className, style, ...restProps }) => {\r\n const index = this.props.data.SubJobList.findIndex((x) => x.key === restProps['data-row-key']);\r\n return ;\r\n };\r\n\r\n render() {\r\n let columns = [];\r\n if (this.state.sort) {\r\n columns.push({\r\n title: '',\r\n dataIndex: 'Sort',\r\n fixed: config.component.Table.fixed,\r\n className: 'drag-visible',\r\n render: () => ,\r\n })\r\n }\r\n this.props.columns.map((column, i) => {\r\n columns.push(column);\r\n })\r\n\r\n return (\r\n
\r\n {\r\n this.props.component.state.data.length === 1 && this.props.data.key === 0 ?\r\n <> : <>\r\n
\r\n :\r\n } text={this.props.data.Name} verticalAlign=\"top\" />}\r\n type=\"link\"\r\n style={{ width: 'auto' }}\r\n onClick={() => {\r\n let data = this.props.component.state.data.map((group, i) => {\r\n if (group.Name === this.props.data.Name) {\r\n if (group.Collapsed !== true) {\r\n group.Collapsed = true;\r\n } else {\r\n group.Collapsed = false;\r\n }\r\n }\r\n return group;\r\n });\r\n this.props.component.setState({ data });\r\n }}\r\n />\r\n
\r\n \r\n }\r\n\r\n
\r\n {\r\n this.props.data.SubJobList.length > 0 ?\r\n {\r\n\r\n },\r\n onSelect: (record, selected, selectedRows, nativeEvent) => {\r\n let selectedRowKeys = this.props.component.state.selectedRowKeys;\r\n if (selected) {\r\n selectedRowKeys.push(record.key);\r\n } else {\r\n selectedRowKeys = selectedRowKeys.filter(item => item !== record.key);\r\n }\r\n this.props.component.setState({ selectedRowKeys });\r\n },\r\n onSelectAll: (selected, selectedRows, changeRows) => {\r\n let selectedRowKeys = this.props.component.state.selectedRowKeys;\r\n changeRows.map((record, i) => {\r\n if (selected) {\r\n selectedRowKeys.push(record.key);\r\n } else {\r\n selectedRowKeys = selectedRowKeys.filter(item => item !== record.key);\r\n }\r\n })\r\n this.props.component.setState({ selectedRowKeys });\r\n },\r\n defaultSelectedRowKeys: [],\r\n ...this.state.rowSelection\r\n } : null}\r\n columns={columns}\r\n dataSource={this.props.data.SubJobList}\r\n scroll={config.component.Table.scroll}\r\n pagination={false}\r\n components={this.state.sort ? //判断是否带排序功能\r\n {\r\n body: {\r\n wrapper: this.DraggableContainer,\r\n row: this.DraggableBodyRow,\r\n },\r\n } : null}\r\n onRow={(record, index) => {\r\n return {\r\n onClick: event => { }, // 点击行\r\n onDoubleClick: event => { }, // 双击行\r\n onContextMenu: event => { }, //右击行\r\n onMouseEnter: event => { }, // 鼠标移入行\r\n onMouseLeave: event => { }, // 鼠标移出行\r\n };\r\n }}\r\n /> : <>\r\n }\r\n
\r\n
\r\n )\r\n }\r\n}\r\n","import React from 'react';\r\nimport { message, Space, Table, Pagination, Tag, Row, Col, Form, Input, Divider, Tooltip, Button, Popconfirm } from 'antd';\r\nimport { PlusSquareOutlined, ProfileOutlined, EditOutlined, DeleteOutlined } from '@ant-design/icons';\r\nimport { Link } from 'react-router-dom';\r\nimport { httpClient } from \"util/Api\";\r\nimport { compareUIElementValue } from 'util/Compare';\r\nimport { config } from \"util/config\";\r\nimport * as globalFunction from 'util/GlobalFunction';\r\nimport { SortableContainer, SortableElement } from 'react-sortable-hoc';\r\nimport { setTableColumns } from \"components/UIBuilder/Global/TableHelper\";\r\nimport { getSectionGroupDataList } from \"components/UIBuilder/Global/DataHelper\";\r\nimport SubJobGroup from './SubJobGroup';\r\nimport * as SubJob from 'components/UIBuilder/SectionFunction/SubJob';\r\nimport CustomEmpty from \"components/CustomEmpty\";\r\n\r\nexport default class SubJobTable extends React.Component {\r\n constructor(props) {\r\n super();\r\n this.state = {\r\n columns: [],\r\n data: [],\r\n sort: false,\r\n pagination: {\r\n current: 1,\r\n ...config.component.Pagination\r\n },\r\n loaded: false, // 加载是否完成\r\n selectedRowKeys: [],\r\n manageGroupShow: false,\r\n addFromTemplateShow: false,\r\n submitConfirmShow: false,\r\n subJobGroupId: null,\r\n subJobId: null,\r\n }\r\n\r\n this.manageGroup = React.createRef();\r\n this.submitConfirm = React.createRef();\r\n this.addFromTemplate = React.createRef();\r\n }\r\n\r\n // //只有数据源变化时才刷新table\r\n // shouldComponentUpdate(nextProps, nextState) {\r\n // return nextState.data !== this.state.data;\r\n // }\r\n\r\n //获取table的表头和数据\r\n componentDidMount() {\r\n if (this.props.section.autoLoad) {\r\n this.getSectionDataByDefault();\r\n }\r\n this.setSolumns();\r\n }\r\n\r\n setSolumns() {\r\n this.setState({ columns: setTableColumns({ props: this.props, sort: this.state.sort, sectionComponent: this.props.parentComponent, pageComponent: this.props.pageComponent }) })\r\n }\r\n\r\n //默认获取数据的方法\r\n getSectionDataByDefault() {\r\n getSectionGroupDataList({ component: this, current: this.state.pagination.current, pageSize: this.state.pagination.pageSize });\r\n }\r\n\r\n render() {\r\n return (\r\n <>\r\n {\r\n this.state.loaded ?\r\n this.state.data.length > 0 ? //判断有没有数据\r\n \r\n {\r\n this.state.data.map((subJobGroupData, i) => )\r\n }\r\n \r\n :\r\n : \r\n }\r\n \r\n )\r\n }\r\n}\r\n","import { message } from 'antd';\r\nimport { config } from 'util/config';\r\nimport { httpClient } from \"util/Api\";\r\nimport * as globalFunction from 'util/GlobalFunction';\r\nimport moment from 'moment';\r\n\r\n//Admin\r\nimport * as Client from './Client';\r\nimport * as ClientUser from './ClientUser';\r\nimport * as ClientJobTemplate from './ClientJobTemplate';\r\nimport * as ClientJobTemplateContact from './ClientJobTemplateContact';\r\nimport * as ClientJobTemplateNccClass from './ClientJobTemplateNccClass';\r\nimport * as ClientJobTemplateChecklist from './ClientJobTemplateChecklist';\r\nimport * as Report from './Report';\r\n\r\n//Business\r\nimport * as Job from './Job';\r\nimport * as Property from './Property';\r\nimport * as JobContact from './JobContact';\r\nimport * as Owner from './Owner';\r\nimport * as JobNote from './JobNote';\r\nimport * as Document from './Document';\r\nimport * as ReceivedDocument from './ReceivedDocument';\r\nimport * as SubJob from './SubJob';\r\nimport * as JobChecklist from './JobChecklist';\r\nimport * as Invoice from './Invoice';\r\nimport * as JobNccClass from './JobNccClass';\r\nimport * as JobRequiredCertificate from './JobRequiredCertificate';\r\nimport * as JobAspectCertificate from './JobAspectCertificate';\r\nimport * as CouncilApplication from './CouncilApplication';\r\n\r\n\r\nimport * as PublicLodge from './PublicLodge';\r\n\r\n\r\n//其他Section级js都引用进来\r\nconst sections = {\r\n //Admin\r\n 'Client': Client,\r\n 'ClientUser': ClientUser,\r\n 'ClientJobTemplate': ClientJobTemplate,\r\n 'ClientJobTemplateContact': ClientJobTemplateContact,\r\n 'ClientJobTemplateNccClass': ClientJobTemplateNccClass,\r\n 'ClientJobTemplateChecklist': ClientJobTemplateChecklist,\r\n 'Report': Report,\r\n\r\n //Business\r\n 'Job': Job,\r\n 'Property': Property,\r\n 'JobContact': JobContact,\r\n 'Owner': Owner,\r\n 'JobNote': JobNote,\r\n 'Document': Document,\r\n 'ReceivedDocument': ReceivedDocument,\r\n 'SubJob': SubJob,\r\n 'JobChecklist': JobChecklist,\r\n 'Invoice': Invoice,\r\n 'JobNccClass': JobNccClass,\r\n 'JobRequiredCertificate': JobRequiredCertificate,\r\n 'JobAspectCertificate': JobAspectCertificate,\r\n 'CouncilApplication': CouncilApplication,\r\n\r\n 'PublicLodge': PublicLodge,\r\n};\r\n\r\n//调用函数的主入口, e是触发事件\r\nexport function operationalFunction({ e, functionName, sectionName, parameter, data, formComponent, sectionComponent, pageComponent, uie, callback, showError = true } = {}) {\r\n // console.log(functionName, sectionName, parameter, formComponent, sectionComponent, pageComponent, uie, callback);\r\n sectionName = sectionName || null;\r\n try {\r\n if (functionName != null && sectionName != null && typeof sections[sectionName][functionName] === 'function') {\r\n sections[sectionName][functionName]({ e: e, parameter: parameter, data: data, formComponent: formComponent, sectionComponent: sectionComponent, pageComponent: pageComponent, sectionName: sectionName, uie: uie });\r\n } else if (functionName != null && typeof eval(functionName) === 'function') {\r\n eval(functionName)({ e: e, parameter: parameter, data: data, formComponent: formComponent, sectionComponent: sectionComponent, pageComponent: pageComponent, sectionName: sectionName, uie: uie })\r\n }\r\n if (typeof callback === 'function') {\r\n callback.call(parameter, formComponent, sectionComponent, pageComponent, sectionName, uie);\r\n }\r\n } catch (error) {\r\n if (showError) {\r\n console.log('Not find function \"' + functionName + '\" in Common and ' + sectionName + ' section, or have Exception');\r\n }\r\n // globalFunction.handleError(error, pageComponent);\r\n }\r\n}\r\n\r\n//通用的点击添加按钮逻辑, 打开渲染表单Modal并设置为Create\r\nfunction addBySection({ parameter, sectionComponent, pageComponent, sectionName, uie } = {}) {\r\n console.log('通用的点击添加按钮逻辑');\r\n sectionComponent.setState({ showModal: true, componentType: 'Create' });\r\n pageComponent.setState({ selectedDocumentList: [] });\r\n\r\n setTimeout(() => {\r\n sectionComponent.customForm.current?.setState({ autoLoadComponentDataSource: false });\r\n sectionComponent.customForm.current?.getComponentDataSource();\r\n sectionComponent.customForm.current?.formRef.current?.resetFields();\r\n setTimeout(() => {\r\n let componentDataSource = sectionComponent.customForm.current?.state.componentDataSource;\r\n sectionComponent.props.section.componentList.filter(c => c.type === 'Create')[0].groupList.forEach(group => {\r\n group.uieList.forEach(uie => {\r\n switch (uie.component) {\r\n case 'Select':\r\n let selectValue = null;\r\n if (componentDataSource[uie.source] !== undefined) {\r\n if (uie.type === 'group') {\r\n componentDataSource[uie.source].some(group => {\r\n if (group.SelectOptionList === null) {\r\n selectValue = group.Value;\r\n return true;\r\n }\r\n return group.SelectOptionList.some(selectOption => {\r\n selectValue = selectOption.Value;\r\n return true;\r\n });\r\n });\r\n } else {\r\n if (uie.type === null || uie.type.indexOf('multiple') < 0) {\r\n selectValue = componentDataSource[uie.source][0]?.Value;\r\n }\r\n if (uie.type !== null && uie.type.indexOf('multiple') >= 0) {\r\n selectValue = [];\r\n }\r\n }\r\n }\r\n if (uie.autoSelect) {\r\n //如果是自定义AutoSelect的类型, 触发其onChange事件\r\n if (componentDataSource[uie.source] !== undefined) {\r\n operationalFunction({ functionName: uie.onChange, sectionName: sectionName, parameter: selectValue, formComponent: sectionComponent.customForm.current, sectionComponent: sectionComponent, pageComponent: pageComponent, uie: uie });\r\n }\r\n } else {\r\n //处理Select默认选项, 如果字段的备选项列表已加载, 则自动选择备选项里第一个\r\n if (componentDataSource[uie.source] !== undefined) {\r\n sectionComponent.customForm.current?.formRef.current?.setFieldValue(uie.source, selectValue);\r\n }\r\n }\r\n break;\r\n\r\n case 'ColorPicker':\r\n sectionComponent.customForm.current?.formRef.current?.setFieldValue(uie.source, config.component.ColorPicker.defaultColor);\r\n break;\r\n }\r\n });\r\n });\r\n\r\n let functionName = 'add' + sectionName + 'PopUpRun';\r\n try {\r\n if (typeof sections[sectionName][functionName] === 'function') {\r\n sections[sectionName][functionName]({ parameter: parameter, sectionComponent: sectionComponent, pageComponent: pageComponent, sectionName: sectionName, uie: uie });\r\n }\r\n } catch (error) { }\r\n sectionComponent.setState({ isFormModified: false });\r\n }, config.setTimeoutMilliSecond);\r\n }, config.setTimeoutMilliSecond);\r\n}\r\n\r\n//通用的点击编辑按钮逻辑, 打开渲染表单Modal并设置为Edit\r\nfunction editBySection({ parameter, sectionComponent, pageComponent, sectionName, uie } = {}) {\r\n console.log('通用的点击编辑按钮逻辑');\r\n sectionComponent.setState({ dataLoading: true });\r\n sectionComponent.setState({ showModal: true, componentType: 'Edit' });\r\n pageComponent.setState({ selectedDocumentList: [] });\r\n\r\n setTimeout(() => {\r\n sectionComponent.customForm.current?.setState({ autoLoadComponentDataSource: false });\r\n sectionComponent.customForm.current?.getComponentDataSource();\r\n httpClient\r\n .get(pageComponent.props.areaName + '/' + sectionName + '/' + parameter.key)\r\n .then(({ data }) => {\r\n if (data.result) {\r\n sectionComponent.customForm.current?.setState({ currentDataKey: data.data.key });\r\n //处理不适合antd组件的数据\r\n let componentDataSource = sectionComponent.customForm.current?.state.componentDataSource;\r\n sectionComponent.props.section.componentList.filter(c => c.type === 'Edit')[0].groupList.forEach(group => {\r\n group.uieList.forEach(uie => {\r\n switch (uie.component) {\r\n case 'DatePicker':\r\n //处理日期, 把字符串转成moment\r\n if (data.data[uie.source] !== null && data.data[uie.source] !== undefined) {\r\n data.data[uie.source] = moment(data.data[uie.source], config.format.date);\r\n } else {\r\n data.data[uie.source] = undefined;\r\n }\r\n break;\r\n case 'Select':\r\n //处理Select默认选项, 如果字段的值是null且备选项列表已加载, 则自动选择备选项里第一个(如果已有数据, 则加载备选项里有的那一条)\r\n if ((data.data[uie.source] === null || data.data[uie.source] === undefined) && componentDataSource[uie.source] !== undefined) {\r\n if (uie.type === null || uie.type.indexOf('multiple') < 0) {\r\n data.data[uie.source] = componentDataSource[uie.source][0]?.Value;\r\n }\r\n if (uie.type !== null && uie.type.indexOf('multiple') >= 0) {\r\n data.data[uie.source] = [];\r\n }\r\n }\r\n if (uie.autoSelect) {\r\n //如果是自定义AutoSelect的类型, 触发其onChange事件\r\n operationalFunction({ functionName: uie.onChange, sectionName: sectionName, parameter: data.data[uie.source], formComponent: sectionComponent.customForm.current, sectionComponent: sectionComponent, pageComponent: pageComponent, uie: uie });\r\n }\r\n break;\r\n case 'RichTextEditor':\r\n //处理RichTextEditor, 如果是null或者undefined,改为空字符串,否则会崩溃\r\n if (data.data[uie.source] === null) {\r\n data.data[uie.source] = '';\r\n }\r\n break;\r\n case 'Input':\r\n //处理Input, 如果type是fileName, 处理成改文件名的状态\r\n if (uie.type === 'fileName') {\r\n uie.addonAfter = globalFunction.getExtension(data.data[uie.source]);\r\n data.data[uie.source] = globalFunction.getFileNameWithoutExtension(data.data[uie.source]);\r\n }\r\n break;\r\n }\r\n });\r\n });\r\n //把处理后的数据赋值给表单\r\n console.log(data.data);\r\n sectionComponent.customForm.current?.formRef.current?.setFieldsValue(data.data);\r\n sectionComponent.customForm.current?.setState({ formData: data.data });\r\n sectionComponent.setState({ dataLoading: false });\r\n let functionName = 'edit' + sectionName + 'PopUpRun';\r\n try {\r\n if (typeof sections[sectionName][functionName] === 'function') {\r\n sections[sectionName][functionName]({ parameter: parameter, sectionComponent: sectionComponent, pageComponent: pageComponent, sectionName: sectionName, uie: uie, data: data.data });\r\n }\r\n } catch (error) { }\r\n sectionComponent.setState({ isFormModified: false });\r\n } else {\r\n globalFunction.handleResultError(data, pageComponent);\r\n }\r\n })\r\n .catch(function (error) {\r\n globalFunction.handleError(error, pageComponent);\r\n });\r\n }, config.setTimeoutMilliSecond);\r\n}\r\n\r\n//通用的点击删除按钮逻辑, 弹出提示, 确认后删除并刷新Section\r\nfunction deleteBySection({ parameter, sectionComponent, pageComponent, sectionName, uie } = {}) {\r\n console.log('通用的点击删除按钮逻辑');\r\n httpClient\r\n .delete(pageComponent.props.areaName + '/' + sectionName + '/' + parameter.key)\r\n .then(({ data }) => {\r\n if (data.result) {\r\n sectionComponent.getSectionDataByDefault();\r\n } else {\r\n if (data.code === 2) {\r\n message.error(data.message);\r\n } else {\r\n globalFunction.handleResultError(data, pageComponent);\r\n }\r\n }\r\n })\r\n .catch(function (error) {\r\n globalFunction.handleError(error, pageComponent);\r\n });\r\n}\r\n\r\n//通用的排序, 后台返回成功信息后刷新Section\r\nfunction sortBySection({ parameter, sectionComponent, pageComponent, sectionName, uie } = {}) {\r\n console.log('通用的排序逻辑');\r\n httpClient\r\n .post(pageComponent.props.areaName + '/' + sectionName + '/Sort', parameter)\r\n .then(({ data }) => {\r\n if (data.result) {\r\n // 无需刷新, 直接用内存里的变量\r\n // sectionComponent.getSectionDataByDefault();\r\n } else {\r\n globalFunction.handleResultError(data, pageComponent);\r\n }\r\n })\r\n .catch(function (error) {\r\n globalFunction.handleError(error, pageComponent);\r\n });\r\n}\r\n\r\n//通用的点击提交自定义表单按钮逻辑, 提交绑定的form\r\nfunction submitCustomForm({ parameter, sectionComponent, pageComponent, sectionName } = {}) {\r\n let canSubmit = true;\r\n let errorInfo = '';\r\n //处理RichTextEditor必填却没填的情况\r\n sectionComponent.props.section.componentList.filter(c => c.type === sectionComponent.state.componentType)[0].groupList.forEach(group => {\r\n group.uieList.forEach(uie => {\r\n switch (uie.component) {\r\n case 'RichTextEditor':\r\n if (uie.required && globalFunction.isNullOrEmpty(sectionComponent.customForm.current?.formRef.current?.getFieldValue(uie.source))) {\r\n errorInfo += uie.source + ' can not be empty.\\r\\n';\r\n canSubmit = false;\r\n }\r\n break;\r\n }\r\n });\r\n });\r\n if (canSubmit) {\r\n sectionComponent.customForm.current?.submitForm();\r\n } else {\r\n message.error(errorInfo);\r\n }\r\n}\r\n\r\n//通用的提交自定义表单, 表单验证通过后在这里执行提交, 后台返回结果后刷新Section\r\nfunction customFormOnSubmit({ parameter, formComponent, sectionComponent, pageComponent, sectionName, uie } = {}) {\r\n sectionComponent.setState({ customFormSubmitting: true });\r\n let areaName = sectionComponent.props.areaName;\r\n let pageName = sectionComponent.props.pageName;\r\n let form = formComponent.formRef.current?.getFieldsValue();\r\n\r\n formComponent.props.component.groupList.filter(c => c.show).forEach(group => {\r\n group.uieList.forEach(uie => {\r\n if (uie.component === 'DatePicker') {\r\n if (form[uie.source] !== undefined && form[uie.source] !== null) {\r\n form[uie.source] = moment(form[uie.source]).format(config.format.sqlDate);\r\n } else {\r\n form[uie.source] = null;\r\n }\r\n }\r\n if (uie.component === 'ColorPicker') {\r\n if (form[uie.source] !== undefined) {\r\n form[uie.source] = form[uie.source].hex\r\n } else {\r\n form[uie.source] = null;\r\n }\r\n }\r\n });\r\n });\r\n\r\n if (parameter !== undefined) {\r\n for (let key in parameter) {\r\n form[key] = parameter[key];\r\n }\r\n }\r\n\r\n //处理一些特殊的自定义字段\r\n form.key = formComponent.state.currentDataKey;\r\n console.log(sectionComponent.state.componentType + ' 提交的表单', form);\r\n\r\n switch (sectionComponent.state.componentType) {\r\n case 'Create':\r\n httpClient\r\n .post(areaName + '/' + sectionName, form)\r\n .then(({ data }) => {\r\n if (data.result) {\r\n customFormFinish({ data: data.data, parameter: parameter, formComponent: formComponent, sectionComponent: sectionComponent, pageComponent: pageComponent, sectionName: sectionName, uie: uie });\r\n } else {\r\n globalFunction.handleResultError(data);\r\n sectionComponent.setState({ customFormSubmitting: false });\r\n }\r\n })\r\n .catch(function (error) {\r\n globalFunction.handleError(error, pageComponent);\r\n sectionComponent.setState({ customFormSubmitting: false });\r\n });\r\n break;\r\n case 'Edit':\r\n httpClient\r\n .put(areaName + '/' + sectionName, form)\r\n .then(({ data }) => {\r\n if (data.result) {\r\n customFormFinish({ data: data.data, parameter: parameter, formComponent: formComponent, sectionComponent: sectionComponent, pageComponent: pageComponent, sectionName: sectionName, uie: uie });\r\n } else {\r\n globalFunction.handleResultError(data);\r\n sectionComponent.setState({ customFormSubmitting: false });\r\n }\r\n })\r\n .catch(function (error) {\r\n globalFunction.handleError(error, pageComponent);\r\n sectionComponent.setState({ customFormSubmitting: false });\r\n });\r\n break;\r\n }\r\n}\r\n\r\n//添加或修改完成,处理后续重置按钮或刷新Section等事宜\r\nfunction customFormFinish({ data, parameter, formComponent, sectionComponent, pageComponent, sectionName, uie } = {}) {\r\n if (formComponent.props.component.onSubmitFinish !== null) {\r\n if (typeof sections[sectionName][formComponent.props.component.onSubmitFinish] === 'function') {\r\n sections[sectionName][formComponent.props.component.onSubmitFinish]({ parameter: parameter, formComponent: formComponent, sectionComponent: sectionComponent, pageComponent: pageComponent, sectionName: sectionName, uie: uie });\r\n }\r\n }\r\n sectionComponent.setState({ customFormSubmitting: false });\r\n setTimeout(() => {\r\n formComponent.resetFields();\r\n sectionComponent.setState({ showModal: false });\r\n setTimeout(() => {\r\n if (formComponent.props.component.refreshDataFunction !== null && typeof sections[sectionName][formComponent.props.component.refreshDataFunction] === 'function') {\r\n sections[sectionName][formComponent.props.component.refreshDataFunction]({ data, parameter: parameter, formComponent: formComponent, sectionComponent: sectionComponent, pageComponent: pageComponent, sectionName: sectionName, uie: uie });\r\n } else {\r\n sectionComponent.getSectionDataByDefault();\r\n }\r\n sectionComponent.setState({ componentType: null });\r\n }, config.setTimeoutMilliSecond);\r\n }, config.setTimeoutMilliSecond);\r\n}\r\n\r\n//通用的取消自定义表单\r\nfunction cancelCustomForm({ parameter, sectionComponent, pageComponent, uie } = {}) {\r\n sectionComponent.customForm.current?.resetFields();\r\n sectionComponent.setState({ showModal: false, customFormSubmitting: false, isFormModified: false });\r\n setTimeout(() => {\r\n sectionComponent.setState({ componentType: null });\r\n }, config.setTimeoutMilliSecond);\r\n}\r\n\r\n//通用的获取AutoComplete数据, 通过配置指定触发查询的最小字符数\r\nexport function getAutoCompleteData({ parameter, sectionComponent, pageComponent, uie } = {}) {\r\n if (parameter.length >= config.component.AutoComplete.minimumQueryCharacters && !uie.autoDataSource && uie.datasourceUrl !== null) {\r\n httpClient\r\n .get(uie.datasourceUrl + '?key=' + parameter)\r\n .then(({ data }) => {\r\n if (data.result) {\r\n let componentDataSource = { ...sectionComponent.state.componentDataSource };\r\n componentDataSource[uie.source] = data.data;\r\n sectionComponent.setState({ componentDataSource });\r\n } else {\r\n globalFunction.handleResultError(data, pageComponent);\r\n }\r\n })\r\n .catch(function (error) {\r\n globalFunction.handleError(error, pageComponent);\r\n });\r\n }\r\n}\r\n\r\n//通用的获取uie数据源数据\r\nexport function getUieDataSource({ parameter, sectionName, component, formComponent, sectionComponent, pageComponent, uie } = {}) {\r\n if (uie.autoDataSource && uie.datasourceUrl !== null) {\r\n let parameterStr = '';\r\n parameter.forEach(item => {\r\n parameterStr += item.key + '=' + item.value + '&';\r\n })\r\n httpClient\r\n .get(uie.datasourceUrl + '?' + parameterStr)\r\n .then(({ data }) => {\r\n if (data.result) {\r\n if (data.data.length > 0) {\r\n let dataSource = data.data;\r\n let componentDataSource = { ...component.state.componentDataSource };\r\n if (uie.required) {\r\n dataSource = dataSource.filter(item => item.Value !== 0);\r\n }\r\n componentDataSource[uie.source] = dataSource;\r\n component.setState({ componentDataSource });\r\n setTimeout(() => {\r\n let formData = { ...component.state.formData };\r\n if (uie.autoSelect) {\r\n //如果是自定义AutoSelect的类型, 触发其onChange事件\r\n if (formData[uie.source] === null || formData[uie.source] === undefined) {\r\n operationalFunction({ functionName: uie.onChange, sectionName: sectionName, parameter: dataSource[0]?.Value, data: dataSource[0], formComponent: formComponent, sectionComponent: sectionComponent, pageComponent: pageComponent, uie: uie });\r\n }\r\n } else {\r\n //否则给普通的Select设置默认值, 为第一个选项\r\n if (uie.component === 'Select' && uie.type !== 'multiple') {\r\n if (formData[uie.source] === null || formData[uie.source] === undefined) {\r\n if (uie.type === 'group') {\r\n let dataSourceFilter = dataSource.filter(group => {\r\n return group.SelectOptionList !== null && group.SelectOptionList.length > 0;\r\n });\r\n if (dataSourceFilter.length > 0) {\r\n component.formRef.current?.setFieldValue(uie.source, dataSourceFilter[0].SelectOptionList[0]?.Value);\r\n } else {\r\n component.formRef.current?.setFieldValue(uie.source, dataSource[0]?.Value);\r\n }\r\n } else {\r\n component.formRef.current?.setFieldValue(uie.source, dataSource[0]?.Value);\r\n }\r\n }\r\n setTimeout(() => {\r\n if (uie.onChange !== null && uie.autoChange) {\r\n operationalFunction({ functionName: uie.onChange, sectionName: sectionName, parameter: component.formRef.current?.getFieldValue(uie.source), data: dataSource[0], formComponent: formComponent, sectionComponent: sectionComponent, pageComponent: pageComponent, uie: uie });\r\n }\r\n }, config.setTimeoutMilliSecond);\r\n }\r\n }\r\n }, config.setTimeoutMilliSecond);\r\n }\r\n } else {\r\n globalFunction.handleResultError(data, pageComponent);\r\n }\r\n })\r\n .catch(function (error) {\r\n globalFunction.handleError(error, pageComponent);\r\n });\r\n }\r\n}\r\n\r\n//通用的获取component数据源组\r\nexport function getComponentDataSourceGroup({ parameter, sectionName, component, formComponent, sectionComponent, pageComponent } = {}) {\r\n let parameterStr = '';\r\n parameter.forEach(item => {\r\n parameterStr += item.key + '=' + item.value + '&';\r\n })\r\n\r\n httpClient\r\n .get(component.props.component.datasourceUrl + '?' + parameterStr)\r\n .then(({ data }) => {\r\n sectionComponent.setState({ renderForm: true });\r\n let componentDataSource = component.state.componentDataSource;\r\n if (data.result) {\r\n if (data.data.length > 0) {\r\n data.data.map((hash, i) => {\r\n let dataSource = hash.Value;\r\n let uie = null;\r\n component.props.component.groupList.filter(c => c.show).map((group, j) => {\r\n group.uieList.map((u, k) => {\r\n if (u.source == hash.Key) {\r\n uie = u;\r\n }\r\n })\r\n })\r\n if (uie !== null) {\r\n if (uie.required) {\r\n dataSource = dataSource.filter(item => item.Value !== 0);\r\n }\r\n componentDataSource[hash.Key] = dataSource;\r\n setTimeout(() => {\r\n if (uie.autoSelect) {\r\n //如果是自定义AutoSelect的类型, 触发其onChange事件\r\n operationalFunction({ functionName: uie.onChange, sectionName: sectionName, parameter: dataSource[0]?.Value, formComponent: formComponent, sectionComponent: sectionComponent, pageComponent: pageComponent, uie: uie });\r\n } else {\r\n //否则给普通的Select设置默认值, 为第一个选项\r\n if (uie.component === 'Select' && (uie.type === null || uie.type.indexOf('multiple') < 0)) {\r\n let formData = { ...component.state.formData };\r\n if (formData[uie.source] === null || formData[uie.source] === undefined) {\r\n component.formRef.current?.setFieldValue(uie.source, dataSource[0]?.Value);\r\n }\r\n setTimeout(() => {\r\n if (uie.onChange !== null) {\r\n operationalFunction({ functionName: uie.onChange, sectionName: sectionName, parameter: component.formRef.current?.getFieldValue(uie.source), data: dataSource[0], formComponent: formComponent, sectionComponent: sectionComponent, pageComponent: pageComponent, uie: uie });\r\n }\r\n }, config.setTimeoutMilliSecond);\r\n }\r\n }\r\n }, config.setTimeoutMilliSecond)\r\n }\r\n });\r\n component.setState({ componentDataSource });\r\n }\r\n } else {\r\n globalFunction.handleResultError(data, pageComponent);\r\n }\r\n })\r\n .catch(function (error) {\r\n globalFunction.handleError(error, pageComponent);\r\n });\r\n}\r\n\r\n//打开发邮件界面\r\nexport function sendEmail({ parameter, sectionName, component, formComponent, sectionComponent, pageComponent } = {}) {\r\n pageComponent.setState({ sendEmailShow: true, selectedDocumentList: [], selectedDocumentTotalSize: 0 });\r\n\r\n if (pageComponent.props.authUser.EmailSignature !== null) {\r\n setTimeout(() => {\r\n setEmailDefaultInfo(parameter, pageComponent)\r\n }, config.setTimeoutMilliSecond);\r\n } else {\r\n httpClient\r\n .get('Admin/CompanyUser/' + pageComponent.props.authUser.CompanyUserId)\r\n .then(({ data }) => {\r\n if (data.result) {\r\n pageComponent.props.authUser.EmailSignature = data.data.EmailSignature;\r\n pageComponent.props.setAuthUser(pageComponent.props.authUser);\r\n setTimeout(() => {\r\n setEmailDefaultInfo(parameter, pageComponent);\r\n }, config.setTimeoutMilliSecond);\r\n } else {\r\n globalFunction.handleResultError(data, pageComponent);\r\n }\r\n })\r\n .catch(function (error) {\r\n globalFunction.handleError(error, pageComponent);\r\n });\r\n }\r\n}\r\n\r\nexport function setEmailDefaultInfo(parameter, pageComponent) {\r\n pageComponent.sendEmail.current?.getSubject();\r\n pageComponent.sendEmail.current?.getCompanyEmailTemplate();\r\n pageComponent.sendEmail.current?.sendEmailFormRef.current?.setFieldsValue({ To: [], CC: [], BCC: [], Subject: '', Body: pageComponent.props.authUser.EmailSignature !== null ? pageComponent.props.authUser.EmailSignature : '' });\r\n if (!globalFunction.isNullOrEmpty(parameter.Email)) {\r\n pageComponent.sendEmail.current?.sendEmailFormRef.current?.setFieldValue('To', parameter.Email.split(',').map(item => item.trim()));\r\n }\r\n}\r\n\r\n//打开发短信界面\r\nexport function sendSMS({ parameter, sectionName, component, formComponent, sectionComponent, pageComponent } = {}) {\r\n pageComponent.setState({ sendSMSShow: true });\r\n setTimeout(() => {\r\n pageComponent.sendSMS.current?.setState({ parameter: parameter });\r\n }, config.setTimeoutMilliSecond);\r\n}\r\n\r\n//Suburb控件 找自动Suburb和Postcode\r\nexport function searchSuburbChange({ sectionName, parameter, formComponent, sectionComponent, pageComponent, uie }) {\r\n if (parameter.length >= config.component.AutoComplete.minimumQueryCharacters && !uie.autoDataSource && uie.datasourceUrl !== null) {\r\n httpClient\r\n .get(uie.datasourceUrl + '?keyword=' + parameter + '&state=' + pageComponent.state.state)\r\n .then(({ data }) => {\r\n let options = [];\r\n if (data.result) {\r\n data.data.map((suburb, j) => {\r\n options.push({ label: suburb.Name + ' (' + suburb.Postcode + ')', value: suburb.Name + ' (' + suburb.Postcode + ')', data: suburb });\r\n })\r\n let componentDataSource = { ...formComponent.state.componentDataSource };\r\n componentDataSource[uie.source] = options;\r\n formComponent.setState({ componentDataSource });\r\n } else {\r\n globalFunction.handleResultError(data, pageComponent);\r\n }\r\n })\r\n .catch(function (error) {\r\n globalFunction.handleError(error, pageComponent);\r\n });\r\n }\r\n}\r\n\r\n//Suburb 选择后快速填写数据\r\nexport function searchSuburbSelect({ sectionName, parameter, formComponent, sectionComponent, pageComponent, uie }) {\r\n let data = parameter;\r\n formComponent.formRef.current?.setFieldValue('Suburb', data.data.Name);\r\n formComponent.formRef.current?.setFieldValue('Postcode', data.data.Postcode);\r\n}\r\n\r\n//PostalSuburb 选择后快速填写数据\r\nexport function searchPostalSuburbSelect({ sectionName, parameter, formComponent, sectionComponent, pageComponent, uie }) {\r\n let data = parameter;\r\n formComponent.formRef.current?.setFieldValue('PostalSuburb', data.data.Name);\r\n formComponent.formRef.current?.setFieldValue('PostalPostcode', data.data.Postcode);\r\n}\r\n\r\nexport function getStatsDataByDefault({ sectionName, parameter, formComponent, sectionComponent, pageComponent, uie }) {\r\n sectionComponent.getStatsDataByDefault();\r\n}\r\n","import { config } from 'util/config';\r\nimport { httpClient } from \"util/Api\";\r\nimport React, { Fragment } from 'react';\r\nimport moment from 'moment';\r\nimport { message, Tooltip, Divider, Row, Col, Form, Button, Input, DatePicker, Select, InputNumber, Switch, AutoComplete, Tabs } from 'antd';\r\nimport { operationalFunction, getUieDataSource, getComponentDataSourceGroup } from 'components/UIBuilder/SectionFunction/Common';\r\nimport AdditionalForm from 'components/UIBuilder/AdditionalForm';\r\nimport * as createComponent from 'components/UIBuilder/CustomComponent/CreateComponent';\r\nimport * as globalFunction from 'util/GlobalFunction';\r\n\r\nexport default class CustomForm extends React.Component {\r\n constructor(props) {\r\n super();\r\n this.state = {\r\n currentDataKey: 0,\r\n initialValues: {},\r\n formData: {},\r\n componentDataSource: [],\r\n componentDefaultValue: [],\r\n uieCounter: 0,\r\n activeKey: 0,\r\n autoLoadComponentDataSource: true\r\n }\r\n\r\n this.formRef = React.createRef();\r\n this.additionalFormRef = React.createRef();\r\n this.setFormValue = this.setFormValue.bind(this);\r\n };\r\n\r\n //页面启动\r\n componentDidMount() {\r\n setTimeout(() => {\r\n if (this.state.autoLoadComponentDataSource) {\r\n this.getComponentDataSource();\r\n }\r\n }, 20);\r\n this.getComponent();\r\n }\r\n\r\n //触发提交表单\r\n submitForm() {\r\n this.formRef.current?.submit();\r\n }\r\n\r\n //触发清空表单\r\n resetFields() {\r\n // this.setState({ formData: {} });\r\n this.formRef.current?.resetFields();\r\n }\r\n\r\n //同时修改状态表单和表单组件里, 对应字段的值\r\n setFormValue = (key, value) => {\r\n // let formData = { ...this.state.formData };\r\n // formData[key] = value;\r\n // this.setState({ formData });\r\n this.formRef.current?.setFieldsValue({ [key]: value });\r\n }\r\n\r\n //修改表单组件里的值, 修改状态表单对应的值\r\n onFormChange = (changedValues, allValues) => {\r\n this.props.sectionComponent.setState({ isFormModified: true });\r\n }\r\n\r\n //提交表单\r\n onFinish = async (values: any) => {\r\n operationalFunction({\r\n functionName: 'customFormOnSubmit',\r\n sectionName: this.props.parentComponent.props.section.name,\r\n parameter: this.props.defaultFormData,\r\n formComponent: this,\r\n sectionComponent: this.props.sectionComponent,\r\n pageComponent: this.props.pageComponent\r\n })\r\n };\r\n\r\n //提交表单之前验证失败\r\n onFinishFailed = (errorInfo: any) => {\r\n console.log('Failed:', errorInfo);\r\n };\r\n\r\n //某些字段不能为0(- Select xxx -),必须手选一个\r\n validateSelect = async (_, value) => {\r\n if (value === 0) {\r\n // 如果选择的是“0”,则返回错误\r\n return Promise.reject(new Error(''));\r\n }\r\n // 否则验证通过\r\n return Promise.resolve();\r\n };\r\n\r\n //访问后台获取表单配置\r\n getComponent() {\r\n //处理初值, 防止某些控件崩溃\r\n let initialValues = { ...this.state.initialValues };\r\n this.props.component.groupList.map((group, i) => {\r\n group.uieList.map((uie, i) => {\r\n switch (uie.component) {\r\n case 'RichTextEditor':\r\n initialValues[uie.source] = '';\r\n break;\r\n }\r\n })\r\n })\r\n this.setState({ initialValues });\r\n }\r\n\r\n //找到需要数据源的组件, 获取其数据源\r\n getComponentDataSource() {\r\n let parameter = [];\r\n if (this.props.jobId !== undefined && this.props.jobId !== null) {\r\n parameter.push({ key: 'jobId', value: this.props.jobId });\r\n }\r\n if (this.props.moduleId !== undefined && this.props.moduleId !== null) {\r\n parameter.push({ key: 'moduleId', value: this.props.moduleId });\r\n }\r\n if (this.props.module !== undefined && this.props.module !== null) {\r\n parameter.push({ key: 'module', value: this.props.module });\r\n }\r\n if (this.props.state !== undefined && this.props.state !== null) {\r\n parameter.push({ key: 'state', value: this.props.state });\r\n }\r\n if (this.props.jobId !== undefined && this.props.jobId !== null) {\r\n parameter.push({ key: 'jobId', value: this.props.jobId })\r\n }\r\n if (this.props.subJobId !== undefined && this.props.subJobId !== null) {\r\n parameter.push({ key: 'subJobId', value: this.props.subJobId })\r\n }\r\n if (this.props.approvalId !== undefined && this.props.approvalId !== null) {\r\n parameter.push({ key: 'approvalId', value: this.props.approvalId })\r\n }\r\n if (this.props.component.datasourceUrl === null) {\r\n this.props.component.groupList.map((group, i) => {\r\n group.uieList.map(async (uie, j) => {\r\n if (this.state.componentDataSource[uie.source] === undefined) {\r\n getUieDataSource({ parameter: parameter, sectionName: this.props.parentComponent.props.section.name, component: this, formComponent: this, sectionComponent: this.props.sectionComponent, pageComponent: this.props.pageComponent, uie: uie });\r\n }\r\n })\r\n })\r\n setTimeout(() => {\r\n this.props.parentComponent.setState({ renderForm: true });\r\n }, config.setTimeoutMilliSecond);\r\n } else if (this.props.component.autoDataSource) {\r\n getComponentDataSourceGroup({ parameter: parameter, sectionName: this.props.parentComponent.props.section.name, component: this, formComponent: this, sectionComponent: this.props.sectionComponent, pageComponent: this.props.pageComponent });\r\n }\r\n }\r\n\r\n //创建表单UI - component\r\n createUI() {\r\n //查看tab分组信息\r\n let tabs = this.props.component.groupList.filter(c => c.tab !== null).map((group, i) => { return group.tab; }).filter((value, index, array) => array.indexOf(value) === index);\r\n if (tabs.length === 0) {\r\n //默认情况\r\n return this.props.component.groupList.filter(c => c.show).map((group, i) =>\r\n \r\n {group.name !== null ? group.hideSeparatorLine ? {group.name} : {group.name} : <>}\r\n {this.createGroupUI(group)}\r\n \r\n );\r\n } else {\r\n //有分tab的情况, 生成tab标签页\r\n let tabItems = [];\r\n tabs.map((tab, i) => {\r\n let groups = this.props.component.groupList.filter(c => c.tab === tab);\r\n tabItems.push({\r\n label: <>{tab},\r\n key: i,\r\n forceRender: true,\r\n children: groups.map((group, i) =>\r\n \r\n {group.name !== null ? group.hideSeparatorLine ? {group.name} : {group.name} : <>}\r\n {this.createGroupUI(group)}\r\n \r\n )\r\n });\r\n })\r\n\r\n return { this.setState({ activeKey }); }}\r\n />\r\n }\r\n }\r\n\r\n //创建表单UI - Group\r\n createGroupUI(group) {\r\n return group.uieList.map((uie, i) => {\r\n if (uie.show) {\r\n this.state.uieCounter++;\r\n let rules = [];\r\n rules.push({\r\n required: uie.required,\r\n message: ''\r\n });\r\n if (uie.pattern != null) {\r\n rules.push({\r\n required: false,\r\n pattern: new RegExp(uie.pattern, 'i'),\r\n message: uie.placeholder !== null ? uie.placeholder : ''\r\n });\r\n }\r\n if (uie.mandatorySelect) {\r\n rules.push({\r\n validator: this.validateSelect\r\n });\r\n }\r\n\r\n let valuePropName = 'value';\r\n switch (uie.component) {\r\n case 'Switch':\r\n case 'Checkbox':\r\n valuePropName = 'checked';\r\n break;\r\n case 'RichTextEditor':\r\n valuePropName = 'data';\r\n break;\r\n }\r\n switch (uie.component) {\r\n case 'RichTextEditor':\r\n return \r\n {\r\n const data = editor.getData();\r\n return data;\r\n }}\r\n >\r\n {createComponent.createUIElement({ uie: uie, uieCounter: this.state.uieCounter, component: this, formComponent: this, sectionComponent: this.props.sectionComponent, pageComponent: this.props.pageComponent, value: this.state.componentDefaultValue[uie.source] })}\r\n \r\n \r\n case 'Select':\r\n switch (uie.type) {\r\n case 'Notify':\r\n return \r\n \r\n {createComponent.createUIElement({ uie: uie, uieCounter: this.state.uieCounter, component: this, formComponent: this, sectionComponent: this.props.sectionComponent, pageComponent: this.props.pageComponent, value: this.state.componentDefaultValue[uie.source] })}\r\n \r\n \r\n : }\r\n type=\"link\"\r\n onClick={() => operationalFunction({ uie: uie, functionName: uie.onClick, sectionName: this.props.sectionComponent.props.sectionName, parameter: null, sectionComponent: this.props.sectionComponent, pageComponent: this.props.pageComponent })}\r\n />\r\n \r\n \r\n default:\r\n return this.defaultComponent({ uie, i, rules, valuePropName });\r\n }\r\n case 'DatePicker':\r\n switch (uie.type) {\r\n case 'QuickDays':\r\n let days = [1, 7, 14, 30, 60];\r\n return \r\n \r\n {createComponent.createUIElement({ uie: uie, uieCounter: this.state.uieCounter, component: this, formComponent: this, sectionComponent: this.props.sectionComponent, pageComponent: this.props.pageComponent, value: this.state.componentDefaultValue[uie.source] })}\r\n \r\n \r\n {\r\n days.map((day, j) =>\r\n operationalFunction({ uie: uie, functionName: 'quickAddDays_' + uie.source, sectionName: this.props.sectionComponent.props.sectionName, parameter: day, sectionComponent: this.props.sectionComponent, pageComponent: this.props.pageComponent })}\r\n >{day}\r\n )\r\n }\r\n \r\n \r\n default:\r\n return this.defaultComponent({ uie, i, rules, valuePropName });\r\n }\r\n default:\r\n return this.defaultComponent({ uie, i, rules, valuePropName });\r\n }\r\n } else {\r\n return null\r\n }\r\n });\r\n }\r\n\r\n defaultComponent({ uie, i, rules, valuePropName } = {}) {\r\n return \r\n \r\n {createComponent.createUIElement({ uie: uie, uieCounter: this.state.uieCounter, component: this, formComponent: this, sectionComponent: this.props.sectionComponent, pageComponent: this.props.pageComponent, value: this.state.componentDefaultValue[uie.source] })}\r\n \r\n \r\n }\r\n\r\n //创建附加表单\r\n createAdditionalForm() {\r\n switch (this.props.component.additionalForm) {\r\n case null:\r\n return <>;\r\n default:\r\n return ;\r\n }\r\n }\r\n\r\n //----------------- render -----------------//\r\n render() {\r\n return (\r\n \r\n {this.props.parentComponent.state.renderForm ? this.createUI() : <>}\r\n {this.props.parentComponent.state.renderForm ? this.createAdditionalForm() : <>}\r\n \r\n );\r\n }\r\n}\r\n","import { message } from 'antd';\r\nimport { config } from 'util/config';\r\nimport { httpClient } from \"util/Api\";\r\nimport { operationalFunction } from 'components/UIBuilder/SectionFunction/Common';\r\nimport * as globalFunction from 'util/GlobalFunction';\r\nimport moment from 'moment';\r\n\r\nexport function manageGroup({ sectionName, parameter, formComponent, sectionComponent, pageComponent, uie } = {}) {\r\n sectionComponent.child.current?.setState({ manageGroupShow: true });\r\n setTimeout(() => {\r\n sectionComponent.child.current?.manageGroup.current?.getSubJobGroupList();\r\n }, config.setTimeoutMilliSecond);\r\n}\r\n\r\nexport function addSubJob({ parameter, sectionComponent, pageComponent, sectionName, uie } = {}) {\r\n sectionComponent.setState({ Notify: false, SubContractorId: 0, showModal: true, componentType: 'Create' });\r\n setTimeout(() => {\r\n let formData = parameter;\r\n //设置富文本的控件为空字符串,否则会崩\r\n formData['Directions'] = '';\r\n sectionComponent.customForm.current?.formRef.current?.setFieldsValue(formData);\r\n sectionComponent.customForm.current?.setState({ formData });\r\n\r\n setTimeout(() => {\r\n //设置联动的Select\r\n getSubJobGroupSelectOptionList({ sectionName: sectionName, parameter: parameter, formComponent: sectionComponent.customForm.current, sectionComponent: sectionComponent, pageComponent: pageComponent });\r\n }, config.setTimeoutMilliSecond);\r\n }, config.setTimeoutMilliSecond);\r\n}\r\n\r\n//弹出编辑DIV后触发\r\nexport function editSubJobPopUpRun({ parameter, sectionComponent, pageComponent, sectionName, uie } = {}) {\r\n sectionComponent.customForm.current?.setState({ activeKey: 0 });\r\n sectionComponent.setState({\r\n Notify: false,\r\n ScheduledDate: moment(sectionComponent.customForm.current?.formRef.current?.getFieldValue('ScheduledDate')).format(config.format.sqlDate),\r\n SubContractorId: sectionComponent.customForm.current?.formRef.current?.getFieldValue('SubContractorId')\r\n });\r\n globalFunction.setUieVisible(pageComponent, 'SubJob', 'Edit', 'OralDirectionAddTask', sectionComponent.customForm.current?.formRef.current?.getFieldValue('OralDirectionIssueDate') !== undefined);\r\n globalFunction.setUieVisible(pageComponent, 'SubJob', 'Edit', 'WrittenDirectionAddTask', sectionComponent.customForm.current?.formRef.current?.getFieldValue('WrittenDirectionIssueDate') !== undefined);\r\n setTimeout(() => {\r\n //设置联动的Select\r\n getSubJobGroupSelectOptionList({ sectionName: sectionName, parameter: parameter, formComponent: sectionComponent.customForm.current, sectionComponent: sectionComponent, pageComponent: pageComponent });\r\n }, config.setTimeoutMilliSecond);\r\n}\r\n\r\n///获取当前Group列表\r\nexport function getSubJobGroupSelectOptionList({ sectionName, parameter, formComponent, sectionComponent, pageComponent, uie } = {}) {\r\n httpClient\r\n .get('Business/SubJobGroup/GetSelectOptionList?jobId=' + formComponent.props.jobId)\r\n .then(({ data }) => {\r\n if (data.result) {\r\n let dataSource = data.data;\r\n let componentDataSource = { ...formComponent.state.componentDataSource };\r\n componentDataSource['GroupId'] = dataSource;\r\n formComponent.setState({ componentDataSource });\r\n if (parameter.GroupId === undefined || parameter.GroupId === null) {\r\n sectionComponent.customForm.current?.formRef.current?.setFieldValue('GroupId', dataSource[0]?.Value);\r\n }\r\n } else {\r\n globalFunction.handleResultError(data, pageComponent);\r\n }\r\n })\r\n .catch(function (error) {\r\n globalFunction.handleError(error, pageComponent);\r\n });\r\n}\r\n\r\n//快速填充OralDirectionExpiryDate\r\nexport function quickAddDays_OralDirectionExpiryDate({ sectionName, parameter, formComponent, sectionComponent, pageComponent, uie } = {}) {\r\n let date = sectionComponent.customForm.current?.formRef.current?.getFieldValue('OralDirectionIssueDate');\r\n if (date !== undefined) {\r\n sectionComponent.customForm.current?.formRef.current?.setFieldValue('OralDirectionExpiryDate', globalFunction.addDateMoment(date, parameter));\r\n globalFunction.setUieVisible(pageComponent, 'SubJob', 'Edit', 'OralDirectionAddTask', true);\r\n }\r\n}\r\n\r\n//OralDirectionExpiryDate改变时触发\r\nexport function oralDirectionExpiryDateChange({ sectionName, parameter, formComponent, sectionComponent, pageComponent, uie } = {}) {\r\n globalFunction.setUieVisible(pageComponent, 'SubJob', 'Edit', 'OralDirectionAddTask', true);\r\n}\r\n\r\n//OralDirectionExpiryDate清空时触发\r\nexport function clearOralDirectionExpiryDate({ sectionName, parameter, formComponent, sectionComponent, pageComponent, uie } = {}) {\r\n globalFunction.setUieVisible(pageComponent, 'SubJob', 'Edit', 'OralDirectionAddTask', false);\r\n}\r\n\r\n//快速填充WrittenDirectionExpiryDate\r\nexport function quickAddDays_WrittenDirectionExpiryDate({ sectionName, parameter, formComponent, sectionComponent, pageComponent, uie } = {}) {\r\n let date = sectionComponent.customForm.current?.formRef.current?.getFieldValue('WrittenDirectionIssueDate');\r\n if (date !== undefined) {\r\n sectionComponent.customForm.current?.formRef.current?.setFieldValue('WrittenDirectionExpiryDate', globalFunction.addDateMoment(date, parameter));\r\n globalFunction.setUieVisible(pageComponent, 'SubJob', 'Edit', 'WrittenDirectionAddTask', true);\r\n }\r\n}\r\n\r\n//WrittenDirectionExpiryDate改变时触发\r\nexport function writtenDirectionExpiryDateChange({ sectionName, parameter, formComponent, sectionComponent, pageComponent, uie } = {}) {\r\n globalFunction.setUieVisible(pageComponent, 'SubJob', 'Edit', 'WrittenDirectionAddTask', true);\r\n}\r\n\r\n//WrittenDirectionExpiryDate清空时触发\r\nexport function clearWrittenDirectionExpiryDate({ sectionName, parameter, formComponent, sectionComponent, pageComponent, uie } = {}) {\r\n globalFunction.setUieVisible(pageComponent, 'SubJob', 'Edit', 'WrittenDirectionAddTask', false);\r\n}\r\n\r\n//编辑提交后可能会刷新Task\r\nexport function editSubmitFinish({ sectionName, parameter, formComponent, sectionComponent, pageComponent, uie } = {}) {\r\n globalFunction.getSectionComponent(pageComponent, 'JobTask').getSectionDataByDefault();\r\n}\r\n\r\n//弹出mailmerge的div\r\nexport function docMergeSubJob({ sectionName, parameter, formComponent, sectionComponent, pageComponent, uie } = {}) {\r\n pageComponent.setState({ mailMergeTemplateShow: true, mailMergeObjId: parameter.SubJobId, dataModelType: 2 });\r\n setTimeout(() => {\r\n pageComponent.mailMergeTemplate.current?.getMailMergeTemplate(2);\r\n }, config.setTimeoutMilliSecond);\r\n}\r\n\r\n//设置是否发信\r\nexport function setNotify({ sectionName, parameter, formComponent, sectionComponent, pageComponent, uie } = {}) {\r\n let notify = sectionComponent.customForm.current?.formRef.current?.getFieldValue('Notify');\r\n if (notify !== true) {\r\n sectionComponent.setState({ Notify: true });\r\n sectionComponent.customForm.current?.formRef.current?.setFieldValue('Notify', true);\r\n } else {\r\n sectionComponent.setState({ Notify: false });\r\n sectionComponent.customForm.current?.formRef.current?.setFieldValue('Notify', false);\r\n }\r\n}\r\n\r\n//特殊处理一些提交的条件\r\nexport function submitCustomForm({ parameter, sectionComponent, pageComponent, sectionName, uie } = {}) {\r\n if ((sectionComponent.state.ScheduledDate !== moment(sectionComponent.customForm.current?.formRef.current?.getFieldValue('ScheduledDate')).format(config.format.sqlDate) ||\r\n sectionComponent.state.SubContractorId !== sectionComponent.customForm.current?.formRef.current?.getFieldValue('SubContractorId')) &&\r\n sectionComponent.customForm.current?.formRef.current?.getFieldValue('ScheduledDate') !== undefined &&\r\n sectionComponent.customForm.current?.formRef.current?.getFieldValue('SubContractorId') != 0 &&\r\n sectionComponent.state.Notify !== true) {\r\n sectionComponent.child.current?.setState({ submitConfirmShow: true });\r\n } else {\r\n sectionComponent.customForm.current?.submitForm();\r\n }\r\n}\r\n\r\n//InspectionScheduler 上的编辑\r\nexport function editByInspectionScheduler({ parameter, sections, sectionComponent, pageComponent, sectionName, uie } = {}) {\r\n //先获取数据\r\n httpClient\r\n .get(pageComponent.props.areaName + '/' + sectionName + '/GetDetailWidthJob/' + parameter.key)\r\n .then(({ data }) => {\r\n if (data.result) {\r\n sectionComponent.setState({ showModal: true, componentType: 'Edit', renderForm: true });\r\n let recordData = data.data;\r\n\r\n //通过这条数据的 Job_ModuleId 获取控件数据源\r\n httpClient\r\n .get(sectionComponent.customForm.current?.props.component.datasourceUrl + '?moduleId=' + data.data.Job_ModuleId)\r\n .then(({ data }) => {\r\n if (data.result) {\r\n if (data.data.length > 0) {\r\n data.data.map((hash, i) => {\r\n let dataSource = hash.Value;\r\n let uie = null;\r\n sectionComponent.customForm.current?.props.component.groupList.map((group, j) => {\r\n group.uieList.map((u, k) => {\r\n if (u.source == hash.Key) {\r\n uie = u;\r\n }\r\n })\r\n })\r\n if (uie !== null) {\r\n let componentDataSource = { ...sectionComponent.customForm.current?.state.componentDataSource };\r\n if (uie.required) {\r\n dataSource = dataSource.filter(item => item.Value !== 0);\r\n }\r\n componentDataSource[hash.Key] = dataSource;\r\n sectionComponent.customForm.current?.setState({ componentDataSource });\r\n }\r\n });\r\n\r\n sectionComponent.customForm.current?.setState({ currentDataKey: recordData.key });\r\n //处理不适合antd组件的数据\r\n let componentDataSource = sectionComponent.customForm.current?.state.componentDataSource;\r\n sectionComponent.props.section.componentList.filter(c => c.type === 'Edit')[0].groupList.forEach(group => {\r\n group.uieList.forEach(uie => {\r\n switch (uie.component) {\r\n case 'DatePicker':\r\n //处理日期, 把字符串转成moment\r\n if (recordData[uie.source] !== null) {\r\n recordData[uie.source] = moment(recordData[uie.source], config.format.date);\r\n } else {\r\n recordData[uie.source] = undefined;\r\n }\r\n break;\r\n case 'Select':\r\n //处理Select默认选项, 如果字段的值是null且备选项列表已加载, 则自动选择备选项里第一个(如果已有数据, 则加载备选项里有的那一条)\r\n if (recordData[uie.source] === null && componentDataSource[uie.source] !== undefined) {\r\n recordData[uie.source] = componentDataSource[uie.source][0]?.Value;\r\n }\r\n if (uie.autoSelect) {\r\n //如果是自定义AutoSelect的类型, 触发其onChange事件\r\n operationalFunction({ functionName: uie.onChange, sectionName: sectionName, parameter: recordData[uie.source], formComponent: sectionComponent.customForm.current, sectionComponent: sectionComponent, pageComponent: pageComponent, uie: uie });\r\n }\r\n break;\r\n case 'RichTextEditor':\r\n //处理RichTextEditor, 如果是null或者undefined,改为空字符串,否则会崩溃\r\n if (recordData[uie.source] === null) {\r\n recordData[uie.source] = '';\r\n }\r\n break;\r\n case 'Input':\r\n //处理Input, 如果type是fileName, 处理成改文件名的状态\r\n if (uie.type === 'fileName') {\r\n uie.addonAfter = globalFunction.getExtension(recordData[uie.source]);\r\n recordData[uie.source] = globalFunction.getFileNameWithoutExtension(recordData[uie.source]);\r\n }\r\n break;\r\n }\r\n });\r\n });\r\n //把处理后的数据赋值给表单\r\n sectionComponent.customForm.current?.formRef.current?.setFieldsValue(recordData);\r\n sectionComponent.customForm.current?.setState({ formData: recordData });\r\n\r\n try {\r\n editSubJobPopUpRun({ parameter: parameter, sectionComponent: sectionComponent, pageComponent: pageComponent, sectionName: sectionName, uie: uie });\r\n } catch (error) { }\r\n }\r\n } else {\r\n globalFunction.handleResultError(data, pageComponent);\r\n }\r\n })\r\n .catch(function (error) {\r\n globalFunction.handleError(error, pageComponent);\r\n });\r\n } else {\r\n globalFunction.handleResultError(data, pageComponent);\r\n }\r\n })\r\n .catch(function (error) {\r\n globalFunction.handleError(error, pageComponent);\r\n });\r\n}\r\n\r\n//通过模板设置 Direction\r\nexport function setDirectionFromTemplate({ parameter, sections, formComponent, sectionComponent, pageComponent, sectionName, uie } = {}) {\r\n if (parameter > 0) {\r\n httpClient\r\n .get('/Admin/SubJobDirectionTemplate/' + parameter)\r\n .then(({ data }) => {\r\n if (data.result) {\r\n let directions = formComponent.formRef.current?.getFieldValue('Directions');\r\n directions = data.data.Direction + directions;\r\n formComponent.formRef.current?.setFieldValue('Directions', directions);\r\n } else {\r\n globalFunction.handleResultError(data, pageComponent);\r\n }\r\n })\r\n .catch(function (error) {\r\n globalFunction.handleError(error, pageComponent);\r\n });\r\n }\r\n}\r\n\r\n//打开从模板添加界面\r\nexport function addFromTemplate({ sectionName, parameter, sectionComponent, pageComponent, uie } = {}) {\r\n let defaultFormData = pageComponent.state.defaultFormData;\r\n defaultFormData.moduleId = pageComponent.state.moduleId;\r\n pageComponent.setState({ defaultFormData });\r\n openAddFromTemplate({ component: sectionComponent.child.current });\r\n}\r\n\r\nexport function openAddFromTemplate({ component } = {}) {\r\n component.setState({ addFromTemplateShow: true });\r\n component.addFromTemplate.current?.setState({ activeKey: 0 });\r\n setTimeout(() => {\r\n component.addFromTemplate.current?.formRef.current?.resetFields();\r\n component.addFromTemplate.current?.additionalFormRef.current?.child.current?.setState({ defaultSelectedRowKeys: [], selectedRowKeys: [], subJobTypePresetContentList: [] });\r\n setTimeout(() => {\r\n component.addFromTemplate.current?.additionalFormRef.current?.child.current?.getSubJobTypeData();\r\n component.addFromTemplate.current?.getSubJobTypePresetDataSource();\r\n }, config.setTimeoutMilliSecond);\r\n }, config.setTimeoutMilliSecond);\r\n}\r\n\r\nexport function addBookingRequest({ sectionName, parameter, sectionComponent, pageComponent, uie } = {}) {\r\n pageComponent.setState({ subjobData: parameter, bookingRequestShow: true });\r\n pageComponent.bookingRequest.current?.getWebUI('Create');\r\n}\r\n\r\nexport function editBookingRequest({ sectionName, parameter, sectionComponent, pageComponent, uie } = {}) {\r\n pageComponent.setState({ subjobData: parameter, bookingRequestShow: true });\r\n pageComponent.bookingRequest.current?.getWebUI('Edit');\r\n}\r\n","import React from 'react';\r\nimport { config } from \"util/config\";\r\nimport { httpClient } from \"util/Api\";\r\nimport * as globalFunction from 'util/GlobalFunction';\r\nimport { message, Space, Table, Pagination, Tag, Row, Col, Form, Input, Divider, Tooltip, Button, Popconfirm, Upload } from 'antd';\r\nimport { FolderOpenOutlined, FolderOutlined, GroupOutlined, CaretRightOutlined, CaretDownOutlined } from '@ant-design/icons';\r\nimport CustomEmpty from \"components/CustomEmpty\";\r\nimport CustomBadge from 'components/CustomBadge';\r\nimport * as documentFunction from 'components/UIBuilder/SectionFunction/Document';\r\nconst { Dragger } = Upload;\r\n\r\nexport default class SignatureForm extends React.Component {\r\n constructor(props) {\r\n super();\r\n this.state = {\r\n fileList: [],\r\n signaturePreview: null,\r\n }\r\n };\r\n\r\n render() {\r\n const signatureImgUrl = this.props.parentFormComponent.state.formData.Signature !== undefined && this.props.parentFormComponent.state.formData.Signature !== null ? 'data:image/png;base64, ' + this.props.parentFormComponent.state.formData.Signature : '';\r\n const signaturePreviewImgUrl = this.state.signaturePreview !== null ? 'data:image/png;base64, ' + this.state.signaturePreview : '';\r\n return (\r\n
\r\n
Signature Image
\r\n \r\n {\r\n this.setState({ fileList: [], signaturePreview: null });\r\n setTimeout(() => {\r\n this.props.parentFormComponent.formRef.current?.setFieldValue('file', undefined);\r\n }, config.setTimeoutMilliSecond);\r\n }}\r\n beforeUpload={(file) => {\r\n let extension = globalFunction.getExtension(file.name).toLowerCase();\r\n if (extension === '.png') {\r\n if (file.size <= 200 * 1024) {\r\n let fileList = [];\r\n fileList.push(file);\r\n this.setState({ fileList });\r\n let that = this;\r\n let reader = new FileReader();\r\n reader.onloadend = function (evt) {\r\n if (evt.target.readyState === FileReader.DONE) {\r\n let arrayBuffer = evt.target.result,\r\n array = new Uint8Array(arrayBuffer);\r\n\r\n let signaturePreview = btoa(\r\n array.reduce((data, byte) => data + String.fromCharCode(byte), '')\r\n );\r\n that.setState({ signaturePreview });\r\n }\r\n };\r\n reader.readAsArrayBuffer(file);\r\n } else {\r\n message.warning('File ' + file.name + ' more than 200KB');\r\n }\r\n } else {\r\n message.warning('You mast select a PNG file');\r\n }\r\n return false;\r\n }}\r\n >\r\n

\r\n {this.state.signaturePreview !== '' ? : <>}\r\n

\r\n

Drag and drop a signature image here, or click to select.

\r\n

\r\n File size limits to 200KB. PNG image with transparent background is recommended.\r\n

\r\n \r\n \r\n
\r\n )\r\n }\r\n}\r\n","import React from 'react';\r\nimport SignatureForm from './SignatureForm';\r\n\r\nexport default class AdditionalForm extends React.Component {\r\n constructor(props) {\r\n super();\r\n this.state = {\r\n }\r\n this.child = React.createRef();\r\n };\r\n\r\n //创建附加表单\r\n createAdditionalForm() {\r\n switch (this.props.additionalForm) {\r\n case 'SignatureForm':\r\n return
;\r\n default:\r\n return <>;\r\n }\r\n }\r\n\r\n render() {\r\n return (\r\n <>{this.createAdditionalForm()}\r\n );\r\n }\r\n}\r\n","import React from 'react';\r\nimport { message, Space, Tag, Row, Col, Descriptions, Divider, Steps, Tooltip } from 'antd';\r\nimport { Link } from 'react-router-dom';\r\nimport { httpClient } from \"util/Api\";\r\nimport { compareUIElementValue } from 'util/Compare';\r\nimport { config } from \"util/config\";\r\nimport * as globalFunction from 'util/GlobalFunction';\r\nimport { getSectionData } from \"components/UIBuilder/Global/DataHelper\";\r\nimport { LoadingOutlined, SmileOutlined, SolutionOutlined, UserOutlined } from '@ant-design/icons';\r\n\r\nexport default class JobStatusStepperDiv extends React.Component {\r\n constructor(props) {\r\n super();\r\n this.state = {\r\n current: 0,\r\n steps: [],\r\n shouldUseVertical: false,\r\n screenWidth: window.innerWidth,\r\n }\r\n }\r\n\r\n //获取div数据\r\n componentDidMount() {\r\n if (this.props.section.autoLoad) {\r\n this.getJobStatusStepper();\r\n }\r\n window.addEventListener('resize', this.handleResize);\r\n this.setState({ shouldUseVertical: (this.state.steps.reduce((sum, step) => sum + step.title.length, 0) * 14 + this.state.steps.length * 50) > this.state.screenWidth });\r\n }\r\n\r\n getJobStatusStepper() {\r\n let that = this;\r\n let url = '';\r\n if (this.props.pageComponent.props.accessCode != undefined) {\r\n url = '/Admin/JobStatusStepper/GetPublicList?accessCode=' + this.props.pageComponent.props.accessCode;\r\n } else {\r\n url = '/Admin/JobStatusStepper/GetList?jobId=' + this.props.pageComponent.state.jobData.JobId;\r\n }\r\n httpClient\r\n .get(url)\r\n .then(({ data }) => {\r\n if (data.result) {\r\n let stepsList = []\r\n data.data.map((k, index) => {\r\n k.IconActiveUrl = 'data:image/svg+xml;base64, ' + k.IconActive;\r\n k.IconInactiveUrl = 'data:image/svg+xml;base64, ' + k.IconInactive;\r\n if (k.key === this.props.pageComponent.state.jobData.WorkflowStatus.JobStatusStepperId) {\r\n this.setState({ current: index })\r\n }\r\n stepsList.push({\r\n title: k.Name,\r\n description: k.Description,\r\n finish: k.IconActiveUrl,\r\n process: k.IconInactiveUrl,\r\n })\r\n })\r\n this.setState({ steps: stepsList })\r\n } else {\r\n globalFunction.handleResultError(data, this);\r\n }\r\n })\r\n .catch(function (error) {\r\n globalFunction.handleError(error, that);\r\n });\r\n }\r\n\r\n componentDidUpdate(prevProps, prevState) {\r\n if (prevState.screenWidth !== this.state.screenWidth || prevState.steps.length !== this.state.steps.length) {\r\n this.setState({ shouldUseVertical: (this.state.steps.reduce((sum, step) => sum + step.title.length, 0) * 14 + this.state.steps.length * 50) > this.state.screenWidth });\r\n }\r\n }\r\n\r\n componentWillUnmount() {\r\n window.removeEventListener('resize', this.handleResize);\r\n }\r\n\r\n handleResize = () => {\r\n this.setState({ screenWidth: window.innerWidth })\r\n };\r\n\r\n\r\n getSectionDataByDefault() {\r\n getSectionData({ component: this });\r\n }\r\n\r\n render() {\r\n return (\r\n \r\n {this.state.steps.map((step, index) => (\r\n \r\n \r\n {step.title}\r\n )}\r\n icon={this.state.current >= index ? {step.title}\r\n : {step.title}\r\n}\r\n />\r\n ))}\r\n \r\n )\r\n }\r\n}\r\n","import React from 'react';\r\nimport { httpClient, uploadClient } from \"util/Api\";\r\nimport { config } from \"util/config\";\r\nimport AntDraggableModal from 'components/AntDraggableModal';\r\nimport { message, Space, Table, Pagination, Tag, Empty, Row, Col, Form, Input, Divider, Tooltip, Button, Popconfirm, Select, Upload, Progress } from 'antd';\r\nimport { UploadOutlined, DeleteOutlined } from '@ant-design/icons';\r\nimport * as globalFunction from 'util/GlobalFunction';\r\nimport * as imageConversion from 'image-conversion';\r\nimport * as document from 'components/UIBuilder/SectionFunction/Document';\r\n\r\nexport default class UploadDocument extends React.Component {\r\n constructor(props) {\r\n super();\r\n this.state = {\r\n submitting: false,\r\n DocumentTypeId: null,\r\n fileList: [],\r\n componentDataSource: [],\r\n componentDefaultValue: [],\r\n onDragEnterCLass: ''\r\n }\r\n\r\n this.formRef = React.createRef();\r\n }\r\n\r\n async uploadDocumentSubmit() {\r\n if (this.state.fileList.length > 0) {\r\n this.setState({ submitting: true });\r\n let documentIds = [];\r\n const res = this.state.fileList.map(async (file) => {\r\n if (file.status === undefined) {\r\n let formData = new FormData();\r\n formData.append('jobId', this.props.jobId);\r\n formData.append('AccessCode', this.props.accessCode);\r\n if (this.props.pageComponent.state.jobChecklistId !== 0 && this.props.pageComponent.state.jobChecklistId !== undefined) {\r\n formData.append('jobChecklistId', this.props.pageComponent.state.jobChecklistId);\r\n formData.append('DocumentTypeName', 'JobChecklistClientDocument');\r\n }\r\n if (this.props.pageComponent.state.jobRequiredCertificateId !== 0 && this.props.pageComponent.state.jobRequiredCertificateId !== undefined) {\r\n formData.append('jobRequiredCertificateId', this.props.pageComponent.state.jobRequiredCertificateId);\r\n formData.append('DocumentTypeName', 'JobRequiredCertificateClientDocument');\r\n }\r\n\r\n let currentFile = file;\r\n if (config.imageTypes.indexOf(file.type) >= 0 && file.size > 1024 * config.uploadImageMaxLength) {\r\n currentFile = await imageConversion.compressAccurately(file, {\r\n size: config.uploadImageMaxLength,\r\n accuracy: '',\r\n type: '',\r\n width: '',\r\n height: '',\r\n scale: '1',\r\n orientation: ''\r\n });\r\n currentFile.name = file.name;\r\n }\r\n formData.append('files[]', currentFile);\r\n formData.append('Name', file.name);\r\n\r\n if (file.DocumentTypeId !== undefined && file.DocumentTypeId !== null) {\r\n formData.append('DocumentTypeId', file.DocumentTypeId);\r\n }\r\n if (file.Comment !== undefined && file.Comment !== null) {\r\n formData.append('Comment', file.Comment);\r\n }\r\n\r\n let that = this;\r\n await uploadClient\r\n .post(this.props.uploadUrl, formData, {\r\n onUploadProgress: (progressEvent) => {\r\n const uploadProgress = (progressEvent.loaded / progressEvent.total) * 100;\r\n let fileList = this.state.fileList.map((oldFile, i) => {\r\n if (oldFile.name === file.name && oldFile.size === file.size) {\r\n oldFile.percent = uploadProgress;\r\n if (oldFile.percent == 100) {\r\n oldFile.status = 'done';\r\n } else {\r\n oldFile.status = 'uploading';\r\n }\r\n }\r\n return oldFile;\r\n })\r\n this.setState({ fileList });\r\n },\r\n })\r\n .then(({ data }) => {\r\n if (data.result) {\r\n documentIds.push(data.data);\r\n return true;\r\n } else {\r\n let fileList = that.state.fileList.map((oldFile, i) => {\r\n if (oldFile.name === file.name && oldFile.size === file.size) {\r\n oldFile.status = 'error';\r\n }\r\n return oldFile;\r\n })\r\n this.setState({ fileList });\r\n message.error(file.name + ' not upload, ' + data.message);\r\n }\r\n })\r\n .catch(function (error) {\r\n let fileList = that.state.fileList.map((oldFile, i) => {\r\n if (oldFile.name === file.name && oldFile.size === file.size) {\r\n oldFile.status = 'error';\r\n }\r\n return oldFile;\r\n })\r\n that.setState({ fileList });\r\n message.error(file.name + ' not upload, ' + error.message);\r\n });\r\n }\r\n })\r\n await Promise.all(res);\r\n this.props.component.getSectionDataByDefault();\r\n\r\n //这里处理不同的uploadType的后续操作\r\n switch (this.props.pageComponent.state.uploadType) {\r\n case 'JobChecklistClientDocument':\r\n let jobChecklistSection = globalFunction.getSectionComponent(this.props.pageComponent, 'JobChecklist');\r\n jobChecklistSection.getSectionDataByDefault();\r\n break;\r\n case 'JobRequiredCertificateClientDocument':\r\n let jobRequiredCertificateSection = globalFunction.getSectionComponent(this.props.pageComponent, 'JobRequiredCertificate');\r\n jobRequiredCertificateSection.getSectionDataByDefault();\r\n break;\r\n }\r\n this.closeUploadModal();\r\n\r\n if (this.props.accessCode === undefined) {\r\n let parameter = {};\r\n parameter.JobId = this.props.jobId;\r\n parameter.DocumentIdList = documentIds;\r\n this.sendClientDocumentUploadNotification(parameter);\r\n } else {\r\n let parameter = {};\r\n parameter.accessCode = this.props.accessCode;\r\n parameter.DocumentIdList = documentIds;\r\n this.publicSendClientDocumentUploadNotification(parameter);\r\n }\r\n } else {\r\n this.closeUploadModal();\r\n }\r\n }\r\n\r\n sendClientDocumentUploadNotification(parameter) {\r\n let that = this;\r\n httpClient\r\n .post('/Business/Document/SendClientDocumentUploadNotification', parameter)\r\n .then(({ data }) => {\r\n })\r\n .catch(function (error) {\r\n });\r\n }\r\n\r\n publicSendClientDocumentUploadNotification(parameter) {\r\n let that = this;\r\n httpClient\r\n .post('/Business/Document/PublicSendClientDocumentUploadNotification', parameter)\r\n .then(({ data }) => {\r\n })\r\n .catch(function (error) {\r\n });\r\n }\r\n\r\n closeUploadModal() {\r\n this.props.pageComponent.setState({ uploadType: '', jobChecklistId: 0 });\r\n this.formRef.current?.setFieldValue('DocumentTypeId', this.state.componentDataSource?.DocumentTypeId?.[0]?.Value);\r\n\r\n this.setState({\r\n fileList: [],\r\n submitting: false\r\n });\r\n setTimeout(() => {\r\n this.props.component.setState({\r\n uploadDocumentShow: false\r\n });\r\n }, config.setTimeoutMilliSecond * 50);\r\n }\r\n\r\n removeFile(file) {\r\n const index = this.state.fileList.indexOf(file);\r\n const newFileList = this.state.fileList.slice();\r\n newFileList.splice(index, 1);\r\n this.setState({ fileList: newFileList });\r\n }\r\n\r\n render() {\r\n return (\r\n this.uploadDocumentSubmit()}\r\n onCancel={() => {\r\n this.closeUploadModal();\r\n }}\r\n width={1100}\r\n maskClosable={config.component.Modal.maskClosable}\r\n footer={[\r\n ,\r\n ,\r\n \r\n \r\n {\r\n this.state.componentDataSource.DocumentTypeId != undefined ?\r\n \r\n {\r\n return option?.children?.toLowerCase().includes(inputValue.toLowerCase())\r\n }}\r\n onChange={(value) => {\r\n this.setState({ DocumentTypeId: value });\r\n }}\r\n >\r\n {\r\n this.state.componentDataSource.DocumentTypeId.map(option => {option.Key})\r\n }\r\n \r\n : \r\n }\r\n \r\n \r\n ]}\r\n >\r\n { this.setState({ onDragEnterCLass: 'onDragEnter' }) }}\r\n onDragLeave={() => { this.setState({ onDragEnterCLass: '' }) }}\r\n onDragOver={(e) => {\r\n e.stopPropagation();\r\n e.preventDefault();\r\n }}\r\n onDrop={(e) => {\r\n e.preventDefault();\r\n e.stopPropagation();\r\n document.dropDocument({ e: e, component: this });\r\n }}>\r\n {\r\n this.removeFile(file);\r\n }}\r\n beforeUpload={(file) => {\r\n let fileList = this.state.fileList;\r\n file.DocumentTypeId = this.formRef.current?.getFieldValue('DocumentTypeId');\r\n if (file.size / 1024 / 1024 > config.fileUploadLimit) {\r\n file.status = 'error';\r\n file.tip = file.name + ' size larger than ' + config.fileUploadLimit + 'M';\r\n }\r\n if (file.size === 0) {\r\n file.status = 'error';\r\n file.tip = file.name + ' - This file is 0KB and will not be uploaded. Make sure not to select or drag files from a zipped file/folder.';\r\n }\r\n fileList.push(file);\r\n this.setState({ fileList });\r\n return false;\r\n }}\r\n itemRender={(originNode, file, currFileList) => (\r\n <>{\r\n file.status !== 'error' ?\r\n
\r\n
\r\n \r\n {file.name} ({globalFunction.formatFileSize(file.size)})\r\n \r\n \r\n }\r\n type='link'\r\n onClick={() => {\r\n this.removeFile(file);\r\n }}\r\n />\r\n \r\n \r\n \r\n \r\n {\r\n this.state.componentDataSource.DocumentTypeId != undefined ? {\r\n return option?.children?.toLowerCase().includes(inputValue.toLowerCase())\r\n }}\r\n onChange={(value) => {\r\n let fileList = this.state.fileList.map((oldFile, i) => {\r\n if (oldFile.uid === file.uid) {\r\n oldFile.DocumentTypeId = value;\r\n }\r\n return oldFile;\r\n })\r\n this.setState({ fileList });\r\n }}\r\n >\r\n {\r\n this.state.componentDataSource.DocumentTypeId.map(option => {option.Key})\r\n }\r\n : \r\n }\r\n {\r\n let fileList = this.state.fileList.map((oldFile, i) => {\r\n if (oldFile.uid === file.uid) {\r\n oldFile.Comment = e.target.value;\r\n }\r\n return oldFile;\r\n })\r\n this.setState({ fileList });\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 {file.tip}\r\n \r\n \r\n }\r\n type='link'\r\n onClick={() => {\r\n this.removeFile(file);\r\n }}\r\n />\r\n \r\n \r\n \r\n
\r\n
\r\n }\r\n )}\r\n >\r\n Drag and Drop or select file to upload, Size limit: 100 MB. Photos will be resized to {config.uploadImageMaxLength}KB.\r\n \r\n \r\n \r\n )\r\n }\r\n}\r\n","import React from 'react';\r\nimport { message, Space, Table, Pagination, Tag, Modal, Button, Select } from 'antd';\r\nimport { Link } from 'react-router-dom';\r\nimport { httpClient } from \"util/Api\";\r\nimport { compareUIElementValue } from 'util/Compare';\r\nimport { config } from \"util/config\";\r\nimport { operationalFunction } from 'components/UIBuilder/SectionFunction/Common';\r\nimport * as globalFunction from 'util/GlobalFunction';\r\nimport CustomButton from 'components/UIBuilder/CustomComponent/CustomButton';\r\nimport { DragHandle, SortableItem, SortableBody, updateBeforeSortStart } from \"components/UIBuilder/Global/SortableHelper\";\r\nimport { setTableColumns } from \"components/UIBuilder/Global/TableHelper\";\r\nimport { getSectionFolderDataList } from \"components/UIBuilder/Global/DataHelper\";\r\nimport UploadDocument from './UploadDocument';\r\nimport CustomEmpty from \"components/CustomEmpty\";\r\n\r\nexport default class DocumentNoFolderTable extends React.Component {\r\n constructor(props) {\r\n super();\r\n this.state = {\r\n columns: [],\r\n data: [],\r\n sort: false,\r\n pagination: {\r\n current: 1,\r\n ...config.component.Pagination\r\n },\r\n loaded: false, // 加载是否完成\r\n selectedRowKeys: [],\r\n componentDataSource: [],\r\n uploadDocumentShow: false,\r\n changeTypeShow: false,\r\n changeFolderShow: false,\r\n shareControlShow: false,\r\n recycleBinShow: false,\r\n stampingShow: false,\r\n manageFolderShow: false,\r\n combinePdfShow: false,\r\n }\r\n\r\n this.uploadDocument = React.createRef();\r\n\r\n //表格选择行的配置\r\n this.rowSelection = props.viewConfig.groupList[0].rowSelectionType !== null ? {\r\n type: props.viewConfig.groupList[0].rowSelectionType,\r\n onChange: (selectedRowKeys, selectedRows) => {\r\n this.setState({selectedRowKeys});\r\n console.log(`selectedRowKeys: ${selectedRowKeys}`, 'selectedRows: ', selectedRows);\r\n },\r\n ...this.state.rowSelection\r\n } : null;\r\n }\r\n\r\n // //只有数据源变化时才刷新table\r\n // shouldComponentUpdate(nextProps, nextState) {\r\n // return nextState.data !== this.state.data;\r\n // }\r\n\r\n //获取table的表头和数据\r\n componentDidMount() {\r\n if (this.props.section.autoLoad) {\r\n this.getSectionDataByDefault();\r\n }\r\n this.setState({ columns: setTableColumns({ props: this.props, sort: this.state.sort, sectionComponent: this.props.parentComponent, pageComponent: this.props.pageComponent }) })\r\n }\r\n\r\n //默认获取数据的方法\r\n getSectionDataByDefault() {\r\n getSectionFolderDataList({ component: this, current: this.state.pagination.current, pageSize: this.state.pagination.pageSize });\r\n }\r\n\r\n render() {\r\n return (\r\n <>\r\n {\r\n this.state.loaded ?\r\n this.state.data.length > 0 ? //判断有没有数据\r\n {\r\n return {\r\n onClick: event => { }, // 点击行\r\n onDoubleClick: event => { }, // 双击行\r\n onContextMenu: event => { }, //右击行\r\n onMouseEnter: event => { }, // 鼠标移入行\r\n onMouseLeave: event => { }, // 鼠标移出行\r\n };\r\n }}\r\n />\r\n :\r\n : \r\n }\r\n \r\n \r\n )\r\n }\r\n}\r\n","import React from 'react';\r\nimport { message, Space, Table, Pagination, Tag, Divider, Button, Tooltip } from 'antd';\r\nimport { Link } from 'react-router-dom';\r\nimport { httpClient } from \"util/Api\";\r\nimport { compareUIElementValue } from 'util/Compare';\r\nimport { config } from \"util/config\";\r\nimport { operationalFunction } from 'components/UIBuilder/SectionFunction/Common';\r\nimport * as globalFunction from 'util/GlobalFunction';\r\nimport { SortableContainer, SortableElement } from 'react-sortable-hoc';\r\nimport { DragHandle, SortableItem, SortableBody, updateBeforeSortStart } from \"components/UIBuilder/Global/SortableHelper\";\r\nimport { FolderOpenOutlined, FolderOutlined, GroupOutlined, CaretRightOutlined, CaretDownOutlined } from '@ant-design/icons';\r\nimport { setTableColumns } from \"components/UIBuilder/Global/TableHelper\";\r\nimport { getSectionDataList } from \"components/UIBuilder/Global/DataHelper\";\r\nimport CustomBadge from 'components/CustomBadge';\r\nimport { arrayMoveImmutable } from 'array-move';\r\nimport CustomEmpty from \"components/CustomEmpty\";\r\n\r\nexport default class ReportTable extends React.Component {\r\n constructor(props) {\r\n super();\r\n this.state = {\r\n columns: [],\r\n data: [],\r\n sort: false,\r\n pagination: {\r\n current: 1,\r\n ...config.component.Pagination\r\n },\r\n loaded: false, // 加载是否完成\r\n selectedRowKeys: [],\r\n }\r\n\r\n this.handlePaginationChange = this.handlePaginationChange.bind(this);\r\n\r\n //表格选择行的配置\r\n this.rowSelection = props.viewConfig.groupList[0].rowSelectionType !== null ? {\r\n type: props.viewConfig.groupList[0].rowSelectionType,\r\n onChange: (selectedRowKeys, selectedRows) => {\r\n console.log(`selectedRowKeys: ${selectedRowKeys}`, 'selectedRows: ', selectedRows);\r\n },\r\n ...this.state.rowSelection\r\n } : null;\r\n }\r\n\r\n // //只有数据源变化时才刷新table\r\n // shouldComponentUpdate(nextProps, nextState) {\r\n // return nextState.data !== this.state.data;\r\n // }\r\n\r\n //获取table的表头和数据\r\n componentDidMount() {\r\n if (this.props.section.autoLoad) {\r\n this.getSectionDataByDefault();\r\n }\r\n this.setState({ columns: setTableColumns({ props: this.props, sort: this.state.sort, sectionComponent: this.props.parentComponent, pageComponent: this.props.pageComponent }) })\r\n }\r\n\r\n //点击分页后获取页面数据\r\n handlePaginationChange(current, pageSize) {\r\n getSectionDataList({ component: this, current: current, pageSize: pageSize });\r\n };\r\n\r\n //默认获取数据的方法\r\n getSectionDataByDefault() {\r\n getSectionDataList({ component: this, current: this.state.pagination.current, pageSize: this.state.pagination.pageSize });\r\n }\r\n\r\n //停止排序时设置数据\r\n onSortEnd = ({ oldIndex, newIndex }) => {\r\n if (oldIndex !== newIndex) {\r\n const newData = arrayMoveImmutable(this.state.data.slice(), oldIndex, newIndex).filter(\r\n (el) => !!el,\r\n );\r\n this.setState({ data: newData })\r\n\r\n var keyArray = newData.map((item, index) => {\r\n return item.key;\r\n });\r\n operationalFunction({ functionName: 'sortBySection', sectionName: this.props.section.name, parameter: keyArray, sectionComponent: this.props.parentComponent, pageComponent: this.props.pageComponent });\r\n }\r\n };\r\n\r\n DraggableContainer = (props) => (\r\n \r\n );\r\n\r\n DraggableBodyRow = ({ className, style, ...restProps }) => {\r\n const index = this.state.data.findIndex((x) => x.key === restProps['data-row-key']);\r\n return ;\r\n };\r\n\r\n\r\n render() {\r\n return (\r\n <>\r\n {\r\n this.state.loaded ?\r\n this.state.data.length > 0 ? //判断有没有数据\r\n this.state.data.map((group, i) =>\r\n
\r\n :\r\n }\r\n text={<>{group.Name}({group.DataList.length})}\r\n backgroundColor={config.component.ColorPicker.defaultColor}\r\n verticalAlign=\"top\"\r\n />}\r\n type=\"link\"\r\n style={{ width: 'auto', marginTop: i === 0 ? '3px' : null }}\r\n onClick={() => {\r\n let data = this.state.data.map((dataGroup, j) => {\r\n if (dataGroup.Name === group.Name) {\r\n if (dataGroup.Collapsed !== true) {\r\n dataGroup.Collapsed = true;\r\n } else {\r\n dataGroup.Collapsed = false;\r\n }\r\n }\r\n return dataGroup;\r\n });\r\n this.setState({ data });\r\n }}\r\n />\r\n \r\n {\r\n group.DataList.length > 0 ?\r\n : No records\r\n }\r\n
)\r\n :\r\n : \r\n }\r\n \r\n )\r\n }\r\n}\r\n","import React, { Fragment, message } from 'react';\r\nimport { Space, Card, Table, Pagination, Modal, Tag, Tooltip, Button, Popconfirm, Divider } from 'antd';\r\nimport { Link } from 'react-router-dom';\r\nimport { OrderedListOutlined } from '@ant-design/icons';\r\nimport { config } from \"util/config\";\r\nimport { httpClient } from \"util/Api\";\r\nimport { compareUIElementValue } from 'util/Compare';\r\nimport * as globalFunction from 'util/GlobalFunction';\r\nimport { operationalFunction, getUieDataSource } from 'components/UIBuilder/SectionFunction/Common';\r\nimport DefaultDiv from 'components/UIBuilder/SectionComponent/DefaultDiv';\r\nimport JobDetailDiv from 'components/UIBuilder/SectionComponent/JobDetailDiv';\r\nimport JobStatusStepperDiv from 'components/UIBuilder/SectionComponent/JobStatusStepperDiv';\r\n\r\nimport DefaultTable from 'components/UIBuilder/SectionComponent/DefaultTable';\r\nimport DefaultGroupTable from 'components/UIBuilder/SectionComponent/DefaultGroupTable';\r\nimport SubJobTable from 'components/UIBuilder/SectionComponent/SubJobTable';\r\nimport DocumentTable from 'components/UIBuilder/SectionComponent/DocumentTable';\r\nimport DocumentNoFolderTable from 'components/UIBuilder/SectionComponent/DocumentNoFolderTable';\r\nimport JobPagingTable from 'components/UIBuilder/SectionComponent/JobPagingTable';\r\nimport JobChecklistTable from 'components/UIBuilder/SectionComponent/JobChecklistTable';\r\nimport ReportTable from 'components/UIBuilder/SectionComponent/ReportTable';\r\n\r\nimport DetailForm from 'components/UIBuilder/CustomComponent/DetailForm';\r\nimport CustomForm from 'components/UIBuilder/CustomComponent/CustomForm';\r\nimport CustomButton from 'components/UIBuilder/CustomComponent/CustomButton';\r\nimport AntDraggableModal from 'components/AntDraggableModal';\r\nimport * as createComponent from 'components/UIBuilder/CustomComponent/CreateComponent';\r\n\r\n//做数据渲染组件的分选, 生成每个Section的UI, 包含其table和可能存在的自定义按钮\r\nexport default class DefaultSection extends React.Component {\r\n constructor(props) {\r\n super();\r\n this.state = {\r\n columns: [],\r\n data: [],\r\n pagination: {\r\n current: 1,\r\n ...config.component.Pagination\r\n },\r\n customFormSubmitting: false, // 提交表单是否在等待期间\r\n showModal: false, //是否显示表单\r\n popconfirmSubmitting: false, //确认气泡是否在等待期间\r\n componentType: null, //Create, Edit\r\n topFilterCounter: 0,\r\n topButtonCounter: 0,\r\n selectedRowKeys: [],\r\n componentDataSource: [],\r\n componentDefaultValue: [],\r\n searchParameter: null,\r\n section: null,\r\n state: false,\r\n showBottomButton: false,\r\n tableFooter: null,\r\n dataLoading: false,\r\n renderForm: false,\r\n }\r\n\r\n //定义一个表单引用, 方便后续处理\r\n this.customForm = React.createRef();\r\n this.child = React.createRef();\r\n };\r\n\r\n //页面启动\r\n componentDidMount() {\r\n this.setState({ section: this.props.section });\r\n setTimeout(() => {\r\n this.getComponentDataSource();\r\n }, config.setTimeoutMilliSecond);\r\n }\r\n\r\n getSectionDataByDefault() {\r\n this.child.current?.getSectionDataByDefault();\r\n }\r\n\r\n //找到过滤器数据源的组件, 获取其数据源\r\n getComponentDataSource() {\r\n let parameter = [];\r\n if (this.props.companyId !== undefined && this.props.companyId !== null) {\r\n parameter.push({ key: 'companyId', value: this.props.companyId })\r\n }\r\n if (this.props.moduleId !== undefined && this.props.moduleId !== null) {\r\n parameter.push({ key: 'moduleId', value: this.props.moduleId })\r\n }\r\n if (this.props.module !== undefined && this.props.module !== null) {\r\n parameter.push({ key: 'module', value: this.props.module })\r\n }\r\n this.state.section.componentList.filter(c => c.type === 'View')[0].topFilterList.map((topFilter, i) => {\r\n topFilter.uieList.map(async (uie, j) => {\r\n getUieDataSource({ parameter: parameter, sectionName: this.props.sectionName, component: this, sectionComponent: this, pageComponent: this.props.pageComponent, uie: uie });\r\n })\r\n })\r\n }\r\n\r\n createDataViewer() {\r\n switch (this.props.section.type) {\r\n case 'DefaultDiv':\r\n return c.type === 'View')[0]}\r\n parentComponent={this}\r\n sectionComponent={this}\r\n ref={this.child}\r\n />\r\n case 'JobDetailDiv':\r\n return c.type === 'View')[0]}\r\n parentComponent={this}\r\n sectionComponent={this}\r\n ref={this.child}\r\n />\r\n case 'JobStatusStepperDiv':\r\n return c.type === 'View')[0]}\r\n parentComponent={this}\r\n sectionComponent={this}\r\n ref={this.child}\r\n />\r\n case 'DefaultGroupTable':\r\n return c.type === 'View')[0]}\r\n parentComponent={this}\r\n sectionComponent={this}\r\n ref={this.child}\r\n />\r\n case 'SubJobTable':\r\n return c.type === 'View')[0]}\r\n parentComponent={this}\r\n sectionComponent={this}\r\n ref={this.child}\r\n />\r\n case 'DocumentTable':\r\n return c.type === 'View')[0]}\r\n parentComponent={this}\r\n sectionComponent={this}\r\n ref={this.child}\r\n />\r\n case 'DocumentNoFolderTable':\r\n return c.type === 'View')[0]}\r\n parentComponent={this}\r\n sectionComponent={this}\r\n ref={this.child}\r\n />\r\n case 'JobPagingTable':\r\n return c.type === 'View')[0]}\r\n parentComponent={this}\r\n sectionComponent={this}\r\n ref={this.child}\r\n />\r\n case 'JobChecklistTable':\r\n return c.type === 'View')[0]}\r\n parentComponent={this}\r\n sectionComponent={this}\r\n ref={this.child}\r\n />\r\n case 'ReportTable':\r\n return c.type === 'View')[0]}\r\n parentComponent={this}\r\n sectionComponent={this}\r\n ref={this.child}\r\n />\r\n case 'DetailForm':\r\n return c.type === 'View')[0]}\r\n parentComponent={this}\r\n sectionComponent={this}\r\n component={this.props.section.componentList.filter(c => c.type === 'View')[0]}\r\n ref={this.child}\r\n />\r\n\r\n default:\r\n return c.type === 'View')[0]}\r\n parentComponent={this}\r\n sectionComponent={this}\r\n ref={this.child}\r\n />\r\n }\r\n }\r\n\r\n createTopFilter(uie) {\r\n this.state.topFilterCounter++;\r\n return {createComponent.createUIElement({ uie: uie, uieCounter: this.state.topFilterCounter, component: this, sectionComponent: this, pageComponent: this.props.pageComponent, value: this.state.componentDefaultValue[uie.source] })}\r\n }\r\n\r\n createTopButton(button) {\r\n this.state.topButtonCounter++;\r\n return \r\n }\r\n\r\n render() {\r\n return (\r\n this.state.section !== null ?\r\n c.type === 'View')[0].title}\r\n headStyle={{ display: 'flex' }}\r\n extra={\r\n <>\r\n
\r\n {this.state.section.componentList.filter(c => c.type === 'View')[0].topFilterList.map((topFilter, i) =>\r\n topFilter.uieList.map((uie, j) => this.createTopFilter(uie)))}\r\n
\r\n
\r\n {(this.props.pageComponent.state.jobData == undefined || globalFunction.isNullOrEmpty(this.props.pageComponent.state.jobData.LockReason) || !this.state.section.enableLock) && this.state.section.componentList.filter(c => c.type === 'View')[0].topButtonList.map((topButton, i) =>\r\n topButton.buttonList.map((button, j) => this.createTopButton(button)))}\r\n
\r\n
\r\n {this.state.section.componentList.filter(c => c.type === 'View')[0].groupList[0].sort ?\r\n <>\r\n \r\n \r\n : }\r\n type=\"link\"\r\n onClick={() => {\r\n let sort = this.child.current?.state.sort;\r\n this.child.current?.setState({ sort: !sort });\r\n this.setState({ sort: !sort });\r\n setTimeout(() => {\r\n this.child.current?.setSolumns();\r\n }, config.setTimeoutMilliSecond);\r\n }}\r\n />\r\n \r\n : <>\r\n }\r\n
\r\n \r\n }\r\n >\r\n \r\n
{this.createDataViewer()}
\r\n
\r\n {(this.props.pageComponent.state.jobData == undefined || globalFunction.isNullOrEmpty(this.props.pageComponent.state.jobData.LockReason) || !this.state.section.enableLock) && this.state.section.componentList.filter(c => c.type === 'View')[0].bottomButtonList.length > 0 && this.state.showBottomButton > 0 ?\r\n
\r\n {this.state.section.componentList.filter(c => c.type === 'View')[0].bottomButtonList.map((bottomButton, i) =>\r\n bottomButton.buttonList.map((button, j) => ))}\r\n
: <>\r\n }\r\n {this.state.tableFooter !== null ?
{this.state.tableFooter}
: <>}\r\n {this.props.section.componentList.filter(c => c.type === this.state.componentType)[0]?.title}{this.state.dataLoading ? : <>}}\r\n open={this.state.showModal}\r\n onCancel={() => operationalFunction({ functionName: 'cancelCustomForm', sectionName: this.props.section.name, parameter: this.state.componentType, sectionComponent: this, pageComponent: this.props.pageComponent })}\r\n width={this.props.section.componentList.filter(c => c.type === this.state.componentType)[0]?.width}\r\n okText=\"Submit\"\r\n maskClosable={false}\r\n footer={[\r\n ,\r\n \r\n ]}\r\n >\r\n c.type === this.state.componentType)[0]}\r\n />\r\n \r\n : <>\r\n );\r\n }\r\n}\r\n","\r\nimport { config } from 'util/config';\r\nimport { httpClient, psmaClient } from \"util/Api\";\r\nimport * as globalFunction from 'util/GlobalFunction';\r\nimport { message } from 'antd';\r\nimport CustomBadge from 'components/CustomBadge';\r\n\r\n//显示label选择的弹出框\r\nexport function showLabelDiv({ sectionName, parameter, sectionComponent, pageComponent, uie } = {}) {\r\n sectionComponent.child.current?.setState({ manageLabelShow: true });\r\n sectionComponent.child.current?.labelDiv.current?.getLabelList(parameter.key);\r\n}\r\n\r\n//各种过滤器刷新Job列表\r\nexport function getSectionDataByDefault({ sectionName, parameter, sectionComponent, pageComponent, uie } = {}) {\r\n let componentDefaultValue = { ...sectionComponent.state.componentDefaultValue };\r\n let searchParameter = { ...sectionComponent.state.searchParameter };\r\n if (uie !== undefined) {\r\n componentDefaultValue[uie.source] = parameter;\r\n searchParameter[uie.source] = parameter;\r\n sectionComponent.setState({ searchParameter, componentDefaultValue });\r\n }\r\n\r\n let filterLoaded = true;\r\n sectionComponent.state.section.componentList.filter(c => c.type === 'View')[0].topFilterList[0].uieList.map((uie, i) => {\r\n if (componentDefaultValue[uie.source] === undefined) {\r\n filterLoaded = false;\r\n }\r\n })\r\n\r\n if (filterLoaded && !sectionComponent.state.firstRefresh) {\r\n setTimeout(() => {\r\n sectionComponent.getSectionDataByDefault();\r\n }, config.setTimeoutMilliSecond);\r\n }\r\n sectionComponent.setState({ firstRefresh: false });\r\n}\r\n\r\n//显示label过滤器的弹出框\r\nexport function showFilterByLabelDiv({ sectionName, parameter, sectionComponent, pageComponent, uie } = {}) {\r\n let that = this;\r\n httpClient\r\n .get('/Admin/Label/GetGroupList?module=' + pageComponent.state.searchParameter.module)\r\n .then(({ data }) => {\r\n if (data.result) {\r\n let labelGroup = [];\r\n data.data.map((item, i) => {\r\n let labels = [];\r\n item.DataList.map((label, i) => {\r\n labels.push({\r\n label: ,\r\n value: label.LabelId\r\n })\r\n })\r\n labelGroup.push({ Name: item.Name, DataList: labels });\r\n })\r\n pageComponent.setState({ labelGroup: labelGroup, filterByLabeShow: true });\r\n } else {\r\n globalFunction.handleResultError(data, pageComponent);\r\n }\r\n })\r\n .catch(function (error) {\r\n globalFunction.handleError(error, that.props.pageComponent);\r\n });\r\n}\r\n\r\n//Job列表下载Excel\r\nexport function exportToExcel({ sectionName, parameter, sectionComponent, pageComponent, uie } = {}) {\r\n let searchParameter = { ...sectionComponent.state.searchParameter };\r\n searchParameter.module = pageComponent.state.searchParameter.module;\r\n console.log(searchParameter);\r\n}\r\n\r\n//Job列表刷新\r\nexport function refreshJobPaging({ sectionName, parameter, sectionComponent, pageComponent, uie } = {}) {\r\n let searchParameter = { ...sectionComponent.state.searchParameter };\r\n searchParameter.module = pageComponent.state.searchParameter.module;\r\n sectionComponent.setState({ searchParameter });\r\n sectionComponent.getSectionDataByDefault();\r\n\r\n setTimeout(() => {\r\n let uie = sectionComponent.state.section.componentList[0].topButtonList[0].buttonList.filter(c => c.actionType === 'Refresh')[0];\r\n uie.flip = true;\r\n sectionComponent.setState(sectionComponent.state.section);\r\n }, 100);\r\n\r\n setTimeout(() => {\r\n let uie = sectionComponent.state.section.componentList[0].topButtonList[0].buttonList.filter(c => c.actionType === 'Refresh')[0];\r\n uie.flip = false;\r\n sectionComponent.setState(sectionComponent.state.section);\r\n }, 1100);\r\n}\r\n\r\n//new job时选择地址\r\nexport function searchAddressChange({ sectionName, parameter, sectionComponent, pageComponent, uie } = {}) {\r\n pageComponent.setAutoCompleteData(parameter);\r\n}\r\n\r\nexport function getAddressData({ sectionName, parameter, sectionComponent, pageComponent, uie } = {}) {\r\n pageComponent.getAddressData(parameter);\r\n}\r\n\r\nexport function getLgaDataSource({ parameter, sectionComponent, pageComponent, lgaKeyName } = {}) {\r\n if (globalFunction.isNullOrEmpty(parameter)) {\r\n parameter = pageComponent.state.jobData.PptState;\r\n }\r\n httpClient\r\n .get('Admin/Lga/GetSelectOptionList?state=' + parameter)\r\n .then(({ data }) => {\r\n if (data.result) {\r\n if (data.data.length > 0) {\r\n let componentDataSource = sectionComponent.state.componentDataSource;\r\n componentDataSource.LgaId = data.data;\r\n sectionComponent.setState({ componentDataSource });\r\n if (data.data.map(item => { return item.Value }).indexOf(pageComponent.formRef.current?.getFieldValue('LgaId')) < 0) {\r\n pageComponent.formRef.current?.setFieldsValue({ LgaId: 0 });\r\n } else if (lgaKeyName !== null && lgaKeyName !== undefined) {\r\n let lag = data.data.find(item => item.Data === lgaKeyName);\r\n if (lag) {\r\n pageComponent.formRef.current?.setFieldsValue({ LgaId: lag.Value });\r\n } else {\r\n pageComponent.formRef.current?.setFieldsValue({ LgaId: 0 });\r\n }\r\n }\r\n }\r\n } else {\r\n globalFunction.handleResultError(data, pageComponent);\r\n }\r\n })\r\n .catch(function (error) {\r\n globalFunction.handleError(error, pageComponent);\r\n });\r\n}\r\n\r\nexport function clientJobTemplateChange({ sectionName, parameter, sectionComponent, pageComponent, uie } = {}) {\r\n pageComponent.setState({ clientJobTemplateID: parameter });\r\n}\r\n\r\nexport function loadClientJobTemplate({ sectionName, parameter, sectionComponent, pageComponent, uie } = {}) {\r\n if (pageComponent.state.clientJobTemplateID !== undefined && pageComponent.state.clientJobTemplateID !== null && pageComponent.state.clientJobTemplateID !== 0) {\r\n let form = {};\r\n form.ClientJobTemplateID = pageComponent.state.clientJobTemplateID;\r\n form.jobId = pageComponent.props.jobId;\r\n httpClient\r\n .post('Business/Job/LoadClientJobTemplate', form)\r\n .then(({ data }) => {\r\n if (data.result) {\r\n pageComponent.formRef.current?.setFieldValue('WorkDescription', data.data.WorkDescription);\r\n pageComponent.formRef.current?.setFieldValue('AllotmentArea', data.data.AllotmentArea);\r\n pageComponent.formRef.current?.setFieldValue('TotalFloorAreaNewBuildingWork', data.data.TotalFloorAreaNewBuildingWork);\r\n pageComponent.formRef.current?.setFieldValue('ExternalWallMaterialId', data.data.ExternalWallMaterialId);\r\n pageComponent.formRef.current?.setFieldValue('ExternalWallMaterialIds', data.data.ExternalWallMaterialIds);\r\n pageComponent.formRef.current?.setFieldValue('FloorMaterialId', data.data.FloorMaterialId);\r\n pageComponent.formRef.current?.setFieldValue('FloorMaterialIds', data.data.FloorMaterialIds);\r\n pageComponent.formRef.current?.setFieldValue('FrameMaterialId', data.data.FrameMaterialId);\r\n pageComponent.formRef.current?.setFieldValue('FrameMaterialIds', data.data.FrameMaterialIds);\r\n pageComponent.formRef.current?.setFieldValue('RoofCladdingMaterialId', data.data.RoofCladdingMaterialId);\r\n pageComponent.formRef.current?.setFieldValue('RoofCladdingMaterialIds', data.data.RoofCladdingMaterialIds);\r\n globalFunction.getSectionComponent(pageComponent, 'JobContact')?.getSectionDataByDefault();\r\n globalFunction.getSectionComponent(pageComponent, 'Owner')?.getSectionDataByDefault();\r\n globalFunction.getSectionComponent(pageComponent, 'JobNccClass')?.getSectionDataByDefault();\r\n globalFunction.getSectionComponent(pageComponent, 'JobChecklist')?.getSectionDataByDefault();\r\n } else {\r\n globalFunction.handleResultError(data, pageComponent);\r\n }\r\n })\r\n .catch(function (error) {\r\n globalFunction.handleError(error, pageComponent);\r\n });\r\n }\r\n}\r\n\r\n//Suburb 选择后快速填写数据\r\nexport function searchSuburbSelect({ sectionName, parameter, formComponent, sectionComponent, pageComponent, uie }) {\r\n let data = parameter;\r\n pageComponent.formRef.current?.setFieldsValue({ PptSuburb: data.data.Name, PptPostcode: data.data.Postcode });\r\n if (data.data.LgaId !== null) {\r\n pageComponent.formRef.current?.setFieldsValue({ LgaId: data.data.LgaId });\r\n }\r\n}\r\n\r\n//显示WorkflowStatus过滤器的弹出框\r\nexport function showFilterByWorkflowStatusDiv({ sectionName, parameter, sectionComponent, pageComponent, uie } = {}) {\r\n pageComponent.setState({ filterByWorkflowStatusShow: true });\r\n}\r\n","\r\nimport React from 'react';\r\nimport { config } from \"util/config\";\r\n\r\nconst CustomBadge = ({\r\n text,\r\n icon = null,\r\n color = '#ffffff',\r\n backgroundColor = '#2196F3',\r\n fontSize = '0.8rem',\r\n padding = '0.25em 0.4em',\r\n borderRadius = '0.25rem',\r\n display = 'inline',\r\n verticalAlign = 'baseline',\r\n lineHeight = '18px',\r\n fontWeight = null\r\n}) =>\r\n \r\n {icon != null ? icon : <>}\r\n {text}\r\n ;\r\nexport default CustomBadge;\r\n","import { message } from 'antd';\r\nimport { config } from \"util/config\";\r\nimport { httpClient } from \"util/Api\";\r\nimport * as globalFunction from 'util/GlobalFunction';\r\nimport { getUieDataSource } from 'components/UIBuilder/SectionFunction/Common';\r\n\r\nlet setAutoComplete = false;\r\n//Search Address从google map找自动完成地址的数据源\r\nexport function searchAddressChange({ sectionName, parameter, formComponent, sectionComponent, pageComponent, uie }) {\r\n if (parameter.length >= config.component.AutoComplete.minimumQueryCharacters && setAutoComplete === false) {\r\n setAutoComplete = true;\r\n\r\n let options = {\r\n componentRestrictions: {\r\n country: ['au']\r\n }\r\n };\r\n\r\n var input = document.getElementById('ClientSearchAddress');\r\n var autocomplete = new window.google.maps.places.Autocomplete(input, options);\r\n\r\n autocomplete.addListener('place_changed', function () {\r\n var place = autocomplete.getPlace();\r\n if (place.place_id.length > 150) {\r\n message.warning('The address you selected does not exist. Please select another one.');\r\n } else {\r\n for (var i = 0; i < place.address_components.length; i++) {\r\n if (place.address_components[i].types[0] == \"street_number\") {\r\n formComponent.formRef.current?.setFieldValue('StreetNumber', place.address_components[i].long_name);\r\n }\r\n if (place.address_components[i].types[0] == \"route\") {\r\n formComponent.formRef.current?.setFieldValue('StreetName', place.address_components[i].long_name);\r\n }\r\n if (place.address_components[i].types[0] == \"locality\") {\r\n formComponent.formRef.current?.setFieldValue('Suburb', place.address_components[i].long_name);\r\n }\r\n if (place.address_components[i].types[0] == \"administrative_area_level_1\") {\r\n formComponent.formRef.current?.setFieldValue('State', place.address_components[i].short_name);\r\n }\r\n if (place.address_components[i].types[0] == \"postal_code\") {\r\n formComponent.formRef.current?.setFieldValue('Postcode', place.address_components[i].long_name);\r\n }\r\n }\r\n formComponent.formRef.current?.setFieldValue('ClientSearchAddress', place.formatted_address);\r\n }\r\n })\r\n }\r\n}\r\n\r\nexport function addClientPopUpRun({ parameter, sectionComponent, pageComponent, sectionName, uie } = {}) {\r\n setAutoComplete = false;\r\n}\r\n\r\nexport function editClientPopUpRun({ parameter, sectionComponent, pageComponent, sectionName, uie } = {}) {\r\n setAutoComplete = false;\r\n}\r\n\r\n//选Same As Client Address时给Postal Address赋值\r\nexport function setSameAsClientAddress({ sectionName, parameter, formComponent, sectionComponent, pageComponent, uie }) {\r\n if (parameter) {\r\n formComponent.formRef.current?.setFieldValue('PostalStreetNumber', formComponent.formRef.current?.getFieldValue('StreetNumber'));\r\n formComponent.formRef.current?.setFieldValue('PostalStreetName', formComponent.formRef.current?.getFieldValue('StreetName'));\r\n formComponent.formRef.current?.setFieldValue('PostalSuburb', formComponent.formRef.current?.getFieldValue('Suburb'));\r\n formComponent.formRef.current?.setFieldValue('PostalState', formComponent.formRef.current?.getFieldValue('State'));\r\n formComponent.formRef.current?.setFieldValue('PostalPostcode', formComponent.formRef.current?.getFieldValue('Postcode'));\r\n } else {\r\n formComponent.formRef.current?.setFieldValue('PostalStreetNumber', '');\r\n formComponent.formRef.current?.setFieldValue('PostalStreetName', '');\r\n formComponent.formRef.current?.setFieldValue('PostalSuburb', '');\r\n formComponent.formRef.current?.setFieldValue('PostalState', '');\r\n formComponent.formRef.current?.setFieldValue('PostalPostcode', '');\r\n }\r\n}\r\n\r\n//跳转管理ClientUser的页面\r\nexport function manageClientUser({ sectionName, parameter, formComponent, sectionComponent, pageComponent, uie }) {\r\n pageComponent.props.history.push('/admin/client-user?clientId=' + parameter.ClientId);\r\n}\r\n","import { message } from 'antd';\r\nimport { config } from 'util/config';\r\nimport { httpClient, uploadClient } from \"util/Api\";\r\nimport * as globalFunction from 'util/GlobalFunction';\r\n\r\n//点击修改密码按钮\r\nexport function changePassword({ sectionName, parameter, sectionComponent, pageComponent, uie } = {}) {\r\n pageComponent.setState({ showModalChangePassword: true, clientUserId: parameter.ClientUserId });\r\n}\r\n\r\n//修改密码提交表单\r\nexport function submitChangePassword({ sectionName, parameter, sectionComponent, pageComponent, uie } = {}) {\r\n pageComponent.setState({ changePasswordFormSubmitting: true });\r\n var form = pageComponent.formRef.current?.getFieldsValue();\r\n form.ClientId = pageComponent.state.searchParameter.clientId;\r\n console.log(form);\r\n httpClient\r\n .post('Admin/ClientUser/ChangePassword/' + pageComponent.state.clientUserId, form)\r\n .then(({ data }) => {\r\n if (data.result) {\r\n pageComponent.setState({ showModalChangePassword: false, changePasswordFormSubmitting: false });\r\n message.success('Reset password successful');\r\n } else {\r\n globalFunction.handleResultError(data, pageComponent);\r\n pageComponent.setState({ changePasswordFormSubmitting: false });\r\n }\r\n })\r\n .catch(function (error) {\r\n globalFunction.handleError(error, pageComponent);\r\n pageComponent.setState({ changePasswordFormSubmitting: false });\r\n });\r\n}\r\n\r\nexport function addBySection({ parameter, sectionComponent, pageComponent, sectionName, uie } = {}) {\r\n sectionComponent.setState({ showModal: true, componentType: 'Create', isFormModified: false });\r\n\r\n setTimeout(() => {\r\n sectionComponent.customForm.current?.formRef.current?.resetFields();\r\n let componentDataSource = sectionComponent.customForm.current?.state.componentDataSource;\r\n sectionComponent.props.section.componentList.filter(c => c.type === 'Create')[0].groupList.forEach(group => {\r\n group.uieList.forEach(uie => {\r\n switch (uie.component) {\r\n case 'Select':\r\n let option = {};\r\n if (uie.component === 'Select' && uie.type !== 'multiple') {\r\n if (componentDataSource[uie.source] !== undefined) {\r\n if (uie.type === 'group') {\r\n componentDataSource[uie.source].some(group => {\r\n if (group.SelectOptionList === null) {\r\n option = group;\r\n return true;\r\n }\r\n return group.SelectOptionList.some(selectOption => {\r\n option = selectOption;\r\n return true;\r\n });\r\n });\r\n } else {\r\n option = componentDataSource[uie.source][0];\r\n }\r\n }\r\n if (componentDataSource[uie.source] !== undefined) {\r\n sectionComponent.customForm.current?.formRef.current?.setFieldValue(uie.source, option.Value);\r\n }\r\n }\r\n break;\r\n }\r\n });\r\n });\r\n\r\n // setTimeout(() => {\r\n // sectionComponent.customForm.current?.additionalFormRef.current?.child.current?.setState({ signaturePreview: null, fileList: [] });\r\n // }, config.setTimeoutMilliSecond * 5);\r\n }, config.setTimeoutMilliSecond);\r\n}\r\n\r\n//点击编辑时\r\nexport function editBySection({ parameter, sectionComponent, pageComponent, sectionName, uie } = {}) {\r\n sectionComponent.setState({ dataLoading: true });\r\n sectionComponent.setState({ showModal: true, componentType: 'Edit' });\r\n\r\n setTimeout(() => {\r\n sectionComponent.customForm.current?.setState({ autoLoadComponentDataSource: false });\r\n sectionComponent.customForm.current?.getComponentDataSource();\r\n httpClient\r\n .get(pageComponent.props.areaName + '/' + sectionName + '/' + parameter.key)\r\n .then(({ data }) => {\r\n if (data.result) {\r\n sectionComponent.customForm.current?.setState({ currentDataKey: data.data.key });\r\n //处理不适合antd组件的数据\r\n let componentDataSource = sectionComponent.customForm.current?.state.componentDataSource;\r\n sectionComponent.props.section.componentList.filter(c => c.type === 'Edit')[0].groupList.forEach(group => {\r\n group.uieList.forEach(uie => {\r\n switch (uie.component) {\r\n case 'Select':\r\n //处理Select默认选项, 如果字段的值是null且备选项列表已加载, 则自动选择备选项里第一个(如果已有数据, 则加载备选项里有的那一条)\r\n if ((data.data[uie.source] === null || data.data[uie.source] === undefined) && componentDataSource[uie.source] !== undefined) {\r\n if (uie.type === null || uie.type.indexOf('multiple') < 0) {\r\n data.data[uie.source] = componentDataSource[uie.source][0]?.Value;\r\n }\r\n if (uie.type !== null && uie.type.indexOf('multiple') >= 0) {\r\n data.data[uie.source] = [];\r\n }\r\n }\r\n break;\r\n case 'Input':\r\n //处理Input, 如果type是fileName, 处理成改文件名的状态\r\n if (uie.type === 'fileName') {\r\n uie.addonAfter = globalFunction.getExtension(data.data[uie.source]);\r\n data.data[uie.source] = globalFunction.getFileNameWithoutExtension(data.data[uie.source]);\r\n }\r\n break;\r\n }\r\n });\r\n });\r\n //把处理后的数据赋值给表单\r\n sectionComponent.customForm.current?.formRef.current?.setFieldsValue(data.data);\r\n sectionComponent.customForm.current?.setState({ formData: data.data });\r\n sectionComponent.setState({ dataLoading: false });\r\n sectionComponent.setState({ isFormModified: false });\r\n\r\n let fileList = [];\r\n if (data.data.Signature !== null) {\r\n // 把原始的signature放入文件数组,这样重新提交时也能保存回去\r\n let binaryString = window.atob(data.data.Signature);\r\n let binaryLen = binaryString.length;\r\n let bytes = new Uint8Array(binaryLen);\r\n for (let i = 0; i < binaryLen; i++) {\r\n let ascii = binaryString.charCodeAt(i);\r\n bytes[i] = ascii;\r\n }\r\n\r\n let blob = new Blob([bytes], { type: 'application/octet-stream' });\r\n let file = new File([blob], 'signature.png', { type: 'application/octet-stream', lastModified: Date.now() });\r\n fileList.push(file);\r\n }\r\n if (sectionComponent.customForm.current?.additionalFormRef.current !== null) {\r\n sectionComponent.customForm.current?.additionalFormRef.current?.child.current?.setState({ signaturePreview: data.data.Signature, fileList });\r\n }\r\n } else {\r\n globalFunction.handleResultError(data, pageComponent);\r\n }\r\n })\r\n .catch(function (error) {\r\n globalFunction.handleError(error, pageComponent);\r\n });\r\n }, config.setTimeoutMilliSecond);\r\n}\r\n\r\n//特殊处理一些提交的条件\r\nexport function customFormOnSubmit({ parameter, sectionComponent, pageComponent, sectionName, uie } = {}) {\r\n let formData = new FormData();\r\n formData.append('ClientId', sectionComponent.props.clientId);\r\n let values = sectionComponent.customForm.current?.formRef.current?.getFieldsValue();\r\n for (let key in values) {\r\n if (values[key] !== undefined && values[key] !== null) {\r\n if (key !== 'ClientRoleIdList' && key !== 'file') {\r\n formData.append(key, values[key]);\r\n }\r\n }\r\n }\r\n\r\n var i = 0;\r\n if (values.ClientRoleIdList !== undefined) {\r\n values.ClientRoleIdList.map(element => {\r\n formData.append('ClientRoleIdList[' + i + ']', element);\r\n i++;\r\n });\r\n }\r\n\r\n if (sectionComponent.customForm.current?.additionalFormRef.current !== null) {\r\n sectionComponent.customForm.current?.additionalFormRef.current?.child.current?.state.fileList.map((file) => {\r\n formData.append('files[]', file);\r\n })\r\n sectionComponent.customForm.current?.additionalFormRef.current?.child.current?.setState({ signaturePreview: null });\r\n }\r\n\r\n sectionComponent.setState({ submitting: true });\r\n\r\n switch (sectionComponent.state.componentType) {\r\n case 'Create':\r\n uploadClient\r\n .post('Admin/ClientUser', formData)\r\n .then(({ data }) => {\r\n if (data.result) {\r\n sectionComponent.setState({ showModal: false, submitting: false });\r\n sectionComponent.getSectionDataByDefault();\r\n } else {\r\n globalFunction.handleResultError(data, pageComponent);\r\n sectionComponent.setState({ submitting: false });\r\n }\r\n })\r\n .catch(function (error) {\r\n globalFunction.handleError(error, pageComponent);\r\n sectionComponent.setState({ submitting: false });\r\n });\r\n break;\r\n case 'Edit':\r\n formData.append('key', sectionComponent.customForm.current?.state.currentDataKey);\r\n uploadClient\r\n .put('Admin/ClientUser', formData)\r\n .then(({ data }) => {\r\n if (data.result) {\r\n sectionComponent.setState({ showModal: false, submitting: false });\r\n sectionComponent.getSectionDataByDefault();\r\n } else {\r\n globalFunction.handleResultError(data, pageComponent);\r\n sectionComponent.setState({ submitting: false });\r\n }\r\n })\r\n .catch(function (error) {\r\n globalFunction.handleError(error, pageComponent);\r\n sectionComponent.setState({ submitting: false });\r\n });\r\n break;\r\n }\r\n}\r\n","import { message } from 'antd';\r\nimport { config } from 'util/config';\r\nimport { httpClient } from \"util/Api\";\r\nimport * as globalFunction from 'util/GlobalFunction';\r\n\r\nexport function getSectionDataByDefault({ sectionName, parameter, sectionComponent, pageComponent, uie } = {}) {\r\n if (parameter !== undefined) {\r\n pageComponent.setState({ defaultFormData: { moduleId: parameter } });\r\n let componentDefaultValue = { ...sectionComponent.state.componentDefaultValue };\r\n componentDefaultValue[uie.source] = parameter;\r\n sectionComponent.setState({ searchParameter: { moduleId: parameter }, componentDefaultValue });\r\n setTimeout(() => {\r\n sectionComponent.getSectionDataByDefault();\r\n }, config.setTimeoutMilliSecond);\r\n } else {\r\n message.error('Client has no module linked.');\r\n }\r\n}\r\n\r\nexport function addBySection({ sectionName, parameter, sectionComponent, pageComponent, uie } = {}) {\r\n if (!pageComponent.state.submitting) {\r\n pageComponent.setState({ submitting: true });\r\n let form = {};\r\n form.moduleId = pageComponent.state.defaultFormData.moduleId;\r\n httpClient\r\n .post('/Admin/ClientJobTemplate', form)\r\n .then(({ data }) => {\r\n if (data.result) {\r\n pageComponent.setState({ submitting: false });\r\n pageComponent.props.history.push('/admin/job-template-detail/' + data.data.ClientJobTemplateId);\r\n } else {\r\n pageComponent.setState({ submitting: false });\r\n globalFunction.handleResultError(data, pageComponent);\r\n }\r\n }).catch(function (error) {\r\n pageComponent.setState({ submitting: false });\r\n globalFunction.handleError(error, pageComponent);\r\n });\r\n }\r\n}\r\n","import { message } from 'antd';\r\nimport { config } from \"util/config\";\r\nimport { httpClient } from \"util/Api\";\r\nimport * as globalFunction from 'util/GlobalFunction';\r\nimport { getUieDataSource } from 'components/UIBuilder/SectionFunction/Common';\r\n\r\nlet setAutoComplete = false;\r\n//Search Address从google map找自动完成地址的数据源\r\nexport function searchAddressChange({ sectionName, parameter, formComponent, sectionComponent, pageComponent, uie }) {\r\n if (parameter.length >= config.component.AutoComplete.minimumQueryCharacters && setAutoComplete === false) {\r\n setAutoComplete = true;\r\n\r\n let options = {\r\n componentRestrictions: {\r\n country: ['au']\r\n }\r\n };\r\n\r\n var input = document.getElementById('JobContactSearchAddress');\r\n var autocomplete = new window.google.maps.places.Autocomplete(input, options);\r\n\r\n autocomplete.addListener('place_changed', function () {\r\n var place = autocomplete.getPlace();\r\n if (place.place_id.length > 150) {\r\n message.warning('The address you selected does not exist. Please select another one.');\r\n } else {\r\n for (var i = 0; i < place.address_components.length; i++) {\r\n if (place.address_components[i].types[0] == \"street_number\") {\r\n formComponent.formRef.current?.setFieldValue('StreetNumber', place.address_components[i].long_name);\r\n }\r\n if (place.address_components[i].types[0] == \"route\") {\r\n formComponent.formRef.current?.setFieldValue('StreetName', place.address_components[i].long_name);\r\n }\r\n if (place.address_components[i].types[0] == \"locality\") {\r\n formComponent.formRef.current?.setFieldValue('Suburb', place.address_components[i].long_name);\r\n }\r\n if (place.address_components[i].types[0] == \"administrative_area_level_1\") {\r\n formComponent.formRef.current?.setFieldValue('State', place.address_components[i].short_name);\r\n }\r\n if (place.address_components[i].types[0] == \"postal_code\") {\r\n formComponent.formRef.current?.setFieldValue('Postcode', place.address_components[i].long_name);\r\n }\r\n if (place.address_components[i].types[0] == \"country\") {\r\n formComponent.formRef.current?.setFieldValue('Country', place.address_components[i].long_name);\r\n }\r\n }\r\n formComponent.formRef.current?.setFieldValue('JobContactSearchAddress', place.formatted_address);\r\n }\r\n })\r\n }\r\n}\r\n\r\nexport function addClientJobTemplateContactPopUpRun({ parameter, sectionComponent, pageComponent, sectionName, uie } = {}) {\r\n setAutoComplete = false;\r\n}\r\n\r\nexport function editClientJobTemplateContactPopUpRun({ parameter, sectionComponent, pageComponent, sectionName, uie } = {}) {\r\n setAutoComplete = false;\r\n}\r\n\r\n//选Same As Contact Address时给Postal Address赋值\r\nexport function setSameAsContactAddress({ sectionName, parameter, formComponent, sectionComponent, pageComponent, uie }) {\r\n if (parameter) {\r\n formComponent.formRef.current?.setFieldValue('PostalStreetNumber', formComponent.formRef.current?.getFieldValue('StreetNumber'));\r\n formComponent.formRef.current?.setFieldValue('PostalStreetName', formComponent.formRef.current?.getFieldValue('StreetName'));\r\n formComponent.formRef.current?.setFieldValue('PostalSuburb', formComponent.formRef.current?.getFieldValue('Suburb'));\r\n formComponent.formRef.current?.setFieldValue('PostalState', formComponent.formRef.current?.getFieldValue('State'));\r\n formComponent.formRef.current?.setFieldValue('PostalPostcode', formComponent.formRef.current?.getFieldValue('Postcode'));\r\n formComponent.formRef.current?.setFieldValue('PostalCountry', formComponent.formRef.current?.getFieldValue('Country'));\r\n } else {\r\n formComponent.formRef.current?.setFieldValue('PostalStreetNumber', '');\r\n formComponent.formRef.current?.setFieldValue('PostalStreetName', '');\r\n formComponent.formRef.current?.setFieldValue('PostalSuburb', '');\r\n formComponent.formRef.current?.setFieldValue('PostalState', '');\r\n formComponent.formRef.current?.setFieldValue('PostalPostcode', '');\r\n formComponent.formRef.current?.setFieldValue('PostalCountry', '');\r\n }\r\n}\r\n\r\n//Suburb控件 找自动Suburb和Postcode\r\nexport function searchSuburbChange({ sectionName, parameter, formComponent, sectionComponent, pageComponent, uie }) {\r\n if (parameter.length >= config.component.AutoComplete.minimumQueryCharacters && !uie.autoDataSource && uie.datasourceUrl !== null) {\r\n httpClient\r\n .get(uie.datasourceUrl + '?keyword=' + parameter + '&state=' + formComponent.formRef.current.getFieldValue('State'))\r\n .then(({ data }) => {\r\n let options = [];\r\n if (data.result) {\r\n data.data.map((suburb, j) => {\r\n options.push({ label: suburb.Name + ' (' + suburb.Postcode + ')', value: suburb.Name + ' (' + suburb.Postcode + ')', data: suburb });\r\n })\r\n let componentDataSource = { ...formComponent.state.componentDataSource };\r\n componentDataSource[uie.source] = options;\r\n formComponent.setState({ componentDataSource });\r\n } else {\r\n globalFunction.handleResultError(data, pageComponent);\r\n }\r\n })\r\n .catch(function (error) {\r\n globalFunction.handleError(error, pageComponent);\r\n });\r\n }\r\n}\r\n\r\n//Suburb 选择后快速填写数据\r\nexport function searchSuburbSelect({ sectionName, parameter, formComponent, sectionComponent, pageComponent, uie }) {\r\n let data = parameter;\r\n formComponent.formRef.current?.setFieldValue('Suburb', data.data.Name);\r\n formComponent.formRef.current?.setFieldValue('Postcode', data.data.Postcode);\r\n}\r\n\r\n\r\n//PostalSuburb控件 找自动PostalSuburb和PostalPostcode\r\nexport function searchPostalSuburbChange({ sectionName, parameter, formComponent, sectionComponent, pageComponent, uie }) {\r\n if (parameter.length >= config.component.AutoComplete.minimumQueryCharacters && !uie.autoDataSource && uie.datasourceUrl !== null) {\r\n httpClient\r\n .get(uie.datasourceUrl + '?keyword=' + parameter + '&state=' + formComponent.formRef.current.getFieldValue('PostalState'))\r\n .then(({ data }) => {\r\n let options = [];\r\n if (data.result) {\r\n data.data.map((suburb, j) => {\r\n options.push({ label: suburb.Name + ' (' + suburb.Postcode + ')', value: suburb.Name + ' (' + suburb.Postcode + ')', data: suburb });\r\n })\r\n let componentDataSource = { ...formComponent.state.componentDataSource };\r\n componentDataSource[uie.source] = options;\r\n formComponent.setState({ componentDataSource });\r\n } else {\r\n globalFunction.handleResultError(data, pageComponent);\r\n }\r\n })\r\n .catch(function (error) {\r\n globalFunction.handleError(error, pageComponent);\r\n });\r\n }\r\n}\r\n\r\n//PostalSuburb 选择后快速填写数据\r\nexport function searchPostalSuburbSelect({ sectionName, parameter, formComponent, sectionComponent, pageComponent, uie }) {\r\n let data = parameter;\r\n formComponent.formRef.current?.setFieldValue('PostalSuburb', data.data.Name);\r\n formComponent.formRef.current?.setFieldValue('PostalPostcode', data.data.Postcode);\r\n}\r\n\r\n","import { config } from 'util/config';\r\nimport { httpClient } from \"util/Api\";\r\nimport * as globalFunction from 'util/GlobalFunction';\r\nimport { operationalFunction, getUieDataSource } from 'components/UIBuilder/SectionFunction/Common';\r\nimport { message } from 'antd';\r\n\r\nexport function getSectionDataByDefault({ sectionName, parameter, sectionComponent, pageComponent, uie } = {}) {\r\n pageComponent.setState({ defaultFormData: { moduleId: parameter } });\r\n let componentDefaultValue = { ...sectionComponent.state.componentDefaultValue };\r\n componentDefaultValue[uie.source] = parameter;\r\n sectionComponent.setState({ searchParameter: { moduleId: parameter }, componentDefaultValue });\r\n setTimeout(() => {\r\n sectionComponent.getSectionDataByDefault();\r\n }, config.setTimeoutMilliSecond);\r\n}\r\n\r\n//打开Report界面\r\nexport function showReportDiv({ sectionName, parameter, sectionComponent, pageComponent, uie } = {}) {\r\n httpClient\r\n .get('Admin/Report/GetReportConfig/' + parameter.key)\r\n .then(({ data }) => {\r\n if (data.result) {\r\n pageComponent.setState({ showModal: true, report: data.data });\r\n\r\n //获取组件数据源\r\n let componentDataSource = [];\r\n let parameter = [];\r\n parameter.push({ key: 'moduleId', value: pageComponent.state.defaultFormData.moduleId });\r\n pageComponent.state.report.ReportConfig.parameters.uieList.map(async (uie, j) => {\r\n getUieDataSource({ parameter: parameter, sectionName: 'Report', component: pageComponent, sectionComponent: pageComponent, pageComponent: pageComponent, uie: uie });\r\n })\r\n\r\n } else {\r\n globalFunction.handleResultError(data, pageComponent);\r\n }\r\n })\r\n .catch(function (error) {\r\n globalFunction.handleError(error, pageComponent);\r\n });\r\n}\r\n","import { httpClient } from \"util/Api\";\r\nimport * as globalFunction from 'util/GlobalFunction';\r\n\r\nexport function getLgaDataSource({ sectionName, parameter, sectionComponent, pageComponent, uie } = {}) {\r\n if (globalFunction.isNullOrEmpty(parameter)) {\r\n parameter = pageComponent.state.jobData.PptState;\r\n }\r\n let that = this;\r\n httpClient\r\n .get('Admin/Lga/GetSelectOptionList?state=' + parameter)\r\n .then(({ data }) => {\r\n if (data.result) {\r\n if (data.data.length > 0) {\r\n let componentDataSource = sectionComponent.customForm.current?.state.componentDataSource;\r\n componentDataSource.LgaId = data.data;\r\n sectionComponent.customForm.current?.setState({ componentDataSource });\r\n if (data.data.map(item => { return item.Value }).indexOf(sectionComponent.customForm.current?.formRef.current?.getFieldValue('LgaId')) < 0) {\r\n sectionComponent.customForm.current?.formRef.current?.setFieldsValue({ LgaId: 0 });\r\n }\r\n }\r\n } else {\r\n globalFunction.handleResultError(data, this.props.pageComponent);\r\n }\r\n })\r\n .catch(function (error) {\r\n globalFunction.handleError(error, that.props.pageComponent);\r\n });\r\n}\r\n\r\nexport function openMap({ sectionName, parameter, sectionComponent, pageComponent, uie } = {}) {\r\n pageComponent.setState({ mapShow: true });\r\n}\r\n\r\nexport function openLandData({ sectionName, parameter, sectionComponent, pageComponent, uie } = {}) {\r\n window.open(uie.href);\r\n}\r\n\r\n//Suburb 选择后快速填写数据\r\nexport function searchSuburbSelect({ sectionName, parameter, formComponent, sectionComponent, pageComponent, uie }) {\r\n let data = parameter;\r\n formComponent.formRef.current?.setFieldsValue({ PptSuburb: data.data.Name, PptPostcode: data.data.Postcode, LgaId: data.data.LgaId });\r\n}\r\n","import { message } from 'antd';\r\nimport { config } from \"util/config\";\r\nimport { httpClient } from \"util/Api\";\r\nimport * as globalFunction from 'util/GlobalFunction';\r\nimport { getUieDataSource } from 'components/UIBuilder/SectionFunction/Common';\r\n\r\n//AddFromContact 找自动完成联系人的数据源\r\nexport function searchContactChange({ sectionName, parameter, formComponent, sectionComponent, pageComponent, uie }) {\r\n parameter = parameter.replace(/#/g, '');\r\n if (parameter.length >= config.component.AutoComplete.minimumQueryCharacters && !uie.autoDataSource && uie.datasourceUrl !== null) {\r\n httpClient\r\n .get(uie.datasourceUrl + '?keyword=' + parameter + '&moduleId=' + pageComponent.state.moduleId)\r\n .then(({ data }) => {\r\n let options = [];\r\n if (data.result) {\r\n data.data.map((contact, j) => {\r\n options.push({ label: contact.FullNameCompany, value: contact.FullNameCompany, data: contact });\r\n })\r\n let componentDataSource = { ...formComponent.state.componentDataSource };\r\n componentDataSource[uie.source] = options;\r\n formComponent.setState({ componentDataSource });\r\n } else {\r\n globalFunction.handleResultError(data, pageComponent);\r\n }\r\n })\r\n .catch(function (error) {\r\n globalFunction.handleError(error, pageComponent);\r\n });\r\n }\r\n}\r\n\r\n//AddFromContact 选择后快速填写数据\r\nexport function searchContactSelect({ sectionName, parameter, formComponent, sectionComponent, pageComponent, uie }) {\r\n let data = parameter;\r\n formComponent.formRef.current?.setFieldValue('FirstName', data.data.FirstName);\r\n formComponent.formRef.current?.setFieldValue('LastName', data.data.LastName);\r\n formComponent.formRef.current?.setFieldValue('Company', data.data.Company);\r\n formComponent.formRef.current?.setFieldValue('JobTitle', data.data.JobTitle);\r\n formComponent.formRef.current?.setFieldValue('Phone', data.data.Phone);\r\n formComponent.formRef.current?.setFieldValue('Mobile', data.data.Mobile);\r\n formComponent.formRef.current?.setFieldValue('Email', data.data.Email);\r\n formComponent.formRef.current?.setFieldValue('BusinessNo', data.data.BusinessNo);\r\n\r\n formComponent.formRef.current?.setFieldValue('StreetNumber', data.data.StreetNumber);\r\n formComponent.formRef.current?.setFieldValue('StreetName', data.data.StreetName);\r\n formComponent.formRef.current?.setFieldValue('Suburb', data.data.Suburb);\r\n formComponent.formRef.current?.setFieldValue('State', data.data.State);\r\n formComponent.formRef.current?.setFieldValue('Postcode', data.data.Postcode);\r\n formComponent.formRef.current?.setFieldValue('Country', data.data.Country);\r\n\r\n formComponent.formRef.current?.setFieldValue('PostalStreetNumber', data.data.PostalStreetNumber);\r\n formComponent.formRef.current?.setFieldValue('PostalStreetName', data.data.PostalStreetName);\r\n formComponent.formRef.current?.setFieldValue('PostalSuburb', data.data.PostalSuburb);\r\n formComponent.formRef.current?.setFieldValue('PostalPostcode', data.data.PostalPostcode);\r\n formComponent.formRef.current?.setFieldValue('PostalState', data.data.PostalState);\r\n formComponent.formRef.current?.setFieldValue('PostalCountry', data.data.PostalCountry);\r\n\r\n formComponent.formRef.current?.setFieldValue('RegNum', data.data.RegNum);\r\n formComponent.formRef.current?.setFieldValue('CompanyRegNum', data.data.CompanyRegNum);\r\n formComponent.formRef.current?.setFieldValue('PractitionerClass', data.data.PractitionerClass);\r\n}\r\n\r\nlet setAutoComplete = false;\r\n//Search Address从google map找自动完成地址的数据源\r\nexport function searchAddressChange({ sectionName, parameter, formComponent, sectionComponent, pageComponent, uie }) {\r\n if (parameter.length >= config.component.AutoComplete.minimumQueryCharacters && setAutoComplete === false) {\r\n setAutoComplete = true;\r\n\r\n let options = {\r\n componentRestrictions: {\r\n country: ['au']\r\n }\r\n };\r\n\r\n var input = document.getElementById('JobContactSearchAddress');\r\n var autocomplete = new window.google.maps.places.Autocomplete(input, options);\r\n\r\n autocomplete.addListener('place_changed', function () {\r\n var place = autocomplete.getPlace();\r\n if (place.place_id.length > 150) {\r\n message.warning('The address you selected does not exist. Please select another one.');\r\n } else {\r\n for (var i = 0; i < place.address_components.length; i++) {\r\n if (place.address_components[i].types[0] == \"street_number\") {\r\n formComponent.formRef.current?.setFieldValue('StreetNumber', place.address_components[i].long_name);\r\n }\r\n if (place.address_components[i].types[0] == \"route\") {\r\n formComponent.formRef.current?.setFieldValue('StreetName', place.address_components[i].long_name);\r\n }\r\n if (place.address_components[i].types[0] == \"locality\") {\r\n formComponent.formRef.current?.setFieldValue('Suburb', place.address_components[i].long_name);\r\n }\r\n if (place.address_components[i].types[0] == \"administrative_area_level_1\") {\r\n formComponent.formRef.current?.setFieldValue('State', place.address_components[i].short_name);\r\n }\r\n if (place.address_components[i].types[0] == \"postal_code\") {\r\n formComponent.formRef.current?.setFieldValue('Postcode', place.address_components[i].long_name);\r\n }\r\n if (place.address_components[i].types[0] == \"country\") {\r\n formComponent.formRef.current?.setFieldValue('Country', place.address_components[i].long_name);\r\n }\r\n }\r\n formComponent.formRef.current?.setFieldValue('JobContactSearchAddress', place.formatted_address);\r\n }\r\n })\r\n }\r\n}\r\n\r\nexport function addJobContactPopUpRun({ parameter, sectionComponent, pageComponent, sectionName, uie } = {}) {\r\n setAutoComplete = false;\r\n}\r\n\r\nexport function editJobContactPopUpRun({ parameter, sectionComponent, pageComponent, sectionName, uie } = {}) {\r\n setAutoComplete = false;\r\n}\r\n\r\n//选Same As Property Address时给Address赋值当前job的Property的值\r\nexport function setSameAsPropertyAddress({ sectionName, parameter, formComponent, sectionComponent, pageComponent, uie }) {\r\n if (parameter) {\r\n formComponent.formRef.current?.setFieldValue('StreetNumber', pageComponent.formRef.current?.getFieldValue('PptStreetNumber'));\r\n formComponent.formRef.current?.setFieldValue('StreetName', pageComponent.formRef.current?.getFieldValue('PptStreetName'));\r\n formComponent.formRef.current?.setFieldValue('Suburb', pageComponent.formRef.current?.getFieldValue('PptSuburb'));\r\n formComponent.formRef.current?.setFieldValue('State', pageComponent.formRef.current?.getFieldValue('PptState'));\r\n formComponent.formRef.current?.setFieldValue('Postcode', pageComponent.formRef.current?.getFieldValue('PptPostcode'));\r\n } else {\r\n formComponent.formRef.current?.setFieldValue('StreetNumber', '');\r\n formComponent.formRef.current?.setFieldValue('StreetName', '');\r\n formComponent.formRef.current?.setFieldValue('Suburb', '');\r\n formComponent.formRef.current?.setFieldValue('State', '');\r\n formComponent.formRef.current?.setFieldValue('Postcode', '');\r\n }\r\n}\r\n\r\n//选Same As Contact Address时给Postal Address赋值\r\nexport function setSameAsContactAddress({ sectionName, parameter, formComponent, sectionComponent, pageComponent, uie }) {\r\n if (parameter) {\r\n formComponent.formRef.current?.setFieldValue('PostalStreetNumber', formComponent.formRef.current?.getFieldValue('StreetNumber'));\r\n formComponent.formRef.current?.setFieldValue('PostalStreetName', formComponent.formRef.current?.getFieldValue('StreetName'));\r\n formComponent.formRef.current?.setFieldValue('PostalSuburb', formComponent.formRef.current?.getFieldValue('Suburb'));\r\n formComponent.formRef.current?.setFieldValue('PostalState', formComponent.formRef.current?.getFieldValue('State'));\r\n formComponent.formRef.current?.setFieldValue('PostalPostcode', formComponent.formRef.current?.getFieldValue('Postcode'));\r\n formComponent.formRef.current?.setFieldValue('PostalCountry', formComponent.formRef.current?.getFieldValue('Country'));\r\n } else {\r\n formComponent.formRef.current?.setFieldValue('PostalStreetNumber', '');\r\n formComponent.formRef.current?.setFieldValue('PostalStreetName', '');\r\n formComponent.formRef.current?.setFieldValue('PostalSuburb', '');\r\n formComponent.formRef.current?.setFieldValue('PostalState', '');\r\n formComponent.formRef.current?.setFieldValue('PostalPostcode', '');\r\n formComponent.formRef.current?.setFieldValue('PostalCountry', '');\r\n }\r\n}\r\n\r\n//CopyFrom 快速填写数据\r\nexport function copyFromJobContact({ sectionName, parameter, formComponent, sectionComponent, pageComponent, uie }) {\r\n if (parameter > 0) {\r\n httpClient\r\n .get('/Business/JobContact/' + parameter)\r\n .then(({ data }) => {\r\n if (data.result) {\r\n formComponent.formRef.current?.setFieldValue('FirstName', data.data.FirstName);\r\n formComponent.formRef.current?.setFieldValue('LastName', data.data.LastName);\r\n formComponent.formRef.current?.setFieldValue('Company', data.data.Company);\r\n formComponent.formRef.current?.setFieldValue('JobTitle', data.data.JobTitle);\r\n formComponent.formRef.current?.setFieldValue('Phone', data.data.Phone);\r\n formComponent.formRef.current?.setFieldValue('Mobile', data.data.Mobile);\r\n formComponent.formRef.current?.setFieldValue('Email', data.data.Email);\r\n formComponent.formRef.current?.setFieldValue('BusinessNo', data.data.BusinessNo);\r\n formComponent.formRef.current?.setFieldValue('BuilderSubsection24b', data.data.BuilderSubsection24b);\r\n\r\n formComponent.formRef.current?.setFieldValue('StreetNumber', data.data.StreetNumber);\r\n formComponent.formRef.current?.setFieldValue('StreetName', data.data.StreetName);\r\n formComponent.formRef.current?.setFieldValue('Suburb', data.data.Suburb);\r\n formComponent.formRef.current?.setFieldValue('State', data.data.State);\r\n formComponent.formRef.current?.setFieldValue('Postcode', data.data.Postcode);\r\n formComponent.formRef.current?.setFieldValue('Country', data.data.Country);\r\n\r\n formComponent.formRef.current?.setFieldValue('PostalStreetNumber', data.data.PostalStreetNumber);\r\n formComponent.formRef.current?.setFieldValue('PostalStreetName', data.data.PostalStreetName);\r\n formComponent.formRef.current?.setFieldValue('PostalSuburb', data.data.PostalSuburb);\r\n formComponent.formRef.current?.setFieldValue('PostalPostcode', data.data.PostalPostcode);\r\n formComponent.formRef.current?.setFieldValue('PostalState', data.data.PostalState);\r\n formComponent.formRef.current?.setFieldValue('PostalCountry', data.data.PostalCountry);\r\n\r\n formComponent.formRef.current?.setFieldValue('RegNum', data.data.RegNum);\r\n formComponent.formRef.current?.setFieldValue('CompanyRegNum', data.data.CompanyRegNum);\r\n formComponent.formRef.current?.setFieldValue('PractitionerType', data.data.PractitionerType !== null ? data.data.PractitionerType : -1);\r\n formComponent.formRef.current?.setFieldValue('PractitionerClass', data.data.PractitionerClass);\r\n formComponent.formRef.current?.setFieldValue('NominatedLevyPayer', data.data.NominatedLevyPayer);\r\n } else {\r\n globalFunction.handleResultError(data, pageComponent);\r\n }\r\n })\r\n .catch(function (error) {\r\n globalFunction.handleError(error, pageComponent);\r\n });\r\n }\r\n}\r\n\r\nexport function addSubmitFinish({ sectionName, formComponent, sectionComponent, pageComponent }) {\r\n let parameter = [{ key: 'jobId', value: pageComponent.props.jobId }];\r\n let uie;\r\n sectionComponent.props.section.componentList.filter(c => c.type === 'Create')[0].groupList.forEach(group => {\r\n group.uieList.forEach(u => {\r\n if (u.source === 'CopyFrom') {\r\n uie = u;\r\n }\r\n });\r\n });\r\n\r\n let parameterStr = '';\r\n parameter.forEach(item => {\r\n parameterStr += item.key + '=' + item.value + '&';\r\n })\r\n httpClient\r\n .get(uie.datasourceUrl + '?' + parameterStr)\r\n .then(({ data }) => {\r\n if (data.result) {\r\n if (data.data.length > 0) {\r\n let dataSource = data.data;\r\n let componentDataSource = { ...formComponent.state.componentDataSource };\r\n if (uie.required) {\r\n dataSource = dataSource.filter(item => item.Value !== 0);\r\n }\r\n componentDataSource[uie.source] = dataSource;\r\n formComponent.setState({ componentDataSource });\r\n }\r\n } else {\r\n globalFunction.handleResultError(data, pageComponent);\r\n }\r\n })\r\n .catch(function (error) {\r\n globalFunction.handleError(error, pageComponent);\r\n });\r\n}\r\n\r\nexport function refreshJobContactData({ sectionName, formComponent, sectionComponent, pageComponent }) {\r\n sectionComponent.getSectionDataByDefault();\r\n globalFunction.getSectionComponent(pageComponent, 'Owner').getSectionDataByDefault();\r\n}\r\n","import { message } from 'antd';\r\nimport { config } from \"util/config\";\r\nimport { httpClient } from \"util/Api\";\r\nimport * as globalFunction from 'util/GlobalFunction';\r\nimport { getUieDataSource } from 'components/UIBuilder/SectionFunction/Common';\r\n\r\n//AddFromContact 找自动完成联系人的数据源\r\nexport function searchContactChange({ sectionName, parameter, formComponent, sectionComponent, pageComponent, uie }) {\r\n parameter = parameter.replace(/#/g, '');\r\n if (parameter.length >= config.component.AutoComplete.minimumQueryCharacters && !uie.autoDataSource && uie.datasourceUrl !== null) {\r\n httpClient\r\n .get(uie.datasourceUrl + '?keyword=' + parameter + '&moduleId=' + pageComponent.state.moduleId)\r\n .then(({ data }) => {\r\n let options = [];\r\n if (data.result) {\r\n data.data.map((contact, j) => {\r\n options.push({ label: contact.FullNameCompany, value: contact.FullNameCompany, data: contact });\r\n })\r\n let componentDataSource = { ...formComponent.state.componentDataSource };\r\n componentDataSource[uie.source] = options;\r\n formComponent.setState({ componentDataSource });\r\n } else {\r\n globalFunction.handleResultError(data, pageComponent);\r\n }\r\n })\r\n .catch(function (error) {\r\n globalFunction.handleError(error, pageComponent);\r\n });\r\n }\r\n}\r\n\r\n//AddFromContact 选择后快速填写数据\r\nexport function searchContactSelect({ sectionName, parameter, formComponent, sectionComponent, pageComponent, uie }) {\r\n let data = parameter;\r\n formComponent.formRef.current?.setFieldValue('FirstName', data.data.FirstName);\r\n formComponent.formRef.current?.setFieldValue('LastName', data.data.LastName);\r\n formComponent.formRef.current?.setFieldValue('Company', data.data.Company);\r\n formComponent.formRef.current?.setFieldValue('JobTitle', data.data.JobTitle);\r\n formComponent.formRef.current?.setFieldValue('Phone', data.data.Phone);\r\n formComponent.formRef.current?.setFieldValue('Mobile', data.data.Mobile);\r\n formComponent.formRef.current?.setFieldValue('Email', data.data.Email);\r\n formComponent.formRef.current?.setFieldValue('BusinessNo', data.data.BusinessNo);\r\n\r\n formComponent.formRef.current?.setFieldValue('StreetNumber', data.data.StreetNumber);\r\n formComponent.formRef.current?.setFieldValue('StreetName', data.data.StreetName);\r\n formComponent.formRef.current?.setFieldValue('Suburb', data.data.Suburb);\r\n formComponent.formRef.current?.setFieldValue('State', data.data.State);\r\n formComponent.formRef.current?.setFieldValue('Postcode', data.data.Postcode);\r\n formComponent.formRef.current?.setFieldValue('Country', data.data.Country);\r\n\r\n formComponent.formRef.current?.setFieldValue('PostalStreetNumber', data.data.PostalStreetNumber);\r\n formComponent.formRef.current?.setFieldValue('PostalStreetName', data.data.PostalStreetName);\r\n formComponent.formRef.current?.setFieldValue('PostalSuburb', data.data.PostalSuburb);\r\n formComponent.formRef.current?.setFieldValue('PostalPostcode', data.data.PostalPostcode);\r\n formComponent.formRef.current?.setFieldValue('PostalState', data.data.PostalState);\r\n formComponent.formRef.current?.setFieldValue('PostalCountry', data.data.PostalCountry);\r\n\r\n formComponent.formRef.current?.setFieldValue('RegNum', data.data.RegNum);\r\n formComponent.formRef.current?.setFieldValue('CompanyRegNum', data.data.CompanyRegNum);\r\n formComponent.formRef.current?.setFieldValue('PractitionerClass', data.data.PractitionerClass);\r\n}\r\n\r\nlet setAutoComplete = false;\r\n//Search Address从google map找自动完成地址的数据源\r\nexport function searchAddressChange({ sectionName, parameter, formComponent, sectionComponent, pageComponent, uie }) {\r\n if (parameter.length >= config.component.AutoComplete.minimumQueryCharacters && setAutoComplete === false) {\r\n setAutoComplete = true;\r\n\r\n let options = {\r\n componentRestrictions: {\r\n country: ['au']\r\n }\r\n };\r\n\r\n var input = document.getElementById('OwnerSearchAddress');\r\n var autocomplete = new window.google.maps.places.Autocomplete(input, options);\r\n\r\n autocomplete.addListener('place_changed', function () {\r\n var place = autocomplete.getPlace();\r\n if (place.place_id.length > 150) {\r\n message.warning('The address you selected does not exist. Please select another one.');\r\n } else {\r\n for (var i = 0; i < place.address_components.length; i++) {\r\n if (place.address_components[i].types[0] == \"street_number\") {\r\n formComponent.formRef.current?.setFieldValue('StreetNumber', place.address_components[i].long_name);\r\n }\r\n if (place.address_components[i].types[0] == \"route\") {\r\n formComponent.formRef.current?.setFieldValue('StreetName', place.address_components[i].long_name);\r\n }\r\n if (place.address_components[i].types[0] == \"locality\") {\r\n formComponent.formRef.current?.setFieldValue('Suburb', place.address_components[i].long_name);\r\n }\r\n if (place.address_components[i].types[0] == \"administrative_area_level_1\") {\r\n formComponent.formRef.current?.setFieldValue('State', place.address_components[i].short_name);\r\n }\r\n if (place.address_components[i].types[0] == \"postal_code\") {\r\n formComponent.formRef.current?.setFieldValue('Postcode', place.address_components[i].long_name);\r\n }\r\n if (place.address_components[i].types[0] == \"country\") {\r\n formComponent.formRef.current?.setFieldValue('Country', place.address_components[i].long_name);\r\n }\r\n }\r\n formComponent.formRef.current?.setFieldValue('OwnerSearchAddress', place.formatted_address);\r\n }\r\n })\r\n }\r\n}\r\n\r\nexport function addOwnerPopUpRun({ parameter, sectionComponent, pageComponent, sectionName, uie } = {}) {\r\n setAutoComplete = false;\r\n}\r\n\r\nexport function editOwnerPopUpRun({ parameter, sectionComponent, pageComponent, sectionName, uie } = {}) {\r\n setAutoComplete = false;\r\n}\r\n\r\n//选Same As Property Address时给Address赋值当前job的Property的值\r\nexport function setSameAsPropertyAddress({ sectionName, parameter, formComponent, sectionComponent, pageComponent, uie }) {\r\n if (parameter) {\r\n formComponent.formRef.current?.setFieldValue('StreetNumber', pageComponent.formRef.current?.getFieldValue('PptStreetNumber'));\r\n formComponent.formRef.current?.setFieldValue('StreetName', pageComponent.formRef.current?.getFieldValue('PptStreetName'));\r\n formComponent.formRef.current?.setFieldValue('Suburb', pageComponent.formRef.current?.getFieldValue('PptSuburb'));\r\n formComponent.formRef.current?.setFieldValue('State', pageComponent.formRef.current?.getFieldValue('PptState'));\r\n formComponent.formRef.current?.setFieldValue('Postcode', pageComponent.formRef.current?.getFieldValue('PptPostcode'));\r\n } else {\r\n formComponent.formRef.current?.setFieldValue('StreetNumber', '');\r\n formComponent.formRef.current?.setFieldValue('StreetName', '');\r\n formComponent.formRef.current?.setFieldValue('Suburb', '');\r\n formComponent.formRef.current?.setFieldValue('State', '');\r\n formComponent.formRef.current?.setFieldValue('Postcode', '');\r\n }\r\n}\r\n\r\n//选Same As Contact Address时给Postal Address赋值\r\nexport function setSameAsContactAddress({ sectionName, parameter, formComponent, sectionComponent, pageComponent, uie }) {\r\n if (parameter) {\r\n formComponent.formRef.current?.setFieldValue('PostalStreetNumber', formComponent.formRef.current?.getFieldValue('StreetNumber'));\r\n formComponent.formRef.current?.setFieldValue('PostalStreetName', formComponent.formRef.current?.getFieldValue('StreetName'));\r\n formComponent.formRef.current?.setFieldValue('PostalSuburb', formComponent.formRef.current?.getFieldValue('Suburb'));\r\n formComponent.formRef.current?.setFieldValue('PostalState', formComponent.formRef.current?.getFieldValue('State'));\r\n formComponent.formRef.current?.setFieldValue('PostalPostcode', formComponent.formRef.current?.getFieldValue('Postcode'));\r\n formComponent.formRef.current?.setFieldValue('PostalCountry', formComponent.formRef.current?.getFieldValue('Country'));\r\n } else {\r\n formComponent.formRef.current?.setFieldValue('PostalStreetNumber', '');\r\n formComponent.formRef.current?.setFieldValue('PostalStreetName', '');\r\n formComponent.formRef.current?.setFieldValue('PostalSuburb', '');\r\n formComponent.formRef.current?.setFieldValue('PostalState', '');\r\n formComponent.formRef.current?.setFieldValue('PostalPostcode', '');\r\n formComponent.formRef.current?.setFieldValue('PostalCountry', '');\r\n }\r\n}\r\n\r\n//CopyFrom 快速填写数据\r\nexport function copyFromJobContact({ sectionName, parameter, formComponent, sectionComponent, pageComponent, uie }) {\r\n if (parameter > 0) {\r\n httpClient\r\n .get('/Business/JobContact/' + parameter)\r\n .then(({ data }) => {\r\n if (data.result) {\r\n formComponent.formRef.current?.setFieldValue('FirstName', data.data.FirstName);\r\n formComponent.formRef.current?.setFieldValue('LastName', data.data.LastName);\r\n formComponent.formRef.current?.setFieldValue('Company', data.data.Company);\r\n formComponent.formRef.current?.setFieldValue('JobTitle', data.data.JobTitle);\r\n formComponent.formRef.current?.setFieldValue('Phone', data.data.Phone);\r\n formComponent.formRef.current?.setFieldValue('Mobile', data.data.Mobile);\r\n formComponent.formRef.current?.setFieldValue('Email', data.data.Email);\r\n formComponent.formRef.current?.setFieldValue('BusinessNo', data.data.BusinessNo);\r\n formComponent.formRef.current?.setFieldValue('BuilderSubsection24b', data.data.BuilderSubsection24b);\r\n\r\n formComponent.formRef.current?.setFieldValue('StreetNumber', data.data.StreetNumber);\r\n formComponent.formRef.current?.setFieldValue('StreetName', data.data.StreetName);\r\n formComponent.formRef.current?.setFieldValue('Suburb', data.data.Suburb);\r\n formComponent.formRef.current?.setFieldValue('State', data.data.State);\r\n formComponent.formRef.current?.setFieldValue('Postcode', data.data.Postcode);\r\n formComponent.formRef.current?.setFieldValue('Country', data.data.Country);\r\n\r\n formComponent.formRef.current?.setFieldValue('PostalStreetNumber', data.data.PostalStreetNumber);\r\n formComponent.formRef.current?.setFieldValue('PostalStreetName', data.data.PostalStreetName);\r\n formComponent.formRef.current?.setFieldValue('PostalSuburb', data.data.PostalSuburb);\r\n formComponent.formRef.current?.setFieldValue('PostalPostcode', data.data.PostalPostcode);\r\n formComponent.formRef.current?.setFieldValue('PostalState', data.data.PostalState);\r\n formComponent.formRef.current?.setFieldValue('PostalCountry', data.data.PostalCountry);\r\n\r\n formComponent.formRef.current?.setFieldValue('RegNum', data.data.RegNum);\r\n formComponent.formRef.current?.setFieldValue('CompanyRegNum', data.data.CompanyRegNum);\r\n formComponent.formRef.current?.setFieldValue('PractitionerType', data.data.PractitionerType !== null ? data.data.PractitionerType : -1);\r\n formComponent.formRef.current?.setFieldValue('PractitionerClass', data.data.PractitionerClass);\r\n formComponent.formRef.current?.setFieldValue('NominatedLevyPayer', data.data.NominatedLevyPayer);\r\n } else {\r\n globalFunction.handleResultError(data, pageComponent);\r\n }\r\n })\r\n .catch(function (error) {\r\n globalFunction.handleError(error, pageComponent);\r\n });\r\n }\r\n}\r\n\r\nexport function addSubmitFinish({ sectionName, formComponent, sectionComponent, pageComponent }) {\r\n let parameter = [{ key: 'jobId', value: pageComponent.props.jobId }];\r\n let uie;\r\n sectionComponent.props.section.componentList.filter(c => c.type === 'Create')[0].groupList.forEach(group => {\r\n group.uieList.forEach(u => {\r\n if (u.source === 'CopyFrom') {\r\n uie = u;\r\n }\r\n });\r\n });\r\n\r\n let parameterStr = '';\r\n parameter.forEach(item => {\r\n parameterStr += item.key + '=' + item.value + '&';\r\n })\r\n httpClient\r\n .get(uie.datasourceUrl + '?' + parameterStr)\r\n .then(({ data }) => {\r\n if (data.result) {\r\n if (data.data.length > 0) {\r\n let dataSource = data.data;\r\n let componentDataSource = { ...formComponent.state.componentDataSource };\r\n if (uie.required) {\r\n dataSource = dataSource.filter(item => item.Value !== 0);\r\n }\r\n componentDataSource[uie.source] = dataSource;\r\n formComponent.setState({ componentDataSource });\r\n }\r\n } else {\r\n globalFunction.handleResultError(data, pageComponent);\r\n }\r\n })\r\n .catch(function (error) {\r\n globalFunction.handleError(error, pageComponent);\r\n });\r\n}\r\n","import { message } from 'antd';\r\nimport { config } from 'util/config';\r\nimport { httpClient } from \"util/Api\";\r\nimport * as globalFunction from 'util/GlobalFunction';\r\n\r\n//通过 Status 和时间条件给 badge 的 BackgroundColor 赋值\r\nexport function checkPopUpNote({ parameter, pageComponent } = {}) {\r\n let popupNoteIconShow = false;\r\n let popupNoteShow = false;\r\n let popUpNotes = [];\r\n parameter.map((item, i) => {\r\n if (item.Popup) {\r\n popupNoteIconShow = true;\r\n popupNoteShow = true;\r\n popUpNotes.push(item);\r\n }\r\n })\r\n if (pageComponent.state.popupNoteShow === null) {\r\n pageComponent.setState({ popupNoteShow });\r\n }\r\n pageComponent.setState({ popupNoteIconShow, popUpNotes });\r\n}\r\n\r\nexport function loadNoteTemplate({ sectionName, parameter, sectionComponent, pageComponent, uie } = {}) {\r\n if (parameter > 0) {\r\n httpClient\r\n .get('Admin/NoteTemplate/' + parameter)\r\n .then(({ data }) => {\r\n if (data.result) {\r\n sectionComponent.customForm.current?.formRef.current?.setFieldsValue({ Content: data.data.Content });\r\n } else {\r\n globalFunction.handleResultError(data, pageComponent);\r\n }\r\n })\r\n .catch(function (error) {\r\n globalFunction.handleError(error, pageComponent);\r\n });\r\n }\r\n}\r\n\r\n//打开 JobNote 的回收站\r\nexport function openRecycleBin({ parameter, sectionComponent, pageComponent, sectionName, uie } = {}) {\r\n pageComponent.setState({ jobNoteRecycleBinShow: true });\r\n let searchParameter = { ...sectionComponent.state.searchParameter };\r\n let jobId = sectionComponent.props.searchParameter.jobId;\r\n httpClient\r\n .get('/Business/JobNote/GetRecycleBinList?jobId=' + jobId)\r\n .then(({ data }) => {\r\n if (data.result) {\r\n pageComponent.jobNoteRecycleBin.current?.setState({ data: data.data, selectedRowKeys: [] });\r\n } else {\r\n globalFunction.handleResultError(data, pageComponent);\r\n }\r\n })\r\n .catch(function (error) {\r\n globalFunction.handleError(error, pageComponent);\r\n });\r\n}\r\n","import { message } from 'antd';\r\nimport { config } from 'util/config';\r\nimport { httpClient } from \"util/Api\";\r\nimport * as globalFunction from 'util/GlobalFunction';\r\nimport * as lodash from 'lodash';\r\n\r\nlet canSearch = true;\r\n\r\n//批量下载\r\nexport function batchDownload({ sectionName, parameter, sectionComponent, pageComponent, uie } = {}) {\r\n if (sectionComponent.child.current?.state.selectedRowKeys.length !== 0) {\r\n globalFunction.download({ method: 'post', url: '/Business/Document/BatchDownload', data: { DocumentIdList: sectionComponent.child.current?.state.selectedRowKeys }, filename: pageComponent.state.jobData.JobNum + ' Documents.zip', save: true });\r\n clearSelectedRowKeys(sectionComponent);\r\n } else {\r\n message.warning('You must choose at least one document.');\r\n }\r\n}\r\n\r\n//清除选择的key\r\nfunction clearSelectedRowKeys(sectionComponent) {\r\n sectionComponent.child.current?.setState({ selectedRowKeys: [] });\r\n sectionComponent.child.current?.child.map((folder, i) => {\r\n folder.current?.setState({ selectedRowKeys: [] });\r\n })\r\n}\r\n\r\n//Document列表刷新\r\nexport function refreshDocument({ sectionName, parameter, sectionComponent, pageComponent, uie } = {}) {\r\n sectionComponent.getSectionDataByDefault();\r\n\r\n setTimeout(() => {\r\n let uie = sectionComponent.state.section.componentList[0].topButtonList[0].buttonList.filter(c => c.actionType === 'Refresh')[0];\r\n uie.flip = true;\r\n sectionComponent.setState(sectionComponent.state.section);\r\n }, 100);\r\n\r\n setTimeout(() => {\r\n let uie = sectionComponent.state.section.componentList[0].topButtonList[0].buttonList.filter(c => c.actionType === 'Refresh')[0];\r\n uie.flip = false;\r\n sectionComponent.setState(sectionComponent.state.section);\r\n }, 1100);\r\n}\r\n\r\n//下载\r\nexport function downloadDocument({ sectionName, parameter, sectionComponent, pageComponent, uie } = {}) {\r\n globalFunction.download({ url: '/Business/Document/Download/' + parameter.key, data: null, filename: parameter.Name, save: true });\r\n}\r\n\r\n//TrackingPage 下载\r\nexport function publicDownloadDocument({ sectionName, parameter, sectionComponent, pageComponent, uie } = {}) {\r\n globalFunction.download({ url: '/Business/Document/PublicDownload/' + parameter.key + '?accessCode=' + pageComponent.props.accessCode, data: null, filename: parameter.Name, save: true });\r\n}\r\n\r\n//TrackingPage 批量下载\r\nexport function publicBatchDownload({ sectionName, parameter, sectionComponent, pageComponent, uie } = {}) {\r\n if (sectionComponent.child.current?.state.selectedRowKeys.length !== 0) {\r\n globalFunction.download({ method: 'post', url: '/Business/Document/PublicBatchDownload', data: { DocumentIdList: sectionComponent.child.current?.state.selectedRowKeys }, filename: pageComponent.state.jobData.JobNum + ' Documents.zip', save: true });\r\n clearSelectedRowKeys(sectionComponent);\r\n } else {\r\n message.warning('You must choose at least one document.');\r\n }\r\n}\r\n","import { config } from 'util/config';\r\nimport { httpClient } from \"util/Api\";\r\nimport * as globalFunction from 'util/GlobalFunction';\r\nimport { message, Modal } from 'antd';\r\nimport moment from 'moment';\r\n\r\n//弹出mailmerge的div\r\nexport function docMergeInvoice({ sectionName, parameter, formComponent, sectionComponent, pageComponent, uie } = {}) {\r\n pageComponent.setState({ mailMergeTemplateShow: true, mailMergeObjId: parameter.InvoiceId, dataModelType: 4 });\r\n setTimeout(() => {\r\n pageComponent.mailMergeTemplate.current?.getMailMergeTemplate(4);\r\n }, config.setTimeoutMilliSecond);\r\n}\r\n\r\n//通过 Status 更换icon\r\nexport function formatData({ parameter, sectionComponent, pageComponent } = {}) {\r\n let accountingAppInvoiceIds = [];\r\n parameter.map((item, i) => {\r\n setData(item, pageComponent);\r\n if (item.AccountingAppInvoiceId !== null) {\r\n accountingAppInvoiceIds.push(item.AccountingAppInvoiceId);\r\n }\r\n })\r\n\r\n calculateTotal(parameter, sectionComponent);\r\n\r\n //如果有绑定会计系统,开始查询相关数据\r\n if (pageComponent.state.jobData.ModuleConfig !== undefined && pageComponent.state.jobData.ModuleConfig.AccountingAppIntegrationId !== null) {\r\n getAccountingApp(pageComponent, accountingAppInvoiceIds);\r\n }\r\n}\r\n\r\nfunction setData(item, pageComponent) {\r\n //AccountingApp设置成空待查询\r\n item.AccountingApp = null;\r\n if (item.Status === 1) {\r\n item.StatusBackgroundColor = config.color.success;\r\n\r\n if (pageComponent.state.jobData.ModuleConfig !== undefined && pageComponent.state.jobData.ModuleConfig.AccountingAppIntegrationId !== null) {\r\n if (item.AccountingAppInvoiceId !== null && item.DueAmount !== null) {\r\n if (item.DueAmount > 0) {\r\n item.AccountingApp = globalFunction.formatMoney(item.DueAmount);\r\n item.AccountingAppBackgroundColor = config.color.danger;\r\n } else {\r\n // item.AccountingApp = 'Paid'.toUpperCase();\r\n // item.AccountingAppBackgroundColor = config.color.success;\r\n }\r\n }\r\n } else {\r\n if (item.Balance > 0) {\r\n item.Balance = globalFunction.formatMoney(item.Balance);\r\n item.BalanceBackgroundColor = config.color.danger;\r\n } else {\r\n item.Balance = 'Paid'.toUpperCase();\r\n item.BalanceBackgroundColor = config.color.success;\r\n }\r\n }\r\n\r\n if (item.Total < 0) {\r\n item.AccountingApp = 'Paid'.toUpperCase();\r\n item.AccountingAppBackgroundColor = config.color.success;\r\n }\r\n\r\n } else {\r\n item.StatusBackgroundColor = config.color.default;\r\n item.Balance = null;\r\n }\r\n}\r\n\r\nexport function calculateTotal(parameter, sectionComponent) {\r\n let total = 0;\r\n let data = parameter.map((item, i) => {\r\n total += item.Total;\r\n })\r\n sectionComponent.props.parentComponent.setState({ tableFooter: 'Total: ' + globalFunction.formatMoney(total) });\r\n}\r\n\r\nexport function getAccountingApp(pageComponent, accountingAppInvoiceIds) {\r\n let url = '/Business/Invoice/GetInvoicesDueAmount';\r\n if (pageComponent.props.accessCode !== undefined) {\r\n url = '/Business/Invoice/GetPublicInvoicesDueAmount?accessCode=' + pageComponent.props.accessCode;\r\n }\r\n httpClient\r\n .post(url, { appIntegrationId: pageComponent.state.jobData.ModuleConfig.AccountingAppIntegrationId, accountingAppInvoiceIds })\r\n .then(({ data }) => {\r\n if (data.data !== null) {\r\n let invoice = globalFunction.getSectionComponent(pageComponent, 'Invoice');\r\n if (invoice !== null) {\r\n // let replaceParameter = [];\r\n // replaceParameter.push({ targetKey: 'key', targetValue: 'AccountingApp', replaceKey: 'title', replaceValue: pageComponent.state.jobData.ModuleConfig.AccountingAppIntegration.TenantName });\r\n // globalFunction.replaceUie({ tableComponent: invoice.child.current, componentType: 'View', uieSource: 'AccountingApp', replaceParameter });\r\n\r\n invoice.child.current?.setState({ loaded: false });\r\n let newData = invoice.child.current?.state.data.map((invoiceItem, i) => {\r\n data.data.map((accountingItem, j) => {\r\n if (accountingItem.AccountingAppInvoiceId === invoiceItem.AccountingAppInvoiceId) {\r\n invoiceItem.AccountingApp = accountingItem.DueAmount;\r\n invoiceItem.ShowPayButton = false;\r\n switch (accountingItem.Status?.toLowerCase()) {\r\n case 'paid':\r\n //适应Xero\r\n invoiceItem.AccountingApp = accountingItem.Status;\r\n invoiceItem.AccountingAppBackgroundColor = config.color.success;\r\n break;\r\n\r\n case 'voided':\r\n case 'deleted':\r\n //同时适应Xero 和 Quickbooks\r\n invoiceItem.AccountingApp = accountingItem.Status;\r\n invoiceItem.AccountingAppBackgroundColor = config.color.inactive;\r\n invoiceItem.ButtonFormat = [{ actionType: 'Delete', disabled: true }];\r\n break;\r\n\r\n default:\r\n //同时适应Xero 和 Quickbooks\r\n if (accountingItem.DueAmount > 0) {\r\n invoiceItem.AccountingApp = globalFunction.formatMoney(accountingItem.DueAmount);\r\n invoiceItem.AccountingAppBackgroundColor = config.color.danger;\r\n if (!globalFunction.isNullOrEmpty(pageComponent.state.jobData.Company.MpgsDomain)) {\r\n invoiceItem.ShowPayButton = true;\r\n }\r\n } else {\r\n invoiceItem.AccountingApp = 'Paid';\r\n invoiceItem.AccountingAppBackgroundColor = config.color.success;\r\n }\r\n break;\r\n }\r\n }\r\n })\r\n return invoiceItem;\r\n })\r\n invoice.child.current?.setState({ loaded: true });\r\n let sectionData = pageComponent.state.sectionData;\r\n sectionData['Invoice'] = newData;\r\n pageComponent.setState({ sectionData });\r\n }\r\n }\r\n })\r\n .catch(function (error) {\r\n globalFunction.handleError(error, pageComponent);\r\n });\r\n}\r\n","import { message, Modal } from 'antd';\r\nimport { config } from 'util/config';\r\nimport { httpClient } from \"util/Api\";\r\nimport * as globalFunction from 'util/GlobalFunction';\r\nimport * as documentFunction from 'components/UIBuilder/SectionFunction/Document';\r\n\r\n//上传File\r\nexport function uploadDocument({ sectionName, parameter, sectionComponent, pageComponent, uie } = {}) {\r\n let documentComponent = globalFunction.getSectionComponent(pageComponent, 'Document');\r\n documentFunction.addBySection({ sectionComponent: documentComponent, pageComponent: pageComponent });\r\n pageComponent.setState({ uploadType: 'JobRequiredCertificateClientDocument', jobRequiredCertificateId: parameter.key });\r\n setTimeout(() => {\r\n documentComponent.child.current?.uploadDocument.current?.formRef.current?.setFieldValue('DocumentTypeId', 0);\r\n }, config.setTimeoutMilliSecond);\r\n}\r\n\r\n//删除File\r\nexport function deleteJobRequiredCertificateClientDocument({ sectionName, parameter, sectionComponent, pageComponent, uie } = {}) {\r\n let that = this;\r\n httpClient\r\n .delete('Business/JobRequiredCertificate/DeleteJobRequiredCertificateClientDocument/' + parameter.key)\r\n .then(({ data }) => {\r\n if (data.result) {\r\n sectionComponent.getSectionDataByDefault();\r\n } else {\r\n message.error(data.message);\r\n }\r\n })\r\n .catch(function (error) {\r\n globalFunction.handleError(error, pageComponent);\r\n });\r\n}\r\n\r\n//public上传File\r\nexport function publicUploadDocument({ sectionName, parameter, sectionComponent, pageComponent, uie } = {}) {\r\n let documentComponent = globalFunction.getSectionComponent(pageComponent, 'ReceivedDocument');\r\n documentFunction.addBySection({ sectionComponent: documentComponent, pageComponent: pageComponent });\r\n pageComponent.setState({ uploadType: 'JobRequiredCertificateClientDocument', jobRequiredCertificateId: parameter.key });\r\n setTimeout(() => {\r\n documentComponent.child.current?.uploadDocument.current?.formRef.current?.setFieldValue('DocumentTypeId', 0);\r\n }, config.setTimeoutMilliSecond);\r\n}\r\n\r\n//public删除File\r\nexport function deletePublicJobRequiredCertificateClientDocument({ sectionName, parameter, sectionComponent, pageComponent, uie } = {}) {\r\n let that = this;\r\n httpClient\r\n .delete('Business/JobRequiredCertificate/DeletePublicJobRequiredCertificateClientDocument/' + parameter.key + '?accessCode=' + pageComponent.props.accessCode)\r\n .then(({ data }) => {\r\n if (data.result) {\r\n sectionComponent.getSectionDataByDefault();\r\n } else {\r\n message.error(data.message);\r\n }\r\n })\r\n .catch(function (error) {\r\n globalFunction.handleError(error, pageComponent);\r\n });\r\n}\r\n","import { message } from 'antd';\r\nimport { config } from 'util/config';\r\nimport { httpClient } from \"util/Api\";\r\nimport * as globalFunction from 'util/GlobalFunction';\r\n\r\n//弹出mailmerge的div\r\nexport function docMergeJobAspectCertificate({ sectionName, parameter, formComponent, sectionComponent, pageComponent, uie } = {}) {\r\n pageComponent.setState({ mailMergeTemplateShow: true, mailMergeObjId: parameter.JobAspectCertificateId, dataModelType: 7 });\r\n setTimeout(() => {\r\n pageComponent.mailMergeTemplate.current?.getMailMergeTemplate(7);\r\n }, config.setTimeoutMilliSecond);\r\n}\r\n","import { message } from 'antd';\r\nimport { config } from \"util/config\";\r\nimport { httpClient } from \"util/Api\";\r\nimport * as globalFunction from 'util/GlobalFunction';\r\nimport { getUieDataSource } from 'components/UIBuilder/SectionFunction/Common';\r\n\r\n//Search Address自动完成地址的数据源\r\nexport function searchAddressChange({ sectionName, parameter, sectionComponent, pageComponent, uie } = {}) {\r\n switch (uie.source) {\r\n case 'SearchAddressFromHyperFlo':\r\n pageComponent.searchAddressFromHyperFlo(parameter);\r\n break;\r\n default:\r\n pageComponent.searchAddressFromPredictive(parameter);\r\n break;\r\n }\r\n}\r\n\r\nexport function getAddressData({ sectionName, parameter, sectionComponent, pageComponent, uie } = {}) {\r\n pageComponent.getAddressData(parameter);\r\n}\r\n\r\nexport function selectAddressFromHyperFlo({ sectionName, parameter, sectionComponent, pageComponent, uie } = {}) {\r\n pageComponent.selectAddressFromHyperFlo(parameter);\r\n}\r\n\r\nexport function inspectionNameOnChange({ sectionName, parameter, sectionComponent, pageComponent, uie } = {}) {\r\n pageComponent.inspectionNameOnChange({ sectionName, parameter, sectionComponent, pageComponent, uie });\r\n}\r\n\r\nexport function scheduledTimeAmPmOnChange({ sectionName, parameter, sectionComponent, pageComponent, uie } = {}) {\r\n pageComponent.scheduledTimeAmPmOnChange(parameter);\r\n}\r\n\r\nexport function getLgaDataSource({ sectionName, parameter, sectionComponent, pageComponent, uie } = {}) {\r\n pageComponent.getLgaDataSource(parameter, null);\r\n}\r\n\r\n//NewJob Form, 预设的几种 JobContact 选地址逻辑\r\nexport function searchAgentAddressChange({ sectionName, parameter, sectionComponent, pageComponent, uie } = {}) {\r\n pageComponent.searchAddressFromPredictive(parameter, 'Agent_JobContactSearchAddress');\r\n}\r\n\r\nexport function getAgentAddressData({ sectionName, parameter, sectionComponent, pageComponent, uie } = {}) {\r\n pageComponent.getAddressData(parameter, 'Agent');\r\n}\r\n\r\nexport function setAgentSameAsPropertyAddress({ sectionName, parameter, formComponent, sectionComponent, pageComponent, uie }) {\r\n if (parameter) {\r\n pageComponent.formRef.current?.setFieldValue('Agent_StreetNumber', pageComponent.formRef.current?.getFieldValue('PptStreetNumber'));\r\n pageComponent.formRef.current?.setFieldValue('Agent_StreetName', pageComponent.formRef.current?.getFieldValue('PptStreetName'));\r\n pageComponent.formRef.current?.setFieldValue('Agent_Suburb', pageComponent.formRef.current?.getFieldValue('PptSuburb'));\r\n pageComponent.formRef.current?.setFieldValue('Agent_State', pageComponent.formRef.current?.getFieldValue('PptState'));\r\n pageComponent.formRef.current?.setFieldValue('Agent_Postcode', pageComponent.formRef.current?.getFieldValue('PptPostcode'));\r\n } else {\r\n pageComponent.formRef.current?.setFieldValue('Agent_StreetNumber', '');\r\n pageComponent.formRef.current?.setFieldValue('Agent_StreetName', '');\r\n pageComponent.formRef.current?.setFieldValue('Agent_Suburb', '');\r\n pageComponent.formRef.current?.setFieldValue('Agent_State', '');\r\n pageComponent.formRef.current?.setFieldValue('Agent_Postcode', '');\r\n }\r\n}\r\n\r\nexport function searchOwnerAddressChange({ sectionName, parameter, sectionComponent, pageComponent, uie } = {}) {\r\n pageComponent.searchAddressFromPredictive(parameter, 'Owner_JobContactSearchAddress');\r\n}\r\n\r\nexport function getOwnerAddressData({ sectionName, parameter, sectionComponent, pageComponent, uie } = {}) {\r\n pageComponent.getAddressData(parameter, 'Owner');\r\n}\r\n\r\nexport function setOwnerSameAsPropertyAddress({ sectionName, parameter, formComponent, sectionComponent, pageComponent, uie }) {\r\n if (parameter) {\r\n pageComponent.formRef.current?.setFieldValue('Owner_StreetNumber', pageComponent.formRef.current?.getFieldValue('PptStreetNumber'));\r\n pageComponent.formRef.current?.setFieldValue('Owner_StreetName', pageComponent.formRef.current?.getFieldValue('PptStreetName'));\r\n pageComponent.formRef.current?.setFieldValue('Owner_Suburb', pageComponent.formRef.current?.getFieldValue('PptSuburb'));\r\n pageComponent.formRef.current?.setFieldValue('Owner_State', pageComponent.formRef.current?.getFieldValue('PptState'));\r\n pageComponent.formRef.current?.setFieldValue('Owner_Postcode', pageComponent.formRef.current?.getFieldValue('PptPostcode'));\r\n } else {\r\n pageComponent.formRef.current?.setFieldValue('Owner_StreetNumber', '');\r\n pageComponent.formRef.current?.setFieldValue('Owner_StreetName', '');\r\n pageComponent.formRef.current?.setFieldValue('Owner_Suburb', '');\r\n pageComponent.formRef.current?.setFieldValue('Owner_State', '');\r\n pageComponent.formRef.current?.setFieldValue('Owner_Postcode', '');\r\n }\r\n}\r\n\r\nexport function searchBuilderAddressChange({ sectionName, parameter, sectionComponent, pageComponent, uie } = {}) {\r\n pageComponent.searchAddressFromPredictive(parameter, 'Builder_JobContactSearchAddress');\r\n}\r\n\r\nexport function getBuilderAddressData({ sectionName, parameter, sectionComponent, pageComponent, uie } = {}) {\r\n pageComponent.getAddressData(parameter, 'Builder');\r\n}\r\n\r\nexport function setBuilderSameAsPropertyAddress({ sectionName, parameter, formComponent, sectionComponent, pageComponent, uie }) {\r\n if (parameter) {\r\n pageComponent.formRef.current?.setFieldValue('Builder_StreetNumber', pageComponent.formRef.current?.getFieldValue('PptStreetNumber'));\r\n pageComponent.formRef.current?.setFieldValue('Builder_StreetName', pageComponent.formRef.current?.getFieldValue('PptStreetName'));\r\n pageComponent.formRef.current?.setFieldValue('Builder_Suburb', pageComponent.formRef.current?.getFieldValue('PptSuburb'));\r\n pageComponent.formRef.current?.setFieldValue('Builder_State', pageComponent.formRef.current?.getFieldValue('PptState'));\r\n pageComponent.formRef.current?.setFieldValue('Builder_Postcode', pageComponent.formRef.current?.getFieldValue('PptPostcode'));\r\n } else {\r\n pageComponent.formRef.current?.setFieldValue('Builder_StreetNumber', '');\r\n pageComponent.formRef.current?.setFieldValue('Builder_StreetName', '');\r\n pageComponent.formRef.current?.setFieldValue('Builder_Suburb', '');\r\n pageComponent.formRef.current?.setFieldValue('Builder_State', '');\r\n pageComponent.formRef.current?.setFieldValue('Builder_Postcode', '');\r\n }\r\n}\r\n\r\nexport function setBuilderSameAsAgentOrOwner({ sectionName, parameter, formComponent, sectionComponent, pageComponent, uie }) {\r\n console.log(pageComponent.formRef.current?.getFieldValue('ApplicantType'));\r\n if (parameter) {\r\n if (pageComponent.formRef.current?.getFieldValue('ApplicantType') === 0) {\r\n pageComponent.formRef.current?.setFieldValue('Builder_FirstName', pageComponent.formRef.current?.getFieldValue('Agent_FirstName'));\r\n pageComponent.formRef.current?.setFieldValue('Builder_LastName', pageComponent.formRef.current?.getFieldValue('Agent_LastName'));\r\n pageComponent.formRef.current?.setFieldValue('Builder_JobTitle', pageComponent.formRef.current?.getFieldValue('Agent_JobTitle'));\r\n pageComponent.formRef.current?.setFieldValue('Builder_Company', pageComponent.formRef.current?.getFieldValue('Agent_Company'));\r\n pageComponent.formRef.current?.setFieldValue('Builder_BusinessNo', pageComponent.formRef.current?.getFieldValue('Agent_BusinessNo'));\r\n pageComponent.formRef.current?.setFieldValue('Builder_Phone', pageComponent.formRef.current?.getFieldValue('Agent_Phone'));\r\n pageComponent.formRef.current?.setFieldValue('Builder_Mobile', pageComponent.formRef.current?.getFieldValue('Agent_Mobile'));\r\n pageComponent.formRef.current?.setFieldValue('Builder_Email', pageComponent.formRef.current?.getFieldValue('Agent_Email'));\r\n pageComponent.formRef.current?.setFieldValue('Builder_StreetNumber', pageComponent.formRef.current?.getFieldValue('Agent_StreetNumber'));\r\n pageComponent.formRef.current?.setFieldValue('Builder_StreetName', pageComponent.formRef.current?.getFieldValue('Agent_StreetName'));\r\n pageComponent.formRef.current?.setFieldValue('Builder_Suburb', pageComponent.formRef.current?.getFieldValue('Agent_Suburb'));\r\n pageComponent.formRef.current?.setFieldValue('Builder_State', pageComponent.formRef.current?.getFieldValue('Agent_State'));\r\n pageComponent.formRef.current?.setFieldValue('Builder_Postcode', pageComponent.formRef.current?.getFieldValue('Agent_Postcode'));\r\n pageComponent.formRef.current?.setFieldValue('Builder_Country', pageComponent.formRef.current?.getFieldValue('Agent_Country'));\r\n } else {\r\n pageComponent.formRef.current?.setFieldValue('Builder_FirstName', pageComponent.formRef.current?.getFieldValue('Owner_FirstName'));\r\n pageComponent.formRef.current?.setFieldValue('Builder_LastName', pageComponent.formRef.current?.getFieldValue('Owner_LastName'));\r\n pageComponent.formRef.current?.setFieldValue('Builder_JobTitle', pageComponent.formRef.current?.getFieldValue('Owner_JobTitle'));\r\n pageComponent.formRef.current?.setFieldValue('Builder_Company', pageComponent.formRef.current?.getFieldValue('Owner_Company'));\r\n pageComponent.formRef.current?.setFieldValue('Builder_BusinessNo', pageComponent.formRef.current?.getFieldValue('Owner_BusinessNo'));\r\n pageComponent.formRef.current?.setFieldValue('Builder_Phone', pageComponent.formRef.current?.getFieldValue('Owner_Phone'));\r\n pageComponent.formRef.current?.setFieldValue('Builder_Mobile', pageComponent.formRef.current?.getFieldValue('Owner_Mobile'));\r\n pageComponent.formRef.current?.setFieldValue('Builder_Email', pageComponent.formRef.current?.getFieldValue('Owner_Email'));\r\n pageComponent.formRef.current?.setFieldValue('Builder_StreetNumber', pageComponent.formRef.current?.getFieldValue('Owner_StreetNumber'));\r\n pageComponent.formRef.current?.setFieldValue('Builder_StreetName', pageComponent.formRef.current?.getFieldValue('Owner_StreetName'));\r\n pageComponent.formRef.current?.setFieldValue('Builder_Suburb', pageComponent.formRef.current?.getFieldValue('Owner_Suburb'));\r\n pageComponent.formRef.current?.setFieldValue('Builder_State', pageComponent.formRef.current?.getFieldValue('Owner_State'));\r\n pageComponent.formRef.current?.setFieldValue('Builder_Postcode', pageComponent.formRef.current?.getFieldValue('Owner_Postcode'));\r\n pageComponent.formRef.current?.setFieldValue('Builder_Country', pageComponent.formRef.current?.getFieldValue('Owner_Country'));\r\n }\r\n } else {\r\n pageComponent.formRef.current?.setFieldValue('Builder_FirstName', '');\r\n pageComponent.formRef.current?.setFieldValue('Builder_LastName', '');\r\n pageComponent.formRef.current?.setFieldValue('Builder_JobTitle', '');\r\n pageComponent.formRef.current?.setFieldValue('Builder_Company', '');\r\n pageComponent.formRef.current?.setFieldValue('Builder_BusinessNo', '');\r\n pageComponent.formRef.current?.setFieldValue('Builder_Phone', '');\r\n pageComponent.formRef.current?.setFieldValue('Builder_Mobile', '');\r\n pageComponent.formRef.current?.setFieldValue('Builder_Email', '');\r\n pageComponent.formRef.current?.setFieldValue('Builder_StreetNumber', '');\r\n pageComponent.formRef.current?.setFieldValue('Builder_StreetName', '');\r\n pageComponent.formRef.current?.setFieldValue('Builder_Suburb', '');\r\n pageComponent.formRef.current?.setFieldValue('Builder_State', '');\r\n pageComponent.formRef.current?.setFieldValue('Builder_Postcode', '');\r\n pageComponent.formRef.current?.setFieldValue('Builder_Country', '');\r\n }\r\n}\r\n\r\n\r\n//选择 ApplicantType 是否隐藏 Agent 部分\r\nexport function applicantTypeChange({ sectionName, parameter, formComponent, sectionComponent, pageComponent, uie }) {\r\n let webUIConfig = pageComponent.state.webUIConfig;\r\n webUIConfig.sectionList[0].componentList[0].groupList.map((group, i) => {\r\n if (parameter === 0) {\r\n group.show = true;\r\n if (group.name === 'Builder') {\r\n group.uieList.map((uie, i) => {\r\n if (uie.source === 'Builder_SameAsAgentOrOwner') {\r\n uie.title = \"Same As Agent\"\r\n }\r\n return uie;\r\n })\r\n }\r\n } else {\r\n if (group.name === 'Builder') {\r\n group.uieList.map((uie, i) => {\r\n if (uie.source === 'Builder_SameAsAgentOrOwner') {\r\n uie.title = \"Same As Owner\"\r\n }\r\n return uie;\r\n })\r\n }\r\n if (group.name === 'Agent') {\r\n group.show = false;\r\n }\r\n }\r\n return group;\r\n })\r\n pageComponent.setState({ webUIConfig });\r\n}\r\n\r\n\r\n//添加一组新的 Practitioner 控件\r\nexport function addAnotherPractitioner({ sectionName, parameter, formComponent, sectionComponent, pageComponent, uie }) {\r\n let webUIConfig = pageComponent.state.webUIConfig;\r\n let buildingPractitionerGroup = webUIConfig.sectionList[0].componentList[0].groupList.find(group => group.id === 'BuildingPractitioner');\r\n let counter = webUIConfig.sectionList[0].componentList[0].groupList.filter(group => group.id === 'BuildingPractitioner' || group.id === 'BuildingPractitionerCopy').length;\r\n if (counter < 5) {\r\n const newGroup = JSON.parse(JSON.stringify(buildingPractitionerGroup));\r\n newGroup.id = 'BuildingPractitionerCopy';\r\n newGroup.name = '';\r\n newGroup.buttonText = '';\r\n newGroup.buttonOnClick = '';\r\n newGroup.uieList.map((uie, i) => {\r\n const oldSource = uie.source;\r\n uie.source = uie.source + '_' + counter;\r\n\r\n if (uie.component === 'Select') {\r\n let componentDataSource = sectionComponent.state.componentDataSource;\r\n componentDataSource[uie.source] = JSON.parse(JSON.stringify(sectionComponent.state.componentDataSource[oldSource]));\r\n sectionComponent.setState({ componentDataSource });\r\n\r\n if (uie.type === 'group') {\r\n let dataSourceFilter = sectionComponent.state.componentDataSource[oldSource].filter(group => {\r\n return group.SelectOptionList !== null && group.SelectOptionList.length > 0;\r\n });\r\n if (dataSourceFilter.length > 0) {\r\n pageComponent.formRef.current?.setFieldValue(uie.source, dataSourceFilter[0].SelectOptionList[0].Value);\r\n } else {\r\n pageComponent.formRef.current?.setFieldValue(uie.source, sectionComponent.state.componentDataSource[oldSource][0]?.Value);\r\n }\r\n } else {\r\n pageComponent.formRef.current?.setFieldValue(uie.source, sectionComponent.state.componentDataSource[oldSource][0]?.Value);\r\n }\r\n }\r\n })\r\n\r\n const index = webUIConfig.sectionList[0].componentList[0].groupList.findIndex(group => group.id === 'BuildingPractitioner');\r\n webUIConfig.sectionList[0].componentList[0].groupList = [\r\n ...webUIConfig.sectionList[0].componentList[0].groupList.slice(0, index + 1),\r\n newGroup,\r\n ...webUIConfig.sectionList[0].componentList[0].groupList.slice(index + 1)\r\n ];\r\n\r\n pageComponent.setState({ webUIConfig });\r\n }\r\n}\r\n\r\n//Suburb 选择后快速填写数据\r\nexport function searchSuburbSelect({ sectionName, parameter, formComponent, sectionComponent, pageComponent, uie }) {\r\n let data = parameter;\r\n pageComponent.formRef.current?.setFieldValue('PptSuburb', data.data.Name);\r\n pageComponent.formRef.current?.setFieldValue('PptPostcode', data.data.Postcode);\r\n}\r\n","import { MenuOutlined } from '@ant-design/icons';\r\nimport { SortableHandle, SortableContainer, SortableElement } from 'react-sortable-hoc';\r\n\r\nexport const DragHandle = SortableHandle(() => );\r\n\r\nexport const SortableItem = SortableElement((props) => );\r\n\r\nexport const SortableBody = SortableContainer((props) => );\r\n\r\n//拖动前设置每个td的宽度, 防止表格错乱\r\nexport function updateBeforeSortStart({ node } = {}) {\r\n const tds = node.childNodes;\r\n for (var i = 0; i < tds.length; i++) {\r\n tds[i].style.width = `${tds[i].offsetWidth}px`;\r\n }\r\n};\r\n","import {INIT_URL, SWITCH_LANGUAGE, TOGGLE_COLLAPSED_NAV, WINDOW_WIDTH} from \"../../constants/ActionTypes\";\r\nimport {LAYOUT_TYPE, NAV_STYLE, THEME_COLOR, THEME_TYPE, UPDATE_RTL_STATUS} from \"../../constants/ThemeSetting\";\r\n\r\nexport function toggleCollapsedSideNav(navCollapsed) {\r\n return {type: TOGGLE_COLLAPSED_NAV, navCollapsed};\r\n}\r\n\r\nexport function updateWindowWidth(width) {\r\n return (dispatch) => {\r\n dispatch({type: WINDOW_WIDTH, width});\r\n }\r\n}\r\n\r\nexport function setThemeType(themeType) {\r\n return (dispatch) => {\r\n dispatch({type: THEME_TYPE, themeType});\r\n }\r\n}\r\n\r\nexport function setThemeColor(themeColor) {\r\n return (dispatch) => {\r\n dispatch({type: THEME_COLOR, themeColor});\r\n }\r\n}\r\n\r\nexport function setDirectionRTL(rtlStatus) {\r\n return (dispatch) => {\r\n dispatch({type: UPDATE_RTL_STATUS, rtlStatus});\r\n }\r\n}\r\n\r\nexport function onNavStyleChange(navStyle) {\r\n return (dispatch) => {\r\n dispatch({type: NAV_STYLE, navStyle});\r\n }\r\n}\r\n\r\nexport function onLayoutTypeChange(layoutType) {\r\n return (dispatch) => {\r\n dispatch({type: LAYOUT_TYPE, layoutType});\r\n }\r\n}\r\n\r\nexport function switchLanguage(locale) {\r\n return (dispatch) => {\r\n dispatch({\r\n type: SWITCH_LANGUAGE,\r\n payload: locale\r\n });\r\n }\r\n}\r\n\r\nexport const setInitUrl = (url) => {\r\n return {\r\n type: INIT_URL,\r\n payload: url\r\n };\r\n};\r\n","import React from \"react\";\r\nimport {FormattedMessage, injectIntl} from \"react-intl\";\r\n\r\nconst InjectMassage = props => ;\r\nexport default injectIntl(InjectMassage, {\r\n withRef: false\r\n});\r\n","import { message } from 'antd';\r\nimport { httpClient } from \"util/Api\";\r\nimport * as globalFunction from 'util/GlobalFunction';\r\nimport { operationalFunction } from 'components/UIBuilder/SectionFunction/Common';\r\n\r\n//获取该Section的数据\r\nexport async function getSectionData({ component }) {\r\n let datasourceUrl = component.props.viewConfig.groupList[0].datasourceUrl;\r\n\r\n //datasourceUrl 不为null时调用 datasourceUrl\r\n //否则就用id获取该Section指定的数据\r\n let url = datasourceUrl !== null ? datasourceUrl : component.props.areaName + '/' + component.props.section.name + '/' + component.props.objId\r\n\r\n httpClient\r\n .get(url)\r\n .then(({ data }) => {\r\n // console.log(component.props.areaName + '/' + component.props.section.name + '/' + component.props.objId + ' 指定数据', data);\r\n if (data.result) {\r\n component.setState({ data: data.data });\r\n if (component.props.section.name === 'Job') {\r\n component.props.pageComponent.setState({ jobData: data.data });\r\n component.props.pageComponent.jobNavigation.current?.setState({ jobData: data.data });\r\n }\r\n let sectionData = component.props.pageComponent.state.sectionData;\r\n sectionData[component.props.section.name] = data.data;\r\n component.props.pageComponent.setState({ sectionData });\r\n } else {\r\n globalFunction.handleResultError(data, component.props.pageComponent);\r\n }\r\n })\r\n .catch(function (error) {\r\n globalFunction.handleError(error, component.props.pageComponent);\r\n });\r\n}\r\n\r\n//获取该Section的数据列表\r\nexport async function getSectionDataList({ component, current, pageSize }) {\r\n let pageable = component.props.viewConfig.groupList[0].pageable;\r\n let datasourceUrl = component.props.viewConfig.groupList[0].datasourceUrl;\r\n\r\n //datasourceUrl 不为null时调用 datasourceUrl\r\n //否则看是否要分页,如果分页就走该Section分页接口,否则就走获取该Section全部列表接口\r\n let searchParameter = '';\r\n if (component.props.searchParameter != undefined) {\r\n for (let key in component.props.searchParameter) {\r\n searchParameter += '&' + key + '=' + globalFunction.nullToEmpty(component.props.searchParameter[key]);\r\n }\r\n }\r\n let url = datasourceUrl !== null ? pageable ? datasourceUrl + '?current=' + current + '&pageSize=' + pageSize + searchParameter : datasourceUrl + '?current=1' + searchParameter : pageable ?\r\n component.props.areaName + '/' + component.props.section.name + '/GetPaging?current=' + current + '&pageSize=' + pageSize + searchParameter :\r\n component.props.areaName + '/' + component.props.section.name + '/GetList?current=1' + searchParameter;\r\n\r\n httpClient\r\n .get(url)\r\n .then(({ data }) => {\r\n // console.log(component.props.areaName + '/' + component.props.section.name + ' 列表数据', data);\r\n //运行预先配置的处理data函数\r\n operationalFunction({ functionName: component.props.viewConfig.onLoadData, sectionName: component.props.section.name, parameter: data.data, sectionComponent: component, pageComponent: component.props.pageComponent });\r\n\r\n if (data.result && component !== null) {\r\n component.setState({\r\n data: []\r\n });\r\n component.setState({\r\n data: pageable ? data.data.records : data.data,\r\n pagination: pageable ? {\r\n ...component.state.pagination,\r\n current: current,\r\n pageSize: pageSize,\r\n total: data.data.total\r\n } : false,\r\n loaded: true\r\n });\r\n if (data.data.length > 0) {\r\n component.props.sectionComponent.setState({ showBottomButton: true });\r\n } else {\r\n component.props.sectionComponent.setState({ showBottomButton: false });\r\n }\r\n if (component.props.section.name == 'Property') {\r\n component.props.pageComponent.setState({ jobData: data.data[0] });\r\n if (component.props.pageComponent.jobNavigation.current != null) {\r\n component.props.pageComponent.jobNavigation.current?.setState({ jobData: data.data[0] });\r\n }\r\n }\r\n let sectionData = component.props.pageComponent.state.sectionData;\r\n sectionData[component.props.section.name] = pageable ? data.data.records : data.data;\r\n component.props.pageComponent.setState({ sectionData });\r\n } else {\r\n message.error(data.message);\r\n }\r\n })\r\n .catch(function (error) {\r\n globalFunction.handleError(error, component.props.pageComponent);\r\n });\r\n}\r\n\r\n//获取该Section, 以Group分组的数据列表\r\nexport async function getSectionGroupDataList({ component, current, pageSize }) {\r\n let datasourceUrl = component.props.viewConfig.groupList[0].datasourceUrl;\r\n\r\n //datasourceUrl 不为null时调用 datasourceUrl\r\n let searchParameter = '';\r\n if (component.props.searchParameter != undefined) {\r\n for (let key in component.props.searchParameter) {\r\n searchParameter += '&' + key + '=' + globalFunction.nullToEmpty(component.props.searchParameter[key]);\r\n }\r\n }\r\n let url = datasourceUrl !== null ? datasourceUrl + '?current=1' + searchParameter :\r\n component.props.areaName + '/' + component.props.section.name + '/GetGroupList?current=1' + searchParameter;\r\n httpClient\r\n .get(url)\r\n .then(({ data }) => {\r\n // console.log(component.props.areaName + '/' + component.props.section.name + ' Group列表数据', data);\r\n //运行预先配置的处理data函数\r\n operationalFunction({ functionName: component.props.viewConfig.onLoadData, sectionName: component.props.section.name, parameter: data.data, sectionComponent: component, pageComponent: component.props.pageComponent });\r\n\r\n if (data.result && component !== null) {\r\n component.setState({\r\n data: []\r\n });\r\n component.setState({\r\n data: data.data,\r\n pagination: false,\r\n loaded: true\r\n });\r\n if (data.data.length > 0) {\r\n component.props.sectionComponent.setState({ showBottomButton: true });\r\n } else {\r\n component.props.sectionComponent.setState({ showBottomButton: false });\r\n }\r\n let sectionData = component.props.pageComponent.state.sectionData;\r\n sectionData[component.props.section.name] = data.data;\r\n component.props.pageComponent.setState({ sectionData });\r\n } else {\r\n message.error(data.message);\r\n }\r\n })\r\n .catch(function (error) {\r\n globalFunction.handleError(error, component.props.pageComponent);\r\n });\r\n}\r\n\r\n//获取该Section, 以Folder分组的数据列表\r\nexport async function getSectionFolderDataList({ component, current, pageSize }) {\r\n let datasourceUrl = component.props.viewConfig.groupList[0].datasourceUrl;\r\n\r\n //datasourceUrl 不为null时调用 datasourceUrl\r\n let searchParameter = '';\r\n if (component.props.searchParameter != undefined) {\r\n for (let key in component.props.searchParameter) {\r\n searchParameter += '&' + key + '=' + globalFunction.nullToEmpty(component.props.searchParameter[key]);\r\n }\r\n }\r\n let url = datasourceUrl !== null ? datasourceUrl + '?current=1' + searchParameter :\r\n component.props.areaName + '/' + component.props.section.name + '/GetFolderList?current=1' + searchParameter;\r\n\r\n httpClient\r\n .get(url)\r\n .then(({ data }) => {\r\n // console.log(component.props.areaName + '/' + component.props.section.name + ' Folder列表数据', data);\r\n //运行预先配置的处理data函数\r\n operationalFunction({ functionName: component.props.viewConfig.onLoadData, sectionName: component.props.section.name, parameter: data.data, sectionComponent: component, pageComponent: component.props.pageComponent });\r\n\r\n if (data.result && component !== null) {\r\n component.setState({\r\n data: []\r\n });\r\n component.setState({\r\n data: data.data,\r\n pagination: false,\r\n loaded: true\r\n });\r\n if (data.data.length > 0) {\r\n component.props.sectionComponent.setState({ showBottomButton: true });\r\n } else {\r\n component.props.sectionComponent.setState({ showBottomButton: false });\r\n }\r\n let sectionData = component.props.pageComponent.state.sectionData;\r\n sectionData[component.props.section.name] = data.data;\r\n component.props.pageComponent.setState({ sectionData });\r\n } else {\r\n message.error(data.message);\r\n }\r\n })\r\n .catch(function (error) {\r\n globalFunction.handleError(error, component.props.pageComponent);\r\n });\r\n}\r\n","module.exports = {\n config: {\n footerText: 'Copyright Company Name © 2018',\n aesKey: '5T7y9O3u7H2j5K9L3z2W5x9Q1p6R4v8M',\n aesIV: '37fa77f6a3b0462d',\n\n //本地测试\n // baseUrl: 'https://localhost:7227/api', //API访问地址\n // clientUrl: 'https://localhost:3001', //client访问地址\n // staffUrl: 'https://localhost:3000', //staff访问地址\n // recaptchaSitekey: '6Ld3d4wcAAAAAIlKmNgvDxznIXZ61_7IItYqdZ2S', //google人机验证的key\n\n //生产环境\n baseUrl: 'https://client-api.hyperflo.net/api', //API访问地址\n clientUrl: 'https://client.hyperflo.net', //client访问地址\n staffUrl: 'https://app.hyperflo.net', //staff访问地址\n recaptchaSitekey: '6LdYPk4dAAAAAGeK_BXKJOH4UIPeDSUxQZu7yXD_', //google人机验证的key\n\n format: {\n date: 'DD/MM/YYYY', //格式化时间格式\n sqlDate: 'YYYY-MM-DD'\n },\n taxRate: 0.1,\n setTimeoutMilliSecond: 10,\n //组件相关\n component: {\n size: 'middle', //组件尺寸 large | middle | small\n gutter: [0, 8], //栅格间隔\n margin: 'normal',\n bordered: true, //组件是否有边框\n defaultDeleteConfirmText: 'Do you want to delete this record?', //删除数据时默认的提示文字\n Input: {\n Textarea: {\n rows: 5, //文本域默认行数\n }\n },\n DatePicker: {\n dateFormat: 'DD/MM/YYYY', //日期控件默认格式\n },\n Pagination: {\n pageSize: 20, //默认一页行数\n pageSizeOptions: [20, 50, 100], //设置页码可选项\n showSizeChanger: true, //是否可以改变 pageSize\n showTotal: total => `${total} records total`, //显示总条数\n },\n AutoComplete: {\n minimumQueryCharacters: 2, //最少多少个字符时触发查询自动完成的数据\n },\n Message: {\n style: {\n marginTop: '20vh',\n },\n },\n Modal: {\n maskClosable: false, //点击背景遮罩是否关闭\n },\n Empty: {\n imageStyle: {\n height: 40,\n },\n description: 'No Data'\n },\n Icon: {\n style: {\n fontSize: '18px'\n },\n },\n Image: {\n //加载失败的默认图片\n fallback: \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMIAAADDCAYAAADQvc6UAAABRWlDQ1BJQ0MgUHJvZmlsZQAAKJFjYGASSSwoyGFhYGDIzSspCnJ3UoiIjFJgf8LAwSDCIMogwMCcmFxc4BgQ4ANUwgCjUcG3awyMIPqyLsis7PPOq3QdDFcvjV3jOD1boQVTPQrgSkktTgbSf4A4LbmgqISBgTEFyFYuLykAsTuAbJEioKOA7DkgdjqEvQHEToKwj4DVhAQ5A9k3gGyB5IxEoBmML4BsnSQk8XQkNtReEOBxcfXxUQg1Mjc0dyHgXNJBSWpFCYh2zi+oLMpMzyhRcASGUqqCZ16yno6CkYGRAQMDKMwhqj/fAIcloxgHQqxAjIHBEugw5sUIsSQpBobtQPdLciLEVJYzMPBHMDBsayhILEqEO4DxG0txmrERhM29nYGBddr//5/DGRjYNRkY/l7////39v///y4Dmn+LgeHANwDrkl1AuO+pmgAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAwqADAAQAAAABAAAAwwAAAAD9b/HnAAAHlklEQVR4Ae3dP3PTWBSGcbGzM6GCKqlIBRV0dHRJFarQ0eUT8LH4BnRU0NHR0UEFVdIlFRV7TzRksomPY8uykTk/zewQfKw/9zn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ABEKNdtQcwJEyNmoFCJAhELNNtScABFyNiqFCBChULMNNSdAhJyNSiECRCjUbEPNCRAhZ6NSiAARCjXbUHMCRMjZqBQiQIRCzTbUnAARcjYqhQgQoVCzDTUnQIScjUohAkQo1GxDzQkQIWejUogAEQo121BzAkTI2agUIkCEQs021JwAEXI2KoUIEKFQsw01J0CEnI1KIQJEKNRsQ80JECFno1KIABEKNdtQcwJEyNmoFCJAhELNNtScABFyNiqFCBChULMNNSdAhJyNSiEC/wGgKKC4YMA4TAAAAABJRU5ErkJggg==\"\n },\n Table: {\n // scroll: { x: 'max-content' }\n scroll: null,\n fixed: null\n },\n Tooltip: {\n mouseEnterDelay: 0.6\n },\n Button: {\n size: 'middle',\n },\n ColorPicker: {\n defaultColor: '#03a9f4',\n },\n CKEditor: {\n config: {\n toolbar: ['fontSize', 'fontColor', 'bold', 'italic', 'underline', 'strikethrough', 'bulletedList', 'numberedList', 'link', 'undo', 'redo',],\n fontSize: {\n options: [12, 14, 'default', 18, 20, 24, 30, 36, 48],\n supportAllValues: true,\n },\n }\n }\n },\n defaultCountry: 'Australia', //默认国家\n states: ['VIC', 'NSW', 'QLD', 'SA', 'WA', 'TAS', 'ACT', 'NT'], //州列表\n imageTypes: ['image/jpeg', 'image/png', 'image/bmp'], //图片格式\n uploadImageMaxLength: 600, //上传图片最大尺寸(大于这个值的会被压缩到这个值), KB\n fileUploadLimit: 100, //上传文件最大尺寸(大于这个值的不让上传), MB\n addressFinderKey: 'TERV3X4J6UFKPD7QMCHA',\n psmaKey: 'dWeaHO6dr2ngCyustDJ7bLAir7mAfOpD',\n googleMap: {\n apiKey: 'AIzaSyDfIkiuIbtSPWEhU2qsDqOELne0_slNaNU',\n defaultCenter: {\n lat: -37.768,\n lng: 145.006\n },\n defaultZoom: 11,\n markerStyle: { fontSize: '30px', color: 'red' } //地图上打点的样式\n },\n message: {\n sessionExpired: 'Your session has expired, please login again.' //账户被禁用等情况下, 需要重新登陆的信息\n },\n pattern: {\n email: new RegExp(/^((\\s*|\\s*,\\s*)([a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}\\s*))*$/g, 'i'), //验证电子邮件的正则\n password: new RegExp(/^(?=.*\\d)(?=.*[a-zA-Z]).{6,20}$/, 'i') // 验证密码\n },\n sms: {\n mobileStartWith: ['04', '+614']\n },\n color: {\n default: '#03a9f4',\n success: '#28a745',\n danger: '#dc3545',\n inactive: '#6c757d',\n },\n fontColor: '#495057',\n emailRecipient: [{\n value: 'Applicant',\n label: 'Applicant',\n }, {\n value: 'Owner',\n label: 'Owner',\n }, {\n value: 'Builder',\n label: 'Builder',\n }, {\n value: 'Client',\n label: 'Client',\n }, {\n value: 'Council',\n label: 'Council',\n }, {\n value: 'AssignedUser',\n label: 'Assigned User',\n }, {\n value: 'AssessingUser',\n label: 'Assessing User',\n }, {\n value: 'SignoffUser',\n label: 'Signoff User',\n }]\n }\n}\n","// Customizer const\r\nexport const TOGGLE_COLLAPSED_NAV = 'TOGGLE_COLLAPSE_MENU';\r\nexport const WINDOW_WIDTH = 'WINDOW-WIDTH';\r\nexport const SWITCH_LANGUAGE = 'SWITCH-LANGUAGE';\r\n\r\n//Contact Module const\r\nexport const FETCH_START = 'fetch_start';\r\nexport const FETCH_SUCCESS = 'fetch_success';\r\nexport const FETCH_ERROR = 'fetch_error';\r\nexport const SHOW_MESSAGE = 'SHOW_MESSAGE';\r\nexport const HIDE_MESSAGE = 'HIDE_MESSAGE';\r\nexport const ON_SHOW_LOADER = 'ON_SHOW_LOADER';\r\nexport const ON_HIDE_LOADER = 'ON_HIDE_LOADER';\r\n\r\n//Auth const\r\nexport const SIGNUP_USER = 'SIGNUP_USER';\r\nexport const SIGNUP_USER_SUCCESS = 'SIGNUP_USER_SUCCESS';\r\nexport const SIGNIN_GOOGLE_USER = 'SIGNIN_GOOGLE_USER';\r\nexport const SIGNIN_GOOGLE_USER_SUCCESS = 'SIGNIN_GOOGLE_USER_SUCCESS';\r\nexport const SIGNIN_FACEBOOK_USER = 'SIGNIN_FACEBOOK_USER';\r\nexport const SIGNIN_FACEBOOK_USER_SUCCESS = 'SIGNIN_FACEBOOK_USER_SUCCESS';\r\nexport const SIGNIN_TWITTER_USER = 'SIGNIN_TWITTER_USER';\r\nexport const SIGNIN_TWITTER_USER_SUCCESS = 'SIGNIN_TWITTER_USER_SUCCESS';\r\nexport const SIGNIN_GITHUB_USER = 'SIGNIN_GITHUB_USER';\r\nexport const SIGNIN_GITHUB_USER_SUCCESS = 'signin_github_user_success';\r\nexport const SIGNIN_USER = 'SIGNIN_USER';\r\nexport const SIGNIN_USER_SUCCESS = 'SIGNIN_USER_SUCCESS';\r\nexport const SIGNOUT_USER = 'SIGNOUT_USER';\r\nexport const SIGNOUT_USER_SUCCESS = 'SIGNOUT_USER_SUCCESS';\r\nexport const INIT_URL = 'INIT_URL';\r\nexport const USER_DATA = 'user_data';\r\nexport const USER_TOKEN_SET = 'user_token_set';\r\nexport const UPDATE_LOAD_USER = 'UPDATE_LOAD_USER';\r\n\r\n","import { useEffect, useState } from 'react';\r\nimport { httpClient, uploadClient } from \"../../../util/Api\";\r\nimport { setInitUrl } from \"appRedux/actions\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport * as globalFunction from 'util/GlobalFunction';\r\n\r\nexport const useProvideAuth = () => {\r\n const [authUser, setAuthUser] = useState(null);\r\n const [error, setError] = useState('');\r\n const [isLoadingUser, setLoadingUser] = useState(true);\r\n const [isLoading, setLoading] = useState(false);\r\n const [loginSecurityCodeData, setLoginSecurityCodeData] = useState({});\r\n const [showLoginSecurityCode, setShowLoginSecurityCode] = useState(false);\r\n const dispatch = useDispatch();\r\n\r\n const fetchStart = () => {\r\n setLoading(true);\r\n setError('');\r\n };\r\n\r\n const fetchSuccess = () => {\r\n setLoading(false);\r\n setError('');\r\n };\r\n\r\n const fetchError = (error) => {\r\n setLoading(false);\r\n setError(error);\r\n };\r\n\r\n const userLogin = (user, callbackFun) => {\r\n fetchStart();\r\n httpClient\r\n .post('System/Login/LoginForClientUser', user)\r\n .then(({ data }) => {\r\n if (data.result) {\r\n if (data.code === 0) {\r\n fetchSuccess();\r\n httpClient.defaults.headers.common['Authorization'] = 'Bearer ' + data.data;\r\n uploadClient.defaults.headers.common['Authorization'] = 'Bearer ' + data.data;\r\n localStorage.setItem('token', data.data);\r\n getAuthUser();\r\n if (callbackFun) callbackFun();\r\n }\r\n if (data.code === 2) {\r\n data.Remember = user.Remember === true ? true : false;\r\n setLoginSecurityCodeData(data);\r\n setShowLoginSecurityCode(true);\r\n setLoading(false);\r\n }\r\n } else {\r\n fetchError(data.message);\r\n }\r\n })\r\n .catch(function (error) {\r\n fetchError(error.message);\r\n });\r\n };\r\n\r\n const checkLoginSecurityCode = (user, callbackFun) => {\r\n fetchStart();\r\n httpClient\r\n .post('System/Login/CheckLoginSecurityCode', user)\r\n .then(({ data }) => {\r\n if (data.result) {\r\n fetchSuccess();\r\n setShowLoginSecurityCode(false);\r\n httpClient.defaults.headers.common['Authorization'] = 'Bearer ' + data.data;\r\n uploadClient.defaults.headers.common['Authorization'] = 'Bearer ' + data.data;\r\n localStorage.setItem('token', data.data);\r\n getAuthUser();\r\n if (callbackFun) callbackFun();\r\n } else {\r\n fetchError(data.message);\r\n }\r\n })\r\n .catch(function (error) {\r\n fetchError(error.message);\r\n });\r\n }\r\n\r\n const userSignup = (user, callbackFun) => {\r\n fetchStart();\r\n httpClient\r\n .post('auth/register', user)\r\n .then(({ data }) => {\r\n if (data.result) {\r\n fetchSuccess();\r\n localStorage.setItem('token', data.data);\r\n httpClient.defaults.headers.common['Authorization'] = 'Bearer ' + data.data;\r\n uploadClient.defaults.headers.common['Authorization'] = 'Bearer ' + data.data;\r\n getAuthUser();\r\n if (callbackFun) callbackFun();\r\n } else {\r\n fetchError(data.message);\r\n }\r\n })\r\n .catch(function (error) {\r\n fetchError(error.message);\r\n });\r\n };\r\n\r\n const sendPasswordResetEmail = (email, callbackFun) => {\r\n fetchStart();\r\n\r\n setTimeout(() => {\r\n fetchSuccess();\r\n if (callbackFun) callbackFun();\r\n }, 300);\r\n };\r\n\r\n const confirmPasswordReset = (code, password, callbackFun) => {\r\n fetchStart();\r\n\r\n setTimeout(() => {\r\n fetchSuccess();\r\n if (callbackFun) callbackFun();\r\n }, 300);\r\n };\r\n\r\n const renderSocialMediaLogin = () => null;\r\n\r\n const userSignOut = (callbackFun) => {\r\n httpClient.defaults.headers.common['Authorization'] = '';\r\n uploadClient.defaults.headers.common['Authorization'] = '';\r\n localStorage.removeItem('token');\r\n fetchSuccess();\r\n setAuthUser(false);\r\n dispatch(setInitUrl('/jobs'));\r\n if (callbackFun) callbackFun();\r\n\r\n // fetchStart();\r\n httpClient\r\n .post('System/Login/Logout')\r\n .then(({ data }) => {\r\n if (data.result) {\r\n // httpClient.defaults.headers.common['Authorization'] = '';\r\n // uploadClient.defaults.headers.common['Authorization'] = '';\r\n // localStorage.removeItem('token');\r\n // fetchSuccess();\r\n // setAuthUser(false);\r\n // if (callbackFun) callbackFun();\r\n } else {\r\n fetchError(data.message);\r\n }\r\n })\r\n .catch(function (error) {\r\n fetchError(error.message);\r\n });\r\n };\r\n\r\n const getAuthUser = () => {\r\n fetchStart();\r\n httpClient\r\n .post('System/Authentication/ClientUser')\r\n .then(({ data }) => {\r\n if (data.result) {\r\n fetchSuccess();\r\n let clientUser = data.data;\r\n globalFunction.decompressData(clientUser.webUIConfig).then(function (data) {\r\n clientUser.webUIConfig = data;\r\n console.log(clientUser);\r\n setAuthUser(clientUser);\r\n setLoadingUser(false);\r\n }).catch(function (error) {\r\n // 处理错误\r\n console.error(error);\r\n setLoadingUser(false);\r\n });\r\n } else {\r\n fetchError(data.message);\r\n }\r\n })\r\n .catch(function (error) {\r\n // httpClient.defaults.headers.common['Authorization'] = '';\r\n // uploadClient.defaults.headers.common['Authorization'] = '';\r\n fetchError(error.message);\r\n });\r\n };\r\n\r\n // Subscribe to user on mount\r\n // Because this sets state in the callback it will cause any ...\r\n // ... component that utilizes this hook to re-render with the ...\r\n // ... latest auth object.\r\n\r\n useEffect(() => {\r\n const token = localStorage.getItem('token');\r\n if (token) {\r\n httpClient.defaults.headers.common['Authorization'] = 'Bearer ' + token;\r\n uploadClient.defaults.headers.common['Authorization'] = 'Bearer ' + token;\r\n\r\n httpClient\r\n .post('System/Authentication/ClientUser')\r\n .then(({ data }) => {\r\n if (data.result) {\r\n let clientUser = data.data;\r\n globalFunction.decompressData(clientUser.webUIConfig).then(function (data) {\r\n clientUser.webUIConfig = data;\r\n console.log(clientUser);\r\n setAuthUser(clientUser);\r\n setLoadingUser(false);\r\n }).catch(function (error) {\r\n // 处理错误\r\n console.error(error);\r\n setLoadingUser(false);\r\n });\r\n } else {\r\n setLoadingUser(false);\r\n }\r\n })\r\n .catch(function () {\r\n // localStorage.removeItem('token');\r\n // httpClient.defaults.headers.common['Authorization'] = '';\r\n // uploadClient.defaults.headers.common['Authorization'] = '';\r\n setLoadingUser(false);\r\n });\r\n } else {\r\n localStorage.removeItem('token');\r\n httpClient.defaults.headers.common['Authorization'] = '';\r\n uploadClient.defaults.headers.common['Authorization'] = '';\r\n setLoadingUser(false);\r\n }\r\n }, []);\r\n\r\n // Return the user object and auth methods\r\n return {\r\n isLoadingUser,\r\n isLoading,\r\n authUser,\r\n error,\r\n setError,\r\n setAuthUser,\r\n getAuthUser,\r\n userLogin,\r\n userSignup,\r\n userSignOut,\r\n renderSocialMediaLogin,\r\n sendPasswordResetEmail,\r\n confirmPasswordReset,\r\n loginSecurityCodeData,\r\n showLoginSecurityCode,\r\n setShowLoginSecurityCode,\r\n checkLoginSecurityCode\r\n };\r\n};\r\n","import React, { createContext, useContext } from 'react';\r\nimport { useProvideAuth } from './auth-methods/jwt-auth';\r\n\r\nconst authContext = createContext();\r\n// Provider component that wraps your app and makes auth object ..\r\n// ... available to any child component that calls useAuth().\r\n\r\nexport function AuthProvider({ children }) {\r\n const auth = useProvideAuth();\r\n return {children};\r\n}\r\n\r\n// Hook for child components to get the auth object ...\r\n// ... and re-render when it changes.\r\n\r\nexport const useAuth = () => {\r\n return useContext(authContext);\r\n};\r\n","import {INIT_URL, SWITCH_LANGUAGE} from \"../../constants/ActionTypes\";\r\nimport {\r\n LAYOUT_TYPE,\r\n LAYOUT_TYPE_FULL,\r\n NAV_STYLE,\r\n NAV_STYLE_FIXED,\r\n THEME_COLOR,\r\n THEME_TYPE,\r\n THEME_TYPE_SEMI_DARK, UPDATE_RTL_STATUS\r\n} from \"../../constants/ThemeSetting\";\r\n\r\nconst initialSettings = {\r\n navStyle: NAV_STYLE_FIXED,\r\n layoutType: LAYOUT_TYPE_FULL,\r\n themeType: THEME_TYPE_SEMI_DARK,\r\n themeColor: '',\r\n\r\n isDirectionRTL: false,\r\n locale: {\r\n languageId: 'english',\r\n locale: 'en',\r\n name: 'English',\r\n icon: 'us'\r\n },\r\n initURL: '',\r\n};\r\n\r\nconst SettingsReducer = (state = initialSettings, action) => {\r\n switch (action.type) {\r\n\r\n case THEME_TYPE:\r\n return {\r\n ...state,\r\n themeType: action.themeType\r\n };\r\n case THEME_COLOR:\r\n return {\r\n ...state,\r\n themeColor: action.themeColor\r\n };\r\n\r\n case UPDATE_RTL_STATUS:\r\n return {\r\n ...state,\r\n isDirectionRTL: action.rtlStatus\r\n };\r\n\r\n case NAV_STYLE:\r\n return {\r\n ...state,\r\n navStyle: action.navStyle\r\n };\r\n case LAYOUT_TYPE:\r\n return {\r\n ...state,\r\n layoutType: action.layoutType\r\n };\r\n\r\n case SWITCH_LANGUAGE:\r\n return {\r\n ...state,\r\n locale: action.payload,\r\n\r\n };\r\n\r\n case INIT_URL: {\r\n return {\r\n ...state,\r\n initURL: action.payload\r\n }\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\r\nexport default SettingsReducer;\r\n","import {FETCH_ERROR, FETCH_START, FETCH_SUCCESS, HIDE_MESSAGE, SHOW_MESSAGE} from '../../constants/ActionTypes'\r\nimport {TOGGLE_COLLAPSED_NAV, WINDOW_WIDTH} from \"../../constants/ActionTypes\";\r\n\r\nconst INIT_STATE = {\r\n error: \"\",\r\n loading: false,\r\n message: '',\r\n navCollapsed: true,\r\n width: window.innerWidth,\r\n pathname: '/',\r\n};\r\n\r\nconst CommonReducer = (state = INIT_STATE, action) => {\r\n switch (action.type) {\r\n case '@@router/LOCATION_CHANGE': {\r\n return {\r\n ...state,\r\n pathname: action.payload.location.pathname,\r\n navCollapsed: false\r\n }\r\n }\r\n case WINDOW_WIDTH:\r\n return {\r\n ...state,\r\n width: action.width,\r\n };\r\n case TOGGLE_COLLAPSED_NAV: {\r\n return {\r\n ...state,\r\n navCollapsed: action.navCollapsed\r\n }\r\n }\r\n case FETCH_START: {\r\n return {...state, error: '', message: '', loading: true};\r\n }\r\n case FETCH_SUCCESS: {\r\n return {...state, error: '', message: '', loading: false};\r\n }\r\n case SHOW_MESSAGE: {\r\n return {...state, error: '', message: action.payload, loading: false};\r\n }\r\n case FETCH_ERROR: {\r\n return {...state, loading: false, error: action.payload, message: ''};\r\n }\r\n case HIDE_MESSAGE: {\r\n return {...state, loading: false, error: '', message: ''};\r\n }\r\n default:\r\n return state;\r\n }\r\n}\r\n\r\nexport default CommonReducer;\r\n","import { combineReducers } from 'redux'\r\nimport { connectRouter } from 'connected-react-router'\r\nimport Settings from \"./Settings\";\r\nimport Common from \"./Common\";\r\n\r\nconst createRootReducer = (history) => combineReducers({\r\n router: connectRouter(history),\r\n settings: Settings,\r\n common: Common,\r\n});\r\n\r\nexport default createRootReducer;\r\n","import {applyMiddleware, compose, createStore} from 'redux'\r\nimport {routerMiddleware} from 'connected-react-router'\r\nimport thunk from 'redux-thunk';\r\nimport createRootReducer from '../reducers'\r\n\r\nconst createBrowserHistory = require('history').createBrowserHistory;\r\nexport const history = createBrowserHistory();\r\nconst routeMiddleware = routerMiddleware(history);\r\nconst middlewares = [thunk, routeMiddleware];\r\n\r\nexport default function configureStore(preloadedState = {}) {\r\n return createStore(\r\n createRootReducer(history), // root reducer with router state\r\n preloadedState,\r\n compose(\r\n applyMiddleware(\r\n routerMiddleware(history), // for dispatching history actions\r\n ...middlewares\r\n ),\r\n ),\r\n );\r\n}\r\n","import antdEN from \"antd/lib/locale-provider/en_US\";\r\nimport enMessages from \"../locales/en_US.json\";\r\n\r\nconst EnLang = {\r\n messages: {\r\n ...enMessages\r\n },\r\n antd: antdEN,\r\n locale: 'en-US',\r\n};\r\nexport default EnLang;\r\n","import zhCN from 'antd/lib/locale-provider/zh_CN';\r\nimport zhMessages from \"../locales/zh-Hans.json\";\r\n\r\nconst ZhLan = {\r\n messages: {\r\n ...zhMessages\r\n },\r\n antd: zhCN,\r\n locale: 'zh-Hans-CN',\r\n};\r\nexport default ZhLan;\r\n","import antdAR from \"antd/lib/locale-provider/ar_EG\";\r\nimport saMessages from \"../locales/ar_SA.json\";\r\n\r\nconst saLang = {\r\n messages: {\r\n ...saMessages\r\n },\r\n antd: antdAR,\r\n locale: 'ar',\r\n};\r\nexport default saLang;\r\n","import antdIT from 'antd/lib/locale-provider/it_IT';\r\nimport saMessages from \"../locales/it_IT.json\";\r\n\r\nconst saLang = {\r\n messages: {\r\n ...saMessages\r\n },\r\n antd: antdIT,\r\n locale: 'it-IT',\r\n};\r\nexport default saLang;\r\n","import antdES from \"antd/lib/locale-provider/es_ES\";\r\nimport saMessages from \"../locales/es_ES.json\";\r\n\r\nconst saLang = {\r\n messages: {\r\n ...saMessages\r\n },\r\n antd: antdES,\r\n locale: 'es',\r\n};\r\nexport default saLang;\r\n","import enLang from \"./entries/en-US\";\r\nimport zhLang from \"./entries/zh-Hans-CN\";\r\nimport arLang from \"./entries/ar_SA\";\r\nimport itLang from \"./entries/it_IT\";\r\nimport esLang from \"./entries/es_ES\";\r\nimport frLang from \"./entries/fr_FR\";\r\n\r\nconst AppLocale = {\r\n en: enLang,\r\n zh: zhLang,\r\n ar: arLang,\r\n it: itLang,\r\n es: esLang,\r\n fr: frLang\r\n};\r\n\r\nexport default AppLocale;\r\n","import antdFR from \"antd/lib/locale-provider/fr_FR\";\r\nimport saMessages from \"../locales/fr_FR.json\";\r\n\r\nconst saLang = {\r\n messages: {\r\n ...saMessages\r\n },\r\n antd: antdFR,\r\n locale: 'fr-FR',\r\n};\r\nexport default saLang;\r\n","import React from \"react\";\r\nimport { Scrollbars } from \"react-custom-scrollbars\";\r\n\r\nconst CustomScrollbars = (props) =>
} />;\r\n\r\nexport default CustomScrollbars;\r\n","const languageData = [\r\n {\r\n languageId: 'english',\r\n locale: 'en',\r\n name: 'English',\r\n icon: 'us'\r\n },\r\n {\r\n languageId: 'chinese',\r\n locale: 'zh',\r\n name: 'Chinese',\r\n icon: 'cn'\r\n },\r\n {\r\n languageId: 'spanish',\r\n locale: 'es',\r\n name: 'Spanish',\r\n icon: 'es'\r\n },\r\n {\r\n languageId: 'french',\r\n locale: 'fr',\r\n name: 'French',\r\n icon: 'fr'\r\n },\r\n {\r\n languageId: 'italian',\r\n locale: 'it',\r\n name: 'Italian',\r\n icon: 'it'\r\n },\r\n {\r\n languageId: 'saudi-arabia',\r\n locale: 'ar',\r\n name: 'Arabic',\r\n icon: 'sa'\r\n }\r\n\r\n];\r\nexport default languageData;\r\n","import React from \"react\";\r\nimport { Input, Tooltip } from 'antd';\r\n\r\nconst SearchBox = ({ styleName, placeholder, onChange, onKeyDown, onSearch, value }) => {\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 SearchBox;\r\n\r\nSearchBox.defaultProps = {\r\n styleName: \"\",\r\n value: \"\",\r\n};\r\n","import React from \"react\";\r\nimport { Avatar, Popover } from \"antd\";\r\nimport { useAuth } from \"../../authentication\";\r\nimport { useHistory } from \"react-router-dom\";\r\n\r\nconst UserInfo = () => {\r\n const { userSignOut } = useAuth();\r\n const history = useHistory();\r\n\r\n const onLogoutClick = () => {\r\n userSignOut(() => {\r\n history.push('/');\r\n });\r\n }\r\n\r\n const userMenuOptions = (\r\n
    \r\n
  • { history.push('/my-profile'); }}>My Profile
  • \r\n
  • Logout
  • \r\n
\r\n );\r\n\r\n return (\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default UserInfo;\r\n","import React from \"react\";\r\nimport {Avatar} from \"antd\";\r\n\r\n\r\nconst NotificationItem = ({notification}) => {\r\n const {icon, image, title, time} = notification;\r\n return (\r\n\r\n
  • \r\n \r\n
    \r\n

    {title}

    \r\n {time}\r\n
    \r\n
  • \r\n );\r\n};\r\n\r\nexport default NotificationItem;\r\n","export const notifications = [\r\n\r\n {\r\n image: \"https://via.placeholder.com/150\",\r\n title: \"Stella Johnson has recently posted an album\",\r\n time: \"4:10 PM\",\r\n icon: \"thumb-up gx-text-blue\",\r\n }, {\r\n image: \"https://via.placeholder.com/150\",\r\n title: \"Alex Brown has shared Martin Guptil's post\",\r\n time: \"5:18 PM\",\r\n icon: \"chat gx-text-grey\",\r\n }, {\r\n image:\"https://via.placeholder.com/150\",\r\n title: \"Domnic Brown has sent you a group invitation for Global Health\",\r\n time: \"5:36 PM\",\r\n icon: \"birthday text-info\",\r\n }, {\r\n image:\"https://via.placeholder.com/150\",\r\n title: \"John Smith has birthday today\",\r\n time: \"5:54 PM\",\r\n icon: \"birthday gx-text-warning\",\r\n }, {\r\n image: \"https://via.placeholder.com/150\",\r\n title: \"Chris has updated his profile picture\",\r\n time: \"5:25 PM\",\r\n icon: \"profile gx-text-grey\",\r\n }\r\n];\r\n","import React from \"react\";\r\nimport NotificationItem from \"./NotificationItem\";\r\nimport {notifications} from \"./data\";\r\nimport CustomScrollbars from \"util/CustomScrollbars\";\r\nimport Auxiliary from \"util/Auxiliary\";\r\n\r\nconst AppNotification = () => {\r\n return (\r\n \r\n
    \r\n

    Notifications

    \r\n \r\n
    \r\n \r\n
      \r\n {notifications.map((notification, index) => )\r\n }\r\n
    \r\n
    \r\n
    \r\n )\r\n};\r\n\r\nexport default AppNotification;\r\n\r\n","import React from \"react\";\r\nimport {Avatar} from \"antd\";\r\n\r\nconst NotificationItem = ({notification}) => {\r\n const {image, badge, name, time, message} = notification;\r\n return (\r\n
  • \r\n
    \r\n \r\n {badge > 0 ? {badge} : null}\r\n
    \r\n
    \r\n
    \r\n
    {name}
    \r\n {time}\r\n
    \r\n

    {message}

    \r\n Reply\r\n Read\r\n
    \r\n
  • \r\n );\r\n};\r\n\r\nexport default NotificationItem;\r\n","export const notifications = [\r\n {\r\n id: 1,\r\n image: \"https://via.placeholder.com/150\",\r\n name: \"Domnic Brown\",\r\n time: \"6:19 PM\",\r\n message: \"There are many variations of passages of...\",\r\n badge: 5\r\n },\r\n {\r\n id: 2,\r\n image: \"https://via.placeholder.com/150\",\r\n name: \"John Smith\",\r\n time: \"4:18 PM\",\r\n message: \"Lorem Ipsum is simply dummy text of the...\",\r\n },\r\n {\r\n id: 3,\r\n image:\"https://via.placeholder.com/150\",\r\n name: \"John Smith\",\r\n time: \"7:10 PM\",\r\n message: \"The point of using Lorem Ipsum is that it has a...\",\r\n badge: 8\r\n },\r\n {\r\n id: 4,\r\n image: \"https://via.placeholder.com/150\",\r\n name: \"alex dolgove\",\r\n time: \"5:10 PM\",\r\n message: \"It is a long established fact that a reader will...\",\r\n },\r\n {\r\n id: 5,\r\n image: \"https://via.placeholder.com/150\",\r\n name: \"Domnic Harris\",\r\n time: \"7:35 PM\",\r\n message: \"All the Lorem Ipsum generators on the...\",\r\n badge: 3\r\n }\r\n];\r\n","import React from \"react\";\r\nimport NotificationItem from \"./NotificationItem\";\r\nimport {notifications} from \"./data\";\r\nimport CustomScrollbars from 'util/CustomScrollbars'\r\nimport Auxiliary from \"util/Auxiliary\";\r\n\r\nconst MailNotification = () => {\r\n return (\r\n \r\n
    \r\n

    Messages

    \r\n \r\n
    \r\n \r\n
      \r\n {notifications.map((notification, index) => )}\r\n
    \r\n
    \r\n
    \r\n )\r\n};\r\n\r\nexport default MailNotification;\r\n\r\n","import React from \"react\";\r\nimport {useSelector} from \"react-redux\";\r\nimport {Menu} from \"antd\";\r\nimport {Link} from \"react-router-dom\";\r\nimport IntlMessages from \"../../util/IntlMessages\";\r\nimport {\r\n NAV_STYLE_ABOVE_HEADER,\r\n NAV_STYLE_BELOW_HEADER,\r\n NAV_STYLE_DEFAULT_HORIZONTAL,\r\n NAV_STYLE_INSIDE_HEADER_HORIZONTAL\r\n} from \"../../constants/ThemeSetting\";\r\n\r\nconst SubMenu = Menu.SubMenu;\r\n\r\nconst HorizontalNav = () => {\r\n const navStyle = useSelector(({settings}) => settings.navStyle);\r\n const pathname = useSelector(({common}) => common.pathname);\r\n\r\n const getNavStyleSubMenuClass = (navStyle) => {\r\n switch (navStyle) {\r\n case NAV_STYLE_DEFAULT_HORIZONTAL:\r\n return \"gx-menu-horizontal gx-submenu-popup-curve\";\r\n case NAV_STYLE_INSIDE_HEADER_HORIZONTAL:\r\n return \"gx-menu-horizontal gx-submenu-popup-curve gx-inside-submenu-popup-curve\";\r\n case NAV_STYLE_BELOW_HEADER:\r\n return \"gx-menu-horizontal gx-submenu-popup-curve gx-below-submenu-popup-curve\";\r\n case NAV_STYLE_ABOVE_HEADER:\r\n return \"gx-menu-horizontal gx-submenu-popup-curve gx-above-submenu-popup-curve\";\r\n default:\r\n return \"gx-menu-horizontal\";\r\n }\r\n };\r\n\r\n const selectedKeys = pathname.substr(1);\r\n const defaultOpenKeys = selectedKeys.split('/')[1];\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n Dashboard\r\n \r\n \r\n \r\n \r\n\r\n );\r\n};\r\n\r\nHorizontalNav.propTypes = {};\r\n\r\nexport default HorizontalNav;\r\n\r\n","import React, {useState} from \"react\";\r\nimport {Button, Dropdown, Layout, Menu, message, Popover, Select} from 'antd';\r\nimport Icon from '@ant-design/icons';\r\nimport {useDispatch, useSelector} from \"react-redux\";\r\nimport CustomScrollbars from \"util/CustomScrollbars\";\r\nimport languageData from \"../languageData\";\r\nimport SearchBox from \"../../../components/SearchBox\";\r\nimport UserInfo from \"../../../components/UserInfo\";\r\nimport AppNotification from \"../../../components/AppNotification\";\r\nimport MailNotification from \"../../../components/MailNotification\";\r\nimport HorizontalNav from \"../HorizontalNav\";\r\nimport {Link} from \"react-router-dom\";\r\nimport {switchLanguage, toggleCollapsedSideNav} from \"../../../appRedux/actions\";\r\nimport IntlMessages from \"../../../util/IntlMessages\";\r\nimport {TAB_SIZE} from \"../../../constants/ThemeSetting\";\r\n\r\nconst {Header} = Layout;\r\nconst Option = Select.Option;\r\nconst menu = (\r\n \r\n Products\r\n Apps\r\n Blogs\r\n \r\n);\r\n\r\nfunction handleMenuClick(e) {\r\n message.info('Click on menu item.');\r\n}\r\n\r\nfunction handleChange(value) {\r\n}\r\n\r\nconst HorizontalDefault = () => {\r\n const navCollapsed = useSelector(({common}) => common.navCollapsed);\r\n const width = useSelector(({common}) => common.width);\r\n const {locale} = useSelector(({settings}) => settings);\r\n const [searchText, setSearchText] = useState('');\r\n const dispatch = useDispatch();\r\n\r\n const languageMenu = () => (\r\n \r\n
      \r\n {languageData.map(language =>\r\n
    • \r\n dispatch(switchLanguage(language))\r\n }>\r\n \r\n {language.name}\r\n
    • \r\n )}\r\n
    \r\n
    );\r\n\r\n const updateSearchChatUser = (evt) => {\r\n setSearchText(evt.target.value)\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\n
    • Login
    • \r\n
    • Signup
    • \r\n
    \r\n
    \r\n
    \r\n
    \r\n\r\n \r\n
    \r\n
    \r\n\r\n
    \r\n {\r\n dispatch(toggleCollapsedSideNav(!navCollapsed));\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 } trigger=\"click\">\r\n \r\n\r\n \r\n \r\n
  • \r\n }\r\n trigger=\"click\">\r\n \r\n \r\n
  • \r\n\r\n
  • \r\n } trigger=\"click\">\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 {width >= TAB_SIZE && (\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 HorizontalDefault;\r\n","import React, {useState} from \"react\";\r\nimport {Button, Dropdown, Layout, Menu, message, Popover, Select} from 'antd';\r\nimport Icon from '@ant-design/icons';\r\nimport {useDispatch, useSelector} from \"react-redux\";\r\nimport CustomScrollbars from \"util/CustomScrollbars\";\r\nimport languageData from \"../languageData\";\r\nimport SearchBox from \"../../../components/SearchBox\";\r\nimport UserInfo from \"../../../components/UserInfo\";\r\nimport AppNotification from \"../../../components/AppNotification\";\r\nimport MailNotification from \"../../../components/MailNotification\";\r\nimport {Link} from \"react-router-dom\";\r\nimport HorizontalNav from \"../HorizontalNav\";\r\nimport {switchLanguage, toggleCollapsedSideNav} from \"../../../appRedux/actions\";\r\nimport IntlMessages from \"../../../util/IntlMessages\";\r\nimport {TAB_SIZE} from \"../../../constants/ThemeSetting\";\r\n\r\nconst {Header} = Layout;\r\n\r\nconst Option = Select.Option;\r\nconst menu = (\r\n \r\n Products\r\n Apps\r\n Blogs\r\n \r\n);\r\n\r\nfunction handleMenuClick(e) {\r\n message.info('Click on menu item.');\r\n}\r\n\r\nfunction handleChange(value) {\r\n}\r\n\r\nconst HorizontalDark = () => {\r\n const [searchText, setSearchText] = useState('');\r\n const navCollapsed = useSelector(({common}) => common.navCollapsed);\r\n const width = useSelector(({common}) => common.width);\r\n const {locale} = useSelector(({settings}) => settings);\r\n const dispatch = useDispatch();\r\n\r\n const languageMenu = () => (\r\n \r\n
      \r\n {languageData.map(language =>\r\n
    • \r\n dispatch(switchLanguage(language))\r\n }>\r\n \r\n {language.name}\r\n
    • \r\n )}\r\n
    \r\n
    );\r\n\r\n const updateSearchChatUser = (evt) => {\r\n setSearchText(evt.target.value)\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\n
    • Login
    • \r\n
    • Signup
    • \r\n
    \r\n
    \r\n
    \r\n
    \r\n\r\n \r\n
    \r\n
    \r\n
    \r\n {\r\n dispatch(toggleCollapsedSideNav(!navCollapsed));\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 } trigger=\"click\">\r\n \r\n\r\n \r\n \r\n\r\n
  • \r\n }\r\n trigger=\"click\">\r\n \r\n \r\n
  • \r\n\r\n
  • \r\n } trigger=\"click\">\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 {width >= TAB_SIZE && (\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 HorizontalDark;\r\n","import React, {useState} from \"react\";\r\nimport {Button, Dropdown, Layout, Menu, message, Popover} from 'antd';\r\nimport Icon from '@ant-design/icons';\r\nimport {useDispatch, useSelector} from \"react-redux\";\r\nimport CustomScrollbars from \"util/CustomScrollbars\";\r\nimport languageData from \"../languageData\";\r\nimport SearchBox from \"components/SearchBox\";\r\nimport UserInfo from \"components/UserInfo\";\r\nimport AppNotification from \"components/AppNotification\";\r\nimport MailNotification from \"components/MailNotification\";\r\nimport HorizontalNav from \"../HorizontalNav\";\r\nimport {Link} from \"react-router-dom\";\r\nimport {switchLanguage, toggleCollapsedSideNav} from \"../../../appRedux/actions\";\r\nimport IntlMessages from \"../../../util/IntlMessages\";\r\nimport {TAB_SIZE} from \"../../../constants/ThemeSetting\";\r\n\r\nconst {Header} = Layout;\r\n\r\nconst menu = (\r\n \r\n Products\r\n Apps\r\n Blogs\r\n \r\n);\r\n\r\nfunction handleMenuClick(e) {\r\n message.info('Click on menu item.');\r\n}\r\n\r\nconst InsideHeader = () => {\r\n const [searchText, setSearchText] = useState('');\r\n const {locale} = useSelector(({settings}) => settings);\r\n const navCollapsed = useSelector(({common}) => common.navCollapsed);\r\n const width = useSelector(({common}) => common.width);\r\n const dispatch = useDispatch();\r\n\r\n const languageMenu = () => (\r\n \r\n
      \r\n {languageData.map(language =>\r\n
    • \r\n dispatch(switchLanguage(language))\r\n }>\r\n \r\n {language.name}\r\n
    • \r\n )}\r\n
    \r\n
    );\r\n\r\n const updateSearchChatUser = (evt) => {\r\n setSearchText(evt.target.value)\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\n
    • Login
    • \r\n
    • Signup
    • \r\n
    \r\n
    \r\n
    \r\n
    \r\n\r\n \r\n
    \r\n
    \r\n
    \r\n {\r\n dispatch(toggleCollapsedSideNav(!navCollapsed));\r\n }}\r\n />\r\n
    \r\n \r\n \"\"\r\n \r\n \"\"\r\n\r\n {width >= TAB_SIZE && (\r\n
    \r\n \r\n
    \r\n )}\r\n\r\n
      \r\n
    • \r\n \r\n \r\n \r\n
    \r\n } trigger=\"click\">\r\n\r\n \r\n\r\n \r\n \r\n\r\n
  • \r\n }\r\n trigger=\"click\">\r\n \r\n \r\n
  • \r\n\r\n
  • \r\n } trigger=\"click\">\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 InsideHeader;\r\n","import React, {useState} from \"react\";\r\nimport {Button, Dropdown, Layout, Menu, message, Popover, Select} from 'antd';\r\nimport Icon from '@ant-design/icons';\r\nimport {useDispatch, useSelector} from \"react-redux\";\r\nimport CustomScrollbars from \"util/CustomScrollbars\";\r\n\r\nimport languageData from \"../languageData\";\r\nimport SearchBox from \"../../../components/SearchBox\";\r\nimport UserInfo from \"../../../components/UserInfo\";\r\nimport AppNotification from \"../../../components/AppNotification\";\r\nimport MailNotification from \"../../../components/MailNotification\";\r\nimport {switchLanguage, toggleCollapsedSideNav} from \"../../../appRedux/actions\";\r\n\r\nimport {TAB_SIZE} from \"../../../constants/ThemeSetting\";\r\nimport HorizontalNav from \"../HorizontalNav\";\r\nimport {Link} from \"react-router-dom\";\r\nimport IntlMessages from \"../../../util/IntlMessages\";\r\n\r\nconst {Header} = Layout;\r\n\r\nconst Option = Select.Option;\r\nconst menu = (\r\n \r\n Products\r\n Blog\r\n Apps\r\n \r\n);\r\n\r\nfunction handleMenuClick() {\r\n message.info('Click on menu item.');\r\n}\r\n\r\nfunction handleChange(value) {\r\n}\r\n\r\nconst AboveHeader = () => {\r\n const locale = useSelector(({settings}) => settings.locale);\r\n const navCollapsed = useSelector(({common}) => common.navCollapsed);\r\n const width = useSelector(({common}) => common.width);\r\n const [searchText, setSearchText] = useState('');\r\n const dispatch = useDispatch();\r\n\r\n const languageMenu = () => (\r\n \r\n
      \r\n {languageData.map(language =>\r\n
    • \r\n dispatch(switchLanguage(language))\r\n }>\r\n \r\n {language.name}\r\n
    • \r\n )}\r\n
    \r\n
    );\r\n\r\n const updateSearchChatUser = (evt) => {\r\n setSearchText(evt.target.value)\r\n };\r\n\r\n return (\r\n
    \r\n\r\n {width >= TAB_SIZE && (\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 if (width <= TAB_SIZE) {\r\n dispatch(toggleCollapsedSideNav(!navCollapsed));\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 } trigger=\"click\">\r\n \r\n \r\n \r\n\r\n
  • \r\n }\r\n trigger=\"click\">\r\n \r\n \r\n
  • \r\n\r\n
  • \r\n } trigger=\"click\">\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 AboveHeader;\r\n","import React, {useState} from \"react\";\r\nimport {Button, Dropdown, Layout, Menu, message, Popover, Select} from 'antd';\r\nimport Icon from '@ant-design/icons';\r\nimport {useDispatch, useSelector} from \"react-redux\";\r\nimport CustomScrollbars from \"util/CustomScrollbars\";\r\nimport languageData from \"../languageData\";\r\nimport SearchBox from \"../../../components/SearchBox\";\r\nimport UserInfo from \"../../../components/UserInfo\";\r\nimport AppNotification from \"../../../components/AppNotification\";\r\nimport MailNotification from \"../../../components/MailNotification\";\r\nimport {switchLanguage, toggleCollapsedSideNav} from \"../../../appRedux/actions\";\r\nimport HorizontalNav from \"../HorizontalNav\";\r\nimport {Link} from \"react-router-dom\";\r\nimport IntlMessages from \"util/IntlMessages\";\r\nimport {TAB_SIZE} from \"../../../constants/ThemeSetting\";\r\n\r\nconst {Header} = Layout;\r\n\r\nconst Option = Select.Option;\r\nconst menu = (\r\n \r\n Products\r\n Apps\r\n Blogs\r\n \r\n);\r\n\r\nfunction handleMenuClick(e) {\r\n message.info('Click on menu item.');\r\n}\r\n\r\nfunction handleChange(value) {\r\n}\r\n\r\nconst BelowHeader = () => {\r\n const [searchText, setSearchText] = useState('');\r\n const navCollapsed = useSelector(({common}) => common.navCollapsed);\r\n const width = useSelector(({common}) => common.width);\r\n const {locale} = useSelector(({settings}) => settings);\r\n const dispatch = useDispatch();\r\n\r\n const languageMenu = () => (\r\n \r\n
      \r\n {languageData.map(language =>\r\n
    • \r\n dispatch(switchLanguage(language))\r\n }>\r\n \r\n {language.name}\r\n
    • \r\n )}\r\n
    \r\n
    );\r\n\r\n const updateSearchChatUser = (evt) => {\r\n setSearchText(evt.target.value)\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\n
    • Login
    • \r\n
    • Signup
    • \r\n
    \r\n
    \r\n
    \r\n
    \r\n\r\n \r\n
    \r\n
    \r\n\r\n
    \r\n {\r\n dispatch(toggleCollapsedSideNav(!navCollapsed));\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 } trigger=\"click\">\r\n \r\n \r\n \r\n\r\n
  • \r\n }\r\n trigger=\"click\">\r\n \r\n \r\n
  • \r\n\r\n
  • \r\n } trigger=\"click\">\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 {width >= TAB_SIZE && (\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 BelowHeader;\r\n","import React from \"react\";\r\nimport { Avatar, Popover } from \"antd\";\r\nimport { useAuth } from \"../../authentication\";\r\nimport { useHistory } from \"react-router-dom\";\r\nimport * as globalFunction from 'util/GlobalFunction';\r\n\r\nconst UserProfile = () => {\r\n const { authUser, userSignOut } = useAuth();\r\n const history = useHistory();\r\n\r\n const onLogoutClick = () => {\r\n userSignOut(() => {\r\n history.push('/');\r\n });\r\n }\r\n\r\n const userMenuOptions = (\r\n
      \r\n
    • \r\n
      {authUser.FirstName} {authUser.LastName}
      \r\n
      {authUser.Email}
      \r\n
      {authUser.Client.Name}
      \r\n
    • \r\n
    • { history.push('/my-profile'); }}>My Profile
    • \r\n
    • Logout
    • \r\n
    \r\n );\r\n\r\n return (\r\n
    \r\n \r\n {globalFunction.getAvatarName(authUser.FirstName + ' ' + authUser.LastName)}\r\n \r\n \r\n
    \r\n )\r\n};\r\n\r\nexport default UserProfile;\r\n","import React, { useState, useEffect } from \"react\";\r\nimport { Layout, Popover, Divider, Button, message } from \"antd\";\r\nimport { Link, useHistory, useLocation } from \"react-router-dom\";\r\nimport CustomScrollbars from \"util/CustomScrollbars\";\r\nimport languageData from \"./languageData\";\r\nimport { switchLanguage, toggleCollapsedSideNav } from \"../../appRedux/actions\";\r\nimport SearchBox from \"../../components/SearchBox\";\r\nimport UserInfo from \"../../components/UserInfo\";\r\nimport AppNotification from \"../../components/AppNotification\";\r\nimport MailNotification from \"../../components/MailNotification\";\r\nimport Auxiliary from \"util/Auxiliary\";\r\nimport UserProfile from \"./UserProfile\";\r\n\r\nimport { NAV_STYLE_DRAWER, NAV_STYLE_FIXED, NAV_STYLE_MINI_SIDEBAR, TAB_SIZE } from \"../../constants/ThemeSetting\";\r\nimport { useDispatch, useSelector } from \"react-redux\";\r\n\r\nconst { Header } = Layout;\r\n\r\nconst Topbar = () => {\r\n const { locale, navStyle } = useSelector(({ settings }) => settings);\r\n const navCollapsed = useSelector(({ common }) => common.navCollapsed);\r\n const width = useSelector(({ common }) => common.width);\r\n const [searchText, setSearchText] = useState('');\r\n const [mouseEvent, setMouseEvent] = useState(null);\r\n const dispatch = useDispatch();\r\n const history = useHistory();\r\n const location = useLocation();\r\n\r\n const languageMenu = () => (\r\n \r\n
      \r\n {languageData.map(language =>\r\n
    • \r\n dispatch(switchLanguage(language))\r\n }>\r\n \r\n {language.name}\r\n
    • \r\n )}\r\n
    \r\n
    );\r\n\r\n const onChange = (evt) => {\r\n setSearchText(evt.target.value);\r\n };\r\n\r\n const onKeyDown = (evt) => {\r\n var evt = evt || window.event\r\n if (evt.keyCode == \"13\") {\r\n quickSearch();\r\n }\r\n };\r\n\r\n const onSearch = () => {\r\n quickSearch();\r\n };\r\n\r\n const quickSearch = () => {\r\n if (searchText.length >= 3) {\r\n history.push('/jobs?keyword=' + searchText);\r\n } else {\r\n message.info('Please enter 3 characters or more for quick search.');\r\n }\r\n };\r\n\r\n useEffect(() => {\r\n if (history.location.pathname === '/jobs' && history.location.search.indexOf('keyword') >= 0) {\r\n const urlParams = new URLSearchParams(history.location.search);\r\n let keyword = urlParams.get('keyword');\r\n setSearchText(keyword);\r\n } else {\r\n setSearchText('');\r\n }\r\n }, [location]);\r\n\r\n return (\r\n <>\r\n
    \r\n {navStyle === NAV_STYLE_DRAWER || ((navStyle === NAV_STYLE_FIXED || navStyle === NAV_STYLE_MINI_SIDEBAR) && width < TAB_SIZE) ?\r\n
    \r\n {\r\n dispatch(toggleCollapsedSideNav(!navCollapsed));\r\n }}\r\n />\r\n
    : null}\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 Topbar;\r\n","import React, { Component, useState, useEffect } from \"react\";\r\nimport { withRouter, Redirect } from 'react-router-dom'\r\n\r\nclass ErrorBoundary extends Component {\r\n state = {\r\n hasError: false,\r\n error: null\r\n };\r\n\r\n // 生命周期函数,一旦后台组件报错,就会触发\r\n static getDerivedStateFromError(error) {\r\n return {\r\n hasError: true,\r\n error: error\r\n };\r\n }\r\n\r\n componentDidCatch(error, info) {\r\n console.log(info);\r\n console.log(error);\r\n requestAnimationFrame(() => {\r\n this.props.history.push('/error?type=UI&message=' + error.stack.replace(/\\n/g, '
    '));\r\n });\r\n }\r\n\r\n render() {\r\n if (this.state.error) {\r\n // 如果发生错误,跳转到错误页面\r\n return <>;\r\n } else {\r\n return this.props.children;\r\n }\r\n }\r\n}\r\n\r\nexport default withRouter(ErrorBoundary);\r\n","import React from \"react\";\r\nimport { useHistory } from \"react-router-dom\";\r\nimport { config } from \"util/config\";\r\nimport { psmaClient, httpClient } from \"util/Api\";\r\nimport * as globalFunction from 'util/GlobalFunction';\r\n\r\nconst Error = () => {\r\n const areaName = \"System\";\r\n const pageName = \"Error\";\r\n\r\n const history = useHistory();\r\n const queryString = window.location.search;\r\n const urlParams = new URLSearchParams(queryString);\r\n // console.log(window.location)\r\n console.log(history.location)\r\n //以React.FC为页面入口获取当前用户信息,创建React.Component页面\r\n return (\r\n \r\n )\r\n}\r\nexport default Error;\r\n\r\nclass ErrorPage extends React.Component {\r\n constructor(props) {\r\n super();\r\n this.state = {\r\n\r\n }\r\n }\r\n\r\n render() {\r\n let type = this.props.urlParams.get('type');\r\n let message = this.props.urlParams.get('message');\r\n return (\r\n
    \r\n
    {type} Message
    \r\n \r\n
    \r\n )\r\n }\r\n}\r\n","import React from \"react\";\r\nimport { Route, Switch } from \"react-router-dom\";\r\nimport asyncComponent from \"util/asyncComponent\";\r\nimport ErrorBoundary from \"../routes/System/ErrorBoundary\";\r\nimport Error from \"../routes/System/Error\";\r\n\r\nconst App = ({ match }) => {\r\n return (\r\n
    \r\n \r\n \r\n import('./Admin'))} />\r\n import('./Business/Job/LodgeJob'))} />\r\n import('./Business/Job/JobPaging'))} />\r\n import('./Business/Job/MyJobPaging'))} />\r\n import('./Business/Job/JobDetail'))} />\r\n import('./Business/Job/JobNew'))} />\r\n import('./MyProfile'))} />\r\n import('./Business/Stats'))} />\r\n import('./Business/Report'))} />\r\n \r\n \r\n \r\n
    \r\n )\r\n\r\n};\r\n\r\nexport default App;\r\n","import React from \"react\";\r\nimport {useDispatch, useSelector} from \"react-redux\";\r\nimport {toggleCollapsedSideNav} from \"../../../appRedux/actions\";\r\nimport IntlMessages from \"util/IntlMessages\";\r\n\r\nconst NoHeaderNotification = () => {\r\n const dispatch = useDispatch();\r\n const navCollapsed = useSelector(({common}) => common.navCollapsed);\r\n\r\n return (\r\n
    \r\n
    \r\n {\r\n dispatch(toggleCollapsedSideNav(!navCollapsed));\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 NoHeaderNotification;\r\n","import React from \"react\";\r\nimport { useSelector } from \"react-redux\";\r\nimport { Link } from \"react-router-dom\";\r\nimport { useAuth } from \"../../authentication\";\r\nimport * as globalFunction from 'util/GlobalFunction';\r\nimport {\r\n NAV_STYLE_DRAWER,\r\n NAV_STYLE_FIXED,\r\n NAV_STYLE_MINI_SIDEBAR,\r\n NAV_STYLE_NO_HEADER_MINI_SIDEBAR,\r\n TAB_SIZE,\r\n THEME_TYPE_LITE\r\n} from \"../../constants/ThemeSetting\";\r\n\r\nconst SidebarLogo = ({ sidebarCollapsed, setSidebarCollapsed }) => {\r\n const { width, themeType } = useSelector(({ settings }) => settings);\r\n const { authUser } = useAuth();\r\n let navStyle = useSelector(({ settings }) => settings.navStyle);\r\n if (width < TAB_SIZE && navStyle === NAV_STYLE_FIXED) {\r\n navStyle = NAV_STYLE_DRAWER;\r\n }\r\n\r\n return (\r\n
    \r\n \r\n {navStyle === NAV_STYLE_NO_HEADER_MINI_SIDEBAR && width >= TAB_SIZE ?\r\n \"lo\" :\r\n themeType === THEME_TYPE_LITE ?\r\n \"logo\" :\r\n \"logo\"}\r\n \r\n {(navStyle === NAV_STYLE_FIXED || navStyle === NAV_STYLE_MINI_SIDEBAR) ?
    \r\n {\r\n setSidebarCollapsed(!sidebarCollapsed)\r\n }}\r\n />\r\n
    : null}\r\n
    \r\n );\r\n};\r\n\r\nexport default SidebarLogo;\r\n","import React, { useEffect, useState } from 'react';\r\nimport { Menu } from \"antd\";\r\nimport { Link } from 'react-router-dom';\r\nimport CustomScrollbars from \"util/CustomScrollbars\";\r\nimport SidebarLogo from \"./SidebarLogo\";\r\n// import ContextMenu from \"./ContextMenu\";\r\n\r\nimport {\r\n NAV_STYLE_NO_HEADER_EXPANDED_SIDEBAR,\r\n NAV_STYLE_NO_HEADER_MINI_SIDEBAR,\r\n THEME_TYPE_LITE\r\n} from \"../../constants/ThemeSetting\";\r\nimport IntlMessages from \"../../util/IntlMessages\";\r\nimport { useSelector } from \"react-redux\";\r\nimport { useHistory } from 'react-router-dom'\r\nimport { useAuth } from \"../../authentication\";\r\n\r\nconst SidebarContent = ({ sidebarCollapsed, setSidebarCollapsed }) => {\r\n const { navStyle, themeType } = useSelector(({ settings }) => settings);\r\n const pathname = useSelector(({ common }) => common.pathname);\r\n const { authUser } = useAuth();\r\n\r\n const [isShow, setIsShow] = useState(false);\r\n const [selectedMenuItem, setSelectedMenuItem] = useState(null);\r\n const [mouseEvent, setMouseEvent] = useState(null);\r\n\r\n const getNoHeaderClass = (navStyle) => {\r\n if (navStyle === NAV_STYLE_NO_HEADER_MINI_SIDEBAR || navStyle === NAV_STYLE_NO_HEADER_EXPANDED_SIDEBAR) {\r\n return \"gx-no-header-notifications\";\r\n }\r\n return \"\";\r\n };\r\n\r\n const selectedKeys = pathname.substr(1);\r\n const defaultOpenKeys = selectedKeys.split('/')[1];\r\n\r\n const history = useHistory()\r\n\r\n const onClick = (MenuItem) => {\r\n setIsShow(false);\r\n history.push(MenuItem.key)\r\n }\r\n\r\n function getItem(\r\n label: React.ReactNode,\r\n key?: React.Key | null,\r\n icon?: React.ReactNode,\r\n children?: MenuItem[],\r\n type?: 'group',\r\n ): MenuItem {\r\n return {\r\n key,\r\n icon,\r\n children,\r\n label,\r\n type,\r\n };\r\n }\r\n\r\n function onContextMenu(e, menuItem) {\r\n setIsShow(true);\r\n setMouseEvent(e);\r\n setSelectedMenuItem(menuItem);\r\n e.preventDefault();\r\n return false;\r\n }\r\n\r\n const items: MenuItem[] = [];\r\n authUser.ClientMenuList.forEach(menu => {\r\n let child = null;\r\n\r\n if (menu.ChildClientMenuList !== null) {\r\n child = [];\r\n menu.ChildClientMenuList.forEach(childMenu => {\r\n // child.push(getItem({childMenu.Key}, childMenu.Url));\r\n child.push(getItem({childMenu.Key}, childMenu.Url));\r\n });\r\n }\r\n\r\n if (child !== null) {\r\n items.push(getItem({menu.Key}, menu.Url, , child));\r\n } else {\r\n items.push(getItem({menu.Key}, menu.Url, , child));\r\n }\r\n });\r\n\r\n let check = false;\r\n authUser.ClientMenuList.forEach(menu => {\r\n if (menu.ChildClientMenuList !== null) {\r\n menu.ChildClientMenuList.forEach(childMenu => {\r\n if (history.location.pathname + history.location.search === childMenu.Url) {\r\n document.title = childMenu.Key;\r\n check = true;\r\n }\r\n });\r\n }\r\n\r\n if (history.location.pathname === menu.Url) {\r\n document.title = menu.Key;\r\n check = true;\r\n }\r\n });\r\n\r\n console.log(history.location.pathname + history.location.search);\r\n //一些不在menu里的特殊url的判断\r\n let path = [];\r\n path.push('/jobs?keyword=');\r\n path.push('/job/lodge?module=');\r\n path.push('/job/new');\r\n path.push('/job/detail');\r\n path.push('/my-profile');\r\n path.push('/admin/job-template-detail');\r\n path.push('/error');\r\n\r\n path.map(item => {\r\n if ((history.location.pathname + history.location.search).indexOf(item) === 0) {\r\n check = true;\r\n }\r\n })\r\n\r\n if (!check) {\r\n history.push('/jobs');\r\n }\r\n\r\n return (\r\n <>\r\n {/* */}\r\n \r\n
    \r\n \r\n \r\n {/* {\r\n items.map((menu, i) => {\r\n if (menu.children != null) {\r\n return { e.preventDefault(); return false; }}>\r\n {\r\n menu.children.map((childMenu, j) => {\r\n return { onContextMenu(e, childMenu) }}>{childMenu.label}\r\n })\r\n }\r\n \r\n } else {\r\n return { onContextMenu(e, menu) }}>{menu.label}\r\n }\r\n })\r\n } */}\r\n \r\n \r\n
    \r\n \r\n );\r\n};\r\n\r\nexport default React.memo(SidebarContent);\r\n","import React, {useEffect, useState} from \"react\";\r\nimport {useDispatch, useSelector} from \"react-redux\";\r\nimport {Drawer, Layout} from \"antd\";\r\n\r\nimport SidebarContent from \"./SidebarContent\";\r\nimport {toggleCollapsedSideNav} from \"../../appRedux/actions\";\r\nimport {\r\n NAV_STYLE_DRAWER,\r\n NAV_STYLE_FIXED,\r\n NAV_STYLE_MINI_SIDEBAR,\r\n NAV_STYLE_NO_HEADER_EXPANDED_SIDEBAR,\r\n NAV_STYLE_NO_HEADER_MINI_SIDEBAR,\r\n TAB_SIZE,\r\n THEME_TYPE_LITE\r\n} from \"../../constants/ThemeSetting\";\r\n\r\nconst {Sider} = Layout;\r\n\r\nconst Sidebar = () => {\r\n let [sidebarCollapsed, setSidebarCollapsed] = useState(false);\r\n const {themeType, navStyle} = useSelector(({settings}) => settings);\r\n const navCollapsed = useSelector(({common}) => common.navCollapsed);\r\n const width = useSelector(({common}) => common.width);\r\n const dispatch = useDispatch();\r\n\r\n const onToggleCollapsedNav = () => {\r\n dispatch(toggleCollapsedSideNav(!navCollapsed));\r\n };\r\n\r\n useEffect(() => {\r\n setSidebarCollapsed(navStyle === NAV_STYLE_MINI_SIDEBAR)\r\n }, [navStyle])\r\n\r\n let drawerStyle = \"gx-collapsed-sidebar\";\r\n\r\n if (navStyle === NAV_STYLE_FIXED) {\r\n drawerStyle = \"\";\r\n } else if (navStyle === NAV_STYLE_NO_HEADER_MINI_SIDEBAR) {\r\n drawerStyle = \"gx-mini-sidebar gx-mini-custom-sidebar\";\r\n } else if (navStyle === NAV_STYLE_NO_HEADER_EXPANDED_SIDEBAR) {\r\n drawerStyle = \"gx-custom-sidebar\"\r\n } else if (navStyle === NAV_STYLE_MINI_SIDEBAR) {\r\n drawerStyle = \"gx-mini-sidebar\";\r\n } else if (navStyle === NAV_STYLE_DRAWER) {\r\n drawerStyle = \"gx-collapsed-sidebar\"\r\n }\r\n if ((navStyle === NAV_STYLE_FIXED || navStyle === NAV_STYLE_MINI_SIDEBAR\r\n || navStyle === NAV_STYLE_NO_HEADER_EXPANDED_SIDEBAR) && width < TAB_SIZE) {\r\n drawerStyle = \"gx-collapsed-sidebar\"\r\n }\r\n\r\n return (\r\n \r\n {\r\n navStyle === NAV_STYLE_DRAWER || width < TAB_SIZE ?\r\n \r\n \r\n :\r\n \r\n }\r\n )\r\n};\r\nexport default Sidebar;\r\n","import React from \"react\";\r\nimport {\r\n NAV_STYLE_DRAWER,\r\n NAV_STYLE_FIXED,\r\n NAV_STYLE_MINI_SIDEBAR, NAV_STYLE_NO_HEADER_EXPANDED_SIDEBAR,\r\n NAV_STYLE_NO_HEADER_MINI_SIDEBAR, TAB_SIZE\r\n} from \"../../constants/ThemeSetting\";\r\nimport {useSelector} from \"react-redux\";\r\nimport Sidebar from \"../Sidebar\";\r\n\r\nconst SIDEBAR_VISIBLE_ON = [NAV_STYLE_FIXED, NAV_STYLE_DRAWER, NAV_STYLE_MINI_SIDEBAR, NAV_STYLE_NO_HEADER_MINI_SIDEBAR, NAV_STYLE_NO_HEADER_EXPANDED_SIDEBAR];\r\n\r\nconst AppSidebar = ({navStyle}) => {\r\n const width = useSelector(({common}) => common.width);\r\n\r\n if (width < TAB_SIZE || SIDEBAR_VISIBLE_ON.includes(navStyle)) {\r\n return ;\r\n }\r\n\r\n return null;\r\n};\r\n\r\nexport default React.memo(AppSidebar);\r\n","import React, { useEffect } from \"react\";\r\nimport { Layout } from \"antd\";\r\nimport { useDispatch, useSelector } from \"react-redux\";\r\nimport HorizontalDefault from \"../Topbar/HorizontalDefault/index\";\r\nimport HorizontalDark from \"../Topbar/HorizontalDark/index\";\r\nimport InsideHeader from \"../Topbar/InsideHeader/index\";\r\nimport AboveHeader from \"../Topbar/AboveHeader/index\";\r\nimport { Switch, Router, Route } from 'react-router-dom'\r\n\r\nimport BelowHeader from \"../Topbar/BelowHeader/index\";\r\nimport Topbar from \"../Topbar/index\";\r\nimport { config } from \"../../util/config\";\r\nimport App from \"../../routes/index\";\r\n\r\nimport {\r\n NAV_STYLE_ABOVE_HEADER,\r\n NAV_STYLE_BELOW_HEADER,\r\n NAV_STYLE_DARK_HORIZONTAL,\r\n NAV_STYLE_DEFAULT_HORIZONTAL,\r\n NAV_STYLE_DRAWER,\r\n NAV_STYLE_FIXED,\r\n NAV_STYLE_INSIDE_HEADER_HORIZONTAL,\r\n NAV_STYLE_MINI_SIDEBAR,\r\n NAV_STYLE_NO_HEADER_EXPANDED_SIDEBAR,\r\n NAV_STYLE_NO_HEADER_MINI_SIDEBAR\r\n} from \"../../constants/ThemeSetting\";\r\nimport NoHeaderNotification from \"../Topbar/NoHeaderNotification/index\";\r\nimport { useRouteMatch } from \"react-router-dom\";\r\nimport { updateWindowWidth } from \"../../appRedux/actions\";\r\nimport AppSidebar from \"./AppSidebar\";\r\n\r\nconst { Content, Footer } = Layout;\r\n\r\nconst getContainerClass = (navStyle) => {\r\n switch (navStyle) {\r\n case NAV_STYLE_DARK_HORIZONTAL:\r\n return \"gx-container-wrap\";\r\n case NAV_STYLE_DEFAULT_HORIZONTAL:\r\n return \"gx-container-wrap\";\r\n case NAV_STYLE_INSIDE_HEADER_HORIZONTAL:\r\n return \"gx-container-wrap\";\r\n case NAV_STYLE_BELOW_HEADER:\r\n return \"gx-container-wrap\";\r\n case NAV_STYLE_ABOVE_HEADER:\r\n return \"gx-container-wrap\";\r\n default:\r\n return '';\r\n }\r\n};\r\n\r\nconst getNavStyles = (navStyle) => {\r\n switch (navStyle) {\r\n case NAV_STYLE_DEFAULT_HORIZONTAL:\r\n return ;\r\n case NAV_STYLE_DARK_HORIZONTAL:\r\n return ;\r\n case NAV_STYLE_INSIDE_HEADER_HORIZONTAL:\r\n return ;\r\n case NAV_STYLE_ABOVE_HEADER:\r\n return ;\r\n case NAV_STYLE_BELOW_HEADER:\r\n return ;\r\n case NAV_STYLE_FIXED:\r\n return ;\r\n case NAV_STYLE_DRAWER:\r\n return ;\r\n case NAV_STYLE_MINI_SIDEBAR:\r\n return ;\r\n case NAV_STYLE_NO_HEADER_MINI_SIDEBAR:\r\n return ;\r\n case NAV_STYLE_NO_HEADER_EXPANDED_SIDEBAR:\r\n return ;\r\n default:\r\n return null;\r\n }\r\n};\r\n\r\nconst MainApp = () => {\r\n const { navStyle } = useSelector(({ settings }) => settings);\r\n const match = useRouteMatch();\r\n const dispatch = useDispatch();\r\n\r\n useEffect(() => {\r\n window.addEventListener('resize', () => {\r\n dispatch(updateWindowWidth(window.innerWidth));\r\n })\r\n }, [dispatch]);\r\n\r\n return (\r\n \r\n \r\n \r\n {getNavStyles(navStyle)}\r\n \r\n \r\n \r\n \r\n {/* 预加载一些icon,防止闪烁 */}\r\n \r\n \r\n )\r\n};\r\nexport default MainApp;\r\n\r\n","import React, { useEffect, useState } from 'react';\r\nimport { message, Button, Checkbox, Form, Input, Row, Col } from \"antd\";\r\nimport { Link } from \"react-router-dom\";\r\nimport IntlMessages from \"util/IntlMessages\";\r\nimport { useAuth } from \"authentication\";\r\nimport AppNotificationContainer from \"components/AppNotificationContainer\";\r\nimport AntDraggableModal from 'components/AntDraggableModal';\r\nimport { httpClient } from \"util/Api\";\r\nimport * as globalFunction from 'util/GlobalFunction';\r\nimport Cookies from 'js-cookie';\r\n\r\nconst SignIn = () => {\r\n const { isLoading, error, setError, userLogin, loginSecurityCodeData, showLoginSecurityCode, setShowLoginSecurityCode, checkLoginSecurityCode } = useAuth();\r\n const [showResetPassword, setShowResetPassword] = useState(false);\r\n const [confirmLoading, setConfirmLoading] = useState(false);\r\n const [loginForm] = Form.useForm();\r\n const [resetPasswordForm] = Form.useForm();\r\n const [loginSecurityCodeForm] = Form.useForm();\r\n const [seconds, setSeconds] = useState(60);\r\n const [isDisabled, setIsDisabled] = useState(false);\r\n\r\n document.title = 'Login';\r\n\r\n const handleSendCodeClick = () => {\r\n setIsDisabled(true);\r\n setSeconds(60);\r\n };\r\n\r\n useEffect(() => {\r\n const intervalId = setInterval(() => {\r\n setSeconds(seconds - 1);\r\n if (seconds === 0) {\r\n clearInterval(intervalId);\r\n setIsDisabled(false);\r\n }\r\n }, 1000);\r\n\r\n return () => {\r\n clearInterval(intervalId);\r\n };\r\n }, [seconds]);\r\n\r\n const onFinishFailed = errorInfo => {\r\n };\r\n\r\n const onFinish = values => {\r\n Cookies.set('HF_Client_Username', values.Username, { expires: 3650 });\r\n Cookies.set('HF_Client_Company', values.Company, { expires: 3650 });\r\n userLogin(values);\r\n };\r\n\r\n const onResetPasswordFinish = values => {\r\n setConfirmLoading(true);\r\n httpClient\r\n .post('System/Login/ResetPassword', values)\r\n .then(({ data }) => {\r\n if (data.result) {\r\n message.info(data.message);\r\n setShowResetPassword(false);\r\n setConfirmLoading(false);\r\n } else {\r\n message.warning(data.message);\r\n setConfirmLoading(false);\r\n }\r\n })\r\n .catch(function (error) {\r\n message.error(error.stack);\r\n setConfirmLoading(false);\r\n });\r\n };\r\n\r\n const onLoginSecurityCodeFinish = values => {\r\n values.Remember = loginSecurityCodeData.Remember;\r\n values.ClientUserId = loginSecurityCodeData.data;\r\n checkLoginSecurityCode(values);\r\n }\r\n\r\n return (\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \"example\"\r\n
    \r\n
    \r\n
    \r\n

    Client Login

    \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 setShowResetPassword(true)}>\r\n \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n\r\n }\r\n open={showResetPassword}\r\n onOk={() => { resetPasswordForm.submit(); }}\r\n onCancel={() => { setShowResetPassword(false); resetPasswordForm.resetFields(); }}\r\n confirmLoading={confirmLoading}\r\n width={600}\r\n okText=\"Submit\"\r\n maskClosable={false}\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 setShowLoginSecurityCode(false);\r\n loginSecurityCodeForm.resetFields();\r\n }}\r\n width={600}\r\n maskClosable={false}\r\n footer={[\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 SignIn;\r\n","import React from \"react\";\r\nimport { Button, Checkbox, Form, Input } from \"antd\";\r\nimport { Link } from \"react-router-dom\";\r\n\r\nimport IntlMessages from \"util/IntlMessages\";\r\nimport { useAuth } from \"../authentication\";\r\nimport AppNotificationContainer from \"../components/AppNotificationContainer\";\r\n\r\nconst FormItem = Form.Item;\r\n\r\nconst SignUp = () => {\r\n const { isLoading, error, userSignup } = useAuth();\r\n\r\n const onFinishFailed = errorInfo => {\r\n };\r\n\r\n const onFinish = values => {\r\n userSignup(values);\r\n };\r\n\r\n return (\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \"example\"\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 Remember me\r\n Forgot\r\n password\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 SignUp;\r\n","import React, { useEffect, useState } from 'react';\r\nimport { useParams, useLocation, useHistory } from \"react-router-dom\";\r\nimport IntlMessages from \"util/IntlMessages\";\r\nimport { useAuth } from \"authentication\";\r\nimport { httpClient } from \"util/Api\";\r\nimport * as globalFunction from 'util/GlobalFunction';\r\n\r\nconst Download = () => {\r\n const history = useHistory()\r\n let { params } = useParams(); // 获取路径参数\r\n let url = params + history.location.search;\r\n let errorMessageText = 'Error!';\r\n\r\n useEffect(() => {\r\n let urlParams = new URLSearchParams(history.location.search);\r\n let filename = urlParams.get('filename');\r\n document.title = filename;\r\n\r\n httpClient({\r\n method: 'get',\r\n url: url,\r\n responseType: 'blob'\r\n })\r\n .then(({ data }) => {\r\n if (data != null) {\r\n if (data.type === 'text/plain') {\r\n let blobUrl = URL.createObjectURL(data);\r\n let iframeElement = document.getElementById(\"myIframe\");\r\n iframeElement.src = blobUrl;\r\n } else {\r\n let blobUrl = URL.createObjectURL(data);\r\n let iframeElement = document.getElementById(\"myIframe\");\r\n if (globalFunction.isMobile()) {\r\n if (globalFunction.isIOS()) {\r\n globalFunction.saveFile(blobUrl, filename);\r\n } else {\r\n iframeElement.src = '/assets/pdfjs/web/viewer.html?file=' + blobUrl;\r\n }\r\n } else {\r\n iframeElement.src = blobUrl;\r\n }\r\n }\r\n } else {\r\n history.push('/error?type=UI&message=No File Data: ' + filename);\r\n }\r\n })\r\n .catch(function (error) {\r\n });\r\n }, []);\r\n\r\n return (\r\n