PageSourceSearch

https://wsdeapplication.gov.hk/scripts/app.22208b29497e264fe848.bu…1.2.2.1787897170791.js?482fbb5abdeb265e8b46

js wsdeapplication.gov.hk collected 2026-10-09 01:00:57 UTC 1,427,912 bytes, 1 lines download raw bytes

1!function(){var e,t={31859:function(){},76815:function(){},42746:function(){},41970:function(){},13906:function(){},87985:function(){},63080:function(){},81139:function(){},12060:function(){},7010:function(){},79276:function(){},73897:function(){},77251:function(){},57138:function(){},45838:function(){},38920:function(){},28029:function(){},90978:function(){},82241:function(){},9754:function(){},96723:function(){},57693:function(){},6276:function(){},45396:function(){},45476:function(){},85431:function(){},65748:function(){},74023:function(){},91837:function(){},25863:function(){},48210:function(){},54061:function(){},62609:function(){},79557:function(){},87285:function(){},12275:function(){},55047:function(){},32474:function(){},82249:function(){},99898:function(){},29207:function(){},95377:function(){},89003:function(){},30752:function(){},23626:function(){},9731:function(){},93255:function(){},82900:function(){},80270:function(){},25546:function(){},85811:function(){},25604:function(){},20747:function(){},45268:function(){},89464:function(){},84553:function(){},90333:function(){},94358:function(){},70441:function(){},46664:function(){},76726:function(){},86624:function(){},67120:function(){},76482:function(){},31153:function(){},1752:function(){},56823:function(){},65519:function(){},33605:function(){},63804:function(){},69369:function(e,t,a){var o={"./zh-cn":83839,"./zh-cn.js":83839};function l(e){var t=n(e);return a(t)}function n(e){if(!a.o(o,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return o[e]}l.keys=function(){return Object.keys(o)},l.resolve=n,e.exports=l,l.id=69369},72305:function(e,t,a){"use strict";a.r(t),a.d(t,{lang:function(){return o}});var o={headerLinkQuestion:"FAQs",headerLinkInfo:"Access to Information",headerLinkForm:"Application and Public Forms",headerLinkLinks:"Related Links",headerLinkContact:"Contact Us",headerBannerHotline:"WSD Enquiry Hotline - 28245000",headerBannerHotline1:"WSD Enquiry Hotline",headerBannerHotline2:"28245000",headerBannerSearchPlaceholder:"keyword(s)",headerBannerSearchSubmit:"Search",headerBannerLogin:"Login",headerBannerLogout:"Exit",langEn:"English",langTc:"繁體",langSc:"簡體",footImportantNotice:"Important Notice",footPrivatePolicy:"Privacy policy",footDate:"Last revision date: April 2025",email:"Email Address",backupEmail:"Backup Email Address",password:"Password",loginCode:"verification code",refresh:"Refresh",login:"Login",forgotPassword:"Forgot password",forgotAccount:"Forgot account",signUp:"Sign Up",publicSearch:"Public Search",username:"Username",register:"Register",AlreadyHaveAccount:"Already have account?",loginIn:"Login",logout:"Exit",changePsw:"Change password",currentPsw:"Current password",newPsw:"New password",confirmPsw:"Confirm password",loginTitle:"Sign in to Water Supplies Department",forgetPswTitle:"Reset your password",code:"Code",sendCode:"Send Code",singUpTitle:"Sign up to Water Supplies Department",emailTip:"Please input the email address",passwordTip:"Please input the email password",codeTip:"please enter verification code",usernameTip:"please enter username",confirmPswTip:"Please input the confirm password",twoPswError:"The passwords entered twice do not match!",updateProfilesSuccess:"Update Completed",forgotAccountEmailMsg:"The account has been sent to the alternate mailbox, please check!",changeUsernameSuccess:"Email address modified successfully",sameEmailAddress:"Changing the email address cannot be the same as the current account",menus:{home:"Home",search:"Search",eApplications:"e-Applications",ga:"GA Applications",qms:"QMS Applications",qws:"QWS Applications",wels:"WELS Applications",waterworks:"Access to Waterworks Area Application",undertaking:"Undertaking Form for Incoming Building Management Company for QMS / QWS applicants",personal:"Personal",notice:"Notice",list:"Application Status",renewalApplication:"Renewal Application"},homeWelcome:"Welcome to Water Supplies Department",action:{action:"Action",create:"Create",new:"New",edit:"Edit",view:"View",detail:"Detail",delete:"Delete",withdraw:"Withdraw",review:"Review",print:"Print",laboratory:"Laboratory",download:"Download",send:"Send",submit:"Submit",created:"Create",save:"Save",close:"Close",agree:"Agree",cancel:"Cancel",search:"Search",add:"Add",upload:"Upload",resubmit:"Resubmit",reupload:"Reupload"},pleaseChoose:"Please Choose",region:"Region",time:"Time",date:"Date",status:"Status",type:"Type",applicationTime:"Application date",approvedDate:"Approved Date",applicationTimePlaceholderStart:"Application start date",applicationTimePlaceholderEnd:"Application end date",type_of_building:"Type of Building",name_of_building:"Building Name (Chinese)",english_of_building:"Building Name (English)",visit_date:"Date of Visit",scheme:"Scheme Certificate No.",keyword:"Keyword",formHeader:{file_no:"File No.",usable:"Usable",brand:"Brand",product_desc:"Product Description",location:"Location",type:"Type",status:"Status",gaBrand:"Brand"},conditionsTitle:"Terms and Conditions",home:"Home",search:"Search",eApplication:"e-Application",GAAp
1plication:"GA Applications",QMSApplication:"QMS Applications",QWSApplication:"QWS Applications",WELSApplication:"WELS Applications",accessApplication:"Access to Waterworks Area Applications",undertakingApplication:"Undertaking Form for Incoming Building Management Company for QMS / QWS applicants",personal:"Personal",notice:"Notice",general_desc:"General Description",contact_person:"Contact Person",company_name:"Name of Company",particular_address:"Local Correspondence Address",telephone_number:"Telephone Number",ga_scheme:"Application for Voluntary GA Scheme",ga_plus_scheme:"Application for Voluntary GA+ Scheme",ga_star_scheme:"Application for Voluntary GA* Scheme",ga_vls_scheme:"Application for the Voluntary Labeling Scheme (“VLS”)",gaVlsScheme:"Application for the Voluntary Labeling Scheme (“VLS”)",product_models:"List of Product Models for GA (Experimental institution or user fill in)",ga_plus_product_models:"List of Product Models for GA+ Application",ga_star_product_models:"List of Product Models for GA* Application(Experimental institution or user)",ga_vls_product_models:"List of Product Models for VLS Application",application_types:"Application Types",application_type:"Application Type",contactPerson:"Water Supply System",waterSupplySystemToBeUsedGA:"Water Supply System to be Used (can select multiple items)",product_brand_name:"Product Brand Name",manufacturer_name:"Name of Manufacturer",factory_name:"Name of Factory",factory_address:"Full Address of Factory",country_origin:"Country of Origin",laboratory_names:"The laboratory responsible for the test report",product_description:"Detail Product Description",model_name:"Model Name/No.",water_inlet_size:"Water Inlet Size",waterInletSizeEg:"Water Inlet Size (e.g. 50mm, Can fill in multiple)",supporting_document_no:"Supporting Document Number",supporting_doc:"Supporting Document",supportingDocuments:"Supporting Documents",product_catalog_books:"Product Catalogue",laboratory_documents:"Other documents uploaded by the lab",iso_ref_no:"ISO Ref. Number",iso_expiry_date:"Expiry Date",iso_cert_doc:"ISO certification document",isoCerDocs:"ISO Certification Documents",product_ref_no:"Product Ref. Number",product_cert_doc:"Product certification document",ga_letter_doc:"GA letter",ga_file_no:"GA No.",supporting_document_ref_no:"Supporting Ref. Number",ga_star_supporting_doc:"GA* Supporting Document",applicant_particular:"Applicant Particular",application_items:"Application Items (Can select multiple items)",type_of_application:"Type of application:",typeOfApplication:"Type of application",gaApplicationPipeAndFitting:"GA application for Pipe and Fitting",existingGALetterNo:"Existing GA Letter No",isoRefNumAndExpiryDate:"ISO Ref. Number and Expiry Date",productRefNumAndExpiryDate:"Product  Ref. Number and Expiry  Date",SupportingRefNumAndExpiryDate:"Supporting Ref. Number",gANoIfApplicable:"GA No.(if applicable)",bootInstructionsDiaTitle:"Instructions",newProductModeTitle:"New Product Model",isoExpiryDate:"ISO Expiry Date",productExpiryDate:"Product Expiry Date",copyGaLetter:"Copy of GA letter",gaApplicationTypes:"GA Application Types",listProductModelsForGA:"List of Product Models for GA",gaPlusSchemeDetailTitle:"Application for Voluntary GA+ Scheme",gaStartApplicationTypes:"GA+ Application Types",gaPlusProductModels:"List of Product Models for GA+ Application",gaStarProductModels:"List of Product Models for GA* Application",VELApplicationTypes:"VLS Application Types",waterSupplySystemToBeUsed:"Water Supply System to be Used",newApplicationVLS:"New Application for joining VLS",notApplicable:"Not Applicable",applicationForExistingGAproducts:"Application for existing GA products",onePhotocopyOfOriginalGALetter:"One photocopy of original GA Letter",newApplicationGAPlus:"New Application for joining GA+ Scheme",onephotocopyOfGAPlustSupportingDocuments:"One photocopy of GA+ supporting documents",newApplicationForJoiningGAStartScheme:"New Application for joining GA* Scheme",oneOriginalCertifiedTrueCopyOfGAStareSupportingdoc:"One original/certified true copy of GA* supporting document",oneGAStartSupportingDocAndOneGALetter:"One original/certified true copy of GA*supporting document, and one photocopy of original GA Letter",OneGAPlusSupportingdocAndOnePhotocopyGALetter:"One photocopy of GA+ supporting documents, and One photocopy of original GA Letter",wsp_version:"Version of WSP",wsp_date:"Date of WSP",wsp_designated_person_name:"Contacts for DP",wsp_position:"Position form DP",owner:"Owner",management_agent:"Management Agent",maintenance_agent:"Maintenance Agent",lot_boundary:"Lot Boundary",blocks_no:"No. of Blocks",floors_no:"No. of Floors",wards_no:"No. of Flats",patients_staff_no:"No. of Residents/Users",certificate_references:"Water connection notification or certificate references",plumbing_line_diagrams_ref_no:"Plumbing line diagrams ref. nos",water_supply_present_types:"Types of water supply present on site",water_supply_present_types_remark:"Notes on the types of water supply present on site",qms_title1:"Water Quality Testing",qms_title2:"Routine testing of disinfectant level",testing_period:"Testing period",qms_title3:"Other test parameters (this may refer to a separate schedule)",last_testing:"Last testing on",next_testing_scheduled:"Next testing scheduled",qms_title4:"WSP audit",qms_title5:"Auditor (state whether internal or external and identify the auditor and their credentials)",audit_report_ref:"Audit report ref.",audit_next_due:"Next audit due on",qms_title6:"Particulars of the Applicant",applicant_contact_person_name:"Certificate number of the owners' corporation'",contact_person_name:"Name of contact person",applicant_owner_name:"Name of Owner / Owners' Corporation / Owners' Committee / Operator / Management Agent /Government Departments*/ Others",contact_person_tel:"Contact tel. no.",contact_person_title:"Post/ Title of contact person",contact_person_email:"Contact e-mail address",building_info:"Information of the Building",building_type_remark:"Total no. of residential flats",numberOfRooms:"Total no. of rooms",changeComplay:"Change Company",qmsApplyTypeTitle:"Quality Water Supply Scheme for Buildings– Fresh Water (Management System)",newApplicationApply:"New Application(vali
1dity of certificate being 2 years)",renewalApplicationApply:"Renewal Application ( validity of certificate being 2 years for current certificate holder submitting application within 3 months before or after expiry of current certificate )",dateVersionWSP:"Date and version of WSP",routineTestingDisinfectantLevelIf:"1. Routine testing of disinfectant level (if applicable)",typeBuildings:"Type of Building(s)",indicateBuildingsApplying:"Please indicate the type of buildings applying to join the Scheme by checking ONE box below",version:"Version",wSPDesignatedPerson:"Person responsible for this WSP (Designated Person)",position:"Position",potableWaterSupply:"Potable water Supply",seawaterFlushingWaterSupply:"Seawater flushing water supply",airConditioningCoolingWaterSupply:"Air-conditioning cooling water supply",fireServiceWaterSupply:"Fire service water supply",roofHarvestedRainwater:"Roof-harvested rainwater",processWater:"Process water",recycledStorm:"Recycled/reclaimed storm water or sewage",otherPleaseSpecify:"Other (please specify)",hotels:"Hotels",buildingsResidential:"Buildings (residential)",buildingsCommercialResidential:"Buildings (commercial or combined commercial and residential)",buildingsIndustrial:"Buildings (industrial)",totalResidentialFlats:"Total no. of residential flats",schoolsConnecte:"Schools that use copper pipes connected with soldering and serve students aged at or below 6(e.g. primary schools or some special schools but excludingkindergartens)",schoolsOtherAboveType:"Schools (other than the above type)",buildingsElderly:"Buildings (commercial or combined commercial and residential with residential care homes for the elderly (RCHE))",rche:"RCHE",hospitals:"Hospitals",government:"Government Building",nameOwnerCorporation:"Name of Owner / Owners' Corporation (If applicable, Registration Certificate NO.",ownersCommitteeOperator:"/ Owners' Committee / Operator  / Management Agent /Government Departments*/ Others (please specify)",correspondenceAddress:"Correspondence address",contactTelNoFax:"Contact tel. no. / fax no.",buildingName:"Building Name",buildingAge:"Building Age(year)",buildingAddress:"Building Address (Chinese)",englishBuildingAddress:"Building Address (English)",preferredSchemeCertificate:"Preferred Format of the Scheme Certificate(s)",schemePreferredFormat:"Please indicate the preferred format of the Scheme certificate(s) by checking ONE of the boxes below",One_certificate_for_each_building:"One certificate for each building / hotel / school / RCHE / Hospitals",onecertificatePreferredName:"One certificate for the whole estate / development / ph
1ase* and this application covers all blocks therein. The preferred name is",documentsIncludedApplication:"Documents to be included in the application",waterSafetyWSPBuilding:"Water Safety Plan (WSP) for the building",RenewalInternalAuditReport:"Internal audit report",RenewalCompletedRoutineWater:"Completed routine water safety checklist",renewalTestReportsWater:"Test reports for water quality examination",buildingAgeNotS:"Building Age",onecertificatePreferred:"One certificate for the whole estate / development / phase* and this application covers all blocks therein.",preferredName:"The preferred name is",totalNoOfResidentialFlats:"Total no. of residential flats:",buildingsCommercialOrCombinedCommercial:"Buildings (commercial or combined commercial and residential with schools that use copper pipes connected with soldering and serve students aged at or below 6 (e.g. primary schools or some special schools but excluding kindergartens))",qmsWSPInstructions:"Water Safety Plan (WSP) for the building, which includes the general description of the building,water supply flow diagrams, risk assessment summary table and practiced routine water safety checklist, which should include at least one inspection for items with checking frequency of one month",qmsTestReportsForWaterInstructions:"Only applicable for schools that use copper pipes connected with soldering and serve students aged at or below 6(e.g. primary schools or some special schools but excluding kindergartens)",qwsApplyTypeTitle:"Quality Water Supply Scheme for Buildings – Flushing Water",qwsNewApplicationSelect:"New Application (validity of Certificate being 1 year)",qwsRenewalApplicationSelect:"Renewal Application (within 3 months before or after expiry, validity of Certificate being 2 years)",CheckingBoxesListedBelow:"Please checking ONE of the boxes listed below",applyForAcceptance:"I/We apply for acceptance to the Quality Water Supply Scheme for Buildings –Flushing Water (referred to as the “Scheme” below). I/We confirm that the source of the flushing water supply of the buildings under this application is (please indicate the flushing water supply source by checking ONE of the boxes listed below)",seaWaterSupplied:"Sea (Salt) water supplied by the Water Authority",temporaryMainsFreshWater:"Temporary mains fresh water for flushing supplied by the Water Authority",ownPrivateSource:"Sea (Salt) water supplied by own private source",wellWaterSupplied:"Well water supplied by own private source",OtherSpleaseSpecify:"Others, please specify",hotelsLicenceNo:"Hotels - Total no. of rooms",restaurantsLicenceNo:"Schools",qwsGovernmentBuilding:"Government building - Total no. of residential flats",qwsRCHE:"RCHE",buildingsResidentialFlats:"Buildings (residential) – Total no. of residential flats",buildingsResidentialFlats2:"Buildings (commercial or combined commercial and residential) – Total no. of residential flats",othersTypeOfBuilding:"Others (please specify)",nameAgeAddressOfBuilding:"Name(s), Age(s) and Address(es) of the Building(s) / Hotel(s) /Restaurant(s) to be included in the application",oneCertificateForEachBuilding:"One certificate for each building / hotel / restaurant",ApplicationshallSubmittedForEachBuilding:"The application shall be submitted together with the following documents for each building",completedChecklists:"1. Completed checklists on flushing water tank cleansing and plumbing inspection (Annex I to Form C",atLeastImmediately:"2.At least 2 immediately past records of cleansing flushing water tanks (e.g. copies of signed completion certificates or confined space –Permit-to-Work Certificates, which show the locations and dates of cleansing and signatures of competent persons)",atLeastImmediately3:"3. At least 3 immediately past results of plumbing inspection related to flushing water supply",decofComplaints:"Declaration of Complaints on Flushing Water Supply",schemeWoul:"(This Scheme would accept cases involving complaints on flushing water supply before application if the applicant demonstrates, by the information given below, to have taken appropriate resolution to the complaints within a reasonable time.)",anyComplaints:"1.Any complaints on flushing water supply in the past 12 months?",numberOfComplaints:"number of complaints",natureOfComplaints:"Nature of complaints",averageHandlingTime:"Average handling time",remedialActionsTaken:"Remedial actions taken",allComplaintsCleared:"All complaints cleared? Yes / No*",qutstandingComplaints:"Outstanding Complaints",nature:"Nature",numberOfCases:"Number of cases",licenceNo:"Licence no.",sourceOFlushingWater:"Source of the flushing water",sourceOFlushingWaterRemark:"Source of the flushing water remark",particularsOfApplicant:"Particulars of the Applicant",completedChecklistsNot1:"Completed checklists on flushing water tank cleansing and plumbing inspection (Annex I to Form C)",atLeastImmediatelyNot2:"At least 2 immediately past records of cleansing flushing water tanks",atLeastImmediatelyNot3:"At least 3 immediately past results of plumbing inspection related to flushing water supply",anyComplaintsNotNum:"Any complaints on flushing water supply in the past 12 months",allComplaintsClearedNo:"All complaints cleared",qmsPartE:{upToDateWSPB:"An up-to-date WSPB if the document has been revised.",immediatelyPastMonthly:"1 immediately past monthly routine water safety inspection record (for those items with checking frequency less than or equal to 1 month) according to Part E Table I of the applicant’s WSPB after implementation",latestPeriodicReview:"The latest periodic review record of the WSPB (including record of review with no update) (a sample statement for reference",internalAuditReport:"An internal audit* report",auditCheckList:"audit checklist template",auditCheckListForHosp
1otals:"audit checklist template for hospitals",annualRoutine:"The records of annual routine water safety inspection by the QP according to Part E Table II of the applicant’s WSPB",monthlyRoutine:"The records of monthly routine water safety inspection by DP according to Part E Table I of the applicant’s WSPB.",waterSuppliesDepartment:"Water Supplies Department will inform the applicant to provide at least 3 sets of monthly routine checking/inspection record for sampled checking after receiving the application",declaration:"A declaration (with applicant’s company chop) (a sample letter for reference ",declaration1:" confirming all checking/inspections have been duly undertaken at interval as specified in the  WSPB",copperPipesConnected:"All schools that use copper pipes connected with soldering and serve students aged at or below 6, e.g. primary or some special schools but excluding kindergartens",addition:"In addition to the above, water quality examination should be carried out at least once a year and the corresponding test report to be submitted with the renewal application. It is suggested that annual water quality testing for lead be carried out for at least one tap for drinking and/or food preparation purposes for two consecutive years. The testing frequency may be reduced to once every 5 years if the testing results are satisfactory. The water samples should be taken using the 30-minute stagnation (30MS) protocol. For details of the sampling protocol, please refer to the testing laboratory or the WSD’s website."},qwsPartE:{applicationshallSubmittedTogether:"The application shall be submitted together with the completed checklists on flushing water tank cleansing and plumbing inspection",cleansingFlushing:" i.e. Annex I to Form C",cleansingFlushing2:"- (i) 2 past records of cleansing flushing water tanks (Part C) and (ii) 3 past records of plumbing inspection related to flushing water supply (Part D and Table 1)"},showersForBathing:"Showers for Bathing",waterTaps:"Water Taps",washingMachines:"Washing Machines",urinalEquipment:"Urinal Equipment",flowControllers:"Flow Controllers",waterClosets:"Water Closets",deleteDistributorsTip:"Whether to delete the distributors",companyInformation:"Company Information",englishCompany:"English Company Name",company:"Chinese Company Name",companyName:"Company Name",address:"Address",Fax:"Fax",TEL:"Tel",onlyemail:"Email",website:"Website",contactPersonTitle:"Contact Person",distributors:"Sale distribution network",name:"Name",productInformation:"Product Information",modelNo:"Model no.",countryRegionOfOrigin:"Country/Region of Origin",catalogueIfAvailable:"Catalogue (if available)",catalogue:"Catalogue",frontAndSideViews:"Front and side views",waterEfficiencyLabel:"Parties which will be responsible for making and affixing the water efficiency label (Label)",commencementDateToAffixLabel:"Proposed commencement date to affix the Label",docProofDesign:"Documentary proof of design and production system such as ISO 9001 (if any)",validTestReport:"Valid test report used for application for registration of the shower under the overseas water efficiency labeling scheme",cerOfAccreditation:"Certificate of accreditation",referencesampleSuccessfullyRegistered:"A successfully registered reference sample",distributor:"Distributor",docProofOfApproval:"Documentary proof of the approval for the water tap issued by the Water Authority.",docProofForFlowController:"Documentary proof of the approval for the flow controller issued by the Water Authority.",detailsOfFlowController:"Details of flow controller",category:"Category",docProofRegistered:"Documentary proof of the registered washing machine under the Mandatory/Voluntary EELS",overseasRecognition:"Overseas Recognition",certifiedTrueCopy:"Certified true copy of test report used for application for registration of the washing machine under the oversea water efficiency labelling scheme",cerCopyDoc:"Certified true copy of documentation showing valid registration status of the washing machine in the respective oversea water efficiency labelling scheme",websiteLink:"Website link showing the recognized laboratory under HKAS MRA or equivalent",frontSideBottomViews:"Front, side and bottom views",docProofWaterAuthority:"Documentary proof of the approval for the urinal equipment issued by the Water Authority",docuProofOfFlushingWaterAuthority:"Documentary proof of the flushing valve GA issued by the Water Authority",docuProofOfFlushValveAuthority:"Documentary proof of the flushing valve GA issued by the Water Authority",validTestReport2:"Valid test report used for application for registration of the urinal equipment under the overseas water efficiency labelling scheme",frontBottomViews:"Front and bottom views",docProofOfGAIssued:"Documentary proof of the approval for the flow controller GA issued by the Water Authority",detailedTestReporLabellingScheme:"Detailed test report used for application for registration of the water closet under the oversea water efficiency labelling scheme",documentationShowingLabellingScheme:"Documentation showing valid registration status of the water closet in the respective oversea water efficiency labelling scheme",informationOfTheCompany:"Information of the company",chooseLaboratory:"Choose laboratory",doc:"Documents",referenceS
1ample:"Reference sample for water closet successfully registered",combinationCisternFlushingValve:"Combination of Cistern and Flushing Valve",reducedVolumeWaterLevel:"Reduced volume water level",fullFlushVolumeLevel:"Full flush volume level",detailedTestReportCisternVolumeCurve:"Detailed test report of the cistern volume curve",detailedTestReportMaximum:"Detailed test report of the flushing valve maximum filled level, the reduced flushing level and the full flushing level",detailedTestReport:"Detailed test report",detailedTestReportReadOnly:"Detailed test report (Read-Only)",referenceSampleFlowController:"A reference sample for each flow controller successfully registered",certifiedTrueTestTeport:"Certified true copy of test report used for application for registration of the flow controller under the oversea water efficiency labelling scheme",certifiedTrueDocumentation:"Certified true copy of documentation showing valid registration status of the flow controller in the respective oversea water efficiency labelling scheme",referenceSampleWaterTaps:"A reference sample for each water taps successfully registered",docProofDesignInstructions:"Documentary proof that the design (if any) and production system for the shower is operating according to a recognised international quality system (such as ISO 9001). The submission of product drawings extracted from the product manual or design manual, and international quality system certificate on the manufacturer can be considered as documentary proof of recognition of the quality system. Failure to renew the recognised international quality system may render the model registration null and void.",cerOfAccreditationInstructions:"The submission of certificate of accreditation, self-declaration statement that the operation of the testing laboratory meets the requirements of ISO/IEC 17025 can be considered as documentary proof. ",reportInstructions:"For registration in WELS under the recognition mechanism, valid test report used for application for registration of the shower under the overseas water efficiency labeling scheme. The test report shall include the required information requested in Section A5, B5, C4 and D4 of Annex 1 of the Scheme Document. Documentation showing valid registration status of the shower in the respective overseas water efficiency labelling scheme (e.g. Certified true copy of the registration document, website link, i.e. URL, to the register in respective scheme)",controllerInstructions:"Should any other flow controller to be installed to the same water tap registered under the approval from the Water Authority, the applicant shall specify the details of such flow controller and provide substantiation that it has been tested to be safe for potable water use;",pleaseCompleteAllRequiredFields:"Please complete all required fields",reportWelsEquipmentInstructions:"Detailed test report in accordance with the reporting requirements specified in Annex 1. The test report shall be issued by a recognized laboratory complying with the requirements in Section 8. The required information requested in Sections A5, A6.2, A7.2, A8.2 and A9.2 for urinals and Section B5 for urinal  Annex 4 Page 2 of 2 flushing valves and Section C3 for merited function (if any) of Annex 1 of the scheme document have to be provided in a single section of the test report",urinalequipmentDdocProofDesignInstructions:"Documentary proof that the design (if any) and production system for the urinal equipment is operating according to a recognized international quality system(such as ISO 9001). The submission of product drawings extracted from the product manual or design manual, and international quality system certificate on the manufacturer can be considered as documentary proof of recognition of the quality system. Failure to the renewal of the recognized international quality system may render the model registration null and void;",controllersFormPageDdocProofDesignInstructions:"Documentary proof that the design (if any) and production system for the flow controller is operating according to a recognized international qual
1ity system (such as ISO 9001). The submission of product drawings extracted from the product manual or design manual, and international quality system certificate on the manufacturer can be considered as documentary proof of recognition of the quality system. Failure to the renewal of the recognized international quality system may render the model registration null and void;",tapDdocProofDesignInstructions:"Documentary proof that the design (if any) and production system for the water tap is operating according to a recognised international quality system (such as ISO 9001). The submission of product drawings extracted from the product manual or design manual, and international quality system certificate on the manufacturer can be considered as documentary proof of recognition of the quality system. Failure to renew the recognised international quality system may render the model registration null and void.",waterClosetDdocProofDesignInstructions:"Documentary proof that the design (if any) and production system for the water closets is operating according to a recognised international quality system (such as ISO 9001). The submission of product drawings extracted from the product manual or design manual, and international quality system certificate on the manufacturer can be considered as documentary proof of recognition of the quality system. Failure to renew the recognised international quality system may render the model registration null and void.",waterworksArea:"Access to Waterworks Area",teleNo:"Telephone No.",locationMap:"Location map",dateOfFilmingShooting:"Date(s) of filming shooting",bookTime:"Booking date",briefDesOfScenesActivities:"Brief description of scenes and activities",NoOfCrew:"No. of crew",NoOfParticipants:"No. of participants",vehiclesHasType:"Vehicles(vehicle type)",dateOfPhotoshooting:"Date(s) of photo shooting",dateOfVisit:"Date(s) of the Visit",natureOfVisit:"Nature of the Visit",NoOfVisitors:"No. of Visitors",NoOfVehiclesWillEnterInto:"No. of vehicles that will enter into waterworks area",accessToWaterworksArea:"Access to Waterworks Area",startDate:"start date",endDate:"end date",addLocations:"New Locations",locationForm:"Location Form",undertaking:"Change of Building Management Agent",certificateValidTillDate:"Certificate valid till date",buildingManagementContractStartDate:"Building Management Contract start date",incomingBuildingManagementCompany:"Incoming Building Management Company",nameOfincomingBuildingManagementCompany:"Name of incoming Building Management Company",managementContractValidTillDate:"Management Contract valid till date",nameGovernmentDepartment:"Name of Owner / Owners’ Corporation / Owners’ Committee / Government Department*",supportedOwnerPleaseSpecify:"Supported by Owner Owners' Corporation Owners Comtte/ Government Department*/Others (please specify)",change:"Change",updateProfile:"Update profile",changeUemailAddress:"Change your email address",changeUpassword:"Change your password",confirmPassword:"Confirm Password",title:"Title",accountActivation:"Account Activation",sentAnEmailTo:"We have sent an email to",codeToActivateAccount:"with the code to activate your account",checkYourInboxInputBoxBelow:"Please check your inbox and fill in the code in the input box below",resendCode:"Resend code",keywords:"Keywords",publicSearchPageTitle:"Welcome to the Home page of the Water Supplies Department (WSD)",publicSearchPageContentOne:"Water supply is an indispensable part of the livelihood of the people of Hong Kong and critical to the territory's sustainable developments. WSD has the mission to provide reliable and quality services of water supplies to a population of about 7.5 million.",publicSearchPageContentTwo:"To ensure the sustainability of Hong Kong’s water supplies, we reviewed the Total Water Management Strategy implemented since 2008 in 2019 and updated it to adopt a two-pronged approach with emphasis on managing fresh water demands and building resilience in the fresh water supply to cater anticipatively for the extreme effects of climate change with diversified water resources. We aim at reducing the per capita fresh water consumption by 10% by 2030 (using 2016 as base year) by taking forward a host of water demand management measures through water conservation, water loss management in both government and private water mains, and more use of lower grade water, including seawater and recycled water, for non-potable purposes. To build resilience in the fresh water supply, we commenced the construction of the first stage of the Tseung Kwan O Desalination Plant in December 2019, which uses the latest reverse osmosis technology to produce fresh water. Its first stage can meet approximately 5% of Hong Kong's total fresh water consumption.",publicSearchPageContentThree:"WSD always attach great importance to drinking water safety. While providing drinking water in full compliance with the Hong Kong Drinking Water Standards, we will c
1ontinue to take forward the Action Plan for Enhancing Drinking Water Safety in Hong Kong, launched on 21 September 2017, to further enhance the drinking water safety at consumers’ taps. In addition, we launched the Water Safety Plan Subsidy Scheme on 13 July 2020 to encourage property owners and management agents of private residential or composite buildings to implement Water Safety Plan for Buildings so as to effectively manage water safety risks in their buildings.",publicSearchPageContentFour:"Together with my staff, please be assured that we will continue to strive for our best to provide Hong Kong with quality water supply services.",typeOrMateria:"Type/Materia",producer:"Producer",productionSite:"Production site",model:"Model",desc:"Desc",recognitionLetterNo:"Recognition Letter No",dateDue:"Date Due",approvalDate:"Approval date",submittedQualityCerDoc:"Submitted quality certification documents",generalAcceptance:"General Acceptance*",generallyAcceptedRemarks:"Generally accepted * Remarks",effectiveDate:"Effective Date",note:"Note",productPhotos:"Product Photos",downloadLetterOfApproval:"Download letter of Approval",waterEfficiencyLabellingScheme:"Water Efficiency Labelling Scheme",lowLeachingRateGAStartProductOnly:'if search for low leaching rate "GA*" Product only',welsProductOnly:"WELS Product Only",buildingNameAddress:"Building Name/Address",certificateType:"Certificate type",validity:"Validity",certificate:"Certificate",availableForBooking:"Available for booking",regionName:"Region Name",registrationNumber:"Registration Number",typeOfWelsproduct:"TYPE",subTypeOfWelsproduct:"SUB-TYPE",companyTelephoneOrWebsite:"Company's Telephone /Web Site",symbolicPresentationOnWaterEfficiency:"Symbolic Presentation on the Water Efficiency Label",waterEfficiencyGrade:"Water Efficiency Grade (1/2/3/4)",nominalFlowRate:"Nominal Flow Rate(litre/minute)",additionalMerit:"Additional Merit(s)",dateOfIssue:"Date of Issue",GaAcceptanceReferenceNumber:"GA Acceptance Reference Number of Flushing Valve",capacity:"Capacity(kg)",waterConsumption:"Water Consumption(litre/kg/cycle)",waterFlushVolumePercycle:"Water Flush Volume per cycle(litre/cycle)",descOfUrinalEquipment:"Description of urinal equipment",meritedFunction:"Merited Function",waterFlushVolumeFull:"Water Flush Volume(full)(litre/flush)",waterFlushVolumeReduced:"Water Flush Volume(reduced)(litre/flush)",typesOfWaterCloset:"Types of water closet",surveillanceStatusEffectiveDate:"Surveillance Status Effective Date",surveillanceStatus:"Surveillance Status",surveillanceRemarks:"Surveillance Remarks",managementOffice:"Applicant",sendMessageTip:"Sent successfully",application:"Application",new_application:"New Application",renew_application:"Renewal Application",itemNo:"Item No.",applicationPurpose:"Application Purpose",documentsBeAubmitted:"Documents to be submitted",tableEmptyText:"No Data",publicSearchKeyPla:"Application no./Project title/Type",applyMessageTitle:"Supplementary Information",pleaseEnter:"Please Enter",cannotJustSpaces:"You cannot enter just spaces",yes:"YES",no:"NO",deleteTheNature:"Whether to delete the Nature",chooseTypeOfWELSProduct:"Please choose the type of WELS product",sure:"Sure",selectPlaceholder:"Please Choose",wantDeleteTip:"Are you sure you want to delete?",exitTip:"Are you sure you want to exit?",withdraw:"Are you sure you want to withdraw the application?",reasonForRejection:"Comment and/or required supplementary information",breadcrumb:{eApplication:"e-Application",detail:"Detail",ga:"GA",newApplication:"New Application"},steps:{drafted:"Drafted",pedding:"Waiting",pendingReview1:"Pending Review1",pendingReview2:"Pending Review2",pendingReview3:"Pending Review3",rejectedOrApproved:"Rejected/Approved",rejected:"Rejected",approved:"Approved",pendingLab:"Pending Lab"},deleteColumnTip:"whether to delete this column?",sendLaboratoryTip:"Confirm sending notice to Lab ? ",pleaseSelectLaboratory:"Please select a experimental institution",pswRegTip:"The password must be at least eight characters long and must contain three types of special characters, numbers, uppercase and lowercase letters",confirmBtn:{title:"Reminder",confirmButtonText:"Confirm",cancelButtonText:"Cancel"},applications:"Applications",gaProductCatalogBookInstructions:"Instructions for Product Catalogue\na) name of the manufacturer\nb) full address of the factory\nc) brand and model reference\nd) description of product\ne) size of the fitting water inlet\nf) Real product photos\ng) sectional drawings\nh) body markings on the product\ni) diagrams with dimensions indicated",gaSupportingDocNoInstructions:"*BSI Kitemark Certificate:BSI Kitemark Certificate showing of relevant British Standard(s)\n*WRAS Certification Documents, including:WRAS Certificate,\n*WRAS Certification Documents, including:WRAS Approval Letter, and\n*WRAS Certification Documents, including:A summary sheet with List of Test Codes for the category of product(s)\n*HOKLAS Laboratory Test Report:Original/certified true copy test report showing the relevant edition of Standard(s)",applicationAlreadyExists:"Application Already Exists",applicationAlreadySubmit:"Application Already Submit",applicationDraftErr:"The number of draft applications exceeds 20",applicationTestReportErr:"Please confirm that all test reports have been uploaded",waterSupplySystemToBeUsedTip:"Please select at least one water supply system",detailProductDesTip:"Please enter a detailed product description",productBrandNameTip:"Please enter the brand name",manufacturerNameTip:"Please enter the manufacturer's name",factoryNameTip:"Please enter the factory name",factoryAddressTip:"Please enter the full address of factory",countryOriginTip:"Please enter the country of origin",modelNameInstructions:"If the product being applied for is of a different type or model (excluding pipes and pipes fittings), please submit the application separately",qmsCerInstructionsOne:"- Renewal application beyond 3 months after the expiry of the latest certificate will be treated as a new application.",qmsCerInstructionsTwo:"- Three grades of certificates will be classified according to the following criteria:",qmsCerInstructionsThree:" Blue Certificates: New participation or continuous participation with less than 4 years (any lapse between 2      certificates for less than 3 months will be treated as continuous participation);",qmsCerInstructionsFour:"Silver Certificates: Continuous participation with 4 years or more but less than 6 
1years; and",qmsCerInstructionsFive:"Gold Certificates: Continuous participation with 6 years or more.",qmsCerInstructionsSix:"The grade of the existing certificate will be maintained if the application is submitted within 3 months after the implementation of the Scheme or the expiry of the existing certificate. ",qmsWSDInstructionsTitle:"Quality Control Checking by the Water Supplies Department (WSD) ",qmsWSDInstructions:"Applications will be randomly selected and checked by the WSD for completion of WSP and proper documentation. In particular, checking on records of monthly checks (by the Designated Person (DP)), annual checks (by the Qualified Person (QP)), or the internal audit report will be conducted by the WSD. For any major non-compliance that can seriously affect the effectiveness of WSPB identified during the above check, such as inaccurate water supply flow diagrams, incomplete checking records, failure to produce audit reports or non-compliance with assessment criteria etc., the applicant shall rectify the non-compliance with the WSD’s verification within 3 months from the date of the WSD’s notice, otherwise the certificate will be invalidated and the applicant shall return it to the WSD.",qmsConditionsFileTitle:"G.Terms and conditions & H. Supported by Owner / Owners’ Corporation / Owners’ Committee / Government Department*/Others(Please Specify)",templates:"Templates",freshwater:"Fresh Water Templates",flushingwater:"Flushing Water Templates",generalBuildings:"General Buildings",schools:"Schools",RCHE:"RCHE",andHospitals:"Hospitals",qmsChecklist:"Latest 24 monthly routine checking/inspection records are required. OR A declaration (with applicant’s company chop) confirming all checking/inspections have been duly undertaken at interval as specified in the WSPB and the annual checking/inspection record by the Qualified Person with 3 sets of monthly routine checking/inspection record for sampled checking.",termsConditions:"G. Terms and conditions & H. Supported by Owner / Owners’ Corporation / Owners’ Committee / Government Department*/Others(Please Specify)",uploadFile:"Upload File",file:"File",qwsCerInstructionsOne:"Renewal application beyond 3 months after the expiry of the latest certificate will be treated as a new application.",qwsCerInstructionsTwo:"Certificates are awarded to buildings according to the following criteria:",qwsCerInstructionsThree:"• Blue Certificates: New participation or continuous participation of less than 3 years (any lapse between 2 certificates for less than 3 months will be treated as continuous participation)",qwsCerInstructionsFour:"• Silver Certificates: Continuous participation of 3 years or more but less than 5 years",qwsCerInstructionsFive:"• Gold Certificates: Continuous participation of 5 years or more",qwsTermsConditions:"G. Terms and conditions & H. Supported by Owner / Owners’ Corporation / Owners’ Committee / Government Department",Scheme:"Scheme",docToBeIncluded:"Documents to be included in the application",undertakingFormForIncomingBuildingManagement:"Undertaking Form for Incoming Building Management Company",pleaseUploadFile:"Please upload file",certificateNumAlreadyExists:"The certificate number already exists",nameOfApplicantOrganisation:"Name of Applicant/Organisation",companyAddress:"Company Address",correspondingAddress:"Corresponding Address",projectUsed:"For project use",nameIfAny:"Name(if any)",labReportRef:"Lab Report Ref",uploadOtherPicture:"Product photo for the Product Gallery(Upload)",inputCorrectEmailAddress:"Please input the correct email address",pleaseEnterCorrectNum:"Please enter the correct number and the length cannot be less than 8",nameOfCompanyOrOrganisationAndAddressAndTelephoneNo:"Name of Company or Organisation/Address/Telephone No.",locationMapAndRouteShouldBeAttached:"Location map and route should be attached",datesTimeOfFilmingShootingBriefDesOfScenesAndActivites:"Brief description of scenes and activities",noOfParticipantsCrewAndVehicles:"No. of participants/No. of crew and vehicles(vehicle type)",aCopyOfValidBusinessRegistrationCertificate:"A copy of valid Business Registration Certificate/Certificate of Registration of a S
1ociety/IR302 of the Inland Revenue Department",others:"Others",locationOfEventDateOfTheEventTimeNatureOfEvent:"Location of Event/Date(s) of the Event/Time/Nature of Event",basicInformation:"Basic Information",companyType:"Company Type",notesForOtherBuildingTypes:"Notes for other building types",newMenus:{home:"Home",eApplications:"e-Applications",ga:"Application for Water Supply Pipes and Fittings Approval",new:"New Application",renewal:"Renewal Application",list:"Application Status",qmsAndqws:"Application for Quality Water Supply Scheme for Buildings",qws:"Quality Water Supply Scheme for Buildings – Flushing Water",qms:"Quality Water Supply Scheme for Buildings – Fresh Water (Management System)",undertaking:"Change of Building Management Agent for Quality Water Supply Scheme",wels:"Water Efficiency Labelling Scheme (WELS)",waterworks:"Application for Conducting Activities in Waterworks Areas/Buildings",dwdf:'Search for "Voluntary Labelling Scheme for Drinking Devices – Drinking Water Dispensers and Filters" Products',personal:"Personal",notice:"Notice"},closetsNeedContent:"For the case of water closet of same design but with the variation in colour and finishing, the applicant should consult with the testing laboratory and confirm in writing that such variation will not affect the water flush volume and other performance requirements specified in Section 5.2, 5.3 and 5.4 of the Scheme Document",equipmentNeedContent:"For the case of urinal equipment of same design but with the variation in colour and finishing, the applicant should consult with the testing laboratory and confirm in writing that such variation will not affect the water flush volume performance and other performance requirements stipulated in Section 5.3 to Section 5.5 of the Scheme Document",controllersNeedContent:"For the case of flow controllers of same design but with the variation in colour and finishing, the applicant should consult with the testing laboratory and confirm in writing that such variation will not affect the flow rate performance and other performance requirements stipulated in Section 5.3 to Section 5.5 of the Scheme Document",testReport:"Test reports",uploadOtherInfo:"Upload Other info",disclaimer:"Disclaimer",tickToAgree:"Select to agree",agreeToTreaty:"Please select to agree to the participant's obligations",applicationItem:"Application Items",bsi:"Other - BSI Kitemark Certificate",wras:"Other - WRAS Certificate",bsiCertDoc:"BSI Kitemark Certificate",wrasCertDoc:"WRAS Certificate",gaProductModels:"List of Product Models for GA",reactivateLabUpload:"Reactivate Lab upload",docNumber:"Document Number",canUploadAgain:"The test report has been uploaded and cannot be uploaded again",submissionFailed:"Submission Failed",submittedSuccessfully:"Submitted successfully",linkHasExpired:"The link has expired",linkHasUploaded:"Test report already uploaded",pleaseTickNum:"Please tick the file number to be re-uploaded",gaApplication:"GA Application",gaModelList:"List of GA Model",gaPlusApplication:"GA+ Application",gaPlusModelList:"List of GA+ Model",gaStartApplication:"GA* Application",gaStartModelList:"List of GA* Model",vlsApplication:"VLS Application",vlsModelList:"List of VLS Model",summary:"Summary",reasonsForRejection:"Comment and/or required supplementary information",WSDReviewing:"WSD Reviewing",completed:"Completed",labReportUpload:"Awaiting Lab Report Upload",waitLabReportUpload:"Awaiting Lab Report",reviewLabReport:"Lab Report Uploaded",reSubmt:"Re-submit",atypeBuildings:"A. Type of Building(s)",bqms_title6:"B. Particulars of the Applicant",cbuilding_info:"C. Information of the Building",dpreferredSchemeCertificate:"D. Preferred Format of the Scheme Certificate(s)",edocumentsIncludedApplication:"E. Documents to be included in the application",fqmsWSDInstructionsTitle:"F. Quality Control Checking",fqwsDeclarationOfComplaintsTitle:"F. Declaration of Complaints",gqmsConditionsFileTitle:"G. T&C,H. Supported by Owner / OC / GD / Others",requireToPrint:"You are required to print, sign and upload this form",conditionsCarefully:" online. Before completing and signing the Printed Form, please read the applicable terms and conditions carefully.",chineseBuildingName:"Building Name (Chinese)",englishBuildingName:"Building Name (English)",wspTipOne:"Water Safety Plan(WSP)for the building",coverPage:"Cover Page",DesOfBuilding:"Part A-General Description of the Building",waterFlowDiagrams:"Part B -Water Flow Diagrams",riskAssessmentSummaryTable:"Part C-Risk Assessment Summary Table for the Building",routineWaterSafetyChecklist:"Part D -Routine Water Safety Checklist for the Building",routineCheckingInsnection:"Part E – Table 1 Routine checking/ inspection (record must be in ONE month) by the Designated Person (such as the Property Management Officer)",qualifiedPerson:"Part E – Table 2 Routine checking/ inspection by the Qualified Person (such as Licensed Plumber, building services engineer or building surveyor)",nameOfOwner:"Name of Owner",ownersCorporation:"Owners’ Corporation (If applicable, Registration Certificate No.)",ownersCommittee:"Owners’ Committee",operator:"Operator",managementAgent:"Management Agent",governmentDepartments:"Government Departments",othersPleaseSpecify:" Others: (please specify) ",chineseName:"Chinese name",englishName:"English name",certificateNo:"Certificate No.",fileCannotThan50MB:"sum of file cannot be larger than 100MB",understood:"Understood",supportDoc:"Supporting Document",sendReportFileToWsdoffice:"The test reports* shall be submitted by hand or through post to the Department",sendReportFileToWsdoffice1:"Address: 47/F, Immigration Tower 7 Gloucester Road, Wanchai, Hong Kong",sendReportFileToWsdoffice2:"*All photocopy test reports submitted to the Department shall be certified as true copy issued by the testing laboratory appointed by the participant.",welsSendReportFileToWsdoffice:"The test reports shall be submitted by email to the Department",welsSendReportFileToWsdoffice1:"Email: [email protected]",welsSendReportFileToWsdoffice2:"Please wait for confirmation email after submitting the test report and log in to the system again to complete the remaining procedures after receiving the confirmation email.",kindTips:"Kind tips",wcSuiteProductInfo:"WC Suite Product Info",valveProductInfo:"Flushing Valve Product Info",valveGaUploadFile:"Documentary proof of the flushing valve GA issued by the Water Authority",cisternProductInfo:"Cistern Product Info",panProductInfo:"Pan Product Info",includeFlowController:"If the above product is installed with a flow controller",flowControllerProductInfo:"Flow Controller Product Info",installationAgreement:"The installation of flow controller to water tap has been carried out by a competent person/company in strict accordance with the installation procedures and requirements as specified by the manufacturers of both the water tap and the flow controller.",installationAgreementShower:"The installation of flow controller to shower for bathing has been carried out by a competent person/company in strict accordance with the installation procedures and requirements as specified by the manufacturers of both the shower for bathing and the flow controller.",urinalProductInfo:"Urinal Product Info",gaUploadFile:"GA Upload File",waterTapVariationAgreement:"It is confirmed that the variation in colour and/or finishing of the water tap will not affect the flow rate performance and other performance requirements stipulated in Section 5.3 and Section 5.4.",waterClosetsVariationAgreement:"It is confirmed that the variation in colour and/or finishing of the water cloest will not affect the water flush volume and other performance requirements specified in Section 5.2, 5.3 and 5.4.",urinalEquipmentVariationAgreement:"The variation in colour and/or finishing of the urinal equipment will not affect the water flush volume performance and other performance requirements stipulated in Section 5.3 to Section 5.5.",showerVariationAgreement:"The variation in colour and/or finishing of the shower will not affect the flow rate performance and other performance requirements stipulated in Section 5.2 and Section 5.3.",washingVariationAgreement:"The variation in dimension, colour, coating and finishing of the Washing Machine will not affect the water consumption and other performance requirements stipulated in Section 5.2",flowVariationAgreement:"It is confirmed that the variation in colour and/or finishing of the flow controller will not affect the flow rate and other performance requirements stipulated in Section 5.3 to Section 5.5",successfullySaved:"application is successfully saved",successfullySubmitted:"application is successfully submitted",outDue:"You're being timed out due to inactivity. Please choose to stay signed in or to logoff. Otherwise, you will logged off automatically",seswsionTimeout:"Session Timeout",logOff:"Log Off",stayLoggedIn:"Stay Logged In",uploadedFileSuccessfully:"Uploaded file successfully",makeSureUpload:"Please make sure you have uploaded all parts before you proceed.",OnlySupportsPDFWordJPGJPEGPNGFiles:"Only supports PDF, Word, JPG, JPEG, PNG files",contactTelNo:"Contact tel. no",contactFaxNo:"Contact fax. no",enterNumbersOnly:"Enter numbers only",latestMonthlyRoutine:"**Latest 24 monthly routine checking/ inspection are required** OR",aDeclaration:"** A declaration (with applicant’s company chop) confirming all checking/inspections have been duly undertaken at interval as specified in the WSPB and the annual checking/inspection record by the Qualified Person. Water Supplies Department will later inform the applicant to provide at least 3 sets of monthly routine checking/inspection record for sampled checking**",anInternalAuditReport:"An internal audit report for which the audit is to be carried out by independent parties not involved in the implementation of WSPB for the audited building, who should preferably be trained for c
1onducting internal audits. The audit should focus on the aspects regarding the implementation of WSPB",testReportForWaterQualityExamination:"Test report for water quality examination (only applicable for schools that use copper pipes connected with soldering and serve students aged at or below 6 (e.g. primary or some special schools but excluding kindergartens))",mr:"Mr",ms:"Ms",contactGender:"Appellation or title",participantObligations:"Participant’s Obligations",newPassword:"New Password",termsAndConditions:"terms and conditions",carefully:"carefully",singUpDisclaimerOne:'The information provided by the Government of the Hong Kong Special Administrative Region ("the Government") on this website ("the Government\'s information") is for reference only. Whilst the Government endeavours to ensure the accuracy of the Government\'s information on this site, no express or implied warranty is given by the Government as to the accuracy of the Government\'s information.',singUpDisclaimerTwo:'This website also contains information input by other parties and users may link this site to other sites and obtain information provided by other parties (collectively called "the other information"). The Government expressly states that it has not approved nor endorsed the other information contained in or in connection with these sites.',singUpDisclaimerThree:"The Government does not accept any responsibilities for any loss or damage whatsoever arising from any cause whatsoever in connection with this website. The Government is entitled to delete, suspend or edit all information on this site at any time at its absolute discretion without giving any reason. Users are responsible for making their own assessments of all information contained in or in connection with this site and are advised to verify such information by making reference to its original publication and obtain independent advice before acting on it",enterLeastOneContactInformation:"Please enter at least one contact information",contactInformation:"Contact information",ownersCorporationSimple:"Owners’ Corporation",selectRetrievalTypeFirst:"Please select the retrieval type first",resetSuccessfully:"Reset successfully",registrationSuccess:"Registration Success",completeAllRequiredFields:"Please complete all required fields",linkSent:"Link sent",passwordsEnteredTwiceNotMatch:"The passwords entered twice do not match",currentPasswordError:"Current password error",verCodeError:"Verification Code Error",registrationNotYetOpen:"Registration not yet open",backupEmailAlreadyExists:"Backup Email Already Exists",backupEmailNotExists:"Backup Email Not Exists",userDoesNotExist:"User does not exist",userAlreadyExists:"User already exists",modificationSuccessfulWillExitSoon:"Modification successful, will exit soon",enterSearchkeyword:"Enter search keyword(s)",go:"Go",userErrOrPassErr:"User does not exist or password is incorrect",emailNotExist:"Email does not exist or code is incorrect",verifyCodeErr:"Verification Code Error",codeErrPleaseTry:"The verification code has expired, please try again",codeMailHasBeenSend:"The verification code has been sent to the mailbox, please pay attention to check",emailAddressErr:"Email address does not exist",changeLanguageTip:"Unsaved information will be lost for any shifting of language, continue anyway?",other:"Other",submitContent:"Content Submission",characterLength:"Character length cannot exceed",cancelFile:"Cancel File",cancelReason:"Cancel Reason",cancelSuccess:"Cancel Successfully",userIsFrozen:"Your account has been frozen",manyErrUserIsFrozen:"Too many login errors, your account has been frozen",welsRegistrationNo:"WELS Registration No",manufacturer:"Manufacturer",district:"District",orderBy:"Order By",publicSearchQms:"Quality Water Supply Scheme for Buildings– Fresh Water (Management System) - List of Buildings Awarded Certificate",publicSearchQmsOngoing:"Quality Water Supply Scheme for Buildings– Fresh Water (Management System) - List of Buildings Applied the Scheme",publicSearchQws:"Quality Water Supply Scheme for Buildings – Flushing Water - List of Buildings Awarded Certificate",publicSearchQwsOngoing:"Quality Water Supply Scheme for Buildings – Flushing Water - List of Buildings Applied the Scheme",publicSearchQmsQwsCert:"List of Buildings Awarded Certificate",publicSearchQmsQwsOngoing:"List of Buildings Applied the Scheme",publicSearchGa:"Search for Water Supply Pipes and Fittings with Valid General Acceptance (GA)",publicSearchWels:"Search for Water Efficiency Labelling Scheme (WELS) Products",publicSearchDwdf:'Search for "Voluntary Labelling Scheme for Drinking Devices – Drinking Water Dispensers and Filters" Products',publicSearchQmsQws:"List of Participating Buildings- Quality Water Supply Scheme",notifyLabLinkSuccess:"Test report upload link sent to Lab",private_car:"Private car",light_goods_vehicle:"Light goods vehicle",mini_bus:"Mini-bus (max. 29 seats)",exceed3:"Quantity cannot exceed 3",dwdf:{registrationNumber:"Registration Number",product_description:"Product Description",category:"Product Type",chinese_manufacturer:"Name of Manufacturer (in Chinese)",english_manufacturer:"Name of Manufacturer (in English)",full_factory:"Full Address of Factory",label:"Parties which will be responsible for making and affixing the label (Label)",label_date:"Proposed commencement date to affix the Label",other_certificates:"Other Certificates",water_inlet_size:"Water Inlet Size",frontAndSideViews:"Front, side, top, and bottom views",catalogueInstructions:"instructions for Product Catalogue\na)  name of the manufacturer\nb)  full address of the factory\nc)  brand and model reference\nd)  description of product\ne)  water inlet size\nf)  real product photos\ng)  sectional drawings\nh)  body markings on the product"},footer:{WaterSuppliesDepartment:"Water Supplies Department",sitemap:"SITEMAP",contactUS:"CONTACT US",faqs:"FAQS",access:"Access to Information",form:"APPLICATION AND PUBLIC FORMS",aboutUs:"ABOUT US",welcomeMessage:"Welcome Message",visionMissionA
1ndValues:"Vision, Mission and Values",Organisation:"Organisation",annualReport:"Annual Report",performanceTargetsAndAchievements:"Performance Targets and Achievements",financeInformation:"Finance Information",milestonesAndWaterworksMonuments:"Milestones and Waterworks Monuments",advisoryCommittees:"Advisory Committees",volunteerTeam:"Volunteer Team",annualOpenDataPlans:"Annual Open Data Plans",annualSpatialDataPlan:"Annual Spatial Data Plan",coreBusinesses:"CORE BUSINESSES",totalWaterManagementStrategy:"Total Water Management Strategy",waterResources:"Water Resources",operationAndMaintenanceOfWaterworks:"Operation and Maintenance of Waterworks",waterSafety:"Water Safety",majorInfrastructureProjects:"Major Infrastructure Projects",customerServicesLawEnforcement:"Customer Services & Law Enforcement",customerServices:"CUSTOMER SERVICES",manageAccountAndWaterBills:"Manage Account and Water Bills",ApplicationForWaterSupply:"Application for Water Supply",otherCustomerServices:"Other Customer Services",temporaryWaterSuspensionNoticesAndEnquiries:"Temporary Water Suspension Notices and Enquiries",WsdMobileApp:"WSD Mobile App",plumbingAndEngineering:"PLUMBING AND ENGINEERING",licensedPlumbers:"Licensed Plumbers",fireService:"Pipes and Fittings to be used in Inside Service or Fire Service",submissions:"Requirements on Plumbing Works and Submissions",plumbers:"Information for Licensed Plumbers",lp:"Voluntary Continuing Professional Development Scheme for LP",technicalCommittee:"Technical Committee on Plumbing",goodPractice:"Good Practice Guide on Plumbing Works",automaticMeter:"Automatic Meter Reading (AMR) System",wels:"Water Efficiency Labelling Scheme (WELS)",maintenanceInternalPlumbing:"Maintenance of Internal Plumbing",nsideServices:"Enhancement of Control of Inside Services’ Construction and Installation",minorNature:"Works of a Minor Nature",waterSafrtyInBuildings:"WATER SAFETY IN BUILDINGS",wspBuildings:"Water Safety Plan for Buildings",qualifiedPersons:"Qualified Persons",wspScheme:"Water Safety Plan Subsidy Scheme",qms:"Quality Water Supply Scheme for Buildings – Fresh Water (Management System)",qws:"Quality Water Supply Scheme for Buildings – Flushing Water WATER CONSERVATION",waterConservation:"WATER CONSERVATION",publicRelations:"PUBLIC RELATIONS",PoService:"Ex-Sham Shui Po Service Reservoir",liaisonGroup:"WSD Customer Liaison Group",saveDave:'"Excursion with Water Save Dave" Visiting Programme (For Individuals and Groups)',conductingActivities:"Application for Conducting Activities in Waterworks Areas/Buildings",visits:"Educational Visits to Waterworks Installations by Schools or Groups",publicConsultation:"Public Consultation and Public Engagement",events:"Events",gamesQuizzes:"Games and Quizzes",serviceUse:"Recreational Use of Service Reservoir Roofs",mediaCorner:"MEDIA CORNER",hot:"Hot Topics",press:"Press Releases",letters:"Letters to the Editors",questions:"LegCo Questions and Replies",videos:"PUBLICATIONS, VIDEOS AND STATISTICS",pr:"PR Publications",reports:"Guidelines, Reports, Drawings and Specifications",statistics:"Statistics",gallery:"Video Gallery",tendets:"TENDERS, CONTRACTS AND CONSULTANCIES",contracts:"Contracts",consultancies:"Consultancies",supplier:"Application for Inclusion as a WSD Supplier",whatNew:"WHAT'S NEW"}}},16132:function(e,t,a){"use strict";a.r(t),a.d(t,{lang:function(){return o}});var o={headerLinkQuestion:"常見問題",headerLinkInfo:"公開資料",headerLinkForm:"申請和公開表格",headerLinkLinks:"相關連結",headerLinkContact:"聯系我們",headerBannerHotline:"水務署客戶諮詢熱線 -  28245000",headerBannerHotline1:"水務署客戶諮詢熱線",headerBannerHotline2:"28245000",headerBannerSearchPlaceholder:"關鍵詞",headerBannerSearchSubmit:"查詢",headerBannerLogin:"登入",headerBannerLogout:"退出",langEn:"English",langTc:"繁體",langSc:"簡體",footImportantNotice:"重要告示",footPrivatePolicy:"私隱政策",footDate:"修訂日期: 2025年4月",backupEmail:"備用電郵地址",password:"密碼",loginCode:"驗證碼",login:"登入",logout:"退出",signUp:"註冊",publicSearch:"公開查詢",register:"註冊",refresh:"更新",forgotPassword:"忘記密碼",forgotAccount:"忘記賬戶",AlreadyHaveAccount:"已有賬號?",loginIn:"登入",loginTitle:"登入",forgetPswTitle:"重設密碼",singUpTitle:"註冊",emailTip:"請輸入電郵地址",passwordTip:"請輸入密碼",codeTip:"請輸入驗證碼",usernameTip:"請輸入帳戶名稱",confirmPswTip:"請輸入確認密碼",twoPswError:"兩次密碼輸入不一致!",updateProfilesSuccess:"更新完成",forgotAccountEmailMsg:"賬戶資料已發送到備用電郵信箱,請查閱!",changeUsernameSuccess:"修改郵件地址成功",sameEmailAddress:"修改郵件地址不能與目前帳號一直",menus:{home:"首頁",search:"查詢",eApplications:"申請",ga:"GA申請",qms:"大廈優質供水認可計劃-食水(管理系統)申請",qws:"大廈優質供水認可計劃-沖廁水申請",wels:"WELS申請",waterworks:"水務署參觀申請",undertaking:"大廈優質供水認可計劃-更換樓宇管理公司",personal:"個人中心",notice:"消息",renewalApplication:"續期申請",list:"申請狀態"},homeWelcome:"歡迎使用水務署系統",action:{action:"操作",create:"新增",edit:"編輯",view:"查看",detail
1:"詳情",delete:"删除",withdraw:"撤銷",review:"審核",print:"打印",new:"新增",laboratory:"實驗室",download:"下載",send:"發送",submit:"提交",created:"創建申請",save:"保存",close:"關閉",agree:"同意",cancel:"取消",search:"搜尋",add:"新增",upload:"上傳",resubmit:"重新提交",reupload:"重新上傳"},pleaseChoose:"請選擇",region:"區域",status:"狀態",type:"類型",applicationTime:"申請日期",keyword:"關鍵詞",time:"時間",date:"日期",approvedDate:"審批日期",applicationTimePlaceholderStart:"申請開始日期",applicationTimePlaceholderEnd:"申請結束日期",type_of_building:"樓宇類型",name_of_building:"樓宇中文名稱",english_of_building:"樓宇英文名稱",visit_date:"到訪日期",scheme:"證書編號",home:"主頁",search:"搜索",eApplication:"電子申請",GAApplication:"GA 申請",QMSApplication:"大廈優質供水認可計劃-食水(管理系統)申請",QWSApplication:"大廈優質供水認可計劃-沖廁水申請",WELSApplication:"WELS 申請",accessApplication:"參觀申請",undertakingApplication:"大廈優質供水認可計劃-更換樓宇管理公司",personal:"個人中心",notice:"消息",email:"電郵地址",username:"用戶名",change:"更換",code:"驗證碼",sendCode:"發送驗證碼",changePsw:"修改密碼",currentPsw:"當前密碼",newPsw:"新密碼",confirmPsw:"確認密碼",updateProfile:"更新個人信息",changeUemailAddress:"修改電郵地址",changeUpassword:"修改密碼",confirmPassword:"確認密碼",title:"標題",formHeader:{file_no:"申請編號",usable:"是否可以申請",brand:"品牌名稱",product_desc:"產品描述",location:"地點",type:"類型",status:"狀態",gaBrand:"品牌"},conditionsTitle:"申請條款",applications:"申請",deleteColumnTip:"確å
1®šåˆªé™¤è¯¥è¡Œæ•¸æ“šå—Žï¼Ÿ",sendLaboratoryTip:"確認向實驗室發送通知?",confirmBtn:{title:"提示",confirmButtonText:"確定",cancelButtonText:"取消"},general_desc:"基本信息",contact_person:"聯絡人",company_name:"公司名稱",particular_address:"本地通訊地址",telephone_number:"電話號碼",ga_scheme:"喉管及裝置的 GA 申請",ga_plus_scheme:"申請自願性 GA+ 計劃",ga_star_scheme:"申請自願性參與 GA* 計劃",ga_vls_scheme:"申請自願性參與標籤計劃(“VLS”)",gaVlsScheme:"申請自願性參與標籤計劃",product_models:"申請 GA 產品型號列表(實驗機構或者申請人填寫):",ga_plus_product_models:"申請 GA+ 產品型號列表",ga_star_product_models:"申請 GA* 產品型號列表(實驗機構或者申請人填寫)",ga_vls_product_models:"申請 自願性參與標籤計劃產品型號列表",application_types:"申請類型",application_type:"申請類型",contactPerson:"所使用供水系統",waterSupplySystemToBeUsedGA:"所使用供水系統 (可選多項)",product_brand_name:"品牌名稱",manufacturer_name:"生產商名稱",factory_name:"製造廠名稱",factory_address:"製造廠詳細地址",country_origin:"原產地",laboratory_names:"負責測試報告的實驗機構",product_description:"詳細產品描述",model_name:"型號",water_inlet_size:"入水位尺寸",waterInletSizeEg:"入水位尺寸 (例如 50mm, 可填寫多項)",supporting_document_no:"證明文件編號",supporting_doc:"證明文件",supportingDocuments:"證明文件",product_catalog_books:"產品目錄:",laboratory_documents:"實驗室上傳的其他文件 ",iso_ref_no:"ISO参考編號",iso_expiry_date:"有效期",iso_cert_doc:"ISO認證文件",isoCerDocs:"ISO認證文件",product_ref_no:"產品認證參考編號",product_cert_doc:"產品認證文件",ga_letter_doc:"GAä¿¡ä»¶",ga_file_no:"GA 編號",supporting_document_ref_no:"證明文件參考編號",ga_star_supporting_doc:"GA* 證明文件",applicant_particular:"申請人資料:",application_items:"申請項目(可多選)",type_of_application:"申請類型:",gaApplicationPipeAndFitting:"喉管及裝置的 GA 申請:",existingGALetterNo:"現有一般認可信編號",isoRefNumAndExpiryDate:"ISO參考編號及有效期",productRefNumAndExpiryDate:"產品認證參考編號及有效期",SupportingRefNumAndExpiryDate:"支持文件參考編號",gANoIfApplicable:"GA 編號(如適用)",bootInstructionsDiaTitle:"引導說明",newProductModeTitle:"產品型號",isoExpiryDate:"ISO有效期",productExpiryDate:"產品認證有效期",copyGaLetter:"GA證明文件副本",gaApplicationTypes:"GA申請類型",listProductModelsForGA:"申請 GA 產品型號列表",gaPlusSchemeDetailTitle:"申請自願性 GA+ 計劃",gaStartApplicationTypes:"GA+ 申請類型",gaPlusProductModels:"申請 GA+ 產品型號列表",gaStarProductModels:"申請 GA* 產品型號列表",VELApplicationTypes:"VLS 申請類型",waterSupplySystemToBeUsed:"所使用供水系統",newApplicationVLS:"新申請自願性參與標籤計劃",notApplicable:"不適用",applicationForExistingGAproducts:"為已有GA資格的產品申請",onePhotocopyOfOriginalGALetter:"複印自正本GA信件的副本一份",newApplicationGAPlus:"新申請參與GA+計劃",onephotocopyOfGAPlustSupportingDocuments:"GA+證明文件副本一份",newApplicationForJoiningGAStartScheme:"新申請參與GA*計劃",oneOriginalCertifiedTrueCopyOfGAStareSupportingdoc:"GA*的證明文件正本/核證副本一份",oneGAStartSupportingDocAndOneGALetter:"GA* 的證明文件正本/核證副本一份,及複印自正本 GA 信件的副本一份",OneGAPlusSupportingdocAndOnePhotocopyGALetter:"GA+ 的證明文件正本/核證副本一份,及複印自正本 GA 信件的副本一份",sendMessageTip:"發送成功",application:"申請",new_application:"新申請",renew_application:"續期申請",itemNo:"編號",applicationPurpose:"申請目的",documentsBeAubmitted:"需提交的文件",tableEmptyText:"暫無數據",publicSearchKeyPla:"申請編號/項目名稱/類型",applyMessageTitle:"補充資料",pleaseEnter:"請輸入",cannotJustSpaces:"不能只輸入空白鍵",yes:"是",no:"否",deleteTheNature:"是否删除該投訴",chooseTypeOfWELSProduct:"請選擇用水效益標籤的產品類型",sure:"確定",selectPlaceholder:"請選擇",wantDeleteTip:"你確定要刪除嗎?",exitTip:"ä
1½ ç¢ºå®šè¦é€€å‡ºå—Ž?",withdraw:"確定撤銷申請嗎?",reasonForRejection:"意見及/或需要的補充資料",breadcrumb:{eApplication:"申請",detail:"詳情",ga:"GA",newApplication:"新申請"},pleaseSelectLaboratory:"請選擇實驗機構",gaProductCatalogBookInstructions:"產品目錄說明\na) 生產商名稱\nb) 製造廠詳細地址\nc) 品牌名稱及型號\nd) 產品說明\ne) 入水位尺寸\nf) 實物照片\ng) 剖面圖\nh) 產品上的標記\ni) 圖上主要尺寸",gaSupportingDocNoInstructions:"*英國標準協會註冊證明商標證書:顯示相關英國標準的英國標準協會註冊證明商標證書\n*英國水務法規諮詢計劃證明文件:英國水務法規諮詢計劃的證書\n*英國水務法規諮詢計劃證明文件:英國水務法規諮詢計劃的認可信及\n*英國水務法規諮詢計劃證明文件:有關產品類別的測試編碼摘要\n*香港實驗所認可計劃認可試驗機構的測試報告:顯示所按相關標準版本的測試報告正本/核證副本",applicationAlreadyExists:"該申請已經存在",applicationAlreadySubmit:"該申請已經提交",applicationDraftErr:"申請草案數量超過20",applicationTestReportErr:"請確認所有測試報告已上傳",steps:{drafted:"草稿",pedding:"等待中",pendingReview1:"等待一審",pendingReview2:"等待二審",pendingReview3:"等待三審",rejectedOrApproved:"拒絕/完成",rejected:"拒絕",approved:"完成",pendingLab:"等待實驗室"},wsp_version:"水安全計劃版本",wsp_date:"水安全計劃出版日期",wsp_designated_person_name:"指定人員的聯絡方法",wsp_position:"指定人員的職位",owner:"持有人",management_agent:"建築物管理代理人",maintenance_agent:"建築物維修代理人",lot_boundary:"地界(或位置圖)",blocks_no:"座數",floors_no:"層數",wards_no:"單位數目",patients_staff_no:"住戶/用戶人數",certificate_references:"供水接駁通知或證明參考",plumbing_line_diagrams_ref_no:"水管路線圖參考編號",water_supply_present_types:"建築物的供水種類",water_supply_present_types_remark:"關於建築物的供水種類的說明",qms_title1:"水質測試",qms_title2:"消毒水平常規測試",testing_period:"測試項目(可以在另外一份文件詳列)",qms_title3:"其他測試參數(這可以參考單獨的時間表)",last_testing:"上次測試日期",next_testing_scheduled:"下次測試日期",qms_title4:"水安全計劃審核",qms_title5:"審核員(說明屬內部抑或外部人員,及列明審核員姓名及資歷)",audit_report_ref:"審核報告參考編號",audit_next_due:"下次審核日期",qms_title6:"申請人資料",applicant_contact_person_name:"業主立案法團證書編號",contact_person_name:"聯絡人姓名",applicant_owner_name:"業主/業主立案法團/業主委員會/經營者/管理公司/政府部門/其他的名稱",contact_person_tel:"聯絡電話號碼",contact_person_title:"聯絡人職位/職銜",contact_person_email:"聯絡電郵地址",building_info:"樓宇資料",building_type_remark:"房間總數",numberOfRooms:"Total no. of rooms",changeComplay:"更換公司",qmsApplyTypeTitle:"申請加入大廈優質供水認可計劃-食水(管理系統)",newApplicationApply:"新申請(證書有效期為2 å¹´)",renewalApplicationApply:"續期申請(現有證書持有人在證書到期日前後3個月內續期證書有效期為2å¹´)",dateVersionWSP:"建築物水安全計劃(WSP)的日期和版本",routineTestingDisinfectantLevelIf:"1. 消毒水平常規測試(如適用)",typeBuildings:"樓宇類別",indicateBuildingsApplying:"請從下列方格項目選出一項以說明申請加入計劃的樓宇類別",version:"版本",wSPDesignatedPerson:"負責樓宇水安全計劃(WSP)檢查的人員(指定人員)",position:"職位",potableWaterSupply:"食水",seawaterFlushingWaterSupply:"海水沖廁水",airConditioningCoolingWaterSupply:"空調冷卻水",fireServiceWaterSupply:"消防水",roofHarvestedRainwater:"天台收集的雨水",processWater:"廠房運作用水(例如鍋爐用的蒸餾水或逆滲透水)",recycledStorm:"回收/再生雨水或污水",otherPleaseSpecify:"其他(請註明)",hotels:"酒店",buildingsResidential:"樓宇(住宅)",buildingsCommercialResidential:"樓宇(商業或商住混合用途)",totalResidentialFlats:"住宅單位總數",buildingsIndustrial:"樓宇(工業)",schoolsConnecte:"6 歲或以下學童就讀的學校(如小學或某些特殊學校,但不包括幼稚園),而校內使用焊接銅喉",schoolsOtherAboveType:"學校(除上述類別外)",buildingsElderly:"樓宇(商業或商住混合用途,並附設有安老院舍)",rche:"安老院舍",hospitals:"醫院",government:"政府建築物",nameOwnerCorporation:"業主/業主立案法團(如適用,證書編號",ownersCommitteeOperator:"/業主委員會/經營者/管理公司/政府部門/其他的名稱:(請註明)",correspondenceAddress:"通訊地址",contactTelNoFax:"聯絡電話號碼/傳真號碼:",buildingName:"樓宇名稱",buildingAge:"樓齡(å¹´)",buildingAddress:"樓宇中文地址",englishBuildingAddress:"樓宇英文地址",preferredSchemeCertificate:"選取證書形式",schemePreferredFormat:"請從下列項目選出一項以說明選取證書形式",One_certificate_for_each_building:"每幢樓宇/酒店/學校/安è€
1é™¢èˆï¼é†«é™¢ä¸€å¼µè­‰æ›¸",onecertificatePreferredName:"整個屋苑/發展/期*一張證書,該證書涵蓋整個屋苑/發展/期*的全數樓宇。選取名稱為:",documentsIncludedApplication:"申請所需文件",waterSafetyWSPBuilding:"建築物水安全計劃",RenewalInternalAuditReport:"內部審核報告",RenewalCompletedRoutineWater:"完整水安全常規檢查清單",renewalTestReportsWater:"水質測試報告",buildingAgeNotS:"樓齡",onecertificatePreferred:"整個屋苑/發展/期*一張證書,該證書涵蓋整個屋苑/發展/期*的全數樓宇",preferredName:"選取名稱為",totalNoOfResidentialFlats:"-住宅單位總數",buildingsCommercialOrCombinedCommercial:"樓宇(商業或商住混合用途,並附設有 6 歲或以下學童就讀的學校(如小學或某些特殊學校,但不包括幼稚園),而校內使用焊接銅喉)",qmsWSPInstructions:"建築物水安全計劃,其中包括大廈的基本描述、供水流程圖、風險評估摘要表和已實施的水安全常規檢查清單,其中對於檢查頻率為一個月的項目,應至少包括一次檢查",qmsTestReportsForWaterInstructions:"僅適用於有 6 歲或以下學童就讀的學校(如小學或某些特殊學校,但不包括幼稚園),而校內使用焊接銅喉)",qwsApplyTypeTitle:"大廈優質供水認可計劃-沖廁水",qwsNewApplicationSelect:"新申請(證書有效期為一年)",qwsRenewalApplicationSelect:"續期申請 (如在現有證書到期日前後的三個月內續期、續期證書有效期為兩年)",CheckingBoxesListedBelow:"請從下列項目選出一項",applyForAcceptance:"本人/我們*申請加入大廈優質供水認可計劃-沖廁水 (下稱「計劃」)。本人/我們*確定申請這計劃的大廈沖廁水供應的來源是 (請從下列項目選出一項以顯示沖廁水的供應來源):",seaWaterSupplied:"水務監督供應的海水",temporaryMainsFreshWater:"水務監督供應的臨時淡水沖廁",ownPrivateSource:"私人水源供應的海水",wellWaterSupplied:"私人水源供應的井水",OtherSpleaseSpecify:"其他,請註明",hotelsLicenceNo:"酒店 - 牌照號碼",restaurantsLicenceNo:"學校",qwsGovernmentBuilding:"政府建築物 - 住宅單位總數",qwsRCHE:"安老院舍",buildingsResidentialFlats:"樓宇(住宅) - 住宅單位總數",buildingsResidentialFlats2:"樓宇(商業或商住混合用途) - 住宅單位總數",othersTypeOfBuilding:"其他 (請註明)",nameAgeAddressOfBuilding:"申請加入計劃的樓宇/酒店/學校/安è€
1é™¢èˆï¼é†«é™¢çš„名稱、樓齡及地址",oneCertificateForEachBuilding:"每座樓宇/酒店/餐廳一張證書",ApplicationshallSubmittedForEachBuilding:"提交申請時,請就每座大廈提交下列文件",completedChecklists:"1.已填妥的「清洗沖廁水水箱及水管系統檢查核對表」(表格C附件I",atLeastImmediately:"2.至少最近兩期的「清洗沖廁水水箱記錄」(例如由合資格人士簽妥、列明清洗日期、地點的完工證明書或「進入密閉空間-許可工作證」副本作為記錄依據)。",atLeastImmediately3:"3. 至少最近三期的「與沖廁供水有關的水管系統檢查」記錄",decofComplaints:"沖廁供水投訴的聲明",schemeWoul:"(若在申請之前已有沖廁供水投訴的個案,只要申請人從以下提供的資料中,顯示申請人在合理時間內適當處理有關投訴,本計劃將會接受該申請。)",anyComplaints:"1.過去十二個月有否任何有關沖廁供水的投訴?",numberOfComplaints:"投訴宗數",natureOfComplaints:"投訴性質",averageHandlingTime:"平均處理投訴所用時間",remedialActionsTaken:"採用的補救行動",allComplaintsCleared:"投訴是否已全部解決? 是/否*",qutstandingComplaints:"尚待解決的投訴",nature:"性質",numberOfCases:"宗數",licenceNo:"牌照號碼",sourceOFlushingWater:"大廈沖廁水供應的來源",sourceOFlushingWaterRemark:"大廈沖廁水供應的來源備註",particularsOfApplicant:"申請人資料",completedChecklistsNot1:"已填妥的「清洗沖廁水水箱及水管系統檢查核對表」(表格C附件I)。",atLeastImmediatelyNot2:"至少最近兩期的「清洗沖廁水水箱記錄」",atLeastImmediatelyNot3:"至少最近三期的「與沖廁供水有關的水管系統檢查」記錄",anyComplaintsNotNum:"過去十二個月有否任何有關沖廁供水的投訴",allComplaintsClearedNo:"投訴是否已全部解決",name:"名稱",qmsPartE:{upToDateWSPB:"一份最新版本的建築物水安全計劃,若該計劃已更新。",immediatelyPastMonthly:"一份申請人根據已實施建築物水安全計劃戊部表一進行的最近每月水安全常規檢查記錄 (包括所有檢查頻率為一個月或以下的項目)",latestPeriodicReview:"最近之建築物水安全計劃定期檢視紀錄(包括檢視後無需更新之紀錄",internalAuditReport:"一份內部審核*報告",auditCheckList:"審核清單範本",auditCheckListForHosp
1otals:"審核清單範本(醫院)",annualRoutine:"一份由合資格人士(如持牌水喉匠) 根據建築物水安全計劃戊部表二執行的每年巡查/檢查記錄",monthlyRoutine:"指定人員(如物業管理人員)根據建築物水安全計劃戊部表一執行的常規巡查/檢查記錄。",waterSuppliesDepartment:"水務署會在收到續期申請後會通知申請人提供至少3份  每月巡查/檢查記錄作抽樣查核",declaration:"一份確認已完成所有按照建築物水安全計劃定下的巡查/檢查聲明(蓋上公司印章) (聲明樣本供參考 ",declaration1:")",copperPipesConnected:"所有使用焊接銅喉,並有6歲或以下學童就讀的學校,如小學或某些特殊學校,但不包括幼稚園",addition:"除上述文件外,每年至少須進行一次水質檢查,相關測試報告須連同續期申請表一同遞交。建議學校連續2年在至少一個飲用及/或煮食用途的水龍頭抽取樣本作年度測試,檢測食水的鉛含量,若水質測試結果連續兩年達標,測試頻率可降至每5年一次。水樣本應採用30分鐘靜水(30MS)取樣規程抽取,詳情可向化驗室查詢或瀏覽水務署網頁。"},qwsPartE:{applicationshallSubmittedTogether:"提交申請表時,請就每座大廈提交已填妥的「清洗沖廁水水箱及水管系統檢查核對表」",cleansingFlushing:"即表格C附件I",cleansingFlushing2:"– (i) 最近兩次清洗沖廁水水箱記錄 (C部分) 及 (ii)最近三次與沖廁水供水有關的水管系統檢查記錄 (D部分及表一)。"},showersForBathing:"沐浴花灑",waterTaps:"水龍頭",washingMachines:"洗衣機",urinalEquipment:"小便器用具",flowControllers:"節流器",waterClosets:"水廁",deleteDistributorsTip:"是否刪除該進口商",companyInformation:"公司資料",englishCompany:"英文公司名稱",company:"中文公司名稱",companyName:"公司名稱",address:"地址",Fax:"傳真",TEL:"電話",onlyemail:"電郵",website:"網址",contactPersonTitle:"聯絡人",distributors:"銷售網絡",productInformation:"產品資料",modelNo:"型號",countryRegionOfOrigin:"原產國家/地區",catalogueIfAvailable:"產品目錄(如有)",catalogue:"產品目錄",frontAndSideViews:"正面和側面的照片",waterEfficiencyLabel:"負責印製及張貼用水效益標籤的人士",commencementDateToAffixLabel:"張貼用水效益標籤的開始日期",docProofDesign:"設計(如適用)和製造是按照國際認可品質管理系統運作(例如ISO 9001)的證明文件",validTestReport:"該沐浴花灑在其他司法管轄區註冊的用水效益標籤計劃的有效測試報告",cerOfAccreditation:"認可證書",referencesampleSuccessfullyRegistered:"成功註冊的參考樣本",distributor:"進口商",docProofOfApproval:"水龍頭已獲水務監督批核的證明文件",docProofForFlowController:"節流器已獲水務監督批核的證明文件",detailsOfFlowController:"節流器詳細信息",category:"類別",docProofRegistered:"此洗衣機已在強制性/自願性能源效益標籤計劃中註冊的證明文件",overseasRecognition:"海外認證",certifiedTrueCopy:"該洗衣機在其他司法管轄區註冊的用水效益標籤計劃的詳細測試報告",cerCopyDoc:"該洗衣機在其他司法管轄區註冊的用水效益標籤計劃的有效註冊證明",websiteLink:"證明測試實驗所為香港認可處互認協議計劃(HKAS MRS)或同等計劃所認可的網址",frontSideBottomViews:"正面、側面及底部相片",docProofWaterAuthority:"其小便器用具已獲水務監督批核的《一般認可》證明文件",docuProofOfFlushingWaterAuthority:"沖水閥已獲水務監督批核的《一般認可》證明文件",docuProofOfFlushValveAuthority:"沖水閥已獲水務監督批核的《一般認可》證明文件",validTestReport2:"該小便器用具在其他司法管轄區註冊的用水效益標籤計劃的有效測試報告",frontBottomViews:"正面及底部相片",docProofOfGAIssued:"其節流器已獲水務監督批核的證明文件",detailedTestReporLabellingScheme:"該水廁在其他司法管轄區註冊的用水效益標籤計劃的詳細測
1試報告",documentationShowingLabellingScheme:"該水廁在其他司法管轄區註冊的用水效益標籤計劃的有效註冊證明",informationOfTheCompany:"公司資料",chooseLaboratory:"選擇實驗室",doc:"文件",referenceSample:"成功註冊水廁的參考樣本",combinationCisternFlushingValve:"水箱和沖水閥的組合",reducedVolumeWaterLevel:"低沖水量",fullFlushVolumeLevel:"全沖洗量",detailedTestReportCisternVolumeCurve:"水箱容積曲線的詳細測試報告",detailedTestReportMaximum:"沖水閥最高承載水位,低沖水量水位和全沖水量水位測量的詳細測試報告",detailedTestReport:"詳細測試報告",detailedTestReportReadOnly:"詳細測試報告 (唯讀)",referenceSampleFlowController:"成功註冊節流器的參考樣本",certifiedTrueTestTeport:"該節流器在其他司法管轄區註冊的用水效益標籤計劃的詳細測試報告",certifiedTrueDocumentation:"該節流器在其他司法管轄區註冊的用水效益標籤計劃的有效註冊證明",referenceSampleWaterTaps:"成功註冊的水龍頭的參考樣本",docProofDesignInstructions:"其花灑的設計(如適用)和製造是按照國際認可品質管理系統運作(例如ISO 9001)的證明文件。摘錄自產品說明書或設計手冊,及製造商的國際品質管理認證的產品圖則,可被視為認可的品質管理系統的證明文件。未能更新認可的國際品質管理系統可能導致產品的註冊無效。",cerOfAccreditationInstructions:"文件證明書是指提交的認可證書,自我聲明書證明測試實驗所達到ISO/IEC 17025 標準的要求",reportInstructions:"如參與者以認可機制為其水龍頭在本計劃申請註冊,參與者須就該申請提交該水龍頭在其他司法管轄區註冊的用水效益標籤計劃的有效測試報告。測試報告應包括計劃附件 1 第 A5、B5、C4 及 D4 節所要求的資料。該水龍頭在其他司法管轄區註冊的用水效益標籤計劃的有效註冊證明(如註冊證明的認證副本、網站連結,如網址),以證明該水龍頭的相關註冊;",controllerInstructions:"如果要安裝任何節流器在水務監督批准的水龍頭上,參與者必須提供該節流器的詳細資料以證明適用於飲用水;",pleaseCompleteAllRequiredFields:"請完成所有必填內容",reportWelsEquipmentInstructions:"",urinalequipmentDdocProofDesignInstructions:"其小便器用具的設計(如有)和製造是按照一個國際認可的品質管理系統運作(例如 ISO 9001)的證明文件。摘錄自產品說明書或設計手冊,及製造商的國際品質管理認證的產品圖則,可被視為認可的品質管理系統的證明文件。未能更新認可的國際品質管理系統可能導致產品的註冊無效;",controllersFormPageDdocProofDesignInstructions:"其節流器的設計(如有)和製造是按照一個國際認可的品質管理系統運作(例如 ISO 9001)的證明文件。摘錄自產品說明書或設計手冊,及製造商的國際品質管理認證的產品圖則,可被視為認可的品質管理系統的證明文件。未能更新認可的國際品質管理系統可能導致產品的註冊無效",tapDdocProofDesignInstructions:"其水龍頭的設計(如有)和製造是按照國際認可品質管理系統†運作(例如ISO 9001)的證明文件。摘錄自產品說明書或設計手冊,及製造商的國際品質管理認證的產品圖則,可被視為認可的品質管理系統的證明文件。未能更新認可的國際品質管理系統可能導致產品的註冊無效;",waterClosetDdocProofDesignInstructions:"水廁的設計(如有)和製造是按照國際認可的品質管理系統運作(例如 ISO 9001或同等的國際標準)的證明文件。摘錄自產品說明書或設計手冊的產品圖則,以及製造商的國際品質管理系統認可證書,可被視為認可的品質管理系統的證明文件。未能更新認可的國際品質管理系統可能導致產品的註冊無效;",keywords:"關鍵詞",publicSearchPageTitle:"歡迎瀏覽水務署主頁",publicSearchPageContentOne:"水供應是香港人生活中不可或缺的部分,亦是香港可達致持續發展的關鍵一環。為約七百五十萬人提供可靠優質的供水服務,是水務署肩負的使命。",publicSearchPageContentTwo:"為了確保香港供水的可持續性,我們於二零一九年檢討了就二零零八年起推出的「全面水資源管理策略」(「策略」),更新後的「策略」採用雙管齊下的方式,著重管理食水需求及利用多元化的水資源,以提升我們食水供應的應變能力,應對氣候變化帶來的極端影響。為了達致在2030年或之前減少人均食水用量10% (以2016年作基年)的目標,我們已推展一系列措施,當中包括節約用水、減少政府及私人水管的用水流失,以及擴大使用次階水(包括海水及循環再用水)作非飲用用途。為了提升食水供應的應變能力,將軍澳海水化淡廠的第一階段工程已於2019å¹´12月正式展開,採用最新的逆滲透技術生產食水。在第一階段工程完成後,海水化淡廠的產量可應付本港約5%的總食水用量需求ã€
1‚",publicSearchPageContentThree:"水務署一直非常重視食水安全。不但供應完全符合《香港食水標準》的食水,我們亦會繼續推行於2017å¹´9月21日公布的「提升香港食水安全行動計劃」,以進一步提高用戶水龍頭的食水安全。此外,我們更於2020å¹´7月13日推出「水安全計劃資助計劃」,以鼓勵私人住宅及綜合大廈的業主及物業管理人實施「建築物水安全計劃」,以妥善管理其樓宇的食水安全風險。",publicSearchPageContentFour:"我與我的同事定會繼續竭力為香港提供優質的供水服務。",typeOrMateria:"產品分類",producer:"生產商",productionSite:"生產地",model:"型號",desc:"描述",recognitionLetterNo:"認可信編號",dateDue:"截止日期",approvalDate:"認可日期",submittedQualityCerDoc:"已提交的品質證明資料",generalAcceptance:"一般認可*",generallyAcceptedRemarks:"一般認可* 備註",effectiveDate:"生效日期",note:"備註",productPhotos:"產品相片",downloadLetterOfApproval:"認可信下載",waterEfficiencyLabellingScheme:"用水效益標籤計劃",lowLeachingRateGAStartProductOnly:"只搜尋低金屬釋出率《一般認可》產品",welsProductOnly:"只搜尋用水效益標籤計劃產品",buildingNameAddress:"樓宇名稱/地址",certificateType:"證書類型",validity:"有效日期",certificate:"證書",availableForBooking:"是否可預約",regionName:"區域名稱",registrationNumber:"註冊號碼",typeOfWelsproduct:"種類",subTypeOfWelsproduct:"子種類",companyTelephoneOrWebsite:"公司電話號碼/網址",symbolicPresentationOnWaterEfficiency:"在用水效益標籤上展示的標誌",waterEfficiencyGrade:"用水效益級別(1/2/3/4)",nominalFlowRate:"標稱流量(升/分鐘)",additionalMerit:"附加優點",dateOfIssue:"簽發日期",GaAcceptanceReferenceNumber:"沖水閥一般認可信編號",capacity:"洗衣容量(公斤)",waterConsumption:"耗水量(公升/公斤/循環)",waterFlushVolumePercycle:"每次循環沖水量(公升/循環)",descOfUrinalEquipment:"小便器用具之類型",meritedFunction:"功能上的優點",waterFlushVolumeFull:"全沖水量(公升/沖廁)",waterFlushVolumeReduced:"低沖水量(公升/沖廁)",typesOfWaterCloset:"水廁類型",surveillanceStatusEffectiveDate:"監察狀態生效日期",surveillanceStatus:"監察狀態",surveillanceRemarks:"監察狀態備註",managementOffice:"申請人",waterworksArea:"水務設施區域",teleNo:"電話號碼 ",locationMap:"位置圖 ",dateOfFilmingShooting:"拍攝日期",bookTime:"預計時間",briefDesOfScenesActivities:"場景及活動簡述",NoOfCrew:"攝製人員數目",NoOfParticipants:"參與人數 ",vehiclesHasType:"車輛(類 型 )數 目 ",dateOfPhotoshooting:"照片拍攝 日 期",dateOfVisit:"活動日期",natureOfVisit:"活動性質",NoOfVisitors:"參與人數",NoOfVehiclesWillEnterInto:"進入水務設施範圍車輛數目",accessToWaterworksArea:"進入水務設施區域",startDate:"開始時間",endDate:"結束時間",addLocations:"新增地點",locationForm:"地點表單",undertaking:"更換大廈管理公司",certificateValidTillDate:"證書有效期至",buildingManagementContractStartDate:"大廈管約合約啟始日期",incomingBuildingManagementCompany:"新替入的大廈管理公司",nameOfincomingBuildingManagementCompany:"新替入的大廈管理公司名稱",managementContractValidTillDate:"管理合約期至",nameGovernmentDepartment:"大廈業主/業主立案法團/業主委員會/政府部門的名稱",supportedOwnerPleaseSpecify:"大廈業主/業主立案法團/業主委員會/政府部門/其他(請註明)證明",pswRegTip:"密碼至少八位,需包含特殊字符、數字、大寫、小寫字母中的三種",accountActivation:"帳號激活",sentAnEmailTo:"驗證碼發送到電郵",codeToActivateAccount:"用於激活賬號",checkYourInboxInputBoxBelow:"請檢查您的電郵並在下面的輸入框中填寫驗證碼",resendCode:"重新發送驗證碼",waterSupplySystemToBeUsedTip:"請至少選擇一個供水系統",detailProductDesTip:"請輸入詳細產品描述",productBrandNameTip:"請輸入品牌名稱",manufacturerNameTip:"請輸入生產商名稱",factoryNameTip:"請輸入製造廠名稱",factoryAddressTip:"請輸入製造廠詳細地址",countryOriginTip:"請輸入原產地",modelNameInstructions:"如果申請產品屬不同類型或型號(不包æ
1‹¬å–‰ç®¡å’Œå–‰é…ä»¶ï¼‰ï¼Œè«‹ç¨ç«‹éžäº¤ç”³è«‹",qmsCerInstructionsOne:"-  如在現有證書到期日的 3 個月後才遞交續期申請,水務署會把該申請視作新申請。",qmsCerInstructionsTwo:"- 頒發給樓宇的證書根據以下的準則分為三個級別: ",qmsCerInstructionsThree:" 藍證書: 新參與或連續參與計劃但不足 4 年者(兩張證書之間的中斷時間少於 3 個月,則當作連續參與計劃) ;",qmsCerInstructionsFour:"銀證書: 連續參與計劃滿 4 年或以上但不足 6 年者;及",qmsCerInstructionsFive:"金證書: 連續參與計劃滿 6 年或以上者。",qmsCerInstructionsSix:"如申請人在現在證書到期後 3 個月內或推出大廈優質供水認可計劃-食水(管理系統)後 3 個月內續期,該證書的現有級別維持不變。 ",qmsWSDInstructionsTitle:"水務署質量控制檢查 ",qmsWSDInstructions:"為完成水安全計劃和把文件妥善存檔,本署職員會隨機抽樣檢查申請加入計劃的樓宇,尤其水務署會審閱每月檢查(由指定人員負責)的記錄、年度檢查(由合資格人士負責)的記錄或內部審計報告。對於任何嚴重地影響建築物水安全計劃效益的重大違規行為,如提供錯誤的供水流程圖、檢查記錄不完整、未能遞交審核報告或者違反評核標準等情況,申請人須在水務署發出通知後 3 個月內糾正欠妥善的地方並經水務署核實,否則該證書將視作無效及必須將其退還給水務署。",qmsConditionsFileTitle:"G.條款及條件以及H.大廈業主/業主立案法團/業主委員會/政府部門證明 (請註明)",templates:"範本",freshwater:"食水範本",flushingwater:"沖廁水範本",generalBuildings:"一般建築物",schools:"學校",RCHE:"安老院舍",andHospitals:"醫院",qmsChecklist:"最近 24 個月的例行檢查/檢查記錄。 或 一份確認已完成所有按照建築物水安全計劃定下的巡查/檢查聲明(蓋上公司印章)及由合資格人士執行的每年巡查/檢查記錄。水務署稍後會通知申請人提供至少3份每月巡查/檢查記錄作抽樣查核。查的每月例行檢查/檢查記錄的聲明(附有申請人公司印章)。",termsConditions:"Part G 條款及條件 & Part H大廈業主/業主立案法團/ 業主委員會/政府部門證明",uploadFile:"上傳文件",file:"文件",qwsCerInstructionsOne:"現有證書到期日三個月後續期者,將會當作並按新申請程序處理。",qwsCerInstructionsTwo:"三個不同級別的證書會根據以下的準則頒發:",qwsCerInstructionsThree:"• 藍證書:新參與或連續參與計劃但不足三年的樓宇(兩張證書之間的中斷時間少於三個月,則當作連續參與計劃)",qwsCerInstructionsFour:"• 銀證書:連續參與計劃滿三年或以上但不足五年的樓宇",qwsCerInstructionsFive:"• 金證書:連續參與計劃滿五年或以上的樓宇",qwsTermsConditions:"Part G 條款及條件 & Part H大廈業主/業主立案法團/ 業主委員會/政府部門證明",Scheme:"計劃",docToBeIncluded:"申請需要上傳的文件",undertakingFormForIncomingBuildingManagement:"入駐樓宇管理公司承諾書",pleaseUploadFile:"請上傳文件",certificateNumAlreadyExists:"證書編號已存在",inputCorrectEmailAddress:"請輸入正確的郵箱地址",nameOfApplicantOrganisation:"申請人/機構名稱",companyAddress:"公司地址",correspondingAddress:"通訊地址",projectUsed:"只供工程項目使用",nameIfAny:"名稱(如有)",labReportRef:"實驗室報告",uploadOtherPicture:"置放於相片廊的產品相片(上載)",pleaseEnterCorrectNum:"請輸入正確的號碼,且長度不能低於8",nameOfCompanyOrOrganisationAndAddressAndTelephoneNo:"公司或機構名稱/地址/電話號碼",locationMapAndRouteShouldBeAttached:"須夾附拍攝地點位置及路線圖",datesTimeOfFilmingShootingBriefDesOfScenesAndActivites:"拍攝場景及活動簡述",noOfParticipantsCrewAndVehicles:"參與人數/攝製人員的車輛(類型)數目",aCopyOfValidBusinessRegistrationCertificate:"有效商業登記證影印本/公司註冊證書/由稅務局發出的IR302",others:"其他",locationOfEventDateOfTheEventTimeNatureOfEvent:"活動地點/日期/時間/性質",basicInformation:"基礎信息",companyType:"公司類型",notesForOtherBuildingTypes:"其他建築類型的備註",newMenus:{eApplications:"申請",ga:"申請認可喉管及裝置",new:"新申請",renewal:"續期申請",list:"申請狀態",qmsAndqws:"申請大廈優質供水認可計劃",qws:"大廈優質供水認可計劃 – 沖廁水",qms:"大廈優質供水認可計劃-食水(管理系統)",undertaking:"更換物業管理公司(適用於大廈優質供水認可計劃)",wels:"自願參與用水效益標籤計劃",waterworks:"申請在水務設施區域進行活動",dwdf:"搜尋《自願性參與飲用水器具標籤計劃 ‒ 飲水機及濾水器 》的產品",personal:"個人中心",notice:"消息"},closetsNeedContent:"相同設計的水廁而顏色及塗飾不同,申請人必需諮詢符合本計劃要求的測試實驗所,並以書面確認其設計相同的水廁的不同顏色及塗飾
1,不會影響根據本計劃文件第5.2、5.3及5.4節所述的流量測試及其他效能要求的測試結果",equipmentNeedContent:"申請人必需諮詢符合本計劃要求的測試實驗所,並以書面確認其設計相同的小便器用具的不同顏色及塗飾,不會影響根據本計劃文件第5.3至5.5節所述的冲水量測試及其他效能要求的測試結果",controllersNeedContent:"申請人必需諮詢符合本計劃要求的測試實驗所,並以書面確認其設計相同的節流器的不同顏色及塗飾,不會影響根據本計劃文件第5.3至5.5節所述的流量測試及其他效能要求的測試結果",testReport:"測試報告",uploadOtherInfo:"其他信息",disclaimer:"條款",tickToAgree:"選擇即代表同意",agreeToTreaty:"請選擇,以代表同意“參與者的責任”條款",applicationItem:"申請項目",bsi:"英國標準協會註冊證明商標證書編號",wras:"英國水務法規咨詢計劃證明文件編號",bsiCertDoc:"英國標準協會註冊證明商標證書",wrasCertDoc:"英國水務法規咨詢計劃證明文件",gaProductModels:"GA產品列表",reactivateLabUpload:"駁回實驗報告",docNumber:"文件編號",canUploadAgain:"已上傳測試報告,不可重復上傳",submissionFailed:"提交失敗",submittedSuccessfully:"上傳成功",linkHasExpired:"鏈接過期了",linkHasUploaded:"測試文件已上傳",pleaseTickNum:"請選擇需要重新上傳的文件編號",gaApplication:"GA 申請",gaModelList:"GA產品列表",gaPlusApplication:"GA+申請",gaPlusModelList:"GA+產品列表",gaStartApplication:"GA*申請",gaStartModelList:"GA*產品列表",vlsApplication:"自願性參與標簽計劃(「VLS」)",vlsModelList:"自願性參與標簽計劃產品列表",summary:"概括",reasonsForRejection:"意見及/或需要的補充資料",WSDReviewing:"WSD審核中",completed:"完成",labReportUpload:"等待實驗室報告上傳",waitLabReportUpload:"等待實驗室報告",reviewLabReport:"實驗室報告已上傳",reSubmt:"重新提交",atypeBuildings:"A.樓宇類別",bqms_title6:"B.申請人資料",cbuilding_info:" C.樓宇資料",dpreferredSchemeCertificate:"D.選取證書形式",edocumentsIncludedApplication:"E.申請所需文件",fqmsWSDInstructionsTitle:"F.質量控制檢查",fqwsDeclarationOfComplaintsTitle:"F.沖廁供水投訴的聲明",gqmsConditionsFileTitle:"G.條款及條件, H. 業主證明",requireToPrint:"您需要打印、簽名並上傳此表格",conditionsCarefully:"。在填寫和簽署表格前,請仔細閱讀條款及條件。",chineseBuildingName:"大廈中文名稱",englishBuildingName:"大廈英文名稱",wspTipOne:"建築物水安全計劃",coverPage:"封面",DesOfBuilding:"甲部 — 建築物概況",waterFlowDiagrams:"乙部 — 供水流程圖",riskAssessmentSummaryTable:"丙部 — 建築物風險評估簡表",routineWaterSafetyChecklist:"丁部 — 建築物的常規水安全檢查清單",routineCheckingInsnection:"戊部 — 表 一 由指定人士(如物業管理人員)執行常規檢查/巡視清單,其中對於檢查頻率為一個月的項目,應至少包括一次檢查。",qualifiedPerson:"戊部 — 表 二 由合資格人士(如持牌水喉匠, 屋宇裝備工程師, 屋宇測量師)執行的常規檢查/巡視清單",nameOfOwner:"業主",ownersCorporation:"業主立案法團(如適用,證書編號)",ownersCommittee:"業主委員會",operator:"經營者",managementAgent:"管理公司",governmentDepartments:"政府部門",othersPleaseSpecify:"其他的名稱:(請註明)",chineseName:"中文名稱",englishName:"英文名稱",certificateNo:"證書編號",fileCannotThan50MB:"文件總和不能大於100MB",understood:"明白",supportDoc:"證明文件",sendReportFileToWsdoffice:"申請者請以親身遞交或郵遞方式把測試報告*提交致本署",sendReportFileToWsdoffice1:"地址:香港灣仔告士打道 7 號入境事務大樓 47 樓",sendReportFileToWsdoffice2:"*所有提交本署的測試報告影印本均須為參與者委託的測試實驗所所發出的認證副本。",welsSendReportFileToWsdoffice:"申請者請以電郵方式把測試報告提交致本署",welsSendReportFileToWsdoffice1:"電郵:[email protected]",welsSendReportFileToWsdoffice2:"請在提交測試報告後等候確認電郵,並於收到確認電郵後再次登入本系統完成餘下的申請程序。",kindTips:"溫馨提示",wcSuiteProductInfo:"一體式水廁產品資料",valveProductInfo:"沖水閥產品資料",valveGaUploadFile:"已獲水務監督批核的水廁沖水閥證明文件",cisternProductInfo:"水箱產品資料",panProductInfo:"廁盆產品資料",includeFlowController:"上述產品是否安裝節流器",flowControllerProductInfo:"節流器產品資料",installationAgreement:"有關的節流器附加/裝配過程是由一位合資格人士/公司嚴格按照其製造商所指定的安裝程序及要求進行",installationAgreementShower:"有關的節流器附加/裝配過程是由一位合資格人士/公司嚴格按照其製造商所指定的安裝程序及要求進行",urinalProductInfo:"小便器用具產品資料",gaUploadFile:"已獲水務監督批核文件",waterTapVariationAgreement:"申請人確認其設計相同的水龍頭的顏色及塗飾不同不會影響根據第 5.3 及5.4 節所述的流量測試及其他效能要求的測試結果",waterClosetsVariationAgreement:"申請人確認其設計相同的水廁的顏色及塗飾不同不會影響根據第 5.2、5.3及5.4節所述的冲水量測試及其他效能要求的測試結果",urinalEquipmentVariationAgreement:"申請人確認其設計相同的小便器用具的顏色及塗飾不同不會影響根據第5.3至5.5節所述的冲水量測試及其他效能要求的測試結果",showerVariationAgreement:"其設計相同的花灑的顏色及塗飾不同,不會影響根據第 5.2 及5.3 節所述的流量測試及其他效能要求的測試結果。",washingVariationAgreement:"其設計相同的洗衣機的不同顏色及塗飾
1,不會影響根據第5.2節所述的流量測試及其他效能要求的測試結果",flowVariationAgreement:"申請人確認其設計相同的節流器的顏色及塗飾不同不會影響根據第5.3至5.5節所述的流量測試及其他效能要求的測試結果",successfullySaved:"申請保存成功",successfullySubmitted:"申請提交成功",outDue:"閒置時間太長。 請選擇保持登錄。 否則,您將自動登出",seswsionTimeout:"登錄逾時",logOff:"退出",stayLoggedIn:"保持登錄",uploadedFileSuccessfully:"上傳成功",makeSureUpload:"在繼續之前,請確保您已上傳所有部分。",OnlySupportsPDFWordJPGJPEGPNGFiles:"只支持PDF, Word, JPG, JPEG, PNG格式的文件",contactTelNo:"聯繫電話",contactFaxNo:"聯繫傳真",enterNumbersOnly:"只能輸入數字",latestMonthlyRoutine:"**最近 24 個月的例行檢查/檢查記錄** 或",aDeclaration:"**一份確認已完成所有按照建築物水安全計劃定下的巡查/檢查聲明(蓋上公司印章)及由合資格人士執行的每年巡查/檢查記錄。水務署稍後會通知申請人提供至少3份每月巡查/檢查記錄作抽樣查核。**",anInternalAuditReport:"一份內部審核報告,建議有關審核由一個有接受內部審核培訓,並沒有參與該幢大廈的建築物水安全計劃的獨立人士執行。審核工作應重點關注實施建築物水安全計劃方面。",testReportForWaterQualityExamination:"水質檢驗報告 (所有使用焊接銅喉,並有6歲或以下學童就讀的學校,如小學或某些特殊學校,但不包括幼稚園)",mr:"先生",ms:"女士",contactGender:"稱謂",participantObligations:"條款",newPassword:"新密碼",termsAndConditions:"條款和條件",carefully:"",singUpDisclaimerOne:'香港特別行政區政府(簡稱"政府")在本網址所提供的資料(簡稱"政府資料")只供參考之用。雖然政府已盡力確保這個網址上的政府資料準確無誤,但政府並不對該等政府資料的準確性作出任何明示或隱含的保證。',singUpDisclaimerTwo:'本網址亦載有由其他各方輸入的資料,使用者亦可透過將本網址連接到其他網址而取得由其他各方所提供的資料(統稱 "其他資料")。政府明確聲明並沒有批准或認可本網址所載的其他資料或與本網址有關連的其他資料。',singUpDisclaimerThree:"對於與本網址有關連的任何因由所引致的任何損失或損害,政府概不負責。政府有絕對酌情權隨時刪除、暫時停載或編輯本網址上的各項資料而無須給予任何理由。使用者須負責自行評估本網址所載的各項資料或與本網址有關連的各項資料,並應在根據該等資料行事前,藉參照原本發布的文本以核實該等資料,以及徵詢獨立意見。",enterLeastOneContactInformation:"請至少輸入一條聯繫方式",contactInformation:"聯繫信息",ownersCorporationSimple:"業主立案法團",selectRetrievalTypeFirst:"請先選擇檢索類型",resetSuccessfully:"重置成功",registrationSuccess:"註冊成功",completeAllRequiredFields:"請填寫所有必填字段",linkSent:"鏈接已發送",passwordsEnteredTwiceNotMatch:"兩次輸入密碼不一致",currentPasswordError:"當前密碼錯誤",verCodeError:"驗證碼錯誤",registrationNotYetOpen:"註冊尚未打開",backupEmailAlreadyExists:" 備份電子郵件已存在",backupEmailNotExists:"備份電子郵件不存在",userDoesNotExist:"用戶不存在",userAlreadyExists:"用戶已存在",modificationSuccessfulWillExitSoon:"修改成功,即將退出",enterSearchkeyword:"輸入查詢字串)",go:"去",userErrOrPassErr:"用戶不存在或者密碼錯誤",emailNotExist:"電子郵件不存在或驗證碼不正確",verifyCodeErr:"驗證碼錯誤",codeErrPleaseTry:"驗證碼過期,請重試",codeMailHasBeenSend:"驗證碼已發送至郵箱,請注意查收",emailAddressErr:"郵箱地址不存在",changeLanguageTip:"轉換語言將導至未被儲存的資料流失,繼續?",other:"其他",submitContent:"提交內容",characterLength:"字符長度不能超過",cancelFile:"取消文件",cancelReason:"取消原因",cancelSuccess:"取消成功",userIsFrozen:"你的賬戶已被凍結",manyErrUserIsFrozen:"登錄錯誤太多,你的賬戶已被凍結",welsRegistrationNo:"註冊號碼",manufacturer:"製造商",district:"區域",orderBy:"排序",publicSearchQms:"大廈優質供水認可計劃 - 食水(管理系統) - 已獲證書的樓宇名單",publicSearchQmsOngoing:"大廈優質供水認可計劃 - 食水(管理系統) - 已提交申請的樓宇名單",publicSearchQws:"大廈優質供水認可計劃 – 沖廁水- 已獲證書的樓宇名單",publicSearchQwsOngoing:"大廈優質供水認可計劃 – 沖廁水- 已提交申請的樓宇名單",publicSearchQmsQwsCert:"已獲證書的樓宇名單",publicSearchQmsQwsOngoing:"已提交申請的樓宇名單",publicSearchGa:"搜尋具有效《一般認可》資格的喉管及裝置",publicSearchWels:"搜尋《用水效益標籤計劃》的產品",publicSearchDwdf:"搜尋《自願性參與飲用水器具標籤計劃 ‒ 飲水機及濾水器 》的產品",publicSearchQmsQws:"參與的å¤
1§å»ˆåˆ—表 - 大廈優質供水認可計劃",notifyLabLinkSuccess:"上傳測試報告要求發送至實驗室",private_car:"私家車",light_goods_vehicle:"輕型貨車",mini_bus:"小型巴士(最多二十九座位)",exceed3:"數量不可以超過3",dwdf:{registrationNumber:"登記號碼",product_description:"產品描述",category:"產品類型",chinese_manufacturer:"生產商名稱(中文)",english_manufacturer:"生產商名稱(英文)",full_factory:"製造廠詳細地址",label:"負責印製及張貼標籤的人士",label_date:"張貼標籤的開始日期",other_certificates:"其他證書",water_inlet_size:"入水位尺寸",frontAndSideViews:"正面丶側面丶頂部和底部",catalogueInstructions:"產品目錄說明\na) 生產商名稱\nb) 製造商詳細地址\nc) 品牌名稱及型號\nd) 產品說明\ne) 入水位尺寸\nf) 實物照片\ng) 剖面圖\nh) 產品上的標記\ni) 圖上主要尺寸"},footer:{WaterSuppliesDepartment:"水務署",sitemap:"SITEMAP",contactUS:"CONTACT US",faqs:"FAQS",access:"公開資料",form:"APPLICATION AND PUBLIC FORMS",aboutUs:"ABOUT US",welcomeMessage:"Welcome Message",visionMissionAndValues:"Vision, Mission and Values",Organisation:"Organisation",annualReport:"Annual Report",performanceTargetsAndAchievements:"Performance Targets and Achievements",financeInformation:"Finance Information",milestonesAndWaterworksMonuments:"Milestones and Waterworks Monuments",advisoryCommittees:"Advisory Committees",volunteerTeam:"Volunteer Team",annualOpenDataPlans:"Annual Open Data Plans",annualSpatialDataPlan:"Annual Spatial Data Plan",coreBusinesses:"CORE BUSINESSES",totalWaterManagementStrategy:"Total Water Management Strategy",waterResources:"Water Resources",operationAndMaintenanceOfWaterworks:"Operation and Maintenance of Waterworks",waterSafety:"Water Safety",majorInfrastructureProjects:"Major Infrastructure Projects",customerServicesLawEnforcement:"Customer Services & Law Enforcement",customerServices:"CUSTOMER SERVICES",manageAccountAndWaterBills:"Manage Account and Water Bills",ApplicationForWaterSupply:"Application for Water Supply",otherCustomerServices:"Other Customer Services",temporaryWaterSuspensionNoticesAndEnquiries:"Temporary Water Suspension Notices and Enquiries",WsdMobileApp:"WSD Mobile App",plumbingAndEngineering:"PLUMBING AND ENGINEERING",licensedPlumbers:"Licensed Plumbers",fireService:"Pipes and Fittings to be used in Inside Service or Fire Service",submissions:"Requirements on Plumbing Works and Submissions",plumbers:"Information for Licensed Plumbers",lp:"Voluntary Continuing Professional Development Scheme for LP",technicalCommittee:"Technical Committee on Plumbing",goodPractice:"Good Practice Guide on Plumbing Works",automaticMeter:"Automatic Meter Reading (AMR) System",wels:"Water Efficiency Labelling Scheme (WELS)",maintenanceInternalPlumbing:"Maintenance of Internal Plumbing",nsideServices:"Enhancement of Control of Inside Services’ Construction and Installation",minorNature:"Works of a Minor Nature",waterSafrtyInBuildings:"WATER SAFETY IN BUILDINGS",wspBuildings:"Water Safety Plan for Buildings",qualifiedPersons:"Qualified Persons",wspScheme:"Water Safety Plan Subsidy Scheme",qms:"Quality Water Supply Scheme for Buildings – Fresh Water (Management System)",qws:"Quality Water Supply Scheme for Buildings – Flushing Water WATER CONSERVATION",waterConservation:"WATER CONSERVATION",publicRelations:"PUBLIC RELATIONS",PoService:"Ex-Sham Shui Po Service Reservoir",liaisonGroup:"WSD Customer Liaison Group",saveDave:'"Excursion with Water Save Dave" Visiting Programme (For Individuals and Groups)',conductingActivities:"Application for Conducting Activities in Waterworks Areas/Buildings",visits:"Educational Visits to Waterworks Installations by Schools or Groups",publicConsultation:"Public Consultation and Public Engagement",events:"Events",gamesQuizzes:"Games and Quizzes",serviceUse:"Recreational Use of Service Reservoir Roofs",mediaCorner:"MEDIA CORNER",hot:"Hot Topics",press:"Press Releases",letters:"Letters to the Editors",questions:"LegCo Questions and Replies",videos:"PUBLICATIONS, VIDEOS AND STATISTICS",pr:"PR Publications",reports:"Guidelines, Reports, Drawings and Specifications",statistics:"Statistics",gallery:"Video Gallery",tendets:"TENDERS, CONTRACTS AND CONSULTANCIES",contracts:"Contracts",consultancies:"Consultancies",supplier:"Application for Inclusion as a WSD Supplier",whatNew:"WHAT'S NEW"}}},29979:function(e,t,a){"use strict";a.r(t),a.d(t,{lang:function(){return o}});var o={headerLinkQuestion:"常见问题",headerLinkInfo:"公开资料",headerLinkForm:"申请和公开表格",headerLinkLinks:"相关连结",headerLinkContact:"联系我们",headerBannerHotline:"水务署客户谘询热线 -  28245000",headerBannerHotline1:"水务署客户谘询热线",headerBannerHotline2:"28245000",headerBannerSearchPlaceholder:"关键词",headerBannerSearchSubmit:"查询",headerBannerLogin:"登入",headerBannerLogout:"退出",langEn:"English",langTc:"繁体",langSc:"简体",footImportantNotice:"重要告示",footPrivatePolicy:"私隐政策",footDate:"修订日期: 2025å¹´4月",backupEmail
1:"备用邮箱地址",password:"密码",loginCode:"验证码",login:"登入",publicSearch:"公开查询",logout:"退出",signUp:"注册",register:"注册",refresh:"更新",forgotPassword:"忘记密码",forgotAccount:"忘记账户",AlreadyHaveAccount:"已有账号?",loginIn:"登入",loginTitle:"登入",forgetPswTitle:"重设密码",singUpTitle:"注册",emailTip:"请输入邮箱地址",passwordTip:"请输入密码",codeTip:"请输入验证码",usernameTip:"请输入账户名称",confirmPswTip:"请输入确认密码",twoPswError:"两次密码输入不一致!",updateProfilesSuccess:"更新完成",forgotAccountEmailMsg:"账户资料已发送到备用电邮信箱,请查阅!",changeUsernameSuccess:"修改邮箱地址成功",sameEmailAddress:"修改邮箱地址不能与当前账号一直",menus:{home:"首页",search:"查询",eApplications:"申请",ga:"GA申请",qms:"大厦优质供水认可计划-食水(管理系统)申请",qws:"大厦优质供水认可计划-冲厕水申请",wels:"WELS申请",waterworks:"水务署参观申请",undertaking:"大厦优质供水认可计划-更换楼宇管理公司",personal:"个人中心",notice:"消息",renewalApplication:"续期申请",list:"申请状态"},homeWelcome:"欢迎使用水务署系统",action:{action:"操作",create:"新增",edit:"编辑",view:"查看",detail:"详情",delete:"删除",withdraw:"撤销",review:"审核",print:"打印",new:"新增",laboratory:"实验室",download:"下载",send:"发送",submit:"提交",created:"创建申请",save:"保存",close:"关闭",agree:"同意",cancel:"取消",search:"搜寻",add:"新增",upload:"上传",resubmit:"重新提交",reupload:"重新上传"},pleaseChoose:"请选择",region:"区域",status:"状态",type:"类型",applicationTime:"申请日期",keyword:"关键词",time:"时间",date:"日期",approvedDate:"审批日期",applicationTimePlaceholderStart:"申请开始日期",applicationTimePlaceholderEnd:"申请结束日期",type_of_building:"楼宇类型",name_of_building:"楼宇中文名称",english_of_building:"楼宇英文名称",visit_date:"到访日期",scheme:"证书编号",home:"主页",search:"搜索",eApplication:"电子申请",GAApplication:"GA 申请",QMSApplication:"大厦优质供水认可计划-食水(管理系统)申请",QWSApplication:"大厦优质供水认可计划-冲厕水申请",WELSApplication:"WELS 申请",accessApplication:"参观申请",undertakingApplication:"大厦优质供水认可计划-更换楼宇管理公司",personal:"个人中心",notice:"消息",email:"邮箱地址",username:"用户名",change:"更换",code:"验证码",sendCode:"发送验证码",changePsw:"修改密码",currentPsw:"当前密码",newPsw:"新密码",confirmPsw:"确认密码",updateProfile:"更新个人信息",changeUemailAddress:"修改邮箱地址",changeUpassword:"修改密码",confirmPassword:"确认密码",title:"标题",formHeader:{file_no:"申请编号",usable:"是否可以申请",brand:"品牌名称",product_desc:"产品描述",location:"地点",type:"类型",status:"状态",gaBrand:"品牌"},conditionsTitle:"申请条款",applications:"申请",deleteColumnTip:"确定删除该行数据吗?",sendLaboratoryTip:"确认向实验室发送通知?",confirmBtn:{title:"提示",confirmButtonText:"确定",cancelButtonText:"取消"},general_desc:"基本信息",contact_person:"联络人",company_name:"公司名称",particular_address:"本地通讯地址",telephone_number:"电话号码",ga_scheme:"喉管及装置的 GA 申请",ga_plus_scheme:"申请自愿性 GA+ 计划",ga_star_scheme:"申请自愿性参与 GA* 计划",ga_vls_scheme:"申请自愿性参与标签计划(“VLS”)",gaVlsScheme:"申请自愿性参与标签计划",product_models:"申请 GA 产品型号列表(申请人或者实验机构填写):",ga_plus_product_models:"申请 GA+ 产品型号列表",ga_star_product_models:"申请 GA* 产品型号列表(申请人或者实验机构填写)",ga_vls_product_models:"申请 自愿性参与标签计划产品型号列表",application_types:"申请类型",application_type:"申请类型",contactPerson:"所使用供水系统",waterSupplySystemToBeUsedGA:"所使用供水系统 (可选多项)",product_brand_name:"品牌名称",manufacturer_name:"生产商名称",factory_name:"制造厂名称",factory_address:"制造厂详细地址",country_origin:"原产地",laboratory_names:"负责测试报告的实验机构",product_description:"详细产品描述",model_name:"型号",water_inlet_size:"入水位尺寸",w
1aterInletSizeEg:"入水位尺寸 (例如 50mm,可填写多项)",supporting_document_no:"证明文件编号",supporting_doc:"证明文件",supportingDocuments:"证明文件",product_catalog_books:"产品目录:",laboratory_documents:"实验室上传的其他文件",iso_ref_no:"ISO参考编号",iso_expiry_date:"有效期",iso_cert_doc:"ISO认证文件",isoCerDocs:"ISO认证文件",product_ref_no:"产品认证参考编号",product_cert_doc:"产品认证文件",ga_letter_doc:"GA信件",ga_file_no:"GA 编号",supporting_document_ref_no:"证明文件参考编号",ga_star_supporting_doc:"GA* 证明文件",applicant_particular:"申请人资料:",application_items:"申请项目(可多选)",type_of_application:"申请类型:",gaApplicationPipeAndFitting:"喉管及装置的 GA 申请:",existingGALetterNo:"现有一般认可信编号",isoRefNumAndExpiryDate:"ISO参考编号及有效期",productRefNumAndExpiryDate:"产品认证参考编号及有效期",SupportingRefNumAndExpiryDate:"支持文件参考编号",gANoIfApplicable:"GA 编号(如适用)",bootInstructionsDiaTitle:"引导说明",newProductModeTitle:"产品型号",isoExpiryDate:"ISO有效期",productExpiryDate:"产品认证有效期",copyGaLetter:"GA证明文件副本",gaApplicationTypes:"GA申请类型",listProductModelsForGA:"申请 GA 产品型号列表",gaPlusSchemeDetailTitle:"申请自愿性 GA+ 计划",gaStartApplicationTypes:"GA+ 申请类型",gaPlusProductModels:"申请 GA+ 产品型号列表",gaStarProductModels:"申请 GA* 产品型号列表",VELApplicationTypes:"VLS 申请类型",waterSupplySystemToBeUsed:"所使用供水系统",newApplicationVLS:"新申请自愿性参与标签计划",notApplicable:"不适用",applicationForExistingGAproducts:"为已有 GA 资格的产品申请",onePhotocopyOfOriginalGALetter:"复印自正本GA信件的副本一份",newApplicationGAPlus:"新申请参与GA+计划",onephotocopyOfGAPlustSupportingDocuments:"GA+ 证明文件副本一份",newApplicationForJoiningGAStartScheme:"新申请参与GA*计划",oneOriginalCertifiedTrueCopyOfGAStareSupportingdoc:"GA*的证明文件正本/核证副本一份",oneGAStartSupportingDocAndOneGALetter:"GA* 的证明文件正本/核证副本一份,及复印自正本 GA 信件的副本一份",OneGAPlusSupportingdocAndOnePhotocopyGALetter:"GA+ 的证明文件正本/核证副本一份,及复印自正本 GA 信件的副本一份",sendMessageTip:"发送成功",application:"申请",new_application:"新申请",renew_application:"续期申请",itemNo:"编号",applicationPurpose:"申请目的",documentsBeAubmitted:"需提交的文件",tableEmptyText:"暂无数据",publicSearchKeyPla:"申请编号/项目名称/类型",applyMessageTitle:"补充资料",pleaseEnter:"请输入",cannotJustSpaces:"不能只输入空白键",yes:"是",no:"否",deleteTheNature:"是否删除该投诉",chooseTypeOfWELSProduct:"请选择用水效益标签的产品类型",sure:"确定",selectPlaceholder:"请选择",wantDeleteTip:"你确定要删除吗?",exitTip:"你确定要退出吗?",withdraw:"确定撤销申请吗?",reasonForRejection:"意见及/或需要的补充资料",breadcrumb:{eApplication:"申请",detail:"详情",ga:"GA",newApplication:"新申请"},pleaseSelectLaboratory:"请选择實驗機構",gaProductCatalogBookInstructions:"产品目录说明\na) 生产商名称\nb) 制造厂详细地址\nc) 品牌名称及型号\nd) 产品说明\ne) 入水位尺寸\nf) 实物照片\ng) 剖面图\nh) 产品上的标记\ni) 图上主要尺寸",gaSupportingDocNoInstructions:"*英国标准协会注册证明商标证书:显示相关英国标准的英国标准协会注册证明商标证书\n*英国水务法规咨询计划证明文件:英国水务法规咨询计划的证书\n*英国水务法规咨询计划证明文件:英国水务法规咨询计划的认可信及\n*英国水务法规咨询计划证明文件:有关产品类别的测试编码摘要\n*香港实验所认可计划认可试验机构的测试报告:显示所按相关标准版本的测试报告正本/核证副本",applicationAlreadyExists:"该申请已经存在",applicationAlreadySubmit:"该申请已经提交",applicationDraftErr:"申请草案数量超过20",applicationTestReportErr:"请确认所有测试报告已上传",steps:{drafted:"草稿",pedding:"等待中",pendingReview1:"等待一审",pendingReview2:"等待二审",pendingReview3:"等待三审",rejectedOrApproved:"拒绝/完成",rejected:"拒绝",approved:"完成",pendingLab:"等待实验室"},wsp_version:"水安全计划版本",wsp_date:"水安全计划出版日期",wsp_designated_person_name:"指定人员的联络方法",wsp_position:"指定人员的职位",owner:"持有人",management_agent:"建筑物管理代理人",maintenance_agent:"建筑物维修代理人",lot_boundary:"地界(或位置图)",blocks_no:"座数",floors_no:"层数",wards_no:"单位数目",patients_staff_no:"住户/用户人数",certificate_references:"供水接驳通知或证明参考",plumbing_line_diagrams_ref_no:"水管路线图参考编号",water_supply_present_types:"建筑物的供水种类",water_supply_present_types_remark:"关于建筑物的供水种类的说明",qms_title1:"水质测试",qms_title2:"消毒水平常规测试",testing_period:"测试项目(可以在另外一份文件详列)",qms_title3:"其他测试参数(这可以参考单独的时间表)",last_testing:"上次测试日期",next_testing_scheduled:"下次测试日期",qms_title4:"水安全计划审核",qms_title5:"审核员(说明属内部抑或外部人员,及列明审核员姓名及资历)",audit_report_ref:"审核报告参考编号",audit_next_due:"下次审核日期",qms_title6:"申请人资料",applicant_contact_person_name:"业主立案法团证书编号",contact_person_name:"联络人姓名",applicant_owner_name:"业主/业主立案法团/业主委员会/经营者/管理公司/政府部门/其他的名称",contact_person_tel:"联络电话号码",contact_person_title:"联络人职位/职衔",contact_person_email:"联络电邮地址",building_info:"楼宇资料",building_type_remark:"房间总数",numberOfRooms:"Total no. of rooms",changeComplay:"更换公司",qmsApplyTypeTitle:"申请加入大厦优质供水认可计划-食水(管理系统)",newApplicationApply:"新申请(证书有效期为2 年)",renew
1alApplicationApply:"续期申请 (如在现有证书到期日前后的三个月内续期、续期证书有效期为两年)",dateVersionWSP:"建筑物水安全计划(WSP)的日期和版本",routineTestingDisinfectantLevelIf:"1. 消毒水平常规测试(如适用)",typeBuildings:"楼宇类别",indicateBuildingsApplying:"请从下列方格项目选出一项以说明申请加入计划的楼宇类别",version:"版本",wSPDesignatedPerson:"负责楼宇水安全计划(WSP)检查的人员(指定人员)",position:"职位",potableWaterSupply:"食水",seawaterFlushingWaterSupply:"海水冲厕水",airConditioningCoolingWaterSupply:"空调冷却水",fireServiceWaterSupply:"消防水",roofHarvestedRainwater:"天台收集的雨水",processWater:"厂房运作用水(例如锅炉用的蒸馏水或逆渗透水)",recycledStorm:"回收/再生雨水或污水",otherPleaseSpecify:"其他(请注明)",hotels:"酒店",buildingsResidential:"楼宇(住宅)",buildingsCommercialResidential:"楼宇(商业或商住混合用途)",totalResidentialFlats:"住宅单位总数",buildingsIndustrial:"楼宇(工业)",schoolsConnecte:"6 岁或以下学童就读的学校(如小学或某些特殊学校,但不包括幼稚园),而校内使用焊接铜喉",schoolsOtherAboveType:"学校(除上述类别外)",buildingsElderly:"楼宇(商业或商住混合用途,并附设有安老院舍)",rche:"安老院舍",hospitals:"医院",government:"政府建筑物",nameOwnerCorporation:"业主/业主立案法团(如适用,证书编号",ownersCommitteeOperator:"/业主委员会/经营者/管理公司/政府部门/其他的名称:(请注明)",correspondenceAddress:"通讯地址",contactTelNoFax:"联络电话号码/传真号码:",buildingName:"楼宇名称",buildingAge:"楼龄(å¹´)",buildingAddress:"楼宇中文地址",englishBuildingAddress:"楼宇英文地址",preferredSchemeCertificate:"选取证书形式",schemePreferredFormat:"请从下列项目选出一项以说明选取证书形式",One_certificate_for_each_building:"每幢楼宇/酒店/学校/安老院舍/医院一张证书",onecertificatePreferredName:"整个屋苑/发展/期*一张证书,该证书涵盖整个屋苑/发展/期*的全数楼宇。选取名称为:",documentsIncludedApplication:"申请所需文件",waterSafetyWSPBuilding:"建筑物水安全计划 ",RenewalInternalAuditReport:"内部审核报告",RenewalCompletedRoutineWater:"完整水安全常规检查清单",renewalTestReportsWater:"水质测试报告",buildingAgeNotS:"楼龄",onecertificatePreferred:"整个屋苑/发展/期*一张证书,该证书涵盖整个屋苑/发展/期*的全数楼宇",preferredName:"选取名称为",totalNoOfResidentialFlats:"-住宅单位总数",buildingsCommercialOrCombinedCommercial:"楼宇(商业或商住混合用途,并附设有 6 岁或以下学童就读的学校(如小学或某些特殊学校,但不包括幼稚园),而校内使用焊接铜喉)",qmsWSPInstructions:"建筑物水安全计划,其中包括大厦的基本描述、供水流程图、风险评估摘要表和已实施的水安全常规检查清单,其中对于检查频率为一个月的项目,应至少包括一次检查",qmsTestReportsForWaterInstructions:"仅适用于有 6 岁或以下学童就读的学校(如小学或某些特殊学校,但不包括幼稚园),而校内使用焊接铜喉)",qwsApplyTypeTitle:"大厦优质供水认可计划-冲厕水",qwsNewApplicationSelect:"新申请(证书有效期为一年) ",qwsRenewalApplicationSelect:"续期申请 (如在现有证书到期日前后的三个月内续期、续期证书有效期为两年)",CheckingBoxesListedBelow:"请从下列项目选出一项",applyForAcceptance:"本人/我们*申请加入大厦优质供水认可计划-冲厕水 (下称“计划”)。本人/我们*确定申请这计划的大厦冲厕水供应的来源是 (请从下列项目选出一项以显示冲厕水的供应来源):",seaWaterSupplied:"水务监督供应的海水",temporaryMainsFreshWater:"水务监督供应的临时淡水冲厕",ownPrivateSource:"私人水源供应的海水",wellWaterSupplied:"私人水源供应的井水",OtherSpleaseSpecify:"其他,请注明",hotelsLicenceNo:"酒店 - 牌照号码",restaurantsLicenceNo:"学校",qwsGovernmentBuilding:"政府建筑物 - 住宅单位总数",qwsRCHE:"安老院舍",buildingsResidentialFlats:"楼宇(住宅) - 住宅单位总数",buildingsResidentialFlats2:"楼宇(商业或商住混合用途) - 住宅单位总数",othersTypeOfBuilding:"其他 (请注明)",nameAgeAddressOfBuilding:"申请加入计划的楼宇/酒店/学校/安è€
1é™¢èˆï¼åŒ»é™¢çš„名称、楼龄及地址",oneCertificateForEachBuilding:"每座楼宇/酒店/餐厅一张证书",ApplicationshallSubmittedForEachBuilding:"提交申请时,请就每座大厦提交下列文件",completedChecklists:"1.已填妥的「清洗冲厕水水箱及水管系统检查核对表」(表格C附件I)",atLeastImmediately:"2.至少最近两期的“清洗冲厕水水箱记录”(例如由合资格人士签妥、列明清洗日期、地点的完工证明书或“进入密闭空间-许可工作证”副本作为记录依据)。",atLeastImmediately3:"3. 至少最近三期的“与冲厕供水有关的水管系统检查”记录",decofComplaints:"冲厕供水投诉的声明",schemeWoul:"(若在申请之前已有冲厕供水投诉的个案,只要申请人从以下提供的资料中,显示申请人在合理时间内适当处理有关投诉,本计划将会接受该申请。)",anyComplaints:"1.过去十二个月有否任何有关冲厕供水的投诉?",numberOfComplaints:"投诉宗数",natureOfComplaints:"投诉性质",averageHandlingTime:"平均处理投诉所用时间",remedialActionsTaken:"采用的补救行动",allComplaintsCleared:"投诉是否已全部解决? 是/否*",qutstandingComplaints:"尚待解决的投诉",nature:"性质",numberOfCases:"宗数",licenceNo:"牌照号码",sourceOFlushingWater:"大厦冲厕水供应的来源",sourceOFlushingWaterRemark:"大厦冲厕水供应的来源备注",particularsOfApplicant:"申请人资料",completedChecklistsNot1:"已填妥的“清洗冲厕水水箱及水管系统检查核对表”(表格C附件I)。",atLeastImmediatelyNot2:"至少最近两期的“清洗冲厕水水箱记录”",atLeastImmediatelyNot3:"至少最近三期的“与冲厕供水有关的水管系统检查”记录",anyComplaintsNotNum:"过去十二个月有否任何有关冲厕供水的投诉",allComplaintsClearedNo:"投诉是否已全部解决",name:"名称",qmsPartE:{upToDateWSPB:"一份最新版本的建筑物水安全计划,若该计划已更新。 ",immediatelyPastMonthly:"一份申请人根据已实施建筑物水安全计划戊部表一进行的最近每月水安全常规检查记录 (包括所有检查频率为一个月或以下的项目)",latestPeriodicReview:"最近之建筑物水安全计划定期检视纪录(包括检视后无需更新之纪录",internalAuditReport:"一份内部审核*报告",auditCheckList:"审核清单范本",auditCheckListForHosp
1otals:"审核清单范本(医院)",annualRoutine:"一份由合资格人士(如持牌水喉匠) 根据建筑物水安全计划戊部表二执行的每年巡查/检查记录",monthlyRoutine:"指定人员(如物业管理人员)根据建筑物水安全计划戊部表一执行的常规巡查/检查记录。 ",waterSuppliesDepartment:"水务署会在收到续期申请后会通知申请人提供至少3份  每月巡查/检查记录作抽样查核",declaration:"一份确认已完成所有按照建筑物水安全计划定下的巡查/检查声明(盖上公司印章) (声明样本供参考 ",declaration1:")",copperPipesConnected:"所有使用焊接铜喉,并有6岁或以下学童就读的学校,如小学或某些特殊学校,但不包括幼稚园",addition:"除上述文件外,每年至少须进行一次水质检查,相关测试报告须连同续期申请表一同递交。 建议学校连续2年在至少一个饮用及/或煮食用途的水龙头抽取样本作年度测试,检测食水的铅含量,若水质测试结果连续两年达标,测试频率可降至每5年一次。 水样本应采用30分钟静水(30MS)取样规程抽取,详情可向化验室查询或浏览水务署网页。 "},qwsPartE:{applicationshallSubmittedTogether:"提交申请表时,请就每座大厦提交已填妥的「清洗冲厕水水箱及水管系统检查核对表」",cleansingFlushing:"即表格C附件I",cleansingFlushing2:"– (i) 最近两次清洗冲厕水水箱记录 (C部分) 及 (ii)最近三次与冲厕水供水有关的水管系统检查记录 (D部分及表一)。 "},showersForBathing:"沐浴花洒",waterTaps:"水龙头",washingMachines:"洗衣机",urinalEquipment:"小便器用具",flowControllers:"节流器",waterClosets:"水厕",deleteDistributorsTip:"是否删除该进口商",companyInformation:"公司资料",englishCompany:"英文公司名称",company:"中文公司名称",companyName:"公司名称",address:"地址",Fax:"传真",TEL:"电话",onlyemail:"电邮",website:"网址",contactPersonTitle:"联系人",distributors:"销售网络",productInformation:"产品资料",modelNo:"型号",countryRegionOfOrigin:"原产国家/地区",catalogueIfAvailable:"产品目录(如有)",catalogue:"产品目录",frontAndSideViews:"正面和侧面的照片",waterEfficiencyLabel:"负责印制及张贴用水效益标籤的人士",commencementDateToAffixLabel:"张贴用水效益标籤的开始日期",docProofDesign:"设计(如适用)和制造是按照国际认可品质管理系统运作(例如ISO 9001)的证明文件",validTestReport:"该沐浴花洒在其他司法管辖区注册的用水效益标籤计划的有效测试报告",cerOfAccreditation:"认可证书",referencesampleSuccessfullyRegistered:"成功注册的参考样本",distributor:"进口商",docProofOfApproval:"水龍头已获水务监督批核的证明文件",docProofForFlowController:"节流器已获水务监督批核的证明文件",detailsOfFlowController:"节流器详细信息",category:"类别",docProofRegistered:"此洗衣机已在强制性/自愿性能源效益标签计划中注册的证明文件",overseasRecognition:"海外认证",certifiedTrueCopy:"该洗衣机在其他司法管辖区注册的用水效益标籤计划的详细测试报告",cerCopyDoc:"该洗衣机在其他司法管辖区注册的用水效益标籤计划的有效注册证明",websiteLink:"证明测试实验所为香港认可处互认协议计划(HKAS MRS)或同等计划所认可的网址",frontSideBottomViews:"正面、侧面及底部相片",docProofWaterAuthority:"其小便器用具已获水务监督批核的《一般认可》证明文件",docuProofOfFlushingWaterAuthority:"冲水阀已获水务监督批核的《一般认可》证明文件",docuProofOfFlushValveAuthority:"冲水阀已获水务监督批核的《一般认可》证明文件",validTestReport2:"该小便器用具在其他司法管辖区注册的用水效益标籤计划的有效测试报告",frontBottomViews:"正面及底部相片",docProofOfGAIssued:"其节流器已获水务监督批核的证明文件",detailedTestReporLabellingScheme:"该水厕在其他司法管辖区注册的用水效益标籤计划的详细测试报告",documentationShowingLabellingScheme:"该水厕在其他司法管辖区注册的用水效益标籤计划的有效注册证明",informationOfTheCompany:"公司资料",chooseLaboratory:"选择实验室",doc:"文件",referenceS
1ample:"成功注册水厕的参考样本",combinationCisternFlushingValve:"水箱和冲水阀的组合",reducedVolumeWaterLevel:"低冲水量",fullFlushVolumeLevel:"全冲洗量",detailedTestReportCisternVolumeCurve:"水箱容积曲线的详细测试报告",detailedTestReportMaximum:"冲水阀最高承载水位,低冲水量水位和全冲水量水位测量的详细测试报告",detailedTestReport:"详细测试报告",detailedTestReportReadOnly:"详细测试报告 (唯读)",referenceSampleFlowController:"成功注册节流器的参考样本",certifiedTrueTestTeport:"该节流器在其他司法管辖区注册的用水效益标籤计划的详细测试报告",certifiedTrueDocumentation:"该节流器在其他司法管辖区注册的用水效益标籤计划的有效注册证明",referenceSampleWaterTaps:"成功注册的水龙头的参考样本",docProofDesignInstructions:"其花洒的设计(如适用)和制造是按照国际认可品质管理系统运作(例如ISO 9001)的证明文件。摘录自产品說明书或设计手册,及制造商的国际品质管理认证的产品图则,可被视为认可的品质管理系统的证明文件。未能更新认可的国际品质管理系统可能导致产品的注册无效。",cerOfAccreditationInstructions:"文件证明书是指提交的认可证书,自我声明书证明测试实验所达到ISO/IEC 17025 标准的要求",reportInstructions:"如参与者以认可机制为其水龙头在本计划申请注册,参与者须就该申请提交该水龙头在其他司法管辖区注册的用水效益标籤计划的有效测试报告。测试报告应包括计划附件 1 第 A5、B5、C4 及 D4 节所要求的资料。该水龙头在其他司法管辖区注册的用水效益标籤计划的有效注册证明(如注册证明的认证副本、网站连结,如网址),以证明该水龙头的相关注册;",controllerInstructions:"如果要安装任何节流器在水务监督批准的水龙头上,参与者必须提供该节流器的详细资料以证明适用于饮用水;",pleaseCompleteAllRequiredFields:"请完成所有必填内容",reportWelsEquipmentInstructions:"",urinalequipmentDdocProofDesignInstructions:"其小便器用具的设计(如有)和制造是按照一个国际认可的品质管理系统运作(例如 ISO 9001)的证明文件。摘录自产品说明书或设计手册,及制造商的国际品质管理认证的产品图则,可被视为认可的品质管理系统的证明文件。未能更新认可的国际品质管理系统可能导致产品的注册无效;",controllersFormPageDdocProofDesignInstructions:"其节流器的设计(如有)和制造是按照一个国际认可的品质管理系统运作(例如 ISO 9001)的证明文件。摘录自产品說明书或设计手册,及制造商的国际品质管理认证的产品图则,可被视为认可的品质管理系统的证明文件。未能更新认可的国际品质管理系统可能导致产品的注册无效",tapDdocProofDesignInstructions:"其水龍头的设计(如有)和制造是按照国际认可品质管理系统†运作(例如ISO 9001)的证明文件。摘录自产品說明书或设计手册,及制造商的国际品质管理认证的产品图则,可被视为认可的品质管理系统的证明文件。未能更新认可的国际品质管理系统可能导致产品的注册无效;",waterClosetDdocProofDesignInstructions:"水厕的设计(如有)和制造是按照国际认可的品质管理系统运作(例如 ISO 9001或同等的国际标准)的证明文件。摘錄自产品說明书或设计手册的产品图则,以及制造商的国际品质管理系统认可证书,可被视为认可的品质管理系统的证明文件。未能更新认可的国际品质管理系统可能导致产品的注册无效;",keywords:"关键词",publicSearchPageTitle:"欢迎浏览水务署主页",publicSearchPageContentOne:"水供应是香港人生活中不可或缺的部分,亦是香港可达致持续发展的关键一环。为约七百五十万人提供可靠优质的供水服务,是水务署肩负的使命。",publicSearchPageContentTwo:"为了确保香港供水的可持续性,我们于二零一九年检讨了就二零零八年起推出的“全面水资源管理策略”(“策略”),更新后的“策略”採用双管齐下的方式,著重管理食水需求及利用多元化的水资源,以提升我们食水供应的应变能力,应对气候变化带来的极端影响。为了达致在2030年或之前减少人均食水用量10% (以2016年作基年)的目标,我们已推展一系列措施,当中包括节约用水、减少政府及私人水管的用水流失,以及扩大使用次阶水(包括海水及循环再用水)作非饮用用途。为了提升食水供应的应变能力,将军澳海水化淡厂的第一阶段工程已于2019å¹´12月正式展开,採用最新的逆渗透技术生产食水。在第一阶段工程完成后,海水化淡厂的产量可应付本港约5%的总食水用量需求ã€
1‚",publicSearchPageContentThree:"水务署一直非常重视食水安全。不但供应完全符合《香港食水标准》的食水,我们亦会继续推行于2017å¹´9月21日公布的“提升香港食水安全行动计划”,以进一步提高用户水龙头的食水安全。此外,我们更于2020å¹´7月13日推出“水安全计划资助计划”,以鼓励私人住宅及综合大厦的业主及物业管理人实施“建筑物水安全计划”,以妥善管理其楼宇的食水安全风险。",publicSearchPageContentFour:"我与我的同事定会继续竭力为香港提供优质的供水服务。",typeOrMateria:"产品分类",producer:"生产商",productionSite:"生产地",model:"型号",desc:"描述",recognitionLetterNo:"认可信编号",dateDue:"截止日期",approvalDate:"认可日期",submittedQualityCerDoc:"已提交的品质证明资料",generalAcceptance:"一般认可*",generallyAcceptedRemarks:"一般认可* 备注",effectiveDate:"生效日期",note:"备注",productPhotos:"产品相片",downloadLetterOfApproval:"认可信下载",waterEfficiencyLabellingScheme:"用水效益标籤计划",lowLeachingRateGAStartProductOnly:"只搜寻低金属释出率《一般认可》产品",welsProductOnly:"只搜寻用水效益标籤计划产品",buildingNameAddress:"楼宇名称/地址",certificateType:"证书类型",validity:"有效日期",certificate:"证书",availableForBooking:"是否可预约",regionName:"区域名称",registrationNumber:"注册号码",typeOfWelsproduct:"种类",subTypeOfWelsproduct:"子种类",companyTelephoneOrWebsite:"公司电话号码/网址",symbolicPresentationOnWaterEfficiency:"在用水效益标籤上展示的标志",waterEfficiencyGrade:"用水效益级别(1/2/3/4)",nominalFlowRate:"标称流量(升/分钟)",additionalMerit:"附加优点",dateOfIssue:"签发日期",GaAcceptanceReferenceNumber:"冲水阀一般认可信编号",capacity:"洗衣容量(公斤)",waterConsumption:"耗水量(公升/公斤/循环)",waterFlushVolumePercycle:"每次循环冲水量(公升/循环)",descOfUrinalEquipment:"小便器用具之类型",meritedFunction:"功能上的优点",waterFlushVolumeFull:"全冲水量(公升/冲厕)",waterFlushVolumeReduced:"低冲水量(公升/冲厕)",typesOfWaterCloset:"水厕类型",surveillanceStatusEffectiveDate:"监察状态生效日期",surveillanceStatus:"监察状态",surveillanceRemarks:"监察状态备注",managementOffice:"申请人",waterworksArea:"水务设施区域",teleNo:"电话号码 ",locationMap:"位置图 ",dateOfFilmingShooting:"拍摄日期",bookTime:"预计时间",briefDesOfScenesActivities:"场景及活动简述",NoOfCrew:"摄制人员数目",NoOfParticipants:"参与人数 ",vehiclesHasType:"车辆(ç±» 型 )数 目 ",dateOfPhotoshooting:"照片拍摄 日 期",dateOfVisit:"活动日期",natureOfVisit:"活动性质",NoOfVisitors:"参与人数",NoOfVehiclesWillEnterInto:"进入水务设施范围车辆数目",accessToWaterworksArea:"进入水务设施区域",startDate:"开始时间",endDate:"结束时间",addLocations:"新增地点",locationForm:"地点表单",undertaking:"更换大厦管理公司",certificateValidTillDate:"证书有效期至",buildingManagementContractStartDate:"大厦管约合约启始日期",incomingBuildingManagementCompany:"新替入的大厦管理公司",nameOfincomingBuildingManagementCompany:"新替入的大厦管理公司名称",managementContractValidTillDate:"管理合约期至",nameGovernmentDepartment:"大厦业主/业主立案法团/业主委员会/政府部门的名称",supportedOwnerPleaseSpecify:"大厦业主/业主立案法团/业主委员会/政府部门/其他(请注明)证明",pswRegTip:"密码至少八位,需包含特殊字符、数字、大写、小写字母中的三种",accountActivation:"帐号激活",sentAnEmailTo:"验证码发送到邮箱",codeToActivateAccount:"用于激活账号",checkYourInboxInputBoxBelow:"请检查您的邮箱并在下面的输入框中填写验证码",resendCode:"重新发送验证码",waterSupplySystemToBeUsedTip:"请至少选择一个供水系统",detailProductDesTip:"请输入详细产品描述",productBrandNameTip:"请输入品牌名称",manufacturerNameTip:"请输入生äº
1§å•†åç§°",factoryNameTip:"请输入制造厂名称",factoryAddressTip:"请输入制造厂详细地址",countryOriginTip:"请输入原产地",modelNameInstructions:"如果申请产品属不同类型或型号(不包括喉管和喉配件),请独立递交申请",qmsCerInstructionsOne:"-  如在现有证书到期日的 3 个月后才递交续期申请,水务署会把该申请视作新申请。",qmsCerInstructionsTwo:"- 颁发给楼宇的证书根据以下的准则分为三个级别: ",qmsCerInstructionsThree:" 蓝证书: 新参与或连续参与计划但不足 4 年者(两张证书之间的中断时间少于 3 个月,则当作连续参与计划) ;",qmsCerInstructionsFour:"银证书: 连续参与计划满 4 年或以上但不足 6 年者;及",qmsCerInstructionsFive:"金证书: 连续参与计划满 6 年或以上者。",qmsCerInstructionsSix:"如申请人在现在证书到期后 3 个月内或推出大厦优质供水认可计划-食水(管理系统)后 3 个月内续期,该证书的现有级别维持不变。 ",qmsWSDInstructionsTitle:"水务署质量控制检查 ",qmsWSDInstructions:"为完成水安全计划和把文件妥善存档,本署职员会随机抽样检查申请加入计划的楼宇,尤其水务署会审阅每月检查(由指定人员负责)的记录、年度检查(由合资格人士负责)的记录或内部审计报告。对于任何严重地影响建筑物水安全计划效益的重大违规行为,如提供错误的供水流程图、检查记录不完整、未能递交审核报告或者违反评核标准等情况,申请人须在水务署发出通知后 3 个月内纠正欠妥善的地方并经水务署核实,否则该证书将视作无效及必须将其退还给水务署。",qmsConditionsFileTitle:"G.条款及条件以及H.大厦业主/业主立案法团/业主委员会/政府部门证明 (请注明)",templates:"范本",freshwater:"食水范本",flushingwater:"冲厕水范本",generalBuildings:"一般建筑物",schools:"学校",RCHE:"安老院舍",andHospitals:"医院",qmsChecklist:"需要最近 24 个月的例行检查/检查记录。 或 确认所有检查/检查已按 WSPB 规定的时间间隔和合格人员的年度检查/检查记录以及 3 套用于抽样检查的每月例行检查/检查记录的声明(附有申请人公司印章) 请参阅模板的 D 部分和 E 部分",termsConditions:"Part G 条款及条件 & Part H大厦业主/业主立案法团/ 业主委员会/政府部门证明",uploadFile:"上传文件",file:"文件",qwsCerInstructionsOne:"现有证书到期日三个月后续期者,将会当作并按新申请程序处理。",qwsCerInstructionsTwo:"三个不同级别的证书会根据以下的准则颁发:",qwsCerInstructionsThree:"• 蓝证书:新参与或连续参与计划但不足三年的楼宇(两张证书之间的中断时间少于三个月,则当作连续参与计划)",qwsCerInstructionsFour:"• 银证书:连续参与计划满三年或以上但不足五年的楼宇",qwsCerInstructionsFive:"• 金证书:连续参与计划满五年或以上的楼宇",qwsTermsConditions:"Part G 条款及条件 & Part H大厦业主/业主立案法团/ 业主委员会/政府部门证明",Scheme:"计划",docToBeIncluded:"申请需要上传的文件",undertakingFormForIncomingBuildingManagement:"入驻楼宇管理公司承诺书",pleaseUploadFile:"请上传文件",certificateNumAlreadyExists:"证书编号已存在",inputCorrectEmailAddress:"请输入正确的邮箱地址",nameOfApplicantOrganisation:"申请人/机构名称",companyAddress:"公司地址",correspondingAddress:"通讯地址",projectUsed:"只供工程项目使用",nameIfAny:"名称(如有)",labReportRef:"实验室报告",uploadOtherPicture:"置放于相片廊的产品相片(上传)",pleaseEnterCorrectNum:"请输入正确的号码,且长度不能低于8",nameOfCompanyOrOrganisationAndAddressAndTelephoneNo:"公司或机构名称/地址/电话号码",locationMapAndRouteShouldBeAttached:"须夹附拍摄地点位置及路线图",datesTimeOfFilmingShootingBriefDesOfScenesAndActivites:"拍摄场景及活动简述",noOfParticipantsCrewAndVehicles:"参与人数/摄制人员的车辆(类型)数目",aCopyOfValidBusinessRegistrationCertificate:"有效商业登记证影印本/公司注册证书/由税务局发出的IR302",others:"其他",locationOfEventDateOfTheEventTimeNatureOfEvent:"活动地点/日期/时间/性质",basicInformation:"基础信息",companyType:"公司类型",notesForOtherBuildingTypes:"其他建筑类型的备注",newMenus:{eApplications:"申请",ga:"申请认可喉管及装置",new:"新申请",renewal:"续期申请",list:"申请状态",qmsAndqws:"申请大厦优质供水认可计划",qws:"大厦优质供水认可计划 – 冲厕水",qms:"大厦优质供水认可计划-食水(管理系统)",undertaking:"更换物业管理公司(适用于大厦优质供水认可计划)",wels:"自愿参与用水效益标籤计划",waterworks:"申请在水务设施区域进行活动",dwdf:"搜寻《自愿性参与饮用水器具标签计划 ‒ 饮水机及滤水器 》的产品",personal:"个人中心",notice:"消息"},closetsNeedContent:"相同设计的水厕而颜色及涂饰不同,申请人必需谘询符合本计划要求的测试实验所,并以书面确认其设计相同的水厕的不同颜色及涂饰,不会影响根据本计划文件第5.2、5.3及5.4节所述的流量测试及其他效能要求的测试结果",equipmentNeedContent:"申请人必需谘询符合本计划要求的测试实验所,并以书面确认其设计相同的小便器用具的不同颜色及涂饰,不会影响根据本计划文件第5.3至5.5节所述的冲水量测试及其他效能要求的测试结果",controllersNeedContent:"申请人必需谘询符合本计划要求的测试实验所,并以书面确认其设计相同的节流器的不同颜色及涂饰,不会影响根据本计划文件第5.3至5.5节所述的流量测试及其他效能要求的测试结果",testReport:"测试报告",uploadOtherInfo:"其他信息",disclaimer:"条款",tickToAgree:"请先同意条款",agreeToTreaty:"请选择,以代表同意“参与者的责任”条款",applicationItem:"申请项目",bsi:"英国标准协会注册证明商标证书编号",wras:"英国水务法规咨询计划证明文件编号",bsiCertDoc:"英国标准协会注册证明商标证书",wrasCertDoc:"英国水务法规咨询计划证明文件",gaProductModels:"GA产品列表",reactivateLabUpload:"驳回实验报告",docNumber:"文件编号",canUploadAgain:"已上传测试报告,不可重复上传",submissionFailed:"提交失败",submittedSuccessfully:"上传成功",linkHasExpired:"链接过期了",linkHasUploaded:"测试文件已上传",pleaseTickNum:"请选择需要重新上传的文件编号",gaApplication:"GA 申请",gaModelList:"GA产品列表",gaPlusApplication:"GA+申请",gaPlusModelList:"GA+产品列表",gaStartApplication:"GA*申请",gaStartModelList:"GA*产品列表",vlsApplication:"自愿性参与标签计划(“VLS”)",vlsModelList:"自愿性参与标签计划产品列表",summary:"概括",reasonsForRejection:"意见及/或需要的补充资料",WSDReviewing:"WSD审核中",completed:"完成",labReportUpload:"等待实验室报告上传",waitLabReportUpload:"等待实验室报告",reviewLabReport:"实验室报告已上传",reSubmt:"重新提交",atypeBuildings:"A.楼宇类别",bqms_title6:"B.申请人资料",cbuilding_info:" C.楼宇资料",dpreferredSchemeCertificate:"D.选取证书形式",edocumentsIncludedApplication:"E.申请所需文件",fqmsWSDInstructionsTitle:"F.质量控制检查",fqwsDeclarationOfComplaintsTitle:"F.冲厕供水投诉的声明",gqmsConditionsFileTitle:"G.条款及条件, H. 业主证明",requireToPrint:"您需要打印、签名并上传此表格",conditionsCarefully:"。在填写和签署表格前,请仔细阅读条款及条件。",chineseBuildingName:"大厦中文名称",englishBuildingName:"大厦英文名称",wspTipOne:"建筑物水安全计划",coverPage:"封面",DesOfBuilding:"甲部 — 建筑物概况",waterFlowDiagrams:"乙部 — 供水流程图",riskAssessmentSummaryTable:"丙部 — 建筑物风险评估简表",routineWaterSafetyChecklist:"丁部 — 建筑物的常规水安全检查清单",routineCheckingInsnection:"戊部 — 表 一 由指定人士(如物业管理人员)执行常规检查/巡视清单,其中对于检查频率为一个月的项目,应至少包括一次检查。 ",qualifiedPerson:"戊部 — 表 二 由合资格人士(如持牌水喉匠, 屋宇装备工程师, 屋宇测量师)执行的常规检查/巡视清单",nameOfOwner:"业主",ownersCorporation:"业主立案法团(如适用,证书编号)",ownersCommittee:"业主委员会",operator:"经营者",managementAgent:"管理公司",governmentDepartments:"政府部门",othersPleaseSpecify:"其他的名称:(请注明)",chineseName:"中文名称",englishName:"英文名称",certificateNo:"证书编号",fileCannotThan50MB:"文件总和不能大于100MB",understood:"明白",supportDoc:"证明文件",sendReportFileToWsdoffice:"申请者请以亲身递交或邮递方式把测试报告*提交致本署",sendReportFileToWsdoffice1:"地址:香港湾仔告士打道 7 号入境事务大楼 47 楼",sendReportFileToWsdoffice2:"*所有提交本署的测试报告影印本均须为参与者委托的测试实验所所发出的认证副本。 ",welsSendReportFileToWsdoffice:"申请者请以电邮方式把测试报告提交致本署",welsSendReportFileToWsdoffice1:"电邮:[email protected]",welsSendReportFileToWsdoffice2:"请在提交测试报告后等候确认电邮,并于收到确认电邮后再次登入本系统完成余下的申请程序。 ",kindTips:"温馨提示",wcSuiteProductInfo:"一体式水厕产
1品资料",valveProductInfo:"冲水阀产品资料",valveGaUploadFile:"已获水务监督批核的水厕冲水阀证明文件",cisternProductInfo:"水箱产品资料",panProductInfo:"厕盆产品资料",includeFlowController:"上述产品是否安装节流器",flowControllerProductInfo:"节流器产品资料",installationAgreement:"有关的节流器附加/装配过程是由一位合资格人士/公司严格按照其制造商所指定的安装程序及要求进行",installationAgreementShower:"有关的节流器附加/装配过程是由一位合资格人士/公司严格按照其制造商所指定的安装程序及要求进行",urinalProductInfo:"小便器用具产品资料",gaUploadFile:"已获水务监督批核证明文件",waterTapVariationAgreement:"申请人确认其设计相同的水龙头的颜色及涂饰不同不会影响根据第 5.3 及5.4 节所述的流量测试及其他效能要求的测试结果",waterClosetsVariationAgreement:"申请人确认其设计相同的水厕的颜色及涂饰不同不会影响根据第 5.2、5.3及5.4节所述的冲水量测试及其他效能要求的测试结果",urinalEquipmentVariationAgreement:"申请人确认其设计相同的小便器用具的颜色及涂饰不同不会影响根据第5.3至5.5节所述的冲水量测试及其他效能要求的测试结果",showerVariationAgreement:"其设计相同的花洒的颜色及涂饰不同,不会影响根据第 5.2 及5.3 节所述的流量测试及其他效能要求的测试结果。",washingVariationAgreement:"其设计相同的洗衣机的不同颜色及涂饰,不会影响根据第5.2节所述的流量测试及其他效能要求的测试结果",flowVariationAgreement:"申请人确认其设计相同的节流器的颜色及涂饰不同不会影响根据第5.3至5.5节所述的流量测试及其他效能要求的测试结果",successfullySaved:"申请保存成功",successfullySubmitted:"申请提交成功",outDue:"闲置时间太长。 请选择保持登录。 否则,您将自动登出",seswsionTimeout:"登录逾时",logOff:"退出",stayLoggedIn:"保持登录",uploadedFileSuccessfully:"上传成功",makeSureUpload:"在继续之前,请确保您已上传所有部分。",OnlySupportsPDFWordJPGJPEGPNGFiles:"只支持PDF, Word, JPG, JPEG, PNG格式的文件",contactTelNo:"联系电话",contactFaxNo:"联系传真",enterNumbersOnly:"只能输入数字",latestMonthlyRoutine:"**最近 24 个月的例行检查/检查记录** 或",aDeclaration:"**一份确认已完成所有按照建筑物水安全计划定下的巡查/检查声明(盖上公司印章)及由合资格人士执行的每年巡查/检查记录。水务署稍后会通知申请人提供至少3份每月巡查/检查记录作抽样查核。**",anInternalAuditReport:"一份内部审核报告,建议有关审核由一个有接受内部审核培训,并没有参与该幢大厦的建筑物水安全计划的独立人士执行。审核工作应重点关注实施建筑物水安全计划方面。",testReportForWaterQualityExamination:"水质检验报告 (所有使用焊接铜喉,并有6岁或以下学童就读的学校,如小学或某些特殊学校,但不包括幼稚园)",mr:"先生",ms:"女士",contactGender:"称谓",participantObligations:"条款",newPassword:"新密码",termsAndConditions:"条款和条件",carefully:"",singUpDisclaimerOne:'香港特别行政区政府(简称"政府")在本网址所提供的资料(简称"政府资料")只供参考之用。虽然政府已尽力确保这个网址上的政府资料准确无
1误,但政府并不对该等政府资料的准确性作出任何明示或隐含的保证。',singUpDisclaimerTwo:'本网址亦载有由其他各方输入的资料,使用者亦可透过将本网址连接到其他网址而取得由其他各方所提供的资料(统称 "其他资料")。政府明确声明并没有批准或认可本网址所载的其他资料或与本网址有关连的其他资料。',singUpDisclaimerThree:"对于与本网址有关连的任何因由所引致的任何损失或损害,政府概不负责。政府有绝对酌情权随时删除、暂时停载或编辑本网址上的各项资料而无须给予任何理由。使用者须负责自行评估本网址所载的各项资料或与本网址有关连的各项资料,并应在根据该等资料行事前,借参照原本发布的文本以核实该等资料,以及征询独立意见。",enterLeastOneContactInformation:"请至少输入一条联系方式",contactInformation:"联系信息",ownersCorporationSimple:"业主立案法团",selectRetrievalTypeFirst:"请先选择检索类型",resetSuccessfully:"重置成功",registrationSuccess:"注册成功",completeAllRequiredFields:"请填写所有必填字段",linkSent:"链接已发送",passwordsEnteredTwiceNotMatch:"两次输入密码不一致",currentPasswordError:"当前密码错误",verCodeError:"验证码错误",registrationNotYetOpen:"注册尚未打开",backupEmailAlreadyExists:" 备份电子邮件已存在",backupEmailNotExists:"备份电子邮件不存在",userDoesNotExist:"用户不存在",userAlreadyExists:"用户已存在",modificationSuccessfulWillExitSoon:"修改成功,即将退出",enterSearchkeyword:"输入查询字串)",go:"去",userErrOrPassErr:"用户不存在或者密码错误",emailNotExist:"电子邮件不存在或验证码不正确",verifyCodeErr:"验证码错误",codeErrPleaseTry:"验证码过期,请重试",codeMailHasBeenSend:"验证码已发送至邮箱,请注意查收",emailAddressErr:"邮箱地址不存在",changeLanguageTip:"转换语言将导至未被储存的资料流失,继续?",other:"其他",submitContent:"提交内容",characterLength:"字符长度不能超过",cancelFile:"取消文件",cancelReason:"取消原因",cancelSuccess:"取消成功",userIsFrozen:"你的账户已被冻结",manyErrUserIsFrozen:"登录错误太多,你的账户已被冻结",welsRegistrationNo:"注册号码",manufacturer:"制造商",district:"区域",orderBy:"排序",publicSearchQms:"大厦优质供水认可计划 - 食水(管理系统) - 已获证书的楼宇名单",publicSearchQmsOngoing:"大厦优质供水认可计划 - 食水(管理系统) - 已提交申请的楼宇名单",publicSearchQws:"大厦优质供水认可计划 – 冲厕水- 已获证书的楼宇名单",publicSearchQwsOngoing:"大厦优质供水认可计划 – 冲厕水- 已提交申请的楼宇名单",publicSearchQmsQwsCert:"已获证书的楼宇名单",publicSearchQmsQwsOngoing:"已提交申请的楼宇名单",publicSearchGa:"搜寻具有效《一般认可》资格的喉管及装置",publicSearchWels:"搜寻《用水效益标签计划》的产品",publicSearchDwdf:"搜寻《自愿性参与饮用水器具标签计划 ‒ 饮水机及滤水器 》的产品",publicSearchQmsQws:"参与的大厦列表 - 大厦优质供水认可计划",notifyLabLinkSuccess:"上传测试报告要求发送至实验室",private_car:"私家车",light_goods_vehicle:"轻型货车",mini_bus:"小型巴士(最多二十九座位)",exceed3:"數量不可以超過3",dwdf:{registrationNumber:"登记号码",product_description:"产品描述",category:"产品类型",chinese_manufacturer:"生产商名称(中文)",english_manufacturer:"生产商名称(英文)",full_factory:"制造厂详细地址",label:"负责印制及张贴标签的人士",label_date:"张贴标签的开始日期",other_certificates:"其他证书",water_inlet_size:"入水位尺寸",frontAndSideViews:"正面丶侧面丶顶部和底部",catalogueInstructions:"产品目录说明\na) 生产商名称\nb) 制造商详细地址\nc) 品牌名称及型号\nd) 产品说明\ne) 入水位尺寸\nf) 实物照片\ng) 剖面图\nh) 产品上的标记\ni) 图上主要尺寸"},footer:{WaterSuppliesDepartment:"水务署",sitemap:"SITEMAP",contactUS:"CONTACT US",faqs:"FAQS",access:"公开资料",form:"APPLICATION AND PUBLIC FORMS",aboutUs:"ABOUT US",welcomeMessage:"Welcome Message",visionMissionA
1ndValues:"Vision, Mission and Values",Organisation:"Organisation",annualReport:"Annual Report",performanceTargetsAndAchievements:"Performance Targets and Achievements",financeInformation:"Finance Information",milestonesAndWaterworksMonuments:"Milestones and Waterworks Monuments",advisoryCommittees:"Advisory Committees",volunteerTeam:"Volunteer Team",annualOpenDataPlans:"Annual Open Data Plans",annualSpatialDataPlan:"Annual Spatial Data Plan",coreBusinesses:"CORE BUSINESSES",totalWaterManagementStrategy:"Total Water Management Strategy",waterResources:"Water Resources",operationAndMaintenanceOfWaterworks:"Operation and Maintenance of Waterworks",waterSafety:"Water Safety",majorInfrastructureProjects:"Major Infrastructure Projects",customerServicesLawEnforcement:"Customer Services & Law Enforcement",customerServices:"CUSTOMER SERVICES",manageAccountAndWaterBills:"Manage Account and Water Bills",ApplicationForWaterSupply:"Application for Water Supply",otherCustomerServices:"Other Customer Services",temporaryWaterSuspensionNoticesAndEnquiries:"Temporary Water Suspension Notices and Enquiries",WsdMobileApp:"WSD Mobile App",plumbingAndEngineering:"PLUMBING AND ENGINEERING",licensedPlumbers:"Licensed Plumbers",fireService:"Pipes and Fittings to be used in Inside Service or Fire Service",submissions:"Requirements on Plumbing Works and Submissions",plumbers:"Information for Licensed Plumbers",lp:"Voluntary Continuing Professional Development Scheme for LP",technicalCommittee:"Technical Committee on Plumbing",goodPractice:"Good Practice Guide on Plumbing Works",automaticMeter:"Automatic Meter Reading (AMR) System",wels:"Water Efficiency Labelling Scheme (WELS)",maintenanceInternalPlumbing:"Maintenance of Internal Plumbing",nsideServices:"Enhancement of Control of Inside Services’ Construction and Installation",minorNature:"Works of a Minor Nature",waterSafrtyInBuildings:"WATER SAFETY IN BUILDINGS",wspBuildings:"Water Safety Plan for Buildings",qualifiedPersons:"Qualified Persons",wspScheme:"Water Safety Plan Subsidy Scheme",qms:"Quality Water Supply Scheme for Buildings – Fresh Water (Management System)",qws:"Quality Water Supply Scheme for Buildings – Flushing Water WATER CONSERVATION",waterConservation:"WATER CONSERVATION",publicRelations:"PUBLIC RELATIONS",PoService:"Ex-Sham Shui Po Service Reservoir",liaisonGroup:"WSD Customer Liaison Group",saveDave:'"Excursion with Water Save Dave" Visiting Programme (For Individuals and Groups)',conductingActivities:"Application for Conducting Activities in Waterworks Areas/Buildings",visits:"Educational Visits to Waterworks Installations by Schools or Groups",publicConsultation:"Public Consultation and Public Engagement",events:"Events",gamesQuizzes:"Games and Quizzes",serviceUse:"Recreational Use of Service Reservoir Roofs",mediaCorner:"MEDIA CORNER",hot:"Hot Topics",press:"Press Releases",letters:"Letters to the Editors",questions:"LegCo Questions and Replies",videos:"PUBLICATIONS, VIDEOS AND STATISTICS",pr:"PR Publications",reports:"Guidelines, Reports, Drawings and Specifications",statistics:"Statistics",gallery:"Video Gallery",tendets:"TENDERS, CONTRACTS AND CONSULTANCIES",contracts:"Contracts",consultancies:"Consultancies",supplier:"Application for Inclusion as a WSD Supplier",whatNew:"WHAT'S NEW"}}},30300:function(e,t,a){"use strict";var o=a(15599),l=a(73591),n=a.n(l),r=(a(37631),a(9669)),i=a.n(r),s=a(80129),c=a.n(s),d=a(26729),p=a.n(d),u=a(4389),m=a(96245),f=a(80008),_=a.n(f),g=a(96486),h=function(){return h=Object.assign||function(e){for(var t,a=1,o=arguments.length;a<o;a++)for(var l in t=arguments[a])Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l]);return e},h.apply(this,arguments)},v=function(e,t,a){if(a||2===arguments.length)for(var o,l=0,n=t.length;l<n;l++)!o&&l in t||(o||(o=Array.prototype.slice.call(t,0,l)),o[l]=t[l]);return e.concat(o||Array.prototype.slice.call(t))},b=new(p()),w=i().create(Object.assign({paramsSerializer:function(e){return c().stringify(e,{arrayFormat:"repeat",serializeDate:function(e){return _().tz(e,"utc").format()}})}},{timeout:18e4,headers:{"Content-Type":"application/json;charset=UTF-8","Access-Control-Allow-Origin":"*"},crossdomain:!0,baseURL:"/api/",sourceUrl:"/api/afs/wsd"})),y=u.get("Authorization");function $(e,t){if(!t)return[e,t];var a=Object.assign(Object.assign({},t),{params:Object.assign({},t.params),data:(0,g.isArray)(t.data)?t.data:Object.assign({},t.data)});if(!a.params)return[e,t];for(var o=0,l=e.match(/:\w+/g)||[];o<l.length;o++){var n=l[o],r=a.params?a.params[n.substring(1)]:void 0;e=e.replace(n,void 0!==r?r.toString():n),delete a.params[n.substring(1)]}return[e,a]}w.interceptors.request.use((function(e){return t=void 0,a=void 0,l=function(){return function(e,t){var a,o,l,n,r={label:0,sent:function(){if(1&l[0])throw l[1];return l[1]},trys:[],ops:[]};return n={next:i(0),throw:i(1),return:i(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function i(i){return function(s){return function(i){if(a)throw new TypeError("Generator is already executing.");for(;n&&(n=0,i[0]&&(r=0)),r;)try{if(a=1,o&&(l=2&i[0]?o.return:i[0]?o.throw||((l=o.return)&&l.call(o),0):o.next)&&!(l=l.call(o,i[1])).done)return l;switch(o=0,l&&(i=[2&i[0],l.value]),i[0]){case 0:case 1:l=i;break;case 4:return r.label++,{value:i[1],done:!1};case 5:r.label++,o=i[1],i=[0];continue;case 7:i=r.ops.pop(),r.trys.pop();continue;default:if(!((l=(l=r.trys).length>0&&l[l.length-1])||6!==i[0]&&2!==i[0])){r=0;continue}if(3===i[0]&&(!l||i[1]>l[0]&&i[1]<l[3])){r.label=i[1];break}if(6===i[0]&&r.label<l[1]){r.label=l[1],l=i;break}if(l&&r.label<l[2]){r.label=l[2],r.ops.push(i);break}l[2]&&r.ops.pop(),r.trys.pop();continue}i=t.call(e,r)}catch(e){i=[6,e],o=0}finally{a=l=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}}(this,(function(t){return y&&(e.headers=h(h({},e.headers||{}),{Authorization:y})),[2,e]}))},new((o=void 0)||(o=Promise))((function(e,n){function r(e){try{s(l.next(e))}catch(e){n(e)}}function i(e){try{s(l.throw(e))}catch(e){n(e)}}function s(t){var a;t.done?e(t.value):(a=t.value,a instanceof o?a:new o((function(e){e(a)}))).then(r,i)}s((l=l.apply(t,a||[])).next())}));var t,a,o,l}),(function(e){return e})),w.interceptors.response.use((function(e){e.headers.authorization&&(y=e.headers.authorization)&&u.set("Authorization",y);var t=e.headers["content-type"];if(t&&t.startsWith("application/json")){var a=e.data;return a.success?Promise.resolve(a.data):Promise.reject(a.code)}return e}),(function(e){var t;return b.emit("response-error",e,null===(t=null==e?void 0:e.response)||void 0===t?void 0:t.status,null==e?void 0:e.response),Promise.reject(e)}));var C=function(){function e(e,t){this.instance=e,this.uri=t}return e.prototype.list=function(e,t,a){return void 0===a&&(a=25),this.instance.get("".concat(this.uri,"/list/").concat(t,"?size=").concat(a,"&keywords=").concat(e))},e.prototype.load=function(e){return this.instance.get("".concat(this.uri,"/").concat(e))},e.prototype.save=function(e){return this.instance.post("".concat(this.uri),e)},e.prototype.update=function(e){return this.instance.put("".concat(this.uri),e)},e.prototype.status=function(e,t){return this.instance.put("".concat(this.uri,"/").concat(e),t)},e.prototype.remove=function(e){return this.instance.delete("".concat(this.uri,"}"))},e.prototype.request=function(e){if(!e.url)return Promise.reject();var t=$(e.url,e),a=t[0],o=t[1];return o?(o.url=a,this.instance.request(o)):Promise.reject()},e.prototype.get=function(e,t){var a;return(a=this.instance).get.apply(a,$(e,t))},e.prototype.delete=function(e,t){var a;return(a=this.instance).delete.apply(a,$(e,t))},e.prototype.head=function(e,t){return this.instance.head(e,t)},e.prototype.options=function(e,t){return this.instance.options(e,t)},e.prototype.post=function(e,t,a){var o=$(e,a),l=o[0],n=o[1];return this.instance.post(l,t,n)},e.prototype.put=function(e,t,a){var o=$(e,a),l=o[0],n=o[1];return this.instance.put(l,t,n)},e.prototype.upload=function(e,t,a){var o=new FormData;
1return a&&Object.entries(a).forEach((function(e){var t=e[0],a=e[1];o.append(t,a)})),o.append("file",t),this.instance.post(e,o,{headers:{"Content-Type":"multipart/form-data"}})},e.prototype.patch=function(e,t,a){return this.instance.patch(e,t,a)},e.prototype.emit=function(e){for(var t=[],a=1;a<arguments.length;a++)t[a-1]=arguments[a];return b.emit.apply(b,v([e],t,!1)),this},e.prototype.on=function(e,t,a){return b.on(e,t,a),this},e.prototype.off=function(e,t,a,o){return b.off(e,t,a,o),this},Object.defineProperty(e.prototype,"jwt",{get:function(){return y?(0,m.Z)(y):null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"token",{get:function(){return y},set:function(e){y=e},enumerable:!1,configurable:!0}),e.prototype.clear=function(){u.set("Authorization",""),y=""},e.prototype.logout=function(){this.clear(),window.localStorage.clear(),history.pushState(null,"",document.URL),window.addEventListener("popstate",(function(e){history.pushState(null,"",document.URL)}),!1)},e}();function x(e){return new C(w,e)}var S=a(16473),E=a.n(S),k=(a(69909),a(78345)),O=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-container",{staticClass:"page-login page-unlogin"},[t("el-main",[t("el-banner",{attrs:{showPublicSearch:!0},on:{"change-size":e.onChangeSize}}),e._v(" "),t("div",{staticClass:"info-view"},[t("el-card",{staticClass:"info-card",attrs:{shadow:"never"}},[t("template",{slot:"header"},[e._v(e._s(e.$t("lang.loginTitle")))]),e._v(" "),t("el-form",{attrs:{store:e.form},on:{"submit-success":e.onSubmitSuccess,"submit-failure":e.onSubmitFailure}},[t("el-column-row",[t("el-form-item",{staticClass:"flex-column",attrs:{label:e.$t("lang.email"),"label-width":"0",prop:"username"}},[t("label",{attrs:{for:"login_email",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"login_email",placeholder:e.$t("lang.email")},model:{value:e.form.model.username,callback:function(t){e.$set(e.form.model,"username",t)},expression:"form.model.username"}})],1)],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"flex-column",attrs:{label:e.$t("lang.password"),"label-width":"0",prop:"password"}},[t("label",{attrs:{for:"login_password",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"login_password",type:"password",placeholder:e.$t("lang.password")},model:{value:e.form.model.password,callback:function(t){e.$set(e.form.model,"password",t)},expression:"form.model.password"}})],1)],1),e._v(" "),t("el-column-row",{staticClass:"captcha-row"},[t("el-form-item",{staticClass:"margin-bottom-0 flex-1",attrs:{prop:"captcha","label-width":"0"}},[t("label",{attrs:{for:"login_captcha",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{staticClass:"code-input",attrs:{id:"login_captcha",placeholder:e.$t("lang.loginCode")},model:{value:e.form.model.captcha,callback:function(t){e.$set(e.form.model,"captcha",t)},expression:"form.model.captcha"}})],1),e._v(" "),t("img",{staticClass:"captcha",attrs:{src:`/api/captcha/default.jpg?t=${e.timestamp}`,alt:""}}),e._v(" "),t("el-button",{attrs:{type:"text"},on:{click:function(t){e.timestamp=Date.now()}}},[e._v(e._s(e.$t("lang.refresh")))])],1),e._v(" "),t("el-column-row",[t("el-button",{staticClass:"login-btn",on:{click:function(t){return e.form.submit()}}},[e._v(e._s(e.$t("lang.login")))])],1),e._v(" "),t("el-column-row",{staticClass:"other-operate-column"},[t("el-button",{attrs:{type:"text"},on:{click:function(t){return e.$router.push("/reset_password")}}},[e._v(e._s(e.$t("lang.forgotPassword")))]),e._v(" "),t("el-button",{staticClass:"active-btn",attrs:{type:"text"},on:{click:function(t){return e.$router.push("/sign_up")}}},[e._v(e._s(e.$t("lang.signUp")))])],1),e._v(" "),t("el-column-row",{staticClass:"other-operate-column"},[t("el-button",{attrs:{type:"text"},on:{click:function(t){return e.forgotAccountForm.open()}}}
1,[e._v(e._s(e.$t("lang.forgotAccount")))])],1)],1),e._v(" "),t("el-diaolog",{staticClass:"change-psw-dialog",attrs:{visible:e.forgotAccountForm.visible,width:"800px",title:e.$t("lang.forgotAccount")},on:{close:function(t){return e.forgotAccountForm.close()}}},[t("el-form",{attrs:{store:e.forgotAccountForm,"label-width":"200px"}},[t("el-form-item",{attrs:{label:e.$t("lang.backupEmail"),prop:"backup_email"}},[t("el-input",{attrs:{type:"Backup Email"},model:{value:e.forgotAccountForm.model.backup_email,callback:function(t){e.$set(e.forgotAccountForm.model,"backup_email",t)},expression:"forgotAccountForm.model.backup_email"}})],1)],1),e._v(" "),t("template",{slot:"footer"},[t("el-button",{staticClass:"refuse-btn",on:{click:function(t){return e.forgotAccountForm.close()}}},[e._v("\n              "+e._s(e.$t("lang.action.close"))+"\n            ")]),e._v(" "),t("el-button",{staticClass:"agree-btn",attrs:{type:"primary"},on:{click:function(t){return e.forgotAccountForm.submit()}}},[e._v("\n              "+e._s(e.$t("lang.action.submit"))+"\n            ")])],1)],2)],2),e._v(" "),t("div",{staticClass:"all-tooltip"},[t("el-card",{staticClass:"tooltip-card",attrs:{shadow:"never"}},[t("span",{staticClass:"tooltip-val",on:{click:function(t){return e.onPublicSearch("ga")}}},[e._v(e._s(e.$t("lang.publicSearchGa")))])]),e._v(" "),t("el-card",{staticClass:"tooltip-card",attrs:{shadow:"never"}},[t("span",{staticClass:"tooltip-val",on:{click:function(t){return e.onPublicSearch("dwdf")}}},[e._v(e._s(e.$t("lang.publicSearchDwdf")))])]),e._v(" "),t("el-card",{staticClass:"tooltip-card",attrs:{shadow:"never"}},[t("span",{staticClass:"tooltip-val",on:{click:function(t){return e.onPublicSearch("wels")}}},[e._v(e._s(e.$t("lang.publicSearchWels")))])]),e._v(" "),t("el-card",{staticClass:"tooltip-card",attrs:{shadow:"never"}},[t("el-tooltip",{staticClass:"tooltip",attrs:{effect:"light",placement:"bottom"}},[t("div",{attrs:{slot:"content"},slot:"content"},[t("el-tooltip",{attrs:{effect:"light",placement:"right"}},[t("div",{attrs:{slot:"content"},slot:"content"},[t("el-link",{attrs:{type:"info",href:"/search?type=qms",underline:!1,target:"_blank"}},[t("span",{style:`font-size: ${e.fontSize}px`},[e._v(e._s(e.$t("lang.publicSearchQmsQwsCert")))])]),e._v(" "),t("br"),e._v(" "),t("el-link",{attrs:{type:"info",href:"/search?type=qms_ongoing",underline:!1,target:"_blank"}},[t("span",{style:`font-size: ${e.fontSize}px`},[e._v(e._s(e.$t("lang.publicSearchQmsQwsOngoing")))])])],1),e._v(" "),t("span",{style:`cursor: pointer; font-size: ${e.fontSize}px`},[e._v(e._s(e.$t("lang.newMenus.qms")))])]),e._v(" "),t("br"),e._v(" "),t("br"),e._v(" "),t("el-tooltip",{attrs:{effect:"light",placement:"right"}},[t("div",{attrs:{slot:"content"},slot:"content"},[t("el-link",{attrs:{type:"info",href:"/search?type=qws",underline:!1,target:"_blank"}},[t("span",{style:`font-size: ${e.fontSize}px`},[e._v(e._s(e.$t("lang.publicSearchQmsQwsCert")))])]),e._v(" "),t("br"),e._v(" "),t("el-link",{attrs:{type:"info",href:"/search?type=qws_ongoing",underline:!1,target:"_blank"}},[t("span",{style:`font-size: ${e.fontSize}px`},[e._v(e._s(e.$t("lang.publicSearchQmsQwsOngoing")))])])],1),e._v(" "),t("span",{style:`cursor: pointer; font-size: ${e.fontSize}px`},[e._v(e._s(e.$t("lang.newMenus.qws")))])])],1),e._v(" "),t("span",{staticClass:"tooltip-val",attrs:{"aria-required":"false"},on:{click:function(t){return e.onPublicSearch("QmsQws")}}},[e._v(e._s(e.$t("lang.publicSearchQmsQws")))])])],1)],1)],1),e._v(" "),t("el-footer-banner")],1)],1)};O._withStripped=!0;var A=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("container",{staticClass:"layout-page_container"},[t("main",{staticClass:"layout-page",class:e.mode},[e._t("default")],2)])};A._withStripped=!0;var P,T=a(85303),D=a.n(T),R=(a(8706),a(64433)),I=a.n(R),F=(a(13887),P=function(e,t){return P=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},P(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function a(){this.constructor=e}P(e,t),e.prototype=null===t?Object.create(t):(a.prototype=t.prototype,new a)}),L=function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r},q=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},M=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return F(t,e),L([(0,o.fI)(),q("design:type",String)],t.prototype,"mode",void 0),L([(0,o.wA)({components:{Container:D(),Main:I()}})],t)}(o.w3),j=M,z=(a(52156),a(51900)),N=(0,z.Z)(j,A,[],!1,null,null,null).exports,B=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-form",e._g(e._b({directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}
1],ref:"form",class:{"input-inline-message":e.$attrs["input-inline-message"]},attrs:{model:e.$attrs.model||e.store&&e.store.model,rules:e.$attrs.rules||e.store&&e.store.rules,"label-width":e.$attrs["label-width"]||"65px",labelSuffix:e.hasLabelSuffix?e.$attrs["label-suffix"]||":":"","inline-message":void 0===e.$attrs["input-inline-message"]||e.$attrs["input-inline-message"]}},"el-form",e.$attrs,!1),e.$listeners),[e._t("default")],2)};B._withStripped=!0;var U=a(54223),W=a.n(U),H=(a(64077),function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}()),G=function(e,t,a,o){return new(a||(a=Promise))((function(l,n){function r(e){try{s(o.next(e))}catch(e){n(e)}}function i(e){try{s(o.throw(e))}catch(e){n(e)}}function s(e){var t;e.done?l(e.value):(t=e.value,t instanceof a?t:new a((function(e){e(t)}))).then(r,i)}s((o=o.apply(e,t||[])).next())}))},V=function(e,t){var a,o,l,n,r={label:0,sent:function(){if(1&l[0])throw l[1];return l[1]},trys:[],ops:[]};return n={next:i(0),throw:i(1),return:i(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function i(i){return function(s){return function(i){if(a)throw new TypeError("Generator is already executing.");for(;n&&(n=0,i[0]&&(r=0)),r;)try{if(a=1,o&&(l=2&i[0]?o.return:i[0]?o.throw||((l=o.return)&&l.call(o),0):o.next)&&!(l=l.call(o,i[1])).done)return l;switch(o=0,l&&(i=[2&i[0],l.value]),i[0]){case 0:case 1:l=i;break;case 4:return r.label++,{value:i[1],done:!1};case 5:r.label++,o=i[1],i=[0];continue;case 7:i=r.ops.pop(),r.trys.pop();continue;default:if(!((l=(l=r.trys).length>0&&l[l.length-1])||6!==i[0]&&2!==i[0])){r=0;continue}if(3===i[0]&&(!l||i[1]>l[0]&&i[1]<l[3])){r.label=i[1];break}if(6===i[0]&&r.label<l[1]){r.label=l[1],l=i;break}if(l&&r.label<l[2]){r.label=l[2],r.ops.push(i);break}l[2]&&r.ops.pop(),r.trys.pop();continue}i=t.call(e,r)}catch(e){i=[6,e],o=0}finally{a=l=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},Z=function(e){function t(t){var a=e.call(this)||this;return a.actions={},a.params={},a.filters={},a.after=function(e){return e},a.data={count:0,list:[]},a.key="id",a.mongoKey="_id",a.selections=[],a.page=1,a.nowPage=1,a.size=30,a.loading=!1,a.api=x(),Object.assign(a,t),a}return H(t,e),Object.defineProperty(t.prototype,"selectionkeys",{get:function(){var e=this;return this.selections.map((function(t){return t[e.key]}))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selectionkeysMongo",{get:function(){var e=this;return this.selections.map((function(t){return t[e.mongoKey]}))},enumerable:!1,configurable:!0}),t.prototype.load=function(e,t){return void 0===e&&(e=this.page),void 0===t&&(t=this.size),G(this,void 0,Promise,(function(){var a=this;return V(this,(function(o){return e&&(this.nowPage=e),[2,this.delay(this.api.get(this.loader,{params:Object.assign({page:e,size:t},this.params)})).then((function(e){return a.after(e,a.data)})).then((function(e){return a.data=e,a.emit("load",e),e}))]}))}))},t.prototype.reload=function(){return G(this,void 0,Promise,(function(){return V(this,(function(e){return[2,this.load(this.nowPage)]}))}))},t.prototype.delay=function(e){return G(this,void 0,Promise,(function(){var t=this;return V(this,(function(a){return[2,new Promise((function(a,o){t.loading=!0,a(e)})).finally((function(){return t.loading=!1}))]}))}))},t.prototype.action=function(e,t){var a=this,o=this.actions[e];return o&&this.delay(this.api.request(Object.assign({},o,t))).then((function(e){switch(o.after){case"load":a.load();break;case"reload":a.reload()}return e}))},t}(p()),Q=function(e){function t(t){var a=e.call(this)||this;return a.model={},a.default={},a.key="id",a.api=x(),a.validate=function(){return Promise.resolve(!0)},a.doAction=function(e,t,o,l){return"put"===e?a.api.put(t,o,l):a.api.post(t,o,l)},a.onSubmitSuccess=function(){},a.onSubmitFailure=function(){},a.after=function(e){return e},Object.assign(a,t),a.model=(0,g.cloneDeep)(a.default),a.props&&Object.assign(a.model,a.props(a.model)),a}return H(t,e),t.prototype.load=function(e){var t=this;return this.loader?this.api.get(this.loader,{params:e}).then((function(e){return t.after(e)})).then((function(e){return e&&(t.id=e[t.key],t.reset(e)),e})):Promise.resolve(void 0)},t.prototype.reset=function(e){return void 0===e&&(e=this.default),this.model=e===this.default?(0,g.cloneDeep)(this.default):(0,g.defaultsDeep)(e),this.emit
1("reset",this),this.model},t.prototype.submit=function(){var e=this;return new Promise((function(t,a){return Promise.resolve(!e.rules||e.validate()).then((function(t){var a=void 0,o={};switch(e.emit("before-submit"),typeof e.action){case"string":a=e.action;break;case"object":a=e.action.url,o={params:e.action.params};break;case"function":return e.action(e.id?"put":"post",e.model,o,t)}if(!a)throw new Error;return e.action&&t?e.doAction(e.id?"put":"post",a,e.model,o):void 0})).then((function(a){e.id=void 0,e.emit("submit-success",a,"post"),e.onSubmitSuccess(a),t("post")})).catch((function(t){var o="number"==typeof t?t:!!t.message&&-1111;e.emit("submit-failure",o),e.onSubmitFailure(o),a(o)}))}))},t}(p()),K=(function(e){function t(t){var a=e.call(this,t)||this;return a.visible=!1,Object.assign(a,t),a}H(t,e),t.prototype.load=function(t){var a=this;return e.prototype.load.call(this,t).then((function(e){return a.visible=!0,e}))},t.prototype.submit=function(){var t=this;return e.prototype.submit.call(this).then((function(e){return e&&t.close(),e}))},t.prototype.open=function(e){this.reset(e),this.visible=!0},t.prototype.close=function(){this.visible&&(this.id=void 0,this.visible=!1)}}(Q),function(e){function t(t){var a=e.call(this,t)||this;return a.visible=!1,Object.assign(a,t),a}return H(t,e),t.prototype.load=function(t){var a=this;return e.prototype.load.call(this,t).then((function(e){return a.visible=!0,e}))},t.prototype.submit=function(){var t=this;return e.prototype.submit.call(this).then((function(e){var a,o;return e&&(t.close(),t.id?null===(a=t.table)||void 0===a||a.reload():null===(o=t.table)||void 0===o||o.load()),e}))},t.prototype.open=function(e){this.reset(e),this.visible=!0},t.prototype.close=function(){this.visible&&(this.id=void 0,this.visible=!1)},t}(Q)),Y=(function(e){function t(t){var a=e.call(this)||this;return a.options=t,a.api=x(),a}H(t,e),t.prototype.load=function(){return this.api.get(this.options.url)}}(p()),function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}()),J=function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r},X=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},ee=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.loading=!1,t}var a,l;return Y(t,e),t.prototype.beforeMount=function(){var e=this;this.store&&(this.store.validate=function(){return e.form.validate()},this.store.on("reset",this.onReset),this.store.on("before-submit",this.onBeforeSubmit),this.store.on("submit-success",this.onSubmitSucesss),this.store.on("submit-failure",this.onSubmitFailure))},t.prototype.onBeforeSubmit=function(){this.loading=!0},t.prototype.onSubmitSucesss=function(e,t,a){this.loading=!1,this.$emit("submit-success",e,t,a)},t.prototype.onSubmitFailure=function(e){this.loading=!1,this.$emit("submit-failure",e)},t.prototype.onReset=function(){this.form.clearValidate()},t.prototype.destroyed=function(){this.store&&(this.store.validate=function(){return Promise.resolve(!0)},this.store.emit("destroyed",this,this.form),this.store.off("reset",this.onReset),this.store.off("before-submit",this.onBeforeSubmit),this.store.off("submit-success",this.onSubmitSucesss),this.store.off("submit-failure",this.onSubmitFailure))},J([(0,o.DF)("form_store"),(0,o.fI)(),X("design:type","function"==typeof(a=void 0!==Q&&Q)?a:Object)],t.prototype,"store",void 0),J([(0,o.fI)({default:!1,required:!1}),X("design:type",Boolean)],t.prototype,"hasLabelSuffix",void 0),J([(0,o.Rl)("form"),X("design:type","function"==typeof(l=void 0!==W()&&W())?l:Object)],t.prototype,"form",void 0),J([(0,o.wA)({inheritAttrs:!1,components:{ElForm:W()}})],t)}(o.w3),te=ee,ae=(0,z.Z)(te,B,[],!1,null,null,null).exports,oe=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-dialog",e._g(e._b({attrs:{visible:e.$attrs.visible||e.visible,"close-on-click-modal":void 0!==e.$attrs["close-on-click-modal"]&&e.$attrs["close-on-click-modal"]}},"el-dialog",e.$attrs,!1),e.$listeners),[e._t("header",null,{slot:"header"}),e._v(" "),e.visible?e._t("default"):e._e(),e._v(" "),e._t("footer",null,{slot:"footer"})],2)};oe._withStripped=!0;var le=a(66177),ne=a.n(le),re=(a(5783),function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}()),ie=function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r},se=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},ce=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return re(t,e),ie([(0,o.fI)({default:!1,required:!0}),se("design:type",Boolean)],t.prototype,"visible",void 0),ie([(0,o.wA)({components:{ElDialog:ne()}})],t)}(o.w3),de=ce,pe=(0,z.Z)(de,oe,[],!1,null,null,null).exports,ue=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-card",{staticClass:"widget-header-link",attrs:{shadow:"never"}},[t("el-link",{attrs:{target:"_blank",underline:!1,href:`https://www.wsd.gov.hk/${"en-US"===e.$i18n.locale?"en":"zh-CN"===e.$i18n.locale?"sc":"tc"}/faqs/index.html`}},[e._v("\n    "+e._s(e.$t("lang.headerLinkQuestion"))+"\n  ")]),e._v(" "),t("el-link",{attrs:{target:"_blank",underline:!1,href:`https://www.wsd.gov.hk/${"en-US"===e.$i18n.locale?"en":"zh-CN"===e.$i18n.locale?"sc":"tc"}/access-to-information/index.html`}},[e._v("\n    "+e._s(e.$t("lang.headerLinkInfo"))+"\n  ")]),e._v(" "),t("el-link",{attrs:{target:"_blank",underline:!1,href:`https://www.wsd.gov.hk/${"en-US"===e.$i18n.locale?"en":"zh-CN"===e.$i18n.locale?"sc":"tc"}/application-public-forms/index.html`}},[e._v("\n    "+e._s(e.$t("lang.headerLinkForm"))+"\n  ")]),e._v(" "),t("el-link",{attrs:{target:"_blank",underline:!1,href:`https://www.wsd.gov.hk/${"en-US"===e.$i18n.locale?"en":"zh-CN"===e.$i18n.locale?"sc":"tc"}/related-links/index.html`}},[e._v("\n    "+e._s(e.$t("lang.headerLinkLinks"))+"\n  ")]),e._v(" "),t("el-link",{attrs:{target:"_blank",underline:!1,href:`https://www.wsd.gov.hk/${"en-US"===e.$i18n.locale?"en":"zh-CN"===e.$i18n.locale?"sc":"tc"}/contact-us/index.html`}},[e._v("\n    "+e._s(e.$t("lang.headerLinkContact"))+"\n  ")])],1)};ue._withStripped=!0;var me=a(40927),fe=a.n(me),_e=(a(62764),a(74677)),ge=a.n(_e),he=(a(8860),function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}()),ve=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return he(t,e),function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r}([(0,o.wA)({components:{ElCard:fe(),ElLink:ge()}})],t)}(o.w3),be=ve,we=(a(54716),(0,z.Z)(be,ue,[],!1,null,null,null).exports
1),ye=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("div",e._g(e._b({staticClass:"el-column-row",style:e.style},"div",e.$attrs,!1),e.$listeners),[e._t("default")],2)};ye._withStripped=!0;var $e=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),Ce=function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r},xe=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},Se=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return $e(t,e),Object.defineProperty(t.prototype,"style",{get:function(){return Object.assign({},this.$attrs.style,this.percent&&this.percent<1?{width:"".concat(100*this.percent,"%")}:{flex:1},this.minWidth?{"min-width":this.minWidth+"px"}:null)},enumerable:!1,configurable:!0}),t.prototype.mounted=function(){},Ce([(0,o.fI)({default:0,required:!1,type:Number}),xe("design:type",Number)],t.prototype,"percent",void 0),Ce([(0,o.fI)(),xe("design:type",Number)],t.prototype,"minWidth",void 0),Ce([(0,o.wA)({components:{}})],t)}(o.w3),Ee=Se,ke=(a(72830),(0,z.Z)(Ee,ye,[],!1,null,null,null).exports),Oe=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("svg",{staticClass:"svg-icon",style:e.style,attrs:{"aria-hidden":"true"}},[t("use",{attrs:{"xlink:href":`#${e.name}`}})])};Oe._withStripped=!0;var Ae=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),Pe=function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r},Te=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},De=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Ae(t,e),Object.defineProperty(t.prototype,"style",{get:function(){return Object.assign({},this.$attrs.style,{width:"100%"===this.width?"100%":"".concat(this.width,"px"),height:"100%"===this.height?"100%":"".concat(this.height,"px")},this.color?{color:this.color}:null)},enumerable:!1,configurable:!0}),Pe([(0,o.fI)(),Te("design:type",String)],t.prototype,"name",void 0),Pe([(0,o.fI)({required:!1,default:12}),Te("design:type",Object)],t.prototype,"width",void 0),Pe([(0,o.fI)({required:!1,default:12}),Te("design:type",Object)],t.prototype,"height",void 0),Pe([(0,o.fI)(),Te("design:type",String)],t.prototype,"color",void 0),Pe([(0,o.wA)({components:{}})],t)}(o.w3),Re=De,Ie=(0,z.Z)(Re,Oe,[],!1,null,null,null).exports,Fe=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-card",{class:["widget-banner","en-US"===e.$i18n.locale?"widget-banner-en":""],attrs:{shadow:"never"}},[t("div",{staticClass:"logo-view",on:{click:e.onGoToLogin}},[t("img",{staticClass:"logo",attrs:{src:e.logoSrc,alt:"WSD Logo"}})]),e._v(" "),t("ul",[t("li",[t("i",{staticStyle:{width:"8px",height:"8px","border-radius":"50%","background-color":"rgb(28, 126, 255)",display:"block","margin-right":"10px"}}),e._v(" "),t("el-link",{attrs:{target:"_blank",underline:!1,href:`https://www.wsd.gov.hk/${"en-US"===e.$i18n.locale?"en":"zh-CN"===e.$i18n.locale?"sc":"tc"}/application-public-forms/index.html`}},[e._v("\n    "+e._s(e.$t("lang.headerLinkForm"))+"\n  ")])],1),e._v(" "),t("li",{staticStyle:{"margin-left":"10px","margin-right":"5px",columns:"#cccccc"}},[e._v(" | ")]),e._v(" "),t("li",{staticClass:"phone-view"},[t("el-link",{attrs:{target:"_blank",href:`https://www.wsd.gov.hk/${"en-US"===e.$i18n.locale?"en":"zh-CN"===e.$i18n.locale?"sc":"tc"}/contact-us/customer-services-hotline/index.html`}},[t("span",{staticClass:"hotline1"},[e._v(e._s(e.$t("lang.headerBannerHotline1")))]),e._v(" "),t("span",{staticClass:"hotline2"}
1,[e._v(e._s(e.$t("lang.headerBannerHotline2")))])])],1),e._v(" "),t("li",{staticStyle:{"margin-left":"10px","margin-right":"5px",columns:"#cccccc"}},[e._v(" | ")]),e._v(" "),t("li",{staticClass:"operate-list-item"},[t("a",{staticClass:"facebook-btn",attrs:{"aria-label":"banner_facebook_button"},on:{click:function(t){return e.onBannerOutLine("facebook")}}},[t("i",{staticClass:"icomoon icon-facebook"})]),e._v(" "),t("a",{staticClass:"youtube-btn",attrs:{"aria-label":"banner_youtube_button"},on:{click:function(t){return e.onBannerOutLine("youtube")}}},[t("i",{staticClass:"icomoon icon-youtube"})])]),e._v(" "),t("li",{staticStyle:{"margin-left":"10px","margin-right":"5px",columns:"#cccccc"}},[e._v(" | ")]),e._v(" "),t("li",{staticClass:"operate-list-item"},[t("div",{staticClass:"icon-list-item drawer-content"},[t("el-dropdown",{attrs:{trigger:"click",placement:"bottom"}},[t("a",{staticClass:"icomoon-btn el-dropdown-link",attrs:{"aria-label":"banner_share_button"}},[t("i",{staticClass:"icomoon icon-icon-share"})]),e._v(" "),t("el-dropdown-menu",{staticClass:"inline-dropdown center-dropdown",attrs:{slot:"dropdown"},slot:"dropdown"},[t("a",{staticClass:"dropdown-btn",attrs:{"aria-label":"banner_weibo_button",title:"Weibo"},on:{click:function(t){return e.onBannerOutLine("weibo")}}},[t("i",{staticClass:"icomoon icon-extra-sina-weibo"})]),e._v(" "),t("a",{staticClass:"dropdown-btn",attrs:{"aria-label":"banner_webchat_button",title:"Twitter"},on:{click:function(t){return e.onBannerOutLine("twitter")}}},[t("i",{staticClass:"icomoon icon-icon-twitter"})]),e._v(" "),t("a",{staticClass:"dropdown-btn",attrs:{"aria-label":"banner_facebook_button",title:"Facebook"},on:{click:function(t){return e.onBannerOutLine("facebookTwo")}}},[t("i",{staticClass:"icomoon icon-extra-facebook"})])])],1)],1),e._v(" "),t("div",{staticClass:"icon-list-item"},[t("el-dropdown",{attrs:{trigger:"click",placement:"bottom"}},[t("a",{staticClass:"icomoon-btn el-dropdown-link",attrs:{"aria-label":"banner_lang_button"}},[t("i",{staticClass:"icomoon icon-icon-lang"})]),e._v(" "),t("el-dropdown-menu",{staticClass:"inline-dropdown-lang center-dropdown",attrs:{slot:"dropdown"},slot:"dropdown"},[t("el-dropdown-item",[t("a",{staticClass:"change-language-btn",class:["en-US"===e.$i18n.locale?"is-active":""],attrs:{"aria-label":"banner_en_link",href:`/en${-1===this.$route.fullPath.indexOf("?")?this.$route.fullPath+"?":this.$route.fullPath}`},on:{click:function(t){return e.onChangeLanguage("en-US")}}},[e._v("\n              "+e._s(e.$t("lang.langEn")))])]),e._v(" "),t("el-dropdown-item",[t("a",{staticClass:"change-language-btn",class:["zh-HK"===e.$i18n.locale?"is-active":""],attrs:{"aria-label":"banner_tc_link",href:`/tc${-1===this.$route.fullPath.indexOf("?")?this.$route.fullPath+"?":this.$route.fullPath}`},on:{click:function(t){return e.onChangeLanguage("zh-HK")}}},[e._v("\n                "+e._s(e.$t("lang.langTc"))+"\n              ")])]),e._v(" "),t("el-dropdown-item",[t("a",{staticClass:"change-language-btn",class:["zh-CN"===e.$i18n.locale?"is-active":""],attrs:{"aria-label":"banner_sc_link",href:`/sc${-1===this.$route.fullPath.indexOf("?")?this.$route.fullPath+"?":this.$route.fullPath}`},on:{click:function(t){return e.onChangeLanguage("zh-CN")}}},[e._v("\n                "+e._s(e.$t("lang.langSc")))])])],1)],1)],1),e._v(" "),t("div",{staticClass:"icon-list-item"},[t("el-dropdown",{attrs:{trigger:"click",placement:"bottom"}},[t("a",{staticClass:"icomoon-btn el-dropdown-link",attrs:{"aria-label":"banner_aaa_button"}},[t("i",{staticClass:"icomoon icon-icon-aaa"})]),e._v(" "),t("el-dropdown-menu",{staticClass:"inline-dropdown center-dropdown font-dropdown-menu",attrs:{slot:"dropdown"},slot:"dropdown"},[t("el-dropdown-item",[t("el-button",{class:["dropdown-font-size-default","change-font-size-btn","font-btn","14"==e.fontSize?"is-font-active":""],on:{click:function(t){return e.onChangeSize("14")}}},[e._v("A")])],1),e._v(" "),t("el-dropdown-item",[t("el-button",{class:["dropdown-font-size-middle","change-font-size-btn","font-btn","16"==e.fontSize?"is-font-active":""],on:{click:function(t){return e.onChangeSize("16")}}},[e._v("A")])],1),e._v(" "),t("el-dropdown-item",[t("el-button",{class:["dropdown-font-size-large","change-font-size-btn","font-btn","17"==e.fontSize?"is-font-active":""],on:{click:function(t){return e.onChangeSize("17")}}},[e._v("A")])],1)],1)],1)],1),e._v(" "),t("div",{staticClass:"icon-list-item"},[t("el-dropdown",{attrs:{trigger:"click","hide-on-click":!1}},[t("a",{staticClass:"icomoon-btn el-dropdown-link",attrs:{"aria-label":"banner_search_button"}},[t("i",{staticClass:"icomoon icon-icon-search"})]),e._v(" "),t("el-dropdown-menu",{staticClass:"inline-dropdown center-dropdown search-dropdown-menu",attrs:{slot:"dropdown"},slot:"dropdown"}
1,[t("el-dropdown-item",[t("div",{staticClass:"drawer-content"},[t("label",{attrs:{for:"dropdown-banner_search_keywords",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"dropdown-banner_search_keywords",placeholder:e.$t("lang.enterSearchkeyword")},model:{value:e.searchKeyword,callback:function(t){e.searchKeyword=t},expression:"searchKeyword"}}),e._v(" "),t("a",{staticClass:"dropdown-btnSearch",on:{click:function(t){return e.onBannerOutLine("search")}}})],1)])],1)],1)],1),e._v(" "),t("div",{staticClass:"icon-list-item"},[t("a",{staticClass:"icomoon-btn",attrs:{"aria-label":"banner_faq_button",href:`https://www.wsd.gov.hk/${"en-US"===e.$i18n.locale?"en":"zh-CN"===e.$i18n.locale?"sc":"tc"}/faqs/index.html`}},[t("i",{staticClass:"icomoon icon-icon-faq"})])]),e._v(" "),t("div",{staticClass:"icon-list-item"},[t("a",{staticClass:"icomoon-btn",attrs:{"aria-label":"banner_contact_button",href:`https://www.wsd.gov.hk/${"en-US"===e.$i18n.locale?"en":"zh-CN"===e.$i18n.locale?"sc":"tc"}/contact-us/index.html`}},[t("i",{staticClass:"icomoon icon-icon-contact"})])])]),e._v(" "),e.showLogin?t("li",{staticClass:"operate-list-item"},[e.showLogin?t("el-button",{staticClass:"login-btn",on:{click:function(t){return e.$router.push("/login")}}},[e._v(e._s(e.$t("lang.headerBannerLogin")))]):e._e()],1):e._e(),e._v(" "),e.isLogin?t("li",{staticClass:"operate-list-item"},[t("el-button",{staticClass:"news-btn",on:{click:function(t){return e.$router.push("/notice")}}},[t("i",{staticClass:"iconfont a-ico_xiaoxi1x"}),e._v(" "),e.messageCount?t("p",{staticClass:"new-num-view"},[e._v(e._s(e.messageCount))]):e._e()]),e._v(" "),t("el-button",{staticClass:"sign-out-btn",attrs:{confirm:e.$t("lang.exitTip"),confirmButtonText:e.$t("lang.sure")},on:{confirm:e.onLogout}},[e._v(e._s(e.$t("lang.headerBannerLogout")))])],1):e._e()])])};Fe._withStripped=!0;var Le=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-button",e._g(e._b({on:{click:e.onClick}},"el-button",e.$attrs,!1),e.$listeners),[e._t("default")],2)};Le._withStripped=!0;var qe=a(26426),Me=a.n(qe),je=(a(98376),a(86769)),ze=a.n(je),Ne=(a(88404),function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}()),Be=function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r},Ue=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},We=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Ne(t,e),t.prototype.onClick=function(){var e=this;this.confirm&&ze().confirm(this.confirm,this.tip||this.$t("lang.confirmBtn.title"),{distinguishCancelAndClose:!0,confirmButtonText:this.confirmButtonText||this.$t("lang.confirmBtn.confirmButtonText"),cancelButtonText:this.cancelButtonText||this.$t("lang.confirmBtn.cancelButtonText")}).then((function(t){return e.$emit("confirm")}))},Be([(0,o.fI)(),Ue("design:type",String)],t.prototype,"confirm",void 0),Be([(0,o.fI)(),Ue("design:type",String)],t.prototype,"tip",void 0),Be([(0,o.fI)(),Ue("design:type",String)],t.prototype,"confirmButtonText",void 0),Be([(0,o.fI)(),Ue("design:type",String)],t.prototype,"cancelButtonText",void 0),Be([(0,o.wA)({components:{ElButton:Me()}})],t)}(o.w3),He=We,Ge=(0,z.Z)(He,Le,[],!1,null,null,null).exports,Ve=a(7626),Ze=a.n(Ve),Qe=(a(33329),a(43229)),Ke=a.n(Qe),Ye=(a(85209),function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}()),Je=function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r},Xe=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},et=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.messageCount=0,t.showChangSize=!1,t.showShare=!1,t.showSearch=!1,t.searchKeyword="",t.fontSize="",t.logoSrc="/images/public/wsd_logo_".concat(t.$i18n.locale,".png"),t.api=x(),t}return Ye(t,e),t.prototype.onShowChangeSize=function(){this.showChangSize=!this.showChangSize,this.showShare=!1,this.showSearch=!1},t.prototype.onShowShare=function(){this.showShare=!this.showShare,this.showSearch=!1,this.showChangSize=!1},t.prototype.onShowSearch=function(){this.showSearch=!this.showSearch,this.showChangSize=!1,this.showShare=!1},t.prototype.onChangeSize=function(e){this.fontSize=e,document.getElementsByTagName("html")[0].style.fontSize=e+"px",localStorage.setItem("font-size",e),this.$emit("change-size",this.fontSize)},t.prototype.onChangeLanguage=function(e){this.$i18n.locale=e,this.logoSrc="/images/public/wsd_logo_".concat(e,".png")},t.prototype.onLogout=function(){this.api.clear(),this.$router.replace("/"),window.localStorage.clear(),history.pushState(null,"",document.URL),window.addEventListener("popstate",(function(e){history.pushState(null,"",document.URL)}),!1)},t.prototype.onBannerOutLine=function(e){switch(e){case"facebook":window.open("https://www.facebook.com/watersavedave.hk","_blank");break;case"youtube":window.open("https://www.youtube.com/channel/UCBNvKbiFPLoawj7rZeDInmw","_blank");break;case"search":window.open("https://www.search.gov.hk/result?tpl_id=wsd_r3&gp0=wsd_r3_home&gp1=wsd_r3_home&ui_charset=utf-8&web=this&rwd=1&ui_lang=".concat("en-US"==this.$i18n.locale?"en":"zh-CN"==this.$i18n.locale?"zh-cnhk":"zh-hk","&query=").concat(this.searchKeyword));break;case"weibo":this.shareToWeibo();break;case"facebookTwo":this.shareToFaceBook();break;case"twitter":this.shareToTwitter()}},t.prototype.shareToFaceBook=function(){var e=encodeURIComponent(document.URL),t=screen.width/2-300,a=screen.height/2-225;window.open("http://www.facebook.com/share.php?u="+e,"_blank","width=600, height=450, top="+a+", left
1="+t)},t.prototype.shareToWeibo=function(){var e=encodeURIComponent(document.URL),t=encodeURIComponent(document.title),a=screen.width/2-300,o=screen.height/2-225;window.open("https://service.weibo.com/share/share.php?title="+t+"&url="+e+"&source=bookmark","_blank","width=600, height=450, top="+o+", left="+a)},t.prototype.shareToTwitter=function(){var e=encodeURIComponent(document.URL),t=encodeURIComponent(document.title),a=screen.width/2-300,o=screen.height/2-225;window.open("http://twitter.com/home?status="+t+"%3A+"+e,"_blank","width=600, height=450, top="+o+", left="+a)},t.prototype.onGoToLogin=function(){"work"!==this.nowPage?"search"==this.nowPage&&this.$router.push("/login"):this.$router.push("/home")},t.prototype.getMessageCount=function(){var e=this;this.api.token&&this.api.get("/public/user/notifications/count").then((function(t){e.messageCount=t}))},t.prototype.mounted=function(){this.getMessageCount(),this.fontSize=localStorage.getItem("font-size")?localStorage.getItem("font-size"):"14"},Je([(0,o.fI)({default:!1,required:!1}),Xe("design:type",Boolean)],t.prototype,"showLogin",void 0),Je([(0,o.fI)({default:!1,required:!1}),Xe("design:type",Boolean)],t.prototype,"showPublicSearch",void 0),Je([(0,o.fI)({default:!1,required:!1}),Xe("design:type",Boolean)],t.prototype,"isLogin",void 0),Je([(0,o.fI)(),Xe("design:type",String)],t.prototype,"nowPage",void 0),Je([(0,o.wA)({components:{ElCard:fe(),ElLink:ge(),ElColumnRow:ke,ElButton:Ge,ElSvgIcon:Ie,ElInput:Ze(),ElDropdownLink:Ke()}})],t)}(o.w3),tt=et,at=(a(1716),(0,z.Z)(tt,Fe,[],!1,null,null,null).exports),ot=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-form-item",e._g(e._b({class:this.$attrs.class,style:e.style},"el-form-item",e.$attrs,!1),e.$listeners),[e._t("label",null,{slot:"label"}),e._v(" "),e._t("default"),e._v(" "),t("span",{staticStyle:{"font-style":"italic",color:"#999"}},[e._t("append")],2)],2)};ot._withStripped=!0;var lt=a(40032),nt=a.n(lt),rt=(a(62664),function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}()),it=function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r},st=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},ct=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return rt(t,e),Object.defineProperty(t.prototype,"style",{get:function(){return Object.assign({},this.$attrs.style,this.percent&&this.percent<1?{width:"".concat(100*this.percent,"%")}:{flex:1},this.minWidth?{"min-width":this.minWidth+"px"}:null)},enumerable:!1,configurable:!0}),it([(0,o.fI)({default:0,required:!1,type:Number}),st("design:type",Number)],t.prototype,"percent",void 0),it([(0,o.fI)(),st("design:type",Number)],t.prototype,"minWidth",void 0),it([(0,o.wA)({components:{ElFormItem:nt()}})],t)}(o.w3),dt=ct,pt=(0,z.Z)(dt,ot,[],!1,null,null,null).exports,ut=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-card",{staticClass:"widget-footer",attrs:{shadow:"never"}},[t("div",{staticStyle:{"text-align":"center"},attrs:{id:"footerTop"}},[t("div",{staticClass:"socialmedia operate-list-item"},[t("a",{staticClass:"facebook-btn",attrs:{"aria-label":"banner_facebook_button"},on:{click:function(t){return e.onBannerOutLine("facebook")}}},[t("i",{staticClass:"icomoon icon-facebook"})]),e._v(" "),t("a",{staticClass:"youtube-btn",attrs:{"aria-label":"banner_youtube_button"},on:{click:function(t){return e.onBannerOutLine("youtube")}}},[t("i",{staticClass:"icomoon icon-youtube"})])]),e._v(" "),t("div",{staticClass:"socialmedia"},[t("el-link",{attrs:{"aria-label":"footer_image_1",target:"_blank",underline:!1,href:"https://www.cisvp.hk/zh-hk/newsletters/92"}},[t("img",{staticClass:"width-43",attrs:{src:"/images/public/image_1.png",alt:""}})]),e._v(" "),t("el-link",{attrs:{"aria-label":"footer_image_2",target:"_blank",underline:!1,href:"https://www.wsd.gov.hk/tc/accessibility-statement/index.html"}},[t("img",{staticClass:"width-89",attrs:{src:"/images/public/image_2.png",alt:""}})]),e._v(" "),t("el-link",{attrs:{"aria-label":"footer_image_3",target:"_blank",underline:!1,href:"https://www.w3.org/WAI/WCAG2AA-Conformance"}},[t("img",{staticClass:"width-65",attrs:{src:"/images/public/image_3.png",alt:""}})]),e._v(" "),t("el-link",{attrs:{"aria-label":"footer_image_4",target:"_blank",underline:!1,href:"https://www.brandhk.gov.hk/zh-hk"}},[t("img",{staticClass:"width-104",attrs:{src:"/images/public/image_4.png",alt:""}})])],1),e._v(" "),t("div",{staticClass:"socialmedia"},[t("span",[t("el-link",{attrs:{target:"_blank",underline:!1,href:`https://www.wsd.gov.hk/${"en-US"===e.$i18n.locale?"en":"zh-CN"===e.$i18n.locale?"sc":"tc"}/access-to-information/index.html`}},[t("span",{staticClass:"line"},[e._v("● ")]),e._v(" "),t("span",{staticClass:"link-text"}
1,[e._v(e._s(e.$t("lang.footer.access")))])])],1),e._v(" "),t("span",[t("el-link",{attrs:{target:"_blank",underline:!1,href:`https://www.wsd.gov.hk/${"en-US"===e.$i18n.locale?"en":"zh-CN"===e.$i18n.locale?"sc":"tc"}/related-links/index.html`}},[t("span",{staticClass:"line"},[e._v("● ")]),e._v(" "),t("span",{staticClass:"link-text"},[e._v(e._s(e.$t("lang.headerLinkLinks")))])])],1),e._v(" "),t("span",[t("el-link",{attrs:{target:"_blank",underline:!1,href:`https://www.wsd.gov.hk/${"en-US"===e.$i18n.locale?"en":"zh-CN"===e.$i18n.locale?"sc":"tc"}/important-notices/index.html`}},[t("span",{staticClass:"line"},[e._v("● ")]),e._v(" "),t("span",{staticClass:"link-text"},[e._v(e._s(e.$t("lang.footImportantNotice")))])])],1),e._v(" "),t("span",[t("el-link",{attrs:{target:"_blank",underline:!1,href:`https://www.wsd.gov.hk/${"en-US"===e.$i18n.locale?"en":"zh-CN"===e.$i18n.locale?"sc":"tc"}/privacy-policy/index.html`}},[t("span",{staticClass:"line"},[e._v("● ")]),e._v(" "),t("span",{staticClass:"link-text"},[e._v(e._s(e.$t("lang.footPrivatePolicy")))])])],1)]),e._v(" "),t("div",{staticClass:"socialmedia"},[t("p",{staticClass:"date"},[e._v("©2024 "+e._s(e.$t("lang.footer.WaterSuppliesDepartment"))+" | "+e._s(e.$t("lang.footDate")))])])])])};ut._withStripped=!0;var mt=a(50905),ft=a.n(mt),_t=(a(95332),function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}()),gt=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.version="",t}return _t(t,e),t.prototype.onBannerOutLine=function(e){switch(e){case"facebook":window.open("https://www.facebook.com/watersavedave.hk","_blank");break;case"youtube":window.open("https://www.youtube.com/channel/UCBNvKbiFPLoawj7rZeDInmw","_blank")}},t.prototype.mounted=function(){},function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r}([(0,o.wA)({components:{ElCard:fe(),ElLink:ge(),ElRow:ft(),ElColumnRow:ke}})],t)}(o.w3),ht=gt,vt=(a(83082),(0,z.Z)(ht,ut,[],!1,null,null,null).exports),bt=a(44242),wt=a.n(bt),yt=(a(48022),a(85517)),$t=a.n(yt),Ct=(a(10105),a(54947)),xt=a.n(Ct),St=(a(86138),a(82182)),Et=a.n(St),kt=(a(74587),a(64243)),Ot=a.n(kt),At=(a(50285),a(14561)),Pt=a.n(At),Tt=(a(86568),function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}()),Dt=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.fontSize=localStorage.getItem("font-size")||"14",t.timestamp=0,t.errMessage={111:t.$t("lang.pleaseCompleteAllRequiredFields"),91003:t.$t("lang.backupEmailNotExists"),10001:t.$t("lang.userErrOrPassErr"),10100:t.$t("lang.verCodeError"),91005:t.$t("lang.userIsFrozen"),91006:t.$t("lang.manyErrUserIsFrozen")},t.form=new Q({action:"/login",rules:{username:[{required:!0,message:t.$t("lang.emailTip"),trigger:"blur"}],password:[{required:!0,message:t.$t("lang.passwordTip"),trigger:"blur"}],captcha:[{required:!0,message:t.$t("lang.codeTip"),trigger:"blur"}]}}),t.forgotAccountForm=new K({action:"/forgot/account",rules:{backup_email:[{required:!0,message:t.$t("lang.emailTip"),trigger:"blur"},{type:"email",message:t.$t("lang.inputCorrectEmailAddress"),trigger:"blur"}]},onSubmitSuccess:function(){E().success({message:"".concat(t.$t("lang.forgotAccountEmailMsg")),showClose:!0,duration:5e3}),t.forgotAccountForm.close()},onSubmitFailure:function(e){var a=e?t.errMessage[e]:t.errMessage[111];a&&E().error({message:a,showClose:!0,duration:5e3})}}),t.pageRouter={ga:"/applications/ga",qms:"/applications/qms",qws:"/applications/qws",wels:"/applications/wels",change_of_building:"/applications/undertaking",access:"/applications/waterworks_area"},t}return Tt(t,e),t.prototype.onSubmitSuccess=function(e){var t,a;(null===(t=this.$route.query)||void 0===t?void 0:t.page)?this.$router.push(this.pageRouter[null===(a=this.$route.query)||void 0===a?void 0:a.page]):this.$router.push("/home")},t.prototype.onSubmitFailure=function(e){var t=e?this.errMessage[e]:this.errMessage[111];t&&E().error({message:t,showClose:!0,duration:5e3})},t.prototype.onPublicSearch=function(e){switch(e){case"ga":window.open("https://ga.wsd.gov.hk/","_blank");break;case"wels":window.open("/search?type=wels","_blank");break;case"dwdf":window.open("/search?type=dwdf","_blank");break;case"QmsQws":window.open("/search?type=qms","_blank")}},t.prototype.onChangeSize=function(e){console.log(e),this.fontSize=e},t.prototype.mounted=function(){},function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r}([(0,o.wA)({components:{ElButton:Me(),ElTabs:wt(),ElTabPane:$t(),ElForm:ae,ElFormItem:pt,ElInput:Ze(),ElLink:ge(),ElPage:N,ElRow:ft(),ElCard:fe(),ElDivider:xt(),ElDiaolog:pe,ElHeaderLink:we,ElContainer:D(),ElMain:I(),ElHeader:Et(),ElFooter:Ot(),ElColumnRow:ke,ElSvgIcon:Ie,ElBanner:at,ElFooterBanner:vt,ElTooltip:Pt()}})],t)}(o.w3),Rt=Dt,It=(a(14958),(0,z.Z)(Rt,O,[],!1,null,null,null).exports
1),Ft=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-page",{staticClass:"admin page-admin"},[t("el-container",{staticClass:"aside"},[t("el-header",[t("el-banner",{attrs:{isLogin:!0,nowPage:"work"}}),e._v(" "),t("el-menu",{staticClass:"aside-menu",attrs:{loader:"/menus",router:""}})],1),e._v(" "),t("el-container",{staticClass:"workspace"},[t("el-main",[t("div",{staticClass:"workspace-content"},[t("router-view")],1)]),e._v(" "),t("el-dialog",{staticClass:"out-due-dialog",attrs:{visible:e.showDialog,title:e.$t("lang.seswsionTimeout")},on:{"update:visible":function(t){e.showDialog=t}}},[t("p",[e._v(e._s(e.$t("lang.outDue")))]),e._v(" "),t("template",{slot:"footer"},[t("el-button",{on:{click:e.onLogOff}},[e._v(e._s(e.$t("lang.logOff"))+" ("+e._s(e.messageBoxTime)+")")]),e._v(" "),t("el-button",{on:{click:e.onStayLoggedIn}},[e._v(e._s(e.$t("lang.stayLoggedIn")))])],1)],2)],1)],1)],1)};Ft._withStripped=!0;var Lt=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-menu",e._g(e._b({attrs:{"default-active":e.$route.path,"popper-class":"11111",mode:"horizontal"}},"el-menu",e.$attrs,!1),e.$listeners),[t("el-menu-item",{staticClass:"home-menu-item",attrs:{index:"/home"}},[t("i",{staticClass:"iconfont ai-home"})]),e._v(" "),e._l(e.menus,(function(a){return[a.children.length>0?[t("el-submenu",{key:a.id,class:[["/applications/waterworks_area","/applications/undertaking"].indexOf(a.url)>-1?"is-special-menu-item":""],attrs:{mode:"horizontal",index:a.url}},[t("template",{slot:"title"},[t("span",[e._v(e._s(a.name))])]),e._v(" "),e._l(a.children,(function(o){return[o.children.length>0?[t("el-submenu",{key:o.id,staticClass:"second-submenu",attrs:{mode:"horizontal",index:o.url}},[t("template",{slot:"title"},[t("span",[e._v(e._s(o.name))])]),e._v(" "),e._l(o.children,(function(a){return t("el-menu-item",{key:a.id,attrs:{index:a.url}},[e._v("\n                "+e._s(a.name)+"\n              ")])}))],2)]:[t("el-menu-item",{key:o.id,attrs:{index:o.url},on:{click:function(t){o.name==e.$t("lang.newMenus.new")&&a.name==e.$t("lang.newMenus.wels")?e.onWelsNew():o.name==e.$t("lang.newMenus.renewal")&&a.name==e.$t("lang.newMenus.wels")&&e.onWelsReNew()}}},[e._v("\n              "+e._s(o.name)+"\n            ")])]]}))],2)]:[t("el-menu-item",{key:a.id,attrs:{index:a.url}},[t("span",[e._v(e._s(a.name))])])]]})),e._v(" "),t("el-dialog",{staticClass:"select-apply-type-dialog position-center",attrs:{visible:e.showApplyTypeDialog,width:"500px",title:e.$t("lang.chooseTypeOfWELSProduct"),"destroy-on-close":!0,"close-on-click-modal":!1},on:{"update:visible":function(t){e.showApplyTypeDialog=t},close:function(t){e.showApplyTypeDialog=!1}}},[t("el-radio-group",{model:{value:e.applyType,callback:function(t){e.applyType=t},expression:"applyType"}},[t("el-radio",{attrs:{label:"bathing"}},[e._v(e._s(e.$t("lang.showersForBathing")))]),e._v(" "),t("el-radio",{attrs:{label:"taps"}},[e._v(e._s(e.$t("lang.waterTaps")))]),e._v(" "),t("el-radio",{attrs:{label:"machines"}},[e._v(e._s(e.$t("lang.washingMachines")))]),e._v(" "),t("el-radio",{attrs:{label:"equipment"}},[e._v(e._s(e.$t("lang.urinalEquipment")))]),e._v(" "),t("el-radio",{attrs:{label:"controllers"}},[e._v(e._s(e.$t("lang.flowControllers")))]),e._v(" "),t("el-radio",{attrs:{label:"closets"}},[e._v(e._s(e.$t("lang.waterClosets")))])],1),e._v(" "),t("template",{slot:"footer"},[t("el-button",{staticClass:"refuse-btn",on:{click:function(t){e.showApplyTypeDialog=!1}}},[e._v("\n        "+e._s(e.$t("lang.action.close"))+"\n      ")]),e._v(" "),t("el-button",{staticClass:"agree-btn",attrs:{type:"primary"},on:{click:e.onAdd}},[e._v(e._s(e.$t("lang.action.submit"))+" ")])],1)],2),e._v(" "),t("el-dialog",{staticClass:"select-apply-type-dialog position-center",attrs:{visible:e.showWelsRenewDialog,width:"500px",title:e.$t("lang.chooseTypeOfWELSProduct"),"destroy-on-close":!0,"close-on-click-modal":!1},on:{"update:visible":function(t){e.showWelsRenewDialog=t},close:function(t){e.showWelsRenewDialog=!1}}},[t("el-radio-group",{model:{value:e.applyType,callback:function(t){e.applyType=t},expression:"applyType"}},[t("el-radio",{attrs:{label:"taps"}},[e._v(e._s(e.$t("lang.waterTaps")))]),e._v(" "),t("el-radio",{attrs:{label:"equipment"}},[e._v(e._s(e.$t("lang.urinalEquipment")))]),e._v(" "),t("el-radio",{attrs:{label:"controllers"}},[e._v(e._s(e.$t("lang.flowControllers")))]),e._v(" "),t("el-radio",{attrs:{label:"closets"}}
1,[e._v(e._s(e.$t("lang.waterClosets")))])],1),e._v(" "),t("template",{slot:"footer"},[t("el-button",{staticClass:"refuse-btn",on:{click:function(t){e.showWelsRenewDialog=!1}}},[e._v("\n        "+e._s(e.$t("lang.action.close"))+"\n      ")]),e._v(" "),t("el-button",{staticClass:"agree-btn",attrs:{type:"primary"},on:{click:e.onWelsRenewAdd}},[e._v(e._s(e.$t("lang.action.submit"))+" ")])],1)],2)],2)};Lt._withStripped=!0;var qt=a(10642),Mt=a.n(qt),jt=(a(39788),a(2444)),zt=a.n(jt),Nt=(a(55307),a(91119)),Bt=a.n(Nt),Ut=(a(8775),function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}()),Wt=function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r},Ht=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},Gt=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.menus=[],t.api=x(),t.defaultActive="",t.showApplyTypeDialog=!1,t.showWelsRenewDialog=!1,t.applyType="",t}return Ut(t,e),t.prototype.onChangeMeunsLang=function(){this.load()},t.prototype.beforeMount=function(){this.load()},t.prototype.load=function(){this.menus=[{id:"1699193095800796982",name:this.$t("lang.newMenus.ga"),url:"/applications/ga",children:[{children:[],id:"16991930958007969820",name:this.$t("lang.newMenus.list"),url:"/applications/ga"},{children:[],id:"16991930958007969821",name:this.$t("lang.newMenus.new"),url:"/applications/ga/apply?type=ga_new",type:"ga"},{children:[],id:"1699193095800796982",name:this.$t("lang.newMenus.renewal"),url:"/applications/ga/apply?type=ga_exists",type:"ga"}]},{id:"1699193095800796983",name:this.$t("lang.newMenus.qmsAndqws"),url:"/applications/qms&qws",children:[{id:"16991930958007969830",name:this.$t("lang.newMenus.qms"),url:"/applications/qms",children:[]},{id:"16991930958007969831",name:this.$t("lang.newMenus.qws"),url:"/applications/qws",children:[]}]},{id:"1699193095800796984",name:this.$t("lang.newMenus.undertaking"),url:"/applications/undertaking",children:[{children:[],id:"16991930958007969840",name:this.$t("lang.newMenus.list"),url:"/applications/undertaking"},{children:[],id:"16991930958007969841",name:this.$t("lang.newMenus.new"),url:"/applications/undertaking/apply",type:"undertaking"}]},{id:"1699193095800796985",name:this.$t("lang.newMenus.wels"),url:"/applications/wels",children:[{children:[],id:"16991930958007969850",name:this.$t("lang.newMenus.list"),url:"/applications/wels"},{children:[],id:"16991930958007969851",name:this.$t("lang.newMenus.new"),url:"",type:"wels"}]},{id:"1699193095800796981",name:this.$t("lang.newMenus.dwdf"),url:"/applications/dwdf",children:[{children:[],id:"16991930958007969820",name:this.$t("lang.newMenus.list"),url:"/applications/dwdf"},{children:[],id:"16991930958007969821",name:this.$t("lang.newMenus.new"),url:"/applications/dwdf/apply",type:"DWDF Form"}]},{id:"1699193095800796986",name:this.$t("lang.newMenus.waterworks"),url:"/applications/waterworks_area",children:[{children:[],id:"16991930958007969860",name:this.$t("lang.newMenus.list"),url:"/applications/waterworks_area"},{children:[],id:"16991930958007969861",name:this.$t("lang.newMenus.new"),url:"/applications/waterworks_area/apply",type:"WaterworksArea"}]},{id:"1699193095800796987",name:this.$t("lang.menus.personal"),url:"/personal",children:[]},{id:"1699193095800796988",name:this.$t("lang.menus.notice"),url:"/notice",children:[]}]},t.prototype.onMenuClick=function(e,t){console.log("route",e,t)},t.prototype.onWelsNew=function(){this.showApplyTypeDialog=!0},t.prototype.onWelsReNew=function(){this.showWelsRenewDialog=!0},t.prototype.onAdd=function(){switch(this.applyType){case"bathing":this.$router.push("/applications/wels/showers_bathing");break;case"taps":this.$router.push("/applications/wels/water_taps");break;case"machines":this.$router.push("/applications/wels/washing_machines");break;case"equipment":this.$router.push("/applications/wels/urinal_equipment");break;case"controllers":this.$router.push("/applications/wels/flow_controllers");break;case"closets":this.$router.push("/applications/wels/water_closets")}this.showApplyTypeDialog=!1,this.applyType=""},t.prototype.onWelsRenewAdd=function(){switch(this.applyType){case"bathing":this.$router.push("/applications/wels/renew/wels_showers_athingp");break;case"taps":this.$router.push("/applications/wels/renew/wels_water_taps");break;case"machines":this.$router.push("/applications/wels/renew/wels_washing_machines");break;case"equipment":this.$router.push("/applications/wels/renew/wels_urinal_equipment");break;case"controllers":this.$router.push("/applications/wels/renew/wels_flow_controllers");break;case"closets":this.$router.push("/applications/wels/renew/wels_water_closets")}this.showWelsRenewDialog=!1,this.applyType=""},Wt([(0,o.fI)(),Ht("design:type",String)],t.prototype,"loader",void 0),Wt([(0,o.fI)(),Ht("design:type",Function)],t.prototype,"afterLoad",void 0),Wt([(0,o.wA)({inheritAttrs:!1,components:{ElMenu:Mt(),ElSubmenu:zt(),ElMenuItem:Bt()}})],t)}(o.w3),Vt=Gt,Zt=(a(1260),(0,z.Z)(Vt,Lt,[],!1,null,null,null).exports
1),Qt=a(57092),Kt=a.n(Qt),Yt=(a(42297),a(57099)),Jt=a.n(Yt),Xt=(a(62333),a(42173)),ea=a.n(Xt),ta=(a(31686),function(e,t){t=JSON.stringify(t),window.localStorage.setItem(e,t)}),aa=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),oa=(new Date).getTime(),la=(new Date).getTime(),na=null,ra="",ia=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.api=x(),t.messageBoxTime=300,t.showDialog=!1,t}return aa(t,e),t.prototype.onDropdownClick=function(e){"logout"===e&&(this.api.token=null,this.$router.push("/login"))},t.prototype.checkTimeout=function(){if(la=(new Date).getTime(),oa=function(e,t){var a=window.localStorage.getItem(e);try{a=JSON.parse(a)}catch(e){}return a||t}("lastTime"),la-oa>9e5){if(history.pushState(null,"",document.URL),"login"==_g.currentRoute.name||na)return;this.startInterval()}},t.prototype.startInterval=function(){var e=this;na=setInterval((function(){e.messageBoxTime>0?e.messageBoxTime=e.messageBoxTime-1:e.onLogOff()}),1e3),this.showDialog=!0},t.prototype.onLogOff=function(){var e;this.clear(),this.api.clear(),history.pushState(null,"",document.URL),window.addEventListener("popstate",(function(e){history.pushState(null,"",document.URL)}),!1),e="lastTime",window.localStorage.removeItem(e),_g.replace("/login")},t.prototype.onStayLoggedIn=function(){this.clear()},t.prototype.clear=function(){this.showDialog=!1,this.messageBoxTime=300,clearInterval(na),na=null},t.prototype.mounted=function(){ra=window.setInterval(this.checkTimeout,3e4)},t.prototype.beforeDestroy=function(){clearInterval(na),window.clearInterval(ra)},function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r}([(0,o.wA)({components:{ElPage:N,ElContainer:D(),ElMain:I(),ElAside:Kt(),ElHeader:Et(),ElMenu:Zt,ElDropdown:Jt(),ElDropdownItem:ea(),ElDropdownMenu:Ke(),ElButton:Ge,ElHeaderLink:we,ElBanner:at,ElFooterBanner:vt,ElFooter:Ot(),ElDialog:pe}})],t)}(o.w3),sa=ia,ca=(a(7502),(0,z.Z)(sa,Ft,[],!1,null,null,null).exports),da=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-admin-container",{staticClass:"page-home",attrs:{breadcrumb:[]}},[t("p",{staticClass:"welconfont-text"},[e._v(e._s(e.$t("lang.homeWelcome")))]),e._v(" "),t("div",{staticClass:"image-view"},[t("img",{attrs:{src:"/images/home/home_image.png",alt:""}})])])};da._withStripped=!0;var pa=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("div",{staticClass:"container"},[t("div",{staticClass:"container-top-view"},[t("el-breadcrumb",{attrs:{separator:">"}},e._l(e.items,(function(a,o){return t("el-breadcrumb-item",{key:o,class:[a.path?"":"is-normal"],attrs:{to:{path:a.path}}},[e._v(e._s(a.title))])})),1),e._v(" "),e.showMenusPart?t("div",{staticClass:"part-menus-view"},[e._t("part-menus")],2):e._e()],1),e._v(" "),e._t("right"),e._v(" "),t("div",{class:[e.showMenusPart?"":"margin-top-20","page-content-view"]},[t("div",{staticClass:"page-content"},[e._t("default")],2),e._v(" "),t("el-footer-banner")],1)],2)};pa._withStripped=!0;var ua=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-card",{staticClass:"widget-footer-collapse",attrs:{shadow:"never"}},[t("el-collapse",{model:{value:e.activeNames,callback:function(t){e.activeNames=t},expression:"activeNames"}},[t("el-collapse-item",{attrs:{title:"網頁指南",name:"1"}},[t("el-row",{attrs:{type:"row"}},[t("el-column-row",[t("div",{staticClass:"title-view"},[t("el-link",{attrs:{href:"https://element.eleme.io",target:"_blank"}},[t("span",{staticClass:"tile-text"},[e._v("聯絡我們")]),e._v(" "),t("i",{staticClass:"el-icon-arrow-right"})])],1),e._v(" "),t("div",{staticClass:"link-list-view"},[t("div",{staticClass:"link-list-item"},[t("div",{staticClass:"link-list-item-title-view"},[t("el-link",{attrs:{href:"https://element.eleme.io"}},[t("span",{staticClass:"dot"}),e._v(" "),t("span",{staticClass:"link-list-item-title"},[e._v("關於我們")])])],1),e._v(" "),t("ul",{staticClass:"link-list-item-list"},[t("li",{staticClass:"link-list-item-list-item"},[t("el-link",{attrs:{href:"https://element.eleme.io"}},[t("span",{staticClass:"dot"}),e._v(" "),t("span",{staticClass:"link-list-item-title"},[e._v("歡迎辭")])])],1),e._v(" "),t("li",{staticClass:"link-list-item-list-item"},[t("el-link",{attrs:{href:"https://element.eleme.io"}},[t("span",{staticClass:"dot"}),e._v(" "),t("span",{staticClass:"link-list-item-title"},[e._v("抱負、使命及信念")])])],1)])])]),e._v(" "),t("div",{staticClass:"link-list-view"},[t("div",{staticClass:"link-list-item"},[t("div",{staticClass:"link-list-item-title-view"},[t("el-link",{attrs:{href:"https://element.eleme.io"}},[t("span",{staticClass:"dot"}),e._v(" "),t("span",{staticClass:"link-list-item-title"},[e._v("核心工作")])])],1),e._v(" "),t("ul",{staticClass:"link-list-item-list"},[t("li",{staticClass:"link-list-item-list-item"},[t("el-link",{attrs:{href:"https://element.eleme.io"}},[t("span",{staticClass:"dot"}),e._v(" "),t("span",{staticClass:"link-list-item-title"}
vendor: 4,215 bytes, line 1
1,[e._v("全面水資源管理策略")])])],1),e._v(" "),t("li",{staticClass:"link-list-item-list-item"},[t("el-link",{attrs:{href:"https://element.eleme.io"}},[t("span",{staticClass:"dot"}),e._v(" "),t("span",{staticClass:"link-list-item-title"},[e._v("水資源")])])],1)])])])]),e._v(" "),t("el-column-row",[t("div",{staticClass:"title-view"},[t("el-link",{attrs:{href:"https://element.eleme.io",target:"_blank"}},[t("span",{staticClass:"tile-text"},[e._v("常見問題")]),e._v(" "),t("i",{staticClass:"el-icon-arrow-right"})])],1),e._v(" "),t("div",{staticClass:"link-list-view"},[t("div",{staticClass:"link-list-item"},[t("div",{staticClass:"link-list-item-title-view"},[t("el-link",{attrs:{href:"https://element.eleme.io"}},[t("span",{staticClass:"dot"}),e._v(" "),t("span",{staticClass:"link-list-item-title"},[e._v("客戶服務")])])],1),e._v(" "),t("ul",{staticClass:"link-list-item-list"},[t("li",{staticClass:"link-list-item-list-item"},[t("el-link",{attrs:{href:"https://element.eleme.io"}},[t("span",{staticClass:"dot"}),e._v(" "),t("span",{staticClass:"link-list-item-title"},[e._v("管理帳戶及水費單")])])],1),e._v(" "),t("li",{staticClass:"link-list-item-list-item"},[t("el-link",{attrs:{href:"https://element.eleme.io"}},[t("span",{staticClass:"dot"}),e._v(" "),t("span",{staticClass:"link-list-item-title"},[e._v("申請供水")])])],1)])])]),e._v(" "),t("div",{staticClass:"link-list-view"},[t("div",{staticClass:"link-list-item"},[t("div",{staticClass:"link-list-item-title-view"},[t("el-link",{attrs:{href:"https://element.eleme.io"}},[t("span",{staticClass:"dot"}),e._v(" "),t("span",{staticClass:"link-list-item-title"},[e._v("內部喉管及技術")])])],1),e._v(" "),t("ul",{staticClass:"link-list-item-list"},[t("li",{staticClass:"link-list-item-list-item"},[t("el-link",{attrs:{href:"https://element.eleme.io"}},[t("span",{staticClass:"dot"}),e._v(" "),t("span",{staticClass:"link-list-item-title"},[e._v("持牌水喉匠")])])],1),e._v(" "),t("li",{staticClass:"link-list-item-list-item"},[t("el-link",{attrs:{href:"https://element.eleme.io"}},[t("span",{staticClass:"dot"}),e._v(" "),t("span",{staticClass:"link-list-item-title"},[e._v("使用於內部供水系統或消防供水的喉管及裝置")])])],1)])])])]),e._v(" "),t("el-column-row",[t("div",{staticClass:"title-view"},[t("el-link",{attrs:{href:"https://element.eleme.io",target:"_blank"}},[t("span",{staticClass:"tile-text"},[e._v("公開資料")]),e._v(" "),t("i",{staticClass:"el-icon-arrow-right"})])],1),e._v(" "),t("div",{staticClass:"link-list-view"},[t("div",{staticClass:"link-list-item"},[t("div",{staticClass:"link-list-item-title-view"},[t("el-link",{attrs:{href:"https://element.eleme.io"}},[t("span",{staticClass:"dot"}),e._v(" "),t("span",{staticClass:"link-list-item-title"},[e._v("建築物食水安全")])])],1),e._v(" "),t("ul",{staticClass:"link-list-item-list"},[t("li",{staticClass:"link-list-item-list-item"},[t("el-link",{attrs:{href:"https://element.eleme.io"}},[t("span",{staticClass:"dot"}),e._v(" "),t("span",{staticClass:"link-list-item-title"},[e._v("建築物水安全計劃")])])],1),e._v(" "),t("li",{staticClass:"link-list-item-list-item"},[t("el-link",{attrs:{href:"https://element.eleme.io"}},[t("span",{staticClass:"dot"}),e._v(" "),t("span",{staticClass:"link-list-item-title"},[e._v("合資格人士")])])],1)])])]),e._v(" "),t("div",{staticClass:"link-list-view"},[t("div",{staticClass:"link-list-item"},[t("div",{staticClass:"link-list-item-title-view"},[t("el-link",{attrs:{href:"https://element.eleme.io"}},[t("span",{staticClass:"dot"}),e._v(" "),t("span",{staticClass:"link-list-item-title"},[e._v("節約用水")])])],1)])])]),e._v(" "),t("el-column-row",[t("div",{staticClass:"title-view"},[t("el-link",{attrs:{href:"https://element.eleme.io",target:"_blank"}},[t("span",{staticClass:"tile-text"},[e._v("申請及公用表格")]),e._v(" "),t("i",{staticClass:"el-icon-arrow-right"})])],1),e._v(" "),t("div",{staticClass:"link-list-view"},[t("div",{staticClass:"link-list-item"},[t("div",{staticClass:"link-list-item-title-view"},[t("el-link",{attrs:{href:"https://element.eleme.io"}},[t("span",{staticClass:"dot"}),e._v(" "),t("span",{staticClass:"link-list-item-title"}
1,[e._v("公共關係")])])],1),e._v(" "),t("ul",{staticClass:"link-list-item-list"},[t("li",{staticClass:"link-list-item-list-item"},[t("el-link",{attrs:{href:"https://element.eleme.io"}},[t("span",{staticClass:"dot"}),e._v(" "),t("span",{staticClass:"link-list-item-title"},[e._v("前深水埗配水庫")])])],1),e._v(" "),t("li",{staticClass:"link-list-item-list-item"},[t("el-link",{attrs:{href:"https://element.eleme.io"}},[t("span",{staticClass:"dot"}),e._v(" "),t("span",{staticClass:"link-list-item-title"},[e._v("水務署客戶聯絡小組")])])],1)])])]),e._v(" "),t("div",{staticClass:"link-list-view"},[t("div",{staticClass:"link-list-item"},[t("div",{staticClass:"link-list-item-title-view"},[t("el-link",{attrs:{href:"https://element.eleme.io"}},[t("span",{staticClass:"dot"}),e._v(" "),t("span",{staticClass:"link-list-item-title"},[e._v("媒體")])])],1),e._v(" "),t("ul",{staticClass:"link-list-item-list"},[t("li",{staticClass:"link-list-item-list-item"},[t("el-link",{attrs:{href:"https://element.eleme.io"}},[t("span",{staticClass:"dot"}),e._v(" "),t("span",{staticClass:"link-list-item-title"},[e._v("熱門話題")])])],1),e._v(" "),t("li",{staticClass:"link-list-item-list-item"},[t("el-link",{attrs:{href:"https://element.eleme.io"}},[t("span",{staticClass:"dot"}),e._v(" "),t("span",{staticClass:"link-list-item-title"},[e._v("新聞稿")])])],1)])])])])],1)],1)],1)],1)};ua._withStripped=!0;var ma=a(21530),fa=a.n(ma),_a=(a(30303),a(22428)),ga=a.n(_a),ha=(a(75906),a(71937)),va=a.n(ha),ba=(a(92670),function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}()),wa=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.activeNames=[""],t}return ba(t,e),t.prototype.mounted=function(){},function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r}([(0,o.wA)({components:{ElCard:fe(),ElLink:ge(),ElRow:ft(),ElColumnRow:ke,ElCollapse:ga(),ElCollapseItem:va(),ElCol:fa()}})],t)}(o.w3),ya=wa,$a=(a(88934),(0,z.Z)(ya,ua,[],!1,null,null,null).exports),Ca=a(32),xa=a.n(Ca),Sa=(a(91833),a(79685)),Ea=a.n(Sa),ka=(a(66709),function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}()),Oa=function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r},Aa=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},Pa=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return ka(t,e),Object.defineProperty(t.prototype,"items",{get:function(){return this.breadcrumb.map((function(e){return"string"==typeof e?{path:"",title:e}:e}))},enumerable:!1,configurable:!0}),Oa([(0,o.fI)({default:[]}),Aa("design:type",Array)],t.prototype,"breadcrumb",void 0),Oa([(0,o.fI)({default:!1}),Aa("design:type",Boolean)],t.prototype,"showMenusPart",void 0),Oa([(0,o.wA)({components:{ElBreadcrumb:xa(),ElBreadcrumbItem:Ea(),ElFooterBanner:vt,ElFooterCollapse:$a}})],t)}(o.w3),Ta=Pa,Da=(a(52348),(0,z.Z)(Ta,pa,[],!1,null,"1a35f6cc",null).exports
1),Ra=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),Ia=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.version="1.2.2",t}return Ra(t,e),function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r}([(0,o.wA)({components:{ElAdminContainer:Da,ElMain:I(),ElAside:Kt(),ElHeader:Et()}})],t)}(o.w3),Fa=Ia,La=(a(61243),(0,z.Z)(Fa,da,[],!1,null,null,null).exports),qa=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-container",{staticClass:"page-reset-password page-unlogin"},[t("el-header",[t("el-header-link")],1),e._v(" "),t("el-main",[t("el-banner"),e._v(" "),t("div",{staticClass:"info-view"},[t("el-card",{staticClass:"info-card",attrs:{shadow:"never"}},[t("template",{slot:"header"},[e._v(e._s(e.$t("lang.forgetPswTitle")))]),e._v(" "),t("el-form",{attrs:{store:e.form}},[t("el-column-row",[t("el-form-item",{staticClass:"flex-column",attrs:{label:e.$t("lang.email"),"label-width":"0",prop:"username"}},[t("el-input",{attrs:{placeholder:e.$t("lang.email")},model:{value:e.form.model.username,callback:function(t){e.$set(e.form.model,"username",t)},expression:"form.model.username"}})],1)],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"flex-column",attrs:{label:e.$t("lang.newPassword"),"label-width":"0",prop:"password"}},[t("el-input",{attrs:{type:e.showPassword?"text":"password",placeholder:e.$t("lang.newPassword")},model:{value:e.form.model.password,callback:function(t){e.$set(e.form.model,"password",t)},expression:"form.model.password"}},[e.showPassword?t("el-button",{staticClass:"eyes-btn",attrs:{slot:"suffix",type:"text"},on:{click:function(t){e.showPassword=!1}},slot:"suffix"},[t("img",{attrs:{src:"/images/login/closeEyes.png"}})]):e._e(),e._v(" "),e.showPassword?e._e():t("el-button",{staticClass:"eyes-btn",attrs:{slot:"suffix",type:"text"},on:{click:function(t){e.showPassword=!0}},slot:"suffix"},[t("img",{attrs:{src:"/images/login/openEyes.png"}})])],1)],1)],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"flex-column",attrs:{label:e.$t("lang.confirmPsw"),"label-width":"0",prop:"confirm_password"}},[t("el-input",{attrs:{type:e.showConfirmPassword?"text":"password",placeholder:e.$t("lang.confirmPsw")},model:{value:e.form.model.confirm_password,callback:function(t){e.$set(e.form.model,"confirm_password",t)},expression:"form.model.confirm_password"}},[e.showConfirmPassword?t("el-button",{staticClass:"eyes-btn",attrs:{slot:"suffix",type:"text"},on:{click:function(t){e.showConfirmPassword=!1}},slot:"suffix"},[t("img",{attrs:{src:"/images/login/closeEyes.png"}})]):e._e(),e._v(" "),e.showConfirmPassword?e._e():t("el-button",{staticClass:"eyes-btn",attrs:{slot:"suffix",type:"text"},on:{click:function(t){e.showConfirmPassword=!0}},slot:"suffix"},[t("img",{attrs:{src:"/images/login/openEyes.png"}})])],1)],1)],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"flex-column code-form-item",attrs:{label:e.$t("lang.code"),"label-width":"0"}},[t("el-input",{attrs:{placeholder:e.$t("lang.code")},model:{value:e.form.model.captcha,callback:function(t){e.$set(e.form.model,"captcha",t)},expression:"form.model.captcha"}}),e._v(" "),t("el-button",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],on:{click:e.onSendCode}},[e._v(e._s(`${e.codeTip>0&&e.codeTip<=60?e.codeTip+"s":e.$t("lang.sendCode")}`))])],1)],1),e._v(" "),t("el-column-row",[t("el-button",{staticClass:"reset-password-btn",on:{click:function(t){return e.reset()}}}
1,[e._v(e._s(e.$t("lang.forgetPswTitle")))])],1),e._v(" "),t("el-column-row",{staticClass:"other-operate-column"},[t("el-button",{staticClass:"active-btn",attrs:{type:"text"},on:{click:function(t){return e.$router.push("/login")}}},[e._v(e._s(e.$t("lang.loginIn")))])],1)],1)],2)],1),e._v(" "),t("el-footer-banner")],1)],1)};qa._withStripped=!0;var Ma=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),ja=null,za=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.timestamp=300,t.showPassword=!1,t.showConfirmPassword=!1,t.codeTip=0,t.loading=!1,t.api=x(),t.errMessage={111:t.$t("lang.pleaseCompleteAllRequiredFields"),91e3:t.$t("lang.passwordsEnteredTwiceNotMatch"),10100:t.$t("lang.verCodeError"),93e3:t.$t("lang.registrationNotYetOpen"),1e4:t.$t("lang.userDoesNotExist"),10101:t.$t("lang.userAlreadyExists"),91004:t.$t("lang.emailAddressErr")},t.form=new Q({action:"/forgot/password",rules:{username:[{required:!0,message:t.$t("lang.emailTip"),trigger:"blur"},{type:"email",message:t.$t("lang.inputCorrectEmailAddress"),trigger:["blur","change"]}],password:[{required:!0,validator:t.validatepAssword,trigger:"blur"}],confirm_password:[{required:!0,validator:t.validatecConfirmPassword,trigger:"blur"}],code:[{required:!0,message:t.$t("lang.codeTip"),trigger:"blur"}]},onSubmitFailure:function(e){var a=e?t.errMessage[e]:t.errMessage[111];a&&E().error({message:a,showClose:!0,duration:5e3})}}),t}return Ma(t,e),t.prototype.validatecConfirmPassword=function(e,t,a){t?t!==this.form.model.password?a(new Error(this.$t("lang.twoPswError"))):/^(?![a-zA-Z]+$)(?![A-Z0-9]+$)(?![A-Z\W_]+$)(?![a-z0-9]+$)(?![a-z\W_]+$)(?![0-9\W_]+$)[a-zA-Z0-9\W_]{8,}$/.test(t)?a():a(this.$t("lang.pswRegTip")):a(new Error(this.$t("lang.confirmPswTip")))},t.prototype.validatepAssword=function(e,t,a){t?/^(?![a-zA-Z]+$)(?![A-Z0-9]+$)(?![A-Z\W_]+$)(?![a-z0-9]+$)(?![a-z\W_]+$)(?![0-9\W_]+$)[a-zA-Z0-9\W_]{8,}$/.test(t)?a():a(this.$t("lang.pswRegTip")):a(new Error(this.$t("lang.passwordTip")))},t.prototype.onSendCode=function(){if(!this.loading)return!(this.codeTip>0&&this.codeTip<=60)&&void(this.form.model.username?this.send():E().error({message:this.$t("lang.inputCorrectEmailAddress"),showClose:!0,duration:5e3}))},t.prototype.send=function(){var e=this;if(!this.loading){this.loading=!0;var t={target:this.form.model.username,name:"Sir/Madam"};this.api.post("/verify/code",t).then((function(t){e.codeTip=60,ja=setInterval((function(){return e.verifyCodeTiming()}),1e3),E().success({message:e.$t("lang.codeMailHasBeenSend"),duration:5e3,showClose:!0}),e.loading=!1})).catch((function(t){var a=e.errMessage[t];a&&E().error({message:a,showClose:!0,duration:5e3}),e.loading=!1}))}},t.prototype.verifyCodeTiming=function(){this.codeTip>0?this.codeTip--:(clearInterval(ja),this.codeTip=0)},t.prototype.reset=function(){var e=this;this.form.validate().then((function(t){t&&e.api.put("/forgot/password",e.form.model).then((function(t){E().success({message:e.$t("lang.resetSuccessfully"),showClose:!0,duration:5e3}),e.$router.push("/login")})).catch((function(t){E().error({message:e.errMessage[t]||t,showClose:!0,duration:5e3})}))}))},t.prototype.mounted=function(){console.log("i18n",this.$i18n.locale)},t.prototype.destroyed=function(){clearInterval(ja)},function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r}([(0,o.wA)({components:{ElButton:Me(),ElTabs:wt(),ElTabPane:$t(),ElForm:ae,ElFormItem:pt,ElInput:Ze(),ElLink:ge(),ElPage:N,ElRow:ft(),ElCard:fe(),ElDivider:xt(),ElDialog:pe,ElHeaderLink:we,ElContainer:D(),ElMain:I(),ElHeader:Et(),ElFooter:Ot(),ElColumnRow:ke,ElSvgIcon:Ie,ElBanner:at,ElFooterBanner:vt}})],t)}(o.w3),Na=za,Ba=(a(22159),(0,z.Z)(Na,qa,[],!1,null,null,null).exports
1),Ua=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-container",{class:["page-sign-up page-unlogin","en-US"===e.$i18n.locale?"page-sign-up-en":"page-sign-up-other"]},[t("el-header",[t("el-header-link")],1),e._v(" "),t("el-main",[t("el-banner"),e._v(" "),e.showActivation?e._e():t("div",{staticClass:"info-view"},[t("el-card",{staticClass:"info-card",attrs:{shadow:"never"}},[t("template",{slot:"header"},[e._v(e._s(e.$t("lang.singUpTitle")))]),e._v(" "),t("el-form",{attrs:{store:e.form},on:{"submit-failure":e.onSubmitFailure}},[t("el-column-row",[t("el-form-item",{attrs:{label:e.$t("lang.email"),prop:"username"}},[t("label",{attrs:{for:"sign_up_email",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"sign_up_email",placeholder:e.$t("lang.email")},model:{value:e.form.model.username,callback:function(t){e.$set(e.form.model,"username",t)},expression:"form.model.username"}})],1)],1),e._v(" "),t("el-column-row",[t("el-form-item",{attrs:{label:e.$t("lang.backupEmail"),prop:"extras.backup_email"}},[t("label",{attrs:{for:"sign_up_backup_email",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"sign_up_backup_email",placeholder:e.$t("lang.backupEmail")},model:{value:e.form.model.extras.backup_email,callback:function(t){e.$set(e.form.model.extras,"backup_email",t)},expression:"form.model.extras.backup_email"}})],1)],1),e._v(" "),t("el-column-row",[t("el-form-item",{attrs:{label:e.$t("lang.password"),prop:"password"}},[t("label",{attrs:{for:"sign_up_password",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"sign_up_password",placeholder:e.$t("lang.password"),type:e.showPassword?"text":"password"},model:{value:e.form.model.password,callback:function(t){e.$set(e.form.model,"password",t)},expression:"form.model.password"}},[e.showPassword?t("el-button",{staticClass:"eyes-btn",attrs:{slot:"suffix","aria-label":"sign_up_password_close_eye_button",type:"text"},on:{click:function(t){e.showPassword=!1}},slot:"suffix"},[t("img",{attrs:{src:"/images/login/closeEyes.png",alt:""}})]):e._e(),e._v(" "),e.showPassword?e._e():t("el-button",{staticClass:"eyes-btn",attrs:{slot:"suffix","aria-label":"sign_up_password_open_eye_button",type:"text"},on:{click:function(t){e.showPassword=!0}},slot:"suffix"},[t("img",{attrs:{src:"/images/login/openEyes.png",alt:""}})])],1)],1)],1),e._v(" "),t("el-column-row",[t("el-form-item",{attrs:{label:e.$t("lang.confirmPsw"),prop:"confirm_password"}},[t("label",{attrs:{for:"sign_up_confirm_password",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"sign_up_confirm_password",placeholder:e.$t("lang.confirmPsw"),type:e.showConfirmPassword?"text":"password"},model:{value:e.form.model.confirm_password,callback:function(t){e.$set(e.form.model,"confirm_password",t)},expression:"form.model.confirm_password"}},[e.showConfirmPassword?t("el-button",{staticClass:"eyes-btn",attrs:{slot:"suffix","aria-label":"sign_up_confirm_password_close_eye_button",type:"text"},on:{click:function(t){e.showConfirmPassword=!1}},slot:"suffix"},[t("img",{attrs:{src:"/images/login/closeEyes.png",alt:""}})]):e._e(),e._v(" "),e.showConfirmPassword?e._e():t("el-button",{staticClass:"eyes-btn",attrs:{slot:"suffix","aria-label":"sign_up_confirm_password_open_eye_button",type:"text"},on:{click:function(t){e.showConfirmPassword=!0}},slot:"suffix"},[t("img",{attrs:{src:"/images/login/openEyes.png",alt:""}})])],1)],1)],1),e._v(" "),t("el-column-row",[t("el-form-item",{attrs:{label:e.$t("lang.username"),prop:"name"}},[t("label",{attrs:{for:"sign_up_username",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"sign_up_username",placeholder:e.$t("lang.username")},model:{value:e.form.model.name,callback:function(t){e.$set(e.form.model,"name",t)},expression:"form.model.name"}})],1)],1),e._v(" "),t("el-column-row",{staticClass:"register-column"},[t("el-button",{staticClass:"register-btn",on:{click:e.onSendCode}},[e._v(e._s(e.$t("lang.register")))])],1),e._v(" "),t("el-column-row",{staticClass:"other-operate-column"},[t("p",{staticClass:"tip"},[e._v(e._s(e.$t("lang.AlreadyHaveAccount")))]),e._v(" "),t("el-button",{attrs:{type:"text"},on:{click:function(t){return e.$router.push("/login")}}}
1,[e._v(e._s(e.$t("lang.loginIn")))])],1)],1)],2)],1),e._v(" "),e.showActivation?t("div",{staticClass:"info-code-view"},[t("el-card",{staticClass:"info-card",attrs:{shadow:"never"}},[t("p",{staticClass:"title"},[e._v(e._s(e.$t("lang.accountActivation")))]),e._v(" "),t("div",{staticClass:"desc-view"},[t("p",{staticClass:"desc"},[e._v(e._s(`${e.$t("lang.sentAnEmailTo")} ${e.form.model.username} ${e.$t("lang.codeToActivateAccount")}`))]),e._v(" "),t("p",{staticClass:"desc"},[e._v(e._s(e.$t("lang.checkYourInboxInputBoxBelow")))])]),e._v(" "),t("div",{staticClass:"active-info-content"},[t("label",{attrs:{for:"sign_up_captcha",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"sign_up_captcha",placeholder:e.$t("lang.code")},model:{value:e.form.model.captcha,callback:function(t){e.$set(e.form.model,"captcha",t)},expression:"form.model.captcha"}}),e._v(" "),e.showResendCode?t("el-button",{staticClass:"resend-code-btn",attrs:{type:"text"},on:{click:e.onSendCode}},[e._v(e._s(e.$t("lang.resendCode")))]):e._e(),e._v(" "),t("el-button",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"register-btn",on:{click:e.onRegister}},[e._v(e._s(e.$t("lang.register")))])],1)])],1):e._e(),e._v(" "),t("el-dialog",{staticClass:"disclaimer-dialog",attrs:{visible:e.showDisclaimerDialog,width:"800px",title:e.$t("lang.disclaimer")},on:{close:function(t){e.showDisclaimerDialog=!1}}},[t("p",{staticClass:"disclaimer-content"},[e._v(e._s(e.$t("lang.singUpDisclaimerOne")))]),e._v(" "),t("p",{staticClass:"disclaimer-content margin-top-20"},[e._v(e._s(e.$t("lang.singUpDisclaimerTwo")))]),e._v(" "),t("p",{staticClass:"disclaimer-content margin-top-20"},[e._v(e._s(e.$t("lang.singUpDisclaimerThree")))]),e._v(" "),t("template",{slot:"footer"},[t("el-button",{staticClass:"refuse-btn",on:{click:function(t){e.showDisclaimerDialog=!1}}},[e._v("\n          "+e._s(e.$t("lang.action.close"))+"\n        ")]),e._v(" "),t("el-button",{staticClass:"agree-btn",attrs:{type:"primary"},on:{click:e.onAgreeDisclaimer}},[e._v(" "+e._s(e.$t("lang.action.agree"))+" ")])],1)],2),e._v(" "),t("el-footer-banner")],1)],1)};Ua._withStripped=!0;var Wa=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),Ha=function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r},Ga=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},Va=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.showResendCode=!1,t.showPassword=!1,t.showConfirmPassword=!1,t.api=x(),t.timestamp=0,t.showActivation=!1,t.loading=!1,t.codeTip=300,t.showDisclaimerDialog=!1,t.errMessage={111:t.$t("lang.pleaseCompleteAllRequiredFields"),10001:t.$t("lang.userErrOrPassErr"),10101:t.$t("lang.userAlreadyExists"),91002:t.$t("lang.backupEmailAlreadyExists"),10100:t.$t("lang.verCodeError"),93e3:t.$t("lang.registrationNotYetOpen"),10199:t.$t("lang.codeErrPleaseTry")},t.form=new Q({action:"/register",default:{extras:{}},rules:{username:[{required:!0,message:t.$t("lang.emailTip"),trigger:"blur"},{type:"email",message:"en-US"===t.$i18n.locale?"Please input the correct email address":"zh-CN"===t.$i18n.locale?"请输入正确的邮箱地址":"請輸入正確的郵箱地址",trigger:["blur","change"]}],password:[{required:!0,validator:t.validatePassword,trigger:"blur"}],confirm_password:[{required:!0,validator:t.validatecConfirmPassword,trigger:"blur"}],code:[{required:!0,message:t.$t("lang.codeTip"),trigger:"blur"}],name:[{required:!0,message:t.$t("lang.usernameTip"),trigger:"blur"}],"extras.backup_email":[{type:"email",message:"en-US"===t.$i18n.locale?"Please input the correct email address":"zh-CN"===t.$i18n.locale?"请输入正确的邮箱地址":"請輸入正確的郵箱地址",trigger:["blur","change"]}]},onSubmitSuccess:function(){E().success({message:t.$t("lang.registrationSuccess"),duration:5e3,showClose:!0}),t.loading=!1,t.$router.push("/home")},onSubmitFailure:function(e){var a=e?t.errMessage[e]:t.errMessage[111];a&&E().error({message:a,showClose:!0,duration:5e3})}}),t}return Wa(t,e),t.prototype.validatecConfirmPassword=function(e,t,a){if(t)if(t!==this.form.model.password)a(new Error(this.$t("lang.twoPswError")));else{var o=/^(?![a-zA-Z]+$)(?![A-Z0-9]+$)(?![A-Z\W_]+$)(?![a-z0-9]+$)(?![a-z\W_]+$)(?![0-9\W_]+$)[a-zA-Z0-9\W_]{8,}$/;console.log("14",o.test(t)),o.test(t)?a():a(this.$t("lang.pswRegTip"))}else a(new Error(this.$t("lang.confirmPswTip")))},t.prototype.validatePassword=function(e,t,a){if(t){var o=/^(?![a-zA-Z]+$)(?![A-Z0-9]+$)(?![A-Z\W_]+$)(?![a-z0-9]+$)(?![a-z\W_]+$)(?![0-9\W_]+$)[a-zA-Z0-9\W_]{8,}$/;console.log("14",o.test(t)),o.test(t)?a():a(this.$t("lang.pswRegTip"))}else a(new Error(this.$t("lang.passwordTip")))},t.prototype.onSendCode=function(){var e=this;if(this.codeTip<60)return!1;this.form.validate().then((function(t){t&&(e.showDisclaimerDialog=!0)}))},t.prototype.onAgreeDisclaimer=function(){var e=this;this.form.model.username,this.form.model.name,this.showDisclaimerDialog=!1,this.showResendCode=!1,this.api.post("/active/code",this.form.model).then((function(t){e.showActivation=!0,E().success({message:"en-US"===e.$i18n.locale?"The verification code has been sent to the mailbox, please pay attention to check":"zh-CN"===e.$i18n.locale?"验证码已发送至邮箱,请注意查收":"驗證碼已發送至郵箱,請注意查收",duration:5e3,showClose:!0})})).catch((function(t){var a=e.errMessage[t];a&&E().error({message:a,showClose:!0,duration:5e3})}))},t.prototype.onSubmitSuccess=function(){this.$router.push({path:"/account_active",query:{email:this.form.model.username}})},t.prototype.onSubmitFailure=function(e){e&&E()({showClose:!0,message:this.errMessage[e],type:"error"})}
1,t.prototype.onRegister=function(){var e=this;this.loading=!0,this.form.submit().then((function(){e.loading=!1})).catch((function(){return e.loading=!1}))},t.prototype.onChangeCodeTip=function(e){},t.prototype.mounted=function(){this.$route.query.target&&(this.showActivation=!0,this.form.model.username=this.$route.query.target)},Ha([(0,o.RL)("codeTip"),Ga("design:type",Function),Ga("design:paramtypes",[Number]),Ga("design:returntype",void 0)],t.prototype,"onChangeCodeTip",null),Ha([(0,o.wA)({components:{ElButton:Me(),ElTabs:wt(),ElTabPane:$t(),ElForm:ae,ElFormItem:pt,ElInput:Ze(),ElLink:ge(),ElPage:N,ElRow:ft(),ElCard:fe(),ElDivider:xt(),ElDialog:pe,ElHeaderLink:we,ElContainer:D(),ElMain:I(),ElHeader:Et(),ElFooter:Ot(),ElColumnRow:ke,ElSvgIcon:Ie,ElBanner:at,ElFooterBanner:vt}})],t)}(o.w3),Za=Va,Qa=(a(19532),(0,z.Z)(Za,Ua,[],!1,null,null,null).exports),Ka=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-container",{staticClass:"page-account-active"},[t("el-header",[t("el-header-link")],1),e._v(" "),t("el-main",[t("el-banner"),e._v(" "),t("div",{staticClass:"info-view"},[t("el-card",{staticClass:"info-card",attrs:{shadow:"never"}},[t("p",{staticClass:"title"},[e._v(e._s(e.$t("lang.accountActivation")))]),e._v(" "),t("div",{staticClass:"desc-view"},[t("p",{staticClass:"desc"},[e._v(e._s(`${e.$t("lang.sentAnEmailTo")}${e.$route.query.email} ${e.$t("lang.codeToActivateAccount")}`))]),e._v(" "),t("p",{staticClass:"desc"},[e._v(e._s(e.$t("lang.checkYourInboxInputBoxBelow")))])]),e._v(" "),t("div",{staticClass:"active-info-content"},[t("el-input",{attrs:{placeholder:"Code"}}),e._v(" "),e.showResendCode?t("el-button",{staticClass:"resend-code-btn",attrs:{type:"text"}},[e._v(e._s(e.$t("lang.resendCode")))]):e._e(),e._v(" "),t("el-button",{staticClass:"register-btn",on:{click:e.onRegister}},[e._v(e._s(e.$t("lang.register")))])],1)])],1)],1),e._v(" "),t("el-footer",[t("el-footer-banner")],1)],1)};Ka._withStripped=!0;var Ya=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),Ja=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.showResendCode=!0,t}return Ya(t,e),t.prototype.onRegister=function(){this.$router.push("/home")},t.prototype.mounted=function(){console.log("i18n",this.$i18n.locale)},function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r}([(0,o.wA)({components:{ElButton:Me(),ElInput:Ze(),ElLink:ge(),ElPage:N,ElRow:ft(),ElCard:fe(),ElHeaderLink:we,ElContainer:D(),ElMain:I(),ElHeader:Et(),ElFooter:Ot(),ElColumnRow:ke,ElBanner:at,ElFooterBanner:vt}})],t)}(o.w3),Xa=Ja,eo=(a(3005),(0,z.Z)(Xa,Ka,[],!1,null,null,null).exports),to=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-container",{staticClass:"page-lab-login"},[t("el-header",[t("el-header-link")],1),e._v(" "),t("el-main",[t("el-banner"),e._v(" "),t("div",{staticClass:"info-view"},[t("el-card",{staticClass:"info-card",attrs:{shadow:"never"}},[t("p",{staticClass:"title"},[e._v("Lab authentication")]),e._v(" "),e.linkTimeOut?t("div",{staticClass:"link-timeout-view"},[t("p",{staticClass:"desc"},[e._v("The link has expired")])]):t("el-form",{attrs:{store:e.form}},[t("el-form-item",{attrs:{label:"Email Address",prop:"email"}},[t("el-input",{attrs:{placeholder:"Email"},model:{value:e.form.model.email,callback:function(t){e.$set(e.form.model,"email",t)},expression:"form.model.email"}})],1),e._v(" "),t("el-form-item",{attrs:{label:"Test Report Num",prop:"code"}},[t("el-input",{attrs:{placeholder:"Test Report Num"},model:{value:e.form.model.code,callback:function(t){e.$set(e.form.model,"code",t)},expression:"form.model.code"}})],1),e._v(" "),t("el-button",{staticClass:"login-btn",on:{click:function(t){return e.form.submit()}}},[e._v("Login")])],1)],1)],1)],1),e._v(" "),t("el-footer",[t("el-footer-banner")],1)],1)};to._withStripped=!0;var ao=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),oo=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.api=x(),t.linkTimeOut=!0,t.errMessage={10001:"Email does not exist or code is incorrect",10100:"Verification Code Error"},t.form=new Q({action:"/laboratory/login",default:{},rules:{email:[{required:!0,message:"Please input the email address",trigger:"blur"}],code:[{required:!0,message:"Please input the test report num",trigger:"blur"}]},onSubmitSuccess:function(){t.onLoginSuccess()},onSubmitFailure:function(e){E().error({message:t.errMessage[e],showClose:!0,duration:5e3})}}),t}return ao(t,e),t.prototype.onSendLink=function(){E().success({message:this.$t("lang.linkSent"),showClose:!0,duration:5e3}),this.linkTimeOut=!1},t.prototype.onLoginSuccess=function(){this.$router.push({path:"/lab/index",query:{id:this.$route.query.id,application_scheme:this.$route.query.application_scheme,laboratory_id:this.$route.query.laboratory_id}})},function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r}([(0,o.wA)({components:{ElButton:Me(),ElInput:Ze(),ElPage:N,ElRow:ft(),ElCard:fe(),ElHeaderLink:we,ElContainer:D(),ElMain:I(),ElHeader:Et(),ElFooter:Ot(),ElColumnRow:ke,ElBanner:at,ElFooterBanner:vt,ElForm:ae,ElFormItem:pt},beforeRouteEnter:function(e,t,a){a((function(e){return t=void 0,a=void 0,l=function(){return function(e,t){var a,o,l,n,r={label:0,sent:function(){if(1&l[0])throw l[1];return l[1]},trys:[],ops:[]};return n={next:i(0),throw:i(1),return:i(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function i(i){return function(s){return function(i){if(a)throw new TypeError("Generator is already executing.");for(;n&&(n=0,i[0]&&(r=0)),r;)try{if(a=1,o&&(l=2&i[0]?o.return:i[0]?o.throw||((l=o.return)&&l.call(o),0):o.next)&&!(l=l.call(o,i[1])).done)return l;switch(o=0,l&&(i=[2&i[0],l.value]),i[0]){case 0:case 1:l=i;break;case 4:return r.label++,{value:i[1],done:!1};case 5:r.label++,o=i[1],i=[0];continue;case 7:i=r.ops.pop(),r.trys.pop();continue;default:if(!((l=(l=r.trys).length>0&&l[l.length-1])||6!==i[0]&&2!==i[0])){r=0;continue}if(3===i[0]&&(!l||i[1]>l[0]&&i[1]<l[3])){r.label=i[1];break}if(6===i[0]&&r.label<l[1]){r.label=l[1],l=i;break}if(l&&r.label<l[2]){r.label=l[2],r.ops.push(i);break}l[2]&&r.ops.pop(),r.trys.pop();continue}i=t.call(e,r)}catch(e){i=[6,e],o=0}finally{a=l=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}}(this,(function(t){switch(t.label){case 0:return e.$route.query.link_no?[4,e.api.get("/laboratory/active/link",{params:{link_no:e.$route.query.link_no}})]:(e.linkTimeOut=!0,[2]);case 1:return t.sent()?(e.linkTimeOut=!1,[2]):(e.linkTimeOut=!0,[2])}}))},new((o=void 0)||(o=Promise))((function(e,n){function r(e){try{s(l.next(e))}catch(e){n(e)}}function i(e){try{s(l.throw(e))}catch(e){n(e)}}function s(t){var a;t.done?e(t.value):(a=t.value,a instanceof o?a:new o((function(e){e(a)}))).then(r,i)}s((l=l.apply(t,a||[])).next())}));var t,a,o,l}))}})],t)}(o.w3),lo=oo,no=(a(7849),(0,z.Z)(lo,to,[],!1,null,null,null).exports
1),ro=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-container",{staticClass:"page-lab-index"},[t("el-header",[t("el-header-link"),e._v(" "),t("el-banner")],1),e._v(" "),t("el-main",[e.linkTimeOut?t("div",{staticClass:"link-timeout-view"},[t("p",{staticClass:"desc"},[e._v(e._s(e.tip))])]):t("div",{staticClass:"info-view"},["ga"==e.$route.query.scheme||"ga_star"==e.$route.query.scheme?t("el-ga-lab",{attrs:{applyType:e.$route.query.application_scheme,laboratoryId:e.$route.query.laboratory_id},model:{value:e.data,callback:function(t){e.data=t},expression:"data"}}):e._e(),e._v(" "),"wels"==e.$route.query.scheme&&e.data&&e.data.application_id?t("el-wels-lab",{attrs:{applyType:e.$route.query.scheme},model:{value:e.data,callback:function(t){e.data=t},expression:"data"}}):e._e(),e._v(" "),"dwdf"==e.$route.query.scheme&&e.data&&e.data.application_id?t("el-dwdf-lab",{attrs:{applyType:e.$route.query.scheme},model:{value:e.data,callback:function(t){e.data=t},expression:"data"}}):e._e()],1),e._v(" "),t("el-dialog",{staticClass:"widgets-instructions-dialog text-dialog",attrs:{visible:e.showDisclaimer,"destroy-on-close":!0,"close-on-click-modal":!1,title:e.$t("lang.disclaimer")},on:{close:function(t){e.showDisclaimer=!1}}},[e.content?t("el-input",{staticClass:"text-dialog-content",attrs:{type:"textarea",resize:"none",readonly:""},model:{value:e.content,callback:function(t){e.content=t},expression:"content"}}):e._e(),e._v(" "),t("template",{slot:"footer"},[t("el-button",{staticClass:"refuse-btn",on:{click:function(t){e.showDisclaimer=!1}}},[e._v(e._s(e.$t("lang.action.close")))])],1)],2),e._v(" "),t("el-footer-banner")],1)],1)};ro._withStripped=!0;var io=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("div",{directives:[{name:"loading",rawName:"v-loading",value:e.store&&e.store.loading||!1,expression:"(store && store.loading) || false"}],staticClass:"table",style:[e.hasHeight?{display:"flex"}:{}],attrs:{"element-loading-text":"Loading..."}},[e._t("toolbar"),e._v(" "),e.hasHeight?t("el-table",e._g(e._b({ref:"table",style:{"max-height":this.maxHeight?this.maxHeight+"px":"auto","min-height":this.minHeight?this.minHeight+"px":"auto"},attrs:{height:100,data:e.$attrs.data||(e.store?e.store.data.list:[])},on:{"selection-change":e.onSelectionChange}},"el-table",e.$attrs,!1),e.$listeners),[t("p",{staticStyle:{color:"#3A6573"},attrs:{slot:"empty"},slot:"empty"},[e._v(e._s(e.$t("lang.tableEmptyText")))]),e._v(" "),e._t("default")],2):t("el-table",e._g(e._b({ref:"table",style:{"max-height":this.maxHeight?this.maxHeight+"px":"auto","min-height":this.minHeight?this.minHeight+"px":"auto"},attrs:{data:e.$attrs.data||(e.store?e.store.data.list:[])},on:{"selection-change":e.onSelectionChange}},"el-table",e.$attrs,!1),e.$listeners),[t("p",{staticStyle:{color:"#3A6573"},attrs:{slot:"empty"},slot:"empty"},[e._v(e._s(e.$t("lang.tableEmptyText")))]),e._v(" "),e._t("default")],2),e._v(" "),e._t("footer"),e._v(" "),e._t("dialog")],2)};io._withStripped=!0;var so=a(63364),co=a.n(so),po=(a(88226),function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}()),uo=function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r},mo=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},fo=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}var a,l;return po(t,e),t.prototype.beforeMount=function(){var e;this.store&&!(null===(e=this.store)||void 0===e?void 0:e.lazy)&&(this.store.load(),this.store.on("load",this.onLoad))},t.prototype.destroyed=function(){this.store&&this.store.off("load",this.onLoad)},t.prototype.onLoad=function(e){this.$emit("load",e)},t.prototype.onSelectionChange=function(e){this.store&&(this.store.selections=e)},uo([(0,o.fI)(),(0,o.DF)("table_store"),mo("design:type","function"==typeof(a=void 0!==Z&&Z)?a:Object)],t.prototype,"store",void 0),uo([(0,o.Rl)("table"),mo("design:type","function"==typeof(l=void 0!==co()&&co())?l:Object)],t.prototype,"table",void 0),uo([(0,o.fI)(),mo("design:type",Number)],t.prototype,"maxHeight",void 0),uo([(0,o.fI)(),mo("design:type",Number)],t.prototype,"minHeight",void 0),uo([(0,o.fI)({required:!1,default:!0}),mo("design:type",Boolean)],t.prototype,"hasHeight",void 0),uo([(0,o.wA)({components:{ElTable:co()}})],t)}(o.w3),_o=fo,go=(0,z.Z)(_o,io,[],!1,null,null,null).exports,ho=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("div",{staticClass:"widgets-document-upload"},[t("label",{attrs:{for:`application_upload_input_${e.now}`,hidden:""}},[e._v("''")]),e._v(" "),e.multiple?t("div",{staticClass:"document-list d-flex d-flex-1"},e._l(e.value,(function(a){return t("div",{key:a.filename,staticClass:"document-list-item-view d-flex align-items-center"},[a.type&&a.type.indexOf("image")>-1?t("el-svg-icon",{attrs:{name:"a-Icon-pdf1x1",width:30,height:30}}):a.type&&(a.type.indexOf("application/vnd")>-1||a.type.indexOf("application/msword")>-1)?t("el-svg-icon",{attrs:{name:"a-Icon-word1x",width:30,height:30}}):t("el-svg-icon",{attrs:{name:`Icon_${a.extension}`,width:30,height:30}}),e._v(" "),t("a",{staticClass:"document-name",attrs:{target:"_blank",href:`${e.baseUrl}/${a.filename}`}},[e._v(e._s(a.name))]),e._v(" "),e.readonly||-1!=e.application_status&&a.id?e._e():t("el-button",{staticClass:"no-border-btn",on:{click:function(t){return e.onRemove(a)}}},[t("el-svg-icon",{attrs:{name:"ico_close",width:15,height:15}})],1)],1)})),0):t("div",{staticClass:"document-list d-flex d-flex-1"},[e.value?t("div",{staticClass:"document-list-item-view d-flex align-items-center"},[e.value.type&&e.value.type.indexOf("image")>-1?t("el-svg-icon",{attrs:{name:"a-Icon-pdf1x1",width:30,height:30}}):e.value.type&&(e.value.type.indexOf("application/vnd")>-1||e.value.type.indexOf("application/msword")>-1)?t("el-svg-icon",{attrs:{name:"a-Icon-word1x",width:30,height:30}}
1):e._e(),e._v(" "),t("el-svg-icon",{attrs:{name:`Icon_${e.value.extension}`,width:30,height:30}}),e._v(" "),t("a",{staticClass:"document-name",attrs:{target:"_blank",href:`${e.baseUrl}/${e.value.filename}`}},[e._v(e._s(e.value.name))]),e._v(" "),e.readonly||-1!=e.application_status&&e.value.id||!e.value.name?e._e():t("el-button",{staticClass:"no-border-btn",on:{click:function(t){return e.onRemove(e.value)}}},[t("el-svg-icon",{attrs:{name:"ico_close",width:15,height:15}})],1)],1):t("div",{staticClass:"document-list-item-view d-flex align-items-center"})]),e._v(" "),!e.readonly&&e.beforeUploadEvent?t("el-button",{staticClass:"before-upload-btn",on:{click:e.onBeforeUpload}},[e._v(e._s(e.text||e.$t("lang.action.upload")))]):e._e(),e._v(" "),e.readonly||e.value&&!(e.multiple&&e.value&&e.value.length<30)&&(e.multiple||e.value.name)||e.beforeUploadEvent?e._e():t("el-upload",{attrs:{action:e.action,"show-file-list":!1,"on-success":e.onSuccess,"before-upload":e.beforeUpload,multiple:e.multiple}},[t("el-button",[e._v(e._s(e.text||e.$t("lang.action.upload")))])],1)],1)};ho._withStripped=!0;var vo=a(26906),bo=a.n(vo),wo=(a(23727),function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}()),yo=function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r},$o=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},Co=null,xo=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.now=Date.now(),t}return wo(t,e),t.prototype.onSuccess=function(e,t,a){Co.close();var o=e.data;o.name=o.original_name,o.content_type=o.mime_type,o.type=t.raw.type,this.$emit("input",this.multiple?(this.value||[]).concat(o):o),this.$attrs["on-success"]&&this.$attrs["on-success"](e,t,a),this.sure?E().info({message:this.$t("lang.makeSureUpload"),duration:5e3,showClose:!0}):E().success({message:this.$t("lang.uploadedFileSuccessfully"),duration:5e3,showClose:!0})},t.prototype.onRemove=function(e){this.$emit("input",this.multiple?this.value.filter((function(t){return t.filename!==e.filename})):{})},t.prototype.onBeforeUpload=function(){this.$emit("before-upload")},t.prototype.beforeUpload=function(e){if(Co=n().service({lock:!0}),!this.accept.includes(e.type))return E().error({message:this.$t("lang.OnlySupportsPDFWordJPGJPEGPNGFiles"),duration:5e3,showClose:!0,onClose:function(){return Co.close()}}),!1;var t=e.size;return this.multiple&&(this.value||[]).map((function(e){t+=parseFloat(e.size.toString()),console.log("item.size",t)})),console.log("fileSizeSum",t),!(t>104857600&&(E().error({message:this.$t("lang.fileCannotThan50MB"),duration:5e3,showClose:!0,onClose:function(){return Co.close()}}),1))},t.prototype.mounted=function(){for(var e=document.getElementsByClassName("el-upload__input"),t=0;t<e.length;t++){var a=e[t];null==a||a.setAttribute("id","application_upload_input_"+this.now)}},yo([(0,o.fI)({required:!1,default:function(){return[]}}),$o("design:type",Array)],t.prototype,"value",void 0),yo([(0,o.fI)(),$o("design:type",String)],t.prototype,"text",void 0),yo([(0,o.fI)({required:!0}),$o("design:type",String)],t.prototype,"baseUrl",void 0),yo([(0,o.fI)({required:!0}),$o("design:type",String)],t.prototype,"action",void 0),yo([(0,o.fI)({required:!1,default:"none"}),$o("design:type",String)],t.prototype,"listType",void 0),yo([(0,o.fI)({required:!1}),$o("design:type",Boolean)],t.prototype,"readonly",void 0),yo([(0,o.fI)({required:!1,default:!1}),$o("design:type",Boolean)],t.prototype,"multiple",void 0),yo([(0,o.fI)({required:!1,default:!1}),$o("design:type",Boolean)],t.prototype,"sure",void 0),yo([(0,o.fI)({required:!1,default:function(){return["application/pdf","image/png","image/jpg","image/jpeg","application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/msword"]}}),$o("design:type",Array)],t.prototype,"accept",void 0),yo([(0,o.fI)(),$o("design:type",Number)],t.prototype,"application_status",void 0),yo([(0,o.fI)(),$o("design:type",Boolean)],t.prototype,"beforeUploadEvent",void 0),yo([(0,o.wA)({components:{ElSvgIcon:Ie,ElButton:Ge,ElUpload:bo()}})],t)}(o.w3),So=xo,Eo=(a(66402),(0,z.Z)(So,ho,[],!1,null,null,null).exports
1),ko=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("div",{staticClass:"info-card widgets-ga-lab",attrs:{shadow:"never"}},[t("el-form",{attrs:{hasLabelSuffix:!0},nativeOn:{submit:function(e){e.preventDefault()}}},[t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.docNumber")}},[e._v("\n      "+e._s(e.value?e.value.test_report_no:null)+"\n    ")]),e._v(" "),t("el-form-item",{staticClass:"d-flex flex-column label-flex-center label-width-zero",attrs:{label:e.$t("lang.supporting_doc"),"label-width":"0"}},[e.value?t("el-document-upload",{attrs:{"base-url":e.baseUrl,action:e.baseUrl,text:e.$t("lang.action.upload")},model:{value:e.value.supporting_doc,callback:function(t){e.$set(e.value,"supporting_doc",t)},expression:"value.supporting_doc"}}):e._e()],1)],1),e._v(" "),t("div",{staticClass:"footer-btn-view"},[t("el-button",{staticClass:"footer-submit-btn",on:{click:e.upload}},[e._v(e._s(e.$t("lang.action.submit")))])],1)],1)};ko._withStripped=!0;var Oo=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("div",{staticClass:"widgets-apply-reject"},[t("p",{staticClass:"title"},[e._v(e._s(e.$t("lang.reasonForRejection"))+":")]),e._v(" "),t("el-input",{attrs:{type:"textarea",resize:"none",readonly:""},model:{value:e.value.remarks,callback:function(t){e.$set(e.value,"remarks",t)},expression:"value.remarks"}}),e._v(" "),e.value.attachments_doc?t("el-document-list",{attrs:{value:e.value.attachments_doc}}):e._e()],1)};Oo._withStripped=!0;var Ao=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("div",{staticClass:"widgets-document-list-view"},e._l(e.value,(function(a){return t("el-link",{key:a.filename,staticClass:"document-list-item-view d-flex align-items-center",attrs:{target:"_blank",underline:!1,href:`${e.baseUrl}/${a.filename}`}},[a.type&&a.type.indexOf("image")>-1?t("el-svg-icon",{attrs:{name:"a-Icon-pdf1x1",width:30,height:30}}):t("el-svg-icon",{attrs:{name:`Icon_${a.extension}`,width:30,height:30}}),e._v(" "),t("p",{staticClass:"document-name"},[e._v(e._s(a.name))])],1)})),1)};Ao._withStripped=!0;var Po=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),To=function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r},Do=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},Ro=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Po(t,e),To([(0,o.fI)({required:!1,default:function(){return[]}}),Do("design:type",Array)],t.prototype,"value",void 0),To([(0,o.fI)({required:!1,default:"/api/afs/wsd"}),Do("design:type",String)],t.prototype,"baseUrl",void 0),To([(0,o.wA)({components:{ElSvgIcon:Ie,ElButton:Ge,ElUpload:bo(),ElLink:ge()}})],t)}(o.w3),Io=Ro,Fo=(a(99117),(0,z.Z)(Io,Ao,[],!1,null,null,null).exports),Lo=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),qo=function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r},Mo=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},jo=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Lo(t,e),qo([(0,o.fI)(),Mo("design:type",Object)],t.prototype,"value",void 0),qo([(0,o.wA)({components:{ElInput:Ze(),ElDocumentList:Fo}})],t)}(o.w3),zo=jo,No=(a(47226),(0,z.Z)(zo,Oo,[],!1,null,null,null).exports
1),Bo=a(35034),Uo=a.n(Bo),Wo=(a(43435),a(17113)),Ho=a.n(Wo),Go=(a(68074),function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}()),Vo=function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r},Zo=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},Qo=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.baseUrl="/api/lab/wsd",t.api=x(),t}return Go(t,e),t.prototype.upload=function(){var e=this;if(!this.value.supporting_doc||!this.value.supporting_doc.name)return E().error({message:this.$t("lang.pleaseUploadFile"),duration:5e3,showClose:!0}),!1;var t={id:this.value.application_id,lab_application_id:this.value.id,test_report_no:this.value.test_report_no,supporting_doc:this.value.supporting_doc};this.api.post("/laboratory/ga/applications/upload",t).then((function(t){E().success({message:e.$t("lang.submittedSuccessfully"),duration:5e3,showClose:!0}),window.location.reload()})).catch((function(t){E().error({message:90004===t?e.$t("lang.canUploadAgain"):e.$t("lang.submissionFailed"),duration:5e3,showClose:!0})}))},t.prototype.mounted=function(){console.log("value",this.value)},Vo([(0,o.fI)(),Zo("design:type",Object)],t.prototype,"value",void 0),Vo([(0,o.wA)({components:{ElColumnRow:ke,ElForm:ae,ElFormItem:pt,ElTable:go,ElDocumentUpload:Eo,ElCard:fe(),ElLink:ge(),ElRow:ft(),ElInput:Ze(),ElButton:Ge,ElTableColumn:Uo(),ElUpload:bo(),ElDatePicker:Ho(),ElApplyRejection:No}})],t)}(o.w3),Ko=Qo,Yo=(a(47548),(0,z.Z)(Ko,ko,[],!1,null,null,null).exports),Jo=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("div",{staticClass:"info-card",attrs:{shadow:"never"}},[t("el-form",{attrs:{hasLabelSuffix:!0}},[t("el-card",{staticClass:"info-detail-card margin-top-20",attrs:{shadow:"never"}},[t("template",{slot:"header"},[e._v(e._s(e.$t("lang.productInformation")))]),e._v(" "),"wels_flow_controllers"===e.form.model.approval_scheme||"wels_washing_machines"===e.form.model.approval_scheme||"wels_water_taps"===e.form.model.approval_scheme||"wels_showers_athingp"===e.form.model.approval_scheme?[t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.formHeader.brand"),percent:.4}},[e._v(e._s(e.form.model.product_brand))]),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.modelNo"),percent:.4}},[e._v(e._s(e.form.model.product_model))])],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.name"),percent:.4}},[e._v(e._s(e.form.model.product_name))]),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.countryRegionOfOrigin"),percent:.4}},[e._v(e._s(e.form.model.product_region))])],1)]:e._e(),e._v(" "),e.form.model.include_flow_controller?[t("div",{staticClass:"other-product-info-card"},[t("p",{staticClass:"header"},[e._v(e._s(e.$t("lang.flowControllerProductInfo")))]),e._v(" "),t("div",{staticClass:"body-view"},[t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.formHeader.brand")}},[[e._v(e._s(e.form.model.pan_product_brand))]],2),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.modelNo")}},[[e._v(e._s(e.form.model.pan_product_model))]],2)],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.nameIfAny")}},[[e._v(e._s(e.form.model.pan_product_name))]],2),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.countryRegionOfOrigin")}},[[e._v(e._s(e.form.model.pan_product_region))]],2)],1)],1)])]:e._e(),e._v(" "),"trap"===e.form.model.description_of_urinal_equipment||"flushing_valve"===e.form.model.description_of_urinal_equipment?[t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.formHeader.brand")}},[[e._v(e._s(e.form.model.product_brand))]],2),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.modelNo")}},[[e._v(e._s(e.form.model.product_model))]],2)],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.nameIfAny")}},[[e._v(e._s(e.form.model.product_name))]],2),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.countryRegionOfOrigin")}},[[e._v(e._s(e.form.model.product_region))]],2)],1)]:e._e(),e._v(" "),"trap_coupled"===e.form.model.description_of_urinal_equipment||"suites"===e.form.model.description_of_urinal_equipment?[t("div",{staticClass:"other-product-info-card"},[t("p",{staticClass:"header"},[e._v(e._s(e.$t("lang.urinalProductInfo")))]),e._v(" "),t("div",{staticClass:"body-view"},[t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.formHeader.brand")}},[[e._v(e._s(e.form.model.product_brand))]],2),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.modelNo")}},[[e._v(e._s(e.form.model.product_model))]],2)],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.nameIfAny")}},[[e._v(e._s(e.form.model.product_name))]],2),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.countryRegionOfOrigin")}},[[e._v(e._s(e.form.model.product_region))]],2)],1)],1)]),e._v(" "),t("div",{staticClass:"other-product-info-card"},[t("p",{staticClass:"header"},[e._v(e._s(e.$t("lang.valveProductInfo")))]),e._v(" "),t("div",{staticClass:"body-view"},[t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.formHeader.brand")}},[[e._v(e._s(e.form.model.valve_product_brand))]],2),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.modelNo")}},[[e._v(e._s(e.form.model.valve_product_model))]],2)],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.nameIfAny")}},[[e._v(e._s(e.form.model.valve_product_name))]],2),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.countryRegionOfOrigin")}},[[e._v(e._s(e.form.model.valve_product_region))]],2)],1)],1)])]:e._e(),e._v(" "),"one_price_pan"===e.form.model.types_of_water_closet?[t("div",{staticClass:"other-product-info-card"},[t("p",{staticClass:"header"},[e._v(e._s(e.$t("lang.wcSuiteProductInfo")))]),e._v(" "),t("div",{staticClass:"body-view"},[t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.formHeader.brand")}},[[e._v(e._s(e.form.model.product_brand))]],2),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.modelNo")}},[[e._v(e._s(e.form.model.product_model))]],2)],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.nameIfAny")}},[[e._v(e._s(e.form.model.product_name))]],2),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.countryRegionOfOrigin")}},[[e._v(e._s(e.form.model.product_region))]],2)],1)],1)])]:e._e(),e._v(" "),"close_coupled_suite"===e.form.model.types_of_water_closet?[t("div",{staticClass:"other-product-info-card"},[t("p",{staticClass:"header"},[e._v(e._s(e.$t("lang.panProductInfo")))]),e._v(" "),t("div",{staticClass:"body-view"},[t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.formHeader.brand")}},[[e._v(e._s(e.form.model.pan_product_brand))]],2),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.modelNo")}},[[e._v(e._s(e.form.model.pan_product_model))]],2)],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.nameIfAny")}},[[e._v(e._s(e.form.model.pan_product_name))]],2),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.countryRegionOfOrigin")}},[[e._v(e._s(e.form.model.pan_product_region))]],2)],1)],1)])]:e._e(),e._v(" "),"cistern"===e.form.model.types_of_water_closet||"close_coupled_suite"===e.form.model.types_of_water_closet?[t("div",{staticClass:"other-product-info-card"},[t("p",{staticClass:"header"},[e._v(e._s(e.$t("lang.cisternProductInfo")))]),e._v(" "),t("div",{staticClass:"body-view"},[t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.formHeader.brand")}},[[e._v(e._s(e.form.model.cistern_product_brand))]],2),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.modelNo")}},[[e._v(e._s(e.form.model.cistern_product_model))]],2)],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.nameIfAny")}},[[e._v(e._s(e.form.model.cistern_product_name))]],2),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.countryRegionOfOrigin")}},[[e._v(e._s(e.form.model.cistern_product_region))]],2)],1)],1)])]:e._e(),e._v(" "),"one_price_pan"===e.form.model.types_of_water_closet||"cistern"===e.form.model.types_of_water_closet||"close_coupled_suite"===e.form.model.types_of_water_closet?[t("div",{staticClass:"other-product-info-card"},[t("p",{staticClass:"header"},[e._v(e._s(e.$t("lang.valveProductInfo")))]),e._v(" "),t("div",{staticClass:"body-view"},[t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.formHeader.brand")}},[[e._v(e._s(e.form.model.valve_product_brand))]],2),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.modelNo")}},[[e._v(e._s(e.form.model.valve_product_model))]],2)],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.nameIfAny")}},[[e._v(e._s(e.form.model.valve_product_name))]],2),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.countryRegionOfOrigin")}},[[e._v(e._s(e.form.model.valve_product_region))]],2)],1)],1)])]:e._e(),e._v(" "),"pan"===e.form.model.types_of_water_closet?[t("div",[t("div",{staticClass:"body-view"},[t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.formHeader.brand")}},[[e._v(e._s(e.form.model.pan_product_brand))]],2),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.modelNo")}},[[e._v(e._s(e.form.model.pan_product_model))]],2)],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.nameIfAny")}},[[e._v(e._s(e.form.model.pan_product_name))]],2),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.countryRegionOfOrigin")}},[[e._v(e._s(e.form.model.pan_product_region))]],2)],1)],1)])]:e._e()],2),e._v(" "),t("el-card",{staticClass:"info-detail-card margin-top-20 margin-bottom-20",attrs:{shadow:"never"}},[t("template",{slot:"header"},[e._v(e._s(e.$t("lang.submitContent")))]),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.formHeader.file_no")}},[e._v("\n          "+e._s(e.form.model.file_no)+"\n        ")]),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.docNumber")}},[e._v("\n          "+e._s(e.value?e.value.test_report_no:null)+"\
1n        ")]),e._v(" "),t("el-form-item",{staticClass:"label-width-zero",attrs:{"label-width":"0",label:e.$t("lang.detailedTestReport")}},[t("el-document-upload",{attrs:{multiple:!1,"base-url":e.baseUrl,action:e.baseUrl,text:e.$t("lang.action.upload")},model:{value:e.value.supporting_doc,callback:function(t){e.$set(e.value,"supporting_doc",t)},expression:"value.supporting_doc"}})],1)],2)],1),e._v(" "),t("div",{staticClass:"footer-btn-view"},[t("el-button",{staticClass:"footer-submit-btn",on:{click:e.upload}},[e._v(e._s(e.$t("lang.action.submit")))])],1)],1)};Jo._withStripped=!0;var Xo=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),el=function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r},tl=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},al=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.errMessage={90003:"Application Already Exists",90004:"Application Already Upload"},t.productView={wels_flow_controllers:"Front and bottom views",wels_water_closets:"Front and bottom views",wels_water_taps:"Front and side views",wels_showers_athingp:"Front and side views",wels_urinal_equipment:"Front, side and bottom views",wels_washing_machines:"Front and side views"},t.baseUrl="/api/lab/wsd",t.api=x(),t.documents=[],t.curveDocuments=[],t.flushingDocuments=[],t.volumeWaterLevel="",t.flushVolumeLevel="",t.form=new K({loader:"/laboratory/wels/applications/:id",action:""}),t}return Xo(t,e),t.prototype.upload=function(){var e=this;if(!this.value.supporting_doc||!this.value.supporting_doc.name)return E().error({message:this.$t("lang.pleaseUploadFile"),showClose:!0,duration:5e3}),!1;var t={id:this.value.application_id,lab_application_id:this.value.id,test_report_no:this.value.test_report_no,supporting_doc:this.value.supporting_doc};this.api.post("/laboratory/wels/applications/upload",t).then((function(t){E().success({message:e.$t("lang.submittedSuccessfully"),showClose:!0,duration:5e3}),window.location.reload()})).catch((function(t){E().error({message:90004===t?e.$t("lang.canUploadAgain"):e.$t("lang.submissionFailed"),showClose:!0,duration:5e3})}))},t.prototype.mounted=function(){this.value.application_id&&this.form.load({id:this.value.application_id})},el([(0,o.fI)(),tl("design:type",Object)],t.prototype,"value",void 0),el([(0,o.fI)({default:"",required:!1}),tl("design:type",String)],t.prototype,"id",void 0),el([(0,o.fI)({default:"",required:!0}),tl("design:type",String)],t.prototype,"applyType",void 0),el([(0,o.fI)({default:"",required:!1}),tl("design:type",String)],t.prototype,"laboratoryId",void 0),el([(0,o.wA)({components:{ElColumnRow:ke,ElForm:ae,ElFormItem:pt,ElTable:go,ElDocumentUpload:Eo,ElCard:fe(),ElLink:ge(),ElRow:ft(),ElInput:Ze(),ElButton:Me(),ElTableColumn:Uo(),ElDocumentList:Fo}})],t)}(o.w3),ol=al,ll=(0,z.Z)(ol,Jo,[],!1,null,null,null).exports,nl=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("div",{staticClass:"info-card",attrs:{shadow:"never"}},[t("el-form",{attrs:{hasLabelSuffix:!0}},[t("el-card",{staticClass:"info-detail-card margin-top-20",attrs:{shadow:"never"}},[t("template",{slot:"header"},[e._v(e._s(e.$t("lang.productInformation")))]),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.formHeader.brand"),percent:.4}},[e._v(e._s(e.form.model.product_brand))]),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.modelNo"),percent:.4}},[e._v(e._s(e.form.model.product_model))])],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.dwdf.product_description"),percent:.4}},[e._v(e._s(e.form.model.product_description))]),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.dwdf.category"),percent:.4}},[e._v(e._s(e._f("options")(e.form.model.product_category,e.categoryOption)))])],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.nameIfAny"),percent:.4}},[e._v(e._s(e.form.model.product_name))]),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.water_inlet_size"),percent:.4}},[e._v(e._s(e.form.model.water_inlet_size))])],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.dwdf.chinese_manufacturer"),percent:.4}},[e._v(e._s(e.form.model.chinese_product_manufacturer))]),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.countryRegionOfOrigin"),percent:.4}}
1,[e._v(e._s(e.form.model.product_region))])],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.dwdf.full_factory"),percent:.4}},[e._v(e._s(e.form.model.full_address_factory))]),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.dwdf.english_manufacturer"),percent:.4}},[e._v(e._s(e.form.model.product_manufacturer))])],1)],2),e._v(" "),t("el-card",{staticClass:"info-detail-card margin-top-20 margin-bottom-20",attrs:{shadow:"never"}},[t("template",{slot:"header"},[e._v(e._s(e.$t("lang.submitContent")))]),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.formHeader.file_no")}},[e._v("\n          "+e._s(e.form.model.file_no)+"\n        ")]),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.docNumber")}},[e._v("\n          "+e._s(e.value?e.value.test_report_no:null)+"\n        ")]),e._v(" "),t("el-form-item",{staticClass:"label-width-zero",attrs:{"label-width":"0",label:e.$t("lang.detailedTestReport")}},[t("el-document-upload",{attrs:{multiple:!1,"base-url":e.baseUrl,action:e.baseUrl,text:e.$t("lang.action.upload")},model:{value:e.testReport,callback:function(t){e.testReport=t},expression:"testReport"}})],1)],2)],1),e._v(" "),t("div",{staticClass:"footer-btn-view"},[t("el-button",{staticClass:"footer-submit-btn",on:{click:e.upload}},[e._v(e._s(e.$t("lang.action.submit")))])],1)],1)};nl._withStripped=!0;var rl=[{name:"Quality Water Supply Scheme for Buildings– Fresh Water (Management System) - List of Buildings Awarded Certificate",id:"qms"},{name:"Quality Water Supply Scheme for Buildings– Fresh Water (Management System) - List of Buildings Applied the Scheme",id:"qms_ongoing"},{name:"Quality Water Supply Scheme for Buildings – Flushing Water - List of Buildings Awarded Certificate",id:"qws"},{name:"Quality Water Supply Scheme for Buildings – Flushing Water - List of Buildings Applied the Scheme",id:"qws_ongoing"}],il=[{name:"大厦优质供水认可计划 - 食水(管理系统) - 已获证书的楼宇名单",id:"qms"},{name:"大厦优质供水认可计划 - 食水(管理系统) - 已提交申请的楼宇名单",id:"qms_ongoing"},{name:"大厦优质供水认可计划 – 冲厕水- 已获证书的楼宇名单",id:"qws"},{name:"大廈優質供水認可計劃 – 沖廁水- 已提交申請的樓宇名單",id:"qws_ongoing"}],sl=[{name:"大廈優質供水認可計劃 - 食水(管理系統) - 已獲證書的樓宇名單",id:"qms"},{name:"大廈優質供水認可計劃 - 食水(管理系統) - 已提交申請的樓宇名單",id:"qms_ongoing"},{name:"大廈優質供水認可計劃 – 沖廁水- 已獲證書的樓宇名單",id:"qws"},{name:"大廈優質供水認可計劃 – 沖廁水- 已提交申請的樓宇名單",id:"qws_ongoing"}],cl=[{name:"Taps, Mixers and Valves",id:"1"},{name:"Water Heaters",id:"2"},{name:"Materials",id:"3"},{name:"Pipes and Pipe Fittings",id:"4"}],dl={typeMateria_1:[{name:"All",id:"0"},{name:"Expansion/Flexible Joint",id:"mixers_joint"},{name:"Fire Services Fitting",id:"fire_services"},{name:"Flexible Hose",id:"flexible_hose"},{name:"Flow Controller",id:"flow_controller"},{name:"Flushing Device",id:"flushing_device"},{name:"Mixer",id:"mixer"},{name:"Others",id:"others"},{name:"Strainer",id:"strainer"},{name:"Tap",id:"tap"},{name:"Valve",id:"valve"}],typeMateria_2:[{name:"All",id:"0"},{name:"Electric",id:"electric"},{name:"Gas",id:"gas"}],typeMateria_3:[{name:"All",id:"0"},{name:"Brazing",id:"brazing"},{name:"Flux",id:"flux"},{name:"GRP",id:"grp"},{name:"Lining Material",id:"lining_materia"},{name:"Soldering",id:"soldering"}],typeMateria_4:[{name:"All",id:"0"},{name:"Black Steel",id:"black_steel"},{name:"Copper/Copper Alloy",id:"copper_alloy"},{name:"Ductile Iron",id:"ductile_iron"},{name:"Galvanized Steel",id:"galvanized_steel"},{name:"PE",id:"pe"},{name:"PE-X",id:"pe_x"},{name:"Stainless Steel",id:"stainless_steel"},{name:"uPVC",id:"upvc"}]},pl={typeMateria_1:[{name:"所有",id:"0"},{name:"Expansion/Flexible Joint",id:"mixers_joint"},{name:"Fire Services Fitting",id:"fire_services"},{name:"Flexible Hose",id:"flexible_hose"},{name:"Flow Controller",id:"flow_controller"},{name:"Flushing Device",id:"flushing_device"},{name:"Mixer",id:"mixer"},{name:"Others",id:"others"},{name:"Strainer",id:"strainer"},{name:"Tap",id:"tap"},{name:"Valve",id:"valve"}],typeMateria_2:[{name:"所有",id:"0"},{name:"Electric",id:"electric"},{name:"Gas",id:"gas"}],typeMateria_3:[{name:"所有",id:"0"},{name:"Brazing",id:"brazing"},{name:"Flux",id:"flux"},{name:"GRP",id:"grp"},{name:"Lining Material",id:"lining_materia"},{name:"Soldering",id:"soldering"}],typeMateria_4:[{name:"所有",id:"0"},{name:"Black Steel",id:"black_steel"},{name:"Copper/Copper Alloy",id:"copper_alloy"},{name:"Ductile Iron",id:"ductile_iron"},{name:"Galvanized Steel",id:"galvanized_steel"},{name:"PE",id:"pe"},{name:"PE-X",id:"pe_x"},{name:"Stainless Steel",id:"stainless_steel"},{name:"uPVC",id:"upvc"}]},ul={typeMateria_1:[{name:"所有",id:"0"},{name:"Expansion/Flexible Joint",id:"mixers_joint"},{name:"Fire Services Fitting",id:"fire_services"},{name:"Flexible Hose",id:"flexible_hose"},{name:"Flow Controller",id:"flow_controller"},{name:"Flushing Device",id:"flushing_device"},{name:"Mixer",id:"mixer"},{name:"Others",id:"others"},{name:"Strainer",id:"strainer"},{name:"Tap",id:"tap"},{name:"Valve",id:"valve"}],typeMateria_2:[{name:"所有",id:"0"},{name:"Electric",id:"electric"},{name:"Gas",id:"gas"}],typeMateria_3:[{name:"所有",id:"0"},{name:"Brazing",id:"brazing"},{name:"Flux",id:"flux"},{name:"GRP",id:"grp"},{name:"Lining Material",id:"lining_materia"},{name:"Soldering",id:"soldering"}],typeMateria_4:[{name:"所有",id:"0"},{name:"Black Steel",id:"black_steel"},{name:"Copper/Copper Alloy",id:"copper_alloy"},{name:"Ductile Iron",id:"ductile_iron"},{name:"Galvanized Steel",id:"galvanized_steel"},{name:"PE",id:"pe"},{name:"PE-X",id:"pe_x"},{name:"Stainless Steel",id:"stainless_steel"},{name:"uPVC",id:"upvc"}]},ml=[{name:"All",id:"0"},{name:"GA",id:"ga"},{name:"GA+",id:"ga_plus"},{name:"GA*",id:"ga_star"},{name:"VLS",id:"vls"}],fl=[{name:"全部",id:"0"},{name:"GA",id:"ga"},{name:"GA+",id:"ga_plus"},{name:"GA*",id:"ga_star"},{name:"VLS",id:"vls"}],_l=[{name:"全部",id:"0"},{name:"GA",id:"ga"},{name:"GA+",id:"ga_plus"},{name:"GA*",id:"ga_star"},{name:"VLS",id:"vls"}],gl=[{name:"GA application for Pipe and Fitting(“GA”)",id:"ga"},{name:'Application for Voluntary GA+ Scheme ("GA+")',id:"ga_plus"},{name:"Application for Voluntary GA* Scheme(“GA*”)",id:"ga_star"},{name:"Application for the Voluntary Labeling Scheme (“VLS”)",id:"vls"}],hl=[{name:"申請 喉管及裝置的《一般認可》(“ GA ”)",id:"ga"},{name:"申請 自願性參與《一般認可+》計劃 (“ GA+ ”)",id:"ga_plus"},{name:"申請 自願性參與《一般認可*》計劃 (“ GA* ”)",id:"ga_star"},{name:"申請 自願性參與 標籤計劃 (“VLS”)",id:"vls"}],vl=[{name:"申请 喉管及装置的《一般认可》(“ GA ”)",id:"ga"},{name:"申请 自愿性参与《一般认可+》计划 (“ GA+ ”)",id:"ga_plus"},{name:"申请 自愿性参与《一般认可*》计划 (“ GA* ”)",id:"ga_star"},{name:"申请 自愿性参与 标签计划 (“VLS”)",id:"vls"}],bl=[{name:"Fresh Water",id:"fresh_water"},{name:"Flushing Water",id:"flushing_water"},{name:"Fire Services",id:"fire_services"}],wl=[{name:"淡水",id:"fresh_water"},{name:"沖廁水",id:"flushing_water"},{name:"消防水",id:"fire_services"}],yl=[{name:"淡水",id:"fresh_water"},{name:"冲厕水",id:"flushing_water"},{name:"消防水",id:"fire_services"}],$l=[{name:"All",id:"0"},{name:"Hotels",id:"1"},{name:"Schools",id:"2"},{name:"Buildings (residential)",id:"3"},{name:"Buildings (commercial or combined commercial and residential)",id:"4"},{name:"RCHE",id:"9"},{name:"Government building",id:"11"},{name:"Others",id:"5"}],Cl=[{name:"全部",id:"0"},{name:"酒店",id:"1"},{name:"学校",id:"2"},{name:"楼宇(住宅)",id:"3"},{name:"楼宇(商业或商住混合用途)",id:"4"},{name:"安老院舍",id:"9"},{name:"政府建筑物",id:"11"},{name:"其他",id:"5"}],xl=[{name:"全部",id:"0"},{name:"酒店",id:"1"},{name:"學校",id:"2"},{name:"樓宇(住宅)",id:"3"},{name:"樓宇(商業或商住混合用途)",id:"4"},{name:"安老院舍",id:"9"},{name:"政府建築物",id:"11"},{name:"其他",id:"5"}],Sl=[{name:"All",id:"0"},{name:"Showers for Bathing",id:"wels_showers_athingp"}
1,{name:"Water Taps",id:"wels_water_taps"},{name:"Washing Machines",id:"wels_washing_machines"},{name:"Urinal Equipment",id:"wels_urinal_equipment"},{name:"Flow Controllers",id:"wels_flow_controllers"},{name:"Water Closets",id:"wels_water_closets"}],El=[{name:"全部",id:"0"},{name:"沐浴花洒",id:"wels_showers_athingp"},{name:"水龙头",id:"wels_water_taps"},{name:"洗衣机",id:"wels_washing_machines"},{name:"小便器用具",id:"wels_urinal_equipment"},{name:"节流器",id:"wels_flow_controllers"},{name:"水厕",id:"wels_water_closets"}],kl=[{name:"全部",id:"0"},{name:"沐浴花灑",id:"wels_showers_athingp"},{name:"水龍頭",id:"wels_water_taps"},{name:"洗衣機",id:"wels_washing_machines"},{name:"小便器用具",id:"wels_urinal_equipment"},{name:"節流器",id:"wels_flow_controllers"},{name:"水廁",id:"wels_water_closets"}],Ol=[{name:"Showers for Bathing",id:"wels_showers_athingp"},{name:"Water Taps",id:"wels_water_taps"},{name:"Washing Machines",id:"wels_washing_machines"},{name:"Urinal Equipment",id:"wels_urinal_equipment"},{name:"Flow Controllers",id:"wels_flow_controllers"},{name:"Water Closets",id:"wels_water_closets"}],Al=[{name:"沐浴花洒",id:"wels_showers_athingp"},{name:"水龙头",id:"wels_water_taps"},{name:"洗衣机",id:"wels_washing_machines"},{name:"小便器用具",id:"wels_urinal_equipment"},{name:"节流器",id:"wels_flow_controllers"},{name:"水厕",id:"wels_water_closets"}],Pl=[{name:"沐浴花灑",id:"wels_showers_athingp"},{name:"水龍頭",id:"wels_water_taps"},{name:"洗衣機",id:"wels_washing_machines"},{name:"小便器用具",id:"wels_urinal_equipment"},{name:"節流器",id:"wels_flow_controllers"},{name:"水廁",id:"wels_water_closets"}],Tl=[{name:"Location Filming",id:"location"},{name:"Photo Shooting",id:"photo_shooting"}
1,{name:"Access to Waterworks Area for Conducting Activities  ",id:"activities"}],Dl=[{name:"拍摄外景",id:"location"},{name:"照片拍摄",id:"photo_shooting"},{name:"进入水务设施区域进行活动",id:"activities"}],Rl=[{name:"拍攝外景",id:"location"},{name:"照片拍攝",id:"photo_shooting"},{name:"進入水務設施區域進行活動",id:"activities"}],Il=[{name:"Read",id:"1"},{name:"Not Read",id:"0"}],Fl=[{name:"已读",id:"1"},{name:"未读",id:"0"}],Ll=[{name:"已讀",id:"1"},{name:"未讀",id:"0"}],ql=[{name:"Quality Water Supply Scheme for Buildings – Fresh Water (Management System)",id:"qms"},{name:"Quality Water Supply Scheme for Buildings – Flushing Water ",id:"qws"}],Ml=[{name:"大廈優質供水認可計劃 - 食水(管理系統 )",id:"qms"},{name:"大廈優質供水認可計劃-沖廁水",id:"qws"}],jl=[{name:"大厦优质供水认可计划 - 食水(管理系统 )",id:"qms"},{name:"大厦优质供水认可计划-冲厕水 ",id:"qws"}],zl=[{name:"Drafted",id:"-1"},{name:"Waiting",id:0},{name:"WSD reviewing",id:5},{name:"WSD reviewing",id:10},{name:"WSD reviewing",id:20},{name:"WSD reviewing",id:30},{name:"WSD reviewing",id:35},{name:"WSD reviewing",id:40},{name:"WSD reviewing",id:41},{name:"WSD reviewing",id:60},{name:"WSD reviewing",id:80},{name:"WSD reviewing",id:100},{name:"WSD reviewing",id:101},{name:"WSD reviewing",id:120},{name:"WSD reviewing",id:121},{name:"Complete",id:200},{name:"Cancel",id:"-99"},{name:"WithDraw",id:"-101"}],Nl=[{name:"草稿",id:"-1"},{name:"等待",id:0},{name:"审批中",id:5},{name:"审批中",id:10},{name:"审批中",id:20},{name:"审批中",id:30},{name:"审批中",id:35},{name:"审批中",id:40},{name:"审批中",id:41},{name:"审批中",id:60},{name:"审批中",id:80},{name:"审批中",id:100},{name:"审批中",id:101},{name:"审批中",id:120},{name:"审批中",id:121},{name:"完成",id:200},{name:"取消",id:"-99"},{name:"撤销",id:"-101"}],Bl=[{name:"草稿",id:"-1"},{name:"等待",id:0},{name:"審批中",id:5},{name:"審批中",id:10},{name:"審批中",id:20},{name:"審批中",id:30},{name:"審批中",id:35},{name:"審批中",id:40},{name:"審批中",id:41},{name:"審批中",id:60},{name:"審批中",id:80},{name:"審批中",id:100},{name:"審批中",id:101},{name:"審批中",id:120},{name:"審批中",id:121},{name:"完成",id:200},{name:"取消",id:"-99"},{name:"撤銷",id:"-101"}],Ul=[{name:"All",id:""},{name:"Draft",id:"-1"},{name:"Waiting",id:"0"},{name:"WSD reviewing",id:"199"},{name:"Complete",id:"200"}],Wl=[{name:"全部",id:""},{name:"草稿",id:"-1"},{name:"等待",id:"0"},{name:"審批中",id:"199"},{name:"完成",id:"200"}],Hl=[{name:"全部",id:""},{name:"草稿",id:"-1"},{name:"等待",id:"0"},{name:"审批中",id:"199"},{name:"完成",id:"200"}],Gl=[{name:"All",id:""},{name:"Draft",id:"-1"},{name:"Waiting",id:"0"},{name:"WSD reviewing",id:"199"},{name:"Complete",id:"200"},{name:"Withdraw",id:-101}],Vl=[{name:"全部",id:""},{name:"草稿",id:"-1"},{name:"等待",id:"0"},{name:"審批中",id:"199"},{name:"完成",id:"200"},{name:"撤銷",id:-101}],Zl=[{name:"全部",id:""},{name:"草稿",id:"-1"},{name:"等待",id:"0"},{name:"审批中",id:"199"},{name:"完成",id:"200"},{name:"撤销",id:-101}],Ql=[{name:"Potable water supply",id:"Potable-water-supply"},{name:"Seawater flushing water supply",id:"Seawater-flushing-water-supply"},{name:"Air-conditioning cooling water supply",id:"Air-conditioning-cooling-water-supply"},{name:"Fire service water supply",id:"Fire-service-water-supply"},{name:"Roof-harvested rainwater",id:"Roof-harvested"},{name:"Process water",id:"Process"},{name:"Other",id:"Other (please specify)"}],Kl=[{name:"饮用水供应",id:"Potable-water-supply"},{name:"海水冲洗供水",id:"Seawater-flushing-water-supply"},{name:"空调冷却水供应",id:"Air-conditioning-cooling-water-supply"},{name:"消防供水",id:"Fire-service-water-supply"},{name:"屋顶收集的雨水",id:"Roof-harvested"},{name:"工艺用水",id:"Process"},{name:"其他",id:"Other (please specify)"}],Yl=[{name:"飲用水供應",id:"Potable-water-supply"},{name:"海水沖洗供水",id:"Seawater-flushing-water-supply"},{name:"空調冷卻水供應",id:"Air-conditioning-cooling-water-supply"},{name:"消防供水",id:"Fire-service-water-supply"},{name:"屋頂收集的雨水",id:"Roof-harvested"},{name:"工藝用水",id:"Process"},{name:"其他",id:"Other (please specify)"}],Jl=[{name:"All",id:"0"},{name:"Hotels",id:"1"},{name:"Buildings (residential)",id:"2"},{name:"Buildings (commercial or combined commercial and residential)",id:"3"},{name:"Buildings (industial)",id:"4"},{name:"Buildings (commercial or combined commercial and residential with schools that use copper pipes connected with soldering and serve students aged at or below 6 (e.g-primary schools or some special schools but excluding kindergartens))",id:"5"},{name:"Schools that use copper pipes connected with soldering and serve students aged at or below 6(e.g. primary schools or some special schools but excluding kindergartens)",id:"6"},{name:"Schools (other than the above type)",id:"7"},{name:"Buildings (commercial or combined commercial and residential with residential care homes for the elderly (RC
1HE))",id:"8"},{name:"RCHE",id:"9"},{name:"Hospitals",id:"10"},{name:"Government Building",id:"11"}],Xl=[{name:"全部",id:"0"},{name:"酒店",id:"1"},{name:"楼宇(住宅)",id:"2"},{name:"楼宇(商业或商住混合用途)",id:"3"},{name:"楼宇(工业)",id:"4"},{name:"楼宇(商业或商住混合用途,并附设有 6 岁或以下学童就读的学校(如小学或某些特殊学校,但不包括幼稚园),而校内使用焊接铜喉)",id:"5"},{name:"6 岁或以下学童就读的学校(如小学或某些特殊学校,但不包括幼稚园),而校内使用焊接铜喉",id:"6"},{name:"学校(除上述类别外)",id:"7"},{name:"楼宇(商业或商住混合用途,并附设有安老院舍)",id:"8"},{name:"安老院舍",id:"9"},{name:"医院",id:"10"},{name:"政府建筑物",id:"11"}],en=[{name:"全部",id:"0"},{name:"酒店",id:"1"},{name:"樓宇(住宅)",id:"2"},{name:"樓宇(商業或商住混合用途)",id:"3"},{name:"樓宇(工業)",id:"4"},{name:"樓宇(商業或商住混合用途,並附設有 6 歲或以下學童就讀的學校(如小學或某些特殊學校,但不包括幼稚園),而校內使用焊接銅喉)",id:"5"},{name:"6 歲或以下學童就讀的學校(如小學或某些特殊學校,但不包括幼稚園),而校內使用焊接銅喉",id:"6"},{name:"學校(除上述類別外)",id:"7"},{name:"樓宇(商業或商住混合用途,並附設有安老院舍)",id:"8"},{name:"安老院舍",id:"9"},{name:"醫院",id:"10"},{name:"政府建築物",id:"11"}],tn=[{name:"N/A",id:"1"},{name:"Pass",id:"2"},{name:"Under GA Compliance",id:"3"},{name:"Suspended",id:"4"},{name:"Reinstated",id:"5"},{name:"Removed",id:"6"}],an=[{name:"Blue",id:"1"},{name:"Silver",id:"2"},{name:"Gold",id:"3"}],on=[{name:"蓝证书",id:"1"},{name:"银证书",id:"2"},{name:"金证书",id:"3"}],ln=[{name:"藍證書",id:"1"},{name:"銀證書",id:"2"},{name:"金證書",id:"3"}],nn=[{name:"Blue",id:"1"},{name:"Blue",id:"11"},{name:"Silver",id:"2"},{name:"Gold",id:"3"}],rn=[{name:"蓝证书",id:"1"},{name:"蓝证书",id:"11"},{name:"银证书",id:"2"},{name:"金证书",id:"3"}],sn=[{name:"藍證書",id:"1"},{name:"藍證書",id:"11"},{name:"銀證書",id:"2"},{name:"金證書",id:"3"}],cn=[{name:"Yes",id:1},{name:"No",id:0}],dn=[{name:"是",id:1},{name:"否",id:0}],pn=[{name:"是",id:1},{name:"否",id:0}],un=[{name:"Urinal Equipment in normal pressure application (Category 1)",id:"normal"},{name:"Urinal Equipment in low pressure application (Category 2)",id:"low"}],mn=[{name:"正常壓力應用的小便器用具(種類 1)",id:"normal"},{name:"低壓力應用的小便器用具(種類 2)",id:"low"}],fn=[{name:"正常压力应用的小便器用具(种类 1)",id:"normal"},{name:"低压力应用的小便器用具(种类 2)",id:"low"}],_n=[{name:"Horizontal Drum Type Washing Machines (Category 1)",id:"horizontal"},{name:"Impeller/Agitator Type Washing Machines (Category 2)",id:"impeller"}],gn=[{name:"水平滾筒式洗衣機(種類 1)",id:"horizontal"},{name:"波輪式或攪拌式洗衣機(種類 2)",id:"impeller"}],hn=[{name:"水平滚筒式洗衣机(种类 1)",id:"horizontal"},{name:"波轮式或搅拌式洗衣机(种类 2)",id:"impeller"}],vn=[{name:"Non-mixing Type Water Taps",id:"non-mixing"},{name:"Mixing Type Water Taps",id:"mixing"}],bn=[{name:"非混合式水龍頭",id:"non-mixing"},{name:"混合式水龍頭",id:"mixing"}],wn=[{name:"非混合式水龙头",id:"non-mixing"},{name:"混合式水龙头",id:"mixing"}],yn=[{name:"Flow Controllers for Water Taps (Category 1)",id:"water"},{name:"Flow Controllers for Showers for Bathing (Category 2)",id:"showers"}],$n=[{name:"適用於水龍頭的節流器",id:"water"},{name:"適用於沐浴花灑的節流器",id:"showers"}],Cn=[{name:"适用于水龙头的节流器",id:"water"},{name:"适用于沐浴花洒的节流器",id:"showers"}],xn=[{name:"Manufacturer",id:"manufacturer"},{name:"Importer",id:"importer"},{name:"Other",id:"other"}],Sn=[{name:"制造商",id:"manufacturer"},{name:"进口商",id:"importer"},{name:"其他",id:"other"}],En=[{name:"製造商",id:"manufacturer"},{name:"進口商",id:"importer"},{name:"其他",id:"other"}],kn=[{name:"Sea (Salt) water supplied by the Water Authority",id:"sea_authority"},{name:"Temporary mains fresh water for flushing supplied by the Water Authority",id:"temporary"},{name:"Sea (Salt) water supplied by own private source",id:"sea_source"},{name:"Well water supplied by own private source",id:"well"},{name:"Others",id:"others"}],On=[{name:"水务监督供应的海水",id:"sea_authority"},{name:"水务监督供应的临时淡水冲厕",id:"temporary"},{name:"私人水源供应的海水",id:"sea_source"},{name:"私人水源供应的井水",id:"well"},{name:"其他",id:"others"}],An=[{name:"水務監督供應的海水",id:"sea_authority"},{name:"水務監督供應的臨時淡水沖廁",id:"temporary"},{name:"私人水源供應的海水",id:"sea_source"},{name:"私人水源供應的井水",id:"well"},{name:"其他",id:"others"}],Pn=[{name:"One-Piece Water Closet Pan",id:"one_price_pan"},{name:"Water Closet Pan",id:"pan"},{name:"Water Closet Cistern",id:"cistern"},{name:"Close-coupled Suite",id:"close_coupled_suite"}],Tn=[{name:"一体式水厕",id:"one_price_pan"},{name:"水厕厕盆",id:"pan"},{name:"水厕水箱",id:"cistern"},{name:"分体式水厕",id:"close_coupled_suite"}],Dn=[{name:"一體式水廁",id:"one_price_pan"},{name:"水廁廁盆",id:"pan"},{name:"水廁水箱",id:"cistern"},{name:"分體式水廁",id:"close_coupled_suite"}],Rn=[{name:"Urinal with traps",id:"trap"},{name:"Automatic/Manual Urinal flushing valves",id:"flushing_valve"},{name:"Urinal with traps coupled with urinal flushing valves to form a combination",id:"trap_coupled"},{name:"Urinal suites (urinals with traps equipped with integrated sensing type flushing valves)",id:"suites"}],In=[{name:"設有存水彎之小便器",id:"trap"},{name:"自動/手動式小便沖水閥",id:"flushing_valve"},{name:"組合式小便器 (設有存水彎和沖水閥的小便器) ",id:"trap_coupled"},{name:"嵌入式小便器(設有存水彎和內置感應式沖水閥的小便器)",id:"suites"}],Fn=[{name:"设有存水弯之小便器",id:"trap"},{name:"自动/手动式小便冲水阀",id:"flushing_valve"},{name:"组合式小便器 (设有存水弯和冲水阀的小便器) ",id:"trap_coupled"},{name:"嵌入式小便器(设有存水弯和内置感应式冲水阀的小便器)",id:"suites"}],Ln=[{name:"Central & Western",id:"central_western"},{name:"Eastern",id:"eastern"},{name:"Islands",id:"islands"},{name:"Kowloon City",id:"kowloon_city"},{name:"Kwai Tsing",id:"kwai_tsing"},{name:"Kwun Tong",id:"kwun_tong"}
1,{name:"North",id:"north"},{name:"Sai Kung",id:"sai kung"},{name:"Sha Tin",id:"sha_tin"},{name:"Sham Shui Po",id:"sham_shui_po"},{name:"Southern",id:"southern"},{name:"Tai Po",id:"tai_po"},{name:"Tsuen Wan",id:"tsuen_wan"},{name:"Tuen Mun",id:"tuen_mun"},{name:"Wan Chai",id:"wan_chai"},{name:"Wong Tai Sin",id:"wong_tai_sin"},{name:"Yau Tsim Mong",id:"yau_tsim_mong"},{name:"Yuen Long",id:"yuen_long"}],qn=[{name:"中西區",id:"central_western"},{name:"東區",id:"eastern"},{name:"離島區",id:"islands"},{name:"九龍城區",id:"kowloon_city"},{name:"葵青區",id:"kwai_tsing"},{name:"觀塘區",id:"kwun_tong"},{name:"北區",id:"north"},{name:"西貢區",id:"sai kung"},{name:"沙田區",id:"sha_tin"},{name:"深水埗區",id:"sham_shui_po"},{name:"南區",id:"southern"},{name:"大埔區",id:"tai_po"},{name:"荃灣區",id:"tsuen_wan"},{name:"屯門區",id:"tuen_mun"},{name:"灣仔區",id:"wan_chai"},{name:"黃大仙區",id:"wong_tai_sin"},{name:"油尖旺區",id:"yau_tsim_mong"},{name:"元朗區",id:"yuen_long"}],Mn=[{name:"中西区",id:"central_western"},{name:"东区",id:"eastern"},{name:"离岛区",id:"islands"},{name:"九龙城区",id:"kowloon_city"},{name:"葵青区",id:"kwai_tsing"},{name:"观塘区",id:"kwun_tong"},{name:"北区",id:"north"},{name:"西贡区",id:"sai kung"},{name:"沙田区",id:"sha_tin"},{name:"深水埗区",id:"sham_shui_po"},{name:"南区",id:"southern"},{name:"大埔区",id:"tai_po"},{name:"荃湾区",id:"tsuen_wan"},{name:"屯门区",id:"tuen_mun"},{name:"湾仔区",id:"wan_chai"},{name:"黄大仙区",id:"wong_tai_sin"},{name:"油尖旺区",id:"yau_tsim_mong"},{name:"元朗区",id:"yuen_long"}],jn=[{name:"Automatic closing mechanism",id:"mechanism"},{name:"Automatic closing mechanism and Super water efficient",id:"mechanism_and_efficient"},{name:"Super water efficient",id:"super"},{name:"N/A",id:""}],zn=[{name:"自动关闭",id:"mechanism"},{name:"自动关闭及超节水",id:"mechanism_and_efficient"},{name:"超节水",id:"super"},{name:"不适用",id:""}],Nn=[{name:"自動關閉",id:"mechanism"},{name:"自動關閉及超節水",id:"mechanism_and_efficient"},{name:"超節水",id:"super"},{name:"不適用",id:""}],Bn=[{name:"Constant flow operation",id:"constant_flow_operation"},{name:"N/A",id:""}],Un=[{name:"流量稳定",id:"constant_flow_operation"},{name:"不适用",id:""}],Wn=[{name:"流量穩定",id:"constant_flow_operation"},{name:"不適用",id:""}],Hn=[{name:"Registration Number",id:"wels_no"},{name:"Company Name",id:"company_name"},{name:"Brand",id:"brand"},{name:"Model",id:"model"},{name:"Water Efficiency Grade",id:"grade"},{name:"Nominal Flow Rate",id:"rate"},{name:"Date of Issue",id:"approval_time"}],Gn=[{name:"注册号码",id:"wels_no"},{name:"公司名称",id:"company_name"},{name:"品牌名称",id:"brand"},{name:"型号",id:"model"},{name:"用水效益级别",id:"grade"},{name:"标称流量",id:"rate"},{name:"签发日期",id:"approval_time"}],Vn=[{name:"註冊號碼",id:"wels_no"},{name:"公司名稱",id:"company_name"},{name:"品牌名稱",id:"brand"},{name:"型號",id:"model"},{name:"用水效益級別",id:"grade"},{name:"標稱流量",id:"rate"},{name:"簽發日期",id:"approval_time"}],Zn=[{name:"Registration Number",id:"wels_no"},{name:"Company Name",id:"company_name"},{name:"Brand",id:"brand"},{name:"Model",id:"model"},{name:"Water Efficiency Grade",id:"grade"},{name:"Water Consumption",id:"water_consumption"},{name:"Date of Issue",id:"approval_time"}],Qn=[{name:"注册号码",id:"wels_no"},{name:"公司名称",id:"company_name"},{name:"品牌名称",id:"brand"},{name:"型号",id:"model"},{name:"用水效益级别",id:"grade"},{name:"耗水量",id:"water_consumption"},{name:"签发日期",id:"approval_time"}],Kn=[{name:"註冊號碼",id:"wels_no"},{name:"公司名稱",id:"company_name"},{name:"品牌名稱",id:"brand"},{name:"型號",id:"model"},{name:"用水效益級別",id:"grade"},{name:"耗水量",id:"water_consumption"},{name:"簽發日期",id:"approval_time"}],Yn=[{name:"Registration Number",id:"wels_no"},{name:"Company Name",id:"company_name"},{name:"Brand",id:"brand"},{name:"Model",id:"model"},{name:"Water Efficiency Grade",id:"grade"}
1,{name:"Water Flush Volume(full)",id:"full_flush"},{name:"Water Flush Volume(reduced)",id:"reduced_flush"},{name:"Date of Issue",id:"approval_time"}],Jn=[{name:"注册号码",id:"wels_no"},{name:"公司名称",id:"company_name"},{name:"品牌名称",id:"brand"},{name:"型号",id:"model"},{name:"用水效益级别",id:"grade"},{name:"全冲水量",id:"full_flush"},{name:"低冲水量",id:"reduced_flush"},{name:"签发日期",id:"approval_time"}],Xn=[{name:"註冊號碼",id:"wels_no"},{name:"公司名稱",id:"company_name"},{name:"品牌名稱",id:"brand"},{name:"型號",id:"model"},{name:"用水效益級別",id:"grade"},{name:"全沖水量",id:"full_flush"},{name:"低沖水量",id:"reduced_flush"},{name:"簽發日期",id:"approval_time"}],er=[{name:"Registration Number",id:"wels_no"},{name:"Company Name",id:"company_name"},{name:"Brand",id:"brand"},{name:"Model",id:"model"},{name:"Water Efficiency Grade",id:"grade"},{name:"Water Flush Volume per cycle",id:"per_cycle"},{name:"Date of Issue",id:"approval_time"}],tr=[{name:"注册号码",id:"wels_no"},{name:"公司名称",id:"company_name"},{name:"品牌名称",id:"brand"},{name:"型号",id:"model"},{name:"用水效益级别",id:"grade"},{name:"每次循环冲水量",id:"per_cycle"},{name:"签发日期",id:"approval_time"}],ar=[{name:"註冊號碼",id:"wels_no"},{name:"公司名稱",id:"company_name"},{name:"品牌名稱",id:"brand"},{name:"型號",id:"model"},{name:"用水效益級別",id:"grade"},{name:"每次循環沖水量",id:"per_cycle"},{name:"簽發日期",id:"approval_time"}],or=[{name:"Drinking Water Dispenser",id:"drinking"},{name:"Filter",id:"filter"},{name:"Others",id:"others"}],lr=[{name:"飲水機",id:"drinking"},{name:"濾水器",id:"filter"},{name:"其他",id:"others"}],nr=[{name:"食水机",id:"drinking"},{name:"滤水器",id:"filter"},{name:"其他",id:"others"}],rr=[{name:"Registration Number",id:"dwdf_no"},{name:"Company Name",id:"company_name"},{name:"Brand",id:"brand"},{name:"Model",id:"model"},{name:"Date of Issue",id:"approval_time"}],ir=[{name:"注册号码",id:"dwdf_no"},{name:"公司名称",id:"company_name"},{name:"品牌",id:"brand"},{name:"型号",id:"model"},{name:"签发日期",id:"approval_time"}],sr=[{name:"註冊號碼",id:"dwdf_no"},{name:"公司名稱",id:"company_name"},{name:"品牌",id:"brand"},{name:"型號",id:"model"},{name:"簽發日期",id:"approval_time"}],cr=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),dr=function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r},pr=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},ur=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.errMessage={90003:"Application Already Exists",90004:"Application Already Upload"},t.baseUrl="/api/lab/wsd",t.categoryOption="en-US"===t.$i18n.locale?or:"zh-CN"===t.$i18n.locale?nr:lr,t.api=x(),t.testReport={},t.form=new K({loader:"/laboratory/dwdf/applications/:id",action:""}),t}var a;return cr(t,e),t.prototype.upload=function(){var e=this;if(!this.testReport||!this.testReport.name)return E().error({message:this.$t("lang.pleaseUploadFile"),showClose:!0,duration:5e3}),!1;var t={id:this.value.application_id,lab_application_id:this.value.id,test_report_no:this.value.test_report_no,supporting_doc:this.testReport};this.api.post("/laboratory/dwdf/applications/upload",t).then((function(t){E().success({message:e.$t("lang.submittedSuccessfully"),showClose:!0,duration:5e3}),window.location.reload()})).catch((function(t){E().error({message:90004===t?e.$t("lang.canUploadAgain"):e.$t("lang.submissionFailed"),showClose:!0,duration:5e3})}))},t.prototype.mounted=function(){this.value.application_id&&this.form.load({id:this.value.application_id})},dr([(0,o.fI)({required:!0}),pr("design:type","function"==typeof(a="undefined"!=typeof LaboratoryApplication&&LaboratoryApplication)?a:Object)],t.prototype,"value",void 0),dr([(0,o.fI)({default:"",required:!1}),pr("design:type",String)],t.prototype,"id",void 0),dr([(0,o.fI)({default:"",required:!0}),pr("design:type",String)],t.prototype,"applyType",void 0),dr([(0,o.fI)({default:"",required:!1}),pr("design:type",String)],t.prototype,"laboratoryId",void 0),dr([(0,o.wA)({components:{ElColumnRow:ke,ElForm:ae,ElFormItem:pt,ElTable:go,ElDocumentUpload:Eo,ElCard:fe(),ElLink:ge(),ElRow:ft(),ElInput:Ze(),ElButton:Me(),ElTableColumn:Uo(),ElDocumentList:Fo}})],t)}(o.w3),mr=ur,fr=(0,z.Z)(mr,nl,[],!1,null,null,null).exports,_r=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),gr=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.baseUrl="/api/afs/wsd",t.showDisclaimer=!1,t.content="",t.EnDisclaimer='The information provided by the Government of the Hong Kong Special Administrative Region ("the Government") on this website ("the Government\'s information") is for reference only. Whilst the Government endeavours to ensure the accuracy of the Government\'s information on this site, no express or implied warranty is given by the Government as to the accuracy of the Government\'s information.\n\nThe Government does not accept any responsibilities for any loss or damage whatsoever arising from any cause whatsoever in connection with this website. The Government is entitled to delete, suspend or edit all information on this site at any time at its absolute discretion without giving any reason. Users are responsible for making their own assessments of all information contained in or in connection with this site and are advised to verify such information by making reference to its original publication and obtain independent advice before acting on it.',t.TcDisclaimer='香港特別行政區政府(簡稱"政府")å
1œ¨æœ¬ç¶²å€æ‰€æä¾›çš„資料(簡稱"政府資料")只供參考之用。雖然政府已盡力確保這個網址上的政府資料準確無誤,但政府並不對該等政府資料的準確性作出任何明示或隱含的保證。\n\n對於與本網址有關連的任何因由所引致的任何損失或損害,政府概不負責。政府有絕對酌情權隨時刪除、暫時停載或編輯本網址上的各項資料而無須給予任何理由。使用者須負責自行評估本網址所載的各項資料或與本網址有關連的各項資料,並應在根據該等資料行事前,藉參照原本發布的文本以核實該等資料,以及徵詢獨立意見。',t.ScDisclaimer='香港特别行政区政府(简称"政府")在本网址所提供的资料(简称"政府资料")只供参考之用。虽然政府已尽力确保这个网址上的政府资料准确无误,但政府并不对该等政府资料的准确性作出任何明示或隐含的保证。\n\n对于与本网址有关连的任何因由所引致的任何损失或损害,政府概不负责。政府有绝对酌情权随时删除、暂时停载或编辑本网址上的各项资料而无须给予任何理由。使用者须负责自行评估本网址所载的各项资料或与本网址有关连的各项资料,并应在根据该等资料行事前,借参照原本发布的文本以核实该等资料,以及征询独立意见。',t.errMessage={90003:"Application Already Exists",90004:"Application Already Upload"},t.api=x(),t.documents=[],t.linkTimeOut=!1,t.tip=t.$t("lang.linkHasExpired"),t.data={},t}return _r(t,e),t.prototype.init=function(){this.content="en-US"===this.$i18n.locale?this.EnDisclaimer:"zh-CN"===this.$i18n.locale?this.ScDisclaimer:this.TcDisclaimer},function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r}([(0,o.wA)({components:{ElButton:Me(),ElInput:Ze(),ElPage:N,ElRow:ft(),ElCard:fe(),ElHeaderLink:we,ElContainer:D(),ElMain:I(),ElHeader:Et(),ElFooter:Ot(),ElColumnRow:ke,ElBanner:at,ElFooterBanner:vt,ElForm:ae,ElFormItem:pt,ElTable:go,ElTableColumn:Uo(),ElDocumentUpload:Eo,ElLink:ge(),ElGaLab:Yo,ElWelsLab:ll,ElDwdfLab:fr,ElDialog:ne()},beforeRouteEnter:function(e,t,a){a((function(e){return t=void 0,a=void 0,l=function(){var t;return function(e,t){var a,o,l,n,r={label:0,sent:function(){if(1&l[0])throw l[1];return l[1]},trys:[],ops:[]};return n={next:i(0),throw:i(1),return:i(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function i(i){return function(s){return function(i){if(a)throw new TypeError("Generator is already executing.");for(;n&&(n=0,i[0]&&(r=0)),r;)try{if(a=1,o&&(l=2&i[0]?o.return:i[0]?o.throw||((l=o.return)&&l.call(o),0):o.next)&&!(l=l.call(o,i[1])).done)return l;switch(o=0,l&&(i=[2&i[0],l.value]),i[0]){case 0:case 1:l=i;break;case 4:return r.label++,{value:i[1],done:!1};case 5:r.label++,o=i[1],i=[0];continue;case 7:i=r.ops.pop(),r.trys.pop();continue;default:if(!((l=(l=r.trys).length>0&&l[l.length-1])||6!==i[0]&&2!==i[0])){r=0;continue}if(3===i[0]&&(!l||i[1]>l[0]&&i[1]<l[3])){r.label=i[1];break}if(6===i[0]&&r.label<l[1]){r.label=l[1],l=i;break}if(l&&r.label<l[2]){r.label=l[2],r.ops.push(i);break}l[2]&&r.ops.pop(),r.trys.pop();continue}i=t.call(e,r)}catch(e){i=[6,e],o=0}finally{a=l=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}}(this,(function(a){switch(a.label){case 0:return e.$route.query.link_no?[4,e.api.get("/laboratory/active/link",{params:{link_no:e.$route.query.link_no}})]:(e.linkTimeOut=!0,[2]);case 1:return(t=a.sent())?1===t.status?(e.linkTimeOut=!0,e.tip=e.$t("lang.linkHasUploaded"),[2]):(e.data=t,e.init(),!e.linkTimeOut&&(e.showDisclaimer=!0),[2]):(e.linkTimeOut=!0,[2])}}))},new((o=void 0)||(o=Promise))((function(e,n){function r(e){try{s(l.next(e))}catch(e){n(e)}}function i(e){try{s(l.throw(e))}catch(e){n(e)}}function s(t){var a;t.done?e(t.value):(a=t.value,a instanceof o?a:new o((function(e){e(a)}))).then(r,i)}s((l=l.apply(t,a||[])).next())}));var t,a,o,l}))}})],t)}(o.w3),hr=gr,vr=(a(1998),(0,z.Z)(hr,ro,[],!1,null,null,null).exports
1),br=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-container",{class:["page-search","/public_search"===e.$route.path?"page-public-search":""]},["/search"===e.$route.path?t("el-header",[t("el-banner",{attrs:{showLogin:!0,nowPage:"search"}})],1):e._e(),e._v(" "),t("el-main",[e.pageIsInit?t("el-public-inquiry-init",{on:{"on-search":e.onInitSearch}}):["qms"==e.searchParams.searchType?[t("span",{staticStyle:{background:"#F5F7FA"}},[t("p",{staticStyle:{"margin-top":"20px","margin-left":"40px","font-size":"15px"}},[e._v(e._s(e.$t("lang.publicSearchQms")))])]),e._v(" "),t("el-qms-public-inquiry",{attrs:{keywords:e.searchParams.keywords,searchType:"qms",stage:"200"},on:{"change-type":e.onChangeType}})]:e._e(),e._v(" "),"qms_ongoing"==e.searchParams.searchType?[t("span",{staticStyle:{background:"#F5F7FA"}},[t("p",{staticStyle:{"margin-top":"20px","margin-left":"40px","font-size":"15px"}},[e._v(e._s(e.$t("lang.publicSearchQmsOngoing")))])]),e._v(" "),t("el-qms-public-inquiry",{attrs:{keywords:e.searchParams.keywords,searchType:"qms_ongoing",stage:"199"},on:{"change-type":e.onChangeType}})]:e._e(),e._v(" "),"qws"==e.searchParams.searchType?[t("span",{staticStyle:{background:"#F5F7FA"}},[t("p",{staticStyle:{"margin-top":"20px","margin-left":"40px","font-size":"15px"}},[e._v(e._s(e.$t("lang.publicSearchQws")))])]),e._v(" "),t("el-qws-public-inquiry",{attrs:{keywords:e.searchParams.keywords,searchType:"qws",stage:"200"},on:{"change-type":e.onChangeType}})]:e._e(),e._v(" "),"qws_ongoing"==e.searchParams.searchType?[t("span",{staticStyle:{background:"#F5F7FA"}},[t("p",{staticStyle:{"margin-top":"20px","margin-left":"40px","font-size":"15px"}},[e._v(e._s(e.$t("lang.publicSearchQwsOngoing")))])]),e._v(" "),t("el-qws-public-inquiry",{attrs:{keywords:e.searchParams.keywords,searchType:"qws_ongoing",stage:"199"},on:{"change-type":e.onChangeType}})]:e._e(),e._v(" "),"wels"==e.searchParams.searchType?t("el-wels-public-inquiry",{attrs:{keywords:e.searchParams.keywords},on:{"change-type":e.onChangeType}}):e._e(),e._v(" "),"dwdf"==e.searchParams.searchType?t("el-dwdf-public-inquiry",{attrs:{keywords:e.searchParams.keywords},on:{"change-type":e.onChangeType}}):e._e()],e._v(" "),t("el-footer",[t("el-footer-banner")],1)],2)],1)};br._withStripped=!0;var wr=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-select",e._g(e._b({attrs:{filterable:e.editable||e.$attrs.filterable,placeholder:"en-US"===e.$i18n.locale?"Please Choose":"zh-HK"===e.$i18n.locale?"請選擇":"请选择"},on:{blur:e.onBlur,focus:e.onFocus}},"el-select",e.$attrs,!1),e.$listeners),[e._t("prefix",null,{slot:"prefix"}),e._v(" "),e._l(e.data,(function(a){return t("el-option",{key:a.id,attrs:{label:a.label,value:a.value}},[e._t("default",null,{item:a})],2)})),e._v(" "),e._t("default"),e._v(" "),e._t("empty",null,{slot:"empty"})],2)};wr._withStripped=!0;var yr=a(67186),$r=a.n(yr),Cr=(a(24765),a(45614)),xr=a.n(Cr),Sr=(a(23268),function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}()),Er=function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r},kr=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},Or=(x(),function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.raw="",t.data=[],t.api=x(),t}var a;return Sr(t,e),t.prototype.onChangeLoader=function(){var e=this;"string"==typeof this.loader&&this.load(),Array.isArray(this.loader)&&(this.data=this.loader.map((function(t){return"string"==typeof t?{id:t,label:t,value:t}:{id:t[e.valueKey],label:t[e.labelKey],value:t[e.valueKey]}})))},t.prototype.beforeMount=function(){this.onChangeLoader()},t.prototype.load=function(){var e=this,t=this.beforeLoad||function(e){return e},a=this.afterLoad||function(t){return t.map((function(t){return{id:t[e.valueKey],label:t[e.labelKey],value:t[e.valueKey]}}))};Promise.resolve(t(this.params)).then((function(t){return e.api.get(e.loader,t)})).then((function(t){e.data=a(t),e.addOption&&e.data.unshift(e.addOption)}))},t.prototype.onFocus=function(e){this.raw=e.target.value},t.prototype.onBlur=function(e){this.editable&&this.$emit("input",e.target.value||this.raw)},t.prototype.onCascader=function(e){this.data=[],this.$emit("input",void 0),this.load()},t.prototype.mounted=function(){},Er([(0,o.fI)(),kr("design:type",Object)],t.prototype,"loader",void 0),Er([(0,o.fI)({default:!1,required:!1}),kr("design:type",Boolean)],t.prototype,"editable",void 0),Er([(0,o.fI)(),kr("design:type","function"==typeof(a=void 0!==r.AxiosRequestConfig&&r.AxiosRequestConfig)?a:Object)],t.prototype,"params",void 0),Er([(0,o.fI)({default:"name",required:!1}),kr("design:type",String)],t.prototype,"labelKey",void 0),Er([(0,o.fI)({default:"id",required:!1}),kr("design:type",String)],t.prototype,"valueKey",void 0),Er([(0,o.fI)(),kr("design:type",String)],t.prototype,"cascader",void 0),Er([(0,o.fI)(),kr("design:type",Object)],t.prototype,"addOption",void 0),Er([(0,o.fI)(),kr("design:type",Function)],t.prototype,"beforeLoad",void 0),Er([(0,o.fI)(),kr("design:type",Function)],t.prototype,"afterLoad",void 0),Er([(0,o.RL)("loader"),kr("design:type",Function),kr("design:paramtypes",[]),kr("design:returntype",void 0)],t.prototype,"onChangeLoader",null),Er([(0,o.RL)("cascader",{deep:!0}),kr("design:type",Function),kr("design:paramtypes",[Object]),kr("design:returntype",void 0)],t.prototype,"onCascader",null),Er([(0,o.wA)({inheritAttrs:!1,components:{ElSelect:$r(),ElOption:xr()}})],t)}(o.w3)),Ar=Or,Pr=(0,z.Z)(Ar,wr,[],!1,null,null,null).exports,Tr=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-card",{staticClass:"info-view widgets-search-init",attrs:{shadow:"never"}},[t("el-row",{staticClass:"search-view",attrs:{slot:"header",type:"flex"},slot:"header"},[t("el-select",{attrs:{placeholder:"Please Choose",loader:e.searchOption,"popper-append-to-body":!1},model:{value:e.params.searchType,callback:function(t){e.$set(e.params,"searchType",t)},expression:"params.searchType"}}),e._v(" "),t("el-input",{staticClass:"keywords-input",attrs:{placeholder:e.$t("lang.keywords")},model:{value:e.params.keywords,callback:function(t){e.$set(e.params,"keywords",t)},expression:"params.keywords"}}
1),e._v(" "),t("el-button",{staticClass:"search-btn",on:{click:e.onSearch}},[t("i",{staticClass:"iconfont ico_search_white1"}),e._v("\n      "+e._s(e.$t("lang.action.search"))+"\n    ")])],1),e._v(" "),t("div",{staticClass:"info-card"},[t("p",{staticClass:"title"},[e._v(e._s(e.$t("lang.publicSearchPageTitle")))]),e._v(" "),t("p",{staticClass:"normal-desc"},[e._v("\n      "+e._s(e.$t("lang.publicSearchPageContentOne"))+"\n    ")]),e._v(" "),t("p",{staticClass:"normal-desc"},[e._v("\n     "+e._s(e.$t("lang.publicSearchPageContentTwo"))+"\n    ")]),e._v(" "),t("p",{staticClass:"normal-desc"},[e._v("\n      "+e._s(e.$t("lang.publicSearchPageContentThree"))+"\n    ")]),e._v(" "),t("p",{staticClass:"normal-desc"},[e._v("\n      "+e._s(e.$t("lang.publicSearchPageContentFour"))+"\n    ")])])],1)};Tr._withStripped=!0;var Dr=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),Rr=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.searchOption="en-US"===t.$i18n.locale?rl:"zh-CN"===t.$i18n.locale?il:sl,t.params={},t}return Dr(t,e),t.prototype.onChange=function(e){switch(console.log("value",e),e){case"zh-CN":this.searchOption=il;break;case"en-US":this.searchOption=rl;break;case"zh-HK":this.searchOption=sl}},t.prototype.onSearch=function(){if(!this.params.searchType)return E().error({message:this.$t("lang.selectRetrievalTypeFirst"),duration:5e3,showClose:!0}),!1;console.log("245",this.params),this.$emit("on-search",this.params)},function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r}([(0,o.wA)({components:{ElButton:Me(),ElInput:Ze(),ElPage:N,ElRow:ft(),ElCard:fe(),ElColumnRow:ke,ElSelect:Pr}})],t)}(o.w3),Ir=Rr,Fr=(a(29682),(0,z.Z)(Ir,Tr,[],!1,null,null,null).exports),Lr=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-card",{staticClass:"info-view widgets-ga-search",attrs:{shadow:"never"}},[t("template",{slot:"header"},[t("el-row",{staticClass:"search-view",attrs:{type:"flex"}},[t("el-select",{attrs:{loader:e.searchOption},on:{change:e.onChangeType},model:{value:e.table.params.searchType,callback:function(t){e.$set(e.table.params,"searchType",t)},expression:"table.params.searchType"}}),e._v(" "),t("el-input",{staticClass:"keywords-input",attrs:{placeholder:e.$t("lang.publicSearchKeyPla"),clearable:""},model:{value:e.table.params.keywords,callback:function(t){e.$set(e.table.params,"keywords",t)},expression:"table.params.keywords"}}),e._v(" "),t("el-button",{staticClass:"search-btn",on:{click:function(t){return e.table.load()}}},[t("i",{staticClass:"iconfont ico_search_white1"}),e._v("\n         "+e._s(e.$t("lang.search"))+"\n      ")])],1),e._v(" "),t("el-form",{staticClass:"filter-form"},[t("el-row",{staticClass:"filter-form-row"},[t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.category")}},[t("el-select",{attrs:{loader:e.gaCategoryOption,clearable:!0},model:{value:e.table.params.category,callback:function(t){e.$set(e.table.params,"category",t)},expression:"table.params.category"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.typeOrMateria")}},[t("el-select",{attrs:{clearable:""},model:{value:e.table.params.type,callback:function(t){e.$set(e.table.params,"type",t)},expression:"table.params.type"}},e._l(e.gaTypeMateriaOption,(function(e){return t("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})})),1)],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.formHeader.gaBrand")}},[t("el-select",{attrs:{clearable:""},model:{value:e.table.params.brand,callback:function(t){e.$set(e.table.params,"brand",t)},expression:"table.params.brand"}},e._l(e.gaBrand,(function(e){return t("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})})),1)],1)],1)],1)],1),e._v(" "),t("el-table",{attrs:{store:e.table,border:"",hasHeight:!1}},[t("el-table-column",{attrs:{label:e.$t("lang.formHeader.gaBrand"),align:"center","min-width":"100"},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.application?[e._v(e._s(t.row.application.ga_product_brand_name))]:e._e()]}}])}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.producer"),align:"center","min-width":"150"},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.application?[e._v(e._s(t.row.application.ga_product_manufacturer_name))]:e._e()]}}])}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.productionSite"),align:"center","min-width":"en-US"===e.$i18n.locale?160:150},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.application?[e._v(e._s(t.row.application.ga_product_country_origin))]:e._e()]}}])}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.model"),"min-width":"150",prop:"name"}}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.desc"),"min-width":"200"},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.application?[e._v(e._s(t.row.application.ga_product_description))]:e._e()]}}])}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.recognitionLetterNo"),"min-width":"en-US"===e.$i18n.locale?220:150,align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.application?[e._v(e._s(t.row.application.approval_no))]:e._e()]}}])}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.iso_expiry_date"),align:"center","min-width":"150"},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.application?[e._v(e._s(e._f("date_format")(t.row.application.expire_date)))]:e._e()]}}])}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.approvalDate"),align:"center","min-width":"150"},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.application?[e._v(e._s(e._f("date_format")(t.row.application.approval_time)))]:e._e()]}}])}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.submittedQualityCerDoc"),align:"center","min-width":"en-US"===e.$i18n.locale?390:180},scopedSlots:e._u([{key:"default",fn:function(a){return[a.row.qual
1ity?[a.row.quality>=1?t("el-svg-icon",{attrs:{name:"a-star_liang1x",width:20,height:20}}):e._e(),e._v(" "),a.row.quality>1?t("el-svg-icon",{attrs:{name:"a-star_hei1x",width:20,height:20}}):e._e()]:e._e()]}}])}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.generalAcceptance"),align:"center","min-width":"en-US"===e.$i18n.locale?220:120},scopedSlots:e._u([{key:"default",fn:function(a){return a.row.application&&a.row.application.ga_items1?[a.row.application.ga_items.indexOf("ga_star")>-1?t("el-svg-icon",{attrs:{name:"a-star_liang1x",width:20,height:20}}):e._e()]:void 0}}],null,!0)}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.generallyAcceptedRemarks"),"min-width":"en-US"===e.$i18n.locale?300:200},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.application?[e._v(e._s(t.row.application.ga_star_remarks))]:e._e()]}}])}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.surveillanceStatus"),align:"center","min-width":"100"},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.application?[e._v(e._s(e._f("options")(t.row.application.ga_surveillance_status,e.gaSurStatus)))]:e._e()]}}])}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.surveillanceStatusEffectiveDate"),align:"center","min-width":"150"},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.application?[e._v(e._s(e._f("date_format")(t.row.application.effective_date)))]:e._e()]}}])}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.surveillanceRemarks"),"min-width":"150"},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.application?[e._v(e._s(t.row.application.remarks))]:e._e()]}}])}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.productPhotos"),align:"center","min-width":"en-US"===e.$i18n.locale?160:150},scopedSlots:e._u([{key:"default",fn:function(a){return[a.row.application&&a.row.application.product_photos?t("el-link",{attrs:{target:"_blank",underline:!1,href:`${e.baseUrl}/${a.row.application.product_photos}`}},[e._v("\n            "+e._s(e.$t("lang.action.download"))+"\n          ")]):e._e()]}}])}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.downloadLetterOfApproval"),align:"center","class-name":"label-cell","min-width":"en-US"===e.$i18n.locale?280:150},scopedSlots:e._u([{key:"default",fn:function(a){return[t("el-button",{staticClass:"no-border-btn",on:{click:function(t){return e.onDownloadLetter(a.row.application_id)}}},[e._v(e._s(e.$t("lang.action.download")))])]}}])}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.waterEfficiencyLabellingScheme"),align:"center",fixed:"right","class-name":"label-cell","min-width":"en-US"===e.$i18n.locale?280:200},scopedSlots:e._u([{key:"default",fn:function(e){return[1==e.row.wels?t("el-link",{staticClass:"lab-active",attrs:{target:"_blank",underline:!1,href:"https://www.wsd.gov.hk/en/faqs/index.html"}}):t("p",{staticClass:"lab-normal"})]}}])}),e._v(" "),t("el-table-toolbar",{attrs:{slot:"toolbar"},slot:"toolbar"},[t("el-checkbox",{attrs:{"true-label":"ga_star"},model:{value:e.table.params.ga_item,callback:function(t){e.$set(e.table.params,"ga_item",t)},expression:"table.params.ga_item"}},[e._v(e._s(e.$t("lang.lowLeachingRateGAStartProductOnly")))]),e._v(" "),t("el-checkbox",{attrs:{"true-label":1},model:{value:e.table.params.wels,callback:function(t){e.$set(e.table.params,"wels",t)},expression:"table.params.wels"}},[e._v(e._s(e.$t("lang.welsProductOnly")))])],1),e._v(" "),t("el-pagination",{attrs:{slot:"footer",layout:"total, prev, pager, next"},slot:"footer"})],1)],2)};Lr._withStripped=!0;var qr=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("div",{staticClass:"table-toolbar"},[t("div",[e._t("default")],2),e._v(" "),t("div",[e._t("right")],2)])};qr._withStripped=!0;var Mr=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),jr=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Mr(t,e),function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r}([(0,o.wA)({components:{ElForm:W()}})],t)}(o.w3),zr=jr,Nr=(a(41146),(0,z.Z)(zr,qr,[],!1,null,null,null).exports
1),Br=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-pagination",e._g(e._b({attrs:{total:void 0!==e.$attrs.total?e.$attrs.total:e.datasource?e.datasource.data.count:0,"current-page":void 0!==e.$attrs["current-page"]?e.$attrs["current-page"]:e.datasource?e.datasource.page:1,"page-size":void 0!==e.$attrs["page-size"]?e.$attrs["page-size"]:e.datasource?e.datasource.size:10,"page-sizes":e.showSizes?[10,20,25,30,40,50,100,200,300,500]:[]},on:{"current-change":e.onCurrentChange,"size-change":e.onSizeChange}},"el-pagination",e.$attrs,!1),e.$listeners),[e._t("default")],2)};Br._withStripped=!0;var Ur=a(67787),Wr=a.n(Ur),Hr=(a(50537),function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}()),Gr=function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r},Vr=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},Zr=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}var a,l;return Hr(t,e),Object.defineProperty(t.prototype,"datasource",{get:function(){return this.store||this._store},enumerable:!1,configurable:!0}),t.prototype.onCurrentChange=function(e){this.$emit("on-change",e),this.datasource&&this.datasource.load(e,this.datasource.size)},t.prototype.onSizeChange=function(e){this.datasource&&this.datasource.load(this.datasource.page,e)},Gr([(0,o.tB)({from:"table_store",default:void 0}),Vr("design:type","function"==typeof(a=void 0!==Z&&Z)?a:Object)],t.prototype,"_store",void 0),Gr([(0,o.fI)(),Vr("design:type","function"==typeof(l=void 0!==Z&&Z)?l:Object)],t.prototype,"store",void 0),Gr([(0,o.fI)(),Vr("design:type",Boolean)],t.prototype,"showSizes",void 0),Gr([(0,o.wA)({components:{ElPagination:Wr()}})],t)}(o.w3),Qr=Zr,Kr=(0,z.Z)(Qr,Br,[],!1,null,null,null).exports,Yr=a(74689),Jr=a.n(Yr),Xr=(a(61143),a(82626)),ei=a.n(Xr),ti=(a(70967),function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}()),ai=function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r},oi=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},li=x(),ni=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.baseUrl="/api/afs/wsd",t.searchOption="en-US"===t.$i18n.locale?rl:"zh-CN"===t.$i18n.locale?il:sl,t.gaCategoryOption=cl,t.gaTypeMateriaList="en-US"===t.$i18n.locale?dl:"zh-CN"===t.$i18n.locale?pl:ul,t.gaTypeMateriaOption=[],t.gaBrand=[],t.gaSurStatus=tn,t.table=new Z({loader:"/public/search/ga/list/:page",params:{filters:!0,searchType:"ga",keywords:t.keywords||""}}),t}return ti(t,e),t.prototype.onChange=function(e){switch(console.log("value",e),e){case"zh-CN":this.searchOption=il;break;case"en-US":this.searchOption=rl;break;case"zh-HK":this.searchOption=sl}},t.prototype.onChangeGaCategory=function(e){this.gaTypeMateriaOption=this.gaTypeMateriaList["typeMateria_".concat(e)
1],this.onGetGaBrand(e)},t.prototype.onSearch=function(e){},t.prototype.onChangeType=function(e){this.$emit("change-type",e)},t.prototype.onGetGaBrand=function(e){var t=this;li.get("/public/search/ga/brand/list/all/".concat(e)).then((function(e){console.log("res",e),t.gaBrand=e.map((function(e){return{name:e,id:e}}))}))},t.prototype.onDownloadLetter=function(e){var t=this;li.get("/public/ga/applications/approval_letter/".concat(e)).then((function(e){console.log("res",e),window.open("".concat(t.baseUrl,"/").concat(e.filename),"_blank")}))},ai([(0,o.fI)(),oi("design:type",String)],t.prototype,"keywords",void 0),ai([(0,o.RL)("table.params.category"),oi("design:type",Function),oi("design:paramtypes",[String]),oi("design:returntype",void 0)],t.prototype,"onChangeGaCategory",null),ai([(0,o.wA)({components:{ElButton:Me(),ElInput:Ze(),ElPage:N,ElRow:ft(),ElCard:fe(),ElColumnRow:ke,ElSelect:Pr,ElOption:xr(),ElRate:Jr(),ElSvgIcon:Ie,ElLink:ge(),ElForm:ae,ElFormItem:pt,ElTableColumn:Uo(),ElTable:go,ElPagination:Kr,ElTableToolbar:Nr,ElCheckbox:ei()}})],t)}(o.w3),ri=ni,ii=(a(22849),(0,z.Z)(ri,Lr,[],!1,null,null,null).exports),si=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-card",{staticClass:"info-view widgets-qms-search",attrs:{shadow:"never"}},[t("template",{slot:"header"},[t("el-row",{staticClass:"search-view",attrs:{type:"flex"}},[t("el-select",{attrs:{loader:e.searchOption,"popper-append-to-body":!1},on:{change:e.onChangeType},model:{value:e.table.params.searchType,callback:function(t){e.$set(e.table.params,"searchType",t)},expression:"table.params.searchType"}}),e._v(" "),t("el-input",{staticClass:"keywords-input",attrs:{placeholder:e.$t("lang.buildingNameAddress"),clearable:""},model:{value:e.table.params.keywords,callback:function(t){e.$set(e.table.params,"keywords",t)},expression:"table.params.keywords"}})],1),e._v(" "),t("el-form",{staticClass:"filter-form"},[t("el-row",{staticClass:"filter-form-row"},[t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.certificateType")}},[t("el-select",{attrs:{clearable:""},model:{value:e.table.params.level,callback:function(t){e.$set(e.table.params,"level",t)},expression:"table.params.level"}},e._l(e.certificate,(function(e){return t("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})})),1)],1),e._v(" "),["en-US"===e.$i18n.locale?t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.managementOffice"),prop:"applicant_owner_english_name"}},[t("el-input",{attrs:{placeholder:e.$t("lang.pleaseEnter"),clearable:!0},model:{value:e.table.params.applicant_owner_english_name,callback:function(t){e.$set(e.table.params,"applicant_owner_english_name",t)},expression:"table.params.applicant_owner_english_name"}})],1):t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.managementOffice"),prop:"applicant_owner_name"}},[t("el-input",{attrs:{placeholder:e.$t("lang.pleaseEnter"),clearable:!0},model:{value:e.table.params.applicant_owner_name,callback:function(t){e.$set(e.table.params,"applicant_owner_name",t)},expression:"table.params.applicant_owner_name"}})],1)],e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.district"),prop:"district"}},[t("el-select",{attrs:{loader:e.districtOptions,clearable:!0},model:{value:e.table.params.district,callback:function(t){e.$set(e.table.params,"district",t)},expression:"table.params.district"}})],1),e._v(" "),t("el-button",{staticClass:"search-btn",on:{click:function(t){return e.table.load()}}},[t("i",{staticClass:"iconfont ico_search_white1"}),e._v("\n          "+e._s(e.$t("lang.action.search"))+"\n        ")])],2)],1)],1),e._v(" "),t("el-table",{staticClass:"d-flex-1",attrs:{store:e.table,border:""}},[["en-US"===e.$i18n.locale?t("el-table-column",{attrs:{label:e.$t("lang.buildingName"),prop:"english_name"}}):t("el-table-column",{attrs:{label:e.$t("lang.buildingName"),prop:"name"}})],e._v(" "),["en-US"===e.$i18n.locale?t("el-table-column",{attrs:{label:e.$t("lang.address"),prop:"english_address"}}):t("el-table-column",{attrs:{label:e.$t("lang.address"),prop:"address"}})],e._v(" "),[t("el-table-column",{attrs:{label:e.$t("lang.managementOffice")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n          "+e._s("en-US"===e.$i18n.locale?t.row.applicant_name:t.row.applicant_name_zh)+"\n        ")]}}])})],e._v(" "),"qms"===e.searchType?t("el-table-column",{attrs:{label:e.$t("lang.certificate"),align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(e._f("options")(t.row.approval_level,e.inCert)))]}}],null,!1,3885942033)}
1):e._e(),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.district"),align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n        "+e._s(e._f("options")(t.row.district,e.districtOptions))+"\n      ")]}}])}),e._v(" "),t("el-table-toolbar",{attrs:{slot:"toolbar"},slot:"toolbar"}),e._v(" "),t("el-pagination",{attrs:{slot:"footer",layout:"total, prev, pager, next"},slot:"footer"})],2)],2)};si._withStripped=!0;var ci=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),di=function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r},pi=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},ui=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.searchOption="en-US"===t.$i18n.locale?rl:"zh-CN"===t.$i18n.locale?il:sl,t.certificate="en-US"===t.$i18n.locale?an:"zh-CN"===t.$i18n.locale?on:ln,t.inCert="en-US"===t.$i18n.locale?nn:"zh-CN"===t.$i18n.locale?rn:sn,t.districtOptions="en-US"===t.$i18n.locale?Ln:"zh-CN"===t.$i18n.locale?Mn:qn,t.table=new Z({loader:"/public/search/qms/list/:page",params:{filters:!0,stage:t.stage,type:0,searchType:t.searchType,keywords:t.keywords||""}}),t}return ci(t,e),t.prototype.onChange=function(e){switch(console.log("value",e),e){case"zh-CN":this.searchOption=il,this.certificate=on;break;case"en-US":this.searchOption=rl,this.certificate=an;break;case"zh-HK":this.searchOption=sl,this.certificate=ln}},t.prototype.onChangeType=function(e){this.$emit("change-type",e),console.log("类型",e)},t.prototype.onSearch=function(){},di([(0,o.fI)(),pi("design:type",String)],t.prototype,"keywords",void 0),di([(0,o.fI)({required:!0,default:"200"}),pi("design:type",String)],t.prototype,"stage",void 0),di([(0,o.fI)({required:!0}),pi("design:type",String)],t.prototype,"searchType",void 0),di([(0,o.wA)({components:{ElButton:Me(),ElInput:Ze(),ElPage:N,ElRow:ft(),ElCard:fe(),ElColumnRow:ke,ElSelect:Pr,ElOption:xr(),ElRate:Jr(),ElSvgIcon:Ie,ElLink:ge(),ElForm:ae,ElFormItem:pt,ElTableColumn:Uo(),ElTable:go,ElPagination:Kr,ElTableToolbar:Nr,ElCheckbox:ei()}})],t)}(o.w3),mi=ui,fi=(a(47507),(0,z.Z)(mi,si,[],!1,null,null,null).exports),_i=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-card",{staticClass:"info-view widgets-qms-search",attrs:{shadow:"never"}},[t("template",{slot:"header"},[t("el-row",{staticClass:"search-view",attrs:{type:"flex"}},[t("el-select",{attrs:{loader:e.searchOption,"popper-append-to-body":!1},on:{change:e.onChangeType},model:{value:e.table.params.searchType,callback:function(t){e.$set(e.table.params,"searchType",t)},expression:"table.params.searchType"}}),e._v(" "),t("el-input",{staticClass:"keywords-input",attrs:{placeholder:e.$t("lang.buildingNameAddress"),clearable:""},model:{value:e.table.params.keywords,callback:function(t){e.$set(e.table.params,"keywords",t)},expression:"table.params.keywords"}})],1),e._v(" "),t("el-form",{staticClass:"filter-form"},[t("el-row",{staticClass:"filter-form-row"},[t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.certificateType")}},[t("el-select",{attrs:{clearable:""},model:{value:e.table.params.level,callback:function(t){e.$set(e.table.params,"level",t)},expression:"table.params.level"}},e._l(e.certificate,(function(e){return t("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})})),1)],1),e._v(" "),["en-US"===e.$i18n.locale?t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.managementOffice"),prop:"applicant_owner_english_name"}},[t("el-input",{attrs:{placeholder:e.$t("lang.pleaseEnter"),clearable:!0},model:{value:e.table.params.applicant_owner_english_name,callback:function(t){e.$set(e.table.params,"applicant_owner_english_name",t)},expression:"table.params.applicant_owner_english_name"}})],1):t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.managementOffice"),prop:"applicant_owner_name"}},[t("el-input",{attrs:{placeholder:e.$t("lang.pleaseEnter"),clearable:!0},model:{value:e.table.params.applicant_owner_name,callback:function(t){e.$set(e.table.params,"applicant_owner_name",t)},expression:"table.params.applicant_owner_name"}})],1)],e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.district"),prop:"district"}},[t("el-select",{attrs:{loader:e.districtOptions,clearable:!0},model:{value:e.table.params.district,callback:function(t){e.$set(e.table.params,"district",t)},expression:"table.params.district"}})],1),e._v(" "),t("el-button",{staticClass:"search-btn",on:{click:function(t){return e.table.load()}}},[t("i",{staticClass:"iconfont ico_search_white1"}),e._v("\n          "+e._s(e.$t("lang.action.search"))+"\n        ")])],2)],1)],1),e._v(" "),t("el-table",{staticClass:"d-flex-1",attrs:{store:e.table,border:""}},[["en-US"===e.$i18n.locale?t("el-table-column",{attrs:{label:e.$t("lang.buildingName"),prop:"english_name"}}):t("el-table-column",{attrs:{label:e.$t("lang.buildingName"),prop:"name"}})],e._v(" "),["en-US"===e.$i18n.locale?t("el-table-column",{attrs:{label:e.$t("lang.address"),prop:"english_address"}}):t("el-table-column",{attrs:{label:e.$t("lang.address"),prop:"address"}})],e._v(" "),[t("el-table-column",{attrs:{label:e.$t("lang.managementOffice")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n          "+e._s("other"===t.row.applicant_owner_type?t.row.applicant_owner_name:"en-US"===e.$i18n.locale?t.row.applicant_owner_english_name:t.row.applicant_owner_name)+"\n        ")]}}])})],e._v(" "),"qws"===e.searchType?t("el-table-column",{attrs:{label:e.$t("lang.certificate"),align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(e._f("options")(t.row.approval_level,e.inCert)))]}}],null,!1,3885942033)}
1):e._e(),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.district"),align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n        "+e._s(e._f("options")(t.row.district,e.districtOptions))+"\n      ")]}}])}),e._v(" "),t("el-table-toolbar",{attrs:{slot:"toolbar"},slot:"toolbar"}),e._v(" "),t("el-pagination",{attrs:{slot:"footer",layout:"total, prev, pager, next"},slot:"footer"})],2)],2)};_i._withStripped=!0;var gi=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),hi=function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r},vi=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},bi=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.searchOption="en-US"===t.$i18n.locale?rl:"zh-CN"===t.$i18n.locale?il:sl,t.certificate="en-US"===t.$i18n.locale?an:"zh-CN"===t.$i18n.locale?on:ln,t.inCert="en-US"===t.$i18n.locale?nn:"zh-CN"===t.$i18n.locale?rn:sn,t.districtOptions="en-US"===t.$i18n.locale?Ln:"zh-CN"===t.$i18n.locale?Mn:qn,t.table=new Z({loader:"/public/search/qws/list/:page",params:{filters:!0,stage:t.stage,type:1,searchType:t.searchType,keywords:t.keywords||""}}),t}return gi(t,e),t.prototype.onChangeType=function(e){this.$emit("change-type",e),console.log("类型",e)},t.prototype.onSearch=function(){},hi([(0,o.fI)(),vi("design:type",String)],t.prototype,"keywords",void 0),hi([(0,o.fI)({required:!0,default:"200"}),vi("design:type",String)],t.prototype,"stage",void 0),hi([(0,o.fI)({required:!0}),vi("design:type",String)],t.prototype,"searchType",void 0),hi([(0,o.wA)({components:{ElButton:Me(),ElInput:Ze(),ElPage:N,ElRow:ft(),ElCard:fe(),ElColumnRow:ke,ElSelect:Pr,ElOption:xr(),ElRate:Jr(),ElSvgIcon:Ie,ElLink:ge(),ElForm:ae,ElFormItem:pt,ElTableColumn:Uo(),ElTable:go,ElPagination:Kr,ElTableToolbar:Nr,ElCheckbox:ei()}})],t)}(o.w3),wi=bi,yi=(a(20134),(0,z.Z)(wi,_i,[],!1,null,null,null).exports),$i=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-card",{staticClass:"info-view widgets-wels-search",attrs:{shadow:"never"}},[t("template",{slot:"header"},[t("el-form",{staticClass:"filter-form"},[t("el-row",{staticClass:"filter-form-row"},[t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.typeOfWelsproduct")}},[t("label",[t("el-select",{attrs:{loader:e.welsApplyTypeOption},on:{change:e.onChangeWelsType},model:{value:e.table.params.scheme,callback:function(t){e.$set(e.table.params,"scheme",t)},expression:"table.params.scheme"}})],1)]),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.subTypeOfWelsproduct")}},[t("label",[t("el-select",{attrs:{loader:e.categoryOption,clearable:""},on:{change:e.onChangeCategory},model:{value:e.table.params.product_category,callback:function(t){e.$set(e.table.params,"product_category",t)},expression:"table.params.product_category"}})],1)]),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.orderBy")}},[t("label",[t("el-select",{attrs:{loader:e.welsOrderByOptions,clearable:""},on:{change:e.onChangeOrderBy},model:{value:e.table.params.order_by,callback:function(t){e.$set(e.table.params,"order_by",t)},expression:"table.params.order_by"}})],1)]),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.formHeader.brand")}},[t("label",{attrs:{for:"wels_public_search_brand",hidden:""}},[e._v("''")]),e._v(" "),t("el-select",{attrs:{id:"wels_public_search_brand",loader:e.brandOption,filterable:"",multiple:"",clearable:""},on:{change:e.onChangeBrand},model:{value:e.table.params.brands,callback:function(t){e.$set(e.table.params,"brands",t)},expression:"table.params.brands"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.keywords")}},[t("label",{attrs:{for:"wels_public_search_keywords",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"wels_public_search_keywords",clearable:""},model:{value:e.table.params.keywords,callback:function(t){e.$set(e.table.params,"keywords",t)},expression:"table.params.keywords"}}
1)],1),e._v(" "),t("el-button",{staticClass:"search-btn",on:{click:e.onSearch}},[t("i",{staticClass:"iconfont ico_search_white1"}),e._v("\n          "+e._s(e.$t("lang.action.search"))+"\n        ")])],1)],1)],1),e._v(" "),t("el-table",{staticClass:"d-flex-1",attrs:{store:e.table,border:""}},[t("el-table-column",{key:"1",attrs:{label:e.$t("lang.registrationNumber"),width:"160px",align:"center",prop:"approval_no"}}),e._v(" "),["en-US"===e.$i18n.locale?t("el-table-column",{key:"2",attrs:{label:e.$t("lang.companyName"),prop:"en_company_name",align:"center"}}):"zh-CN"===e.$i18n.locale?t("el-table-column",{key:"3",attrs:{label:e.$t("lang.companyName"),prop:"sc_company_name",align:"center"}}):t("el-table-column",{key:"4",attrs:{label:e.$t("lang.companyName"),prop:"tc_company_name",align:"center"}})],e._v(" "),t("el-table-column",{key:"5",attrs:{label:e.$t("lang.companyTelephoneOrWebsite"),align:"center"},scopedSlots:e._u([{key:"default",fn:function(a){return[t("p",[e._v(e._s(a.row.company_phone))]),e._v(" "),a.row.company_phone&&a.row.company_website?t("p",[e._v("/")]):e._e(),e._v(" "),t("p",[e._v(e._s(a.row.company_website))])]}}])}),e._v(" "),t("el-table-column",{key:"6",attrs:{label:e.$t("lang.formHeader.brand"),align:"center",prop:"brands"}}),e._v(" "),t("el-table-column",{key:"7",attrs:{label:e.$t("lang.model"),align:"center",width:"130px",prop:"models"}}),e._v(" "),"wels_water_closets"===e.table.params.scheme?[t("el-table-column",{key:"8",attrs:{label:e.$t("lang.GaAcceptanceReferenceNumber"),prop:"ga_nos",width:"130px",align:"center"}})]:e._e(),e._v(" "),"en-US"===e.$i18n.locale?t("el-table-column",{key:"9",attrs:{label:e.$t("lang.country_origin"),prop:"en_country",align:"center"}}):e._e(),e._v(" "),"zh-CN"===e.$i18n.locale?t("el-table-column",{key:"10",attrs:{label:e.$t("lang.country_origin"),prop:"sc_country",align:"center"}}):e._e(),e._v(" "),"zh-HK"===e.$i18n.locale?t("el-table-column",{key:"11",attrs:{label:e.$t("lang.country_origin"),prop:"tc_country",align:"center"}}):e._e(),e._v(" "),t("el-table-column",{key:"12",attrs:{label:e.$t("lang.symbolicPresentationOnWaterEfficiency"),align:"center",prop:"approval_level_array"},scopedSlots:e._u([{key:"default",fn:function(a){return e._l(a.row.approval_level_array,(function(e,a){return t("i",{key:a,staticClass:"iconfont water"})}))}}])}),e._v(" "),t("el-table-column",{key:"13",attrs:{label:e.$t("lang.waterEfficiencyGrade"),align:"center",width:"140px",prop:"approval_level"}}),e._v(" "),"wels_showers_athingp"===e.table.params.scheme?[t("el-table-column",{key:"14",attrs:{label:e.$t("lang.nominalFlowRate"),align:"center",width:"140px",prop:"nominal_flow_rate"}})]:e._e(),e._v(" "),"wels_water_taps"===e.table.params.scheme?[t("el-table-column",{key:"15",attrs:{label:e.$t("lang.nominalFlowRate"),align:"center",width:"140px",prop:"nominal_flow_rate"}}),e._v(" "),t("el-table-column",{key:"16",attrs:{label:e.$t("lang.additionalMerit"),align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[[e._v(e._s(e._f("options")(t.row.additional_merit,e.additionalMerits)))]]}}],null,!1,967161938)})]:e._e(),e._v(" "),"wels_washing_machines"===e.table.params.scheme?[t("el-table-column",{key:"17",attrs:{label:e.$t("lang.capacity"),prop:"capacity",align:"center"}}),e._v(" "),t("el-table-column",{key:"18",attrs:{label:e.$t("lang.waterConsumption"),prop:"water_consumption",align:"center"}})]:e._e(),e._v(" "),"wels_urinal_equipment"===e.table.params.scheme?[t("el-table-column",{key:"19",attrs:{label:e.$t("lang.waterFlushVolumePercycle"),prop:"water_flush_volume_per_cycle",align:"center"}}),e._v(" "),t("el-table-column",{key:"20",attrs:{label:e.$t("lang.descOfUrinalEquipment"),align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[[e._v(e._s(e._f("options")(t.row.description_of_urinal_equipment,e.descOfUeOption)))]]}}],null,!1,3383740674)})]:e._e(),e._v(" "),"wels_flow_controllers"==e.table.params.scheme?[t("el-table-column",{key:"21",attrs:{label:e.$t("lang.nominalFlowRate"),prop:"nominal_flow_rate",align:"center"}}),e._v(" "),t("el-table-column",{key:"22",attrs:{label:e.$t("lang.meritedFunction"),align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[[e._v(e._s(e._f("options")(t.row.merited_function,e.meritedFunctionOption)))]]}}],null,!1,840370018)})]:e._e(),e._v(" "),"wels_water_closets"===e.table.params.scheme?[t("el-table-column",{key:"23",attrs:{label:e.$t("lang.waterFlushVolumeFull"),prop:"water_flush_volume_full",align:"center"}}),e._v(" "),t("el-table-column",{key:"24",attrs:{label:e.$t("lang.waterFlushVolumeReduced"),prop:"water_flush_volume_reduced",align:"center"}}),e._v(" "),t("el-table-column",{key:"25",attrs:{label:e.$t("lang.typesOfWaterCloset"),align:"center",prop:"types_of_water_closet"},scopedSlots:e._u([{key:"default",fn:function(t){return[[e._v(e._s(e._f("options")(t.row.t
1ypes_of_water_closet,e.typeOfWaterClosets)))]]}}],null,!1,124403393)})]:e._e(),e._v(" "),t("el-table-column",{key:"26",attrs:{label:e.$t("lang.dateOfIssue"),align:"center",width:"160px"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n        "+e._s(e._f("date_format")(t.row.approval_time))+"\n      ")]}}])}),e._v(" "),t("el-pagination",{attrs:{slot:"footer",layout:"total, prev, pager, next"},on:{"on-change":e.onChangePage},slot:"footer"})],2)],2)};$i._withStripped=!0;var Ci=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),xi=function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r},Si=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},Ei=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.api=x(),t.searchOption=rl,t.welsApplyTypeOption="en-US"===t.$i18n.locale?Ol:"zh-CN"===t.$i18n.locale?Al:Pl,t.meritedFunctionOption="en-US"===t.$i18n.locale?Bn:"zh-CN"===t.$i18n.locale?Un:Wn,t.descOfUeOption="en-US"===t.$i18n.locale?Rn:"zh-CN"===t.$i18n.locale?Fn:In,t.typeOfWaterClosets="en-US"===t.$i18n.locale?Pn:"zh-CN"===t.$i18n.locale?Tn:Dn,t.additionalMerits="en-US"===t.$i18n.locale?jn:"zh-CN"===t.$i18n.locale?zn:Nn,t.brandOption=[],t.categoryOption=[],t.welsOrderByOptions=[],t.table=new Z({loader:"/public/search/wels/list/:page",page:1,params:{filters:!0,searchType:"wels",brands:[],keywords:t.keywords||"",scheme:"wels_showers_athingp",locale:t.$i18n.locale,page:1}}),t}return Ci(t,e),t.prototype.onChangeType=function(e){this.$emit("change-type",e),console.log("类型",e)},t.prototype.onChangeWelsType=function(e){this.table.params={filters:!0,searchType:"wels",brands:[],keywords:this.keywords||"",scheme:e,locale:this.$i18n.locale},this.onGetCategoryOption(e),this.getBrands(),this.table.reload()},t.prototype.onChangeCategory=function(){},t.prototype.onChangeOrderBy=function(){},t.prototype.onChangeBrand=function(){},t.prototype.onChangePage=function(e){},t.prototype.onSearch=function(){this.table.load()},t.prototype.onGetCategoryOption=function(e){switch(this.categoryOption=[],e){case"wels_water_closets":this.welsOrderByOptions="en-US"===this.$i18n.locale?Yn:"zh-CN"===this.$i18n.locale?Jn:Xn;break;case"wels_water_taps":this.categoryOption="en-US"===this.$i18n.locale?vn:"zh-CN"===this.$i18n.locale?wn:bn,this.welsOrderByOptions="en-US"===this.$i18n.locale?Hn:"zh-CN"===this.$i18n.locale?Gn:Vn;break;case"wels_washing_machines":this.categoryOption="en-US"===this.$i18n.locale?_n:"zh-CN"===this.$i18n.locale?hn:gn,this.welsOrderByOptions="en-US"===this.$i18n.locale?Zn:"zh-CN"===this.$i18n.locale?Qn:Kn;break;case"wels_urinal_equipment":this.categoryOption="en-US"===this.$i18n.locale?un:"zh-CN"===this.$i18n.locale?fn:mn,this.welsOrderByOptions="en-US"===this.$i18n.locale?er:"zh-CN"===this.$i18n.locale?tr:ar;break;case"wels_flow_controllers":this.categoryOption="en-US"===this.$i18n.locale?yn:"zh-CN"===this.$i18n.locale?Cn:$n,this.welsOrderByOptions="en-US"===this.$i18n.locale?Hn:"zh-CN"===this.$i18n.locale?Gn:Vn;break;default:this.welsOrderByOptions="en-US"===this.$i18n.locale?Hn:"zh-CN"===this.$i18n.locale?Gn:Vn}var t=[{name:"en-US"===this.$i18n.locale?"All":"所有",id:""}];this.categoryOption=t.concat(this.categoryOption)},t.prototype.getBrands=function(){var e=this;this.api.get("/public/search/wels/brand/list/all/".concat(this.table.params.scheme)).then((function(t){e.brandOption=t}))},t.prototype.mounted=function(){var e;this.getBrands(),this.onGetCategoryOption(null===(e=this.table.params)||void 0===e?void 0:e.sc
1heme)},xi([(0,o.fI)(),Si("design:type",String)],t.prototype,"keywords",void 0),xi([(0,o.wA)({components:{ElButton:Me(),ElInput:Ze(),ElPage:N,ElRow:ft(),ElCard:fe(),ElColumnRow:ke,ElSelect:Pr,ElOption:xr(),ElRate:Jr(),ElSvgIcon:Ie,ElLink:ge(),ElForm:ae,ElFormItem:pt,ElTableColumn:Uo(),ElTable:go,ElPagination:Kr,ElTableToolbar:Nr,ElCheckbox:ei()}})],t)}(o.w3),ki=Ei,Oi=(a(74151),(0,z.Z)(ki,$i,[],!1,null,null,null).exports),Ai=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-card",{staticClass:"info-view widgets-dwdf-search",attrs:{shadow:"never"}},[t("template",{slot:"header"},[t("el-form",{staticClass:"filter-form"},[t("el-row",{staticClass:"filter-form-row"},[t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.orderBy")}},[t("label",[t("el-select",{attrs:{loader:e.orderByOptions,clearable:""},on:{change:e.onChangeOrderBy},model:{value:e.table.params.order_by,callback:function(t){e.$set(e.table.params,"order_by",t)},expression:"table.params.order_by"}})],1)]),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.formHeader.brand")}},[t("label",{attrs:{for:"dwdf_public_search_brand",hidden:""}},[e._v("''")]),e._v(" "),t("el-select",{attrs:{id:"dwdf_public_search_brand",loader:e.brandOption,filterable:"",multiple:"",clearable:""},on:{change:e.onChangeBrand},model:{value:e.table.params.brands,callback:function(t){e.$set(e.table.params,"brands",t)},expression:"table.params.brands"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.keywords")}},[t("label",{attrs:{for:"dwdf_public_search_keywords",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"dwdf_public_search_keywords",clearable:""},model:{value:e.table.params.keywords,callback:function(t){e.$set(e.table.params,"keywords",t)},expression:"table.params.keywords"}})],1),e._v(" "),t("el-button",{staticClass:"search-btn",on:{click:e.onSearch}},[t("i",{staticClass:"iconfont ico_search_white1"}),e._v("\n          "+e._s(e.$t("lang.action.search"))+"\n        ")])],1)],1)],1),e._v(" "),t("el-table",{staticClass:"d-flex-1",attrs:{store:e.table,border:""}},[t("el-table-column",{key:"1",attrs:{label:e.$t("lang.dwdf.registrationNumber"),width:"160px",align:"center",prop:"approval_no"}}),e._v(" "),["en-US"===e.$i18n.locale?t("el-table-column",{key:"2",attrs:{label:e.$t("lang.companyName"),prop:"en_company_name",align:"center"}}):"zh-CN"===e.$i18n.locale?t("el-table-column",{key:"3",attrs:{label:e.$t("lang.companyName"),prop:"sc_company_name",align:"center"}}):t("el-table-column",{key:"4",attrs:{label:e.$t("lang.companyName"),prop:"tc_company_name",align:"center"}})],e._v(" "),t("el-table-column",{key:"5",attrs:{label:e.$t("lang.companyTelephoneOrWebsite"),align:"center"},scopedSlots:e._u([{key:"default",fn:function(a){return[t("p",[e._v(e._s(a.row.company_phone))]),e._v(" "),a.row.company_phone&&a.row.company_website?t("p",[e._v("/")]):e._e(),e._v(" "),t("p",[e._v(e._s(a.row.company_website))])]}}])}),e._v(" "),t("el-table-column",{key:"6",attrs:{label:e.$t("lang.formHeader.gaBrand"),align:"center",prop:"product_brand"}}),e._v(" "),t("el-table-column",{key:"7",attrs:{label:e.$t("lang.model"),align:"center",width:"130px",prop:"product_model"}}),e._v(" "),"en-US"===e.$i18n.locale?t("el-table-column",{key:"8",attrs:{label:e.$t("lang.country_origin"),prop:"en_country",align:"center"}}):e._e(),e._v(" "),"zh-CN"===e.$i18n.locale?t("el-table-column",{key:"9",attrs:{label:e.$t("lang.country_origin"),prop:"sc_country",align:"center"}}):e._e(),e._v(" "),"zh-HK"===e.$i18n.locale?t("el-table-column",{key:"10",attrs:{label:e.$t("lang.country_origin"),prop:"tc_country",align:"center"}}):e._e(),e._v(" "),t("el-table-column",{key:"11",attrs:{label:e.$t("lang.dateOfIssue"),align:"center",width:"160px"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n        "+e._s(e._f("date_format")(t.row.approval_time))+"\n      ")]}}])}),e._v(" "),t("el-pagination",{attrs:{slot:"footer",layout:"total, prev, pager, next"},on:{"on-change":e.onChangePage},slot:"footer"})],2)],2)};Ai._withStripped=!0;var Pi=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),Ti=function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r},Di=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},Ri=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.api=x(),t.brandOption=[],t.orderByOptions="en-US"===t.$i18n.locale?rr:"zh-CN"===t.$i18n.locale?ir:sr,t.table=new Z({loader:"/public/search/dwdf/list/:page",page:1,params:{filters:!0,searchType:"dwdf",brands:[],keywords:t.keywords||"",locale:t.$i18n.locale,page:1}}),t}return Pi(t,e),t.prototype.onChangeCategory=function(){},t.prototype.onChangeOrderBy=function(){},t.prototype.onChangeBrand=function(){},t.prototype.onChangePage=function(e){},t.prototype.onSearch=function(){this.table.load()},t.prototype.getBrands=function(){var e=this;this.api.get("/public/search/dwdf/brand/list/all").then((function(t){e.brandOption=t}))},t.prototype.mounted=function(){this.getBrands()},Ti([(0,o.fI)(),Di("design:type",String)],t.prototype,"keywords",void 0),Ti([(0,o.wA)({components:{ElButton:Me(),ElInput:Ze(),ElPage:N,ElRow:ft(),ElCard:fe(),ElColumnRow:ke,ElSelect:Pr,ElOption:xr(),ElRate:Jr(),ElSvgIcon:Ie,ElLink:ge(),ElForm:ae,ElFormItem:pt,ElTableColumn:Uo(),ElTable:go,ElPagination:Kr,ElTableToolbar:Nr,ElCheckbox:ei()}})],t)}(o.w3),Ii=Ri,Fi=(a(15038),(0,z.Z)(Ii,Ai,[],!1,null,null,null).exports
1),Li=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-card",{staticClass:"info-view widgets-visits-search",attrs:{shadow:"never"}},[t("template",{slot:"header"},[t("el-row",{staticClass:"search-view",attrs:{type:"flex"}},[t("el-select",{attrs:{loader:e.searchOption},on:{change:e.onChangeType},model:{value:e.table.params.searchType,callback:function(t){e.$set(e.table.params,"searchType",t)},expression:"table.params.searchType"}}),e._v(" "),t("el-input",{staticClass:"keywords-input",attrs:{placeholder:e.$t("lang.regionName")},model:{value:e.table.params.keywords,callback:function(t){e.$set(e.table.params,"keywords",t)},expression:"table.params.keywords"}}),e._v(" "),t("el-button",{staticClass:"search-btn",on:{click:function(t){return e.table.load()}}},[t("i",{staticClass:"iconfont ico_search_white1"}),e._v("\n        "+e._s(e.$t("lang.action.search"))+"\n      ")])],1)],1),e._v(" "),t("el-table",{attrs:{store:e.table,border:"",hasHeight:!1}},[t("el-table-column",{attrs:{label:e.$t("lang.region"),prop:"name"}}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.availableForBooking"),align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n          "+e._s(e._f("options")(t.row.status,e.availableBooking))+"\n        ")]}}])}),e._v(" "),t("el-table-toolbar",{attrs:{slot:"toolbar"},slot:"toolbar"}),e._v(" "),t("el-pagination",{attrs:{slot:"footer",layout:"total, prev, pager, next"},slot:"footer"})],1)],2)};Li._withStripped=!0;var qi=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),Mi=function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r},ji=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},zi=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.baseUrl="/api/afs/wsd",t.searchOption="en-US"===t.$i18n.locale?rl:"zh-CN"===t.$i18n.locale?il:sl,t.availableBooking="en-US"===t.$i18n.locale?cn:"zh-CN"===t.$i18n.locale?dn:pn,t.table=new Z({loader:"/public/search/visit/list/:page",params:{filters:!0,searchType:"visits",keywords:t.keywords||""}}),t}return qi(t,e),t.prototype.onChange=function(e){switch(console.log("value",e),e){case"zh-CN":this.searchOption=il,this.availableBooking=dn;break;case"en-US":this.searchOption=rl,this.availableBooking=cn;break;case"zh-HK":this.searchOption=sl,this.availableBooking=pn}},t.prototype.onChangeType=function(e){this.$emit("change-type",e),console.log("类型",e)},t.prototype.onSearch=function(){},Mi([(0,o.fI)(),ji("design:type",String)],t.prototype,"keywords",void 0),Mi([(0,o.wA)({components:{ElButton:Me(),ElInput:Ze(),ElPage:N,ElRow:ft(),ElCard:fe(),ElColumnRow:ke,ElSelect:Pr,ElOption:xr(),ElRate:Jr(),ElSvgIcon:Ie,ElLink:ge(),ElForm:ae,ElFormItem:pt,ElTableColumn:Uo(),ElTable:go,ElPagination:Kr,ElTableToolbar:Nr,ElCheckbox:ei(),ElDatePicker:Ho()}})],t)}(o.w3),Ni=zi,Bi=(a(80147),(0,z.Z)(Ni,Li,[],!1,null,null,null).exports),Ui=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),Wi=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.pageIsInit=!1,t.searchParams={searchType:"/public_search"===t.$route.path?"ga":"",keywords:""},t}return Ui(t,e),t.prototype.onInitSearch=function(e){this.searchParams=e,this.pageIsInit=!1,console.log("searchParams",this.searchParams.searchType),window.location.href="".concat(window.location.origin).concat(window.location.pathname,"?type=").concat(e.searchType)},t.prototype.onChangeType=function(e){this.searchParams.searchType=e,window.location.href="".concat(window.location.origin).concat(window.location.pathname,"?type=").concat(e)},t.prototype.mounted=function(){var e,t;this.pageIsInit="/public_search"!==this.$route.path,(null===(e=this.$route.query)||void 0===e?void 0:e.type)&&(this.pageIsInit=!1,this.searchParams.searchType=null===(t=this.$route.query)||void 0===t?void 0:t.type)},function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r}([(0,o.wA)({components:{ElButton:Me(),ElInput:Ze(),ElPage:N,ElRow:ft(),ElCard:fe(),ElHeaderLink:we,ElContainer:D(),ElMain:I(),ElHeader:Et(),ElFooter:Ot(),ElColumnRow:ke,ElBanner:at,ElFooterBanner:vt,ElForm:ae,ElFormItem:pt,ElTable:go,ElTableColumn:Uo(),ElDocumentUpload:Eo,ElSelect:Pr,ElPublicInquiryInit:Fr,ElGaPublicInquiry:ii,ElQmsPublicInquiry:fi,ElQwsPublicInquiry:yi,ElWelsPublicInquiry:Oi,ElVisitPublicInquiry:Bi,ElDwdfPublicInquiry:Fi}})],t)}
1(o.w3),Hi=Wi,Gi=(a(17109),(0,z.Z)(Hi,br,[],!1,null,null,null).exports),Vi=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-admin-container",{class:["page-ga-list","en-US"===e.$i18n.locale?"page-ga-list-en":""],attrs:{breadcrumb:[this.$t("lang.applications")," GA"]}},[t("el-card",{staticClass:"search-filter-card",attrs:{shadow:"never"}},[t("el-form",[t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.status"),percent:.22}},[t("label",{attrs:{for:"ga_list_status_params",hidden:""}},[e._v("''")]),e._v(" "),t("el-select",{attrs:{id:"ga_list_status_params",loader:e.searchStatusOptions,clearable:""},model:{value:e.table.params.status,callback:function(t){e.$set(e.table.params,"status",t)},expression:"table.params.status"}})],1),e._v(" "),t("el-form-item",{staticClass:"padding-left-0 label-width-auto",attrs:{label:e.$t("lang.type"),percent:.22}},[t("label",{attrs:{for:"ga_list_type_params",hidden:""}},[e._v("''")]),e._v(" "),t("el-select",{attrs:{id:"ga_list_type_params",loader:e.gaApplyTypeOption,clearable:""},model:{value:e.table.params.type,callback:function(t){e.$set(e.table.params,"type",t)},expression:"table.params.type"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{percent:.4,label:e.$t("lang.applicationTime")}},[t("label",{attrs:{for:"ga_list_application_time_params",hidden:""}},[e._v("''")]),e._v(" "),t("label",{attrs:{for:"ga_list_application_time_params_input_0",hidden:""}},[e._v("''")]),e._v(" "),t("label",{attrs:{for:"ga_list_application_time_params_input_1",hidden:""}},[e._v("''")]),e._v(" "),t("el-date-picker",{staticClass:"width-pre-100",attrs:{id:"ga_list_application_time_params",type:"daterange","start-placeholder":e.$t("lang.applicationTimePlaceholderStart"),"end-placeholder":e.$t("lang.applicationTimePlaceholderEnd"),clearable:""},model:{value:e.table.params.application_time,callback:function(t){e.$set(e.table.params,"application_time",t)},expression:"table.params.application_time"}})],1),e._v(" "),t("el-form-item",{staticClass:"el-item-flex-justify-end"},[t("el-button",{staticClass:"fill-blue-btn",on:{click:function(t){return e.table.load()}}},[e._v(e._s(e.$t("lang.action.search")))])],1)],1)],1)],1),e._v(" "),t("el-card",{staticClass:"contain-card",attrs:{shadow:"never"}},[t("el-table",{attrs:{store:e.table,stripe:!0,border:!0,hasHeight:!1}},[t("el-table-column",{attrs:{label:e.$t("lang.formHeader.file_no"),width:"120px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n          "+e._s(t.row.file_no)+"\n        ")]}}])}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.formHeader.type"),align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n          "+e._s(e._f("ga_items")(t.row.ga_items))+"\n        ")]}}])}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.formHeader.status"),align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n          "+e._s(e._f("options")(t.row.status,e.applyStatusOption))+" "+e._s(5===t.row.processing_status?`(${e.$t("lang.labReportUpload")})`:10===t.row.processing_status?`(${e.$t("lang.reviewLabReport")})`:15===t.row.processing_status?`(${e.$t("lang.reSubmt")})`:"")+"\n        ")]}}])}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.formHeader.gaBrand"),prop:"ga_product_brand_name",align:"center"}}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.formHeader.product_desc"),prop:"ga_product_description"}}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.approvedDate"),width:"160px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n          "+e._s(e._f("date_format")(t.row.approval_time))+"\n        ")]}}])}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.applicationTime"),width:"160px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n          "+e._s(e._f("date_format")(t.row.application_time))+"\n        ")]}}])}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.action.action"),align:"center","class-name":"cell-flex-row cell-justify-center action-column"},scopedSlots:e._u([{key:"default",fn:function(a){return[t("el-button",{staticClass:"text-green",attrs:{type:"text"},on:{click:function(t){return e.$router.push({path:"/applications/ga/detail",query:{id:a.row.id}})}}},[e._v(e._s(e.$t("lang.action.view")))]),e._v(" "),-1===a.row.status||0===a.row.status&&5!==a.row.processing_status?t("el-button",{staticClass:"text-blue",attrs:{type:"text"},on:{click:function(t){return e.$router.push({path:`/applications/ga/apply/${a.row.id}`})}}}
1,[e._v(e._s(e.$t("lang.action.edit")))]):e._e(),e._v(" "),-1===a.row.status?t("el-button",{staticClass:"text-red",attrs:{type:"text",confirm:e.$t("lang.wantDeleteTip")},on:{confirm:function(t){return e.table.action("delete",{data:[a.row.id]})}}},[e._v(e._s(e.$t("lang.action.delete")))]):e._e(),e._v(" "),5===a.row.status&&a.row.laboratory_status>0&&1===a.row.need_lab_status?t("el-button",{staticClass:"text-blue",attrs:{type:"text",confirm:e.$t("lang.sendLaboratoryTip")},on:{confirm:function(t){return e.onLaboratory(a.row.source_id)}}},[e._v(e._s(e.$t("lang.action.laboratory")))]):e._e()]}}])}),e._v(" "),t("el-table-toolbar",{attrs:{slot:"toolbar"},slot:"toolbar"},[t("el-button",{staticClass:"print-btn empty-bule-btn iconfont-15",attrs:{slot:"right"},on:{click:function(t){return e.$router.push("/applications/ga/apply")}},slot:"right"},[t("i",{staticClass:"iconfont a-ico_new1x"}),e._v("\n          "+e._s(e.$t("lang.action.new"))+"\n        ")])],1),e._v(" "),t("el-pagination",{attrs:{slot:"footer",layout:"total, prev, pager, next"},slot:"footer"})],1),e._v(" "),t("el-cancel-dialog",{attrs:{visible:e.cancelForm.visible,form:e.cancelForm},on:{"update:visible":function(t){return e.$set(e.cancelForm,"visible",t)},onCancel:e.onCancel}})],1)],1)};Vi._withStripped=!0;var Zi=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-dialog",{staticClass:"apply-treaty-dialog",attrs:{visible:e.visible,"destroy-on-close":!0,"close-on-click-modal":!1,title:e.$t("lang.conditionsTitle")},on:{close:function(t){return e.$emit("update:visible",!1)}}},[t("el-input",{attrs:{type:"textarea",resize:"none",readonly:"",autosize:""},model:{value:e.description,callback:function(t){e.description=t},expression:"description"}}),e._v(" "),t("template",{slot:"footer"},[t("el-button",{staticClass:"refuse-btn",on:{click:function(t){return e.$emit("update:visible",!1)}}},[e._v(e._s(e.$t("lang.action.close")))]),e._v(" "),t("el-button",{staticClass:"agree-btn",on:{click:function(t){return e.$emit("on-agree")}}},[e._v(e._s(e.$t("lang.action.agree")))])],1)],2)};Zi._withStripped=!0;var Qi=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),Ki=function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r},Yi=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},Ji=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Qi(t,e),Ki([(0,o.fI)(),Yi("design:type",String)],t.prototype,"description",void 0),Ki([(0,o.fI)(),Yi("design:type",Boolean)],t.prototype,"visible",void 0),Ki([(0,o.wA)({components:{ElDialog:pe,ElInput:Ze(),ElButton:Ge}})],t)}(o.w3),Xi=Ji,es=(a(75157),(0,z.Z)(Xi,Zi,[],!1,null,null,null).exports),ts=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-dialog",{attrs:{visible:e.visible,title:"Cancel",width:"880px"},on:{close:function(t){return e.$emit("update:visible",!1)}}},[t("el-form",{attrs:{store:e.form,hasLabelSuffix:!1,"label-position":"left"}},[t("el-form-item",{staticClass:"d-flex flex-column",attrs:{label:"Cancel File","label-width":"0"}},[t("el-document-upload",{attrs:{multiple:!0,"base-url":"/api/afs/wsd",action:"/api/afs/wsd"},model:{value:e.form.model.cancel_reason_doc,callback:function(t){e.$set(e.form.model,"cancel_reason_doc",t)},expression:"form.model.cancel_reason_doc"}})],1),e._v(" "),t("el-form-item",{staticClass:"d-flex flex-column",attrs:{label:"Cancel Reason","label-width":"0"}},[t("el-input",{attrs:{placeholder:"Cancel Reason",type:"textarea",rows:5,resize:"none"},model:{value:e.form.model.cancel_reason,callback:function(t){e.$set(e.form.model,"cancel_reason",t)},expression:"form.model.cancel_reason"}})],1)],1),e._v(" "),t("template",{slot:"footer"},[t("el-button",{staticClass:"refuse-btn",on:{click:function(t){return e.$emit("update:visible",!1)}}},[e._v("\n      Close\n    ")]),e._v(" "),t("el-button",{staticClass:"agree-btn",on:{click:function(t){return e.$emit("onCancel")}}},[e._v(" Confirm ")])],1)],2)};ts._withStripped=!0;var as=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("div",{staticClass:"flex-align flex-wrap twen-select-tag"},[e._l(e.value,(function(a){return t("el-tag",{key:a,attrs:{closable:"","disable-transitions":!1},on:{close:function(t){return e.onTagRemove(a)}}},[e._v("\n      "+e._s(e.getLabel(a))+"\n    ")])})),e._v(" "),e.options&&e.options.length?t("el-select",{attrs:{placeholder:e.placeholder,value:void 0},on:{change:e.onSelectChange}},[e._t("prefix",null,{slot:"prefix"}
1),e._v(" "),e._l(e.options,(function(a){return t("el-option",{key:a.id,attrs:{label:a.label,value:a.value}},[e._t("default",null,{item:a})],2)})),e._v(" "),e._t("empty",null,{slot:"empty"})],2):e._e()],2)};as._withStripped=!0;var os=a(27698),ls=a.n(os),ns=(a(67233),function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}()),rs=function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r},is=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},ss=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.api=x(),t.data=[],t}var a;return ns(t,e),Object.defineProperty(t.prototype,"options",{get:function(){var e=this;return this.data&&this.data.length?this.data.filter((function(t){return!e.value||!e.value.find((function(a){return a===t[e.valueKey]}))})):[]},enumerable:!1,configurable:!0}),t.prototype.beforeMount=function(){var e=this;"string"==typeof this.loader&&this.load(),Array.isArray(this.loader)&&(this.data=this.loader.map((function(t){return"string"==typeof t?{id:t,label:t,value:t}:{id:t[e.valueKey],label:t[e.labelKey],value:t[e.valueKey]}})))},t.prototype.load=function(){var e=this,t=this.beforeLoad||function(e){return e},a=this.afterLoad||function(t){return t.map((function(t){return{id:t[e.valueKey],label:t[e.labelKey],value:t[e.valueKey]}}))};Promise.resolve(t(this.params)).then((function(t){return e.api.get(e.loader,t)})).then((function(t){e.data=a(t)}))},t.prototype.getLabel=function(e){var t=this.data&&this.data.find((function(t){return t.value===e}));return t?t.label:e},t.prototype.onSelectChange=function(e){this.$emit("input",this.value?this.value.concat(e):[e])},t.prototype.onTagRemove=function(e){this.$emit("input",this.value?this.value.filter((function(t){return t!==e})):[])},t.prototype.mounted=function(){this.placeholder=this.placeholder||this.$t("lang.selectPlaceholder")},rs([(0,o.fI)({required:!1,default:function(){return[]}}),is("design:type",Array)],t.prototype,"value",void 0),rs([(0,o.fI)(),is("design:type",Object)],t.prototype,"loader",void 0),rs([(0,o.fI)(),is("design:type",String)],t.prototype,"placeholder",void 0),rs([(0,o.fI)(),is("design:type","function"==typeof(a=void 0!==r.AxiosRequestConfig&&r.AxiosRequestConfig)?a:Object)],t.prototype,"params",void 0),rs([(0,o.fI)(),is("design:type",Function)],t.prototype,"beforeLoad",void 0),rs([(0,o.fI)(),is("design:type",Function)],t.prototype,"afterLoad",void 0),rs([(0,o.fI)({required:!1,default:"label"}),is("design:type",String)],t.prototype,"labelKey",void 0),rs([(0,o.fI)({required:!1,default:"value"}),is("design:type",String)],t.prototype,"valueKey",void 0),rs([(0,o.wA)({components:{ElTag:ls(),ElButton:Me(),ElSelect:$r(),ElOption:xr()}})],t)}(o.w3),cs=ss,ds=(a(87042),(0,z.Z)(cs,as,[],!1,null,null,null).exports),ps=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("div",[t("el-upload",e._g(e._b({ref:"upload",staticClass:"el-upload-container",attrs:{limit:e.limit,"file-list":e.list,"on-preview":e.onPreview,"on-remove":e.onRemove,"on-success":e.onSuccess,disabled:e.disable}},"el-upload",e.$attrs,!1),e.$listeners),[e.onlyBtn?[t("el-button",{staticClass:"placeholder-btn"},[e._v(e._s(e.placeholder))])]:[2===e.limit&&1===e.actualLimit&&e.list&&e.list.length>0?[e._t("file",null,{list:e.list}),e._v(" "),e.$slots.file||e.$scopedSlots.file?e._e():t("el-image",{attrs:{urlList:e.list[1]?[{url:e.list[1].url}]:[{url:e.list[0].url}],showDeleteIcon:!0,styles:{width:"98px",height:"98px"}},on:{delete:e.onRemove,"zoom-in":e.onUploadDisable}})]:[e.showIcon?t("div",{staticClass:"upload-text-content"},[e.icon?t("el-svg-icon",{attrs:{name:e.icon,width:e.iconWidth,height:e.iconHeight}}):t("i",{staticClass:"el-icon-plus"}),e._v(" "),t("p",{staticClass:"placeholder"}
1,[e._v(e._s(e.placeholder))])],1):e._e()]]],2),e._v(" "),t("el-media-viewer-dialog",{attrs:{visible:e.visible,url:e.current.url,urlList:e.list,urlType:"image"},on:{"update:visible":function(t){e.visible=t}}})],1)};ps._withStripped=!0;var us=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-dialog",e._g(e._b({staticClass:"twen-media-viewer-dialog",attrs:{visible:e.$attrs.visible||e.visible,"close-on-click-modal":!1}},"el-dialog",e.$attrs,!1),e.$listeners),[e.urlList&&e.urlList.length>1?t("el-button",{staticClass:"left-btn",attrs:{icon:"el-icon-arrow-left"},on:{click:function(t){return e.onChangeShowPicture("dec")}}}):e._e(),e._v(" "),"image"===e.urlType&&e.urlList[e.urlIndex]?[e.urlList[e.urlIndex].url?t("img",{attrs:{src:e.needBaseUrl?e.baseUrl+e.urlList[e.urlIndex].url:e.urlList[e.urlIndex].url}}):t("img",{attrs:{src:e.needBaseUrl?e.baseUrl+e.urlList[e.urlIndex]:e.urlList[e.urlIndex]}})]:e._e(),e._v(" "),e.urlList&&e.urlList.length>1?t("el-button",{staticClass:"right-btn",attrs:{icon:"el-icon-arrow-right"},on:{click:function(t){return e.onChangeShowPicture("add")}}}):e._e(),e._v(" "),"video"===e.urlType?t("video",{staticStyle:{"object-fit":"fill"},attrs:{src:e.needBaseUrl?e.baseUrl+e.url:e.url,autoplay:""}}):e._e()],2)};us._withStripped=!0;var ms=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),fs=function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r},_s=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},gs=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.urlIndex=0,t}return ms(t,e),t.prototype.onGetUrlIndex=function(e){var t=this;this.urlList&&this.urlList.forEach((function(a,o){return("string"==typeof a?a===e:a.url===e)?t.urlIndex=o:null}))},t.prototype.onChangeShowPicture=function(e){var t,a;this.urlIndex="add"===e?this.urlIndex===(null===(t=this.urlList)||void 0===t?void 0:t.length)-1?0:this.urlIndex+1:0===this.urlIndex?(null===(a=this.urlList)||void 0===a?void 0:a.length)-1:this.urlIndex-1},t.prototype.mounted=function(){},fs([(0,o.fI)({default:!1,required:!0}),_s("design:type",Boolean)],t.prototype,"visible",void 0),fs([(0,o.fI)(),_s("design:type",String)],t.prototype,"url",void 0),fs([(0,o.fI)({default:function(){return[]},required:!1}),_s("design:type",Array)],t.prototype,"urlList",void 0),fs([(0,o.fI)({default:"image",required:!1}),_s("design:type",String)],t.prototype,"urlType",void 0),fs([(0,o.fI)({default:!1,required:!1}),_s("design:type",Boolean)],t.prototype,"needBaseUrl",void 0),fs([(0,o.fI)({default:"/api/afs/shop/",required:!1}),_s("design:type",String)],t.prototype,"baseUrl",void 0),fs([(0,o.RL)("url"),_s("design:type",Function),_s("design:paramtypes",[String]),_s("design:returntype",void 0)],t.prototype,"onGetUrlIndex",null),fs([(0,o.wA)({components:{ElDialog:ne(),ElButton:Me()}})],t)}(o.w3),hs=gs,vs=(a(53258),(0,z.Z)(hs,us,[],!1,null,null,null).exports),bs=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("div",{staticClass:"twen-image"},[e.urlList?[e._l(e.urlList,(function(a,o){return t("div",{key:o,staticClass:"image-view",style:e.styles,on:{mouseenter:function(t){return e.onMouseenter(o)},mouseleave:e.onMouseleave}},[a.url?t("img",{attrs:{src:e.needBaseUrl?e.baseUrl+a.url:a.url}}):t("img",{attrs:{src:e.needBaseUrl?e.baseUrl+a:a}}),e._v(" "),e.showOperation&&e.currentIndex===o?t("div",{staticClass:"operation-btn-list"},[t("el-button",{attrs:{icon:"el-icon-zoom-in"},on:{click:function(t){return t.preventDefault(),t.stopPropagation(),e.onShowDialog.apply(null,arguments)}}}),e._v(" "),e.showDeleteIcon?t("el-button",{attrs:{icon:"el-icon-delete"},on:{click:function(t){return t.stopPropagation(),t.preventDefault(),e.$emit("delete")}}}
1):e._e()],1):e._e()])})),e._v(" "),t("el-media-viewer-dialog",{attrs:{visible:e.visible,url:e.urlList[e.currentIndex].url||e.urlList[e.currentIndex],urlList:e.urlList,urlType:"image",needBaseUrl:e.needBaseUrl,"append-to-body":e.zoomAppendToBody},on:{"update:visible":function(t){e.visible=t},close:e.onCloseDialog}})]:e._e()],2)};bs._withStripped=!0;var ws=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),ys=function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r},$s=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},Cs=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.visible=!1,t.currentIndex=0,t.showOperation=!1,t}return ws(t,e),t.prototype.onShowDialog=function(e){this.visible=!0,this.$emit("zoom-in",!0)},t.prototype.onMouseenter=function(e){this.currentIndex=e,this.showOperation=!0},t.prototype.onMouseleave=function(){this.showOperation=!1},t.prototype.onCloseDialog=function(){var e=this;setTimeout((function(){e.$emit("zoom-in",!1)}),200)},ys([(0,o.fI)({required:!1,default:"/api/afs/shop/"}),$s("design:type",String)],t.prototype,"baseUrl",void 0),ys([(0,o.fI)(),$s("design:type",Array)],t.prototype,"urlList",void 0),ys([(0,o.fI)({required:!1,default:function(){return{width:"80px",height:"80px"}}}),$s("design:type",Object)],t.prototype,"styles",void 0),ys([(0,o.fI)({required:!1,default:!1}),$s("design:type",Boolean)],t.prototype,"needBaseUrl",void 0),ys([(0,o.fI)({required:!1,default:!1}),$s("design:type",Boolean)],t.prototype,"showDeleteIcon",void 0),ys([(0,o.fI)({required:!1,default:!1}),$s("design:type",Boolean)],t.prototype,"zoomAppendToBody",void 0),ys([(0,o.wA)({components:{ElButton:Me(),ElMediaViewerDialog:vs}})],t)}(o.w3),xs=Cs,Ss=(a(3671),(0,z.Z)(xs,bs,[],!1,null,null,null).exports),Es=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),ks=function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r},Os=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},As=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.current={url:""},t.disable=!1,t.list=[],t.visible=!1,t}var a;return Es(t,e),Object.defineProperty(t.prototype,"endpoint",{get:function(){return this.baseUrl||this.$attrs.action},enumerable:!1,configurable:!0}),t.prototype.beforeMount=function(){this.onValue(this.value)},t.prototype.aa=function(){console.log("$slots",this.$scopedSlots)},t.prototype.onValue=function(e){var t=this,a=2===this.limit&&1===this.actualLimit&&"string"==typeof this.value?[this.value]:this.value;this.list=a?a.filter((function(e){return!!e})).map((function(e){return{name:e.substring(e.lastIndexOf("/")+1),url:"".concat(t.endpoint,"/").concat(e)}})):this.$attrs["file-list"]},t.prototype.onPreview=function(e){this.current=e,console.log("current",this.current),this.visible=!!this.$slots.preview||!!this.$scopedSlots.preview,this.$attrs["on-preview"]&&this.$attrs["on-preview"](e)},t.prototype.onRemove=function(e,t){this.$emit("input",2===this.limit&&1===this.actualLimit?void 0:this.value.filter((function(t){return e.response?e.response.data.filename!==t:e.name!==t}))),this.$attrs["on-remove"]&&this.$attrs["on-remove"](e,t)},t.prototype.onSuccess=function(e,t,a){console.log("onSuccess",t,e.data.filename),this.$emit("input",2===this.limit&&1===this.actualLimit?"".concat(e.data.filename):this.value.concat(e.data.filename)),this.$attrs["on-success"]&&this.$attrs["on-success"](e,t,a)},t.prototype.onUploadDisable=function(e){console.log("value",e),this.disable=e},ks([(0,o.fI)(),Os("design:type",String)],t.prototype,"baseUrl",void 0),ks([(0,o.fI)({default:function(){return[]},required:!1}),Os("design:type",Array)],t.prototype,"value",void 0),ks([(0,o.fI)({default:"上传图片",required:!1}),Os("design:type",String)],t.prototype,"placeholder",void 0),ks([(0,o.fI)(),Os("design:type",Number)],t.prototype,"limit",void 0),ks([(0,o.fI)(),Os("design:type",Number)],t.prototype,"actualLimit",void 0),ks([(0,o.fI)(),Os("design:type",String)],t.prototype,"icon",void 0),ks([(0,o.Rl)("upload"),Os("design:type","function"==typeof(a=void 0!==bo()&&bo())?a:Object)],t.prototype,"upload",void 0),ks([(0,o.fI)({required:!1,default:!0}),Os("design:type",Boolean)],t.prototype,"showIcon",void 0),ks([(0,o.fI)(),Os("design:type",Number)],t.prototype,"iconWidth",void 0),ks([(0,o.fI)(),Os("design:type",Number)],t.prototype,"iconHeight",void 0),ks([(0,o.fI)(),Os("design:type",Boolean)],t.prototype,"onlyBtn",void 0),ks([(0,o.RL)("$scopedSlots",{deep:!0}
1),Os("design:type",Function),Os("design:paramtypes",[]),Os("design:returntype",void 0)],t.prototype,"aa",null),ks([(0,o.RL)("value"),Os("design:type",Function),Os("design:paramtypes",[Object]),Os("design:returntype",void 0)],t.prototype,"onValue",null),ks([(0,o.wA)({components:{ElUpload:bo(),ElDialog:ne(),ElSvgIcon:Ie,ElMediaViewerDialog:vs,ElImage:Ss}})],t)}(o.w3),Ps=As,Ts=(0,z.Z)(Ps,ps,[],!1,null,null,null).exports,Ds=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),Rs=function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r},Is=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},Fs=(x(),function(e){function t(){return null!==e&&e.apply(this,arguments)||this}var a;return Ds(t,e),Rs([(0,o.fI)(),Is("design:type",Boolean)],t.prototype,"visible",void 0),Rs([(0,o.fI)(),Is("design:type","function"==typeof(a=void 0!==K&&K)?a:Object)],t.prototype,"form",void 0),Rs([(0,o.wA)({components:{ElDialog:pe,ElForm:ae,ElFormItem:pt,ElInput:Ze(),ElSelect:Pr,ElOption:xr(),ElButton:Ge,ElSelectTag:ds,ElColumnRow:ke,ElSvgIcon:Ie,ElUpload:Ts,ElDocumentUpload:Eo}})],t)}(o.w3)),Ls=Fs,qs=(0,z.Z)(Ls,ts,[],!1,null,null,null).exports,Ms=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),js=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.api=x(),t.baseUrl="/api/afs/wsd",t.searchStatusOptions="en-US"===t.$i18n.locale?Ul:"zh-CN"===t.$i18n.locale?Hl:Wl,t.applyStatusOption="en-US"===t.$i18n.locale?zl:"zh-CN"===t.$i18n.locale?Nl:Bl,t.gaApplyTypeOption="en-US"===t.$i18n.locale?ml:"zh-CN"===t.$i18n.locale?fl:_l,t.brandOption=[{name:"All",id:"0"},{name:"3M",id:"1"},{name:"ACE",id:"2"}],t.treaty="(1) On behalf of the Company, we / I * would like to submit the specified information or documents for application of general acceptance of our product(s) in compliance with the Waterworks Ordinance and Regulations;\n  \n(2) We / I * declare that all materials specified for the product(s) substantiated by supporting documents for GA application are for genuine use in manufacturing of such product(s);\n\n(3) We / I * declare that the sample provided for testing and certification by any accredited testing agent is the representative sample of the model submitted for GA application, and all such GA products manufactured shall be replicas of that sample, without modifications or change of specified materials of construction; and\n\n(4) We / I * declare that all the particulars and documents submitted in/with this application have been  checked and found in order.",t.showTreatyDialiog=!1,t.table=new Z({loader:"/public/ga/applications/list/:page",params:{filters:!0},actions:{delete:{method:"delete",url:"/public/ga/applications",after:"load"}}}),t.cancelForm=new K({}),t}return Ms(t,e),t.prototype.onChange=function(e){switch(console.log("value",e),e){case"zh-CN":this.applyStatusOption=Nl,this.gaApplyTypeOption=fl;break;case"en-US":this.applyStatusOption=zl,this.gaApplyTypeOption=ml;break;case"zh-HK":this.applyStatusOption=Bl,this.gaApplyTypeOption=_l}},t.prototype.onCancel=function(){var e=this;this.api.delete("/public/ga/applications/cancel",{data:this.cancelForm.model}).then((function(t){e.table.reload(),e.cancelForm.close(),E().success({message:e.$t("lang.cancelSuccess"),showClose:!0,duration:5e3})}))},t.prototype.onAdd=function(){this.$router.push("/applications/ga/apply")},t.prototype.onLaboratory=function(e){var t=this,a=n().service({lock:!0});this.api.post("/public/ga/applications/laboratory/notify/".concat(e)).then((function(e){a.close(),t.table.reload(),E().success({message:t.$t("lang.notifyLabLinkSuccess"),showClose:!0,duration:5e3})})).catch((function(e){a.close()}))},t.prototype.onDownloadLetter=function(e){var t=this;this.api.get("/public/ga/applications/approval_letter/".concat(e)).then((function(e){console.log("res",e),window.open("".concat(t.baseUrl,"/").concat(e.filename),"_blank")}))},t.prototype.mounted=function(){var e,t,a=document.getElementsByClassName("btn-prev"),o=document.getElementsByClassName("btn-next"),l=document.getElementsByClassName("el-range-input"),n=document.getElementsByClassName("el-table__cell gutter");for(var r in null===(e=a[0])||void 0===e||e.setAttribute("aria-label","pagination-btn-prev-label"),null===(t=o[0])||void 0===t||t.setAttribute("aria-label","pagination-btn-next-label"),l)Object.prototype.hasOwnProperty.call(l,r)&&(null==(i=l[r])||i.setAttribute("id","ga_list_application_time_params_input_"+r));for(var r in n){var i;Object.prototype.hasOwnProperty.call(n,r)&&(null==(i=n[r])||i.append("1"),null==i||i.setAttribute("style","width: 0px; display: none; color: #3A6573; backgroundColor: #ffffff;"))}},function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r}
1([(0,o.wA)({components:{ElAdminContainer:Da,ElCard:fe(),ElSelect:Pr,ElOption:xr(),ElForm:ae,ElFormItem:pt,ElColumnRow:ke,ElDatePicker:Ho(),ElButton:Ge,ElTable:go,ElTableColumn:Uo(),ElTableToolbar:Nr,ElPagination:Kr,ElApplyTreatyDialog:es,ElCancelDialog:qs}})],t)}(o.w3),zs=js,Ns=(a(87043),(0,z.Z)(zs,Vi,[],!1,null,null,null).exports),Bs=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-admin-container",{class:["page-ga-apply","page-review-application","en-US"===e.$i18n.locale?"page-ga-apply-en":"page-ga-apply-other"],attrs:{breadcrumb:e.breadcrumb,showMenusPart:!0}},[t("el-part-menus",{attrs:{slot:"part-menus",menus:e.partList,active:e.partMaxActive},on:{"on-scroll-to":e.onScrollTo},slot:"part-menus"}),e._v(" "),t("div",{staticClass:"container entry-application-content"},[t("el-form",{attrs:{store:e.form,hasLabelSuffix:!1,rules:e.form.rules}},[t("el-card",{staticClass:"entry-application-item-card particular-card",attrs:{shadow:"never",id:"applicant-particular"}},[t("p",{staticClass:"application-item-card-title",attrs:{slot:"header"},slot:"header"},[e._v("\r\n          "+e._s(e.$t("lang.applicant_particular"))+"\r\n        ")]),e._v(" "),t("el-form-item",{class:["en-US"===e.$i18n.locale?"label-width-auto":""],attrs:{label:e.$t("lang.company_name"),percent:.6,prop:"applicant_particular_name"}},[t("label",{attrs:{for:"ga_form_applicant_particular_name",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"ga_form_applicant_particular_name",placeholder:e.$t("lang.company_name"),readonly:!e.canEdit&&e.form.model.particular_review&&1===e.form.model.particular_review.status},model:{value:e.form.model.applicant_particular_name,callback:function(t){e.$set(e.form.model,"applicant_particular_name",t)},expression:"form.model.applicant_particular_name"}})],1),e._v(" "),t("el-form-item",{class:["en-US"===e.$i18n.locale?"label-width-auto":""],attrs:{label:e.$t("lang.particular_address"),percent:.6,prop:"applicant_particular_address"}},[t("label",{attrs:{for:"ga_form_applicant_particular_address",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"ga_form_applicant_particular_address",placeholder:e.$t("lang.particular_address"),readonly:!e.canEdit&&e.form.model.particular_review&&1===e.form.model.particular_review.status},model:{value:e.form.model.applicant_particular_address,callback:function(t){e.$set(e.form.model,"applicant_particular_address",t)},expression:"form.model.applicant_particular_address"}})],1),e._v(" "),t("el-column-row",{staticClass:"concat-row"},[t("el-form-item",{attrs:{label:e.$t("lang.contact_person"),percent:.4,prop:"applicant_particular_contact_person"}},[t("label",{attrs:{for:"ga_form_applicant_particular_contact_person",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"ga_form_applicant_particular_contact_person",placeholder:e.$t("lang.contact_person"),readonly:!e.canEdit&&e.form.model.particular_review&&1===e.form.model.particular_review.status},model:{value:e.form.model.applicant_particular_contact_person,callback:function(t){e.$set(e.form.model,"applicant_particular_contact_person",t)},expression:"form.model.applicant_particular_contact_person"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.telephone_number"),percent:.4,prop:"applicant_particular_contact_phone"}},[t("label",{attrs:{for:"ga_form_applicant_particular_contact_phone",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"ga_form_applicant_particular_contact_phone",placeholder:e.$t("lang.telephone_number"),readonly:!e.canEdit&&e.form.model.particular_review&&1===e.form.model.particular_review.status},model:{value:e.form.model.applicant_particular_contact_phone,callback:function(t){e.$set(e.form.model,"applicant_particular_contact_phone",t)},expression:"form.model.applicant_particular_contact_phone"}})],1)],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("lang.email"),percent:.6,prop:"applicant_particular_contact_mail"}},[t("label",{attrs:{for:"ga_form_applicant_particular_contact_mail",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"ga_form_applicant_particular_contact_mail",placeholder:e.$t("lang.email"),readonly:!e.canEdit&&e.form.model.particular_review&&1===e.form.model.particular_review.status},model:{value:e.form.model.applicant_particular_contact_mail,callback:function(t){e.$set(e.form.model,"applicant_particular_contact_mail",t)},expression:"form.model.applicant_particular_contact_mail"}})],1),e._v(" "),e.form.model.particular_review&&0===e.form.model.particular_review.status?t("el-form-item",{staticClass:"rejection-reasons-form-item label-width-zero content-item-view",attrs:{label:e.$t("lang.reasonsForRejection"),"label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none",readonly:!0},model:{value:e.form.model.particular_review.rejection,callback:function(t){e.$set(e.form.model.particular_review,"rejection",t)},expression:"form.model.particular_review.rejection"}}
1)],1):e._e()],1),e._v(" "),t("el-card",{staticClass:"entry-application-item-card",attrs:{shadow:"never",id:"application-items"}},[t("p",{staticClass:"application-item-card-title",attrs:{slot:"header"},slot:"header"},[e._v("\r\n          "+e._s(e.$t("lang.application_items"))+"\r\n        ")]),e._v(" "),t("el-form-item",{staticClass:"d-flex flex-column label-width-zero label-line-height-1",attrs:{label:e.$t("lang.type_of_application"),"label-width":"0",prop:"ga_items"}},[t("el-checkbox-group",{staticClass:"d-flex flex-column",attrs:{disabled:!e.canEdit&&e.form.model.ga_item_review&&1===e.form.model.ga_item_review.status},on:{change:e.onChangeItems},model:{value:e.form.model.ga_items,callback:function(t){e.$set(e.form.model,"ga_items",t)},expression:"form.model.ga_items"}},e._l(e.gaItemsOption,(function(a){return t("el-checkbox",{key:a.id,attrs:{label:a.id}},[e._v(e._s(a.name))])})),1)],1),e._v(" "),e.form.model.ga_item_review&&0===e.form.model.ga_item_review.status?t("el-form-item",{staticClass:"rejection-reasons-form-item label-width-zero content-item-view",attrs:{label:e.$t("lang.reasonsForRejection"),"label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none",readonly:!0},model:{value:e.form.model.ga_item_review.rejection,callback:function(t){e.$set(e.form.model.ga_item_review,"rejection",t)},expression:"form.model.ga_item_review.rejection"}})],1):e._e()],1),e._v(" "),e.checkItem("ga")?[t("el-card",{staticClass:"entry-application-item-card pipe-and-fitting-card",attrs:{shadow:"never",id:"ga-application"}},[t("p",{staticClass:"application-item-card-title",attrs:{slot:"header"},slot:"header"},[e._v("\r\n            "+e._s(e.$t("lang.gaApplicationPipeAndFitting"))+"\r\n          ")]),e._v(" "),t("el-form-item",{staticClass:"label-width-zero",attrs:{"label-width":"0"}},[t("el-radio-group",{attrs:{disabled:!e.canEdit&&e.form.model.ga_review&&1===e.form.model.ga_review.status},model:{value:e.form.model.ga_scheme,callback:function(t){e.$set(e.form.model,"ga_scheme",t)},expression:"form.model.ga_scheme"}},[t("el-radio",{attrs:{label:"ga_new",name:e.$t("lang.new_application")}}),e._v(" "),t("el-column-row",{staticClass:"ga-type-radio-column-two",attrs:{percent:.6}},[t("el-radio",{attrs:{label:"ga_exists",name:e.$t("lang.renew_application")}},[t("el-form-item",{staticClass:"renewal-application-view item-flex-align-center",attrs:{prop:"ga_existing_letter_no"}},[t("p",{staticClass:"label"},[e._v(e._s(e.$t("lang.existingGALetterNo")))]),e._v(" "),t("label",{attrs:{for:"ga_form_ga_existing_letter_no",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"ga_form_ga_existing_letter_no",placeholder:e.$t("lang.existingGALetterNo"),readonly:!e.canEdit&&e.form.model.ga_review&&1===e.form.model.ga_review.status},model:{value:e.form.model.ga_existing_letter_no,callback:function(t){e.$set(e.form.model,"ga_existing_letter_no",t)},expression:"form.model.ga_existing_letter_no"}})],1)],1)],1)],1)],1),e._v(" "),t("el-form-item",{staticClass:"d-flex flex-column margin-bottom-15 label-width-zero",attrs:{"label-width":"0",label:e.$t("lang.waterSupplySystemToBeUsedGA"),prop:"ga_water_supply_system_items"}},[t("el-checkbox-group",{attrs:{disabled:!e.canEdit&&e.form.model.ga_review&&1===e.form.model.ga_review.status},model:{value:e.form.model.ga_water_supply_system_items,callback:function(t){e.$set(e.form.model,"ga_water_supply_system_items",t)},expression:"form.model.ga_water_supply_system_items"}},e._l(e.WaterSupplySystemOption,(function(a){return t("el-checkbox",{key:a.id,attrs:{label:a.id}},[e._v(e._s(a.name))])})),1)],1),e._v(" "),t("el-form-item",{class:["en-US"===e.$i18n.locale?"label-width-auto":""],attrs:{label:e.$t("lang.product_description"),percent:.6,prop:"ga_product_description"}},[t("label",{attrs:{for:"ga_form_ga_product_description",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"ga_form_ga_product_description",type:"textarea",rows:5,placeholder:e.$t("lang.product_description"),resize:"none",readonly:!e.canEdit&&e.form.model.ga_review&&1===e.form.model.ga_review.status},model:{value:e.form.model.ga_product_description,callback:function(t){e.$set(e.form.model,"ga_product_description",t)},expression:"form.model.ga_product_description"}})],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("lang.product_brand_name"),percent:.6,prop:"ga_product_brand_name"}},[t("label",{attrs:{for:"ga_form_ga_product_brand_name",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"ga_form_ga_product_brand_name",placeholder:e.$t("lang.product_brand_name"),readonly:!e.canEdit&&e.form.model.ga_review&&1===e.form.model.ga_review.status},model:{value:e.form.model.ga_product_brand_name,callback:function(t){e.$set(e.form.model,"ga_product_brand_name",t)},expression:"form.model.ga_product_brand_name"}})],1),e._v(" "),t("el-form-item",{class:["en-US"===e.$i18n.locale?"label-width-auto":""],attrs:{label:e.$t("lang.manufacturer_name"),percent:.6,prop:"ga_product_manufacturer_name"}},[t("label",{attrs:{for:"ga_form_ga_product_manufacturer_name",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"ga_form_ga_product_manufacturer_name",placeholder:e.$t("lang.manufacturer_name"),readonly:!e.canEdit&&e.form.model.ga_review&&1===e.form.model.ga_review.status},model:{value:e.form.model.ga_product_manufacturer_name,callback:function(t){e.$set(e.form.model,"ga_product_manufacturer_name",t)},expression:"form.model.ga_product_manufacturer_name"}})],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("lang.factory_name"),percent:.6,prop:"ga_product_factory_name"}},[t("label",{attrs:{for:"ga_form_ga_product_factory_name",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"ga_form_ga_product_factory_name",placeholder:e.$t("lang.factory_name"),readonly:!e.canEdit&&e.form.model.ga_review&&1===e.form.model.ga_review.status},model:{value:e.form.model.ga_product_factory_name,callback:function(t){e.$set(e.form.model,"ga_product_factory_name",t)},expression:"form.model.ga_product_factory_name"}})],1),e._v(" "),t("el-form-item",{class:["en-US"===e.$i18n.locale?"label-width-auto":""],attrs:{label:e.$t("lang.factory_address"),percent:.6,prop:"ga_product_factory_address"}},[t("label",{attrs:{for:"ga_form_ga_product_factory_address",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"ga_form_ga_product_factory_address",placeholder:e.$t("lang.factory_address"),readonly:!e.canEdit&&e.form.model.ga_review&&1===e.form.model.ga_review.status},model:{value:e.form.model.ga_product_factory_address,callback:function(t){e.$set(e.form.model,"ga_product_factory_address",t)},expression:"form.model.ga_product_factory_address"}})],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("lang.country_origin"),percent:.6,prop:"ga_product_country_origin"}},[t("label",{attrs:{for:"ga_form_ga_product_country_origin",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"ga_form_ga_product_country_origin",placeholder:e.$t("lang.country_origin"),readonly:!e.canEdit&&e.form.model.ga_review&&1===e.form.model.ga_review.status},model:{value:e.form.model.ga_product_country_origin,callback:function(t){e.$set(e.form.model,"ga_product_country_origin",t)},expression:"form.model.ga_product_country_origin"}})],1),e._v(" "),e.form.model.ga_review&&0===e.form.model.ga_review.status?t("el-form-item",{staticClass:"rejection-reasons-form-item label-width-zero content-item-view",attrs:{label:e.$t("lang.reasonsForRejection"),"label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none",readonly:!0},model:{value:e.form.model.ga_review.rejection,callback:function(t){e.$set(e.form.model.ga_review,"rejection",t)},expression:"form.model.ga_review.rejection"}}
1)],1):e._e()],1),e._v(" "),t("el-card",{staticClass:"entry-application-item-card",attrs:{shadow:"never",id:"ga-product-models"}},[t("p",{staticClass:"application-item-card-title",attrs:{slot:"header"},slot:"header"},[e._v("\r\n            "+e._s(e.$t("lang.product_models"))+"\r\n          ")]),e._v(" "),t("el-form-item",{staticClass:"d-flex flex-column table-form-item label-width-zero",attrs:{"label-width":"0",prop:"ga_product_models"}},[t("el-table",{attrs:{data:e.form.model.ga_product_models,border:"",hasHeight:!1}},[t("el-table-column",{attrs:{label:e.$t("lang.model_name"),prop:"name",align:"center",width:"130","show-overflow-tooltip":""}}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.water_inlet_size"),prop:"water_inlet_size",align:"center",width:"130","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(e._f("array")(t.row.water_inlet_size,"、")))]}}],null,!1,276140826)}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.laboratory_names"),prop:"water_inlet_size",align:"center",width:"160","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\r\n                  "+e._s(e._f("options")(t.row.laboratory_id,e.laboratorList))+"\r\n                ")]}}],null,!1,2107755057)}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.supporting_document_no"),prop:"test_report_no",align:"center",width:"150","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\r\n                    "+e._s(e._f("array")(t.row.test_report_no,"、"))+"\r\n                  ")]}}],null,!1,2887892073)}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.supporting_doc"),"class-name":"cell-justify-center d-flex-1",align:"center"},scopedSlots:e._u([{key:"default",fn:function(a){return a.row.supporting_documents&&a.row.supporting_documents.length?e._l(a.row.supporting_documents,(function(a){return t("el-link",{key:a.id,staticClass:"doc-link",attrs:{target:"_blank",underline:!1,href:`${e.baseUrl}/${a.supporting_doc.filename}`}},[t("i",{staticClass:"iconfont ico_file_ppt"}),e._v("\r\n                    "+e._s(`${a.supporting_doc.name}(${a.supporting_document_no})`)+"\r\n                  ")])})):void 0}}],null,!0)}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.bsi"),prop:"bsi_cert_no",align:"center",width:"160","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\r\n                  "+e._s(e._f("array")(t.row.bsi_cert_no,"、"))+"\r\n                ")]}}],null,!1,2481290857)}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.wras"),prop:"wras_cert_no",align:"center",width:"150","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\r\n                  "+e._s(e._f("array")(t.row.wras_cert_no,"、"))+"\r\n                ")]}}],null,!1,1475775270)}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.bsiCertDoc"),"class-name":"cell-justify-center d-flex-1",align:"center",width:"150","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(a){return a.row.kitemark_cert_doc&&a.row.kitemark_cert_doc.length?e._l(a.row.kitemark_cert_doc,(function(a){return t("el-link",{key:a.id,staticClass:"doc-link",attrs:{target:"_blank",underline:!1,href:`${e.baseUrl}/${a.filename}`}},[t("i",{staticClass:"iconfont ico_file_ppt"}),e._v("\r\n                    "+e._s(`${a.name}`)+"\r\n                  ")])})):void 0}}],null,!0)}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.wrasCertDoc"),"class-name":"cell-justify-center d-flex-1",align:"center",width:"150","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(a){return a.row.wraps_cert_doc&&a.row.wraps_cert_doc.length?e._l(a.row.wraps_cert_doc,(function(a){return t("el-link",{key:a.id,staticClass:"doc-link",attrs:{target:"_blank",underline:!1,href:`${e.baseUrl}/${a.filename}`}},[t("i",{staticClass:"iconfont ico_file_ppt"}),e._v("\r\n                    "+e._s(`${a.name}`)+"\r\n                  ")])})):void 0}}],null,!0)}),e._v(" "),!e.canEdit&&e.form.model.ga_model_review&&0===e.form.model.ga_model_review.status||!e.form.model.ga_model_review||-1===e.form.model.status?t("el-table-column",{attrs:{label:e.$t("lang.action.action"),align:"center",width:"100","class-name":"cell-flex-row cell-align-center cell-justify-center"},scopedSlots:e._u([{key:"default",fn:function(a){return[t("el-button",{staticClass:"no-border-btn width-auto action-delete-btn",attrs:{confirm:"whether to delete this column?",icon:"iconfont ico_delete1"},on:{confirm:function(t){return e.onRemoveModel(e.gaModelType,a.$index)}}}),e._v(" "),t("el-button",{staticClass:"no-border-btn width-auto margin-left-0",attrs:{icon:"iconfont WechatIMG27203"},on:{click:function(t){return e.onEditProductModels(e.gaModelType,a.row,a.$index,"edit")}}})]}}],null,!1,3503669383)}
1):e._e()],1),e._v(" "),!e.canEdit&&e.form.model.ga_model_review&&0===e.form.model.ga_model_review.status||!e.form.model.ga_model_review||-1===e.form.model.status?t("el-button",{staticClass:"form-table-add-btn fill-blue-unhover-btn",on:{click:function(t){return e.onAddProductModels(e.gaModelType)}}},[t("i",{staticClass:"iconfont ico_create1"}),e._v("\r\n              "+e._s(e.$t("lang.action.add"))+"\r\n            ")]):e._e()],1),e._v(" "),e.form.model.ga_model_review&&0===e.form.model.ga_model_review.status?t("el-form-item",{staticClass:"rejection-reasons-form-item label-width-zero content-item-view",attrs:{label:e.$t("lang.reasonsForRejection"),"label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none",readonly:!0},model:{value:e.form.model.ga_model_review.rejection,callback:function(t){e.$set(e.form.model.ga_model_review,"rejection",t)},expression:"form.model.ga_model_review.rejection"}})],1):e._e()],1),e._v(" "),t("el-card",{staticClass:"entry-application-item-card",attrs:{shadow:"never"}},[t("div",{staticClass:"has-mark-btn-header",attrs:{slot:"header"},slot:"header"},[t("p",{staticClass:"application-item-card-title"},[e._v("\r\n              "+e._s(e.$t("lang.product_catalog_books"))+"\r\n            ")]),e._v(" "),t("el-button",{staticClass:"no-border-btn question-mark-btn",attrs:{"aria-label":"ga_form_product_catalog_books",icon:"iconfont a-ico_"},on:{click:function(t){return e.onShowTextDialog("productCatalogBooks")}}})],1),e._v(" "),t("el-form-item",{staticClass:"product-catalog-form-item d-flex flex-column table-form-item label-flex-center label-width-zero",attrs:{"label-width":"0"}},[t("el-document-upload",{attrs:{multiple:!0,"base-url":e.baseUrl,action:e.baseUrl,text:e.$t("lang.action.upload"),application_status:e.form.model.status,readonly:!e.canEdit&&e.form.model.product_catalog_book_review&&1===e.form.model.product_catalog_book_review.status},model:{value:e.form.model.product_catalog_books,callback:function(t){e.$set(e.form.model,"product_catalog_books",t)},expression:"form.model.product_catalog_books"}})],1),e._v(" "),e.form.model.product_catalog_book_review&&0===e.form.model.product_catalog_book_review.status?t("el-form-item",{staticClass:"rejection-reasons-form-item label-width-zero content-item-view",attrs:{label:e.$t("lang.reasonsForRejection"),"label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none",readonly:!0},model:{value:e.form.model.product_catalog_book_review.rejection,callback:function(t){e.$set(e.form.model.product_catalog_book_review,"rejection",t)},expression:"form.model.product_catalog_book_review.rejection"}})],1):e._e()],1)]:e._e(),e._v(" "),e.checkItem("ga_plus")?[t("el-card",{staticClass:"entry-application-item-card",attrs:{shadow:"never"}},[t("p",{staticClass:"application-item-card-title",attrs:{slot:"header"},slot:"header"},[e._v("\r\n            "+e._s(e.$t("lang.ga_plus_scheme"))+"\r\n          ")]),e._v(" "),t("el-form-item",{staticClass:"label-width-zero margin-bottom-20",attrs:{"label-width":"0"}},[t("el-table",{attrs:{data:e.gaPlusScheme,border:"",hasHeight:!1}},[t("el-table-column",{attrs:{label:e.$t("lang.applicationPurpose")},scopedSlots:e._u([{key:"default",fn:function(a){return[t("el-radios",{attrs:{label:a.row.value,disabled:!e.canEdit&&e.form.model.ga_plus_review&&1===e.form.model.ga_plus_review.status},model:{value:e.form.model.ga_plus_scheme,callback:function(t){e.$set(e.form.model,"ga_plus_scheme",t)},expression:"form.model.ga_plus_scheme"}},[e._v(e._s(a.row.type))])]}}],null,!1,271168473)}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.documentsBeAubmitted"),prop:"tip"}})],1)],1),e._v(" "),e.form.model.ga_plus_review&&0===e.form.model.ga_plus_review.status?t("el-form-item",{staticClass:"rejection-reasons-form-item label-width-zero content-item-view",attrs:{label:e.$t("lang.reasonsForRejection"),"label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none",readonly:!0},model:{value:e.form.model.ga_plus_review.rejection,callback:function(t){e.$set(e.form.model.ga_plus_review,"rejection",t)},expression:"form.model.ga_plus_review.rejection"}}
1)],1):e._e()],1),e._v(" "),t("el-card",{staticClass:"entry-application-item-card",attrs:{shadow:"never"}},[t("p",{staticClass:"application-item-card-title",attrs:{slot:"header"},slot:"header"},[e._v("\r\n            "+e._s(e.$t("lang.ga_plus_product_models"))+"\r\n          ")]),e._v(" "),t("el-form-item",{staticClass:"d-flex flex-column label-width-zero",attrs:{"label-width":"0",prop:"ga_plus_product_models"}},[t("el-table",{attrs:{data:e.form.model.ga_plus_product_models,border:"",hasHeight:!1}},[t("el-table-column",{attrs:{label:e.$t("lang.model_name"),prop:"name",align:"center",width:"130","show-overflow-tooltip":""}}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.product_brand_name"),prop:"brand_name",align:"center",width:"130","show-overflow-tooltip":""}}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.product_description"),prop:"product_description",align:"center",width:"130","show-overflow-tooltip":""}}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.isoRefNumAndExpiryDate"),align:"center",width:"160","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\r\n                  "+e._s(t.row.iso_ref_no)+" / "+e._s(e._f("date_format")(t.row.iso_expiry_date))+"\r\n                ")]}}],null,!1,2563016897)}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.iso_cert_doc"),"class-name":"cell-justify-center d-flex-1",align:"center",width:"150","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(a){return a.row.iso_cert_doc?[t("el-link",{attrs:{target:"_blank",underline:!1,href:`${e.baseUrl}/${a.row.iso_cert_doc.filename}`}},[t("i",{staticClass:"iconfont ico_file_ppt"}),e._v("\r\n                    "+e._s(a.row.iso_cert_doc.name)+"\r\n                  ")])]:void 0}}],null,!0)}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.productRefNumAndExpiryDate"),prop:"water_inlet_size",align:"center",width:"170","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\r\n                  "+e._s(t.row.product_ref_no)+"/"+e._s(e._f("moment")(t.row.product_expiry_date,"","YYYY-MM-DD"))+"\r\n                ")]}}],null,!1,2875898777)}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.product_cert_doc"),"class-name":"cell-justify-center d-flex-1",align:"center",width:"170","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(a){return a.row.product_cert_doc&&a.row.product_cert_doc.name?[t("el-link",{attrs:{target:"_blank",underline:!1,href:`${e.baseUrl}/${a.row.product_cert_doc.filename}`}},[t("i",{staticClass:"iconfont ico_file_ppt"}),e._v("\r\n                    "+e._s(a.row.product_cert_doc.name)+"\r\n                  ")])]:void 0}}],null,!0)}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.ga_file_no"),prop:"ga_file_no",width:"150",align:"center","show-overflow-tooltip":""}}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.ga_letter_doc"),align:"center",width:"170","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(a){return a.row.ga_letter_doc&&a.row.ga_letter_doc.name?[t("el-link",{attrs:{target:"_blank",underline:!1,href:`${e.baseUrl}/${a.row.ga_letter_doc.filename}`}},[t("i",{staticClass:"iconfont ico_file_ppt"}),e._v("\r\n                    "+e._s(a.row.ga_letter_doc.name)+"\r\n                  ")])]:void 0}}],null,!0)}),e._v(" "),!e.canEdit&&e.form.model.ga_plus_model_review&&0===e.form.model.ga_plus_model_review.status||!e.form.model.ga_plus_model_review||-1===e.form.model.status?t("el-table-column",{attrs:{label:e.$t("lang.action.action"),width:"100px",align:"center","class-name":"cell-flex-row cell-align-center cell-justify-center"},scopedSlots:e._u([{key:"default",fn:function(a){return[t("el-button",{staticClass:"no-border-btn width-auto",attrs:{confirm:"whether to delete this column?",icon:"iconfont ico_delete1"},on:{confirm:function(t){return e.onRemoveModel(e.gaPlusModelType,a.$index)}}}),e._v(" "),t("el-button",{staticClass:"no-border-btn width-auto margin-left-0",attrs:{icon:"iconfont WechatIMG27203"},on:{click:function(t){return e.onEditProductModels(e.gaPlusModelType,a.row,a.$index,"edit")}}})]}}],null,!1,2368733304)}
1):e._e()],1),e._v(" "),!e.canEdit&&e.form.model.ga_plus_model_review&&0===e.form.model.ga_plus_model_review.status||!e.form.model.ga_plus_model_review||-1===e.form.model.status?t("el-button",{staticClass:"form-table-add-btn fill-blue-unhover-btn",on:{click:function(t){return e.onAddProductModels(e.gaPlusModelType)}}},[t("i",{staticClass:"iconfont ico_create1"}),e._v("\r\n              "+e._s(e.$t("lang.action.add"))+"\r\n            ")]):e._e()],1),e._v(" "),e.form.model.ga_plus_model_review&&0===e.form.model.ga_plus_model_review.status?t("el-form-item",{staticClass:"rejection-reasons-form-item label-width-zero content-item-view",attrs:{label:e.$t("lang.reasonsForRejection"),"label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none",readonly:!0},model:{value:e.form.model.ga_plus_model_review.rejection,callback:function(t){e.$set(e.form.model.ga_plus_model_review,"rejection",t)},expression:"form.model.ga_plus_model_review.rejection"}})],1):e._e()],1)]:e._e(),e._v(" "),e.checkItem("ga_star")?[t("el-card",{staticClass:"entry-application-item-card",attrs:{shadow:"never"}},[t("p",{staticClass:"application-item-card-title",attrs:{slot:"header"},slot:"header"},[e._v("\r\n            "+e._s(e.$t("lang.ga_star_scheme"))+"\r\n          ")]),e._v(" "),t("el-form-item",{staticClass:"label-width-zero margin-bottom-20",attrs:{"label-width":"0"}},[t("el-table",{attrs:{data:e.gaStarScheme,border:"",hasHeight:!1}},[t("el-table-column",{attrs:{label:e.$t("lang.applicationPurpose")},scopedSlots:e._u([{key:"default",fn:function(a){return[t("el-radios",{attrs:{label:a.row.value,disabled:!e.canEdit&&e.form.model.ga_star_review&&1===e.form.model.ga_star_review.status},model:{value:e.form.model.ga_star_scheme,callback:function(t){e.$set(e.form.model,"ga_star_scheme",t)},expression:"form.model.ga_star_scheme"}},[e._v(e._s(a.row.type))])]}}],null,!1,639436855)}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.documentsBeAubmitted"),prop:"tip"}})],1)],1),e._v(" "),e.form.model.ga_star_review&&0===e.form.model.ga_star_review.status?t("el-form-item",{staticClass:"rejection-reasons-form-item label-width-zero content-item-view",attrs:{label:e.$t("lang.reasonsForRejection"),"label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none",readonly:!0},model:{value:e.form.model.ga_star_review.rejection,callback:function(t){e.$set(e.form.model.ga_star_review,"rejection",t)},expression:"form.model.ga_star_review.rejection"}})],1):e._e()],1),e._v(" "),t("el-card",{staticClass:"entry-application-item-card",attrs:{shadow:"never"}},[t("p",{staticClass:"application-item-card-title",attrs:{slot:"header"},slot:"header"},[e._v("\r\n            "+e._s(e.$t("lang.ga_star_product_models"))+"\r\n          ")]),e._v(" "),t("el-form-item",{staticClass:"d-flex flex-column label-width-zero",attrs:{"label-width":"0",prop:"ga_star_product_models"}},[t("el-table",{attrs:{data:e.form.model.ga_star_product_models,border:"",hasHeight:!1}},[t("el-table-column",{attrs:{label:e.$t("lang.model_name"),prop:"name",align:"center",width:"130","show-overflow-tooltip":""}}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.product_brand_name"),prop:"brand_name",align:"center",width:"180","show-overflow-tooltip":""}}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.product_description"),prop:"product_description",align:"center",width:"180","show-overflow-tooltip":""}}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.laboratory_names"),prop:"water_inlet_size",align:"center",width:"160","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\r\n                  "+e._s(e._f("options")(t.row.laboratory_id,e.laboratorList))+"\r\n                ")]}}],null,!1,2107755057)}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.SupportingRefNumAndExpiryDate"),align:"center",width:"160","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[[e._v(e._s(e._f("array")(t.row.test_report_no,"、")))]]}}],null,!1,4230084847)}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.ga_star_supporting_doc"),align:"center"},scopedSlots:e._u([{key:"default",fn:function(a){return a.row.supporting_documents&&a.row.supporting_documents.length?e._l(a.row.supporting_documents,(function(a){return t("el-link",{key:a.id,staticClass:"doc-link",attrs:{target:"_blank",underline:!1,href:`${e.baseUrl}/${a.supporting_doc.filename}`}},[t("i",{staticClass:"iconfont ico_file_ppt"}),e._v("\r\n                    "+e._s(`${a.supporting_doc.name}(${a.supporting_document_no})`)+"\r\n                  ")])})):void 0}}],null,!0)}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.gANoIfApplicable"),prop:"ga_file_no",width:"160",align:"center","show-overflow-tooltip":""}}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.ga_letter_doc"),"class-name":"cell-justify-center d-flex-1",align:"center",width:"150","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(a){return a.row.ga_letter_doc&&a.row.ga_letter_doc.name?[t("el-link",{attrs:{target:"_blank",underline:!1,href:`${e.baseUrl}/${a.row.ga_letter_doc.filename}`}},[t("i",{staticClass:"iconfont ico_file_ppt"}),e._v("\r\n                    "+e._s(a.row.ga_letter_doc.name)+"\r\n                  ")])]:void 0}}],null,!0)}),e._v(" "),!e.canEdit&&e.form.model.ga_star_model_review&&0===e.form.model.ga_star_model_review.status||!e.form.model.ga_star_model_review||-1===e.form.model.status?t("el-table-column",{attrs:{label:e.$t("lang.action.action"),align:"center",width:"100","class-name":"cell-flex-row cell-align-center cell-justify-center"},scopedSlots:e._u([{key:"default",fn:function(a){return[t("el-button",{staticClass:"no-border-btn width-auto",attrs:{confirm:"whether to delete this column?",icon:"iconfont ico_delete1"},on:{confirm:function(t){return e.onRemoveModel(e.gaStarModelType,a.$index)}}}),e._v(" "),t("el-button",{staticClass:"no-border-btn width-auto margin-left-0",attrs:{icon:"iconfont WechatIMG27203"},on:{click:function(t){return e.onEditProductModels(e.gaStarModelType,a.row,a.$index,"edit")}}})]}}],null,!1,1559851448)}
1):e._e()],1),e._v(" "),!e.canEdit&&e.form.model.ga_star_model_review&&0===e.form.model.ga_star_model_review.status||!e.form.model.ga_star_model_review||-1===e.form.model.status?t("el-button",{staticClass:"form-table-add-btn fill-blue-unhover-btn",on:{click:function(t){return e.onAddProductModels(e.gaStarModelType)}}},[t("i",{staticClass:"iconfont ico_create1"}),e._v("\r\n              "+e._s(e.$t("lang.action.add"))+"\r\n            ")]):e._e()],1),e._v(" "),e.form.model.ga_star_model_review&&0===e.form.model.ga_star_model_review.status?t("el-form-item",{staticClass:"rejection-reasons-form-item label-width-zero content-item-view",attrs:{label:e.$t("lang.reasonsForRejection"),"label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none",readonly:!0},model:{value:e.form.model.ga_star_model_review.rejection,callback:function(t){e.$set(e.form.model.ga_star_model_review,"rejection",t)},expression:"form.model.ga_star_model_review.rejection"}})],1):e._e()],1)]:e._e(),e._v(" "),e.checkItem("vls")?[t("el-card",{staticClass:"entry-application-item-card",attrs:{shadow:"never"}},[t("p",{staticClass:"application-item-card-title",attrs:{slot:"header"},slot:"header"},[e._v("\r\n            "+e._s(e.$t("lang.ga_vls_scheme"))+"\r\n          ")]),e._v(" "),t("el-form-item",{staticClass:"label-width-zero margin-bottom-20",attrs:{"label-width":"0"}},[t("el-table",{attrs:{data:e.gaVlsScheme,border:"",hasHeight:!1}},[t("el-table-column",{attrs:{label:e.$t("lang.applicationPurpose")},scopedSlots:e._u([{key:"default",fn:function(a){return[t("el-radios",{attrs:{label:a.row.value,disabled:!e.canEdit&&e.form.model.ga_vls_review&&1===e.form.model.ga_vls_review.status},model:{value:e.form.model.vls_scheme,callback:function(t){e.$set(e.form.model,"vls_scheme",t)},expression:"form.model.vls_scheme"}},[e._v(e._s(a.row.type))])]}}],null,!1,2824928979)}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.documentsBeAubmitted"),prop:"tip"}})],1)],1),e._v(" "),e.form.model.ga_vls_review&&0===e.form.model.ga_vls_review.status?t("el-form-item",{staticClass:"rejection-reasons-form-item label-width-zero content-item-view",attrs:{label:e.$t("lang.reasonsForRejection"),"label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none",readonly:!0},model:{value:e.form.model.ga_vls_review.rejection,callback:function(t){e.$set(e.form.model.ga_vls_review,"rejection",t)},expression:"form.model.ga_vls_review.rejection"}})],1):e._e()],1),e._v(" "),t("el-card",{staticClass:"entry-application-item-card",attrs:{shadow:"never"}},[t("p",{staticClass:"application-item-card-title",attrs:{slot:"header"},slot:"header"},[e._v("\r\n            "+e._s(e.$t("lang.ga_vls_product_models"))+"\r\n          ")]),e._v(" "),t("el-form-item",{staticClass:"d-flex flex-column label-width-zero",attrs:{"label-width":"0",prop:"vls_product_models"}},[t("el-table",{attrs:{data:e.form.model.vls_product_models,border:"",hasHeight:!1}},[t("el-table-column",{attrs:{label:e.$t("lang.model_name"),prop:"name",align:"center",width:"200","show-overflow-tooltip":""}}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.product_brand_name"),prop:"brand_name",align:"center",width:"280","show-overflow-tooltip":""}}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.product_description"),prop:"product_description",align:"center",width:"280","show-overflow-tooltip":""}}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.gANoIfApplicable"),prop:"ga_file_no",align:"center",width:"250","show-overflow-tooltip":""}}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.ga_letter_doc"),"class-name":"cell-justify-center d-flex-1",align:"center","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(a){return a.row.ga_letter_doc&&a.row.ga_letter_doc.name?[t("el-link",{attrs:{target:"_blank",underline:!1,href:`${e.baseUrl}/${a.row.ga_letter_doc.filename}`}},[t("i",{staticClass:"iconfont ico_file_ppt"}),e._v("\r\n                    "+e._s(a.row.ga_letter_doc.name)+"\r\n                  ")])]:void 0}}],null,!0)}),e._v(" "),!e.canEdit&&e.form.model.ga_vls_model_review&&0===e.form.model.ga_vls_model_review.status||!e.form.model.ga_vls_model_review||-1===e.form.model.status?t("el-table-column",{attrs:{label:e.$t("lang.action.action"),align:"center",width:"100","class-name":"cell-flex-row cell-align-center cell-justify-center"},scopedSlots:e._u([{key:"default",fn:function(a){return[t("el-button",{staticClass:"no-border-btn width-auto",attrs:{confirm:"whether to delete this column?",icon:"iconfont ico_delete1"},on:{confirm:function(t){return e.onRemoveModel(e.gaVlsModelType,a.$index)}}}),e._v(" "),t("el-button",{staticClass:"no-border-btn width-auto margin-left-0",attrs:{icon:"iconfont WechatIMG27203"},on:{click:function(t){return e.onEditProductModels(e.gaVlsModelType,a.row,a.$index,"edit")}}})]}}],null,!1,2486767256)}
1):e._e()],1),e._v(" "),!e.canEdit&&e.form.model.ga_vls_model_review&&0===e.form.model.ga_vls_model_review.status||!e.form.model.ga_vls_model_review||-1===e.form.model.status?t("el-button",{staticClass:"form-table-add-btn fill-blue-unhover-btn",on:{click:function(t){return e.onAddProductModels(e.gaVlsModelType)}}},[t("i",{staticClass:"iconfont ico_create1"}),e._v("\r\n              "+e._s(e.$t("lang.action.add"))+"\r\n            ")]):e._e()],1),e._v(" "),e.form.model.ga_vls_model_review&&0===e.form.model.ga_vls_model_review.status?t("el-form-item",{staticClass:"rejection-reasons-form-item label-width-zero content-item-view",attrs:{label:e.$t("lang.reasonsForRejection"),"label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none",readonly:!0},model:{value:e.form.model.ga_vls_model_review.rejection,callback:function(t){e.$set(e.form.model.ga_vls_model_review,"rejection",t)},expression:"form.model.ga_vls_model_review.rejection"}})],1):e._e()],1)]:e._e(),e._v(" "),t("el-card",{staticClass:"entry-application-item-card",attrs:{shadow:"never"}},[t("p",{staticClass:"application-item-card-title",attrs:{slot:"header"},slot:"header"},[e._v("\r\n          "+e._s(e.$t("lang.disclaimer"))+"\r\n        ")]),e._v(" "),t("el-column-row",{staticClass:"treaty-view"},[t("label",{attrs:{for:"ga_form_disclaimer",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"ga_form_disclaimer",type:"textarea",resize:"none",readonly:"",autosize:""},model:{value:e.treaty,callback:function(t){e.treaty=t},expression:"treaty"}}),e._v(" "),t("div",{staticClass:"agree-treaty-view margin-top-10"},[t("el-checkbox",{attrs:{"true-label":1,"false-label":0},model:{value:e.form.model.disclaimer,callback:function(t){e.$set(e.form.model,"disclaimer",t)},expression:"form.model.disclaimer"}},[e._v(e._s(e.$t("lang.tickToAgree")))])],1)],1)],1),e._v(" "),t("el-card",{staticClass:"applicant-card entry-application-item-card",attrs:{shadow:"never"}},[e.form.model.id?e._e():[t("template",{slot:"header"},[e._v(e._s(e.$t("lang.applyMessageTitle")))]),e._v(" "),t("el-form-item",{attrs:{prop:"upload_other_info","label-width":"0"}},[t("el-checkbox",{attrs:{"true-label":1,"false-label":0},model:{value:e.form.model.upload_other_info,callback:function(t){e.$set(e.form.model,"upload_other_info",t)},expression:"form.model.upload_other_info"}},[e._v(e._s(e.$t("lang.uploadOtherInfo")))])],1),e._v(" "),e.form.model.upload_other_info?[t("el-form-item",{attrs:{prop:"upload_other_info_msg","label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none"},model:{value:e.form.model.upload_other_info_msg,callback:function(t){e.$set(e.form.model,"upload_other_info_msg",t)},expression:"form.model.upload_other_info_msg"}})],1),e._v(" "),t("el-form-item",{staticClass:"d-flex flex-column",attrs:{prop:"upload_other_info_doc","label-width":"0"}},[t("el-document-upload",{attrs:{multiple:!0,application_status:e.form.model.status,"base-url":e.baseUrl,action:e.baseUrl,readonly:!e.canEdit},model:{value:e.form.model.upload_other_info_doc,callback:function(t){e.$set(e.form.model,"upload_other_info_doc",t)},expression:"form.model.upload_other_info_doc"}})],1)]:e._e()]],2),e._v(" "),e.form.model.id?t("el-review-message",{attrs:{applicationId:e.form.model.id,stage:e.form.model.status}},[t("el-form-item",{attrs:{prop:"upload_other_info","label-width":"0"}},[t("el-checkbox",{attrs:{"true-label":1,"false-label":0,disabled:!e.canEdit&&e.form.model.upload_other_info_review&&1===e.form.model.upload_other_info_review.status},model:{value:e.form.model.upload_other_info,callback:function(t){e.$set(e.form.model,"upload_other_info",t)},expression:"form.model.upload_other_info"}},[e._v(e._s(e.$t("lang.uploadOtherInfo")))])],1),e._v(" "),e.form.model.upload_other_info?[t("el-form-item",{attrs:{prop:"upload_other_info_msg","label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none",readonly:!e.canEdit&&e.form.model.upload_other_info_review&&1===e.form.model.upload_other_info_review.status},model:{value:e.form.model.upload_other_info_msg,callback:function(t){e.$set(e.form.model,"upload_other_info_msg",t)},expression:"form.model.upload_other_info_msg"}})],1),e._v(" "),t("el-form-item",{staticClass:"d-flex flex-column",attrs:{prop:"upload_other_info_doc","label-width":"0"}},[t("el-document-upload",{attrs:{multiple:!0,"base-url":e.baseUrl,action:e.baseUrl,text:e.$t("lang.action.upload"),application_status:e.form.model.status,readonly:!e.canEdit&&e.form.model.upload_other_info_review&&1===e.form.model.upload_other_info_review.status},model:{value:e.form.model.upload_other_info_doc,callback:function(t){e.$set(e.form.model,"upload_other_info_doc",t)},expression:"form.model.upload_other_info_doc"}})],1)]:e._e(),e._v(" "),e.form.model.upload_other_info_review&&0===e.form.model.upload_other_info_review.status?t("el-form-item",{staticClass:"rejection-reasons-form-item label-width-zero content-item-view",attrs:{label:e.$t("lang.reasonsForRejection"),"label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none",readonly:!0},model:{value:e.form.model.upload_other_info_review.rejection,callback:function(t){e.$set(e.form.model.upload_other_info_review,"rejection",t)},expression:"form.model.upload_other_info_review.rejection"}}
1)],1):e._e()],2):e._e()],2),e._v(" "),t("div",{staticClass:"entry-application-footer"},[t("el-button",{staticClass:"empty-bule-btn",on:{click:function(t){return e.$router.back()}}},[e._v(e._s(e.$t("lang.action.cancel")))]),e._v(" "),0!==e.form.model.status||e.form.model.ga_model_review&&0!==e.form.model.ga_model_review.status&&e.form.model.ga_star_model_review&&0!==e.form.model.ga_star_model_review.status||!e.form.model.record||10!=e.form.model.record.type&&15!=e.form.model.record.type?e._e():t("el-button",{staticClass:"empty-bule-btn",on:{click:e.onReactive}},[e._v("\r\n        "+e._s(e.$t("lang.reactivateLabUpload"))+"\r\n      ")]),e._v(" "),e.form.model.id&&-1!=e.form.model.status&&0!==e.form.model.status?e._e():t("el-button",{staticClass:"empty-bule-btn",on:{click:e.onSaveForm}},[e._v(e._s(e.$t("lang.action.save")))]),e._v(" "),-1===e.form.model.status?t("el-button",{staticClass:"fill-blue-btn",on:{click:function(t){return e.handleCreate()}}},[e._v(e._s(e.$t("lang.action.created")))]):e._e(),e._v(" "),0!==e.form.model.status||!e.form.model.record||10!=e.form.model.record.type&&15!=e.form.model.record.type?e._e():t("el-button",{staticClass:"fill-blue-btn",on:{click:function(t){return e.handleSubmit()}}},[e._v(e._s(e.$t("lang.action.submit")))])],1),e._v(" "),t("el-instructions-dialog",{attrs:{visible:e.showInstructionsDialog,content:e.instructionsContent},on:{"update:visible":function(t){e.showInstructionsDialog=t}}})],1),e._v(" "),t("el-dialog",{staticClass:"add-product-model-dialog position-center",attrs:{visible:e.gaModelForm.visible,width:"880px",title:e.$t("lang.newProductModeTitle")},on:{close:function(t){return e.gaModelForm.close()}}},[t("el-form",{attrs:{store:e.gaModelForm,"status-icon":"",hasLabelSuffix:!1}},[t("el-form-item",{staticClass:"label-left label-flex-center",attrs:{prop:"name","label-width":"250px"}},[t("template",{slot:"label"},[e._v("\r\n          "+e._s(e.$t("lang.model_name"))+"\r\n          "),t("el-button",{staticClass:"no-border-btn question-mark-btn",attrs:{icon:"iconfont a-ico_"},on:{click:function(t){return t.stopPropagation(),t.preventDefault(),e.onShowTextDialog("modelName")}}})],1),e._v(" "),t("el-input",{attrs:{placeholder:e.$t("lang.model_name")},model:{value:e.gaModelForm.model.name,callback:function(t){e.$set(e.gaModelForm.model,"name",t)},expression:"gaModelForm.model.name"}})],2),e._v(" "),t("el-form-item",{staticClass:"label-left label-align-center",attrs:{label:e.$t("lang.waterInletSizeEg"),prop:"water_inlet_size","label-width":"250px"}},[t("el-tag",{attrs:{placeholder:e.$t("lang.pleaseEnter")},model:{value:e.gaModelForm.model.water_inlet_size,callback:function(t){e.$set(e.gaModelForm.model,"water_inlet_size",t)},expression:"gaModelForm.model.water_inlet_size"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-left label-align-center",attrs:{label:e.$t("lang.laboratory_names"),prop:"laboratory_id","label-width":"250px"}},[t("el-select",{attrs:{loader:"/internal/laboratories/type/0",valueKey:"id",labelKey:"english_name",placeholder:e.$t("lang.pleaseSelectLaboratory")},on:{change:e.onChangeLab},model:{value:e.gaModelForm.model.laboratory_id,callback:function(t){e.$set(e.gaModelForm.model,"laboratory_id",t)},expression:"gaModelForm.model.laboratory_id"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-left label-align-center",attrs:{label:e.$t("lang.supporting_document_no"),prop:"test_report_no","label-width":"250px"}},[t("el-tag",{attrs:{placeholder:e.$t("lang.pleaseEnter")},model:{value:e.gaModelForm.model.test_report_no,callback:function(t){e.$set(e.gaModelForm.model,"test_report_no",t)},expression:"gaModelForm.model.test_report_no"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-left label-align-center",attrs:{label:e.$t("lang.bsi"),"label-width":"250px",prop:"bsi_cert_no"}},[t("el-tag",{attrs:{placeholder:e.$t("lang.pleaseEnter")},model:{value:e.gaModelForm.model.bsi_cert_no,callback:function(t){e.$set(e.gaModelForm.model,"bsi_cert_no",t)},expression:"gaModelForm.model.bsi_cert_no"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-left label-align-center",attrs:{label:e.$t("lang.wras"),"label-width":"250px"}},[t("el-tag",{attrs:{placeholder:e.$t("lang.pleaseEnter")},model:{value:e.gaModelForm.model.wras_cert_no,callback:function(t){e.$set(e.gaModelForm.model,"wras_cert_no",t)},expression:"gaModelForm.model.wras_cert_no"}})],1),e._v(" "),t("el-form-item",{staticClass:"d-flex flex-column",attrs:{label:e.$t("lang.bsiCertDoc"),prop:"kitemark_cert_doc","label-width":"0"}},[t("el-document-upload",{attrs:{multiple:!0,application_status:e.form.model.status,"base-url":e.baseUrl,action:e.baseUrl},model:{value:e.gaModelForm.model.kitemark_cert_doc,callback:function(t){e.$set(e.gaModelForm.model,"kitemark_cert_doc",t)},expression:"gaModelForm.model.kitemark_cert_doc"}})],1),e._v(" "),t("el-form-item",{staticClass:"d-flex flex-column",attrs:{label:e.$t("lang.wrasCertDoc"),prop:"wraps_cert_doc","label-width":"0"}},[t("el-document-upload",{attrs:{multiple:!0,application_status:e.form.model.status,"base-url":e.baseUrl,action:e.baseUrl},model:{value:e.gaModelForm.model.wraps_cert_doc,callback:function(t){e.$set(e.gaModelForm.model,"wraps_cert_doc",t)},expression:"gaModelForm.model.wraps_cert_doc"}})],1)],1),e._v(" "),t("template",{slot:"footer"},[t("el-button",{staticClass:"refuse-btn",on:{click:function(t){return e.gaModelForm.close()}}},[e._v("\r\n        "+e._s(e.$t("lang.action.close"))+"\r\n      ")]),e._v(" "),t("el-button",{staticClass:"agree-btn",attrs:{type:"primary"},on:{click:function(t){return e.onAddModel(e.gaModelType)}}},[e._v(" "+e._s(e.$t("lang.action.save"))+" ")])],1)],2),e._v(" "),t("el-dialog",{staticClass:"add-product-model-dialog position-center",attrs:{visible:e.gaPlusModelForm.visible,width:"880px",title:e.$t("lang.newProductModeTitle")},on:{close:function(t){return e.gaPlusModelForm.close()}}},[t("el-form",{attrs:{store:e.gaPlusModelForm,"status-icon":"",hasLabelSuffix:!1}},[t("el-form-item",{staticClass:"label-width-auto label-left label-flex-center",attrs:{prop:"name"}},[t("template",{slot:"label"},[e._v("\r\n            "+e._s(e.$t("lang.model_name"))+"\r\n            "),t("el-button",{staticClass:"no-border-btn question-mark-btn",attrs:{icon:"iconfont a-ico_"},on:{click:function(t){return t.stopPropagation(),t.preventDefault(),e.onShowTextDialog("modelName")}}})],1),e._v(" "),t("el-input",{attrs:{placeholder:e.$t("lang.model_name")},model:{value:e.gaPlusModelForm.model.name,callback:function(t){e.$set(e.gaPlusModelForm.model,"name",t)},expression:"gaPlusModelForm.model.name"}}
1)],2),e._v(" "),t("el-form-item",{staticClass:"label-width-auto label-left label-flex-center",attrs:{prop:"brand_name",label:e.$t("lang.product_brand_name")}},[t("el-input",{attrs:{placeholder:e.$t("lang.product_brand_name")},model:{value:e.gaPlusModelForm.model.brand_name,callback:function(t){e.$set(e.gaPlusModelForm.model,"brand_name",t)},expression:"gaPlusModelForm.model.brand_name"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto label-left label-flex-center",attrs:{prop:"product_description",label:e.$t("lang.product_description")}},[t("el-input",{attrs:{placeholder:e.$t("lang.product_description")},model:{value:e.gaPlusModelForm.model.product_description,callback:function(t){e.$set(e.gaPlusModelForm.model,"product_description",t)},expression:"gaPlusModelForm.model.product_description"}})],1),e._v(" "),t("el-form-item",{staticClass:"d-flex flex-column",attrs:{label:e.$t("lang.isoCerDocs"),prop:"iso_cert_doc.name","label-width":"0"}},[t("el-document-upload",{attrs:{application_status:-1,"base-url":e.baseUrl,action:e.baseUrl},model:{value:e.gaPlusModelForm.model.iso_cert_doc,callback:function(t){e.$set(e.gaPlusModelForm.model,"iso_cert_doc",t)},expression:"gaPlusModelForm.model.iso_cert_doc"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-left",attrs:{label:e.$t("lang.iso_ref_no"),prop:"iso_ref_no","label-width":"160px"}},[t("el-input",{attrs:{placeholder:e.$t("lang.iso_ref_no")},model:{value:e.gaPlusModelForm.model.iso_ref_no,callback:function(t){e.$set(e.gaPlusModelForm.model,"iso_ref_no",t)},expression:"gaPlusModelForm.model.iso_ref_no"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-left",attrs:{label:e.$t("lang.isoExpiryDate"),prop:"iso_expiry_date","label-width":"160px"}},[t("el-date-picker",{attrs:{type:"date",placeholder:e.$t("lang.isoExpiryDate"),"picker-options":e.pickerOptions},model:{value:e.gaPlusModelForm.model.iso_expiry_date,callback:function(t){e.$set(e.gaPlusModelForm.model,"iso_expiry_date",t)},expression:"gaPlusModelForm.model.iso_expiry_date"}})],1),e._v(" "),t("el-form-item",{staticClass:"d-flex flex-column",attrs:{label:e.$t("lang.product_cert_doc"),prop:"product_cert_doc.name","label-width":"0"}},[t("el-document-upload",{attrs:{application_status:-1,"base-url":e.baseUrl,action:e.baseUrl},model:{value:e.gaPlusModelForm.model.product_cert_doc,callback:function(t){e.$set(e.gaPlusModelForm.model,"product_cert_doc",t)},expression:"gaPlusModelForm.model.product_cert_doc"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-left",attrs:{label:e.$t("lang.product_ref_no"),prop:"product_ref_no","label-width":"190px"}},[t("el-input",{attrs:{placeholder:e.$t("lang.product_ref_no")},model:{value:e.gaPlusModelForm.model.product_ref_no,callback:function(t){e.$set(e.gaPlusModelForm.model,"product_ref_no",t)},expression:"gaPlusModelForm.model.product_ref_no"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-left",attrs:{label:e.$t("lang.productExpiryDate"),prop:"product_expiry_date","label-width":"190px"}},[t("el-date-picker",{attrs:{type:"date",placeholder:e.$t("lang.productExpiryDate"),"picker-options":e.pickerOptions},model:{value:e.gaPlusModelForm.model.product_expiry_date,callback:function(t){e.$set(e.gaPlusModelForm.model,"product_expiry_date",t)},expression:"gaPlusModelForm.model.product_expiry_date"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-left",attrs:{label:e.$t("lang.gANoIfApplicable"),"label-width":"190px"}},[t("el-input",{attrs:{placeholder:e.$t("lang.gANoIfApplicable")},model:{value:e.gaPlusModelForm.model.ga_file_no,callback:function(t){e.$set(e.gaPlusModelForm.model,"ga_file_no",t)},expression:"gaPlusModelForm.model.ga_file_no"}})],1),e._v(" "),t("el-form-item",{staticClass:"d-flex flex-column",attrs:{label:e.$t("lang.copyGaLetter"),prop:"ga_letter_doc.name","label-width":"0"}},[t("el-document-upload",{attrs:{application_status:-1,"base-url":e.baseUrl,action:e.baseUrl},model:{value:e.gaPlusModelForm.model.ga_letter_doc,callback:function(t){e.$set(e.gaPlusModelForm.model,"ga_letter_doc",t)},expression:"gaPlusModelForm.model.ga_letter_doc"}})],1)],1),e._v(" "),t("template",{slot:"footer"},[t("el-button",{staticClass:"refuse-btn",on:{click:function(t){return e.gaPlusModelForm.close()}}},[e._v("\r\n          "+e._s(e.$t("lang.action.close"))+"\r\n        ")]),e._v(" "),t("el-button",{staticClass:"agree-btn",attrs:{type:"primary"},on:{click:function(t){return e.onAddModel(e.gaPlusModelType)}}},[e._v(" "+e._s(e.$t("lang.action.save"))+" ")])],1)],2),e._v(" "),t("el-dialog",{staticClass:"add-product-model-dialog position-center",attrs:{visible:e.gaStarModelForm.visible,width:"880px",title:e.$t("lang.newProductModeTitle")},on:{close:function(t){return e.gaStarModelForm.close()}}},[t("el-form",{attrs:{store:e.gaStarModelForm,"status-icon":"",hasLabelSuffix:!1}},[t("el-form-item",{staticClass:"label-left label-flex-center",attrs:{label:e.$t("lang.model_name"),prop:"name","label-width":"250px"}},[t("template",{slot:"label"},[e._v("\r\n          "+e._s(e.$t("lang.model_name"))+"\r\n          "),t("el-button",{staticClass:"no-border-btn question-mark-btn",attrs:{icon:"iconfont a-ico_"},on:{click:function(t){return t.stopPropagation(),t.preventDefault(),e.onShowTextDialog("modelName")}}})],1),e._v(" "),t("el-input",{attrs:{placeholder:e.$t("lang.model_name")},model:{value:e.gaStarModelForm.model.name,callback:function(t){e.$set(e.gaStarModelForm.model,"name",t)},expression:"gaStarModelForm.model.name"}}
1)],2),e._v(" "),t("el-form-item",{staticClass:"label-width-auto label-left label-flex-center",attrs:{prop:"brand_name",label:e.$t("lang.product_brand_name")}},[t("el-input",{attrs:{placeholder:e.$t("lang.product_brand_name")},model:{value:e.gaStarModelForm.model.brand_name,callback:function(t){e.$set(e.gaStarModelForm.model,"brand_name",t)},expression:"gaStarModelForm.model.brand_name"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto label-left label-flex-center",attrs:{prop:"product_description",label:e.$t("lang.product_description")}},[t("el-input",{attrs:{placeholder:e.$t("lang.product_description")},model:{value:e.gaStarModelForm.model.product_description,callback:function(t){e.$set(e.gaStarModelForm.model,"product_description",t)},expression:"gaStarModelForm.model.product_description"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-left label-align-center",attrs:{label:e.$t("lang.laboratory_names"),prop:"laboratory_id","label-width":"250px"}},[t("el-select",{attrs:{loader:"/internal/laboratories/type/0",valueKey:"id",labelKey:"english_name",placeholder:e.$t("lang.pleaseSelectLaboratory")},on:{change:e.onChangeLab},model:{value:e.gaStarModelForm.model.laboratory_id,callback:function(t){e.$set(e.gaStarModelForm.model,"laboratory_id",t)},expression:"gaStarModelForm.model.laboratory_id"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-left",attrs:{label:e.$t("lang.supporting_document_ref_no"),prop:"test_report_no","label-width":"250px"}},[t("el-tag",{attrs:{placeholder:e.$t("lang.pleaseEnter")},model:{value:e.gaStarModelForm.model.test_report_no,callback:function(t){e.$set(e.gaStarModelForm.model,"test_report_no",t)},expression:"gaStarModelForm.model.test_report_no"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-left",attrs:{label:e.$t("lang.gANoIfApplicable"),prop:"ga_file_no","label-width":"250px"}},[t("el-input",{attrs:{placeholder:e.$t("lang.gANoIfApplicable")},model:{value:e.gaStarModelForm.model.ga_file_no,callback:function(t){e.$set(e.gaStarModelForm.model,"ga_file_no",t)},expression:"gaStarModelForm.model.ga_file_no"}})],1),e._v(" "),t("el-form-item",{staticClass:"d-flex flex-column",attrs:{label:e.$t("lang.copyGaLetter"),prop:"ga_letter_doc","label-width":"0"}},[t("el-document-upload",{attrs:{application_status:e.form.model.status,"base-url":e.baseUrl,action:e.baseUrl},model:{value:e.gaStarModelForm.model.ga_letter_doc,callback:function(t){e.$set(e.gaStarModelForm.model,"ga_letter_doc",t)},expression:"gaStarModelForm.model.ga_letter_doc"}})],1)],1),e._v(" "),t("template",{slot:"footer"},[t("el-button",{staticClass:"refuse-btn",on:{click:function(t){return e.gaStarModelForm.close()}}},[e._v("\r\n        "+e._s(e.$t("lang.action.close"))+"\r\n      ")]),e._v(" "),t("el-button",{staticClass:"agree-btn",attrs:{type:"primary"},on:{click:function(t){return e.onAddModel(e.gaStarModelType)}}},[e._v(" "+e._s(e.$t("lang.action.save"))+" ")])],1)],2),e._v(" "),t("el-dialog",{staticClass:"add-product-model-dialog position-center",attrs:{visible:e.gaVlsModelForm.visible,width:"880px",title:e.$t("lang.newProductModeTitle")},on:{close:function(t){return e.gaVlsModelForm.close()}}},[t("el-form",{attrs:{store:e.gaVlsModelForm,"status-icon":"",hasLabelSuffix:!1}},[t("el-form-item",{staticClass:"label-left label-flex-center",attrs:{label:e.$t("lang.model_name"),prop:"name","label-width":"200px"}},[t("template",{slot:"label"},[e._v("\r\n          "+e._s(e.$t("lang.model_name"))+"\r\n          "),t("el-button",{staticClass:"no-border-btn question-mark-btn",attrs:{icon:"iconfont a-ico_"},on:{click:function(t){return t.stopPropagation(),t.preventDefault(),e.onShowTextDialog("modelName")}}})],1),e._v(" "),t("el-input",{attrs:{placeholder:e.$t("lang.model_name")},model:{value:e.gaVlsModelForm.model.name,callback:function(t){e.$set(e.gaVlsModelForm.model,"name",t)},expression:"gaVlsModelForm.model.name"}})],2),e._v(" "),t("el-form-item",{staticClass:"label-width-auto label-left label-flex-center",attrs:{prop:"brand_name",label:e.$t("lang.product_brand_name")}},[t("el-input",{attrs:{placeholder:e.$t("lang.product_brand_name")},model:{value:e.gaVlsModelForm.model.brand_name,callback:function(t){e.$set(e.gaVlsModelForm.model,"brand_name",t)},expression:"gaVlsModelForm.model.brand_name"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto label-left label-flex-center",attrs:{prop:"product_description",label:e.$t("lang.product_description")}},[t("el-input",{attrs:{placeholder:e.$t("lang.product_description")},model:{value:e.gaVlsModelForm.model.product_description,callback:function(t){e.$set(e.gaVlsModelForm.model,"product_description",t)},expression:"gaVlsModelForm.model.product_description"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-left",attrs:{label:e.$t("lang.gANoIfApplicable"),prop:"ga_file_no","label-width":"200px"}},[t("el-input",{attrs:{placeholder:e.$t("lang.gANoIfApplicable")},model:{value:e.gaVlsModelForm.model.ga_file_no,callback:function(t){e.$set(e.gaVlsModelForm.model,"ga_file_no",t)},expression:"gaVlsModelForm.model.ga_file_no"}})],1),e._v(" "),t("el-form-item",{staticClass:"d-flex flex-column",attrs:{label:e.$t("lang.copyGaLetter"),prop:"ga_letter_doc.name","label-width":"0"}},[t("el-document-upload",{attrs:{application_status:-1,"base-url":e.baseUrl,action:e.baseUrl},model:{value:e.gaVlsModelForm.model.ga_letter_doc,callback:function(t){e.$set(e.gaVlsModelForm.model,"ga_letter_doc",t)},expression:"gaVlsModelForm.model.ga_letter_doc"}})],1)],1),e._v(" "),t("template",{slot:"footer"},[t("el-button",{staticClass:"refuse-btn",on:{click:function(t){return e.gaVlsModelForm.close()}}},[e._v("\r\n        "+e._s(e.$t("lang.action.close"))+"\r\n      ")]),e._v(" "),t("el-button",{staticClass:"agree-btn",attrs:{type:"primary"},on:{click:function(t){return e.onAddModel(e.gaVlsModelType)}}},[e._v(" "+e._s(e.$t("lang.action.save"))+" ")])],1)],2),e._v(" "),t("el-dialog",{staticClass:"reutn-doc-dialog position-center",attrs:{visible:e.showSupporDocDialog,width:"680px",title:e.$t("lang.supportingDocuments")},on:{close:function(t){e.showSupporDocDialog=!1}}}
1,[e.supporDocList&&e.supporDocList.length?t("el-checkbox-group",{model:{value:e.selectSupporDoc,callback:function(t){e.selectSupporDoc=t},expression:"selectSupporDoc"}},e._l(e.supporDocList,(function(a){return t("el-checkbox",{key:a.random,attrs:{label:a.random}},[e._v(e._s(`${a.test_report_no}(${e.docAppliceType[a.type]})`))])})),1):e._e(),e._v(" "),t("template",{slot:"footer"},[t("el-button",{staticClass:"refuse-btn",on:{click:function(t){e.showSupporDocDialog=!1}}},[e._v("\r\n        "+e._s(e.$t("lang.action.close"))+"\r\n      ")]),e._v(" "),t("el-button",{staticClass:"agree-btn",attrs:{type:"primary"},on:{click:e.onSubmitSelectDoc}},[e._v(" "+e._s(e.$t("lang.action.submit"))+" ")])],1)],2)],1)};Bs._withStripped=!0;var Us=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-column-row",{staticClass:"radio-view",attrs:{percent:e.percent}},[e.value?t("el-radio",{attrs:{label:e.label},model:{value:e.value,callback:function(t){e.value=t},expression:"value"}},[e._v(e._s(e.name))]):t("el-radio",{attrs:{label:e.label}},[e._v(e._s(e.name))]),e._v(" "),t("div",{staticClass:"slot-content"},[e._t("default")],2)],1)};Us._withStripped=!0;var Ws=a(41955),Hs=a.n(Ws),Gs=(a(38565),function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}()),Vs=function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r},Zs=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},Qs=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Gs(t,e),Vs([(0,o.fI)(),Zs("design:type",String)],t.prototype,"value",void 0),Vs([(0,o.fI)(),Zs("design:type",Object)],t.prototype,"label",void 0),Vs([(0,o.fI)(),Zs("design:type",String)],t.prototype,"name",void 0),Vs([(0,o.fI)(),Zs("design:type",Number)],t.prototype,"percent",void 0),Vs([(0,o.wA)({inheritAttrs:!1,components:{ElRadio:Hs(),ElColumnRow:ke}})],t)}(o.w3),Ks=Qs,Ys=(a(48002),(0,z.Z)(Ks,Us,[],!1,null,null,null).exports),Js=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-card",{staticClass:"message-card",attrs:{shadow:"none"}},[e.showTitle?t("template",{slot:"header"},[e._v(e._s(e.$t("lang.applyMessageTitle")))]):e._e(),e._v(" "),e._t("default")],2)};Js._withStripped=!0;var Xs=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),ec=function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r},tc=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},ac=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.api=x(),t.data=[],t.form=new K({loader:"",action:"/ticket",default:{application_id:t.applicationId,stage:t.stage},onSubmitSuccess:function(){t.load(),t.form.model.content=""}}),t}return Xs(t,e),t.prototype.mounted=function(){this.load()},t.prototype.load=function(){var e=this;this.api.get("/ticket/list/1",{params:{filters:!0,application_id:this.applicationId,size:25}}).then((function(t){e.data=t.list}))},ec([(0,o.fI)({required:!1,default:!0}),tc("design:type",Boolean)],t.prototype,"showTitle",void 0),ec([(0,o.fI)({required:!0}),tc("design:type",String)],t.prototype,"applicationId",void 0),ec([(0,o.fI)({required:!0}),tc("design:type",Number)],t.prototype,"stage",void 0),ec([(0,o.wA)({components:{ElCard:fe(),ElTableColumn:Uo(),ElInput:Ze(),ElTable:go,ElPagination:Kr,ElFormItem:pt,ElButton:Ge,ElForm:ae}})],t)}(o.w3),oc=ac,lc=(a(87697),(0,z.Z)(oc,Js,[],!1,null,null,null).exports
1),nc=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-dialog",{staticClass:"add-product-model-dialog position-center",attrs:{width:"880px",title:"New Product Mode",visible:e.visible,"destroy-on-close":!0,"close-on-click-modal":!1},on:{close:function(t){return e.$emit("update:visible",!1)}}},[t("el-form",{attrs:{store:e.gaModelForm,"status-icon":"",hasLabelSuffix:!1}},[t("el-form-item",{staticClass:"label-left",attrs:{label:"Model Name/No","label-width":"143px"}},[t("el-input",{attrs:{placeholder:"Model Name/No"},model:{value:e.gaModelForm.model.name,callback:function(t){e.$set(e.gaModelForm.model,"name",t)},expression:"gaModelForm.model.name"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-left",attrs:{label:"Water Inlet Size","label-width":"143px"}},[t("el-input",{attrs:{placeholder:"Water Inlet Size"},model:{value:e.gaModelForm.model.water_inlet_size,callback:function(t){e.$set(e.gaModelForm.model,"water_inlet_size",t)},expression:"gaModelForm.model.water_inlet_size"}})],1),e._v(" "),t("el-form-item",{staticClass:"d-flex flex-column",attrs:{label:"Supporting Documents","label-width":"0"}},[t("el-document-upload",{attrs:{"base-url":"/api/afs/wsd",action:"/api/afs/wsd"},model:{value:e.gaModelForm.model.supporting_doc,callback:function(t){e.$set(e.gaModelForm.model,"supporting_doc",t)},expression:"gaModelForm.model.supporting_doc"}})],1),e._v(" "),t("el-form-item",{staticClass:"product-catalog-form-item d-flex flex-column table-form-item label-flex-center",attrs:{"label-width":"0"}},[t("template",{staticClass:"imitation-label",slot:"label"},[e._v("\n        Supporting Document Number:\n        "),t("el-button",{staticClass:"no-border-btn question-mark-btn",attrs:{icon:"iconfont a-ico_"},on:{click:function(t){return t.stopPropagation(),t.preventDefault(),e.onShowDocumnentNumGuid("supportingDocNum")}}})],1),e._v(" "),t("el-input",{attrs:{placeholder:"Supporting Document Number"},model:{value:e.gaModelForm.model.supporting_document_no,callback:function(t){e.$set(e.gaModelForm.model,"supporting_document_no",t)},expression:"gaModelForm.model.supporting_document_no"}})],2)],1),e._v(" "),t("template",{slot:"footer"},[t("el-button",{staticClass:"refuse-btn",on:{click:function(t){return e.$emit("update:visible",!1)}}},[e._v("\n      Close\n    ")]),e._v(" "),t("el-button",{staticClass:"agree-btn",attrs:{type:"primary"}},[e._v(" Save ")])],1)],2)};nc._withStripped=!0;var rc=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),ic=function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r},sc=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},cc=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.gaModelType="gaModel",t.gaPlusModelType="gaPlusModel",t.gaStarModelType="gaStarModel",t.gaVlsModelType="gaVlsModel",t.gaModelForm=new K({default:{type:"ga",supporting_doc:{}}}),t.gaPlusModelForm=new K({default:{type:"ga_plus",iso_cert_doc:{},product_cert_doc:{},ga_letter_doc:{}}}),t.gaStarModelForm=new K({default:{type:"ga_star",supporting_doc:{},ga_letter_doc:{}}}),t.gaVlsModelForm=new K({default:{type:"vls",ga_letter_doc:{}}}),t}return rc(t,e),t.prototype.onAddModel=function(e){switch(e){case this.gaModelType:this.$emit("on-add",e,this.gaModelForm.model);break;case this.gaPlusModelType:this.$emit("on-add",e,this.gaPlusModelForm.model);break;case this.gaStarModelType:this.$emit("on-add",e,this.gaStarModelForm.model);break;case this.gaVlsModelType:this.$emit("on-add",e,this.gaVlsModelForm.model)}},t.prototype.onShowDocumnentNumGuid=function(){this.$emit("show-instructions","supportingDocNum")},ic([(0,o.fI)(),sc("design:type",Boolean)],t.prototype,"visible",void 0),ic([(0,o.wA)({components:{ElDialog:pe,ElInput:Ze(),ElButton:Ge,ElForm:ae,ElFormItem:pt,ElDocumentUpload:Eo}})],t)}(o.w3),dc=cc,pc=(0,z.Z)(dc,nc,[],!1,null,null,null).exports,uc=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-dialog",{staticClass:"widgets-instru
1ctions-dialog text-dialog",attrs:{visible:e.visible,"destroy-on-close":!0,"close-on-click-modal":!1,title:e.$t("lang.bootInstructionsDiaTitle")},on:{close:function(t){return e.$emit("update:visible",!1)}}},[e.content?t("el-input",{staticClass:"text-dialog-content",attrs:{type:"textarea",resize:"none",readonly:""},model:{value:e.content,callback:function(t){e.content=t},expression:"content"}}):e._e(),e._v(" "),t("div",{staticClass:"other-content"},[e._t("default")],2),e._v(" "),t("template",{slot:"footer"},[t("el-button",{staticClass:"refuse-btn",on:{click:function(t){return e.$emit("update:visible",!1)}}},[e._v(e._s(e.$t("lang.action.close")))])],1)],2)};uc._withStripped=!0;var mc=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),fc=function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r},_c=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},gc=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return mc(t,e),fc([(0,o.fI)(),_c("design:type",String)],t.prototype,"content",void 0),fc([(0,o.fI)(),_c("design:type",Boolean)],t.prototype,"visible",void 0),fc([(0,o.wA)({components:{ElDialog:pe,ElInput:Ze(),ElButton:Ge}})],t)}(o.w3),hc=gc,vc=(a(86809),(0,z.Z)(hc,uc,[],!1,null,null,null).exports),bc=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("div",{staticClass:"flex-align flex-wrap twen-input-tag"},[e.value?e._l(e.value,(function(a){return t("el-tag",{key:a,attrs:{closable:e.closable,"disable-transitions":!1},on:{close:function(t){return e.onRemove(a)}}},[e._v("\n      "+e._s(a)+"\n    ")])})):e._e(),e._v(" "),e.visible&&!e.readonly?t("el-input",{staticClass:"flex-1 tag-input",attrs:{size:"small"},on:{blur:e.onAdd,change:e.onChange},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.onAdd.apply(null,arguments)}},model:{value:e.inputValue,callback:function(t){e.inputValue=t},expression:"inputValue"}}):e._e(),e._v(" "),e.visible||e.readonly?e._e():t("el-button",{staticClass:"button-new-tag",attrs:{size:"small"},on:{click:function(t){e.visible=!0}}},[e._v("+ "+e._s(e.placeholder))])],2)};bc._withStripped=!0;var wc=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),yc=function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r},$c=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},Cc=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.visible=!1,t.inputValue="",t}return wc(t,e),t.prototype.onRemove=function(e){var t=this.value.findIndex((function(t){return t===e}));-1!=t&&this.value.splice(t,1),this.$emit("input",this.value),this.$emit("on-remove",this.value)},t.prototype.onAdd=function(){this.inputValue&&((this.value||[]).push(this.inputValue),this.$emit("input",this.value)),this.visible=!1,this.inputValue=""},t.prototype.onChange=function(){this.$emit("on-change",this.inputValue)},yc([(0,o.fI)({required:!1,default:function(){return[]}}),$c("design:type",Array)],t.prototype,"value",void 0),yc([(0,o.fI)({required:!1,default:"添加标签"}),$c("design:type",String)],t.prototype,"placeholder",void 0),yc([(0,o.fI)({required:!1,default:!1}),$c("design:type",Boolean)],t.prototype,"readonly",void 0),yc([(0,o.fI)({required:!1,default:!0}),$c("design:type",Boolean)],t.prototype,"closable",void 0),yc([(0,o.wA)({components:{ElTag:ls(),ElInput:Ze(),ElButton:Me()}})],t)}(o.w3),xc=Cc,Sc=(a(84056),(0,z.Z)(xc,bc,[],!1,null,null,null).exports
1),Ec=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-steps",{staticClass:"widgets-part-menus",attrs:{active:e.active,"align-center":""}},e._l(e.menus,(function(a,o){return t("el-step",{key:o},[t("div",{staticClass:"part-muns-title",attrs:{slot:"description"},on:{click:function(t){return e.onScrollTo(o)}},slot:"description"},[e._v(e._s(e.$t(a.name)))])])})),1)};Ec._withStripped=!0;var kc=a(12796),Oc=a.n(kc),Ac=(a(59699),a(162)),Pc=a.n(Ac),Tc=(a(81592),function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}()),Dc=function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r},Rc=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},Ic=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Tc(t,e),t.prototype.onScrollTo=function(e){console.log("index",e),this.$emit("on-scroll-to",e)},t.prototype.mounted=function(){},Dc([(0,o.fI)(),Rc("design:type",Array)],t.prototype,"menus",void 0),Dc([(0,o.fI)({default:1}),Rc("design:type",Number)],t.prototype,"active",void 0),Dc([(0,o.wA)({components:{ElSteps:Oc(),ElStep:Pc()}})],t)}(o.w3),Fc=Ic,Lc=(a(86191),(0,z.Z)(Fc,Ec,[],!1,null,null,null).exports);function qc(e,t,a,o,l){t?/^[0-9\+\(\)]*$/.test(t)&&t.length>7?a():a(new Error(l)):o?a(new Error(o)):a()}function Mc(e,t){void 0===t&&(t=10);var a=e.model.status;e.model.status=t,e.submit().catch((function(t){return e.model.status=a}))}var jc=a(13235),zc=a.n(jc),Nc=(a(15282),a(81337)),Bc=a.n(Nc),Uc=(a(49775),function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}()),Wc=function(){return Wc=Object.assign||function(e){for(var t,a=1,o=arguments.length;a<o;a++)for(var l in t=arguments[a])Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l]);return e},Wc.apply(this,arguments)},Hc=function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r},Gc=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},Vc=function(e,t,a){if(a||2===arguments.length)for(var o,l=0,n=t.length;l<n;l++)!o&&l in t||(o||(o=Array.prototype.slice.call(t,0,l)),o[l]=t[l]);return e.concat(o||Array.prototype.slice.call(t))},Zc=x(),Qc=[{name:"lang.gaApplication"},{name:"lang.gaModelList"},{name:"lang.product_catalog_books"}],Kc=[{name:"lang.gaPlusApplication"},{name:"lang.gaPlusModelList"}],Yc=[{name:"lang.gaStartApplication"},{name:"lang.gaStartModelList"}],Jc=[{name:"lang.vlsApplication"},{name:"lang.vlsModelList"}],Xc=[{name:"lang.applicant_particular"},{name:"lang.applicationItem"}],ed=[{name:"lang.disclaimer"},{name:"lang.applyMessageTitle"}],td=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.baseUrl="/api/afs/wsd",t.breadcrumb=[{path:"",title:t.$t("lang.breadcrumb.eApplication")},{path:"/applications/ga",title:t.$t("lang.breadcrumb.ga")},{path:"",title:t.$t("lang.breadcrumb.newApplication")}],t.errMessage={111:t.$t("lang.pleaseCompleteAllRequiredFields"),90003:t.$t("lang.applicationAlreadyExists"),90005:t.$t("lang.applicationAlreadySubmit"),90007:t.$t("lang.applicationDraftErr"),90009:t.$t("lang.applicationTestReportErr")},t.gaItemsOption="en-US"===t.$i18n.locale?gl:"zh-CN"===t.$i18n.locale?vl:hl,t.WaterSupplySystemOption="en-US"===t.$i18n.locale?bl:"zh-CN"===t.$i18n.locale?yl:wl,t.gaPlusScheme=[{type:t.$t("lang.newApplicationGAPlus"),tip:t.$t("lang.onephotocopyOfGAPlustSupportingDocuments"),value:"ga_plus_new"},{type:t.$t("lang.applicationForExistingGAproducts"),tip:t.$t("lang.OneGAPlusSupportingdocAndOnePhotocopyGALetter"),value:"ga_plus_exists"}],t.gaStarScheme=[{type:t.$t("lang.newApplicationForJoiningGAStartScheme"),tip:t.$t("lang.oneOriginalCertifiedTrueCopyOfGAStareSupportingdoc"),value:"ga_star_new"},{type:t.$t("lang.applicationForExistingGAproducts"),tip:t.$t("lang.oneGAStartSupportingDocAndOneGALetter"),value:"ga_star_exists"}],t.gaVlsScheme=[{type:t.$t("lang.newApplicationVLS"),tip:t.$t("lang.notApplicable"),value:"ga_vls_new"},{type:t.$t("lang.applicationForExistingGAproducts"),tip:t.$t("lang.onePhotocopyOfOriginalGALetter"),value:"ga_vls_exists"}],t.productCatalogBookInstructions=t.$t("lang.gaProductCatalogBookInstructions"),t.gaSupportingDocNoInstructions=t.$t("lang.gaSupportingDocNoInstructions"),t.modelNameInstructions=t.$t("lang.modelNameInstructions"),t.gaModelType="gaModel",t.gaPlusModelType="gaPlusModel",t.gaStarModelType="gaStarModel",t.gaVlsModelType="gaVlsModel",t.productModelsOperationalType="",t.productModelsOperationalIndex=0,t.treaty="",t.agreeTreaty=!0,t.partMaxActive=1,t.partList=[],t.partActive=1,t.showSupporDocDialog=!1,t.supporDocList=[],t.selectSupporDoc=[],t.reactiveList=[],t.docAppliceType=["Ga","GA*"],t.canEdit=!0,t.form=new K({loader:"/public/ga/applications/:id",action:"/public/ga/applications",default:{status:-1,ga_items:[],ga_water_supply_system_items:[],ga_laboratories:[],ga_product_models:[],product_catalog_books:[],ga_plus_product_models:[],ga_star_product_models:[],vls_product_models:[]},rules:{applicant_particular_name:[{required:!0,message:t.$t("lang.company_name"),trigger:"blur"},{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"}],applicant_particular_address:[{required:!0,message:t.$t("lang.particular_address"),trigger:"blur"},{max:250,message:"".concat(t.$t("lang.characterLength")," 250"),trigger:"blur"}],applicant_particular_contact_person:[{required:!0,message:t.$t("lang.contactPersonTitle"),trigger:"blur"},{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"}],applicant_particular_contact_phone:[{required:!0,validator:function(e,a,o){return qc(0,a,o,t.$t("lang.telephone_number"),t.$t("lang.pleaseEnterCorrectNum"))},trigger:"blur"}],applicant_particular_contact_mail:[{required:!0,message:t.$t("lang.email"),trigger:"blur"},{type:"email",message:t.$t("lang.inputCorrectEmailAddress"),trigger:"blur"},{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"}],ga_items:[{required:!0,message:t.$t("lang.typeOfApplication"),trigger:"blur"}],ga_water_supply_system_items:[{required:!0,message:t.$t("lang.waterSupplySystemToBeUsedTip"),trigger:"blur"}],ga_product_description:[{required:!0,message:t.$t("lang.detailProductDesTip"),trigger:"blur"},{max:250,message:"".concat(t.$t("lang.characterLength")," 250"),trigger:"blur"}],ga_product_brand_name:[{required:!0,message:t.$t("lang.productBrandNameTip"),trigger:"blur"},{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],ga_product_manufacturer_name:[{required:!0,message:t.$t("lang.manufacturerNameTip"),trigger:"blur"},{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],ga_product_factory_name:[{required:!0,message:t.$t("lang.factoryNameTip"),trigger:"blur"},{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],ga_product_factory_address:[{required:!0,message:t.$t("lang.factoryAddressTip"),trigger:"blur"},{max:250,message:"".concat(t.$t("lang.characterLength")," 250"),trigger:"blur"}],ga_product_country_origin:[{required:!0,message:t.$t("lang.countryOriginTip"),trigger:"blur"},{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"}],ga_existing_letter_no:[{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"}],upload_other_info_msg:[{max:250,message:"".concat(t.$t("lang.characterLength")," 250"),trigger:"blur"}],ga_product_models:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"}],ga_plus_product_models:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"}],ga_star_product_models:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"}],vls_product_models:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"}]},onSubmitSuccess:function(){t.successMessage("submit")},onSubmitFailure:function(e){var a=e?t.errMessage[e]:t.errMessage[111];a&&E().error({message:a,showClose:!0,duration:5e3})},after:function(e){return t.onGetPartList(e.ga_items),e}}
1),t.gaModelForm=new K({default:{type:"ga",supporting_doc:{}},rules:{name:[{required:!0,message:"Model Name/No",trigger:"blur"},{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"}],water_inlet_size:[{required:!0,message:"Water Inlet Size",trigger:"blur"},{validator:function(e,a,o){a&&0!==a.length?a.filter((function(e){return e.length>40})).length>0?o(new Error("".concat(t.$t("lang.characterLength")," 40"))):o():o(new Error(t.$t("lang.pleaseEnter")))}}],laboratory_id:[{required:!0,message:"Please Choose",trigger:"blur"}],test_report_no:[{required:!0,message:"Please Enter",trigger:"blur"},{validator:function(e,a,o){a&&0!==a.length?a.filter((function(e){return e.length>40})).length>0?o(new Error("".concat(t.$t("lang.characterLength")," 40"))):o():o(new Error(t.$t("lang.pleaseEnter")))}}],bsi_cert_no:[{validator:function(e,a,o){a&&0!==a.length&&a.filter((function(e){return e.length>40})).length>0?o(new Error("".concat(t.$t("lang.characterLength")," 40"))):o()}}],wras_cert_no:[{validator:function(e,a,o){a&&0!==a.length&&a.filter((function(e){return e.length>40})).length>0?o(new Error("".concat(t.$t("lang.characterLength")," 40"))):o()}}]}}),t.gaPlusModelForm=new K({default:{type:"ga_plus",iso_cert_doc:{},product_cert_doc:{},ga_letter_doc:{}},rules:{name:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"}],brand_name:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],product_description:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{max:200,message:"".concat(t.$t("lang.characterLength")," 200"),trigger:"blur"}],iso_ref_no:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"}],iso_expiry_date:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"}],product_ref_no:[{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"}],"iso_cert_doc.name":[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"}],ga_file_no:[{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"}]}}),t.gaStarModelForm=new K({default:{type:"ga_star",supporting_doc:{},ga_letter_doc:{}},rules:{name:[{required:!0,message:"Model Name/No",trigger:"blur"},{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"}],brand_name:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],product_description:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{max:200,message:"".concat(t.$t("lang.characterLength")," 200"),trigger:"blur"}],laboratory_id:[{required:!0,message:"Please Choose",trigger:"blur"}],test_report_no:[{required:!0,message:"Please Enter",trigger:"blur"},{validator:function(e,a,o){a&&0!==a.length?a.filter((function(e){return e.length>40})).length>0?o(new Error("".concat(t.$t("lang.characterLength")," 40"))):o():o(new Error(t.$t("lang.pleaseEnter")))}}],ga_file_no:[{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"}]}}),t.gaVlsModelForm=new K({default:{type:"vls",ga_letter_doc:{}},rules:{name:[{required:!0,message:"Please Enter",trigger:"blur"},{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"}],brand_name:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],product_description:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{max:200,message:"".concat(t.$t("lang.characterLength")," 200"),trigger:"blur"}],"supporting_doc.name":[{required:!0,message:"GA* Supporting Document",trigger:"blur"}],ga_file_no:[{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"}]}}),t.showGaAddProductModel=!1,t.pageCenterNum=0,t.cardListTop=[],t.laboratorList=[],t.showInstructionsDialog=!1,t.instructionsContent="",t.pickerOptions={disabledDate:function(e){return e.getTime()<Date.now()-864e5}},t}return Uc(t,e),t.prototype.onChange=function(e){switch(this.productCatalogBookInstructions=this.$t("lang.gaProductCatalogBookInstructions"),this.gaSupportingDocNoInstructions=this.$t("lang.gaSupportingDocNoInstructions"),this.modelNameInstructions=this.$t("lang.modelNameInstructions"),this.gaPlusScheme=[{type:this.$t("lang.newApplicationGAPlus"),tip:this.$t("lang.onephotocopyOfGAPlustSupportingDocuments"),value:"ga_plus_new"},{type:this.$t("lang.applicationForExistingGAproducts"),tip:this.$t("lang.OneGAPlusSupportingdocAndOnePhotocopyGALetter"),value:"ga_plus_exists"}],this.gaStarScheme=[{type:this.$t("lang.newApplicationForJoiningGAStartScheme"),tip:this.$t("lang.oneOriginalCertifiedTrueCopyOfGAStareSupportingdoc"),value:"ga_star_new"},{type:this.$t("lang.applicationForExistingGAproducts"),tip:this.$t("lang.oneGAStartSupportingDocAndOneGALetter"),value:"ga_star_exists"}],this.gaVlsScheme=[{type:this.$t("lang.newApplicationVLS"),tip:this.$t("lang.notApplicable"),value:"ga_vls_new"},{type:this.$t("lang.applicationForExistingGAproducts"),tip:this.$t("lang.onePhotocopyOfOriginalGALetter"),value:"ga_vls_exists"}],this.errMessage={90003:this.$t("lang.applicationAlreadyExists"),90005:this.$t("lang.applicationAlreadySubmit")},this.breadcrumb=[{path:"",title:this.$t("lang.breadcrumb.eApplication")},{path:"/applications/ga",title:this.$t("lang.breadcrumb.ga")},{path:"",title:this.$t("lang.breadcrumb.newApplication")}],e){case"zh-CN":this.gaItemsOption=vl,this.WaterSupplySystemOption=yl;break;case"en-US":this.gaItemsOption=gl,this.WaterSupplySystemOption=bl;break;case"zh-HK":this.gaItemsOption=hl,this.WaterSupplySystemOption=wl}},t.prototype.onChangePage=function(e){window.location.reload()},t.prototype.onShowTextDialog=function(e){this.showInstructionsDialog=!0,this.instructionsContent="supportingDocNum"===e?this.gaSupportingDocNoInstructions:"modelName"===e?this.modelNameInstructions:this.productCatalogBookInstructions},t.prototype.onRemoveModel=function(e,t){switch(e){case this.gaModelType:this.form.model.ga_product_models.splice(t,1);break;case this.gaPlusModelType:this.form.model.ga_plus_product_models.splice(t,1);break;case this.gaStarModelType:this.form.model.ga_star_product_models.splice(t,1);break;case this.gaVlsModelType:this.form.model.vls_product_models.splice(t,1)}},t.prototype.onAddModel=function(e){var t=this;switch(e){case this.gaModelType:Promise.resolve(this.gaModelForm.validate()).then((function(e){if(e){if("edit"===t.productModelsOperationalType){var a=t.form.model.ga_product_models.concat([]);a[t.productModelsOperationalIndex]=t.gaModelForm.model,t.form.model.ga_product_models=a.concat([])}else t.form.model.ga_product_models.push(t.gaModelForm.model);t.gaModelForm.close()}}));break;case this.gaPlusModelType:Promise.resolve(this.gaPlusModelForm.validate()).then((function(e){if(e){if("edit"===t.productModelsOperationalType){var a=t.form.model.ga_plus_product_models.concat([]);a[t.productModelsOperationalIndex]=t.gaPlusModelForm.model,t.form.model.ga_plus_product_models=a.concat([])}else t.form.model.ga_plus_product_models.push(t.gaPlusModelForm.model);t.gaPlusModelForm.close()}}));break;case this.gaStarModelType:Promise.resolve(this.gaStarModelForm.validate()).then((function(e){if(e){if("edit"===t.productModelsOperationalType){var a=t.form.model.ga_star_product_models.concat([]);a[t.productModelsOperationalIndex]=t.gaStarModelForm.model,t.form.model.ga_star_product_models=a.concat([])}else t.form.model.ga_star_product_models.push(t.gaStarModelForm.model);t.gaStarModelForm.close()}}));break;case this.gaVlsModelType:Promise.resolve(this.gaVlsModelForm.validate()).then((function(e){if(e){if("edit"===t.productModelsOperationalType){var a=t.form.model.vls_product_models.concat([]);a[t.productModelsOperationalIndex]=t.gaVlsModelForm.model,t.form.model.vls_product_models=a.concat([])}else t.form.model.vls_product_models.push(t.gaVlsModelForm.model);t.gaVlsModelForm.close()}}))}},t.prototype.handleCreate=function(){var e=this;if(!this.form.model.disclaimer)return E().error({message:"".concat(this.$t("lang.agreeToTreaty")),showClose:!0,duration:5e3}),!1;this.form.model.status=0,this.form.model.id?this.form.validate().then((function(){var t=n().service({lock:!0});Zc.post("/public/ga/applications/drafted/submit",e.form.model).then((function(a){t.close(),e.successMessage("submit")})).catch((function(a){t.close(),e.form.model.status=-1;var o=e.errMessage[a];o&&E().error({message:o,showClose:!0,duration:5e3})}))})).catch((function(t){e.submitErrMessage(!1),e.form.model.status=-1})):this.form.submit().catch((function(t){return e.form.model.status=-1}))},t.prototype.handleSubmit=function(){var e=this;if(!this.form.model.disclaimer)return E().error({message:"".concat(this.$t("lang.agreeToTreaty")),showClose:!0,duration:5e3}),!1;var t=n().service({lock:!0});Zc.post("/public/ga/applications/submit",this.form.model).then((function(a){t.close(),e.successMessage("submit")})).catch((function(a){t.close();var o=e.errMessage[a];o&&E().error({message:o,showClose:!0,duration:5e3})}))},t.prototype.onSaveForm=function(){var e=this,t=this.form.model.status,a=n().service({lock:!0});this.form.model.id?Zc.put("/public/ga/applications",this.form.model).then((function(t){e.successMessage("save"),a.close()})).catch((function(o){e.form.model.status=t,e.submitErrMessage(o),a.close()})):Zc.post("/public/ga/applications",this.form.model).then((function(t){e.successMessage("save"),a.close()})).catch((function(o){e.form.model.status=t,e.submitErrMessage(o),a.close()}))},t.prototype.successMessage=function(e,t){void 0===e&&(e="save"),void 0===t&&(t=!0),E().success({duration:5e3,showClose:!0,message:"save"===e?this.$t("lang.successfullySaved"):this.$t("lang.successfullySubmitted")}),t&&this.$router.back()},t.prototype.submitErrMessage=function(e){var t=e?this.errMessage[e]:this.errMessage[111];t&&E().error({message:t,showClose:!0,duration:5e3})},t.prototype.beforeMount=function(){var e=this;this.$route.params.id&&this.form.load({id:this.$route.params.id}),this.$route.params.id||Zc.get("/public/ga/applications/latest").then((function(t){e.form.reset(Wc(Wc({},e.form.default),{applicant_particular_address:null==t?void 0:t.applicant_particular_address,applicant_particular_name:null==t?void 0:t.applicant_particular_name,applicant_particular_contact_mail:null==t?void 0:t.applicant_particular_contact_mail,applicant_particular_contact_person:null==t?void 0:t.applicant_particular_contact_person,applicant_particular_contact_phone:null==t?void 0:t.applicant_particular_contact_phone}))}))},t.prototype.checkItem=function(e){return this.form.model.ga_items.includes(e)},t.prototype.onEditProductModels=function(e,t,a,o){switch(this.productModelsOperationalType=o,this.productModelsOperationalIndex=a,e){case this.gaModelType:this.gaModelForm.default=Object.assign({type:"ga",supp
1orting_doc:{scheme:10100}},t),this.gaModelForm.open();break;case this.gaPlusModelType:this.gaPlusModelForm.default=Object.assign({type:"ga_plus",iso_cert_doc:{scheme:10200},product_cert_doc:{scheme:10205},ga_letter_doc:{scheme:10210}},t),this.gaPlusModelForm.open();break;case this.gaStarModelType:this.gaStarModelForm.default=Object.assign({type:"ga_star",supporting_doc:{scheme:10300},ga_letter_doc:{scheme:10305}},t),this.gaStarModelForm.open();break;case this.gaVlsModelType:this.gaVlsModelForm.default=Object.assign({type:"vls",ga_letter_doc:{scheme:10400}},t),this.gaVlsModelForm.open()}},t.prototype.onAddProductModels=function(e){switch(this.productModelsOperationalType="",this.productModelsOperationalIndex=0,e){case this.gaModelType:this.gaModelForm.default={type:"ga",supporting_doc:{}},this.gaModelForm.open();break;case this.gaPlusModelType:this.gaPlusModelForm.default={type:"ga_plus",iso_cert_doc:{},product_cert_doc:{},ga_letter_doc:{}},this.gaPlusModelForm.open();break;case this.gaStarModelType:this.gaStarModelForm.default={type:"ga_star",supporting_doc:{},ga_letter_doc:{}},this.gaStarModelForm.open();break;case this.gaVlsModelType:this.gaVlsModelForm.default={type:"vls",ga_letter_doc:{}},this.gaVlsModelForm.open()}},t.prototype.onChangeItems=function(e){e&&e.includes("ga")&&(this.$set(this.form.model,"ga_product_brand_name",""),this.$set(this.form.model,"ga_product_description","")),this.onGetPartList(e),this.reloadGutter()},t.prototype.handleScroll=function(){for(var e=document.querySelectorAll(".entry-application-item-card"),t=document.querySelector(".page-content-view"),a=null==t?void 0:t.scrollTop,o=[],l=0;l<e.length;l++)o.push(e[l].offsetTop);var n;n=(null==t?void 0:t.scrollHeight)&&a+(null==t?void 0:t.clientHeight)>=(null==t?void 0:t.scrollHeight)?o.concat([]):a<20?[]:o.filter((function(e){return e-12<a})),this.partMaxActive=(null==n?void 0:n.length)||1,this.cardListTop=o.concat([])},t.prototype.onScrollTo=function(e){document.querySelector(".page-content-view").scrollTop=this.cardListTop[e]-10},t.prototype.onGetLaboratorList=function(){var e=this;Zc.get("/internal/laboratories/type/0").then((function(t){t=t.map((function(e){return Wc({name:e.english_name},e)})),e.laboratorList=t.concat([])}))},t.prototype.onSelectTurnDoc=function(){var e=this;Zc.get("/laboratory/reactive/all?application_id=".concat(this.form.model.source_id)).then((function(t){e.supporDocList=t.filter((function(t){return!(0!==t.type||e.form.model.ga_model_review&&0!==e.form.model.ga_model_review.status)||!(1!==t.type||e.form.model.ga_star_model_review&&0!==e.form.model.ga_star_model_review.status)})),e.showSupporDocDialog=!0}))},t.prototype.onReactive=function(){var e=this,t=[];this.form.model.ga_model_review&&0!==this.form.model.ga_model_review.status||this.form.model.ga_product_models.forEach((function(a){t=Vc(Vc([],t,!0),((null==a?void 0:a.test_report_no)||[]).map((function(t){return{model_id:null==a?void 0:a.id,test_report_no:t,laboratory_id:null==a?void 0:a.laboratory_id,application_id:e.form.model.source_id,type:0,random:Math.ceil(99999*Math.random())}})),!0)}));var a=[];this.form.model.ga_star_model_review&&0!==this.form.model.ga_star_model_review.status||this.form.model.ga_star_product_models.forEach((function(t){a=Vc(Vc([],a,!0),((null==t?void 0:t.test_report_no)||[]).map((function(a){return{model_id:null==t?void 0:t.id,test_report_no:a,laboratory_id:null==t?void 0:t.laboratory_id,application_id:e.form.model.source_id,type:1,random:Math.ceil(99999*Math.random())}})),!0)})),this.supporDocList=Vc(Vc([],t,!0),a,!0),this.selectSupporDoc=[],this.showSupporDocDialog=!0},t.prototype.onSubmitSelectDoc=function(){return e=this,t=void 0,o=function(){var e,t=this;return function(e,t){var a,o,l,n,r={label:0,sent:function(){if(1&l[0])throw l[1];return l[1]},trys:[],ops:[]};return n={next:i(0),throw:i(1),return:i(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function i(i){return function(s){return function(i){if(a)throw new TypeError("Generator is already executing.");for(;n&&(n=0,i[0]&&(r=0)),r;)try{if(a=1,o&&(l=2&i[0]?o.return:i[0]?o.throw||((l=o.return)&&l.call(o),0):o.next)&&!(l=l.call(o,i[1])).done)return l;switch(o=0,l&&(i=[2&i[0],l.value]),i[0]){case 0:case 1:l=i;break;case 4:return r.label++,{value:i[1],done:!1};case 5:r.label++,o=i[1],i=[0];continue;case 7:i=r.ops.pop(),r.trys.pop();continue;default:if(!((l=(l=r.trys).length>0&&l[l.length-1])||6!==i[0]&&2!==i[0])){r=0;continue}if(3===i[0]&&(!l||i[1]>l[0]&&i[1]<l[3])){r.label=i[1];break}if(6===i[0]&&r.label<l[1]){r.label=l[1],l=i;break}if(l&&r.label<l[2]){r.label=l[2],r.ops.push(i);break}l[2]&&r.ops.pop(),r.trys.pop();continue}i=t.call(e,r)}catch(e){i=[6,e],o=0}finally{a=l=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}}(this,(function(a){switch(a.label){case 0:return 0===this.selectSupporDoc.length?(E().error({message:this.$t("lang.pleaseTickNum"),showClose:!0,duration:5e3}),[2]):(this.reactiveList=this.supporDocList.filter((function(e){return t.selectSupporDoc.includes(e.random)})),e=n().service({lock:!0}),this.form.reset(Wc(Wc({},this.form.model),{ga_product_models:this.form.model.ga_product_models.map((function(e){return Wc(Wc({},e),{supporting_documents:[]})})),ga_star_product_models:this.form.model.ga_star_product_models.map((function(e){return Wc(Wc({},e),{supporting_documents:[]})}))})),[4,Zc.put("/public/ga/applications",this.form.model)]);case 1:return a.sent(),[4,this.form.load({id:this.form.model.id})];case 2:return a.sent(),Zc.post("public/ga/applications/laboratory/reactive",{application_id:this.form.model.application_id,source_id:this.form.model.source_id,laboratory_applications:this.reactiveList}).then((function(){E().success({message:t.$t("lang.submittedSuccessfully"),showClose:!0,duration:5e3}),t.showSupporDocDialog=!1,e.close(),t.$router.push({path:"/applications/ga"})})).catch((function(t){e.close(),console.log("reactive lab error",t)})),[2]}}))},new((a=void 0)||(a=Promise))((function(l,n){function r(e){try{s(o.next(e))}catch(e){n(e)}}function i(e){try{s(o.throw(e))}catch(e){n(e)}}function s(e){var t;e.done?l(e.value):(t=e.value,t instanceof a?t:new a((function(e){e(t)}))).then(r,i)}s((o=o.apply(e,t||[])).next())}));var e,t,a,o},t.prototype.onGetPartList=function(e){var t=Xc.concat([]);e.indexOf("ga")>
1-1&&(t=t.concat(Qc)),e.indexOf("ga_plus")>-1&&(t=t.concat(Kc)),e.indexOf("ga_star")>-1&&(t=t.concat(Yc)),e.indexOf("vls")>-1&&(t=t.concat(Jc)),this.partList=t.concat(ed)},t.prototype.mounted=function(){var e=this;this.$nextTick((function(){var t,a;window.addEventListener("scroll",e.handleScroll,!0);var o=(null===(t=document.querySelector("body"))||void 0===t?void 0:t.clientHeight)||0,l=(null===(a=document.querySelector(".el-header"))||void 0===a?void 0:a.clientHeight)||0;e.pageCenterNum=o?o/2-107-l:0;for(var n=document.querySelectorAll(".entry-application-item-card"),r=0;r<n.length;r++)e.cardListTop.push(n[r].offsetTop)})),this.onGetLaboratorList(),this.onGetPartList([]),this.reloadGutter()},t.prototype.reloadGutter=function(){var e=document.getElementsByClassName("el-table__cell gutter");for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t)){var a=e[t];null==a||a.append("1"),null==a||a.setAttribute("style","width: 0px; display: none; color: #3A6573; backgroundColor: #ffffff;")}},t.prototype.onChangeLab=function(e){"100001"===e&&ze()({dangerouslyUseHTMLString:!0,title:"".concat(this.$t("lang.kindTips")),message:"\n        <div>".concat(this.$t("lang.welsSendReportFileToWsdoffice"),"</div>\n        </br>\n        <div>").concat(this.$t("lang.welsSendReportFileToWsdoffice1"),"</div>\n        </br>\n        <div>").concat(this.$t("lang.welsSendReportFileToWsdoffice2"),"</div>\n        ")})},Hc([(0,o.RL)("$route.query.type",{deep:!0}),Gc("design:type",Function),Gc("design:paramtypes",[String]),Gc("design:returntype",void 0)],t.prototype,"onChangePage",null),Hc([(0,o.wA)({components:{ElAdminContainer:Da,ElForm:ae,ElFormItem:pt,ElColumnRow:ke,ElButton:Ge,ElCard:fe(),ElInput:Ze(),ElCheckbox:ei(),ElCheckboxGroup:zc(),ElRadioGroup:Bc(),ElRadios:Hs(),ElSelectTag:ds,ElTable:go,ElTableColumn:Uo(),ElDocumentUpload:Eo,ElRadio:Ys,ElReviewMessage:lc,ElAddProductModel:pc,ElInstructionsDialog:vc,ElDialog:pe,ElDatePicker:Ho(),ElLink:ge(),ElTag:Sc,ElPartMenus:Lc,ElSteps:Oc(),ElStep:Pc(),ElSelect:Pr},beforeRouteEnter:function(e,t,a){Zc.get("/public/setting/agreement",{params:{application_type:10,type:10}}).then((function(t){return a((function(a){var o;!(null===(o=e.params)||void 0===o?void 0:o.id)||(a.canEdit=!1),a.$set(a.form.model,"ga_scheme",e.query.type),a.treaty="en-US"===a.$i18n.locale?null==t?void 0:t.english_agreement:"zh-CN"===a.$i18n.locale?null==t?void 0:t.agreement:null==t?void 0:t.traditional_agreement}))}))}})],t)}(o.w3),ad=td,od=(a(73886),(0,z.Z)(ad,Bs,[],!1,null,null,null).exports),ld=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-admin-container",{class:["page-qms-list","en-US"===e.$i18n.locale?"page-qms-list-en":""],attrs:{breadcrumb:[this.$t("lang.applications"),"QMS"]}},[t("el-card",{staticClass:"search-filter-card",attrs:{shadow:"never"}},[t("el-form",[t("el-column-row",[t("el-form-item",{staticClass:"status-form-item",attrs:{label:e.$t("lang.status"),percent:.22}},[t("label",{attrs:{for:"qms_list_status_params",hidden:""}},[e._v("''")]),e._v(" "),t("el-select",{attrs:{id:"qms_list_status_params",loader:e.searchStatusOptions,clearable:""},model:{value:e.table.params.status,callback:function(t){e.$set(e.table.params,"status",t)},expression:"table.params.status"}})],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("lang.type_of_building"),percent:.22}},[t("label",{attrs:{for:"qms_list_type_params",hidden:""}},[e._v("''")]),e._v(" "),t("el-select",{attrs:{id:"qms_list_type_params",loader:e.typeOfBuildinfOption,clearable:""},model:{value:e.table.params.type,callback:function(t){e.$set(e.table.params,"type",t)},expression:"table.params.type"}})],1),e._v(" "),t("el-form-item",{attrs:{percent:.4,label:e.$t("lang.applicationTime")}},[t("label",{attrs:{for:"qms_list_application_time_params",hidden:""}},[e._v("''")]),e._v(" "),t("label",{attrs:{for:"qms_list_application_time_params_input_0",hidden:""}},[e._v("''")]),e._v(" "),t("label",{attrs:{for:"qms_list_application_time_params_input_1",hidden:""}},[e._v("''")]),e._v(" "),t("el-date-picker",{staticClass:"width-pre-100",attrs:{type:"daterange","start-placeholder":e.$t("lang.applicationTimePlaceholderStart"),"end-placeholder":e.$t("lang.applicationTimePlaceholderEnd"),clearable:""},model:{value:e.table.params.application_time,callback:function(t){e.$set(e.table.params,"application_time",t)},expression:"table.params.application_time"}})],1),e._v(" "),t("el-form-item",{staticClass:"el-item-flex-justify-end"},[t("el-button",{staticClass:"fill-blue-btn",on:{click:function(t){return e.table.load()}}}
1,[e._v(e._s(e.$t("lang.action.search")))])],1)],1)],1)],1),e._v(" "),t("el-card",{staticClass:"contain-card",attrs:{shadow:"never"}},[t("el-table",{attrs:{store:e.table,border:"",hasHeight:!1}},[t("el-table-column",{attrs:{label:e.$t("lang.formHeader.file_no"),align:"center",width:"160"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n          "+e._s(t.row.file_no)+"\n        ")]}}])}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.formHeader.status"),align:"center",width:"170"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n          "+e._s(e._f("options")(t.row.status,e.applyStatusOption))+" "+e._s(0===t.row.status?`(${e.$t("lang.reSubmt")})`:"")+"\n        ")]}}])}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.type_of_building")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n          "+e._s(e._f("options")(t.row.building_type,e.typeOfBuildinfOption))+"\n        ")]}}])}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.name_of_building"),align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(e._f("array")(t.row.building_names,"、")))]}}])}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.english_of_building"),align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(e._f("array")(t.row.english_building_names,"、")))]}}])}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.approvedDate"),width:"150px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n          "+e._s(e._f("date_format")(t.row.approval_time))+"\n        ")]}}])}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.applicationTime"),width:"150px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n          "+e._s(e._f("date_format")(t.row.application_time))+"\n        ")]}}])}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.action.action"),align:"center","class-name":"cell-flex-row cell-justify-center action-column",width:"300"},scopedSlots:e._u([{key:"default",fn:function(a){return[t("el-button",{staticClass:"text-green",attrs:{type:"text"},on:{click:function(t){return e.$router.push({path:"/applications/qms/detail",query:{id:a.row.id}})}}},[e._v(e._s(e.$t("lang.action.view")))]),e._v(" "),-1==a.row.status||0===a.row.status?t("el-button",{staticClass:"text-blue",attrs:{type:"text"},on:{click:function(t){return e.$router.push({path:`/applications/qms/apply/${a.row.id}`})}}},[e._v(e._s(e.$t("lang.action.edit")))]):e._e(),e._v(" "),-1===a.row.status?t("el-button",{staticClass:"text-red",attrs:{type:"text",confirm:e.$t("lang.wantDeleteTip")},on:{confirm:function(t){return e.table.action("delete",{data:[a.row.id]})}}},[e._v(e._s(e.$t("lang.action.delete")))]):e._e(),e._v(" "),25==a.row.status?t("el-button",{staticClass:"text-blue",attrs:{type:"text"},on:{click:function(t){return e.$router.push({path:"/applications/undertaking/apply",query:{type:"qms"}})}}},[e._v("\n            "+e._s(e.$t("lang.changeComplay"))+"\n          ")]):e._e()]}}])}),e._v(" "),t("el-table-toolbar",{attrs:{slot:"toolbar"},slot:"toolbar"},[t("el-button",{staticClass:"print-btn empty-bule-btn iconfont-15",attrs:{slot:"right"},on:{click:e.onAdd},slot:"right"},[t("i",{staticClass:"iconfont a-ico_new1x"}),e._v("\n          "+e._s(e.$t("lang.action.new"))+"\n        ")])],1),e._v(" "),t("el-pagination",{attrs:{slot:"footer",layout:"total, prev, pager, next"},slot:"footer"})],1),e._v(" "),t("el-apply-treaty-dialog",{attrs:{description:e.treaty,visible:e.showTreatyDialiog},on:{"update:visible":function(t){e.showTreatyDialiog=t},"on-agree":e.onAdd}}),e._v(" "),t("el-cancel-dialog",{attrs:{visible:e.cancelForm.visible,form:e.cancelForm},on:{"update:visible":function(t){return e.$set(e.cancelForm,"visible",t)},onCancel:e.onCancel}})],1)],1)};ld._withStripped=!0;var nd=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),rd=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.api=x(),t.baseUrl="/api/afs/wsd",t.searchStatusOptions="en-US"===t.$i18n.locale?Ul:"zh-CN"===t.$i18n.locale?Hl:Wl,t.applyStatusOption="en-US"===t.$i18n.locale?zl:"zh-CN"===t.$i18n.locale?Nl:Bl,t.typeOfBuildinfOption="en-US"===t.$i18n.locale?Jl:"zh-CN"===t.$i18n.locale?Xl:en,t.treaty="\n  \n(1)  I/We* declare that all the information and supporting documents provided for the purpose of this application are true, accurate and complete. \n\n(2) I/We* have maintained the internal plumbing system up to the requirements of the Scheme for keeping the good quality of government water supplies throughout the inside service up to the consumers’ taps.\n\n(3) I/We* shall ensure that all my/our staff are fully aware of and observe the requirements and assessment criteria of the Scheme at all times during the validity period of the certificate\n\n(4) I/We* shall co-operate with the WSD for checking the compliance of the prescribed criteria of the Scheme if considered necessary by the WSD. \n\n(5) I/We* agree that none of the members of the WSD nor the Advisory Committee on Water Supplies (ACWS) shall have any responsibility or liability whatsoever in relation to any dealings between the Scheme certificate holder and the holder’s customers arising from the Scheme.\n\n(6) I/We* shall not behave in a manner which may jeopardize or damage the reputation or interests of the Government of the HKSAR, the WSD or the ACWS.\n\n(7) I/We* agree that the certificate remains the property of the WSD and shall return the certificate if required by the WSD, for example, any major non-compliance that can seriously affect the effectiveness of WSPB, such as inaccurate water supply flow diagrams, incomplete checking records, failure to produce audit reports or non-compliance with assessment criteria etc., the applicant shall rectify the noncompliance with the WSD’s verification within 3 months from the date of the WSD’s notice, otherwise the certificate will be invalidated and the applicant shall return it to the WSD. \n\n(8) I/We* shall not transfer the certificates to other persons or organisations without the permission of the WSD. \n\n(9) I/We* shall take full accountability and responsibility for disclosure of the information concerning the application upon request by third parties. \n\n(10) I/We* shall handle requests for information concerning the application, whilst the WSD will not disclose such information to a third party and will destroy the same after 5 years from the date of receipt from the applicant. \n\n(11) I/We* shall educate and sensitise the residents to the importance of proper maintenance of inside service (I/S) and use of proper pipe materials in I/S through broadcasting videos, displaying posters and distributing leaflets and shall provide relevant information and records if requested by the WSD. \n\n(12) I/We* agree to abide by the Terms and Conditions of the Scheme.",t.showTreatyDialiog=!1,t.table=new Z({loader:"/public/qms/applications/list/:page",params:{filters:!0},actions:{delete:{method:"delete",url:"/public/qms/applications",after:"load"}}}),t.cancelForm=new K({}),t}return nd(t,e),t.prototype.onChange=function(e){switch(console.log("value",e),e){case"zh-CN":this.applyStatusOption=Nl,this.typeOfBuildinfOption=Xl;break;case"en-US":this.applyStatusOption=zl,this.typeOfBuildinfOption=Jl;break;case"zh-HK":this.applyStatusOption=Bl,this.typeOfBuildinfOption=en}},t.prototype.onCancel=function(){var e=this;this.api.delete("/public/qms/applications/cancel",{data:this.cancelForm.model}).then((function(t){e.table.reload(),e.cancelForm.close(),E().success({message:e.$t("lang.cancelSuccess"),showClose:!0,duration:5e3})}))},t.prototype.onAdd=function(){this.$router.push("/applications/qms/appl
1y?type=qms_new")},t.prototype.onDownloadLetter=function(e){var t=this;this.api.get("/public/qms/applications/approval_letter/".concat(e)).then((function(e){console.log("res",e),window.open("".concat(t.baseUrl,"/").concat(e.filename),"_blank")}))},t.prototype.mounted=function(){var e,t,a,o,l=document.getElementsByClassName("btn-prev"),n=document.getElementsByClassName("btn-next"),r=document.getElementsByClassName("el-range-input"),i=document.getElementsByClassName("el-table__cell gutter");for(var s in null===(e=l[0])||void 0===e||e.setAttribute("aria-label","pagination-btn-prev-label"),null===(t=n[0])||void 0===t||t.setAttribute("aria-label","pagination-btn-next-label"),r)if(Object.prototype.hasOwnProperty.call(r,s)){var c=r[s];null==c||c.setAttribute("id","qms_list_application_time_params_input_"+s)}null===(a=i[0])||void 0===a||a.append("1"),null===(o=i[0])||void 0===o||o.setAttribute("style","width: 0px; display: none; color: #3A6573; backgroundColor: #ffffff;")},function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r}([(0,o.wA)({components:{ElAdminContainer:Da,ElCard:fe(),ElSelect:Pr,ElOption:xr(),ElForm:ae,ElFormItem:pt,ElColumnRow:ke,ElDatePicker:Ho(),ElButton:Ge,ElTable:go,ElTableColumn:Uo(),ElTableToolbar:Nr,ElPagination:Kr,ElApplyTreatyDialog:es,ElCancelDialog:qs}})],t)}(o.w3),id=rd,sd=(a(65393),(0,z.Z)(id,ld,[],!1,null,null,null).exports),cd=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-admin-container",{class:["page-qms-apply","page-review-application","en-US"===e.$i18n.locale?"page-qms-apply-en":""],attrs:{breadcrumb:e.breadcrumb,showMenusPart:!0}},[t("el-part-menus",{attrs:{slot:"part-menus",menus:e.partList,active:e.partMaxActive},on:{"on-scroll-to":e.onScrollTo},slot:"part-menus"}),e._v(" "),t("div",{staticClass:"container entry-application-content"},[t("el-form",{attrs:{store:e.form},nativeOn:{submit:function(e){e.preventDefault()}}},[t("el-card",{staticClass:"entry-application-item-card particular-card",attrs:{shadow:"never"}},[t("p",{staticClass:"application-item-card-title",attrs:{slot:"header"},slot:"header"},[e._v("\r\n           "+e._s(e.$t("lang.general_desc"))+":\r\n          ")]),e._v(" "),t("el-form-item",{staticClass:"label-width-zero",attrs:{"label-width":"0",label:e.$t("lang.qmsApplyTypeTitle"),prop:"approval_scheme"}},[t("el-radio-group",{staticClass:"d-flex flex-column",attrs:{disabled:!e.canEdit&&e.form.model.general_description_review&&1===e.form.model.general_description_review.status},model:{value:e.form.model.approval_scheme,callback:function(t){e.$set(e.form.model,"approval_scheme",t)},expression:"form.model.approval_scheme"}},[t("el-radio",{staticClass:"margin-bottom-15",attrs:{label:"qms_new"}},[e._v(e._s(e.$t("lang.newApplicationApply")))]),e._v(" "),t("el-radio",{attrs:{label:"qms_renewal"}},[e._v(e._s(e.$t("lang.renewalApplicationApply")))])],1)],1),e._v(" "),t("div",{staticClass:"content-item-view"},[t("div",{staticClass:"general-instructions-view"},[t("p",{staticClass:"general-instructions"},[e._v(e._s(e.$t("lang.qmsCerInstructionsOne")))]),e._v(" "),t("p",{staticClass:"general-instructions"},[e._v(e._s(e.$t("lang.qmsCerInstructionsTwo")))]),e._v(" "),t("p",{staticClass:"general-instructions indent-two"},[e._v(e._s(e.$t("lang.qmsCerInstructionsThree")))]),e._v(" "),t("p",{staticClass:"general-instructions indent-two"},[e._v(e._s(e.$t("lang.qmsCerInstructionsFour")))]),e._v(" "),t("p",{staticClass:"general-instructions indent-two"},[e._v(e._s(e.$t("lang.qmsCerInstructionsFive")))]),e._v(" "),t("p",{staticClass:"general-instructions"},[e._v(e._s(e.$t("lang.qmsCerInstructionsSix")))])])]),e._v(" "),e.form.model.general_description_review&&0===e.form.model.general_description_review.status?t("el-form-item",{staticClass:"rejection-reasons-form-item label-width-zero content-item-view",attrs:{label:e.$t("lang.reasonsForRejection"),"label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none",readonly:!0},model:{value:e.form.model.general_description_review.rejection,callback:function(t){e.$set(e.form.model.general_description_review,"rejection",t)},expression:"form.model.general_description_review.rejection"}}
1)],1):e._e()],1),e._v(" "),t("el-card",{staticClass:"entry-application-item-card type-of-building-card",attrs:{shadow:"never"}},[t("p",{staticClass:"application-item-card-title",attrs:{slot:"header"},slot:"header"},[e._v("\r\n            A."+e._s(e.$t("lang.typeBuildings"))+"\r\n          ")]),e._v(" "),t("el-form-item",{staticClass:"label-width-zero label-flex",attrs:{prop:"building_type"}},[t("template",{slot:"label"},[t("p",{staticClass:"tip margin-bottom-0"},[e._v("\r\n                "+e._s(e.$t("lang.indicateBuildingsApplying"))+":\r\n              ")])]),e._v(" "),t("el-radio-group",{on:{change:e.onChangeBuildType},model:{value:e.form.model.building_type,callback:function(t){e.$set(e.form.model,"building_type",t)},expression:"form.model.building_type"}},[t("el-row",{staticClass:"radio-row"},[t("el-radio",{attrs:{label:1,disabled:!e.canEdit&&e.form.model.type_review&&1===e.form.model.type_review.status}},[e._v(e._s(e.$t("lang.hotels")))]),e._v(" "),1==e.form.model.building_type?t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.numberOfRooms"),percent:.4,prop:"building_type_remark"}},[t("label",{attrs:{for:"qms_form_building_type_remark_1",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"qms_form_building_type_remark_1",placeholder:e.$t("lang.numberOfRooms"),readonly:!e.canEdit&&e.form.model.type_review&&1===e.form.model.type_review.status},model:{value:e.form.model.building_type_remark,callback:function(t){e.$set(e.form.model,"building_type_remark",t)},expression:"form.model.building_type_remark"}})],1):e._e()],1),e._v(" "),t("el-row",{staticClass:"radio-row"},[t("el-radio",{attrs:{label:2,disabled:!e.canEdit&&e.form.model.type_review&&1===e.form.model.type_review.status}},[e._v(e._s(e.$t("lang.buildingsResidential")))]),e._v(" "),2==e.form.model.building_type?t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.totalResidentialFlats"),percent:.4,prop:"building_type_remark"}},[t("label",{attrs:{for:"qms_form_building_type_remark_2",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"qms_form_building_type_remark_2",placeholder:e.$t("lang.totalResidentialFlats"),readonly:!e.canEdit&&e.form.model.type_review&&1===e.form.model.type_review.status},model:{value:e.form.model.building_type_remark,callback:function(t){e.$set(e.form.model,"building_type_remark",t)},expression:"form.model.building_type_remark"}})],1):e._e()],1),e._v(" "),t("el-row",{staticClass:"radio-row"},[t("el-radio",{attrs:{label:3,disabled:!e.canEdit&&e.form.model.type_review&&1===e.form.model.type_review.status}},[e._v(e._s(e.$t("lang.buildingsCommercialResidential")))]),e._v(" "),3==e.form.model.building_type?t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.totalResidentialFlats"),percent:.4,prop:"building_type_remark"}},[t("label",{attrs:{for:"qms_form_building_type_remark_3",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"qms_form_building_type_remark_3",placeholder:e.$t("lang.totalResidentialFlats"),readonly:!e.canEdit&&e.form.model.type_review&&1===e.form.model.type_review.status},model:{value:e.form.model.building_type_remark,callback:function(t){e.$set(e.form.model,"building_type_remark",t)},expression:"form.model.building_type_remark"}})],1):e._e()],1),e._v(" "),t("el-row",{staticClass:"radio-row"},[t("el-radio",{attrs:{label:4,disabled:!e.canEdit&&e.form.model.type_review&&1===e.form.model.type_review.status}},[e._v(e._s(e.$t("lang.buildingsIndustrial")))])],1),e._v(" "),t("el-row",{staticClass:"radio-row"},[t("el-radio",{staticClass:"label-line-height-20",attrs:{label:5,disabled:!e.canEdit&&e.form.model.type_review&&1===e.form.model.type_review.status}},[e._v(e._s(e.$t("lang.buildingsCommercialOrCombinedCommercial")))]),e._v(" "),5==e.form.model.building_type?t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.totalResidentialFlats"),percent:.4,prop:"building_type_remark"}},[t("label",{attrs:{for:"qms_form_building_type_remark_5",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"qms_form_building_type_remark_5",placeholder:e.$t("lang.totalResidentialFlats"),readonly:!e.canEdit&&e.form.model.type_review&&1===e.form.model.type_review.status},model:{value:e.form.model.building_type_remark,callback:function(t){e.$set(e.form.model,"building_type_remark",t)},expression:"form.model.building_type_remark"}}
1)],1):e._e()],1),e._v(" "),t("el-row",{staticClass:"radio-row"},[t("el-radio",{attrs:{label:6,disabled:!e.canEdit&&e.form.model.type_review&&1===e.form.model.type_review.status}},[e._v(e._s(e.$t("lang.schoolsConnecte")))])],1),e._v(" "),t("el-row",{staticClass:"radio-row"},[t("el-radio",{attrs:{label:7,disabled:!e.canEdit&&e.form.model.type_review&&1===e.form.model.type_review.status}},[e._v(e._s(e.$t("lang.schoolsOtherAboveType")))])],1),e._v(" "),t("el-row",{staticClass:"radio-row"},[t("el-radio",{attrs:{label:8,disabled:!e.canEdit&&e.form.model.type_review&&1===e.form.model.type_review.status}},[e._v(e._s(e.$t("lang.buildingsElderly")))]),e._v(" "),8==e.form.model.building_type?t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.totalResidentialFlats"),percent:.4,prop:"building_type_remark"}},[t("label",{attrs:{for:"qms_form_building_type_remark_8",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"qms_form_building_type_remark_8",placeholder:e.$t("lang.totalResidentialFlats"),readonly:!e.canEdit&&e.form.model.type_review&&1===e.form.model.type_review.status},model:{value:e.form.model.building_type_remark,callback:function(t){e.$set(e.form.model,"building_type_remark",t)},expression:"form.model.building_type_remark"}})],1):e._e()],1),e._v(" "),t("el-row",{staticClass:"radio-row"},[t("el-radio",{attrs:{label:9,disabled:!e.canEdit&&e.form.model.type_review&&1===e.form.model.type_review.status}},[e._v(e._s(e.$t("lang.rche")))])],1),e._v(" "),t("el-row",{staticClass:"radio-row"},[t("el-radio",{attrs:{label:10,disabled:!e.canEdit&&e.form.model.type_review&&1===e.form.model.type_review.status}},[e._v(e._s(e.$t("lang.hospitals")))])],1),e._v(" "),t("el-row",{staticClass:"radio-row"},[t("el-radio",{attrs:{label:11,disabled:!e.canEdit&&e.form.model.type_review&&1===e.form.model.type_review.status}},[e._v(e._s(e.$t("lang.government")))]),e._v(" "),11==e.form.model.building_type?t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.totalResidentialFlats"),percent:.4,prop:"building_type_remark"}},[t("label",{attrs:{for:"qms_form_building_type_remark_11",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"qms_form_building_type_remark_11",placeholder:e.$t("lang.totalResidentialFlats"),readonly:!e.canEdit&&e.form.model.type_review&&1===e.form.model.type_review.status},model:{value:e.form.model.building_type_remark,callback:function(t){e.$set(e.form.model,"building_type_remark",t)},expression:"form.model.building_type_remark"}})],1):e._e()],1)],1),e._v(" "),e.form.model.type_review&&0===e.form.model.type_review.status?t("el-form-item",{staticClass:"rejection-reasons-form-item label-width-zero content-item-view",attrs:{label:e.$t("lang.reasonsForRejection"),"label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none",readonly:!0},model:{value:e.form.model.type_review.rejection,callback:function(t){e.$set(e.form.model.type_review,"rejection",t)},expression:"form.model.type_review.rejection"}})],1):e._e()],2)],1),e._v(" "),t("el-card",{staticClass:"entry-application-item-card particulars-applican-card",attrs:{shadow:"never"}},[t("p",{staticClass:"application-item-card-title",attrs:{slot:"header"},slot:"header"},[e._v("\r\n            B."+e._s(e.$t("lang.qms_title6"))+"\r\n          ")]),e._v(" "),t("particular-applicant-checkbox",{attrs:{applicant_owner_types:e.form.model.applicant_owner_types,applicant_owner_no:e.form.model.applicant_owner_no,applicant_owner_name:e.form.model.applicant_owner_name,applicant_owner_english_name:e.form.model.applicant_owner_english_name,applicant_owner_secondary_name:e.form.model.applicant_owner_secondary_name,applicant_owner_secondary_english_name:e.form.model.applicant_owner_secondary_english_name,frist:e.form.model.applicant_owner,second:e.form.model.applicant_owner_secondary,readonly:!e.canEdit&&e.form.model.particular_review&&1===e.form.model.particular_review.status},on:{"update:applicant_owner_types":function(t){return e.$set(e.form.model,"applicant_owner_types",t)},"update:applicant_owner_no":function(t){return e.$set(e.form.model,"applicant_owner_no",t)},"update:applicant_owner_name":function(t){return e.$set(e.form.model,"applicant_owner_name",t)},"update:applicant_owner_english_name":function(t){return e.$set(e.form.model,"applicant_owner_english_name",t)},"update:applicant_owner_secondary_name":function(t){return e.$set(e.form.model,"applicant_owner_secondary_name",t)},"update:applicant_owner_secondary_english_name":function(t){return e.$set(e.form.model,"applicant_owner_secondary_english_name",t)},"update:frist":function(t){return e.$set(e.form.model,"applicant_owner",t)},"update:second":function(t){return e.$set(e.form.model,"applicant_owner_secondary",t)}}}),e._v(" "),t("el-form-item",{class:["en-US"!=e.$i18n.locale?"label-width-auto":""],attrs:{label:e.$t("lang.correspondenceAddress"),percent:.8,prop:"applicant_correspondence_address"}},[t("label",{attrs:{for:"qms_form_applicant_correspondence_address",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"qms_form_applicant_correspondence_address",placeholder:e.$t("lang.correspondenceAddress"),readonly:!e.canEdit&&e.form.model.particular_review&&1===e.form.model.particular_review.status},model:{value:e.form.model.applicant_correspondence_address,callback:function(t){e.$set(e.form.model,"applicant_correspondence_address",t)},expression:"form.model.applicant_correspondence_address"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-width-zero",attrs:{percent:.8,prop:"contacts"}},[t("el-table",{attrs:{data:e.form.model.contacts,border:"",hasHeight:!1}},[t("el-table-column",{attrs:{label:e.$t("lang.contact_person_name"),prop:"applicant_contact_person_name",width:"200"}}
1),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.contact_person_title"),prop:"applicant_contact_person_title"}}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.contactTelNo"),prop:"applicant_contact_person_tel",align:"center",width:"160"}}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.contactFaxNo"),prop:"applicant_contact_person_fax",align:"center",width:"160"}}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.contact_person_email"),prop:"applicant_contact_person_mail",align:"center",width:"200"}}),e._v(" "),!e.canEdit&&e.form.model.particular_review&&0===e.form.model.particular_review.status||!e.form.model.particular_review||-1===e.form.model.status?t("el-table-column",{attrs:{width:"100px",align:"center","class-name":"cell-flex-row cell-align-center cell-justify-center",label:"-"},scopedSlots:e._u([{key:"default",fn:function(a){return[t("el-button",{staticClass:"no-border-btn action-delete-btn",attrs:{"aria-label":"qms_form_contacts_delete",icon:"iconfont ico_delete1",confirm:e.$t("lang.wantDeleteTip"),type:"text"},on:{confirm:()=>e.onDeleteContactsInfo(a.$index)}}),e._v(" "),t("el-button",{staticClass:"no-border-btn width-auto margin-left-0",attrs:{"aria-label":"qms_form_contacts_edit",icon:"iconfont WechatIMG27203"},on:{click:function(t){return e.onEditContacsInfo(a.row,a.$index)}}})]}}],null,!1,587709804)}
1):e._e()],1),e._v(" "),(!e.canEdit&&e.form.model.particular_review&&0===e.form.model.particular_review.status||!e.form.model.particular_review||-1===e.form.model.status)&&e.form.model.contacts&&e.form.model.contacts.length<3?t("el-button",{staticClass:"form-table-add-btn fill-blue-unhover-btn",on:{click:function(t){return e.contactsDialogForm.open()}}},[t("i",{staticClass:"iconfont ico_create1"}),e._v("\r\n              "+e._s(e.$t("lang.action.add"))+"\r\n            ")]):e._e()],1),e._v(" "),e.form.model.particular_review&&0===e.form.model.particular_review.status?t("el-form-item",{staticClass:"rejection-reasons-form-item label-width-zero content-item-view",attrs:{label:e.$t("lang.reasonsForRejection"),"label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none",readonly:!0},model:{value:e.form.model.particular_review.rejection,callback:function(t){e.$set(e.form.model.particular_review,"rejection",t)},expression:"form.model.particular_review.rejection"}})],1):e._e()],1),e._v(" "),t("el-card",{staticClass:"entry-application-item-card preferred-format-scheme-card",attrs:{shadow:"never"}},[t("template",{slot:"header"},[e._v("C."+e._s(e.$t("lang.building_info")))]),e._v(" "),t("el-form-item",{staticClass:"label-width-zero",attrs:{prop:"information_of_the_building"}},[t("template",{slot:"label"},[e._v(e._s(e.$t("lang.nameAgeAddressOfBuilding")))]),e._v(" "),t("el-table",{attrs:{data:e.form.model.information_of_the_building,border:"",hasHeight:!1}},[t("el-table-column",{attrs:{label:e.$t("lang.englishBuildingName"),prop:"english_name",align:"center"}}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.chineseBuildingName"),prop:"name",align:"center"}}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.buildingAge"),prop:"age",align:"center"}}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.buildingAddress"),prop:"address",align:"center"}}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.englishBuildingAddress"),prop:"english_address",align:"center"}}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.district"),align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\r\n                  "+e._s(e._f("options")(t.row.district,e.districtOptions))+"\r\n                ")]}}])}),e._v(" "),!e.canEdit&&e.form.model.building_review&&0===e.form.model.building_review.status||!e.form.model.building_review||-1===e.form.model.status?t("el-table-column",{attrs:{width:"100px",align:"center","class-name":"cell-flex-row cell-align-center cell-justify-center",label:"-"},scopedSlots:e._u([{key:"default",fn:function(a){return[t("el-button",{staticClass:"no-border-btn action-delete-btn",attrs:{icon:"iconfont ico_delete1",confirm:e.$t("lang.wantDeleteTip"),type:"text"},on:{confirm:()=>e.onDeleteBuildingInfo(a.$index)}}),e._v(" "),t("el-button",{staticClass:"no-border-btn width-auto margin-left-0",attrs:{icon:"iconfont WechatIMG27203"},on:{click:function(t){return e.onEditBuildInfo(a.row,a.$index)}}})]}}],null,!1,557212893)}):e._e()],1),e._v(" "),!e.canEdit&&e.form.model.building_review&&0===e.form.model.building_review.status||!e.form.model.building_review||-1===e.form.model.status?t("el-button",{staticClass:"form-table-add-btn fill-blue-unhover-btn",on:{click:function(t){return e.buildDialogForm.open()}}},[t("i",{staticClass:"iconfont ico_create1"}),e._v("\r\n              "+e._s(e.$t("lang.action.add"))+"\r\n            ")]):e._e()],2),e._v(" "),e.form.model.building_review&&0===e.form.model.building_review.status?t("el-form-item",{staticClass:"rejection-reasons-form-item label-width-zero content-item-view",attrs:{label:e.$t("lang.reasonsForRejection"),"label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none",readonly:!0},model:{value:e.form.model.building_review.rejection,callback:function(t){e.$set(e.form.model.building_review,"rejection",t)},expression:"form.model.building_review.rejection"}})],1):e._e()],2),e._v(" "),t("el-card",{staticClass:"entry-application-item-card preferred-format-scheme-card",attrs:{shadow:"never"}},[t("template",{slot:"header"},[e._v("D."+e._s(e.$t("lang.preferredSchemeCertificate")))]),e._v(" "),t("p",{staticClass:"tip"},[t("span",{staticClass:"must-icon"},[e._v("*")]),e._v("\r\n            "+e._s(e.$t("lang.schemePreferredFormat"))+":\r\n          ")]),e._v(" "),t("el-form-item",{staticClass:"label-width-zero",attrs:{percent:.8,prop:"scheme_certificate_preferred_format"}},[t("el-radio-group",{attrs:{disabled:!e.canEdit&&e.form.model.preferred_format_review&&1===e.form.model.preferred_format_review.status},model:{value:e.form.model.scheme_certificate_preferred_format,callback:function(t){e.$set(e.form.model,"scheme_certificate_preferred_format",t)},expression:"form.model.scheme_certificate_preferred_format"}},[t("el-radio",{attrs:{label:"One_certificate_for_each_building"}},[e._v(e._s(e.$t("lang.One_certificate_for_each_building")))]),e._v(" "),t("el-row",{staticClass:"radio-row"},[t("el-radio",{attrs:{label:"other"}},[e._v(e._s(e.$t("lang.onecertificatePreferredName"))+":")]),e._v(" "),"other"===e.form.model.scheme_certificate_preferred_format?t("el-form-item",{attrs:{"label-width":"0",prop:"scheme_certificate_preferred_format_remark"}},[t("el-input",{attrs:{readonly:!e.canEdit&&e.form.model.preferred_format_review&&1===e.form.model.preferred_format_review.status},model:{value:e.form.model.scheme_certificate_preferred_format_remark,callback:function(t){e.$set(e.form.model,"scheme_certificate_preferred_format_remark",t)},expression:"form.model.scheme_certificate_preferred_format_remark"}}
1)],1):e._e()],1)],1),e._v(" "),e.form.model.preferred_format_review&&0===e.form.model.preferred_format_review.status?t("el-form-item",{staticClass:"rejection-reasons-form-item label-width-zero content-item-view",attrs:{label:e.$t("lang.reasonsForRejection"),"label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none",readonly:!0},model:{value:e.form.model.preferred_format_review.rejection,callback:function(t){e.$set(e.form.model.preferred_format_review,"rejection",t)},expression:"form.model.preferred_format_review.rejection"}})],1):e._e()],1)],2),e._v(" "),t("el-card",{staticClass:"entry-application-item-card documents-application-card",attrs:{shadow:"never"}},[t("template",{slot:"header"},[e._v("E."+e._s(e.$t("lang.documentsIncludedApplication")))]),e._v(" "),t("el-form-item",{staticClass:"product-catalog-form-item wsp-doc-form-item d-flex flex-column label-flex-center label-width-zero",attrs:{"label-width":"0",prop:"water_safety_plan_for_building"}},[t("template",{slot:"label"},[e._v("\r\n              "+e._s(e.$t("lang.qmsPartE.upToDateWSPB"))+"\r\n              "),t("div",{staticClass:"template-tip-view"},[e._v("\r\n                  "),t("el-svg-icon",{attrs:{name:"a-huaban1x",width:22,height:33}}),e._v("\r\n                "+e._s(`${e.$t("lang.generalBuildings")}`)+"\r\n                ("),t("el-template-down-btn",{attrs:{scheme:"qms_general_buildings"}}),e._v(")\r\n                  "),t("el-svg-icon",{attrs:{name:"a-huaban1x",width:22,height:33}}),e._v("\r\n                "+e._s(`${e.$t("lang.schools")}`)+"\r\n                ("),t("el-template-down-btn",{attrs:{scheme:"qms_schools"}}),e._v(")\r\n                  "),t("el-svg-icon",{attrs:{name:"a-huaban1x",width:22,height:33}}),e._v("\r\n                "+e._s(`${e.$t("lang.RCHE")}`)+"\r\n                ("),t("el-template-down-btn",{attrs:{scheme:"qms_rche"}}),e._v(")\r\n                  "),t("el-svg-icon",{attrs:{name:"a-huaban1x",width:22,height:33}}),e._v("\r\n                "+e._s(`${e.$t("lang.andHospitals")}`)+"\r\n                ("),t("el-template-down-btn",{attrs:{scheme:"qms_hospitals"}}),e._v(")\r\n              ")],1),e._v("\r\n              "+e._s(e.$t("lang.qmsPartE.latestPeriodicReview"))+"\r\n              "),t("el-template-down-btn",{attrs:{scheme:"qms_reference"}}),e._v(")\r\n              "),t("ul",{staticClass:"files-list-menus"},["qms_renewal"!==e.form.model.approval_scheme?t("li",{staticClass:"files-item"},[t("p",{staticClass:"dot"}),e._v(" "),t("p",{staticClass:"title"},[e._v(e._s(e.$t("lang.qmsPartE.immediatelyPastMonthly")))])]):e._e(),e._v(" "),"qms_renewal"===e.form.model.approval_scheme?[t("li",{staticClass:"files-item"},[t("p",{staticClass:"dot"}),e._v(" "),t("p",{staticClass:"title"},[e._v("\r\n                      "+e._s(e.$t("lang.qmsPartE.internalAuditReport"))+"\r\n                    ")])]),e._v(" "),t("li",{staticClass:"files-item"},[t("p",{staticClass:"dot"}),e._v(" "),t("p",{staticClass:"title"},[e._v("\r\n                      "+e._s(e.$t("lang.qmsPartE.auditCheckList"))+"\r\n                      ("),t("el-template-down-btn",{attrs:{scheme:"qms_checklist"}}),e._v(")\r\n                    ")],1)]),e._v(" "),t("li",{staticClass:"files-item"},[t("p",{staticClass:"dot"}),e._v(" "),t("p",{staticClass:"title"},[e._v("\r\n                      "+e._s(e.$t("lang.qmsPartE.auditCheckListForHosp
1otals"))+"\r\n                      ("),t("el-template-down-btn",{attrs:{scheme:"qms_checklist_hospitals"}}),e._v(")\r\n                    ")],1)]),e._v(" "),t("li",{staticClass:"files-item"},[t("p",{staticClass:"dot"}),e._v(" "),t("p",{staticClass:"title"},[e._v("\r\n                      "+e._s(e.$t("lang.qmsPartE.annualRoutine"))+"\r\n                    ")])]),e._v(" "),t("li",{staticClass:"files-item"},[t("p",{staticClass:"dot"}),e._v(" "),t("p",{staticClass:"title"},[e._v("\r\n                      "+e._s(e.$t("lang.qmsPartE.monthlyRoutine"))+"\r\n                    ")])]),e._v(" "),t("li",{staticClass:"files-item"},[t("p",{staticClass:"dot"}),e._v(" "),t("p",{staticClass:"title"},[e._v("\r\n                      "+e._s(e.$t("lang.qmsPartE.waterSuppliesDepartment"))+"\r\n                    ")])]),e._v(" "),t("li",{staticClass:"files-item"},[t("p",{staticClass:"dot"}),e._v(" "),t("p",{staticClass:"title"},[e._v("\r\n                      "+e._s(e.$t("lang.qmsPartE.declaration"))+" ("),t("el-template-down-btn",{attrs:{scheme:"qms_reference"}}),e._v(") "+e._s(e.$t("lang.qmsPartE.declaration1"))+"\r\n                    ")],1)]),e._v(" "),t("li",{staticClass:"files-item"},[t("p",{staticClass:"dot"}),e._v(" "),t("p",{staticClass:"title"},[e._v("\r\n                      "+e._s(e.$t("lang.qmsPartE.copperPipesConnected"))+"\r\n                    ")])]),e._v(" "),t("li",{staticClass:"files-item"},[t("p",{staticClass:"dot"}),e._v(" "),t("p",{staticClass:"title"},[e._v("\r\n                      "+e._s(e.$t("lang.qmsPartE.addition"))+"\r\n                    ")])])]:e._e()],2)],1),e._v(" "),t("el-document-upload",{attrs:{application_status:e.form.model.status,multiple:!0,"base-url":e.baseUrl,action:e.baseUrl,beforeUploadEvent:e.wspBeforeUploadEvent,sure:!0,readonly:!e.canEdit&&e.form.model.document_review&&1===e.form.model.document_review.status},on:{"before-upload":function(t){e.showWSPInstructionsDialog=!0}},model:{value:e.form.model.water_safety_plan_for_building,callback:function(t){e.$set(e.form.model,"water_safety_plan_for_building",t)},expression:"form.model.water_safety_plan_for_building"}})],2),e._v(" "),e.form.model.document_review&&0===e.form.model.document_review.status?t("el-form-item",{staticClass:"rejection-reasons-form-item label-width-zero content-item-view",attrs:{label:e.$t("lang.reasonsForRejection"),"label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none",readonly:!0},model:{value:e.form.model.document_review.rejection,callback:function(t){e.$set(e.form.model.document_review,"rejection",t)},expression:"form.model.document_review.rejection"}})],1):e._e()],2),e._v(" "),t("el-card",{staticClass:"entry-application-item-card wsd-conditions-card",attrs:{shadow:"never"}},[t("template",{slot:"header"},[e._v("F."+e._s(e.$t("lang.qmsWSDInstructionsTitle")))]),e._v(" "),t("div",{staticClass:"general-instructions-view"},[e._v("\r\n            "+e._s(e.$t("lang.qmsWSDInstructions"))+"\r\n          ")])],2),e._v(" "),t("el-card",{staticClass:"entry-application-item-card terms-conditions-card",attrs:{shadow:"never"}},[t("template",{slot:"header"},[e._v(e._s(e.$t("lang.termsConditions")))]),e._v(" "),t("el-form-item",{staticClass:"product-catalog-form-item d-flex flex-column label-flex-center label-width-zero",attrs:{"label-width":"0",prop:"sign_doc"}},[t("template",{slot:"label"},[e._v("\r\n              "+e._s(e.$t("lang.requireToPrint"))+"\r\n              "),t("div",{staticClass:"template-tip-view margin-right-4"},[e._v("\r\n                "+e._s(`(${e.$t("lang.templates")}:`)+"\r\n                "),t("el-template-down-btn",{attrs:{scheme:"qms_sign"}}),e._v(")\r\n              ")],1),e._v("\r\n               "+e._s(e.$t("lang.conditionsCarefully"))+"\r\n              \r\n               ")]),e._v(" "),t("el-document-upload",{attrs:{multiple:!0,"base-url":e.baseUrl,action:e.baseUrl,readonly:!e.canEdit&&e.form.model.terms_review&&1===e.form.model.terms_review.status},model:{value:e.form.model.sign_doc,callback:function(t){e.$set(e.form.model,"sign_doc",t)},expression:"form.model.sign_doc"}})],2),e._v(" "),e.form.model.terms_review&&0===e.form.model.terms_review.status?t("el-form-item",{staticClass:"rejection-reasons-form-item label-width-zero content-item-view",attrs:{label:e.$t("lang.reasonsForRejection"),"label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none",readonly:!0},model:{value:e.form.model.terms_review.rejection,callback:function(t){e.$set(e.form.model.terms_review,"rejection",t)},expression:"form.model.terms_review.rejection"}}
1)],1):e._e()],2),e._v(" "),e.form.model.id?e._e():t("el-card",{staticClass:"applicant-card entry-application-item-card",attrs:{shadow:"never"}},[t("template",{slot:"header"},[e._v(e._s(e.$t("lang.applyMessageTitle")))]),e._v(" "),t("el-form-item",{attrs:{prop:"upload_other_info","label-width":"0"}},[t("el-checkbox",{attrs:{"true-label":1,"false-label":0},model:{value:e.form.model.upload_other_info,callback:function(t){e.$set(e.form.model,"upload_other_info",t)},expression:"form.model.upload_other_info"}},[e._v(e._s(e.$t("lang.uploadOtherInfo")))])],1),e._v(" "),e.form.model.upload_other_info?[t("el-form-item",{attrs:{prop:"upload_other_info_msg","label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none"},model:{value:e.form.model.upload_other_info_msg,callback:function(t){e.$set(e.form.model,"upload_other_info_msg",t)},expression:"form.model.upload_other_info_msg"}})],1),e._v(" "),t("el-form-item",{staticClass:"d-flex flex-column",attrs:{prop:"upload_other_info_doc","label-width":"0"}},[t("el-document-upload",{attrs:{multiple:!0,application_status:e.form.model.status,"base-url":e.baseUrl,action:e.baseUrl,readonly:!e.canEdit},model:{value:e.form.model.upload_other_info_doc,callback:function(t){e.$set(e.form.model,"upload_other_info_doc",t)},expression:"form.model.upload_other_info_doc"}})],1)]:e._e()],2),e._v(" "),e.form.model.id?t("el-review-message",{attrs:{applicationId:e.form.model.id,stage:e.form.model.status}},[t("el-form-item",{attrs:{prop:"upload_other_info","label-width":"0"}},[t("el-checkbox",{attrs:{"true-label":1,"false-label":0,disabled:!e.canEdit&&e.form.model.upload_other_info_review&&1===e.form.model.upload_other_info_review.status},model:{value:e.form.model.upload_other_info,callback:function(t){e.$set(e.form.model,"upload_other_info",t)},expression:"form.model.upload_other_info"}},[e._v(e._s(e.$t("lang.uploadOtherInfo")))])],1),e._v(" "),e.form.model.upload_other_info?[t("el-form-item",{attrs:{prop:"upload_other_info_msg","label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none",readonly:!e.canEdit&&e.form.model.upload_other_info_review&&1===e.form.model.upload_other_info_review.status},model:{value:e.form.model.upload_other_info_msg,callback:function(t){e.$set(e.form.model,"upload_other_info_msg",t)},expression:"form.model.upload_other_info_msg"}})],1),e._v(" "),t("el-form-item",{staticClass:"d-flex flex-column",attrs:{prop:"upload_other_info_doc","label-width":"0"}},[t("el-document-upload",{attrs:{multiple:!0,"base-url":e.baseUrl,action:e.baseUrl,text:e.$t("lang.action.upload"),application_status:e.form.model.status,readonly:!e.canEdit&&e.form.model.upload_other_info_review&&1===e.form.model.upload_other_info_review.status},model:{value:e.form.model.upload_other_info_doc,callback:function(t){e.$set(e.form.model,"upload_other_info_doc",t)},expression:"form.model.upload_other_info_doc"}})],1),e._v(" "),e.form.model.upload_other_info_review&&0===e.form.model.upload_other_info_review.status?t("el-form-item",{staticClass:"rejection-reasons-form-item label-width-zero content-item-view",attrs:{label:e.$t("lang.reasonsForRejection"),"label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none",readonly:!0},model:{value:e.form.model.upload_other_info_review.rejection,callback:function(t){e.$set(e.form.model.upload_other_info_review,"rejection",t)},expression:"form.model.upload_other_info_review.rejection"}})],1):e._e()]:e._e()],2):e._e()],1),e._v(" "),t("div",{staticClass:"entry-application-footer"},[t("el-button",{staticClass:"empty-bule-btn",on:{click:function(t){return e.$router.back()}}},[e._v(e._s(e.$t("lang.action.cancel")))]),e._v(" "),e.form.model.id&&-1!=e.form.model.status&&0!==e.form.model.status?e._e():t("el-button",{staticClass:"empty-bule-btn",on:{click:e.onSaveForm}},[e._v(e._s(e.$t("lang.action.save")))]),e._v(" "),-1===e.form.model.status?t("el-button",{staticClass:"fill-blue-btn",on:{click:function(t){return e.handleSubmit()}}},[e._v(e._s(e.$t("lang.action.submit")))]):e._e(),e._v(" "),0===e.form.model.status?t("el-button",{staticClass:"fill-blue-btn",on:{click:function(t){return e.handleResubmit()}}}
1,[e._v(e._s(e.$t("lang.action.resubmit")))]):e._e()],1),e._v(" "),t("el-dialog",{staticClass:"add-build-info-dialog position-center",attrs:{width:"600px",title:e.$t("lang.building_info"),visible:e.buildDialogForm.visible,"destroy-on-close":!0,"close-on-click-modal":!1},on:{close:function(t){return e.onCloseInfoDialog("build")}}},[t("el-form",{attrs:{store:e.buildDialogForm,"status-icon":"",hasLabelSuffix:!1}},[t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.englishBuildingName"),prop:"english_name"}},[t("el-autocomplete",{staticStyle:{width:"100%"},attrs:{"value-key":"english_name","fetch-suggestions":e.remote,"hide-loading":!e.remoteLoading,placeholder:e.$t("lang.englishBuildingName")},on:{select:e.remoteChange},model:{value:e.buildDialogForm.model.english_name,callback:function(t){e.$set(e.buildDialogForm.model,"english_name",t)},expression:"buildDialogForm.model.english_name"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.chineseBuildingName"),prop:"name"}},[t("el-autocomplete",{staticStyle:{width:"100%"},attrs:{"value-key":"name","fetch-suggestions":e.remote,"hide-loading":!e.remoteLoading,placeholder:e.$t("lang.chineseBuildingName")},on:{select:e.remoteChange},model:{value:e.buildDialogForm.model.name,callback:function(t){e.$set(e.buildDialogForm.model,"name",t)},expression:"buildDialogForm.model.name"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.buildingAge"),prop:"age"}},[t("el-input",{attrs:{type:"number",placeholder:e.$t("lang.buildingAge")},model:{value:e.buildDialogForm.model.age,callback:function(t){e.$set(e.buildDialogForm.model,"age",t)},expression:"buildDialogForm.model.age"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.buildingAddress"),prop:"address"}},[t("el-input",{attrs:{placeholder:e.$t("lang.buildingAddress")},model:{value:e.buildDialogForm.model.address,callback:function(t){e.$set(e.buildDialogForm.model,"address",t)},expression:"buildDialogForm.model.address"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.englishBuildingAddress"),prop:"english_address"}},[t("el-input",{attrs:{placeholder:e.$t("lang.englishBuildingAddress")},model:{value:e.buildDialogForm.model.english_address,callback:function(t){e.$set(e.buildDialogForm.model,"english_address",t)},expression:"buildDialogForm.model.english_address"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.district"),prop:"district"}},[t("el-select",{attrs:{loader:e.districtOptions,clearable:!0},model:{value:e.buildDialogForm.model.district,callback:function(t){e.$set(e.buildDialogForm.model,"district",t)},expression:"buildDialogForm.model.district"}})],1)],1),e._v(" "),t("template",{slot:"footer"},[t("el-button",{staticClass:"refuse-btn",on:{click:function(t){return e.onCloseInfoDialog("build")}}},[e._v("\r\n          "+e._s(e.$t("lang.action.close"))+"\r\n        ")]),e._v(" "),t("el-button",{staticClass:"agree-btn",attrs:{type:"primary"},on:{click:e.onAddBuildingInfo}},[e._v(" "+e._s(e.$t("lang.action.save"))+" ")])],1)],2),e._v(" "),t("el-dialog",{staticClass:"add-build-info-dialog position-center",attrs:{width:"600px",title:e.$t("lang.contactInformation"),visible:e.contactsDialogForm.visible,"destroy-on-close":!0,"close-on-click-modal":!1},on:{close:function(t){return e.onCloseInfoDialog("contacts")}}},[t("el-form",{attrs:{store:e.contactsDialogForm,"status-icon":"",hasLabelSuffix:!1}},[t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.contact_person_name"),prop:"applicant_contact_person_name"}},[t("el-input",{attrs:{placeholder:e.$t("lang.contact_person_name")},model:{value:e.contactsDialogForm.model.applicant_contact_person_name,callback:function(t){e.$set(e.contactsDialogForm.model,"applicant_contact_person_name",t)},expression:"contactsDialogForm.model.applicant_contact_person_name"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.contact_person_title"),prop:"applicant_contact_person_title"}},[t("el-input",{attrs:{placeholder:e.$t("lang.contact_person_title")},model:{value:e.contactsDialogForm.model.applicant_contact_person_title,callback:function(t){e.$set(e.contactsDialogForm.model,"applicant_contact_person_title",t)},expression:"contactsDialogForm.model.applicant_contact_person_title"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.contactTelNo"),prop:"applicant_contact_person_tel"}},[t("el-input",{attrs:{type:"number",placeholder:e.$t("lang.contactTelNo")},model:{value:e.contactsDialogForm.model.applicant_contact_person_tel,callback:function(t){e.$set(e.contactsDialogForm.model,"applicant_contact_person_tel",t)},expression:"contactsDialogForm.model.applicant_contact_person_tel"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.contactFaxNo"),prop:"applicant_contact_person_fax"}},[t("el-input",{attrs:{placeholder:e.$t("lang.contactFaxNo")},model:{value:e.contactsDialogForm.model.applicant_contact_person_fax,c
1allback:function(t){e.$set(e.contactsDialogForm.model,"applicant_contact_person_fax",t)},expression:"contactsDialogForm.model.applicant_contact_person_fax"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.contact_person_email"),prop:"applicant_contact_person_mail"}},[t("el-input",{attrs:{placeholder:e.$t("lang.contact_person_email")},model:{value:e.contactsDialogForm.model.applicant_contact_person_mail,callback:function(t){e.$set(e.contactsDialogForm.model,"applicant_contact_person_mail",t)},expression:"contactsDialogForm.model.applicant_contact_person_mail"}})],1)],1),e._v(" "),t("template",{slot:"footer"},[t("el-button",{staticClass:"refuse-btn",on:{click:function(t){return e.onCloseInfoDialog("contacts")}}},[e._v("\r\n          "+e._s(e.$t("lang.action.close"))+"\r\n        ")]),e._v(" "),t("el-button",{staticClass:"agree-btn",attrs:{type:"primary"},on:{click:e.onAddContacsInfo}},[e._v(" "+e._s(e.$t("lang.action.save"))+" ")])],1)],2),e._v(" "),t("el-instructions-dialog",{attrs:{visible:e.showInstructionsDialog,content:e.instructionsDialogContent},on:{"update:visible":function(t){e.showInstructionsDialog=t}}}),e._v(" "),t("el-dialog",{staticClass:"wsp-instructions-dialog",attrs:{visible:e.showWSPInstructionsDialog,title:e.$t("lang.bootInstructionsDiaTitle"),width:"80%"},on:{"update:visible":function(t){e.showWSPInstructionsDialog=t},close:e.onCloseWSPInstructionsDialog}},[t("div",{staticClass:"template-tip-view"},[e._v("\r\n        "+e._s(e.$t("lang.qmsPartE.upToDateWSPB"))+"\r\n          "),t("el-svg-icon",{attrs:{name:"a-huaban1x",width:22,height:33}}),e._v("\r\n        "+e._s(`${e.$t("lang.generalBuildings")}`)+"\r\n        ("),t("el-template-down-btn",{attrs:{scheme:"qms_general_buildings"}}),e._v(")\r\n          "),t("el-svg-icon",{attrs:{name:"a-huaban1x",width:22,height:33}}),e._v("\r\n        "+e._s(`${e.$t("lang.schools")}`)+"\r\n        ("),t("el-template-down-btn",{attrs:{scheme:"qms_schools"}}),e._v(")\r\n          "),t("el-svg-icon",{attrs:{name:"a-huaban1x",width:22,height:33}}),e._v("\r\n        "+e._s(`${e.$t("lang.RCHE")}`)+"\r\n        ("),t("el-template-down-btn",{attrs:{scheme:"qms_rche"}}),e._v(")\r\n          "),t("el-svg-icon",{attrs:{name:"a-huaban1x",width:22,height:33}}),e._v("\r\n        "+e._s(`${e.$t("lang.andHospitals")}`)+"\r\n        ("),t("el-template-down-btn",{attrs:{scheme:"qms_hospitals"}}),e._v(")\r\n      ")],1),e._v("\r\n      "+e._s(e.$t("lang.qmsPartE.latestPeriodicReview"))+"\r\n      "),t("el-template-down-btn",{attrs:{scheme:"qms_reference"}}),e._v(")\r\n      "),t("ul",{staticClass:"files-list-menus"},["qms_new"===e.form.model.approval_scheme?t("li",{staticClass:"files-item"},[t("p",{staticClass:"dot"}),e._v(" "),t("p",{staticClass:"title"},[e._v(e._s(e.$t("lang.qmsPartE.immediatelyPastMonthly")))])]):e._e(),e._v(" "),"qms_renewal"===e.form.model.approval_scheme?[t("li",{staticClass:"files-item"},[t("p",{staticClass:"dot"}),e._v(" "),t("p",{staticClass:"title"},[e._v("\r\n              "+e._s(e.$t("lang.qmsPartE.internalAuditReport"))+"\r\n            ")])]),e._v(" "),t("li",{staticClass:"files-item"},[t("p",{staticClass:"dot"}),e._v(" "),t("p",{staticClass:"title"},[e._v("\r\n              "+e._s(e.$t("lang.qmsPartE.auditCheckList"))+"\r\n              ("),t("el-template-down-btn",{attrs:{scheme:"qms_checklist"}}),e._v(")\r\n            ")],1)]),e._v(" "),t("li",{staticClass:"files-item"},[t("p",{staticClass:"dot"}),e._v(" "),t("p",{staticClass:"title"},[e._v("\r\n              "+e._s(e.$t("lang.qmsPartE.auditCheckListForHosp
1otals"))+"\r\n              ("),t("el-template-down-btn",{attrs:{scheme:"qms_checklist_hospitals"}}),e._v(")\r\n            ")],1)]),e._v(" "),t("li",{staticClass:"files-item"},[t("p",{staticClass:"dot"}),e._v(" "),t("p",{staticClass:"title"},[e._v("\r\n              "+e._s(e.$t("lang.qmsPartE.annualRoutine"))+"\r\n            ")])]),e._v(" "),t("li",{staticClass:"files-item"},[t("p",{staticClass:"dot"}),e._v(" "),t("p",{staticClass:"title"},[e._v("\r\n              "+e._s(e.$t("lang.qmsPartE.monthlyRoutine"))+"\r\n            ")])]),e._v(" "),t("li",{staticClass:"files-item"},[t("p",{staticClass:"dot"}),e._v(" "),t("p",{staticClass:"title"},[e._v("\r\n              "+e._s(e.$t("lang.qmsPartE.waterSuppliesDepartment"))+"\r\n            ")])]),e._v(" "),t("li",{staticClass:"files-item"},[t("p",{staticClass:"dot"}),e._v(" "),t("p",{staticClass:"title"},[e._v("\r\n              "+e._s(e.$t("lang.qmsPartE.declaration"))+" ("),t("el-template-down-btn",{attrs:{scheme:"qms_reference"}}),e._v(") "+e._s(e.$t("lang.qmsPartE.declaration1"))+"\r\n            ")],1)]),e._v(" "),t("li",{staticClass:"files-item"},[t("p",{staticClass:"dot"}),e._v(" "),t("p",{staticClass:"title"},[e._v("\r\n              "+e._s(e.$t("lang.qmsPartE.copperPipesConnected"))+"\r\n            ")])]),e._v(" "),t("li",{staticClass:"files-item"},[t("p",{staticClass:"dot"}),e._v(" "),t("p",{staticClass:"title"},[e._v("\r\n              "+e._s(e.$t("lang.qmsPartE.addition"))+"\r\n            ")])])]:e._e()],2),e._v(" "),t("template",{slot:"footer"},[t("el-button",{staticClass:"refuse-btn",on:{click:e.onCloseWSPInstructionsDialog}},[e._v(e._s(e.$t("lang.action.close")))])],1)],2)],1)],1)};cd._withStripped=!0;var dd=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-dialog",{staticClass:"add-build-info-dialog position-center",attrs:{width:"880px",title:e.$t("lang.building_info"),visible:e.visible,"destroy-on-close":!0,"close-on-click-modal":!1},on:{close:function(t){return e.$emit("update:visible",!1)}}},[t("el-form",{attrs:{store:e.form,"status-icon":"",hasLabelSuffix:!1}},[t("el-form-item",{attrs:{label:e.$t("lang.englishBuildingName"),prop:"english_name"}},[t("el-input",{attrs:{placeholder:e.$t("lang.englishBuildingName")},model:{value:e.form.model.english_name,callback:function(t){e.$set(e.form.model,"english_name",t)},expression:"form.model.english_name"}})],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("lang.chineseBuildingName"),prop:"name"}},[t("el-input",{attrs:{placeholder:e.$t("lang.chineseBuildingName")},model:{value:e.form.model.name,callback:function(t){e.$set(e.form.model,"name",t)},expression:"form.model.name"}})],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("lang.buildingAge"),prop:"age"}},[t("el-input",{attrs:{type:"number",placeholder:e.$t("lang.buildingAge")},model:{value:e.form.model.age,callback:function(t){e.$set(e.form.model,"age",t)},expression:"form.model.age"}})],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("lang.buildingAddress"),prop:"address"}},[t("el-input",{attrs:{placeholder:e.$t("lang.buildingAddress")},model:{value:e.form.model.address,callback:function(t){e.$set(e.form.model,"address",t)},expression:"form.model.address"}})],1)],1),e._v(" "),t("template",{slot:"footer"},[t("el-button",{staticClass:"refuse-btn",on:{click:function(t){return e.$emit("update:visible",!1)}}},[e._v("\n      "+e._s(e.$t("lang.action.close"))+"\n    ")]),e._v(" "),t("el-button",{staticClass:"agree-btn",attrs:{type:"primary"},on:{click:e.onAdd}},[e._v(" "+e._s(e.$t("lang.action.save"))+" ")])],1)],2)};dd._withStripped=!0;var pd=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),ud=function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r},md=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},fd=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.form=new K({default:{},rules:{english_name:[{required:!0,message:"Please Enter",trigger:"blur"}],name:[{required:!0,message:"Please Enter",trigger:"blur"}],age:[{required:!0,message:"Please Enter",trigger:"blur"}],address:[{required:!0,message:"Please Enter",trigger:"blur"}]}}),t}return pd(t,e),t.prototype.onGetFormModel=function(e){console.log("value",e),this.form.default=Object.assign(e),console.log("form",this.form)},t.prototype.onAdd=function(){this.$emit("on-add",this.form.model),this.form.model={}},ud([(0,o.fI)(),md("design:type",Object)],t.prototype,"value",void 0),ud([(0,o.fI)(),md("design:type",Boolean)],t.prototype,"visible",void 0),ud([(0,o.RL)("value"),md("design:type",Function),md("design:paramtypes",[Object]),md("design:returntype",void 0)],t.prototype,"onGetFormModel",null),ud([(0,o.wA)({components:{ElDialog:pe,ElInput:Ze(),ElButton:Ge,ElForm:ae,ElFormItem:pt,ElDocumentUpload:Eo}})],t)}(o.w3),_d=fd,gd=(a(76839),(0,z.Z)(_d,dd,[],!1,null,null,null).exports
1),hd=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("div",{staticClass:"template-download-btn-view"},[e.downPdf?t("el-button",{staticClass:"template-download-btn",attrs:{type:"text"},on:{click:function(t){return e.onDown("pdf")}}},[e._v("PDF")]):e._e(),e._v(" "),e.downPdf&&e.downWord?t("p",{staticClass:"delimiter"},[e._v("/")]):e._e(),e._v(" "),e.downWord?t("el-button",{staticClass:"template-download-btn",attrs:{type:"text"},on:{click:function(t){return e.onDown("doc")}}},[e._v("Word")]):e._e()],1)};hd._withStripped=!0;var vd=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),bd=function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r},wd=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},yd=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.api=x(),t.templateJsonUrl={timeout:18e4,headers:{"Content-Type":"application/json;charset=UTF-8","Access-Control-Allow-Origin":"*"},crossdomain:!0,baseURL:"/api/",sourceUrl:"/api/afs/wsd"}.templateJson,t.fileTemplate={},t}return vd(t,e),t.prototype.onDown=function(e){var t=this.fileTemplate["".concat(this.scheme,"_").concat("en-US"===this.$i18n.locale?"en":"cn","_").concat(e)];t&&(t.startsWith("http://")||t.startsWith("https://")?window.open(t,"_blank"):window.open("/api/public/file/template/".concat(t),"_blank"))},t.prototype.created=function(){this.fileTemplate.qms_checklist_cn_doc="",this.fileTemplate.qms_checklist_cn_pdf="",this.fileTemplate.qms_checklist_en_doc="",this.fileTemplate.qms_checklist_en_pdf="",this.fileTemplate.qms_checklist_hospitals_cn_doc="",this.fileTemplate.qms_checklist_hospitals_cn_pdf="",this.fileTemplate.qms_checklist_hospitals_en_doc="",this.fileTemplate.qms_checklist_hospitals_en_pdf="",this.fileTemplate.qms_general_buildings_cn_doc="2c_WSPBHK_guidelines_tc_2024.docx",this.fileTemplate.qms_general_buildings_cn_pdf="1c_WSPBHK_guidelines_tc_2024.pdf",this.fileTemplate.qms_general_buildings_en_doc="2e_WSPBHK_guidelines_e_2024.docx",this.fileTemplate.qms_general_buildings_en_pdf="1e_WSPBHK_guidelines_e_2024.pdf",this.fileTemplate.qms_schools_cn_doc="4c_WSPBHK_Annex_II_school_tc_2022.docx",this.fileTemplate.qms_schools_cn_pdf="3c_WSPBHK_Annex_II_school_tc_2022.pdf",this.fileTemplate.qms_schools_en_doc="4e_WSPBHK_Annex_II_school_e_2022.docx",this.fileTemplate.qms_schools_en_pdf="3e_WSPBHK_Annex_II_school_e_2022.pdf",this.fileTemplate.qms_rche_cn_doc="6c_WSPBHK_Annex_II_RCHE_tc_2022.docx",this.fileTemplate.qms_rche_cn_pdf="5c_WSPBHK_Annex_II_RCHE_tc_2022.pdf",this.fileTemplate.qms_rche_en_doc="6e_WSPBHK_Annex_II_RCHE_e_2022.docx",this.fileTemplate.qms_rche_en_pdf="5e_WSPBHK_Annex_II_RCHE_e_2022.pdf",this.fileTemplate.qms_hospitals_cn_doc="8c_WSPBHK_Annex_II_Hospital_tc_2022.docx",this.fileTemplate.qms_hospitals_cn_pdf="7c_WSPBHK_Annex_II_Hospital_tc_2022.pdf",this.fileTemplate.qms_hospitals_en_doc="8e_WSPBHK_Annex_II_Hospital_e_2022.docx",this.fileTemplate.qms_hospitals_en_pdf="7e_WSPBHK_Annex_II_Hospital_e_2022.pdf",this.fileTemplate.qms_reference_cn_doc="10c_QMS_declaration_letter.docx",this.fileTemplate.qms_reference_cn_pdf="9c_QMS_declaration_letter.pdf",this.fileTemplate.qms_reference_en_doc="10e_QMS_declaration_letter.docx",this.fileTemplate.qms_reference_en_pdf="9e_QMS_declaration_letter.pdf",this.fileTemplate.qms_sign_cn_doc="12c_qms_form_a_c_2025_Part_G_H.docx",this.fileTemplate.qms_sign_cn_pdf="11c_qms_form_a_c_2025_Part_G_H.pdf",this.fileTemplate.qms_sign_en_doc="12e_qms_form_a_e_2025_Part_G_H.docx",this.fileTemplate.qms_sign_en_pdf="11e_qms_form_a_e_2025_Part_G_H.pdf",this.fileTemplate.qws_plumbing_inspection_cn_doc="14c_qwsb_form_c_annex_I_c_2023_6.docx",this.fileTemplate.qws_plumbing_inspection_cn_pdf="13c_qwsb_form_c_annex_I_c_2023_6.pdf",this.fileTemplate.qws_plumbing_inspection_en_doc="14e_qwsb_form_c_annex_I_e_2023_6.docx",this.fileTemplate.qws_plumbing_inspection_en_pdf="13e_qwsb_form_c_annex_I_e_2023_6.pdf",this.fileTemplate.qws_sign_cn_doc="16c_qwsb_form_c_2025_Part_G_H.docx",this.fileTemplate.qws_sign_cn_pdf="15c_qwsb_form_c_2025_Part_G_H.pdf",this.fileTemplate.qws_sign_en_doc="16e_qwsb_form_c_e_2025_Part_G_H.docx",this.fileTemplate.qws_sign_en_pdf="15e_qwsb_form_c_e_2025_Part_G_H.pdf",this.fileTemplate.undertaking_sign_cn_doc="qms_form_b_c_2017_11.docx",this.fileTemplate.undertaking_sign_cn_pdf="qms_form_b_c_f_2017_11.pdf",this.fileTemplate.undertaking_sign_en_doc="qms_form_b_e_2017_11.docx",this.fileTemplate.undertaking_sign_en_pdf="qms_form_b_e_f_2017_11.pdf",this.fileTemplate.undertaking_sign2_cn_doc="qwsb_form_d_c_2015_3.docx",this.fileTemplate.undertaking_sign2_cn_pdf="qwsb_form_d_c_f_2015_3.pdf",this.fileTemplate.undertaking_sign2_en_doc="qwsb_form_d_e_2015_3.docx",this.fileTemplate.undertaking_sign2_en_pdf="qwsb_form_d_e_f_2015_3.pdf"},bd([(0,o.fI)({required:!1,default:!0}),wd("design:type",Boolean)],t.prototype,"downPdf",void 0),bd([(0,o.fI)({required:!1,default:!0}),wd("design:type",Boolean)],t.prototype,"downWord",void 0),bd([(0,o.fI)(),wd("design:type",String)],t.prototype,"scheme",void 0),bd([(0,o.wA)({components:{ElButton:Me()}})],t)}(o.w3),$d=yd,Cd=(0,z.Z)($d,hd,[],!1,null,null,null).exports,xd=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-checkbox-group",{attrs:{value:e.applicant_owner_types,max:2},on:{input:function(t){return e.$emit("update:applicant_owner_types",t)},change:e.onChange}},[t("el-row",{staticClass:"radio-row margin-bottom-10"},[t("el-checkbox",{attrs:{label:"owner",disabled:e.readonly}},[e._v(e._s(e.$t("lang.nameOfOwner")))]),e._v(" "),e.applicant_owner_types.includes("owner")?t("el-column-row",{staticClass:"margin-top-10"},["owner"===e.frist?[t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.chineseName"),percent:.3,prop:"applicant_owner_name"}},[t("label",{attrs:{for:"qms_form_owner_applicant_owner_name",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"qms_form_owner_applicant_owner_name",placeholder:e.$t("lang.pleaseEnter"),readonly:e.readonly,value:e.applicant_owner_name},on:{input:function(t){return e.$emit("update:applicant_owner_name",t)}}})],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("lang.englishName"),percent:.3,prop:"applicant_owner_english_name"}},[t("label",{attrs:{for:"qms_form_owner_applicant_owner_english_name",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"qms_form_owner_applicant_owner_english_name",placeholder:e.$t("lang.pleaseEnter"),readonly:e.readonly,value:e.applicant_owner_english_name},on:{input:function(t){return e.$emit("update:applicant_owner_english_name",t)}}})],1)]:e._e(),e._v(" "),"owner"===e.second?[t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.chineseName"),percent:.3,prop:"applicant_owner_secondary_name"}},[t("label",{attrs:{for:"qms_form_owner_applicant_owner_secondary_name",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"qms_form_owner_applicant_owner_secondary_name",placeholder:e.$t("lang.pleaseEnter"),readonly:e.readonly,value:e.applicant_owner_secondary_name},on:{input:function(t){return e.$emit("update:applicant_owner_secondary_name",t)}}})],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("lang.englishName"),percent:.3,prop:"applicant_owner_secondary_english_name"}},[t("label",{attrs:{for:"qms_form_owner_applicant_owner_secondary_english_name",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"qms_form_owner_applicant_owner_secondary_english_name",placeholder:e.$t("lang.pleaseEnter"),readonly:e.readonly,value:e.applicant_owner_secondary_english_name},on:{input:function(t){return e.$emit("update:applicant_owner_secondary_english_name",t)}}})],1)]:e._e()],2):e._e()],1),e._v(" "),t("el-row",{staticClass:"radio-row margin-bottom-10"},[t("el-checkbox",{attrs:{label:"owner_corporation",disabled:e.readonly}},[e._v(e._s(e.$t("lang.ownersCorporation")))]),e._v(" "),e.applicant_owner_types.includes("owner_
1corporation")?t("el-column-row",{staticClass:"margin-top-10"},["owner_corporation"===e.frist?[t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.chineseName"),percent:.3,prop:"applicant_owner_name"}},[t("label",{attrs:{for:"qms_form_owner_applicant_owner_name",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"qms_form_owner_applicant_owner_name",placeholder:e.$t("lang.pleaseEnter"),readonly:e.readonly,value:e.applicant_owner_name},on:{input:function(t){return e.$emit("update:applicant_owner_name",t)}}})],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("lang.englishName"),percent:.3,prop:"applicant_owner_english_name"}},[t("label",{attrs:{for:"qms_form_owner_applicant_owner_english_name",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"qms_form_owner_applicant_owner_english_name",placeholder:e.$t("lang.pleaseEnter"),readonly:e.readonly,value:e.applicant_owner_english_name},on:{input:function(t){return e.$emit("update:applicant_owner_english_name",t)}}})],1)]:e._e(),e._v(" "),"owner_corporation"===e.second?[t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.chineseName"),percent:.3,prop:"applicant_owner_secondary_name"}},[t("label",{attrs:{for:"qms_form_owner_applicant_owner_secondary_name",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"qms_form_owner_applicant_owner_secondary_name",placeholder:e.$t("lang.pleaseEnter"),readonly:e.readonly,value:e.applicant_owner_secondary_name},on:{input:function(t){return e.$emit("update:applicant_owner_secondary_name",t)}}})],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("lang.englishName"),percent:.3,prop:"applicant_owner_secondary_english_name"}},[t("label",{attrs:{for:"qms_form_owner_applicant_owner_secondary_english_name",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"qms_form_owner_applicant_owner_secondary_english_name",placeholder:e.$t("lang.pleaseEnter"),readonly:e.readonly,value:e.applicant_owner_secondary_english_name},on:{input:function(t){return e.$emit("update:applicant_owner_secondary_english_name",t)}}})],1)]:e._e(),e._v(" "),t("el-form-item",{attrs:{label:e.$t("lang.certificateNo"),percent:.3,prop:"applicant_owner_no"}},[t("label",{attrs:{for:"qms_form_owner_corporation_applicant_owner_no",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"qms_form_owner_corporation_applicant_owner_no",placeholder:e.$t("lang.pleaseEnter"),value:e.applicant_owner_no,readonly:e.readonly},on:{input:function(t){return e.$emit("update:applicant_owner_no",t)}}})],1)],2):e._e()],1),e._v(" "),t("el-row",{staticClass:"radio-row margin-bottom-10"},[t("el-checkbox",{attrs:{label:"owner_committee",disabled:e.readonly}},[e._v(e._s(e.$t("lang.ownersCommittee")))]),e._v(" "),e.applicant_owner_types.includes("owner_committee")?t("el-column-row",{staticClass:"margin-top-10"},["owner_committee"===e.frist?[t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.chineseName"),percent:.3,prop:"applicant_owner_name"}},[t("label",{attrs:{for:"qms_form_owner_applicant_owner_name",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"qms_form_owner_applicant_owner_name",placeholder:e.$t("lang.pleaseEnter"),readonly:e.readonly,value:e.applicant_owner_name},on:{input:function(t){return e.$emit("update:applicant_owner_name",t)}}})],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("lang.englishName"),percent:.3,prop:"applicant_owner_english_name"}},[t("label",{attrs:{for:"qms_form_owner_applicant_owner_english_name",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"qms_form_owner_applicant_owner_english_name",placeholder:e.$t("lang.pleaseEnter"),readonly:e.readonly,value:e.applicant_owner_english_name},on:{input:function(t){return e.$emit("update:applicant_owner_english_name",t)}}})],1)]:e._e(),e._v(" "),"owner_committee"===e.second?[t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.chineseName"),percent:.3,prop:"applicant_owner_secondary_name"}},[t("label",{attrs:{for:"qms_form_owner_applicant_owner_secondary_name",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"qms_form_owner_applicant_owner_secondary_name",placeholder:e.$t("lang.pleaseEnter"),readonly:e.readonly,value:e.applicant_owner_secondary_name},on:{input:function(t){return e.$emit("update:applicant_owner_secondary_name",t)}}})],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("lang.englishName"),percent:.3,prop:"applicant_owner_secondary_english_name"}},[t("label",{attrs:{for:"qms_form_owner_applicant_owner_secondary_english_name",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"qms_form_owner_applicant_owner_secondary_english_name",placeholder:e.$t("lang.pleaseEnter"),readonly:e.readonly,value:e.applicant_owner_secondary_english_name},on:{input:function(t){return e.$emit("update:applicant_owner_secondary_english_name",t)}}})],1)]:e._e()],2):e._e()],1),e._v(" "),t("el-row",{staticClass:"radio-row margin-bottom-10"},[t("el-checkbox",{attrs:{label:"operator",disabled:e.readonly}},[e._v(e._s(e.$t("lang.operator")))]),e._v(" "),e.applicant_owner_types.includes("operator")?t("el-column-row",{staticClass:"margin-top-10"},["operator"===e.frist?[t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.chineseName"),percent:.3,prop:"applicant_owner_name"}},[t("label",{attrs:{for:"qms_form_owner_applicant_owner_name",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"qms_form_owner_applicant_owner_name",placeholder:e.$t("lang.pleaseEnter"),readonly:e.readonly,value:e.applicant_owner_name},on:{input:function(t){return e.$emit("update:applicant_owner_name",t)}}})],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("lang.englishName"),percent:.3,prop:"applicant_owner_english_name"}},[t("label",{attrs:{for:"qms_form_owner_applicant_owner_english_name",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"qms_form_owner_applicant_owner_english_name",placeholder:e.$t("lang.pleaseEnter"),readonly:e.readonly,value:e.applicant_owner_english_name},on:{input:function(t){return e.$emit("update:applicant_owner_english_name",t)}}})],1)]:e._e(),e._v(" "),"operator"===e.second?[t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.chineseName"),percent:.3,prop:"applicant_owner_secondary_name"}},[t("label",{attrs:{for:"qms_form_owner_applicant_owner_secondary_name",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"qms_form_owner_applicant_owner_secondary_name",placeholder:e.$t("lang.pleaseEnter"),readonly:e.readonly,value:e.applicant_owner_secondary_name},on:{input:function(t){return e.$emit("update:applicant_owner_secondary_name",t)}}})],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("lang.englishName"),percent:.3,prop:"applicant_owner_secondary_english_name"}},[t("label",{attrs:{for:"qms_form_owner_applicant_owner_secondary_english_name",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"qms_form_owner_applicant_owner_secondary_english_name",placeholder:e.$t("lang.pleaseEnter"),readonly:e.readonly,value:e.applicant_owner_secondary_english_name},on:{input:function(t){return e.$emit("update:applicant_owner_secondary_english_name",t)}}})],1)]:e._e()],2):e._e()],1),e._v(" "),t("el-row",{staticClass:"radio-row margin-bottom-10"},[t("el-checkbox",{attrs:{label:"management_agent",disabled:e.readonly}},[e._v(e._s(e.$t("lang.managementAgent")))]),e._v(" "),e.applicant_owner_types.includes("management_agent")?t("el-column-row",{staticClass:"margin-top-10"},["management_agent"===e.frist?[t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.chineseName"),percent:.3,prop:"applicant_owner_name"}},[t("label",{attrs:{for:"qms_form_management_agent_applicant_owner_name",hidden:""}},[e._v("''")]),e._v(" "),t("el-autocomplete",{staticStyle:{width:"100%"},attrs:{id:"qms_form_management_agent_applicant_owner_name","value-key":"name",value:e.applicant_owner_name,"fetch-suggestions":e.moRemote,"hide-loading":!e.moRemoteLoading,placeholder:e.$t("lang.pleaseEnter"),readonly:e.readonly},on:{input:function(t){return e.$emit("update:applicant_owner_name",t)},select:e.moRemoteChange}})],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("lang.englishName"),percent:.3,prop:"applicant_owner_english_name"}},[t("label",{attrs:{for:"qms_form_management_agent_applicant_owner_english_name",hidden:""}},[e._v("''")]),e._v(" "),t("el-autocomplete",{staticStyle:{width:"100%"},attrs:{id:"qms_form_management_agent_applicant_owner_english_name","value-key":"english_name",value:e.applicant_owner_english_name,"fetch-suggestions":e.moRemote,"hide-loading":!e.moRemoteLoading,placeholder:e.$t("lang.pleaseEnter"),readonly:e.readonly},on:{input:function(t){return e.$emit("update:applicant_owner_english_name",t)},select:e.moRemoteChange}})],1)]:e._e(),e._v(" "),"management_agent"===e.second?[t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.chineseName"),percent:.3,prop:"applicant_owner_secondary_name"}},[t("label",{attrs:{for:"qms_form_management_agent_applicant_owner_secondary_name",hidden:""}},[e._v("''")]),e._v(" "),t("el-autocomplete",{staticStyle:{width:"100%"},attrs:{id:"qms_form_management_agent_applicant_owner_secondary_name","value-key":"name",value:e.applicant_owner_secondary_name,"fetch-suggestions":e.moRemote,"hide-loading":!e.moRemoteLoading,placeholder:e.$t("lang.pleaseEnter"),readonly:e.readonly},on:{input:function(t){return e.$emit("update:applicant_owner_secondary_name",t)},select:e.secondaryMoRemoteChange}})],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("lang.englishName"),percent:.3,prop:"applicant_owner_secondary_english_name"}},[t("label",{attrs:{for:"qms_form_management_agent_applicant_owner_secondary_english_name",hidden:""}},[e._v("''")]),e._v(" "),t("el-autocomplete",{staticStyle:{width:"100%"},attrs:{id:"qms_form_management_agent_applicant_owner_secondary_english_name","value-key":"english_name",value:e.applicant_owner_secondary_english_name,"fetch-suggestions":e.moRemote,"hide-loading":!e.moRemoteLoading,placeholder:e.$t("lang.pleaseEnter"),readonly:e.readonly},on:{input:function(t){return e.$emit("update:applicant_owner_secondary_english_name",t)},select:e.secondaryMoRemoteChange}})],1)]:e._e()],2):e._e()],1),e._v(" "),t("el-row",{staticClass:"radio-row margin-bottom-10"},[t("el-checkbox",{attrs:{label:"government_departments",disabled:e.readonly}},[e._v(e._s(e.$t("lang.governmentDepartments")))]),e._v(" "),e.applicant_owner_types.includes("government_departments")?t("el-column-row",{staticClass:"margin-top-10"},["government_departments"===e.frist?[t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.chineseName"),percent:.3,prop:"applicant_owner_name"}},[t("label",{attrs:{for:"qms_form_owner_applicant_owner_name",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"qms_form_owner_applicant_owner_name",placeholder:e.$t("lang.pleaseEnter"),readonly:e.readonly,value:e.applicant_owner_name},on:{input:function(t){return e.$emit("update:applicant_owner_name",t)}}})],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("lang.englishName"),percent:.3,prop:"applicant_owner_english_name"}},[t("label",{attrs:{for:"qms_form_owner_applicant_owner_english_name",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"qms_form_owner_applicant_owner_english_name",placeholder:e.$t("lang.pleaseEnter"),readonly:e.readonly,value:e.applicant_owner_english_name},on:{input:function(t){return e.$emit("update:applicant_owner_english_name",t)}}})],1)]:e._e(),e._v(" "),"government_departments"===e.second?[t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.chineseName"),percent:.3,prop:"applicant_owner_secondary_name"}},[t("label",{attrs:{for:"qms_form_owner_applicant_owner_secondary_name",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"qms_form_owner_applicant_owner_secondary_name",placeholder:e.$t("lang.pleaseEnter"),readonly:e.readonly,value:e.applicant_owner_secondary_name},on:{input:function(t){return e.$emit("update:applicant_owner_secondary_name",t)}}})],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("lang.englishName"),percent:.3,prop:"applicant_owner_secondary_english_name"}},[t("label",{attrs:{for:"qms_form_owner_applicant_owner_secondary_english_name",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"qms_form_owner_applicant_owner_secondary_english_name",placeholder:e.$t("lang.pleaseEnter"),readonly:e.readonly,value:e.applicant_owner_secondary_english_name},on:{input:function(t){return e.$emit("update:applicant_owner_secondary_english_name",t)}}})],1)]:e._e()],2):e._e()],1),e._v(" "),t("el-row",{staticClass:"radio-row margin-bottom-10"},[t("el-checkbox",{attrs:{label:"other",disabled:e.readonly}},[e._v(e._s(e.$t("lang.othersPleaseSpecify")))]),e._v(" "),e.applicant_owner_types.includes("other")?t("el-column-row",{staticClass:"margin-top-10"},["other"===e.frist?[t("el-form-item",{staticClass:"label-width-auto",attrs:{percent:.3,prop:"applicant_owner_name"}},[t("label",{attrs:{for:"qms_form_other_applicant_owner_name",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"qms_form_other_applicant_owner_name",placeholder:e.$t("lang.pleaseEnter"),readonly:e.readonly,value:e.applicant_owner_name},on:{input:function(t){return e.$emit("update:applicant_owner_name",t)}}})],1)]:e._e(),e._v(" "),"other"===e.second?[t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.chineseName"),percent:.3,prop:"applicant_owner_secondary_name"}},[t("label",{attrs:{for:"qms_form_owner_applicant_owner_secondary_name",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"qms_form_owner_applicant_owner_secondary_name",placeholder:e.$t("lang.pleaseEnter"),readonly:e.readonly,value:e.applicant_owner_secondary_name},on:{input:function(t){return e.$emit("update:applicant_owner_secondary_name",t)}}})],1)]:e._e()],2):e._e()],1)],1)};xd._withStripped=!0;var Sd=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),Ed=function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r},kd=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},Od=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.api=x(),t.moRemoteOptions=[],t.moRemoteLoading=!1,t}return Sd(t,e),t.prototype.onChange=function(e){if(this.$emit("update:applicant_owner_types",e),!e||0==e.length)return this.$emit("update:frist",""),void this.$emit("update:second","");switch(e.length){case 1:this.frist||this.second||(this.$emit("update:frist",e[0]),this.$emit("update:second","")),this.frist===e[0]&&this.$emit("update:second",""),this.second===e[0]&&this.$emit("update:frist","");break;case 2:this.frist===e[0]&&this.$emit("update:second",e[1]),this.second===e[0]&&this.$emit("update:frist",e[1])}},t.prototype.moRemote=function(e,t){var a=this;e&&(this.moRemoteLoading=!0,this.api.get("/public/management/companies/search?name=".concat(e)).then((function(e){a.moRemoteLoading=!1,a.moRemoteOptions=e.map((function(e){return{id:e.id,english_name:e.english_name,name:e.chinese_name}})),t(a.moRemoteOptions)})).catch((function(e){a.moRemoteLoading=!1})))},t.prototype.moRemoteChange=function(e){e&&(this.$emit("update:applicant_owner_name",(null==e?void 0:e.name)||""),this.$emit("update:applicant_owner_english_name",(null==e?void 0:e.english_name)||""))},t.prototype.secondaryMoRemoteChange=function(e){e&&(this.$emit("update:applicant_owner_secondary_name",(null==e?void 0:e.name)||""),this.$emit("update:applicant_owner_secondary_english_name",(null==e?void 0:e.english_name)||""))},t.prototype.onInput=function(e,t){void 0===t&&(t="applicant_owner_name"),this.$emit("update:".concat(t),e)},Ed([(0,o.fI)({require
1d:!1,default:!1}),kd("design:type",Boolean)],t.prototype,"viewer",void 0),Ed([(0,o.fI)({required:!0}),kd("design:type",Array)],t.prototype,"applicant_owner_types",void 0),Ed([(0,o.fI)({required:!1,default:!1}),kd("design:type",Boolean)],t.prototype,"readonly",void 0),Ed([(0,o.fI)({required:!1}),kd("design:type",String)],t.prototype,"applicant_owner_name",void 0),Ed([(0,o.fI)({required:!1}),kd("design:type",String)],t.prototype,"applicant_owner_english_name",void 0),Ed([(0,o.fI)({required:!1}),kd("design:type",String)],t.prototype,"applicant_owner_no",void 0),Ed([(0,o.fI)({required:!1}),kd("design:type",String)],t.prototype,"applicant_owner_secondary_name",void 0),Ed([(0,o.fI)({required:!1}),kd("design:type",String)],t.prototype,"applicant_owner_secondary_english_name",void 0),Ed([(0,o.fI)({required:!1,default:""}),kd("design:type",String)],t.prototype,"frist",void 0),Ed([(0,o.fI)({required:!1,default:""}),kd("design:type",String)],t.prototype,"second",void 0),Ed([(0,o.wA)({components:{ElCheckbox:ei(),ElCheckboxGroup:zc(),ElFormItem:pt,ElColumnRow:ke,ElRow:ft()}})],t)}(o.w3),Ad=Od,Pd=(0,z.Z)(Ad,xd,[],!1,null,null,null).exports,Td=a(80950),Dd=a.n(Td),Rd=(a(98231),function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}()),Id=function(){return Id=Object.assign||function(e){for(var t,a=1,o=arguments.length;a<o;a++)for(var l in t=arguments[a])Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l]);return e},Id.apply(this,arguments)},Fd=x(),Ld=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.api=x(),t.baseUrl="/api/afs/wsd",t.breadcrumb=[{path:"",title:t.$t("lang.eApplication")},{path:"/applications/qms",title:"QMS"},{path:"",title:t.$t("lang.application")}],t.districtOptions="en-US"===t.$i18n.locale?Ln:"zh-CN"===t.$i18n.locale?Mn:qn,t.errMessage={111:t.$t("lang.pleaseCompleteAllRequiredFields"),90003:t.$t("lang.applicationAlreadyExists"),90005:t.$t("lang.applicationAlreadySubmit"),90007:t.$t("lang.applicationDraftErr")},t.partMaxActive=1,t.cardListTop=[],t.pageCenterNum=0,t.partList=[{name:"lang.general_desc"},{name:"lang.atypeBuildings"},{name:"lang.bqms_title6"},{name:"lang.cbuilding_info"},{name:"lang.dpreferredSchemeCertificate"},{name:"lang.edocumentsIncludedApplication"},{name:"lang.fqmsWSDInstructionsTitle"},{name:"lang.gqmsConditionsFileTitle"},{name:"lang.applyMessageTitle"}],t.treaty="",t.agreeTreaty=!1,t.canEdit=!0,t.form=new K({loader:"/public/qms/applications/:id",action:"/public/qms/applications",default:{information_of_the_building:[],status:-1,approval_scheme:"",applicant_contact_person_name:[],applicant_contact_person_title:[],applicant_contact_person_tel:[],applicant_contact_person_mail:[],owner_name_item:{},owner_corporation_item:{},owner_committee_item:{},operator_item:{},management_agent_item:{},government_department_item:{},other_item:{},contacts:[],applicant_owner_types:[]},rules:{approval_scheme:[{required:!0,message:t.$t("lang.pleaseChoose")}],building_type:[{required:!0,message:t.$t("lang.pleaseChoose"),trigger:"blur"}],building_type_remark:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{max:250,message:"".concat(t.$t("lang.characterLength")," 250"),trigger:"blur"}],applicant_correspondence_address:[{max:250,message:"".concat(t.$t("lang.characterLength")," 250"),trigger:"blur"}],management_agent_item:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"}],maintenance_agent:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"}],lot_boundary:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"}],blocks_no:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"}],floors_no:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"}],wards_no:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"}],patients_staff_no:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"}],certificate_references:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"}],plumbing_line_diagrams_ref_no:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"}],applicant_contact_person_name:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"}],applicant_contact_person_title:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"}],applicant_contact_person_mail:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{validator:function(e,a,o){if(a){var l=/^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/;a.filter((function(e){return!l.test(e)})).length>0?o(new Error(t.$t("lang.inputCorrectEmailAddress"))):o()}else o(new Error(t.$t("lang.pleaseEnter")))}}],applicant_contact_person_tel:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{validator:function(e,a,o){if(a){var l=/^\d+(\d|\-){0,1}\d+$/;a.filter((function(e){return!l.test(e)||e.length<8})).length>0?o(new Error(t.$t("lang.pleaseEnterCorrectNum"))):o()}else o(new Error(t.$t("lang.pleaseEnter")))}}],applicant_contact_person_fax:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{validator:function(e,a,o){if(a){var l=/^\d+(\d|\-){0,1}\d+$/;a.filter((function(e){return!l.test(e)||e.length<8})).length>0?o(new Error(t.$t("lang.pleaseEnterCorrectNum"))):o()}else o(new Error(t.$t("lang.pleaseEnter")))}}],water_safety_plan_for_building:[{required:!0,message:t.$t("lang.pleaseUploadFile")}],internal_audit_report:[{required:!0,message:t.$t("lang.pleaseUploadFile")}],completed_routine_water_safety_checklist:[{required:!0,message:t.$t("lang.pleaseUploadFile")}],test_reports_for_water_quality:[{required:!0,message:t.$t("lang.pleaseUploadFile")}],sign_doc:[{required:!0,message:t.$t("lang.pleaseUploadFile")}],applicant_owner_name:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{max:200,message:"".concat(t.$t("lang.characterLength")," 200"),trigger:"blur"}],applicant_owner_english_name:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{max:200,message:"".concat(t.$t("lang.characterLength")," 200"),trigger:"blur"}],applicant_owner_secondary_name:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{max:200,message:"".concat(t.$t("lang.characterLength")," 200"),trigger:"blur"}],applicant_owner_secondary_english_name:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{max:200,message:"".concat(t.$t("lang.characterLength")," 200"),trigger:"blur"}],applicant_owner_no:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"}],scheme_certificate_preferred_format:[{required:!0,message:t.$t("lang.pleaseChoose")}],scheme_certificate_preferred_format_remark:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{max:250,message:"".concat(t.$t("lang.characterLength")," 250"),trigger:"blur"}],contacts:[{required:!0,message:t.$t("lang.enterLeastOneContactInformation"),trigger:"blur"}],information_of_the_building:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"}],upload_other_info_msg:[{max:250,message:"".concat(t.$t("lang.characterLength")," 250"),trigger:"blur"}]},onSubmitSuccess:function(){t.successMessage("submit")},onSubmitFailure:function(e){var a=e?t.errMessage[e]:t.errMessage[111];a&&E().error({message:a,showClose:!0,duration:5e3})}}),t.buildDialogForm=new K({default:{},rules:{english_name:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],name:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],age:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{size:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],address:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{max:200,message:"".concat(t.$t("lang.characterLength")," 200"),trigger:"blur"}],english_address:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{max:200,message:"".concat(t.$t("lang.characterLength")," 200"),trigger:"blur"}],district:[{required:!0,message:t.$t("lang.pleaseChoose"),trigger:"blur"}]}}),t.contactsDialogForm=new K({default:{},rules:{applicant_contact_person_name:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"}],applicant_contact_person_title:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"}],applicant_contact_person_mail:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{validator:function(e,a,o){a?/^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/.test(a)?o():o(new Error(t.$t("lang.inputCorrectEmailAddress"))):o(new Error(t.$t("lang.pleaseEnter")))}},{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"}],applicant_contact_person_tel:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{validator:function(e,a,o){a?!/^\d+(\d|\-){0,1}\d+$/.test(a)||a.length<8?o(new Error(t.$t("lang.pleaseEnterCorrectNum"))):o():o(new Error(t.$t("lang.pleaseEnter")))}},{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"}],applicant_contact_person_fax:[{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"}]}}),t.dialogInfoIsEdit=!1,t.dialogInfoEditIndex=0,t.showInstructionsDialog=!1,t.instructionsDialogContent="",t.showWSPInstructionsDialog=!1,t.wspBeforeUploadEvent=!0,t.remoteOptions=[],t.remoteLoading=!1,t}return Rd(t,e),t.prototype.onChangeBuildType=function(){this.$set(this.form.model,"building_type_remark","")},t.prototype.remote=function(e,t){var a=this;e&&(this.remoteLoading=!0,this.api.get("/public/buildings/search?name=".concat(e)).then((function(e){a.remoteLoading=!1,a.remoteOptions=e.map((function(e){return{id:e.id,english_name:e.english_name,name:e.chinese_name,age:e.building_age,address:e.chinese_address,english_address:e.english_address}})),t(a.remoteOptions)})).catch((function(e){a.remoteLoading=!1})))},t.prototype.remoteChange=function(e){e&&(this.$set(this.buildDialogForm.model,"name",(null==e?void 0:e.name)||""),this.$set(this.buildDialogForm.model,"english_name",(null==e?void 0:e.english_name)||""),this.$set(this.buildDialogForm.model,"age","".concat(null==e?void 0:e.age)||""),this.$set(this.buildDialogForm.model,"address",(null==e?void 0:e.address)||""),this.$set(this.buildDialogForm.model,"english_address",(null==e?void 0:e.english_address)||""))},t.prototype.onDeleteBuildingInfo=function(e){this.form.model.information_of_the_building.splice(e,1)},t.prototype.onAddBuildingInfo=function(){var e=this;this.buildDialogForm.validate().then((function(){if(e.dialogInfoIsEdit){var t=e.form.model.information_of_the_building.concat([]);t[e.dialogInfoEditIndex]=e.buildDialogForm.model,e.form.model.information_of_the_building=t.concat([])}else e.form.model.information_of_the_building.push(e.buildDialogForm.model);e.dialogInfoEditIndex=0,e.dialogInfoIsEdit=!1,e.buildDialogForm.close(),e.buildDialogForm.default=e.form.model.information_of_the_building.length?Object.assign(e.form.model.information_of_the_building[0]):{}}))},t.prototype.onAddContacsInfo=function(){var e=this;this.contactsDialogForm.validate().then((function(){if(e.dialogInfoIsEdit){var t=e.form.model.contacts.concat([]);t[e.dialogInfoEditIndex]=e.contactsDialogForm.model,e.form.model.contacts=t.concat([])}else e.form.model.contacts.push(e.contactsDialogForm.model);e.dialogInfoEditIndex=0,e.dialogInfoIsEdit=!1,e.contactsDialogForm.close()}))},t.prototype.onDeleteContactsInfo=function(e){this.form.model.contacts.splice(e,1)},t.prototype.onShowDialog=function(e){"buildInfo"===e||(this.showInstructionsDialog=!0,this.instructionsDialogContent="WSP"===e?this.$t("lang.qmsWSPInstructions"):this.$t("lang.qmsTestReportsForWaterInstru
1ctions"))},t.prototype.handleSubmit=function(){Mc(this.form,5)},t.prototype.handleResubmit=function(){var e=this,t=n().service({lock:!0});this.api.post("/public/qms/applications/resubmit",this.form.model).then((function(a){t.close(),E().success({duration:5e3,showClose:!0,message:e.$t("lang.successfullySubmitted")}),e.$router.back()})).catch((function(a){t.close();var o=e.errMessage[a];o&&E().error({message:o,showClose:!0,duration:5e3})}))},t.prototype.onSaveForm=function(){var e=this,t=this.form.model.status,a=n().service({lock:!0});this.form.model.id?Fd.put("/public/qms/applications",this.form.model).then((function(t){e.successMessage("save"),a.close()})).catch((function(o){e.form.model.status=t,e.submitErrMessage(o),a.close()})):Fd.post("/public/qms/applications",this.form.model).then((function(t){e.successMessage("save"),a.close()})).catch((function(o){e.form.model.status=t,e.submitErrMessage(o),a.close()}))},t.prototype.successMessage=function(e,t){void 0===e&&(e="save"),void 0===t&&(t=!0),E().success({duration:5e3,showClose:!0,message:"save"===e?this.$t("lang.successfullySaved"):this.$t("lang.successfullySubmitted")}),t&&this.$router.back()},t.prototype.submitErrMessage=function(e){var t=e?this.errMessage[e]:this.errMessage[111];t&&E().error({message:t,showClose:!0,duration:5e3})},t.prototype.onScrollTo=function(e){document.querySelector(".page-content-view").scrollTop=this.cardListTop[e]-10},t.prototype.handleScroll=function(){for(var e=document.querySelectorAll(".entry-application-item-card"),t=document.querySelector(".page-content-view"),a=null==t?void 0:t.scrollTop,o=[],l=0;l<e.length;l++)o.push(e[l].offsetTop);var n;n=(null==t?void 0:t.scrollHeight)&&a+(null==t?void 0:t.clientHeight)>=(null==t?void 0:t.scrollHeight)?o.concat([]):a<20?[]:o.filter((function(e){return e-12<a})),this.partMaxActive=n.length||1,this.cardListTop=o.concat([])},t.prototype.onCloseWSPInstructionsDialog=function(){this.showWSPInstructionsDialog=!1,this.wspBeforeUploadEvent=!1,this.dialogInfoIsEdit=!1},t.prototype.onEditBuildInfo=function(e,t){this.dialogInfoIsEdit=!0,this.dialogInfoEditIndex=t,this.buildDialogForm.default=Object.assign(e),this.buildDialogForm.open()},t.prototype.onEditContacsInfo=function(e,t){this.dialogInfoIsEdit=!0,this.dialogInfoEditIndex=t,this.contactsDialogForm.default=Object.assign(e),this.contactsDialogForm.open()},t.prototype.onCloseInfoDialog=function(e){"build"==e?(this.buildDialogForm.close(),this.buildDialogForm.default=this.form.model.information_of_the_building.length?{name:this.form.model.information_of_the_building[0].name,english_name:this.form.model.information_of_the_building[0].english_name,age:this.form.model.information_of_the_building[0].age,address:this.form.model.information_of_the_building[0].address,english_address:this.form.model.information_of_the_building[0].english_address,district:this.form.model.information_of_the_building[0].district}:{}):(this.contactsDialogForm.close(),this.contactsDialogForm.default={}),this.dialogInfoIsEdit=!1},t.prototype.onApplicantTypeChange=function(e){"other"===e&&this.$set(this.form.model,"applicant_owner_english_name","")},t.prototype.mounted=function(){var e=this;this.$nextTick((function(){var t,a;window.addEventListener("scroll",e.handleScroll,!0);var o=(null===(t=document.querySelector("body"))||void 0===t?void 0:t.clientHeight)||0,l=(null===(a=document.querySelector(".el-header"))||void 0===a?void 0:a.clientHeight)||0;e.pageCenterNum=o?o/2-107-l:0;for(var n=document.querySelectorAll(".entry-application-item-card"),r=0;r<n.length;r++)e.cardListTop.push(n[r].offsetTop)}));var t=document.getElementsByClassName("el-table__cell gutter");for(var a in t)if(Object.prototype.hasOwnProperty.call(t,a)){var o=t[a];null==o||o.append("1"),null==o||o.setAttribute("style","width: 0px; display: none; color: #3A6573; backgroundColor: #ffffff;")}},t.prototype.beforeMount=function(){var e=this;this.$route.params.id&&this.form.load({id:this.$route.params.id}),this.$route.params.id||Fd.get("/public/qms/applications/latest").then((function(t){e.form.reset(Id(Id({},e.form.default),{applicant_owner_types:(null==t?void 0:t.applicant_owner_types)||[],applicant_owner_name:null==t?void 0:t.applicant_owner_name,applicant_owner_english_name:null==t?void 0:t.applicant_owner_english_name,applicant_owner_no:null==t?void 0:t.applicant_owner_no,applicant_owner_secondary_name:null==t?void 0:t.applicant_owner_secondary_name,applicant_owner_secondary_english_name:null==t?void 0:t.applicant_owner_secondary_english_name,applicant_owner:null==t?void 0:t.applicant_owner,applicant_owner_secondary:null==t?void 0:t.applicant_owner_secondary,applicant_correspondence_address:null==t?void 0:t.applicant_correspondence_address,contacts:(null==t?void 0:t.contacts)||[]}))}))},function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r}([(0,o.wA)({components:{ElAdminContainer:Da,ElForm:ae,ElFormItem:pt,ElColumnRow:ke,ElButton:Ge,ElCard:fe(),ElInput:Ze(),ElCheckbox:ei(),ElCheckboxGroup:zc(),ElRadioGroup:Bc(),ElSelectTag:ds,ElTable:go,ElTableColumn:Uo(),ElDocumentUpload:Eo,ElRadio:Hs(),ElReviewMessage:lc,ElRow:ft(),ElOption:xr(),ElDatePicker:Ho(),ElSelect:Pr,ElQmsAddBuildInfoDialog:gd,ElInstructionsDialog:vc,ElTemplateDownBtn:Cd,ElTag:Sc,ElPartMenus:Lc,ElDialog:pe,ElSvgIcon:Ie,ElLink:ge(),ElAutocomplete:Dd(),ParticularApplicantCheckbox:Pd},beforeRouteEnter:function(e,t,a){Fd.get("/public/setting/agreement",{params:{application_type:11,type:10}}).then((function(t){return a((function(a){var o;!(null===(o=e.params)||void 0===o?void 0:o.id)||(a.canEdit=!1),t&&t.agreement&&(a.treaty=t.agreement),a.form.model.approval_scheme=e.query.type}))}))}})],t)}(o.w3),qd=Ld,Md=(a(54112),(0,z.Z)(qd,cd,[],!1,null,null,null).exports
1),jd=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-admin-container",{class:["page-qms-list","en-US"===e.$i18n.locale?"page-qms-list-en":""],attrs:{breadcrumb:[this.$t("lang.applications")," QWS"]}},[t("el-card",{staticClass:"search-filter-card",attrs:{shadow:"never"}},[t("el-form",[t("el-column-row",[t("el-form-item",{staticClass:"status-form-item",attrs:{label:e.$t("lang.status"),percent:.22}},[t("label",{attrs:{for:"qws_list_status_params",hidden:""}},[e._v("''")]),e._v(" "),t("el-select",{attrs:{id:"qws_list_status_params",loader:e.searchStatusOptions,clearable:""},model:{value:e.table.params.status,callback:function(t){e.$set(e.table.params,"status",t)},expression:"table.params.status"}})],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("lang.type_of_building"),percent:.22}},[t("label",{attrs:{for:"qws_list_type_params",hidden:""}},[e._v("''")]),e._v(" "),t("el-select",{attrs:{id:"qws_list_type_params",loader:e.typeOfBuildinfOption,clearable:""},model:{value:e.table.params.type,callback:function(t){e.$set(e.table.params,"type",t)},expression:"table.params.type"}})],1),e._v(" "),t("el-form-item",{attrs:{percent:.4,label:e.$t("lang.applicationTime")}},[t("label",{attrs:{for:"qws_list_application_time_params_input_0",hidden:""}},[e._v("''")]),e._v(" "),t("label",{attrs:{for:"qws_list_application_time_params_input_1",hidden:""}},[e._v("''")]),e._v(" "),t("el-date-picker",{staticClass:"width-pre-100",attrs:{type:"daterange","start-placeholder":e.$t("lang.applicationTimePlaceholderStart"),"end-placeholder":e.$t("lang.applicationTimePlaceholderEnd"),clearable:""},model:{value:e.table.params.application_time,callback:function(t){e.$set(e.table.params,"application_time",t)},expression:"table.params.application_time"}})],1),e._v(" "),t("el-form-item",{staticClass:"el-item-flex-justify-end"},[t("el-button",{staticClass:"fill-blue-btn",on:{click:function(t){return e.table.load()}}},[e._v(e._s(e.$t("lang.action.search")))])],1)],1)],1)],1),e._v(" "),t("el-card",{staticClass:"contain-card",attrs:{shadow:"never"}},[t("el-table",{attrs:{store:e.table,border:"",hasHeight:!1}},[t("el-table-column",{attrs:{label:e.$t("lang.formHeader.file_no"),align:"center",width:"160"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n          "+e._s(t.row.file_no)+"\n        ")]}}])}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.formHeader.status"),align:"center",width:"170"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n          "+e._s(e._f("options")(t.row.status,e.unLabApplyStatusOption))+" "+e._s(0===t.row.status?`(${e.$t("lang.reSubmt")})`:"")+"\n        ")]}}])}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.type_of_building"),align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n          "+e._s(e._f("options")(t.row.building_type,e.typeOfBuildinfOption))+"\n        ")]}}])}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.name_of_building"),align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(e._f("array")(t.row.building_names,"、")))]}}])}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.english_of_building"),align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(e._f("array")(t.row.english_building_names,"、")))]}}])}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.approvedDate"),width:"150px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n          "+e._s(e._f("date_format")(t.row.approval_time))+"\n        ")]}}])}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.applicationTime"),width:"150px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n          "+e._s(e._f("date_format")(t.row.application_time))+"\n        ")]}}])}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.action.action"),align:"center","class-name":"cell-flex-row cell-justify-center action-column",width:"260"},scopedSlots:e._u([{key:"default",fn:function(a){return[t("el-button",{staticClass:"text-green",attrs:{type:"text"},on:{click:function(t){return e.$router.push({path:"/applications/qws/detail",query:{id:a.row.id}})}}},[e._v(e._s(e.$t("lang.action.view")))]),e._v(" "),-1===a.row.status||0===a.row.status?t("el-button",{staticClass:"text-blue",attrs:{type:"text"},on:{click:function(t){return e.$router.push({path:`/applications/qws/apply/${a.row.id}`})}}}
1,[e._v(e._s(e.$t("lang.action.edit")))]):e._e(),e._v(" "),-1===a.row.status?t("el-button",{staticClass:"text-red",attrs:{type:"text",confirm:e.$t("lang.wantDeleteTip")},on:{confirm:function(t){return e.table.action("delete",{data:[a.row.id]})}}},[e._v(e._s(e.$t("lang.action.delete")))]):e._e(),e._v(" "),25==a.row.status?t("el-button",{staticClass:"text-blue",attrs:{type:"text"},on:{click:function(t){return e.$router.push({path:"/applications/undertaking/apply",query:{type:"qws"}})}}},[e._v(e._s(e.$t("lang.changeComplay")))]):e._e()]}}])}),e._v(" "),t("el-table-toolbar",{attrs:{slot:"toolbar"},slot:"toolbar"},[t("el-button",{staticClass:"print-btn empty-bule-btn iconfont-15",attrs:{slot:"right"},on:{click:e.onAdd},slot:"right"},[t("i",{staticClass:"iconfont a-ico_new1x"}),e._v("\n          "+e._s(e.$t("lang.action.new"))+"\n        ")])],1),e._v(" "),t("el-pagination",{attrs:{slot:"footer",layout:"total, prev, pager, next"},slot:"footer"})],1),e._v(" "),t("el-apply-treaty-dialog",{attrs:{description:e.treaty,visible:e.showTreatyDialiog},on:{"update:visible":function(t){e.showTreatyDialiog=t},"on-agree":e.onAdd}}),e._v(" "),t("el-cancel-dialog",{attrs:{visible:e.cancelForm.visible,form:e.cancelForm},on:{"update:visible":function(t){return e.$set(e.cancelForm,"visible",t)},onCancel:e.onCancel}})],1)],1)};jd._withStripped=!0;var zd=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),Nd=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.api=x(),t.baseUrl="/api/afs/wsd",t.searchStatusOptions="en-US"===t.$i18n.locale?Ul:"zh-CN"===t.$i18n.locale?Hl:Wl,t.unLabApplyStatusOption="en-US"===t.$i18n.locale?zl:"zh-CN"===t.$i18n.locale?Nl:Bl,t.typeOfBuildinfOption="en-US"===t.$i18n.locale?$l:"zh-CN"===t.$i18n.locale?Cl:xl,t.treaty="\n(1)  I/We* declare that all the information and supporting documents provided for the purpose of this application are true, accurate and complete. \n\n(2) I/We* have properly maintained the plumbing system of flushing supply throughout the inside service up to the household.\n\n(3) I/We* shall ensure that all my/our staff are fully aware of and observe the assessment criteria of the Scheme at all times during the validity period of the Certificate.\n\n(4) I/We* shall co-operate with the Water Supplies Department (WSD) for checking the compliance of the prescribed criteria of the Scheme if considered necessary by WSD.\n\n(5) I/We* agree that none of the members of WSD or the Advisory Committee on Water Resources and Quality of Water Supplies (ACRQWS) shall have any responsibility or liability whatsoever in relation to any dealings between the Scheme Certificate holder and the holder’s customers arising from the Scheme.\n\n(6) I/We* shall not behave in a manner which may jeopardize or damage the reputation or interests of the Government of the HKSAR, WSD and the ACRQWS.\n\n(7) I/We* abide by that the Certificate remains the property of WSD and shall return the Certificate when required by the WSD. \n\n(8) I/We* shall not transfer the Certificates to other persons or organizations without the permission of WSD.\n\n(9) I/We* agree to abide by the Terms and Conditions of the Scheme.\n",t.showTreatyDialiog=!1,t.table=new Z({loader:"/public/qws/applications/list/:page",params:{filters:!0},actions:{delete:{method:"delete",url:"/public/qws/applications",after:"load"}}}),t.cancelForm=new K({}),t}return zd(t,e),t.prototype.onChange=function(e){switch(console.log("value",e),e){case"zh-CN":this.unLabApplyStatusOption=Nl,this.typeOfBuildinfOption=Cl;break;case"en-US":this.unLabApplyStatusOption=zl,this.typeOfBuildinfOption=$l;break;case"zh-HK":this.unLabApplyStatusOption=Bl,this.typeOfBuildinfOption=xl}},t.prototype.onCancel=function(){var e=this;this.api.delete("/public/qws/applications/cancel",{data:this.cancelForm.model}).then((function(t){e.table.reload(),e.cancelForm.close(),E().success({message:e.$t("lang.cancelSuccess"),showClose:!0,duration:5e3})}))},t.prototype.onAdd=function(){this.$router.push("/applications/qws/apply?type=qws_new")},t.prototype.onGetConditions=function(){var e=this;return this.api.get("/public/setting/agreement",{params:{application_type:12,type:10}}).then((function(t){t&&t.agreement&&(e.treaty=t.agreement)}
1)).catch((function(e){}))},t.prototype.onShowConditions=function(){return e=this,t=void 0,o=function(){return function(e,t){var a,o,l,n,r={label:0,sent:function(){if(1&l[0])throw l[1];return l[1]},trys:[],ops:[]};return n={next:i(0),throw:i(1),return:i(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function i(i){return function(s){return function(i){if(a)throw new TypeError("Generator is already executing.");for(;n&&(n=0,i[0]&&(r=0)),r;)try{if(a=1,o&&(l=2&i[0]?o.return:i[0]?o.throw||((l=o.return)&&l.call(o),0):o.next)&&!(l=l.call(o,i[1])).done)return l;switch(o=0,l&&(i=[2&i[0],l.value]),i[0]){case 0:case 1:l=i;break;case 4:return r.label++,{value:i[1],done:!1};case 5:r.label++,o=i[1],i=[0];continue;case 7:i=r.ops.pop(),r.trys.pop();continue;default:if(!((l=(l=r.trys).length>0&&l[l.length-1])||6!==i[0]&&2!==i[0])){r=0;continue}if(3===i[0]&&(!l||i[1]>l[0]&&i[1]<l[3])){r.label=i[1];break}if(6===i[0]&&r.label<l[1]){r.label=l[1],l=i;break}if(l&&r.label<l[2]){r.label=l[2],r.ops.push(i);break}l[2]&&r.ops.pop(),r.trys.pop();continue}i=t.call(e,r)}catch(e){i=[6,e],o=0}finally{a=l=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}}(this,(function(e){switch(e.label){case 0:return[4,this.onGetConditions()];case 1:return e.sent(),this.showTreatyDialiog=!0,[2]}}))},new((a=void 0)||(a=Promise))((function(l,n){function r(e){try{s(o.next(e))}catch(e){n(e)}}function i(e){try{s(o.throw(e))}catch(e){n(e)}}function s(e){var t;e.done?l(e.value):(t=e.value,t instanceof a?t:new a((function(e){e(t)}))).then(r,i)}s((o=o.apply(e,t||[])).next())}));var e,t,a,o},t.prototype.onDownloadLetter=function(e){var t=this;this.api.get("/public/qws/applications/approval_letter/".concat(e)).then((function(e){console.log("res",e),window.open("".concat(t.baseUrl,"/").concat(e.filename),"_blank")}))},t.prototype.mounted=function(){var e,t,a,o,l=document.getElementsByClassName("btn-prev"),n=document.getElementsByClassName("btn-next"),r=document.getElementsByClassName("el-range-input"),i=document.getElementsByClassName("el-table__cell gutter");for(var s in null===(e=l[0])||void 0===e||e.setAttribute("aria-label","pagination-btn-prev-label"),null===(t=n[0])||void 0===t||t.setAttribute("aria-label","pagination-btn-next-label"),r)if(Object.prototype.hasOwnProperty.call(r,s)){var c=r[s];null==c||c.setAttribute("id","qws_list_application_time_params_input_"+s)}null===(a=i[0])||void 0===a||a.append("1"),null===(o=i[0])||void 0===o||o.setAttribute("style","width: 0px; display: none; color: #3A6573; backgroundColor: #ffffff;")},function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r}([(0,o.wA)({components:{ElAdminContainer:Da,ElCard:fe(),ElSelect:Pr,ElOption:xr(),ElForm:ae,ElFormItem:pt,ElColumnRow:ke,ElDatePicker:Ho(),ElButton:Ge,ElTable:go,ElTableColumn:Uo(),ElTableToolbar:Nr,ElPagination:Kr,ElApplyTreatyDialog:es,ElCancelDialog:qs}})],t)}(o.w3),Bd=Nd,Ud=(a(42492),(0,z.Z)(Bd,jd,[],!1,null,null,null).exports),Wd=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-admin-container",{class:["page-qws-apply","page-review-application","en-US"===e.$i18n.locale?"page-qws-apply-en":""],attrs:{breadcrumb:e.breadcrumb,showMenusPart:!0}},[t("el-part-menus",{attrs:{slot:"part-menus",menus:e.partList,active:e.partMaxActive},on:{"on-scroll-to":e.onScrollTo},slot:"part-menus"}),e._v(" "),t("div",{staticClass:"container entry-application-content"},[t("el-form",{attrs:{store:e.form,hasLabelSuffix:!1},nativeOn:{submit:function(e){e.preventDefault()}}},[t("el-card",{staticClass:"entry-application-item-card water-supply-scheme-card",attrs:{shadow:"never"}},[t("p",{staticClass:"application-item-card-title",attrs:{slot:"header"},slot:"header"},[e._v("\r\n           "+e._s(e.$t("lang.general_desc"))+":\r\n          ")]),e._v(" "),t("el-form-item",{staticClass:"d-flex flex-column listed-below-form-item",attrs:{label:e.$t("lang.qwsApplyTypeTitle"),"label-width":"0",prop:"approval_scheme",percent:.8}},[t("el-radio-group",{attrs:{disabled:!e.canEdit&&e.form.model.general_description_review&&1===e.form.model.general_description_review.status},model:{value:e.form.model.approval_scheme,callback:function(t){e.$set(e.form.model,"approval_scheme",t)},expression:"form.model.approval_scheme"}},[t("el-radio",{attrs:{label:"qws_new"}},[e._v(e._s(e.$t("lang.qwsNewApplicationSelect")))]),e._v(" "),t("el-radio",{attrs:{label:"qws_renewal"}}
1,[e._v(e._s(e.$t("lang.qwsRenewalApplicationSelect")))])],1)],1),e._v(" "),t("div",{staticClass:"content-item-view margin-bottom-15"},[t("div",{staticClass:"general-instructions-view"},[t("p",{staticClass:"general-instructions"},[e._v(e._s(e.$t("lang.qwsCerInstructionsOne")))]),e._v(" "),t("p",{staticClass:"general-instructions indent-two"},[e._v(e._s(e.$t("lang.qwsCerInstructionsThree")))]),e._v(" "),t("p",{staticClass:"general-instructions indent-two"},[e._v(e._s(e.$t("lang.qwsCerInstructionsFour")))]),e._v(" "),t("p",{staticClass:"general-instructions indent-two"},[e._v(e._s(e.$t("lang.qwsCerInstructionsFive")))])])]),e._v(" "),t("el-form-item",{staticClass:"label-width-zero water-supply-buildings-form-item content-item-view",attrs:{label:`${e.$t("lang.applyForAcceptance")}:`,"label-width":"0",percent:.8,prop:"water_supply_source"}},[t("el-radio-group",{attrs:{disabled:!e.canEdit&&e.form.model.general_description_review&&1===e.form.model.general_description_review.status},model:{value:e.form.model.water_supply_source,callback:function(t){e.$set(e.form.model,"water_supply_source",t)},expression:"form.model.water_supply_source"}},[t("el-radio",{attrs:{label:"sea_authority"}},[e._v(e._s(e.$t("lang.seaWaterSupplied")))]),e._v(" "),t("el-radio",{attrs:{label:"temporary"}},[e._v(e._s(e.$t("lang.temporaryMainsFreshWater")))]),e._v(" "),t("el-radio",{attrs:{label:"sea_source"}},[e._v(e._s(e.$t("lang.ownPrivateSource")))]),e._v(" "),t("el-radio",{attrs:{label:"well"}},[e._v(e._s(e.$t("lang.wellWaterSupplied")))]),e._v(" "),t("el-row",{staticClass:"radio-row",attrs:{type:"flex"}},[t("el-radio",{attrs:{label:"others"}},[e._v(e._s(e.$t("lang.OtherSpleaseSpecify"))+":")]),e._v(" "),t("el-form-item",{attrs:{prop:"water_supply_source_remark"}},[t("label",{attrs:{for:"qws_form_water_supply_source_remark",hidden:""}},[e._v("''")]),e._v(" "),"others"==e.form.model.water_supply_source?t("el-input",{attrs:{id:"qws_form_water_supply_source_remark",placeholder:e.$t("lang.pleaseEnter"),readonly:!e.canEdit&&e.form.model.general_description_review&&1===e.form.model.general_description_review.status},model:{value:e.form.model.water_supply_source_remark,callback:function(t){e.$set(e.form.model,"water_supply_source_remark",t)},expression:"form.model.water_supply_source_remark"}}):e._e()],1)],1)],1)],1),e._v(" "),e.form.model.general_description_review&&0===e.form.model.general_description_review.status?t("el-form-item",{staticClass:"rejection-reasons-form-item label-width-zero content-item-view",attrs:{label:e.$t("lang.reasonsForRejection"),"label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none",readonly:!0},model:{value:e.form.model.general_description_review.rejection,callback:function(t){e.$set(e.form.model.general_description_review,"rejection",t)},expression:"form.model.general_description_review.rejection"}})],1):e._e()],1),e._v(" "),t("el-card",{staticClass:"entry-application-item-card type-of-building-card",attrs:{shadow:"never"}},[t("p",{staticClass:"application-item-card-title",attrs:{slot:"header"},slot:"header"},[e._v("\r\n          A."+e._s(e.$t("lang.typeBuildings"))+"\r\n        ")]),e._v(" "),t("el-form-item",{staticClass:"label-width-zero label-flex",attrs:{prop:"building_type"}},[t("template",{slot:"label"},[t("p",{staticClass:"tip margin-bottom-0"},[e._v("\r\n              "+e._s(e.$t("lang.indicateBuildingsApplying"))+":\r\n            ")])]),e._v(" "),t("el-radio-group",{attrs:{disabled:!e.canEdit&&e.form.model.type_review&&1===e.form.model.type_review.status},on:{change:e.onChangeBuildType},model:{value:e.form.model.building_type,callback:function(t){e.$set(e.form.model,"building_type",t)},expression:"form.model.building_type"}},[t("el-row",{staticClass:"radio-row"},[t("el-radio",{attrs:{label:1}},[e._v(e._s(e.$t("lang.hotelsLicenceNo")))]),e._v(" "),1===e.form.model.building_type?t("el-form-item",{staticClass:"label-width-auto",attrs:{percent:.4,prop:"building_type_remark"}},[t("label",{attrs:{for:"qws_form_building_type_remark_1",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"qws_form_building_type_remark_1",placeholder:e.$t("lang.hotelsLicenceNo"),readonly:!e.canEdit&&e.form.model.type_review&&1===e.form.model.type_review.status},model:{value:e.form.model.building_type_remark,callback:function(t){e.$set(e.form.model,"building_type_remark",t)},expression:"form.model.building_type_remark"}}
1)],1):e._e()],1),e._v(" "),t("el-row",{staticClass:"radio-row"},[t("el-radio",{attrs:{label:2}},[e._v(e._s(e.$t("lang.restaurantsLicenceNo")))])],1),e._v(" "),t("el-row",{staticClass:"radio-row"},[t("el-radio",{attrs:{label:3}},[e._v(e._s(e.$t("lang.buildingsResidentialFlats")))]),e._v(" "),3===e.form.model.building_type?t("el-form-item",{staticClass:"label-width-auto",attrs:{percent:.4,prop:"building_type_remark"}},[t("label",{attrs:{for:"qws_form_building_type_remark_3",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"qws_form_building_type_remark_3",placeholder:e.$t("lang.buildingsResidentialFlats"),readonly:!e.canEdit&&e.form.model.type_review&&1===e.form.model.type_review.status},model:{value:e.form.model.building_type_remark,callback:function(t){e.$set(e.form.model,"building_type_remark",t)},expression:"form.model.building_type_remark"}})],1):e._e()],1),e._v(" "),t("el-row",{staticClass:"radio-row"},[t("el-radio",{attrs:{label:4}},[e._v(e._s(e.$t("lang.buildingsResidentialFlats2")))]),e._v(" "),4===e.form.model.building_type?t("el-form-item",{staticClass:"label-width-auto",attrs:{percent:.4,prop:"building_type_remark"}},[t("label",{attrs:{for:"qws_form_building_type_remark_4",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"qws_form_building_type_remark_4",placeholder:e.$t("lang.buildingsResidentialFlats2"),readonly:!e.canEdit&&e.form.model.type_review&&1===e.form.model.type_review.status},model:{value:e.form.model.building_type_remark,callback:function(t){e.$set(e.form.model,"building_type_remark",t)},expression:"form.model.building_type_remark"}})],1):e._e()],1),e._v(" "),t("el-row",{staticClass:"radio-row"},[t("el-radio",{attrs:{label:9}},[e._v(e._s(e.$t("lang.qwsRCHE")))])],1),e._v(" "),t("el-row",{staticClass:"radio-row"},[t("el-radio",{attrs:{label:11}},[e._v(e._s(e.$t("lang.qwsGovernmentBuilding")))]),e._v(" "),11===e.form.model.building_type?t("el-form-item",{staticClass:"label-width-auto",attrs:{percent:.4,prop:"building_type_remark"}},[t("label",{attrs:{for:"qws_form_building_type_remark_11",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"qws_form_building_type_remark_11",placeholder:e.$t("lang.qwsGovernmentBuilding"),readonly:!e.canEdit&&e.form.model.type_review&&1===e.form.model.type_review.status},model:{value:e.form.model.building_type_remark,callback:function(t){e.$set(e.form.model,"building_type_remark",t)},expression:"form.model.building_type_remark"}})],1):e._e()],1),e._v(" "),t("el-row",{staticClass:"radio-row"},[t("el-radio",{attrs:{label:5}},[e._v(e._s(e.$t("lang.othersTypeOfBuilding")))]),e._v(" "),5===e.form.model.building_type?t("el-form-item",{staticClass:"label-width-auto",attrs:{percent:.4,prop:"building_type_remark"}},[t("label",{attrs:{for:"qws_form_building_type_remark_5",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"qws_form_building_type_remark_5",placeholder:e.$t("lang.othersTypeOfBuilding"),readonly:!e.canEdit&&e.form.model.type_review&&1===e.form.model.type_review.status},model:{value:e.form.model.building_type_remark,callback:function(t){e.$set(e.form.model,"building_type_remark",t)},expression:"form.model.building_type_remark"}})],1):e._e()],1)],1),e._v(" "),e.form.model.type_review&&0===e.form.model.type_review.status?t("el-form-item",{staticClass:"rejection-reasons-form-item label-width-zero content-item-view",attrs:{label:e.$t("lang.reasonsForRejection"),"label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none",readonly:!0},model:{value:e.form.model.type_review.rejection,callback:function(t){e.$set(e.form.model.type_review,"rejection",t)},expression:"form.model.type_review.rejection"}})],1):e._e()],2)],1),e._v(" "),t("el-card",{staticClass:"entry-application-item-card particulars-applican-card",attrs:{shadow:"never"}},[t("p",{staticClass:"application-item-card-title",attrs:{slot:"header"},slot:"header"},[e._v("\r\n          B."+e._s(e.$t("lang.qms_title6"))+" \r\n        ")]),e._v(" "),t("particular-applicant-checkbox",{attrs:{applicant_owner_types:e.form.model.applicant_owner_types,applicant_owner_no:e.form.model.applicant_owner_no,applicant_owner_name:e.form.model.applicant_owner_name,applicant_owner_english_name:e.form.model.applicant_owner_english_name,applicant_owner_secondary_name:e.form.model.applicant_owner_secondary_name,applicant_owner_secondary_english_name:e.form.model.applicant_owner_secondary_english_name,frist:e.form.model.applicant_owner,second:e.form.model.applicant_owner_secondary,readonly:!e.canEdit&&e.form.model.particular_review&&1===e.form.model.particular_review.status},on:{"update:applicant_owner_types":function(t){return e.$set(e.form.model,"applicant_owner_types",t)},"update:applicant_owner_no":function(t){return e.$set(e.form.model,"applicant_owner_no",t)},"update:applicant_owner_name":function(t){return e.$set(e.form.model,"applicant_owner_name",t)},"update:applicant_owner_english_name":function(t){return e.$set(e.form.model,"applicant_owner_english_name",t)},"update:applicant_owner_secondary_name":function(t){return e.$set(e.form.model,"applicant_owner_secondary_name",t)},"update:applicant_owner_secondary_english_name":function(t){return e.$set(e.form.model,"applicant_owner_secondary_english_name",t)},"update:frist":function(t){return e.$set(e.form.model,"applicant_owner",t)},"update:second":function(t){return e.$set(e.form.model,"applicant_owner_secondary",t)}}}),e._v(" "),t("el-form-item",{attrs:{label:e.$t("lang.correspondenceAddress"),percent:.8,prop:"applicant_correspondence_address"}},[t("label",{attrs:{for:"qws_form_applicant_correspondence_address",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"qws_form_applicant_correspondence_address",placeholder:e.$t("lang.correspondenceAddress"),readonly:!e.canEdit&&e.form.model.particular_review&&1===e.form.model.particular_review.status},model:{value:e.form.model.applicant_correspondence_address,callback:function(t){e.$set(e.form.model,"applicant_correspondence_address",t)},expression:"form.model.applicant_correspondence_address"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-width-zero",attrs:{percent:.8,prop:"contacts"}},[t("el-table",{attrs:{data:e.form.model.contacts,border:"",hasHeight:!1}},[t("el-table-column",{attrs:{label:e.$t("lang.contact_person_name"),prop:"applicant_contact_person_name",width:"200"}}
1),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.contact_person_title"),prop:"applicant_contact_person_title"}}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.contactTelNo"),prop:"applicant_contact_person_tel",align:"center",width:"160"}}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.contactFaxNo"),prop:"applicant_contact_person_fax",align:"center",width:"160"}}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.contact_person_email"),prop:"applicant_contact_person_mail",align:"center",width:"200"}}),e._v(" "),!e.canEdit&&e.form.model.particular_review&&0===e.form.model.particular_review.status||!e.form.model.particular_review||-1===e.form.model.status?t("el-table-column",{attrs:{label:"-",width:"100px",align:"center","class-name":"cell-flex-row cell-align-center cell-justify-center"},scopedSlots:e._u([{key:"default",fn:function(a){return[t("el-button",{staticClass:"no-border-btn action-delete-btn",attrs:{"aria-label":"qws_form_contacts_delete",icon:"iconfont ico_delete1",confirm:e.$t("lang.wantDeleteTip"),type:"text"},on:{confirm:()=>e.onDeleteContactsInfo(a.$index)}}),e._v(" "),t("el-button",{staticClass:"no-border-btn width-auto margin-left-0",attrs:{"aria-label":"qws_form_contacts_edit",icon:"iconfont WechatIMG27203"},on:{click:function(t){return e.onEditContacsInfo(a.row,a.$index)}}})]}}],null,!1,1579932140)}):e._e()],1),e._v(" "),(!e.canEdit&&e.form.model.particular_review&&0===e.form.model.particular_review.status||!e.form.model.particular_review||-1===e.form.model.status)&&e.form.model.contacts&&e.form.model.contacts.length<3?t("el-button",{staticClass:"form-table-add-btn fill-blue-unhover-btn",on:{click:function(t){return e.contactsDialogForm.open()}}},[t("i",{staticClass:"iconfont ico_create1"}),e._v("\r\n            "+e._s(e.$t("lang.action.add"))+"\r\n          ")]):e._e()],1),e._v(" "),e.form.model.particular_review&&0===e.form.model.particular_review.status?t("el-form-item",{staticClass:"rejection-reasons-form-item label-width-zero content-item-view",attrs:{label:e.$t("lang.reasonsForRejection"),"label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none",readonly:!0},model:{value:e.form.model.particular_review.rejection,callback:function(t){e.$set(e.form.model.particular_review,"rejection",t)},expression:"form.model.particular_review.rejection"}})],1):e._e()],1),e._v(" "),t("el-card",{staticClass:"entry-application-item-card preferred-format-scheme-card",attrs:{shadow:"never"}},[t("template",{slot:"header"},[e._v("C."+e._s(e.$t("lang.building_info")))]),e._v(" "),t("el-form-item",{staticClass:"label-width-zero",attrs:{prop:"information_of_the_building"}},[t("template",{slot:"label"},[e._v(e._s(e.$t("lang.nameAgeAddressOfBuilding")))]),e._v(" "),t("el-table",{attrs:{data:e.form.model.information_of_the_building,hasHeight:!1,border:""}},[t("el-table-column",{attrs:{label:e.$t("lang.englishBuildingName"),prop:"english_name",align:"center"}}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.chineseBuildingName"),prop:"name",align:"center"}}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.buildingAge"),prop:"age",align:"center"}}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.buildingAddress"),prop:"address",align:"center"}}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.englishBuildingAddress"),prop:"english_address",align:"center"}}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.district"),align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\r\n                  "+e._s(e._f("options")(t.row.district,e.districtOptions))+"\r\n                ")]}}])}),e._v(" "),!e.canEdit&&e.form.model.building_review&&0===e.form.model.building_review.status||!e.form.model.building_review||-1===e.form.model.status?t("el-table-column",{attrs:{label:"-",width:"100px",align:"center","class-name":"cell-flex-row cell-align-center cell-justify-center"},scopedSlots:e._u([{key:"default",fn:function(a){return[t("el-button",{staticClass:"no-border-btn action-delete-btn",attrs:{icon:"iconfont ico_delete1",confirm:"Whether to delete the building information",type:"text"},on:{confirm:()=>e.onDeleteBuildingInfo(a.$index)}}),e._v(" "),t("el-button",{staticClass:"no-border-btn width-auto margin-left-0",attrs:{icon:"iconfont WechatIMG27203"},on:{click:function(t){return e.onEditBuildInfo(a.row,a.$index)}}})]}}],null,!1,3903433070)}
1):e._e()],1),e._v(" "),!e.canEdit&&e.form.model.building_review&&0===e.form.model.building_review.status||!e.form.model.building_review||-1===e.form.model.status?t("el-button",{staticClass:"form-table-add-btn fill-blue-unhover-btn",on:{click:function(t){return e.buildDialogForm.open()}}},[t("i",{staticClass:"iconfont ico_create1"}),e._v("\r\n            "+e._s(e.$t("lang.action.add"))+"\r\n          ")]):e._e()],2),e._v(" "),e.form.model.building_review&&0===e.form.model.building_review.status?t("el-form-item",{staticClass:"rejection-reasons-form-item label-width-zero content-item-view",attrs:{label:e.$t("lang.reasonsForRejection"),"label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none",readonly:!0},model:{value:e.form.model.building_review.rejection,callback:function(t){e.$set(e.form.model.building_review,"rejection",t)},expression:"form.model.building_review.rejection"}})],1):e._e()],2),e._v(" "),t("el-card",{staticClass:"entry-application-item-card preferred-format-scheme-card",attrs:{shadow:"never"}},[t("template",{slot:"header"},[e._v("D."+e._s(e.$t("lang.preferredSchemeCertificate")))]),e._v(" "),t("p",{staticClass:"tip"},[t("span",{staticClass:"must-icon"},[e._v("*")]),e._v(e._s(e.$t("lang.preferredSchemeCertificate"))+" ")]),e._v(" "),t("el-form-item",{staticClass:"label-width-zero",attrs:{percent:.8,prop:"scheme_certificate_preferred_format"}},[t("el-radio-group",{attrs:{disabled:!e.canEdit&&e.form.model.preferred_format_review&&1===e.form.model.preferred_format_review.status},model:{value:e.form.model.scheme_certificate_preferred_format,callback:function(t){e.$set(e.form.model,"scheme_certificate_preferred_format",t)},expression:"form.model.scheme_certificate_preferred_format"}},[t("el-radio",{attrs:{label:"One_certificate_for_each_building"}},[e._v(e._s(e.$t("lang.oneCertificateForEachBuilding")))]),e._v(" "),t("el-row",{staticClass:"radio-row"},[t("el-radio",{attrs:{label:"other"}},[e._v(e._s(e.$t("lang.onecertificatePreferredName")))]),e._v(" "),"other"==e.form.model.scheme_certificate_preferred_format?t("el-form-item",{attrs:{"label-width":"0",prop:"scheme_certificate_preferred_format_remark"}},[t("el-input",{staticClass:"Please Enter",attrs:{readonly:!e.canEdit&&e.form.model.preferred_format_review&&1===e.form.model.preferred_format_review.status},model:{value:e.form.model.scheme_certificate_preferred_format_remark,callback:function(t){e.$set(e.form.model,"scheme_certificate_preferred_format_remark",t)},expression:"form.model.scheme_certificate_preferred_format_remark"}})],1):e._e()],1)],1),e._v(" "),e.form.model.preferred_format_review&&0===e.form.model.preferred_format_review.status?t("el-form-item",{staticClass:"rejection-reasons-form-item label-width-zero content-item-view",attrs:{label:e.$t("lang.reasonsForRejection"),"label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none",readonly:!0},model:{value:e.form.model.preferred_format_review.rejection,callback:function(t){e.$set(e.form.model.preferred_format_review,"rejection",t)},expression:"form.model.preferred_format_review.rejection"}})],1):e._e()],1)],2),e._v(" "),t("el-card",{staticClass:"entry-application-item-card document-list-card",attrs:{shadow:"never"}},[t("template",{slot:"header"},[e._v("E."+e._s(e.$t("lang.documentsIncludedApplication")))]),e._v(" "),t("el-form-item",{staticClass:"label-width-zero label-text-align-left label-line-height-1-5 label-warp"},[t("div",{staticClass:"el-form-item__label"},[t("div",[t("span",{staticClass:"must-icon"},[e._v("*")]),e._v(" "+e._s(e.$t("lang.qwsPartE.applicationshallSubmittedTogether")))]),e._v(" "),t("div",[e._v("\r\n              "+e._s(e.$t("lang.qwsPartE.cleansingFlushing"))+" ( "),t("el-template-down-btn",{attrs:{scheme:"qws_plumbing_inspection"}}),e._v(" ) "+e._s(e.$t("lang.qwsPartE.cleansingFlushing2"))+"\r\n            ")],1)]),e._v(" "),t("el-document-upload",{attrs:{application_status:e.form.model.status,multiple:!0,"base-url":e.baseUrl,action:e.baseUrl,readonly:!e.canEdit&&e.form.model.document_review&&1===e.form.model.document_review.status,beforeUploadEvent:e.wspBeforeUploadEvent,sure:!0},on:{"before-upload":function(t){e.showWSPInstructionsDialog=!0}},model:{value:e.form.model.plumbing_inspection,callback:function(t){e.$set(e.form.model,"plumbing_inspection",t)},expression:"form.model.plumbing_inspection"}})],1),e._v(" "),e.form.model.document_review&&0===e.form.model.document_review.status?t("el-form-item",{staticClass:"rejection-reasons-form-item label-width-zero content-item-view",attrs:{label:e.$t("lang.reasonsForRejection"),"label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none",readonly:!0},model:{value:e.form.model.document_review.rejection,callback:function(t){e.$set(e.form.model.document_review,"rejection",t)},expression:"form.model.document_review.rejection"}}
1)],1):e._e()],2),e._v(" "),t("el-card",{staticClass:"entry-application-item-card declaration-complaints-card",attrs:{shadow:"never"}},[t("template",{slot:"header"},[e._v("F."+e._s(e.$t("lang.decofComplaints")))]),e._v(" "),t("p",{staticClass:"desc"},[e._v(e._s(e.$t("lang.schemeWoul")))]),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.anyComplaints"),percent:.8}},[t("label",{attrs:{for:"qws_form_complaints_past",hidden:""}},[e._v("''")]),e._v(" "),t("el-select",{attrs:{id:"qws_form_complaints_past",disabled:!e.canEdit&&e.form.model.complaints_review&&1===e.form.model.complaints_review.status},model:{value:e.form.model.complaints_past,callback:function(t){e.$set(e.form.model,"complaints_past",t)},expression:"form.model.complaints_past"}},[t("el-option",{attrs:{label:e.$t("lang.yes"),value:1}}),e._v(" "),t("el-option",{attrs:{label:e.$t("lang.no"),value:0}})],1)],1),e._v(" "),1==e.form.model.complaints_past?[t("el-form-item",{attrs:{label:e.$t("lang.numberOfComplaints"),percent:.8,prop:"complaints_count"}},[t("label",{attrs:{for:"qws_form_complaints_count",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"qws_form_complaints_count",placeholder:e.$t("lang.numberOfComplaints"),readonly:!e.canEdit&&e.form.model.complaints_review&&1===e.form.model.complaints_review.status},model:{value:e.form.model.complaints_count,callback:function(t){e.$set(e.form.model,"complaints_count",t)},expression:"form.model.complaints_count"}})],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("lang.natureOfComplaints"),percent:.8,prop:"complaints_nature"}},[t("label",{attrs:{for:"qws_form_complaints_nature",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"qws_form_complaints_nature",placeholder:e.$t("lang.natureOfComplaints"),readonly:!e.canEdit&&e.form.model.complaints_review&&1===e.form.model.complaints_review.status},model:{value:e.form.model.complaints_nature,callback:function(t){e.$set(e.form.model,"complaints_nature",t)},expression:"form.model.complaints_nature"}})],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("lang.averageHandlingTime"),percent:.8,prop:"complaints_handling_time"}},[t("label",{attrs:{for:"qws_form_complaints_handling_time",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"qws_form_complaints_handling_time",placeholder:e.$t("lang.averageHandlingTime"),readonly:!e.canEdit&&e.form.model.complaints_review&&1===e.form.model.complaints_review.status},model:{value:e.form.model.complaints_handling_time,callback:function(t){e.$set(e.form.model,"complaints_handling_time",t)},expression:"form.model.complaints_handling_time"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.remedialActionsTaken"),percent:.8,prop:"complaints_remedial_actions"}},[t("label",{attrs:{for:"qws_form_complaints_remedial_actions",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"qws_form_complaints_remedial_actions",placeholder:e.$t("lang.remedialActionsTaken"),type:"textarea",rows:3,readonly:!e.canEdit&&e.form.model.complaints_review&&1===e.form.model.complaints_review.status},model:{value:e.form.model.complaints_remedial_actions,callback:function(t){e.$set(e.form.model,"complaints_remedial_actions",t)},expression:"form.model.complaints_remedial_actions"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.allComplaintsCleared"),percent:.8,prop:"complaints_cleared"}},[t("label",{attrs:{for:"qws_form_complaints_cleared",hidden:""}},[e._v("''")]),e._v(" "),t("el-select",{attrs:{id:"qws_form_complaints_cleared",disabled:!e.canEdit&&e.form.model.complaints_review&&1===e.form.model.complaints_review.status},model:{value:e.form.model.complaints_cleared,callback:function(t){e.$set(e.form.model,"complaints_cleared",t)},expression:"form.model.complaints_cleared"}},[t("el-option",{attrs:{label:e.$t("lang.yes"),value:1}}),e._v(" "),t("el-option",{attrs:{label:e.$t("lang.no"),value:0}})],1)],1),e._v(" "),0==e.form.model.complaints_cleared?t("el-form-item",{staticClass:"label-width-zero",attrs:{label:e.$t("lang.qutstandingComplaints"),percent:.8}},[t("el-table",{attrs:{data:e.form.model.complaints_outstanding,border:"",hasHeight:!1}},[t("el-table-column",{attrs:{label:e.$t("lang.nature"),prop:"nature"}}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.numberOfCases"),align:"center",prop:"number_cases"}}),e._v(" "),!e.canEdit&&e.form.model.complaints_review&&0===e.form.model.complaints_review.status||!e.form.model.complaints_review||-1===e.form.model.status?t("el-table-column",{attrs:{label:"-",width:"100px",align:"center","class-name":"cell-flex-row cell-align-center cell-justify-center"},scopedSlots:e._u([{key:"default",fn:function(a){return[t("el-button",{staticClass:"no-border-btn action-delete-btn",attrs:{"aria-label":"qws_form_btn_complaints_delete",icon:"iconfont ico_delete1",confirm:e.$t("lang.deleteTheNature"),type:"text"},on:{confirm:()=>e.onDeleteNatureInfo(a.$index)}})]}}],null,!1,2588524086)}
1):e._e()],1),e._v(" "),!e.canEdit&&e.form.model.complaints_review&&0===e.form.model.complaints_review.status||!e.form.model.complaints_review||-1===e.form.model.status?t("el-button",{staticClass:"form-table-add-btn fill-blue-unhover-btn",on:{click:function(t){return e.onShowDialog("nature")}}},[t("i",{staticClass:"iconfont ico_create1"}),e._v("\r\n              "+e._s(e.$t("lang.action.add"))+"\r\n            ")]):e._e()],1):e._e()]:e._e(),e._v(" "),e.form.model.complaints_review&&0===e.form.model.complaints_review.status?t("el-form-item",{staticClass:"rejection-reasons-form-item label-width-zero content-item-view",attrs:{label:e.$t("lang.reasonsForRejection"),"label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none",readonly:!0},model:{value:e.form.model.complaints_review.rejection,callback:function(t){e.$set(e.form.model.complaints_review,"rejection",t)},expression:"form.model.complaints_review.rejection"}})],1):e._e()],2),e._v(" "),t("el-card",{staticClass:"entry-application-item-card terms-conditions-card",attrs:{shadow:"never"}},[t("template",{slot:"header"},[e._v(e._s(e.$t("lang.qwsTermsConditions")))]),e._v(" "),t("el-form-item",{staticClass:"product-catalog-form-item d-flex flex-column label-flex-center label-width-zero",attrs:{"label-width":"0",prop:"sign_doc"}},[t("template",{slot:"label"},[e._v("\r\n              "+e._s(e.$t("lang.requireToPrint"))+"\r\n              "),t("div",{staticClass:"template-tip-view margin-right-4"},[e._v("\r\n                "+e._s(`(${e.$t("lang.templates")}:`)+"\r\n                "),t("el-template-down-btn",{attrs:{scheme:"qws_sign"}}),e._v(")\r\n              ")],1),e._v("\r\n               "+e._s(e.$t("lang.conditionsCarefully"))+"\r\n               ")]),e._v(" "),t("el-document-upload",{attrs:{application_status:e.form.model.status,multiple:!0,"base-url":e.baseUrl,action:e.baseUrl,readonly:!e.canEdit&&e.form.model.terms_review&&1===e.form.model.terms_review.status},model:{value:e.form.model.sign_doc,callback:function(t){e.$set(e.form.model,"sign_doc",t)},expression:"form.model.sign_doc"}})],2),e._v(" "),e.form.model.terms_review&&0===e.form.model.terms_review.status?t("el-form-item",{staticClass:"rejection-reasons-form-item label-width-zero content-item-view",attrs:{label:e.$t("lang.reasonsForRejection"),"label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none",readonly:!0},model:{value:e.form.model.terms_review.rejection,callback:function(t){e.$set(e.form.model.terms_review,"rejection",t)},expression:"form.model.terms_review.rejection"}})],1):e._e()],2),e._v(" "),e.form.model.id?e._e():t("el-card",{staticClass:"entry-application-item-card",attrs:{shadow:"never"}},[t("template",{slot:"header"},[e._v(e._s(e.$t("lang.applyMessageTitle")))]),e._v(" "),t("el-form-item",{attrs:{prop:"upload_other_info","label-width":"0"}},[t("el-checkbox",{attrs:{"true-label":1,"false-label":0},model:{value:e.form.model.upload_other_info,callback:function(t){e.$set(e.form.model,"upload_other_info",t)},expression:"form.model.upload_other_info"}},[e._v(e._s(e.$t("lang.uploadOtherInfo")))])],1),e._v(" "),e.form.model.upload_other_info?[t("el-form-item",{attrs:{prop:"upload_other_info_msg","label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none"},model:{value:e.form.model.upload_other_info_msg,callback:function(t){e.$set(e.form.model,"upload_other_info_msg",t)},expression:"form.model.upload_other_info_msg"}})],1),e._v(" "),t("el-form-item",{staticClass:"d-flex flex-column",attrs:{prop:"upload_other_info_doc","label-width":"0"}},[t("el-document-upload",{attrs:{multiple:!0,application_status:e.form.model.status,"base-url":e.baseUrl,action:e.baseUrl,readonly:!e.canEdit},model:{value:e.form.model.upload_other_info_doc,callback:function(t){e.$set(e.form.model,"upload_other_info_doc",t)},expression:"form.model.upload_other_info_doc"}})],1)]:e._e()],2),e._v(" "),e.form.model.id?t("el-review-message",{staticClass:"entry-application-item-card",attrs:{applicationId:e.form.model.id,stage:e.form.model.status}},[t("el-form-item",{attrs:{prop:"upload_other_info","label-width":"0"}},[t("el-checkbox",{attrs:{"true-label":1,"false-label":0,disabled:!e.canEdit&&e.form.model.upload_other_info_review&&1===e.form.model.upload_other_info_review.status},model:{value:e.form.model.upload_other_info,callback:function(t){e.$set(e.form.model,"upload_other_info",t)},expression:"form.model.upload_other_info"}}
1,[e._v(e._s(e.$t("lang.uploadOtherInfo")))])],1),e._v(" "),e.form.model.upload_other_info?[t("el-form-item",{attrs:{prop:"upload_other_info_msg","label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none",readonly:!e.canEdit&&e.form.model.upload_other_info_review&&1===e.form.model.upload_other_info_review.status},model:{value:e.form.model.upload_other_info_msg,callback:function(t){e.$set(e.form.model,"upload_other_info_msg",t)},expression:"form.model.upload_other_info_msg"}})],1),e._v(" "),t("el-form-item",{staticClass:"d-flex flex-column",attrs:{prop:"upload_other_info_doc","label-width":"0"}},[t("el-document-upload",{attrs:{multiple:!0,"base-url":e.baseUrl,action:e.baseUrl,text:e.$t("lang.action.upload"),application_status:e.form.model.status,readonly:!e.canEdit&&e.form.model.upload_other_info_review&&1===e.form.model.upload_other_info_review.status},model:{value:e.form.model.upload_other_info_doc,callback:function(t){e.$set(e.form.model,"upload_other_info_doc",t)},expression:"form.model.upload_other_info_doc"}})],1),e._v(" "),e.form.model.upload_other_info_review&&0===e.form.model.upload_other_info_review.status?t("el-form-item",{staticClass:"rejection-reasons-form-item label-width-zero content-item-view",attrs:{label:e.$t("lang.reasonsForRejection"),"label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none",readonly:!0},model:{value:e.form.model.upload_other_info_review.rejection,callback:function(t){e.$set(e.form.model.upload_other_info_review,"rejection",t)},expression:"form.model.upload_other_info_review.rejection"}})],1):e._e()]:e._e()],2):e._e()],1),e._v(" "),t("div",{staticClass:"entry-application-footer"},[t("el-button",{staticClass:"empty-bule-btn",on:{click:function(t){return e.$router.back()}}},[e._v(e._s(e.$t("lang.action.cancel")))]),e._v(" "),e.form.model.id&&-1!=e.form.model.status&&0!==e.form.model.status?e._e():t("el-button",{staticClass:"empty-bule-btn",on:{click:e.onSaveForm}},[e._v(e._s(e.$t("lang.action.save")))]),e._v(" "),-1===e.form.model.status?t("el-button",{staticClass:"fill-blue-btn",on:{click:function(t){return e.handleSubmit()}}},[e._v(e._s(e.$t("lang.action.submit")))]):e._e(),e._v(" "),0===e.form.model.status?t("el-button",{staticClass:"fill-blue-btn",on:{click:function(t){return e.handleResubmit()}}},[e._v(e._s(e.$t("lang.action.resubmit")))]):e._e()],1),e._v(" "),t("el-qws-add-nature-dialog",{attrs:{visible:e.showAddNatureDialog},on:{"update:visible":function(t){e.showAddNatureDialog=t},"on-add":e.onAddNatureInfo}}),e._v(" "),t("el-dialog",{staticClass:"add-build-info-dialog position-center",attrs:{width:"600px",title:e.$t("lang.building_info"),visible:e.buildDialogForm.visible,"destroy-on-close":!0,"close-on-click-modal":!1},on:{close:function(t){return e.onCloseInfoDialog("build")}}},[t("el-form",{attrs:{store:e.buildDialogForm,"status-icon":"",hasLabelSuffix:!1}},[t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.englishBuildingName"),prop:"english_name"}},[t("el-autocomplete",{staticStyle:{width:"100%"},attrs:{"value-key":"english_name","fetch-suggestions":e.remote,"hide-loading":!e.remoteLoading,placeholder:e.$t("lang.englishBuildingName")},on:{select:e.remoteChange},model:{value:e.buildDialogForm.model.english_name,callback:function(t){e.$set(e.buildDialogForm.model,"english_name",t)},expression:"buildDialogForm.model.english_name"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.chineseBuildingName"),prop:"name"}},[t("el-autocomplete",{staticStyle:{width:"100%"},attrs:{"value-key":"name","fetch-suggestions":e.remote,"hide-loading":!e.remoteLoading,placeholder:e.$t("lang.chineseBuildingName")},on:{select:e.remoteChange},model:{value:e.buildDialogForm.model.name,callback:function(t){e.$set(e.buildDialogForm.model,"name",t)},expression:"buildDialogForm.model.name"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.buildingAge"),prop:"age"}},[t("el-input",{attrs:{type:"number",placeholder:e.$t("lang.buildingAge")},model:{value:e.buildDialogForm.model.age,callback:function(t){e.$set(e.buildDialogForm.model,"age",t)},expression:"buildDialogForm.model.age"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.buildingAddress"),prop:"address"}},[t("el-input",{attrs:{placeholder:e.$t("lang.buildingAddress")},model:{value:e.buildDialogForm.model.address,callback:function(t){e.$set(e.buildDialogForm.model,"address",t)},expression:"buildDialogForm.model.address"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.englishBuildingAddress"),prop:"english_address"}},[t("el-input",{attrs:{placeholder:e.$t("lang.englishBuildingAddress")},model:{value:e.buildDialogForm.model.english_address,callback:function(t){e.$set(e.buildDialogForm.model,"english_address",t)},expression:"buildDialogForm.model.english_address"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.district"),prop:"district"}},[t("el-select",{attrs:{loader:e.districtOptions,clearable:!0},model:{value:e.buildDialogForm.model.district,callback:function(t){e.$set(e.buildDialogForm.model,"district",t)},expression:"buildDialogForm.model.district"}})],1)],1),e._v(" "),t("template",{slot:"footer"},[t("el-button",{staticClass:"refuse-btn",on:{click:function(t){return e.onCloseInfoDialog("build")}}},[e._v("\r\n          "+e._s(e.$t("lang.action.close"))+"\r\n        ")]),e._v(" "),t("el-button",{staticClass:"agree-btn",attrs:{type:"primary"},on:{click:e.onAddBuildingInfo}},[e._v(" "+e._s(e.$t("lang.action.save"))+" ")])],1)],2),e._v(" "),t("el-dialog",{staticClass:"add-build-info-dialog position-center",attrs:{width:"600px",title:e.$t("lang.contactInformation"),visible:e.contactsDialogForm.visible,"destroy-on-close":!0,"close-on-click-modal":!1},on:{close:function(t){return e.onCloseInfoDialog("contacts")}
1}},[t("el-form",{attrs:{store:e.contactsDialogForm,"status-icon":"",hasLabelSuffix:!1}},[t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.contact_person_name"),prop:"applicant_contact_person_name"}},[t("el-input",{attrs:{placeholder:e.$t("lang.contact_person_name")},model:{value:e.contactsDialogForm.model.applicant_contact_person_name,callback:function(t){e.$set(e.contactsDialogForm.model,"applicant_contact_person_name",t)},expression:"contactsDialogForm.model.applicant_contact_person_name"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.contact_person_title"),prop:"applicant_contact_person_title"}},[t("el-input",{attrs:{placeholder:e.$t("lang.contact_person_title")},model:{value:e.contactsDialogForm.model.applicant_contact_person_title,callback:function(t){e.$set(e.contactsDialogForm.model,"applicant_contact_person_title",t)},expression:"contactsDialogForm.model.applicant_contact_person_title"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.contactTelNo"),prop:"applicant_contact_person_tel"}},[t("el-input",{attrs:{type:"number",placeholder:e.$t("lang.contactTelNo")},model:{value:e.contactsDialogForm.model.applicant_contact_person_tel,callback:function(t){e.$set(e.contactsDialogForm.model,"applicant_contact_person_tel",t)},expression:"contactsDialogForm.model.applicant_contact_person_tel"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.contactFaxNo"),prop:"applicant_contact_person_fax"}},[t("el-input",{attrs:{placeholder:e.$t("lang.contactFaxNo")},model:{value:e.contactsDialogForm.model.applicant_contact_person_fax,callback:function(t){e.$set(e.contactsDialogForm.model,"applicant_contact_person_fax",t)},expression:"contactsDialogForm.model.applicant_contact_person_fax"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.contact_person_email"),prop:"applicant_contact_person_mail"}},[t("el-input",{attrs:{placeholder:e.$t("lang.contact_person_email")},model:{value:e.contactsDialogForm.model.applicant_contact_person_mail,callback:function(t){e.$set(e.contactsDialogForm.model,"applicant_contact_person_mail",t)},expression:"contactsDialogForm.model.applicant_contact_person_mail"}})],1)],1),e._v(" "),t("template",{slot:"footer"},[t("el-button",{staticClass:"refuse-btn",on:{click:function(t){return e.onCloseInfoDialog("contacts")}}},[e._v("\r\n          "+e._s(e.$t("lang.action.close"))+"\r\n        ")]),e._v(" "),t("el-button",{staticClass:"agree-btn",attrs:{type:"primary"},on:{click:e.onAddContacsInfo}},[e._v(" "+e._s(e.$t("lang.action.save"))+" ")])],1)],2),e._v(" "),t("el-dialog",{staticClass:"wsp-instructions-dialog",attrs:{visible:e.showWSPInstructionsDialog,title:e.$t("lang.bootInstructionsDiaTitle")},on:{"update:visible":function(t){e.showWSPInstructionsDialog=t},close:e.onCloseWSPInstructionsDialog}},[t("div",[t("span",{staticClass:"must-icon"},[e._v("*")]),e._v(" "+e._s(e.$t("lang.ApplicationshallSubmittedForEachBuilding"))+":")]),e._v(" "),t("div",[e._v("\r\n        "+e._s(e.$t("lang.completedChecklists"))+"\r\n        "),t("el-template-down-btn",{attrs:{scheme:"qws_plumbing_inspection"}}),e._v(")\r\n      ")],1),e._v(" "),t("div",[e._v(e._s(e.$t("lang.atLeastImmediately")))]),e._v(" "),t("div",[e._v(e._s(e.$t("lang.atLeastImmediately3")))]),e._v(" "),t("template",{slot:"footer"},[t("el-button",{staticClass:"refuse-btn",on:{click:e.onCloseWSPInstructionsDialog}},[e._v(e._s(e.$t("lang.action.close")))])],1)],2)],1)],1)};Wd._withStripped=!0;var Hd=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-dialog",{staticClass:"add-build-info-dialog position-center",attrs:{width:"880px",title:e.$t("lang.building_info"),visible:e.visible,"destroy-on-close":!0,"close-on-click-modal":!1},on:{close:function(t){return e.$emit("update:visible",!1)}}},[t("el-form",{attrs:{store:e.form,"status-icon":"",hasLabelSuffix:!1}},[t("el-form-item",{attrs:{label:e.$t("lang.englishBuildingName"),prop:"english_name"}},[t("el-input",{attrs:{placeholder:e.$t("lang.englishBuildingName")},model:{value:e.form.model.english_name,callback:function(t){e.$set(e.form.model,"english_name",t)},expression:"form.model.english_name"}})],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("lang.chineseBuildingName"),prop:"name"}},[t("el-input",{attrs:{placeholder:e.$t("lang.chineseBuildingName")},model:{value:e.form.model.name,callback:function(t){e.$set(e.form.model,"name",t)},expression:"form.model.name"}}
1)],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("lang.buildingAgeNotS"),prop:"age"}},[t("el-input",{attrs:{type:"number",placeholder:e.$t("lang.buildingAgeNotS")},model:{value:e.form.model.age,callback:function(t){e.$set(e.form.model,"age",t)},expression:"form.model.age"}})],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("lang.buildingAddress"),prop:"address"}},[t("el-input",{attrs:{placeholder:e.$t("lang.buildingAddress")},model:{value:e.form.model.address,callback:function(t){e.$set(e.form.model,"address",t)},expression:"form.model.address"}})],1)],1),e._v(" "),t("template",{slot:"footer"},[t("el-button",{staticClass:"refuse-btn",on:{click:function(t){return e.$emit("update:visible",!1)}}},[e._v("\n      "+e._s(e.$t("lang.action.close"))+"\n    ")]),e._v(" "),t("el-button",{staticClass:"agree-btn",attrs:{type:"primary"},on:{click:e.onAdd}},[e._v(" "+e._s(e.$t("lang.action.save"))+" ")])],1)],2)};Hd._withStripped=!0;var Gd=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),Vd=function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r},Zd=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},Qd=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.form=new K({rules:{english_name:[{required:!0,message:"Please Enter",trigger:"blur"}],name:[{required:!0,message:"Please Enter",trigger:"blur"}],age:[{required:!0,message:"Please Enter",trigger:"blur"}],address:[{required:!0,message:"Please Enter",trigger:"blur"}]}}),t}return Gd(t,e),t.prototype.onAdd=function(){var e=this;this.form.validate().then((function(){e.$emit("on-add",e.form.model),e.form.model={}}))},Vd([(0,o.fI)(),Zd("design:type",Boolean)],t.prototype,"visible",void 0),Vd([(0,o.wA)({components:{ElDialog:pe,ElInput:Ze(),ElButton:Ge,ElForm:ae,ElFormItem:pt,ElDocumentUpload:Eo}})],t)}(o.w3),Kd=Qd,Yd=(a(51744),(0,z.Z)(Kd,Hd,[],!1,null,null,null).exports),Jd=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-dialog",{staticClass:"add-complaints-info-dialog position-center",attrs:{width:"880px",title:e.$t("lang.qutstandingComplaints"),visible:e.visible,"destroy-on-close":!0,"close-on-click-modal":!1},on:{close:function(t){return e.$emit("update:visible",!1)}}},[t("el-form",{attrs:{store:e.form,"status-icon":"",hasLabelSuffix:!1}},[t("el-form-item",{attrs:{label:e.$t("lang.nature"),prop:"nature"}},[t("el-input",{attrs:{placeholder:e.$t("lang.nature")},model:{value:e.form.model.nature,callback:function(t){e.$set(e.form.model,"nature",t)},expression:"form.model.nature"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.numberOfCases"),prop:"number_cases"}},[t("el-input",{attrs:{placeholder:e.$t("lang.numberOfCases")},model:{value:e.form.model.number_cases,callback:function(t){e.$set(e.form.model,"number_cases",t)},expression:"form.model.number_cases"}})],1)],1),e._v(" "),t("template",{slot:"footer"},[t("el-button",{staticClass:"refuse-btn",on:{click:function(t){return e.$emit("update:visible",!1)}}},[e._v("\n      "+e._s(e.$t("lang.action.close"))+"\n    ")]),e._v(" "),t("el-button",{staticClass:"agree-btn",attrs:{type:"primary"},on:{click:e.onAdd}},[e._v(" "+e._s(e.$t("lang.action.save"))+" ")])],1)],2)};Jd._withStripped=!0;var Xd=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),ep=function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r},tp=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},ap=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.form=new K({rules:{nature:[{required:!0,message:"Please Enter",trigger:"blur"},{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"}],number_cases:[{required:!0,message:"Please Enter",trigger:"blur"},{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"}]}}),t}return Xd(t,e),t.prototype.onAdd=function(){var e=this;this.form.validate().then((function(){e.$emit("on-add",e.form.model),e.form.model={}}))},ep([(0,o.fI)(),tp("design:type",Boolean)],t.prototype,"visible",void 0),ep([(0,o.wA)({components:{ElDialog:pe,ElInput:Ze(),ElButton:Ge,ElForm:ae,ElFormItem:pt,ElDocumentUpload:Eo}})],t)}(o.w3),op=ap,lp=(a(59388),(0,z.Z)(op,Jd,[],!1,null,null,null).exports
1),np=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),rp=function(){return rp=Object.assign||function(e){for(var t,a=1,o=arguments.length;a<o;a++)for(var l in t=arguments[a])Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l]);return e},rp.apply(this,arguments)},ip=x(),sp=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.breadcrumb=[{path:"",title:t.$t("lang.eApplication")},{path:"/applications/qws",title:"QWS"},{path:"",title:t.$t("lang.application")}],t.api=x(),t.baseUrl="/api/afs/wsd",t.districtOptions="en-US"===t.$i18n.locale?Ln:"zh-CN"===t.$i18n.locale?Mn:qn,t.errMessage={111:t.$t("lang.pleaseCompleteAllRequiredFields"),90003:t.$t("lang.applicationAlreadyExists"),90005:t.$t("lang.applicationAlreadySubmit"),90007:t.$t("lang.applicationDraftErr")},t.partMaxActive=1,t.cardListTop=[],t.pageCenterNum=0,t.partList=[{name:"lang.general_desc"},{name:"lang.atypeBuildings"},{name:"lang.bqms_title6"},{name:"lang.cbuilding_info"},{name:"lang.dpreferredSchemeCertificate"},{name:"lang.edocumentsIncludedApplication"},{name:"lang.fqwsDeclarationOfComplaintsTitle"},{name:"lang.gqmsConditionsFileTitle"},{name:"lang.applyMessageTitle"}],t.treaty="",t.agreeTreaty=!1,t.canEdit=!0,t.form=new K({loader:"/public/qws/applications/:id",action:"/public/qws/applications",default:{information_of_the_building:[],complaints_outstanding:[],status:-1,approval_scheme:"",applicant_contact_person_name:[],applicant_contact_person_title:[],applicant_contact_person_tel:[],applicant_contact_person_mail:[],owner_name_item:{},owner_corporation_item:{},owner_committee_item:{},operator_item:{},management_agent_item:{},government_department_item:{},other_item:{},contacts:[],applicant_owner_types:[]},rules:{approval_scheme:[{required:!0,message:t.$t("lang.pleaseChoose")}],water_supply_source:[{required:!0,message:t.$t("lang.pleaseChoose"),trigger:"blur"}],building_type:[{required:!0,message:t.$t("lang.pleaseChoose"),trigger:"blur"}],building_type_remark:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{max:250,message:"".concat(t.$t("lang.characterLength")," 250"),trigger:"blur"}],applicant_contact_person_name:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"}],applicant_contact_person_title:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"}],applicant_contact_person_mail:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{validator:function(e,a,o){if(a){var l=/^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/;a.filter((function(e){return!l.test(e)})).length>0?o(new Error(t.$t("lang.inputCorrectEmailAddress"))):o()}else o(new Error(t.$t("lang.pleaseEnter")))}}],applicant_contact_person_tel:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{validator:function(e,a,o){if(a){var l=/^\d+(\d|\-){0,1}\d+$/;a.filter((function(e){return!l.test(e)||e.length<8})).length>0?o(new Error(t.$t("lang.pleaseEnterCorrectNum"))):o()}else o(new Error(t.$t("lang.pleaseEnter")))}}],applicant_contact_person_fax:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{validator:function(e,a,o){if(a){var l=/^\d+(\d|\-){0,1}\d+$/;a.filter((function(e){return!l.test(e)||e.length<8})).length>0?o(new Error(t.$t("lang.pleaseEnterCorrectNum"))):o()}else o(new Error(t.$t("lang.pleaseEnter")))}}],plumbing_inspection:[{required:!0,message:t.$t("lang.pleaseUploadFile"),trigger:"blur"}],signatures_competent_persons:[{required:!0,message:t.$t("lang.pleaseUploadFile"),trigger:"blur"}],flushing_water_supply:[{required:!0,message:t.$t("lang.pleaseUploadFile"),trigger:"blur"}],sign_doc:[{required:!0,message:t.$t("lang.pleaseUploadFile"),trigger:"blur"}],applicant_owner_name:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{max:200,message:"".concat(t.$t("lang.characterLength")," 200"),trigger:"blur"}],applicant_owner_english_name:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{max:200,message:"".concat(t.$t("lang.characterLength")," 200"),trigger:"blur"}],applicant_owner_secondary_name:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{max:200,message:"".concat(t.$t("lang.characterLength")," 200"),trigger:"blur"}],applicant_owner_secondary_english_name:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{max:200,message:"".concat(t.$t("lang.characterLength")," 200"),trigger:"blur"}],scheme_certificate_preferred_format:[{required:!0,message:t.$t("lang.pleaseChoose")}],scheme_certificate_preferred_format_remark:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{max:250,message:"".concat(t.$t("lang.characterLength")," 250"),trigger:"blur"}],applicant_owner_no:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"}],contacts:[{required:!0,message:t.$t("lang.enterLeastOneContactInformation"),trigger:"blur"}],information_of_the_building:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"}],upload_other_info_msg:[{max:250,message:"".concat(t.$t("lang.characterLength")," 250"),trigger:"blur"}],water_supply_source_remark:[{max:250,message:"".concat(t.$t("lang.characterLength")," 250"),trigger:"blur"}],applicant_correspondence_address:[{max:250,message:"".concat(t.$t("lang.characterLength")," 250"),trigger:"blur"}],complaints_count:[{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"}],complaints_nature:[{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"}],complaints_handling_time:[{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"}],complaints_remedial_actions:[{max:250,message:"".concat(t.$t("lang.characterLength")," 250"),trigger:"blur"}]},onSubmitSuccess:function(){t.successMessage("submit")},onSubmitFailure:function(e){var a=e?t.errMessage[e]:t.errMessage[111];a&&E().error({message:a,showClose:!0,duration:5e3})}}),t.buildDialogForm=new K({default:{},rules:{english_name:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],name:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],age:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{length:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],address:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{max:200,message:"".concat(t.$t("lang.characterLength")," 200"),trigger:"blur"}],english_address:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{max:200,message:"".concat(t.$t("lang.characterLength")," 200"),trigger:"blur"}],district:[{required:!0,message:t.$t("lang.pleaseChoose"),trigger:"blur"}]}}),t.contactsDialogForm=new K({default:{},rules:{applicant_contact_person_name:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"}],applicant_contact_person_title:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"}],applicant_contact_person_mail:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{validator:function(e,a,o){a?/^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/.test(a)?o():o(new Error(t.$t("lang.inputCorrectEmailAddress"))):o(new Error(t.$t("lang.pleaseEnter")))}},{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"}],applicant_contact_person_tel:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{validator:function(e,a,o){a?!/^\d+(\d|\-){0,1}\d+$/.test(a)||a.length<8?o(new Error(t.$t("lang.pleaseEnterCorrectNum"))):o():o(new Error(t.$t("lang.pleaseEnter")))}},{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"}],applicant_contact_person_fax:[{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"}]}}),t.showAddNatureDialog=!1,t.dialogInfoIsEdit=!1,t.dialogInfoEditIndex=0,t.showWSPInstructionsDialog=!1,t.wspBeforeUploadEvent=!0,t.remoteOptions=[],t.remoteLoading=!1,t.moRemoteOptions=[],t.moRemoteLoading=!1,t}return np(t,e),t.prototype.onChangeBuildType=function(){this.$set(this.form.model,"building_type_remark","")},t.prototype.remote=function(e,t){var a=this;e&&(this.remoteLoading=!0,this.api.get("/public/buildings/search?name=".concat(e)).then((function(e){a.remoteLoading=!1,a.remoteOptions=e.map((function(e){return{id:e.id,english_name:e.english_name,name:e.chinese_name,age:e.building_age,address:e.chinese_address,english_address:e.english_address}})),t(a.remoteOptions)})).catch((function(e){a.remoteLoading=!1})))},t.prototype.remoteChange=function(e){e&&(this.$set(this.buildDialogForm.model,"name",(null==e?void 0:e.name)||""),this.$set(this.buildDialogForm.model,"english_name",(null==e?void 0:e.english_name)||""),this.$set(this.buildDialogForm.model,"age","".concat(null==e?void 0:e.age)||""),this.$set(this.buildDialogForm.model,"address",(null==e?void 0:e.address)||""),this.$set(this.buildDialogForm.model,"english_address",(null==e?void 0:e.english_address)||""))},t.prototype.moRemote=function(e,t){var a=this;e&&(this.moRemoteLoading=!0,this.api.get("/public/management/companies/search?name=".concat(e)).then((function(e){a.moRemoteLoading=!1,a.moRemoteOptions=e.map((function(e){return{id:e.id,english_name:e.english_name,name:e.chinese_name}})),t(a.moRemoteOptions)})).catch((function(e){a.moRemoteLoading=!1})))},t.prototype.moRemoteChange=function(e){e&&(this.$set(this.form.model,"applicant_owner_name",(null==e?void 0:e.name)||""),this.$set(this.form.model,"applicant_owner_english_name",(null==e?void 0:e.english_name)||""))},t.prototype.onShowDialog=function(e){"nature"===e&&(this.showAddNatureDialog=!0)},t.prototype.onDeleteBuildingInfo=function(e){this.form.model.information_of_the_building.splice(e,1)},t.prototype.onDeleteContactsInfo=function(e){this.form.model.contacts.splice(e,1)},t.prototype.onAddBuildingInfo=function(){var e=this;this.buildDialogForm.validate().then((function(){if(e.dialogInfoIsEdit){var t=e.form.model.information_of_the_building.concat([]);t[e.dialogInfoEditIndex]=e.buildDialogForm.model,e.form.model.information_of_the_building=t.concat([])}else e.form.model.information_of_the_building.push(e.buildDialogForm.model);e.dialogInfoEditIndex=0,e.dialogInfoIsEdit=!1,e.buildDialogForm.close(),e.buildDialogForm.default=e.form.model.information_of_the_building.length?Object.assign(e.form.model.information_of_the_building[0]):{}}))},t.prototype.onAddContacsInfo=function(){var e=this;this.contactsDialogForm.validate().then((function(){if(e.dialogInfoIsEdit){var t=e.form.model.contacts.concat([]);t[e.dialogInfoEditIndex]=e.contactsDialogForm.model,e.form.model.contacts=t.concat([])}else e.form.model.contacts.push(e.contactsDialogForm.model);e.dialogInfoEditIndex=0,e.dialogInfoIsEdit=!1,e.contactsDialogForm.close()}))},t.prototype.onEditBuildInfo=function(e,t){this.dialogInfoIsEdit=!0,this.dialogInfoEditIndex=t,this.buildDialogForm.default=Object.assign(e),this.buildDialogForm.open()},t.prototype.onEditContacsInfo=function(e,t){this.dialogInfoIsEdit=!0,this.dialogInfoEditIndex=t,this.contactsDialogForm.default=Object.assign(e),this.contactsDialogForm.open()},t.prototype.onCloseInfoDialog=function(e){"build"==e?(this.buildDialogForm.close(),this.buildDialogForm.default=this.form.model.information_of_the_building.length?{name:this.form.model.information_of_the_building[0].name,english_name:this.form.model.information_of_the_building[0].english_name,age:this.form.model.information_of_the_building[0].age,address:this.form.model.information_of_the_building[0].address,english_address:this.form.model.information_of_the_building[0].english_address,district:this.form.model.information_of_the_building[0].district}:{}):(this.contactsDialogForm.close(),this.contactsDialogForm.default={}),this.dialogInfoIsEdit=!1},t.prototype.onDeleteNatureInfo=function(e){this.form.model.complaints_outstanding.splice(e,1)},t.prototype.onAddNatureInfo=function(e){this.form.model.complaints_outstanding.push(e),this.showAddNatureDialog=!1},t.prototype.onCloseWSPInstructionsDialog=function(){this.showWSPInstructionsDialog=!1,this.wspBeforeUploadEvent=!1},t.prototype.handleSubmit=function(){Mc(this.form,5)},t.prototype.handleResubmit=function(){var e=this,t=n().service({lock:!0});this.api.post("/public/qws/applications/resubmit",this.form.model).then((function(a){t.close(),E().success({duration:5e3,showClose:!0,message:e.$t("lang.successfullySubmitted")}),e.$router.back()})).catch((function(a){t.close();var o=e.errMessage[a];o&&E().error({message:o,showClose:!0,duration:5e3})}))},t.prototype.onSaveForm=function(){var e=this,t=this.form.model.status,a=n().service({lock:!0});this.form.model.id?ip.put("/public/qws/applications",this.form.model).then((function(t){e.successMessage("save"),a.close()})).catch((function(o){e.form.model.status=t,e.submitErrMessage(o),a.close()})):ip.post("/public/qws/applications",this.form.model).then((function(t){e.successMessage("save"),a.close()})).catch((function(o){e.form.model.status=t,e.submitErrMessage(o),a.close()}))},t.prototype.successMessage=function(e,t){void 0===e&&(e="save"),void 0===t&&(t=!0),E().success({duration:5e3,showClose:!0,message:"save"===e?this.$t("lang.successfullySaved"):this.$t("lang.successfullySubmitted")}),t&&this.$router.back()},t.prototype.submitErrMessage=function(e){var t=e?this.errMessage[e]:this.errMessage[111];t&&E().error({message:t,showClose:!0,duration:5e3})},t.prototype.onScrollTo=function(e){document.querySelector(".page-content-view").scrollTop=this.cardListTop[e]-10},t.prototype.handleScroll=function(){for(var e=document.querySelectorAll(".entry-application-item-card"),t=document.querySelector(".page-content-view"),a=null==t?void 0:t.scrollTop,o=[],l=0;l<e.length;l++)o.push(e[l].offsetTop);var n;n=(null==t?void 0:t.scrollHeight)&&a+(null==t?void 0:t.clientHeight)>=(null==t?void 0:t.scrollHeight)?o.concat([]):a<20?[]:o.filter((function(e){return e-12<a})),this.partMaxActive=n.length||1,this.cardListTop=o.concat([])},t.prototype.onApplicantTypeChange=function(e){"other"===e&&this.$set(this.form.model,"applicant_owner_english_name","")},t.prototype.mounted=function(){var e=this;this.$nextTick((function(){var t,a;window.addEventListener("scroll",e.handleScroll,!0);var o=(null===(t=document.querySelector("body"))||void 0===t?void 0:t.clientHeight)||0,l=(null===(a=document.querySelector(".el-header"))||void 0===a?void 0:a.clientHeight)||0;e.pageCenterNum=o?o/2-107-l:0;for(var n=document.querySelectorAll(".entry-application-item-card"),r=0;r<n.length;r++)e.cardListTop.push(n[r].offsetTop)}));var t=document.getElementsByClassName("el-table__cell gutter");for(var a in t)if(Object.prototype.hasOwnProperty.call(t,a)){var o=t[a];null==o||o.append("1"),null==o||o.setAttribute("style","width: 0px; display: none; color: #3A6573; backgroundColor: #ffffff;")}},t.prototype.beforeMount=function(){var e=this;this.$route.params.id&&this.form.load({id:this.$route.params.id}),this.$route.params.id||ip.get("/public/qws/applications/latest").then((function(t){e.form.reset(rp(rp({},e.form.default),{applicant_owner_types:(null==t?void 0:t.applicant_owner_types)||[],applicant_owner_name:null==t?void 0:t.applicant_owner_name,applicant_owner_english_name:null==t?void 0:t.applicant_owner_english_name,applicant_owner_no:null==t?void 0:t.applicant_owner_no,applicant_owner_secondary_name:null==t?void 0:t.applicant_owner_secondary_name,applicant_owner_secondary_english_name:null==t?void 0:t.applicant_owner_secondary_english_name,applicant_owner:null==t?void 0:t.applicant_owner,applicant_owner_secondary:null==t?void 0:t.applicant_owner_secondary,applicant_correspondence_address:null==t?void 0:t.applicant_correspondence_address,contacts:(null==t?void 0:t.contacts)||[]}))}))},function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=
1Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r}([(0,o.wA)({components:{ElAdminContainer:Da,ElForm:ae,ElFormItem:pt,ElColumnRow:ke,ElButton:Ge,ElTable:go,ElDocumentUpload:Eo,ElReviewMessage:lc,ElCard:fe(),ElRadioGroup:Bc(),ElRadio:Hs(),ElRow:ft(),ElInput:Ze(),ElSelect:Pr,ElOption:xr(),ElTableColumn:Uo(),ElQwsAddBuildInfoDialog:Yd,ElQwsAddNatureDialog:lp,ElTemplateDownBtn:Cd,ElTag:Sc,ElPartMenus:Lc,ElDialog:pe,ElSvgIcon:Ie,ElAutocomplete:Dd(),ParticularApplicantCheckbox:Pd},beforeRouteEnter:function(e,t,a){ip.get("/public/setting/agreement",{params:{application_type:12,type:10}}).then((function(t){return a((function(a){var o;!(null===(o=e.params)||void 0===o?void 0:o.id)||(a.canEdit=!1),console.log("vm.canEdit",a.canEdit),t&&t.agreement&&(a.treaty=t.agreement),a.form.model.approval_scheme=e.query.type}))}))}})],t)}(o.w3),cp=sp,dp=(a(27842),(0,z.Z)(cp,Wd,[],!1,null,null,null).exports),pp=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-admin-container",{class:["page-wels-list","en-US"===e.$i18n.locale?"page-wels-list-en":""],attrs:{breadcrumb:[this.$t("lang.applications")," WELS"]}},[t("el-card",{staticClass:"search-filter-card",attrs:{shadow:"never"}},[t("el-form",[t("el-column-row",[t("el-form-item",{staticClass:"status-form-item",attrs:{label:e.$t("lang.status"),percent:.22}},[t("label",{attrs:{for:"wels_list_status_params",hidden:""}},[e._v("''")]),e._v(" "),t("el-select",{attrs:{id:"wels_list_status_params",loader:e.searchStatusOptions,clearable:""},model:{value:e.table.params.status,callback:function(t){e.$set(e.table.params,"status",t)},expression:"table.params.status"}})],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("lang.type"),percent:.22}},[t("label",{attrs:{for:"wels_list_type_params",hidden:""}},[e._v("''")]),e._v(" "),t("el-select",{attrs:{id:"wels_list_type_params",loader:e.welsApplyTypeOption,clearable:""},model:{value:e.table.params.type,callback:function(t){e.$set(e.table.params,"type",t)},expression:"table.params.type"}})],1),e._v(" "),t("el-form-item",{attrs:{percent:.4,label:e.$t("lang.applicationTime")}},[t("label",{attrs:{for:"wels_list_application_time_params_input_0",hidden:""}},[e._v("''")]),e._v(" "),t("label",{attrs:{for:"wels_list_application_time_params_input_1",hidden:""}},[e._v("''")]),e._v(" "),t("el-date-picker",{staticClass:"width-pre-100",attrs:{type:"daterange","start-placeholder":e.$t("lang.applicationTimePlaceholderStart"),"end-placeholder":e.$t("lang.applicationTimePlaceholderEnd"),clearable:""},model:{value:e.table.params.application_time,callback:function(t){e.$set(e.table.params,"application_time",t)},expression:"table.params.application_time"}})],1),e._v(" "),t("el-form-item",{staticClass:"el-item-flex-justify-end"},[t("el-button",{staticClass:"fill-blue-btn",on:{click:function(t){return e.table.load()}}},[e._v(e._s(e.$t("lang.action.search")))])],1)],1)],1)],1),e._v(" "),t("el-card",{staticClass:"contain-card",attrs:{shadow:"never"}},[t("el-table",{attrs:{store:e.table,border:"",hasHeight:!1}},[t("el-table-column",{attrs:{label:e.$t("lang.formHeader.file_no"),align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n          "+e._s(t.row.file_no)+"\n        ")]}}])}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.type"),align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(e._f("options")(t.row.approval_scheme,e.welsApplyTypeOption)))]}}])}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.formHeader.status"),align:"center"},scopedSlots:e._u([{key:"default",fn:function(a){return["100001"===a.row.laboratories&&5===a.row.status?t("span",[e._v(e._s(e.$t("lang.waitLabReportUpload")))]):t("span",[e._v(e._s(e._f("options")(a.row.status,e.applyStatusOption))+" "+e._s(5===a.row.processing_status?`(${e.$t("lang.labReportUpload")})`:10===a.row.processing_status?`(${e.$t("lang.reviewLabReport")})`:15===a.row.processing_status?`(${e.$t("lang.reSubmt")})`:""))])]}}])}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.applicationTime"),width:"160px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n          "+e._s(e._f("date_format")(t.row.application_time))+"\n        ")]}}])}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.action.action"),align:"center","class-name":"cell-flex-row cell-justify-center action-column",width:"200"},scopedSlots:e._u([{key:"default",fn:function(a){return[t("el-button",{staticClass:"text-green",attrs:{type:"text"},on:{click:function(t){return e.onView(a.row.id,a.row.approval_scheme,a.row.wels_scheme)}}},[e._v(e._s(e.$t("lang.action.view")))]),e._v(" "),-1===a.row.status||0===a.row.status?t("el-button",{staticClass:"text-blue",attrs:{type:"text"},on:{click:function(t){return e.onEdit(a.row.id,a.row.approval_scheme,a.row.wels_scheme)}}}
1,[e._v(e._s(e.$t("lang.action.edit")))]):e._e(),e._v(" "),-1===a.row.status?t("el-button",{staticClass:"text-red",attrs:{type:"text",confirm:e.$t("lang.wantDeleteTip")},on:{confirm:function(t){return e.table.action("delete",{data:[a.row.id]})}}},[e._v(e._s(e.$t("lang.action.delete")))]):e._e(),e._v(" "),0===a.row.status&&a.row.laboratory_status>0&&1===a.row.need_lab_status?t("el-button",{staticClass:"text-blue",attrs:{type:"text",confirm:e.$t("lang.sendLaboratoryTip")},on:{confirm:function(t){return e.onLaboratory(a.row.source_id)}}},[e._v(e._s(e.$t("lang.action.laboratory")))]):e._e()]}}])}),e._v(" "),t("el-table-toolbar",{attrs:{slot:"toolbar"},slot:"toolbar"},[t("el-button",{staticClass:"print-btn empty-bule-btn iconfont-15",attrs:{slot:"right"},on:{click:function(t){e.showApplyTypeDialog=!0}},slot:"right"},[t("i",{staticClass:"iconfont a-ico_new1x"}),e._v("\n          "+e._s(e.$t("lang.action.new"))+"\n        ")])],1),e._v(" "),e.showPagination?t("el-pagination",{attrs:{slot:"footer",layout:"total, prev, pager, next"},on:{sizeChange:e.onSizeChange},slot:"footer"}):e._e()],1),e._v(" "),t("el-dialog",{staticClass:"select-apply-type-dialog position-center",attrs:{visible:e.showApplyTypeDialog,width:"500px",title:e.$t("lang.chooseTypeOfWELSProduct"),"destroy-on-close":!0,"close-on-click-modal":!1},on:{"update:visible":function(t){e.showApplyTypeDialog=t},close:function(t){e.showApplyTypeDialog=!1}}},[t("el-radio-group",{model:{value:e.applyType,callback:function(t){e.applyType=t},expression:"applyType"}},[t("el-radio",{attrs:{label:"bathing"}},[e._v(e._s(e.$t("lang.showersForBathing")))]),e._v(" "),t("el-radio",{attrs:{label:"taps"}},[e._v(e._s(e.$t("lang.waterTaps")))]),e._v(" "),t("el-radio",{attrs:{label:"machines"}},[e._v(e._s(e.$t("lang.washingMachines")))]),e._v(" "),t("el-radio",{attrs:{label:"equipment"}},[e._v(e._s(e.$t("lang.urinalEquipment")))]),e._v(" "),t("el-radio",{attrs:{label:"controllers"}},[e._v(e._s(e.$t("lang.flowControllers")))]),e._v(" "),t("el-radio",{attrs:{label:"closets"}},[e._v(e._s(e.$t("lang.waterClosets")))])],1),e._v(" "),t("template",{slot:"footer"},[t("el-button",{staticClass:"refuse-btn",on:{click:function(t){e.showApplyTypeDialog=!1}}},[e._v("\n          "+e._s(e.$t("lang.action.close"))+"\n        ")]),e._v(" "),t("el-button",{staticClass:"agree-btn",attrs:{type:"primary"},on:{click:e.onAdd}},[e._v(e._s(e.$t("lang.action.submit"))+" ")])],1)],2),e._v(" "),t("el-cancel-dialog",{attrs:{visible:e.cancelForm.visible,form:e.cancelForm},on:{"update:visible":function(t){return e.$set(e.cancelForm,"visible",t)},onCancel:e.onCancel}})],1)],1)};pp._withStripped=!0;var up=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),mp=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.api=x(),t.baseUrl="/api/afs/wsd",t.searchStatusOptions="en-US"===t.$i18n.locale?Ul:"zh-CN"===t.$i18n.locale?Hl:Wl,t.applyStatusOption="en-US"===t.$i18n.locale?zl:"zh-CN"===t.$i18n.locale?Nl:Bl,t.welsApplyTypeOption="en-US"===t.$i18n.locale?Sl:"zh-CN"===t.$i18n.locale?El:kl,t.treaty="(1) On behalf of the Company, we / I * would like to submit the specified information or documents for application of general acceptance of our product(s) in compliance with the Waterworks Ordinance and Regulations; \n\n(2) We / I * declare that all materials specified for the product(s) substantiated by supporting documents for GA application are for genuine use in manufacturing of such product(s);",t.showApplyTypeDialog=!1,t.showTreatyDialiog=!1,t.table=new Z({loader:"/public/wels/applications/list/:page",params:{filters:!0},actions:{delete:{method:"delete",url:"/public/wels/applications",after:"reload"}}}),t.cancelForm=new K({}),t.applyType="",t.showPagination=!0,t.pageIndex=1,t.agreementApplicationType={bathing:15,taps:16,machines:17,equipment:18,controllers:19,closets:20},t}return up(t,e),t.prototype.onChange=function(e){switch(console.log("value",e),e){case"zh-CN":this.applyStatusOption=Nl,this.welsApplyTypeOption=El;break;case"en-US":this.applyStatusOption=zl,this.welsApplyTypeOption=Sl;break;case"zh-HK":this.applyStatusOption=Bl,this.welsApplyTypeOption=kl}},t.prototype.onCancel=function(){var e=this;this.api.delete("/public/wels/applications/cancel",{data:this.cancelForm.model}).then((function(t){e.table.reload(),e.cancelForm.close(),E().success({message:e.$t("lang.cancelSuccess"),showClose:!0,duration:5e3})}))},t.prototype.onAdd=function(){switch(this.applyType){case"bathing":this.$router.push("/applications/wels/showers_bathing");break;case"taps":this.$router.push("/applications/wels/water_taps");break;case"machines":this.$router.push("/applications/wels/washing_machines");break;case"equipment":this.$router.push("/applications/wels/urinal_equipment");break;case"controllers":this.$router.push("/applications/wels/flow_controllers");break;case"closets":this.$router.push("/applications/wels/water_closets")}},t.prototype.onView=function(e,t,a){if(void 0===a&&(a="wels_new"),"wels_renewal"!==a)switch(t){case"wels_showers_athingp":this.$router.push({path:"/applications/wels/showers_bathing_detail",query:{id:e}});break;case"wels_water_taps":this.$router.push({path:"/applications/wels/water_taps_detail",query:{id:e}});break;case"wels_washing_machines":this.$router.push({path:"/applications/wels/washing_machines_detail",query:{id:e}});break;case"wels_urinal_equipment":this.$router.push({path:"/applications/wels/urinal_equipment_detail",query:{id:e}});break;case"wels_flow_controllers":this.$router.push({path:"/applications/wels/flow_controllers_detail",query:{id:e}});break;case"wels_water_closets":this.$router.push({path:"/applications/wels/water_closets_detail",query:{id:e}})}else this.$router.push("/applications/wels/renew/".concat(t,"/").concat(e,"/detail"))},t.prototype.onEdit=function(e,t,a){if(void 0===a&&(a="wels_new"),"wels_renewal"!==a)switch(t){case"wels_showers_athingp":this.$router.push("/applications/wels/showers_bathing/".concat(e));break;case"wels_water_taps":this.$router.push("/applications/wels/water_taps/".concat(e));break;case"wels_washing_machines":this.$router.push("/applications/wels/washing_machines/".concat(e));break;case"wels_urinal_equipment":this.$router.push("/applications/wels/urinal_equipment/".concat(e));break;case"wels_flow_controllers":this.$router.push("/applications/wels/flow_controllers/".concat(e));break;case"wels_water_closets":this.$router.push("/applications/wels/water_closets/".concat(e))}else this.$router.push("/applications/wels/renew/".concat(t,"/").concat(e))},t.prototype.onSizeChange=function(e){var t=this;this.table.size=e,this.showPagination=!1,setTimeout((function(){t.showPagination=!0}
1),100)},t.prototype.onSelectType=function(e){},t.prototype.onLaboratory=function(e){var t=this,a=n().service({lock:!0});this.api.post("/public/wels/applications/laboratory/notify/".concat(e)).then((function(e){a.close(),t.table.reload(),E().success({message:t.$t("lang.notifyLabLinkSuccess"),showClose:!0,duration:5e3})})).catch((function(e){a.close()}))},t.prototype.onGetConditions=function(){var e=this;return this.api.get("/public/setting/agreement",{params:{application_type:this.agreementApplicationType[this.applyType],type:10}}).then((function(t){t&&t.agreement&&(e.treaty=t.agreement)})).catch((function(e){}))},t.prototype.onShowConditions=function(){return e=this,t=void 0,o=function(){return function(e,t){var a,o,l,n,r={label:0,sent:function(){if(1&l[0])throw l[1];return l[1]},trys:[],ops:[]};return n={next:i(0),throw:i(1),return:i(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function i(i){return function(s){return function(i){if(a)throw new TypeError("Generator is already executing.");for(;n&&(n=0,i[0]&&(r=0)),r;)try{if(a=1,o&&(l=2&i[0]?o.return:i[0]?o.throw||((l=o.return)&&l.call(o),0):o.next)&&!(l=l.call(o,i[1])).done)return l;switch(o=0,l&&(i=[2&i[0],l.value]),i[0]){case 0:case 1:l=i;break;case 4:return r.label++,{value:i[1],done:!1};case 5:r.label++,o=i[1],i=[0];continue;case 7:i=r.ops.pop(),r.trys.pop();continue;default:if(!((l=(l=r.trys).length>0&&l[l.length-1])||6!==i[0]&&2!==i[0])){r=0;continue}if(3===i[0]&&(!l||i[1]>l[0]&&i[1]<l[3])){r.label=i[1];break}if(6===i[0]&&r.label<l[1]){r.label=l[1],l=i;break}if(l&&r.label<l[2]){r.label=l[2],r.ops.push(i);break}l[2]&&r.ops.pop(),r.trys.pop();continue}i=t.call(e,r)}catch(e){i=[6,e],o=0}finally{a=l=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}}(this,(function(e){switch(e.label){case 0:return[4,this.onGetConditions()];case 1:return e.sent(),this.showTreatyDialiog=!0,[2]}}))},new((a=void 0)||(a=Promise))((function(l,n){function r(e){try{s(o.next(e))}catch(e){n(e)}}function i(e){try{s(o.throw(e))}catch(e){n(e)}}function s(e){var t;e.done?l(e.value):(t=e.value,t instanceof a?t:new a((function(e){e(t)}))).then(r,i)}s((o=o.apply(e,t||[])).next())}));var e,t,a,o},t.prototype.onDownloadLetter=function(e){var t=this;this.api.get("/public/wels/applications/approval_letter/".concat(e)).then((function(e){console.log("res",e),window.open("".concat(t.baseUrl,"/").concat(e.filename),"_blank")}))},t.prototype.mounted=function(){var e,t,a,o,l=document.getElementsByClassName("btn-prev"),n=document.getElementsByClassName("btn-next"),r=document.getElementsByClassName("el-range-input"),i=document.getElementsByClassName("el-table__cell gutter");for(var s in null===(e=l[0])||void 0===e||e.setAttribute("aria-label","pagination-btn-prev-label"),null===(t=n[0])||void 0===t||t.setAttribute("aria-label","pagination-btn-next-label"),r)if(Object.prototype.hasOwnProperty.call(r,s)){var c=r[s];null==c||c.setAttribute("id","wels_list_application_time_params_input_"+s)}null===(a=i[0])||void 0===a||a.append("1"),null===(o=i[0])||void 0===o||o.setAttribute("style","width: 0px; display: none; color: #3A6573; backgroundColor: #ffffff;")},function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r}([(0,o.wA)({components:{ElAdminContainer:Da,ElCard:fe(),ElSelect:Pr,ElOption:xr(),ElForm:ae,ElFormItem:pt,ElColumnRow:ke,ElDatePicker:Ho(),ElButton:Ge,ElTable:go,ElTableColumn:Uo(),ElTableToolbar:Nr,ElPagination:Kr,ElApplyTreatyDialog:es,ElDialog:pe,ElRadioGroup:Bc(),ElRadio:Hs(),ElInstructionsDialog:vc,ElCancelDialog:qs}})],t)}(o.w3),fp=mp,_p=(a(59715),(0,z.Z)(fp,pp,[],!1,null,null,null).exports),gp=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-admin-container",{class:["page-wels-apply","page-wels-tab-apply","page-review-application","en-US"===e.$i18n.locale?"page-wels-tab-apply-en":""],attrs:{breadcrumb:e.breadcrumb,showMenusPart:!0}},[t("el-part-menus",{attrs:{slot:"part-menus",menus:e.partList,active:e.partMaxActive},on:{"on-scroll-to":e.onScrollTo},slot:"part-menus"}),e._v(" "),t("div",{staticClass:"container entry-application-content"},[t("el-form",{attrs:{store:e.form,hasLabelSuffix:!1,rules:e.form.rules},nativeOn:{submit:function(e){e.preventDefault()}}},[t("el-card",{staticClass:"entry-application-item-card company-info-card",attrs:{shadow:"never"}},[t("el-wels-company-info-form",{attrs:{canEdit:e.canEdit},on:{"on-delete-info":e.onDeleteInfo},model:{value:e.form.model,callback:function(t){e.$set(e.form,"model",t)},expression:"form.model"}})],1),e._v(" "),t("el-card",{staticClass:"entry-application-item-card product-info-card",attrs:{shadow:"never"}},[t("el-wels-product-info-form",{attrs:{productViewTitle:e.$t("lang.frontAndSideViews"),canEdit:e.canEdit},model:{value:e.form.model,callback:function(t){e.$set(e.form,"model",t)},expression:"form.model"}},[t("div",{attrs:{slot:"other-product-info"},slot:"other-product-info"},[t("div",{staticClass:"other-product-info-card"},[t("el-form-item",{staticClass:"label-width-zero bottom-dividing-line"},[t("el-checkbox",{attrs:{"true-label":1,"false-label":0,disabled:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.agree,callback:function(t){e.$set(e.form.model,"agree",t)},expression:"form.model.agree"}}
1,[e._v(e._s(e.$t("lang.waterTapVariationAgreement")))])],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.includeFlowController"),percent:.4}},[t("label",{attrs:{for:"wels_form_include_flow_controller",hidden:""}},[e._v("''")]),e._v(" "),t("el-select",{attrs:{id:"wels_form_include_flow_controller",loader:[{name:e.$t("lang.yes"),id:1},{name:e.$t("lang.no"),id:0}],disabled:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.include_flow_controller,callback:function(t){e.$set(e.form.model,"include_flow_controller",t)},expression:"form.model.include_flow_controller"}})],1),e._v(" "),e.form.model.include_flow_controller?[t("p",{staticClass:"header"},[e._v(e._s(e.$t("lang.flowControllerProductInfo")))]),e._v(" "),t("div",{staticClass:"body-view"},[t("el-column-row",[t("el-form-item",{attrs:{percent:.4,label:e.$t("lang.formHeader.brand")}},[t("el-input",{attrs:{placeholder:e.$t("lang.formHeader.brand"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.pan_product_brand,callback:function(t){e.$set(e.form.model,"pan_product_brand",t)},expression:"form.model.pan_product_brand"}})],1),e._v(" "),t("el-form-item",{attrs:{percent:.4,label:e.$t("lang.modelNo")}},[t("el-input",{attrs:{placeholder:e.$t("lang.modelNo"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.pan_product_model,callback:function(t){e.$set(e.form.model,"pan_product_model",t)},expression:"form.model.pan_product_model"}})],1)],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto",attrs:{percent:.4,label:e.$t("lang.nameIfAny")}},[t("el-input",{attrs:{placeholder:e.$t("lang.nameIfAny"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.pan_product_name,callback:function(t){e.$set(e.form.model,"pan_product_name",t)},expression:"form.model.pan_product_name"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{percent:.4,label:e.$t("lang.countryRegionOfOrigin")}},[t("el-input",{attrs:{placeholder:e.$t("lang.countryRegionOfOrigin"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.pan_product_region,callback:function(t){e.$set(e.form.model,"pan_product_region",t)},expression:"form.model.pan_product_region"}})],1)],1)],1),e._v(" "),t("el-form-item",{staticClass:"label-width-zero margin-bottom-0"},[t("el-checkbox",{attrs:{"true-label":1,"false-label":0,disabled:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.agreement,callback:function(t){e.$set(e.form.model,"agreement",t)},expression:"form.model.agreement"}},[e._v(e._s(e.$t("lang.installationAgreement")))])],1)]:e._e()],2)])])],1),e._v(" "),t("el-card",{staticClass:"entry-application-item-card company-info-card",attrs:{shadow:"never"}},[t("el-wels-support-doc-form",{attrs:{canEdit:e.canEdit},model:{value:e.form.model,callback:function(t){e.$set(e.form,"model",t)},expression:"form.model"}},[t("el-form-item",{staticClass:"label-width-zero",attrs:{percent:.8,"label-width":"0",label:e.$t("lang.docProofOfApproval")}},[t("el-document-upload",{attrs:{multiple:!0,"base-url":e.baseUrl,action:e.baseUrl,application_status:e.form.model.status,readonly:!e.canEdit&&e.form.model.document_review&&1===e.form.model.document_review.status},model:{value:e.form.model.issued_doc,callback:function(t){e.$set(e.form.model,"issued_doc",t)},expression:"form.model.issued_doc"}})],1),e._v(" "),t("el-form-item",{staticClass:"product-catalog-form-item d-flex flex-column label-flex-center label-width-zero",attrs:{percent:.8,"label-width":"0"}},[t("template",{slot:"label"},[e._v("\r\n              "+e._s(e.$t("lang.docProofDesign"))+"\r\n              "),t("el-button",{staticClass:"no-border-btn question-mark-btn",attrs:{"aria-label":"wels_form_production_system_tip",icon:"iconfont a-ico_"},on:{click:function(t){return e.onShowInstructionsDialog("system")}}})],1),e._v(" "),t("el-document-upload",{attrs:{multiple:!0,"base-url":e.baseUrl,action:e.baseUrl,application_status:e.form.model.status,readonly:!e.canEdit&&e.form.model.document_review&&1===e.form.model.document_review.status},model:{value:e.form.model.production_system_doc,callback:function(t){e.$set(e.form.model,"production_system_doc",t)},expression:"form.model.production_system_doc"}}
1)],2),e._v(" "),t("el-form-item",{staticClass:"product-catalog-form-item d-flex flex-column label-flex-center label-width-zero",attrs:{percent:.8,"label-width":"0"}},[t("template",{slot:"label"},[e._v("\r\n               "+e._s(e.$t("lang.detailsOfFlowController"))+"\r\n              "),t("el-button",{staticClass:"no-border-btn question-mark-btn",attrs:{"aria-label":"wels_form_details_of_flow_controller_tip",icon:"iconfont a-ico_"},on:{click:function(t){return e.onShowInstructionsDialog("controller")}}})],1),e._v(" "),t("el-document-upload",{attrs:{multiple:!0,"base-url":e.baseUrl,action:e.baseUrl,application_status:e.form.model.status,readonly:!e.canEdit&&e.form.model.document_review&&1===e.form.model.document_review.status},model:{value:e.form.model.details_of_flow_controller_doc,callback:function(t){e.$set(e.form.model,"details_of_flow_controller_doc",t)},expression:"form.model.details_of_flow_controller_doc"}})],2)],1)],1),e._v(" "),t("el-card",{staticClass:"entry-application-item-card",attrs:{shadow:"never"}},[t("p",{staticClass:"application-item-card-title",attrs:{slot:"header"},slot:"header"},[e._v("\r\n          "+e._s(e.$t("lang.participantObligations"))+"\r\n        ")]),e._v(" "),t("el-column-row",{staticClass:"treaty-view"},[t("div",{domProps:{innerHTML:e._s(e.treaty)}}),e._v(" "),t("div",{staticClass:"agree-treaty-view margin-top-10"},[t("el-checkbox",{attrs:{"true-label":1,"false-label":0},model:{value:e.form.model.disclaimer,callback:function(t){e.$set(e.form.model,"disclaimer",t)},expression:"form.model.disclaimer"}},[e._v(e._s(e.$t("lang.tickToAgree")))])],1)])],1),e._v(" "),e.form.model.id?e._e():t("el-card",{staticClass:"applicant-card entry-application-item-card",attrs:{shadow:"never"}},[t("template",{slot:"header"},[e._v(e._s(e.$t("lang.applyMessageTitle")))]),e._v(" "),t("el-form-item",{attrs:{prop:"upload_other_info","label-width":"0"}},[t("el-checkbox",{attrs:{"true-label":1,"false-label":0},model:{value:e.form.model.upload_other_info,callback:function(t){e.$set(e.form.model,"upload_other_info",t)},expression:"form.model.upload_other_info"}},[e._v(e._s(e.$t("lang.uploadOtherInfo")))])],1),e._v(" "),e.form.model.upload_other_info?[t("el-form-item",{attrs:{prop:"upload_other_info_msg","label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none"},model:{value:e.form.model.upload_other_info_msg,callback:function(t){e.$set(e.form.model,"upload_other_info_msg",t)},expression:"form.model.upload_other_info_msg"}})],1),e._v(" "),t("el-form-item",{staticClass:"d-flex flex-column",attrs:{prop:"upload_other_info_doc","label-width":"0"}},[t("el-document-upload",{attrs:{multiple:!0,application_status:e.form.model.status,"base-url":e.baseUrl,action:e.baseUrl,readonly:!e.canEdit},model:{value:e.form.model.upload_other_info_doc,callback:function(t){e.$set(e.form.model,"upload_other_info_doc",t)},expression:"form.model.upload_other_info_doc"}})],1)]:e._e()],2),e._v(" "),e.form.model.id?t("el-review-message",{attrs:{applicationId:e.form.model.id,stage:e.form.model.status}},[t("el-form-item",{attrs:{prop:"upload_other_info","label-width":"0"}},[t("el-checkbox",{attrs:{"true-label":1,"false-label":0,disabled:!e.canEdit&&e.form.model.upload_other_info_review&&1===e.form.model.upload_other_info_review.status},model:{value:e.form.model.upload_other_info,callback:function(t){e.$set(e.form.model,"upload_other_info",t)},expression:"form.model.upload_other_info"}},[e._v(e._s(e.$t("lang.uploadOtherInfo")))])],1),e._v(" "),e.form.model.upload_other_info?[t("el-form-item",{attrs:{prop:"upload_other_info_msg","label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none",readonly:!e.canEdit&&e.form.model.upload_other_info_review&&1===e.form.model.upload_other_info_review.status},model:{value:e.form.model.upload_other_info_msg,callback:function(t){e.$set(e.form.model,"upload_other_info_msg",t)},expression:"form.model.upload_other_info_msg"}})],1),e._v(" "),t("el-form-item",{staticClass:"d-flex flex-column",attrs:{prop:"upload_other_info_doc","label-width":"0"}},[t("el-document-upload",{attrs:{multiple:!0,"base-url":e.baseUrl,action:e.baseUrl,text:e.$t("lang.action.upload"),application_status:e.form.model.status,readonly:!e.canEdit&&e.form.model.upload_other_info_review&&1===e.form.model.upload_other_info_review.status},model:{value:e.form.model.upload_other_info_doc,callback:function(t){e.$set(e.form.model,"upload_other_info_doc",t)},expression:"form.model.upload_other_info_doc"}})],1)]:e._e(),e._v(" "),e.form.model.upload_other_info_review&&0===e.form.model.upload_other_info_review.status?t("el-form-item",{staticClass:"rejection-reasons-form-item label-width-zero content-item-view",attrs:{label:e.$t("lang.reasonsForRejection"),"label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none",readonly:!0},model:{value:e.form.model.upload_other_info_review.rejection,callback:function(t){e.$set(e.form.model.upload_other_info_review,"rejection",t)},expression:"form.model.upload_other_info_review.rejection"}}
1)],1):e._e()],2):e._e()],1),e._v(" "),t("div",{staticClass:"entry-application-footer"},[t("el-button",{staticClass:"empty-bule-btn",on:{click:function(t){return e.$router.push({path:"/applications/wels"})}}},[e._v(e._s(e.$t("lang.action.cancel")))]),e._v(" "),"100001"===e.form.model.laboratories||e.form.model.document_review&&0!==e.form.model.document_review.status||0!==e.form.model.status||!e.form.model.record||10!=e.form.model.record.type&&15!=e.form.model.record.type?e._e():t("el-button",{staticClass:"empty-bule-btn",on:{click:e.onSelectTurnDoc}},[e._v(e._s(e.$t("lang.reactivateLabUpload")))]),e._v(" "),e.form.model.id&&-1!=e.form.model.status&&0!==e.form.model.status?e._e():t("el-button",{staticClass:"empty-bule-btn",on:{click:e.onSaveForm}},[e._v(e._s(e.$t("lang.action.save")))]),e._v(" "),-1===e.form.model.status?t("el-button",{staticClass:"fill-blue-btn",on:{click:function(t){return e.handleCreate()}}},[e._v(e._s(e.$t("lang.action.created")))]):e._e(),e._v(" "),0!==e.form.model.status||!e.form.model.record||10!=e.form.model.record.type&&15!=e.form.model.record.type?e._e():t("el-button",{staticClass:"fill-blue-btn",on:{click:function(t){return e.handleSubmit()}}},[e._v(e._s(e.$t("lang.action.submit")))])],1),e._v(" "),t("el-instructions-dialog",{attrs:{visible:e.showInstructionsDialog,content:e.instructionsContent},on:{"update:visible":function(t){e.showInstructionsDialog=t}}}),e._v(" "),t("el-dialog",{staticClass:"reutn-doc-dialog position-center",attrs:{visible:e.showSupporDocDialog,width:"680px",title:e.$t("lang.supportingDocuments")},on:{close:function(t){e.showSupporDocDialog=!1}}},[e.supporDocList&&e.supporDocList.length?t("el-checkbox-group",{model:{value:e.selectSupporDoc,callback:function(t){e.selectSupporDoc=t},expression:"selectSupporDoc"}},e._l(e.supporDocList,(function(a){return t("el-checkbox",{key:a.id,attrs:{label:a.id}},[e._v(e._s(`${a.test_report_no}(Wels)`))])})),1):e._e(),e._v(" "),t("template",{slot:"footer"},[t("el-button",{staticClass:"refuse-btn",on:{click:function(t){e.showSupporDocDialog=!1}}},[e._v("\r\n          "+e._s(e.$t("lang.action.close"))+"\r\n        ")]),e._v(" "),t("el-button",{staticClass:"agree-btn",attrs:{type:"primary"},on:{click:e.onSubmitSelectDoc}},[e._v(" "+e._s(e.$t("lang.action.submit"))+" ")])],1)],2)],1)],1)};gp._withStripped=!0;var hp=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-dialog",{staticClass:"add-distributors-dialog position-center",attrs:{width:"500px",title:e.$t("lang.distributors"),visible:e.visible,"destroy-on-close":!0,"close-on-click-modal":!1,"append-to-body":""},on:{close:function(t){return e.$emit("update:visible",!1)}}},[t("el-form",{attrs:{store:e.form,"status-icon":"",hasLabelSuffix:!1}},[t("el-form-item",[t("el-checkbox",{attrs:{"true-label":1,"false-label":0},model:{value:e.form.model.project_used,callback:function(t){e.$set(e.form.model,"project_used",t)},expression:"form.model.project_used"}},[e._v(e._s(e.$t("lang.projectUsed")))])],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("lang.name"),prop:e.form.model.project_used?"":"name"}},[t("el-input",{attrs:{placeholder:e.$t("lang.name")},model:{value:e.form.model.name,callback:function(t){e.$set(e.form.model,"name",t)},expression:"form.model.name"}})],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("lang.address"),prop:e.form.model.project_used?"":"address"}},[t("el-input",{attrs:{placeholder:e.$t("lang.address")},model:{value:e.form.model.address,callback:function(t){e.$set(e.form.model,"address",t)},expression:"form.model.address"}})],1)],1),e._v(" "),t("template",{slot:"footer"},[t("el-button",{staticClass:"refuse-btn",on:{click:function(t){return e.$emit("update:visible",!1)}}},[e._v("\n      "+e._s(e.$t("lang.action.close"))+"\n    ")]),e._v(" "),t("el-button",{staticClass:"agree-btn",attrs:{type:"primary"},on:{click:e.onAdd}},[e._v(" "+e._s(e.$t("lang.action.submit"))+" ")])],1)],2)};hp._withStripped=!0;var vp=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),bp=function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r},wp=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},yp=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.form=new K({rules:{name:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],address:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{max:200,message:"".concat(t.$t("lang.characterLength")," 200"),trigger:"blur"}]}}),t}var a,l;return vp(t,e),t.prototype.onWatch=function(e){this.$set(this.form,"model",e)},t.prototype.onAdd=function(){var e=this;this.form.validate().then((function(){e.$emit("on-add",e.form.model),e.form.model={}}))},bp([(0,o.fI)(),wp("design:type",Boolean)],t.prototype,"visible",void 0),bp([(0,o.fI)({required:!0,default:{}}),wp("design:type","function"==typeof(a="undefined"!=typeof CompanyDistributor&&CompanyDistributor)?a:Object)],t.prototype,"value",void 0),bp([(0,o.RL)("value"),wp("design:type",Function),wp("design:paramtypes",["function"==typeof(l="undefined"!=typeof CompanyDistributor&&CompanyDistributor)?l:Object]),wp("design:returntype",void 0)],t.prototype,"onWatch",null),bp([(0,o.wA)({components:{ElDialog:pe,ElInput:Ze(),ElButton:Ge,ElForm:ae,ElFormItem:pt,ElDocumentUpload:Eo}})],t)}(o.w3),$p=yp,Cp=(a(54368),(0,z.Z)($p,hp,[],!1,null,null,null).exports
1),xp=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("div",{staticClass:"wels-company-info-view"},[t("p",{staticClass:"application-item-card-title",attrs:{slot:"header"},slot:"header"},[e._v("\n    "+e._s(e.$t("lang.companyInformation"))+"\n  ")]),e._v(" "),t("el-column-row",[t("el-form-item",{class:e.formItemLabelClass,attrs:{percent:.4,label:e.$t("lang.company"),prop:"company_name"}},[t("label",{attrs:{for:"wels_form_company_name",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"wels_form_company_name",placeholder:e.$t("lang.company"),readonly:!e.canEdit&&e.value.company_review&&1===e.value.company_review.status},model:{value:e.value.company_name,callback:function(t){e.$set(e.value,"company_name",t)},expression:"value.company_name"}})],1),e._v(" "),t("el-form-item",{class:e.formItemLabelClass,attrs:{percent:.4,label:e.$t("lang.englishCompany"),prop:"english_company_name"}},[t("label",{attrs:{for:"wels_form_english_company_name",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"wels_form_english_company_name",placeholder:e.$t("lang.englishCompany"),readonly:!e.canEdit&&e.value.company_review&&1===e.value.company_review.status},model:{value:e.value.english_company_name,callback:function(t){e.$set(e.value,"english_company_name",t)},expression:"value.english_company_name"}})],1)],1),e._v(" "),t("el-column-row",[t("el-form-item",{attrs:{percent:.4,label:e.$t("lang.companyAddress"),prop:"company_address"}},[t("label",{attrs:{for:"wels_form_company_address",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"wels_form_company_address",placeholder:e.$t("lang.companyAddress"),readonly:!e.canEdit&&e.value.company_review&&1===e.value.company_review.status},model:{value:e.value.company_address,callback:function(t){e.$set(e.value,"company_address",t)},expression:"value.company_address"}})],1),e._v(" "),t("el-form-item",{attrs:{percent:.4,label:e.$t("lang.correspondingAddress"),prop:"company_corresponding_address"}},[t("label",{attrs:{for:"wels_form_company_corresponding_address",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"wels_form_company_corresponding_address",placeholder:e.$t("lang.correspondingAddress"),readonly:!e.canEdit&&e.value.company_review&&1===e.value.company_review.status},model:{value:e.value.company_corresponding_address,callback:function(t){e.$set(e.value,"company_corresponding_address",t)},expression:"value.company_corresponding_address"}})],1)],1),e._v(" "),t("el-column-row",[t("el-form-item",{attrs:{percent:.4,label:e.$t("lang.TEL"),prop:"company_phone"}},[t("label",{attrs:{for:"wels_form_company_phone",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"wels_form_company_phone",placeholder:e.$t("lang.TEL"),readonly:!e.canEdit&&e.value.company_review&&1===e.value.company_review.status},model:{value:e.value.company_phone,callback:function(t){e.$set(e.value,"company_phone",t)},expression:"value.company_phone"}})],1),e._v(" "),t("el-form-item",{attrs:{percent:.4,label:e.$t("lang.Fax"),prop:"company_fax1"}},[t("label",{attrs:{for:"wels_form_company_fax",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"wels_form_company_fax",placeholder:e.$t("lang.Fax"),readonly:!e.canEdit&&e.value.company_review&&1===e.value.company_review.status},model:{value:e.value.company_fax,callback:function(t){e.$set(e.value,"company_fax",t)},expression:"value.company_fax"}})],1)],1),e._v(" "),t("el-column-row",[t("el-form-item",{attrs:{percent:.4,label:e.$t("lang.onlyemail"),prop:"company_email"}},[t("label",{attrs:{for:"wels_form_company_email",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"wels_form_company_email",placeholder:e.$t("lang.onlyemail"),readonly:!e.canEdit&&e.value.company_review&&1===e.value.company_review.status},model:{value:e.value.company_email,callback:function(t){e.$set(e.value,"company_email",t)},expression:"value.company_email"}})],1),e._v(" "),t("el-form-item",{attrs:{percent:.4,label:e.$t("lang.website"),prop:"company_website"}},[t("label",{attrs:{for:"wels_form_company_website",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"wels_form_company_website",placeholder:e.$t("lang.website"),readonly:!e.canEdit&&e.value.company_review&&1===e.value.company_review.status},model:{value:e.value.company_website,callback:function(t){e.$set(e.value,"company_website",t)},expression:"value.company_website"}})],1)],1),e._v(" "),t("el-column-row",[t("el-form-item",{attrs:{percent:.4,label:e.$t("lang.contactPersonTitle"),prop:"company_contact"}},[t("label",{attrs:{for:"wels_form_company_contact",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"wels_form_company_contact",placeholder:e.$t("lang.contactPersonTitle"),readonly:!e.canEdit&&e.value.company_review&&1===e.value.company_review.status},model:{value:e.value.company_contact,callback:function(t){e.$set(e.value,"company_contact",t)},expression:"value.company_contact"}})],1),e._v(" "),t("el-form-item",{staticClass:"item-flex",attrs:{percent:.4,label:e.$t("lang.companyType"),prop:"company_type"}},[t("label",{attrs:{for:"wels_form_company_type",hidden:""}},[e._v("''")]),e._v(" "),t("el-select",{staticClass:"d-flex-1",attrs:{id:"wels_form_company_type",loader:e.companyType,disabled:!e.canEdit&&e.value.company_review&&1===e.value.company_review.status},model:{value:e.value.company_type,callback:function(t){e.$set(e.value,"company_type",t)},expression:"value.company_type"}}),e._v(" "),t("el-form-item",{staticClass:"label-width-zero"},[t("label",{attrs:{for:"wels_form_company_type_other",hidden:""}},[e._v("''")]),e._v(" "),"other"===e.value.company_type?t("el-input",{staticClass:"d-flex-1",attrs:{id:"wels_form_company_type_other",placeholder:e.$t("lang.companyType"),readonly:!e.canEdit&&e.value.company_review&&1===e.value.company_review.status},model:{value:e.value.company_type_other,callback:function(t){e.$set(e.value,"company_type_other",t)},expression:"value.company_type_other"}}
1):e._e()],1)],1)],1),e._v(" "),t("el-column-row",[t("el-form-item",{attrs:{percent:.4,label:e.$t("lang.contactGender"),prop:"contact_call"}},[t("label",{attrs:{for:"wels_form_contact_call",hidden:""}},[e._v("''")]),e._v(" "),t("el-radio-group",{staticClass:"height-40 d-flex align-items-center",attrs:{id:"wels_form_contact_call",disabled:!e.canEdit&&e.value.company_review&&1===e.value.company_review.status},model:{value:e.value.contact_call,callback:function(t){e.$set(e.value,"contact_call",t)},expression:"value.contact_call "}},[t("el-radio",{attrs:{label:1}},[e._v(e._s(e.$t("lang.mr")))]),e._v(" "),t("el-radio",{attrs:{label:2}},[e._v(e._s(e.$t("lang.ms")))])],1)],1)],1),e._v(" "),e.showSale?[t("el-form-item",{staticClass:"label-width-zero",attrs:{"label-width":"0",label:e.$t("lang.distributors"),percent:.8}},[t("el-table",{attrs:{data:e.value.company_distributors,border:"",hasHeight:!1}},[t("el-table-column",{attrs:{label:e.$t("lang.name"),prop:"name"}}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.address"),prop:"address"}}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.projectUsed"),align:"center",width:"200"},scopedSlots:e._u([{key:"default",fn:function(a){return[t("el-checkbox",{attrs:{"true-label":1,"false-label":0,disabled:!0},model:{value:a.row.project_used,callback:function(t){e.$set(a.row,"project_used",t)},expression:"props.row.project_used"}})]}}],null,!1,1763509063)}),e._v(" "),!e.canEdit&&e.value.company_review&&0===e.value.company_review.status||!e.value.company_review||-1===e.value.status?t("el-table-column",{attrs:{label:"-",width:"100px",align:"center","class-name":"cell-flex-row cell-align-center cell-justify-center"},scopedSlots:e._u([{key:"default",fn:function(a){return[t("el-button",{staticClass:"no-border-btn action-delete-btn",attrs:{"aria-label":"wels_form_company_distributors_btn_delete",icon:"iconfont ico_delete1",confirm:e.$t("lang.deleteDistributorsTip"),type:"text",confirmButtonText:e.$t("lang.sure")},on:{confirm:()=>e.onDeleteInfo(a.$index)}})]}}],null,!1,4216202395)}):e._e()],1),e._v(" "),!e.canEdit&&e.value.company_review&&0===e.value.company_review.status||!e.value.company_review||-1===e.value.status?t("el-button",{staticClass:"form-table-add-btn fill-blue-unhover-btn",on:{click:function(t){e.showDistributorsDialog=!0}}},[t("i",{staticClass:"iconfont ico_create1"}),e._v("\n        "+e._s(e.$t("lang.action.add"))+"\n      ")]):e._e()],1)]:e._e(),e._v(" "),e.value.company_review&&0===e.value.company_review.status?t("el-form-item",{staticClass:"rejection-reasons-form-item label-width-zero content-item-view",attrs:{label:e.$t("lang.reasonsForRejection"),"label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none",readonly:!0},model:{value:e.value.company_review.rejection,callback:function(t){e.$set(e.value.company_review,"rejection",t)},expression:"value.company_review.rejection"}})],1):e._e(),e._v(" "),t("el-wels-add-distributors-dialog",{attrs:{visible:e.showDistributorsDialog},on:{"update:visible":function(t){e.showDistributorsDialog=t},"on-add":e.onAddInfo}})],2)};xp._withStripped=!0;var Sp=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),Ep=function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r},kp=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},Op=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.formItemLabelClass="en-US"===t.$i18n.locale?"label-width-auto":"",t.companyType="en-US"===t.$i18n.locale?xn:"zh-CN"===t.$i18n.locale?Sn:En,t.showDistributorsDialog=!1,t}return Sp(t,e),t.prototype.onChangeLocal=function(){this.companyType="en-US"===this.$i18n.locale?xn:"zh-CN"===this.$i18n.locale?Sn:En},t.prototype.onDeleteInfo=function(e){this.$emit("on-delete-info",e)},t.prototype.onAddInfo=function(e){console.log("info",e),this.value.company_distributors.push(e),this.showDistributorsDialog=!1},t.prototype.mounted=function(){var e=document.getElementsByClassName("el-table__cell gutter");for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t)){var a=e[t];null==a||a.append("1"),null==a||a.setAttribute("style","width: 0px; display: none; color: #3A6573; backgroundColor: #ffffff;")}},Ep([(0,o.fI)(),kp("design:type",Object)],t.prototype,"value",void 0),Ep([(0,o.fI)({default:!0}),kp("design:type",Boolean)],t.prototype,"canEdit",void 0),Ep([(0,o.fI)({required:!1,default:!0}),kp("design:type",Boolean)],t.prototype,"showSale",void 0),Ep([(0,o.wA)({components:{ElColumnRow:ke,ElFormItem:pt,ElButton:Ge,ElInput:Ze(),ElSelect:Pr,ElTable:go,ElTableColumn:Uo(),ElWelsAddDistributorsDialog:Cp,ElCheckbox:ei(),ElRadio:Hs()}})],t)}(o.w3),Ap=Op,Pp=(a(63682),(0,z.Z)(Ap,xp,[],!1,null,null,null).exports
1),Tp=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("div",{staticClass:"wels-product-info-view"},[t("p",{staticClass:"application-item-card-title",attrs:{slot:"header"},slot:"header"},[e._v("\n    "+e._s(e.$t("lang.productInformation"))+"\n  ")]),e._v(" "),e.showBasicInfo?[t("el-column-row",[t("el-form-item",{attrs:{percent:.4,label:e.$t("lang.formHeader.brand"),prop:"product_brand"}},[t("label",{attrs:{for:"wels_form_product_brand",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"wels_form_product_brand",placeholder:e.$t("lang.formHeader.brand"),readonly:!e.canEdit&&e.value.product_review&&1===e.value.product_review.status},model:{value:e.value.product_brand,callback:function(t){e.$set(e.value,"product_brand",t)},expression:"value.product_brand"}})],1),e._v(" "),t("el-form-item",{attrs:{percent:.4,label:e.$t("lang.modelNo"),prop:"product_model"}},[t("label",{attrs:{for:"wels_form_product_model",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"wels_form_product_model",placeholder:e.$t("lang.modelNo"),readonly:!e.canEdit&&e.value.product_review&&1===e.value.product_review.status},model:{value:e.value.product_model,callback:function(t){e.$set(e.value,"product_model",t)},expression:"value.product_model"}})],1)],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto",attrs:{percent:.4,label:e.$t("lang.nameIfAny"),prop:"product_name"}},[t("label",{attrs:{for:"wels_form_product_name",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"wels_form_product_name",placeholder:e.$t("lang.nameIfAny"),readonly:!e.canEdit&&e.value.product_review&&1===e.value.product_review.status},model:{value:e.value.product_name,callback:function(t){e.$set(e.value,"product_name",t)},expression:"value.product_name"}})],1),e._v(" "),e.showCategory?t("el-form-item",{attrs:{percent:.4,label:e.$t("lang.category"),prop:"product_category"}},[t("label",{attrs:{for:"wels_form_product_category",hidden:""}},[e._v("''")]),e._v(" "),e.categoryOption.length?t("el-select",{attrs:{id:"wels_form_product_category",loader:e.categoryOption,disabled:!e.canEdit&&e.value.product_review&&1===e.value.product_review.status},model:{value:e.value.product_category,callback:function(t){e.$set(e.value,"product_category",t)},expression:"value.product_category"}}):e._e()],1):e._e(),e._v(" "),e.showCategory?e._e():t("el-form-item",{staticClass:"label-width-auto",attrs:{percent:.4,label:e.$t("lang.countryRegionOfOrigin"),prop:"product_region"}},[t("label",{attrs:{for:"wels_form_product_region",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"wels_form_product_region",placeholder:e.$t("lang.countryRegionOfOrigin"),readonly:!e.canEdit&&e.value.product_review&&1===e.value.product_review.status},model:{value:e.value.product_region,callback:function(t){e.$set(e.value,"product_region",t)},expression:"value.product_region"}})],1)],1),e._v(" "),t("el-column-row",[e.showCategory?t("el-form-item",{staticClass:"label-width-auto",attrs:{percent:.4,label:e.$t("lang.countryRegionOfOrigin"),prop:"product_region"}},[t("label",{attrs:{for:"wels_form_product_region",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"wels_form_product_region",placeholder:e.$t("lang.countryRegionOfOrigin"),readonly:!e.canEdit&&e.value.product_review&&1===e.value.product_review.status},model:{value:e.value.product_region,callback:function(t){e.$set(e.value,"product_region",t)},expression:"value.product_region"}})],1):e._e(),e._v(" "),e._t("after-country-region")],2)]:e._e(),e._v(" "),e._t("other-product-info"),e._v(" "),t("el-form-item",{staticClass:"label-width-zero",attrs:{label:e.$t("lang.catalogueIfAvailable"),percent:.8,"label-width":"0"}},[t("el-document-upload",{attrs:{application_status:e.value.status,multiple:!0,"base-url":e.baseUrl,action:e.baseUrl,readonly:!e.canEdit&&e.value.product_review&&1===e.value.product_review.status},model:{value:e.value.catalogue_doc,callback:function(t){e.$set(e.value,"catalogue_doc",t)},expression:"value.catalogue_doc"}}
1)],1),e._v(" "),t("el-form-item",{staticClass:"label-width-zero",attrs:{label:e.productViewTitle,percent:.8,"label-width":"0",prop:"front_doc"}},[t("el-document-upload",{attrs:{application_status:e.value.status,multiple:!0,"base-url":e.baseUrl,action:e.baseUrl,readonly:!e.canEdit&&e.value.product_review&&1===e.value.product_review.status},model:{value:e.value.front_doc,callback:function(t){e.$set(e.value,"front_doc",t)},expression:"value.front_doc"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-width-zero",attrs:{label:e.$t("lang.uploadOtherPicture"),percent:.8,"label-width":"0"}},[t("el-document-upload",{attrs:{application_status:e.value.status,multiple:!0,"base-url":e.baseUrl,action:e.baseUrl,readonly:!e.canEdit&&e.value.product_review&&1===e.value.product_review.status},model:{value:e.value.product_photo_doc,callback:function(t){e.$set(e.value,"product_photo_doc",t)},expression:"value.product_photo_doc"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-width-zero",attrs:{label:e.$t("lang.waterEfficiencyLabel"),percent:.8,"label-width":"0",prop:"water_efficiency_label"}},[t("label",{attrs:{for:"wels_form_water_efficiency_label",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"wels_form_water_efficiency_label",placeholder:e.$t("lang.waterEfficiencyLabel"),readonly:!e.canEdit&&e.value.product_review&&1===e.value.product_review.status},model:{value:e.value.water_efficiency_label,callback:function(t){e.$set(e.value,"water_efficiency_label",t)},expression:"value.water_efficiency_label"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.commencementDateToAffixLabel"),percent:.6}},[t("label",{attrs:{for:"wels_form_label_commencement_date",hidden:""}},[e._v("''")]),e._v(" "),t("el-date-picker",{attrs:{id:"wels_form_label_commencement_date",type:"month",format:"yyyy-MM","value-format":"yyyy-MM","picker-options":e.pickerOptions,disabled:!e.canEdit&&e.value.product_review&&1===e.value.product_review.status},model:{value:e.value.label_commencement_date,callback:function(t){e.$set(e.value,"label_commencement_date",t)},expression:"value.label_commencement_date"}})],1),e._v(" "),e.value.product_review&&0===e.value.product_review.status?t("el-form-item",{staticClass:"rejection-reasons-form-item label-width-zero content-item-view",attrs:{label:e.$t("lang.reasonsForRejection"),"label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none",readonly:!0},model:{value:e.value.product_review.rejection,callback:function(t){e.$set(e.value.product_review,"rejection",t)},expression:"value.product_review.rejection"}})],1):e._e()],2)};Tp._withStripped=!0;var Dp=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),Rp=function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r},Ip=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},Fp=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.baseUrl="/api/afs/wsd",t.categoryOption=[],t.pickerOptions={disabledDate:function(e){return e.getTime()<Date.now()-864e5}},t}return Dp(t,e),t.prototype.onGetCategoryOption=function(e){switch(console.log("值",e),e){case"wels_water_taps":this.categoryOption="en-US"===this.$i18n.locale?vn:"zh-CN"===this.$i18n.locale?wn:bn;break;case"wels_washing_machines":this.categoryOption="en-US"===this.$i18n.locale?_n:"zh-CN"===this.$i18n.locale?hn:gn;break;case"wels_urinal_equipment":this.categoryOption="en-US"===this.$i18n.locale?un:"zh-CN"===this.$i18n.locale?fn:mn;break;case"wels_flow_controllers":this.categoryOption="en-US"===this.$i18n.locale?yn:"zh-CN"===this.$i18n.locale?Cn:$n}},t.prototype.onChangeLocal=function(){this.onGetCategoryOption(this.value.approval_scheme)},t.prototype.mounted=function(){var e;this.onGetCategoryOption(null===(e=this.value)||void 0===e?void 0:e.approval_scheme)},Rp([(0,o.fI)(),Ip("design:type",Object)],t.prototype,"value",void 0),Rp([(0,o.fI)({default:!0}),Ip("design:type",Boolean)],t.prototype,"canEdit",void 0),Rp([(0,o.fI)(),Ip("design:type",String)],t.prototype,"productViewTitle",void 0),Rp([(0,o.fI)({required:!1,default:!0}),Ip("design:type",Boolean)],t.prototype,"showCategory",void 0),Rp([(0,o.fI)({required:!1,default:!0}),Ip("design:type",Boolean)],t.prototype,"showBasicInfo",void 0),Rp([(0,o.wA)({components:{ElColumnRow:ke,ElFormItem:pt,ElButton:Ge,ElSelect:Pr,ElInput:Ze(),ElDocumentUpload:Eo,ElDatePicker:Ho()}})],t)}(o.w3),Lp=Fp,qp=(a(52592),(0,z.Z)(Lp,Tp,[],!1,null,null,null).exports
1),Mp=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("div",{staticClass:"wels-product-info-view"},[t("p",{staticClass:"application-item-card-title",attrs:{slot:"header"},slot:"header"},[e._v("\n    "+e._s(e.$t("lang.supportDoc"))+"\n  ")]),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"select-laboratorys margin-bottom-15 label-width-auto",attrs:{label:e.$t("lang.laboratory_names"),percent:.4,prop:"laboratories"}},[t("label",{attrs:{for:"wels_form_laboratories",hidden:""}},[e._v("''")]),e._v(" "),t("el-select",{attrs:{id:"wels_form_laboratories",loader:"/internal/laboratories/type/1",valueKey:"id",labelKey:"en-US"===e.$i18n.locale?"english_name":"chinese_name",addOption:{value:"100001",label:"Other",id:"100001"},disabled:!e.canEdit&&e.value.document_review&&1===e.value.document_review.status},on:{change:e.onChangeLab},model:{value:e.value.laboratories,callback:function(t){e.$set(e.value,"laboratories",t)},expression:"value.laboratories"}})],1),e._v(" "),e.value.laboratories&&"100001"!==e.value.laboratories?t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.labReportRef"),percent:.4,prop:"lab_report_ref"}},[t("label",{attrs:{for:"wels_form_lab_report_ref",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"wels_form_lab_report_ref",placeholder:e.$t("lang.labReportRef"),readonly:!e.canEdit&&e.value.document_review&&1===e.value.document_review.status},model:{value:e.value.lab_report_ref,callback:function(t){e.$set(e.value,"lab_report_ref",t)},expression:"value.lab_report_ref"}})],1):e._e()],1),e._v(" "),t("el-column-row",[e.value.detailed_test_report_doc&&e.value.detailed_test_report_doc.length>0?t("el-form-item",{staticClass:"label-width-zero",attrs:{label:e.$t("lang.detailedTestReportReadOnly"),"label-width":"0",percent:.8}},[t("el-document-upload",{attrs:{multiple:!0,application_status:e.value.status,"base-url":e.baseUrl,action:e.baseUrl,readonly:!0},model:{value:e.value.detailed_test_report_doc,callback:function(t){e.$set(e.value,"detailed_test_report_doc",t)},expression:"value.detailed_test_report_doc"}})],1):e._e()],1),e._v(" "),e._t("default"),e._v(" "),e.value.document_review&&0===e.value.document_review.status?t("el-form-item",{staticClass:"rejection-reasons-form-item label-width-zero content-item-view",attrs:{label:e.$t("lang.reasonsForRejection"),"label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none",readonly:!0},model:{value:e.value.document_review.rejection,callback:function(t){e.$set(e.value.document_review,"rejection",t)},expression:"value.document_review.rejection"}})],1):e._e()],2)};Mp._withStripped=!0;var jp=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),zp=function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r},Np=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},Bp=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.baseUrl="/api/afs/wsd",t}return jp(t,e),t.prototype.onChangeLab=function(e){"100001"==e&&ze()({dangerouslyUseHTMLString:!0,title:"".concat(this.$t("lang.kindTips")),message:"\n        <div>".concat(this.$t("lang.sendReportFileToWsdoffice"),"</div>\n        </br>\n        <div>").concat(this.$t("lang.sendReportFileToWsdoffice1"),"</div>\n        </br>\n        <div>").concat(this.$t("lang.sendReportFileToWsdoffice2"),"</div>\n        ")})},zp([(0,o.fI)(),Np("design:type",Object)],t.prototype,"value",void 0),zp([(0,o.fI)({default:!0}),Np("design:type",Boolean)],t.prototype,"canEdit",void 0),zp([(0,o.wA)({components:{ElColumnRow:ke,ElFormItem:pt,ElButton:Ge,ElSelect:Pr,ElInput:Ze(),ElDocumentUpload:Eo,ElDatePicker:Ho()}})],t)}(o.w3),Up=Bp,Wp=(a(72119),(0,z.Z)(Up,Mp,[],!1,null,null,null).exports
1),Hp=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),Gp=function(){return Gp=Object.assign||function(e){for(var t,a=1,o=arguments.length;a<o;a++)for(var l in t=arguments[a])Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l]);return e},Gp.apply(this,arguments)},Vp=x(),Zp=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.breadcrumb=[{path:"",title:t.$t("lang.eApplication")},{path:"/applications/wels",title:"WELS"},{path:"",title:t.$t("lang.waterTaps")}],t.api=x(),t.baseUrl="/api/afs/wsd",t.partMaxActive=1,t.partList=[{name:"lang.companyInformation"},{name:"lang.productInformation"},{name:"lang.supportDoc"},{name:"lang.participantObligations"},{name:"lang.applyMessageTitle"}],t.partActive=1,t.cardListTop=[],t.pageCenterNum=0,t.treaty="",t.agreeTreaty=!1,t.canEdit=!0,t.errMessage={111:t.$t("lang.pleaseCompleteAllRequiredFields"),90003:t.$t("lang.applicationAlreadyExists"),90005:t.$t("lang.applicationAlreadySubmit"),90007:t.$t("lang.applicationDraftErr"),90009:t.$t("lang.applicationTestReportErr")},t.form=new K({loader:"/public/wels/applications/:id",action:"/public/wels/applications",default:{wels_scheme:"wels_new",approval_scheme:"wels_water_taps",status:-1,company_distributors:[]},rules:{laboratories:[{required:!0,message:t.$t("lang.pleaseChoose"),trigger:"change"}],company_name:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],english_company_name:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],company_type_other:[{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"}],company_address:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{max:250,message:"".concat(t.$t("lang.characterLength")," 250"),trigger:"blur"}],company_phone:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"},{validator:function(e,a,o){return qc(0,a,o,t.$t("lang.pleaseEnter"),t.$t("lang.pleaseEnterCorrectNum"))},trigger:"blur"}],company_fax:[{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"},{validator:function(e,a,o){return qc(0,a,o,"",t.$t("lang.pleaseEnterCorrectNum"))},trigger:"blur"}],company_email:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{type:"email",message:t.$t("lang.inputCorrectEmailAddress"),trigger:"blur"},{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"}],company_contact:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"}],lab_report_ref_doc:[{required:!0,message:t.$t("lang.pleaseUploadFile"),trigger:"blur"}],front_doc:[{required:!0,message:t.$t("lang.pleaseUploadFile"),trigger:"blur"}],product_category:[{required:!0,message:t.$t("lang.pleaseChoose"),trigger:"change"}],company_type:[{required:!0,message:t.$t("lang.pleaseChoose"),trigger:"change"}],lab_report_ref:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"}],contact_call:[{required:!0,message:t.$t("lang.pleaseChoose"),trigger:"blur"}],company_corresponding_address:[{max:250,message:"".concat(t.$t("lang.characterLength")," 250"),trigger:"blur"}],company_website:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],product_brand:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],product_model:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],product_name:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],product_region:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],valve_product_brand:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],valve_product_model:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],valve_product_name:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],valve_product_region:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],cistern_product_brand:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],cistern_product_model:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],cistern_product_name:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],cistern_product_region:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],pan_product_brand:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],pan_product_model:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],pan_product_name:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],pan_product_region:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}
1],water_efficiency_label:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],upload_other_info_msg:[{max:250,message:"".concat(t.$t("lang.characterLength")," 250"),trigger:"blur"}]},onSubmitSuccess:function(){t.successMessage("submit")},onSubmitFailure:function(e){var a=e?t.errMessage[e]:t.errMessage[111];a&&E().error({message:a,duration:5e3,showClose:!0})}}),t.showInstructionsDialog=!1,t.instructionsContent="",t.pickerOptions={disabledDate:function(e){return e.getTime()<Date.now()-864e5}},t.tapsCategory="en-US"===t.$i18n.locale?vn:"zh-CN"===t.$i18n.locale?wn:bn,t.companyType="en-US"===t.$i18n.locale?xn:"zh-CN"===t.$i18n.locale?Sn:En,t.showSupporDocDialog=!1,t.supporDocList=[],t.selectSupporDoc=[],t.showDistributorsDialog=!1,t}return Hp(t,e),t.prototype.onChange=function(e){this.errMessage={90003:this.$t("lang.applicationAlreadyExists"),90005:this.$t("lang.applicationAlreadySubmit"),90009:"Please confirm that all test reports have been uploaded"},this.breadcrumb=[{path:"",title:this.$t("lang.eApplication")},{path:"/applications/wels",title:"WELS"},{path:"",title:this.$t("lang.waterTaps")}],this.tapsCategory="en-US"===this.$i18n.locale?vn:"zh-CN"===this.$i18n.locale?wn:bn,this.companyType="en-US"===this.$i18n.locale?xn:"zh-CN"===this.$i18n.locale?Sn:En},t.prototype.onShowInstructionsDialog=function(e){switch(this.showInstructionsDialog=!0,e){case"system":this.instructionsContent=this.$t("lang.tapDdocProofDesignInstructions");break;case"certificate":this.instructionsContent=this.$t("lang.cerOfAccreditationInstructions");break;case"report":this.instructionsContent=this.$t("lang.reportInstructions");break;case"controller":this.instructionsContent=this.$t("lang.controllerInstructions")}},t.prototype.onShowDistributorsDialog=function(){this.showDistributorsDialog=!0},t.prototype.handleCreate=function(){var e=this;if(!this.form.model.disclaimer)return E().error({message:"".concat(this.$t("lang.agreeToTreaty")),duration:5e3,showClose:!0}),!1;var t=this.form.model.status;this.form.model.status=0,this.form.model.id?this.form.validate().then((function(){var a=n().service({lock:!0});Vp.post("/public/wels/applications/drafted/submit",e.form.model).then((function(t){a.close(),E().success({duration:5e3,showClose:!0,message:e.$t("lang.successfullySubmitted")}),e.$router.push({path:"/applications/wels"})})).catch((function(o){a.close(),e.form.model.status=t;var l=e.errMessage[o];l&&E().error({message:l,showClose:!0,duration:5e3})}))})).catch((function(a){e.submitErrMessage(!1),e.form.model.status=t})):this.form.submit().catch((function(a){return e.form.model.status=t}))},t.prototype.handleSubmit=function(){var e=this;if(!this.form.model.disclaimer)return E().error({message:"".concat(this.$t("lang.agreeToTreaty")),duration:5e3,showClose:!0}),!1;var t=n().service({lock:!0});Vp.post("/public/wels/applications/submit",this.form.model).then((function(a){t.close(),E().success({duration:5e3,showClose:!0,message:e.$t("lang.successfullySubmitted")}),e.$router.push({path:"/applications/wels"})})).catch((function(a){t.close();var o=e.errMessage[a];o&&E().error({message:o,showClose:!0,duration:5e3})}))},t.prototype.onSaveForm=function(){var e=this,t=this.form.model.status,a=n().service({lock:!0});this.form.model.id?Vp.put("/public/wels/applications",this.form.model).then((function(t){e.successMessage("save"),a.close()})).catch((function(o){e.form.model.status=t,e.submitErrMessage(o),a.close()})):Vp.post("/public/wels/applications",this.form.model).then((function(t){e.successMessage("save"),a.close()})).catch((function(o){e.form.model.status=t,e.submitErrMessage(o),a.close()}))},t.prototype.successMessage=function(e,t){void 0===e&&(e="save"),void 0===t&&(t=!0),E().success({duration:5e3,showClose:!0,message:"save"===e?this.$t("lang.successfullySaved"):this.$t("lang.successfullySubmitted")}),t&&this.$router.push({path:"/applications/wels"})},t.prototype.submitErrMessage=function(e){var t=e?this.errMessage[e]:this.errMessage[111];t&&E().error({message:t,showClose:!0,duration:5e3})},t.prototype.onSelectTurnDoc=function(){var e=this;Vp.get("/laboratory/reactive/all?application_id=".concat(this.form.model.source_id)).then((function(t){console.log("res",t),e.supporDocList=t,e.showSupporDocDialog=!0}))},t.prototype.onSubmitSelectDoc=function(){var e=this;if(0===this.selectSupporDoc.length)return E().error({message:this.$t("lang.pleaseTickNum"),duration:5e3,showClose:!0}),!1;Vp.post("public/wels/applications/laboratory/reactive",{ids:this.selectSupporDoc}).then((function(){E().success({message:e.$t("lang.submittedSuccessfully"),duration:5e3,showClose:!0}),e.showSupporDocDialog=!1,e.form.load({id:e.form.model.id})}))},t.prototype.onDeleteInfo=function(e){this.form.model.company_distributors.splice(e,1)},t.prototype.onScrollTo=function(e){document.querySelector(".page-content-view").scrollTop=this.cardListTop[e]-10},t.prototype.handleScroll=function(){for(var e=document.querySelectorAll(".entry-application-item-card"),t=document.querySelector(".page-content-view"),a=null==t?void 0:t.scrollTop,o=[],l=0;l<e.length;l++)o.push(e[l].offsetTop);var n;n=(null==t?void 0:t.scrollHeight)&&a+(null==t?void 0:t.clientHeight)>=(null==t?void 0:t.scrollHeight)?o.concat([]):a<20?[]:o.filter((function(e){return e-12<a})),this.partMaxActive=n.length||1,this.cardListTop=o.concat([])},t.prototype.mounted=function(){var e=this;this.$nextTick((function(){var t,a;window.addEventListener("scroll",e.handleScroll,!0);var o=(null===(t=document.querySelector("body"))||void 0===t?void 0:t.clientHeight)||0,l=(null===(a=document.querySelector(".el-header"))||void 0===a?void 0:a.clientHeight)||0;e.pageCenterNum=o?o/2-107-l:0;for(var n=document.querySelectorAll(".entry-application-item-card"),r=0;r<n.length;r++)e.cardListTop.push(n[r].offsetTop)}))},t.prototype.beforeMount=function(){var e=this;this.$route.params.id&&this.form.load({id:this.$route.params.id}),this.$route.params.id||Vp.get("/public/wels/applications/latest").then((function(t){e.form.reset(Gp(Gp({},e.form.default),{company_name:null==t?void 0:t.company_name,company_address:null==t?void 0:t.company_address,company_contact:null==t?void 0:t.company_contact,company_corresponding_address:null==t?void 0:t.company_corresponding_address,company_distributors:(null==t?void 0:t.company_distributors)||[],company_email:null==t?void 0:t.company_email,company_fax:null==t?void 0:t.company_fax,company_phone:null==t?void 0:t.company_phone,company_type:null==t?void 0:t.company_type,company_type_other:null==t?void 0:t.company_type_other,company_website:null==t?void 0:t.company_website,contact_call:null==t?void 0:t.contact_call,english_company_name:null==t?void 0:t.english_company_name}))}))},function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r}([(0,o.wA)({components:{ElAdminContainer:Da,ElForm:ae,ElFormItem:pt,ElColumnRow:ke,ElButton:Ge,ElCard:fe(),ElInput:Ze(),ElSelectTag:ds,ElTable:go,ElTableColumn:Uo(),ElDocumentUpload:Eo,ElReviewMessage:lc,ElInstructionsDialog:vc,ElWelsAddDistributorsDialog:Cp,ElDatePicker:Ho(),ElSelect:Pr,ElWelsCompanyInfoForm:Pp,ElWelsProductInfoForm:qp,ElPartMenus:Lc,ElWelsSupportDocForm:Wp},beforeRouteEnter:function(e,t,a){Vp.get("/public/setting/agreement",{params:{application_type:16,type:10}}).then((function(t){return a((function(a){var o;!(null===(o=e.params)||void 0===o?void 0:o.id)||(a.canEdit=!1),a.treaty="en-US"===a.$i18n.locale?null==t?void 0:t.english_agreement:"zh-CN"===a.$i18n.locale?null==t?void 0:t.agreement:null==t?void 0:t.traditional_agreement}))}))}})],t)}(o.w3),Qp=Zp,Kp=(0,z.Z)(Qp,gp,[],!1,null,null,null).exports,Yp=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-admin-container",{class:["page-wels-apply","page-wels-bathing-apply","page-review-application","en-US"===e.$i18n.locale?"page-wels-bathing-apply-en":""],attrs:{breadcrumb:e.breadcrumb,showMenusPart:!0}},[t("el-part-menus",{attrs:{slot:"part-menus",menus:e.partList,active:e.partMaxActive},on:{"on-scroll-to":e.onScrollTo},slot:"part-menus"}),e._v(" "),t("div",{staticClass:"container entry-application-content"},[t("el-form",{attrs:{store:e.form,hasLabelSuffix:!1,rules:e.form.rules},nativeOn:{submit:function(e){e.preventDefault()}}},[t("el-card",{staticClass:"entry-application-item-card company-info-card",attrs:{shadow:"never"}},[t("el-wels-company-info-form",{attrs:{showSale:!1,canEdit:e.canEdit},on:{"on-delete-info":e.onDeleteInfo},model:{value:e.form.model,callback:function(t){e.$set(e.form,"model",t)},expression:"form.model"}})],1),e._v(" "),t("el-card",{staticClass:"entry-application-item-card product-info-card",attrs:{shadow:"never"}},[t("el-wels-product-info-form",{attrs:{productViewTitle:e.$t("lang.frontAndSideViews"),canEdit:e.canEdit},model:{value:e.form.model,callback:function(t){e.$set(e.form,"model",t)},expression:"form.model"}},[t("div",{attrs:{slot:"other-product-info"},slot:"other-product-info"},[t("el-form-item",{staticClass:"label-width-zero bottom-dividing-line"},[t("el-checkbox",{attrs:{"true-label":1,"false-label":0,disabled:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.agree,callback:function(t){e.$set(e.form.model,"agree",t)},expression:"form.model.agree"}}
1,[e._v(e._s(e.$t("lang.washingVariationAgreement")))])],1)],1)])],1),e._v(" "),t("el-card",{staticClass:"entry-application-item-card company-info-card",attrs:{shadow:"never"}},[t("el-wels-support-doc-form",{attrs:{canEdit:e.canEdit},model:{value:e.form.model,callback:function(t){e.$set(e.form,"model",t)},expression:"form.model"}},[t("el-form-item",{staticClass:"label-width-zero",attrs:{percent:.8,"label-width":"0",label:e.$t("lang.docProofRegistered")}},[t("el-document-upload",{attrs:{multiple:!0,"base-url":e.baseUrl,action:e.baseUrl,application_status:e.form.model.status,readonly:!e.canEdit&&e.form.model.document_review&&1===e.form.model.document_review.status},model:{value:e.form.model.mandatory_doc,callback:function(t){e.$set(e.form.model,"mandatory_doc",t)},expression:"form.model.mandatory_doc"}})],1)],1)],1),e._v(" "),t("el-card",{staticClass:"entry-application-item-card",attrs:{shadow:"never"}},[t("p",{staticClass:"application-item-card-title",attrs:{slot:"header"},slot:"header"},[e._v("\r\n          "+e._s(e.$t("lang.participantObligations"))+"\r\n        ")]),e._v(" "),t("el-column-row",{staticClass:"treaty-view"},[t("div",{domProps:{innerHTML:e._s(e.treaty)}}),e._v(" "),t("div",{staticClass:"agree-treaty-view margin-top-10"},[t("el-checkbox",{attrs:{"true-label":1,"false-label":0},model:{value:e.form.model.disclaimer,callback:function(t){e.$set(e.form.model,"disclaimer",t)},expression:"form.model.disclaimer"}},[e._v(e._s(e.$t("lang.tickToAgree")))])],1)])],1),e._v(" "),e.form.model.id?e._e():t("el-card",{staticClass:"applicant-card entry-application-item-card",attrs:{shadow:"never"}},[t("template",{slot:"header"},[e._v(e._s(e.$t("lang.applyMessageTitle")))]),e._v(" "),t("el-form-item",{attrs:{prop:"upload_other_info","label-width":"0"}},[t("el-checkbox",{attrs:{"true-label":1,"false-label":0},model:{value:e.form.model.upload_other_info,callback:function(t){e.$set(e.form.model,"upload_other_info",t)},expression:"form.model.upload_other_info"}},[e._v(e._s(e.$t("lang.uploadOtherInfo")))])],1),e._v(" "),e.form.model.upload_other_info?[t("el-form-item",{attrs:{prop:"upload_other_info_msg","label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none"},model:{value:e.form.model.upload_other_info_msg,callback:function(t){e.$set(e.form.model,"upload_other_info_msg",t)},expression:"form.model.upload_other_info_msg"}})],1),e._v(" "),t("el-form-item",{staticClass:"d-flex flex-column",attrs:{prop:"upload_other_info_doc","label-width":"0"}},[t("el-document-upload",{attrs:{multiple:!0,application_status:e.form.model.status,"base-url":e.baseUrl,action:e.baseUrl,readonly:!e.canEdit},model:{value:e.form.model.upload_other_info_doc,callback:function(t){e.$set(e.form.model,"upload_other_info_doc",t)},expression:"form.model.upload_other_info_doc"}})],1)]:e._e()],2),e._v(" "),e.form.model.id?t("el-review-message",{attrs:{applicationId:e.form.model.id,stage:e.form.model.status}},[t("el-form-item",{attrs:{prop:"upload_other_info","label-width":"0"}},[t("el-checkbox",{attrs:{"true-label":1,"false-label":0,disabled:!e.canEdit&&e.form.model.upload_other_info_review&&1===e.form.model.upload_other_info_review.status},model:{value:e.form.model.upload_other_info,callback:function(t){e.$set(e.form.model,"upload_other_info",t)},expression:"form.model.upload_other_info"}},[e._v(e._s(e.$t("lang.uploadOtherInfo")))])],1),e._v(" "),e.form.model.upload_other_info?[t("el-form-item",{attrs:{prop:"upload_other_info_msg","label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none",readonly:!e.canEdit&&e.form.model.upload_other_info_review&&1===e.form.model.upload_other_info_review.status},model:{value:e.form.model.upload_other_info_msg,callback:function(t){e.$set(e.form.model,"upload_other_info_msg",t)},expression:"form.model.upload_other_info_msg"}})],1),e._v(" "),t("el-form-item",{staticClass:"d-flex flex-column",attrs:{prop:"upload_other_info_doc","label-width":"0"}},[t("el-document-upload",{attrs:{multiple:!0,"base-url":e.baseUrl,action:e.baseUrl,text:e.$t("lang.action.upload"),application_status:e.form.model.status,readonly:!e.canEdit&&e.form.model.upload_other_info_review&&1===e.form.model.upload_other_info_review.status},model:{value:e.form.model.upload_other_info_doc,callback:function(t){e.$set(e.form.model,"upload_other_info_doc",t)},expression:"form.model.upload_other_info_doc"}})],1)]:e._e(),e._v(" "),e.form.model.upload_other_info_review&&0===e.form.model.upload_other_info_review.status?t("el-form-item",{staticClass:"rejection-reasons-form-item label-width-zero content-item-view",attrs:{label:e.$t("lang.reasonsForRejection"),"label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none",readonly:!0},model:{value:e.form.model.upload_other_info_review.rejection,callback:function(t){e.$set(e.form.model.upload_other_info_review,"rejection",t)},expression:"form.model.upload_other_info_review.rejection"}}
1)],1):e._e()],2):e._e()],1),e._v(" "),t("div",{staticClass:"entry-application-footer"},[t("el-button",{staticClass:"empty-bule-btn",on:{click:function(t){return e.$router.push({path:"/applications/wels"})}}},[e._v(e._s(e.$t("lang.action.cancel")))]),e._v(" "),"100001"===e.form.model.laboratories||e.form.model.document_review&&0!==e.form.model.document_review.status||0!==e.form.model.status||!e.form.model.record||10!=e.form.model.record.type&&15!=e.form.model.record.type?e._e():t("el-button",{staticClass:"empty-bule-btn",on:{click:e.onSelectTurnDoc}},[e._v(e._s(e.$t("lang.reactivateLabUpload")))]),e._v(" "),e.form.model.id&&-1!=e.form.model.status&&0!==e.form.model.status?e._e():t("el-button",{staticClass:"empty-bule-btn",on:{click:e.onSaveForm}},[e._v(e._s(e.$t("lang.action.save")))]),e._v(" "),-1===e.form.model.status?t("el-button",{staticClass:"fill-blue-btn",on:{click:function(t){return e.handleCreate()}}},[e._v(e._s(e.$t("lang.action.created")))]):e._e(),e._v(" "),0!==e.form.model.status||!e.form.model.record||10!=e.form.model.record.type&&15!=e.form.model.record.type?e._e():t("el-button",{staticClass:"fill-blue-btn",on:{click:function(t){return e.handleSubmit()}}},[e._v(e._s(e.$t("lang.action.submit")))])],1),e._v(" "),t("el-instructions-dialog",{attrs:{visible:e.showInstructionsDialog,content:e.instructionsContent},on:{"update:visible":function(t){e.showInstructionsDialog=t}}}),e._v(" "),t("el-wels-add-distributors-dialog",{attrs:{visible:e.showDistributorsDialog},on:{"update:visible":function(t){e.showDistributorsDialog=t},"on-add":e.onAddInfo}}),e._v(" "),t("el-dialog",{staticClass:"reutn-doc-dialog position-center",attrs:{visible:e.showSupporDocDialog,width:"680px",title:e.$t("lang.supportingDocuments")},on:{close:function(t){e.showSupporDocDialog=!1}}},[e.supporDocList&&e.supporDocList.length?t("el-checkbox-group",{model:{value:e.selectSupporDoc,callback:function(t){e.selectSupporDoc=t},expression:"selectSupporDoc"}},e._l(e.supporDocList,(function(a){return t("el-checkbox",{key:a.id,attrs:{label:a.id}},[e._v(e._s(`${a.test_report_no}(Wels)`))])})),1):e._e(),e._v(" "),t("template",{slot:"footer"},[t("el-button",{staticClass:"refuse-btn",on:{click:function(t){e.showSupporDocDialog=!1}}},[e._v("\r\n          "+e._s(e.$t("lang.action.close"))+"\r\n        ")]),e._v(" "),t("el-button",{staticClass:"agree-btn",attrs:{type:"primary"},on:{click:e.onSubmitSelectDoc}},[e._v(" "+e._s(e.$t("lang.action.submit"))+" ")])],1)],2)],1)],1)};Yp._withStripped=!0;var Jp=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),Xp=function(){return Xp=Object.assign||function(e){for(var t,a=1,o=arguments.length;a<o;a++)for(var l in t=arguments[a])Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l]);return e},Xp.apply(this,arguments)},eu=x(),tu=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.breadcrumb=[{path:"",title:t.$t("lang.eApplication")},{path:"/applications/wels",title:"WELS"},{path:"",title:t.$t("lang.washingMachines")}],t.api=x(),t.baseUrl="/api/afs/wsd",t.partMaxActive=1,t.partList=[{name:"lang.companyInformation"},{name:"lang.productInformation"},{name:"lang.supportDoc"},{name:"lang.participantObligations"},{name:"lang.applyMessageTitle"}],t.partActive=1,t.cardListTop=[],t.pageCenterNum=0,t.treaty="",t.agreeTreaty=!1,t.canEdit=!0,t.errMessage={111:t.$t("lang.pleaseCompleteAllRequiredFields"),90003:t.$t("lang.applicationAlreadyExists"),90005:t.$t("lang.applicationAlreadySubmit"),90007:t.$t("lang.applicationDraftErr"),90009:t.$t("lang.applicationTestReportErr")},t.form=new K({loader:"/public/wels/applications/:id",action:"/public/wels/applications",default:{wels_scheme:"wels_new",approval_scheme:"wels_washing_machines",status:-1,company_distributors:[]},rules:{laboratories:[{required:!0,message:t.$t("lang.pleaseChoose"),trigger:"change"}],company_name:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],english_company_name:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],company_type_other:[{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"}],company_address:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{max:250,message:"".concat(t.$t("lang.characterLength")," 250"),trigger:"blur"}],company_phone:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{validator:function(e,a,o){return qc(0,a,o,t.$t("lang.pleaseEnter"),t.$t("lang.pleaseEnterCorrectNum"))},trigger:"blur"}],company_fax:[{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"},{validator:function(e,a,o){return qc(0,a,o,"",t.$t("lang.pleaseEnterCorrectNum"))},trigger:"blur"}],company_email:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{type:"email",message:t.$t("lang.inputCorrectEmailAddress"),trigger:"blur"},{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"}],company_contact:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"}],lab_report_ref_doc:[{required:!0,message:t.$t("lang.pleaseUploadFile"),trigger:"blur"}],front_doc:[{required:!0,message:t.$t("lang.pleaseUploadFile"),trigger:"blur"}],product_category:[{required:!0,message:t.$t("lang.pleaseChoose"),trigger:"change"}],company_type:[{required:!0,message:t.$t("lang.pleaseChoose"),trigger:"change"}],lab_report_ref:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"}],contact_call:[{required:!0,message:t.$t("lang.pleaseChoose"),trigger:"blur"}],company_corresponding_address:[{max:250,message:"".concat(t.$t("lang.characterLength")," 250"),trigger:"blur"}],company_website:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],product_brand:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],product_model:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],product_name:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],product_region:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],valve_product_brand:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],valve_product_model:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],valve_product_name:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],valve_product_region:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],cistern_product_brand:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],cistern_product_model:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],cistern_product_name:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],cistern_product_region:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],pan_product_brand:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],pan_product_model:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],pan_product_name:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],pan_product_region:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}
1],water_efficiency_label:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],upload_other_info_msg:[{max:250,message:"".concat(t.$t("lang.characterLength")," 250"),trigger:"blur"}]},onSubmitSuccess:function(){t.successMessage("submit")},onSubmitFailure:function(e){var a=e?t.errMessage[e]:t.errMessage[111];a&&E().error({message:a,duration:5e3,showClose:!0})}}),t.showInstructionsDialog=!1,t.instructionsContent="",t.machinesCategory="en-US"===t.$i18n.locale?_n:"zh-CN"===t.$i18n.locale?hn:gn,t.companyType="en-US"===t.$i18n.locale?xn:"zh-CN"===t.$i18n.locale?Sn:En,t.showSupporDocDialog=!1,t.supporDocList=[],t.selectSupporDoc=[],t.pickerOptions={disabledDate:function(e){return e.getTime()<Date.now()-864e5}},t.showDistributorsDialog=!1,t}return Jp(t,e),t.prototype.onChange=function(e){this.errMessage={90003:this.$t("lang.applicationAlreadyExists"),90005:this.$t("lang.applicationAlreadySubmit")},this.breadcrumb=[{path:"",title:this.$t("lang.eApplication")},{path:"/applications/wels",title:"WELS"},{path:"",title:this.$t("lang.washingMachines")}],this.machinesCategory="en-US"===this.$i18n.locale?_n:"zh-CN"===this.$i18n.locale?hn:gn,this.companyType="en-US"===this.$i18n.locale?xn:"zh-CN"===this.$i18n.locale?Sn:En},t.prototype.onShowInstructionsDialog=function(e){switch(this.showInstructionsDialog=!0,e){case"system":this.instructionsContent=this.$t("lang.docProofDesignInstructions");break;case"certificate":this.instructionsContent=this.$t("lang.cerOfAccreditationInstructions");break;case"report":this.instructionsContent=this.$t("lang.reportInstructions")}},t.prototype.onShowDistributorsDialog=function(){this.showDistributorsDialog=!0},t.prototype.handleCreate=function(){var e=this;if(!this.form.model.disclaimer)return E().error({message:"".concat(this.$t("lang.agreeToTreaty")),duration:5e3,showClose:!0}),!1;var t=this.form.model.status;this.form.model.status=0,this.form.model.id?this.form.validate().then((function(){var a=n().service({lock:!0});eu.post("/public/wels/applications/drafted/submit",e.form.model).then((function(t){a.close(),E().success({duration:5e3,showClose:!0,message:e.$t("lang.successfullySubmitted")}),e.$router.push({path:"/applications/wels"})})).catch((function(o){a.close(),e.form.model.status=t;var l=e.errMessage[o];l&&E().error({message:l,showClose:!0,duration:5e3})}))})).catch((function(a){e.submitErrMessage(!1),e.form.model.status=t})):this.form.submit().catch((function(a){return e.form.model.status=t}))},t.prototype.handleSubmit=function(){var e=this;if(!this.form.model.disclaimer)return E().error({message:"".concat(this.$t("lang.agreeToTreaty")),duration:5e3,showClose:!0}),!1;var t=n().service({lock:!0});eu.post("/public/wels/applications/submit",this.form.model).then((function(a){t.close(),E().success({duration:5e3,showClose:!0,message:e.$t("lang.successfullySubmitted")}),e.$router.push({path:"/applications/wels"})})).catch((function(a){t.close();var o=e.errMessage[a];o&&E().error({message:o,showClose:!0,duration:5e3})}))},t.prototype.onSaveForm=function(){var e=this,t=this.form.model.status,a=n().service({lock:!0});this.form.model.id?eu.put("/public/wels/applications",this.form.model).then((function(t){e.successMessage("save"),a.close()})).catch((function(o){e.form.model.status=t,e.submitErrMessage(o),a.close()})):eu.post("/public/wels/applications",this.form.model).then((function(t){e.successMessage("save"),a.close()})).catch((function(o){e.form.model.status=t,e.submitErrMessage(o),a.close()}))},t.prototype.successMessage=function(e,t){void 0===e&&(e="save"),void 0===t&&(t=!0),E().success({duration:5e3,showClose:!0,message:"save"===e?this.$t("lang.successfullySaved"):this.$t("lang.successfullySubmitted")}),t&&this.$router.push({path:"/applications/wels"})},t.prototype.submitErrMessage=function(e){var t=e?this.errMessage[e]:this.errMessage[111];t&&E().error({message:t,showClose:!0,duration:5e3})},t.prototype.onSelectTurnDoc=function(){var e=this;eu.get("/laboratory/reactive/all?application_id=".concat(this.form.model.source_id)).then((function(t){console.log("res",t),e.supporDocList=t,e.showSupporDocDialog=!0}))},t.prototype.onSubmitSelectDoc=function(){var e=this;if(0===this.selectSupporDoc.length)return E().error({message:this.$t("lang.pleaseTickNum"),duration:5e3,showClose:!0}),!1;eu.post("public/wels/applications/laboratory/reactive",{ids:this.selectSupporDoc}).then((function(){E().success({message:e.$t("lang.submittedSuccessfully"),duration:5e3,showClose:!0}),e.showSupporDocDialog=!1,e.form.load({id:e.form.model.id})}))},t.prototype.onDeleteInfo=function(e){this.form.model.company_distributors.splice(e,1)},t.prototype.onAddInfo=function(e){this.form.model.company_distributors.push(e),this.showDistributorsDialog=!1},t.prototype.onScrollTo=function(e){document.querySelector(".page-content-view").scrollTop=this.cardListTop[e]-10},t.prototype.handleScroll=function(){for(var e=document.querySelectorAll(".entry-application-item-card"),t=document.querySelector(".page-content-view"),a=null==t?void 0:t.scrollTop,o=[],l=0;l<e.length;l++)o.push(e[l].offsetTop);var n;n=(null==t?void 0:t.scrollHeight)&&a+(null==t?void 0:t.clientHeight)>=(null==t?void 0:t.scrollHeight)?o.concat([]):a<20?[]:o.filter((function(e){return e-12<a})),this.partMaxActive=n.length||1,this.cardListTop=o.concat([])},t.prototype.mounted=function(){var e=this;this.$nextTick((function(){var t,a;window.addEventListener("scroll",e.handleScroll,!0);var o=(null===(t=document.querySelector("body"))||void 0===t?void 0:t.clientHeight)||0,l=(null===(a=document.querySelector(".el-header"))||void 0===a?void 0:a.clientHeight)||0;e.pageCenterNum=o?o/2-107-l:0;for(var n=document.querySelectorAll(".entry-application-item-card"),r=0;r<n.length;r++)e.cardListTop.push(n[r].offsetTop)}))},t.prototype.beforeMount=function(){var e=this;this.$route.params.id&&this.form.load({id:this.$route.params.id}),this.$route.params.id||eu.get("/public/wels/applications/latest").then((function(t){e.form.reset(Xp(Xp({},e.form.default),{company_name:null==t?void 0:t.company_name,company_address:null==t?void 0:t.company_address,company_contact:null==t?void 0:t.company_contact,company_corresponding_address:null==t?void 0:t.company_corresponding_address,company_distributors:(null==t?void 0:t.company_distributors)||[],company_email:null==t?void 0:t.company_email,company_fax:null==t?void 0:t.company_fax,company_phone:null==t?void 0:t.company_phone,company_type:null==t?void 0:t.company_type,company_type_other:null==t?void 0:t.company_type_other,company_website:null==t?void 0:t.company_website,contact_call:null==t?void 0:t.contact_call,english_company_name:null==t?void 0:t.english_company_name}))}))},function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r}([(0,o.wA)({components:{ElAdminContainer:Da,ElForm:ae,ElFormItem:pt,ElColumnRow:ke,ElButton:Ge,ElCard:fe(),ElInput:Ze(),ElSelectTag:ds,ElTable:go,ElTableColumn:Uo(),ElDocumentUpload:Eo,ElReviewMessage:lc,ElInstructionsDialog:vc,ElWelsAddDistributorsDialog:Cp,ElDatePicker:Ho(),ElSelect:Pr,ElWelsCompanyInfoForm:Pp,ElWelsProductInfoForm:qp,ElPartMenus:Lc,ElWelsSupportDocForm:Wp},beforeRouteEnter:function(e,t,a){eu.get("/public/setting/agreement",{params:{application_type:17,type:10}}).then((function(t){return a((function(a){var o;!(null===(o=e.params)||void 0===o?void 0:o.id)||(a.canEdit=!1),a.treaty="en-US"===a.$i18n.locale?null==t?void 0:t.english_agreement:"zh-CN"===a.$i18n.locale?null==t?void 0:t.agreement:null==t?void 0:t.traditional_agreement}))}))}})],t)}(o.w3),au=tu,ou=(0,z.Z)(au,Yp,[],!1,null,null,null).exports,lu=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-admin-container",{class:["page-wels-apply","page-wels-bathing-apply","page-review-application","en-US"===e.$i18n.locale?"page-wels-bathing-apply-en":""],attrs:{breadcrumb:e.breadcrumb,showMenusPart:!0}},[t("el-part-menus",{attrs:{slot:"part-menus",menus:e.partList,active:e.partMaxActive},on:{"on-scroll-to":e.onScrollTo},slot:"part-menus"}),e._v(" "),t("div",{staticClass:"container entry-application-content"},[t("el-form",{attrs:{store:e.form,hasLabelSuffix:!1,rules:e.form.rules},nativeOn:{submit:function(e){e.preventDefault()}}},[t("el-card",{staticClass:"entry-application-item-card company-info-card",attrs:{shadow:"never"}},[t("el-wels-company-info-form",{attrs:{canEdit:e.canEdit},on:{"on-delete-info":e.onDeleteInfo},model:{value:e.form.model,callback:function(t){e.$set(e.form,"model",t)},expression:"form.model"}})],1),e._v(" "),t("el-card",{staticClass:"entry-application-item-card product-info-card",attrs:{shadow:"never"}},[t("el-wels-product-info-form",{attrs:{productViewTitle:e.$t("lang.frontSideBottomViews"),showBasicInfo:!1,canEdit:e.canEdit},model:{value:e.form.model,callback:function(t){e.$set(e.form,"model",t)},expression:"form.model"}},[t("div",{attrs:{slot:"other-product-info"},slot:"other-product-info"},[t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.descOfUrinalEquipment"),percent:.4,prop:"description_of_urinal_equipment"}},[t("label",{attrs:{for:"wels_form_description_of_urinal_equipment",hidden:""}},[e._v("''")]),e._v(" "),t("el-select",{attrs:{id:"wels_form_description_of_urinal_equipment",loader:e.typesOfDesOfUrinalEq,clearable:!0,disabled:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.description_of_urinal_equipment,callback:function(t){e.$set(e.form.model,"de
1scription_of_urinal_equipment",t)},expression:"form.model.description_of_urinal_equipment"}})],1),e._v(" "),t("el-form-item",{attrs:{percent:.4,label:e.$t("lang.category"),prop:"product_category"}},[t("label",{attrs:{for:"wels_form_product_category",hidden:""}},[e._v("''")]),e._v(" "),t("el-select",{attrs:{id:"wels_form_product_category",loader:e.categoryOption,disabled:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.product_category,callback:function(t){e.$set(e.form.model,"product_category",t)},expression:"form.model.product_category"}})],1)],1),e._v(" "),"trap"===e.form.model.description_of_urinal_equipment||"flushing_valve"===e.form.model.description_of_urinal_equipment?t("div",[t("el-column-row",[t("el-form-item",{attrs:{percent:.4,label:e.$t("lang.formHeader.brand")}},[t("el-input",{attrs:{placeholder:e.$t("lang.formHeader.brand"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.product_brand,callback:function(t){e.$set(e.form.model,"product_brand",t)},expression:"form.model.product_brand"}})],1),e._v(" "),t("el-form-item",{attrs:{percent:.4,label:e.$t("lang.modelNo")}},[t("el-input",{attrs:{placeholder:e.$t("lang.modelNo"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.product_model,callback:function(t){e.$set(e.form.model,"product_model",t)},expression:"form.model.product_model"}})],1)],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto",attrs:{percent:.4,label:e.$t("lang.nameIfAny")}},[t("el-input",{attrs:{placeholder:e.$t("lang.nameIfAny"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.product_name,callback:function(t){e.$set(e.form.model,"product_name",t)},expression:"form.model.product_name"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{percent:.4,label:e.$t("lang.countryRegionOfOrigin")}},[t("el-input",{attrs:{placeholder:e.$t("lang.countryRegionOfOrigin"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.product_region,callback:function(t){e.$set(e.form.model,"product_region",t)},expression:"form.model.product_region"}})],1)],1)],1):e._e(),e._v(" "),"trap_coupled"===e.form.model.description_of_urinal_equipment||"suites"===e.form.model.description_of_urinal_equipment?[t("div",{staticClass:"other-product-info-card"},[t("p",{staticClass:"header"},[e._v(e._s(e.$t("lang.urinalProductInfo")))]),e._v(" "),t("div",{staticClass:"body-view"},[t("el-column-row",[t("el-form-item",{attrs:{percent:.4,label:e.$t("lang.formHeader.brand")}},[t("el-input",{attrs:{placeholder:e.$t("lang.formHeader.brand"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.product_brand,callback:function(t){e.$set(e.form.model,"product_brand",t)},expression:"form.model.product_brand"}})],1),e._v(" "),t("el-form-item",{attrs:{percent:.4,label:e.$t("lang.modelNo")}},[t("el-input",{attrs:{placeholder:e.$t("lang.modelNo"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.product_model,callback:function(t){e.$set(e.form.model,"product_model",t)},expression:"form.model.product_model"}})],1)],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto",attrs:{percent:.4,label:e.$t("lang.nameIfAny")}},[t("el-input",{attrs:{placeholder:e.$t("lang.nameIfAny"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.product_name,callback:function(t){e.$set(e.form.model,"product_name",t)},expression:"form.model.product_name"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{percent:.4,label:e.$t("lang.countryRegionOfOrigin")}},[t("el-input",{attrs:{placeholder:e.$t("lang.countryRegionOfOrigin"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.product_region,callback:function(t){e.$set(e.form.model,"product_region",t)},expression:"form.model.product_region"}})],1)],1)],1)]),e._v(" "),t("div",{staticClass:"other-product-info-card"},[t("p",{staticClass:"header"},[e._v(e._s(e.$t("lang.valveProductInfo")))]),e._v(" "),t("div",{staticClass:"body-view"},[t("el-column-row",[t("el-form-item",{attrs:{percent:.4,label:e.$t("lang.formHeader.brand"),prop:"valve_product_brand"}},[t("el-input",{attrs:{placeholder:e.$t("lang.formHeader.brand"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.valve_product_brand,callback:function(t){e.$set(e.form.model,"valve_product_brand",t)},expression:"form.model.valve_product_brand"}})],1),e._v(" "),t("el-form-item",{attrs:{percent:.4,label:e.$t("lang.modelNo"),prop:"valve_product_model"}}
1,[t("el-input",{attrs:{placeholder:e.$t("lang.modelNo"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.valve_product_model,callback:function(t){e.$set(e.form.model,"valve_product_model",t)},expression:"form.model.valve_product_model"}})],1)],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto",attrs:{percent:.4,label:e.$t("lang.nameIfAny"),prop:"valve_product_name"}},[t("el-input",{attrs:{placeholder:e.$t("lang.nameIfAny"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.valve_product_name,callback:function(t){e.$set(e.form.model,"valve_product_name",t)},expression:"form.model.valve_product_name"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{percent:.4,label:e.$t("lang.countryRegionOfOrigin"),prop:"valve_product_region"}},[t("el-input",{attrs:{placeholder:e.$t("lang.countryRegionOfOrigin"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.valve_product_region,callback:function(t){e.$set(e.form.model,"valve_product_region",t)},expression:"form.model.valve_product_region"}})],1)],1)],1)])]:e._e(),e._v(" "),t("el-form-item",{staticClass:"label-width-zero bottom-dividing-line"},[t("el-checkbox",{attrs:{"true-label":1,"false-label":0,disabled:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.agree,callback:function(t){e.$set(e.form.model,"agree",t)},expression:"form.model.agree"}},[e._v(e._s(e.$t("lang.urinalEquipmentVariationAgreement")))])],1)],2)])],1),e._v(" "),t("el-card",{staticClass:"entry-application-item-card company-info-card",attrs:{shadow:"never"}},[t("el-wels-support-doc-form",{attrs:{canEdit:e.canEdit},model:{value:e.form.model,callback:function(t){e.$set(e.form,"model",t)},expression:"form.model"}},[t("el-form-item",{staticClass:"product-catalog-form-item d-flex flex-column label-flex-center label-width-zero",attrs:{percent:.8,"label-width":"0"}},[t("template",{slot:"label"},[e._v("\r\n              "+e._s(e.$t("lang.docProofDesign"))+"\r\n              "),t("el-button",{staticClass:"no-border-btn question-mark-btn",attrs:{"aria-label":"wels_form_production_system_tip",icon:"iconfont a-ico_"},on:{click:function(t){return e.onShowInstructionsDialog("system")}}})],1),e._v(" "),t("el-document-upload",{attrs:{application_status:e.form.model.status,multiple:!0,"base-url":e.baseUrl,action:e.baseUrl,readonly:!e.canEdit&&e.form.model.document_review&&1===e.form.model.document_review.status},model:{value:e.form.model.production_system_doc,callback:function(t){e.$set(e.form.model,"production_system_doc",t)},expression:"form.model.production_system_doc"}})],2),e._v(" "),e.form.model.description_of_urinal_equipment&&"trap"!==e.form.model.description_of_urinal_equipment?t("el-form-item",{staticClass:"label-width-zero",attrs:{label:e.$t("lang.docuProofOfFlushingWaterAuthority"),percent:.8,"label-width":"0"}},[t("el-document-upload",{attrs:{application_status:e.form.model.status,multiple:!0,"base-url":e.baseUrl,action:e.baseUrl,readonly:!e.canEdit&&e.form.model.document_review&&1===e.form.model.document_review.status},model:{value:e.form.model.ga_issued_doc,callback:function(t){e.$set(e.form.model,"ga_issued_doc",t)},expression:"form.model.ga_issued_doc"}})],1):e._e()],1)],1),e._v(" "),t("el-card",{staticClass:"entry-application-item-card",attrs:{shadow:"never"}},[t("p",{staticClass:"application-item-card-title",attrs:{slot:"header"},slot:"header"},[e._v("\r\n          "+e._s(e.$t("lang.participantObligations"))+"\r\n        ")]),e._v(" "),t("el-column-row",{staticClass:"treaty-view"},[t("div",{domProps:{innerHTML:e._s(e.treaty)}}),e._v(" "),t("div",{staticClass:"agree-treaty-view margin-top-10"},[t("el-checkbox",{attrs:{"true-label":1,"false-label":0},model:{value:e.form.model.disclaimer,callback:function(t){e.$set(e.form.model,"disclaimer",t)},expression:"form.model.disclaimer"}}
1,[e._v(e._s(e.$t("lang.tickToAgree")))])],1)])],1),e._v(" "),e.form.model.id?e._e():t("el-card",{staticClass:"applicant-card entry-application-item-card",attrs:{shadow:"never"}},[t("template",{slot:"header"},[e._v(e._s(e.$t("lang.applyMessageTitle")))]),e._v(" "),t("el-form-item",{attrs:{prop:"upload_other_info","label-width":"0"}},[t("el-checkbox",{attrs:{"true-label":1,"false-label":0},model:{value:e.form.model.upload_other_info,callback:function(t){e.$set(e.form.model,"upload_other_info",t)},expression:"form.model.upload_other_info"}},[e._v(e._s(e.$t("lang.uploadOtherInfo")))])],1),e._v(" "),e.form.model.upload_other_info?[t("el-form-item",{attrs:{prop:"upload_other_info_msg","label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none"},model:{value:e.form.model.upload_other_info_msg,callback:function(t){e.$set(e.form.model,"upload_other_info_msg",t)},expression:"form.model.upload_other_info_msg"}})],1),e._v(" "),t("el-form-item",{staticClass:"d-flex flex-column",attrs:{prop:"upload_other_info_doc","label-width":"0"}},[t("el-document-upload",{attrs:{multiple:!0,application_status:e.form.model.status,"base-url":e.baseUrl,action:e.baseUrl,readonly:!e.canEdit},model:{value:e.form.model.upload_other_info_doc,callback:function(t){e.$set(e.form.model,"upload_other_info_doc",t)},expression:"form.model.upload_other_info_doc"}})],1)]:e._e()],2),e._v(" "),e.form.model.id?t("el-review-message",{attrs:{applicationId:e.form.model.id,stage:e.form.model.status}},[t("el-form-item",{attrs:{prop:"upload_other_info","label-width":"0"}},[t("el-checkbox",{attrs:{"true-label":1,"false-label":0,disabled:!e.canEdit&&e.form.model.upload_other_info_review&&1===e.form.model.upload_other_info_review.status},model:{value:e.form.model.upload_other_info,callback:function(t){e.$set(e.form.model,"upload_other_info",t)},expression:"form.model.upload_other_info"}},[e._v(e._s(e.$t("lang.uploadOtherInfo")))])],1),e._v(" "),e.form.model.upload_other_info?[t("el-form-item",{attrs:{prop:"upload_other_info_msg","label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none",readonly:!e.canEdit&&e.form.model.upload_other_info_review&&1===e.form.model.upload_other_info_review.status},model:{value:e.form.model.upload_other_info_msg,callback:function(t){e.$set(e.form.model,"upload_other_info_msg",t)},expression:"form.model.upload_other_info_msg"}})],1),e._v(" "),t("el-form-item",{staticClass:"d-flex flex-column",attrs:{prop:"upload_other_info_doc","label-width":"0"}},[t("el-document-upload",{attrs:{multiple:!0,"base-url":e.baseUrl,action:e.baseUrl,text:e.$t("lang.action.upload"),application_status:e.form.model.status,readonly:!e.canEdit&&e.form.model.upload_other_info_review&&1===e.form.model.upload_other_info_review.status},model:{value:e.form.model.upload_other_info_doc,callback:function(t){e.$set(e.form.model,"upload_other_info_doc",t)},expression:"form.model.upload_other_info_doc"}})],1)]:e._e(),e._v(" "),e.form.model.upload_other_info_review&&0===e.form.model.upload_other_info_review.status?t("el-form-item",{staticClass:"rejection-reasons-form-item label-width-zero content-item-view",attrs:{label:e.$t("lang.reasonsForRejection"),"label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none",readonly:!0},model:{value:e.form.model.upload_other_info_review.rejection,callback:function(t){e.$set(e.form.model.upload_other_info_review,"rejection",t)},expression:"form.model.upload_other_info_review.rejection"}})],1):e._e()],2):e._e()],1),e._v(" "),t("div",{staticClass:"entry-application-footer"},[t("el-button",{staticClass:"empty-bule-btn",on:{click:function(t){return e.$router.push({path:"/applications/wels"})}}},[e._v(e._s(e.$t("lang.action.cancel")))]),e._v(" "),"100001"===e.form.model.laboratories||e.form.model.document_review&&0!==e.form.model.document_review.status||0!==e.form.model.status||!e.form.model.record||10!=e.form.model.record.type&&15!=e.form.model.record.type?e._e():t("el-button",{staticClass:"empty-bule-btn",on:{click:e.onSelectTurnDoc}},[e._v(e._s(e.$t("lang.reactivateLabUpload")))]),e._v(" "),e.form.model.id&&-1!=e.form.model.status&&0!==e.form.model.status?e._e():t("el-button",{staticClass:"empty-bule-btn",on:{click:e.onSaveForm}},[e._v(e._s(e.$t("lang.action.save")))]),e._v(" "),-1===e.form.model.status?t("el-button",{staticClass:"fill-blue-btn",on:{click:function(t){return e.handleCreate()}}}
1,[e._v(e._s(e.$t("lang.action.created")))]):e._e(),e._v(" "),0!==e.form.model.status||!e.form.model.record||10!=e.form.model.record.type&&15!=e.form.model.record.type?e._e():t("el-button",{staticClass:"fill-blue-btn",on:{click:function(t){return e.handleSubmit()}}},[e._v(e._s(e.$t("lang.action.submit")))])],1),e._v(" "),t("el-instructions-dialog",{attrs:{visible:e.showInstructionsDialog,content:e.instructionsContent},on:{"update:visible":function(t){e.showInstructionsDialog=t}}}),e._v(" "),t("el-wels-add-distributors-dialog",{attrs:{visible:e.showDistributorsDialog},on:{"update:visible":function(t){e.showDistributorsDialog=t},"on-add":e.onAddInfo}}),e._v(" "),t("el-dialog",{staticClass:"reutn-doc-dialog position-center",attrs:{visible:e.showSupporDocDialog,width:"680px",title:e.$t("lang.supportingDocuments")},on:{close:function(t){e.showSupporDocDialog=!1}}},[e.supporDocList&&e.supporDocList.length?t("el-checkbox-group",{model:{value:e.selectSupporDoc,callback:function(t){e.selectSupporDoc=t},expression:"selectSupporDoc"}},e._l(e.supporDocList,(function(a){return t("el-checkbox",{key:a.id,attrs:{label:a.id}},[e._v(e._s(`${a.test_report_no}(Wels)`))])})),1):e._e(),e._v(" "),t("template",{slot:"footer"},[t("el-button",{staticClass:"refuse-btn",on:{click:function(t){e.showSupporDocDialog=!1}}},[e._v("\r\n          "+e._s(e.$t("lang.action.close"))+"\r\n        ")]),e._v(" "),t("el-button",{staticClass:"agree-btn",attrs:{type:"primary"},on:{click:e.onSubmitSelectDoc}},[e._v(" "+e._s(e.$t("lang.action.submit"))+" ")])],1)],2)],1)],1)};lu._withStripped=!0;var nu=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),ru=function(){return ru=Object.assign||function(e){for(var t,a=1,o=arguments.length;a<o;a++)for(var l in t=arguments[a])Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l]);return e},ru.apply(this,arguments)},iu=x(),su=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.breadcrumb=[{path:"",title:t.$t("lang.eApplication")},{path:"/applications/wels",title:"WELS"},{path:"",title:t.$t("lang.urinalEquipment")}],t.api=x(),t.baseUrl="/api/afs/wsd",t.partMaxActive=1,t.partList=[{name:"lang.companyInformation"},{name:"lang.productInformation"},{name:"lang.supportDoc"},{name:"lang.participantObligations"},{name:"lang.applyMessageTitle"}],t.partActive=1,t.cardListTop=[],t.pageCenterNum=0,t.treaty="",t.agreeTreaty=!1,t.canEdit=!0,t.errMessage={111:t.$t("lang.pleaseCompleteAllRequiredFields"),90003:t.$t("lang.applicationAlreadyExists"),90005:t.$t("lang.applicationAlreadySubmit"),90007:t.$t("lang.applicationDraftErr"),90009:t.$t("lang.applicationTestReportErr")},t.form=new K({loader:"/public/wels/applications/:id",action:"/public/wels/applications",default:{wels_scheme:"wels_new",approval_scheme:"wels_urinal_equipment",status:-1,company_distributors:[]},rules:{laboratories:[{required:!0,message:t.$t("lang.pleaseChoose"),trigger:"change"}],company_name:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],english_company_name:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],company_type_other:[{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"}],company_address:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{max:250,message:"".concat(t.$t("lang.characterLength")," 250"),trigger:"blur"}],company_phone:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"},{validator:function(e,a,o){return qc(0,a,o,t.$t("lang.pleaseEnter"),t.$t("lang.pleaseEnterCorrectNum"))},trigger:"blur"}],company_fax:[{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"},{validator:function(e,a,o){return qc(0,a,o,"",t.$t("lang.pleaseEnterCorrectNum"))},trigger:"blur"}],company_email:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{type:"email",message:t.$t("lang.inputCorrectEmailAddress"),trigger:"blur"},{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"}],company_contact:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"}],lab_report_ref_doc:[{required:!0,message:t.$t("lang.pleaseUploadFile"),trigger:"blur"}],front_doc:[{required:!0,message:t.$t("lang.pleaseUploadFile"),trigger:"blur"}],product_category:[{required:!0,message:t.$t("lang.pleaseChoose"),trigger:"change"}],company_type:[{required:!0,message:t.$t("lang.pleaseChoose"),trigger:"change"}],agree:[{required:!0,message:t.$t("lang.pleaseChoose"),trigger:"change"}],lab_report_ref:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"}],description_of_urinal_equipment:[{required:!0,message:t.$t("lang.pleaseChoose"),trigger:"blur"}],contact_call:[{required:!0,message:t.$t("lang.pleaseChoose"),trigger:"blur"}],company_corresponding_address:[{max:250,message:"".concat(t.$t("lang.characterLength")," 250"),trigger:"blur"}],company_website:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],product_brand:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],product_model:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],product_name:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],product_region:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],valve_product_brand:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],valve_product_model:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],valve_product_name:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],valve_product_region:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],cistern_product_brand:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],cistern_product_model:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],cistern_product_name:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],cistern_product_region:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],pan_product_brand:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],pan_product_model:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],pan_product_name:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],pan_product_region:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}
1],water_efficiency_label:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],upload_other_info_msg:[{max:250,message:"".concat(t.$t("lang.characterLength")," 250"),trigger:"blur"}]},onSubmitSuccess:function(){t.successMessage("submit")},onSubmitFailure:function(e){var a=e?t.errMessage[e]:t.errMessage[111];a&&E().error({message:a,duration:5e3,showClose:!0})}}),t.showInstructionsDialog=!1,t.instructionsContent="",t.pickerOptions={disabledDate:function(e){return e.getTime()<Date.now()-864e5}},t.equipmentCategory="en-US"===t.$i18n.locale?un:"zh-CN"===t.$i18n.locale?fn:mn,t.companyType="en-US"===t.$i18n.locale?xn:"zh-CN"===t.$i18n.locale?Sn:En,t.typesOfDesOfUrinalEq="en-US"===t.$i18n.locale?Rn:"zh-CN"===t.$i18n.locale?Fn:In,t.categoryOption="en-US"===t.$i18n.locale?un:"zh-CN"===t.$i18n.locale?fn:mn,t.showSupporDocDialog=!1,t.supporDocList=[],t.selectSupporDoc=[],t.showDistributorsDialog=!1,t}return nu(t,e),t.prototype.onChange=function(e){this.errMessage={90003:this.$t("lang.applicationAlreadyExists"),90005:this.$t("lang.applicationAlreadySubmit")},this.breadcrumb=[{path:"",title:this.$t("lang.eApplication")},{path:"/applications/wels",title:"WELS"},{path:"",title:this.$t("lang.urinalEquipment")}],this.equipmentCategory="en-US"===this.$i18n.locale?un:"zh-CN"===this.$i18n.locale?fn:mn,this.companyType="en-US"===this.$i18n.locale?xn:"zh-CN"===this.$i18n.locale?Sn:En,this.typesOfDesOfUrinalEq="en-US"===this.$i18n.locale?Rn:"zh-CN"===this.$i18n.locale?Fn:In},t.prototype.onShowInstructionsDialog=function(e){switch(this.showInstructionsDialog=!0,e){case"system":this.instructionsContent=this.$t("lang.urinalequipmentDdocProofDesignInstructions");break;case"certificate":this.instructionsContent=this.$t("lang.cerOfAccreditationInstructions");break;case"report":this.instructionsContent=this.$t("lang.reportWelsEquipmentInstructions");break;case"labelling":this.instructionsContent=this.$t("lang.reportInstructions")}},t.prototype.onShowDistributorsDialog=function(){this.showDistributorsDialog=!0},t.prototype.handleCreate=function(){var e=this;if(!this.form.model.disclaimer)return E().error({message:"".concat(this.$t("lang.agreeToTreaty")),duration:5e3,showClose:!0}),!1;var t=this.form.model.status;this.form.model.status=0,this.form.model.id?this.form.validate().then((function(){var a=n().service({lock:!0});iu.post("/public/wels/applications/drafted/submit",e.form.model).then((function(t){a.close(),E().success({duration:5e3,showClose:!0,message:e.$t("lang.successfullySubmitted")}),e.$router.push({path:"/applications/wels"})})).catch((function(o){a.close(),e.form.model.status=t;var l=e.errMessage[o];l&&E().error({message:l,showClose:!0,duration:5e3})}))})).catch((function(a){e.submitErrMessage(!1),e.form.model.status=t})):this.form.submit().catch((function(a){return e.form.model.status=t}))},t.prototype.handleSubmit=function(){var e=this;if(!this.form.model.disclaimer)return E().error({message:"".concat(this.$t("lang.agreeToTreaty")),duration:5e3,showClose:!0}),!1;var t=n().service({lock:!0});iu.post("/public/wels/applications/submit",this.form.model).then((function(a){t.close(),E().success({duration:5e3,showClose:!0,message:e.$t("lang.successfullySubmitted")}),e.$router.push({path:"/applications/wels"})})).catch((function(a){t.close();var o=e.errMessage[a];o&&E().error({message:o,showClose:!0,duration:5e3})}))},t.prototype.onSaveForm=function(){var e=this,t=this.form.model.status,a=n().service({lock:!0});this.form.model.id?iu.put("/public/wels/applications",this.form.model).then((function(t){e.successMessage("save"),a.close()})).catch((function(o){e.form.model.status=t,e.submitErrMessage(o),a.close()})):iu.post("/public/wels/applications",this.form.model).then((function(t){e.successMessage("save"),a.close()})).catch((function(o){e.form.model.status=t,e.submitErrMessage(o),a.close()}))},t.prototype.successMessage=function(e,t){void 0===e&&(e="save"),void 0===t&&(t=!0),E().success({duration:5e3,showClose:!0,message:"save"===e?this.$t("lang.successfullySaved"):this.$t("lang.successfullySubmitted")}),t&&this.$router.push({path:"/applications/wels"})},t.prototype.submitErrMessage=function(e){var t=e?this.errMessage[e]:this.errMessage[111];t&&E().error({message:t,showClose:!0,duration:5e3})},t.prototype.onSelectTurnDoc=function(){var e=this;iu.get("/laboratory/reactive/all?application_id=".concat(this.form.model.source_id)).then((function(t){console.log("res",t),e.supporDocList=t,e.showSupporDocDialog=!0}))},t.prototype.onSubmitSelectDoc=function(){var e=this;if(0===this.selectSupporDoc.length)return E().error({message:this.$t("lang.pleaseTickNum"),duration:5e3,showClose:!0}),!1;iu.post("public/wels/applications/laboratory/reactive",{ids:this.selectSupporDoc}).then((function(){E().success({message:e.$t("lang.submittedSuccessfully"),duration:5e3,showClose:!0}),e.showSupporDocDialog=!1,e.form.load({id:e.form.model.id})}))},t.prototype.onDeleteInfo=function(e){this.form.model.company_distributors.splice(e,1)},t.prototype.onAddInfo=function(e){this.form.model.company_distributors.push(e),this.showDistributorsDialog=!1},t.prototype.onScrollTo=function(e){document.querySelector(".page-content-view").scrollTop=this.cardListTop[e]-10},t.prototype.handleScroll=function(){for(var e=document.querySelectorAll(".entry-application-item-card"),t=document.querySelector(".page-content-view"),a=null==t?void 0:t.scrollTop,o=[],l=0;l<e.length;l++)o.push(e[l].offsetTop);var n;n=(null==t?void 0:t.scrollHeight)&&a+(null==t?void 0:t.clientHeight)>=(null==t?void 0:t.scrollHeight)?o.concat([]):a<20?[]:o.filter((function(e){return e-12<a})),this.partMaxActive=n.length||1,this.cardListTop=o.concat([])},t.prototype.mounted=function(){var e=this;this.$nextTick((function(){var t,a;window.addEventListener("scroll",e.handleScroll,!0);var o=(null===(t=document.querySelector("body"))||void 0===t?void 0:t.clientHeight)||0,l=(null===(a=document.querySelector(".el-header"))||void 0===a?void 0:a.clientHeight)||0;e.pageCenterNum=o?o/2-107-l:0;for(var n=document.querySelectorAll(".entry-application-item-card"),r=0;r<n.length;r++)e.cardListTop.push(n[r].offsetTop)}))},t.prototype.beforeMount=function(){var e=this;this.$route.params.id&&this.form.load({id:this.$route.params.id}),this.$route.params.id||iu.get("/public/wels/applications/latest").then((function(t){e.form.reset(ru(ru({},e.form.default),{company_name:null==t?void 0:t.company_name,company_address:null==t?void 0:t.company_address,company_contact:null==t?void 0:t.company_contact,company_corresponding_address:null==t?void 0:t.company_corresponding_address,company_distributors:(null==t?void 0:t.company_distributors)||[],company_email:null==t?void 0:t.company_email,company_fax:null==t?void 0:t.company_fax,company_phone:null==t?void 0:t.company_phone,company_type:null==t?void 0:t.company_type,company_type_other:null==t?void 0:t.company_type_other,company_website:null==t?void 0:t.company_website,contact_call:null==t?void 0:t.contact_call,english_company_name:null==t?void 0:t.english_company_name}))}))},function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r}([(0,o.wA)({components:{ElAdminContainer:Da,ElForm:ae,ElFormItem:pt,ElColumnRow:ke,ElButton:Ge,ElCard:fe(),ElInput:Ze(),ElSelectTag:ds,ElTable:go,ElTableColumn:Uo(),ElDocumentUpload:Eo,ElReviewMessage:lc,ElInstructionsDialog:vc,ElWelsAddDistributorsDialog:Cp,ElDatePicker:Ho(),ElSelect:Pr,ElWelsCompanyInfoForm:Pp,ElWelsProductInfoForm:qp,ElPartMenus:Lc,ElWelsSupportDocForm:Wp},beforeRouteEnter:function(e,t,a){iu.get("/public/setting/agreement",{params:{application_type:18,type:10}}).then((function(t){return a((function(a){var o;!(null===(o=e.params)||void 0===o?void 0:o.id)||(a.canEdit=!1),a.treaty="en-US"===a.$i18n.locale?null==t?void 0:t.english_agreement:"zh-CN"===a.$i18n.locale?null==t?void 0:t.agreement:null==t?void 0:t.traditional_agreement}))}))}})],t)}(o.w3),cu=su,du=(0,z.Z)(cu,lu,[],!1,null,null,null).exports,pu=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-admin-container",{class:["page-wels-apply","page-wels-bathing-apply","page-review-application","en-US"===e.$i18n.locale?"page-wels-bathing-apply-en":""],attrs:{breadcrumb:e.breadcrumb,showMenusPart:!0}},[t("el-part-menus",{attrs:{slot:"part-menus",menus:e.partList,active:e.partMaxActive},on:{"on-scroll-to":e.onScrollTo},slot:"part-menus"}),e._v(" "),t("div",{staticClass:"container entry-application-content"},[t("el-form",{attrs:{store:e.form,hasLabelSuffix:!1,rules:e.form.rules},nativeOn:{submit:function(e){e.preventDefault()}}},[t("el-card",{staticClass:"entry-application-item-card company-info-card",attrs:{shadow:"never"}},[t("el-wels-company-info-form",{attrs:{canEdit:e.canEdit},on:{"on-delete-info":e.onDeleteInfo},model:{value:e.form.model,callback:function(t){e.$set(e.form,"model",t)},expression:"form.model"}})],1),e._v(" "),t("el-card",{staticClass:"entry-application-item-card product-info-card",attrs:{shadow:"never"}},[t("el-wels-product-info-form",{attrs:{productViewTitle:e.$t("lang.frontBottomViews"),showCategory:!1,showBasicInfo:!1,canEdit:e.canEdit},model:{value:e.form.model,callback:function(t){e.$set(e.form,"model",t)},expression:"form.model"}},[t("div",{attrs:{slot:"other-product-info"},slot:"other-product-info"},[t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.typesOfWaterCloset"),percent:.4,prop:"types_of_water_closet"}},[t("label",{attrs:{for:"qms_form_types_of_water_closet",hidden:""}},[e._v("''")]),e._v(" "),t("el-select",{attrs:{id:"qms_form_types_of_water_closet",loader:e.typesOfWaterCloset,clearable:!0,disabled:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.types_of_water_closet,callback:function(t){e.$set(e.form.model,"types_of_water_closet",t)},expression:"form.model.types_of_water_closet"}})],1),e._v(" "),"one_price_pan"===e.form.model.types_of_water_closet?[t("div",{staticClass:"other-product-info-card"},[t("p",{staticClass:"header"},[e._v(e._s(e.$t("lang.wcSuiteProductInfo")))]),e._v(" "),t("div",{staticClass:"body-view"},[t("el-column-row",[t("el-form-item",{attrs:{percent:.4,label:e.$t("lang.formHeader.brand")}},[t("el-input",{attrs:{placeholder:e.$t("lang.formHeader.brand"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.product_brand,callback:function(t){e.$set(e.form.model,"product_brand",t)},expression:"form.model.product_brand"}})],1),e._v(" "),t("el-form-item",{attrs:{percent:.4,label:e.$t("lang.modelNo")}},[t("el-input",{attrs:{placeholder:e.$t("lang.modelNo"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.product_model,callback:function(t){e.$set(e.form.model,"product_model",t)},expression:"form.model.product_model"}}
1)],1)],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto",attrs:{percent:.4,label:e.$t("lang.nameIfAny")}},[t("el-input",{attrs:{placeholder:e.$t("lang.nameIfAny"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.product_name,callback:function(t){e.$set(e.form.model,"product_name",t)},expression:"form.model.product_name"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{percent:.4,label:e.$t("lang.countryRegionOfOrigin")}},[t("el-input",{attrs:{placeholder:e.$t("lang.countryRegionOfOrigin"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.product_region,callback:function(t){e.$set(e.form.model,"product_region",t)},expression:"form.model.product_region"}})],1)],1)],1)])]:e._e(),e._v(" "),"close_coupled_suite"===e.form.model.types_of_water_closet?[t("div",{staticClass:"other-product-info-card"},[t("p",{staticClass:"header"},[e._v(e._s(e.$t("lang.panProductInfo")))]),e._v(" "),t("div",{staticClass:"body-view"},[t("el-column-row",[t("el-form-item",{attrs:{percent:.4,label:e.$t("lang.formHeader.brand")}},[t("el-input",{attrs:{placeholder:e.$t("lang.formHeader.brand"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.pan_product_brand,callback:function(t){e.$set(e.form.model,"pan_product_brand",t)},expression:"form.model.pan_product_brand"}})],1),e._v(" "),t("el-form-item",{attrs:{percent:.4,label:e.$t("lang.modelNo")}},[t("el-input",{attrs:{placeholder:e.$t("lang.modelNo"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.pan_product_model,callback:function(t){e.$set(e.form.model,"pan_product_model",t)},expression:"form.model.pan_product_model"}})],1)],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto",attrs:{percent:.4,label:e.$t("lang.nameIfAny")}},[t("el-input",{attrs:{placeholder:e.$t("lang.nameIfAny"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.pan_product_name,callback:function(t){e.$set(e.form.model,"pan_product_name",t)},expression:"form.model.pan_product_name"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{percent:.4,label:e.$t("lang.countryRegionOfOrigin")}},[t("el-input",{attrs:{placeholder:e.$t("lang.countryRegionOfOrigin"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.pan_product_region,callback:function(t){e.$set(e.form.model,"pan_product_region",t)},expression:"form.model.pan_product_region"}})],1)],1)],1)])]:e._e(),e._v(" "),"cistern"===e.form.model.types_of_water_closet||"close_coupled_suite"===e.form.model.types_of_water_closet?[t("div",{staticClass:"other-product-info-card"},[t("p",{staticClass:"header"},[e._v(e._s(e.$t("lang.cisternProductInfo")))]),e._v(" "),t("div",{staticClass:"body-view"},[t("el-column-row",[t("el-form-item",{attrs:{percent:.4,label:e.$t("lang.formHeader.brand")}},[t("el-input",{attrs:{placeholder:e.$t("lang.formHeader.brand"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.cistern_product_brand,callback:function(t){e.$set(e.form.model,"cistern_product_brand",t)},expression:"form.model.cistern_product_brand"}})],1),e._v(" "),t("el-form-item",{attrs:{percent:.4,label:e.$t("lang.modelNo")}},[t("el-input",{attrs:{placeholder:e.$t("lang.modelNo"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.cistern_product_model,callback:function(t){e.$set(e.form.model,"cistern_product_model",t)},expression:"form.model.cistern_product_model"}})],1)],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto",attrs:{percent:.4,label:e.$t("lang.nameIfAny")}},[t("el-input",{attrs:{placeholder:e.$t("lang.nameIfAny"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.cistern_product_name,callback:function(t){e.$set(e.form.model,"cistern_product_name",t)},expression:"form.model.cistern_product_name"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{percent:.4,label:e.$t("lang.countryRegionOfOrigin")}},[t("el-input",{attrs:{placeholder:e.$t("lang.countryRegionOfOrigin"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.cistern_product_region,callback:function(t){e.$set(e.form.model,"cistern_product_region",t)},expression:"form.model.cistern_product_region"}})],1)],1)],1)])]:e._e(),e._v(" "),"one_price_pan"==e.form.model.types_of_water_closet||"cistern"==e.form.model.types_of_water_closet||"close_coupled_suite"==e.form.model.types_of_water_closet?[t("div",{staticClass:"other-product-info-card"},[t("p",{staticClass:"header"},[e._v(e._s(e.$t("lang.valveProductInfo")))]),e._v(" "),t("div",{staticClass:"body-view"},[t("el-column-row",[t("el-form-item",{attrs:{percent:.4,label:e.$t("lang.formHeader.brand"),prop:"valve_product_brand"}},[t("el-input",{attrs:{placeholder:e.$t("lang.formHeader.brand"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.valve_product_brand,callback:function(t){e.$set(e.form.model,"valve_product_brand",t)},expression:"form.model.valve_product_brand"}})],1),e._v(" "),t("el-form-item",{attrs:{percent:.4,label:e.$t("lang.modelNo"),prop:"valve_product_model"}}
1,[t("el-input",{attrs:{placeholder:e.$t("lang.modelNo"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.valve_product_model,callback:function(t){e.$set(e.form.model,"valve_product_model",t)},expression:"form.model.valve_product_model"}})],1)],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto",attrs:{percent:.4,label:e.$t("lang.nameIfAny"),prop:"valve_product_name"}},[t("el-input",{attrs:{placeholder:e.$t("lang.nameIfAny"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.valve_product_name,callback:function(t){e.$set(e.form.model,"valve_product_name",t)},expression:"form.model.valve_product_name"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{percent:.4,label:e.$t("lang.countryRegionOfOrigin"),prop:"valve_product_region"}},[t("el-input",{attrs:{placeholder:e.$t("lang.countryRegionOfOrigin"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.valve_product_region,callback:function(t){e.$set(e.form.model,"valve_product_region",t)},expression:"form.model.valve_product_region"}})],1)],1)],1)])]:e._e(),e._v(" "),"pan"===e.form.model.types_of_water_closet?[t("div",{staticClass:"other-product-info-card"},[t("div",{staticClass:"body-view"},[t("el-column-row",[t("el-form-item",{attrs:{percent:.4,label:e.$t("lang.formHeader.brand")}},[t("el-input",{attrs:{placeholder:e.$t("lang.formHeader.brand"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.pan_product_brand,callback:function(t){e.$set(e.form.model,"pan_product_brand",t)},expression:"form.model.pan_product_brand"}})],1),e._v(" "),t("el-form-item",{attrs:{percent:.4,label:e.$t("lang.modelNo")}},[t("el-input",{attrs:{placeholder:e.$t("lang.modelNo"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.pan_product_model,callback:function(t){e.$set(e.form.model,"pan_product_model",t)},expression:"form.model.pan_product_model"}})],1)],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto",attrs:{percent:.4,label:e.$t("lang.nameIfAny")}},[t("el-input",{attrs:{placeholder:e.$t("lang.nameIfAny"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.pan_product_name,callback:function(t){e.$set(e.form.model,"pan_product_name",t)},expression:"form.model.pan_product_name"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{percent:.4,label:e.$t("lang.countryRegionOfOrigin")}},[t("el-input",{attrs:{placeholder:e.$t("lang.countryRegionOfOrigin"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.pan_product_region,callback:function(t){e.$set(e.form.model,"pan_product_region",t)},expression:"form.model.pan_product_region"}})],1)],1)],1)])]:e._e(),e._v(" "),t("el-form-item",{staticClass:"label-width-zero bottom-dividing-line"},[t("el-checkbox",{attrs:{"true-label":1,"false-label":0,disabled:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.agree,callback:function(t){e.$set(e.form.model,"agree",t)},expression:"form.model.agree"}},[e._v(e._s(e.$t("lang.waterClosetsVariationAgreement")))])],1)],2)])],1),e._v(" "),t("el-card",{staticClass:"entry-application-item-card company-info-card",attrs:{shadow:"never"}},[t("el-wels-support-doc-form",{attrs:{canEdit:e.canEdit},model:{value:e.form.model,callback:function(t){e.$set(e.form,"model",t)},expression:"form.model"}},[t("el-form-item",{staticClass:"product-catalog-form-item d-flex flex-column label-flex-center label-width-zero",attrs:{percent:.8,"label-width":"0"}},[t("template",{slot:"label"},[e._v("\r\n              "+e._s(e.$t("lang.docProofDesign"))+"\r\n              "),t("el-button",{staticClass:"no-border-btn question-mark-btn",attrs:{"aria-label":"wels_form_production_system_tip",icon:"iconfont a-ico_"},on:{click:function(t){return e.onShowInstructionsDialog("system")}}})],1),e._v(" "),t("el-document-upload",{attrs:{multiple:!0,"base-url":e.baseUrl,action:e.baseUrl,application_status:e.form.model.status,readonly:!e.canEdit&&e.form.model.document_review&&1===e.form.model.document_review.status},model:{value:e.form.model.production_system_doc,callback:function(t){e.$set(e.form.model,"production_system_doc",t)},expression:"form.model.production_system_doc"}}
1)],2),e._v(" "),"one_price_pan"==e.form.model.types_of_water_closet||"cistern"==e.form.model.types_of_water_closet||"close_coupled_suite"==e.form.model.types_of_water_closet?t("el-form-item",{staticClass:"label-width-zero",attrs:{label:e.$t("lang.valveGaUploadFile"),percent:.8,"label-width":"0"}},[t("el-document-upload",{attrs:{multiple:!0,"base-url":e.baseUrl,action:e.baseUrl,application_status:e.form.model.status,readonly:!e.canEdit&&e.form.model.document_review&&1===e.form.model.document_review.status},model:{value:e.form.model.ga_upload_doc,callback:function(t){e.$set(e.form.model,"ga_upload_doc",t)},expression:"form.model.ga_upload_doc"}})],1):e._e()],1)],1),e._v(" "),t("el-card",{staticClass:"entry-application-item-card",attrs:{shadow:"never"}},[t("p",{staticClass:"application-item-card-title",attrs:{slot:"header"},slot:"header"},[e._v("\r\n          "+e._s(e.$t("lang.participantObligations"))+"\r\n        ")]),e._v(" "),t("el-column-row",{staticClass:"treaty-view"},[t("div",{domProps:{innerHTML:e._s(e.treaty)}}),e._v(" "),t("div",{staticClass:"agree-treaty-view margin-top-10"},[t("el-checkbox",{attrs:{"true-label":1,"false-label":0},model:{value:e.form.model.disclaimer,callback:function(t){e.$set(e.form.model,"disclaimer",t)},expression:"form.model.disclaimer"}},[e._v(e._s(e.$t("lang.tickToAgree")))])],1)])],1),e._v(" "),e.form.model.id?e._e():t("el-card",{staticClass:"applicant-card entry-application-item-card",attrs:{shadow:"never"}},[t("template",{slot:"header"},[e._v(e._s(e.$t("lang.applyMessageTitle")))]),e._v(" "),t("el-form-item",{attrs:{prop:"upload_other_info","label-width":"0"}},[t("el-checkbox",{attrs:{"true-label":1,"false-label":0},model:{value:e.form.model.upload_other_info,callback:function(t){e.$set(e.form.model,"upload_other_info",t)},expression:"form.model.upload_other_info"}},[e._v(e._s(e.$t("lang.uploadOtherInfo")))])],1),e._v(" "),e.form.model.upload_other_info?[t("el-form-item",{attrs:{prop:"upload_other_info_msg","label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none"},model:{value:e.form.model.upload_other_info_msg,callback:function(t){e.$set(e.form.model,"upload_other_info_msg",t)},expression:"form.model.upload_other_info_msg"}})],1),e._v(" "),t("el-form-item",{staticClass:"d-flex flex-column",attrs:{prop:"upload_other_info_doc","label-width":"0"}},[t("el-document-upload",{attrs:{multiple:!0,application_status:e.form.model.status,"base-url":e.baseUrl,action:e.baseUrl,readonly:!e.canEdit},model:{value:e.form.model.upload_other_info_doc,callback:function(t){e.$set(e.form.model,"upload_other_info_doc",t)},expression:"form.model.upload_other_info_doc"}})],1)]:e._e()],2),e._v(" "),e.form.model.id?t("el-review-message",{attrs:{applicationId:e.form.model.id,stage:e.form.model.status}},[t("el-form-item",{attrs:{prop:"upload_other_info","label-width":"0"}},[t("el-checkbox",{attrs:{"true-label":1,"false-label":0,disabled:!e.canEdit&&e.form.model.upload_other_info_review&&1===e.form.model.upload_other_info_review.status},model:{value:e.form.model.upload_other_info,callback:function(t){e.$set(e.form.model,"upload_other_info",t)},expression:"form.model.upload_other_info"}},[e._v(e._s(e.$t("lang.uploadOtherInfo")))])],1),e._v(" "),e.form.model.upload_other_info?[t("el-form-item",{attrs:{prop:"upload_other_info_msg","label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none",readonly:!e.canEdit&&e.form.model.upload_other_info_review&&1===e.form.model.upload_other_info_review.status},model:{value:e.form.model.upload_other_info_msg,callback:function(t){e.$set(e.form.model,"upload_other_info_msg",t)},expression:"form.model.upload_other_info_msg"}})],1),e._v(" "),t("el-form-item",{staticClass:"d-flex flex-column",attrs:{prop:"upload_other_info_doc","label-width":"0"}},[t("el-document-upload",{attrs:{multiple:!0,"base-url":e.baseUrl,action:e.baseUrl,text:e.$t("lang.action.upload"),application_status:e.form.model.status,readonly:!e.canEdit&&e.form.model.upload_other_info_review&&1===e.form.model.upload_other_info_review.status},model:{value:e.form.model.upload_other_info_doc,callback:function(t){e.$set(e.form.model,"upload_other_info_doc",t)},expression:"form.model.upload_other_info_doc"}})],1)]:e._e(),e._v(" "),e.form.model.upload_other_info_review&&0===e.form.model.upload_other_info_review.status?t("el-form-item",{staticClass:"rejection-reasons-form-item label-width-zero content-item-view",attrs:{label:e.$t("lang.reasonsForRejection"),"label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none",readonly:!0},model:{value:e.form.model.upload_other_info_review.rejection,callback:function(t){e.$set(e.form.model.upload_other_info_review,"rejection",t)},expression:"form.model.upload_other_info_review.rejection"}}
1)],1):e._e()],2):e._e()],1),e._v(" "),t("div",{staticClass:"entry-application-footer"},[t("el-button",{staticClass:"empty-bule-btn",on:{click:function(t){return e.$router.push({path:"/applications/wels"})}}},[e._v(e._s(e.$t("lang.action.cancel")))]),e._v(" "),"100001"===e.form.model.laboratories||e.form.model.document_review&&0!==e.form.model.document_review.status||0!==e.form.model.status||!e.form.model.record||10!=e.form.model.record.type&&15!=e.form.model.record.type?e._e():t("el-button",{staticClass:"empty-bule-btn",on:{click:e.onSelectTurnDoc}},[e._v(e._s(e.$t("lang.reactivateLabUpload")))]),e._v(" "),e.form.model.id&&-1!=e.form.model.status&&0!==e.form.model.status?e._e():t("el-button",{staticClass:"empty-bule-btn",on:{click:e.onSaveForm}},[e._v(e._s(e.$t("lang.action.save")))]),e._v(" "),-1===e.form.model.status?t("el-button",{staticClass:"fill-blue-btn",on:{click:function(t){return e.handleCreate()}}},[e._v(e._s(e.$t("lang.action.created")))]):e._e(),e._v(" "),0!==e.form.model.status||!e.form.model.record||10!=e.form.model.record.type&&15!=e.form.model.record.type?e._e():t("el-button",{staticClass:"fill-blue-btn",on:{click:function(t){return e.handleSubmit()}}},[e._v(e._s(e.$t("lang.action.submit")))])],1),e._v(" "),t("el-instructions-dialog",{attrs:{visible:e.showInstructionsDialog,content:e.instructionsContent},on:{"update:visible":function(t){e.showInstructionsDialog=t}}}),e._v(" "),t("el-wels-add-distributors-dialog",{attrs:{visible:e.showDistributorsDialog},on:{"update:visible":function(t){e.showDistributorsDialog=t},"on-add":e.onAddInfo}}),e._v(" "),t("el-dialog",{staticClass:"reutn-doc-dialog position-center",attrs:{visible:e.showSupporDocDialog,width:"680px",title:e.$t("lang.supportingDocuments")},on:{close:function(t){e.showSupporDocDialog=!1}}},[e.supporDocList&&e.supporDocList.length?t("el-checkbox-group",{model:{value:e.selectSupporDoc,callback:function(t){e.selectSupporDoc=t},expression:"selectSupporDoc"}},e._l(e.supporDocList,(function(a){return t("el-checkbox",{key:a.id,attrs:{label:a.id}},[e._v(e._s(`${a.test_report_no}(Wels)`))])})),1):e._e(),e._v(" "),t("template",{slot:"footer"},[t("el-button",{staticClass:"refuse-btn",on:{click:function(t){e.showSupporDocDialog=!1}}},[e._v("\r\n          "+e._s(e.$t("lang.action.close"))+"\r\n        ")]),e._v(" "),t("el-button",{staticClass:"agree-btn",attrs:{type:"primary"},on:{click:e.onSubmitSelectDoc}},[e._v(" "+e._s(e.$t("lang.action.submit"))+" ")])],1)],2)],1)],1)};pu._withStripped=!0;var uu=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),mu=function(){return mu=Object.assign||function(e){for(var t,a=1,o=arguments.length;a<o;a++)for(var l in t=arguments[a])Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l]);return e},mu.apply(this,arguments)},fu=x(),_u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.breadcrumb=[{path:"",title:t.$t("lang.eApplication")},{path:"/applications/wels",title:"WELS"},{path:"",title:t.$t("lang.waterClosets")}],t.api=x(),t.baseUrl="/api/afs/wsd",t.partMaxActive=1,t.partList=[{name:"lang.companyInformation"},{name:"lang.productInformation"},{name:"lang.supportDoc"},{name:"lang.participantObligations"},{name:"lang.applyMessageTitle"}],t.partActive=1,t.cardListTop=[],t.pageCenterNum=0,t.treaty="",t.agreeTreaty=!1,t.canEdit=!0,t.errMessage={111:t.$t("lang.pleaseCompleteAllRequiredFields"),90003:t.$t("lang.applicationAlreadyExists"),90005:t.$t("lang.applicationAlreadySubmit"),90007:t.$t("lang.applicationDraftErr"),90009:t.$t("lang.applicationTestReportErr")},t.form=new K({loader:"/public/wels/applications/:id",action:"/public/wels/applications",default:{wels_scheme:"wels_new",approval_scheme:"wels_water_closets",status:-1,company_distributors:[],agree:0},rules:{laboratories:[{required:!0,message:t.$t("lang.pleaseChoose"),trigger:"change"}],company_name:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],english_company_name:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],company_type_other:[{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"}],company_address:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{max:250,message:"".concat(t.$t("lang.characterLength")," 250"),trigger:"blur"}],company_phone:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"},{validator:function(e,a,o){return qc(0,a,o,t.$t("lang.pleaseEnter"),t.$t("lang.pleaseEnterCorrectNum"))},trigger:"blur"}],company_fax:[{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"},{validator:function(e,a,o){return qc(0,a,o,"",t.$t("lang.pleaseEnterCorrectNum"))},trigger:"blur"}],company_email:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{type:"email",message:t.$t("lang.inputCorrectEmailAddress"),trigger:"blur"},{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"}],company_contact:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"}],lab_report_ref_doc:[{required:!0,message:t.$t("lang.pleaseUploadFile"),trigger:"blur"}],front_doc:[{required:!0,message:t.$t("lang.pleaseUploadFile"),trigger:"blur"}],company_type:[{required:!0,message:t.$t("lang.pleaseChoose"),trigger:"change"}],agree:[{required:!0,message:t.$t("lang.pleaseChoose"),trigger:"change"}],lab_report_ref:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"}],types_of_water_closet:[{required:!0,message:t.$t("lang.pleaseChoose"),trigger:"blur"}],contact_call:[{required:!0,message:t.$t("lang.pleaseChoose"),trigger:"blur"}],company_corresponding_address:[{max:250,message:"".concat(t.$t("lang.characterLength")," 250"),trigger:"blur"}],company_website:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],product_brand:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],product_model:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],product_name:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],product_region:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],valve_product_brand:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],valve_product_model:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],valve_product_name:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],valve_product_region:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],cistern_product_brand:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],cistern_product_model:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],cistern_product_name:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],cistern_product_region:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],pan_product_brand:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],pan_product_model:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],pan_product_name:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],pan_product_region:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}
1],water_efficiency_label:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],upload_other_info_msg:[{max:250,message:"".concat(t.$t("lang.characterLength")," 250"),trigger:"blur"}]},onSubmitSuccess:function(){t.successMessage("submit")},onSubmitFailure:function(e){var a=e?t.errMessage[e]:t.errMessage[111];a&&E().error({message:a,duration:5e3,showClose:!0})}}),t.showInstructionsDialog=!1,t.instructionsContent="",t.companyType="en-US"===t.$i18n.locale?xn:"zh-CN"===t.$i18n.locale?Sn:En,t.typesOfWaterCloset="en-US"===t.$i18n.locale?Pn:"zh-CN"===t.$i18n.locale?Tn:Dn,t.showSupporDocDialog=!1,t.supporDocList=[],t.selectSupporDoc=[],t.pickerOptions={disabledDate:function(e){return e.getTime()<Date.now()-864e5}},t.showDistributorsDialog=!1,t}return uu(t,e),t.prototype.onChange=function(e){this.errMessage={90003:this.$t("lang.applicationAlreadyExists"),90005:this.$t("lang.applicationAlreadySubmit")},this.companyType="en-US"===this.$i18n.locale?xn:"zh-CN"===this.$i18n.locale?Sn:En,this.typesOfWaterCloset="en-US"===this.$i18n.locale?Pn:"zh-CN"===this.$i18n.locale?Tn:Dn},t.prototype.onShowInstructionsDialog=function(e){switch(this.showInstructionsDialog=!0,e){case"system":this.instructionsContent=this.$t("lang.waterClosetDdocProofDesignInstructions");break;case"certificate":this.instructionsContent=this.$t("lang.cerOfAccreditationInstructions");break;case"report":this.instructionsContent=this.$t("lang.reportInstructions")}},t.prototype.onShowDistributorsDialog=function(){this.showDistributorsDialog=!0},t.prototype.handleCreate=function(){var e=this;if(!this.form.model.disclaimer)return E().error({message:"".concat(this.$t("lang.agreeToTreaty")),duration:5e3,showClose:!0}),!1;var t=this.form.model.status;this.form.model.status=0,this.form.model.id?this.form.validate().then((function(){var a=n().service({lock:!0});fu.post("/public/wels/applications/drafted/submit",e.form.model).then((function(t){a.close(),E().success({duration:5e3,showClose:!0,message:e.$t("lang.successfullySubmitted")}),e.$router.push({path:"/applications/wels"})})).catch((function(o){a.close(),e.form.model.status=t;var l=e.errMessage[o];l&&E().error({message:l,showClose:!0,duration:5e3})}))})).catch((function(a){e.submitErrMessage(!1),e.form.model.status=t})):this.form.submit().catch((function(a){return e.form.model.status=t}))},t.prototype.handleSubmit=function(){var e=this;if(!this.form.model.disclaimer)return E().error({message:"".concat(this.$t("lang.agreeToTreaty")),duration:5e3,showClose:!0}),!1;var t=n().service({lock:!0});fu.post("/public/wels/applications/submit",this.form.model).then((function(a){t.close(),E().success({duration:5e3,showClose:!0,message:e.$t("lang.successfullySubmitted")}),e.$router.push({path:"/applications/wels"})})).catch((function(a){t.close();var o=e.errMessage[a];o&&E().error({message:o,showClose:!0,duration:5e3})}))},t.prototype.onSaveForm=function(){var e=this,t=this.form.model.status,a=n().service({lock:!0});this.form.model.id?fu.put("/public/wels/applications",this.form.model).then((function(t){e.successMessage("save"),a.close()})).catch((function(o){e.form.model.status=t,e.submitErrMessage(o),a.close()})):fu.post("/public/wels/applications",this.form.model).then((function(t){e.successMessage("save"),a.close()})).catch((function(o){e.form.model.status=t,e.submitErrMessage(o),a.close()}))},t.prototype.successMessage=function(e,t){void 0===e&&(e="save"),void 0===t&&(t=!0),E().success({duration:5e3,showClose:!0,message:"save"===e?this.$t("lang.successfullySaved"):this.$t("lang.successfullySubmitted")}),t&&this.$router.push({path:"/applications/wels"})},t.prototype.submitErrMessage=function(e){var t=e?this.errMessage[e]:this.errMessage[111];t&&E().error({message:t,showClose:!0,duration:5e3})},t.prototype.onSelectTurnDoc=function(){var e=this;fu.get("/laboratory/reactive/all?application_id=".concat(this.form.model.source_id)).then((function(t){console.log("res",t),e.supporDocList=t,e.showSupporDocDialog=!0}))},t.prototype.onSubmitSelectDoc=function(){var e=this;if(0===this.selectSupporDoc.length)return E().error({message:this.$t("lang.pleaseTickNum"),duration:5e3,showClose:!0}),!1;fu.post("public/wels/applications/laboratory/reactive",{ids:this.selectSupporDoc}).then((function(){E().success({message:e.$t("lang.submittedSuccessfully"),duration:5e3,showClose:!0}),e.showSupporDocDialog=!1,e.form.load({id:e.form.model.id})}))},t.prototype.onDeleteInfo=function(e){this.form.model.company_distributors.splice(e,1)},t.prototype.onAddInfo=function(e){this.form.model.company_distributors.push(e),this.showDistributorsDialog=!1},t.prototype.onScrollTo=function(e){document.querySelector(".page-content-view").scrollTop=this.cardListTop[e]-10},t.prototype.handleScroll=function(){for(var e=document.querySelectorAll(".entry-application-item-card"),t=document.querySelector(".page-content-view"),a=null==t?void 0:t.scrollTop,o=[],l=0;l<e.length;l++)o.push(e[l].offsetTop);var n;n=(null==t?void 0:t.scrollHeight)&&a+(null==t?void 0:t.clientHeight)>=(null==t?void 0:t.scrollHeight)?o.concat([]):a<20?[]:o.filter((function(e){return e-12<a})),this.partMaxActive=n.length||1,this.cardListTop=o.concat([])},t.prototype.mounted=function(){var e=this;this.$nextTick((function(){var t,a;window.addEventListener("scroll",e.handleScroll,!0);var o=(null===(t=document.querySelector("body"))||void 0===t?void 0:t.clientHeight)||0,l=(null===(a=document.querySelector(".el-header"))||void 0===a?void 0:a.clientHeight)||0;e.pageCenterNum=o?o/2-107-l:0;for(var n=document.querySelectorAll(".entry-application-item-card"),r=0;r<n.length;r++)e.cardListTop.push(n[r].offsetTop)}))},t.prototype.beforeMount=function(){var e=this;this.$route.params.id&&this.form.load({id:this.$route.params.id}),this.$route.params.id||fu.get("/public/wels/applications/latest").then((function(t){e.form.reset(mu(mu({},e.form.default),{company_name:null==t?void 0:t.company_name,company_address:null==t?void 0:t.company_address,company_contact:null==t?void 0:t.company_contact,company_corresponding_address:null==t?void 0:t.company_corresponding_address,company_distributors:(null==t?void 0:t.company_distributors)||[],company_email:null==t?void 0:t.company_email,company_fax:null==t?void 0:t.company_fax,company_phone:null==t?void 0:t.company_phone,company_type:null==t?void 0:t.company_type,company_type_other:null==t?void 0:t.company_type_other,company_website:null==t?void 0:t.company_website,contact_call:null==t?void 0:t.contact_call,english_company_name:null==t?void 0:t.english_company_name}))}))},function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r}([(0,o.wA)({components:{ElAdminContainer:Da,ElForm:ae,ElFormItem:pt,ElColumnRow:ke,ElButton:Ge,ElCard:fe(),ElInput:Ze(),ElSelectTag:ds,ElTable:go,ElTableColumn:Uo(),ElDocumentUpload:Eo,ElReviewMessage:lc,ElInstructionsDialog:vc,ElWelsAddDistributorsDialog:Cp,ElDatePicker:Ho(),ElSelect:Pr,ElWelsCompanyInfoForm:Pp,ElWelsProductInfoForm:qp,ElPartMenus:Lc,ElWelsSupportDocForm:Wp},beforeRouteEnter:function(e,t,a){fu.get("/public/setting/agreement",{params:{application_type:20,type:10}}).then((function(t){return a((function(a){var o;!(null===(o=e.params)||void 0===o?void 0:o.id)||(a.canEdit=!1),a.treaty="en-US"===a.$i18n.locale?null==t?void 0:t.english_agreement:"zh-CN"===a.$i18n.locale?null==t?void 0:t.agreement:null==t?void 0:t.traditional_agreement}))}))}})],t)}(o.w3),gu=_u,hu=(0,z.Z)(gu,pu,[],!1,null,null,null).exports,vu=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-admin-container",{class:["page-wels-apply","page-wels-bathing-apply","page-review-application","en-US"===e.$i18n.locale?"page-wels-bathing-apply-en":""],attrs:{breadcrumb:e.breadcrumb,showMenusPart:!0}},[t("el-part-menus",{attrs:{slot:"part-menus",menus:e.partList,active:e.partMaxActive},on:{"on-scroll-to":e.onScrollTo},slot:"part-menus"}),e._v(" "),t("div",{staticClass:"container entry-application-content"},[t("el-form",{attrs:{store:e.form,hasLabelSuffix:!1,rules:e.form.rules},nativeOn:{submit:function(e){e.preventDefault()}}},[t("el-card",{staticClass:"entry-application-item-card company-info-card",attrs:{shadow:"never"}},[t("el-wels-company-info-form",{attrs:{canEdit:e.canEdit},on:{"on-delete-info":e.onDeleteInfo},model:{value:e.form.model,callback:function(t){e.$set(e.form,"model",t)},expression:"form.model"}})],1),e._v(" "),t("el-card",{staticClass:"entry-application-item-card product-info-card",attrs:{shadow:"never"}},[t("el-wels-product-info-form",{attrs:{productViewTitle:e.$t("lang.frontAndSideViews"),showCategory:!1,canEdit:e.canEdit},model:{value:e.form.model,callback:function(t){e.$set(e.form,"model",t)},expression:"form.model"}},[t("div",{attrs:{slot:"other-product-info"},slot:"other-product-info"},[t("div",{staticClass:"other-product-info-card"},[t("el-form-item",{staticClass:"label-width-zero bottom-dividing-line"},[t("el-checkbox",{attrs:{"true-label":1,"false-label":0,disabled:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.agree,callback:function(t){e.$set(e.form.model,"agree",t)},expression:"form.model.agree"}}
1,[e._v(e._s(e.$t("lang.showerVariationAgreement")))])],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.includeFlowController"),percent:.4}},[t("label",{attrs:{for:"wels_form_include_flow_controller",hidden:""}},[e._v("''")]),e._v(" "),t("el-select",{attrs:{id:"wels_form_include_flow_controller",loader:[{name:e.$t("lang.yes"),id:1},{name:e.$t("lang.no"),id:0}],disabled:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.include_flow_controller,callback:function(t){e.$set(e.form.model,"include_flow_controller",t)},expression:"form.model.include_flow_controller"}})],1),e._v(" "),e.form.model.include_flow_controller?[t("p",{staticClass:"header"},[e._v(e._s(e.$t("lang.flowControllerProductInfo")))]),e._v(" "),t("div",{staticClass:"body-view"},[t("el-column-row",[t("el-form-item",{attrs:{percent:.4,label:e.$t("lang.formHeader.brand"),prop:"pan_product_brand"}},[t("el-input",{attrs:{placeholder:e.$t("lang.formHeader.brand"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.pan_product_brand,callback:function(t){e.$set(e.form.model,"pan_product_brand",t)},expression:"form.model.pan_product_brand"}})],1),e._v(" "),t("el-form-item",{attrs:{percent:.4,label:e.$t("lang.modelNo"),prop:"pan_product_model"}},[t("el-input",{attrs:{placeholder:e.$t("lang.modelNo"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.pan_product_model,callback:function(t){e.$set(e.form.model,"pan_product_model",t)},expression:"form.model.pan_product_model"}})],1)],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto",attrs:{percent:.4,label:e.$t("lang.nameIfAny"),prop:"pan_product_name"}},[t("el-input",{attrs:{placeholder:e.$t("lang.nameIfAny"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.pan_product_name,callback:function(t){e.$set(e.form.model,"pan_product_name",t)},expression:"form.model.pan_product_name"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{percent:.4,label:e.$t("lang.countryRegionOfOrigin"),prop:"pan_product_region"}},[t("el-input",{attrs:{placeholder:e.$t("lang.countryRegionOfOrigin"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.pan_product_region,callback:function(t){e.$set(e.form.model,"pan_product_region",t)},expression:"form.model.pan_product_region"}})],1)],1)],1),e._v(" "),t("el-form-item",{staticClass:"label-width-zero margin-bottom-0"},[t("el-checkbox",{attrs:{"true-label":1,"false-label":0,disabled:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.agreement,callback:function(t){e.$set(e.form.model,"agreement",t)},expression:"form.model.agreement"}},[e._v(e._s(e.$t("lang.installationAgreementShower")))])],1)]:e._e()],2)])])],1),e._v(" "),t("el-card",{staticClass:"entry-application-item-card company-info-card",attrs:{shadow:"never"}},[t("el-wels-support-doc-form",{attrs:{canEdit:e.canEdit},model:{value:e.form.model,callback:function(t){e.$set(e.form,"model",t)},expression:"form.model"}},[t("el-form-item",{staticClass:"product-catalog-form-item d-flex flex-column label-flex-center label-width-zero",attrs:{percent:.8,"label-width":"0"}},[t("template",{slot:"label"},[e._v("\r\n              "+e._s(e.$t("lang.docProofDesign"))+"\r\n              "),t("el-button",{staticClass:"no-border-btn question-mark-btn",attrs:{"aria-label":"wels_form_production_system_tip",icon:"iconfont a-ico_"},on:{click:function(t){return e.onShowInstructionsDialog("system")}}})],1),e._v(" "),t("el-document-upload",{attrs:{multiple:!0,"base-url":e.baseUrl,action:e.baseUrl,application_status:e.form.model.status,readonly:!e.canEdit&&e.form.model.document_review&&1===e.form.model.document_review.status},model:{value:e.form.model.production_system_doc,callback:function(t){e.$set(e.form.model,"production_system_doc",t)},expression:"form.model.production_system_doc"}}
1)],2)],1)],1),e._v(" "),t("el-card",{staticClass:"entry-application-item-card",attrs:{shadow:"never"}},[t("p",{staticClass:"application-item-card-title",attrs:{slot:"header"},slot:"header"},[e._v("\r\n          "+e._s(e.$t("lang.participantObligations"))+"\r\n        ")]),e._v(" "),t("el-column-row",{staticClass:"treaty-view"},[t("div",{domProps:{innerHTML:e._s(e.treaty)}}),e._v(" "),t("div",{staticClass:"agree-treaty-view margin-top-10"},[t("el-checkbox",{attrs:{"true-label":1,"false-label":0},model:{value:e.form.model.disclaimer,callback:function(t){e.$set(e.form.model,"disclaimer",t)},expression:"form.model.disclaimer"}},[e._v(e._s(e.$t("lang.tickToAgree")))])],1)])],1),e._v(" "),e.form.model.id?e._e():t("el-card",{staticClass:"applicant-card entry-application-item-card",attrs:{shadow:"never"}},[t("template",{slot:"header"},[e._v(e._s(e.$t("lang.applyMessageTitle")))]),e._v(" "),t("el-form-item",{attrs:{prop:"upload_other_info","label-width":"0"}},[t("el-checkbox",{attrs:{"true-label":1,"false-label":0},model:{value:e.form.model.upload_other_info,callback:function(t){e.$set(e.form.model,"upload_other_info",t)},expression:"form.model.upload_other_info"}},[e._v(e._s(e.$t("lang.uploadOtherInfo")))])],1),e._v(" "),e.form.model.upload_other_info?[t("el-form-item",{attrs:{prop:"upload_other_info_msg","label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none"},model:{value:e.form.model.upload_other_info_msg,callback:function(t){e.$set(e.form.model,"upload_other_info_msg",t)},expression:"form.model.upload_other_info_msg"}})],1),e._v(" "),t("el-form-item",{staticClass:"d-flex flex-column",attrs:{prop:"upload_other_info_doc","label-width":"0"}},[t("el-document-upload",{attrs:{multiple:!0,application_status:e.form.model.status,"base-url":e.baseUrl,action:e.baseUrl,readonly:!e.canEdit},model:{value:e.form.model.upload_other_info_doc,callback:function(t){e.$set(e.form.model,"upload_other_info_doc",t)},expression:"form.model.upload_other_info_doc"}})],1)]:e._e()],2),e._v(" "),e.form.model.id?t("el-review-message",{attrs:{applicationId:e.form.model.id,stage:e.form.model.status}},[t("el-form-item",{attrs:{prop:"upload_other_info","label-width":"0"}},[t("el-checkbox",{attrs:{"true-label":1,"false-label":0,disabled:!e.canEdit&&e.form.model.upload_other_info_review&&1===e.form.model.upload_other_info_review.status},model:{value:e.form.model.upload_other_info,callback:function(t){e.$set(e.form.model,"upload_other_info",t)},expression:"form.model.upload_other_info"}},[e._v(e._s(e.$t("lang.uploadOtherInfo")))])],1),e._v(" "),e.form.model.upload_other_info?[t("el-form-item",{attrs:{prop:"upload_other_info_msg","label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none",readonly:!e.canEdit&&e.form.model.upload_other_info_review&&1===e.form.model.upload_other_info_review.status},model:{value:e.form.model.upload_other_info_msg,callback:function(t){e.$set(e.form.model,"upload_other_info_msg",t)},expression:"form.model.upload_other_info_msg"}})],1),e._v(" "),t("el-form-item",{staticClass:"d-flex flex-column",attrs:{prop:"upload_other_info_doc","label-width":"0"}},[t("el-document-upload",{attrs:{multiple:!0,"base-url":e.baseUrl,action:e.baseUrl,text:e.$t("lang.action.upload"),application_status:e.form.model.status,readonly:!e.canEdit&&e.form.model.upload_other_info_review&&1===e.form.model.upload_other_info_review.status},model:{value:e.form.model.upload_other_info_doc,callback:function(t){e.$set(e.form.model,"upload_other_info_doc",t)},expression:"form.model.upload_other_info_doc"}})],1)]:e._e(),e._v(" "),e.form.model.upload_other_info_review&&0===e.form.model.upload_other_info_review.status?t("el-form-item",{staticClass:"rejection-reasons-form-item label-width-zero content-item-view",attrs:{label:e.$t("lang.reasonsForRejection"),"label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none",readonly:!0},model:{value:e.form.model.upload_other_info_review.rejection,callback:function(t){e.$set(e.form.model.upload_other_info_review,"rejection",t)},expression:"form.model.upload_other_info_review.rejection"}}
1)],1):e._e()],2):e._e()],1),e._v(" "),t("div",{staticClass:"entry-application-footer"},[t("el-button",{staticClass:"empty-bule-btn",on:{click:function(t){return e.$router.push({path:"/applications/wels"})}}},[e._v(e._s(e.$t("lang.action.cancel")))]),e._v(" "),"100001"===e.form.model.laboratories||e.form.model.document_review&&0!==e.form.model.document_review.status||0!==e.form.model.status||!e.form.model.record||10!=e.form.model.record.type&&15!=e.form.model.record.type?e._e():t("el-button",{staticClass:"empty-bule-btn",on:{click:e.onSelectTurnDoc}},[e._v(e._s(e.$t("lang.reactivateLabUpload")))]),e._v(" "),e.form.model.id&&-1!=e.form.model.status&&0!==e.form.model.status?e._e():t("el-button",{staticClass:"empty-bule-btn",on:{click:e.onSaveForm}},[e._v(e._s(e.$t("lang.action.save")))]),e._v(" "),-1===e.form.model.status?t("el-button",{staticClass:"fill-blue-btn",on:{click:function(t){return e.handleCreate()}}},[e._v(e._s(e.$t("lang.action.created")))]):e._e(),e._v(" "),0!==e.form.model.status||!e.form.model.record||10!=e.form.model.record.type&&15!=e.form.model.record.type?e._e():t("el-button",{staticClass:"fill-blue-btn",on:{click:function(t){return e.handleSubmit()}}},[e._v(e._s(e.$t("lang.action.submit")))])],1),e._v(" "),t("el-instructions-dialog",{attrs:{visible:e.showInstructionsDialog,content:e.instructionsContent},on:{"update:visible":function(t){e.showInstructionsDialog=t}}}),e._v(" "),t("el-dialog",{staticClass:"reutn-doc-dialog position-center",attrs:{visible:e.showSupporDocDialog,width:"680px",title:e.$t("lang.supportingDocuments")},on:{close:function(t){e.showSupporDocDialog=!1}}},[e.supporDocList&&e.supporDocList.length?t("el-checkbox-group",{model:{value:e.selectSupporDoc,callback:function(t){e.selectSupporDoc=t},expression:"selectSupporDoc"}},e._l(e.supporDocList,(function(a){return t("el-checkbox",{key:a.id,attrs:{label:a.id}},[e._v(e._s(`${a.test_report_no}(Wels)`))])})),1):e._e(),e._v(" "),t("template",{slot:"footer"},[t("el-button",{staticClass:"refuse-btn",on:{click:function(t){e.showSupporDocDialog=!1}}},[e._v("\r\n          "+e._s(e.$t("lang.action.close"))+"\r\n        ")]),e._v(" "),t("el-button",{staticClass:"agree-btn",attrs:{type:"primary"},on:{click:e.onSubmitSelectDoc}},[e._v(" "+e._s(e.$t("lang.action.submit"))+" ")])],1)],2)],1)],1)};vu._withStripped=!0;var bu=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),wu=function(){return wu=Object.assign||function(e){for(var t,a=1,o=arguments.length;a<o;a++)for(var l in t=arguments[a])Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l]);return e},wu.apply(this,arguments)},yu=x(),$u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.breadcrumb=[{path:"",title:t.$t("lang.eApplication")},{path:"/applications/wels",title:"WELS"},{path:"",title:t.$t("lang.showersForBathing")}],t.api=x(),t.baseUrl="/api/afs/wsd",t.partMaxActive=1,t.partList=[{name:"lang.companyInformation"},{name:"lang.productInformation"},{name:"lang.supportDoc"},{name:"lang.participantObligations"},{name:"lang.applyMessageTitle"}],t.partActive=1,t.cardListTop=[],t.pageCenterNum=0,t.treaty="",t.agreeTreaty=!1,t.canEdit=!0,t.errMessage={111:t.$t("lang.pleaseCompleteAllRequiredFields"),90003:t.$t("lang.applicationAlreadyExists"),90005:t.$t("lang.applicationAlreadySubmit"),90007:t.$t("lang.applicationDraftErr"),90009:t.$t("lang.applicationTestReportErr")},t.form=new K({loader:"/public/wels/applications/:id",action:"/public/wels/applications",default:{wels_scheme:"wels_new",approval_scheme:"wels_showers_athingp",status:-1,company_distributors:[],projectUsed:!1},rules:{laboratories:[{required:!0,message:t.$t("lang.pleaseChoose"),trigger:"change"}],company_name:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],english_company_name:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],company_type_other:[{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"}],company_address:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{max:250,message:"".concat(t.$t("lang.characterLength")," 250"),trigger:"blur"}],company_phone:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"},{validator:function(e,a,o){return qc(0,a,o,t.$t("lang.pleaseEnter"),t.$t("lang.pleaseEnterCorrectNum"))},trigger:"blur"}],company_fax:[{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"},{validator:function(e,a,o){return qc(0,a,o,"",t.$t("lang.pleaseEnterCorrectNum"))},trigger:"blur"}],company_email:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{type:"email",message:t.$t("lang.inputCorrectEmailAddress"),trigger:"blur"},{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"}],company_contact:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"}],lab_report_ref_doc:[{required:!0,message:t.$t("lang.pleaseUploadFile"),trigger:"blur"}],front_doc:[{required:!0,message:t.$t("lang.pleaseUploadFile"),trigger:"blur"}],company_type:[{required:!0,message:t.$t("lang.pleaseChoose"),trigger:"change"}],lab_report_ref:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"}],contact_call:[{required:!0,message:t.$t("lang.pleaseChoose"),trigger:"blur"}],company_corresponding_address:[{max:250,message:"".concat(t.$t("lang.characterLength")," 250"),trigger:"blur"}],company_website:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],product_brand:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],product_model:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],product_name:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],product_region:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],valve_product_brand:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],valve_product_model:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],valve_product_name:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],valve_product_region:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],cistern_product_brand:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],cistern_product_model:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],cistern_product_name:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],cistern_product_region:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],pan_product_brand:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],pan_product_model:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],pan_product_name:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],pan_product_region:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}
1],water_efficiency_label:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],upload_other_info_msg:[{max:250,message:"".concat(t.$t("lang.characterLength")," 250"),trigger:"blur"}]},onSubmitSuccess:function(){t.successMessage("submit")},onSubmitFailure:function(e){var a=e?t.errMessage[e]:t.errMessage[111];a&&E().error({message:a,duration:5e3,showClose:!0})}}),t.showInstructionsDialog=!1,t.instructionsContent="",t.pickerOptions={disabledDate:function(e){return e.getTime()<Date.now()-864e5}},t.showSupporDocDialog=!1,t.supporDocList=[],t.selectSupporDoc=[],t.showDistributorsDialog=!1,t}return bu(t,e),t.prototype.onShowInstructionsDialog=function(e){switch(this.showInstructionsDialog=!0,e){case"system":this.instructionsContent=this.$t("lang.docProofDesignInstructions");break;case"certificate":this.instructionsContent=this.$t("lang.cerOfAccreditationInstructions");break;case"report":this.instructionsContent="For registration in WELS under the recognition mechanism, valid test report used for application for registration of the shower under the overseas water efficiency labeling scheme. The test report shall include the required information requested in Section A5, B5, C4 and D4 of Annex 1 of the Scheme Document. Documentation showing valid registration status of the shower in the respective overseas water efficiency labelling scheme (e.g. Certified true copy of the registration document, website link, i.e. URL, to the register in respective scheme);"}},t.prototype.onShowDistributorsDialog=function(){this.showDistributorsDialog=!0},t.prototype.handleCreate=function(){var e=this;if(!this.form.model.disclaimer)return E().error({message:"".concat(this.$t("lang.agreeToTreaty")),duration:5e3,showClose:!0}),!1;this.form.model.status=0,this.form.model.id?this.form.validate().then((function(){var t=n().service({lock:!0});yu.post("/public/wels/applications/drafted/submit",e.form.model).then((function(a){t.close(),E().success({duration:5e3,showClose:!0,message:e.$t("lang.successfullySubmitted")}),e.$router.push({path:"/applications/wels"})})).catch((function(a){t.close(),e.form.model.status=-1;var o=e.errMessage[a];o&&E().error({message:o,showClose:!0,duration:5e3})}))})).catch((function(t){e.submitErrMessage(!1),e.form.model.status=-1})):this.form.submit().catch((function(t){return e.form.model.status=-1}))},t.prototype.handleSubmit=function(){var e=this;if(!this.form.model.disclaimer)return E().error({message:"".concat(this.$t("lang.agreeToTreaty")),duration:5e3,showClose:!0}),!1;var t=n().service({lock:!0});yu.post("/public/wels/applications/submit",this.form.model).then((function(a){t.close(),E().success({duration:5e3,showClose:!0,message:e.$t("lang.successfullySubmitted")}),e.$router.push({path:"/applications/wels"})})).catch((function(a){t.close();var o=e.errMessage[a];o&&E().error({message:o,showClose:!0,duration:5e3})}))},t.prototype.onSaveForm=function(){var e=this,t=this.form.model.status,a=n().service({lock:!0});this.form.model.id?yu.put("/public/wels/applications",this.form.model).then((function(t){e.successMessage("save"),a.close()})).catch((function(o){e.form.model.status=t,e.submitErrMessage(o),a.close()})):yu.post("/public/wels/applications",this.form.model).then((function(t){e.successMessage("save"),a.close()})).catch((function(o){e.form.model.status=t,e.submitErrMessage(o),a.close()}))},t.prototype.successMessage=function(e,t){void 0===e&&(e="save"),void 0===t&&(t=!0),E().success({duration:5e3,showClose:!0,message:"save"===e?this.$t("lang.successfullySaved"):this.$t("lang.successfullySubmitted")}),t&&this.$router.push({path:"/applications/wels"})},t.prototype.submitErrMessage=function(e){var t=e?this.errMessage[e]:this.errMessage[111];t&&E().error({message:t,showClose:!0,duration:5e3})},t.prototype.onSelectTurnDoc=function(){var e=this;yu.get("/laboratory/reactive/all?application_id=".concat(this.form.model.source_id)).then((function(t){console.log("res",t),e.supporDocList=t,e.showSupporDocDialog=!0}))},t.prototype.onSubmitSelectDoc=function(){var e=this;if(0===this.selectSupporDoc.length)return E().error({message:this.$t("lang.pleaseTickNum"),duration:5e3,showClose:!0}),!1;yu.post("public/wels/applications/laboratory/reactive",{ids:this.selectSupporDoc}).then((function(){E().success({message:e.$t("lang.submittedSuccessfully"),duration:5e3,showClose:!0}),e.showSupporDocDialog=!1,e.form.load({id:e.form.model.id})}))},t.prototype.onDeleteInfo=function(e){console.log("sahnchu"),this.form.model.company_distributors.splice(e,1)},t.prototype.onScrollTo=function(e){document.querySelector(".page-content-view").scrollTop=this.cardListTop[e]-10},t.prototype.handleScroll=function(){for(var e=document.querySelectorAll(".entry-application-item-card"),t=document.querySelector(".page-content-view"),a=null==t?void 0:t.scrollTop,o=[],l=0;l<e.length;l++)o.push(e[l].offsetTop);var n;n=(null==t?void 0:t.scrollHeight)&&a+(null==t?void 0:t.clientHeight)>=(null==t?void 0:t.scrollHeight)?o.concat([]):a<20?[]:o.filter((function(e){return e-12<a})),this.partMaxActive=n.length||1,this.cardListTop=o.concat([])},t.prototype.mounted=function(){var e=this;this.$nextTick((function(){var t,a;window.addEventListener("scroll",e.handleScroll,!0);var o=(null===(t=document.querySelector("body"))||void 0===t?void 0:t.clientHeight)||0,l=(null===(a=document.querySelector(".el-header"))||void 0===a?void 0:a.clientHeight)||0;e.pageCenterNum=o?o/2-107-l:0;for(var n=document.querySelectorAll(".entry-application-item-card"),r=0;r<n.length;r++)e.cardListTop.push(n[r].offsetTop)}))},t.prototype.beforeMount=function(){var e=this;this.$route.params.id&&this.form.load({id:this.$route.params.id}),this.$route.params.id||yu.get("/public/wels/applications/latest").then((function(t){console.log(t),e.form.reset(wu(wu({},e.form.default),{company_name:null==t?void 0:t.company_name,company_address:null==t?void 0:t.company_address,company_contact:null==t?void 0:t.company_contact,company_corresponding_address:null==t?void 0:t.company_corresponding_address,company_distributors:(null==t?void 0:t.company_distributors)||[],company_email:null==t?void 0:t.company_email,company_fax:null==t?void 0:t.company_fax,company_phone:null==t?void 0:t.company_phone,company_type:null==t?void 0:t.company_type,company_type_other:null==t?void 0:t.company_type_other,company_website:null==t?void 0:t.company_website,contact_call:null==t?void 0:t.contact_call,english_company_name:null==t?void 0:t.english_company_name}))}))},function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r}([(0,o.wA)({components:{ElAdminContainer:Da,ElForm:ae,ElFormItem:pt,ElColumnRow:ke,ElButton:Ge,ElCard:fe(),ElInput:Ze(),ElSelectTag:ds,ElTable:go,ElTableColumn:Uo(),ElDocumentUpload:Eo,ElReviewMessage:lc,ElInstructionsDialog:vc,ElWelsAddDistributorsDialog:Cp,ElCheckbox:ei(),ElSelect:Pr,ElWelsCompanyInfoForm:Pp,ElWelsProductInfoForm:qp,ElPartMenus:Lc,ElWelsSupportDocForm:Wp},beforeRouteEnter:function(e,t,a){yu.get("/public/setting/agreement",{params:{application_type:15,type:10}}).then((function(t){return a((function(a){var o;!(null===(o=e.params)||void 0===o?void 0:o.id)||(a.canEdit=!1),a.treaty="en-US"===a.$i18n.locale?null==t?void 0:t.english_agreement:"zh-CN"===a.$i18n.locale?null==t?void 0:t.agreement:null==t?void 0:t.traditional_agreement}))}))}})],t)}(o.w3),Cu=$u,xu=(0,z.Z)(Cu,vu,[],!1,null,null,null).exports,Su=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-admin-container",{class:["page-wels-apply","page-wels-bathing-apply","page-review-application","en-US"===e.$i18n.locale?"page-wels-bathing-apply-en":""],attrs:{breadcrumb:e.breadcrumb,showMenusPart:!0}},[t("el-part-menus",{attrs:{slot:"part-menus",menus:e.partList,active:e.partMaxActive},on:{"on-scroll-to":e.onScrollTo},slot:"part-menus"}),e._v(" "),t("div",{staticClass:"container entry-application-content"},[t("el-form",{attrs:{store:e.form,hasLabelSuffix:!1,rules:e.form.rules},nativeOn:{submit:function(e){e.preventDefault()}}},[t("el-card",{staticClass:"entry-application-item-card company-info-card",attrs:{shadow:"never"}},[t("el-wels-company-info-form",{attrs:{canEdit:e.canEdit},on:{"on-delete-info":e.onDeleteInfo},model:{value:e.form.model,callback:function(t){e.$set(e.form,"model",t)},expression:"form.model"}})],1),e._v(" "),t("el-card",{staticClass:"entry-application-item-card product-info-card",attrs:{shadow:"never"}},[t("el-wels-product-info-form",{attrs:{productViewTitle:e.$t("lang.frontBottomViews"),canEdit:e.canEdit},model:{value:e.form.model,callback:function(t){e.$set(e.form,"model",t)},expression:"form.model"}},[t("div",{attrs:{slot:"other-product-info"},slot:"other-product-info"},[t("div",{staticClass:"other-product-info-card"},[t("el-form-item",{staticClass:"label-width-zero bottom-dividing-line"},[t("el-checkbox",{attrs:{"true-label":1,"false-label":0,disabled:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.agree,callback:function(t){e.$set(e.form.model,"agree",t)},expression:"form.model.agree"}}
1,[e._v(e._s(e.$t("lang.flowVariationAgreement")))])],1)],1)])])],1),e._v(" "),t("el-card",{staticClass:"entry-application-item-card company-info-card",attrs:{shadow:"never"}},[t("el-wels-support-doc-form",{attrs:{canEdit:e.canEdit},model:{value:e.form.model,callback:function(t){e.$set(e.form,"model",t)},expression:"form.model"}},[t("el-form-item",{staticClass:"label-width-zero",attrs:{label:e.$t("lang.docProofOfGAIssued"),percent:.8,"label-width":"0"}},[t("el-document-upload",{attrs:{multiple:!0,"base-url":e.baseUrl,action:e.baseUrl,application_status:e.form.model.status,readonly:!e.canEdit&&e.form.model.document_review&&1===e.form.model.document_review.status},model:{value:e.form.model.ga_issued_doc,callback:function(t){e.$set(e.form.model,"ga_issued_doc",t)},expression:"form.model.ga_issued_doc"}})],1),e._v(" "),t("el-form-item",{staticClass:"product-catalog-form-item d-flex flex-column label-flex-center label-width-zero",attrs:{percent:.8,"label-width":"0"}},[t("template",{slot:"label"},[e._v("\r\n              "+e._s(e.$t("lang.docProofDesign"))+" \r\n              "),t("el-button",{staticClass:"no-border-btn question-mark-btn",attrs:{"aria-label":"wels_form_production_system_tip",icon:"iconfont a-ico_"},on:{click:function(t){return e.onShowInstructionsDialog("system")}}})],1),e._v(" "),t("el-document-upload",{attrs:{multiple:!0,"base-url":e.baseUrl,action:e.baseUrl,application_status:e.form.model.status,readonly:!e.canEdit&&e.form.model.document_review&&1===e.form.model.document_review.status},model:{value:e.form.model.production_system_doc,callback:function(t){e.$set(e.form.model,"production_system_doc",t)},expression:"form.model.production_system_doc"}})],2)],1)],1),e._v(" "),t("el-card",{staticClass:"entry-application-item-card",attrs:{shadow:"never"}},[t("p",{staticClass:"application-item-card-title",attrs:{slot:"header"},slot:"header"},[e._v("\r\n          "+e._s(e.$t("lang.participantObligations"))+"\r\n        ")]),e._v(" "),t("el-column-row",{staticClass:"treaty-view"},[t("div",{domProps:{innerHTML:e._s(e.treaty)}}),e._v(" "),t("div",{staticClass:"agree-treaty-view margin-top-10"},[t("el-checkbox",{attrs:{"true-label":1,"false-label":0},model:{value:e.form.model.disclaimer,callback:function(t){e.$set(e.form.model,"disclaimer",t)},expression:"form.model.disclaimer"}},[e._v(e._s(e.$t("lang.tickToAgree")))])],1)])],1),e._v(" "),e.form.model.id?e._e():t("el-card",{staticClass:"applicant-card entry-application-item-card",attrs:{shadow:"never"}},[t("template",{slot:"header"},[e._v(e._s(e.$t("lang.applyMessageTitle")))]),e._v(" "),t("el-form-item",{attrs:{prop:"upload_other_info","label-width":"0"}},[t("el-checkbox",{attrs:{"true-label":1,"false-label":0},model:{value:e.form.model.upload_other_info,callback:function(t){e.$set(e.form.model,"upload_other_info",t)},expression:"form.model.upload_other_info"}},[e._v(e._s(e.$t("lang.uploadOtherInfo")))])],1),e._v(" "),e.form.model.upload_other_info?[t("el-form-item",{attrs:{prop:"upload_other_info_msg","label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none"},model:{value:e.form.model.upload_other_info_msg,callback:function(t){e.$set(e.form.model,"upload_other_info_msg",t)},expression:"form.model.upload_other_info_msg"}})],1),e._v(" "),t("el-form-item",{staticClass:"d-flex flex-column",attrs:{prop:"upload_other_info_doc","label-width":"0"}},[t("el-document-upload",{attrs:{multiple:!0,application_status:e.form.model.status,"base-url":e.baseUrl,action:e.baseUrl,readonly:!e.canEdit},model:{value:e.form.model.upload_other_info_doc,callback:function(t){e.$set(e.form.model,"upload_other_info_doc",t)},expression:"form.model.upload_other_info_doc"}})],1)]:e._e()],2),e._v(" "),e.form.model.id?t("el-review-message",{attrs:{applicationId:e.form.model.id,stage:e.form.model.status}},[t("el-form-item",{attrs:{prop:"upload_other_info","label-width":"0"}},[t("el-checkbox",{attrs:{"true-label":1,"false-label":0,disabled:!e.canEdit&&e.form.model.upload_other_info_review&&1===e.form.model.upload_other_info_review.status},model:{value:e.form.model.upload_other_info,callback:function(t){e.$set(e.form.model,"upload_other_info",t)},expression:"form.model.upload_other_info"}}
1,[e._v(e._s(e.$t("lang.uploadOtherInfo")))])],1),e._v(" "),e.form.model.upload_other_info?[t("el-form-item",{attrs:{prop:"upload_other_info_msg","label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none",readonly:!e.canEdit&&e.form.model.upload_other_info_review&&1===e.form.model.upload_other_info_review.status},model:{value:e.form.model.upload_other_info_msg,callback:function(t){e.$set(e.form.model,"upload_other_info_msg",t)},expression:"form.model.upload_other_info_msg"}})],1),e._v(" "),t("el-form-item",{staticClass:"d-flex flex-column",attrs:{prop:"upload_other_info_doc","label-width":"0"}},[t("el-document-upload",{attrs:{multiple:!0,"base-url":e.baseUrl,action:e.baseUrl,text:e.$t("lang.action.upload"),application_status:e.form.model.status,readonly:!e.canEdit&&e.form.model.upload_other_info_review&&1===e.form.model.upload_other_info_review.status},model:{value:e.form.model.upload_other_info_doc,callback:function(t){e.$set(e.form.model,"upload_other_info_doc",t)},expression:"form.model.upload_other_info_doc"}})],1)]:e._e(),e._v(" "),e.form.model.upload_other_info_review&&0===e.form.model.upload_other_info_review.status?t("el-form-item",{staticClass:"rejection-reasons-form-item label-width-zero content-item-view",attrs:{label:e.$t("lang.reasonsForRejection"),"label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none",readonly:!0},model:{value:e.form.model.upload_other_info_review.rejection,callback:function(t){e.$set(e.form.model.upload_other_info_review,"rejection",t)},expression:"form.model.upload_other_info_review.rejection"}})],1):e._e()],2):e._e()],1),e._v(" "),t("div",{staticClass:"entry-application-footer"},[t("el-button",{staticClass:"empty-bule-btn",on:{click:function(t){return e.$router.push({path:"/applications/wels"})}}},[e._v(e._s(e.$t("lang.action.cancel")))]),e._v(" "),"100001"===e.form.model.laboratories||e.form.model.document_review&&0!==e.form.model.document_review.status||0!==e.form.model.status||!e.form.model.record||10!=e.form.model.record.type&&15!=e.form.model.record.type?e._e():t("el-button",{staticClass:"empty-bule-btn",on:{click:e.onSelectTurnDoc}},[e._v(e._s(e.$t("lang.reactivateLabUpload")))]),e._v(" "),e.form.model.id&&-1!=e.form.model.status&&0!==e.form.model.status?e._e():t("el-button",{staticClass:"empty-bule-btn",on:{click:e.onSaveForm}},[e._v(e._s(e.$t("lang.action.save")))]),e._v(" "),-1===e.form.model.status?t("el-button",{staticClass:"fill-blue-btn",on:{click:function(t){return e.handleCreate()}}},[e._v(e._s(e.$t("lang.action.created")))]):e._e(),e._v(" "),0!==e.form.model.status||!e.form.model.record||10!=e.form.model.record.type&&15!=e.form.model.record.type?e._e():t("el-button",{staticClass:"fill-blue-btn",on:{click:function(t){return e.handleSubmit()}}},[e._v(e._s(e.$t("lang.action.submit")))])],1),e._v(" "),t("el-instructions-dialog",{attrs:{visible:e.showInstructionsDialog,content:e.instructionsContent},on:{"update:visible":function(t){e.showInstructionsDialog=t}}}),e._v(" "),t("el-wels-add-distributors-dialog",{attrs:{visible:e.showDistributorsDialog},on:{"update:visible":function(t){e.showDistributorsDialog=t},"on-add":e.onAddInfo}}),e._v(" "),t("el-dialog",{staticClass:"reutn-doc-dialog position-center",attrs:{visible:e.showSupporDocDialog,width:"680px",title:e.$t("lang.supportingDocuments")},on:{close:function(t){e.showSupporDocDialog=!1}}},[e.supporDocList&&e.supporDocList.length?t("el-checkbox-group",{model:{value:e.selectSupporDoc,callback:function(t){e.selectSupporDoc=t},expression:"selectSupporDoc"}},e._l(e.supporDocList,(function(a){return t("el-checkbox",{key:a.id,attrs:{label:a.id}},[e._v(e._s(`${a.test_report_no}(Wels)`))])})),1):e._e(),e._v(" "),t("template",{slot:"footer"},[t("el-button",{staticClass:"refuse-btn",on:{click:function(t){e.showSupporDocDialog=!1}}},[e._v("\r\n          "+e._s(e.$t("lang.action.close"))+"\r\n        ")]),e._v(" "),t("el-button",{staticClass:"agree-btn",attrs:{type:"primary"},on:{click:e.onSubmitSelectDoc}},[e._v(" "+e._s(e.$t("lang.action.submit"))+" ")])],1)],2)],1)],1)};Su._withStripped=!0;var Eu=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),ku=function(){return ku=Object.assign||function(e){for(var t,a=1,o=arguments.length;a<o;a++)for(var l in t=arguments[a])Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l]);return e},ku.apply(this,arguments)},Ou=x(),Au=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.breadcrumb=[{path:"",title:t.$t("lang.eApplication")},{path:"/applications/wels",title:"WELS"},{path:"",title:t.$t("lang.flowControllers")}],t.api=x(),t.baseUrl="/api/afs/wsd",t.partMaxActive=1,t.partList=[{name:"lang.companyInformation"},{name:"lang.productInformation"},{name:"lang.supportDoc"},{name:"lang.participantObligations"},{name:"lang.applyMessageTitle"}
1],t.partActive=1,t.cardListTop=[],t.pageCenterNum=0,t.treaty="",t.agreeTreaty=!1,t.canEdit=!0,t.errMessage={111:t.$t("lang.pleaseCompleteAllRequiredFields"),90003:t.$t("lang.applicationAlreadyExists"),90005:t.$t("lang.applicationAlreadySubmit"),90007:t.$t("lang.applicationDraftErr"),90009:t.$t("lang.applicationTestReportErr")},t.form=new K({loader:"/public/wels/applications/:id",action:"/public/wels/applications",default:{wels_scheme:"wels_new",approval_scheme:"wels_flow_controllers",status:-1,company_distributors:[]},rules:{laboratories:[{required:!0,message:t.$t("lang.pleaseChoose"),trigger:"change"}],company_name:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],english_company_name:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],company_type_other:[{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"}],company_address:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{max:250,message:"".concat(t.$t("lang.characterLength")," 250"),trigger:"blur"}],company_phone:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"},{validator:function(e,a,o){return qc(0,a,o,t.$t("lang.pleaseEnter"),t.$t("lang.pleaseEnterCorrectNum"))},trigger:"blur"}],company_fax:[{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"},{validator:function(e,a,o){return qc(0,a,o,"",t.$t("lang.pleaseEnterCorrectNum"))},trigger:"blur"}],company_email:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{type:"email",message:t.$t("lang.inputCorrectEmailAddress"),trigger:"blur"},{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"}],company_contact:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"}],lab_report_ref_doc:[{required:!0,message:t.$t("lang.pleaseUploadFile"),trigger:"blur"}],front_doc:[{required:!0,message:t.$t("lang.pleaseUploadFile"),trigger:"blur"}],category:[{required:!0,message:t.$t("lang.pleaseChoose"),trigger:"change"}],product_category:[{required:!0,message:t.$t("lang.pleaseChoose"),trigger:"change"}],company_type:[{required:!0,message:t.$t("lang.pleaseChoose"),trigger:"change"}],agree:[{required:!0,message:t.$t("lang.pleaseChoose"),trigger:"change"}],lab_report_ref:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"}],contact_call:[{required:!0,message:t.$t("lang.pleaseChoose"),trigger:"blur"}],company_corresponding_address:[{max:250,message:"".concat(t.$t("lang.characterLength")," 250"),trigger:"blur"}],company_website:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],product_brand:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],product_model:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],product_name:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],product_region:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],valve_product_brand:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],valve_product_model:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],valve_product_name:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],valve_product_region:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],cistern_product_brand:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],cistern_product_model:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],cistern_product_name:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],cistern_product_region:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],pan_product_brand:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],pan_product_model:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],pan_product_name:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],pan_product_region:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}
1],water_efficiency_label:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],upload_other_info_msg:[{max:250,message:"".concat(t.$t("lang.characterLength")," 250"),trigger:"blur"}]},onSubmitSuccess:function(){t.successMessage("submit")},onSubmitFailure:function(e){var a=e?t.errMessage[e]:t.errMessage[111];a&&E().error({message:a,duration:5e3,showClose:!0})}}),t.showInstructionsDialog=!1,t.instructionsContent="",t.pickerOptions={disabledDate:function(e){return e.getTime()<Date.now()-864e5}},t.controllersCategory="en-US"===t.$i18n.locale?yn:"zh-CN"===t.$i18n.locale?Cn:$n,t.companyType="en-US"===t.$i18n.locale?xn:"zh-CN"===t.$i18n.locale?Sn:En,t.showSupporDocDialog=!1,t.supporDocList=[],t.selectSupporDoc=[],t.showDistributorsDialog=!1,t}return Eu(t,e),t.prototype.onChange=function(e){this.errMessage={90003:this.$t("lang.applicationAlreadyExists"),90005:this.$t("lang.applicationAlreadySubmit")},this.breadcrumb=[{path:"",title:this.$t("lang.eApplication")},{path:"/applications/wels",title:"WELS"},{path:"",title:this.$t("lang.flowControllers")}],this.controllersCategory="en-US"===this.$i18n.locale?yn:"zh-CN"===this.$i18n.locale?Cn:$n,this.companyType="en-US"===this.$i18n.locale?xn:"zh-CN"===this.$i18n.locale?Sn:En},t.prototype.onShowInstructionsDialog=function(e){switch(this.showInstructionsDialog=!0,e){case"system":this.instructionsContent=this.$t("lang.controllersFormPageDdocProofDesignInstructions");break;case"certificate":this.instructionsContent=this.$t("lang.cerOfAccreditationInstructions");break;case"report":this.instructionsContent=this.$t("lang.reportInstructions")}},t.prototype.onShowDistributorsDialog=function(){this.showDistributorsDialog=!0},t.prototype.handleCreate=function(){var e=this;if(!this.form.model.disclaimer)return E().error({message:"".concat(this.$t("lang.agreeToTreaty")),duration:5e3,showClose:!0}),!1;var t=this.form.model.status;this.form.model.status=0,this.form.model.id?this.form.validate().then((function(){var a=n().service({lock:!0});Ou.post("/public/wels/applications/drafted/submit",e.form.model).then((function(t){a.close(),E().success({duration:5e3,showClose:!0,message:e.$t("lang.successfullySubmitted")}),e.$router.push({path:"/applications/wels"})})).catch((function(o){a.close(),e.form.model.status=t;var l=e.errMessage[o];l&&E().error({message:l,showClose:!0,duration:5e3})}))})).catch((function(a){e.submitErrMessage(!1),e.form.model.status=t})):this.form.submit().catch((function(a){return e.form.model.status=t}))},t.prototype.handleSubmit=function(){var e=this;if(!this.form.model.disclaimer)return E().error({message:"".concat(this.$t("lang.agreeToTreaty")),duration:5e3,showClose:!0}),!1;var t=n().service({lock:!0});Ou.post("/public/wels/applications/submit",this.form.model).then((function(a){t.close(),E().success({duration:5e3,showClose:!0,message:e.$t("lang.successfullySubmitted")}),e.$router.push({path:"/applications/wels"})})).catch((function(a){t.close();var o=e.errMessage[a];o&&E().error({message:o,showClose:!0,duration:5e3})}))},t.prototype.onSaveForm=function(){var e=this,t=this.form.model.status,a=n().service({lock:!0});this.form.model.id?Ou.put("/public/wels/applications",this.form.model).then((function(t){e.successMessage("save"),a.close()})).catch((function(o){e.form.model.status=t,e.submitErrMessage(o),a.close()})):Ou.post("/public/wels/applications",this.form.model).then((function(t){e.successMessage("save"),a.close()})).catch((function(o){e.form.model.status=t,e.submitErrMessage(o),a.close()}))},t.prototype.successMessage=function(e,t){void 0===e&&(e="save"),void 0===t&&(t=!0),E().success({duration:5e3,showClose:!0,message:"save"===e?this.$t("lang.successfullySaved"):this.$t("lang.successfullySubmitted")}),t&&this.$router.push({path:"/applications/wels"})},t.prototype.submitErrMessage=function(e){var t=e?this.errMessage[e]:this.errMessage[111];t&&E().error({message:t,showClose:!0,duration:5e3})},t.prototype.onSelectTurnDoc=function(){var e=this;Ou.get("/laboratory/reactive/all?application_id=".concat(this.form.model.source_id)).then((function(t){console.log("res",t),e.supporDocList=t,e.showSupporDocDialog=!0}))},t.prototype.onSubmitSelectDoc=function(){var e=this;if(0===this.selectSupporDoc.length)return E().error({message:this.$t("lang.pleaseTickNum"),duration:5e3,showClose:!0}),!1;Ou.post("public/wels/applications/laboratory/reactive",{ids:this.selectSupporDoc}).then((function(){E().success({message:e.$t("lang.submittedSuccessfully"),duration:5e3,showClose:!0}),e.showSupporDocDialog=!1,e.form.load({id:e.form.model.id})}))},t.prototype.onDeleteInfo=function(e){this.form.model.company_distributors.splice(e,1)},t.prototype.onAddInfo=function(e){this.form.model.company_distributors.push(e),this.showDistributorsDialog=!1},t.prototype.onScrollTo=function(e){document.querySelector(".page-content-view").scrollTop=this.cardListTop[e]-10},t.prototype.handleScroll=function(){for(var e=document.querySelectorAll(".entry-application-item-card"),t=document.querySelector(".page-content-view"),a=null==t?void 0:t.scrollTop,o=[],l=0;l<e.length;l++)o.push(e[l].offsetTop);var n;n=(null==t?void 0:t.scrollHeight)&&a+(null==t?void 0:t.clientHeight)>=(null==t?void 0:t.scrollHeight)?o.concat([]):a<20?[]:o.filter((function(e){return e-12<a})),this.partMaxActive=n.length||1,this.cardListTop=o.concat([])},t.prototype.mounted=function(){var e=this;this.$nextTick((function(){var t,a;window.addEventListener("scroll",e.handleScroll,!0);var o=(null===(t=document.querySelector("body"))||void 0===t?void 0:t.clientHeight)||0,l=(null===(a=document.querySelector(".el-header"))||void 0===a?void 0:a.clientHeight)||0;e.pageCenterNum=o?o/2-107-l:0;for(var n=document.querySelectorAll(".entry-application-item-card"),r=0;r<n.length;r++)e.cardListTop.push(n[r].offsetTop)}))},t.prototype.beforeMount=function(){var e=this;this.$route.params.id&&this.form.load({id:this.$route.params.id}),this.$route.params.id||Ou.get("/public/wels/applications/latest").then((function(t){e.form.reset(ku(ku({},e.form.default),{company_name:null==t?void 0:t.company_name,company_address:null==t?void 0:t.company_address,company_contact:null==t?void 0:t.company_contact,company_corresponding_address:null==t?void 0:t.company_corresponding_address,company_distributors:(null==t?void 0:t.company_distributors)||[],company_email:null==t?void 0:t.company_email,company_fax:null==t?void 0:t.company_fax,company_phone:null==t?void 0:t.company_phone,company_type:null==t?void 0:t.company_type,company_type_other:null==t?void 0:t.company_type_other,company_website:null==t?void 0:t.company_website,contact_call:null==t?void 0:t.contact_call,english_company_name:null==t?void 0:t.english_company_name}))}))},function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r}([(0,o.wA)({components:{ElAdminContainer:Da,ElForm:ae,ElFormItem:pt,ElColumnRow:ke,ElButton:Ge,ElCard:fe(),ElInput:Ze(),ElSelectTag:ds,ElTable:go,ElTableColumn:Uo(),ElDocumentUpload:Eo,ElReviewMessage:lc,ElInstructionsDialog:vc,ElWelsAddDistributorsDialog:Cp,ElDatePicker:Ho(),ElSelect:Pr,ElWelsCompanyInfoForm:Pp,ElWelsProductInfoForm:qp,ElPartMenus:Lc,ElWelsSupportDocForm:Wp},beforeRouteEnter:function(e,t,a){Ou.get("/public/setting/agreement",{params:{application_type:19,type:10}}).then((function(t){return a((function(a){var o;!(null===(o=e.params)||void 0===o?void 0:o.id)||(a.canEdit=!1),a.treaty="en-US"===a.$i18n.locale?null==t?void 0:t.english_agreement:"zh-CN"===a.$i18n.locale?null==t?void 0:t.agreement:null==t?void 0:t.traditional_agreement}))}))}})],t)}(o.w3),Pu=Au,Tu=(0,z.Z)(Pu,Su,[],!1,null,null,null).exports,Du=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-admin-container",{class:["page-waterworks-area-list","en-US"===e.$i18n.locale?"page-waterworks-area-en":""],attrs:{breadcrumb:[e.$t("lang.applications"),e.$t("lang.waterworksArea")]}},[t("el-card",{staticClass:"search-filter-card",attrs:{shadow:"never"}},[t("el-form",[t("el-column-row",[t("el-form-item",{staticClass:"status-form-item",attrs:{label:e.$t("lang.status"),percent:.2}},[t("label",{attrs:{for:"access_list_status_params",hidden:""}},[e._v("''")]),e._v(" "),t("el-select",{attrs:{id:"access_list_status_params",loader:e.searchStatusOptions,clearable:""},model:{value:e.table.params.status,callback:function(t){e.$set(e.table.params,"status",t)},expression:"table.params.status"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{percent:.3,label:e.$t("lang.applicationTime")}},[t("label",{attrs:{for:"access_list_application_time_params_input_0",hidden:""}},[e._v("''")]),e._v(" "),t("label",{attrs:{for:"access_list_application_time_params_input_1",hidden:""}},[e._v("''")]),e._v(" "),t("el-date-picker",{staticClass:"width-pre-100",attrs:{type:"daterange","start-placeholder":e.$t("lang.applicationTimePlaceholderStart"),"end-placeholder":e.$t("lang.applicationTimePlaceholderEnd"),clearable:""},model:{value:e.table.params.application_time,callback:function(t){e.$set(e.table.params,"application_time",t)},expression:"table.params.application_time"}})],1),e._v(" "),t("el-form-item",{staticClass:"el-item-flex-justify-end"},[t("el-button",{staticClass:"fill-blue-btn",on:{click:function(t){return e.table.load()}}}
1,[e._v(e._s(e.$t("lang.action.search")))])],1)],1)],1)],1),e._v(" "),t("el-card",{staticClass:"contain-card",attrs:{shadow:"never"}},[t("el-table",{attrs:{store:e.table,border:"",hasHeight:!1}},[t("el-table-column",{attrs:{label:e.$t("lang.formHeader.file_no"),align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n          "+e._s(t.row.file_no)+"\n        ")]}}])}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.formHeader.status"),align:"center",width:"170"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n          "+e._s(e._f("options")(t.row.status,e.applyStatusOption))+" "+e._s(0===t.row.status?`(${e.$t("lang.reSubmt")})`:"")+"\n        ")]}}])}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.application_type"),align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n          "+e._s(e._f("options")(t.row.approval_scheme,e.waterworksAreaApplyType))+"\n        ")]}}])}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.approvedDate"),width:"160px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n          "+e._s(e._f("date_format")(t.row.approval_time))+"\n        ")]}}])}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.applicationTime"),width:"160px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n          "+e._s(e._f("date_format")(t.row.application_time))+"\n        ")]}}])}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.action.action"),align:"center","class-name":"cell-flex-row cell-justify-center action-column",width:"200"},scopedSlots:e._u([{key:"default",fn:function(a){return[t("el-button",{staticClass:"text-green",attrs:{type:"text"},on:{click:function(t){return e.$router.push({path:"/applications/waterworks_area/detail",query:{id:a.row.id}})}}},[e._v("\n            "+e._s(e.$t("lang.action.view"))+"\n          ")]),e._v(" "),0===a.row.lock?t("el-button",{staticClass:"text-blue",attrs:{type:"text"},on:{click:function(t){return e.$router.push(`/applications/waterworks_area/apply/${a.row.id}`)}}},[e._v("\n            "+e._s(e.$t("lang.action.edit"))+"\n          ")]):e._e(),e._v(" "),-1===a.row.status?t("el-button",{staticClass:"text-red",attrs:{type:"text",confirm:e.$t("lang.wantDeleteTip")},on:{confirm:function(t){return e.table.action("delete",{data:[a.row.id]})}}},[e._v(e._s(e.$t("lang.action.delete")))]):e._e(),e._v(" "),-101!==a.row.status&&-1!==a.row.status?t("el-button",{staticClass:"text-red",attrs:{type:"text",confirm:e.$t("lang.withdraw")},on:{confirm:function(t){return e.table.action("withdraw",{params:{id:a.row.id}})}}},[e._v(e._s(e.$t("lang.action.withdraw")))]):e._e()]}}])}),e._v(" "),t("el-table-toolbar",{attrs:{slot:"toolbar"},slot:"toolbar"},[t("el-button",{staticClass:"print-btn empty-bule-btn iconfont-15",attrs:{slot:"right"},on:{click:e.onAdd},slot:"right"},[t("i",{staticClass:"iconfont a-ico_new1x"}),e._v("\n          "+e._s(e.$t("lang.action.new"))+"\n        ")])],1),e._v(" "),t("el-pagination",{attrs:{slot:"footer",layout:"total, prev, pager, next"},slot:"footer"})],1),e._v(" "),t("el-cancel-dialog",{attrs:{visible:e.cancelForm.visible,form:e.cancelForm},on:{"update:visible":function(t){return e.$set(e.cancelForm,"visible",t)},onCancel:e.onCancel}})],1)],1)};Du._withStripped=!0;var Ru=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),Iu=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.api=x(),t.baseUrl="/api/afs/wsd",t.applyStatusOption="en-US"===t.$i18n.locale?zl:"zh-CN"===t.$i18n.locale?Nl:Bl,t.showTreatyDialiog=!1,t.waterworksAreaApplyType=Tl,t.searchStatusOptions="en-US"===t.$i18n.locale?Gl:"zh-CN"===t.$i18n.locale?Zl:Vl,t.treaty="(1) On behalf of the Company, we / I * would like to submit the specified information or documents for application of general acceptance of our product(s) in compliance with the Waterworks Ordinance and Regulations; \n\n(2) We / I * declare that all materials specified for the product(s) substantiated by supporting documents for GA application are for genuine use in manufacturing of such product(s);",t.table=new Z({loader:"/public/visit/applications/list/:page",params:{filters:!0},actions:{delete:{method:"delete",url:"/public/visit/applications",after:"reload"},withdraw:{method:"put",url:"/public/visit/applications/withdraw/:id",after:"load"}}}),t.cancelForm=new K({}),t}return Ru(t,e),t.prototype.onChange=function(e){switch(console.log("value",e),e){case"zh-CN":this.applyStatusOption=Nl;break;case"en-US":this.applyStatusOption=zl;break;case"zh-HK":this.applyStatusOption=Bl}},t.prototype.onCancel=function(){var e=this;this.api.delete("/public/visit/applications/cancel",{data:this.cancelForm.model}).then((function(t){e.table.reload(),e.cancelForm.close(),E().success({message:e.$t("lang.cancelSuccess"),showClose:!0,duration:5e3})}))},t.prototype.onAdd=function(){this.$router.push("/applications/waterworks_area/apply")},t.prototype.onDownloadLetter=function(e){var t=this;this.api.get("/public/visit/applications/approval_letter/".concat(e)).then((function(e){console.log("res",e),window.open("".concat(t.baseUrl,"/").concat(e.filename),"_blank")}))},t.prototype.mounted=function(){var e,t,a,o,l=document.getElementsByClassName("btn-prev"),n=document.getElementsByClassName("btn-next"),r=document.getElementsByClassName("el-range-input"),i=document.getElementsByClassName("el-table__cell gutter");for(var s in null===(e=l[0])||void 0===e||e.setAttribute("aria-label","pagination-btn-prev-label"),null===(t=n[0])||void 0===t||t.setAttribute("aria-label","pagination-btn-next-label"),r)if(Object.prototype.hasOwnProperty.call(r,s)){var c=r[s];null==c||c.setAttribute("id","access_list_application_time_params_input_"+s)}null===(a=i[0])||void 0===a||a.append("1"),null===(o=i[0])||void 0===o||o.setAttribute("style","width: 0px; display: none; color: #3A6573; backgroundColor: #ffffff;")},function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r}
1([(0,o.wA)({components:{ElAdminContainer:Da,ElCard:fe(),ElSelect:Pr,ElOption:xr(),ElForm:ae,ElFormItem:pt,ElColumnRow:ke,ElDatePicker:Ho(),ElButton:Ge,ElTable:go,ElTableColumn:Uo(),ElTableToolbar:Nr,ElPagination:Kr,ElApplyTreatyDialog:es,ElDialog:pe,ElRadioGroup:Bc(),ElRadio:Hs(),ElCancelDialog:qs}})],t)}(o.w3),Fu=Iu,Lu=(a(87517),(0,z.Z)(Fu,Du,[],!1,null,null,null).exports),qu=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-admin-container",{class:["page-waterworks-area-apply","page-review-application","en-US"===e.$i18n.locale?"page-waterworks-area-en":""],attrs:{breadcrumb:e.breadcrumb,showMenusPart:!0}},[t("el-part-menus",{attrs:{slot:"part-menus",menus:e.partList,active:e.partMaxActive},on:{"on-scroll-to":e.onScrollTo},slot:"part-menus"}),e._v(" "),t("div",{staticClass:"container entry-application-content"},[t("el-form",{attrs:{store:e.form,hasLabelSuffix:!1,rules:e.form.rules}},[t("el-card",{staticClass:"entry-application-item-card applicant-card",attrs:{shadow:"never"}},[t("p",{staticClass:"application-item-card-title",attrs:{slot:"header"},slot:"header"},[e._v("\r\n            "+e._s(e.$t("lang.application_type"))+"\r\n        ")]),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.application_type"),percent:.4,prop:"approval_scheme"}},[t("label",{attrs:{for:"access_form_approval_scheme",hidden:""}},[e._v("''")]),e._v(" "),t("el-select",{attrs:{id:"access_form_approval_scheme",loader:e.waterworksAreaApplyType},on:{change:e.onChangeType},model:{value:e.form.model.approval_scheme,callback:function(t){e.$set(e.form.model,"approval_scheme",t)},expression:"form.model.approval_scheme"}})],1)],1),e._v(" "),t("el-card",{staticClass:"applicant-card",attrs:{shadow:"never"}},[t("p",{staticClass:"application-item-card-title",attrs:{slot:"header"},slot:"header"},[e._v("\r\n            "+e._s(e.$t("lang.nameOfCompanyOrOrganisationAndAddressAndTelephoneNo"))+"\r\n        ")]),e._v(" "),t("el-column-row",["activities"!==e.form.model.approval_scheme?t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.company_name"),percent:.4,prop:"company_name"}},[t("label",{attrs:{for:"access_form_company_name",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"access_form_company_name",placeholder:e.$t("lang.company_name")},model:{value:e.form.model.company_name,callback:function(t){e.$set(e.form.model,"company_name",t)},expression:"form.model.company_name"}})],1):t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.nameOfApplicantOrganisation"),percent:.4,prop:"company_name"}},[t("label",{attrs:{for:"access_form_company_name",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"access_form_company_name",placeholder:e.$t("lang.nameOfApplicantOrganisation")},model:{value:e.form.model.company_name,callback:function(t){e.$set(e.form.model,"company_name",t)},expression:"form.model.company_name"}})],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("lang.address"),percent:.4,prop:"address"}},[t("label",{attrs:{for:"access_form_address",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"access_form_address",placeholder:e.$t("lang.address")},model:{value:e.form.model.address,callback:function(t){e.$set(e.form.model,"address",t)},expression:"form.model.address"}})],1)],1),e._v(" "),t("el-column-row",[t("el-form-item",{attrs:{label:e.$t("lang.teleNo"),percent:.4,prop:"phone"}},[t("label",{attrs:{for:"access_form_phone",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"access_form_phone",placeholder:e.$t("lang.teleNo")},model:{value:e.form.model.phone,callback:function(t){e.$set(e.form.model,"phone",t)},expression:"form.model.phone"}})],1)],1)],1),e._v(" "),t("el-card",{staticClass:"applicant-card",attrs:{shadow:"never"}},[t("p",{staticClass:"application-item-card-title",attrs:{slot:"header"},slot:"header"},[e._v("\r\n          "+e._s(e.$t("lang.locationForm"))+"\r\n        ")]),e._v(" "),t("el-form-item",{staticClass:"d-flex flex-column table-form-item label-width-zero",attrs:{"label-width":"0",prop:"locations"}},[t("el-table",{attrs:{data:e.form.model.locations,border:"",hasHeight:!1}},[t("el-table-column",{attrs:{label:e.$t("lang.formHeader.location"),prop:"location",align:"center"},scopedSlots:e._u([{key:"default",fn:function(a){return["100001"!==a.row.location_id?t("span",[e._v(e._s(e._f("options")(a.row.location_id,e.locationList)))]):e._e(
1),e._v(" "),"100001"===a.row.location_id?t("span",[e._v(e._s("Other - "+a.row.location_other_msg))]):e._e()]}}])}),e._v(" "),"activities"===e.form.model.approval_scheme?[t("el-table-column",{attrs:{label:e.$t("lang.bookTime"),prop:"visit_date",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\r\n                  "+e._s(e._f("date_format")(t.row.visit_date[0]))+" / "+e._s(e._f("date_format")(t.row.visit_date[1]))+"\r\n                ")]}}],null,!1,48774170)}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.natureOfVisit"),prop:"visit_nature",align:"center",width:"200"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\r\n                  "+e._s(t.row.visit_nature)+"\r\n                ")]}}],null,!1,556295018)}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.NoOfVisitors"),prop:"visitors",align:"center",width:"200"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\r\n                  "+e._s(t.row.visitors)+"\r\n                ")]}}],null,!1,833844802)})]:e._e(),e._v(" "),"activities"!==e.form.model.approval_scheme?[t("el-table-column",{attrs:{label:e.$t("lang.locationMap"),"class-name":"cell-justify-center d-flex-1",align:"center"},scopedSlots:e._u([{key:"default",fn:function(a){return a.row.location_map_doc&&a.row.location_map_doc.length?e._l(a.row.location_map_doc,(function(a){return t("el-link",{key:a.id,staticClass:"doc-link",attrs:{target:"_blank",underline:!1,href:`${e.baseUrl}/${a.filename}`}},[t("i",{staticClass:"iconfont ico_file_ppt"}),e._v("\r\n                    "+e._s(`${a.name}`)+"\r\n                  ")])})):void 0}}],null,!0)}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.bookTime"),prop:"visit_date",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\r\n                  "+e._s(e._f("moment")(t.row.visit_date[0]))+" / "+e._s(e._f("moment")(t.row.visit_date[1]))+"\r\n                ")]}}],null,!1,3892572858)}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.NoOfParticipants"),prop:"participants",align:"center",width:"200"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\r\n                  "+e._s(t.row.participants)+"\r\n                ")]}}],null,!1,2069220433)}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.NoOfCrew"),prop:"crews",align:"center",width:"200"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\r\n                  "+e._s(t.row.crews)+"\r\n                ")]}}],null,!1,3641133325)})]:e._e(),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.vehiclesHasType"),prop:"vehicles",align:"center",width:"200"},scopedSlots:e._u([{key:"default",fn:function(a){return[t("span",{staticStyle:{"white-space":"pre-line"}},[e._v(e._s(e.locationVehicles(a.row.vehicles)))])]}}])}),e._v(" "),t("el-table-column",{attrs:{label:"-",align:"center",width:"100","class-name":"cell-flex-row cell-align-center cell-justify-center"},scopedSlots:e._u([{key:"default",fn:function(a){return[t("el-button",{staticClass:"no-border-btn width-auto action-delete-btn",attrs:{confirm:"whether to delete this column?",icon:"iconfont ico_delete1"},on:{confirm:function(t){return e.onRemoveLocation(a.$index)}}}),e._v(" "),t("el-button",{staticClass:"no-border-btn width-auto margin-left-0",attrs:{icon:"iconfont WechatIMG27203"},on:{click:function(t){return e.onEditLocation(a.row,a.$index,"edit")}}})]}}])})],2),e._v(" "),t("el-button",{staticClass:"form-table-add-btn fill-blue-unhover-btn",on:{click:function(t){return e.onAddLocation()}}},[t("i",{staticClass:"iconfont ico_create1"}),e._v("\r\n            "+e._s(e.$t("lang.action.add"))+"\r\n          ")])],1)],1),e._v(" "),"activities"!==e.form.model.approval_scheme?[t("el-card",{staticClass:"applicant-card",attrs:{shadow:"never"}},[t("p",{staticClass:"application-item-card-title",attrs:{slot:"header"},slot:"header"},[e._v("\r\n            "+e._s(e.$t("lang.datesTimeOfFilmingShootingBriefDesOfScenesAndActivites"))+"\r\n          ")]),e._v(" "),t("el-form-item",{staticClass:"label-width-zero",attrs:{label:e.$t("lang.briefDesOfScenesActivities"),"label-width":"0",percent:.8,prop:"brief_description_doc"}},[t("el-document-upload",{attrs:{application_status:e.form.model.status,multiple:!0,"base-url":"/api/afs/wsd",action:"/api/afs/wsd"},model:{value:e.form.model.brief_description_doc,callback:function(t){e.$set(e.form.model,"brief_description_doc",t)},expression:"form.model.brief_description_doc"}})],1)],1)]:e._e(),e._v(" "),t("el-card",{staticClass:"applicant-card",attrs:{shadow:"never"}},[t("p",{staticClass:"application-item-card-title",attrs:{slot:"header"},slot:"header"},[t("span",{staticClass:"must-icon"},[e._v("*")]),e._v("\r\n          "+e._s(e.$t("lang.aCopyOfValidBusinessRegistrationCertificate"))+"\r\n        ")]),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-zero",attrs:{"label-width":"0",prop:"valid_business_registration_doc",percent:.8}},[t("el-document-upload",{attrs:{application_status:e.form.model.status,multiple:!0,"base-url":"/api/afs/wsd",action:"/api/afs/wsd"},model:{value:e.form.model.valid_business_registration_doc,callback:function(t){e.$set(e.form.model,"valid_business_registration_doc",t)},expression:"form.model.valid_business_registration_doc"}})],1)],1)],1),e._v(" "),t("el-card",{staticClass:"applicant-card",attrs:{shadow:"never"}},[e.form.model.id?e._e():[t("template",{slot:"header"},[e._v(e._s(e.$t("lang.applyMessageTitle")))]),e._v(" "),t("el-form-item",{staticClass:"d-flex flex-column",attrs:{prop:"upload_other_info","label-width":"0"}},[t("el-checkbox",{attrs:{"true-label":1,"false-label":0},model:{value:e.form.model.upload_other_info,callback:function(t){e.$set(e.form.model,"upload_other_info",t)},expression:"form.model.upload_other_info"}}
1,[e._v(e._s(e.$t("lang.uploadOtherInfo")))])],1),e._v(" "),e.form.model.upload_other_info?[t("el-form-item",{staticClass:"d-flex flex-column",attrs:{prop:"upload_other_info_msg","label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none"},model:{value:e.form.model.upload_other_info_msg,callback:function(t){e.$set(e.form.model,"upload_other_info_msg",t)},expression:"form.model.upload_other_info_msg"}})],1),e._v(" "),t("el-form-item",{staticClass:"d-flex flex-column",attrs:{prop:"upload_other_info_doc","label-width":"0"}},[t("el-document-upload",{attrs:{multiple:!0,application_status:e.form.model.status,"base-url":e.baseUrl,action:e.baseUrl},model:{value:e.form.model.upload_other_info_doc,callback:function(t){e.$set(e.form.model,"upload_other_info_doc",t)},expression:"form.model.upload_other_info_doc"}})],1)]:e._e()]],2),e._v(" "),e.form.model.id?t("el-review-message",{attrs:{applicationId:e.form.model.id,stage:e.form.model.status}},[t("el-form-item",{staticClass:"d-flex flex-column",attrs:{prop:"upload_other_info","label-width":"0"}},[t("el-checkbox",{attrs:{"true-label":1,"false-label":0,disabled:!e.canEdit&&e.form.model.upload_other_info_review&&1===e.form.model.upload_other_info_review.status},model:{value:e.form.model.upload_other_info,callback:function(t){e.$set(e.form.model,"upload_other_info",t)},expression:"form.model.upload_other_info"}},[e._v(e._s(e.$t("lang.uploadOtherInfo")))])],1),e._v(" "),e.form.model.upload_other_info?[t("el-form-item",{staticClass:"d-flex flex-column",attrs:{prop:"upload_other_info_msg","label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none",readonly:!e.canEdit&&e.form.model.upload_other_info_review&&1===e.form.model.upload_other_info_review.status},model:{value:e.form.model.upload_other_info_msg,callback:function(t){e.$set(e.form.model,"upload_other_info_msg",t)},expression:"form.model.upload_other_info_msg"}})],1),e._v(" "),t("el-form-item",{staticClass:"d-flex flex-column",attrs:{prop:"upload_other_info_doc","label-width":"0"}},[t("el-document-upload",{attrs:{multiple:!0,"base-url":e.baseUrl,action:e.baseUrl,text:e.$t("lang.action.upload"),application_status:e.form.model.status,readonly:!e.canEdit&&e.form.model.upload_other_info_review&&1===e.form.model.upload_other_info_review.status},model:{value:e.form.model.upload_other_info_doc,callback:function(t){e.$set(e.form.model,"upload_other_info_doc",t)},expression:"form.model.upload_other_info_doc"}})],1)]:e._e()],2):e._e()],2),e._v(" "),t("div",{staticClass:"entry-application-footer"},[t("el-button",{staticClass:"empty-bule-btn",on:{click:function(t){return e.$router.push("/applications/waterworks_area")}}},[e._v(e._s(e.$t("lang.action.cancel")))]),e._v(" "),e.form.model.id&&-1!=e.form.model.status&&0!==e.form.model.lock?e._e():t("el-button",{staticClass:"empty-bule-btn",on:{click:function(t){return e.onSaveForm()}}},[e._v(e._s(e.$t("lang.action.save")))]),e._v(" "),-1===e.form.model.status?t("el-button",{staticClass:"fill-blue-btn",on:{click:function(t){return e.handleSubmit()}}},[e._v(e._s(e.$t("lang.action.submit")))]):e._e(),e._v(" "),-1!==e.form.model.status&&0===e.form.model.lock?t("el-button",{staticClass:"fill-blue-btn",on:{click:function(t){return e.handleResubmit()}}},[e._v(e._s(e.$t("lang.action.resubmit")))]):e._e()],1)],1),e._v(" "),t("el-dialog",{staticClass:"add-product-model-dialog position-center",attrs:{visible:e.locationForm.visible,width:"880px",title:e.$t("lang.addLocations")},on:{close:function(t){return e.locationForm.close()}}},[t("el-form",{attrs:{store:e.locationForm,"status-icon":"",hasLabelSuffix:!1}},[t("el-form-item",{staticClass:"label-width-auto label-left label-flex-center",attrs:{label:e.$t("lang.formHeader.location"),prop:"location_id"}},[t("el-select",{attrs:{loader:"/internal/regions/applications/all",addOption:{value:"100001",label:"Other",id:"100001"}},on:{change:e.onLocationChange},model:{value:e.locationForm.model.location_id,callback:function(t){e.$set(e.locationForm.model,"location_id",t)},expression:"locationForm.model.location_id"}})],1),e._v(" "),"100001"===e.locationForm.model.location_id?t("el-form-item",{staticClass:"label-width-auto label-left label-flex-center",attrs:{prop:"location_other_msg"}}
1,[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none",placeholder:e.$t("lang.pleaseEnter")},model:{value:e.locationForm.model.location_other_msg,callback:function(t){e.$set(e.locationForm.model,"location_other_msg",t)},expression:"locationForm.model.location_other_msg"}})],1):e._e(),e._v(" "),"activities"!==e.form.model.approval_scheme?t("el-form-item",{staticClass:"d-flex flex-column",attrs:{label:e.$t("lang.locationMap"),prop:"location_map_doc","label-width":"0"}},[t("el-document-upload",{attrs:{multiple:!0,application_status:e.form.model.status,"base-url":e.baseUrl,action:e.baseUrl},model:{value:e.locationForm.model.location_map_doc,callback:function(t){e.$set(e.locationForm.model,"location_map_doc",t)},expression:"locationForm.model.location_map_doc"}})],1):e._e(),e._v(" "),t("el-form-item",{staticClass:"label-width-auto label-left label-flex-center",attrs:{label:e.$t("lang.bookTime"),prop:"visit_date"}},[t("el-date-picker",{attrs:{type:"datetimerange","range-separator":"~","start-placeholder":e.$t("lang.startDate"),"end-placeholder":e.$t("lang.endDate"),clearable:!0,"picker-options":e.pickerOptions},model:{value:e.locationForm.model.visit_date,callback:function(t){e.$set(e.locationForm.model,"visit_date",t)},expression:"locationForm.model.visit_date"}})],1),e._v(" "),"activities"===e.form.model.approval_scheme?[t("el-form-item",{staticClass:"label-width-auto label-left label-flex-center",attrs:{label:e.$t("lang.natureOfVisit"),prop:"visit_nature"}},[t("el-input",{attrs:{placeholder:e.$t("lang.natureOfVisit")},model:{value:e.locationForm.model.visit_nature,callback:function(t){e.$set(e.locationForm.model,"visit_nature",t)},expression:"locationForm.model.visit_nature"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto label-left label-flex-center",attrs:{label:e.$t("lang.NoOfVisitors"),prop:"visitors"}},[t("el-input",{attrs:{placeholder:e.$t("lang.NoOfVisitors")},model:{value:e.locationForm.model.visitors,callback:function(t){e.$set(e.locationForm.model,"visitors",t)},expression:"locationForm.model.visitors"}})],1)]:e._e(),e._v(" "),"activities"!==e.form.model.approval_scheme?[t("el-form-item",{staticClass:"label-width-auto label-left label-flex-center",attrs:{label:e.$t("lang.NoOfCrew"),prop:"crews"}},[t("el-input",{attrs:{placeholder:e.$t("lang.NoOfCrew")},model:{value:e.locationForm.model.crews,callback:function(t){e.$set(e.locationForm.model,"crews",t)},expression:"locationForm.model.crews"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto label-left label-flex-center",attrs:{label:e.$t("lang.NoOfParticipants"),prop:"participants"}},[t("el-input",{attrs:{placeholder:e.$t("lang.NoOfParticipants")},model:{value:e.locationForm.model.participants,callback:function(t){e.$set(e.locationForm.model,"participants",t)},expression:"locationForm.model.participants"}})],1)]:e._e(),e._v(" "),t("el-form-item",{staticClass:"d-flex flex-column table-form-item label-width-zero",attrs:{"label-width":"0",prop:"vehicles"}},[t("el-table",{attrs:{data:e.locationForm.model.vehicles,border:"",hasHeight:!1}},[t("el-table-column",{attrs:{label:e.$t("lang.vehiclesHasType"),prop:"name",align:"center",width:"160"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\r\n              "+e._s(e.$t(`lang.${t.row.name}`))+"\r\n            ")]}}])}),e._v(" "),t("el-table-column",{attrs:{prop:"number",align:"center",width:"160"},scopedSlots:e._u([{key:"default",fn:function(a){return[t("el-input",{attrs:{type:"number",oninput:"value=value.replace(/[^0-9]/g,'')",placeholder:e.$t("lang.pleaseEnter")},model:{value:a.row.number,callback:function(t){e.$set(a.row,"number",t)},expression:"props.row.number"}})]}}])})],1)],1)],2),e._v(" "),t("template",{slot:"footer"},[t("el-button",{staticClass:"refuse-btn",on:{click:function(t){return e.locationForm.close()}}},[e._v("\r\n        "+e._s(e.$t("lang.action.close"))+"\r\n      ")]),e._v(" "),t("el-button",{staticClass:"agree-btn",attrs:{type:"primary"},on:{click:e.handlerLocation}},[e._v(" "+e._s(e.$t("lang.action.save"))+" ")])],1)],2)],1)};qu._withStripped=!0;var Mu=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),ju=function(){return ju=Object.assign||function(e){for(var t,a=1,o=arguments.length;a<o;a++)for(var l in t=arguments[a])Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l]);return e},ju.apply(this,arguments)},zu=[{name:"lang.application_type"}
1,{name:"lang.nameOfCompanyOrOrganisationAndAddressAndTelephoneNo"},{name:"lang.locationMapAndRouteShouldBeAttached"},{name:"lang.datesTimeOfFilmingShootingBriefDesOfScenesAndActivites"},{name:"lang.noOfParticipantsCrewAndVehicles"},{name:"lang.aCopyOfValidBusinessRegistrationCertificate"},{name:"lang.applyMessageTitle"}],Nu=[{name:"lang.application_type"},{name:"lang.nameOfCompanyOrOrganisationAndAddressAndTelephoneNo"},{name:"lang.locationOfEventDateOfTheEventTimeNatureOfEvent"},{name:"lang.aCopyOfValidBusinessRegistrationCertificate"},{name:"lang.disclaimer"},{name:"lang.applyMessageTitle"}],Bu=x(),Uu=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.breadcrumb=[{path:"",title:t.$t("lang.eApplication")},{path:"/applications/waterworks_area",title:t.$t("lang.waterworksArea")},{path:"",title:t.$t("lang.new_application")}],t.api=x(),t.baseUrl="/api/afs/wsd",t.errMessage={111:t.$t("lang.pleaseCompleteAllRequiredFields"),90003:t.$t("lang.applicationAlreadyExists"),90005:t.$t("lang.applicationAlreadySubmit"),90007:t.$t("lang.applicationDraftErr")},t.waterworksAreaApplyType="en-US"===t.$i18n.locale?Tl:"zh-CN"===t.$i18n.locale?Dl:Rl,t.partMaxActive=1,t.partList=[],t.pageCenterNum=0,t.partActive=1,t.cardListTop=[],t.treaty="",t.agreeTreaty=!0,t.canEdit=!0,t.form=new K({loader:"/public/visit/applications/:id",action:"/public/visit/applications",default:{approval_scheme:"location",status:-1,lock:0,locations:[]},rules:{company_name:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],address:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{max:250,message:"".concat(t.$t("lang.characterLength")," 250"),trigger:"blur"}],phone:[{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"},{required:!0,validator:function(e,a,o){return qc(0,a,o,t.$t("lang.pleaseEnter"),t.$t("lang.pleaseEnterCorrectNum"))},trigger:"blur"}],location_id:[{required:!0,message:t.$t("lang.pleaseChoose"),trigger:"blur"}],location_map_doc:[{required:!0,message:t.$t("lang.pleaseUploadFile"),trigger:"blur"}],visit_date:[{required:!0,message:t.$t("lang.pleaseChoose"),trigger:"blur"}],brief_description_doc:[{required:!0,message:t.$t("lang.pleaseUploadFile"),trigger:"blur"}],crews:[{required:!0,validator:function(e,a,o){a?/^[1-9]\d*$/.test(a)?o():o(new Error(t.$t("lang.enterNumbersOnly"))):o(new Error(t.$t("lang.pleaseEnter")))},trigger:"blur"},{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"}],participants:[{required:!0,validator:function(e,a,o){a?/^[1-9]\d*$/.test(a)?o():o(new Error(t.$t("lang.enterNumbersOnly"))):o(new Error(t.$t("lang.pleaseEnter")))},trigger:"blur"},{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"}],vehicles:[{required:!0,validator:function(e,a,o){a&&-1!==a.findIndex((function(e){return e.number}))?Number(a[0].number)+Number(a[1].number)+Number(a[2].number)>3?o(new Error(t.$t("lang.exceed3"))):o():o(new Error(t.$t("lang.pleaseEnter")))},trigger:"blur"}],visit_nature:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"}],visitors:[{required:!0,validator:function(e,a,o){a?/^[1-9]\d*$/.test(a)?o():o(new Error(t.$t("lang.enterNumbersOnly"))):o(new Error(t.$t("lang.pleaseEnter")))},trigger:"blur"},{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"}],valid_business_registration_doc:[{required:!0,message:t.$t("lang.pleaseUploadFile"),trigger:"blur"}],location_other_msg:[{max:250,message:"".concat(t.$t("lang.characterLength")," 250"),trigger:"blur"}],upload_other_info_msg:[{max:250,message:"".concat(t.$t("lang.characterLength")," 250"),trigger:"blur"}]},onSubmitSuccess:function(){t.successMessage("submit")},onSubmitFailure:function(e){var a=e?t.errMessage[e]:t.errMessage[111];a&&E().error({message:a,duration:5e3,showClose:!0})}}),t.locationForm=new K({default:{},rules:{location_id:[{required:!0,message:t.$t("lang.pleaseChoose"),trigger:"blur"}],location_map_doc:[{required:!0,message:t.$t("lang.pleaseUploadFile"),trigger:"blur"}],visit_date:[{required:!0,message:t.$t("lang.pleaseChoose"),trigger:"blur"}],crews:[{required:!0,validator:function(e,a,o){a?/^[1-9]\d*$/.test(a)?o():o(new Error(t.$t("lang.enterNumbersOnly"))):o(new Error(t.$t("lang.pleaseEnter")))},trigger:"blur"},{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"}],participants:[{required:!0,validator:function(e,a,o){a?/^[1-9]\d*$/.test(a)?o():o(new Error(t.$t("lang.enterNumbersOnly"))):o(new Error(t.$t("lang.pleaseEnter")))},trigger:"blur"},{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"}],visit_nature:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"}],visitors:[{required:!0,validator:function(e,a,o){a?/^[1-9]\d*$/.test(a)?o():o(new Error(t.$t("lang.enterNumbersOnly"))):o(new Error(t.$t("lang.pleaseEnter")))},trigger:"blur"},{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"}],vehicles:[{required:!0,validator:function(e,a,o){a&&-1!==a.findIndex((function(e){return e.number}))?Number(a[0].number)+Number(a[1].number)+Number(a[2].number)>3?o(new Error(t.$t("lang.exceed3"))):o():o(new Error(t.$t("lang.pleaseEnter")))},trigger:"blur"}]}}),t.holidayList=[],t.blockList=[],t.pickerOptions={},t.locationAction="add",t.locationIndex=-1,t.locationList=[],t.offset="location"===t.form.model.approval_scheme?7:10,t}return Mu(t,e),t.prototype.onChange=function(e){switch(console.log("value",e),e){case"zh-CN":this.waterworksAreaApplyType=Dl;break;case"en-US":this.waterworksAreaApplyType=Tl;break;case"zh-HK":this.waterworksAreaApplyType=Rl}},t.prototype.handleSubmit=function(){var e=this,t=this.form.model.status;this.form.model.lock=1,this.form.model.status=-1===this.form.model.status?40:this.form.model.status,this.form.submit().catch((function(a){e.form.model.status=t,e.form.model.lock=0}))},t.prototype.handleResubmit=function(){var e=this,t=n().service({lock:!0});this.form.model.lock=1,this.api.post("/public/visit/applications/resubmit",this.form.model).then((function(a){t.close(),E().success({duration:5e3,showClose:!0,message:e.$t("lang.successfullySubmitted")}),e.$router.push("/applications/waterworks_area")})).catch((function(a){t.close(),e.form.model.lock=0;var o=e.errMessage[a];o&&E().error({message:o,showClose:!0,duration:5e3})}))},t.prototype.onSaveForm=function(){var e=this,t=this.form.model.status,a=n().service({lock:!0});this.form.model.id?Bu.put("/public/visit/applications",this.form.model).then((function(t){e.successMessage("save"),a.close()})).catch((function(o){e.form.model.status=t,e.submitErrMessage(o),a.close()})):Bu.post("/public/visit/applications",this.form.model).then((function(t){e.successMessage("save"),a.close()})).catch((function(o){e.form.model.status=t,e.submitErrMessage(o),a.close()}))},t.prototype.successMessage=function(e,t){void 0===e&&(e="save"),void 0===t&&(t=!0),E().success({duration:5e3,showClose:!0,message:"save"===e?this.$t("lang.successfullySaved"):this.$t("lang.successfullySubmitted")}),t&&this.$router.push("/applications/waterworks_area")},t.prototype.submitErrMessage=function(e){var t=e?this.errMessage[e]:this.errMessage[111];t&&E().error({message:t,showClose:!0,duration:5e3})},t.prototype.handleScroll=function(){for(var e=document.querySelectorAll(".applicant-card"),t=document.querySelector(".page-content-view"),a=null==t?void 0:t.scrollTop,o=[],l=0;l<e.length;l++)o.push(e[l].offsetTop);var n;n=(null==t?void 0:t.scrollHeight)&&a+(null==t?void 0:t.clientHeight)>=(null==t?void 0:t.scrollHeight)?o.concat([]):a<20?[]:o.filter((function(e){return e-12<a})),this.partMaxActive=n.length||1,this.cardListTop=o.concat([])},t.prototype.onScrollTo=function(e){document.querySelector(".page-content-view").scrollTop=this.cardListTop[e]-10},t.prototype.onGetPartList=function(e){this.partList="activities"===e?Nu.concat([]):zu.concat([])},t.prototype.locationVehicles=function(e){var t=this;return e.map((function(e){return t.$t("lang.".concat(null==e?void 0:e.name))+": ".concat(null==e?void 0:e.number)})).join("\n")},t.prototype.onAddLocation=function(e){this.locationAction="add",this.locationForm.default={location_map_doc:[],vehicles:[{name:"private_car",number:""},{name:"light_goods_vehicle",number:""},{name:"mini_bus",number:""}]},this.locationForm.open()},t.prototype.handlerLocation=function(){var e=this;this.locationForm.validate().then((function(t){if("add"===e.locationAction)return e.form.model.locations.push(e.locationForm.model),void e.locationForm.close();e.$set(e.form.model.locations,e.locationIndex,e.locationForm.model),e.locationForm.close()}))},t.prototype.onRemoveLocation=function(e){this.form.model.locations.splice(e,1)},t.prototype.onEditLocation=function(e,t,a){this.locationAction="edit",this.locationIndex=t,this.locationForm.default=e,this.locationForm.open()},t.prototype.onLocationChange=function(e){this.getHolidayList(e)},t.prototype.getLocationList=function(){var e=this;this.api.get("/internal/regions/applications/all").then((function(t){e.locationList=t}))},t.prototype.getHolidayList=function(e){var t=this;void 0===e&&(e=""),this.api.get("/public/holidays/date",{params:{location_id:e}}).then((function(e){t.holidayList=[],t.blockList=[],e.forEach((function(e){e.timestamp&&(1===e.type?t.holidayList.push(e.timestamp):t.blockList.push(e.timestamp))})),console.log("this.holidayList",t.holidayList),console.log("this.blockList",t.blockList),t.resetPickerOption()}))},t.prototype.onChangeType=function(){this.resetPickerOption()},t.prototype.resetPickerOption=function(){var e=this;this.offset="location"===this.form.model.approval_scheme?7:10;for(var t=1;t<=this.offset;t++){var a=new Date(Date.now()+24*t*60*60*1e3);(0===a.getDay()||6===a.getDay()||this.holidayList.includes(a.getTime().toString()))&&(this.offset+=1)}console.log("this.offset",this.offset),this.pickerOptions={disabledDate:function(t){var a=24*e.offset*60*60*1e3;return t.getTime()<Date.now()+a||t.getTime()>Date.now()+15552e6||e.blockList.includes(t.getTime().toString())}}},t.prototype.mounted=function(){var e=this;this.$nextTick((function(){var t,a;window.addEventListener("scroll",e.handleScroll,!0);var o=(null===(t=document.querySelector("body"))||void 0===t?void 0:t.clientHeight)||0,l=(null===(a=document.querySelector(".el-header"))||void 0===a?void 0:a.clientHeight)||0;e.pageCenterNum=o?o/2-107-l:0;for(var n=document.querySelectorAll(".applicant-card"),r=0;r<n.length;r++)e.cardListTop.push(n[r].offsetTop)}));var t=document.getElementsByClassName("el-table__cell gutter");for(var a in t)if(Object.prototype.hasOwnProperty.call(t,a)){var o=t[a];null==o||o.append("1"),null==o||o.setAttribute("style","width: 0px; display: none; color: #3A6573; backgroundColor: #ffffff;")}},t.prototype.beforeMount=function(){var e=this;this.$route.params.id?(this.form.load({id:this.$route.params.id}),this.onGetPartList("activities")):this.onGetPartList("other"),this.$route.params.id||Bu.get("/public/visit/applications/latest").then((function(t){e.form.reset(ju(ju({},e.form.default),{company_name:null==t?void 0:t.company_name,address:null==t?void 0:t.address,phone:null==t?void 0:t.phone}))})),this.getLocationList(),this.getHolidayList()},function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r}([(0,o.wA)({components:{ElAdminContainer:Da,ElForm:ae,ElFormItem:pt,ElColumnRow:ke,ElButton:Ge,ElCard:fe(),ElInput:Ze(),ElSelectTag:ds,ElTable:go,ElTableColumn:Uo(),ElDocumentUpload:Eo,ElSelect:Pr,ElDatePicker:Ho(),ElReviewMessage:lc,ElPartMenus:Lc},beforeRouteEnter:function(e,t,a){Bu.get("/public/setting/agreement",{params:{application_type:13,type:10}}).then((function(t){return a((function(a){var o;!(null===(o=e.params)||void 0===o?void 0:o.id)||(a.canEdit=!1),t&&t.agreement&&(a.treaty=t.agreement)}))}
1))}})],t)}(o.w3),Wu=Uu,Hu=(a(32583),(0,z.Z)(Wu,qu,[],!1,null,null,null).exports),Gu=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-admin-container",{class:["page-undertaking-list","en-US"===e.$i18n.locale?"page-undertaking-list-en":""],attrs:{breadcrumb:[e.$t("lang.applications"),e.$t("lang.undertaking")]}},[t("el-card",{staticClass:"search-filter-card",attrs:{shadow:"never"}},[t("el-form",[t("el-column-row",[t("el-form-item",{staticClass:"status-form-item",attrs:{label:e.$t("lang.status"),percent:.4}},[t("label",{attrs:{for:"mo_list_status_params",hidden:""}},[e._v("''")]),e._v(" "),t("el-select",{attrs:{id:"mo_list_status_params",loader:e.searchStatusOptions,clearable:""},model:{value:e.table.params.status,callback:function(t){e.$set(e.table.params,"status",t)},expression:"table.params.status"}})],1),e._v(" "),t("el-form-item",{attrs:{percent:.4,label:e.$t("lang.applicationTime")}},[t("label",{attrs:{for:"mo_list_application_time_params_input_0",hidden:""}},[e._v("''")]),e._v(" "),t("label",{attrs:{for:"mo_list_application_time_params_input_1",hidden:""}},[e._v("''")]),e._v(" "),t("el-date-picker",{staticClass:"width-pre-100",attrs:{type:"daterange","start-placeholder":e.$t("lang.applicationTimePlaceholderStart"),"end-placeholder":e.$t("lang.applicationTimePlaceholderEnd"),clearable:""},model:{value:e.table.params.application_time,callback:function(t){e.$set(e.table.params,"application_time",t)},expression:"table.params.application_time"}})],1),e._v(" "),t("el-form-item",{staticClass:"el-item-flex-justify-end"},[t("el-button",{staticClass:"fill-blue-btn",on:{click:function(t){return e.table.load()}}},[e._v(e._s(e.$t("lang.action.search")))])],1)],1)],1)],1),e._v(" "),t("el-card",{staticClass:"contain-card",attrs:{shadow:"never"}},[t("el-table",{attrs:{store:e.table,border:"",hasHeight:!1}},[t("el-table-column",{attrs:{label:e.$t("lang.formHeader.file_no"),align:"center",width:"160"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n          "+e._s(t.row.file_no)+"\n        ")]}}])}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.formHeader.status"),align:"center",width:"170"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n          "+e._s(e._f("options")(t.row.status,e.applyStatusOption))+" "+e._s(0===t.row.status?`(${e.$t("lang.reSubmt")})`:"")+"\n        ")]}}])}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.name_of_building"),align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.buildings&&t.row.buildings.length>0?[e._v("\n            "+e._s(t.row.buildings.map((e=>e.name)).join("、"))+"\n          ")]:e._e()]}}])}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.scheme"),align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n            "+e._s(t.row.scheme_certificate_no&&t.row.scheme_certificate_no.length>0?t.row.scheme_certificate_no.join("、"):"")+"\n        ")]}}])}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.approvedDate"),width:"160px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n          "+e._s(e._f("date_format")(t.row.approval_time))+"\n        ")]}}])}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.applicationTime"),width:"160px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n          "+e._s(e._f("date_format")(t.row.application_time))+"\n        ")]}}])}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.action.action"),align:"center","class-name":"cell-flex-row cell-justify-center action-column",width:"200"},scopedSlots:e._u([{key:"default",fn:function(a){return[t("el-button",{staticClass:"text-green",attrs:{type:"text"},on:{click:function(t){return e.$router.push({path:"/applications/undertaking/detail",query:{id:a.row.id}})}}},[e._v(e._s(e.$t("lang.action.view")))]),e._v(" "),-1==a.row.status||0==a.row.status?t("el-button",{staticClass:"text-blue",attrs:{type:"text"},on:{click:function(t){return e.$router.push(`/applications/undertaking/apply/${a.row.id}`)}}}
1,[e._v(e._s(e.$t("lang.action.edit")))]):e._e(),e._v(" "),-1===a.row.status?t("el-button",{staticClass:"text-red",attrs:{type:"text",confirm:e.$t("lang.wantDeleteTip")},on:{confirm:function(t){return e.table.action("delete",{data:[a.row.id]})}}},[e._v(e._s(e.$t("lang.action.delete")))]):e._e()]}}])}),e._v(" "),t("el-table-toolbar",{attrs:{slot:"toolbar"},slot:"toolbar"},[t("el-button",{staticClass:"print-btn empty-bule-btn iconfont-15",attrs:{slot:"right"},on:{click:e.onAdd},slot:"right"},[t("i",{staticClass:"iconfont a-ico_new1x"}),e._v("\n          "+e._s(e.$t("lang.action.new"))+"\n        ")])],1),e._v(" "),t("el-pagination",{attrs:{slot:"footer",layout:"total, prev, pager, next"},slot:"footer"})],1),e._v(" "),t("el-apply-treaty-dialog",{attrs:{description:e.treaty,visible:e.showTreatyDialiog},on:{"update:visible":function(t){e.showTreatyDialiog=t},"on-agree":e.onAdd}}),e._v(" "),t("el-cancel-dialog",{attrs:{visible:e.cancelForm.visible,form:e.cancelForm},on:{"update:visible":function(t){return e.$set(e.cancelForm,"visible",t)},onCancel:e.onCancel}})],1)],1)};Gu._withStripped=!0;var Vu=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),Zu=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.api=x(),t.baseUrl="/api/afs/wsd",t.applyStatusOption="en-US"===t.$i18n.locale?zl:"zh-CN"===t.$i18n.locale?Nl:Bl,t.typeOfBuildinfOption=Jl,t.searchStatusOptions="en-US"===t.$i18n.locale?Ul:"zh-CN"===t.$i18n.locale?Hl:Wl,t.treaty="(1) On behalf of the Company, we / I * would like to submit the specified information or documents for application of general acceptance of our product(s) in compliance with the Waterworks Ordinance and Regulations; \n\n(2) We / I * declare that all materials specified for the product(s) substantiated by supporting documents for GA application are for genuine use in manufacturing of such product(s);",t.showTreatyDialiog=!1,t.table=new Z({loader:"/public/guarantee/applications/list/:page",params:{filters:!0},actions:{delete:{method:"delete",url:"/public/guarantee/applications",after:"reload"}}}),t.cancelForm=new K({}),t}return Vu(t,e),t.prototype.onChange=function(e){switch(console.log("value",e),e){case"zh-CN":this.applyStatusOption=Nl;break;case"en-US":this.applyStatusOption=zl;break;case"zh-HK":this.applyStatusOption=Bl}},t.prototype.onAdd=function(){this.$router.push("/applications/undertaking/apply")},t.prototype.onCancel=function(){var e=this;this.api.delete("/public/guarantee/applications/cancel",{data:this.cancelForm.model}).then((function(t){e.table.reload(),e.cancelForm.close(),E().success({message:e.$t("lang.cancelSuccess"),showClose:!0,duration:5e3})}))},t.prototype.onGetConditions=function(){var e=this;return this.api.get("/public/setting/agreement",{params:{application_type:14,type:10}}).then((function(t){t&&t.agreement&&(e.treaty=t.agreement)}
1)).catch((function(e){}))},t.prototype.onShowConditions=function(){return e=this,t=void 0,o=function(){return function(e,t){var a,o,l,n,r={label:0,sent:function(){if(1&l[0])throw l[1];return l[1]},trys:[],ops:[]};return n={next:i(0),throw:i(1),return:i(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function i(i){return function(s){return function(i){if(a)throw new TypeError("Generator is already executing.");for(;n&&(n=0,i[0]&&(r=0)),r;)try{if(a=1,o&&(l=2&i[0]?o.return:i[0]?o.throw||((l=o.return)&&l.call(o),0):o.next)&&!(l=l.call(o,i[1])).done)return l;switch(o=0,l&&(i=[2&i[0],l.value]),i[0]){case 0:case 1:l=i;break;case 4:return r.label++,{value:i[1],done:!1};case 5:r.label++,o=i[1],i=[0];continue;case 7:i=r.ops.pop(),r.trys.pop();continue;default:if(!((l=(l=r.trys).length>0&&l[l.length-1])||6!==i[0]&&2!==i[0])){r=0;continue}if(3===i[0]&&(!l||i[1]>l[0]&&i[1]<l[3])){r.label=i[1];break}if(6===i[0]&&r.label<l[1]){r.label=l[1],l=i;break}if(l&&r.label<l[2]){r.label=l[2],r.ops.push(i);break}l[2]&&r.ops.pop(),r.trys.pop();continue}i=t.call(e,r)}catch(e){i=[6,e],o=0}finally{a=l=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}}(this,(function(e){switch(e.label){case 0:return[4,this.onGetConditions()];case 1:return e.sent(),this.showTreatyDialiog=!0,[2]}}))},new((a=void 0)||(a=Promise))((function(l,n){function r(e){try{s(o.next(e))}catch(e){n(e)}}function i(e){try{s(o.throw(e))}catch(e){n(e)}}function s(e){var t;e.done?l(e.value):(t=e.value,t instanceof a?t:new a((function(e){e(t)}))).then(r,i)}s((o=o.apply(e,t||[])).next())}));var e,t,a,o},t.prototype.onDownloadLetter=function(e){var t=this;this.api.get("/public/guarantee/applications/approval_letter/".concat(e)).then((function(e){console.log("res",e),window.open("".concat(t.baseUrl,"/").concat(e.filename),"_blank")}))},t.prototype.mounted=function(){var e,t,a,o,l=document.getElementsByClassName("btn-prev"),n=document.getElementsByClassName("btn-next"),r=document.getElementsByClassName("el-range-input"),i=document.getElementsByClassName("el-table__cell gutter");for(var s in null===(e=l[0])||void 0===e||e.setAttribute("aria-label","pagination-btn-prev-label"),null===(t=n[0])||void 0===t||t.setAttribute("aria-label","pagination-btn-next-label"),r)if(Object.prototype.hasOwnProperty.call(r,s)){var c=r[s];null==c||c.setAttribute("id","mo_list_application_time_params_input_"+s)}null===(a=i[0])||void 0===a||a.append("1"),null===(o=i[0])||void 0===o||o.setAttribute("style","width: 0px; display: none; color: #3A6573; backgroundColor: #ffffff;")},function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r}([(0,o.wA)({components:{ElAdminContainer:Da,ElCard:fe(),ElSelect:Pr,ElOption:xr(),ElForm:ae,ElFormItem:pt,ElColumnRow:ke,ElDatePicker:Ho(),ElButton:Ge,ElTable:go,ElTableColumn:Uo(),ElTableToolbar:Nr,ElPagination:Kr,ElApplyTreatyDialog:es,ElInput:Ze(),ElCancelDialog:qs}})],t)}(o.w3),Qu=Zu,Ku=(a(20418),(0,z.Z)(Qu,Gu,[],!1,null,null,null).exports),Yu=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-admin-container",{class:["page-undertaking-apply","page-review-application","en-US"===e.$i18n.locale?"page-undertaking-apply-en":""],attrs:{breadcrumb:e.breadcrumb}},[t("div",{staticClass:"container entry-application-content"},[t("el-form",{attrs:{store:e.form,hasLabelSuffix:!1,rules:e.form.rules}},[t("el-card",{staticClass:"entry-application-item-card build-info-card",attrs:{shadow:"never"}},[t("el-form-item",{staticClass:"label-width-auto margin-bottom-20",attrs:{label:e.$t("lang.Scheme"),prop:"approval_scheme"}},[t("el-checkbox-group",{staticClass:"d-flex flex-column",attrs:{disabled:!e.canEdit&&e.form.model.all_review&&1===e.form.model.all_review.status},model:{value:e.form.model.approval_scheme,callback:function(t){e.$set(e.form.model,"approval_scheme",t)},expression:"form.model.approval_scheme"}},e._l(e.undertakingApprovalTypeOption,(function(a){return t("el-checkbox",{key:a.id,attrs:{label:a.id}},[e._v(e._s(a.name))])})),1)],1),e._v(" "),t("el-form-item",{staticClass:"label-width-zero margin-bottom-20",attrs:{"label-width":"0"}},[t("template",{slot:"label"},[e._v("\r\n            "+e._s(e.$t("lang.building_info"))+"\r\n          ")]),e._v(" "),t("el-table",{attrs:{data:e.form.model.buildings,border:"",hasHeight:!1}},[t("el-table-column",{attrs:{label:e.$t("lang.buildingName"),width:"300",prop:"name"}}),e._v(" "),t("el-table-column",{attrs:{label:`${e.$t("lang.scheme")}`,width:"200",align:"center",prop:"scheme"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\r\n                "+e._s(e._f("array")(t.row.scheme,"、"))+"\r\n              ")]}}])}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.certificateValidTillDate"),width:"170",align:"center",prop:"date"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(e._f("moment")(t.row.date,"","YYYY-MM-DD")))]}}])}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.type"),align:"center",prop:"date"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(e._f("options")(t.row.t
1ype,e.undertakingApprovalTypeOption)))]}}])}),e._v(" "),t("el-table-column",{attrs:{label:"-",width:"100px",align:"center","class-name":"cell-flex-row cell-align-center cell-justify-center"},scopedSlots:e._u([{key:"default",fn:function(a){return[!e.canEdit&&e.form.model.all_review&&0===e.form.model.all_review.status||!e.form.model.all_review||-1===e.form.model.status?t("el-button",{staticClass:"no-border-btn action-delete-btn height-auto",attrs:{icon:"iconfont ico_delete1",confirm:e.$t("lang.deleteColumnTip")},on:{confirm:function(t){return e.onDeleteInfo(a.$index)}}}):e._e()]}}])})],1),e._v(" "),!e.canEdit&&e.form.model.all_review&&0===e.form.model.all_review.status||!e.form.model.all_review||-1===e.form.model.status?t("el-button",{staticClass:"form-table-add-btn fill-blue-unhover-btn",on:{click:function(t){return e.onShowDialog("build")}}},[t("i",{staticClass:"iconfont ico_create1"}),e._v("\r\n            "+e._s(e.$t("lang.action.add"))+"\r\n          ")]):e._e()],2),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.nameOfincomingBuildingManagementCompany"),percent:.6,prop:"building_name_company"}},[t("label",{attrs:{for:"mo_form_building_name_company",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{staticClass:"width-pre-100",attrs:{id:"mo_form_building_name_company",placeholder:e.$t("lang.nameOfincomingBuildingManagementCompany"),readonly:!e.canEdit&&e.form.model.all_review&&1===e.form.model.all_review.status},model:{value:e.form.model.building_name_company,callback:function(t){e.$set(e.form.model,"building_name_company",t)},expression:"form.model.building_name_company"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.buildingManagementContractStartDate"),percent:.6}},[t("label",{attrs:{for:"mo_form_building_contract_begin_date",hidden:""}},[e._v("''")]),e._v(" "),t("el-date-picker",{staticClass:"width-pre-100",attrs:{id:"mo_form_building_contract_begin_date",type:"date",placeholder:e.$t("lang.buildingManagementContractStartDate"),readonly:!e.canEdit&&e.form.model.all_review&&1===e.form.model.all_review.status},model:{value:e.form.model.building_contract_begin_date,callback:function(t){e.$set(e.form.model,"building_contract_begin_date",t)},expression:"form.model.building_contract_begin_date"}})],1),e._v(" "),e.form.model.all_review&&0===e.form.model.all_review.status?t("el-form-item",{staticClass:"rejection-reasons-form-item label-width-zero content-item-view",attrs:{label:e.$t("lang.reasonsForRejection"),"label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none",readonly:!0},model:{value:e.form.model.all_review.rejection,callback:function(t){e.$set(e.form.model.all_review,"rejection",t)},expression:"form.model.all_review.rejection"}})],1):e._e()],1),e._v(" "),t("el-card",{staticClass:"entry-application-item-card build-info-card",attrs:{shadow:"never"}},[t("p",{staticClass:"application-item-card-title",attrs:{slot:"header"},slot:"header"},[e._v("\r\n          "+e._s(e.$t("lang.docToBeIncluded"))+"\r\n        ")]),e._v(" "),t("el-form-item",{staticClass:"product-catalog-form-item d-flex flex-column table-form-item label-flex-center label-width-zero",attrs:{"label-width":"0",prop:"sign_doc"}},[t("template",{slot:"label"},[e._v("\r\n            "+e._s(`${e.$t("lang.undertakingFormForIncomingBuildingManagement")}`)+"\r\n            "),e.form.model.approval_scheme.includes("qms")?[e._v("\r\n              ("+e._s(`${e.$t("lang.freshwater")}`)),t("el-template-down-btn",{attrs:{scheme:"undertaking_sign"}}),e._v(")\r\n            ")]:e._e(),e._v(" "),e.form.model.approval_scheme.includes("qws")?[e._v("\r\n              "+e._s(`(${e.$t("lang.flushingwater")}`)+" "),t("el-template-down-btn",{attrs:{scheme:"undertaking_sign2"}}),e._v(")\r\n            ")]:e._e()],2),e._v(" "),t("el-document-upload",{attrs:{multiple:!0,"base-url":e.baseUrl,action:e.baseUrl,text:e.$t("lang.action.upload"),application_status:e.form.model.status,readonly:!e.canEdit&&e.form.model.document_review&&1===e.form.model.document_review.status},model:{value:e.form.model.sign_doc,callback:function(t){e.$set(e.form.model,"sign_doc",t)},expression:"form.model.sign_doc"}})],2),e._v(" "),e.form.model.document_review&&0===e.form.model.document_review.status?t("el-form-item",{staticClass:"rejection-reasons-form-item label-width-zero content-item-view",attrs:{label:e.$t("lang.reasonsForRejection"),"label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none",readonly:!0},model:{value:e.form.model.document_review.rejection,callback:function(t){e.$set(e.form.model.document_review,"rejection",t)},expression:"form.model.document_review.rejection"}}
1)],1):e._e()],1),e._v(" "),e.form.model.id?e._e():t("el-card",{staticClass:"applicant-card",attrs:{shadow:"never"}},[t("template",{slot:"header"},[e._v(e._s(e.$t("lang.applyMessageTitle")))]),e._v(" "),t("el-form-item",{attrs:{prop:"upload_other_info","label-width":"0"}},[t("el-checkbox",{attrs:{"true-label":1,"false-label":0},model:{value:e.form.model.upload_other_info,callback:function(t){e.$set(e.form.model,"upload_other_info",t)},expression:"form.model.upload_other_info"}},[e._v(e._s(e.$t("lang.uploadOtherInfo")))])],1),e._v(" "),e.form.model.upload_other_info?[t("el-form-item",{attrs:{prop:"upload_other_info_msg","label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none"},model:{value:e.form.model.upload_other_info_msg,callback:function(t){e.$set(e.form.model,"upload_other_info_msg",t)},expression:"form.model.upload_other_info_msg"}})],1),e._v(" "),t("el-form-item",{staticClass:"d-flex flex-column",attrs:{prop:"upload_other_info_doc","label-width":"0"}},[t("el-document-upload",{attrs:{multiple:!0,application_status:e.form.model.status,"base-url":e.baseUrl,action:e.baseUrl,readonly:!e.canEdit},model:{value:e.form.model.upload_other_info_doc,callback:function(t){e.$set(e.form.model,"upload_other_info_doc",t)},expression:"form.model.upload_other_info_doc"}})],1)]:e._e()],2),e._v(" "),e.form.model.id?t("el-review-message",{attrs:{applicationId:e.form.model.id,stage:e.form.model.status}},[t("el-form-item",{attrs:{prop:"upload_other_info","label-width":"0"}},[t("el-checkbox",{attrs:{"true-label":1,"false-label":0,disabled:!e.canEdit&&e.form.model.upload_other_info_review&&1===e.form.model.upload_other_info_review.status},model:{value:e.form.model.upload_other_info,callback:function(t){e.$set(e.form.model,"upload_other_info",t)},expression:"form.model.upload_other_info"}},[e._v(e._s(e.$t("lang.uploadOtherInfo")))])],1),e._v(" "),e.form.model.upload_other_info?[t("el-form-item",{attrs:{prop:"upload_other_info_msg","label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none",readonly:!e.canEdit&&e.form.model.upload_other_info_review&&1===e.form.model.upload_other_info_review.status},model:{value:e.form.model.upload_other_info_msg,callback:function(t){e.$set(e.form.model,"upload_other_info_msg",t)},expression:"form.model.upload_other_info_msg"}})],1),e._v(" "),t("el-form-item",{staticClass:"d-flex flex-column",attrs:{prop:"upload_other_info_doc","label-width":"0"}},[t("el-document-upload",{attrs:{multiple:!0,"base-url":e.baseUrl,action:e.baseUrl,text:e.$t("lang.action.upload"),application_status:e.form.model.status,readonly:!e.canEdit&&e.form.model.upload_other_info_review&&1===e.form.model.upload_other_info_review.status},model:{value:e.form.model.upload_other_info_doc,callback:function(t){e.$set(e.form.model,"upload_other_info_doc",t)},expression:"form.model.upload_other_info_doc"}})],1)]:e._e(),e._v(" "),e.form.model.upload_other_info_review&&0===e.form.model.upload_other_info_review.status?t("el-form-item",{staticClass:"rejection-reasons-form-item label-width-zero content-item-view",attrs:{label:e.$t("lang.reasonsForRejection"),"label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none",readonly:!0},model:{value:e.form.model.upload_other_info_review.rejection,callback:function(t){e.$set(e.form.model.upload_other_info_review,"rejection",t)},expression:"form.model.upload_other_info_review.rejection"}})],1):e._e()],2):e._e()],1),e._v(" "),t("div",{staticClass:"entry-application-footer"},[t("el-button",{staticClass:"empty-bule-btn",on:{click:function(t){return e.$router.back()}}},[e._v(e._s(e.$t("lang.action.cancel")))]),e._v(" "),e.form.model.id&&-1!=e.form.model.status&&0!==e.form.model.status?e._e():t("el-button",{staticClass:"empty-bule-btn",on:{click:e.onSaveForm}},[e._v(e._s(e.$t("lang.action.save")))]),e._v(" "),-1===e.form.model.status?t("el-button",{staticClass:"fill-blue-btn",on:{click:function(t){return e.handleSubmit()}}},[e._v(e._s(e.$t("lang.action.submit")))]):e._e(),e._v(" "),0===e.form.model.status?t("el-button",{staticClass:"fill-blue-btn",on:{click:function(t){return e.handleResubmit()}}}
1,[e._v(e._s(e.$t("lang.action.resubmit")))]):e._e()],1),e._v(" "),t("el-undertaking-add-build-dialog",{attrs:{visible:e.showAddBuidingDialog},on:{"update:visible":function(t){e.showAddBuidingDialog=t},"on-add":e.onAddInfo}})],1)])};Yu._withStripped=!0;var Ju=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-dialog",{staticClass:"add-build-info-dialog position-center",attrs:{width:"800px",title:`${e.$t("lang.building_info")}`,visible:e.visible,"destroy-on-close":!0,"close-on-click-modal":!1},on:{close:function(t){return e.$emit("update:visible",!1)}}},[t("el-form",{attrs:{store:e.form,"status-icon":"",hasLabelSuffix:!1}},[t("el-form-item",{attrs:{label:e.$t("lang.buildingName"),prop:"name"}},[t("el-input",{attrs:{placeholder:e.$t("lang.buildingName")},model:{value:e.form.model.name,callback:function(t){e.$set(e.form.model,"name",t)},expression:"form.model.name"}})],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("lang.scheme"),prop:"scheme"}},[t("el-tag",{attrs:{placeholder:e.$t("lang.pleaseEnter")},on:{"on-change":e.onChangeScheme,"on-remove":e.onRemove},model:{value:e.form.model.scheme,callback:function(t){e.$set(e.form.model,"scheme",t)},expression:"form.model.scheme"}}),e._v(" "),e.showExistsTip?t("p",[e._v(e._s(e.$t("lang.certificateNumAlreadyExists")))]):e._e()],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("lang.certificateValidTillDate"),prop:"date"}},[t("el-date-picker",{model:{value:e.form.model.date,callback:function(t){e.$set(e.form.model,"date",t)},expression:"form.model.date"}})],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("lang.type")}},[t("el-select",{attrs:{loader:e.undertakingApprovalTypeOption,clearable:""},model:{value:e.form.model.type,callback:function(t){e.$set(e.form.model,"type",t)},expression:"form.model.type"}})],1)],1),e._v(" "),t("template",{slot:"footer"},[t("el-button",{staticClass:"refuse-btn",on:{click:function(t){return e.$emit("update:visible",!1)}}},[e._v("\n      "+e._s(e.$t("lang.action.close"))+"\n    ")]),e._v(" "),t("el-button",{staticClass:"agree-btn",attrs:{type:"primary"},on:{click:e.onAdd}},[e._v(" "+e._s(e.$t("lang.action.save"))+" ")])],1)],2)};Ju._withStripped=!0;var Xu=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),em=function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r},tm=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},am=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.undertakingApprovalTypeOption="en-US"===t.$i18n.locale?ql:"zh-CN"===t.$i18n.locale?jl:Ml,t.api=x(),t.existsScheme=[],t.form=new K({rules:{name:[{required:!0,message:"Please Enter",trigger:"blur"},{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],scheme:[{required:!0,message:"Please Enter",trigger:"blur"},{validator:function(e,a,o){a?(console.log(a.length,a),a[a.length-1].length>40?o(new Error("".concat(t.$t("lang.characterLength")," 40"))):o()):o(new Error(t.$t("lang.pleaseEnter")))}}],date:[{required:!0,message:"Please Choose",trigger:"blur"}]}}),t.showExistsTip=!1,t.pickerOptions={disabledDate:function(e){return e.getTime()<Date.now()-864e5}},t}return Xu(t,e),t.prototype.onChangeScheme=function(e){var t=this;this.api.get("/public/guarantee/applications/cert/exist",{params:{cert:e}}).then((function(a){a&&(t.existsScheme.push(e),t.showExistsTip=!0)}))},t.prototype.onAdd=function(){var e=this;console.log("值",this.form.model),this.form.validate().then((function(){e.$emit("on-add",e.form.model),e.form.model={}}))},t.prototype.onRemove=function(e){var t=this;if(e.length){var a=e.filter((function(e){return t.existsScheme.includes(e)}));this.showExistsTip=!!a.length}else this.showExistsTip=!1},em([(0,o.fI)(),tm("design:type",Boolean)],t.prototype,"visible",void 0),em([(0,o.wA)({components:{ElDialog:pe,ElInput:Ze(),ElButton:Ge,ElForm:ae,ElFormItem:pt,ElDocumentUpload:Eo,ElDatePicker:Ho(),ElTag:Sc,ElSelect:Pr}})],t)}(o.w3),om=am,lm=(a(74473),(0,z.Z)(om,Ju,[],!1,null,null,null).exports
1),nm=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),rm=function(){return rm=Object.assign||function(e){for(var t,a=1,o=arguments.length;a<o;a++)for(var l in t=arguments[a])Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l]);return e},rm.apply(this,arguments)},im=x(),sm=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.undertakingApprovalTypeOption="en-US"===t.$i18n.locale?ql:"zh-CN"===t.$i18n.locale?jl:Ml,t.breadcrumb=[{path:"",title:t.$t("lang.eApplication")},{path:"/applications/Undertaking",title:t.$t("lang.undertaking")},{path:"",title:t.$t("lang.new_application")}],t.baseUrl="/api/afs/wsd",t.treaty="",t.canEdit=!0,t.errMessage={111:t.$t("lang.pleaseCompleteAllRequiredFields"),90003:t.$t("lang.applicationAlreadyExists"),90005:t.$t("lang.applicationAlreadySubmit"),90007:t.$t("lang.applicationDraftErr")},t.showAddBuidingDialog=!1,t.form=new K({loader:"/public/guarantee/applications/:id",action:"/public/guarantee/applications",default:{buildings:[],status:-1,approval_scheme:[]},rules:{approval_scheme:[{required:!0,message:t.$t("lang.selectPlaceholder"),trigger:"change"}],sign_doc:[{required:!0,message:t.$t("lang.pleaseUploadFile"),trigger:"change"}],building_name_company:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],upload_other_info_msg:[{max:250,message:"".concat(t.$t("lang.characterLength")," 250"),trigger:"blur"}]},onSubmitSuccess:function(){t.successMessage("submit")},onSubmitFailure:function(e){var a=e?t.errMessage[e]:t.errMessage[111];a&&E().error({message:a,showClose:!0,duration:5e3})}}),t.pickerOptions={disabledDate:function(e){return e.getTime()<Date.now()-864e5}},t}return nm(t,e),t.prototype.onChange=function(e){this.breadcrumb=[{path:"",title:this.$t("lang.eApplication")},{path:"/applications/Undertaking",title:this.$t("lang.undertaking")},{path:"",title:this.$t("lang.new_application")}],this.undertakingApprovalTypeOption="en-US"===e?ql:"zh-CN"===e?jl:Ml},t.prototype.handleSubmit=function(){Mc(this.form,5)},t.prototype.handleResubmit=function(){var e=this,t=n().service({lock:!0});im.post("/public/guarantee/applications/resubmit",this.form.model).then((function(a){t.close(),E().success({duration:5e3,showClose:!0,message:e.$t("lang.successfullySubmitted")}),e.$router.back()})).catch((function(a){t.close();var o=e.errMessage[a];o&&E().error({message:o,showClose:!0,duration:5e3})}))},t.prototype.onSaveForm=function(){var e=this,t=this.form.model.status,a=n().service({lock:!0});this.form.model.id?im.put("/public/guarantee/applications",this.form.model).then((function(t){e.successMessage("save"),a.close()})).catch((function(o){e.form.model.status=t,e.submitErrMessage(o),a.close()})):im.post("/public/guarantee/applications",this.form.model).then((function(t){e.successMessage("save"),a.close()})).catch((function(o){e.form.model.status=t,e.submitErrMessage(o),a.close()}))},t.prototype.successMessage=function(e,t){void 0===e&&(e="save"),void 0===t&&(t=!0),E().success({duration:5e3,showClose:!0,message:"save"===e?this.$t("lang.successfullySaved"):this.$t("lang.successfullySubmitted")}),t&&this.$router.back()},t.prototype.submitErrMessage=function(e){var t=e?this.errMessage[e]:this.errMessage[111];t&&E().error({message:t,showClose:!0,duration:5e3})},t.prototype.beforeMount=function(){var e=this;this.$route.params.id&&this.form.load({id:this.$route.params.id}),!this.$route.query.type||"qms"!==this.$route.query.type&&"qws"!==this.$route.query.type||(this.form.model.approval_type="qms"===this.$route.query.type?0:1),this.$route.params.id||im.get("/public/guarantee/applications/latest").then((function(t){e.form.reset(rm(rm({},e.form.default),{building_name_company:null==t?void 0:t.building_name_company}))}))},t.prototype.onDeleteInfo=function(e){this.form.model.buildings.splice(e,1)},t.prototype.onAddInfo=function(e){this.form.model.buildings.push(e),this.showAddBuidingDialog=!1},t.prototype.onShowDialog=function(e){this.showAddBuidingDialog=!0},t.prototype.mounted=function(){var e=document.getElementsByClassName("el-table__cell gutter");for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t)){var a=e[t];null==a||a.append("1"),null==a||a.setAttribute("style","width: 0px; display: none; color: #3A6573; backgroundColor: #ffffff;")}},function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r}([(0,o.wA)({components:{ElAdminContainer:Da,ElForm:ae,ElFormItem:pt,ElColumnRow:ke,ElButton:Ge,ElCard:fe(),ElInput:Ze(),ElSelectTag:ds,ElTable:go,ElTableColumn:Uo(),ElDocumentUpload:Eo,ElDatePicker:Ho(),ElReviewMessage:lc,ElUndertakingAddBuildDialog:lm,ElSelect:Pr,ElCheckbox:ei(),ElCheckboxGroup:zc(),ElTemplateDownBtn:Cd},beforeRouteEnter:function(e,t,a){im.get("/public/setting/agreement",{params:{application_type:14,type:10}}).then((function(t){return a((function(a){var o;(null===(o=e.params)||void 0===o?void 0:o.id)&&(a.canEdit=!1),t&&t.agreement&&(a.treaty=t.agreement)}))}
1))}})],t)}(o.w3),cm=sm,dm=(0,z.Z)(cm,Yu,[],!1,null,null,null).exports,pm=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-admin-container",{class:["page-ga-detail","page-review-detail","en-US"===e.$i18n.locale?"page-ga-apply-en":""],attrs:{breadcrumb:e.breadcrumb}},[e.detail&&0===e.detail.status&&5!==e.detail.record.type?t("el-detail-page-action-list",{attrs:{status:e.detail.status},on:{"on-edit":function(t){return e.$router.push({path:`/applications/ga/apply/${e.detail.id}`})},"on-delete":e.onDelete}}):e._e(),e._v(" "),e.detail&&-1!=e.detail.status&&-99!=e.detail.status?t("el-review-steps",{attrs:{stage:e.detail.status,status:e.detail.record?e.detail.record.type:0}}):e._e(),e._v(" "),e.detail&&e.detail.record&&15==e.detail.record.type&&0==e.detail.status?t("el-apply-rejection",{model:{value:e.detail.record,callback:function(t){e.$set(e.detail,"record",t)},expression:"detail.record"}}):e._e(),e._v(" "),t("div",{staticClass:"application-detail-content"},[t("el-form",{attrs:{hasLabelSuffix:!0}},[-99===e.detail.status?t("el-cancel-reason",{model:{value:e.detail,callback:function(t){e.detail=t},expression:"detail"}}):e._e(),e._v(" "),t("el-card",{staticClass:"general-description-card review-detail-card",attrs:{shadow:"never"}},[t("p",{staticClass:"detail-header",attrs:{slot:"header"},slot:"header"},[e._v(e._s(e.$t("lang.summary")))]),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.formHeader.file_no"),percent:.4}},[e._v(e._s(e.detail.file_no))])],1)],1),e._v(" "),t("el-card",{staticClass:"general-description-card review-detail-card",attrs:{shadow:"never"}},[t("p",{staticClass:"detail-header",attrs:{slot:"header"},slot:"header"},[e._v(e._s(e.$t("lang.applicant_particular")))]),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.company_name"),percent:.4}},[e._v("\r\n            "+e._s(e.detail.applicant_particular_name)+"\r\n          ")]),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.particular_address"),percent:.4}},[e._v("\r\n            "+e._s(e.detail.applicant_particular_address)+"\r\n          ")])],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.contact_person"),percent:.4}},[e._v("\r\n            "+e._s(e.detail.applicant_particular_contact_person)+"\r\n          ")]),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.telephone_number"),percent:.4}},[e._v("\r\n            "+e._s(e.detail.applicant_particular_contact_phone)+"\r\n          ")])],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.email"),percent:.4}},[e._v("\r\n            "+e._s(e.detail.applicant_particular_contact_mail)+"\r\n          ")])],1)],1),e._v(" "),t("el-card",{staticClass:"general-description-card review-detail-card",attrs:{shadow:"never"}},[t("p",{staticClass:"detail-header",attrs:{slot:"header"},slot:"header"},[e._v(e._s(e.$t("lang.applicationItem")))]),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.typeOfApplication"),percent:.4}},[e._v(e._s(e._f("ga_items")(e.detail.ga_items)))])],1)],1),e._v(" "),e.detail.ga_items&&e.detail.ga_items.includes("ga")?[t("el-card",{staticClass:"general-description-card review-detail-card",attrs:{shadow:"never"}},[t("p",{staticClass:"detail-header",attrs:{slot:"header"},slot:"header"},[e._v(e._s(e.$t("lang.gaApplicationPipeAndFitting")))]),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.gaApplicationTypes"),percent:.4}},["ga_new"==e.detail.ga_scheme?[e._v(e._s(e.$t("lang.new_application")))]:[e._v(e._s(e.$t("lang.renew_application"))+"("+e._s(e.detail.ga_existing_letter_no)+")")]],2),e._v(" "),"ga_exists"===e.detail.ga_scheme?t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.existingGALetterNo"),percent:.4}}
1,[e._v(e._s(e.detail.ga_existing_letter_no))]):e._e()],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.contactPerson"),percent:.4}},[e._v(e._s(e._f("array")(e.detail.ga_water_supply_system_items,"、")))])],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.product_description"),percent:.8}},[e._v(e._s(e.detail.ga_product_description))])],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.product_brand_name"),percent:.4}},[e._v(e._s(e.detail.ga_product_brand_name))]),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.manufacturer_name"),percent:.4}},[e._v(e._s(e.detail.ga_product_manufacturer_name))])],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.factory_name"),percent:.4}},[e._v(e._s(e.detail.ga_product_factory_name))]),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.factory_address"),percent:.4}},[e._v(e._s(e.detail.ga_product_factory_address))])],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.country_origin"),percent:.4}},[e._v(e._s(e.detail.ga_product_country_origin))])],1)],1),e._v(" "),t("el-card",{staticClass:"general-description-card review-detail-card",attrs:{shadow:"never"}},[t("p",{staticClass:"detail-header",attrs:{slot:"header"},slot:"header"},[e._v(e._s(e.$t("lang.gaProductModels")))]),e._v(" "),t("el-form-item",{staticClass:"d-flex flex-column table-form-item label-width-zero",attrs:{"label-width":"0"}},[t("el-table",{attrs:{data:e.detail.ga_product_models,border:"",hasHeight:!1}},[t("el-table-column",{attrs:{label:e.$t("lang.model_name"),prop:"name",align:"center",width:"130","show-overflow-tooltip":""}}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.water_inlet_size"),prop:"water_inlet_size",align:"center",width:"130","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(e._f("array")(t.row.water_inlet_size,"、")))]}}],null,!1,276140826)}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.laboratory_names"),prop:"water_inlet_size",align:"center",width:"160","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\r\n                  "+e._s(e._f("options")(t.row.laboratory_id,e.laboratorList))+"\r\n                ")]}}],null,!1,2107755057)}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.supporting_document_no"),prop:"test_report_no",align:"center",width:"150","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\r\n                  "+e._s(e._f("array")(t.row.test_report_no,"、"))+"\r\n                ")]}}],null,!1,3042987753)}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.supporting_doc"),"class-name":"cell-justify-center d-flex-1",align:"center"},scopedSlots:e._u([{key:"default",fn:function(a){return a.row.supporting_documents&&a.row.supporting_documents.length?e._l(a.row.supporting_documents,(function(a){return t("el-link",{key:a.id,staticClass:"doc-link",attrs:{target:"_blank",underline:!1,href:`${e.baseUrl}/${a.supporting_doc.filename}`}},[t("i",{staticClass:"iconfont ico_file_ppt"}),e._v("\r\n                    "+e._s(`${a.supporting_doc.name}(${a.supporting_document_no})`)+"\r\n                  ")])})):void 0}}],null,!0)}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.bsi"),prop:"bsi_cert_no",align:"center",width:"160","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\r\n                  "+e._s(e._f("array")(t.row.bsi_cert_no,"、"))+"\r\n                ")]}}],null,!1,2481290857)}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.wras"),prop:"wras_cert_no",align:"center",width:"150","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\r\n                  "+e._s(e._f("array")(t.row.wras_cert_no,"、"))+"\r\n                ")]}}],null,!1,1475775270)}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.bsiCertDoc"),"class-name":"cell-justify-center d-flex-1",align:"center",width:"150","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(a){return a.row.kitemark_cert_doc&&a.row.kitemark_cert_doc.length?e._l(a.row.kitemark_cert_doc,(function(a){return t("el-link",{key:a.id,staticClass:"doc-link",attrs:{target:"_blank",underline:!1,href:`${e.baseUrl}/${a.filename}`}},[t("i",{staticClass:"iconfont ico_file_ppt"}),e._v("\r\n                    "+e._s(`${a.name}`)+"\r\n                  ")])})):void 0}}],null,!0)}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.wrasCertDoc"),"class-name":"cell-justify-center d-flex-1",align:"center",width:"150","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(a){return a.row.wraps_cert_doc&&a.row.wraps_cert_doc.length?e._l(a.row.wraps_cert_doc,(function(a){return t("el-link",{key:a.id,staticClass:"doc-link",attrs:{target:"_blank",underline:!1,href:`${e.baseUrl}/${a.filename}`}},[t("i",{staticClass:"iconfont ico_file_ppt"}),e._v("\r\n                    "+e._s(`${a.name}`)+"\r\n                  ")])})):void 0}}],null,!0)})],1)],1)],1),e._v(" "),t("el-card",{staticClass:"general-description-card review-detail-card",attrs:{shadow:"never"}},[t("p",{staticClass:"detail-header",attrs:{slot:"header"},slot:"header"},[e._v(e._s(e.$t("lang.product_catalog_books")))]),e._v(" "),t("el-form-item",{staticClass:"label-width-zero",attrs:{"label-width":"0"}},[t("el-document-list",{attrs:{value:e.detail.product_catalog_books}})],1)],1)]:e._e(),e._v(" "),e.detail.ga_items&&e.detail.ga_items.includes("ga_plus")?[t("el-card",{staticClass:"general-description-card review-detail-card",attrs:{shadow:"never"}},[t("p",{staticClass:"detail-header",attrs:{slot:"header"},slot:"header"},[e._v(e._s(e.$t("lang.ga_plus_scheme")))]),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.gaStartApplicationTypes")}},["ga_plus_new"==e.detail.ga_plus_scheme?[e._v(e._s(e.$t("lang.new_application")))]:[e._v(" "+e._s(e.$t("lang.renew_application")))]],2)],1),e._v(" "),t("el-card",{staticClass:"general-description-card review-detail-card",attrs:{shadow:"never"}},[t("p",{staticClass:"detail-header",attrs:{slot:"header"},slot:"header"},[e._v(e._s(e.$t("lang.gaPlusProductModels")))]),e._v(" "),t("el-form-item",{staticClass:"d-flex flex-column label-width-zero",attrs:{"label-width":"0"}},[t("el-table",{attrs:{data:e.detail.ga_plus_product_models,border:"",hasHeight:!1}},[t("el-table-column",{attrs:{label:e.$t("lang.model_name"),prop:"name",align:"center",width:"130","show-overflow-tooltip":""}}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.product_brand_name"),prop:"brand_name",align:"center",width:"130","show-overflow-tooltip":""}}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.product_description"),prop:"product_description",align:"center",width:"130","show-overflow-tooltip":""}}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.isoRefNumAndExpiryDate"),align:"center",width:"160","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\r\n                  "+e._s(t.row.iso_ref_no)+" / "+e._s(e._f("date_format")(t.row.iso_expiry_date))+"\r\n                ")]}}],null,!1,2563016897)}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.iso_cert_doc"),"class-name":"cell-justify-center d-flex-1",align:"center",width:"150","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(a){return a.row.iso_cert_doc?[t("el-link",{attrs:{target:"_blank",underline:!1,href:`${e.baseUrl}/${a.row.iso_cert_doc.filename}`}},[t("i",{staticClass:"iconfont ico_file_ppt"}),e._v("\r\n                    "+e._s(a.row.iso_cert_doc.name)+"\r\n                  ")])]:void 0}}],null,!0)}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.productRefNumAndExpiryDate"),prop:"water_inlet_size",align:"center",width:"170","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\r\n                 "+e._s(t.row.product_ref_no)+"/"+e._s(e._f("moment")(t.row.product_expiry_date,"","YYYY-MM-DD"))+"\r\n                ")]}}],null,!1,480436025)}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.product_cert_doc"),"class-name":"cell-justify-center d-flex-1",align:"center",width:"170","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(a){return a.row.product_cert_doc?[t("el-link",{attrs:{target:"_blank",underline:!1,href:`${e.baseUrl}/${a.row.product_cert_doc.filename}`}},[t("i",{staticClass:"iconfont ico_file_ppt"}),e._v("\r\n                    "+e._s(a.row.product_cert_doc.name)+"\r\n                  ")])]:void 0}}],null,!0)}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.ga_file_no"),prop:"ga_file_no",width:"150",align:"center","show-overflow-tooltip":""}}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.ga_letter_doc"),align:"center",width:"170","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(a){return[a.row.ga_letter_doc?[t("el-link",{attrs:{target:"_blank",underline:!1,href:`${e.baseUrl}/${a.row.ga_letter_doc.filename}`}},[t("i",{staticClass:"iconfont ico_file_ppt"}),e._v("\r\n                      "+e._s(a.row.ga_letter_doc.name)+"\r\n                    ")])]:e._e()]}}],null,!1,1667319019)})],1)],1)],1)]:e._e(),e._v(" "),e.detail.ga_items&&e.detail.ga_items.includes("ga_star")?[t("el-card",{staticClass:"general-description-card review-detail-card",attrs:{shadow:"never"}},[t("p",{staticClass:"detail-header",attrs:{slot:"header"},slot:"header"},[e._v(e._s(e.$t("lang.ga_star_scheme")))]),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.gaStartApplicationTypes")}}
1,["ga_star_new"==e.detail.ga_star_scheme?[e._v(e._s(e.$t("lang.new_application")))]:[e._v(e._s(e.$t("lang.renew_application")))]],2)],1),e._v(" "),t("el-card",{staticClass:"general-description-card review-detail-card",attrs:{shadow:"never"}},[t("p",{staticClass:"detail-header",attrs:{slot:"header"},slot:"header"},[e._v(e._s(e.$t("lang.gaStarProductModels")))]),e._v(" "),t("el-form-item",{staticClass:"d-flex flex-column label-width-zero",attrs:{"label-width":"0"}},[t("el-table",{attrs:{data:e.detail.ga_star_product_models,border:"",hasHeight:!1}},[t("el-table-column",{attrs:{label:e.$t("lang.model_name"),prop:"name",align:"center",width:"130","show-overflow-tooltip":""}}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.product_brand_name"),prop:"brand_name",align:"center",width:"180","show-overflow-tooltip":""}}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.product_description"),prop:"product_description",align:"center",width:"180","show-overflow-tooltip":""}}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.laboratory_names"),prop:"water_inlet_size",align:"center",width:"160","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\r\n                  "+e._s(e._f("options")(t.row.laboratory_id,e.laboratorList))+"\r\n                ")]}}],null,!1,2107755057)}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.SupportingRefNumAndExpiryDate"),align:"center",width:"160","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[[e._v(e._s(e._f("array")(t.row.test_report_no,"、")))]]}}],null,!1,4230084847)}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.ga_star_supporting_doc"),align:"center"},scopedSlots:e._u([{key:"default",fn:function(a){return a.row.supporting_documents&&a.row.supporting_documents.length?e._l(a.row.supporting_documents,(function(a){return t("el-link",{key:a.id,staticClass:"doc-link",attrs:{target:"_blank",underline:!1,href:`${e.baseUrl}/${a.supporting_doc.filename}`}},[t("i",{staticClass:"iconfont ico_file_ppt"}),e._v("\r\n                    "+e._s(`${a.supporting_doc.name}(${a.supporting_document_no})`)+"\r\n                  ")])})):void 0}}],null,!0)}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.gANoIfApplicable"),prop:"ga_file_no",width:"160",align:"center","show-overflow-tooltip":""}}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.ga_letter_doc"),"class-name":"cell-justify-center d-flex-1",align:"center",width:"150","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(a){return[a.row.ga_letter_doc?[t("el-link",{attrs:{target:"_blank",underline:!1,href:`${e.baseUrl}/${a.row.ga_letter_doc.filename}`}},[t("i",{staticClass:"iconfont ico_file_ppt"}),e._v("\r\n                      "+e._s(a.row.ga_letter_doc.name)+"\r\n                    ")])]:e._e()]}}],null,!1,1667319019)})],1)],1)],1)]:e._e(),e._v(" "),e.detail.ga_items&&e.detail.ga_items.includes("vls")?[t("el-card",{staticClass:"general-description-card review-detail-card",attrs:{shadow:"never"}},[t("p",{staticClass:"detail-header",attrs:{slot:"header"},slot:"header"},[e._v(e._s(e.$t("lang.ga_vls_scheme")))]),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.VELApplicationTypes")}},["ga_vls_new"==e.detail.vls_scheme?[e._v(e._s(e.$t("lang.new_application")))]:[e._v(e._s(e.$t("lang.renew_application")))]],2)],1),e._v(" "),t("el-card",{staticClass:"general-description-card review-detail-card",attrs:{shadow:"never"}},[t("p",{staticClass:"detail-header",attrs:{slot:"header"},slot:"header"},[e._v(e._s(e.$t("lang.ga_vls_product_models")))]),e._v(" "),t("el-form-item",{staticClass:"d-flex flex-column label-width-zero",attrs:{"label-width":"0"}},[t("el-table",{attrs:{data:e.detail.vls_product_models,border:"",hasHeight:!1}},[t("el-table-column",{attrs:{label:e.$t("lang.model_name"),prop:"name",align:"center",width:"200","show-overflow-tooltip":""}}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.product_brand_name"),prop:"brand_name",align:"center",width:"280","show-overflow-tooltip":""}}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.product_description"),prop:"product_description",align:"center",width:"280","show-overflow-tooltip":""}}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.gANoIfApplicable"),prop:"ga_file_no",align:"center",width:"250","show-overflow-tooltip":""}}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.ga_letter_doc"),"class-name":"cell-justify-center d-flex-1",align:"center","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(a){return a.row.ga_letter_doc?[t("el-link",{attrs:{target:"_blank",underline:!1,href:`${e.baseUrl}/${a.row.ga_letter_doc.filename}`}},[t("i",{staticClass:"iconfont ico_file_ppt"}),e._v("\r\n                    "+e._s(a.row.ga_letter_doc.name)+"\r\n                  ")])]:void 0}}],null,!0)})],1)],1)],1)]:e._e(),e._v(" "),t("el-review-message",{attrs:{applicationId:e.$route.query.id,stage:e.detail.status||0}},[t("el-form-item",{attrs:{prop:"upload_other_info","label-width":"0"}},[t("el-checkbox",{attrs:{"true-label":1,"false-label":0,disabled:!0},model:{value:e.detail.upload_other_info,callback:function(t){e.$set(e.detail,"upload_other_info",t)},expression:"detail.upload_other_info"}}
1,[e._v(e._s(e.$t("lang.uploadOtherInfo")))])],1),e._v(" "),e.detail.upload_other_info?[t("el-form-item",{attrs:{prop:"upload_other_info_msg","label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none",readonly:!0},model:{value:e.detail.upload_other_info_msg,callback:function(t){e.$set(e.detail,"upload_other_info_msg",t)},expression:"detail.upload_other_info_msg"}})],1),e._v(" "),t("el-form-item",{staticClass:"d-flex flex-column",attrs:{prop:"upload_other_info_doc","label-width":"0"}},[t("el-document-list",{attrs:{value:e.detail.upload_other_info_doc}})],1)]:e._e()],2)],2)],1)],1)};pm._withStripped=!0;var um=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-column",{staticClass:"detail-page-header-btn-list"},[-1==e.status||0==e.status?t("el-button",{staticClass:"edit-btn empty-bule-btn",on:{click:e.onEdit}},[t("i",{staticClass:"el-icon-edit"}),e._v("\n    "+e._s(e.$t("lang.action.edit"))+"\n  ")]):e._e(),e._v(" "),-1==e.status||200==e.status?t("el-button",{staticClass:"delete-btn empty-bule-btn",attrs:{confirm:"Whether to delete the application"},on:{confirm:e.onDelete}},[t("i",{staticClass:"iconfont ico_delete1"}),e._v("\n    "+e._s(e.$t("lang.action.delete"))+"\n  ")]):e._e()],1)};um._withStripped=!0;var mm=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),fm=function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r},_m=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},gm=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return mm(t,e),t.prototype.onEdit=function(){this.$emit("on-edit")},t.prototype.onDelete=function(){this.$emit("on-delete")},t.prototype.created=function(){console.log("agsadfasdagasdf",this.status)},fm([(0,o.fI)({required:!1,default:!1}),_m("design:type",Boolean)],t.prototype,"isRejected",void 0),fm([(0,o.fI)({required:!0}),_m("design:type",Number)],t.prototype,"status",void 0),fm([(0,o.wA)({components:{ElColumn:ke,ElButton:Ge}})],t)}(o.w3),hm=gm,vm=(a(81578),(0,z.Z)(hm,um,[],!1,null,null,null).exports),bm=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-steps",{staticClass:"review-header-steps",attrs:{active:e.activeNum,simple:""}},e._l(e.stepsList,(function(a,o){return t("el-step",{key:o},[t("template",{class:[a.isActive?"is-active":""],slot:"title"},[t("p",{staticClass:"serial"},[e._v(e._s(o+1))]),e._v(" "),t("div",{staticClass:"step-text-view"},[t("p",{staticClass:"step-title"},[e._v(e._s(a.title))]),e._v(" "),2!=e.status&&4!=e.status||0!==e.stage&&5!==e.stage||a.stage!=e.stage?e._e():t("p",{staticClass:"step-status"},[e._v("("+e._s(2==e.status?e.$t("lang.action.resubmit"):e.$t("lang.action.reupload"))+")")])])])],2)})),1)};bm._withStripped=!0;var wm=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),ym=function(){return ym=Object.assign||function(e){for(var t,a=1,o=arguments.length;a<o;a++)for(var l in t=arguments[a])Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l]);return e},ym.apply(this,arguments)},$m=function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r},Cm=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},xm=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.stepsList=[],t}return wm(t,e),t.prototype.currentStage=function(){var e=this;this.init();var t=this.stepsList.concat([]);if(-1==this.stage)t=[].concat([]);else if(0==this.stage){switch(this.status){case 5:t[0].title="".concat(this.$t("lang.steps.pedding"),"(").concat(this.$t("lang.labReportUpload"),")");break;case 10:t[0].title="".concat(this.$t("lang.steps.pedding"),"(").concat(this.$t("lang.reviewLabReport"),")");break;case 15:t[0].title="".concat(this.$t("lang.steps.pedding"),"(").concat(this.$t("lang.reSubmt"),")")}this.stepsList=t.concat([])}var a=this.stepsList.findIndex((function(t){return t.stage==e.stage}));this.stepsList=this.stepsList.map((function(e,t){return ym(ym({},e),t<=a||-1==a&&t<2?{isActive:!0}:{isActive:!1})}
1))},Object.defineProperty(t.prototype,"activeNum",{get:function(){return this.stepsList.filter((function(e){return e.isActive})).length},enumerable:!1,configurable:!0}),t.prototype.init=function(){this.stepsList=[{title:this.$t("lang.steps.pedding"),isActive:!1,stage:0},{title:this.hasLabStep||5!==this.stage?this.$t("lang.WSDReviewing"):this.$t("lang.waitLabReportUpload"),isActive:!1,stage:1e7},{title:this.$t("lang.completed"),isActive:!1,stage:200}]},t.prototype.mounted=function(){this.currentStage()},$m([(0,o.fI)(),Cm("design:type",Number)],t.prototype,"stage",void 0),$m([(0,o.fI)({required:!1,default:!0}),Cm("design:type",Boolean)],t.prototype,"hasLabStep",void 0),$m([(0,o.fI)(),Cm("design:type",Number)],t.prototype,"status",void 0),$m([(0,o.RL)("stage"),Cm("design:type",Function),Cm("design:paramtypes",[]),Cm("design:returntype",void 0)],t.prototype,"currentStage",null),$m([(0,o.wA)({components:{ElStep:Pc(),ElSteps:Oc()}})],t)}(o.w3),Sm=xm,Em=(a(50918),(0,z.Z)(Sm,bm,[],!1,null,null,null).exports),km=function(){var e=this,t=e._self._c;return e._self._setupProxy,-99===e.value.status?t("el-card",{staticClass:"general-description-card review-detail-card",attrs:{shadow:"never"}},[t("p",{staticClass:"detail-header",attrs:{slot:"header"},slot:"header"},[e._v(e._s(e.$t("lang.cancelReason")))]),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"only-read-form-item label-width-zero",attrs:{"label-width":"0",label:`${e.$t("lang.cancelReason")}`}},[t("el-input",{attrs:{type:"textarea",resize:"none",readonly:"",rows:"5"},model:{value:e.value.cancel_reason,callback:function(t){e.$set(e.value,"cancel_reason",t)},expression:"value.cancel_reason"}})],1)],1),e._v(" "),e.value.cancel_reason_doc?t("el-column-row",[t("el-form-item",{staticClass:"only-read-form-item label-width-zero",attrs:{label:e.$t("lang.cancelFile"),"label-width":"0"}},[t("el-document-list",{attrs:{value:e.value.cancel_reason_doc}})],1)],1):e._e()],1):e._e()};km._withStripped=!0;var Om=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),Am=function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r},Pm=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},Tm=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Om(t,e),Am([(0,o.fI)(),Pm("design:type",Object)],t.prototype,"value",void 0),Am([(0,o.wA)({components:{ElColumnRow:ke,ElFormItem:pt,ElCard:fe(),ElDocumentList:Fo,ElInput:Ze()}})],t)}(o.w3),Dm=Tm,Rm=(0,z.Z)(Dm,km,[],!1,null,null,null).exports,Im=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),Fm=function(){return Fm=Object.assign||function(e){for(var t,a=1,o=arguments.length;a<o;a++)for(var l in t=arguments[a])Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l]);return e},Fm.apply(this,arguments)},Lm=x(),qm=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.breadcrumb=[{path:"",title:t.$t("lang.breadcrumb.eApplication")},{path:"/applications/ga",title:"GA"},{path:"",title:t.$t("lang.breadcrumb.detail")}],t.baseUrl="/api/afs/wsd",t.detail={},t.laboratorList=[],t}return Im(t,e),t.prototype.onDelete=function(){var e=this;Lm.delete("/public/ga/applications",{data:[this.detail.id]}).then((function(){e.$router.back()}))},t.prototype.onGetLaboratorList=function(){var e=this;Lm.get("/internal/laboratories/type/0").then((function(t){console.log("res",t),t=t.map((function(e){return Fm({name:e.english_name},e)})),e.laboratorList=t.concat([])}))},t.prototype.mounted=function(){this.onGetLaboratorList()},function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r}([(0,o.wA)({name:"GaDetailPage",components:{ElAdminContainer:Da,ElForm:ae,ElFormItem:pt,ElColumnRow:ke,ElButton:Ge,ElCard:fe(),ElInput:Ze(),ElSelectTag:ds,ElTable:go,ElTableColumn:Uo(),ElDocumentUpload:Eo,ElDetailPageActionList:vm,ElDocumentList:Fo,ElLink:ge(),ElReviewSteps:Em,ElReviewMessage:lc,ElApplyRejection:No,ElCancelReason:Rm},beforeRouteEnter:function(e,t,a){Lm.get("/public/ga/applications/".concat(e.query.id)).then((function(e){return a((function(t){t.detail=e}))}))}})],t)}(o.w3),Mm=qm,jm=(a(2990),(0,z.Z)(Mm,pm,[],!1,null,null,null).exports
1),zm=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-admin-container",{class:["page-qms-detail","page-review-detail","en-US"===e.$i18n.locale?"page-qms-apply-en":""],attrs:{breadcrumb:e.breadcrumb}},[e.detail&&0===e.detail.status?t("el-detail-page-action-list",{attrs:{status:e.detail.status},on:{"on-edit":function(t){return e.$router.push({path:`/applications/qms/apply/${e.detail.id}`})},"on-delete":e.onDelete}}):e._e(),e._v(" "),e.detail&&-1!=e.detail.status&&-99!=e.detail.status?t("el-review-steps",{attrs:{stage:e.detail.status,status:e.detail.record?e.detail.record.type:0}}):e._e(),e._v(" "),e.detail.record&&15==e.detail.record.type&&0===e.detail.status?t("el-apply-rejection",{model:{value:e.detail.record,callback:function(t){e.$set(e.detail,"record",t)},expression:"detail.record"}}):e._e(),e._v(" "),t("div",{staticClass:"container application-detail-content"},[t("el-form",{attrs:{hasLabelSuffix:!0}},[-99===e.detail.status?t("el-cancel-reason",{model:{value:e.detail,callback:function(t){e.detail=t},expression:"detail"}}):e._e(),e._v(" "),t("el-card",{staticClass:"general-description-card review-detail-card",attrs:{shadow:"never"}},[t("p",{staticClass:"detail-header",attrs:{slot:"header"},slot:"header"},[e._v(e._s(e.$t("lang.summary")))]),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.formHeader.file_no"),percent:.4}},[e._v(e._s(e.detail.file_no))])],1)],1),e._v(" "),t("el-card",{staticClass:"general-description-card review-detail-card",attrs:{shadow:"never"}},[t("p",{staticClass:"detail-header",attrs:{slot:"header"},slot:"header"},[e._v(e._s(e.$t("lang.general_desc")))]),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.application_types"),percent:.4}},[e._v(e._s("qms_new"==e.detail.approval_scheme?e.$t("lang.newApplicationApply"):e.$t("lang.renewalApplicationApply")))])],1)],1),e._v(" "),t("el-card",{staticClass:"general-description-card review-detail-card",attrs:{shadow:"never"}},[t("p",{staticClass:"detail-header",attrs:{slot:"header"},slot:"header"},[e._v("A."+e._s(e.$t("lang.typeBuildings")))]),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.type"),percent:.4}},[e._v(e._s(e._f("options")(e.detail.building_type,e.typeOfBuildinfOption))+" ")]),e._v(" "),1===e.detail.building_type?t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.numberOfRooms"),percent:.4}},[e._v(e._s(e.detail.building_type_remark)+" ")]):e._e(),e._v(" "),2===e.detail.building_type||3===e.detail.building_type||5===e.detail.building_type||8===e.detail.building_type||11===e.detail.building_type?t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.building_type_remark"),percent:.4}},[e._v(" \r\n            "+e._s(e.detail.building_type_remark)+"\r\n          ")]):e._e()],1)],1),e._v(" "),t("el-card",{staticClass:"contact-info-card review-detail-card",attrs:{shadow:"never"}},[t("p",{staticClass:"detail-header",attrs:{slot:"header"},slot:"header"},[e._v("B."+e._s(e.$t("lang.qms_title6"))+" ")]),e._v(" "),e._l(e.detail.applicant_owner_types,(function(a,o){return t("el-column-row",{key:o},[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.6,label:e.$t(e.applicantOwnerLangOptions[a])}},["other"===a&&a===e.detail.applicant_owner?[e._v(e._s(e.detial.applicant_owner_name))]:e._e(),e._v(" "),"other"===a&&a===e.detail.applicant_owner_secondary?[e._v(e._s(e.detial.applicant_owner_secondary_name))]:e._e(),e._v(" "),"other"!==a&&a===e.detail.applicant_owner?[e._v("\r\n              "+e._s(e.detail.applicant_owner_english_name)+" \r\n              "+e._s(e.detail.applicant_owner_english_name&&e.detail.applicant_owner_name?`(${e.detail.applicant_owner_name})`:"")+"\r\n            ")]:e._e(),e._v(" "),"other"!==a&&a===e.detail.applicant_owner_secondary?[e._v("\r\n              "+e._s(e.detail.applicant_owner_secondary_english_name)+" \r\n              "+e._s(e.detail.applicant_owner_secondary_english_name&&e.detail.applicant_owner_secondary_name?`(${e.detail.applicant_owner_secondary_name}
1)`:"")+"\r\n            ")]:e._e()],2),e._v(" "),"owner_corporation"==a?t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.certificateNo"),percent:.4}},[e._v("\r\n            "+e._s(e.detail.applicant_owner_no)+"\r\n          ")]):e._e()],1)})),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.correspondenceAddress"),percent:.4}},[e._v("\r\n            "+e._s(e.detail.applicant_correspondence_address)+"\r\n          ")])],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-zero",attrs:{"label-width":"0",percent:.8}},[t("el-table",{attrs:{data:e.detail.contacts,border:"",hasHeight:!1}},[t("el-table-column",{attrs:{label:e.$t("lang.contact_person_name"),prop:"applicant_contact_person_name"}}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.contact_person_title"),prop:"applicant_contact_person_title"}}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.contactTelNo"),prop:"applicant_contact_person_tel",align:"center"}}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.contactFaxNo"),prop:"applicant_contact_person_fax",align:"center"}}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.contact_person_email"),prop:"applicant_contact_person_mail",align:"center"}})],1)],1)],1)],2),e._v(" "),t("el-card",{staticClass:"building-info-card review-detail-card",attrs:{shadow:"never"}},[t("p",{staticClass:"detail-header",attrs:{slot:"header"},slot:"header"},[e._v("C."+e._s(e.$t("lang.building_info"))+" ")]),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-zero",attrs:{"label-width":"0"}},[t("el-table",{attrs:{data:e.detail.information_of_the_building,border:"",hasHeight:!1}},[t("el-table-column",{attrs:{label:e.$t("lang.englishBuildingName"),prop:"english_name",align:"center"}}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.chineseBuildingName"),prop:"name",align:"center"}}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.buildingAgeNotS"),width:"180px",prop:"age",align:"center"}}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.buildingAddress"),prop:"address",align:"center"}}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.englishBuildingAddress"),prop:"english_address",align:"center"}}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.district"),align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\r\n                  "+e._s(e._f("options")(t.row.district,e.districtOptions))+"\r\n                ")]}}])})],1)],1)],1)],1),e._v(" "),t("el-card",{staticClass:"format-card review-detail-card",attrs:{shadow:"never"}},[t("p",{staticClass:"detail-header",attrs:{slot:"header"},slot:"header"},[e._v("D."+e._s(e.$t("lang.preferredSchemeCertificate")))]),e._v(" "),"One_certificate_for_each_building"==e.detail.scheme_certificate_preferred_format?t("el-column-row",[t("el-form-item",{staticClass:"label-width-zero only-read-form-item",attrs:{"label-width":"0"}},[e._v("\r\n         "+e._s(e.$t("lang.One_certificate_for_each_building"))+" \r\n        ")])],1):[t("el-form-item",{staticClass:"label-width-zero only-read-form-item",attrs:{"label-width":"0"}},[e._v("\r\n            "+e._s(e.$t("lang.onecertificatePreferred"))+" \r\n          ")]),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.preferredName")}},[e._v("\r\n              "+e._s(e.detail.scheme_certificate_preferred_format_remark)+"\r\n            ")])],1)]],2),e._v(" "),t("el-card",{staticClass:"documents-card review-detail-card",attrs:{shadow:"never"}},[t("p",{staticClass:"detail-header",attrs:{slot:"header"},slot:"header"},[e._v("E."+e._s(e.$t("lang.documentsIncludedApplication")))]),e._v(" "),[t("el-column-row",[t("el-form-item",{staticClass:"label-width-zero",attrs:{label:e.$t("lang.waterSafetyWSPBuilding"),"label-width":"0",percent:.8}},[t("el-document-list",{attrs:{value:e.detail.water_safety_plan_for_building}})],1)],1)]],2),e._v(" "),t("el-card",{staticClass:"documents-card review-detail-card",attrs:{shadow:"never"}},[t("p",{staticClass:"detail-header",attrs:{slot:"header"},slot:"header"},[e._v(e._s(e.$t("lang.termsConditions")))]),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-zero",attrs:{"label-width":"0",percent:.8}},[t("el-document-list",{attrs:{value:e.detail.sign_doc}})],1)],1)],1),e._v(" "),e.detail.id?t("el-review-message",{attrs:{applicationId:e.detail.id,stage:e.detail.status}},[t("el-form-item",{attrs:{prop:"upload_other_info","label-width":"0"}},[t("el-checkbox",{attrs:{"true-label":1,"false-label":0,disabled:!0},model:{value:e.detail.upload_other_info,callback:function(t){e.$set(e.detail,"upload_other_info",t)},expression:"detail.upload_other_info"}}
1,[e._v(e._s(e.$t("lang.uploadOtherInfo")))])],1),e._v(" "),e.detail.upload_other_info?[t("el-form-item",{attrs:{prop:"upload_other_info_msg","label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none",readonly:!0},model:{value:e.detail.upload_other_info_msg,callback:function(t){e.$set(e.detail,"upload_other_info_msg",t)},expression:"detail.upload_other_info_msg"}})],1),e._v(" "),t("el-form-item",{staticClass:"d-flex flex-column",attrs:{prop:"upload_other_info_doc","label-width":"0"}},[t("el-document-list",{attrs:{value:e.detail.upload_other_info_doc}})],1)]:e._e()],2):e._e()],1)],1)],1)};zm._withStripped=!0;var Nm=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),Bm=x(),Um=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.breadcrumb=[{path:"",title:"e-Application"},{path:"/applications/qms",title:"QMS"},{path:"",title:"Detail"}],t.applicantOwnerLangOptions={owner:"lang.nameOfOwner",owner_corporation:"lang.ownersCorporationSimple",owner_committee:"lang.ownersCommittee",operator:"lang.operator",management_agent:"lang.managementAgent",government_departments:"lang.governmentDepartments",other:"lang.others"},t.baseUrl="/api/afs/wsd",t.detail={},t.form=new K({default:{}}),t.typeOfBuildinfOption="en-US"===t.$i18n.locale?Jl:"zh-CN"===t.$i18n.locale?Xl:en,t.waterSupplyPresentTypesOption="en-US"===t.$i18n.locale?Ql:"zh-CN"===t.$i18n.locale?Kl:Yl,t.districtOptions="en-US"===t.$i18n.locale?Ln:"zh-CN"===t.$i18n.locale?Mn:qn,t}return Nm(t,e),t.prototype.onDelete=function(){var e=this;Bm.delete("/public/qms/applications",{data:[this.detail.id]}).then((function(){e.$router.back()}))},function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r}([(0,o.wA)({components:{ElAdminContainer:Da,ElForm:ae,ElFormItem:pt,ElColumnRow:ke,ElButton:Ge,ElCard:fe(),ElInput:Ze(),ElSelectTag:ds,ElTable:go,ElTableColumn:Uo(),ElDocumentUpload:Eo,ElDetailPageActionList:vm,ElDocumentList:Fo,ElLink:ge(),ElReviewSteps:Em,ElReviewMessage:lc,ElApplyRejection:No,ElCancelReason:Rm},beforeRouteEnter:function(e,t,a){Bm.get("/public/qms/applications/".concat(e.query.id)).then((function(e){return a((function(t){t.detail=e}))}))}})],t)}(o.w3),Wm=Um,Hm=(0,z.Z)(Wm,zm,[],!1,null,null,null).exports,Gm=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-admin-container",{class:["page-qws-detail","page-review-detail","en-US"===e.$i18n.locale?"page-qws-apply-en":""],attrs:{breadcrumb:e.breadcrumb}},[e.detail&&0===e.detail.status?t("el-detail-page-action-list",{attrs:{status:e.detail.status},on:{"on-edit":function(t){return e.$router.push({path:`/applications/qws/apply/${e.detail.id}`})},"on-delete":e.onDelete}}):e._e(),e._v(" "),e.detail&&-1!=e.detail.status&&-99!=e.detail.status?t("el-review-steps",{attrs:{stage:e.detail.status,status:e.detail.record?e.detail.record.type:0}}):e._e(),e._v(" "),e.detail.record&&15==e.detail.record.type&&0===e.detail.status?t("el-apply-rejection",{model:{value:e.detail.record,callback:function(t){e.$set(e.detail,"record",t)},expression:"detail.record"}}):e._e(),e._v(" "),t("div",{staticClass:"container application-detail-content"},[t("el-form",{attrs:{hasLabelSuffix:!0}},[-99===e.detail.status?t("el-cancel-reason",{model:{value:e.detail,callback:function(t){e.detail=t},expression:"detail"}}):e._e(),e._v(" "),t("el-card",{staticClass:"general-description-card review-detail-card",attrs:{shadow:"never"}},[t("p",{staticClass:"detail-header",attrs:{slot:"header"},slot:"header"},[e._v(e._s(e.$t("lang.summary")))]),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.formHeader.file_no"),percent:.4}},[e._v(e._s(e.detail.file_no))])],1)],1),e._v(" "),t("el-card",{staticClass:"general-description-card review-detail-card",attrs:{shadow:"never"}},[t("p",{staticClass:"detail-header",attrs:{slot:"header"},slot:"header"},[e._v(e._s(e.$t("lang.general_desc")))]),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.application_type"),percent:.4}},[e._v("\r\n            "+e._s("qws_new"===e.detail.approval_scheme?"New Application":"Renewal Application")+"\r\n          ")])],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.sourceOFlushingWater"),percent:.8}},[e._v(e._s(e._f("options")(e.detail.water_supply_source,e.qmsSeaWaterSupplied)))])],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.sourceOFlushingWaterRemark"),percent:.8}},[e._v(e._s(e.detail.water_supply_source_remark))])],1)],1),e._v(" "),t("el-card",{staticClass:"general-description-card review-detail-card",attrs:{shadow:"never"}},[t("p",{staticClass:"detail-header",attrs:{slot:"header"},slot:"header"},[e._v("A."+e._s(e.$t("lang.typeBuildings")))]),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.type"),percent:.4}},[e._v(e._s(e._f("options")(e.detail.building_type,e.typeOfBuildinfOption))+" ")]),e._v(" "),1==e.detail.building_type?t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.numberOfRooms"),percent:.4}}
1,[e._v(e._s(e.detail.building_type_remark))]):e._e(),e._v(" "),3===e.detail.building_type||4===e.detail.building_type||11===e.form.model.building_type?t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.building_type_remark"),percent:.4}},[e._v(e._s(e.detail.building_type_remark)+" ")]):e._e()],1),e._v(" "),5==e.detail.building_type?t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.notesForOtherBuildingTypes"),percent:.8}},[e._v(e._s(e.detail.building_type_remark))])],1):e._e()],1),e._v(" "),t("el-card",{staticClass:"contact-info-card review-detail-card",attrs:{shadow:"never"}},[t("p",{staticClass:"detail-header",attrs:{slot:"header"},slot:"header"},[e._v("B."+e._s(e.$t("lang.particularsOfApplicant"))+" ")]),e._v(" "),e._l(e.detail.applicant_owner_types,(function(a,o){return t("el-column-row",{key:o},[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.6,label:e.$t(e.applicantOwnerLangOptions[a])}},["other"===a&&a===e.detail.applicant_owner?[e._v(e._s(e.detial.applicant_owner_name))]:e._e(),e._v(" "),"other"===a&&a===e.detail.applicant_owner_secondary?[e._v(e._s(e.detial.applicant_owner_secondary_name))]:e._e(),e._v(" "),"other"!==a&&a===e.detail.applicant_owner?[e._v("\r\n              "+e._s(e.detail.applicant_owner_english_name)+" \r\n              "+e._s(e.detail.applicant_owner_english_name&&e.detail.applicant_owner_name?`(${e.detail.applicant_owner_name})`:"")+"\r\n            ")]:e._e(),e._v(" "),"other"!==a&&a===e.detail.applicant_owner_secondary?[e._v("\r\n              "+e._s(e.detail.applicant_owner_secondary_english_name)+" \r\n              "+e._s(e.detail.applicant_owner_secondary_english_name&&e.detail.applicant_owner_secondary_name?`(${e.detail.applicant_owner_secondary_name})`:"")+"\r\n            ")]:e._e()],2),e._v(" "),"owner_corporation"==a?t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.certificateNo"),percent:.4}},[e._v("\r\n            "+e._s(e.detail.applicant_owner_no)+"\r\n          ")]):e._e()],1)})),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.correspondenceAddress"),percent:.4}},[e._v("\r\n            "+e._s(e.detail.applicant_correspondence_address)+"\r\n          ")])],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-zero",attrs:{"label-width":"0",percent:.8}},[t("el-table",{attrs:{data:e.detail.contacts,border:"",hasHeight:!1}},[t("el-table-column",{attrs:{label:e.$t("lang.contact_person_name"),prop:"applicant_contact_person_name"}}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.contact_person_title"),prop:"applicant_contact_person_title"}}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.contactTelNo"),prop:"applicant_contact_person_tel",align:"center"}}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.contactFaxNo"),prop:"applicant_contact_person_fax",align:"center"}}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.contact_person_email"),prop:"applicant_contact_person_mail",align:"center"}})],1)],1)],1)],2),e._v(" "),t("el-card",{staticClass:"building-info-card review-detail-card",attrs:{shadow:"never"}},[t("p",{staticClass:"detail-header",attrs:{slot:"header"},slot:"header"},[e._v("C."+e._s(e.$t("lang.building_info"))+" ")]),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-zero",attrs:{"label-width":"0"}},[t("el-table",{attrs:{data:e.detail.information_of_the_building,border:"",hasHeight:!1}},[t("el-table-column",{attrs:{label:e.$t("lang.englishBuildingName"),prop:"english_name",align:"center"}}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.chineseBuildingName"),prop:"name",align:"center"}}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.buildingAgeNotS"),width:"180px",prop:"age",align:"center"}}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.buildingAddress"),prop:"address",align:"center"}}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.englishBuildingAddress"),prop:"english_address",align:"center"}}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.district"),align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\r\n                  "+e._s(e._f("options")(t.row.district,e.districtOptions))+"\r\n                ")]}}])})],1)],1)],1)],1),e._v(" "),t("el-card",{staticClass:"format-card review-detail-card",attrs:{shadow:"never"}},[t("p",{staticClass:"detail-header",attrs:{slot:"header"},slot:"header"},[e._v("D."+e._s(e.$t("lang.preferredSchemeCertificate"))+" ")]),e._v(" "),"One_certificate_for_each_building"==e.detail.scheme_certificate_preferred_format?t("el-column-row",[t("el-form-item",{staticClass:"label-width-zero only-read-form-item",attrs:{"label-width":"0"}},[e._v("\r\n          "+e._s(e.$t("lang.oneCertificateForEachBuilding"))+"\r\n        ")])],1):[t("el-form-item",{staticClass:"label-width-zero only-read-form-item",attrs:{"label-width":"0"}},[e._v("\r\n            "+e._s(e.$t("lang.onecertificatePreferred"))+"\r\n          ")]),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.preferredName")}},[e._v("\r\n              "+e._s(e.detail.scheme_certificate_preferred_format_remark)+"\r\n            ")])],1)]],2),e._v(" "),t("el-card",{staticClass:"documents-card review-detail-card",attrs:{shadow:"never"}},[t("p",{staticClass:"detail-header",attrs:{slot:"header"},slot:"header"},[e._v("E."+e._s(e.$t("lang.documentsIncludedApplication"))+" ")]),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-zero",attrs:{label:"","label-width":"0",percent:.8}},[t("el-document-list",{attrs:{value:e.detail.plumbing_inspection}})],1)],1)],1),e._v(" "),t("el-card",{staticClass:"declaration-card review-detail-card",attrs:{shadow:"never"}},[t("p",{staticClass:"detail-header",attrs:{slot:"header"},slot:"header"},[e._v("F."+e._s(e.$t("lang.decofComplaints"))+" ")]),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.5,label:e.$t("lang.anyComplaintsNotNum")}},[e._v(e._s(e.detail.complaints_past?"Yes":0==e.detail.complaints_past?"No":""))]),e._v(" "),e.detail.complaints_past?t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.numberOfComplaints")}}
1,[e._v(e._s(e.detail.complaints_count))]):e._e()],1),e._v(" "),e.detail.complaints_past?t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.5,label:e.$t("lang.natureOfComplaints")}},[e._v(" "+e._s(e.detail.complaints_nature))]),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.averageHandlingTime")}},[e._v(" "+e._s(e.detail.complaints_handling_time))])],1):e._e(),e._v(" "),e.detail.complaints_past?t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.5,label:e.$t("lang.remedialActionsTaken")}},[e._v(e._s(e.detail.complaints_remedial_actions))]),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.allComplaintsClearedNo")}},[e._v(e._s(e.detail.complaints_cleared?e.$t("lang.yes"):0==e.detail.complaints_cleared?e.$t("lang.no"):""))])],1):e._e(),e._v(" "),e.detail.complaints_past?t("el-column-row",[t("el-form-item",{staticClass:"label-width-zero",attrs:{"label-width":"0",percent:.5,label:"Outstanding Complaints"}},[t("el-table",{attrs:{data:e.detail.complaints_outstanding,border:"",hasHeight:!1}},[t("el-table-column",{attrs:{label:e.$t("lang.nature"),prop:"nature"}}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.numberOfCases"),align:"center",width:"180px",prop:"number_cases"}})],1)],1)],1):e._e()],1),e._v(" "),t("el-card",{staticClass:"documents-card review-detail-card",attrs:{shadow:"never"}},[t("p",{staticClass:"detail-header",attrs:{slot:"header"},slot:"header"},[e._v("G."+e._s(e.$t("lang.termsConditions")))]),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-zero",attrs:{"label-width":"0",percent:.8}},[t("el-document-list",{attrs:{value:e.detail.sign_doc}})],1)],1)],1),e._v(" "),e.detail.id?t("el-review-message",{attrs:{applicationId:e.detail.id,stage:e.detail.status}},[t("el-form-item",{attrs:{prop:"upload_other_info","label-width":"0"}},[t("el-checkbox",{attrs:{"true-label":1,"false-label":0,disabled:!0},model:{value:e.detail.upload_other_info,callback:function(t){e.$set(e.detail,"upload_other_info",t)},expression:"detail.upload_other_info"}},[e._v(e._s(e.$t("lang.uploadOtherInfo")))])],1),e._v(" "),e.detail.upload_other_info?[t("el-form-item",{attrs:{prop:"upload_other_info_msg","label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none",readonly:!0},model:{value:e.detail.upload_other_info_msg,callback:function(t){e.$set(e.detail,"upload_other_info_msg",t)},expression:"detail.upload_other_info_msg"}})],1),e._v(" "),t("el-form-item",{staticClass:"d-flex flex-column",attrs:{prop:"upload_other_info_doc","label-width":"0"}},[t("el-document-list",{attrs:{value:e.detail.upload_other_info_doc}})],1)]:e._e()],2):e._e()],1)],1)],1)};Gm._withStripped=!0;var Vm=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),Zm=x(),Qm=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.breadcrumb=[{path:"",title:t.$t("lang.eApplication")},{path:"/applications/qws",title:"QWS"},{path:"",title:t.$t("lang.new_application")}],t.applicantOwnerLangOptions={owner:"lang.nameOfOwner",owner_corporation:"lang.ownersCorporationSimple",owner_committee:"lang.ownersCommittee",operator:"lang.operator",management_agent:"lang.managementAgent",government_departments:"lang.governmentDepartments",other:"lang.others"},t.baseUrl="/api/afs/wsd",t.detail={},t.api=x(),t.form=new K({default:{}}),t.typeOfBuildinfOption="en-US"===t.$i18n.locale?$l:"zh-CN"===t.$i18n.locale?Cl:xl,t.qmsSeaWaterSupplied="en-US"===t.$i18n.locale?kn:"zh-CN"===t.$i18n.locale?On:An,t.districtOptions="en-US"===t.$i18n.locale?Ln:"zh-CN"===t.$i18n.locale?Mn:qn,t}return Vm(t,e),t.prototype.onDelete=function(){var e=this;this.api.delete("/public/qws/applications",{data:[this.detail.id]}).then((function(){e.$router.back()}))},function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r}([(0,o.wA)({components:{ElAdminContainer:Da,ElForm:ae,ElFormItem:pt,ElColumnRow:ke,ElButton:Ge,ElCard:fe(),ElInput:Ze(),ElSelectTag:ds,ElTable:go,ElTableColumn:Uo(),ElDocumentUpload:Eo,ElDetailPageActionList:vm,ElDocumentList:Fo,ElLink:ge(),ElReviewSteps:Em,ElReviewMessage:lc,ElApplyRejection:No,ElCancelReason:Rm},beforeRouteEnter:function(e,t,a){Zm.get("/public/qws/applications/".concat(e.query.id)).then((function(e){return a((function(t){t.detail=e}))}))}})],t)}(o.w3),Km=Qm,Ym=(0,z.Z)(Km,Gm,[],!1,null,null,null).exports,Jm=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-admin-container",{class:["page-wels-detail","page-review-detail","en-US"===e.$i18n.locale?"page-wels-apply-en":""],attrs:{breadcrumb:e.breadcrumb}},[e.detail&&0===e.detail.status?t("el-detail-page-action-list",{attrs:{status:e.detail.status},on:{"on-edit":function(t){return e.$router.push({path:`/applications/wels/water_taps/${e.detail.id}`})},"on-delete":e.onDelete}}
1):e._e(),e._v(" "),e.detail&&-1!=e.detail.status&&-99!=e.detail.status?t("el-review-steps",{attrs:{stage:e.detail.status,hasLabStep:"100001"!==e.detail.laboratories,status:e.detail.record?e.detail.record.type:0}}):e._e(),e._v(" "),e.detail&&e.detail.record&&15==e.detail.record.type&&0==e.detail.status?t("el-apply-rejection",{model:{value:e.detail.record,callback:function(t){e.$set(e.detail,"record",t)},expression:"detail.record"}}):e._e(),e._v(" "),t("div",{staticClass:"container application-detail-content"},[t("el-form",{attrs:{hasLabelSuffix:!0}},[-99===e.detail.status?t("el-cancel-reason",{model:{value:e.detail,callback:function(t){e.detail=t},expression:"detail"}}):e._e(),e._v(" "),t("el-wels-company-info-detail",{attrs:{value:e.detail}}),e._v(" "),t("el-wels-product-info-detail",{attrs:{value:e.detail,productViewTitle:e.$t("lang.frontAndSideViews")}},[t("div",{attrs:{slot:"other-product-info"},slot:"other-product-info"},[t("div",{staticClass:"other-product-info-card"},[t("el-form-item",{staticClass:"label-width-zero bottom-dividing-line"},[t("el-checkbox",{attrs:{"true-label":1,"false-label":0,disabled:""},model:{value:e.detail.agree,callback:function(t){e.$set(e.detail,"agree",t)},expression:"detail.agree"}},[e._v(e._s(e.$t("lang.waterTapVariationAgreement")))])],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.includeFlowController")}},[e._v("\r\n              "+e._s(1==e.detail.include_flow_controller?e.$t("lang.yes"):e.$t("lang.no"))+"\r\n            ")]),e._v(" "),e.detail.include_flow_controller?[t("p",{staticClass:"header"},[e._v(e._s(e.$t("lang.flowControllerProductInfo")))]),e._v(" "),t("div",{staticClass:"body-view"},[t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.formHeader.brand")}},[[e._v(e._s(e.detail.pan_product_brand))]],2),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.modelNo")}},[[e._v(e._s(e.detail.pan_product_model))]],2)],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.nameIfAny")}},[[e._v(e._s(e.detail.pan_product_name))]],2),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.countryRegionOfOrigin")}},[[e._v(e._s(e.detail.pan_product_region))]],2)],1)],1),e._v(" "),t("el-form-item",{staticClass:"label-width-zero margin-bottom-0"},[t("el-checkbox",{attrs:{"true-label":1,"false-label":0,disabled:""},model:{value:e.detail.agreement,callback:function(t){e.$set(e.detail,"agreement",t)},expression:"detail.agreement"}},[e._v(e._s(e.$t("lang.installationAgreement")))])],1)]:e._e()],2)])]),e._v(" "),t("el-wels-support-doc-detail",{model:{value:e.detail,callback:function(t){e.detail=t},expression:"detail"}},[t("el-column-row",[t("el-form-item",{staticClass:"label-width-zero",attrs:{label:e.$t("lang.docProofOfApproval"),"label-width":"0",percent:.8}},[t("el-document-list",{attrs:{value:e.detail.issued_doc}})],1)],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-zero",attrs:{label:e.$t("lang.docProofDesign"),"label-width":"0",percent:.8}},[t("el-document-list",{attrs:{value:e.detail.production_system_doc}})],1)],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-zero",attrs:{label:e.$t("lang.detailsOfFlowController"),"label-width":"0",percent:.8}},[t("el-document-list",{attrs:{value:e.detail.details_of_flow_controller_doc}})],1)],1)],1),e._v(" "),e.detail.id?t("el-review-message",{attrs:{applicationId:e.detail.id,stage:e.detail.status}},[t("el-form-item",{attrs:{prop:"upload_other_info","label-width":"0"}},[t("el-checkbox",{attrs:{"true-label":1,"false-label":0,disabled:!0},model:{value:e.detail.upload_other_info,callback:function(t){e.$set(e.detail,"upload_other_info",t)},expression:"detail.upload_other_info"}},[e._v(e._s(e.$t("lang.uploadOtherInfo")))])],1),e._v(" "),e.detail.upload_other_info?[t("el-form-item",{attrs:{prop:"upload_other_info_msg","label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none",readonly:!0},model:{value:e.detail.upload_other_info_msg,callback:function(t){e.$set(e.detail,"upload_other_info_msg",t)},expression:"detail.upload_other_info_msg"}})],1),e._v(" "),t("el-form-item",{staticClass:"d-flex flex-column",attrs:{prop:"upload_other_info_doc","label-width":"0"}},[t("el-document-list",{attrs:{value:e.detail.upload_other_info_doc}})],1)]:e._e()],2):e._e()],1)],1)],1)};Jm._withStripped=!0;var Xm=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-card",{staticClass:"general-description-card review-detail-card wels-compan-value-view",attrs:{shadow:"never"}},[t("p",{staticClass:"value-header",attrs:{slot:"header"},slot:"header"},[e._v(e._s(e.$t("lang.informationOfTheCompany")))]),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.company"),percent:.4}},[e._v(e._s(e.value.company_name))]),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.englishCompany"),percent:.4}},[e._v(e._s(e.value.english_company_name))])],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.companyAddress"),percent:.4}},[e._v(e._s(e.value.company_address))]),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.correspondingAddress"),percent:.4}}
1,[e._v(e._s(e.value.company_corresponding_address))])],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.TEL"),percent:.4}},[e._v(e._s(e.value.company_phone))]),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.Fax"),percent:.4}},[e._v(e._s(e.value.company_fax))])],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.onlyemail"),percent:.4}},[e._v(e._s(e.value.company_email))]),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.website")}},[e._v(e._s(e.value.company_website))])],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.contactPersonTitle"),percent:.4}},[e._v(e._s(e.value.company_contact))]),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.companyType"),percent:.4}},[e._v("\n      "+e._s(e._f("options")(e.value.company_type,e.companyType))+"\n      "),"other"===e.value.company_type?[e._v(e._s(`(${e.value.company_type_other})`))]:e._e()],2)],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.contactGender")}},[e._v(e._s(1==e.value.contact_call?e.$t("lang.mr"):2==e.value.contact_call?e.$t("lang.ms"):""))])],1),e._v(" "),e.showSale?t("el-column-row",[t("el-form-item",{staticClass:"label-width-zero only-read-form-item",attrs:{label:e.$t("lang.distributors"),"label-width":"0",percent:.6}},[t("el-table",{attrs:{data:e.value.company_distributors,border:"",hasHeight:!1}},[t("el-table-column",{attrs:{label:e.$t("lang.name"),width:"300px",align:"center",prop:"name"}}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.address"),prop:"address"}}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.projectUsed"),align:"center",width:"200"},scopedSlots:e._u([{key:"default",fn:function(a){return[t("el-checkbox",{attrs:{"true-label":1,"false-label":0,disabled:!0},model:{value:a.row.project_used,callback:function(t){e.$set(a.row,"project_used",t)},expression:"props.row.project_used"}})]}}],null,!1,1763509063)})],1)],1)],1):e._e()],1)};Xm._withStripped=!0;var ef=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),tf=function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r},af=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},of=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.companyType="en-US"===t.$i18n.locale?xn:"zh-CN"===t.$i18n.locale?Sn:En,t}return ef(t,e),t.prototype.onChange=function(e){this.companyType="en-US"===this.$i18n.locale?xn:"zh-CN"===this.$i18n.locale?Sn:En},t.prototype.onGetValue=function(){},tf([(0,o.fI)(),af("design:type",Object)],t.prototype,"value",void 0),tf([(0,o.fI)({required:!1,default:!0}),af("design:type",Boolean)],t.prototype,"showSale",void 0),tf([(0,o.RL)("value"),af("design:type",Function),af("design:paramtypes",[]),af("design:returntype",void 0)],t.prototype,"onGetValue",null),tf([(0,o.wA)({components:{ElColumnRow:ke,ElFormItem:pt,ElButton:Ge,ElInput:Ze(),ElSelect:Pr,ElTable:go,ElTableColumn:Uo(),ElCard:fe()}})],t)}(o.w3),lf=of,nf=(0,z.Z)(lf,Xm,[],!1,null,null,null).exports,rf=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-card",{staticClass:"product-info-description-card review-detail-card",attrs:{shadow:"never"}},[t("p",{staticClass:"value-header",attrs:{slot:"header"},slot:"header"},[e._v(e._s(e.$t("lang.productInformation")))]),e._v(" "),e.showBasicInfo?[t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.formHeader.brand"),percent:.4}},[e._v(e._s(e.value.product_brand))]),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.modelNo"),percent:.4}},[e._v(e._s(e.value.product_model))])],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.name"),percent:.4}},[e._v(e._s(e.value.product_name))]),e._v(" "),e.showCategory?t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.category"),percent:.4}},[e._v(e._s(e._f("options")(e.value.product_category,e.categoryOption)))]):e._e(
1),e._v(" "),e.showCategory?e._e():t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.countryRegionOfOrigin"),percent:.4}},[e._v(e._s(e.value.product_region))])],1),e._v(" "),t("el-column-row",[e.showCategory?t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.countryRegionOfOrigin"),percent:.4}},[e._v(e._s(e.value.product_region))]):e._e(),e._v(" "),e._t("after-country-region")],2)]:e._e(),e._v(" "),e._t("other-product-info"),e._v(" "),e.value.catalogue_doc&&e.value.catalogue_doc.length>0?t("el-column-row",[t("el-form-item",{staticClass:"label-width-zero",attrs:{label:e.$t("lang.catalogue"),"label-width":"0",percent:.8}},[t("el-document-list",{attrs:{value:e.value.catalogue_doc}})],1)],1):e._e(),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-zero",attrs:{label:e.productViewTitle,"label-width":"0",percent:.8}},[t("el-document-list",{attrs:{value:e.value.front_doc}})],1)],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-zero",attrs:{label:e.$t("lang.uploadOtherPicture"),"label-width":"0",percent:.8}},[t("el-document-list",{attrs:{value:e.value.product_photo_doc}})],1)],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.waterEfficiencyLabel"),percent:.8}},[e._v(e._s(e.value.water_efficiency_label))])],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.commencementDateToAffixLabel"),percent:.4}},[e._v(e._s(e.value.label_commencement_date))])],1)],2)};rf._withStripped=!0;var sf=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),cf=function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r},df=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},pf=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.baseUrl="/api/afs/wsd",t.categoryOption="en-US"===t.$i18n.locale?vn:"zh-CN"===t.$i18n.locale?wn:bn,t}return sf(t,e),t.prototype.onChangeLocal=function(){this.onGetCategoryOption()},t.prototype.onGetCategoryOption=function(){var e;switch(null===(e=this.value)||void 0===e?void 0:e.approval_scheme){case"wels_water_taps":this.categoryOption="en-US"===this.$i18n.locale?vn:"zh-CN"===this.$i18n.locale?wn:bn;break;case"wels_washing_machines":this.categoryOption="en-US"===this.$i18n.locale?_n:"zh-CN"===this.$i18n.locale?hn:gn;break;case"wels_urinal_equipment":this.categoryOption="en-US"===this.$i18n.locale?un:"zh-CN"===this.$i18n.locale?fn:mn;break;case"wels_flow_controllers":this.categoryOption="en-US"===this.$i18n.locale?yn:"zh-CN"===this.$i18n.locale?Cn:$n}},cf([(0,o.fI)(),df("design:type",Object)],t.prototype,"value",void 0),cf([(0,o.fI)(),df("design:type",String)],t.prototype,"productViewTitle",void 0),cf([(0,o.fI)({required:!1,default:!0}),df("design:type",Boolean)],t.prototype,"showCategory",void 0),cf([(0,o.fI)({required:!1,default:!0}),df("design:type",Boolean)],t.prototype,"showBasicInfo",void 0),cf([(0,o.RL)("value"),df("design:type",Function),df("design:paramtypes",[]),df("design:returntype",void 0)],t.prototype,"onGetCategoryOption",null),cf([(0,o.wA)({components:{ElColumnRow:ke,ElFormItem:pt,ElButton:Ge,ElSelect:Pr,ElInput:Ze(),ElDocumentUpload:Eo,ElDatePicker:Ho(),ElCard:fe(),ElDocumentList:Fo}})],t)}(o.w3),uf=pf,mf=(0,z.Z)(uf,rf,[],!1,null,null,null).exports,ff=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-card",{staticClass:"product-info-description-card review-detail-card",attrs:{shadow:"never"}},[t("p",{staticClass:"application-item-card-title",attrs:{slot:"header"},slot:"header"},[e._v("\n    "+e._s(e.$t("lang.supportDoc"))+"\n  ")]),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.laboratory_names"),percent:.4}},[e._v(e._s(e.value.laboratory_names))]),e._v(" "),e.value.laboratories&&"100001"!==e.value.laboratories?t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.labReportRef"),percent:.4}}
1,[e._v(e._s(e.value.lab_report_ref))]):e._e()],1),e._v(" "),t("el-column-row",[e.value.detailed_test_report_doc&&e.value.detailed_test_report_doc.length>0?t("el-form-item",{staticClass:"label-width-zero",attrs:{label:e.$t("lang.detailedTestReport"),"label-width":"0",percent:.8}},[t("el-document-list",{attrs:{value:e.value.detailed_test_report_doc}})],1):e._e()],1),e._v(" "),e._t("default")],2)};ff._withStripped=!0;var _f=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),gf=function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r},hf=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},vf=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.baseUrl="/api/afs/wsd",t}return _f(t,e),gf([(0,o.fI)(),hf("design:type",Object)],t.prototype,"value",void 0),gf([(0,o.wA)({components:{ElColumnRow:ke,ElFormItem:pt,ElButton:Ge,ElSelect:Pr,ElCard:fe(),ElDocumentList:Fo}})],t)}(o.w3),bf=vf,wf=(a(72984),(0,z.Z)(bf,ff,[],!1,null,null,null).exports),yf=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),$f=x(),Cf=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.breadcrumb=[{path:"",title:t.$t("lang.eApplication")},{path:"/applications/wels",title:"WELS(".concat(t.$t("lang.waterTaps"),")")},{path:"",title:t.$t("lang.breadcrumb.detail")}],t.baseUrl="/api/afs/wsd",t.detail={},t.companyType="en-US"===t.$i18n.locale?xn:"zh-CN"===t.$i18n.locale?Sn:En,t.tapsCategory="en-US"===t.$i18n.locale?vn:"zh-CN"===t.$i18n.locale?wn:bn,t}return yf(t,e),t.prototype.onChange=function(e){this.companyType="en-US"===this.$i18n.locale?xn:"zh-CN"===this.$i18n.locale?Sn:En,this.tapsCategory="en-US"===this.$i18n.locale?vn:"zh-CN"===this.$i18n.locale?wn:bn},t.prototype.onDelete=function(){var e=this;$f.delete("/public/wels/applications",{data:[this.detail.id]}).then((function(){e.$router.back()}))},function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r}([(0,o.wA)({components:{ElAdminContainer:Da,ElForm:ae,ElFormItem:pt,ElColumnRow:ke,ElButton:Ge,ElCard:fe(),ElInput:Ze(),ElSelectTag:ds,ElTable:go,ElTableColumn:Uo(),ElDocumentUpload:Eo,ElDetailPageActionList:vm,ElDocumentList:Fo,ElLink:ge(),ElReviewSteps:Em,ElReviewMessage:lc,ElApplyRejection:No,ElWelsCompanyInfoDetail:nf,ElWelsProductInfoDetail:mf,ElWelsSupportDocDetail:wf,ElSelect:Pr,ElCancelReason:Rm},beforeRouteEnter:function(e,t,a){$f.get("/public/wels/applications/".concat(e.query.id)).then((function(e){return a((function(t){t.detail=e}))}))}})],t)}(o.w3),xf=Cf,Sf=(0,z.Z)(xf,Jm,[],!1,null,null,null).exports,Ef=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-admin-container",{class:["page-wels-detail","page-review-detail","en-US"===e.$i18n.locale?"page-wels-apply-en":""],attrs:{breadcrumb:e.breadcrumb}},[e.detail&&0===e.detail.status?t("el-detail-page-action-list",{attrs:{status:e.detail.status},on:{"on-edit":function(t){return e.$router.push({path:`/applications/wels/washing_machines/${e.detail.id}`})},"on-delete":e.onDelete}}
1):e._e(),e._v(" "),e.detail&&-1!=e.detail.status&&-99!=e.detail.status?t("el-review-steps",{attrs:{stage:e.detail.status,hasLabStep:"100001"!==e.detail.laboratories,status:e.detail.record?e.detail.record.type:0}}):e._e(),e._v(" "),e.detail&&e.detail.record&&15==e.detail.record.type&&0==e.detail.status?t("el-apply-rejection",{model:{value:e.detail.record,callback:function(t){e.$set(e.detail,"record",t)},expression:"detail.record"}}):e._e(),e._v(" "),t("div",{staticClass:"container application-detail-content"},[t("el-form",{attrs:{store:e.form,hasLabelSuffix:!0,rules:e.form.rules}},[-99===e.detail.status?t("el-cancel-reason",{model:{value:e.detail,callback:function(t){e.detail=t},expression:"detail"}}):e._e(),e._v(" "),t("el-wels-company-info-detail",{attrs:{value:e.detail,showSale:!1}}),e._v(" "),t("el-wels-product-info-detail",{attrs:{value:e.detail,productViewTitle:e.$t("lang.frontAndSideViews")}},[t("div",{attrs:{slot:"other-product-info"},slot:"other-product-info"},[t("el-form-item",{staticClass:"label-width-zero bottom-dividing-line"},[t("el-checkbox",{attrs:{"true-label":1,"false-label":0,disabled:""},model:{value:e.detail.agree,callback:function(t){e.$set(e.detail,"agree",t)},expression:"detail.agree"}},[e._v(e._s(e.$t("lang.washingVariationAgreement")))])],1)],1)]),e._v(" "),t("el-wels-support-doc-detail",{model:{value:e.detail,callback:function(t){e.detail=t},expression:"detail"}},[t("el-column-row",[t("el-form-item",{staticClass:"label-width-zero",attrs:{label:e.$t("lang.docProofRegistered"),"label-width":"0",percent:.8}},[t("el-document-list",{attrs:{value:e.detail.mandatory_doc}})],1)],1)],1),e._v(" "),e.detail.id?t("el-review-message",{attrs:{applicationId:e.detail.id,stage:e.detail.status}},[t("el-form-item",{attrs:{prop:"upload_other_info","label-width":"0"}},[t("el-checkbox",{attrs:{"true-label":1,"false-label":0,disabled:!0},model:{value:e.detail.upload_other_info,callback:function(t){e.$set(e.detail,"upload_other_info",t)},expression:"detail.upload_other_info"}},[e._v(e._s(e.$t("lang.uploadOtherInfo")))])],1),e._v(" "),e.detail.upload_other_info?[t("el-form-item",{attrs:{prop:"upload_other_info_msg","label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none",readonly:!0},model:{value:e.detail.upload_other_info_msg,callback:function(t){e.$set(e.detail,"upload_other_info_msg",t)},expression:"detail.upload_other_info_msg"}})],1),e._v(" "),t("el-form-item",{staticClass:"d-flex flex-column",attrs:{prop:"upload_other_info_doc","label-width":"0"}},[t("el-document-list",{attrs:{value:e.detail.upload_other_info_doc}})],1)]:e._e()],2):e._e()],1)],1)],1)};Ef._withStripped=!0;var kf=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),Of=x(),Af=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.breadcrumb=[{path:"",title:t.$t("lang.eApplication")},{path:"/applications/wels",title:"WELS(".concat(t.$t("lang.washingMachines"),")")},{path:"",title:t.$t("lang.breadcrumb.detail")}],t.baseUrl="/api/afs/wsd",t.detail={},t.companyType="en-US"===t.$i18n.locale?xn:"zh-CN"===t.$i18n.locale?Sn:En,t.machinesCategory="en-US"===t.$i18n.locale?_n:"zh-CN"===t.$i18n.locale?hn:gn,t.form=new K({default:{documentList:[{name:"Document1.pdf",extension:"pdf"},{name:"Document2.pdf",extension:"pdf"}],stage:0,rejectionContent:"1、GA application is missing photos\n2、GA application is missing photos\n3、GA application is missing photos"}}),t}return kf(t,e),t.prototype.onChange=function(e){this.companyType="en-US"===this.$i18n.locale?xn:"zh-CN"===this.$i18n.locale?Sn:En,this.machinesCategory="en-US"===this.$i18n.locale?_n:"zh-CN"===this.$i18n.locale?hn:gn},t.prototype.onDelete=function(){var e=this;Of.delete("/public/wels/applications",{data:[this.detail.id]}).then((function(){e.$router.back()}))},function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r}([(0,o.wA)({components:{ElAdminContainer:Da,ElForm:ae,ElFormItem:pt,ElColumnRow:ke,ElButton:Ge,ElCard:fe(),ElInput:Ze(),ElSelectTag:ds,ElTable:go,ElTableColumn:Uo(),ElDocumentUpload:Eo,ElDetailPageActionList:vm,ElDocumentList:Fo,ElLink:ge(),ElReviewSteps:Em,ElReviewMessage:lc,ElApplyRejection:No,ElWelsCompanyInfoDetail:nf,ElWelsProductInfoDetail:mf,ElWelsSupportDocDetail:wf,ElCancelReason:Rm},beforeRouteEnter:function(e,t,a){Of.get("/public/wels/applications/".concat(e.query.id)).then((function(e){return a((function(t){t.detail=e}))}))}})],t)}(o.w3),Pf=Af,Tf=(0,z.Z)(Pf,Ef,[],!1,null,null,null).exports,Df=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-admin-container",{class:["page-wels-detail","page-review-detail","en-US"===e.$i18n.locale?"page-wels-apply-en":""],attrs:{breadcrumb:e.breadcrumb}},[e.detail&&0===e.detail.status?t("el-detail-page-action-list",{attrs:{status:e.detail.status},on:{"on-edit":function(t){return e.$router.push({path:`/applications/wels/urinal_equipment/${e.detail.id}`})},"on-delete":e.onDelete}}
1):e._e(),e._v(" "),e.detail&&-1!=e.detail.status&&-99!=e.detail.status?t("el-review-steps",{attrs:{stage:e.detail.status,hasLabStep:"100001"!==e.detail.laboratories,status:e.detail.record?e.detail.record.type:0}}):e._e(),e._v(" "),e.detail&&e.detail.record&&15==e.detail.record.type&&0==e.detail.status?t("el-apply-rejection",{model:{value:e.detail.record,callback:function(t){e.$set(e.detail,"record",t)},expression:"detail.record"}}):e._e(),e._v(" "),t("div",{staticClass:"container application-detail-content"},[t("el-form",{attrs:{store:e.form,hasLabelSuffix:!0,rules:e.form.rules}},[-99===e.detail.status?t("el-cancel-reason",{model:{value:e.detail,callback:function(t){e.detail=t},expression:"detail"}}):e._e(),e._v(" "),t("el-wels-company-info-detail",{attrs:{value:e.detail}}),e._v(" "),t("el-wels-product-info-detail",{attrs:{value:e.detail,productViewTitle:e.$t("lang.frontSideBottomViews"),showBasicInfo:!1}},[t("div",{attrs:{slot:"other-product-info"},slot:"other-product-info"},[t("el-column-row",{staticClass:"margin-bottom-15"},[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.descOfUrinalEquipment"),percent:.4,prop:"description_of_urinal_equipment"}},[e._v("\r\n                "+e._s(e._f("options")(e.detail.description_of_urinal_equipment,e.typesOfDesOfUrinalEq))+"\r\n              ")]),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.category"),prop:"product_category"}},[e._v("\r\n                "+e._s(e._f("options")(e.detail.product_category,e.equipmentCategory))+"\r\n              ")])],1),e._v(" "),"trap"===e.detail.description_of_urinal_equipment||"flushing_valve"===e.detail.description_of_urinal_equipment?t("div",[t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.formHeader.brand")}},[[e._v(e._s(e.detail.product_brand))]],2),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.modelNo")}},[[e._v(e._s(e.detail.product_model))]],2)],1),e._v(" "),t("el-column-row",{staticClass:"margin-bottom-15"},[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.nameIfAny")}},[[e._v(e._s(e.detail.product_name))]],2),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.countryRegionOfOrigin")}},[[e._v(e._s(e.detail.product_region))]],2)],1)],1):e._e(),e._v(" "),"trap_coupled"===e.detail.description_of_urinal_equipment||"suites"===e.detail.description_of_urinal_equipment?[t("div",{staticClass:"other-product-info-card"},[t("p",{staticClass:"header"},[e._v(e._s(e.$t("lang.urinalProductInfo")))]),e._v(" "),t("div",{staticClass:"body-view"},[t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.formHeader.brand")}},[[e._v(e._s(e.detail.product_brand))]],2),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.modelNo")}},[[e._v(e._s(e.detail.product_model))]],2)],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.nameIfAny")}},[[e._v(e._s(e.detail.product_name))]],2),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.countryRegionOfOrigin")}},[[e._v(e._s(e.detail.product_region))]],2)],1)],1)]),e._v(" "),t("div",{staticClass:"other-product-info-card"},[t("p",{staticClass:"header"},[e._v(e._s(e.$t("lang.valveProductInfo")))]),e._v(" "),t("div",{staticClass:"body-view"},[t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.formHeader.brand")}},[[e._v(e._s(e.detail.valve_product_brand))]],2),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.modelNo")}},[[e._v(e._s(e.detail.valve_product_model))]],2)],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.nameIfAny")}},[[e._v(e._s(e.detail.valve_product_name))]],2),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.countryRegionOfOrigin")}},[[e._v(e._s(e.detail.valve_product_region))]],2)],1)],1)])]:e._e(),e._v(" "),t("el-form-item",{staticClass:"label-width-zero bottom-dividing-line"},[t("el-checkbox",{attrs:{"true-label":1,"false-label":0,disabled:""},model:{value:e.detail.agree,callback:function(t){e.$set(e.detail,"agree",t)},expression:"detail.agree"}},[e._v(e._s(e.$t("lang.urinalEquipmentVariationAgreement")))])],1
1)],2)]),e._v(" "),t("el-wels-support-doc-detail",{model:{value:e.detail,callback:function(t){e.detail=t},expression:"detail"}},[t("el-column-row",[t("el-form-item",{staticClass:"label-width-zero",attrs:{label:e.$t("lang.docProofDesign"),"label-width":"0",percent:.8}},[t("el-document-list",{attrs:{value:e.detail.production_system_doc}})],1)],1),e._v(" "),t("el-column-row",[e.detail.description_of_urinal_equipment&&"trap"!==e.detail.description_of_urinal_equipment?t("el-form-item",{staticClass:"label-width-zero",attrs:{label:e.$t("lang.docuProofOfFlushingWaterAuthority"),"label-width":"0",percent:.8}},[t("el-document-list",{attrs:{value:e.detail.ga_issued_doc}})],1):e._e()],1)],1),e._v(" "),e.detail.id?t("el-review-message",{attrs:{applicationId:e.detail.id,stage:e.detail.status}},[t("el-form-item",{attrs:{prop:"upload_other_info","label-width":"0"}},[t("el-checkbox",{attrs:{"true-label":1,"false-label":0,disabled:!0},model:{value:e.detail.upload_other_info,callback:function(t){e.$set(e.detail,"upload_other_info",t)},expression:"detail.upload_other_info"}},[e._v(e._s(e.$t("lang.uploadOtherInfo")))])],1),e._v(" "),e.detail.upload_other_info?[t("el-form-item",{attrs:{prop:"upload_other_info_msg","label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none",readonly:!0},model:{value:e.detail.upload_other_info_msg,callback:function(t){e.$set(e.detail,"upload_other_info_msg",t)},expression:"detail.upload_other_info_msg"}})],1),e._v(" "),t("el-form-item",{staticClass:"d-flex flex-column",attrs:{prop:"upload_other_info_doc","label-width":"0"}},[t("el-document-list",{attrs:{value:e.detail.upload_other_info_doc}})],1)]:e._e()],2):e._e()],1)],1)],1)};Df._withStripped=!0;var Rf=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),If=x(),Ff=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.breadcrumb=[{path:"",title:t.$t("lang.eApplication")},{path:"/applications/wels",title:"WELS(".concat(t.$t("lang.urinalEquipment"),")")},{path:"",title:t.$t("lang.breadcrumb.detail")}],t.baseUrl="/api/afs/wsd",t.form=new K({default:{documentList:[{name:"Document1.pdf",extension:"pdf"},{name:"Document2.pdf",extension:"pdf"}],stage:0,rejectionContent:"1、GA application is missing photos\n2、GA application is missing photos\n3、GA application is missing photos"}}),t.detail={},t.companyType="en-US"===t.$i18n.locale?xn:"zh-CN"===t.$i18n.locale?Sn:En,t.equipmentCategory="en-US"===t.$i18n.locale?un:"zh-CN"===t.$i18n.locale?fn:mn,t.typesOfDesOfUrinalEq="en-US"===t.$i18n.locale?Rn:"zh-CN"===t.$i18n.locale?Fn:In,t}return Rf(t,e),t.prototype.onChange=function(e){this.companyType="en-US"===this.$i18n.locale?xn:"zh-CN"===this.$i18n.locale?Sn:En,this.equipmentCategory="en-US"===this.$i18n.locale?un:"zh-CN"===this.$i18n.locale?fn:mn,this.typesOfDesOfUrinalEq="en-US"===this.$i18n.locale?Rn:"zh-CN"===this.$i18n.locale?Fn:In},t.prototype.onDelete=function(){var e=this;If.delete("/public/wels/applications",{data:[this.detail.id]}).then((function(){e.$router.back()}))},function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r}([(0,o.wA)({components:{ElAdminContainer:Da,ElForm:ae,ElFormItem:pt,ElColumnRow:ke,ElButton:Ge,ElCard:fe(),ElInput:Ze(),ElSelectTag:ds,ElTable:go,ElTableColumn:Uo(),ElDocumentUpload:Eo,ElDetailPageActionList:vm,ElDocumentList:Fo,ElLink:ge(),ElReviewSteps:Em,ElReviewMessage:lc,ElApplyRejection:No,ElWelsCompanyInfoDetail:nf,ElWelsProductInfoDetail:mf,ElWelsSupportDocDetail:wf,ElCancelReason:Rm},beforeRouteEnter:function(e,t,a){If.get("/public/wels/applications/".concat(e.query.id)).then((function(e){return a((function(t){t.detail=e}))}))}})],t)}(o.w3),Lf=Ff,qf=(0,z.Z)(Lf,Df,[],!1,null,null,null).exports,Mf=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-admin-container",{class:["page-wels-detail","page-review-detail","en-US"===e.$i18n.locale?"page-wels-apply-en":""],attrs:{breadcrumb:e.breadcrumb}},[e.detail&&0===e.detail.status?t("el-detail-page-action-list",{attrs:{status:e.detail.status},on:{"on-edit":function(t){return e.$router.push({path:`/applications/wels/water_closets/${e.detail.id}`})},"on-delete":e.onDelete}}
1):e._e(),e._v(" "),e.detail&&-1!=e.detail.status&&-99!=e.detail.status?t("el-review-steps",{attrs:{stage:e.detail.status,hasLabStep:"100001"!==e.detail.laboratories,status:e.detail.record?e.detail.record.type:0}}):e._e(),e._v(" "),e.detail&&e.detail.record&&15==e.detail.record.type&&0==e.detail.status?t("el-apply-rejection",{model:{value:e.detail.record,callback:function(t){e.$set(e.detail,"record",t)},expression:"detail.record"}}):e._e(),e._v(" "),t("div",{staticClass:"container application-detail-content"},[t("el-form",{attrs:{hasLabelSuffix:!0}},[-99===e.detail.status?t("el-cancel-reason",{model:{value:e.detail,callback:function(t){e.detail=t},expression:"detail"}}):e._e(),e._v(" "),t("el-wels-company-info-detail",{attrs:{value:e.detail}}),e._v(" "),t("el-wels-product-info-detail",{attrs:{value:e.detail,productViewTitle:e.$t("lang.frontSideBottomViews"),showCategory:!1,showBasicInfo:!1}},[t("div",{attrs:{slot:"other-product-info"},slot:"other-product-info"},[t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.typesOfWaterCloset"),percent:.4,prop:"types_of_water_closet"}},[e._v("\r\n            "+e._s(e._f("options")(e.detail.types_of_water_closet,e.typesOfWaterCloset))+"\r\n          ")]),e._v(" "),"one_price_pan"===e.detail.types_of_water_closet?[t("div",{staticClass:"other-product-info-card"},[t("p",{staticClass:"header"},[e._v(e._s(e.$t("lang.wcSuiteProductInfo")))]),e._v(" "),t("div",{staticClass:"body-view"},[t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.formHeader.brand")}},[[e._v(e._s(e.detail.product_brand))]],2),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.modelNo")}},[[e._v(e._s(e.detail.product_model))]],2)],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.nameIfAny")}},[[e._v(e._s(e.detail.product_name))]],2),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.countryRegionOfOrigin")}},[[e._v(e._s(e.detail.product_region))]],2)],1)],1)])]:e._e(),e._v(" "),"close_coupled_suite"===e.detail.types_of_water_closet?[t("div",{staticClass:"other-product-info-card"},[t("p",{staticClass:"header"},[e._v(e._s(e.$t("lang.panProductInfo")))]),e._v(" "),t("div",{staticClass:"body-view"},[t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.formHeader.brand")}},[[e._v(e._s(e.detail.pan_product_brand))]],2),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.modelNo")}},[[e._v(e._s(e.detail.pan_product_model))]],2)],1),e._v(" "),t("el-column-row",[e._v(".\r\n                  "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.nameIfAny")}},[[e._v(e._s(e.detail.pan_product_name))]],2),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.countryRegionOfOrigin")}},[[e._v(e._s(e.detail.pan_product_region))]],2)],1)],1)])]:e._e(),e._v(" "),"cistern"===e.detail.types_of_water_closet||"close_coupled_suite"===e.detail.types_of_water_closet?[t("div",{staticClass:"other-product-info-card"},[t("p",{staticClass:"header"},[e._v(e._s(e.$t("lang.cisternProductInfo")))]),e._v(" "),t("div",{staticClass:"body-view"},[t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.formHeader.brand")}},[[e._v(e._s(e.detail.cistern_product_brand))]],2),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.modelNo")}},[[e._v(e._s(e.detail.cistern_product_model))]],2)],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.nameIfAny")}},[[e._v(e._s(e.detail.cistern_product_name))]],2),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.countryRegionOfOrigin")}},[[e._v(e._s(e.detail.cistern_product_region))]],2)],1)],1)])]:e._e(),e._v(" "),"one_price_pan"===e.detail.types_of_water_closet||"cistern"===e.detail.types_of_water_closet||"close_coupled_suite"===e.detail.types_of_water_closet?[t("div",{staticClass:"other-product-info-card"},[t("p",{staticClass:"header"},[e._v(e._s(e.$t("lang.valveProductInfo")))]),e._v(" "),t("div",{staticClass:"body-view"},[t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.formHeader.brand")}},[[e._v(e._s(e.detail.valve_product_brand))]],2),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.modelNo")}},[[e._v(e._s(e.detail.valve_product_model))]],2)],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.nameIfAny")}},[[e._v(e._s(e.detail.valve_product_name))]],2),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.countryRegionOfOrigin")}},[[e._v(e._s(e.detail.valve_product_region))]],2)],1)],1)])]:e._e(),e._v(" "),"pan"===e.detail.types_of_water_closet?[t("div",[t("div",{staticClass:"body-view"},[t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.formHeader.brand")}},[[e._v(e._s(e.detail.pan_product_brand))]],2),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.modelNo")}},[[e._v(e._s(e.detail.pan_product_model))]],2)],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.nameIfAny")}},[[e._v(e._s(e.detail.pan_product_name))]],2),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.countryRegionOfOrigin")}},[[e._v(e._s(e.detail.pan_product_region))]],2)],1)],1)])]:e._e(),e._v(" "),t("el-form-item",{staticClass:"label-width-zero bottom-dividing-line"},[t("el-checkbox",{attrs:{"true-label":1,"false-label":0,disabled:""},model:{value:e.detail.agree,callback:function(t){e.$set(e.detail,"agree",t)},expression:"detail.agree"}}
1,[e._v(e._s(e.$t("lang.waterClosetsVariationAgreement")))])],1)],2)]),e._v(" "),t("el-wels-support-doc-detail",{model:{value:e.detail,callback:function(t){e.detail=t},expression:"detail"}},[t("el-column-row",[t("el-form-item",{staticClass:"label-width-zero",attrs:{label:e.$t("lang.docProofDesign"),"label-width":"0",percent:.8}},[t("el-document-list",{attrs:{value:e.detail.production_system_doc}})],1)],1),e._v(" "),"one_price_pan"==e.detail.types_of_water_closet||"cistern"==e.detail.types_of_water_closet||"close_coupled_suite"==e.detail.types_of_water_closet?t("el-form-item",{staticClass:"label-width-zero",attrs:{label:e.$t("lang.valveGaUploadFile"),percent:.8,"label-width":"0"}},[t("el-document-list",{attrs:{value:e.detail.ga_upload_doc}})],1):e._e()],1),e._v(" "),e.detail.id?t("el-review-message",{attrs:{applicationId:e.detail.id,stage:e.detail.status}},[t("el-form-item",{attrs:{prop:"upload_other_info","label-width":"0"}},[t("el-checkbox",{attrs:{"true-label":1,"false-label":0,disabled:!0},model:{value:e.detail.upload_other_info,callback:function(t){e.$set(e.detail,"upload_other_info",t)},expression:"detail.upload_other_info"}},[e._v(e._s(e.$t("lang.uploadOtherInfo")))])],1),e._v(" "),e.detail.upload_other_info?[t("el-form-item",{attrs:{prop:"upload_other_info_msg","label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none",readonly:!0},model:{value:e.detail.upload_other_info_msg,callback:function(t){e.$set(e.detail,"upload_other_info_msg",t)},expression:"detail.upload_other_info_msg"}})],1),e._v(" "),t("el-form-item",{staticClass:"d-flex flex-column",attrs:{prop:"upload_other_info_doc","label-width":"0"}},[t("el-document-list",{attrs:{value:e.detail.upload_other_info_doc}})],1)]:e._e()],2):e._e()],1)],1)],1)};Mf._withStripped=!0;var jf=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),zf=x(),Nf=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.breadcrumb=[{path:"",title:t.$t("lang.eApplication")},{path:"/applications/wels",title:"WELS(".concat(t.$t("lang.waterClosets"),")")},{path:"",title:t.$t("lang.breadcrumb.detail")}],t.baseUrl="/api/afs/wsd",t.api=x(),t.form=new K({default:{documentList:[{name:"Document1.pdf",extension:"pdf"},{name:"Document2.pdf",extension:"pdf"}],stage:0,rejectionContent:"1、GA application is missing photos\n2、GA application is missing photos\n3、GA application is missing photos"}}),t.detail={},t.companyType="en-US"===t.$i18n.locale?xn:"zh-CN"===t.$i18n.locale?Sn:En,t.typesOfWaterCloset="en-US"===t.$i18n.locale?Pn:"zh-CN"===t.$i18n.locale?Tn:Dn,t}return jf(t,e),t.prototype.onChange=function(e){this.companyType="en-US"===this.$i18n.locale?xn:"zh-CN"===this.$i18n.locale?Sn:En,this.typesOfWaterCloset="en-US"===this.$i18n.locale?Pn:"zh-CN"===this.$i18n.locale?Tn:Dn},t.prototype.onDelete=function(){var e=this;this.api.delete("/public/wels/applications",{data:[this.detail.id]}).then((function(){e.$router.back()}))},function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r}([(0,o.wA)({components:{ElAdminContainer:Da,ElForm:ae,ElFormItem:pt,ElColumnRow:ke,ElButton:Ge,ElCard:fe(),ElInput:Ze(),ElSelectTag:ds,ElTable:go,ElTableColumn:Uo(),ElDocumentUpload:Eo,ElDetailPageActionList:vm,ElDocumentList:Fo,ElLink:ge(),ElReviewSteps:Em,ElReviewMessage:lc,ElApplyRejection:No,ElWelsCompanyInfoDetail:nf,ElWelsProductInfoDetail:mf,ElWelsSupportDocDetail:wf,ElCancelReason:Rm},beforeRouteEnter:function(e,t,a){zf.get("/public/wels/applications/".concat(e.query.id)).then((function(e){return a((function(t){t.detail=e}))}))}})],t)}(o.w3),Bf=Nf,Uf=(0,z.Z)(Bf,Mf,[],!1,null,null,null).exports,Wf=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-admin-container",{class:["page-wels-detail","page-review-detail","en-US"===e.$i18n.locale?"page-wels-apply-en":""],attrs:{breadcrumb:e.breadcrumb}},[e.detail&&0===e.detail.status?t("el-detail-page-action-list",{attrs:{status:e.detail.status},on:{"on-edit":function(t){return e.$router.push({path:`/applications/wels/showers_bathing/${e.detail.id}`})},"on-delete":e.onDelete}}
1):e._e(),e._v(" "),e.detail&&-1!=e.detail.status&&-99!=e.detail.status?t("el-review-steps",{attrs:{stage:e.detail.status,hasLabStep:"100001"!==e.detail.laboratories,status:e.detail.record?e.detail.record.type:0}}):e._e(),e._v(" "),e.detail&&e.detail.record&&15==e.detail.record.type&&0==e.detail.status?t("el-apply-rejection",{model:{value:e.detail.record,callback:function(t){e.$set(e.detail,"record",t)},expression:"detail.record"}}):e._e(),e._v(" "),t("div",{staticClass:"container application-detail-content"},[t("el-form",{attrs:{store:e.form,hasLabelSuffix:!0,rules:e.form.rules}},[-99===e.detail.status?t("el-cancel-reason",{model:{value:e.detail,callback:function(t){e.detail=t},expression:"detail"}}):e._e(),e._v(" "),t("el-wels-company-info-detail",{attrs:{value:e.detail}}),e._v(" "),t("el-wels-product-info-detail",{attrs:{value:e.detail,productViewTitle:e.$t("lang.frontAndSideViews"),showCategory:!1}},[t("div",{attrs:{slot:"other-product-info"},slot:"other-product-info"},[t("div",{staticClass:"other-product-info-card"},[t("el-form-item",{staticClass:"label-width-zero bottom-dividing-line"},[t("el-checkbox",{attrs:{"true-label":1,"false-label":0,disabled:""},model:{value:e.detail.agree,callback:function(t){e.$set(e.detail,"agree",t)},expression:"detail.agree"}},[e._v(e._s(e.$t("lang.showerVariationAgreement")))])],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.includeFlowController")}},[e._v("\r\n            "+e._s(1==e.detail.include_flow_controller?e.$t("lang.yes"):e.$t("lang.no"))+"\r\n            ")]),e._v(" "),e.detail.include_flow_controller?[t("p",{staticClass:"header"},[e._v(e._s(e.$t("lang.flowControllerProductInfo")))]),e._v(" "),t("div",{staticClass:"body-view"},[t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.formHeader.brand")}},[[e._v(e._s(e.detail.pan_product_brand))]],2),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.modelNo")}},[[e._v(e._s(e.detail.pan_product_model))]],2)],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.nameIfAny")}},[[e._v(e._s(e.detail.pan_product_name))]],2),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.countryRegionOfOrigin")}},[[e._v(e._s(e.detail.pan_product_region))]],2)],1)],1),e._v(" "),t("el-form-item",{staticClass:"label-width-zero margin-bottom-0"},[t("el-checkbox",{attrs:{"true-label":1,"false-label":0,disabled:""},model:{value:e.detail.agreement,callback:function(t){e.$set(e.detail,"agreement",t)},expression:"detail.agreement"}},[e._v(e._s(e.$t("lang.installationAgreementShower")))])],1)]:e._e()],2)])]),e._v(" "),t("el-wels-support-doc-detail",{model:{value:e.detail,callback:function(t){e.detail=t},expression:"detail"}},[t("el-column-row",[t("el-form-item",{staticClass:"label-width-zero",attrs:{label:e.$t("lang.docProofDesign"),"label-width":"0",percent:.8}},[t("el-document-list",{attrs:{value:e.detail.production_system_doc}})],1)],1)],1),e._v(" "),e.detail.id?t("el-review-message",{attrs:{applicationId:e.detail.id,stage:e.detail.status}},[t("el-form-item",{attrs:{prop:"upload_other_info","label-width":"0"}},[t("el-checkbox",{attrs:{"true-label":1,"false-label":0,disabled:!0},model:{value:e.detail.upload_other_info,callback:function(t){e.$set(e.detail,"upload_other_info",t)},expression:"detail.upload_other_info"}},[e._v(e._s(e.$t("lang.uploadOtherInfo")))])],1),e._v(" "),e.detail.upload_other_info?[t("el-form-item",{attrs:{prop:"upload_other_info_msg","label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none",readonly:!0},model:{value:e.detail.upload_other_info_msg,callback:function(t){e.$set(e.detail,"upload_other_info_msg",t)},expression:"detail.upload_other_info_msg"}})],1),e._v(" "),t("el-form-item",{staticClass:"d-flex flex-column",attrs:{prop:"upload_other_info_doc","label-width":"0"}},[t("el-document-list",{attrs:{value:e.detail.upload_other_info_doc}})],1)]:e._e()],2):e._e()],1)],1)],1)};Wf._withStripped=!0;var Hf=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),Gf=x(),Vf=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.breadcrumb=[{path:"",title:t.$t("lang.eApplication")},{path:"/applications/wels",title:"WELS(".concat(t.$t("lang.showersForBathing"),")")},{path:"",title:t.$t("lang.breadcrumb.detail")}],t.baseUrl="/api/afs/wsd",t.detail={},t.companyType="en-US"===t.$i18n.locale?xn:"zh-CN"===t.$i18n.locale?Sn:En,t.form=new K({default:{documentList:[{name:"Document1.pdf",extension:"pdf"},{name:"Document2.pdf",extension:"pdf"}],stage:0,rejectionContent:"1、GA application is missing photos\n2、GA application is missing photos\n3、GA application is missing photos"}}),t}return Hf(t,e),t.prototype.onChange=function(e){this.companyType="en-US"===this.$i18n.locale?xn:"zh-CN"===this.$i18n.locale?Sn:En},t.prototype.onDelete=function(){var e=this;Gf.delete("/public/wels/applications",{data:[this.detail.id]}).then((function(){e.$router.back()}))},function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r}([(0,o.wA)({components:{ElAdminContainer:Da,ElForm:ae,ElFormItem:pt,ElColumnRow:ke,ElButton:Ge,ElCard:fe(),ElInput:Ze(),ElSelectTag:ds,ElTable:go,ElTableColumn:Uo(),ElDocumentUpload:Eo,ElDetailPageActionList:vm,ElDocumentList:Fo,ElLink:ge(),ElReviewSteps:Em,ElReviewMessage:lc,ElApplyRejection:No,ElWelsCompanyInfoDetail:nf,ElWelsProductInfoDetail:mf,ElWelsSupportDocDetail:wf,ElCancelReason:Rm},beforeRouteEnter:function(e,t,a){Gf.get("/public/wels/applications/".concat(e.query.id)).then((function(e){return a((function(t){t.detail=e}))}))}})],t)}(o.w3),Zf=Vf,Qf=(0,z.Z)(Zf,Wf,[],!1,null,null,null).exports,Kf=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-admin-container",{class:["page-wels-detail","page-review-detail","en-US"===e.$i18n.locale?"page-wels-apply-en":""],attrs:{breadcrumb:e.breadcrumb}},[e.detail&&0===e.detail.status?t("el-detail-page-action-list",{attrs:{status:e.detail.status},on:{"on-edit":function(t){return e.$router.push({path:`/applications/wels/flow_controllers/${e.detail.id}`})},"on-delete":e.onDelete}}
1):e._e(),e._v(" "),e.detail&&-1!=e.detail.status&&-99!=e.detail.status?t("el-review-steps",{attrs:{stage:e.detail.status,hasLabStep:"100001"!==e.detail.laboratories,status:e.detail.record?e.detail.record.type:0}}):e._e(),e._v(" "),e.detail&&e.detail.record&&15==e.detail.record.type&&0==e.detail.status?t("el-apply-rejection",{model:{value:e.detail.record,callback:function(t){e.$set(e.detail,"record",t)},expression:"detail.record"}}):e._e(),e._v(" "),t("div",{staticClass:"container application-detail-content"},[t("el-form",{attrs:{hasLabelSuffix:!0}},[-99===e.detail.status?t("el-cancel-reason",{model:{value:e.detail,callback:function(t){e.detail=t},expression:"detail"}}):e._e(),e._v(" "),t("el-wels-company-info-detail",{attrs:{value:e.detail}}),e._v(" "),t("el-wels-product-info-detail",{attrs:{value:e.detail,productViewTitle:e.$t("lang.frontBottomViews")}},[t("div",{attrs:{slot:"other-product-info"},slot:"other-product-info"},[t("div",{staticClass:"other-product-info-card"},[t("el-form-item",{staticClass:"label-width-zero bottom-dividing-line"},[t("el-checkbox",{attrs:{"true-label":1,"false-label":0,disabled:""},model:{value:e.detail.agree,callback:function(t){e.$set(e.detail,"agree",t)},expression:"detail.agree"}},[e._v(e._s(e.$t("lang.flowVariationAgreement")))])],1)],1)])]),e._v(" "),t("el-wels-support-doc-detail",{model:{value:e.detail,callback:function(t){e.detail=t},expression:"detail"}},[t("el-column-row",[t("el-form-item",{staticClass:"label-width-zero",attrs:{label:`${e.$t("lang.docProofOfGAIssued")}`,"label-width":"0",percent:.8}},[t("el-document-list",{attrs:{value:e.detail.ga_issued_doc}})],1)],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-zero",attrs:{label:e.$t("lang.docProofDesign"),"label-width":"0",percent:.8}},[t("el-document-list",{attrs:{value:e.detail.production_system_doc}})],1)],1)],1),e._v(" "),e.detail.id?t("el-review-message",{attrs:{applicationId:e.detail.id,stage:e.detail.status}},[t("el-form-item",{attrs:{prop:"upload_other_info","label-width":"0"}},[t("el-checkbox",{attrs:{"true-label":1,"false-label":0,disabled:!0},model:{value:e.detail.upload_other_info,callback:function(t){e.$set(e.detail,"upload_other_info",t)},expression:"detail.upload_other_info"}},[e._v(e._s(e.$t("lang.uploadOtherInfo")))])],1),e._v(" "),e.detail.upload_other_info?[t("el-form-item",{attrs:{prop:"upload_other_info_msg","label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none",readonly:!0},model:{value:e.detail.upload_other_info_msg,callback:function(t){e.$set(e.detail,"upload_other_info_msg",t)},expression:"detail.upload_other_info_msg"}})],1),e._v(" "),t("el-form-item",{staticClass:"d-flex flex-column",attrs:{prop:"upload_other_info_doc","label-width":"0"}},[t("el-document-list",{attrs:{value:e.detail.upload_other_info_doc}})],1)]:e._e()],2):e._e()],1)],1)],1)};Kf._withStripped=!0;var Yf=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),Jf=x(),Xf=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.breadcrumb=[{path:"",title:t.$t("lang.eApplication")},{path:"/applications/wels",title:"WELS(".concat(t.$t("lang.flowControllers"),")")},{path:"",title:t.$t("lang.breadcrumb.detail")}],t.baseUrl="/api/afs/wsd",t.form=new K({default:{documentList:[{name:"Document1.pdf",extension:"pdf"},{name:"Document2.pdf",extension:"pdf"}],stage:0,rejectionContent:"1、GA application is missing photos\n2、GA application is missing photos\n3、GA application is missing photos"}}),t.detail={},t.companyType="en-US"===t.$i18n.locale?xn:"zh-CN"===t.$i18n.locale?Sn:En,t.controllersCategory="en-US"===t.$i18n.locale?yn:"zh-CN"===t.$i18n.locale?Cn:$n,t}return Yf(t,e),t.prototype.onChange=function(e){this.companyType="en-US"===this.$i18n.locale?xn:"zh-CN"===this.$i18n.locale?Sn:En,this.controllersCategory="en-US"===this.$i18n.locale?yn:"zh-CN"===this.$i18n.locale?Cn:$n},t.prototype.onDelete=function(){var e=this;Jf.delete("/public/qws/applications",{data:[this.detail.id]}).then((function(){e.$router.back()}))},function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r}([(0,o.wA)({components:{ElAdminContainer:Da,ElForm:ae,ElFormItem:pt,ElColumnRow:ke,ElButton:Ge,ElCard:fe(),ElInput:Ze(),ElSelectTag:ds,ElTable:go,ElTableColumn:Uo(),ElDocumentUpload:Eo,ElDetailPageActionList:vm,ElDocumentList:Fo,ElLink:ge(),ElReviewSteps:Em,ElReviewMessage:lc,ElApplyRejection:No,ElWelsCompanyInfoDetail:nf,ElWelsProductInfoDetail:mf,ElWelsSupportDocDetail:wf,ElCancelReason:Rm},beforeRouteEnter:function(e,t,a){Jf.get("/public/wels/applications/".concat(e.query.id)).then((function(e){return a((function(t){t.detail=e}))}))}})],t)}(o.w3),e_=Xf,t_=(0,z.Z)(e_,Kf,[],!1,null,null,null).exports,a_=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-admin-container",{class:["page-wels-detail","page-review-detail","en-US"===e.$i18n.locale?"page-wels-apply-en":""],attrs:{breadcrumb:e.breadcrumb}},[e.detail&&0===e.detail.status?t("el-detail-page-action-list",{attrs:{status:e.detail.status},on:{"on-edit":function(t){return e.$router.push(`/applications/wels/renew/${e.$route.params.type}/${e.detail.id}`)},"on-delete":e.onDelete}}
1):e._e(),e._v(" "),e.detail&&e.detail.status&&-1!=e.detail.status&&-99!=e.detail.status?t("el-review-steps",{attrs:{stage:e.detail.status,hasLabStep:!0,status:e.detail.record?e.detail.record.type:0}}):e._e(),e._v(" "),e.detail&&e.detail.record&&15==e.detail.record.type&&0==e.detail.status?t("el-apply-rejection",{model:{value:e.detail.record,callback:function(t){e.$set(e.detail,"record",t)},expression:"detail.record"}}):e._e(),e._v(" "),t("div",{staticClass:"container application-detail-content"},[t("el-form",{attrs:{store:e.form,hasLabelSuffix:!0,rules:e.form.rules}},[-99===e.detail.status?t("el-cancel-reason",{model:{value:e.detail,callback:function(t){e.detail=t},expression:"detail"}}):e._e(),e._v(" "),t("el-card",{staticClass:"general-description-card review-detail-card",attrs:{shadow:"never"}},[t("p",{staticClass:"detail-header",attrs:{slot:"header"},slot:"header"},[e._v(e._s(e.$t("lang.productInformation")))]),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.welsRegistrationNo"),percent:.4}},[e._v("\r\n            "+e._s(e.detail.approval_no)+"\r\n          ")])],1),e._v(" "),"wels_water_closets"!==e.detail.approval_scheme&&"wels_urinal_equipment"!==e.detail.approval_scheme?[t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.formHeader.brand")}},[e._v("\r\n             "+e._s(e.detail.product_brand)+"\r\n            ")]),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.modelNo")}},[e._v("\r\n              "+e._s(e.detail.product_model)+"\r\n            ")])],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.nameIfAny")}},[e._v("\r\n              "+e._s(e.detail.product_name)+"\r\n            ")]),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.countryRegionOfOrigin")}},[e._v("\r\n              "+e._s(e.detail.product_region)+"\r\n            ")])],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.manufacturer")}},[e._v("\r\n            "+e._s(e.detail.product_manufacturer)+"\r\n          ")])]:e._e(),e._v(" "),"wels_water_closets"===e.detail.approval_scheme?[t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.typesOfWaterCloset"),percent:.4,prop:"types_of_water_closet"}},[e._v("\r\n            "+e._s(e._f("options")(e.detail.types_of_water_closet,e.typesOfWaterCloset))+"\r\n          ")]),e._v(" "),"one_price_pan"===e.detail.types_of_water_closet?[t("div",{staticClass:"other-product-info-card"},[t("p",{staticClass:"header"},[e._v(e._s(e.$t("lang.wcSuiteProductInfo")))]),e._v(" "),t("div",{staticClass:"body-view"},[t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.formHeader.brand")}},[[e._v(e._s(e.detail.product_brand))]],2),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.modelNo")}},[[e._v(e._s(e.detail.product_model))]],2)],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.nameIfAny")}},[[e._v(e._s(e.detail.product_name))]],2),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.countryRegionOfOrigin")}},[[e._v(e._s(e.detail.product_region))]],2)],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.manufacturer")}},[e._v("\r\n                  "+e._s(e.detail.product_manufacturer)+"\r\n                ")])],1)])]:e._e(),e._v(" "),"close_coupled_suite"===e.detail.types_of_water_closet?[t("div",{staticClass:"other-product-info-card"},[t("p",{staticClass:"header"},[e._v(e._s(e.$t("lang.panProductInfo")))]),e._v(" "),t("div",{staticClass:"body-view"},[t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.formHeader.brand")}},[[e._v(e._s(e.detail.pan_product_brand))]],2),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.modelNo")}},[[e._v(e._s(e.detail.pan_product_model))]],2)],1),e._v(" "),t("el-column-row",[e._v(".\r\n                  "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.nameIfAny")}},[[e._v(e._s(e.detail.pan_product_name))]],2),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.countryRegionOfOrigin")}},[[e._v(e._s(e.detail.pan_product_region))]],2)],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.manufacturer")}},[e._v("\r\n                  "+e._s(e.detail.pan_product_manufacturer)+"\r\n                ")])],1)])]:e._e(),e._v(" "),"cistern"===e.detail.types_of_water_closet||"close_coupled_suite"===e.detail.types_of_water_closet?[t("div",{staticClass:"other-product-info-card"},[t("p",{staticClass:"header"},[e._v(e._s(e.$t("lang.cisternProductInfo")))]),e._v(" "),t("div",{staticClass:"body-view"},[t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.formHeader.brand")}},[[e._v(e._s(e.detail.cistern_product_brand))]],2),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.modelNo")}},[[e._v(e._s(e.detail.cistern_product_model))]],2)],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.nameIfAny")}},[[e._v(e._s(e.detail.cistern_product_name))]],2),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.countryRegionOfOrigin")}},[[e._v(e._s(e.detail.cistern_product_region))]],2)],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.manufacturer")}},[e._v("\r\n                  "+e._s(e.detail.cistern_product_manufacturer)+"\r\n                ")])],1)])]:e._e(),e._v(" "),"one_price_pan"==e.detail.types_of_water_closet||"cistern"==e.detail.types_of_water_closet||"close_coupled_suite"==e.detail.types_of_water_closet?[t("div",{staticClass:"other-product-info-card"},[t("p",{staticClass:"header"},[e._v(e._s(e.$t("lang.valveProductInfo")))]),e._v(" "),t("div",{staticClass:"body-view"},[t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.formHeader.brand")}},[[e._v(e._s(e.detail.valve_product_brand))]],2),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.modelNo")}},[[e._v(e._s(e.detail.valve_product_model))]],2)],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.nameIfAny")}},[[e._v(e._s(e.detail.valve_product_name))]],2),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.countryRegionOfOrigin")}},[[e._v(e._s(e.detail.valve_product_region))]],2)],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.manufacturer")}},[e._v("\r\n                  "+e._s(e.detail.valve_product_manufacturer)+"\r\n                ")])],1)])]:e._e(),e._v(" "),"pan"===e.detail.types_of_water_closet?[t("div",{staticClass:"other-product-info-card"},[t("div",{staticClass:"body-view"},[t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.formHeader.brand")}},[[e._v(e._s(e.detail.pan_product_brand))]],2),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.modelNo")}},[[e._v(e._s(e.detail.pan_product_model))]],2)],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.nameIfAny")}},[[e._v(e._s(e.detail.pan_product_name))]],2),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.countryRegionOfOrigin")}},[[e._v(e._s(e.detail.pan_product_region))]],2)],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.manufacturer")}},[e._v("\r\n                  "+e._s(e.detail.pan_product_manufacturer)+"\r\n                ")])],1)])]:e._e()]:e._e(),e._v(" "),"wels_urinal_equipment"===e.detail.approval_scheme?[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.descOfUrinalEquipment"),percent:.4,prop:"description_of_urinal_equipment"}},[e._v("\r\n            "+e._s(e._f("options")(e.detail.description_of_urinal_equipment,e.typesOfDesOfUrinalEq))+"\r\n          ")]),e._v(" "),"trap"===e.detail.description_of_urinal_equipment||"flushing_valve"===e.detail.description_of_urinal_equipment?t("div",[t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.formHeader.brand")}},[[e._v(e._s(e.detail.product_brand))]],2),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.modelNo")}},[[e._v(e._s(e.detail.product_model))]],2)],1),e._v(" "),t("el-column-row",{staticClass:"margin-bottom-15"},[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.nameIfAny")}},[[e._v(e._s(e.detail.product_name))]],2),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.countryRegionOfOrigin")}},[[e._v(e._s(e.detail.product_region))]],2)],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.manufacturer")}},[e._v("\r\n              "+e._s(e.detail.product_manufacturer)+"\r\n            ")])],1):e._e(
1),e._v(" "),"trap_coupled"===e.detail.description_of_urinal_equipment||"suites"===e.detail.description_of_urinal_equipment?[t("div",{staticClass:"other-product-info-card"},[t("p",{staticClass:"header"},[e._v(e._s(e.$t("lang.urinalProductInfo")))]),e._v(" "),t("div",{staticClass:"body-view"},[t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.formHeader.brand")}},[[e._v(e._s(e.detail.product_brand))]],2),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.modelNo")}},[[e._v(e._s(e.detail.product_model))]],2)],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.nameIfAny")}},[[e._v(e._s(e.detail.product_name))]],2),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.countryRegionOfOrigin")}},[[e._v(e._s(e.detail.product_region))]],2)],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.manufacturer")}},[e._v("\r\n                  "+e._s(e.detail.product_manufacturer)+"\r\n                ")])],1)]),e._v(" "),t("div",{staticClass:"other-product-info-card"},[t("p",{staticClass:"header"},[e._v(e._s(e.$t("lang.valveProductInfo")))]),e._v(" "),t("div",{staticClass:"body-view"},[t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.formHeader.brand")}},[[e._v(e._s(e.detail.valve_product_brand))]],2),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.modelNo")}},[[e._v(e._s(e.detail.valve_product_model))]],2)],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.nameIfAny")}},[[e._v(e._s(e.detail.valve_product_name))]],2),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.countryRegionOfOrigin")}},[[e._v(e._s(e.detail.valve_product_region))]],2)],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.manufacturer")}},[e._v("\r\n                  "+e._s(e.detail.valve_product_manufacturer)+"\r\n                ")])],1)])]:e._e()]:e._e(),e._v(" "),"wels_water_taps"===e.detail.approval_scheme?t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.includeFlowController")}},[e._v("\r\n          "+e._s(1==e.detail.include_flow_controller?e.$t("lang.yes"):e.$t("lang.no"))+"\r\n        ")]):e._e(),e._v(" "),e.detail.include_flow_controller?[t("div",{staticClass:"other-product-info-card"},[t("p",{staticClass:"header"},[e._v(e._s(e.$t("lang.flowControllerProductInfo")))]),e._v(" "),t("div",{staticClass:"body-view"},[t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.formHeader.brand")}},[[e._v(e._s(e.detail.pan_product_brand))]],2),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.modelNo")}},[[e._v(e._s(e.detail.pan_product_model))]],2)],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.nameIfAny")}},[[e._v(e._s(e.detail.pan_product_name))]],2),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.countryRegionOfOrigin")}},[[e._v(e._s(e.detail.pan_product_region))]],2)],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{percent:.4,label:e.$t("lang.manufacturer")}},[e._v("\r\n                "+e._s(e.detail.pan_product_manufacturer)+"\r\n              ")])],1)])]:e._e(),e._v(" "),"wels_water_taps"===e.detail.approval_scheme?t("el-form-item",{staticClass:"label-width-zero",attrs:{label:e.$t("lang.docProofOfApproval"),"label-width":"0",percent:.8}},[t("el-document-list",{attrs:{value:e.detail.issued_doc}}
1)],1):e._e(),e._v(" "),e.detail.include_flow_controller||"wels_flow_controllers"===e.detail.approval_scheme?t("el-form-item",{staticClass:"label-width-zero",attrs:{label:e.$t("lang.docProofForFlowController"),"label-width":"0",percent:.8}},[t("el-document-list",{attrs:{value:e.detail.ga_issued_doc}})],1):e._e(),e._v(" "),"wels_water_closets"===e.detail.approval_scheme&&"pan"!==e.detail.types_of_water_closet||"wels_urinal_equipment"===e.form.model.approval_scheme&&e.form.model.description_of_urinal_equipment&&"trap"!==e.form.model.description_of_urinal_equipment?t("el-form-item",{staticClass:"label-width-zero",attrs:{label:e.$t("lang.docuProofOfFlushValveAuthority"),"label-width":"0",percent:.8}},[t("el-document-list",{attrs:{value:e.detail.ga_issued_doc}})],1):e._e()],2),e._v(" "),e.detail.id?t("el-review-message",{attrs:{applicationId:e.detail.id,stage:e.detail.status}},[t("el-form-item",{attrs:{prop:"upload_other_info","label-width":"0"}},[t("el-checkbox",{attrs:{"true-label":1,"false-label":0,disabled:!0},model:{value:e.detail.upload_other_info,callback:function(t){e.$set(e.detail,"upload_other_info",t)},expression:"detail.upload_other_info"}},[e._v(e._s(e.$t("lang.uploadOtherInfo")))])],1),e._v(" "),e.detail.upload_other_info?[t("el-form-item",{attrs:{prop:"upload_other_info_msg","label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none",readonly:!0},model:{value:e.detail.upload_other_info_msg,callback:function(t){e.$set(e.detail,"upload_other_info_msg",t)},expression:"detail.upload_other_info_msg"}})],1),e._v(" "),t("el-form-item",{staticClass:"d-flex flex-column",attrs:{prop:"upload_other_info_doc","label-width":"0"}},[t("el-document-list",{attrs:{value:e.detail.upload_other_info_doc}})],1)]:e._e()],2):e._e()],1)],1)],1)};a_._withStripped=!0;var o_=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),l_=x(),n_=function(e){function t(){var t,a=this;return(a=e.apply(this,arguments)||this).type={wels_flow_controllers:a.$t("lang.flowControllers"),wels_water_closets:a.$t("lang.waterClosets"),wels_water_taps:a.$t("lang.waterTaps"),wels_showers_athingp:a.$t("lang.showersForBathing"),wels_urinal_equipment:a.$t("lang.urinalEquipment"),wels_washing_machines:a.$t("lang.washingMachines")},a.breadcrumb=[{path:"",title:a.$t("lang.eApplication")},{path:"/applications/wels",title:"WELS(".concat(a.type[null===(t=a.$route.params)||void 0===t?void 0:t.type],")")},{path:"",title:a.$t("lang.breadcrumb.detail")}],a.baseUrl="/api/afs/wsd",a.detail={},a.companyType="en-US"===a.$i18n.locale?xn:"zh-CN"===a.$i18n.locale?Sn:En,a.machinesCategory="en-US"===a.$i18n.locale?_n:"zh-CN"===a.$i18n.locale?hn:gn,a.typesOfWaterCloset="en-US"===a.$i18n.locale?Pn:"zh-CN"===a.$i18n.locale?Tn:Dn,a.typesOfDesOfUrinalEq="en-US"===a.$i18n.locale?Rn:"zh-CN"===a.$i18n.locale?Fn:In,a.form=new K({default:{documentList:[{name:"Document1.pdf",extension:"pdf"},{name:"Document2.pdf",extension:"pdf"}],stage:0,rejectionContent:"1、GA application is missing photos\n2、GA application is missing photos\n3、GA application is missing photos"}}),a}return o_(t,e),t.prototype.onDelete=function(){var e=this;l_.delete("/public/wels/applications",{data:[this.detail.id]}).then((function(){e.$router.back()}))},function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r}([(0,o.wA)({components:{ElAdminContainer:Da,ElForm:ae,ElFormItem:pt,ElColumnRow:ke,ElButton:Ge,ElCard:fe(),ElInput:Ze(),ElSelectTag:ds,ElTable:go,ElTableColumn:Uo(),ElDocumentUpload:Eo,ElDetailPageActionList:vm,ElDocumentList:Fo,ElLink:ge(),ElReviewSteps:Em,ElReviewMessage:lc,ElApplyRejection:No,ElWelsCompanyInfoDetail:nf,ElWelsProductInfoDetail:mf,ElWelsSupportDocDetail:wf,ElCancelReason:Rm},beforeRouteEnter:function(e,t,a){l_.get("/public/wels/applications/".concat(e.params.id)).then((function(e){return a((function(t){t.detail=e}))}))}})],t)}(o.w3),r_=n_,i_=(0,z.Z)(r_,a_,[],!1,null,null,null).exports,s_=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-admin-container",{class:["page-wels-apply","page-wels-bathing-apply","page-review-application","en-US"===e.$i18n.locale?"page-wels-bathing-apply-en":""],attrs:{breadcrumb:e.breadcrumb,showMenusPart:!0}},[t("div",{staticClass:"container entry-application-content"},[t("el-form",{attrs:{store:e.form,hasLabelSuffix:!1,rules:e.form.rules},nativeOn:{submit:function(e){e.preventDefault()}}},[t("el-card",{staticClass:"entry-application-item-card product-info-card",attrs:{shadow:"never"}},[t("p",{staticClass:"application-item-card-title",attrs:{slot:"header"},slot:"header"},[e._v("\r\n          "+e._s(e.$t("lang.productInformation"))+"\r\n        ")]),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto",attrs:{percent:.4,label:e.$t("lang.welsRegistrationNo"),prop:"approval_no"}},[t("el-input",{attrs:{placeholder:e.$t("lang.welsRegistrationNo"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.approval_no,callback:function(t){e.$set(e.form.model,"approval_no",t)},expression:"form.model.approval_no"}})],1)],1),e._v(" "),"wels_water_closets"!==e.form.model.approval_scheme&&"wels_urinal_equipment"!==e.form.model.approval_scheme?[t("el-column-row",[t("el-form-item",{attrs:{percent:.4,label:e.$t("lang.formHeader.brand")}},[t("el-input",{attrs:{placeholder:e.$t("lang.formHeader.brand"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.product_brand,callback:function(t){e.$set(e.form.model,"product_brand",t)},expression:"form.model.product_brand"}})],1),e._v(" "),t("el-form-item",{attrs:{percent:.4,label:e.$t("lang.modelNo")}},[t("el-input",{attrs:{placeholder:e.$t("lang.modelNo"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.product_model,callback:function(t){e.$set(e.form.model,"product_model",t)},expression:"form.model.product_model"}}
1)],1)],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto",attrs:{percent:.4,label:e.$t("lang.nameIfAny")}},[t("el-input",{attrs:{placeholder:e.$t("lang.nameIfAny"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.product_name,callback:function(t){e.$set(e.form.model,"product_name",t)},expression:"form.model.product_name"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{percent:.4,label:e.$t("lang.countryRegionOfOrigin")}},[t("el-input",{attrs:{placeholder:e.$t("lang.countryRegionOfOrigin"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.product_region,callback:function(t){e.$set(e.form.model,"product_region",t)},expression:"form.model.product_region"}})],1)],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{percent:.4,label:e.$t("lang.manufacturer")}},[t("el-input",{attrs:{placeholder:e.$t("lang.manufacturer"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.product_manufacturer,callback:function(t){e.$set(e.form.model,"product_manufacturer",t)},expression:"form.model.product_manufacturer"}})],1)]:e._e(),e._v(" "),"wels_water_closets"===e.form.model.approval_scheme?[t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.typesOfWaterCloset"),percent:.4,prop:"types_of_water_closet"}},[t("el-select",{attrs:{loader:e.typesOfWaterCloset,clearable:!0,disabled:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.types_of_water_closet,callback:function(t){e.$set(e.form.model,"types_of_water_closet",t)},expression:"form.model.types_of_water_closet"}})],1),e._v(" "),"one_price_pan"===e.form.model.types_of_water_closet?[t("div",{staticClass:"other-product-info-card"},[t("p",{staticClass:"header"},[e._v(e._s(e.$t("lang.wcSuiteProductInfo")))]),e._v(" "),t("div",{staticClass:"body-view"},[t("el-column-row",[t("el-form-item",{attrs:{percent:.4,label:e.$t("lang.formHeader.brand")}},[t("el-input",{attrs:{placeholder:e.$t("lang.formHeader.brand"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.product_brand,callback:function(t){e.$set(e.form.model,"product_brand",t)},expression:"form.model.product_brand"}})],1),e._v(" "),t("el-form-item",{attrs:{percent:.4,label:e.$t("lang.modelNo")}},[t("el-input",{attrs:{placeholder:e.$t("lang.modelNo"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.product_model,callback:function(t){e.$set(e.form.model,"product_model",t)},expression:"form.model.product_model"}})],1)],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto",attrs:{percent:.4,label:e.$t("lang.nameIfAny")}},[t("el-input",{attrs:{placeholder:e.$t("lang.nameIfAny"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.product_name,callback:function(t){e.$set(e.form.model,"product_name",t)},expression:"form.model.product_name"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{percent:.4,label:e.$t("lang.countryRegionOfOrigin")}},[t("el-input",{attrs:{placeholder:e.$t("lang.countryRegionOfOrigin"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.product_region,callback:function(t){e.$set(e.form.model,"product_region",t)},expression:"form.model.product_region"}})],1)],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{percent:.4,label:e.$t("lang.manufacturer")}},[t("el-input",{attrs:{placeholder:e.$t("lang.manufacturer"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.product_manufacturer,callback:function(t){e.$set(e.form.model,"product_manufacturer",t)},expression:"form.model.product_manufacturer"}})],1)],1)])]:e._e(),e._v(" "),"close_coupled_suite"===e.form.model.types_of_water_closet?[t("div",{staticClass:"other-product-info-card"},[t("p",{staticClass:"header"},[e._v(e._s(e.$t("lang.panProductInfo")))]),e._v(" "),t("div",{staticClass:"body-view"},[t("el-column-row",[t("el-form-item",{attrs:{percent:.4,label:e.$t("lang.formHeader.brand")}},[t("el-input",{attrs:{placeholder:e.$t("lang.formHeader.brand"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.pan_product_brand,callback:function(t){e.$set(e.form.model,"pan_product_brand",t)},expression:"form.model.pan_product_brand"}})],1),e._v(" "),t("el-form-item",{attrs:{percent:.4,label:e.$t("lang.modelNo")}},[t("el-input",{attrs:{placeholder:e.$t("lang.modelNo"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.pan_product_model,callback:function(t){e.$set(e.form.model,"pan_product_model",t)},expression:"form.model.pan_product_model"}}
1)],1)],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto",attrs:{percent:.4,label:e.$t("lang.nameIfAny")}},[t("el-input",{attrs:{placeholder:e.$t("lang.nameIfAny"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.pan_product_name,callback:function(t){e.$set(e.form.model,"pan_product_name",t)},expression:"form.model.pan_product_name"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{percent:.4,label:e.$t("lang.countryRegionOfOrigin")}},[t("el-input",{attrs:{placeholder:e.$t("lang.countryRegionOfOrigin"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.pan_product_region,callback:function(t){e.$set(e.form.model,"pan_product_region",t)},expression:"form.model.pan_product_region"}})],1)],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{percent:.4,label:e.$t("lang.manufacturer")}},[t("el-input",{attrs:{placeholder:e.$t("lang.manufacturer"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.pan_product_manufacturer,callback:function(t){e.$set(e.form.model,"pan_product_manufacturer",t)},expression:"form.model.pan_product_manufacturer"}})],1)],1)])]:e._e(),e._v(" "),"cistern"===e.form.model.types_of_water_closet||"close_coupled_suite"===e.form.model.types_of_water_closet?[t("div",{staticClass:"other-product-info-card"},[t("p",{staticClass:"header"},[e._v(e._s(e.$t("lang.cisternProductInfo")))]),e._v(" "),t("div",{staticClass:"body-view"},[t("el-column-row",[t("el-form-item",{attrs:{percent:.4,label:e.$t("lang.formHeader.brand")}},[t("el-input",{attrs:{placeholder:e.$t("lang.formHeader.brand"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.cistern_product_brand,callback:function(t){e.$set(e.form.model,"cistern_product_brand",t)},expression:"form.model.cistern_product_brand"}})],1),e._v(" "),t("el-form-item",{attrs:{percent:.4,label:e.$t("lang.modelNo")}},[t("el-input",{attrs:{placeholder:e.$t("lang.modelNo"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.cistern_product_model,callback:function(t){e.$set(e.form.model,"cistern_product_model",t)},expression:"form.model.cistern_product_model"}})],1)],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto",attrs:{percent:.4,label:e.$t("lang.nameIfAny")}},[t("el-input",{attrs:{placeholder:e.$t("lang.nameIfAny"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.cistern_product_name,callback:function(t){e.$set(e.form.model,"cistern_product_name",t)},expression:"form.model.cistern_product_name"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{percent:.4,label:e.$t("lang.countryRegionOfOrigin")}},[t("el-input",{attrs:{placeholder:e.$t("lang.countryRegionOfOrigin"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.cistern_product_region,callback:function(t){e.$set(e.form.model,"cistern_product_region",t)},expression:"form.model.cistern_product_region"}})],1)],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{percent:.4,label:e.$t("lang.manufacturer")}},[t("el-input",{attrs:{placeholder:e.$t("lang.manufacturer"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.cistern_product_manufacturer,callback:function(t){e.$set(e.form.model,"cistern_product_manufacturer",t)},expression:"form.model.cistern_product_manufacturer"}})],1)],1)])]:e._e(),e._v(" "),"one_price_pan"==e.form.model.types_of_water_closet||"cistern"==e.form.model.types_of_water_closet||"close_coupled_suite"==e.form.model.types_of_water_closet?[t("div",{staticClass:"other-product-info-card"},[t("p",{staticClass:"header"},[e._v(e._s(e.$t("lang.valveProductInfo")))]),e._v(" "),t("div",{staticClass:"body-view"},[t("el-column-row",[t("el-form-item",{attrs:{percent:.4,label:e.$t("lang.formHeader.brand"),prop:"valve_product_brand"}},[t("el-input",{attrs:{placeholder:e.$t("lang.formHeader.brand"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.valve_product_brand,callback:function(t){e.$set(e.form.model,"valve_product_brand",t)},expression:"form.model.valve_product_brand"}})],1),e._v(" "),t("el-form-item",{attrs:{percent:.4,label:e.$t("lang.modelNo"),prop:"valve_product_model"}}
1,[t("el-input",{attrs:{placeholder:e.$t("lang.modelNo"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.valve_product_model,callback:function(t){e.$set(e.form.model,"valve_product_model",t)},expression:"form.model.valve_product_model"}})],1)],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto",attrs:{percent:.4,label:e.$t("lang.nameIfAny"),prop:"valve_product_name"}},[t("el-input",{attrs:{placeholder:e.$t("lang.nameIfAny"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.valve_product_name,callback:function(t){e.$set(e.form.model,"valve_product_name",t)},expression:"form.model.valve_product_name"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{percent:.4,label:e.$t("lang.countryRegionOfOrigin"),prop:"valve_product_region"}},[t("el-input",{attrs:{placeholder:e.$t("lang.countryRegionOfOrigin"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.valve_product_region,callback:function(t){e.$set(e.form.model,"valve_product_region",t)},expression:"form.model.valve_product_region"}})],1)],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{percent:.4,label:e.$t("lang.manufacturer")}},[t("el-input",{attrs:{placeholder:e.$t("lang.manufacturer"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.valve_product_manufacturer,callback:function(t){e.$set(e.form.model,"valve_product_manufacturer",t)},expression:"form.model.valve_product_manufacturer"}})],1)],1)])]:e._e(),e._v(" "),"pan"===e.form.model.types_of_water_closet?[t("div",{staticClass:"other-product-info-card"},[t("div",{staticClass:"body-view"},[t("el-column-row",[t("el-form-item",{attrs:{percent:.4,label:e.$t("lang.formHeader.brand")}},[t("el-input",{attrs:{placeholder:e.$t("lang.formHeader.brand"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.pan_product_brand,callback:function(t){e.$set(e.form.model,"pan_product_brand",t)},expression:"form.model.pan_product_brand"}})],1),e._v(" "),t("el-form-item",{attrs:{percent:.4,label:e.$t("lang.modelNo")}},[t("el-input",{attrs:{placeholder:e.$t("lang.modelNo"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.pan_product_model,callback:function(t){e.$set(e.form.model,"pan_product_model",t)},expression:"form.model.pan_product_model"}})],1)],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto",attrs:{percent:.4,label:e.$t("lang.nameIfAny")}},[t("el-input",{attrs:{placeholder:e.$t("lang.nameIfAny"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.pan_product_name,callback:function(t){e.$set(e.form.model,"pan_product_name",t)},expression:"form.model.pan_product_name"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{percent:.4,label:e.$t("lang.countryRegionOfOrigin")}},[t("el-input",{attrs:{placeholder:e.$t("lang.countryRegionOfOrigin"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.pan_product_region,callback:function(t){e.$set(e.form.model,"pan_product_region",t)},expression:"form.model.pan_product_region"}})],1)],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{percent:.4,label:e.$t("lang.manufacturer")}},[t("el-input",{attrs:{placeholder:e.$t("lang.manufacturer"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.pan_product_manufacturer,callback:function(t){e.$set(e.form.model,"pan_product_manufacturer",t)},expression:"form.model.pan_product_manufacturer"}})],1)],1)])]:e._e()]:e._e(),e._v(" "),"wels_urinal_equipment"===e.form.model.approval_scheme?[t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.descOfUrinalEquipment"),percent:.4,prop:"description_of_urinal_equipment"}},[t("el-select",{attrs:{loader:e.typesOfDesOfUrinalEq,clearable:!0,disabled:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.description_of_urinal_equipment,callback:function(t){e.$set(e.form.model,"de
1scription_of_urinal_equipment",t)},expression:"form.model.description_of_urinal_equipment"}})],1),e._v(" "),"trap"===e.form.model.description_of_urinal_equipment||"flushing_valve"===e.form.model.description_of_urinal_equipment?t("div",[t("el-column-row",[t("el-form-item",{attrs:{percent:.4,label:e.$t("lang.formHeader.brand")}},[t("el-input",{attrs:{placeholder:e.$t("lang.formHeader.brand"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.product_brand,callback:function(t){e.$set(e.form.model,"product_brand",t)},expression:"form.model.product_brand"}})],1),e._v(" "),t("el-form-item",{attrs:{percent:.4,label:e.$t("lang.modelNo")}},[t("el-input",{attrs:{placeholder:e.$t("lang.modelNo"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.product_model,callback:function(t){e.$set(e.form.model,"product_model",t)},expression:"form.model.product_model"}})],1)],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto",attrs:{percent:.4,label:e.$t("lang.nameIfAny")}},[t("el-input",{attrs:{placeholder:e.$t("lang.nameIfAny"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.product_name,callback:function(t){e.$set(e.form.model,"product_name",t)},expression:"form.model.product_name"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{percent:.4,label:e.$t("lang.countryRegionOfOrigin")}},[t("el-input",{attrs:{placeholder:e.$t("lang.countryRegionOfOrigin"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.product_region,callback:function(t){e.$set(e.form.model,"product_region",t)},expression:"form.model.product_region"}})],1)],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{percent:.4,label:e.$t("lang.manufacturer")}},[t("el-input",{attrs:{placeholder:e.$t("lang.manufacturer"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.product_manufacturer,callback:function(t){e.$set(e.form.model,"product_manufacturer",t)},expression:"form.model.product_manufacturer"}})],1)],1):e._e(),e._v(" "),"trap_coupled"===e.form.model.description_of_urinal_equipment||"suites"===e.form.model.description_of_urinal_equipment?[t("div",{staticClass:"other-product-info-card"},[t("p",{staticClass:"header"},[e._v(e._s(e.$t("lang.urinalProductInfo")))]),e._v(" "),t("div",{staticClass:"body-view"},[t("el-column-row",[t("el-form-item",{attrs:{percent:.4,label:e.$t("lang.formHeader.brand")}},[t("el-input",{attrs:{placeholder:e.$t("lang.formHeader.brand"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.product_brand,callback:function(t){e.$set(e.form.model,"product_brand",t)},expression:"form.model.product_brand"}})],1),e._v(" "),t("el-form-item",{attrs:{percent:.4,label:e.$t("lang.modelNo")}},[t("el-input",{attrs:{placeholder:e.$t("lang.modelNo"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.product_model,callback:function(t){e.$set(e.form.model,"product_model",t)},expression:"form.model.product_model"}})],1)],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto",attrs:{percent:.4,label:e.$t("lang.nameIfAny")}},[t("el-input",{attrs:{placeholder:e.$t("lang.nameIfAny"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.product_name,callback:function(t){e.$set(e.form.model,"product_name",t)},expression:"form.model.product_name"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{percent:.4,label:e.$t("lang.countryRegionOfOrigin")}},[t("el-input",{attrs:{placeholder:e.$t("lang.countryRegionOfOrigin"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.product_region,callback:function(t){e.$set(e.form.model,"product_region",t)},expression:"form.model.product_region"}})],1)],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{percent:.4,label:e.$t("lang.manufacturer")}},[t("el-input",{attrs:{placeholder:e.$t("lang.manufacturer"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.product_manufacturer,callback:function(t){e.$set(e.form.model,"product_manufacturer",t)},expression:"form.model.product_manufacturer"}})],1)],1)]),e._v(" "),t("div",{staticClass:"other-product-info-card"},[t("p",{staticClass:"header"},[e._v(e._s(e.$t("lang.valveProductInfo")))]),e._v(" "),t("div",{staticClass:"body-view"},[t("el-column-row",[t("el-form-item",{attrs:{percent:.4,label:e.$t("lang.formHeader.brand"),prop:"valve_product_brand"}},[t("el-input",{attrs:{placeholder:e.$t("lang.formHeader.brand"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.valve_product_brand,callback:function(t){e.$set(e.form.model,"valve_product_brand",t)},expression:"form.model.valve_product_brand"}})],1),e._v(" "),t("el-form-item",{attrs:{percent:.4,label:e.$t("lang.modelNo"),prop:"valve_product_model"}}
1,[t("el-input",{attrs:{placeholder:e.$t("lang.modelNo"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.valve_product_model,callback:function(t){e.$set(e.form.model,"valve_product_model",t)},expression:"form.model.valve_product_model"}})],1)],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto",attrs:{percent:.4,label:e.$t("lang.nameIfAny"),prop:"valve_product_name"}},[t("el-input",{attrs:{placeholder:e.$t("lang.nameIfAny"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.valve_product_name,callback:function(t){e.$set(e.form.model,"valve_product_name",t)},expression:"form.model.valve_product_name"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{percent:.4,label:e.$t("lang.countryRegionOfOrigin"),prop:"valve_product_region"}},[t("el-input",{attrs:{placeholder:e.$t("lang.countryRegionOfOrigin"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.valve_product_region,callback:function(t){e.$set(e.form.model,"valve_product_region",t)},expression:"form.model.valve_product_region"}})],1)],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{percent:.4,label:e.$t("lang.manufacturer")}},[t("el-input",{attrs:{placeholder:e.$t("lang.manufacturer"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.valve_product_manufacturer,callback:function(t){e.$set(e.form.model,"valve_product_manufacturer",t)},expression:"form.model.valve_product_manufacturer"}})],1)],1)])]:e._e()]:e._e(),e._v(" "),"wels_water_taps"===e.form.model.approval_scheme?t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.includeFlowController"),percent:.4}},[t("el-select",{attrs:{disabled:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status,loader:[{name:e.$t("lang.yes"),id:1},{name:e.$t("lang.no"),id:0}]},model:{value:e.form.model.include_flow_controller,callback:function(t){e.$set(e.form.model,"include_flow_controller",t)},expression:"form.model.include_flow_controller"}})],1):e._e(),e._v(" "),e.form.model.include_flow_controller?[t("div",{staticClass:"other-product-info-card"},[t("p",{staticClass:"header"},[e._v(e._s(e.$t("lang.flowControllerProductInfo")))]),e._v(" "),t("div",{staticClass:"body-view"},[t("el-column-row",[t("el-form-item",{attrs:{percent:.4,label:e.$t("lang.formHeader.brand")}},[t("el-input",{attrs:{placeholder:e.$t("lang.formHeader.brand"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.pan_product_brand,callback:function(t){e.$set(e.form.model,"pan_product_brand",t)},expression:"form.model.pan_product_brand"}})],1),e._v(" "),t("el-form-item",{attrs:{percent:.4,label:e.$t("lang.modelNo")}},[t("el-input",{attrs:{placeholder:e.$t("lang.modelNo"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.pan_product_model,callback:function(t){e.$set(e.form.model,"pan_product_model",t)},expression:"form.model.pan_product_model"}})],1)],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto",attrs:{percent:.4,label:e.$t("lang.nameIfAny")}},[t("el-input",{attrs:{placeholder:e.$t("lang.nameIfAny"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.pan_product_name,callback:function(t){e.$set(e.form.model,"pan_product_name",t)},expression:"form.model.pan_product_name"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{percent:.4,label:e.$t("lang.countryRegionOfOrigin")}},[t("el-input",{attrs:{placeholder:e.$t("lang.countryRegionOfOrigin"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.pan_product_region,callback:function(t){e.$set(e.form.model,"pan_product_region",t)},expression:"form.model.pan_product_region"}})],1)],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{percent:.4,label:e.$t("lang.manufacturer")}},[t("el-input",{attrs:{placeholder:e.$t("lang.manufacturer"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.pan_product_manufacturer,callback:function(t){e.$set(e.form.model,"pan_product_manufacturer",t)},expression:"form.model.pan_product_manufacturer"}})],1)],1)]),e._v(" "),t("el-form-item",{staticClass:"label-width-zero margin-bottom-0"},[t("el-checkbox",{attrs:{"true-label":1,"false-label":0,disabled:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.agreement,callback:function(t){e.$set(e.form.model,"agreement",t)},expression:"form.model.agreement"}}
1,[e._v(e._s(e.$t("lang.installationAgreement")))])],1)]:e._e(),e._v(" "),"wels_water_taps"===e.form.model.approval_scheme?t("el-form-item",{staticClass:"label-width-zero content-item-view",attrs:{label:e.$t("lang.docProofOfApproval"),percent:.8,"label-width":"0"}},[t("el-document-upload",{attrs:{application_status:e.form.model.status,multiple:!0,"base-url":e.baseUrl,action:e.baseUrl,readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.issued_doc,callback:function(t){e.$set(e.form.model,"issued_doc",t)},expression:"form.model.issued_doc"}})],1):e._e(),e._v(" "),e.form.model.include_flow_controller||"wels_flow_controllers"===e.form.model.approval_scheme?t("el-form-item",{staticClass:"label-width-zero",attrs:{label:e.$t("lang.docProofForFlowController"),percent:.8,"label-width":"0"}},[t("el-document-upload",{attrs:{application_status:e.form.model.status,multiple:!0,"base-url":e.baseUrl,action:e.baseUrl,readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.ga_issued_doc,callback:function(t){e.$set(e.form.model,"ga_issued_doc",t)},expression:"form.model.ga_issued_doc"}})],1):e._e(),e._v(" "),"wels_water_closets"===e.form.model.approval_scheme&&"pan"!==e.form.model.types_of_water_closet||"wels_urinal_equipment"===e.form.model.approval_scheme&&e.form.model.description_of_urinal_equipment&&"trap"!==e.form.model.description_of_urinal_equipment?t("el-form-item",{staticClass:"label-width-zero",attrs:{label:e.$t("lang.docuProofOfFlushValveAuthority"),percent:.8,"label-width":"0"}},[t("el-document-upload",{attrs:{application_status:e.form.model.status,multiple:!0,"base-url":e.baseUrl,action:e.baseUrl,readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.ga_issued_doc,callback:function(t){e.$set(e.form.model,"ga_issued_doc",t)},expression:"form.model.ga_issued_doc"}})],1):e._e(),e._v(" "),e.form.model.product_review&&0===e.form.model.product_review.status?t("el-form-item",{staticClass:"rejection-reasons-form-item label-width-zero content-item-view",attrs:{label:e.$t("lang.reasonsForRejection"),"label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none",readonly:!0},model:{value:e.form.model.product_review.rejection,callback:function(t){e.$set(e.form.model.product_review,"rejection",t)},expression:"form.model.product_review.rejection"}})],1):e._e()],2),e._v(" "),e.form.model.id?e._e():t("el-card",{staticClass:"applicant-card entry-application-item-card",attrs:{shadow:"never"}},[t("template",{slot:"header"},[e._v(e._s(e.$t("lang.applyMessageTitle")))]),e._v(" "),t("el-form-item",{attrs:{prop:"upload_other_info","label-width":"0"}},[t("el-checkbox",{attrs:{"true-label":1,"false-label":0},model:{value:e.form.model.upload_other_info,callback:function(t){e.$set(e.form.model,"upload_other_info",t)},expression:"form.model.upload_other_info"}},[e._v(e._s(e.$t("lang.uploadOtherInfo")))])],1),e._v(" "),e.form.model.upload_other_info?[t("el-form-item",{attrs:{prop:"upload_other_info_msg","label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none"},model:{value:e.form.model.upload_other_info_msg,callback:function(t){e.$set(e.form.model,"upload_other_info_msg",t)},expression:"form.model.upload_other_info_msg"}})],1),e._v(" "),t("el-form-item",{staticClass:"d-flex flex-column",attrs:{prop:"upload_other_info_doc","label-width":"0"}},[t("el-document-upload",{attrs:{multiple:!0,application_status:e.form.model.status,"base-url":e.baseUrl,action:e.baseUrl,readonly:!e.canEdit},model:{value:e.form.model.upload_other_info_doc,callback:function(t){e.$set(e.form.model,"upload_other_info_doc",t)},expression:"form.model.upload_other_info_doc"}})],1)]:e._e()],2),e._v(" "),e.form.model.id?t("el-review-message",{attrs:{applicationId:e.form.model.id,stage:e.form.model.status}},[t("el-form-item",{attrs:{prop:"upload_other_info","label-width":"0"}},[t("el-checkbox",{attrs:{"true-label":1,"false-label":0,disabled:!e.canEdit&&e.form.model.upload_other_info_review&&1===e.form.model.upload_other_info_review.status},model:{value:e.form.model.upload_other_info,callback:function(t){e.$set(e.form.model,"upload_other_info",t)},expression:"form.model.upload_other_info"}}
1,[e._v(e._s(e.$t("lang.uploadOtherInfo")))])],1),e._v(" "),e.form.model.upload_other_info?[t("el-form-item",{attrs:{prop:"upload_other_info_msg","label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none",readonly:!e.canEdit&&e.form.model.upload_other_info_review&&1===e.form.model.upload_other_info_review.status},model:{value:e.form.model.upload_other_info_msg,callback:function(t){e.$set(e.form.model,"upload_other_info_msg",t)},expression:"form.model.upload_other_info_msg"}})],1),e._v(" "),t("el-form-item",{staticClass:"d-flex flex-column",attrs:{prop:"upload_other_info_doc","label-width":"0"}},[t("el-document-upload",{attrs:{multiple:!0,"base-url":e.baseUrl,action:e.baseUrl,text:e.$t("lang.action.upload"),application_status:e.form.model.status,readonly:!e.canEdit&&e.form.model.upload_other_info_review&&1===e.form.model.upload_other_info_review.status},model:{value:e.form.model.upload_other_info_doc,callback:function(t){e.$set(e.form.model,"upload_other_info_doc",t)},expression:"form.model.upload_other_info_doc"}})],1)]:e._e(),e._v(" "),e.form.model.upload_other_info_review&&0===e.form.model.upload_other_info_review.status?t("el-form-item",{staticClass:"rejection-reasons-form-item label-width-zero content-item-view",attrs:{label:e.$t("lang.reasonsForRejection"),"label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none",readonly:!0},model:{value:e.form.model.upload_other_info_review.rejection,callback:function(t){e.$set(e.form.model.upload_other_info_review,"rejection",t)},expression:"form.model.upload_other_info_review.rejection"}})],1):e._e()],2):e._e()],1),e._v(" "),t("div",{staticClass:"entry-application-footer"},[t("el-button",{staticClass:"empty-bule-btn",on:{click:function(t){return e.$router.back()}}},[e._v(e._s(e.$t("lang.action.cancel")))]),e._v(" "),e.form.model.id&&-1!=e.form.model.status&&0!==e.form.model.status?e._e():t("el-button",{staticClass:"empty-bule-btn",on:{click:e.onSaveForm}},[e._v(e._s(e.$t("lang.action.save")))]),e._v(" "),-1===e.form.model.status?t("el-button",{staticClass:"fill-blue-btn",on:{click:function(t){return e.handleCreate()}}},[e._v(e._s(e.$t("lang.action.submit")))]):e._e(),e._v(" "),0!==e.form.model.status||!e.form.model.record||10!=e.form.model.record.type&&15!=e.form.model.record.type?e._e():t("el-button",{staticClass:"fill-blue-btn",on:{click:function(t){return e.handleSubmit()}}},[e._v(e._s(e.$t("lang.action.submit")))])],1)],1)])};s_._withStripped=!0;var c_=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),d_=function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r},p_=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},u_=x(),m_=function(e){function t(){var t,a=this;return(a=e.apply(this,arguments)||this).type={wels_flow_controllers:a.$t("lang.flowControllers"),wels_water_closets:a.$t("lang.waterClosets"),wels_water_taps:a.$t("lang.waterTaps"),wels_showers_athingp:a.$t("lang.showersForBathing"),wels_urinal_equipment:a.$t("lang.urinalEquipment"),wels_washing_machines:a.$t("lang.washingMachines")},a.breadcrumb=[{path:"",title:a.$t("lang.eApplication")},{path:"/applications/wels",title:"WELS"},{path:"",title:a.type[null===(t=a.$route.params)||void 0===t?void 0:t.type]}],a.api=x(),a.baseUrl="/api/afs/wsd",a.partMaxActive=1,a.partList=[{name:"lang.companyInformation"},{name:"lang.productInformation"},{name:"lang.supportDoc"},{name:"lang.disclaimer"},{name:"lang.applyMessageTitle"}],a.partActive=1,a.cardListTop=[],a.pageCenterNum=0,a.treaty="",a.agreeTreaty=!1,a.canEdit=!a.$route.params.id,a.errMessage={111:a.$t("lang.pleaseCompleteAllRequiredFields"),90003:a.$t("lang.applicationAlreadyExists"),90005:a.$t("lang.applicationAlreadySubmit"),90007:a.$t("lang.applicationDraftErr"),90009:a.$t("lang.applicationTestReportErr")},a.form=new K({loader:"/public/wels/applications/:id",action:"/public/wels/applications",default:{wels_scheme:"wels_renewal",approval_scheme:"wels_ur
1inal_equipment",status:-1,disclaimer:1,company_distributors:[]},rules:{approval_no:[{required:!0,message:a.$t("lang.pleaseEnter"),trigger:"bulr"},{max:40,message:"".concat(a.$t("lang.characterLength")," 40"),trigger:"blur"}],company_website:[{max:100,message:"".concat(a.$t("lang.characterLength")," 100"),trigger:"blur"}],product_brand:[{max:40,message:"".concat(a.$t("lang.characterLength")," 40"),trigger:"blur"}],product_model:[{max:40,message:"".concat(a.$t("lang.characterLength")," 40"),trigger:"blur"}],product_name:[{max:40,message:"".concat(a.$t("lang.characterLength")," 40"),trigger:"blur"}],product_region:[{max:40,message:"".concat(a.$t("lang.characterLength")," 40"),trigger:"blur"}],product_manufacturer:[{max:40,message:"".concat(a.$t("lang.characterLength")," 40"),trigger:"blur"}],valve_product_brand:[{max:40,message:"".concat(a.$t("lang.characterLength")," 40"),trigger:"blur"}],valve_product_model:[{max:40,message:"".concat(a.$t("lang.characterLength")," 40"),trigger:"blur"}],valve_product_name:[{max:40,message:"".concat(a.$t("lang.characterLength")," 40"),trigger:"blur"}],valve_product_region:[{max:40,message:"".concat(a.$t("lang.characterLength")," 40"),trigger:"blur"}],valve_product_manufacturer:[{max:40,message:"".concat(a.$t("lang.characterLength")," 40"),trigger:"blur"}],cistern_product_brand:[{max:40,message:"".concat(a.$t("lang.characterLength")," 40"),trigger:"blur"}],cistern_product_model:[{max:40,message:"".concat(a.$t("lang.characterLength")," 40"),trigger:"blur"}],cistern_product_name:[{max:40,message:"".concat(a.$t("lang.characterLength")," 40"),trigger:"blur"}],cistern_product_region:[{max:40,message:"".concat(a.$t("lang.characterLength")," 40"),trigger:"blur"}],cistern_product_manufacturer:[{max:40,message:"".concat(a.$t("lang.characterLength")," 40"),trigger:"blur"}],pan_product_brand:[{max:40,message:"".concat(a.$t("lang.characterLength")," 40"),trigger:"blur"}],pan_product_model:[{max:40,message:"".concat(a.$t("lang.characterLength")," 40"),trigger:"blur"}],pan_product_name:[{max:40,message:"".concat(a.$t("lang.characterLength")," 40"),trigger:"blur"}],pan_product_region:[{max:40,message:"".concat(a.$t("lang.characterLength")," 40"),trigger:"blur"}],pan_product_manufacturer:[{max:40,message:"".concat(a.$t("lang.characterLength")," 40"),trigger:"blur"}],upload_other_info_msg:[{max:250,message:"".concat(a.$t("lang.characterLength")," 250"),trigger:"blur"}]},onSubmitSuccess:function(){a.successMessage("submit")},onSubmitFailure:function(e){a.submitErrMessage(e)}}),a.showInstructionsDialog=!1,a.instructionsContent="",a.pickerOptions={disabledDate:function(e){return e.getTime()<Date.now()-864e5}},a.equipmentCategory="en-US"===a.$i18n.locale?un:"zh-CN"===a.$i18n.locale?fn:mn,a.companyType="en-US"===a.$i18n.locale?xn:"zh-CN"===a.$i18n.locale?Sn:En,a.typesOfDesOfUrinalEq="en-US"===a.$i18n.locale?Rn:"zh-CN"===a.$i18n.locale?Fn:In,a.categoryOption="en-US"===a.$i18n.locale?un:"zh-CN"===a.$i18n.locale?fn:mn,a.typesOfWaterCloset="en-US"===a.$i18n.locale?Pn:"zh-CN"===a.$i18n.locale?Tn:Dn,a}return c_(t,e),t.prototype.handleCreate=function(){var e=this,t=this.form.model.status;this.form.model.status=0,this.form.model.id?this.form.validate().then((function(){var a=n().service({lock:!0});u_.post("/public/wels/applications/drafted/submit",e.form.model).then((function(t){a.close(),E().success({duration:5e3,showClose:!0,message:e.$t("lang.successfullySubmitted")}),e.$router.back()})).catch((function(o){a.close(),e.form.model.status=t;var l=e.errMessage[o];l&&E().error({message:l,showClose:!0,duration:5e3})}))})).catch((function(a){e.submitErrMessage(!1),e.form.model.status=t})):this.form.submit().catch((function(a){return e.form.model.status=t}))},t.prototype.handleSubmit=function(){var e=this,t=n().service({lock:!0});u_.post("/public/wels/applications/submit",this.form.model).then((function(a){t.close(),E().success({duration:5e3,showClose:!0,message:e.$t("lang.successfullySubmitted")}),e.$router.back()})).catch((function(a){t.close();var o=e.errMessage[a];o&&E().error({message:o,showClose:!0,duration:5e3})}))},t.prototype.onSaveForm=function(){var e=this,t=this.form.model.status,a=n().service({lock:!0});this.form.model.id?u_.put("/public/wels/applications",this.form.model).then((function(t){e.successMessage("save"),a.close()})).catch((function(o){e.form.model.status=t,e.submitErrMessage(o),a.close()})):u_.post("/public/wels/applications",this.form.model).then((function(t){e.successMessage("save"),a.close()})).catch((function(o){e.form.model.status=t,e.submitErrMessage(o),a.close()}))},t.prototype.successMessage=function(e,t){void 0===e&&(e="save"),void 0===t&&(t=!0),E().success({duration:5e3,showClose:!0,message:"save"===e?this.$t("lang.successfullySaved"):this.$t("lang.successfullySubmitted")}),t&&this.$router.back()},t.prototype.submitErrMessage=function(e){var t=e?this.errMessage[e]:this.errMessage[111];t&&E().error({message:t,showClose:!0,duration:5e3})},t.prototype.beforeMount=function(){this.$route.params.id&&this.form.load({id:this.$route.params.id})},t.prototype.routeChange=function(){window.location.reload()},d_([(0,o.RL)("$route"),p_("design:type",Function),p_("design:paramtypes",[]),p_("design:returntype",void 0)],t.prototype,"routeChange",null),d_([(0,o.wA)({components:{ElAdminContainer:Da,ElForm:ae,ElFormItem:pt,ElColumnRow:ke,ElButton:Ge,ElCard:fe(),ElInput:Ze(),ElSelectTag:ds,ElTable:go,ElTableColumn:Uo(),ElDocumentUpload:Eo,ElReviewMessage:lc,ElInstructionsDialog:vc,ElWelsAddDistributorsDialog:Cp,ElDatePicker:Ho(),ElSelect:Pr,ElWelsCompanyInfoForm:Pp,ElWelsProductInfoForm:qp,ElPartMenus:Lc,ElWelsSupportDocForm:Wp},beforeRouteEnter:function(e,t,a){a((function(e){var t,a;e.type[null===(t=e.$route.params)||void 0===t?void 0:t.type]&&(e.form.model.approval_scheme=null===(a=e.$route.params)||void 0===a?void 0:a.type)}))}})],t)}(o.w3),f_=m_,__=(0,z.Z)(f_,s_,[],!1,null,null,null).exports,g_=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-admin-container",{class:["page-waterworks-area-detail","page-review-detail","en-US"===e.$i18n.locale?"page-waterworks-area-detail-en":""],attrs:{breadcrumb:e.breadcrumb}},[e.detail&&0===e.detail.status?t("el-detail-page-action-list",{attrs:{status:e.detail.status},on:{"on-edit":function(t){return e.$router.push({path:`/applications/waterworks_area/apply/${e.detail.id}`})},"on-delete":e.onDelete}}
1):e._e(),e._v(" "),e.detail&&-1!=e.detail.status&&-99!=e.detail.status?t("el-review-steps",{attrs:{stage:e.detail.status,status:e.detail.record?e.detail.record.type:0}}):e._e(),e._v(" "),e.detail&&e.detail.record&&15==e.detail.record.type&&0===e.detail.status?t("el-apply-rejection",{model:{value:e.detail.record,callback:function(t){e.$set(e.detail,"record",t)},expression:"detail.record"}}):e._e(),e._v(" "),t("div",{staticClass:"container application-detail-content"},[t("el-form",{attrs:{hasLabelSuffix:!0}},[-99===e.detail.status?t("el-cancel-reason",{model:{value:e.detail,callback:function(t){e.detail=t},expression:"detail"}}):e._e(),e._v(" "),t("el-card",{staticClass:"general-description-card review-detail-card",attrs:{shadow:"never"}},[t("p",{staticClass:"detail-header",attrs:{slot:"header"},slot:"header"},[e._v(e._s(e.$t("lang.summary")))]),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.formHeader.file_no"),percent:.4}},[e._v(e._s(e.detail.file_no))])],1)],1),e._v(" "),t("el-card",{staticClass:"general-description-card review-detail-card",attrs:{shadow:"never"}},[t("p",{staticClass:"detail-header",attrs:{slot:"header"},slot:"header"},[e._v(e._s(e.$t("lang.application_type")))]),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.application_type"),percent:.4}},[e._v(e._s(e._f("options")(e.detail.approval_scheme,e.waterworksAreaApplyType)))])],1)],1),e._v(" "),t("el-card",{staticClass:"general-description-card review-detail-card",attrs:{shadow:"never"}},[t("p",{staticClass:"detail-header",attrs:{slot:"header"},slot:"header"},[e._v(e._s(e.$t("lang.nameOfCompanyOrOrganisationAndAddressAndTelephoneNo")))]),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:"activities"!==e.detail.approval_scheme?e.$t("lang.company_name"):e.$t("lang.nameOfApplicantOrganisation"),percent:.4}},[e._v(e._s(e.detail.company_name))]),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.address"),percent:.4}},[e._v(e._s(e.detail.address))])],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.teleNo"),percent:.4,prop:"phone"}},[e._v("\r\n            "+e._s(e.detail.phone)+"\r\n          ")])],1)],1),e._v(" "),t("el-card",{staticClass:"general-description-card review-detail-card",attrs:{shadow:"never"}},[t("p",{staticClass:"detail-header",attrs:{slot:"header"},slot:"header"},[e._v(e._s(e.$t("lang.locationForm")))]),e._v(" "),t("el-form-item",{staticClass:"d-flex flex-column table-form-item label-width-zero",attrs:{"label-width":"0",prop:"locations"}},[t("el-table",{attrs:{data:e.detail.locations,border:"",hasHeight:!1}},[t("el-table-column",{attrs:{label:e.$t("lang.formHeader.location"),prop:"location",align:"center"},scopedSlots:e._u([{key:"default",fn:function(a){return["100001"!==a.row.location_id?t("span",[e._v(e._s(e._f("options")(a.row.location_id,e.locationList)))]):e._e(),e._v(" "),"100001"===a.row.location_id?t("span",[e._v(e._s("Other - "+a.row.location_other_msg))]):e._e()]}}])}),e._v(" "),"activities"===e.detail.approval_scheme?[t("el-table-column",{attrs:{label:e.$t("lang.bookTime"),prop:"visit_date",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\r\n                  "+e._s(e._f("date_format")(t.row.visit_date[0]))+" / "+e._s(e._f("date_format")(t.row.visit_date[1]))+"\r\n                ")]}}],null,!1,48774170)}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.natureOfVisit"),prop:"visit_nature",align:"center",width:"200"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\r\n                  "+e._s(t.row.visit_nature)+"\r\n                ")]}}],null,!1,556295018)}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.NoOfVisitors"),prop:"visitors",align:"center",width:"200"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\r\n                  "+e._s(t.row.visitors)+"\r\n                ")]}}],null,!1,833844802)}
1)]:e._e(),e._v(" "),"activities"!==e.detail.approval_scheme?[t("el-table-column",{attrs:{label:e.$t("lang.locationMap"),"class-name":"cell-justify-center d-flex-1",align:"center"},scopedSlots:e._u([{key:"default",fn:function(a){return a.row.location_map_doc&&a.row.location_map_doc.length?e._l(a.row.location_map_doc,(function(a){return t("el-link",{key:a.id,staticClass:"doc-link",attrs:{target:"_blank",underline:!1,href:`${e.baseUrl}/${a.filename}`}},[t("i",{staticClass:"iconfont ico_file_ppt"}),e._v("\r\n                    "+e._s(`${a.name}`)+"\r\n                  ")])})):void 0}}],null,!0)}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.bookTime"),prop:"visit_date",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\r\n                  "+e._s(e._f("moment")(t.row.visit_date[0]))+" / "+e._s(e._f("moment")(t.row.visit_date[1]))+"\r\n                ")]}}],null,!1,3892572858)}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.NoOfParticipants"),prop:"participants",align:"center",width:"200"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\r\n                  "+e._s(t.row.participants)+"\r\n                ")]}}],null,!1,2069220433)}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.NoOfCrew"),prop:"crews",align:"center",width:"200"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\r\n                  "+e._s(t.row.crews)+"\r\n                ")]}}],null,!1,3641133325)})]:e._e(),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.vehiclesHasType"),prop:"vehicles",align:"center",width:"200"},scopedSlots:e._u([{key:"default",fn:function(a){return[t("span",{staticStyle:{"white-space":"pre-line"}},[e._v(e._s(e.locationVehicles(a.row.vehicles)))])]}}])})],2)],1)],1),e._v(" "),"activities"!==e.detail.approval_scheme?[t("el-card",{staticClass:"general-description-card review-detail-card",attrs:{shadow:"never"}},[t("p",{staticClass:"detail-header",attrs:{slot:"header"},slot:"header"},[e._v(e._s(e.$t("lang.datesTimeOfFilmingShootingBriefDesOfScenesAndActivites")))]),e._v(" "),"location"==e.detail.approval_scheme||"photo_shooting"==e.detail.approval_scheme?t("el-form-item",{staticClass:"label-width-zero only-read-form-item",attrs:{label:e.$t("lang.briefDesOfScenesActivities"),"label-width":"0",percent:.8}},[t("el-document-list",{attrs:{value:e.detail.brief_description_doc}})],1):e._e()],1)]:[t("el-card",{staticClass:"general-description-card review-detail-card",attrs:{shadow:"never"}},[t("p",{staticClass:"detail-header",attrs:{slot:"header"},slot:"header"},[e._v(e._s(e.$t("lang.locationOfEventDateOfTheEventTimeNatureOfEvent")))]),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.formHeader.location"),percent:.4}},[e._v(e._s(e.detail.location_name))]),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.bookTime"),percent:.4}},[e._v(e._s(e._f("moment")(e.detail.visit_date[0]))+"~"+e._s(e._f("moment")(e.detail.visit_date[1])))])],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.natureOfVisit"),percent:.4}},[e._v(e._s(e.detail.visit_nature))]),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.NoOfVisitors"),percent:.4}},[e._v(e._s(e.detail.visitors))])],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"d-flex flex-column table-form-item label-width-zero",attrs:{percent:.6,"label-width":"0",prop:"vehicles"}},[t("el-table",{attrs:{data:e.detail.vehicles,border:"",hasHeight:!1}},[t("el-table-column",{attrs:{label:e.$t("lang.vehiclesHasType"),prop:"name",align:"center",width:"160"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\r\n                    "+e._s(e.$t(`lang.${t.row.name}`))+"\r\n                  ")]}}])}),e._v(" "),t("el-table-column",{attrs:{prop:"number",align:"center",width:"160"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\r\n                    "+e._s(t.row.number)+"\r\n                  ")]}}])})],1)],1)],1)],1)],e._v(" "),t("el-card",{staticClass:"general-description-card review-detail-card",attrs:{shadow:"never"}},[t("p",{staticClass:"detail-header",attrs:{slot:"header"},slot:"header"},[e._v(e._s(e.$t("lang.aCopyOfValidBusinessRegistrationCertificate")))]),e._v(" "),t("el-document-list",{attrs:{value:e.detail.valid_business_registration_doc}})],1),e._v(" "),e.detail&&e.detail.id?t("el-review-message",{attrs:{applicationId:e.detail.id,stage:e.detail.status}},[t("el-form-item",{attrs:{prop:"upload_other_info","label-width":"0"}},[t("el-checkbox",{attrs:{"true-label":1,"false-label":0,disabled:!0},model:{value:e.detail.upload_other_info,callback:function(t){e.$set(e.detail,"upload_other_info",t)},expression:"detail.upload_other_info"}}
1,[e._v(e._s(e.$t("lang.uploadOtherInfo")))])],1),e._v(" "),e.detail.upload_other_info?[t("el-form-item",{attrs:{prop:"upload_other_info_msg","label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none",readonly:!0},model:{value:e.detail.upload_other_info_msg,callback:function(t){e.$set(e.detail,"upload_other_info_msg",t)},expression:"detail.upload_other_info_msg"}})],1),e._v(" "),t("el-form-item",{staticClass:"d-flex flex-column",attrs:{prop:"upload_other_info_doc","label-width":"0"}},[t("el-document-list",{attrs:{value:e.detail.upload_other_info_doc}})],1)]:e._e()],2):e._e()],2)],1)],1)};g_._withStripped=!0;var h_=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),v_=x(),b_=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.breadcrumb=[{path:"",title:t.$t("lang.eApplication")},{path:"/applications/waterworks_area",title:t.$t("lang.accessToWaterworksArea")},{path:"",title:t.$t("lang.breadcrumb.detail")}],t.waterworksAreaApplyType=Tl,t.baseUrl="/api/afs/wsd",t.detail={},t.locationList=[],t}return h_(t,e),t.prototype.onDelete=function(){var e=this;v_.delete("/public/visit/applications",{data:[this.detail.id]}).then((function(){e.$router.back()}))},t.prototype.getLocationList=function(){var e=this;v_.get("/internal/regions/applications/all").then((function(t){e.locationList=t}))},t.prototype.locationVehicles=function(e){var t=this;return e.map((function(e){return t.$t("lang.".concat(null==e?void 0:e.name))+": ".concat(null==e?void 0:e.number)})).join("\n")},t.prototype.beforeMount=function(){this.getLocationList()},function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r}([(0,o.wA)({components:{ElAdminContainer:Da,ElForm:ae,ElFormItem:pt,ElColumnRow:ke,ElButton:Ge,ElCard:fe(),ElInput:Ze(),ElSelectTag:ds,ElTable:go,ElTableColumn:Uo(),ElDocumentUpload:Eo,ElDetailPageActionList:vm,ElDocumentList:Fo,ElLink:ge(),ElReviewSteps:Em,ElReviewMessage:lc,ElApplyRejection:No,ElCancelReason:Rm},beforeRouteEnter:function(e,t,a){v_.get("/public/visit/applications/".concat(e.query.id)).then((function(e){return a((function(t){t.detail=e}))}))}})],t)}(o.w3),w_=b_,y_=(0,z.Z)(w_,g_,[],!1,null,null,null).exports,$_=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-admin-container",{class:["page-undertaking-detail","page-review-detail","en-US"===e.$i18n.locale?"page-undertaking-detail-en":""],attrs:{breadcrumb:e.breadcrumb}},[e.detail&&0===e.detail.status?t("el-detail-page-action-list",{attrs:{status:e.detail.status},on:{"on-edit":function(t){return e.$router.push({path:`/applications/undertaking/apply/${e.detail.id}`})},"on-delete":e.onDelete}}):e._e(),e._v(" "),e.detail&&-1!=e.detail.status&&-99!=e.detail.status?t("el-review-steps",{attrs:{stage:e.detail.status,status:e.detail.record?e.detail.record.type:0}}):e._e(),e._v(" "),e.detail.record&&15==e.detail.record.type&&0===e.detail.status?t("el-apply-rejection",{model:{value:e.detail.record,callback:function(t){e.$set(e.detail,"record",t)},expression:"detail.record"}}):e._e(),e._v(" "),t("div",{staticClass:"container application-detail-content"},[t("el-form",{attrs:{hasLabelSuffix:!0}},[-99===e.detail.status?t("el-cancel-reason",{model:{value:e.detail,callback:function(t){e.detail=t},expression:"detail"}}):e._e(),e._v(" "),t("el-card",{staticClass:"general-description-card review-detail-card",attrs:{shadow:"never"}},[t("el-form-item",{staticClass:"label-width-auto margin-bottom-20",attrs:{label:e.$t("lang.Scheme"),prop:"approval_scheme"}},[t("el-checkbox-group",{staticClass:"d-flex flex-column",model:{value:e.detail.approval_scheme,callback:function(t){e.$set(e.detail,"approval_scheme",t)},expression:"detail.approval_scheme"}},e._l(e.undertakingApprovalTypeOption,(function(a){return t("el-checkbox",{key:a.id,attrs:{disabled:"",label:a.id}},[e._v(e._s(a.name))])})),1)],1),e._v(" "),t("el-form-item",{staticClass:"label-width-zero margin-bottom-20",attrs:{"label-width":"0"}},[t("template",{slot:"label"},[e._v("\r\n            "+e._s(e.$t("lang.building_info"))+"\r\n          ")]),e._v(" "),t("el-table",{attrs:{data:e.detail.buildings,border:"",hasHeight:!1}},[t("el-table-column",{attrs:{label:e.$t("lang.buildingName"),width:"300",prop:"name"}}),e._v(" "),t("el-table-column",{attrs:{label:`${e.$t("lang.scheme")}`,width:"200",align:"center",prop:"scheme"},scopedSlots:e._u([{key:"default",fn:function(t){return t.row.scheme?[e._v("\r\n                "+e._s(e._f("array")(t.row.scheme,"、"))+"\r\n              ")]:void 0}}],null,!0)}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.certificateValidTillDate"),width:"170",align:"center",prop:"date"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(e._f("moment")(t.row.date,"","YYYY-MM-DD")))]}}])}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.type"),align:"center",prop:"date"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(e._f("options")(t.row.t
1ype,e.undertakingApprovalTypeOption)))]}}])})],1)],2),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.incomingBuildingManagementCompany")}},[e._v(e._s(e.detail.building_name_company))]),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.buildingManagementContractStartDate"),percent:.6}},[e._v("\r\n          "+e._s(e.detail.building_contract_begin_date)+"\r\n        ")])],1),e._v(" "),t("el-card",{staticClass:"review-detail-card",attrs:{shadow:"never"}},[t("p",{staticClass:"application-item-card-title",attrs:{slot:"header"},slot:"header"},[e._v("\r\n          "+e._s(e.$t("lang.docToBeIncluded"))+"\r\n        ")]),e._v(" "),t("el-form-item",{staticClass:"product-catalog-form-item d-flex flex-column table-form-item label-flex-center label-width-zero",attrs:{"label-width":"0",prop:"sign_doc"}},[t("template",{slot:"label"},[e._v("\r\n            "+e._s(`${e.$t("lang.undertakingFormForIncomingBuildingManagement")}`)+"\r\n          ")]),e._v(" "),t("el-document-list",{attrs:{value:e.detail.sign_doc}})],2)],1),e._v(" "),e.detail.id?t("el-review-message",{attrs:{applicationId:e.detail.id,stage:e.detail.status}},[t("el-form-item",{attrs:{prop:"upload_other_info","label-width":"0"}},[t("el-checkbox",{attrs:{"true-label":1,"false-label":0,disabled:!0},model:{value:e.detail.upload_other_info,callback:function(t){e.$set(e.detail,"upload_other_info",t)},expression:"detail.upload_other_info"}},[e._v(e._s(e.$t("lang.uploadOtherInfo")))])],1),e._v(" "),e.detail.upload_other_info?[t("el-form-item",{attrs:{prop:"upload_other_info_msg","label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none",readonly:!0},model:{value:e.detail.upload_other_info_msg,callback:function(t){e.$set(e.detail,"upload_other_info_msg",t)},expression:"detail.upload_other_info_msg"}})],1),e._v(" "),t("el-form-item",{staticClass:"d-flex flex-column",attrs:{prop:"upload_other_info_doc","label-width":"0"}},[t("el-document-list",{attrs:{value:e.detail.upload_other_info_doc}})],1)]:e._e()],2):e._e()],1)],1)],1)};$_._withStripped=!0;var C_=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),x_=x(),S_=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.breadcrumb=[{path:"",title:t.$t("lang.eApplication")},{path:"/applications/undertaking",title:t.$t("lang.undertaking")},{path:"",title:t.$t("lang.breadcrumb.detail")}],t.baseUrl="/api/afs/wsd",t.undertakingApprovalTypeOption="en-US"===t.$i18n.locale?ql:"zh-CN"===t.$i18n.locale?jl:Ml,t.detail={},t.form=new K({default:{stage:0,rejectionContent:"1、GA application is missing photos\n2、GA application is missing photos\n3、GA application is missing photos"}}),t}return C_(t,e),t.prototype.onChange=function(e){this.breadcrumb=[{path:"",title:this.$t("lang.eApplication")},{path:"/applications/undertaking",title:this.$t("lang.undertaking")},{path:"",title:this.$t("lang.breadcrumb.detail")}],this.undertakingApprovalTypeOption="en-US"===this.$i18n.locale?ql:"zh-CN"===this.$i18n.locale?jl:Ml},t.prototype.onDelete=function(){var e=this;x_.delete("/public/guarantee/applications",{data:[this.detail.id]}).then((function(){e.$router.back()}))},t.prototype.onCertificateNoClick=function(e){var t=this;x_.get("/public/guarantee/applications/building/".concat(e)).then((function(e){e.application_id&&t.$router.push(0==e.type?{path:"/applications/qms/detail",query:{id:e.application_id}}:{path:"/applications/qws/detail",query:{id:e.application_id}})}))},function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r}([(0,o.wA)({components:{ElAdminContainer:Da,ElForm:ae,ElFormItem:pt,ElColumnRow:ke,ElButton:Ge,ElCard:fe(),ElInput:Ze(),ElSelectTag:ds,ElTable:go,ElTableColumn:Uo(),ElDocumentUpload:Eo,ElDetailPageActionList:vm,ElDocumentList:Fo,ElLink:ge(),ElReviewSteps:Em,ElReviewMessage:lc,ElApplyRejection:No,ElCheckbox:ei(),ElCheckboxGroup:zc(),ElCancelReason:Rm},beforeRouteEnter:function(e,t,a){x_.get("/public/guarantee/applications/".concat(e.query.id)).then((function(e){return a((function(t){t.detail=e}))}))}})],t)}(o.w3),E_=S_,k_=(a(61427),(0,z.Z)(E_,$_,[],!1,null,null,null).exports
1),O_=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-admin-container",{class:["page-dwdf-list","en-US"===e.$i18n.locale?"page-dwdf-list-en":""],attrs:{breadcrumb:[this.$t("lang.applications")," DWDF"]}},[t("el-card",{staticClass:"search-filter-card",attrs:{shadow:"never"}},[t("el-form",[t("el-column-row",[t("el-form-item",{staticClass:"status-form-item",attrs:{label:e.$t("lang.status"),percent:.22}},[t("label",{attrs:{for:"dwdf_list_status_params",hidden:""}},[e._v("''")]),e._v(" "),t("el-select",{attrs:{id:"dwdf_list_status_params",loader:e.searchStatusOptions,clearable:""},model:{value:e.table.params.status,callback:function(t){e.$set(e.table.params,"status",t)},expression:"table.params.status"}})],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("lang.dwdf.category"),percent:.22}},[t("label",{attrs:{for:"dwdf_list_type_params",hidden:""}},[e._v("''")]),e._v(" "),t("el-select",{attrs:{id:"dwdf_list_type_params",loader:e.categoryOptions,clearable:""},model:{value:e.table.params.type,callback:function(t){e.$set(e.table.params,"type",t)},expression:"table.params.type"}})],1),e._v(" "),t("el-form-item",{attrs:{percent:.4,label:e.$t("lang.applicationTime")}},[t("label",{attrs:{for:"dwdf_list_application_time_params_input_0",hidden:""}},[e._v("''")]),e._v(" "),t("label",{attrs:{for:"dwdf_list_application_time_params_input_1",hidden:""}},[e._v("''")]),e._v(" "),t("el-date-picker",{staticClass:"width-pre-100",attrs:{type:"daterange","start-placeholder":e.$t("lang.applicationTimePlaceholderStart"),"end-placeholder":e.$t("lang.applicationTimePlaceholderEnd"),clearable:""},model:{value:e.table.params.application_time,callback:function(t){e.$set(e.table.params,"application_time",t)},expression:"table.params.application_time"}})],1),e._v(" "),t("el-form-item",{staticClass:"el-item-flex-justify-end"},[t("el-button",{staticClass:"fill-blue-btn",on:{click:function(t){return e.table.load()}}},[e._v(e._s(e.$t("lang.action.search")))])],1)],1)],1)],1),e._v(" "),t("el-card",{staticClass:"contain-card",attrs:{shadow:"never"}},[t("el-table",{attrs:{store:e.table,border:"",hasHeight:!1}},[t("el-table-column",{attrs:{label:e.$t("lang.formHeader.file_no"),align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n          "+e._s(t.row.file_no)+"\n        ")]}}])}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.dwdf.category"),align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(e._f("options")(t.row.product_category,e.categoryOptions)))]}}])}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.formHeader.status"),align:"center"},scopedSlots:e._u([{key:"default",fn:function(a){return["100001"===a.row.laboratories&&5===a.row.status?t("span",[e._v(e._s(e.$t("lang.waitLabReportUpload")))]):t("span",[e._v(e._s(e._f("options")(a.row.status,e.applyStatusOption))+" "+e._s(5===a.row.processing_status?`(${e.$t("lang.labReportUpload")})`:10===a.row.processing_status?`(${e.$t("lang.reviewLabReport")})`:15===a.row.processing_status?`(${e.$t("lang.reSubmt")})`:""))])]}}])}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.formHeader.brand"),align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n          "+e._s(t.row.product_brand)+"\n        ")]}}])}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.modelNo"),align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n          "+e._s(t.row.product_model)+"\n        ")]}}])}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.applicationTime"),width:"160px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n          "+e._s(e._f("date_format")(t.row.application_time))+"\n        ")]}}])}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.action.action"),align:"center","class-name":"cell-flex-row cell-justify-center action-column",width:"200"},scopedSlots:e._u([{key:"default",fn:function(a){return[t("el-button",{staticClass:"text-green",attrs:{type:"text"},on:{click:function(t){return e.onView(a.row.id)}}},[e._v(e._s(e.$t("lang.action.view")))]),e._v(" "),-1===a.row.status||0===a.row.status&&5!==a.row.processing_status?t("el-button",{staticClass:"text-blue",attrs:{type:"text"},on:{click:function(t){return e.onEdit(a.row.id)}}}
1,[e._v(e._s(e.$t("lang.action.edit")))]):e._e(),e._v(" "),-1===a.row.status?t("el-button",{staticClass:"text-red",attrs:{type:"text",confirm:e.$t("lang.wantDeleteTip")},on:{confirm:function(t){return e.table.action("delete",{data:[a.row.id]})}}},[e._v(e._s(e.$t("lang.action.delete")))]):e._e(),e._v(" "),0===a.row.status&&a.row.laboratory_status>0&&1===a.row.need_lab_status?t("el-button",{staticClass:"text-blue",attrs:{type:"text",confirm:e.$t("lang.sendLaboratoryTip")},on:{confirm:function(t){return e.onLaboratory(a.row.source_id)}}},[e._v(e._s(e.$t("lang.action.laboratory")))]):e._e()]}}])}),e._v(" "),t("el-table-toolbar",{attrs:{slot:"toolbar"},slot:"toolbar"},[t("el-button",{staticClass:"print-btn empty-bule-btn iconfont-15",attrs:{slot:"right"},on:{click:function(t){return e.$router.push("/applications/dwdf/apply")}},slot:"right"},[t("i",{staticClass:"iconfont a-ico_new1x"}),e._v("\n          "+e._s(e.$t("lang.action.new"))+"\n        ")])],1),e._v(" "),e.showPagination?t("el-pagination",{attrs:{slot:"footer",layout:"total, prev, pager, next"},on:{sizeChange:e.onSizeChange},slot:"footer"}):e._e()],1),e._v(" "),t("el-cancel-dialog",{attrs:{visible:e.cancelForm.visible,form:e.cancelForm},on:{"update:visible":function(t){return e.$set(e.cancelForm,"visible",t)},onCancel:e.onCancel}})],1)],1)};O_._withStripped=!0;var A_=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),P_=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.api=x(),t.baseUrl="/api/afs/wsd",t.searchStatusOptions="en-US"===t.$i18n.locale?Ul:"zh-CN"===t.$i18n.locale?Hl:Wl,t.applyStatusOption="en-US"===t.$i18n.locale?zl:"zh-CN"===t.$i18n.locale?Nl:Bl,t.categoryOptions="en-US"===t.$i18n.locale?or:"zh-CN"===t.$i18n.locale?nr:lr,t.treaty="",t.showApplyTypeDialog=!1,t.showTreatyDialiog=!1,t.table=new Z({loader:"/public/dwdf/applications/list/:page",params:{filters:!0},actions:{delete:{method:"delete",url:"/public/dwdf/applications",after:"reload"}}}),t.cancelForm=new K({}),t.applyType="",t.showPagination=!0,t.agreementApplicationType={bathing:15,taps:16,machines:17,equipment:18,controllers:19,closets:20},t}return A_(t,e),t.prototype.onCancel=function(){var e=this;this.api.delete("/public/dwdf/applications/cancel",{data:this.cancelForm.model}).then((function(t){e.table.reload(),e.cancelForm.close(),E().success({message:e.$t("lang.cancelSuccess"),showClose:!0,duration:5e3})}))},t.prototype.onAdd=function(){this.$router.push({path:"/applications/dwdf/apply"})},t.prototype.onView=function(e){this.$router.push({path:"/applications/dwdf/detail/".concat(e)})},t.prototype.onEdit=function(e){this.$router.push("/applications/dwdf/apply/".concat(e))},t.prototype.onSizeChange=function(e){var t=this;this.table.size=e,this.showPagination=!1,setTimeout((function(){t.showPagination=!0}),100)},t.prototype.onSelectType=function(e){},t.prototype.onLaboratory=function(e){var t=this,a=n().service({lock:!0});this.api.post("/public/dwdf/applications/laboratory/notify/".concat(e)).then((function(e){a.close(),t.table.reload(),E().success({message:t.$t("lang.notifyLabLinkSuccess"),showClose:!0,duration:5e3})})).catch((function(e){a.close()}))},t.prototype.onGetConditions=function(){var e=this;return this.api.get("/public/setting/agreement",{params:{application_type:this.agreementApplicationType[this.applyType],type:10}}).then((function(t){t&&t.agreement&&(e.treaty=t.agreement)}
1)).catch((function(e){}))},t.prototype.onShowConditions=function(){return e=this,t=void 0,o=function(){return function(e,t){var a,o,l,n,r={label:0,sent:function(){if(1&l[0])throw l[1];return l[1]},trys:[],ops:[]};return n={next:i(0),throw:i(1),return:i(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function i(i){return function(s){return function(i){if(a)throw new TypeError("Generator is already executing.");for(;n&&(n=0,i[0]&&(r=0)),r;)try{if(a=1,o&&(l=2&i[0]?o.return:i[0]?o.throw||((l=o.return)&&l.call(o),0):o.next)&&!(l=l.call(o,i[1])).done)return l;switch(o=0,l&&(i=[2&i[0],l.value]),i[0]){case 0:case 1:l=i;break;case 4:return r.label++,{value:i[1],done:!1};case 5:r.label++,o=i[1],i=[0];continue;case 7:i=r.ops.pop(),r.trys.pop();continue;default:if(!((l=(l=r.trys).length>0&&l[l.length-1])||6!==i[0]&&2!==i[0])){r=0;continue}if(3===i[0]&&(!l||i[1]>l[0]&&i[1]<l[3])){r.label=i[1];break}if(6===i[0]&&r.label<l[1]){r.label=l[1],l=i;break}if(l&&r.label<l[2]){r.label=l[2],r.ops.push(i);break}l[2]&&r.ops.pop(),r.trys.pop();continue}i=t.call(e,r)}catch(e){i=[6,e],o=0}finally{a=l=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}}(this,(function(e){switch(e.label){case 0:return[4,this.onGetConditions()];case 1:return e.sent(),this.showTreatyDialiog=!0,[2]}}))},new((a=void 0)||(a=Promise))((function(l,n){function r(e){try{s(o.next(e))}catch(e){n(e)}}function i(e){try{s(o.throw(e))}catch(e){n(e)}}function s(e){var t;e.done?l(e.value):(t=e.value,t instanceof a?t:new a((function(e){e(t)}))).then(r,i)}s((o=o.apply(e,t||[])).next())}));var e,t,a,o},t.prototype.onDownloadLetter=function(e){var t=this;this.api.get("/public/dwdf/applications/approval_letter/".concat(e)).then((function(e){console.log("res",e),window.open("".concat(t.baseUrl,"/").concat(e.filename),"_blank")}))},t.prototype.mounted=function(){var e,t,a,o,l=document.getElementsByClassName("btn-prev"),n=document.getElementsByClassName("btn-next"),r=document.getElementsByClassName("el-range-input"),i=document.getElementsByClassName("el-table__cell gutter");for(var s in null===(e=l[0])||void 0===e||e.setAttribute("aria-label","pagination-btn-prev-label"),null===(t=n[0])||void 0===t||t.setAttribute("aria-label","pagination-btn-next-label"),r)if(Object.prototype.hasOwnProperty.call(r,s)){var c=r[s];null==c||c.setAttribute("id","dwdf_list_application_time_params_input_"+s)}null===(a=i[0])||void 0===a||a.append("1"),null===(o=i[0])||void 0===o||o.setAttribute("style","width: 0px; display: none; color: #3A6573; backgroundColor: #ffffff;")},function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r}([(0,o.wA)({components:{ElAdminContainer:Da,ElCard:fe(),ElSelect:Pr,ElOption:xr(),ElForm:ae,ElFormItem:pt,ElColumnRow:ke,ElDatePicker:Ho(),ElButton:Ge,ElTable:go,ElTableColumn:Uo(),ElTableToolbar:Nr,ElPagination:Kr,ElApplyTreatyDialog:es,ElDialog:pe,ElRadioGroup:Bc(),ElRadio:Hs(),ElInstructionsDialog:vc,ElCancelDialog:qs}})],t)}(o.w3),T_=P_,D_=(a(84894),(0,z.Z)(T_,O_,[],!1,null,null,null).exports),R_=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-admin-container",{class:["page-wels-apply","page-wels-bathing-apply","page-review-application","en-US"===e.$i18n.locale?"page-wels-bathing-apply-en":""],attrs:{breadcrumb:e.breadcrumb,showMenusPart:!0}},[t("el-part-menus",{attrs:{slot:"part-menus",menus:e.partList,active:e.partMaxActive},on:{"on-scroll-to":e.onScrollTo},slot:"part-menus"}),e._v(" "),t("div",{staticClass:"container entry-application-content"},[t("el-form",{attrs:{store:e.form,hasLabelSuffix:!1,rules:e.form.rules,onkeydown:"if(event.keyCode==13)return false;"},nativeOn:{submit:function(e){e.preventDefault()}}},[t("el-card",{staticClass:"entry-application-item-card company-info-card",attrs:{shadow:"never"}},[t("div",{staticClass:"dwdf-company-info-view"},[t("p",{staticClass:"application-item-card-title",attrs:{slot:"header"},slot:"header"},[e._v("\r\n            "+e._s(e.$t("lang.companyInformation"))+"\r\n          ")]),e._v(" "),t("el-column-row",[t("el-form-item",{class:e.formItemLabelClass,attrs:{percent:.4,label:e.$t("lang.company"),prop:"company_name"}}
1,[t("label",{attrs:{for:"dwdf_form_company_name",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"dwdf_form_company_name",placeholder:e.$t("lang.company"),readonly:!e.canEdit&&e.form.model.company_review&&1===e.form.model.company_review.status},model:{value:e.form.model.company_name,callback:function(t){e.$set(e.form.model,"company_name",t)},expression:"form.model.company_name"}})],1),e._v(" "),t("el-form-item",{class:e.formItemLabelClass,attrs:{percent:.4,label:e.$t("lang.englishCompany"),prop:"english_company_name"}},[t("label",{attrs:{for:"dwdf_form_english_company_name",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"dwdf_form_english_company_name",placeholder:e.$t("lang.englishCompany"),readonly:!e.canEdit&&e.form.model.company_review&&1===e.form.model.company_review.status},model:{value:e.form.model.english_company_name,callback:function(t){e.$set(e.form.model,"english_company_name",t)},expression:"form.model.english_company_name"}})],1)],1),e._v(" "),t("el-column-row",[t("el-form-item",{attrs:{percent:.4,label:e.$t("lang.companyAddress"),prop:"company_address"}},[t("label",{attrs:{for:"dwdf_form_company_address",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"dwdf_form_company_address",placeholder:e.$t("lang.companyAddress"),readonly:!e.canEdit&&e.form.model.company_review&&1===e.form.model.company_review.status},model:{value:e.form.model.company_address,callback:function(t){e.$set(e.form.model,"company_address",t)},expression:"form.model.company_address"}})],1),e._v(" "),t("el-form-item",{attrs:{percent:.4,label:e.$t("lang.correspondingAddress"),prop:"company_corresponding_address"}},[t("label",{attrs:{for:"dwdf_form_company_corresponding_address",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"dwdf_form_company_corresponding_address",placeholder:e.$t("lang.correspondingAddress"),readonly:!e.canEdit&&e.form.model.company_review&&1===e.form.model.company_review.status},model:{value:e.form.model.company_corresponding_address,callback:function(t){e.$set(e.form.model,"company_corresponding_address",t)},expression:"form.model.company_corresponding_address"}})],1)],1),e._v(" "),t("el-column-row",[t("el-form-item",{attrs:{percent:.4,label:e.$t("lang.TEL"),prop:"company_phone"}},[t("label",{attrs:{for:"dwdf_form_company_phone",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"dwdf_form_company_phone",placeholder:e.$t("lang.TEL"),readonly:!e.canEdit&&e.form.model.company_review&&1===e.form.model.company_review.status},model:{value:e.form.model.company_phone,callback:function(t){e.$set(e.form.model,"company_phone",t)},expression:"form.model.company_phone"}})],1),e._v(" "),t("el-form-item",{attrs:{percent:.4,label:e.$t("lang.Fax"),prop:"company_fax1"}},[t("label",{attrs:{for:"dwdf_form_company_fax",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"dwdf_form_company_fax",placeholder:e.$t("lang.Fax"),readonly:!e.canEdit&&e.form.model.company_review&&1===e.form.model.company_review.status},model:{value:e.form.model.company_fax,callback:function(t){e.$set(e.form.model,"company_fax",t)},expression:"form.model.company_fax"}})],1)],1),e._v(" "),t("el-column-row",[t("el-form-item",{attrs:{percent:.4,label:e.$t("lang.onlyemail"),prop:"company_email"}},[t("label",{attrs:{for:"dwdf_form_company_email",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"dwdf_form_company_email",placeholder:e.$t("lang.onlyemail"),readonly:!e.canEdit&&e.form.model.company_review&&1===e.form.model.company_review.status},model:{value:e.form.model.company_email,callback:function(t){e.$set(e.form.model,"company_email",t)},expression:"form.model.company_email"}})],1),e._v(" "),t("el-form-item",{attrs:{percent:.4,label:e.$t("lang.website"),prop:"company_website"}},[t("label",{attrs:{for:"dwdf_form_company_website",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"dwdf_form_company_website",placeholder:e.$t("lang.website"),readonly:!e.canEdit&&e.form.model.company_review&&1===e.form.model.company_review.status},model:{value:e.form.model.company_website,callback:function(t){e.$set(e.form.model,"company_website",t)},expression:"form.model.company_website"}})],1)],1),e._v(" "),t("el-column-row",[t("el-form-item",{attrs:{percent:.4,label:e.$t("lang.contactPersonTitle"),prop:"company_contact"}},[t("label",{attrs:{for:"dwdf_form_company_contact",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"dwdf_form_company_contact",placeholder:e.$t("lang.contactPersonTitle"),readonly:!e.canEdit&&e.form.model.company_review&&1===e.form.model.company_review.status},model:{value:e.form.model.company_contact,callback:function(t){e.$set(e.form.model,"company_contact",t)},expression:"form.model.company_contact"}})],1),e._v(" "),t("el-form-item",{staticClass:"item-flex",attrs:{percent:.4,label:e.$t("lang.companyType"),prop:"company_type"}},[t("label",{attrs:{for:"dwdf_form_company_type",hidden:""}},[e._v("''")]),e._v(" "),t("el-select",{staticClass:"d-flex-1",attrs:{id:"dwdf_form_company_type",loader:e.companyType,disabled:!e.canEdit&&e.form.model.company_review&&1===e.form.model.company_review.status},model:{value:e.form.model.company_type,callback:function(t){e.$set(e.form.model,"company_type",t)},expression:"form.model.company_type"}}),e._v(" "),t("el-form-item",{staticClass:"label-width-zero"},[t("label",{attrs:{for:"dwdf_form_company_type_other",hidden:""}},[e._v("''")]),e._v(" "),"other"===e.form.model.company_type?t("el-input",{staticClass:"d-flex-1",attrs:{id:"dwdf_form_company_type_other",placeholder:e.$t("lang.companyType"),readonly:!e.canEdit&&e.form.model.company_review&&1===e.form.model.company_review.status},model:{value:e.form.model.company_type_other,callback:function(t){e.$set(e.form.model,"company_type_other",t)},expression:"form.model.company_type_other"}}
1):e._e()],1)],1)],1),e._v(" "),t("el-column-row",[t("el-form-item",{attrs:{percent:.4,label:e.$t("lang.contactGender"),prop:"contact_call"}},[t("label",{attrs:{for:"dwdf_form_contact_call",hidden:""}},[e._v("''")]),e._v(" "),t("el-radio-group",{staticClass:"height-40 d-flex align-items-center",attrs:{id:"dwdf_form_contact_call",disabled:!e.canEdit&&e.form.model.company_review&&1===e.form.model.company_review.status},model:{value:e.form.model.contact_call,callback:function(t){e.$set(e.form.model,"contact_call",t)},expression:"form.model.contact_call "}},[t("el-radio",{attrs:{label:1}},[e._v(e._s(e.$t("lang.mr")))]),e._v(" "),t("el-radio",{attrs:{label:2}},[e._v(e._s(e.$t("lang.ms")))])],1)],1)],1),e._v(" "),[t("el-form-item",{staticClass:"label-width-zero",attrs:{"label-width":"0",label:e.$t("lang.distributors"),percent:.8}},[t("el-table",{attrs:{data:e.form.model.company_distributors,border:"",hasHeight:!1}},[t("el-table-column",{attrs:{label:e.$t("lang.name"),prop:"name"}}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.address"),prop:"address"}}),e._v(" "),!e.canEdit&&e.form.model.company_review&&0===e.form.model.company_review.status||!e.form.model.company_review||-1===e.form.model.status?t("el-table-column",{attrs:{label:"-",width:"100px",align:"center","class-name":"cell-flex-row cell-align-center cell-justify-center"},scopedSlots:e._u([{key:"default",fn:function(a){return[t("el-button",{staticClass:"no-border-btn action-delete-btn",attrs:{"aria-label":"dwdf_form_company_distributors_btn_delete",icon:"iconfont ico_delete1",confirm:e.$t("lang.deleteDistributorsTip"),type:"text",confirmButtonText:e.$t("lang.sure")},on:{confirm:()=>e.onDeleteDistributors(a.$index)}}),e._v(" "),t("el-button",{staticClass:"no-border-btn width-auto margin-left-0",attrs:{icon:"iconfont WechatIMG27203"},on:{click:function(t){return e.onEditDistributors(a.$index)}}})]}}],null,!1,777119850)}):e._e()],1),e._v(" "),!e.canEdit&&e.form.model.company_review&&0===e.form.model.company_review.status||!e.form.model.company_review||-1===e.form.model.status?t("el-button",{staticClass:"form-table-add-btn fill-blue-unhover-btn",on:{click:e.onShowDistributorsDialog}},[t("i",{staticClass:"iconfont ico_create1"}),e._v("\r\n                "+e._s(e.$t("lang.action.add"))+"\r\n              ")]):e._e()],1)],e._v(" "),e.form.model.company_review&&0===e.form.model.company_review.status?t("el-form-item",{staticClass:"rejection-reasons-form-item label-width-zero content-item-view",attrs:{label:e.$t("lang.reasonsForRejection"),"label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none",readonly:!0},model:{value:e.form.model.company_review.rejection,callback:function(t){e.$set(e.form.model.company_review,"rejection",t)},expression:"form.model.company_review.rejection"}})],1):e._e()],2)]),e._v(" "),t("el-card",{staticClass:"entry-application-item-card product-info-card",attrs:{shadow:"never"}},[t("div",{staticClass:"wua-product-info-view"},[t("p",{staticClass:"application-item-card-title",attrs:{slot:"header"},slot:"header"},[e._v("\r\n            "+e._s(e.$t("lang.productInformation"))+"\r\n          ")]),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto",attrs:{percent:.4,label:e.$t("lang.formHeader.brand"),prop:"product_brand"}},[t("label",{attrs:{for:"dwdf_form_product_brand",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"dwdf_form_product_brand",placeholder:e.$t("lang.formHeader.brand"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.product_brand,callback:function(t){e.$set(e.form.model,"product_brand",t)},expression:"form.model.product_brand"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{percent:.4,label:e.$t("lang.modelNo"),prop:"product_model"}},[t("label",{attrs:{for:"dwdf_form_product_model",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"dwdf_form_product_model",placeholder:e.$t("lang.modelNo"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.product_model,callback:function(t){e.$set(e.form.model,"product_model",t)},expression:"form.model.product_model"}}
1)],1)],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto",attrs:{percent:.4,label:e.$t("lang.dwdf.product_description"),prop:"product_description"}},[t("label",{attrs:{for:"dwdf_form_product_description",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"dwdf_form_product_description",placeholder:e.$t("lang.dwdf.product_description"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.product_description,callback:function(t){e.$set(e.form.model,"product_description",t)},expression:"form.model.product_description"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{percent:.4,label:e.$t("lang.dwdf.category"),prop:"product_category"}},[t("label",{attrs:{for:"dwdf_form_type",hidden:""}},[e._v("''")]),e._v(" "),t("el-select",{attrs:{id:"dwdf_form_type",loader:e.categoryOptions,disabled:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.product_category,callback:function(t){e.$set(e.form.model,"product_category",t)},expression:"form.model.product_category"}})],1)],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto",attrs:{percent:.4,label:e.$t("lang.nameIfAny"),prop:"product_name"}},[t("label",{attrs:{for:"dwdf_form_product_name",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"dwdf_form_product_name",placeholder:e.$t("lang.nameIfAny"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.product_name,callback:function(t){e.$set(e.form.model,"product_name",t)},expression:"form.model.product_name"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{percent:.4,label:e.$t("lang.water_inlet_size"),prop:"water_inlet_size"}},[t("label",{attrs:{for:"dwdf_form_water_inlet_size",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"dwdf_form_water_inlet_size",placeholder:e.$t("lang.water_inlet_size"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.water_inlet_size,callback:function(t){e.$set(e.form.model,"water_inlet_size",t)},expression:"form.model.water_inlet_size"}})],1)],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto",attrs:{percent:.4,label:e.$t("lang.dwdf.chinese_manufacturer"),prop:"chinese_product_manufacturer"}},[t("label",{attrs:{for:"dwdf_form_chinese_manufacturer",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"dwdf_form_chinese_manufacturer",placeholder:e.$t("lang.dwdf.chinese_manufacturer"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.chinese_product_manufacturer,callback:function(t){e.$set(e.form.model,"chinese_product_manufacturer",t)},expression:"form.model.chinese_product_manufacturer"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{percent:.4,label:e.$t("lang.dwdf.english_manufacturer"),prop:"product_manufacturer"}},[t("label",{attrs:{for:"dwdf_form_english_manufacturer",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"dwdf_form_english_manufacturer",placeholder:e.$t("lang.dwdf.english_manufacturer"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.product_manufacturer,callback:function(t){e.$set(e.form.model,"product_manufacturer",t)},expression:"form.model.product_manufacturer"}})],1)],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto",attrs:{percent:.4,label:e.$t("lang.dwdf.full_factory"),prop:"full_address_factory"}},[t("label",{attrs:{for:"dwdf_form_full_factory",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"dwdf_form_full_factory",placeholder:e.$t("lang.dwdf.full_factory"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.full_address_factory,callback:function(t){e.$set(e.form.model,"full_address_factory",t)},expression:"form.model.full_address_factory"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{percent:.4,label:e.$t("lang.countryRegionOfOrigin"),prop:"product_region"}},[t("label",{attrs:{for:"dwdf_form_product_region",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"dwdf_form_product_region",placeholder:e.$t("lang.countryRegionOfOrigin"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.product_region,callback:function(t){e.$set(e.form.model,"product_region",t)},expression:"form.model.product_region"}})],1)],1),e._v(" "),t("el-form-item",{staticClass:"label-flex-center label-width-zero",attrs:{label:e.$t("lang.catalogue"),prop:"catalogue_doc",percent:.8,"label-width":"0"}},[t("template",{slot:"label"},[e._v("\r\n              "+e._s(e.$t("lang.catalogue"))+"\r\n              "),t("el-button",{staticClass:"no-border-btn question-mark-btn",attrs:{"aria-label":"dwdf_form_catalogue_tip",icon:"iconfont a-ico_"},on:{click:function(t){return e.onShowInstructionsDialog("catalogue")}}})],1),e._v(" "),t("el-document-upload",{attrs:{application_status:e.form.model.status,multiple:!0,"base-url":e.baseUrl,action:e.baseUrl,readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.catalogue_doc,callback:function(t){e.$set(e.form.model,"catalogue_doc",t)},expression:"form.model.catalogue_doc"}}
1)],2),e._v(" "),t("el-form-item",{staticClass:"label-width-zero",attrs:{label:e.$t("lang.dwdf.frontAndSideViews"),percent:.8,"label-width":"0",prop:"front_doc"}},[t("el-document-upload",{attrs:{application_status:e.form.model.status,multiple:!0,"base-url":e.baseUrl,action:e.baseUrl,readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.front_doc,callback:function(t){e.$set(e.form.model,"front_doc",t)},expression:"form.model.front_doc"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-width-zero",attrs:{label:e.$t("lang.uploadOtherPicture"),percent:.8,"label-width":"0"}},[t("el-document-upload",{attrs:{application_status:e.form.model.status,multiple:!0,"base-url":e.baseUrl,action:e.baseUrl,readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.product_photo_doc,callback:function(t){e.$set(e.form.model,"product_photo_doc",t)},expression:"form.model.product_photo_doc"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-width-zero",attrs:{label:e.$t("lang.dwdf.label"),percent:.8,"label-width":"0",prop:"water_efficiency_label"}},[t("label",{attrs:{for:"dwdf_form_label",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"dwdf_form_label",placeholder:e.$t("lang.dwdf.label"),readonly:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.water_efficiency_label,callback:function(t){e.$set(e.form.model,"water_efficiency_label",t)},expression:"form.model.water_efficiency_label"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.dwdf.label_date"),prop:"label_commencement_date",percent:.6}},[t("label",{attrs:{for:"dwdf_form_label_date",hidden:""}},[e._v("''")]),e._v(" "),t("el-date-picker",{attrs:{id:"dwdf_form_label_date",type:"month",format:"yyyy-MM","value-format":"yyyy-MM","picker-options":e.pickerOptions,disabled:!e.canEdit&&e.form.model.product_review&&1===e.form.model.product_review.status},model:{value:e.form.model.label_commencement_date,callback:function(t){e.$set(e.form.model,"label_commencement_date",t)},expression:"form.model.label_commencement_date"}})],1),e._v(" "),e.form.model.product_review&&0===e.form.model.product_review.status?t("el-form-item",{staticClass:"rejection-reasons-form-item label-width-zero content-item-view",attrs:{label:e.$t("lang.reasonsForRejection"),"label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none",readonly:!0},model:{value:e.form.model.product_review.rejection,callback:function(t){e.$set(e.form.model.product_review,"rejection",t)},expression:"form.model.product_review.rejection"}})],1):e._e()],1)]),e._v(" "),t("el-card",{staticClass:"entry-application-item-card company-info-card",attrs:{shadow:"never"}},[t("div",{staticClass:"wua-product-info-view"},[t("p",{staticClass:"application-item-card-title",attrs:{slot:"header"},slot:"header"},[e._v("\r\n            "+e._s(e.$t("lang.supportDoc"))+"\r\n          ")]),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"select-laboratorys margin-bottom-15 label-width-auto",attrs:{label:e.$t("lang.laboratory_names"),percent:.4,prop:"laboratories"}},[t("label",{attrs:{for:"dwdf_form_laboratories",hidden:""}},[e._v("''")]),e._v(" "),t("el-select",{attrs:{id:"dwdf_form_laboratories",loader:"/internal/laboratories/type/2",valueKey:"id",labelKey:"en-US"===e.$i18n.locale?"english_name":"chinese_name",addOption:{value:"100001",label:"Others",id:"100001"},disabled:!e.canEdit&&e.form.model.document_review&&1===e.form.model.document_review.status},on:{change:e.onChangeLab},model:{value:e.form.model.laboratories,callback:function(t){e.$set(e.form.model,"laboratories",t)},expression:"form.model.laboratories"}})],1),e._v(" "),e.form.model.laboratories&&"100001"!==e.form.model.laboratories?t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.labReportRef"),percent:.4,prop:"lab_report_ref"}},[t("label",{attrs:{for:"dwdf_form_lab_report_ref",hidden:""}},[e._v("''")]),e._v(" "),t("el-input",{attrs:{id:"dwdf_form_lab_report_ref",placeholder:e.$t("lang.labReportRef"),readonly:!e.canEdit&&e.form.model.document_review&&1===e.form.model.document_review.status},model:{value:e.form.model.lab_report_ref,callback:function(t){e.$set(e.form.model,"lab_report_ref",t)},expression:"form.model.lab_report_ref"}}
1)],1):e._e()],1),e._v(" "),t("el-form-item",{staticClass:"product-catalog-form-item d-flex flex-column label-flex-center label-width-zero",attrs:{percent:.8,"label-width":"0"}},[t("template",{slot:"label"},[e._v("\r\n              "+e._s(e.$t("lang.dwdf.other_certificates"))+"\r\n            ")]),e._v(" "),t("el-document-upload",{attrs:{multiple:!0,"base-url":e.baseUrl,action:e.baseUrl,application_status:e.form.model.status,readonly:!e.canEdit&&e.form.model.document_review&&1===e.form.model.document_review.status},model:{value:e.form.model.other_cert_doc,callback:function(t){e.$set(e.form.model,"other_cert_doc",t)},expression:"form.model.other_cert_doc"}})],2),e._v(" "),t("el-column-row",[e.form.model.test_report_doc&&e.form.model.test_report_doc.length>0?t("el-form-item",{staticClass:"label-width-zero",attrs:{label:e.$t("lang.detailedTestReportReadOnly"),"label-width":"0",percent:.8}},[t("el-document-upload",{attrs:{multiple:!0,application_status:e.form.model.status,"base-url":e.baseUrl,action:e.baseUrl,readonly:!0},model:{value:e.form.model.test_report_doc,callback:function(t){e.$set(e.form.model,"test_report_doc",t)},expression:"form.model.test_report_doc"}})],1):e._e()],1),e._v(" "),e.form.model.document_review&&0===e.form.model.document_review.status?t("el-form-item",{staticClass:"rejection-reasons-form-item label-width-zero content-item-view",attrs:{label:e.$t("lang.reasonsForRejection"),"label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none",readonly:!0},model:{value:e.form.model.document_review.rejection,callback:function(t){e.$set(e.form.model.document_review,"rejection",t)},expression:"form.model.document_review.rejection"}})],1):e._e()],1)]),e._v(" "),t("el-card",{staticClass:"entry-application-item-card",attrs:{shadow:"never"}},[t("p",{staticClass:"application-item-card-title",attrs:{slot:"header"},slot:"header"},[t("span",{staticStyle:{color:"red"}},[e._v("*")]),e._v(" "+e._s(e.$t("lang.participantObligations"))+"\r\n        ")]),e._v(" "),t("el-column-row",{staticClass:"treaty-view"},[t("div",{domProps:{innerHTML:e._s(e.treaty)}}),e._v(" "),t("div",{staticClass:"agree-treaty-view margin-top-10"},[t("el-checkbox",{attrs:{"true-label":1,"false-label":0},model:{value:e.form.model.disclaimer,callback:function(t){e.$set(e.form.model,"disclaimer",t)},expression:"form.model.disclaimer"}},[e._v(e._s(e.$t("lang.tickToAgree")))])],1)])],1),e._v(" "),e.form.model.id?e._e():t("el-card",{staticClass:"applicant-card entry-application-item-card",attrs:{shadow:"never"}},[t("template",{slot:"header"},[e._v(e._s(e.$t("lang.applyMessageTitle")))]),e._v(" "),t("el-form-item",{attrs:{prop:"upload_other_info","label-width":"0"}},[t("el-checkbox",{attrs:{"true-label":1,"false-label":0},model:{value:e.form.model.upload_other_info,callback:function(t){e.$set(e.form.model,"upload_other_info",t)},expression:"form.model.upload_other_info"}},[e._v(e._s(e.$t("lang.uploadOtherInfo")))])],1),e._v(" "),e.form.model.upload_other_info?[t("el-form-item",{attrs:{prop:"upload_other_info_msg","label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none"},model:{value:e.form.model.upload_other_info_msg,callback:function(t){e.$set(e.form.model,"upload_other_info_msg",t)},expression:"form.model.upload_other_info_msg"}})],1),e._v(" "),t("el-form-item",{staticClass:"d-flex flex-column",attrs:{prop:"upload_other_info_doc","label-width":"0"}},[t("el-document-upload",{attrs:{multiple:!0,application_status:e.form.model.status,"base-url":e.baseUrl,action:e.baseUrl,readonly:!e.canEdit},model:{value:e.form.model.upload_other_info_doc,callback:function(t){e.$set(e.form.model,"upload_other_info_doc",t)},expression:"form.model.upload_other_info_doc"}})],1)]:e._e()],2),e._v(" "),e.form.model.id?t("el-review-message",{attrs:{applicationId:e.form.model.id,stage:e.form.model.status}},[t("el-form-item",{attrs:{prop:"upload_other_info","label-width":"0"}},[t("el-checkbox",{attrs:{"true-label":1,"false-label":0,disabled:!e.canEdit&&e.form.model.upload_other_info_review&&1===e.form.model.upload_other_info_review.status},model:{value:e.form.model.upload_other_info,callback:function(t){e.$set(e.form.model,"upload_other_info",t)},expression:"form.model.upload_other_info"}}
1,[e._v(e._s(e.$t("lang.uploadOtherInfo")))])],1),e._v(" "),e.form.model.upload_other_info?[t("el-form-item",{attrs:{prop:"upload_other_info_msg","label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none",readonly:!e.canEdit&&e.form.model.upload_other_info_review&&1===e.form.model.upload_other_info_review.status},model:{value:e.form.model.upload_other_info_msg,callback:function(t){e.$set(e.form.model,"upload_other_info_msg",t)},expression:"form.model.upload_other_info_msg"}})],1),e._v(" "),t("el-form-item",{staticClass:"d-flex flex-column",attrs:{prop:"upload_other_info_doc","label-width":"0"}},[t("el-document-upload",{attrs:{multiple:!0,"base-url":e.baseUrl,action:e.baseUrl,text:e.$t("lang.action.upload"),application_status:e.form.model.status,readonly:!e.canEdit&&e.form.model.upload_other_info_review&&1===e.form.model.upload_other_info_review.status},model:{value:e.form.model.upload_other_info_doc,callback:function(t){e.$set(e.form.model,"upload_other_info_doc",t)},expression:"form.model.upload_other_info_doc"}})],1)]:e._e(),e._v(" "),e.form.model.upload_other_info_review&&0===e.form.model.upload_other_info_review.status?t("el-form-item",{staticClass:"rejection-reasons-form-item label-width-zero content-item-view",attrs:{label:e.$t("lang.reasonsForRejection"),"label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none",readonly:!0},model:{value:e.form.model.upload_other_info_review.rejection,callback:function(t){e.$set(e.form.model.upload_other_info_review,"rejection",t)},expression:"form.model.upload_other_info_review.rejection"}})],1):e._e()],2):e._e()],1),e._v(" "),t("div",{staticClass:"entry-application-footer"},[t("el-button",{staticClass:"empty-bule-btn",on:{click:function(t){return e.$router.push({path:"/applications/dwdf"})}}},[e._v(e._s(e.$t("lang.action.cancel")))]),e._v(" "),"100001"===e.form.model.laboratories||e.form.model.document_review&&0!==e.form.model.document_review.status||0!==e.form.model.status||!e.form.model.record||10!=e.form.model.record.type&&15!=e.form.model.record.type?e._e():t("el-button",{staticClass:"empty-bule-btn",on:{click:e.onSelectTurnDoc}},[e._v(e._s(e.$t("lang.reactivateLabUpload")))]),e._v(" "),e.form.model.id&&-1!=e.form.model.status&&0!==e.form.model.status?e._e():t("el-button",{staticClass:"empty-bule-btn",on:{click:e.onSaveForm}},[e._v(e._s(e.$t("lang.action.save")))]),e._v(" "),-1===e.form.model.status?t("el-button",{staticClass:"fill-blue-btn",on:{click:function(t){return e.handleCreate()}}},[e._v(e._s(e.$t("lang.action.created")))]):e._e(),e._v(" "),0!==e.form.model.status||!e.form.model.record||10!=e.form.model.record.type&&15!=e.form.model.record.type?e._e():t("el-button",{staticClass:"fill-blue-btn",on:{click:function(t){return e.handleSubmit()}}},[e._v(e._s(e.$t("lang.action.submit")))])],1),e._v(" "),t("el-instructions-dialog",{attrs:{visible:e.showInstructionsDialog,content:e.instructionsContent},on:{"update:visible":function(t){e.showInstructionsDialog=t}}}),e._v(" "),t("el-dialog",{staticClass:"reutn-doc-dialog position-center",attrs:{visible:e.showSupporDocDialog,width:"680px",title:e.$t("lang.supportingDocuments")},on:{close:function(t){e.showSupporDocDialog=!1}}},[e.supporDocList&&e.supporDocList.length?t("el-checkbox-group",{model:{value:e.selectSupporDoc,callback:function(t){e.selectSupporDoc=t},expression:"selectSupporDoc"}},e._l(e.supporDocList,(function(a){return t("el-checkbox",{key:a.id,attrs:{label:a.id}},[e._v(e._s(`${a.test_report_no}(DWDF)`))])})),1):e._e(),e._v(" "),t("template",{slot:"footer"},[t("el-button",{staticClass:"refuse-btn",on:{click:function(t){e.showSupporDocDialog=!1}}},[e._v("\r\n          "+e._s(e.$t("lang.action.close"))+"\r\n        ")]),e._v(" "),t("el-button",{staticClass:"agree-btn",attrs:{type:"primary"},on:{click:e.onSubmitSelectDoc}},[e._v(" "+e._s(e.$t("lang.action.submit"))+" ")])],1)],2),e._v(" "),t("add-distributors-dialog",{attrs:{visible:e.showDistributorsDialog},on:{"update:visible":function(t){e.showDistributorsDialog=t},"on-add":e.onAddDistributors},model:{value:e.distributorsItem,callback:function(t){e.distributorsItem=t},expression:"distributorsItem"}})],1)],1)};R_._withStripped=!0;var I_=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-dialog",{staticClass:"add-distributors-dialog position-center",attrs:{width:"500px",t
1itle:e.$t("lang.distributors"),visible:e.visible,"destroy-on-close":!0,"close-on-click-modal":!1,"append-to-body":""},on:{close:function(t){return e.$emit("update:visible",!1)}}},[t("el-form",{attrs:{store:e.form,"status-icon":"",hasLabelSuffix:!1}},[t("el-form-item",{attrs:{label:e.$t("lang.name"),prop:"name"}},[t("el-input",{attrs:{placeholder:e.$t("lang.name")},model:{value:e.form.model.name,callback:function(t){e.$set(e.form.model,"name",t)},expression:"form.model.name"}})],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("lang.address"),prop:"address"}},[t("el-input",{attrs:{placeholder:e.$t("lang.address")},model:{value:e.form.model.address,callback:function(t){e.$set(e.form.model,"address",t)},expression:"form.model.address"}})],1)],1),e._v(" "),t("template",{slot:"footer"},[t("el-button",{staticClass:"refuse-btn",on:{click:function(t){return e.$emit("update:visible",!1)}}},[e._v("\n      "+e._s(e.$t("lang.action.close"))+"\n    ")]),e._v(" "),t("el-button",{staticClass:"agree-btn",attrs:{type:"primary"},on:{click:e.onAdd}},[e._v(" "+e._s(e.$t("lang.action.submit"))+" ")])],1)],2)};I_._withStripped=!0;var F_=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),L_=function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r},q_=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},M_=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.form=new K({rules:{name:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],address:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{max:200,message:"".concat(t.$t("lang.characterLength")," 200"),trigger:"blur"}]}}),t}var a,l;return F_(t,e),t.prototype.onWatch=function(e){this.$set(this.form,"model",e)},t.prototype.onAdd=function(){var e=this;this.form.validate().then((function(){e.$emit("on-add",e.form.model),e.form.model={}}))},L_([(0,o.fI)(),q_("design:type",Boolean)],t.prototype,"visible",void 0),L_([(0,o.fI)({required:!0,default:{}}),q_("design:type","function"==typeof(a="undefined"!=typeof CompanyDistributor&&CompanyDistributor)?a:Object)],t.prototype,"value",void 0),L_([(0,o.RL)("value"),q_("design:type",Function),q_("design:paramtypes",["function"==typeof(l="undefined"!=typeof CompanyDistributor&&CompanyDistributor)?l:Object]),q_("design:returntype",void 0)],t.prototype,"onWatch",null),L_([(0,o.wA)({components:{ElDialog:pe,ElInput:Ze(),ElButton:Ge,ElForm:ae,ElFormItem:pt,ElDocumentUpload:Eo}})],t)}(o.w3),j_=M_,z_=(a(59548),(0,z.Z)(j_,I_,[],!1,null,null,null).exports),N_=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),B_=function(){return B_=Object.assign||function(e){for(var t,a=1,o=arguments.length;a<o;a++)for(var l in t=arguments[a])Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l]);return e},B_.apply(this,arguments)},U_=x(),W_=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.breadcrumb=[{path:"",title:t.$t("lang.eApplication")},{path:"/applications/dwdf",title:"DWDF"},{path:"",title:""}],t.formItemLabelClass="en-US"===t.$i18n.locale?"label-width-auto":"",t.categoryOptions="en-US"===t.$i18n.locale?or:"zh-CN"===t.$i18n.locale?nr:lr,t.companyType="en-US"===t.$i18n.locale?xn:"zh-CN"===t.$i18n.locale?Sn:En,t.api=x(),t.baseUrl="/api/afs/wsd",t.partMaxActive=1,t.partList=[{name:"lang.companyInformation"},{name:"lang.productInformation"},{name:"lang.supportDoc"},{name:"lang.participantObligations"},{name:"lang.applyMessageTitle"}
1],t.partActive=1,t.cardListTop=[],t.pageCenterNum=0,t.treaty="",t.agreeTreaty=!1,t.canEdit=!0,t.showDistributorsDialog=!1,t.errMessage={111:t.$t("lang.pleaseCompleteAllRequiredFields"),90003:t.$t("lang.applicationAlreadyExists"),90005:t.$t("lang.applicationAlreadySubmit"),90007:t.$t("lang.applicationDraftErr"),90009:t.$t("lang.applicationTestReportErr")},t.form=new K({loader:"/public/dwdf/applications/:id",action:"/public/dwdf/applications",default:{status:-1,company_distributors:[]},rules:{laboratories:[{required:!0,message:t.$t("lang.pleaseChoose"),trigger:"change"}],company_name:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{whitespace:!0,message:t.$t("lang.cannotJustSpaces"),trigger:"blur"},{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],english_company_name:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{whitespace:!0,message:t.$t("lang.cannotJustSpaces"),trigger:"blur"},{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],company_type_other:[{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"}],company_address:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{whitespace:!0,message:t.$t("lang.cannotJustSpaces"),trigger:"blur"},{max:250,message:"".concat(t.$t("lang.characterLength")," 250"),trigger:"blur"}],company_phone:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"},{validator:function(e,a,o){return qc(0,a,o,t.$t("lang.pleaseEnter"),t.$t("lang.pleaseEnterCorrectNum"))},trigger:"blur"}],company_fax:[{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"},{validator:function(e,a,o){return qc(0,a,o,"",t.$t("lang.pleaseEnterCorrectNum"))},trigger:"blur"}],company_email:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{type:"email",message:t.$t("lang.inputCorrectEmailAddress"),trigger:"blur"},{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"}],company_contact:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"}],lab_report_ref_doc:[{required:!0,message:t.$t("lang.pleaseUploadFile"),trigger:"blur"}],catalogue_doc:[{required:!0,message:t.$t("lang.pleaseUploadFile"),trigger:"blur"}],front_doc:[{required:!0,message:t.$t("lang.pleaseUploadFile"),trigger:"blur"}],company_type:[{required:!0,message:t.$t("lang.pleaseChoose"),trigger:"change"}],lab_report_ref:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{max:40,message:"".concat(t.$t("lang.characterLength")," 40"),trigger:"blur"}],contact_call:[{required:!0,message:t.$t("lang.pleaseChoose"),trigger:"blur"}],company_corresponding_address:[{max:250,message:"".concat(t.$t("lang.characterLength")," 250"),trigger:"blur"}],company_website:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],product_brand:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{whitespace:!0,message:t.$t("lang.cannotJustSpaces"),trigger:"blur"},{max:255,message:"".concat(t.$t("lang.characterLength")," 255"),trigger:"blur"}],product_model:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{whitespace:!0,message:t.$t("lang.cannotJustSpaces"),trigger:"blur"},{max:255,message:"".concat(t.$t("lang.characterLength")," 255"),trigger:"blur"}],product_description:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{whitespace:!0,message:t.$t("lang.cannotJustSpaces"),trigger:"blur"},{max:255,message:"".concat(t.$t("lang.characterLength")," 255"),trigger:"blur"}],chinese_product_manufacturer:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{whitespace:!0,message:t.$t("lang.cannotJustSpaces"),trigger:"blur"},{max:255,message:"".concat(t.$t("lang.characterLength")," 255"),trigger:"blur"}],product_manufacturer:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{whitespace:!0,message:t.$t("lang.cannotJustSpaces"),trigger:"blur"},{max:255,message:"".concat(t.$t("lang.characterLength")," 255"),trigger:"blur"}],water_inlet_size:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{whitespace:!0,message:t.$t("lang.cannotJustSpaces"),trigger:"blur"},{max:255,message:"".concat(t.$t("lang.characterLength")," 255"),trigger:"blur"}],product_category:[{required:!0,message:t.$t("lang.pleaseChoose"),trigger:"change"}],label_commencement_date:[{required:!0,message:t.$t("lang.pleaseChoose"),trigger:"change"}],product_region:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{whitespace:!0,message:t.$t("lang.cannotJustSpaces"),trigger:"blur"},{max:255,message:"".concat(t.$t("lang.characterLength")," 255"),trigger:"blur"}],full_address_factory:[{required:!0,message:t.$t("lang.pleaseEnter"),trigger:"blur"},{whitespace:!0,message:t.$t("lang.cannotJustSpaces"),trigger:"blur"},{max:1024,message:"".concat(t.$t("lang.characterLength")," 1024"),trigger:"blur"}],product_name:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}
1],water_efficiency_label:[{max:100,message:"".concat(t.$t("lang.characterLength")," 100"),trigger:"blur"}],upload_other_info_msg:[{max:250,message:"".concat(t.$t("lang.characterLength")," 250"),trigger:"blur"}]},onSubmitSuccess:function(){t.successMessage("submit")},onSubmitFailure:function(e){var a=e?t.errMessage[e]:t.errMessage[111];a&&E().error({message:a,duration:5e3,showClose:!0})}}),t.showInstructionsDialog=!1,t.instructionsContent="",t.pickerOptions={disabledDate:function(e){return e.getTime()<Date.now()-864e5}},t.showSupporDocDialog=!1,t.supporDocList=[],t.selectSupporDoc=[],t.distributorsIndex=-1,t.distributorsItem={},t}return N_(t,e),t.prototype.onChangeLab=function(e){"100001"==e&&ze()({dangerouslyUseHTMLString:!0,title:"".concat(this.$t("lang.kindTips")),message:"\n        <div>".concat(this.$t("lang.sendReportFileToWsdoffice"),"</div>\n        </br>\n        <div>").concat(this.$t("lang.sendReportFileToWsdoffice1"),"</div>\n        </br>\n        <div>").concat(this.$t("lang.sendReportFileToWsdoffice2"),"</div>\n        ")})},t.prototype.onShowInstructionsDialog=function(e){switch(this.showInstructionsDialog=!0,e){case"system":this.instructionsContent=this.$t("lang.docProofDesignInstructions");break;case"catalogue":this.instructionsContent=this.$t("lang.dwdf.catalogueInstructions")}},t.prototype.handleCreate=function(){var e=this;if(!this.form.model.disclaimer)return E().error({message:"".concat(this.$t("lang.agreeToTreaty")),duration:5e3,showClose:!0}),!1;this.form.model.status=0,this.form.model.id?this.form.validate().then((function(){var t=n().service({lock:!0});U_.post("/public/dwdf/applications/drafted/submit",e.form.model).then((function(a){t.close(),E().success({duration:5e3,showClose:!0,message:e.$t("lang.successfullySubmitted")}),e.$router.push({path:"/applications/dwdf"})})).catch((function(a){t.close(),e.form.model.status=-1;var o=e.errMessage[a];o&&E().error({message:o,showClose:!0,duration:5e3})}))})).catch((function(t){e.submitErrMessage(!1),e.form.model.status=-1})):this.form.submit().catch((function(t){return e.form.model.status=-1}))},t.prototype.handleSubmit=function(){var e=this;if(!this.form.model.disclaimer)return E().error({message:"".concat(this.$t("lang.agreeToTreaty")),duration:5e3,showClose:!0}),!1;var t=n().service({lock:!0});U_.post("/public/dwdf/applications/submit",this.form.model).then((function(a){t.close(),E().success({duration:5e3,showClose:!0,message:e.$t("lang.successfullySubmitted")}),e.$router.push({path:"/applications/dwdf"})})).catch((function(a){t.close();var o=e.errMessage[a];o&&E().error({message:o,showClose:!0,duration:5e3})}))},t.prototype.onSaveForm=function(){var e=this,t=this.form.model.status,a=n().service({lock:!0});this.form.model.id?U_.put("/public/dwdf/applications",this.form.model).then((function(t){e.successMessage("save"),a.close()})).catch((function(o){e.form.model.status=t,e.submitErrMessage(o),a.close()})):U_.post("/public/dwdf/applications",this.form.model).then((function(t){e.successMessage("save"),a.close()})).catch((function(o){e.form.model.status=t,e.submitErrMessage(o),a.close()}))},t.prototype.successMessage=function(e,t){void 0===e&&(e="save"),void 0===t&&(t=!0),E().success({duration:5e3,showClose:!0,message:"save"===e?this.$t("lang.successfullySaved"):this.$t("lang.successfullySubmitted")}),t&&this.$router.push({path:"/applications/dwdf"})},t.prototype.submitErrMessage=function(e){var t=e?this.errMessage[e]:this.errMessage[111];t&&E().error({message:t,showClose:!0,duration:5e3})},t.prototype.onSelectTurnDoc=function(){var e=this;U_.get("/laboratory/reactive/all?application_id=".concat(this.form.model.source_id)).then((function(t){console.log("res",t),e.supporDocList=t,e.showSupporDocDialog=!0}))},t.prototype.onSubmitSelectDoc=function(){return e=this,t=void 0,o=function(){var e,t=this;return function(e,t){var a,o,l,n,r={label:0,sent:function(){if(1&l[0])throw l[1];return l[1]},trys:[],ops:[]};return n={next:i(0),throw:i(1),return:i(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function i(i){return function(s){return function(i){if(a)throw new TypeError("Generator is already executing.");for(;n&&(n=0,i[0]&&(r=0)),r;)try{if(a=1,o&&(l=2&i[0]?o.return:i[0]?o.throw||((l=o.return)&&l.call(o),0):o.next)&&!(l=l.call(o,i[1])).done)return l;switch(o=0,l&&(i=[2&i[0],l.value]),i[0]){case 0:case 1:l=i;break;case 4:return r.label++,{value:i[1],done:!1};case 5:r.label++,o=i[1],i=[0];continue;case 7:i=r.ops.pop(),r.trys.pop();continue;default:if(!((l=(l=r.trys).length>0&&l[l.length-1])||6!==i[0]&&2!==i[0])){r=0;continue}if(3===i[0]&&(!l||i[1]>l[0]&&i[1]<l[3])){r.label=i[1];break}if(6===i[0]&&r.label<l[1]){r.label=l[1],l=i;break}if(l&&r.label<l[2]){r.label=l[2],r.ops.push(i);break}l[2]&&r.ops.pop(),r.trys.pop();continue}i=t.call(e,r)}catch(e){i=[6,e],o=0}finally{a=l=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}}(this,(function(a){switch(a.label){case 0:return 0===this.selectSupporDoc.length?(E().error({message:this.$t("lang.pleaseTickNum"),duration:5e3,showClose:!0}),[2,!1]):(e=n().service({lock:!0}),[4,U_.put("/public/dwdf/applications",this.form.model)]);case 1:return a.sent(),[4,this.form.load({id:this.form.model.id})];case 2:return a.sent(),U_.post("public/dwdf/applications/laboratory/reactive",{ids:this.selectSupporDoc}).then((function(){E().success({message:t.$t("lang.submittedSuccessfully"),duration:5e3,showClose:!0}),t.showSupporDocDialog=!1,e.close(),t.$router.push({path:"/applications/dwdf"})})).catch((function(t){e.close(),console.log("reactive lab error",t)})),[2]}}))},new((a=void 0)||(a=Promise))((function(l,n){function r(e){try{s(o.next(e))}catch(e){n(e)}}function i(e){try{s(o.throw(e))}catch(e){n(e)}}function s(e){var t;e.done?l(e.value):(t=e.value,t instanceof a?t:new a((function(e){e(t)}))).then(r,i)}s((o=o.apply(e,t||[])).next())}));var e,t,a,o},t.prototype.onShowDistributorsDialog=function(){this.distributorsIndex=-1,this.distributorsItem={},this.showDistributorsDialog=!0},t.prototype.onAddDistributors=function(e){-1===this.distributorsIndex&&this.form.model.company_distributors.push(e),-1!==this.distributorsIndex&&this.$set(this.form.model.company_distributors,this.distributorsIndex,this.distributorsItem),this.showDistributorsDialog=!1},t.prototype.onDeleteDistributors=function(e){this.form.model.company_distributors.splice(e,1)},t.prototype.onEditDistributors=function(e){this.distributorsIndex=e,this.distributorsItem=B_({},this.form.model.company_distributors[e]),this.showDistributorsDialog=!0},t.prototype.onScrollTo=function(e){document.querySelector(".page-content-view").scrollTop=this.cardListTop[e]-10},t.prototype.handleScroll=function(){for(var e=document.querySelectorAll(".entry-application-item-card"),t=document.querySelector(".page-content-view"),a=null==t?void 0:t.scrollTop,o=[],l=0;l<e.length;l++)o.push(e[l].offsetTop);var n;n=(null==t?void 0:t.scrollHeight)&&a+(null==t?void 0:t.clientHeight)>=(null==t?void 0:t.scrollHeight)?o.concat([]):a<20?[]:o.filter((function(e){return e-12<a})),this.partMaxActive=n.length||1,this.cardListTop=o.concat([])},t.prototype.mounted=function(){var e=this;this.$nextTick((function(){var t,a;window.addEventListener("scroll",e.handleScroll,!0);var o=(null===(t=document.querySelector("body"))||void 0===t?void 0:t.clientHeight)||0,l=(null===(a=document.querySelector(".el-header"))||void 0===a?void 0:a.clientHeight)||0;e.pageCenterNum=o?o/2-107-l:0;for(var n=document.querySelectorAll(".entry-application-item-card"),r=0;r<n.length;r++)e.cardListTop.push(n[r].offsetTop)}))},t.prototype.beforeMount=function(){var e=this;this.$route.params.id&&this.form.load({id:this.$route.params.id}),this.$route.params.id||U_.get("/public/dwdf/applications/latest").then((function(t){e.form.reset(B_(B_({},e.form.default),{company_name:null==t?void 0:t.company_name,company_address:null==t?void 0:t.company_address,company_contact:null==t?void 0:t.company_contact,company_corresponding_address:null==t?void 0:t.company_corresponding_address,company_distributors:(null==t?void 0:t.company_distributors)||[],company_email:null==t?void 0:t.company_email,company_fax:null==t?void 0:t.company_fax,company_phone:null==t?void 0:t.company_phone,company_type:null==t?void 0:t.company_type,company_type_other:null==t?void 0:t.company_type_other,company_website:null==t?void 0:t.company_website,contact_call:null==t?void 0:t.contact_call,english_company_name:null==t?void 0:t.english_company_name}))}))},function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r}([(0,o.wA)({components:{ElAdminContainer:Da,ElForm:ae,ElFormItem:pt,ElColumnRow:ke,ElButton:Ge,ElCard:fe(),ElInput:Ze(),ElSelectTag:ds,ElTable:go,ElTableColumn:Uo(),ElDocumentUpload:Eo,ElReviewMessage:lc,ElInstructionsDialog:vc,ElCheckbox:ei(),ElSelect:Pr,ElPartMenus:Lc,AddDistributorsDialog:z_,ElDialog:pe,ElCheckboxGroup:zc(),ElRadio:Hs()},beforeRouteEnter:function(e,t,a){U_.get("/public/setting/agreement",{params:{application_type:30,type:10}}).then((function(t){return a((function(a){var o;!(null===(o=e.params)||void 0===o?void 0:o.id)||(a.canEdit=!1),a.treaty="en-US"===a.$i18n.locale?null==t?void 0:t.english_agreement:"zh-CN"===a.$i18n.locale?null==t?void 0:t.agreement:null==t?void 0:t.traditional_agreement}))}))}})],t)}(o.w3),H_=W_,G_=(a(74905),(0,z.Z)(H_,R_,[],!1,null,null,null).exports
1),V_=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-admin-container",{class:["page-wels-detail","page-review-detail","en-US"===e.$i18n.locale?"page-wels-apply-en":""],attrs:{breadcrumb:e.breadcrumb}},[e.detail&&0===e.detail.status?t("el-detail-page-action-list",{attrs:{status:e.detail.status},on:{"on-edit":function(t){return e.$router.push({path:`/applications/dwdf/apply/${e.detail.id}`})},"on-delete":e.onDelete}}):e._e(),e._v(" "),e.detail&&-1!=e.detail.status&&-99!=e.detail.status?t("el-review-steps",{attrs:{stage:e.detail.status,hasLabStep:"100001"!==e.detail.laboratories,status:e.detail.record?e.detail.record.type:0}}):e._e(),e._v(" "),e.detail&&e.detail.record&&15==e.detail.record.type&&0==e.detail.status?t("el-apply-rejection",{model:{value:e.detail.record,callback:function(t){e.$set(e.detail,"record",t)},expression:"detail.record"}}):e._e(),e._v(" "),t("div",{staticClass:"container application-detail-content"},[t("el-form",{attrs:{hasLabelSuffix:!0}},[-99===e.detail.status?t("el-cancel-reason",{model:{value:e.detail,callback:function(t){e.detail=t},expression:"detail"}}):e._e(),e._v(" "),t("el-card",{staticClass:"general-description-card review-detail-card wels-compan-value-view",attrs:{shadow:"never"}},[t("p",{staticClass:"value-header",attrs:{slot:"header"},slot:"header"},[e._v(e._s(e.$t("lang.companyInformation")))]),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.company"),percent:.4}},[e._v(e._s(e.detail.company_name))]),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.englishCompany"),percent:.4}},[e._v(e._s(e.detail.english_company_name))])],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.companyAddress"),percent:.4}},[e._v(e._s(e.detail.company_address))]),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.correspondingAddress"),percent:.4}},[e._v(e._s(e.detail.company_corresponding_address))])],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.TEL"),percent:.4}},[e._v(e._s(e.detail.company_phone))]),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.Fax"),percent:.4}},[e._v(e._s(e.detail.company_fax))])],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.onlyemail"),percent:.4}},[e._v(e._s(e.detail.company_email))]),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.website")}},[e._v(e._s(e.detail.company_website))])],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.contactPersonTitle"),percent:.4}},[e._v(e._s(e.detail.company_contact))]),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.companyType"),percent:.4}},[e._v("\r\n            "+e._s(e._f("options")(e.detail.company_type,e.companyType))+"\r\n            "),"other"===e.detail.company_type?[e._v(e._s(`(${e.detail.company_type_other})`))]:e._e()],2)],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.contactGender")}},[e._v(e._s(1==e.detail.contact_call?e.$t("lang.mr"):2==e.detail.contact_call?e.$t("lang.ms"):""))])],1),e._v(" "),t("el-form-item",{staticClass:"label-width-zero only-read-form-item",attrs:{label:e.$t("lang.distributors"),"label-width":"0",percent:.6}},[t("el-table",{attrs:{data:e.detail.company_distributors,border:"",hasHeight:!1}},[t("el-table-column",{attrs:{label:e.$t("lang.name"),width:"300px",align:"center",prop:"name"}}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.address"),prop:"address"}})],1)],1)],1),e._v(" "),t("el-card",{staticClass:"product-info-description-card review-detail-card",attrs:{shadow:"never"}},[t("p",{staticClass:"value-header",attrs:{slot:"header"},slot:"header"},[e._v(e._s(e.$t("lang.productInformation")))]),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.formHeader.brand"),percent:.4}},[e._v(e._s(e.detail.product_brand))]),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.modelNo"),percent:.4}},[e._v(e._s(e.detail.product_model))])],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.dwdf.product_description"),percent:.4}},[e._v(e._s(e.detail.product_description))]),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.dwdf.category"),percent:.4}},[e._v(e._s(e._f("options")(e.detail.product_category,e.categoryOption)))])],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.nameIfAny"),percent:.4}},[e._v(e._s(e.detail.product_name))]),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.water_inlet_size"),percent:.4}},[e._v(e._s(e.detail.water_inlet_size))])],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.dwdf.chinese_manufacturer"),percent:.4}},[e._v(e._s(e.detail.chinese_product_manufacturer))]),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.dwdf.english_manufacturer"),percent:.4}},[e._v(e._s(e.detail.product_manufacturer))])],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.dwdf.full_factory"),percent:.4}},[e._v(e._s(e.detail.full_address_factory))]),e._v(" "),t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.countryRegionOfOrigin"),percent:.4}}
1,[e._v(e._s(e.detail.product_region))])],1),e._v(" "),e.detail.catalogue_doc&&e.detail.catalogue_doc.length>0?t("el-column-row",[t("el-form-item",{staticClass:"label-width-zero",attrs:{label:e.$t("lang.catalogue"),"label-width":"0",percent:.8}},[t("el-document-list",{attrs:{value:e.detail.catalogue_doc}})],1)],1):e._e(),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-zero",attrs:{label:e.$t("lang.dwdf.frontAndSideViews"),"label-width":"0",percent:.8}},[t("el-document-list",{attrs:{value:e.detail.front_doc}})],1)],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-zero",attrs:{label:e.$t("lang.uploadOtherPicture"),"label-width":"0",percent:.8}},[t("el-document-list",{attrs:{value:e.detail.product_photo_doc}})],1)],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.waterEfficiencyLabel"),percent:.8}},[e._v(e._s(e.detail.water_efficiency_label))])],1),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.commencementDateToAffixLabel"),percent:.4}},[e._v(e._s(e.detail.label_commencement_date))])],1)],1),e._v(" "),t("el-card",{staticClass:"product-info-description-card review-detail-card",attrs:{shadow:"never"}},[t("p",{staticClass:"application-item-card-title",attrs:{slot:"header"},slot:"header"},[e._v("\r\n          "+e._s(e.$t("lang.supportDoc"))+"\r\n        ")]),e._v(" "),t("el-column-row",[t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.laboratory_names"),percent:.4}},[e._v(e._s(e.detail.laboratory_name))]),e._v(" "),e.detail.laboratories&&"100001"!==e.detail.laboratories?t("el-form-item",{staticClass:"label-width-auto only-read-form-item",attrs:{label:e.$t("lang.labReportRef"),percent:.4}},[e._v(e._s(e.detail.lab_report_ref))]):e._e()],1),e._v(" "),t("el-column-row",[e.detail.other_cert_doc&&e.detail.other_cert_doc.length>0?t("el-form-item",{staticClass:"label-width-zero",attrs:{label:e.$t("lang.dwdf.other_certificates"),"label-width":"0",percent:.8}},[t("el-document-list",{attrs:{value:e.detail.other_cert_doc}})],1):e._e()],1),e._v(" "),t("el-column-row",[e.detail.test_report_doc&&e.detail.test_report_doc.length>0?t("el-form-item",{staticClass:"label-width-zero",attrs:{label:e.$t("lang.detailedTestReportReadOnly"),"label-width":"0",percent:.8}},[t("el-document-list",{attrs:{value:e.detail.test_report_doc}})],1):e._e()],1)],1),e._v(" "),e.detail.id?t("el-review-message",{attrs:{applicationId:e.detail.id,stage:e.detail.status}},[t("el-form-item",{attrs:{prop:"upload_other_info","label-width":"0"}},[t("el-checkbox",{attrs:{"true-label":1,"false-label":0,disabled:!0},model:{value:e.detail.upload_other_info,callback:function(t){e.$set(e.detail,"upload_other_info",t)},expression:"detail.upload_other_info"}},[e._v(e._s(e.$t("lang.uploadOtherInfo")))])],1),e._v(" "),e.detail.upload_other_info?[t("el-form-item",{attrs:{prop:"upload_other_info_msg","label-width":"0"}},[t("el-input",{attrs:{type:"textarea",rows:4,resize:"none",readonly:!0},model:{value:e.detail.upload_other_info_msg,callback:function(t){e.$set(e.detail,"upload_other_info_msg",t)},expression:"detail.upload_other_info_msg"}})],1),e._v(" "),t("el-form-item",{staticClass:"d-flex flex-column",attrs:{prop:"upload_other_info_doc","label-width":"0"}},[t("el-document-list",{attrs:{value:e.detail.upload_other_info_doc}})],1)]:e._e()],2):e._e()],1)],1)],1)};V_._withStripped=!0;var Z_=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),Q_=x(),K_=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.breadcrumb=[{path:"",title:t.$t("lang.eApplication")},{path:"/applications/dwdf",title:"DWDF"},{path:"",title:t.$t("lang.breadcrumb.detail")}],t.baseUrl="/api/afs/wsd",t.detail={},t.companyType="en-US"===t.$i18n.locale?xn:"zh-CN"===t.$i18n.locale?Sn:En,t.categoryOption="en-US"===t.$i18n.locale?or:"zh-CN"===t.$i18n.locale?nr:lr,t}return Z_(t,e),t.prototype.onDelete=function(){var e=this;Q_.delete("/public/dwdf/applications",{data:[this.detail.id]}).then((function(){e.$router.back()}))},function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r}([(0,o.wA)({components:{ElAdminContainer:Da,ElForm:ae,ElFormItem:pt,ElColumnRow:ke,ElButton:Ge,ElCard:fe(),ElInput:Ze(),ElSelectTag:ds,ElTable:go,ElTableColumn:Uo(),ElDocumentUpload:Eo,ElDetailPageActionList:vm,ElDocumentList:Fo,ElLink:ge(),ElReviewSteps:Em,ElReviewMessage:lc,ElApplyRejection:No,ElWelsCompanyInfoDetail:nf,ElWelsProductInfoDetail:mf,ElWelsSupportDocDetail:wf,ElCancelReason:Rm,ElCheckbox:ei()},beforeRouteEnter:function(e,t,a){Q_.get("/public/dwdf/applications/".concat(e.params.id)).then((function(e){return a((function(t){t.detail=e}))}))}})],t)}(o.w3),Y_=K_,J_=(0,z.Z)(Y_,V_,[],!1,null,null,null).exports,X_=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-admin-container",{class:["page-personal","page-review-application","en-US"===e.$i18n.locale?"page-personal-en":""],attrs:{breadcrumb:[]}},[t("div",{staticClass:"container"},[t("el-form",{staticClass:"main-form",attrs:{store:e.form,hasLabelSuffix:!1,rules:e.form.rules}},[t("el-row",{staticClass:"action-btn-row justify-content-end",attrs:{type:"flex"}},[t("el-button",{staticClass:"fill-blue-btn",on:{click:function(t){return e.form.submit()}}},[e._v(e._s(e.$t("lang.updateProfile")))]),e._v(" "),t("el-button",{staticClass:"fill-blue-btn",on:{click:function(t){return e.changePassword.open()}}}
1,[e._v(e._s(e.$t("lang.changePsw")))])],1),e._v(" "),t("el-form-item",{staticClass:"item-flex",attrs:{label:e.$t("lang.email"),percent:.4,prop:"email"}},[t("el-input",{attrs:{readonly:""},model:{value:e.form.model.email,callback:function(t){e.$set(e.form.model,"email",t)},expression:"form.model.email"}}),e._v(" "),t("el-button",{staticClass:"change-email-btn empty-bule-btn",on:{click:function(t){return e.changeUsernameForm.open()}}},[e._v(e._s(e.$t("lang.change")))])],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("lang.username"),percent:.4,prop:"name"}},[t("el-input",{model:{value:e.form.model.name,callback:function(t){e.$set(e.form.model,"name",t)},expression:"form.model.name"}})],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("lang.backupEmail"),percent:.4,prop:"backup_email"}},[t("el-input",{model:{value:e.form.model.backup_email,callback:function(t){e.$set(e.form.model,"backup_email",t)},expression:"form.model.backup_email"}})],1)],1),e._v(" "),t("el-diaolog",{staticClass:"change-email-dialog",attrs:{visible:e.changeUsernameForm.visible,width:"560px",title:e.$t("lang.changeUemailAddress")},on:{close:function(t){return e.changeUsernameForm.close()}}},[t("el-form",{attrs:{store:e.changeUsernameForm}},[t("el-form-item",{attrs:{label:e.$t("lang.email"),prop:"username"}},[t("el-input",{model:{value:e.changeUsernameForm.model.username,callback:function(t){e.$set(e.changeUsernameForm.model,"username",t)},expression:"changeUsernameForm.model.username"}})],1),e._v(" "),t("el-form-item",{staticClass:"item-flex",attrs:{label:e.$t("lang.code")}},[t("el-input",{model:{value:e.changeUsernameForm.model.captcha,callback:function(t){e.$set(e.changeUsernameForm.model,"captcha",t)},expression:"changeUsernameForm.model.captcha"}}),e._v(" "),t("el-button",{directives:[{name:"loading",rawName:"v-loading",value:e.v-e.loading,expression:"v-loading"}],staticClass:"fill-blue-btn",on:{click:e.onSendCode}},[e._v(e._s(`${e.countdown>0&&e.countdown<=60?`${e.countdown}s`:e.$t("lang.sendCode")}`))])],1)],1),e._v(" "),t("template",{slot:"footer"},[t("el-button",{staticClass:"refuse-btn",on:{click:function(t){return e.changeUsernameForm.close()}}},[e._v("\r\n          "+e._s(e.$t("lang.action.close"))+"\r\n        ")]),e._v(" "),t("el-button",{staticClass:"agree-btn",attrs:{type:"primary"},on:{click:e.onChangeUsername}},[e._v(" "+e._s(e.$t("lang.action.submit"))+" ")])],1)],2),e._v(" "),t("el-diaolog",{staticClass:"change-psw-dialog",attrs:{visible:e.changePassword.visible,width:"560px",title:e.$t("lang.changeUpassword")},on:{close:function(t){return e.changePassword.close()}}},[t("el-form",{attrs:{store:e.changePassword}},[t("el-form-item",{attrs:{label:e.$t("lang.currentPsw"),prop:"password"}},[t("el-input",{attrs:{type:"password"},model:{value:e.changePassword.model.password,callback:function(t){e.$set(e.changePassword.model,"password",t)},expression:"changePassword.model.password"}})],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("lang.newPsw"),prop:"new_password"}},[t("el-input",{attrs:{type:"password"},model:{value:e.changePassword.model.new_password,callback:function(t){e.$set(e.changePassword.model,"new_password",t)},expression:"changePassword.model.new_password"}})],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("lang.confirmPassword"),prop:"confirm_password"}},[t("el-input",{attrs:{type:"password"},model:{value:e.changePassword.model.confirm_password,callback:function(t){e.$set(e.changePassword.model,"confirm_password",t)},expression:"changePassword.model.confirm_password"}})],1)],1),e._v(" "),t("template",{slot:"footer"},[t("el-button",{staticClass:"refuse-btn",on:{click:function(t){return e.changePassword.close()}}},[e._v("\r\n          "+e._s(e.$t("lang.action.close"))+"\r\n        ")]),e._v(" "),t("el-button",{staticClass:"agree-btn",attrs:{type:"primary"},on:{click:function(t){return e.onChangePassword()}}},[e._v(" "+e._s(e.$t("lang.action.submit"))+" ")])],1)],2)],1)])};X_._withStripped=!0;var eg=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),tg=void 0,ag=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.baseUrl="/api/afs/wsd",t.api=x(),t.countdown=0,t.loading=!1,t.form=new Q({loader:"/public/users/profiles",action:"/public/users/profiles",rules:{email:[{required:!0,message:"".concat(t.$t("lang.pleaseEnter")),trigger:"blur"},{type:"email",message:"".concat(t.$t("lang.inputCorrectEmailAddress")),trigger:["blur","change"]}],name:[{required:!0,message:"".concat(t.$t("lang.pleaseEnter")),trigger:"blur"}],backup_email:[{required:!1,message:"".concat(t.$t("lang.pleaseEnter")),trigger:"blur"},{type:"email",message:"".concat(t.$t("lang.inputCorrectEmailAddress")),trigger:["blur","change"]}]},onSubmitSuccess:function(){t.form.load({}),E().success("".concat(t.$t("lang.updateProfilesSuccess")))},onSubmitFailure:function(e){return E().error(t.errMessage[e])}}),t.changeUsernameForm=new K({loader:"",action:"/public/users/change/username",rules:{username:[{required:!0,message:"".concat(t.$t("lang.pleaseEnter")),trigger:"blur"},{type:"email",message:t.$t("lang.inputCorrectEmailAddress"),trigger:"blur"}],captcha:[{required:!0,message:"".concat(t.$t("lang.pleaseEnter")),trigger:"blur"}]}}),t.changePassword=new K({rules:{password:[{required:!0,message:"".concat(t.$t("lang.pleaseEnter")),trigger:"blur"}],new_password:[{required:!0,message:"".concat(t.$t("lang.pleaseEnter")),trigger:"blur"},{validator:t.validatePassword}],confirm_password:[{required:!0,message:"".concat(t.$t("lang.pleaseEnter")),trigger:"blur"},{validator:t.validatecConfirmPassword}]}}),t.errMessage={91e3:t.$t("lang.passwordsEnteredTwiceNotMatch"),91001:t.$t("lang.currentPasswordError"),10100:t.$t("lang.verCodeError"),93e3:t.$t("lang.registrationNotYetOpen"),91002:t.$t("lang.backupEmailAlreadyExists"),1e4:t.$t("lang.userDoesNotExist"),10101:t.$t("lang.userAlreadyExists"),91007:t.$t("lang.sameEmailAddress")},t}return eg(t,e),t.prototype.onSendCode=function(){var e=this;this.changeUsernameForm.validate().then((function(t){t&&e.send()}))},t.prototype.send=function(){var e=this;if(!this.loading){this.loading=!0;var t={target:this.changeUsernameForm.model.username,name:"Sir/Madam"};this.api.post("/change/username/verify/code",t).then((function(t){e.countdown=60,tg=setInterval((function(){return e.verifyCodeTiming()}),1e3),E().success({message:"".concat(e.$t("lang.codeMailHasBeenSend")),showClose:!0,duration:5e3})})).catch((function(t){e.loading=!1,E().error({message:e.errMessage[t]||t,duration:5e3,showClose:!0})}))}},t.prototype.verifyCodeTiming=function(){this.countdown>0?this.countdown--:(clearInterval(tg),this.countdown=0,this.loading=!1)},t.prototype.onChangePassword=function(){var e=this;if(this.changePassword.model.new_password!==this.changePassword.model.confirm_password)return E().error({message:this.$t("lang.passwordsEnteredTwiceNotMatch"),duration:5e3,showClose:!0}),!1;this.changePassword.validate().then((function(){e.api.put("/public/users/password",e.changePassword.model).then((function(t){E()({type:"success",message:e.$t("lang.modificationSuccessfulWillExitSoon"),duration:5e3,showClose:!0,onClose:function(){e.api.clear(),e.$router.push("/login"),window.localStorage.clear(),history.pushState(null,"",document.URL),window.addEventListener("popstate",(function(e){history.pushState(null,"",document.URL)}),!1)}})})).catch((function(t){E().error({message:e.errMessage[t]||t,duration:5e3,showClose:!0})}))}))},t.prototype.onChangeUsername=function(){var e=this;this.changeUsernameForm.validate().then((function(t){t&&e.api.put("/public/users/change/username",e.changeUsernameForm.model).then((function(t){e.changeUsernameForm.close(),e.api.logout(),e.$router.push("/login"),E().success({message:e.$t("lang.changeUsernameSuccess"),duration:5e3,showClose:!0})})).catch((function(t){E().error({message:e.errMessage[t]||t,duration:5e3,showClose:!0})}))}))},t.prototype.validatecConfirmPassword=function(e,t,a){t?t!==this.changePassword.model.new_password?a(new Error(this.$t("lang.twoPswError"))):/^(?![a-zA-Z]+$)(?![A-Z0-9]+$)(?![A-Z\W_]+$)(?![a-z0-9]+$)(?![a-z\W_]+$)(?![0-9\W_]+$)[a-zA-Z0-9\W_]{8,}$/.test(t)?a():a(this.$t("lang.pswRegTip")):a(new Error(this.$t("lang.pleaseEnter")))},t.prototype.validatePassword=function(e,t,a){t?/^(?![a-zA-Z]+$)(?![A-Z0-9]+$)(?![A-Z\W_]+$)(?![a-z0-9]+$)(?![a-z\W_]+$)(?![0-9\W_]+$)[a-zA-Z0-9\W_]{8,}$/.test(t)?a():a(this.$t("lang.pswRegTip")):a(new Error(this.$t("lang.pleaseEnter")))},t.prototype.beforeMount=function(){this.form.load({}),this.changeUsernameForm.id="111"},function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r}([(0,o.wA)({components:{ElAdminContainer:Da,ElForm:ae,ElFormItem:pt,ElColumnRow:ke,ElButton:Ge,ElCard:fe(),ElInput:Ze(),ElTableColumn:Uo(),ElRow:ft(),ElDiaolog:pe}})],t)}(o.w3),og=ag,lg=(a(15463),(0,z.Z)(og,X_,[],!1,null,null,null).exports
1),ng=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("el-admin-container",{class:["page-notice-list","en-US"===e.$i18n.locale?"page-notice-list-en":""],attrs:{breadcrumb:[]}},[t("el-card",{staticClass:"search-filter-card",attrs:{shadow:"never"}},[t("el-form",[t("el-column-row",[t("el-form-item",{staticClass:"status-form-item label-width-auto",attrs:{label:e.$t("lang.status"),percent:.22}},[t("el-select",{attrs:{loader:e.newsStatusOption,clearable:""},model:{value:e.table.params.status,callback:function(t){e.$set(e.table.params,"status",t)},expression:"table.params.status"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{percent:.4,label:e.$t("lang.date")}},[t("el-date-picker",{staticClass:"width-pre-100",attrs:{type:"datetimerange","start-placeholder":e.$t("lang.applicationTimePlaceholderStart"),"end-placeholder":e.$t("lang.applicationTimePlaceholderEnd")},model:{value:e.table.params.times,callback:function(t){e.$set(e.table.params,"times",t)},expression:"table.params.times"}})],1),e._v(" "),t("el-form-item",{staticClass:"label-width-auto",attrs:{label:e.$t("lang.keyword"),percent:.22}},[t("el-input",{attrs:{placeholder:e.$t("lang.keyword")},model:{value:e.table.params.keywords,callback:function(t){e.$set(e.table.params,"keywords",t)},expression:"table.params.keywords"}})],1),e._v(" "),t("el-form-item",{staticClass:"el-item-flex-justify-end"},[t("el-button",{staticClass:"fill-blue-btn",on:{click:function(t){return e.table.load()}}},[e._v(e._s(e.$t("lang.action.search")))])],1)],1)],1)],1),e._v(" "),t("el-card",{staticClass:"contain-card",attrs:{shadow:"never"}},[t("el-table",{attrs:{store:e.table,border:"",hasHeight:!1}},[t("el-table-column",{attrs:{label:e.$t("lang.date"),align:"center",width:"200"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n          "+e._s(e._f("moment")(t.row.create_time))+"\n        ")]}}])}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.title"),prop:"title",align:"center"}}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.status"),align:"center",width:"120px"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n          "+e._s(e._f("options")(t.row.status,e.newsStatusOption))+"\n        ")]}}])}),e._v(" "),t("el-table-column",{attrs:{label:e.$t("lang.action.action"),align:"center","class-name":"cell-flex-row cell-justify-center action-column",width:"180"},scopedSlots:e._u([{key:"default",fn:function(a){return[t("el-button",{staticClass:"text-green",attrs:{type:"text"},on:{click:function(t){return e.form.load({id:a.row.id})}}},[e._v(e._s(e.$t("lang.action.detail")))]),e._v(" "),t("el-button",{staticClass:"text-red",attrs:{type:"text"}},[e._v(e._s(e.$t("lang.action.delete")))])]}}])}),e._v(" "),t("el-pagination",{attrs:{slot:"footer",layout:"total, prev, pager, next"},slot:"footer"})],1),e._v(" "),t("el-dialog",{staticClass:"notice-detail-dialog",attrs:{visible:e.form.visible,width:"800px",title:"Detail"},on:{close:e.onCloseDetail}},[t("p",{staticClass:"detail-title"},[e._v(e._s(e.form.model.title))]),e._v(" "),t("p",{staticClass:"receive-time"},[e._v(e._s(e._f("moment")(e.form.model.application_time)))]),e._v(" "),t("p",{staticClass:"detail-content",domProps:{innerHTML:e._s(e.form.model.content)}}),e._v(" "),t("template",{slot:"footer"},[t("el-button",{staticClass:"refuse-btn",on:{click:e.onCloseDetail}},[e._v("\n          "+e._s(e.$t("lang.action.close"))+"\n        ")])],1)],2)],1)],1)};ng._withStripped=!0;var rg=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),ig=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.newsStatusOption="en-US"===t.$i18n.locale?Il:"zh-CN"===t.$i18n.locale?Fl:Ll,t.table=new Z({loader:"/public/user/notifications/list/:page",params:{filters:!0},actions:{delete:{method:"delete",url:"/public/user/notifications",after:"load"}}}),t.form=new K({loader:"/public/user/notifications/:id",action:"/public/user/notifications",table:t.table,default:{}}),t}return rg(t,e),t.prototype.onChange=function(e){switch(console.log("value",e),e){case"zh-CN":this.newsStatusOption=Fl;break;case"en-US":this.newsStatusOption=Il;break;case"zh-HK":this.newsStatusOption=Ll}},t.prototype.onCloseDetail=function(){this.form.close(),this.table.reload()},function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r}
1([(0,o.wA)({components:{ElAdminContainer:Da,ElCard:fe(),ElSelect:Pr,ElOption:xr(),ElForm:ae,ElFormItem:pt,ElColumnRow:ke,ElDatePicker:Ho(),ElButton:Ge,ElTable:go,ElTableColumn:Uo(),ElTableToolbar:Nr,ElPagination:Kr,ElInput:Ze(),ElDialog:pe}})],t)}(o.w3),sg=ig,cg=(a(45370),(0,z.Z)(sg,ng,[],!1,null,null,null).exports),dg=x(),pg=localStorage.getItem("language")?localStorage.getItem("language"):"zh-HK",ug=["en","tc","sc"];o.w3.use(k.ZP);var mg=new k.ZP({mode:"history",base:"zh-CN"===pg?"/sc":"en-US"===pg?"/en":"/tc",routes:[{path:"",redirect:"/login"},{path:"/",redirect:"/login"},{path:"/login",name:"login",component:It},{path:"/reset_password",name:"忘记密码",component:Ba},{path:"/sign_up",name:"注册",component:Qa},{path:"/account_active",name:"注册激活账号",component:eo},{path:"/lab/login",name:"实验室登录",component:no},{path:"/lab/index",name:"实验室操作",component:vr},{path:"/search",name:"公开查询",component:Gi},{path:"/",component:ca,children:[{path:"home",name:"首页",component:La},{path:"applications/ga",name:"Ga",component:Ns},{path:"applications/ga/apply",name:"Ga申请",component:od},{path:"applications/ga/apply/:id",name:"Ga申请编辑",component:od},{path:"applications/qms",name:"QMS",component:sd},{path:"applications/qms/apply",name:"QMS申请",component:Md},{path:"applications/qms/apply/:id",name:"QMS申请编辑",component:Md},{path:"applications/qws",name:"QWS",component:Ud},{path:"applications/qws/apply",name:"QWS申请",component:dp},{path:"applications/qws/apply/:id",name:"QWS申请编辑",component:dp},{path:"applications/wels",name:"WELS",component:_p},{path:"applications/wels/flow_controllers",name:"节流器申请",component:Tu},{path:"applications/wels/flow_controllers/:id",name:"节流器申请编辑",component:Tu},{path:"applications/wels/water_closets",name:"水厕申请",component:hu},{path:"applications/wels/water_closets/:id",name:"水厕申请编辑",component:hu},{path:"applications/wels/water_taps",name:"水龙头申请",component:Kp},{path:"applications/wels/water_taps/:id",name:"水龙头申请编辑",component:Kp},{path:"applications/wels/showers_bathing",name:"沐浴花洒申请",component:xu},{path:"applications/wels/showers_bathing/:id",name:"沐浴花洒申请编辑",component:xu},{path:"applications/wels/urinal_equipment",name:"小便器用具申请",component:du},{path:"applications/wels/urinal_equipment/:id",name:"小便器用具申请编辑",component:du},{path:"applications/wels/washing_machines",name:"洗衣机申请",component:ou},{path:"applications/wels/washing_machines/:id",name:"洗衣机申请编辑",component:ou},{path:"applications/wels/renew/:type",name:"wels renew",component:__},{path:"applications/wels/renew/:type/:id",name:"wels renew",component:__},{path:"applications/wels/renew/:type/:id/detail",name:"wels renew detail",component:i_},{path:"applications/waterworks_area",name:"参观水务署",component:Lu},{path:"applications/waterworks_area/apply",name:"参观水务署申请",component:Hu},{path:"applications/waterworks_area/apply/:id",name:"参观水务署申请编辑",component:Hu},{path:"applications/undertaking",name:"保证书",component:Ku},{path:"applications/undertaking/apply",name:"保证书申请",component:dm},{path:"applications/undertaking/apply/:id",name:"保证书申请编辑",component:dm},{path:"applications/ga/detail",name:"Ga申请详情",component:jm},{path:"applications/qms/detail",name:"Qms申请详情",component:Hm},{path:"applications/qws/detail",name:"QWS申请详情",component:Ym},{path:"applications/wels/flow_controllers_detail",name:"节流器详情",component:t_},{path:"applications/wels/water_closets_detail",name:"水厕详情",component:Uf},{path:"applications/wels/water_taps_detail",name:"水龙头详情",component:Sf},{path:"applications/wels/showers_bathing_detail",name:"沐浴花洒详情",component:Qf},{path:"applications/wels/urinal_equipment_detail",name:"小便器用具详情",component:qf},{path:"applications/wels/washing_machines_detail",name:"洗衣机详情",component:Tf},{path:"applications/waterworks_area/detail",name:"参观水务署详情",component:y_},{path:"applications/undertaking/detail",name:"保证书详情",component:k_},{path:"applications/dwdf",name:"DWDF main page",component:D_},{path:"applications/dwdf/apply",name:"dwdf申请表单",component:G_},{path:"applications/dwdf/apply/:id",name:"dwdf申请编辑",component:G_},{path:"applications/dwdf/detail/:id",name:"DWDF detail",component:J_},{path:"personal",name:"个人中心",component:lg},{path:"notice",name:"消息中心",component:cg},{path:"public_search",name:"公开查询",component:Gi}]}]}),fg={en:"en-US",sc:"zh-CN",tc:"zh-HK"};mg.beforeEach((function(e,t,a){return o=void 0,l=void 0,r=function(){var t,o;return function(e,t){var a,o,l,n,r={label:0,sent:function(){if(1&l[0])throw l[1];return l[1]},trys:[],ops:[]};return n={next:i(0),throw:i(1),return:i(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function i(i){return function(s){return function(i){if(a)throw new TypeError("Generator is already executing.");for(;n&&(n=0,i[0]&&(r=0)),r;)try{if(a=1,o&&(l=2&i[0]?o.return:i[0]?o.throw||((l=o.return)&&l.call(o),0):o.next)&&!(l=l.call(o,i[1])).done)return l;switch(o=0,l&&(i=[2&i[0],l.value]),i[0]){case 0:case 1:l=i;break;case 4:return r.label++,{value:i[1],done:!1};case 5:r.label++,o=i[1],i=[0];continue;case 7:i=r.ops.pop(),r.trys.pop();continue;default:if(!((l=(l=r.trys).length>0&&l[l.length-1])||6!==i[0]&&2!==i[0])){r=0;continue}if(3===i[0]&&(!l||i[1]>l[0]&&i[1]<l[3])){r.label=i[1];break}if(6===i[0]&&r.label<l[1]){r.label=l[1],l=i;break}if(l&&r.label<l[2]){r.label=l[2],r.ops.push(i);break}l[2]&&r.ops.pop(),r.trys.pop();continue}i=t.call(e,r)}catch(e){i=[6,e],o=0}finally{a=l=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}}(this,(function(l){switch(l.label){case 0:return[4,localStorage.getItem("language")];case 1:return t=l.sent(),o=e.fullPath.substring(1,3),ug.indexOf(o)>-1&&fg[o]!=t&&(window.location.href="".concat(e.fullPath),localStorage.setItem("language",fg[o])),a(),[2]}}))}
1,new((n=void 0)||(n=Promise))((function(e,t){function a(e){try{s(r.next(e))}catch(e){t(e)}}function i(e){try{s(r.throw(e))}catch(e){t(e)}}function s(t){var o;t.done?e(t.value):(o=t.value,o instanceof n?o:new n((function(e){e(o)}))).then(a,i)}s((r=r.apply(o,l||[])).next())}));var o,l,n,r})),dg.on("response-error",(function(e,t,a){var o;switch(t){case 401:dg.clear(),(null===(o=a.config.url)||void 0===o?void 0:o.includes("/laboratory"))?mg.push("/lab/login"):mg.push("/login");break;case 94e3:mg.push("/lab/login");break;case 400:case 500:case 504:E().error({message:"Network error!(".concat(a.config.url,":").concat(a.statusText,")"),showClose:!0,duration:5e3});break;case 90401:E().error({message:"Data Permission Denied",showClose:!0,duration:5e3});break;default:console.error(e)}}));var _g=mg,gg=function(){var e=this._self._c;return this._self._setupProxy,e("router-view")};gg._withStripped=!0;var hg=function(){var e=function(t,a){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},e(t,a)};return function(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function o(){this.constructor=t}e(t,a),t.prototype=null===a?Object.create(a):(o.prototype=a.prototype,new o)}}(),vg=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return hg(t,e),t.prototype.mounted=function(){var e=localStorage.getItem("font-size")?localStorage.getItem("font-size"):"14";document.getElementsByTagName("html")[0].style.fontSize=e+"px"},function(e,t,a,o){var l,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,o);else for(var i=e.length-1;i>=0;i--)(l=e[i])&&(r=(n<3?l(r):n>3?l(t,a,r):l(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r}([(0,o.wA)({})],t)}(o.w3),bg=vg,wg=(0,z.Z)(bg,gg,[],!1,null,null,null).exports;function yg(e){return function(t,a,o){return a&&a[t]||e&&e[t]||o||""}}a(80271),a(8077),a(38013),a(84334),a(4049),a(43689),a(76124),window.onload=function(){window.document.onmousedown=function(){ta("lastTime",(new Date).getTime())}};var $g,Cg,xg,Sg,Eg,kg=a(64720),Og=a.n(kg),Ag=a(17152),Pg=a(39903),Tg=a(21877),Dg=a(76868),Rg=function(){return Rg=Object.assign||function(e){for(var t,a=1,o=arguments.length;a<o;a++)for(var l in t=arguments[a])Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l]);return e},Rg.apply(this,arguments)};o.w3.use((function(){})),o.w3.use(Ag.Z),o.w3.use(n().directive),o.w3.filter("array",(void 0===$g&&($g="/"),function(e,t){return e?e.join(t||$g):""})),o.w3.filter("sex",(function(e){return["保密","男","女"][e]||""})),o.w3.filter("moment",(void 0===Cg&&(Cg="YYYY-MM-DD HH:mm:ss"),function(e,t,a){return void 0===t&&(t=""),e?_()(e).format(a||Cg):t})),o.w3.filter("amount",(void 0===xg&&(xg=1e3),function(e,t){return"".concat((("string"==typeof e?parseFloat(e):e)/xg).toFixed(2))})),o.w3.filter("date_format",(function(e,t,a){return void 0===t&&(t=""),void 0===a&&(a="YYYY-MM-DD"),e?_()(e).format(a):t})),o.w3.filter("price",function(e){return void 0===e&&(e=1e3),function(t,a){return"".concat(Math.floor(("string"==typeof t?Number(t):t)/e))}}()),o.w3.filter("timeout",function(e){return void 0===e&&(e=1e3),function(t,a){var o=Number("".concat(("string"==typeof t?parseFloat(t):t)/e));return o<60?o.toFixed(2)+"s":o>=60&&o<3600?(o/60).toFixed(2)+"m":(o/3600).toFixed(2)+"h"}}()),o.w3.filter("region",(void 0===Sg&&(Sg=" / "),void 0===Eg&&(Eg=!1),function(e){return e&&e.length>1?e.slice(Eg?0:1).join(Sg):""})),o.w3.filter("percent",function(e){return void 0===e&&(e=1e3),function(t){return"".concat((("string"==typeof t?parseFloat(t):t)/e).toFixed(3),"%")}}()),o.w3.filter("thousands",(function(e){if(e){var t=e.toString();return t.replace(t.indexOf(".")>-1?/(\d)(?=(\d{3})+\.)/g:/(\d)(?=(?:\d{3})+$)/g,"$1,")}return""})),o.w3.filter("time_cycle",function(e,t){return void 0===e&&(e=60),void 0===t&&(t="multiplication"),function(a){if
1(a||"0"==a){var o="multiplication"===t?(parseInt(a)*e).toString():(parseInt(a)/e).toString();return o.replace(o.indexOf(".")>-1?/(\d)(?=(\d{3})+\.)/g:/(\d)(?=(?:\d{3})+$)/g,"$1,")}return""}}()),o.w3.filter("time_filter",(function(e){if(e){var t=e.split("-");return t.indexOf("undefined")>-1?"undefined"===t[0]?"undefined"===t[1]?"":"".concat(t[1],"月"):"".concat(t[0],"年"):"".concat(t[0],"年").concat(t[1],"月")}return""})),o.w3.filter("discount",function(e,t){return void 0===e&&(e=10),void 0===t&&(t="¥"),function(t,a){return"".concat((("string"==typeof t?parseFloat(t):t)/e).toFixed(2))}}()),o.w3.filter("time_difference",(function(e,t){if(e&&t){var a=_()(e),o=_()(t).diff(a,"second"),l=o<60?o.toFixed(2)+"s":o>=60&&o<3600?(o/60).toFixed(2)+"m":(o/3600).toFixed(2)+"h";return o<0?"0.00秒":l}return"00:00:00"})),o.w3.filter("discipline",yg({1:"BS",2:"BSE",3:"LP"})),o.w3.filter("building",yg({0:"ALL",1:"Com",2:"Hotel",3:"Ind",4:"RCHE",5:"R(E)",6:"R(S)",7:"Sch"})),o.w3.filter("service_districts",yg({0:"ALL",1:"HK",2:"KLN",3:"NT",4:"ls"})),o.w3.filter("region",yg({1:"HK",2:"NTE",3:"NEW"})),o.w3.filter("manager",yg({0:"ALL",1:"M-1",2:"NTE",3:"NEW"})),o.w3.filter("wels_type",yg({wels_flow_controllers:"Flow Controllers",wels_water_closets:"Water Closets",wels_water_taps:"Water Taps",wels_showers_athingp:"Showers for Bathing",wels_urinal_equipment:"Urinal Equipment",wels_washing_machines:"Washing Machines"})),o.w3.filter("ga_scheme",yg({ga_new:"New Application",ga_exists:"Renewal Application"})),o.w3.filter("ga_plus_scheme",yg({ga_plus_new:"New Application",ga_plus_exists:"Renewal Application"})),o.w3.filter("ga_star_scheme",yg({ga_star_new:"New Application",ga_star_exists:"Renewal Application"})),o.w3.filter("vls_scheme",yg({ga_vls_new:"New Application",ga_vls_exists:"Renewal Application"})),o.w3.filter("review_type",yg({0:"not processed",1:"accept",2:"rejection"})),o.w3.filter("stage",yg({"-1":"Drafted",0:"Waiting",5:"Pending Lab",10:"Pending Review1",15:"Pending Review2",20:"Pending Review3",25:"Complete",99:"Rejected"})),o.w3.filter("building_type",yg({0:"ALL",1:"Private/HOS Residential",2:"Public Residential",3:"Commercial/Industrial",4:"Hotel/Serviced Apartment",5:"School",6:"Hospital",7:"Government/Public Utilities"})),o.w3.filter("ga_items",function(e){return void 0===e&&(e="\\"),function(t,a){if(!t)return"";var o=[];return t.includes("ga")&&o.push("GA"),t.includes("ga_plus")&&o.push("GA+"),t.includes("ga_star")&&o.push("GA*"),t.includes("vls")&&o.push("VLS"),o?o.join(a||e):""}}()),o.w3.filter("options",(function(e,t,a){var o;return t&&t.length&&(null===(o=t.find((function(t){return t.id==e})))||void 0===o?void 0:o.name)||a||""})),o.w3.filter("optionsArray",(function(e,t,a){var o=[];return t&&t.length&&t.map((function(t){e&&e.length&&e.indexOf(t.id)>-1&&o.push(t.name)})),o.join(a||"、")}));var Ig=new Ag.Z({locale:localStorage.getItem("language")?localStorage.getItem("language"):"zh-HK",messages:{"zh-CN":Rg(Rg({},a(29979)),Tg.default),"en-US":Rg(Rg({},a(72305)),Pg.Z),"zh-HK":Rg(Rg({},a(16132)),Dg.Z)}});o.w3.use(Og(),{i18n:function(e,t){return Ig.t(e,t)}}),new o.w3({i18n:Ig,router:_g,render:function(e){return e(wg)}}).$mount("#app")},38013:function(e,t,a){var o=a(31859);o.__esModule&&(o=o.default),"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals),(0,a(45346).Z)("0ca15a14",o,!1,{})},80271:function(e,t,a){var o=a(76815);o.__esModule&&(o=o.default),"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals),(0,a(45346).Z)("3cdb07d4",o,!1,{})},8077:function(e,t,a){var o=a(42746);o.__esModule&&(o=o.default),"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals),(0,a(45346).Z)("115d06f2",o,!1,{})},43689:function(e,t,a){var o=a(41970);o.__esModule&&(o=o.default),"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals),(0,a(45346).Z)("af436b90",o,!1,{})},52348:function(e,t,a){var o=a(13906);o.__esModule&&(o=o.default),"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals),(0,a(45346).Z)("400ca1d4",o,!1,{})},7502:function(e,t,a){var o=a(87985);o.__esModule&&(o=o.default),"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals),(0,a(45346).Z)("5190956c",o,!1,{})},72830:function(e,t,a){var o=a(63080);o.__esModule&&(o=o.default),"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals),(0,a(45346).Z)("5cdab748",o,!1,{})},66402:function(e,t,a){var o=a(81139);o.__esModule&&(o=o.default),"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals),(0,a(45346).Z)("08d37c31",o,!1,{})},3671:function(e,t,a){var o=a(12060);o.__esModule&&(o=o.default),"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals),(0,a(45346).Z)("3abc8f1d",o,!1,{})},84056:function(e,t,a){var o=a(7010);o.__esModule&&(o=o.default),"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals),(0,a(45346).Z)("2fe66cd2",o,!1,{})},53258:function(e,t,a){var o=a(79276);o.__esModule&&(o=o.default),"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals),(0,a(45346).Z)("5fe1ec02",o,!1,{})},1260:function(e,t,a){var o=a(73897);o.__esModule&&(o=o.default),"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals),(0,a(45346).Z)("12c6e91c",o,
1!1,{})},52156:function(e,t,a){var o=a(77251);o.__esModule&&(o=o.default),"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals),(0,a(45346).Z)("63f3dd8e",o,!1,{})},48002:function(e,t,a){var o=a(57138);o.__esModule&&(o=o.default),"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals),(0,a(45346).Z)("4e1d27de",o,!1,{})},87042:function(e,t,a){var o=a(45838);o.__esModule&&(o=o.default),"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals),(0,a(45346).Z)("474221c2",o,!1,{})},41146:function(e,t,a){var o=a(38920);o.__esModule&&(o=o.default),"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals),(0,a(45346).Z)("a797ea24",o,!1,{})},47226:function(e,t,a){var o=a(28029);o.__esModule&&(o=o.default),"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals),(0,a(45346).Z)("d1552d06",o,!1,{})},75157:function(e,t,a){var o=a(90978);o.__esModule&&(o=o.default),"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals),(0,a(45346).Z)("33b7f1fc",o,!1,{})},1716:function(e,t,a){var o=a(82241);o.__esModule&&(o=o.default),"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals),(0,a(45346).Z)("773a4dea",o,!1,{})},81578:function(e,t,a){var o=a(9754);o.__esModule&&(o=o.default),"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals),(0,a(45346).Z)("116d590a",o,!1,{})},99117:function(e,t,a){var o=a(96723);o.__esModule&&(o=o.default),"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals),(0,a(45346).Z)("08a5638c",o,!1,{})},59548:function(e,t,a){var o=a(57693);o.__esModule&&(o=o.default),"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals),(0,a(45346).Z)("6e045060",o,!1,{})},15038:function(e,t,a){var o=a(6276);o.__esModule&&(o=o.default),"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals),(0,a(45346).Z)("745f1dcf",o,!1,{})},83082:function(e,t,a){var o=a(45396);o.__esModule&&(o=o.default),"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals),(0,a(45346).Z)("5a86bd58",o,!1,{})},88934:function(e,t,a){var o=a(45476);o.__esModule&&(o=o.default),"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals),(0,a(45346).Z)("d4509b74",o,!1,{})},47548:function(e,t,a){var o=a(85431);o.__esModule&&(o=o.default),"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals),(0,a(45346).Z)("47309917",o,!1,{})},22849:function(e,t,a){var o=a(65748);o.__esModule&&(o=o.default),"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals),(0,a(45346).Z)("5c8c7439",o,!1,{})},54716:function(e,t,a){var o=a(74023);o.__esModule&&(o=o.default),"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals),(0,a(45346).Z)("1142768f",o,!1,{})},86809:function(e,t,a){var o=a(91837);o.__esModule&&(o=o.default),"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals),(0,a(45346).Z)("558cdc74",o,!1,{})},86191:function(e,t,a){var o=a(25863);o.__esModule&&(o=o.default),"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals),(0,a(45346).Z)("1a0d7968",o,!1,{})},29682:function(e,t,a){var o=a(48210);o.__esModule&&(o=o.default),"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals),(0,a(45346).Z)("becb3716",o,!1,{})},47507:function(e,t,a){var o=a(54061);o.__esModule&&(o=o.default),"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals),(0,a(45346).Z)("c0fd9144",o,!1,{})},20134:function(e,t,a){var o=a(62609);o.__esModule&&(o=o.default),"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals),(0,a(45346).Z)("3e09185e",o,!1,{})},76839:function(e,t,a){var o=a(79557);o.__esModule&&(o=o.default),"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals),(0,a(45346).Z)("5a51bf2a",o,!1,{})},51744:function(e,t,a){var o=a(87285);o.__esModule&&(o=o.default),"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals),(0,a(45346).Z)("18e84cb9",o,!1,{})},59388:function(e,t,a){var o=a(12275);o.__esModule&&(o=o.default),"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals),(0,a(45346).Z)("59546a10",o,!1,{})},87697:function(e,t,a){var o=a(55047);o.__esModule&&(o=o.default),"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals),(0,a(45346).Z)("3bb3243e",o,!1,{})},50918:function(e,t,a){var o=a(32474);o.__esModule&&(o=o.default),"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals),(0,a(45346).Z)("1a9f014e",o,!1,{})},74473:function(e,t,a){var o=a(82249);o.__esModule&&(o=o.default),"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals),(0,a(45346).Z)("657ed1d6",o,!1,{})},80147:function(e,t,a){var o=a(99898);o.__esModule&&(o=o.default),"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals),(0,a(45346).Z)("bd4efe36",o,!1,{})},74151:function(e,t,a){var o=a(29207);o.__esModule&&(o=o.default),"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals),(0,a(45346).Z)("6969d376",o,!1,{})},54368:function(e,t,a){var o=a(95377);o.__esModule&&(o=o.default),"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals),(0,a(45346).Z)("6e317d32",o,!1,{})},63682:function(e,t,a){var o=a(89003);o.__esModule&&(o=o.default),"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals),(0,a(45346).Z)("2374e5a5",o,!1,{})},52592:function(e,t,a){var o=a(30752);o.__esModule&&(o=o.default),"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals),(0,a(45346).Z)("adec0b86",o,!1,{})},72984:function(e,t,a){var o=a(23626);o.__esModule&&(o=o.default),"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals),(0,a(45346).Z)("39b6d9cc",o,!1,{})},72119:function(e,t,a){var o=a(9731);o.__esModule&&(o=o.default),"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals),(0,a(45346).Z)("26bab9e2",o,!1,{})},3005:function(e,t,a){var o=a(93255);o.__esModule&&(o=o.default),"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals),(0,a(45346).Z)("50978c58",o,!1,{})},61243:function(e,t,a){var o=a(82900);o.__esModule&&(o=o.default),"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals),(0,a(45346).Z)("185cf0fc",o,!1,{})},14958:function(e,t,a){var o=a(80270);o.__esModule&&(o=o.default),"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals),(0,a(45346).Z)("a8c14464",o,!1,{})},22159:function(e,t,a){var o=a(25546);o.__esModule&&(o=o.default),"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals),(0,a(45346).Z)("16a04b32",o,!1,{})},19532:function(e,t,a){var o=a(85811);o.__esModule&&(o=o.default),"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals),(0,a(45346).Z)("5f998ab2",o,!1,{})},74905:function(e,t,a){var o=a(25604);o.__esModule&&(o=o.default),"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals),(0,a(45346).Z)("64f87115",o,!1,{})},84894:function(e,t,a){var o=a(20747);o.__esModule&&(o=o.default),"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals),(0,a(45346).Z)("3b9b8ba1",o,!1,{})},2990:function(e,t,a){var o=a(45268);o.__esModule&&(o=o.default),"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals),(0,a(45346).Z)("51d458b4",o,!1,{})},73886:function(e,t,a){var o=a(89464);o.__esModule&&(o=o.default),"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals),(0,a(45346).Z)("514fa066",o,!1,{})},87043:function(e,t,a){var o=a(84553);o.__esModule&&(o=o.default),"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals),(0,a(45346).Z)("00268c31",o,!1,{})},54112:function(e,t,a){var o=a(90333);o.__esModule&&(o=o.default),"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals),(0,a(45346).Z)("51c15e04",o,!1,{})},65393:function(e,t,a){var o=a(94358);o.__esModule&&(o=o.default),"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals),(0,a(45346).Z)("51eff4a1",o,!1,{})},27842:function(e,t,a){var o=a(70441);o.__esModule&&(o=o.default),"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals),(0,a(45346).Z)("199e556a",o,!1,{})},42492:function(e,t,a){var o=a(46664);o.__esModule&&(o=o.default),"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals),(0,a(45346).Z)("728ee050",o,!1,{})},61427:function(e,t,a){var o=a(76726);o.__esModule&&(o=o.default),"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals),(0,a(45346).Z)("0dcfc945",o,!1,{})},20418:function(e,t,a){var o=a(86624);o.__esModule&&(o=o.default),"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals),(0,a(45346).Z)("9d724b50",o,!1,{})},32583:function(e,t,a){var o=a(67120);o.__esModule&&(o=o.default),"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals),(0,a(45346).Z)("527a5de4",o,!1,{})},87517:function(e,t,a){var o=a(76482);o.__esModule&&(o=o.default),"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals),(0,a(45346).Z)("3f30d37b",o,!1,{})},59715:function(e,t,a){var o=a(31153);o.__esModule&&(o=o.default),"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals),(0,a(45346).Z)("3602b667",o,!1,{})},1998:function(e,t,a){var o=a(1752);o.__esModule&&(o=o.default),"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals),(0,a(45346).Z)("3fb57f84",o,!1,{})},7849:function(e,t,a){var o=a(56823);o.__esModule&&(o=o.default),"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals),(0,a(45346).Z)("cea8044e",o,!1,{})},45370:function(e,t,a){var o=a(65519);o.__esModule&&(o=o.default),"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals),(0,a(45346).Z)("d5f6b812",o,!1,{})},15463:function(e,t,a){var o=a(33605);o.__esModule&&(o=o.default),"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals),(0,a(45346).Z)("767c48e4",o,!1,{})},17109:function(e,t,a){var o=a(63804);o.__esModule&&(o=o.default),"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals),(0,a(45346).Z)("18ae417c",o,!1,{})},84334:function(){window._iconfont_svg_string_3240254='<svg><symbol id="a-huaban1x" viewBox="0 0 1024 1024"><path d="M524.544 31.1552C347.0592 293.632 245.1712 458.24 218.88 524.9024 179.5072 624.896 140.8 985.2672 512 985.2672s345.3952-365.312 305.92-460.3648C791.552 461.5168 693.76 296.9344 524.544 31.1552z" fill="#60D6F9" ></path><path d="M321.8944 451.4304c-33.2032 96.3584-39.7312 184.832-19.5584 265.5232 20.1728 80.64 81.3312 145.664 183.4496 195.0208-109.2608-36.0448-179.7888-95.104-211.584-177.152-31.7952-82.0736-15.872-176.5376 47.6928-283.392z" fill="#FFFFFF" ></path></symbol><symbol id="Icon-img" viewBox="0 0 1024 1024"><path d="M683.437419 1.585548c3.963871 0 8.654452 0.759742 12.585291 3.138065 3.171097 1.552516 7.101935 3.930839 10.24 6.276129 8.654452 6.276129 16.516129 12.58529 24.377806 19.687226a1697.560774 1697.560774 0 0 1 70.028387 61.340903l4.690581 4.723613c22.032516 19.654194 44.032 40.101161 66.064516 60.548129l29.894194 27.515871a25.6 25.6 0 0 1 7.861677 18.101677v250.88h100.64929v427.074065h-100.64929v125.027097H230.433032c-69.202581 0-125.852903-55.824516-125.852903-125.027097H3.963871V453.797161h100.682323V2.34529h481.313032c13.378065 0.792774 23.585032 13.378065 22.792258 26.756129-0.759742 13.378065-12.552258 23.585032-26.723097 22.792258H154.92129v401.903484h704.710194V253.258323h-201.331613V27.515871c0-14.137806 10.999742-25.930323 25.137548-25.930323zM858.83871 880.871226H154.92129c0 40.893935 33.825032 74.718968 75.511742 74.718968H858.83871v-74.718968zM726.049032 541.068387c-24.675097 0-46.575484 5.945806-65.734193 17.837419-19.15871 11.891613-34.023226 28.506839-44.593549 49.87871-10.570323 21.371871-15.855484 45.914839-15.855484 73.661936 0 27.515871 5.285161 52.025806 15.855484 73.496774 10.570323 21.470968 25.434839 38.152258 44.593549 50.043871 19.15871 11.891613 40.96 17.837419 65.403871 17.837419 22.693161 0 42.017032-4.624516 57.971613-13.873548 15.954581-9.249032 28.011355-22.23071 36.170322-38.978065 6.969806-14.336 10.96671-30.72 11.957678-49.118968l0.264258-9.348129v-40.96h-99.096775v43.602581h52.190968c-1.32129 44.263226-21.140645 66.394839-59.458064 66.394839a65.073548 65.073548 0 0 1-39.143226-12.056774c-11.131871-8.026839-19.720258-19.489032-25.765161-34.353549-6.044903-14.864516-9.083871-32.437677-9.083871-52.686451 0-19.588129 3.072-36.897032 9.249032-51.860646 6.177032-14.963613 14.798452-26.590968 25.930322-34.849032 11.131871-8.258065 23.84929-12.387097 38.152259-12.387097 27.94529 0 46.707613 12.552258 56.220903 37.689807l1.915871 5.582451 42.611613-20.149677a83.968 83.968 0 0 0-35.014194-48.061935c-17.408-11.56129-38.978065-17.341935-64.743226-17.341936z m-508.036129 4.294194H166.152258v273.837419H218.012903v-273.837419z m126.513549 0H271.194839v273.837419h46.905806v-203.809032l65.403871 203.809032h55.494194l66.064516-204.139355v204.139355h51.860645v-273.837419h-75.313548l-68.376775 215.04-68.707096-215.04zM707.848258 77.064258v125.852903h139.197936c-25.170581-22.792258-50.341161-46.410323-75.511742-69.20258l-4.723613-4.723613a2872.154839 2872.154839 0 0 0-58.962581-51.92671z" fill="#999999" ></path></symbol>
1<symbol id="a-Icon-pdf1x1" viewBox="0 0 1024 1024"><path d="M683.437419 1.585548c3.963871 0 8.654452 0.759742 12.585291 3.138065 3.171097 1.552516 7.101935 3.930839 10.24 6.276129 8.654452 6.276129 16.516129 12.58529 24.377806 19.687226a1697.560774 1697.560774 0 0 1 70.028387 61.340903l4.690581 4.723613c22.032516 19.654194 44.032 40.101161 66.064516 60.548129l29.894194 27.515871a25.6 25.6 0 0 1 7.861677 18.101677v250.88h100.64929v427.074065h-100.64929v125.027097H230.433032c-69.202581 0-125.852903-55.824516-125.852903-125.027097H3.963871V453.797161h100.682323V2.34529h481.313032c13.378065 0.792774 23.585032 13.378065 22.792258 26.756129-0.759742 13.378065-12.552258 23.585032-26.723097 22.792258H154.92129v401.903484h704.710194V253.258323h-201.331613V27.515871c0-14.137806 10.999742-25.930323 25.137548-25.930323zM858.83871 880.871226H154.92129c0 40.893935 33.825032 74.718968 75.511742 74.718968H858.83871v-74.718968zM726.049032 541.068387c-24.675097 0-46.575484 5.945806-65.734193 17.837419-19.15871 11.891613-34.023226 28.506839-44.593549 49.87871-10.570323 21.371871-15.855484 45.914839-15.855484 73.661936 0 27.515871 5.285161 52.025806 15.855484 73.496774 10.570323 21.470968 25.434839 38.152258 44.593549 50.043871 19.15871 11.891613 40.96 17.837419 65.403871 17.837419 22.693161 0 42.017032-4.624516 57.971613-13.873548 15.954581-9.249032 28.011355-22.23071 36.170322-38.978065 6.969806-14.336 10.96671-30.72 11.957678-49.118968l0.264258-9.348129v-40.96h-99.096775v43.602581h52.190968c-1.32129 44.263226-21.140645 66.394839-59.458064 66.394839a65.073548 65.073548 0 0 1-39.143226-12.056774c-11.131871-8.026839-19.720258-19.489032-25.765161-34.353549-6.044903-14.864516-9.083871-32.437677-9.083871-52.686451 0-19.588129 3.072-36.897032 9.249032-51.860646 6.177032-14.963613 14.798452-26.590968 25.930322-34.849032 11.131871-8.258065 23.84929-12.387097 38.152259-12.387097 27.94529 0 46.707613 12.552258 56.220903 37.689807l1.915871 5.582451 42.611613-20.149677a83.968 83.968 0 0 0-35.014194-48.061935c-17.408-11.56129-38.978065-17.341935-64.743226-17.341936z m-508.036129 4.294194H166.152258v273.837419H218.012903v-273.837419z m126.513549 0H271.194839v273.837419h46.905806v-203.809032l65.403871 203.809032h55.494194l66.064516-204.139355v204.139355h51.860645v-273.837419h-75.313548l-68.376775 215.04-68.707096-215.04zM707.848258 77.064258v125.852903h139.197936c-25.170581-22.792258-50.341161-46.410323-75.511742-69.20258l-4.723613-4.723613a2872.154839 2872.154839 0 0 0-58.962581-51.92671z" fill="#999999" ></path></symbol><symbol id="a-EN2x" viewBox="0 0 1706 1024"><path d="M791.94329174 798.42534744v-82.49050006H489.47812484V556.30045356h274.96833355V478.39275906H489.47812484V335.56198598h297.1185606V253.07148592H394.00300886V798.42534744h397.94028287z m170.32760644 0V397.42986102h2.29140277l248.23530148 400.99548642h100.82172229V253.07148592H1222.72701429v401.75928716h-1.52760204L972.20031058 253.07148592H871.37858829V798.42534744h90.89230989z" fill="#0064B4" ></path></symbol><symbol id="ico_ed_blue" viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#DBEDF6" ></path><path d="M473.931294 692.705882v-52.043294H283.105882v-100.713412h173.477647v-49.152H283.105882v-90.112h187.452236v-52.043294H222.870588V692.705882h251.060706z m107.459765 0v-252.988235h1.445647l156.611765 252.988235h63.60847V348.641882H745.712941v253.470118h-0.963765l-157.093647-253.470118H524.047059V692.705882h57.344z" fill="#0064B4" ></path></symbol><symbol id="a-2" viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#8AC750" ></path><path d="M473.931294 692.705882v-52.043294H283.105882v-100.713412h173.477647v-49.152H283.105882v-90.112h187.452236v-52.043294H222.870588V692.705882h251.060706z m107.459765 0v-252.988235h1.445647l156.611765 252.988235h63.60847V348.641882H745.712941v253.470118h-0.963765l-157.093647-253.470118H524.047059V692.705882h57.344z" fill="#FFFFFF" ></path></symbol><symbol id="a-Icon-pdf1x" viewBox="0 0 1024 1024"><path d="M683.437419 1.585548c3.963871 0 8.654452 0.759742 12.585291 3.138065 3.171097 1.552516 7.101935 3.930839 10.24 6.276129 8.654452 6.276129 16.516129 12.58529 24.377806 19.687226a1697.560774 1697.560774 0 0 1 70.028387 61.340903l4.690581 4.723613c22.032516 19.654194 44.032 40.101161 66.064516 60.548129l29.894194 27.515871a25.6 25.6 0 0 1 7.861677 18.101677v250.88h100.64929v427.074065h-100.64929v125.027097H230.433032c-69.202581 0-125.852903-55.824516-125.852903-125.027097H3.963871V453.797161h100.682323V2.34529h481.313032c13.378065 0.792774 23.585032 13.378065 22.792258 26.756129-0.759742 13.378065-12.552258 23.585032-26.723097 22.792258H154.92129v401.903484h704.710194V253.258323h-201.331613V27.515871c0-14.137806 10.999742-25.930323 25.137548-25.930323zM858.83871 880.871226H154.92129c0 40.893935 33.825032 74.718968 75.511742 74.718968H858.83871v-74.718968zM295.407484 503.08129H248.600774v206.121291c0 22.759226-4.294194 39.077161-12.023742 49.383225-8.158968 10.306065-21.041548 15.855484-39.077161 15.855484-31.777032 0-47.665548-18.432-47.665548-54.932645v-9.909677H103.027613v10.339097c0 30.059355 8.158968 53.248 24.476903 70.424774 15.459097 16.747355 38.647742 25.335742 69.136516 25.335742 35.212387 0 60.977548-9.447226 77.295484-27.482839 14.170839-17.176774 21.470968-42.941935 21.470968-77.295484V503.08129z m472.79071-6.011871c-45.089032 0-81.160258 15.459097-107.784259 47.236129-25.335742 29.629935-37.788903 67.385806-37.788903 113.36671 0 45.518452 12.453161 82.877935 37.788903 111.649032 27.053419 30.918194 64.842323 46.37729 113.79613 46.377291a248.732903 248.732903 0 0 0 73.430709-10.306065 178.47329 178.47329 0 0 0 55.395097-28.771097v-128.825806H771.633548v39.936h84.595613v66.56c-10.306065 6.44129-21.470968 11.56129-34.353548 15.029677a169.455484 169.455484 0 0 1-42.512516 5.582452c-38.218323 0-66.56-10.735484-84.595613-32.206452-17.176774-19.75329-25.335742-48.094968-25.335742-85.025032 0-37.788903 9.017806-67.418839 27.912258-88.889806 17.606194-20.612129 41.224258-30.488774 70.854194-30.488775 24.047484 0 43.800774 5.153032 58.401032 15.855484 14.600258 10.339097 24.047484 25.765161 28.341677 46.410323h47.236129c-
15.582452-34.353548-19.323871-59.68929-41.224258-76.866065-22.759226-18.035613-53.677419-26.624-92.75458-26.624z m-285.563871 6.011871h-127.108129v306.60542h46.806709v-119.378581h79.442581c73.43071 0 110.360774-31.380645 110.360774-94.042839 0-62.265806-36.500645-93.184-109.501935-93.184z m-3.864775 39.936c22.759226 0 39.506581 4.294194 50.242065 12.882581 10.735484 7.729548 16.317935 21.470968 16.317935 40.365419s-5.582452 32.635871-15.888516 41.224258c-10.735484 8.588387-27.482839 12.882581-50.671484 12.882581H402.332903v-107.354839h76.436645z m229.07871-465.953032v125.852903h139.197936c-25.170581-22.792258-50.341161-46.410323-75.511742-69.20258l-4.723613-4.723613a2872.154839 2872.154839 0 0 0-58.962581-51.92671z" fill="#999999" ></path></symbol><symbol id="ai-home" viewBox="0 0 1024 1024"><path d="M592.795141 942.076152 592.795141 686.385702 432.057273 686.385702l0 256.372995c-5.02341 0.258896-9.030677 0.647753-13.038968 0.647753-75.894528 0-151.827941 0.040932-227.727585 0-26.079982 0-43.617403-16.727986-43.733037-44.430932-0.527003-105.19997-0.366344-210.486922 0.116657-315.686892 0-5.547343 4.213975-12.641925 8.465812-16.428158 68.686359-60.686151 137.733944-120.984469 206.664873-181.329858 45.884027-40.168862 91.729168-80.340793 137.612171-120.467699 3.565199-3.097548 7.213285-6.106068 11.703553-9.939373 27.377534 23.916712 54.633295 47.699372 81.849146 71.526033 89.782839 78.580706 179.449022 157.332305 269.476431 235.612159 9.679453 8.383948 13.809517 16.898879 13.727653 30.446429-0.565888 99.871615-0.406253 199.778023-0.200568 299.602565 0.037862 18.152429-4.213975 33.936927-19.321044 43.959188-5.467525 3.64911-12.392238 6.79373-18.668175 6.835685-80.551594 0.429789-161.103188 0.210801-241.609757 0.169869C596.199681 943.277514 594.978876 942.717765 592.795141 942.076152L592.795141 942.076152zM713.76426 234.18567c0-42.192961-0.039909-81.158415 0-120.084982 0.037862-24.858154 5.627161-30.79333 28.995381-30.835286 36.287461 0 72.573899-0.040932 108.86136 0.041956 18.711154 0.047072 25.186635 7.052626 25.230638 28.085662 0.083911 83.307358 0.282433 166.663834-0.24457 249.971192-0.081864 12.859889 3.321652 21.1149 12.834306 29.287023 39.774889 33.978882 78.772065 68.901253 117.974925 103.609753 19.23304 17.033955 19.721157 25.329898 3.521197 45.591361-9.797134 12.300141-19.393699 24.816199-29.278837 37.075407-12.147668 15.178701-22.193465 16.126282-36.730553 3.221368-139.192156-123.352399-278.385335-246.787686-417.621493-370.181017-4.818749-4.256954-9.758248-8.432043-15.391549-13.33675-31.302937 27.702945-62.36642 55.099922-93.348038 82.579787C305.578674 379.341654 192.588273 479.506958 79.596849 579.63133c-15.307637 13.589506-24.821315 12.777001-37.699624-3.225461-10.656711-13.289678-21.262256-26.66736-31.751145-40.079834-12.231579-15.656585-11.743462-25.765827 3.037173
1-38.9675 63.054081-56.042387 126.274962-111.870904 189.450816-167.782308 84.193541-74.5366 168.470993-148.983149 252.626671-223.647663 38.187741-33.849946 75.366502-33.849946 113.639177 0.257873 45.235251 40.297798 90.597391 80.429821 135.910413 120.597659C706.96132 228.681306 709.227943 230.441393 713.76426 234.18567L713.76426 234.18567zM713.76426 234.18567"  ></path></symbol><symbol id="a-Icon-excel1x" viewBox="0 0 1024 1024"><path d="M683.437419 1.585548c3.963871 0 8.654452 0.759742 12.585291 3.138065 3.171097 1.552516 7.101935 3.930839 10.24 6.276129 8.654452 6.276129 16.516129 12.58529 24.377806 19.687226a1697.560774 1697.560774 0 0 1 70.028387 61.340903l4.690581 4.723613c22.032516 19.654194 44.032 40.101161 66.064516 60.548129l29.894194 27.515871a25.6 25.6 0 0 1 7.861677 18.101677v250.88h100.64929v427.074065h-100.64929v125.027097H230.433032c-69.202581 0-125.852903-55.824516-125.852903-125.027097H3.963871V453.797161h100.682323V2.34529h481.313032c13.378065 0.792774 23.585032 13.378065 22.792258 26.756129-0.759742 13.378065-12.552258 23.585032-26.723097 22.792258H154.92129v401.903484h704.710194V253.258323h-201.331613V27.515871c0-14.137806 10.999742-25.930323 25.137548-25.930323zM858.83871 880.871226H154.92129c0 40.893935 33.825032 74.718968 75.511742 74.718968H858.83871v-74.718968z m-310.338065-344.592516c-21.20671 0-40.035097 5.252129-56.485161 15.756387a105.108645 105.108645 0 0 0-38.350452 44.131097c-9.116903 18.927484-13.675355 40.695742-13.675355 65.271741 0 24.774194 4.558452 46.608516 13.675355 65.536a104.084645 104.084645 0 0 0 38.350452 43.998968c16.450065 10.405161 35.278452 15.624258 56.485161 15.624258 22.197677 0 40.728774-5.053935 55.59329-15.194838 13.01471-8.819613 22.296774-20.546065 27.879226-35.146323l2.147097-6.44129-32.404645-15.194839c-7.927742 26.392774-25.963355 39.572645-54.106839 39.572645-13.477161 0-25.368774-3.864774-35.674839-11.594322-10.306065-7.729548-18.332903-18.630194-24.080516-32.701936-
15.747613-14.071742-8.621419-30.224516-8.621419-48.458323s2.873806-34.386581 8.621419-48.458322c5.747613-14.071742 13.774452-24.972387 24.080516-32.701936a57.839484 57.839484 0 0 1 35.674839-11.594322c26.095484 0 43.536516 11.56129 52.356129 34.683871l1.75071 5.153032 32.404645-15.459097a74.421677 74.421677 0 0 0-30.026323-41.488516c-14.864516-10.206968-33.395613-15.293935-55.59329-15.293935z m-310.238968 3.864774H93.184v242.588903h145.077677v-33.032258H132.129032v-77.559742h99.294968V638.843871H132.129032v-65.403871h106.132645v-33.296516z m55.229936 0H247.114323l75.214451 119.51071-76.998193 123.078193h42.215225l57.377033-98.700387 57.377032 98.700387h44.593548l-76.998193-123.078193 74.917161-119.51071h-43.404387l-54.404129 95.430193-53.512258-95.463225z m497.829161 0h-145.077677v242.588903h145.077677v-33.032258h-106.132645v-77.559742h99.294968V638.843871h-99.294968v-65.403871h106.132645v-33.296516z m59.986581 0h-38.945032v242.588903h141.510193v-33.032258h-102.565161v-209.556645zM707.848258 77.064258v125.852903h139.197936c-25.170581-22.792258-50.341161-46.410323-75.511742-69.20258l-4.723613-4.723613a2872.154839 2872.154839 0 0 0-58.962581-51.92671z" fill="#999999" ></path></symbol><symbol id="a-Icon-word1x" viewBox="0 0 1024 1024"><path d="M683.437419 1.585548c3.963871 0 8.654452 0.759742 12.585291 3.138065 3.171097 1.552516 7.101935 3.930839 10.24 6.276129 8.654452 6.276129 16.516129 12.58529 24.377806 19.687226a1697.560774 1697.560774 0 0 1 70.028387 61.340903l4.690581 4.723613c22.032516 19.654194 44.032 40.101161 66.064516 60.548129l29.894194 27.515871a25.6 25.6 0 0 1 7.861677 18.101677v250.88h100.64929v427.074065h-100.64929v125.027097H230.433032c-69.202581 0-125.852903-55.824516-125.852903-125.027097H3.963871V453.797161h100.682323V2.34529h481.313032c13.378065 0.792774 23.585032 13.378065 22.792258 26.756129-0.759742 13.378065-12.552258 23.585032-26.723097 22.792258H154.92129v401.903484h704.710194V253.258323h-201.331613V27.515871c0-14.137806 10.999742-25.930323 25.137548-25.930323zM858.83871 880.871226H154.92129c0 40.893935 33.825032 74.718968 75.511742 74.718968H858.83871v-74.718968z m-396.221936-311.560258c-21.008516 0-39.671742 5.285161-56.022709 15.888516-16.350968 10.603355-29.101419 25.368774-38.218323 44.296258s-13.675355 40.596645-13.675355 64.974452 4.558452 46.013935 13.675355 64.941419c9.116903 18.927484 21.867355 33.692903 38.218323 44.296258 16.350968 10.603355 35.014194 15.921548 56.022709 15.921548 21.20671 0 39.969032-5.285161 56.353032-15.756387 16.350968-10.504258 29.068387-25.269677 38.185291-44.296258 9.116903-19.026581 13.675355-40.728774 13.675355-65.10658s-4.558452-46.08-13.675355-65.106581c-9.116903-19.026581-21.834323-33.792-38.185291-44.296258-16.350968-10.504258-35.146323-15.756387-56.353032-15.756387z m-377.195355 3.864774H44.395355l63.322839 242.588903h40.431483l50.539355-194.13058 50.539355 194.13058h40.431484l63.322839-242.588903H313.740387l-44.296258 195.617032-49.944774-195.617032H179.662452l-49.944775 195.617032-44.296258-195.617032z m597.124129 0H588.304516v242.588903h38.945032V719.112258h30.918194l64.21471 96.619355H769.651613l-70.160516-98.105807c17.044645-3.36929 30.488774-11.396129 40.299355-24.113548 9.810581-12.651355 14.699355-28.506839 14.699354-47.566452 0-14.435097-2.972903-27.185548-8.918709-38.18529a63.025548 63.025548 0 0 0-25.104516-25.566968 73.166452 73.166452 0 0 0-30.852129-8.819613l-7.068904-0.231225z m179.794581 0h-87.997935v242.588903h87.997935c21.80129 0 40.827871-5.020903 57.079742-15.029677 16.251871-10.008774 28.738065-24.113548 37.458581-42.347355 8.720516-18.233806 13.080774-39.539613 13.080774-63.917419 0-24.179613-4.360258-45.452387-13.080774-63.752259a98.00671 98.00671 0 0 0-37.458581-42.545548 103.622194 103.622194 0 0 0-49.019871-14.765419l-8.059871-0.231226z m-399.723355 28.539871c13.477161 0 25.467871 3.864774 35.972129 11.56129 10.504258 7.762581 18.630194 18.663226 24.377807 32.701936 5.747613 14.104774 8.621419 30.257548 8.621419 48.491355 0 18.233806-2.873806 34.353548-8.621419 48.458322-5.747613 14.071742-13.873548 24.972387-24.377807 32.701936a59.127742 59.127742 0 0 1-35.972129 11.56129 58.467097 58.467097 0 0 1-35.806968-11.56129c-10.405161-7.729548-18.498065-18.630194
1-24.245677-32.701936-5.747613-14.071742-8.621419-30.224516-8.621419-48.458322s2.873806-34.386581 8.621419-48.458323c5.747613-14.071742 13.840516-24.972387 24.245677-32.701936a58.467097 58.467097 0 0 1 35.806968-11.594322z m392.885678 4.756645c23.783226 0 42.28129 7.927742 55.461161 23.783226s19.75329 37.260387 19.75329 64.21471c0 26.954323-6.606452 48.392258-19.75329 64.346838-13.212903 15.954581-31.677935 23.948387-55.461161 23.948387h-42.215226V606.472258h42.215226z m-181.281033-2.081032c13.278968 0 23.452903 3.633548 30.488775 10.83458 7.035871 7.267097 10.53729 17.507097 10.53729 30.786065 0 13.477161-3.501419 23.816258-10.570323 31.050323-7.002839 7.267097-17.176774 10.867613-30.455742 10.867612h-46.971871v-83.571612h46.971871z m33.626839-527.326968v125.852903h139.197936c-25.170581-22.792258-50.341161-46.410323-75.511742-69.20258l-4.723613-4.723613a2872.154839 2872.154839 0 0 0-58.962581-51.92671z" fill="#999999" ></path></symbol><symbol id="a-ico_xiaoxi1x" viewBox="0 0 1024 1024"><path d="M836.2496 780.0832h-25.6V424.0384c0-147.7632-111.2576-269.9776-256-290.304v-40.6528A42.2912 42.2912 0 0 0 512 51.2a42.2912 42.2912 0 0 0-42.6496 41.8816v40.6528c-144.7424 20.3264-256 142.5408-256 290.304v356.0448h-25.6a33.792 33.792 0 0 0-34.1504 33.536v33.4848c0 4.608 3.84 8.3968 8.5504 8.3968h230.4C392.5504 920.2176 446.1056 972.8 512 972.8c65.8944 0 119.4496-52.5824 119.4496-117.248h230.4a8.4992 8.4992 0 0 0 8.5504-8.448v-33.4848a33.792 33.792 0 0 0-34.1504-33.536zM512 905.7792c-28.2624 0-51.2-22.528-51.2-50.2784h102.4a50.7392 50.7392 0 0 1-51.2 50.2784z" fill="#0064B4" ></path></symbol><symbol id="a-download1x" viewBox="0 0 1024 1024"><path d="M505.728 660.992c3.2 4.096 9.344 4.096 12.544 0l112-141.696a8 8 0 0 0-6.272-12.928H549.888V168a8 8 0 0 0-8-8H481.92a8 8 0 0 0-8 8v338.304H400a8 8 0 0 0-6.272 12.928l112 141.76z m372.288-35.008h-60.032a8 8 0 0 0-8 8v153.984H214.016V633.984a8 8 0 0 0-8-8H145.92a8 8 0 0 0-8 8V832a32 32 0 0 0 32 32h684.032a32 32 0 0 0 32-32V633.984a8 8 0 0 0-8-8z" fill="#0064B4" ></path></symbol><symbol id="WechatIMG27203" viewBox="0 0 1024 1024"><path d="M904 512h-56a8 8 0 0 0-8 8v320H184V184h320A8 8 0 0 0 512 176v-56a8 8 0 0 0-8-8H144a32 32 0 0 0-32 32v736a32 32 0 0 0 32 32h736a32 32 0 0 0 32-32V520A8 8 0 0 0 904 512z" fill="#0064B4" ></path><path d="M355.84 534.912l-1.856 118.912a16 16 0 0 0 16 16.192h0.384l118.016-2.944a8.32 8.32 0 0 0 5.44-2.304l415.872-414.976a8 8 0 0 0 0-11.264l-124.288-124.224a8.32 8.32 0 0 0-11.392 0L358.208 529.28a8.32 8.32 0 0 0-2.304 5.632z m63.552 23.616l360.32-359.552 45.184 45.12-360.512 359.68-45.696 1.152 0.704-46.4z" fill="#0064B4" ></path></symbol><symbol id="water" viewBox="0 0 1024 1024"><path d="M505.668923 74.919385c-17.142154 19.282708-34.282338 44.994954-100.688738 149.962831-32.143754 53.5552-59.984738 102.829292-85.698954 152.103385-49.274092 96.407631-98.548185 227.089723-98.548185 310.636308 2.140554 72.847754 29.993354 134.973046 85.698954 186.387692C364.266338 925.426215 430.682585 951.138462 509.950031 951.138462s147.822277-25.712246 203.52-79.267446c57.844185-53.565046 85.698954-115.688369 83.5584-188.526277C797.026462 462.684554 503.518523 72.778831 505.668923 74.919385z"  ></path></symbol><symbol id="a-star_hei1x" viewBox="0 0 1024 1024"><path d="M576.128 102.784l85.248 172.608c10.112 20.48 29.696 34.688 52.288 37.952l190.464 27.648c56.96 8.32 79.68 78.272 38.4 118.464l-137.792 134.4c-16.384 15.936-23.808 38.976-19.968 61.44l32.576 189.76a69.504 69.504 0 0 1-100.8 73.28l-170.368-89.6a69.504 69.504 0 0 0-64.64 0l-170.432 89.6a69.504 69.504 0 0 1-100.8-73.28l32.576-189.696a69.44 69.44 0 0 0-19.968-61.504L85.056 459.52a69.44 69.44 0 0 1 38.464-118.528l190.464-27.584c22.592-3.264 42.176-17.536 52.288-38.016l85.312-172.672a69.376 69.376 0 0 1 124.544 0z" fill="#D1D1D1" ></path></symbol><symbol id="a-star_liang1x" viewBox="0 0 1024 1024"><path d="M576.128 102.784l85.248 172.608c10.112 20.48 29.696 34.688 52.288 37.952l190.464 27.648c56.96 8.32 79.68 78.272 38.4 118.464l-137.792 134.4c-16.384 15.936-23.808 38.976-19.968 61.44l32.576 189.76a69.504 69.504 0 0 1-100.8 73.28l-170.368-89.6a69.504 69.504 0 0 0-64.64 0l-170.432 89.6a69.504 69.504 0 0 1-100.8-73.28l32.576-189.696a69.44 69.44 0 0 0-19.968-61.504L85.056 459.52a69.44 69.44 0 0 1 38.464-118.528l190.464-27.584c22.592-3.264 42.176-17.536 52.288-38.016l85.312-172.672a69.376 69.376 0 0 1 124.544 0z" fill="#FFD80C" ></path></symbol><symbol id="a-ico_aa_blue1x" viewBox="0 0 1024 1024"><path d="M449.629091 666.530909h285.789091L797.789091 837.818182h108.916364l-256-664.669091H535.272727l-138.798545 365.056L449.629091 666.530909z m255.069091-83.781818h-224.349091l110.778182-300.683636h3.723636l109.847273 300.683636zM157.882182 837.818182l37.422545-102.772364H366.778182L404.200727 837.818182h65.349818l-153.6-398.801455H246.690909L93.090909 837.818182h64.791273z m190.464-153.041455H213.736727l66.466909-180.410182h2.234182l65.908364 180.410182z" fill="#0064B4" ></path></symbol><symbol id="a-ico_ed_blue1x" viewBox="0 0 1024 1024"><path d="M434.548364 764.462545v-80.430545H139.636364v-155.648h268.101818V452.421818H139.636364V313.157818h289.698909V232.727273H46.545455v531.735272h388.002909z m301.614545 0c40.727273 0 75.962182-6.981818 105.751273-20.852363a196.514909 196.514909 0 0 0 72.983273-56.971637 243.432727 243.432727 0 0 0 42.07709-84.526545 376.599273 376.599273 0 0 0 13.777455-103.517091c0-36.770909-4.608-71.214545-13.777455-103.517091a243.432727 243.432727 0 0 0-42.07709-84.526545 196.514909 196.514909 0 0 0-72.983273-56.971637C812.125091 239.662545 776.890182 232.727273 736.162909 232.727273H515.723636v531.735272h220.439273z m-35.746909-75.962181H608.814545v-379.810909h91.601455c36.258909 0 65.908364 4.840727 88.994909 14.522181 23.086545 9.681455 41.192727 23.086545 54.365091 40.215273 13.172364 17.128727 22.109091 37.236364 26.810182 60.322909 4.701091 23.086545 7.074909 48.034909 7.074909 74.845091 0 26.810182-2.327273 51.758545-7.074909 74.845091a145.221818 145.221818 0 0 1-26.810182 60.322909c-13.172364 17.128727-31.278545 30.533818-54.3
165091 40.215273-23.086545 9.681455-52.736 14.522182-88.994909 14.522182z" fill="#0064B4" ></path></symbol><symbol id="a-ico_saerch_blue1x" viewBox="0 0 1024 1024"><path d="M954.786909 844.986182l-222.72-222.766546c-2.606545-2.56-5.492364-4.561455-8.145454-6.702545a366.266182 366.266182 0 0 0 59.578181-200.517818 368.500364 368.500364 0 1 0-368.453818 368.453818 366.731636 366.731636 0 0 0 200.657455-59.717818c2.094545 2.792727 4.049455 5.585455 6.562909 8.145454l222.766545 222.813091a77.498182 77.498182 0 0 0 109.754182 0c30.254545-30.394182 30.254545-79.266909 0-109.707636M414.999273 667.042909A252.416 252.416 0 0 1 162.909091 414.999273a252.416 252.416 0 0 1 252.090182-252.136728 252.462545 252.462545 0 0 1 252.136727 252.136728 252.369455 252.369455 0 0 1-252.136727 252.043636" fill="#0064B4" ></path></symbol><symbol id="a-ico_F_blue1x" viewBox="0 0 1024 1024"><path d="M279.272727 502.039273V350.626909h92.811637V259.025455C372.084364 135.540364 408.948364 46.545455 544.209455 46.545455h160.86109v151.04h-113.24509c-56.785455 0-69.632 37.701818-69.632 77.218909v75.822545h174.545454l-23.831273 151.412364h-150.714181v456.704H372.084364v-456.704H279.272727z" fill="#0064B4" ></path></symbol><symbol id="a-ico_share_blue1x" viewBox="0 0 1024 1024"><path d="M772.933818 686.638545c-43.752727 0-83.409455 16.384-111.988363 42.961455l-299.054546-176.267636a131.584 131.584 0 0 0-17.035636-78.661819l253.486545-179.525818c28.578909 26.205091 67.909818 42.356364 111.383273 42.356364 87.133091 0 157.835636-65.256727 157.835636-145.501091C867.607273 111.616 796.858182 46.545455 709.725091 46.545455c-87.226182 0-157.835636 65.210182-157.835636 145.454545 0 6.609455 0.465455 13.358545 1.489454 19.735273L273.221818 410.158545a168.354909 168.354909 0 0 0-68.747636-14.42909C117.294545 395.729455 46.545455 460.893091 46.545455 541.184c0 80.244364 70.749091 145.454545 157.975272 145.454545 43.752727 0 83.409455-16.337455 111.988364-42.961454l299.054545 176.174545a133.585455 133.585455 0 0 0-0.465454 12.101819c0 80.430545 70.749091 145.501091 157.835636 145.50109C860.16 977.454545 930.909091 912.244364 930.909091 832s-70.842182-145.361455-157.975273-145.361455z" fill="#0064B4" ></path></symbol><symbol id="a-ico_fan_blue1x" viewBox="0 0 1024 1024"><path d="M842.286545 555.566545l32.023273-55.854545C826.647273 484.072727 785.687273 465.454545 751.429818 443.112727c29.789091-35.746909 52.130909-79.685818 65.536-133.306182h43.194182v-55.854545h-193.629091c8.192-17.128727 16.384-35.002182 23.831273-54.365091L630.039273 186.181818c-28.299636 70.004364-61.812364 125.114182-100.538182 165.329455l37.236364 44.683636c11.915636-11.915636 23.831273-25.320727 35.746909-40.215273 13.405091 32.768 33.512727 62.557091 60.322909 90.856728-32.768 23.831273-72.983273 41.704727-122.135273 53.620363l32.768 51.386182c52.130909-14.149818 97.559273-35.746909 134.795636-65.536 35.746909 26.810182 80.430545 49.896727 134.050909 69.259636z m-344.808727 320.977455c45.428364 0 68.514909-20.107636 68.514909-58.833455v-87.13309c58.088727-2.978909 119.156364-6.702545 183.202909-10.426182 19.362909 16.384 37.236364 32.023273 52.875637 47.662545l55.854545-38.725818c-37.981091-34.257455-92.346182-72.983273-163.095273-117.666909l-49.896727 30.533818c17.873455 11.915636 35.002182 24.576 51.386182 36.491636-93.835636 7.447273-189.905455 12.660364-287.464727 17.128728 102.772364-29.044364 196.608-67.770182 281.506909-116.177455l-49.896727-32.768c-32.023273 17.873455-63.301818 35.002182-94.580364 50.641455-50.641455 1.489455-101.282909 2.978909-153.413818 5.213091a975.127273 975.127273 0 0 0 122.88-51.386182l-21.597091-16.384c1.489455-3.723636 2.234182-7.447273 3.723636-11.915637h38.725818v-36.491636h-30.533818l6.702546-46.917818H558.545455v-44.683636h-42.449455c1.489455-23.831273 2.234182-51.386182 2.234182-81.175273H270.336c8.192-8.936727 17.128727-19.362909 26.065455-29.789091h253.207272V234.589091H330.658909c6.702545-11.170909 13.405091-23.086545 20.107636-35.002182l-58.088727-12.660364C262.888727 240.546909 227.141818 282.251636 186.181818 312.785455l36.491637 43.938909c9.681455-7.447273 19.362909-16.384 29.044363-25.320728-1.489455 20.852364-3.723636 41.704727-6.702545 63.301819H191.394909v44.683636h48.407273a3913.076364 3913.076364 0 0 1-14.149818 83.409454h215.226181c-1.489455 5.213091-3.723636 11.
1170909-5.21309 17.128728-34.257455 17.873455-67.025455 32.023273-99.048728 43.938909-10.426182 4.468364-27.554909 6.702545-52.875636 6.702545l10.426182 49.152 169.797818-5.957818c-58.833455 23.831273-114.688 41.704727-168.308364 52.875636-18.618182 0-37.236364-0.744727-56.599272-1.489454l14.894545 58.088727c74.472727-2.234182 156.392727-5.213091 245.015273-9.681454v69.259636c0 13.405091-7.447273 20.852364-21.597091 20.852364a609.745455 609.745455 0 0 1-61.812364-3.723637l11.915637 56.599273h70.004363z m207.034182-468.433455C673.233455 379.810909 651.636364 347.042909 639.720727 309.806545h119.156364a287.837091 287.837091 0 0 1-54.365091 98.304zM403.642182 402.152727H300.125091c2.234182-17.128727 4.468364-35.002182 5.957818-52.875636h157.882182L461.730909 402.152727H411.834182l14.149818-22.341818a395.776 395.776 0 0 0-75.217455-29.789091l-17.128727 24.576c23.086545 6.702545 46.173091 15.639273 70.004364 27.554909z m-2.234182 84.154182H287.464727l8.936728-52.875636h41.704727l-15.639273 24.576c26.065455 6.702545 52.130909 16.384 78.941091 28.299636z m48.407273 0h-46.173091l16.384-25.320727a608.721455 608.721455 0 0 0-78.941091-27.554909h117.666909c-2.234182 17.873455-5.213091 35.002182-8.936727 52.875636z m370.129454 383.534546l35.746909-55.854546c-61.812364-26.810182-130.327273-49.152-204.8-67.025454l-35.002181 52.130909c70.004364 17.128727 138.519273 40.96 204.055272 70.749091z m-595.781818 0.744727c79.685818-20.852364 147.456-46.917818 202.565818-78.196364l-37.236363-42.449454c-49.896727 26.810182-113.943273 49.152-191.394909 65.536l26.065454 55.109818z" fill="#0064B4" ></path></symbol><symbol id="a-ico_zg_blue1x" viewBox="0 0 1024 1024"><path d="M397.684364 385.024l62.557091-23.086545c-9.681455-19.362909-22.341818-40.96-37.981091-63.301819h98.304V236.823273H335.872c4.468364-11.170909 9.681455-23.086545 14.149818-35.746909L281.506909 186.181818C262.144 242.781091 230.865455 295.656727 186.181818 344.808727l59.578182 38.725818c22.341818-25.320727 42.449455-53.620364 60.322909-84.898909h42.449455c18.618182 27.554909 35.002182 56.599273 49.152 86.388364z m322.466909-5.957818l62.557091-23.086546c-9.681455-17.873455-21.597091-37.236364-35.746909-57.344h111.70909V236.823273h-208.523636c3.723636-11.170909 7.447273-23.086545 11.915636-35.002182l-67.770181-14.894546c-14.894545 52.130909-40.96 101.282909-77.451637 146.711273l59.578182 38.725818c17.128727-22.341818 32.768-46.917818 46.173091-73.728h50.641455c17.873455 26.065455 33.512727 52.875636 46.917818 80.430546z m-356.724364 107.240727l52.130909-35.746909c-20.852364-26.810182-50.641455-57.344-89.367273-91.601455l-52.130909 32.023273c37.236364 35.746909 67.025455 67.025455 89.367273 95.325091z m373.853091 387.258182c53.620364 0 80.430545-25.320727 80.430545-75.217455V389.492364h-346.298181V454.283636h276.293818v324.701091c0 21.597091-8.192 32.768-24.576 32.768l-67.025455-2.234182 17.128728 64.046546h64.046545z m-431.197091 2.978909v-401.408H236.078545v401.408h70.004364z m360.448-79.685818v-290.443637H385.768727v290.443637h280.762182z m-65.536-175.010909H452.794182v-58.088728h148.200727v58.088728z m0 116.177454H452.794182v-59.578182h148.200727v59.578182z" fill="#0064B4" ></path></symbol><symbol id="a-ico_youtube_blue1x" viewBox="0 0 1024 1024"><path d="M643.677091 692.782545v109.614546c0 23.179636-6.981818 34.816-20.852364 34.816-8.192 0-16.197818-3.816727-24.017454-11.450182v-156.392727c7.819636-7.586909 15.825455-11.403636 24.017454-11.403637 13.870545 0 20.852364 11.636364 20.852364 34.816z m180.456727 0.512v23.877819h-48.081454v-23.877819c0-23.552 8.005818-35.328 24.064-35.328 16.011636 0 24.017455 11.776 24.017454 35.374546zM308.363636 580.049455h57.111273v-48.872728H198.888727v48.872728h56.087273v295.563636h53.387636v-295.563636z m153.739637 295.563636h47.522909V619.054545H462.196364v196.375273c-10.705455 14.522182-20.852364 21.829818-30.440728 21.829818-6.423273 0-10.146909-3.677091-11.217454-10.938181a140.706909 140.706909 0 0 1-0.558546-18.152728v-189.114182h-47.476363v203.124364c0 16.989091 1.396364 29.602909 4.235636 37.934546 4.282182 12.8 14.615273 19.223273 30.952727 19.223272 17.128727 0 35.281455-10.565818 54.458182-31.697454v28.020363z m229.096727-76.846546v-102.353454c0-25.274182-1.629091-42.402909-4.840727-51.432727-6.050909-19.409455-18.664727-29.090909-37.888-29.090909-17.826909 0-34.350545 9.355636-49.664 28.066909v-112.733091h-47.476364v344.436363h47.476364v-24.948363c16.011636 19.037091 32.581818 28.578909 49.664 28.578909 19.223273 0 31.837091-9.541818 37.888-28.578909 3.258182-9.355636 4.840727-26.670545 4.840727-51.944728z m180.456727-5.21309v-6.749091h-48.593454c0 17.687273-0.372364 28.206545-1.070546 31.650909-2.513455 12.520727-9.634909 18.757818-21.364363 18.757818-16.384 0-24.576-11.962182-24.576-35.84v-45.195636h95.604363v-53.527273c0-27.368727-4.840727-47.476364-14.429091-60.276364-13.870545-17.687273-32.768-26.484364-56.599272-26.484363-24.203636 0-43.287273 8.843636-57.111273 26.530909-9.960727 12.8-14.987636 32.861091-14.987636 60.229818v89.832727c0 27.415273 5.166545 47.476364 15.499636 60.276364 13.870545 17.687273 33.093818 26.530909 57.669818 26.530909 25.6 0 44.869818-9.216 57.669818-27.554909 6.423273-9.309091 10.146909-18.711273 11.170909-28.066909 0.744727-3.118545 1.117091-13.125818 1.117091-30.114909zM547.002182 319.301818V210.199273c0-23.924364-7.633455-35.84-22.946909-35.84-15.313455 0-22.946909 11.915636-22.946909 35.84v109.056c0 24.250182 7.633455 36.398545 22.946909 36.398545 15.313455 0 22.946909-12.101818 22.946909-36.398545zM930.909091 709.399273c0 81.035636-4.654545 141.637818
1-13.870546 181.806545a98.117818 98.117818 0 0 1-30.999272 51.432727 94.626909 94.626909 0 0 1-54.458182 23.924364c-65.489455 7.261091-164.258909 10.891636-296.308364 10.891636-132.049455 0-230.865455-3.630545-296.308363-10.891636a95.883636 95.883636 0 0 1-54.737455-23.924364 94.440727 94.440727 0 0 1-30.72-51.432727C144.290909 852.433455 139.636364 791.831273 139.636364 709.399273c0-81.035636 4.654545-141.637818 13.870545-181.806546 4.980364-20.48 15.36-37.562182 30.999273-51.432727 15.639273-13.870545 33.978182-22.016 54.970182-24.436364 65.163636-6.888727 163.746909-10.379636 295.796363-10.379636 132.049455 0 230.865455 3.490909 296.308364 10.379636 20.666182 2.420364 38.912 10.565818 54.737454 24.436364 15.825455 13.870545 26.065455 30.999273 30.72 51.432727 9.262545 38.772364 13.870545 99.374545 13.870546 181.806546zM398.056727 46.545455h54.458182L387.909818 253.812364v140.8H334.522182V253.812364c-4.980364-25.6-15.825455-62.370909-32.581818-110.126546A4404.736 4404.736 0 0 1 267.264 46.545455h56.552727l37.934546 136.610909L398.056727 46.545455z m197.538909 173.009454V310.458182c0 28.020364-4.980364 48.453818-14.941091 61.300363-13.172364 17.687273-32.023273 26.484364-56.599272 26.484364-23.831273 0-42.542545-8.843636-56.040728-26.530909-9.960727-13.125818-14.987636-33.559273-14.987636-61.253818V219.554909c0-27.741091 5.026909-47.988364 14.987636-60.788364 13.498182-17.687273 32.209455-26.530909 56.040728-26.530909 24.576 0 43.426909 8.843636 56.599272 26.530909 9.960727 12.8 14.941091 33.047273 14.941091 60.788364z m178.874182-84.200727v259.258182h-48.593454v-28.578909c-18.850909 21.457455-37.189818 32.209455-54.970182 32.209454-16.384 0-26.903273-6.423273-31.511273-19.223273-2.839273-8.331636-4.282182-21.317818-4.282182-38.958545V135.354182h48.593455v190.650182c0 11.450182 0.186182 17.501091 0.512 18.199272 1.070545 7.633455 4.840727 11.450182 11.217454 11.450182 9.634909 0 19.781818-7.447273 30.440728-22.341818V135.354182h48.593454z" fill="#0064B4" ></path></symbol><symbol id="a-weibo1x" viewBox="0 0 1024 1024"><path d="M726.656 471.36c-34.816-6.72-17.92-25.088-17.92-25.088s34.112-55.424-6.72-95.744c-50.56-49.856-173.44 6.272-173.44 6.272-46.912 14.336-34.496-6.528-27.84-42.112 0-41.92-14.528-112.896-139.52-71.04-124.928 42.24-232.128 189.952-232.128 189.952C54.528 531.712 64.384 607.552 64.384 607.552c18.56 167.552 198.976 213.568 339.264 224.448 147.584 11.392 346.88-50.176 407.232-176.768 60.48-126.848-49.28-177.024-84.224-183.872z m-312.128 313.472c-146.496 6.72-265.024-65.728-265.024-162.176 0-96.64 118.528-174.016 265.024-180.736 146.688-6.72 265.408 53.056 265.408 149.376 0 96.32-118.72 186.944-265.408 193.536z m-29.184-279.424c-147.392 17.024-130.304 153.216-130.304 153.216s-1.536 43.2 39.488 65.152c86.144 46.08 175.04 18.176 219.84-39.04 44.864-56.96 18.56-196.224-129.024-179.328z m-37.12 191.36c-27.52 3.072-49.792-12.608-49.792-35.264 0-22.592 19.648-46.336 47.168-49.152 31.616-3.008 52.16 14.912 52.16 37.76 0.128 22.592-22.208 43.52-49.6 46.592z m86.912-73.088c-9.408 6.912-20.864 6.016-25.728-2.368-5.12-8.064-3.2-20.928 6.208-27.648 10.88-8.064 22.208-5.632 27.2 2.432 4.864 8.064 1.344 20.48-7.68 27.584z m363.328-211.328a24 24 0 0 0 23.68-19.968c0.192-0.896 0.384-1.664 0.384-2.56 17.92-159.616-132.608-132.16-132.608-132.16a23.936 23.936 0 1 0 0 47.808c108.096-23.616 84.352 83.2 84.352 83.2a23.808 23.808 0 0 0 24.192 23.68z m-17.536-278.656c-52.032-12.096-105.728-1.6-120.64 1.216-1.28 0.128-2.304 1.216-3.328 1.28-0.512 0.192-0.96 0.64-0.96 0.64a34.944 34.944 0 0 0-25.536 33.6c0 19.008 15.552 34.688 35.072 34.688 0 0 18.944-2.56 31.744-7.488 12.736-5.12 120.704-3.712 174.208 84.992 29.184 64.768 12.8 108.16 10.752 115.136 0 0-6.976 16.832-6.976 33.408 0 19.2 15.552 31.232 35.072 31.232 16.192 0 29.824-2.24 33.728-29.248h0.128c57.792-189.248-70.144-278.08-163.264-299.456z" fill="#0064B4" ></path></symbol><symbol id="a-facebook1x" viewBox="0 0 1024 1024"><path d="M725.312 149.312A21.312 21.312 0 0 0 704 128H597.312A203.52 203.52 0 0 0 384 320v115.2H277.312A21.312 21.312 0 0 0 256 456.512v110.976c0 11.776 9.6 21.312 21.312 21.312H384v285.888c0 11.776 9.6 21.312 21.312 21.312h128a21.312 21.312 0 0 0 21.376-21.312V588.8h111.744c9.792 0.128 18.368-6.4 20.928-15.808l30.72-110.912a21.312 21.312 0 0 0-20.48-26.88H554.688V320a42.688 42.688 0 0 1 42.624-38.4H704c11.776 0 21.312-9.6 21.312-21.312V149.312z" fill="#0064B4" ></path></symbol>
1<symbol id="a-twitter1x" viewBox="0 0 1024 1024"><path d="M896.128 272.32a341.952 341.952 0 0 1-98.24 26.368c35.392-21.12 62.336-54.4 75.008-94.016a336.64 336.64 0 0 1-108.16 41.216A170.112 170.112 0 0 0 640.064 192a170.496 170.496 0 0 0-170.56 170.624c0 13.184 1.664 26.368 4.224 39.04A484.608 484.608 0 0 1 122.24 223.296c-14.72 25.344-23.168 54.4-23.168 86.08 0 59.2 30.08 111.36 75.968 142.08a171.968 171.968 0 0 1-77.056-21.696v2.112c0 82.88 58.56 151.616 136.704 167.424-14.336 3.648-29.632 5.76-44.928 5.76-11.072 0-21.568-1.088-32.192-2.56a170.88 170.88 0 0 0 159.36 118.272A341.76 341.76 0 0 1 105.28 793.6c-14.336 0-27.52-0.512-41.216-2.112a482.88 482.88 0 0 0 261.888 76.48c313.6 0 485.184-259.776 485.184-485.248 0-7.424 0-14.848-0.448-22.208 33.152-24.32 62.272-54.4 85.504-88.192z" fill="#0064B4" ></path></symbol><symbol id="ico_aa_blue" viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#8AC750" ></path><path d="M431.284706 722.823529l40.357647-110.832941h184.922353L696.922353 722.823529h70.475294l-165.647059-430.08H527.058824L361.411765 722.823529h69.872941z m205.402353-165.044705h-145.167059l71.68-194.56h2.409412l71.077647 194.56z" fill="#FFFFFF" ></path><path d="M155.166118 491.098353l247.627294-110.230588 134.746353 302.622117-247.627294 110.230589z" fill="#8AC750" ></path><path d="M282.864941 722.823529l24.214588-66.499764h110.953412L442.247529 722.823529h42.285177l-99.388235-258.048H340.329412L240.941176 722.823529h41.923765z m123.241412-99.026823h-87.100235l43.008-116.736h1.445647l42.646588 116.736z" fill="#FFFFFF" ></path></symbol><symbol id="ico_F_blue" viewBox="0 0 1024 1024"><path d="M1024 512c0-282.774588-229.225412-512-512-512S0 229.225412 0 512s229.225412 512 512 512 512-229.225412 512-512z" fill="#8AC750" ></path><path d="M374.512941 512v-97.972706h60.024471v-59.271529c0-79.902118 23.883294-137.487059 111.405176-137.487059h104.056471v97.761882H576.752941c-36.743529 0-45.056 24.395294-45.056 49.935059v49.061647h112.911059L629.187765 512h-97.490824v295.514353h-97.159529V512h-60.024471z" fill="#FFFFFF" ></path></symbol><symbol id="ico_saerch_blue" viewBox="0 0 1024 1024"><path d="M1024 512c0-282.774588-229.225412-512-512-512S0 229.225412 0 512s229.225412 512 512 512 512-229.225412 512-512z" fill="#8AC750" ></path><path d="M798.509176 727.461647l-144.112941-144.143059c-1.686588-1.656471-3.553882-2.951529-5.270588-4.336941a236.995765 236.995765 0 0 0 38.550588-129.746823 238.441412 238.441412 0 1 0-238.411294 238.411294 237.296941 237.296941 0 0 0 129.837177-38.640942c1.355294 1.807059 2.620235 3.614118 4.246588 5.270589l144.143059 144.173176a50.145882 50.145882 0 0 0 71.017411 0c19.576471-19.666824 19.576471-51.290353 0-70.987294m-349.274352-115.139765A163.328 163.328 0 0 1 286.117647 449.234824a163.328 163.328 0 0 1 163.117177-163.147295 163.358118 163.358118 0 0 1 163.147294 163.147295 163.297882 163.297882 0 0 1-163.147294 163.087058" fill="#FFFFFF" ></path></symbol><symbol id="ico_fan_blue" viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#8AC750" ></path><path d="M714.872471 535.612235l20.720941-36.141176c-30.840471-10.119529-57.344-22.166588-79.510588-36.623059 19.275294-23.130353 33.731765-51.561412 42.405647-86.256941h27.949176v-36.141177h-125.289412c5.300706-11.083294 10.601412-22.648471 15.420236-35.177411l-39.032471-8.673883c-18.311529 45.296941-39.996235 80.956235-65.054118 106.977883l24.094118 28.912941c7.710118-7.710118 15.420235-16.384 23.130353-26.021647 8.673882 21.202824 21.684706 40.478118 39.032471 58.789647-21.202824 15.420235-47.224471 26.985412-79.028706 34.695529l21.202823 33.249883c33.731765-9.155765 63.126588-23.130353 87.220706-42.405648 23.130353 17.347765 52.043294 32.286118 86.738824 44.815059z m-223.11153 207.691294c29.394824 0 44.333176-13.010824 44.333177-38.068705v-56.380236c37.586824-1.927529 77.101176-4.336941 118.543058-6.746353 12.528941 10.601412 24.094118 20.720941 34.213648 30.840471l36.141176-25.057882c-24.576-22.166588-59.753412-47.224471-105.532235-76.137412l-32.286118 19.757176c11.565176 7.710118 22.648471 15.902118 33.249882 23.612236-60.717176 4.818824-122.88 8.192-186.006588 11.083294 66.499765-18.793412 127.216941-43.851294 182.15153-75.173647l-32.286118-21.202824c-20.720941 11.565176-4
10.96 22.648471-61.199059 32.768-32.768 0.963765-65.536 1.927529-99.267765 3.373177a630.964706 630.964706 0 0 0 79.510589-33.249883l-13.974589-10.601412c0.963765-2.409412 1.445647-4.818824 2.409412-7.710117h25.057883v-23.612236h-19.757177l4.336941-30.358588h29.876706v-28.912941h-27.467294c0.963765-15.420235 1.445647-33.249882 1.445647-52.525176h-160.466823c5.300706-5.782588 11.083294-12.528941 16.865882-19.275295h163.84v-31.804235h-141.673412c4.336941-7.228235 8.673882-14.938353 13.010824-22.64847l-37.586824-8.192c-19.275294 34.695529-42.405647 61.680941-68.909176 81.438117l23.612235 28.431059c6.264471-4.818824 12.528941-10.601412 18.793412-16.384-0.963765 13.492706-2.409412 26.985412-4.336941 40.96H293.707294v28.912941h31.322353c-2.891294 17.829647-5.782588 35.659294-9.155765 53.970824h139.264c-0.963765 3.373176-2.409412 7.228235-3.373176 11.083294-22.166588 11.565176-43.369412 20.720941-64.090353 28.431059-6.746353 2.891294-17.829647 4.336941-34.213647 4.336941l6.746353 31.804235 109.869176-3.855059c-38.068706 15.420235-74.209882 26.985412-108.905411 34.213647-12.047059 0-24.094118-0.481882-36.623059-0.963764l9.637647 37.586823c48.188235-1.445647 101.195294-3.373176 158.539294-6.26447v44.815058c0 8.673882-4.818824 13.492706-13.974588 13.492706a394.541176 394.541176 0 0 1-39.996236-2.409411l7.710118 36.623058h45.296941z m133.963294-303.104c-20.239059-18.311529-34.213647-39.514353-41.923764-63.60847h77.101176a186.247529 186.247529 0 0 1-35.177412 63.60847z m-194.68047-3.855058h-66.981647c1.445647-11.083294 2.891294-22.648471 3.855058-34.213647h102.159059l-1.445647 34.213647h-32.286117l9.155764-14.456471a256.090353 256.090353 0 0 0-48.670117-19.275294l-11.083294 15.902118c14.938353 4.336941 29.876706 10.119529 45.296941 17.829647z m-1.445647 54.452705h-73.728l5.782588-34.213647h26.985412l-10.11953 15.902118c16.865882 4.336941 33.731765 10.601412 51.07953 18.311529z m31.322353 0h-29.876706l10.601411-16.384a393.878588 393.878588 0 0 0-51.079529-17.829647h76.137412c-1.445647 11.565176-3.373176 22.648471-5.782588 34.213647z m239.495529 248.169412l23.130353-36.141176c-39.996235-17.347765-84.329412-31.804235-132.517647-43.369412l-22.648471 33.731765c45.296941 11.083294 89.630118 26.503529 132.035765 45.778823z m-385.505882 0.481883c51.561412-13.492706 95.412706-30.358588 131.072-50.597647l-24.094118-27.467295c-32.286118 17.347765-73.728 31.804235-123.843765 42.405647l16.865883 35.659295z" fill="#FFFFFF" ></path></symbol><symbol id="ico_share_blue" viewBox="0 0 1024 1024"><path d="M1024 512c0-282.774588-229.225412-512-512-512S0 229.225412 0 512s229.225412 512 512 512 512-229.225412 512-512z" fill="#8AC750" ></path><path d="M680.839529 625.001412c-28.310588 0-53.970824 10.601412-72.463058 27.798588l-193.505883-114.055529a85.142588 85.142588 0 0 0-11.023059-50.898824l164.020706-116.163765c18.492235 16.956235 43.941647 27.407059 72.07153 27.407059 56.380235 0 102.128941-42.224941 102.128941-94.147765C742.098824 252.928 696.32 210.823529 639.939765 210.823529c-56.440471 0-102.128941 42.194824-102.128941 94.117647 0 4.276706 0.301176 8.643765 0.963764 12.769883l-181.248 128.391529a108.935529 108.935529 0 0 0-44.483764-9.33647C256.602353 436.766118 210.823529 478.930824 210.823529 530.883765c0 51.922824 45.778824 94.117647 102.219295 94.117647 28.310588 0 53.970824-10.571294 72.463058-27.798588l193.505883 113.995294a86.437647 86.437647 0 0 0-0.301177 7.830588c0 52.043294 45.778824 94.147765 102.128941 94.147765C737.28 813.176471 783.058824 770.981647 783.058824 719.058824s-45.839059-94.057412-102.219295-94.057412z" fill="#FFFFFF" ></path></symbol><symbol id="ico_youtube_blue" viewBox="0 0 1024 1024"><path d="M1024 512c0-282.774588-229.225412-512-512-512S0 229.225412 0 512s229.225412 512 512 512 512-229.225412 512-512z" fill="#8AC750" ></path><path d="M594.522353 652.348235v85.142589c0 18.010353-5.300706 27.015529-15.872 27.015529-6.234353 0-12.348235-2.951529-18.281412-8.884706v-121.404235c5.963294-5.903059 12.047059-8.884706 18.281412-8.884706 10.571294 0 15.872 9.035294 15.872 27.045647z m137.336471 0.421647v18.552471h-36.562824v-18.552471c0-18.281412 6.113882-27.407059 18.311529-27.407058 12.197647 0 18.281412 9.125647 18.281412 27.407058z m-392.58353-87.943529h43.489882v-37.888H255.939765v37.888h42.676706v229.526588h40.658823v-229.49647z m117.037177 229.526588h36.171294v-199.258353h-36.141177v152.45553c-8.131765 11.294118-15.872 16.956235-23.190588 16.956235-4.879059 0-7.710118-2.831059-8.523294-8.463059-0.301176-0.813176-0.421647-5.511529-0.421647-14.155294V595.124706h-36.171294v157.726118c0 13.161412 1.084235 22.979765 3.252706 29.424941 3.252706 9.938824 11.113412 14.938353 23.582117 14.938353 12.980706 0 26.804706-8.222118 41.441883-24.606118v21.775059z m174.381176-59.693176v-79.480471c0-19.606588-1.204706-32.918588-3.674353-39.905882-4.608-15.058824-14.215529-22.588235-28.852706-22.588236-13.552941 0-26.142118 7.228235-37.797647 21.775059v-87.521882h-36.171294v267.414588h36.141177v-19.365647c12.227765 14.787765 24.816941 22.196706 37.827764 22.196706 14.637176 0 24.244706-7.408941 28.852706-22.196706 2.439529-7.228235 3.674353-20.690824 3.674353-40.357647z m137.366588-4.035765v-5.240471h-36.98447c0 13.703529-0.271059 21.925647-0.813177 24.606118-1.897412 9.667765-7.318588 14.516706-16.263529 14.516706-12.468706 0-18.672941-9.276235-18.672941-27.828706v-35.087059h72.734117v-41.562353c0-21.232941-3.644235-36.833882-10.962823-46.772706-10.571294-13.733647-24.937412-20.570353-43.068236-20.570353-18.462118 0-32.948706 6.836706-43.52 20.570353-7.589647 9.938824-11.384471 25.539765-11.38447 46.772706v69.782589c0 21.232941 3.915294 36.833882 11.806118 46.802823 10.541176 13.703529 25.178353 20.570353 43.881411 20.570353 19.516235 0 34.153412-7.137882 43.91153-21.383529a48.790588 48.790588 0 0 0 8.523294-21.775059c0.542118-2.409412 0.813176-10.24 0.813176-23.401412zM520.944941 362.315294V277.684706c0-18.552471-5.842824-27.828706-17.468235-27.828706-11.655529 0-17.468235 9.276235-17.468235 27.828706v84.690823c0 18.823529 5.812706 28.250353 17.468235 28.250353 11.625412 0 17.468235-9.426824 17.468235-28.250353zM813.176471 665.298824c0 62.945882-3.523765 109.989647-10.541177 141.191529a76.498824 76.498824 0 0 1-23.612235 39.936 71.378824 71.378824 0 0 1-41.441883 18.552471c-49.874824 5.632-125.048471 8.463059-225.581176 8.463058s-175.706353-2.831059-225.581176-8.463058a72.282353 72.282353 0 0 1-41.652706-18.552471c-12.047059-10.752-19.877647-24.094118-23.371294-39.936-7.047529-30.117647-10.571294-77.191529-10.571295-141.191529 0-62.915765 3.523765-109.959529 10.541177-141.161412a76.498824 76.498824 0 0 1 23.612235-39.936c11.896471-10.752 25.871059-17.076706 41.86353-18.974118 49.573647-5.360941 124.626824-8.041412 225.159529-8.041412s175.706353 2.680471 225.581176 8.041412c15.721412 1.897412 29.605647 8.222118 41.652706 18.974118s19.877647 24.064 23.371294 39.936c7.047529 30.117647 10.571294 77.161412 10.571295 141.161412zM407.552 150.588235h41.441882l-49.182117 160.948706v109.327059h-40.658824v-109.327059c-3.764706-19.907765-12.047059-48.399059-24.756706-85.534117-10.029176-27.708235-18.853647-52.826353-26.443294-75.414589h43.068235l28.882824 106.074353L407.552 150.588235z m150.377412 134.324706v70.595765c0 21.775059-3.794824 37.647059-11.384471 47.585882-10.029176 13.703529-24.395294 20.570353-43.068235 20.570353-18.160941 0-32.406588-6.866824-42.676706-20.570353-7.589647-10.24-11.384471-26.081882-11.384471-47.585882V284.912941c0-21.504 3.794824-37.255529 11.384471-47.194353 10.270118-13.703529 24.515765-20.570353 42.676706-20.570353 18.672941 0 33.039059 6.866824 43.068235 20.570353 7.589647 9.938824 11.384471 25.690353 11.384471 47.194353z m136.131764-65.355294v201.276235h-36.954352v-22.166588c-14.366118 16.655059-28.310588 24.997647-41.86353 24.997647-12.468706 0-20.48-4.969412-23.973647-14.938353-2.168471-6.445176-3.252706-16.534588-3.252706-30.238117V219.557647h36.984471v148.028235c0 8.884706 0.120471 13.583059 0.391529 14.155294 0.813176 5.903059 3.674353 8.854588 8.553412 8.854589 7.288471 0 15.028706-5.782588 23.160471-17.347765V219.557647h36.98447z" fill="#FFFFFF" ></path></symbol><symbol id="ico_zg_blue" viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#8AC750" ></path><path d="M429.598118 424.779294l40.478117-14.938353c-6.264471-12.528941-14.456471-26.503529-24.576-40.96h63.608471V328.884706h-119.506824c2.891294-7.228235 6.264471-14.938353 9.155765-23.130353l-44.333176-9.637647c-12.528941 36.623059-32.768 70.836706-61.680942 102.640941l38.5
150589 25.057882c14.456471-16.384 27.467294-34.695529 39.03247-54.934588h27.467294c12.047059 17.829647 22.648471 36.623059 31.804236 55.898353z m208.655058-3.855059l40.478118-14.938353c-6.264471-11.565176-13.974588-24.094118-23.130353-37.104941h72.282353V328.884706h-134.927059c2.409412-7.228235 4.818824-14.938353 7.710118-22.648471l-43.851294-9.637647c-9.637647 33.731765-26.503529 65.536-50.115765 94.930824l38.550588 25.057882c11.083294-14.456471 21.202824-30.358588 29.876706-47.706353h32.768c11.565176 16.865882 21.684706 34.213647 30.358588 52.043294z m-230.821647 69.391059l33.731765-23.130353c-13.492706-17.347765-32.768-37.104941-57.825882-59.271529l-33.731765 20.720941c24.094118 23.130353 43.369412 43.369412 57.825882 61.680941z m241.904942 250.578824c34.695529 0 52.043294-16.384 52.043294-48.670118V427.670588h-224.075294v41.923765h178.778353v210.100706c0 13.974588-5.300706 21.202824-15.902118 21.202823l-43.369412-1.445647 11.083294 41.441883h41.441883z m-279.009883 1.927529V483.087059h-45.296941v259.734588h45.296941z m233.231059-51.561412v-187.934117h-181.669647v187.934117h181.669647z m-42.405647-113.242353h-95.894588v-37.586823h95.894588v37.586823z m0 75.173647h-95.894588v-38.550588h95.894588v38.550588z" fill="#FFFFFF" ></path></symbol><symbol id="a-ico_new1x" viewBox="0 0 1024 1024"><path d="M854.592 288.64L639.424 73.344A32 32 0 0 0 616.768 64H192a32 32 0 0 0-32 32v832a32 32 0 0 0 32 32h640a32 32 0 0 0 32-32V311.296a32.192 32.192 0 0 0-9.408-22.72z m-64.384 37.376h-188.16v-188.16l188.16 188.16z m1.792 561.984h-560V136h302.016V352c0 23.168 18.752 41.984 41.984 41.984h216v494.016z m-288-270.016H320a8 8 0 0 0-8 8v48c0 4.416 3.584 8 8 8h184A8 8 0 0 0 512 673.984v-48a8 8 0 0 0-8-8z m-192-128v48c0 4.416 3.584 8 8 8h384a8 8 0 0 0 8-8v-48A8 8 0 0 0 704 481.984H320a8 8 0 0 0-8 8z" fill="#0064B4" ></path></symbol><symbol id="a-send2x" viewBox="0 0 1024 1024"><path d="M931.392 498.88L94.912 79.488a16 16 0 0 0-22.72 18.112l86.208 352.192c1.28 5.312 5.184 9.6 10.432 11.328l147.648 50.688-147.584 50.688a15.68 15.68 0 0 0-10.24 11.328l-86.4 352.64a16 16 0 0 0 22.72 18.112l836.48-416.96a16.448 16.448 0 0 0 7.168-7.104 16.192 16.192 0 0 0-7.232-21.632zM170.88 826.304l50.304-205.632 295.168-101.248a8 8 0 0 0 0-15.232L221.12 403.008l-50.112-204.8 627.968 314.88-628.16 313.216z" fill="#FFFFFF" ></path></symbol><symbol id="ico_detail" viewBox="0 0 1024 1024"><path d="M713.142857 283.428571v-54.857142A9.142857 9.142857 0 0 0 704 219.428571h-438.857143a9.142857 9.142857 0 0 0-9.142857 9.142858v54.857142c0 5.046857 4.096 9.142857 9.142857 9.142858h438.857143a9.142857 9.142857 0 0 0 9.142857-9.142858zM265.142857 384a9.142857 9.142857 0 0 0-9.142857 9.142857v54.857143c0 5.046857 4.096 9.142857 9.142857 9.142857H475.428571a9.142857 9.142857 0 0 0 9.142858-9.142857v-54.857143A9.142857 9.142857 0 0 0 475.428571 384H265.142857z m164.571429 516.608H164.571429v-804.571429H804.571429v393.142858c0 4.973714 4.096 9.142857 9.142857 9.142857H877.714286a9.142857 9.142857 0 0 0 9.142857-9.142857v-438.857143a36.571429 36.571429 0 0 0-36.571429-36.571429h-731.428571a36.571429 36.571429 0 0 0-36.571429 36.571429v896a36.571429 36.571429 0 0 0 36.571429 36.571428h310.857143A9.142857 9.142857 0 0 0 438.857143 973.677714v-63.926857a9.142857 9.142857 0 0 0-9.142857-9.216z m509.366857 58.806857l-106.642286-106.642286a201.142857 201.142857 0 1 0-49.810286 46.592l108.251429 108.251429a8.923429 8.923429 0 0 0 6.363429 2.706286 9.216 9.216 0 0 0 6.436571-2.633143l35.401143-35.474286a9.069714 9.069714 0 0 0 0-12.8zM671.963429 859.428571a128 128 0 1 1 0-256 128 128 0 1 1 0 256z" fill="#000000" ></path></symbol><symbol id="ico_news" viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#DBEDF6" ></path><path d="M702.735059 669.696h-15.058824v-209.438118c0-86.919529-65.445647-158.810353-150.588235-170.767058v-23.913412A24.877176 24.877176 0 0 0 512 240.941176a24.877176 24.877176 0 0 0-25.088 24.636236v23.913412c-85.142588 11.956706-150.588235 83.847529-150.588235 170.767058v209.438118h-15.058824a19.877647 19.877647 0 0 0-20.08847 19.727059v19.696941c0 2.710588 2.258824 4.939294 5.029647 4.939294h135.529411C441.735529 752.128 473.238588 783.058824 512 783.058824c38.791529 0 70.264471-30.930824 70.264471-68.969412h135.529411a4.999529 4.999529 0 0 0 5.029647-4.969412v-19.696941a19.877647 19.877647 0 0 0-20.08847-19.727059zM512 743.634824c-16.624941 0-30.117647-13.251765-30.117647-29.57553h60.235294a29.846588 29.846588 0 0 1-30.117647 29.57553z" fill="#0064B4" ></path></symbol>
1<symbol id="a-ico_Rejection" viewBox="0 0 1152 1024"><path d="M288 420.992a48 48 0 1 0 96 0 48 48 0 0 0-96 0z m352 0a48 48 0 1 0 96 0 48 48 0 0 0-96 0zM512 64a448 448 0 1 0 0 896A448 448 0 0 0 512 64z m263.04 711.04a372.032 372.032 0 0 1-118.4 79.744 368.256 368.256 0 0 1-144.64 29.248 370.432 370.432 0 0 1-263.04-108.992A369.92 369.92 0 0 1 139.968 512 370.432 370.432 0 0 1 248.96 248.96 369.92 369.92 0 0 1 512 139.968a370.432 370.432 0 0 1 263.04 108.992A369.92 369.92 0 0 1 884.032 512a369.088 369.088 0 0 1-109.056 262.912zM512 532.928a160.384 160.384 0 0 0-160 151.616 8 8 0 0 0 8 8.384h48.128c4.16 0 7.744-3.2 8.064-7.36a96.192 96.192 0 0 1 191.616 0c0.32 4.16 3.84 7.36 8.064 7.36h48.128c4.608 0 8.192-3.84 8-8.384A160.384 160.384 0 0 0 512 532.992z" fill="#0064B4" ></path></symbol><symbol id="a-ico_" viewBox="0 0 1024 1024"><path d="M512 0a512 512 0 1 0 0 1024A512 512 0 0 0 512 0z m0 937.179429A425.179429 425.179429 0 0 1 512 86.820571a425.179429 425.179429 0 0 1 0 850.358858z" fill="#0064B4" ></path><path d="M639.561143 288.768A192.658286 192.658286 0 0 0 512 242.322286c-47.981714 0-93.257143 16.530286-127.561143 46.445714-35.620571 31.232-55.296 73.142857-55.296 118.125714v8.630857c0 5.046857 4.096 9.142857 9.142857 9.142858h54.857143a9.142857 9.142857 0 0 0 9.142857-9.142858v-8.704c0-50.395429 49.225143-91.428571 109.714286-91.428571s109.714286 41.033143 109.714286 91.428571c0 35.547429-25.161143 68.169143-64.146286 83.090286a127.707429 127.707429 0 0 0-82.285714 120.978286v24.502857c0 5.12 4.169143 9.216 9.142857 9.216h54.857143a9.142857 9.142857 0 0 0 9.142857-9.216v-25.892571c0-22.528 14.189714-43.154286 35.328-51.2 67.437714-25.965714 110.957714-85.357714 110.957714-151.405715 0.146286-44.982857-19.529143-86.893714-55.149714-118.125714zM466.285714 763.465143a45.714286 45.714286 0 1 0 91.428572 0 45.714286 45.714286 0 0 0-91.428572 0z" fill="#0064B4" ></path></symbol><symbol id="ico_create" viewBox="0 0 1024 1024"><path d="M480.109714 146.285714h63.780572c5.705143 0 8.484571 2.706286 8.484571 8.118857v715.190858c0 5.412571-2.779429 8.118857-8.484571 8.118857h-63.780572c-5.705143 0-8.484571-2.706286-8.484571-8.118857V154.331429c0-5.412571 2.779429-8.118857 8.484571-8.118858zM154.770286 473.380571h714.459428c5.632 0 8.484571 2.706286 8.484572 8.118858v61.001142c0 5.412571-2.852571 8.045714-8.484572 8.045715H154.770286c-5.632 0-8.484571-2.633143-8.484572-8.045715v-61.001142c0-5.412571 2.852571-8.045714 8.484572-8.045715z" fill="#0064B4" ></path></symbol><symbol id="ico_share" viewBox="0 0 1024 1024"><path d="M1024 512c0-282.774588-229.225412-512-512-512S0 229.225412 0 512s229.225412 512 512 512 512-229.225412 512-512z" fill="#DBEDF6" ></path><path d="M680.839529 625.001412c-28.310588 0-53.970824 10.601412-72.463058 27.798588l-193.505883-114.055529a85.142588 85.142588 0 0 0-11.023059-50.898824l164.020706-116.163765c18.492235 16.956235 43.941647 27.407059 72.07153 27.407059 56.380235 0 102.128941-42.224941 102.128941-94.147765C742.098824 252.928 696.32 210.823529 639.939765 210.823529c-56.440471 0-102.128941 42.194824-102.128941 94.117647 0 4.276706 0.301176 8.643765 0.963764 12.769883l-181.248 128.391529a108.935529 108.935529 0 0 0-44.483764-9.33647C256.602353 436.766118 210.823529 478.930824 210.823529 530.883765c0 51.922824 45.778824 94.117647 102.219295 94.117647 28.310588 0 53.970824-10.571294 72.463058-27.798588l193.505883 113.995294a86.437647 86.437647 0 0 0-0.301177 7.830588c0 52.043294 45.778824 94.147765 102.128941 94.147765C737.28 813.176471 783.058824 770.981647 783.058824 719.058824s-45.839059-94.057412-102.219295-94.057412z" fill="#0064B4" ></path></symbol><symbol id="ico_user" viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#DBEDF6" ></path><path d="M496.941176 210.823529c80.865882 0 146.432 67.282824 146.432 150.287059v60.867765c0 53.699765-27.888941 103.303529-73.216 130.168471v5.029647l161.039059 88.335058c35.388235 19.425882 55.687529 58.970353 51.260236 99.900236-4.156235 38.550588-35.930353 67.764706-73.758118 67.764706H285.214118c-37.827765 0-69.571
1765-29.214118-73.788236-67.764706-4.397176-40.929882 15.902118-80.504471 51.290353-99.900236L423.755294 557.176471v-5.029647c-45.327059-26.864941-73.216-76.498824-73.185882-130.168471V361.110588C350.539294 278.106353 416.075294 210.823529 496.941176 210.823529z" fill="#0064B4" ></path></symbol><symbol id="ico_search_white" viewBox="0 0 1092 1024"><path d="M195.238632 135.779594c184.794048-181.039459 484.34199-181.039459 669.136038 0a456.899357 456.899357 0 0 1 18.022027 636.914837l197.28659 193.327205a10.512849 10.512849 0 0 1 0 15.018356l-40.686093 39.935175a10.581115 10.581115 0 0 1-14.81356 0l-199.061487-195.102102c-185.681496 145.814586-457.650275 134.346024-629.81525-34.405689a457.104153 457.104153 0 0 1 0-655.687782z m55.840979 54.612205a380.920128 380.920128 0 0 0 0 546.395107c153.938152 150.866215 403.515927 150.866215 557.522345 0a380.920128 380.920128 0 0 0 0-546.326842C654.595538 39.593848 405.017763 39.593848 251.079611 190.460064z" fill="#FFFFFF" ></path></symbol><symbol id="ico_close" viewBox="0 0 1024 1024"><path d="M512 0a512 512 0 1 1 0 1024 512 512 0 0 1 0-1024z" fill="#B4B9BF" ></path><path d="M684.373333 339.626667a36.590933 36.590933 0 0 0-51.677866 0L512 460.253867 391.304533 339.626667a36.590933 36.590933 0 0 0-51.677866 51.677866L460.253867 512 339.5584 632.695467a36.590933 36.590933 0 0 0 51.746133 51.677866L512 563.746133l120.695467 120.6272a36.590933 36.590933 0 0 0 51.677866-51.677866L563.746133 512l120.6272-120.695467a36.590933 36.590933 0 0 0 0-51.677866z" fill="#FFFFFF" ></path></symbol>
1<symbol id="ico_check" viewBox="0 0 1024 1024"><path d="M699.008 353.024h-46.912c-10.24 0-19.84 4.864-25.92 13.248L468.992 584.32 397.824 485.504a32 32 0 0 0-25.92-13.312h-46.912a8 8 0 0 0-6.464 12.736l124.544 172.8c12.736 17.664 39.04 17.664 51.712 0l210.56-292.032a7.936 7.936 0 0 0-6.4-12.672z" fill="#FFFFFF" ></path><path d="M512 64a448 448 0 1 0 0 896A448 448 0 0 0 512 64z m0 820.032A372.032 372.032 0 0 1 512 139.968a372.032 372.032 0 0 1 0 744.064z" fill="#FFFFFF" ></path></symbol><symbol id="ico_F" viewBox="0 0 1024 1024"><path d="M1024 512c0-282.774588-229.225412-512-512-512S0 229.225412 0 512s229.225412 512 512 512 512-229.225412 512-512z" fill="#DBEDF6" ></path><path d="M374.512941 512v-97.972706h60.024471v-59.271529c0-79.902118 23.883294-137.487059 111.405176-137.487059h104.056471v97.761882H576.752941c-36.743529 0-45.056 24.395294-45.056 49.935059v49.061647h112.911059L629.187765 512h-97.490824v295.514353h-97.159529V512h-60.024471z" fill="#0064B4" ></path></symbol><symbol id="ico_pint_white" viewBox="0 0 1024 1024"><path d="M744.789333 93.115733H279.210667v232.721067h465.578666v-232.789333z m139.605334 325.768534H139.605333a46.557867 46.557867 0 0 0-46.4896 46.557866v232.789334c0 25.668267 20.821333 46.4896 46.4896 46.4896h46.557867V605.115733c0-25.736533 20.8896-46.557867 46.557867-46.557866h558.557866c25.668267 0 46.557867 20.821333 46.557867 46.557866v139.605334h46.557867a46.557867 46.557867 0 0 0 46.216533-41.096534l0.273067-5.461333V465.442133a46.557867 46.557867 0 0 0-46.4896-46.557866z m-139.6736 232.789333H279.278933v279.210667h465.442134v-279.210667zM791.278933 0c25.668267 0 46.557867 20.821333 46.557867 46.557867v279.210666h46.557867c73.9328 0 135.031467 57.685333 139.400533 131.4816l0.2048 8.192v232.789334c0 77.073067-62.532267 139.605333-139.605333 139.605333h-46.557867v139.605333a46.557867 46.557867 0 0 1-46.557867 46.557867H232.721067a46.557867 46.557867 0 0 1-46.557867-46.557867v-139.605333h-46.557867a139.605333 139.605333 0 0 1-139.400533-131.4816L0 698.1632V465.442133c0-77.141333 62.532267-139.605333 139.605333-139.605333h46.557867V46.557867c0-23.620267 17.681067-43.485867 41.096533-46.216534L232.789333 0h558.557867z" fill="#FFFFFF" ></path></symbol><symbol id="ico_file_ppt" viewBox="0 0 1024 1024"><path d="M456 476.032A8 8 0 0 0 448 484.032v275.968c0 4.416 3.584 8 8 8h32.512a8 8 0 0 0 8-8v-95.488h63.296c59.392 0 96.192-38.912 96.192-94.08 0-54.528-36.288-94.336-96-94.336H456v-0.128zM606.592 570.24c0 43.392-26.496 54.272-71.168 54.272h-38.912V516.224h56.192c33.792 0 53.888 19.648 53.888 54.08z m280-281.728l-215.168-215.168A32 32 0 0 0 648.768 64H224a32 32 0 0 0-32 32v832a32 32 0 0 0 32 32h640a32 32 0 0 0 32-32V311.296a32.192 32.192 0 0 0-9.408-22.72z m-64.384 37.44h-188.16v-188.16l188.16 188.16z m1.792 561.984h-560V136h302.016V352c0 23.168 18.752 41.984 41.984 41.984h216v494.016z" fill="#000000" ></path></symbol><symbol id="ico_saerch" viewBox="0 0 1024 1024"><path d="M1024 512c0-282.774588-229.225412-512-512-512S0 229.225412 0 512s229.225412 512 512 512 512-229.225412 512-512z" fill="#DBEDF6" ></path><path d="M798.509176 727.461647l-144.112941-144.143059c-1.686588-1.656471-3.553882-2.951529-5.270588-4.336941a236.995765 236.995765 0 0 0 38.550588-129.746823 238.441412 238.441412 0 1 0-238.411294 238.411294 237.296941 237.296941 0 0 0 129.837177-38.640942c1.355294 1.807059 2.620235 3.614118 4.246588 5.270589l144.143059 144.173176a50.145882 50.145882 0 0 0 71.017411 0c19.576471-19.666824 19.576471-51.290353 0-70.987294m-349.274352-115.139765A163.328 163.328 0 0 1 286.117647 449.234824a163.328 163.328 0 0 1 163.117177-163.147295 163.358118 163.358118 0 0 1 163.147294 163.147295 163.297882 163.297882 0 0 1-163.147294 163.087058" fill="#0064B4" ></path></symbol><symbol id="ico_Assigned" viewBox="0 0 1024 1024"><path d="M289.984 236.416l43.904-43.904a8 8 0 0 0-4.672-13.632L168.96 160a8 8 0 0 0-8.96 8.96l18.944 160.128c0.768 6.592 8.896 9.408 13.568 4.736l43.712-43.712 133.76 133.568a8 8 0 0 0 11.264 0l42.368-42.24a8 8 0 0 0 0-11.328l-133.696-133.76z m352.704 187.264a8 8 0 0 0 11.328 0l133.696-133.568 43.712 43.712c4.672 4.672 12.8 1.92 13.568-4.736l18.88-160.064a8 8 0 0 0-8.896-8.96l-160.192 18.944a8 8 0 0 0-4.672 13.568l43.904 43.904-133.76 133.504a8 8 0 0 0 0 11.328l42.432 42.368z m202.304 271.232a8 8 0 0 0-13.568-4.736l-43.712 43.712-133.76-133.568a8 8 0 0 0-11.264 0l-42.368 42.24a8 8 0 0 0 0 11.328l133.696 133.76-43.904 43.84c-4.736 4.736-1.92 12.8 4.672 13.632l160.192 18.88c5.12 0.64 9.536-3.712 8.96-8.96l-18.944-160.128zM381.312 600.32a8 8 0 0 0-11.328 0l-133.696 133.568-43.712-43.712a8 8 0 0 0-13.568 4.736l-18.88 160.064c-0.64 5.12 3.648 9.536 8.896 8.96l160.192-18.944a8 8 0 0 0 4.672-13.568l-43.904-43.84 133.76-133.568a8 8 0 0 0 0-11.328l-42.432-42.368z" fill="#0064B4" ></path></symbol><symbol id="Icon_pdf" viewBox="0 0 1024 1024"><path d="M858.83871 955.590194H230.433032c-41.68671 0-75.511742-33.825032-75.511742-74.718968H858.83871v74.718968zM766.810839 128.990968l4.723613 4.723613c25.170581 22.792258 50.341161 46.37729 75.511742 69.20258h-139.197936v-125.852903a2872.154839 2872.154839 0 0 1 58.962581 51.92671z m243.018322 324.806193h-100.64929V202.917161a25.6 25.6 0 0 0-7.861677-18.101677c-10.24-9.414194-19.687226-18.068645-29.894194-27.515871-22.032516-20.48-44.032-40.893935-66.064516-60.548129l-4.723613-4.723613A1697.560774 1697.560774 0 0 0 730.673548 30.686968a295.902968 295.902968 0 0 0-24.377806-19.687226 71.812129 71.812129 0 0 0-10.24-6.276129 25.500903 25.500903 0 0 0-37.755871 22.792258v225.742452h201.364645v200.538838H154.92129V51.893677H582.028387c14.170839 0.792774 25.963355-9.414194 26.756129-22.792258 0.759742-13.378065-9.447226-25.963355-22.792258-26.756129H104.580129v451.451871H3.930839v427.074065h100.682322c0 69.202581 56.61729 125.
1027097 125.852904 125.027097h678.713806v-125.027097h100.64929V453.797161z m-809.290322 352.355097H160.437677v-282.359742H251.705806c32.239484 0 57.410065 7.861677 74.718968 24.377807s25.963355 39.308387 25.963355 70.028387c0 30.653935-8.654452 53.446194-25.963355 69.962322-17.308903 16.516129-42.479484 24.377806-74.718968 24.377807H200.538839v93.613419z m0-134.507355H251.705806c19.654194 0 34.617806-4.723613 44.824775-14.137806 10.24-9.447226 15.723355-22.792258 15.723354-40.134194 0-17.275871-5.483355-30.653935-15.723354-40.101161-10.24-9.447226-25.170581-14.137806-44.824775-14.137807H200.538839v108.510968z m205.295484 134.507355v-282.359742h101.442064c36.996129 0 64.512 11.792516 82.580645 35.410581 18.101677 23.585032 28.308645 58.962581 28.308645 105.372903s-9.414194 81.787871-28.308645 106.165677c-18.861419 24.377806-46.410323 35.410581-82.580645 35.410581h-101.442064zM445.935484 766.018065h61.340903c47.203097 0 70.788129-33.792 70.788129-101.442065s-23.585032-101.442065-70.788129-101.442065H445.935484v202.88413z m273.70529-128.957936h129.75071V677.16129h-129.75071v128.990968H679.473548v-282.359742h169.884904v40.101161h-129.75071v73.166452z" fill="#999999" ></path></symbol><symbol id="ico_daochu" viewBox="0 0 1102 1024"><path d="M386.27272 229.478605h108.934578V721.535228a11.81503 11.81503 0 0 0 11.81503 11.578729H595.47752a11.81503 11.81503 0 0 0 11.81503-11.578729V229.478605h109.170879a11.57873 11.57873 0 0 0 9.294491-18.746515L560.662565 4.520431a11.81503 11.81503 0 0 0-18.588981 0L376.978229 210.574557a11.657496 11.657496 0 0 0 9.294491 18.904048z m704.648399 448.419778h-88.455193a11.81503 11.81503 0 0 0-11.81503 11.57873v224.012972H112.085253V689.477113a11.81503 11.81503 0 0 0-11.81503-11.57873H11.81503a11.81503 11.81503 0 0 0-11.81503 11.57873v287.971668c0 25.756766 21.109521 46.551219 47.181354 46.551219H1055.476028a46.787519 46.787519 0 0 0 47.181354-46.472452V689.398346a11.81503 11.81503 0 0 0-11.81503-11.57873z" fill="#0064B4" ></path></symbol><symbol id="ico_delete2" viewBox="0 0 1024 1024"><path d="M885.312 213.312h-224a149.312 149.312 0 0 0-298.624 0h-224a37.312 37.312 0 0 0 0 74.56h37.312v597.312c0 41.216 33.408 74.688 74.688 74.688h522.688c41.216 0 74.752-33.344 74.752-74.688V288h37.248a37.312 37.312 0 1 0-0.064-74.688zM512 138.688c41.216 0 74.688 33.536 74.688 74.688H437.312c0-41.152 33.472-74.688 74.688-74.688z m261.312 746.624H250.688V288h522.688v597.312h-0.064z" fill="#0064B4" ></path><path d="M362.688 792c20.608 0 37.312-16.64 37.312-37.312V456a37.312 37.312 0 0 0-74.624 0v298.688a37.12 37.12 0 0 0 37.312 37.312z m149.312 0c20.608 0 37.312-16.64 37.312-37.312V456a37.312 37.312 0 0 0-74.624 0v298.688c0 20.608 16.704 37.312 37.312 37.312z m149.312 0c20.608 0 37.312-16.64 37.312-37.312V456a37.312 37.312 0 0 0-74.624 0v298.688c0 20.608 16.64 37.312 37.312 37.312z" fill="#0064B4" ></path></symbol><symbol id="ico_delete" viewBox="0 0 1024 1024"><path d="M938.611813 170.630098h-255.981715a170.630098 170.630098 0 0 0-341.260196 0h-255.981715a42.63924 42.63924 0 0 0 0 85.205342h42.63924v682.593529c0 47.100636 38.177844 85.351618 85.351617 85.351618h597.315049c47.100636 0 85.424755-38.104707 85.424756-85.351618V255.981716h42.566102a42.63924 42.63924 0 1 0-0.073138-85.351618zM512 85.351618c47.100636 0 85.351618 38.32412 85.351618 85.351617H426.648382c0-47.027498 38.250982-85.351618 85.351618-85.351617z m298.620956 853.223627H213.379044V255.981716h597.315049v682.593529h-0.073137z" fill="#000000" ></path><path d="M341.369902 831.940576c23.550318 0 42.63924-19.015785 42.63924-42.63924V447.968002a42.63924 42.63924 0 0 0-85.27848 0v341.333334a42.419827 42.419827 0 0 0 42.63924 42.63924z m170.630098 0c23.550318 0 42.63924-19.015785 42.63924-42.63924V447.968002a42.63924 42.63924 0 0 0-85.27848 0v341.333334c0 23.550318 19.088922 42.63924 42.63924 42.63924z m170.630098 0c23.550318 0 42.63924-19.015785 42.63924-42.63924V447.968002a42.63924 42.63924 0 0 0-85.27848 0v341.333334c0 23.550318 19.015785 42.63924 42.63924 42.63924z" fill="#000000" ></path></symbol><symbol id="ico_SetOutline" viewBox="0 0 1024 1024"><path d="M866.461538 19.692308c38.045538 0 72.507077 15.438769 97.476924 40.36923A137.412923 137.412923 0 0 1 1004.307692 157.538462v708.923076c0 38.045538-15.438769 72.507077-40.36923 97.476924A137.412923 137.412923 0 0 1 866.461538 1004.307692H157.538462a137.412923 137.412923 0 0 1-97.476924-40.36923A137.412923 137.412923 0 0 1 19.692308 866.461538V157.538462c0-38.045538 15.438769-72.507077 40.36923-97.476924A137.412923 137.412923 0 0 1 157.538462 19.692308z" fill="#FFFFFF" ></path><path d="M601.245538 197.238154l1.260308 0.393846a312.556308 312.556308 0 0 1 131.268923 80.974769l1.575385 1.575385a6.301538 6.301538 0 0 1 0.945231 7.364923c-16.068923 30.247385-15.753846 66.56 0.787692 96.531692a94.129231 94.129231 0 0 0 74.121846 48.679385l2.166154 0.157538a6.301538 6.301538 0 0 1 5.828923 4.923077l0.708923 3.308308c4.726154 22.449231 7.168 45.686154 7.168 69.553231 0 30.365538-4.017231 60.612923-12.051692 89.875692a6.301538 6.301538 0 0 1-5.513846 4.608l-1.181539 0.118154a94.208 94.208 0 0 0-71.207384 48.364308 101.021538 101.021538 0 0 0-5.632 86.094769 6.301538 6.301538 0 0 1-1.417847 6.774154l-2.244923 2.205538a311.926154 311.926154 0 0 1-135.876923 78.099692 6.301538 6.301538 0 0 1-6.656-2.205538A92.790154 92.790154 0 0 0 512 788.48c-27.
1096615 0-51.593846 11.854769-68.804923 30.838154-1.575385 1.732923-3.032615 3.544615-4.450462 5.395692a6.301538 6.301538 0 0 1-6.616615 2.166154 311.926154 311.926154 0 0 1-138.24-80.344615 6.301538 6.301538 0 0 1-1.378462-6.73477 100.982154 100.982154 0 0 0-5.632-86.094769c-14.651077-26.387692-39.384615-42.968615-66.205538-47.655384a95.310769 95.310769 0 0 0-6.222769-0.787693 6.301538 6.301538 0 0 1-5.435077-4.608 339.495385 339.495385 0 0 1-4.214154-162.816 6.301538 6.301538 0 0 1 5.789538-4.923077l1.575385-0.078769A94.129231 94.129231 0 0 0 286.956308 384c15.241846-27.569231 16.817231-60.652308 4.214154-89.521231a107.323077 107.323077 0 0 0-3.465847-7.010461 6.301538 6.301538 0 0 1 0.984616-7.325539 312.832 312.832 0 0 1 134.144-82.983384 6.301538 6.301538 0 0 1 7.364923 2.99323A93.538462 93.538462 0 0 0 512 249.304615c34.264615 0 64.354462-18.944 80.896-47.261538l0.945231-1.772308a6.301538 6.301538 0 0 1 7.404307-3.032615z m9.846154 59.195077A139.027692 139.027692 0 0 1 512 298.338462a139.027692 139.027692 0 0 1-98.146462-40.96l-0.905846-0.905847a5.632 5.632 0 0 0-6.262154-1.260307 265.846154 265.846154 0 0 0-60.809846 37.612307l-1.063384 0.905847a6.301538 6.301538 0 0 0-2.048 6.380307c8.270769 35.052308 3.859692 71.837538-12.484923 103.857231l-2.441847 4.608a142.808615 142.808615 0 0 1-77.193846 65.772308 6.301538 6.301538 0 0 0-4.883692 5.986461c-0.787692 7.246769-1.260308 14.572308-1.457231 21.937231l-0.118154 8.428308c0 15.241846 1.181538 30.326154 3.544616 45.095384l0.551384 3.426462a6.301538 6.301538 0 0 0 4.056616 4.844308l2.914461 1.102769c29.302154 11.618462 53.956923 32.610462 70.104616 59.707077l2.48123 4.292923c16.029538 28.908308 22.173538 62.227692 17.48677 94.956307a6.301538 6.301538 0 0 0 2.205538 5.828924l0.630154 0.472615c21.346462 17.211077 45.292308 30.956308 70.852923 40.802461a6.301538 6.301538 0 0 0 6.183385-0.984615l1.575384-1.299692a138.24 138.24 0 0 1 80.384-29.420308l4.844308-0.078769a138.24 138.24 0 0 1 87.473231 31.310769l0.157538 0.118154c1.181538 1.024 2.875077 1.299692 4.332308 0.787692a264.388923 264.388923 0 0 0 72.507077-41.747692 6.301538 6.301538 0 0 0 2.244923-5.789539c-4.450462-30.995692 0.787692-62.621538 15.044923-90.466461l2.402462-4.489846a143.005538 143.005538 0 0 1 73.412923-64.354462l2.048-0.708923a6.301538 6.301538 0 0 0 4.096-4.844308l0.590769-3.465846c1.851077-11.815385 2.993231-23.827692 3.347692-35.958154l0.157539-9.13723v-0.039385c0-10.358154-0.551385-20.676923-1.654154-30.916923a6.301538 6.301538 0 0 0-4.332308-5.316923 142.493538 142.493538 0 0 1-75.145846-61.558154l-2.520615-4.332308a151.630769 151.630769 0 0 1-14.92677-108.46523v-0.07877a6.301538 6.301538 0 0 0-2.048-6.301538l-1.063384-0.905846a265.846154 265.846154 0 0 0-60.849231-37.612308l-0.118154-0.039385a5.435077 5.435077 0 0 0-6.025846 1.260308zM512 396.327385c60.888615 0 110.276923 51.2 110.276923 114.372923 0 63.172923-49.388308 114.372923-110.276923 114.372923-60.888615 0-110.276923-51.2-110.276923-114.372923 0-63.172923 49.388308-114.372923 110.276923-114.372923z m0 49.033846c-34.816 0-63.015385 29.262769-63.015385 65.378461 0 36.036923 28.199385 65.339077 63.015385 65.339077 34.816 0 63.015385-29.302154 63.015385-65.378461 0-36.076308-28.199385-65.339077-63.015385-65.339077z" fill="#0064B4" ></path></symbol><symbol id="ico_water" viewBox="0 0 1024 1024"><path d="M848 706.208C848 881.728 688.128 1024 512.128 1024S176 881.728 176 706.208C176 530.752 512.128 0 512.128 0S848 530.752 848 706.208z" fill="#55D1F1" ></path><path d="M665.824 712.064c-35.456-22.368-40.928-25.152-53.216-23.776-12.288 1.408-16.384 4.192-34.112 30.72-2.72 2.784-25.92 40.48-111.904-43.296-62.784-67.008-43.648-90.72-32.736-106.112 10.912-9.76 21.856-15.36 24.576-32.096 0-8.384-1.344-25.152-27.296-61.44-17.76-26.496-20.48-27.904-32.736-27.904-10.944-1.376-30.016 5.6-49.152 20.96-19.104 12.576-24.576 27.968-27.264 46.08-2.72 22.368-6.816 99.136 87.328 205.248s215.648 129.856 259.296 99.104c17.76-13.952 32.736-43.264 34.112-61.44 2.72-13.952-2.752-23.744-36.896-46.08z" fill="#FFFFFF" ></path></symbol><symbol id="ico_youtube" viewBox="0 0 1024 1024"><path d="M1024 512c0-282.774588-229.225412-512-512-512S0 229.225412 0 512s229.225412 512 512 512 512-229.225412 512-512z" fill="#DBEDF6" ></path><path d="M594.522353 652.348235v85.142589c0 18.010353-5.300706 27.015529-15.872 27.015529-6.234353 0-12.348235-2.951529-18.281412-8.884706v-121.404235c5.963294-5.903059 12.047059-8.884706 18.281412-8.884706 10.571294 0 15.872 9.035294 15.872 27.045647z m137.336471 0.421647v18.552471h-36.562824v-18.552471c0-18.281412 6.113882-27.407059 18.311529-27.407058 12.197647 0 18.281412 9.125647 18.281412 27.407058z m-392.58353-87.943529h43.489882v-37.888H255.939765v37.888h42.676706v229.526588h40.658823v-229.49647z m117.037177 229.526588h36.171294v-199.258353h-36.141177v152.45553c-8.131765 11.294118-15.872 16.956235-23.190588 16.956235-4.879059 0-7.710118-2.831059-8.523294-8.463059-0.301176-0.813176-0.421647-5.511529-0.421647-14.155294V595.124706h-36.171294v157.726118c0 13.161412 1.084235 22.979765 3.252706 29.424941 3.252706 9.938824 11.113412 14.938353 23.582117 14.938353 12.980706 0 26.804706-8.222118 41.441883-24.606118v21.775059z m174.381176-59.693176v-79.480471c0-19.606588-1.204706-32.918588-3.674353-39.905882-4.608-15.058824-14.215529-22.588235-28.852706-22.588236-13.552941 0-26.142118 7.228235-37.797647 21.775059v-87.521882h-36.171294v267.414588h36.141177v-19.365647c12.227765 14.787765 24.816941 22.196706 37.827764 22.196706 14.637176 0 24.244706-7.408941 28.852706-22.196706 2.439529-7.228235 3.674353-20.690824 3.674353-40.357647z m137.366588-4.035765v-5.240471h-36.98447c0 13.703529-0.271059 21.925647-0.813177 24.606118-1.897412 9.667765-7.318588 14.516706-16.263529 14.516706-12.468706 0-18.672941-9.276235-18.672941-27.828706v-35.087059h72.734117v-41.562353c0-21.232941-3.644235-36.833882-10.962823-46.772706-10.571294-13.733647-24.937412-20.570353-43.068236-20.570353-18.462118 0-32.948706 6.836706-43.52 20.570353-7.589647 9.938824-11.384471 25.539765-11.38447 46.772706v69.782589c0 21.232941 3.915294 36.833882 11.806118 46.802823 10.541176 13.703529 25.178353 20.570353 43.881411 20.570353 19.516235 0 34.153412-7.137882 43.91153-21.383529a48.790588 48.790588 0 0 0 8.523294-21.775059c0.542118-2.409412 0.813176-10.24 0.813176-23.401412zM520.944941 362.315294V277.684706c0-18.552471-5.842824-27.828706-17.468235-27.828706-11.655529 0-17.468235 9.276235-17.468235 27.828706v84.690823c0 18.823529 5.812706 28.250353 17.468235 28.250353 11.625412 0 17.468235-9.426824 17.468235-28.250353zM813.176471 665.298824c0 62.945882-3.523765 109.989647-10.541177 141.191529a76.498824 76.498824 0 0 1-23.612235 39.936 71.378824 71.378824 0 0 1-41.441883 18.552471c-49.874824 5.632-125.048471 8.463059-225.581176 8.463058s-175.706353-2.831059-225.581176-8.463058a72.282353 72.282353 0 0 1-41.652706-18.552471c-12.047059-10.752-19.877647-24.094118-23.371294-39.936-7.047529-30.117647-10.571294-77.191529-10.571295-141.191529 0-62.915765 3.523765-109.959529 10.541177-141.161412a76.498824 76.498824 0 0 1 23.612235-39.936c11.896471-10.752 25.871059-17.076706 41.86353-18.974118 49.573647-5.360941 124.626824-8.041412 225.159529-8.041412s175.706353 2.680471 225.581176 8.041412c15.721412 1.897412 29.605647 8.222118 41.652706 18.974118s19.877647 24.064 23.371294 39.936c7.047529 30.117647 10.571294 77.161412 10.571295 141.161412zM407.552 150.588235h41.441882l-49.182117 160.948706v109.327059h-40.658824v-109.327059c-3.764706-19.907765-12.047059-48.399059-24.756706-85.534117-10.029176-27.708235-18.853647-52.826353-26.443294-75.414589h43.068235l28.882824 106.074353L407.552 150.588235z m150.377412 134.324706v70.595765c0 21.775059-3.794824 37.647059-11.384471 47.585882-10.029176 13.703529-24.395294 20.570353-43.068235 20.570353-18.160941 0-32.406588-6.866824-42.676706-20.570353-7.589647-10.24-11.384471-26.081882-11.384471-47.585882V284.912941c0-21.504 3.794824-37.255529 11.384471-47.194353 10.270118-13.703529 24.515765-20.570353 42.676706-20.570353 18.672941 0 33.039059 6.866824 43.068235 20.570353 7.589647 9.938824 11.384471 25.690353 11.384471 47.194353z m136.131764-65.355294v201.276235h-36.954352v-22.166588c-14.366118 16.655059-28.310588 24.997647-41.86353 24.997647-12.468706 0-20.48-4.969412-23.973647-14.938353-2.168471-6.445176-3.252706-16.534588-3.252706-30.238117V219.557647h36.984471v148.028235c0 8.884706 0.120471 13.583059 0.391529 14.155294 0.813176 5.903059 3.674353 8.854588 8.553412 8.854589 7.288471 0 15.028706-5.782588 23.160471-17.347765V219.557647h36.98447z" fill="#0064B4" ></path></symbol>
1<symbol id="a-ico_Rejection1" viewBox="0 0 1152 1024"><path d="M288 420.992a48 48 0 1 0 96 0 48 48 0 0 0-96 0z m352 0a48 48 0 1 0 96 0 48 48 0 0 0-96 0zM512 64a448 448 0 1 0 0 896A448 448 0 0 0 512 64z m263.04 711.04a372.032 372.032 0 0 1-118.4 79.744 368.256 368.256 0 0 1-144.64 29.248 370.432 370.432 0 0 1-263.04-108.992A369.92 369.92 0 0 1 139.968 512 370.432 370.432 0 0 1 248.96 248.96 369.92 369.92 0 0 1 512 139.968a370.432 370.432 0 0 1 263.04 108.992A369.92 369.92 0 0 1 884.032 512a369.088 369.088 0 0 1-109.056 262.912zM512 532.928a160.384 160.384 0 0 0-160 151.616 8 8 0 0 0 8 8.384h48.128c4.16 0 7.744-3.2 8.064-7.36a96.192 96.192 0 0 1 191.616 0c0.32 4.16 3.84 7.36 8.064 7.36h48.128c4.608 0 8.192-3.84 8-8.384A160.384 160.384 0 0 0 512 532.992z" fill="#0064B4" ></path></symbol><symbol id="a-ico_1" viewBox="0 0 1024 1024"><path d="M512 0a512 512 0 1 0 0 1024A512 512 0 0 0 512 0z m0 937.179429A425.179429 425.179429 0 0 1 512 86.820571a425.179429 425.179429 0 0 1 0 850.358858z" fill="#0064B4" ></path><path d="M639.561143 288.768A192.658286 192.658286 0 0 0 512 242.322286c-47.981714 0-93.257143 16.530286-127.561143 46.445714-35.620571 31.232-55.296 73.142857-55.296 118.125714v8.630857c0 5.046857 4.096 9.142857 9.142857 9.142858h54.857143a9.142857 9.142857 0 0 0 9.142857-9.142858v-8.704c0-50.395429 49.225143-91.428571 109.714286-91.428571s109.714286 41.033143 109.714286 91.428571c0 35.547429-25.161143 68.169143-64.146286 83.090286a127.707429 127.707429 0 0 0-82.285714 120.978286v24.502857c0 5.12 4.169143 9.216 9.142857 9.216h54.857143a9.142857 9.142857 0 0 0 9.142857-9.216v-25.892571c0-22.528 14.189714-43.154286 35.328-51.2 67.437714-25.965714 110.957714-85.357714 110.957714-151.405715 0.146286-44.982857-19.529143-86.893714-55.149714-118.125714zM466.285714 763.465143a45.714286 45.714286 0 1 0 91.428572 0 45.714286 45.714286 0 0 0-91.428572 0z" fill="#0064B4" ></path></symbol><symbol id="ico_create1" viewBox="0 0 1024 1024"><path d="M480.109714 146.285714h63.780572c5.705143 0 8.484571 2.706286 8.484571 8.118857v715.190858c0 5.412571-2.779429 8.118857-8.484571 8.118857h-63.780572c-5.705143 0-8.484571-2.706286-8.484571-8.118857V154.331429c0-5.412571 2.779429-8.118857 8.484571-8.118858zM154.770286 473.380571h714.459428c5.632 0 8.484571 2.706286 8.484572 8.118858v61.001142c0 5.412571-2.852571 8.045714-8.484572 8.045715H154.770286c-5.632 0-8.484571-2.633143-8.484572-8.045715v-61.001142c0-5.412571 2.852571-8.045714 8.484572-8.045715z" fill="#0064B4" ></path></symbol><symbol id="ico_aa" viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#DBEDF6" ></path><path d="M431.284706 722.823529l40.357647-110.832941h184.922353L696.922353 722.823529h70.475294l-165.647059-430.08H527.058824L361.411765 722.823529h69.872941z m205.402353-165.044705h-145.167059l71.68-194.56h2.409412l71.077647 194.56z" fill="#0064B4" ></path><path d="M155.166118 491.098353l247.627294-110.230588 134.746353 302.622117-247.627294 110.230589z" fill="#DBEDF6" ></path><path d="M282.864941 722.823529l24.214588-66.499764h110.953412L442.247529 722.823529h42.285177l-99.388235-258.048H340.329412L240.941176 722.823529h41.923765z m123.241412-99.026823h-87.100235l43.008-116.736h1.445647l42.646588 116.736z" fill="#0064B4" ></path></symbol><symbol id="ico_Assigned1" viewBox="0 0 1024 1024"><path d="M289.984 236.416l43.904-43.904a8 8 0 0 0-4.672-13.632L168.96 160a8 8 0 0 0-8.96 8.96l18.944 160.128c0.768 6.592 8.896 9.408 13.568 4.736l43.712-43.712 133.76 133.568a8 8 0 0 0 11.264 0l42.368-42.24a8 8 0 0 0 0-11.328l-133.696-133.76z m352.704 187.264a8 8 0 0 0 11.328 0l133.696-133.568 43.712 43.712c4.672 4.672 12.8 1.92 13.568-4.736l18.88-160.064a8 8 0 0 0-8.896-8.96l-160.192 18.944a8 8 0 0 0-4.672 13.568l43.904 43.904-133.76 133.504a8 8 0 0 0 0 11.328l42.432 42.368z m202.304 271.232a8 8 0 0 0-13.568-4.736l-43.712 43.712-133.76-133.568a8 8 0 0 0-11.264 0l-42.368 42.24a8 8 0 0 0 0 11.328l133.696 133.76-43.904 43.84c-4.736 4.736-1.92 12.8 4.672 13.632l160.192 18.88c5.12 0.64 9.536-3.712 8.96-8.96l-18.944-160.128zM381.312 600.32a8 8 0 0 0-11.328 0l-133.696 133.568-43.712-43.712a8 8 0 0 0-13.568 4.736l-18.88 160.064c-0.64 5.12 3.648 9.536 8.896 8.96l160.192-18.944a8 8 0 0 0 4.672-13.568l-43.904-43.84 133.76-133.568a8 8 0 0 0 0-11.328l-42.432-42.368z" fill="#0064B4" ></path></symbol><symbol id="ico_close1" viewBox="0 0 1024 1024"><path d="M512 0a512 512 0 1 1 0 1024 512 512 0 0 1 0-1024z" fill="#B4B9BF" ></path><path d="M684.373333 339.626667a36.590933 36.590933 0 0 0-51.677866 0L512 460.253867 391.304533 339.626667a36.590933 36.590933 0 0 0-51.677866 51.677866L460.253867 512 339.5584 632.695467a36.590933 36.590933 0 0 0 51.746133 51.677866L512 563.746133l120.695467 120.6272a36.590933 36.590933 0 0 0 51.677866-51.677866L563.746133 512l120.6272-120.695467a36.590933 36.590933 0 0 0 0-51.677866z" fill="#FFFFFF" ></path></symbol><symbol id="ico_delete1" viewBox="0 0 1024 1024"><path d="M938.611813 170.630098h-255.981715a170.630098 170.630098 0 0 0-341.260196 0h-255.981715a42.63924 42.63924 0 0 0 0 85.205342h42.63924v682.593529c0 47.100636 38.177844 85.351618 85.351617 85.351618h597.315049c47.100636 0 85.424755-38.104707 85.424756-85.351618V255.981716h42.566102a42.63924 42.63924 0 1 0-0.073138-85.351618zM512 85.351618c47.100636 0 85.351618 38.32412 85.351618 85.351617H426.648382c0-47.027498 38.250982-85.351618 85.351618-85.351617z m298.620956 853.223627H213.379044V255.981716h597.315049v682.593529h-0.073137z" fill="#000000" ></path><path d="M341.369902 831.940576c23.550318 0 42.63924-19.015785 42.63924-42.63924V447.968002a42.63924 42.63924 0 0 0-85.27848 0v341.333334a42.419827 42.419827 0 0 0 42.63924 42.63924z m170.630098 0c23.5
150318 0 42.63924-19.015785 42.63924-42.63924V447.968002a42.63924 42.63924 0 0 0-85.27848 0v341.333334c0 23.550318 19.088922 42.63924 42.63924 42.63924z m170.630098 0c23.550318 0 42.63924-19.015785 42.63924-42.63924V447.968002a42.63924 42.63924 0 0 0-85.27848 0v341.333334c0 23.550318 19.015785 42.63924 42.63924 42.63924z" fill="#000000" ></path></symbol><symbol id="ico_F1" viewBox="0 0 1024 1024"><path d="M1024 512c0-282.774588-229.225412-512-512-512S0 229.225412 0 512s229.225412 512 512 512 512-229.225412 512-512z" fill="#DBEDF6" ></path><path d="M374.512941 512v-97.972706h60.024471v-59.271529c0-79.902118 23.883294-137.487059 111.405176-137.487059h104.056471v97.761882H576.752941c-36.743529 0-45.056 24.395294-45.056 49.935059v49.061647h112.911059L629.187765 512h-97.490824v295.514353h-97.159529V512h-60.024471z" fill="#0064B4" ></path></symbol><symbol id="ico_check1" viewBox="0 0 1024 1024"><path d="M699.008 353.024h-46.912c-10.24 0-19.84 4.864-25.92 13.248L468.992 584.32 397.824 485.504a32 32 0 0 0-25.92-13.312h-46.912a8 8 0 0 0-6.464 12.736l124.544 172.8c12.736 17.664 39.04 17.664 51.712 0l210.56-292.032a7.936 7.936 0 0 0-6.4-12.672z" fill="#FFFFFF" ></path><path d="M512 64a448 448 0 1 0 0 896A448 448 0 0 0 512 64z m0 820.032A372.032 372.032 0 0 1 512 139.968a372.032 372.032 0 0 1 0 744.064z" fill="#FFFFFF" ></path></symbol><symbol id="ico_daochu1" viewBox="0 0 1102 1024"><path d="M386.27272 229.478605h108.934578V721.535228a11.81503 11.81503 0 0 0 11.81503 11.578729H595.47752a11.81503 11.81503 0 0 0 11.81503-11.578729V229.478605h109.170879a11.57873 11.57873 0 0 0 9.294491-18.746515L560.662565 4.520431a11.81503 11.81503 0 0 0-18.588981 0L376.978229 210.574557a11.657496 11.657496 0 0 0 9.294491 18.904048z m704.648399 448.419778h-88.455193a11.81503 11.81503 0 0 0-11.81503 11.57873v224.012972H112.085253V689.477113a11.81503 11.81503 0 0 0-11.81503-11.57873H11.81503a11.81503 11.81503 0 0 0-11.81503 11.57873v287.971668c0 25.756766 21.109521 46.551219 47.181354 46.551219H1055.476028a46.787519 46.787519 0 0 0 47.181354-46.472452V689.398346a11.81503 11.81503 0 0 0-11.81503-11.57873z" fill="#0064B4" ></path></symbol><symbol id="ico_fan" viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#DBEDF6" ></path><path d="M714.872471 535.612235l20.720941-36.141176c-30.840471-10.119529-57.344-22.166588-79.510588-36.623059 19.275294-23.130353 33.731765-51.561412 42.405647-86.256941h27.949176v-36.141177h-125.289412c5.300706-11.083294 10.601412-22.648471 15.420236-35.177411l-39.032471-8.673883c-18.311529 45.296941-39.996235 80.956235-65.054118 106.977883l24.094118 28.912941c7.710118-7.710118 15.420235-16.384 23.130353-26.021647 8.673882 21.202824 21.684706 40.478118 39.032471 58.789647-21.202824 15.420235-47.224471 26.985412-79.028706 34.695529l21.202823 33.249883c33.731765-9.155765 63.126588-23.130353 87.220706-42.405648 23.130353 17.347765 52.043294 32.286118 86.738824 44.815059z m-223.11153 207.691294c29.394824 0 44.333176-13.010824 44.333177-38.068705v-56.380236c37.586824-1.927529 77.101176-4.336941 118.543058-6.746353 12.528941 10.601412 24.094118 20.720941 34.213648 30.840471l36.141176-25.057882c-24.576-22.166588-59.753412-47.224471-105.532235-76.137412l-32.286118 19.757176c11.565176 7.710118 22.648471 15.902118 33.249882 23.612236-60.717176 4.818824-122.88 8.192-186.006588 11.083294 66.499765-18.793412 127.216941-43.851294 182.15153-75.173647l-32.286118-21.202824c-20.720941 11.565176-4
10.96 22.648471-61.199059 32.768-32.768 0.963765-65.536 1.927529-99.267765 3.373177a630.964706 630.964706 0 0 0 79.510589-33.249883l-13.974589-10.601412c0.963765-2.409412 1.445647-4.818824 2.409412-7.710117h25.057883v-23.612236h-19.757177l4.336941-30.358588h29.876706v-28.912941h-27.467294c0.963765-15.420235 1.445647-33.249882 1.445647-52.525176h-160.466823c5.300706-5.782588 11.083294-12.528941 16.865882-19.275295h163.84v-31.804235h-141.673412c4.336941-7.228235 8.673882-14.938353 13.010824-22.64847l-37.586824-8.192c-19.275294 34.695529-42.405647 61.680941-68.909176 81.438117l23.612235 28.431059c6.264471-4.818824 12.528941-10.601412 18.793412-16.384-0.963765 13.492706-2.409412 26.985412-4.336941 40.96H293.707294v28.912941h31.322353c-2.891294 17.829647-5.782588 35.659294-9.155765 53.970824h139.264c-0.963765 3.373176-2.409412 7.228235-3.373176 11.083294-22.166588 11.565176-43.369412 20.720941-64.090353 28.431059-6.746353 2.891294-17.829647 4.336941-34.213647 4.336941l6.746353 31.804235 109.869176-3.855059c-38.068706 15.420235-74.209882 26.985412-108.905411 34.213647-12.047059 0-24.094118-0.481882-36.623059-0.963764l9.637647 37.586823c48.188235-1.445647 101.195294-3.373176 158.539294-6.26447v44.815058c0 8.673882-4.818824 13.492706-13.974588 13.492706a394.541176 394.541176 0 0 1-39.996236-2.409411l7.710118 36.623058h45.296941z m133.963294-303.104c-20.239059-18.311529-34.213647-39.514353-41.923764-63.60847h77.101176a186.247529 186.247529 0 0 1-35.177412 63.60847z m-194.68047-3.855058h-66.981647c1.445647-11.083294 2.891294-22.648471 3.855058-34.213647h102.159059l-1.445647 34.213647h-32.286117l9.155764-14.456471a256.090353 256.090353 0 0 0-48.670117-19.275294l-11.083294 15.902118c14.938353 4.336941 29.876706 10.119529 45.296941 17.829647z m-1.445647 54.452705h-73.728l5.782588-34.213647h26.985412l-10.11953 15.902118c16.865882 4.336941 33.731765 10.601412 51.07953 18.311529z m31.322353 0h-29.876706l10.601411-16.384a393.878588 393.878588 0 0 0-51.079529-17.829647h76.137412c-1.445647 11.565176-3.373176 22.648471-5.782588 34.213647z m239.495529 248.169412l23.130353-36.141176c-39.996235-17.347765-84.329412-31.804235-132.517647-43.369412l-22.648471 33.731765c45.296941 11.083294 89.630118 26.503529 132.035765 45.778823z m-385.505882 0.481883c51.561412-13.492706 95.412706-30.358588 131.072-50.597647l-24.094118-27.467295c-32.286118 17.347765-73.728 31.804235-123.843765 42.405647l16.865883 35.659295z" fill="#0064B4" ></path></symbol><symbol id="ico_delete21" viewBox="0 0 1024 1024"><path d="M885.312 213.312h-224a149.312 149.312 0 0 0-298.624 0h-224a37.312 37.312 0 0 0 0 74.56h37.312v597.312c0 41.216 33.408 74.688 74.688 74.688h522.688c41.216 0 74.752-33.344 74.752-74.688V288h37.248a37.312 37.312 0 1 0-0.064-74.688zM512 138.688c41.216 0 74.688 33.536 74.688 74.688H437.312c0-41.152 33.472-74.688 74.688-74.688z m261.312 746.624H250.688V288h522.688v597.312h-0.064z" fill="#0064B4" ></path><path d="M362.688 792c20.608 0 37.312-16.64 37.312-37.312V456a37.312 37.312 0 0 0-74.624 0v298.688a37.12 37.12 0 0 0 37.312 37.312z m149.312 0c20.608 0 37.312-16.64 37.312-37.312V456a37.312 37.312 0 0 0-74.624 0v298.688c0 20.608 16.704 37.312 37.312 37.312z m149.312 0c20.608 0 37.312-16.64 37.312-37.312V456a37.312 37.312 0 0 0-74.624 0v298.688c0 20.608 16.64 37.312 37.312 37.312z" fill="#0064B4" ></path></symbol><symbol id="ico_saerch1" viewBox="0 0 1024 1024"><path d="M1024 512c0-282.774588-229.225412-512-512-512S0 229.225412 0 512s229.225412 512 512 512 512-229.225412 512-512z" fill="#DBEDF6" ></path><path d="M798.509176 727.461647l-144.112941-144.143059c-1.686588-1.656471-3.553882-2.951529-5.270588-4.336941a236.995765 236.995765 0 0 0 38.550588-129.746823 238.441412 238.441412 0 1 0-238.411294 238.411294 237.296941 237.296941 0 0 0 129.837177-38.640942c1.355294 1.807059 2.620235 3.614118 4.246588 5.270589l144.143059 144.173176a50.145882 50.145882 0 0 0 71.017411 0c19.576471-19.666824 19.576471-51.290353 0-70.987294m-349.274352-115.139765A163.328 163.328 0 0 1 286.117647 449.234824a163.328 163.328 0 0 1 163.117177-163.147295 163.358118 163.358118 0 0 1 163.147294 163.147295 163.297882 163.297882 0 0 1-163.147294 163.087058" fill="#0064B4" ></path></symbol><symbol id="ico_search_white1" viewBox="0 0 1092 1024"><path d="M195.238632 135.779594c184.794048-181.039459 484.34199-181.039459 669.136038 0a456.899357 456.899357 0 0 1 18.022027 636.914837l197.28659 193.327205a10.512849 10.512849 0 0 1 0 15.018356l-40.686093 39.935175a10.581115 10.581115 0 0 1-14.81356 0l-199.061487-195.102102c-185.681496 145.814586-457.650275 134.346024-629.81525-34.405689a457.104153 457.104153 0 0 1 0-655.687782z m55.840979 54.612205a380.920128 380.920128 0 0 0 0 546.395107c153.938152 150.866215 403.515927 150.866215 557.522345 0a380.920128 380.920128 0 0 0 0-546.326842C654.595538 39.593848 405.017763 39.593848 251.079611 190.460064z" fill="#FFFFFF" ></path></symbol><symbol id="ico_file_ppt1" viewBox="0 0 1024 1024"><path d="M456 476.032A8 8 0 0 0 448 484.032v275.968c0 4.416 3.584 8 8 8h32.512a8 8 0 0 0 8-8v-95.488h63.296c59.392 0 96.192-38.912 96.192-94.08 0-54.528-36.288-94.336-96-94.336H456v-0.128zM606.592 570.24c0 43.392-26.496 54.272-71.168 54.272h-38.912V516.224h56.192c33.792 0 53.888 19.648 53.888 54.08z m280-281.728l-215.168-215.168A32 32 0 0 0 648.768 64H224a32 32 0 0 0-32 32v832a32 32 0 0 0 32 32h640a32 32 0 0 0 32-32V311.296a32.192 32.192 0 0 0-9.408-22.72z m-64.384 37.44h-188.16v-188.16l188.16 188.16z m1.792 561.984h-560V136h302.016V352c0 23.168 18.752 41.984 41.984 41.984h216v494.016z" fill="#000000" ></path></symbol><symbol id="ico_pint_white1" viewBox="0 0 1024 1024"><path d="M744.789333 93.115733H279.210667v232.721067h465.578666v-232.789333z m139.605334 325.768534H139.605333a46.557867 46.557867 0 0 0-46.4896 46.557866v232.789334c0 25.668267 20.821333 46.4896 46.4896 46.4896h46.557867V605.115733c0-25.736533 20.8896-46.557867 46.557867-46.557866h558.557866c25.668267 0 46.557867 20.821333 46.557867 46.557866v139.605334h46.557867a46.557867 46.557867 0 0 0 46.216533-41.096534l0.273067-5.461333V465.442133a46.557867 46.557867 0 0 0-46.4896-46.557866z m-139.6736 232.789333H279.278933v279.210667h465.442134v-279.210667zM791.278933 0c25.668267 0 46.557867 20.821333 46.557867 46.557867v279.210666h46.557867c73.9328 0 135.031467 57.685333 139.400533 131.4816l0.2048 8.192v232.789334c0 77.073067-62.532267 139.605333-139.605333 139.605333h-46.557867v139.605333a46.557867 46.557867 0 0 1-46.557867 46.557867H232.721067a46.557867 46.557867 0 0 1-46.557867-46.557867v-139.605333h-46.557867a139.605333 139.605333 0 0 1-139.400533-131.4816L0 698.1632V465.442133c0-77.141333 62.532267-139.605333 139.605333-139.605333h46.557867V46.557867c0-23.620267 17.681067-43.485867 41.096533-46.216534L232.789333 0h558.557867z" fill="#FFFFFF" ></path></symbol><symbol id="ico_share1" viewBox="0 0 1024 1024"><path d="M1024 512c0-282.774588-229.225412-512-512-512S0 229.225412 0 512s229.225412 512 512 512 512-229.225412 512-512z" fill="#DBEDF6" ></path><path d="M680.839529 625.001412c-28.310588 0-53.970824 10.601412-72.463058 27.798588l-193.505883-114.055529a85.142588 85.142588 0 0 0-11.023059-50.898824l164.020706-116.163765c18.492235 16.956235 43.941647 27.407059 72.07153 27.407059 56.380235 0 102.128941-42.224941 102.128941-94.147765C742.098824 252.928 696.32 210.823529 639.939765 210.823529c-56.440471 0-102.128941 42.194824-102.128941 94.117647 0 4.276706 0.301176 8.643765 0.9
163764 12.769883l-181.248 128.391529a108.935529 108.935529 0 0 0-44.483764-9.33647C256.602353 436.766118 210.823529 478.930824 210.823529 530.883765c0 51.922824 45.778824 94.117647 102.219295 94.117647 28.310588 0 53.970824-10.571294 72.463058-27.798588l193.505883 113.995294a86.437647 86.437647 0 0 0-0.301177 7.830588c0 52.043294 45.778824 94.147765 102.128941 94.147765C737.28 813.176471 783.058824 770.981647 783.058824 719.058824s-45.839059-94.057412-102.219295-94.057412z" fill="#0064B4" ></path></symbol><symbol id="ico_user1" viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#DBEDF6" ></path><path d="M496.941176 210.823529c80.865882 0 146.432 67.282824 146.432 150.287059v60.867765c0 53.699765-27.888941 103.303529-73.216 130.168471v5.029647l161.039059 88.335058c35.388235 19.425882 55.687529 58.970353 51.260236 99.900236-4.156235 38.550588-35.930353 67.764706-73.758118 67.764706H285.214118c-37.827765 0-69.571765-29.214118-73.788236-67.764706-4.397176-40.929882 15.902118-80.504471 51.290353-99.900236L423.755294 557.176471v-5.029647c-45.327059-26.864941-73.216-76.498824-73.185882-130.168471V361.110588C350.539294 278.106353 416.075294 210.823529 496.941176 210.823529z" fill="#0064B4" ></path></symbol><symbol id="ico_water1" viewBox="0 0 1024 1024"><path d="M848 706.208C848 881.728 688.128 1024 512.128 1024S176 881.728 176 706.208C176 530.752 512.128 0 512.128 0S848 530.752 848 706.208z" fill="#55D1F1" ></path><path d="M665.824 712.064c-35.456-22.368-40.928-25.152-53.216-23.776-12.288 1.408-16.384 4.192-34.112 30.72-2.72 2.784-25.92 40.48-111.904-43.296-62.784-67.008-43.648-90.72-32.736-106.112 10.912-9.76 21.856-15.36 24.576-32.096 0-8.384-1.344-25.152-27.296-61.44-17.76-26.496-20.48-27.904-32.736-27.904-10.944-1.376-30.016 5.6-49.152 20.96-19.104 12.576-24.576 27.968-27.264 46.08-2.72 22.368-6.816 99.136 87.328 205.248s215.648 129.856 259.296 99.104c17.76-13.952 32.736-43.264 34.112-61.44 2.72-13.952-2.752-23.744-36.896-46.08z" fill="#FFFFFF" ></path></symbol><symbol id="ico_ed_green" viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#8AC750" ></path><path d="M473.931294 692.705882v-52.043294H283.105882v-100.713412h173.477647v-49.152H283.105882v-90.112h187.452236v-52.043294H222.870588V692.705882h251.060706z m195.162353 0c26.352941 0 49.152-4.517647 68.427294-13.492706a127.156706 127.156706 0 0 0 47.224471-36.864 157.515294 157.515294 0 0 0 27.226353-54.693647 243.681882 243.681882 0 0 0 8.914823-66.981647c0-23.792941-2.981647-46.08-8.914823-66.981647a157.515294 157.515294 0 0 0-27.226353-54.693647 127.156706 127.156706 0 0 0-47.224471-36.864c-19.275294-9.005176-42.074353-13.492706-68.427294-13.492706H526.456471V692.705882h142.637176z m-23.130353-49.152H586.691765v-245.76h59.271529c23.461647 0 42.646588 3.132235 57.584941 9.396706 14.938353 6.264471 26.654118 14.938353 35.177412 26.021647 8.523294 11.083294 14.305882 24.094118 17.347765 39.032471 3.041882 14.938353 4.577882 31.081412 4.577882 48.429176 0 17.347765-1.505882 33.490824-4.577882 48.429177a93.967059 93.967059 0 0 1-17.347765 39.03247c-8.523294 11.083294-20.239059 19.757176-35.177412 26.021647-14.938353 6.264471-34.123294 9.396706-57.584941 9.396706z" fill="#FFFFFF" ></path></symbol><symbol id="ico_youtube1" viewBox="0 0 1024 1024"><path d="M1024 512c0-282.774588-229.225412-512-512-512S0 229.225412 0 512s229.225412 512 512 512 512-229.225412 512-512z" fill="#DBEDF6" ></path><path d="M594.522353 652.348235v85.142589c0 18.010353-5.300706 27.015529-15.872 27.015529-6.234353 0-12.348235-2.951529-18.281412-8.884706v-121.404235c5.963294-5.903059 12.047059-8.884706 18.281412-8.884706 10.571294 0 15.872 9.035294 15.872 27.045647z m137.336471 0.421647v18.552471h-36.562824v-18.552471c0-18.281412 6.113882-27.407059 18.311529-27.407058 12.197647 0 18.281412 9.125647 18.281412 27.407058z m-392.58353-87.943529h43.489882v-37.888H255.939765v37.888h42.676706v229.526588h40.658823v-229.49647z m117.037177 229.526588h36.171294v-199.258353h-36.141177v152.45553c-8.131765 11.294118-15.872 16.956235-23.190588 16.956235-4.879059 0-7.710118-2.831059-8.523294-8.463059-0.301176-0.813176-0.421647-5.511529-0.421647-14.155294V595.124706h-36.171294v157.726118c0 13.161412 1.084235 22.979765 3.252706 29.424941 3.252706 9.938824 11.113412 14.938353 23.582117 14.938353 12.980706 0 26.804706-8.222118 41.441883-24.606118v21.775059z m174.381176-59.693176v-79.480471c0-19.606588-1.204706-32.918588-3.674353-39.905882-4.608-15.058824-14.215529-22.588235-28.852706-22.588236-13.552941 0-26.142118 7.228235-37.797647 21.775059v-87.521882h-36.171294v267.414588h36.141177v-19.365647c12.227765 14.787765 24.816941 22.196706 37.827764 22.196706 14.637176 0 24.244706-7.408941 28.852706-22.196706 2.439529-7.228235 3.674353-20.690824 3.674353-40.357647z m137.366588-4.035765v-5.240471h-36.98447c0 13.703529-0.271059 21.925647-0.813177 24.606118-1.897412 9.667765-7.318588 14.516706-16.263529 14.516706-12.468706 0-18.672941-9.276235-18.672941-27.828706v-35.087059h72.734117v-41.562353c0-21.232941-3.644235-36.833882-10.962823-46.772706-10.571294-13.733647-24.937412-20.570353-43.068236-20.570353-18.462118 0-32.948706 6.836706-43.52 20.570353-7.589647 9.938824-11.384471 25.539765-11.38447 46.772706v69.782589c0 21.232941 3.915294 36.833882 11.806118 46.802823 10.541176 13.703529 25.178353 20.570353 43.881411 20.570353 19.516235 0 34.153412-7.137882 43.91153-21.383529a48.790588 48.790588 0 0 0 8.523294-21.775059c0.542118-2.409412 0.813176-10.24 0.813176-23.401412zM520.944941 362.315294V277.684706c0-18.552471-5.842824-27.828706-17.468235-27.828706-11.655529 0-17.468235 9.276235-17.468235 27.828706v84.690823c0 18.823529 5.812706 28.250353 17.468235 28.250353 11.625412 0 17.468235-9.426824 17.468235-28.250353zM813.176471 665.298824c0 62.945882-3.523765 109.989647-10.541177 141.191529a76.498824 76.498824 0 0 1-23.612235 39.936 71.378824 71.378824 0 0 1-41.441883 18.552471c-49.874824 5.632-125.048471 8.463059-225.581176 8.463058s-175.706353-2.831059-225.581176-8.463058a72.282353 72.282353 0 0 1-41.652706-18.552471c-12.047059-10.752-19.877647-24.094118-23.371294-39.936-7.047529-30.117647-10.571294-77.191529-10.571295-141.191529 0-62.915765 3.523765-109.959529 10.541177-141.161412a76.498824 76.498824 0 0 1 23.612235-39.936c11.896471-10.752 25.871059-17.076706 41.86353-18.974118 49.573647-5.360941 124.626824-8.041412 225.159529-8.041412s175.706353 2.680471 225.581176 8.041412c15.721412 1.897412 29.605647 8.222118 41.652706 18.974118s19.877647 24.064 23.371294 39.936c7.047529 30.117647 10.571294 77.161412 10.571295 141.161412zM407.552 150.588235h41.441882l-49.182117 160.948706v109.327059h-40.658824v-109.327059c-3.764706-19.907765-12.047059-48.399059-24.756706-85.534117-10.029176-27.708235-18.853647-52.826353-26.443294-75.414589h43.068235l28.882824 106.074353L407.552 150.588235z m150.377412 134.324706v70.595765c0 21.775059-3.794824 37.647059-11.384471 47.585882-10.029176 13.703529-24.395294 20.570353-43.068235 20.570353-18.160941 0-32.406588-6.866824-42.676706-20.570353-7.589647-10.24-11.384471-26.081882-11.384471-47.585882V284.912941c0-21.504 3.794824-37.255529 11.384471-47.194353 10.270118-13.703529 24.515765-20.570353 42.676706-20.570353 18.672941 0 33.039059 6.866824 43.068235 20.570353 7.589647 9.938824 11.384471 25.690353 11.384471 47.194353z m136.131764-65.355294v201.276235h-36.954352v-22.166588c-14.366118 16.655059-28.310588 24.997647-41.86353 24.997647-12.468706 0-20.48-4.969412-23.973647-14.938353-2.168471-6.445176-3.252706-16.534588-3.252706-30.238117V219.557647h36.984471v148.028235c0 8.884706 0.120471 13.583059 0.391529 14.155294 0.813176 5.903059 3.674353 8.854588 8.553412 8.854589 7.288471 0 15.028706-5.782588 23.160471-17.347765V219.557647h36.98447z" fill="#0064B4" ></path></symbol><symbol id="ico_SetOutline1" viewBox="0 0 1024 1024"><path d="M866.461538 19.692308c38.045538 0 72.507077 15.438769 97.476924 40.36923A137.412923 137.412923 0 0 1 1004.307692 157.538462v708.923076c0 38.045538-15.438769 72.507077-40.36923 97.476924A137.412923 137.412923 0 0 1 866.461538 1004.307692H157.538462a137.412923 137.412923 0 0 1-97.476924-40.36923A137.412923 137.412923 0 0 1 19.692308 866.461538V157.538462c0-38.045538 15.438769-72.507077 40.36923-97.476924A137.412923 137.412923 0 0 1 157.538462 19.692308z" fill="#FFFFFF" ></path><path d="M601.245538 197.238154l1.260308 0.393846a312.556308 312.556308 0 0 1 131.268923 80.974769l1.575385 1.575385a6.301538 6.301538 0 0 1 0.945231 7.364923c-16.068923 30.247385-15.753846 66.56 0.787692 96.531692a94.129231 94.129231 0 0 0 74.121846 48.679385l2.166154 0.157538a6.301538 6.301538 0 0 1 5.828923 4.923077l0.708923 3.308308c4.726154 22.449231 7.168 45.686154 7.168 69.553231 0 30.365538-4.017231 60.612923-12.051692 89.875692a6.301538 6.301538 0 0 1-5.513846 4.608l-1.181539 0.118154a94.208 94.208 0 0 0-71.207384 48.364308 101.021538 101.021538 0 0 0-5.632 86.094769 6.301538 6.301538 0 0 1-1.417847 6.774154l-2.244923 2.205538a311.926154 311.926154 0 0 1-135.876923 78.099692 6.301538 6.301538 0 0 1-6.656-2.205538A92.790154 92.790154 0 0 0 512 788.48c-27.
1096615 0-51.593846 11.854769-68.804923 30.838154-1.575385 1.732923-3.032615 3.544615-4.450462 5.395692a6.301538 6.301538 0 0 1-6.616615 2.166154 311.926154 311.926154 0 0 1-138.24-80.344615 6.301538 6.301538 0 0 1-1.378462-6.73477 100.982154 100.982154 0 0 0-5.632-86.094769c-14.651077-26.387692-39.384615-42.968615-66.205538-47.655384a95.310769 95.310769 0 0 0-6.222769-0.787693 6.301538 6.301538 0 0 1-5.435077-4.608 339.495385 339.495385 0 0 1-4.214154-162.816 6.301538 6.301538 0 0 1 5.789538-4.923077l1.575385-0.078769A94.129231 94.129231 0 0 0 286.956308 384c15.241846-27.569231 16.817231-60.652308 4.214154-89.521231a107.323077 107.323077 0 0 0-3.465847-7.010461 6.301538 6.301538 0 0 1 0.984616-7.325539 312.832 312.832 0 0 1 134.144-82.983384 6.301538 6.301538 0 0 1 7.364923 2.99323A93.538462 93.538462 0 0 0 512 249.304615c34.264615 0 64.354462-18.944 80.896-47.261538l0.945231-1.772308a6.301538 6.301538 0 0 1 7.404307-3.032615z m9.846154 59.195077A139.027692 139.027692 0 0 1 512 298.338462a139.027692 139.027692 0 0 1-98.146462-40.96l-0.905846-0.905847a5.632 5.632 0 0 0-6.262154-1.260307 265.846154 265.846154 0 0 0-60.809846 37.612307l-1.063384 0.905847a6.301538 6.301538 0 0 0-2.048 6.380307c8.270769 35.052308 3.859692 71.837538-12.484923 103.857231l-2.441847 4.608a142.808615 142.808615 0 0 1-77.193846 65.772308 6.301538 6.301538 0 0 0-4.883692 5.986461c-0.787692 7.246769-1.260308 14.572308-1.457231 21.937231l-0.118154 8.428308c0 15.241846 1.181538 30.326154 3.544616 45.095384l0.551384 3.426462a6.301538 6.301538 0 0 0 4.056616 4.844308l2.914461 1.102769c29.302154 11.618462 53.956923 32.610462 70.104616 59.707077l2.48123 4.292923c16.029538 28.908308 22.173538 62.227692 17.48677 94.956307a6.301538 6.301538 0 0 0 2.205538 5.828924l0.630154 0.472615c21.346462 17.211077 45.292308 30.956308 70.852923 40.802461a6.301538 6.301538 0 0 0 6.183385-0.984615l1.575384-1.299692a138.24 138.24 0 0 1 80.384-29.420308l4.844308-0.078769a138.24 138.24 0 0 1 87.473231 31.310769l0.157538 0.118154c1.181538 1.024 2.875077 1.299692 4.332308 0.787692a264.388923 264.388923 0 0 0 72.507077-41.747692 6.301538 6.301538 0 0 0 2.244923-5.789539c-4.450462-30.995692 0.787692-62.621538 15.044923-90.466461l2.402462-4.489846a143.005538 143.005538 0 0 1 73.412923-64.354462l2.048-0.708923a6.301538 6.301538 0 0 0 4.096-4.844308l0.590769-3.465846c1.851077-11.815385 2.993231-23.827692 3.347692-35.958154l0.157539-9.13723v-0.039385c0-10.358154-0.551385-20.676923-1.654154-30.916923a6.301538 6.301538 0 0 0-4.332308-5.316923 142.493538 142.493538 0 0 1-75.145846-61.558154l-2.520615-4.332308a151.630769 151.630769 0 0 1-14.92677-108.46523v-0.07877a6.301538 6.301538 0 0 0-2.048-6.301538l-1.063384-0.905846a265.846154 265.846154 0 0 0-60.849231-37.612308l-0.118154-0.039385a5.435077 5.435077 0 0 0-6.025846 1.260308zM512 396.327385c60.888615 0 110.276923 51.2 110.276923 114.372923 0 63.172923-49.388308 114.372923-110.276923 114.372923-60.888615 0-110.276923-51.2-110.276923-114.372923 0-63.172923 49.388308-114.372923 110.276923-114.372923z m0 49.033846c-34.816 0-63.015385 29.262769-63.015385 65.378461 0 36.036923 28.199385 65.339077 63.015385 65.339077 34.816 0 63.015385-29.302154 63.015385-65.378461 0-36.076308-28.199385-65.339077-63.015385-65.339077z" fill="#0064B4" ></path></symbol><symbol id="ico_zg" viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#DBEDF6" ></path><path d="M429.598118 424.779294l40.478117-14.938353c-6.264471-12.528941-14.456471-26.503529-24.576-40.96h63.608471V328.884706h-119.506824c2.891294-7.228235 6.264471-14.938353 9.155765-23.130353l-44.333176-9.637647c-12.528941 36.623059-32.768 70.836706-61.680942 102.640941l38.550589 25.057882c14.456471-16.384 27.467294-34.695529 39.03247-54.934588h27.467294c12.047059 17.829647 22.648471 36.623059 31.804236 55.898353z m208.655058-3.855059l40.478118-14.938353c-6.264471-11.565176-13.974588-24.094118-23.130353-37.104941h72.282353V328.884706h-134.927059c2.409412-7.228235 4.818824-14.938353 7.710118-22.648471l-43.851294-9.637647c-9.637647 33.731765-26.503529 65.536-50.115765 94.930824l38.550588 25.057882c11.083294-14.456471 21.202824-30.358588 29.876706-47.706353h32.768c11.565176 16.865882 21.684706 34.213647 30.358588 52.043294z m-230.821647 69.391059l33.731765-23.130353c-13.492706-17.347765-32.768-37.104941-57.825882-59.271529l-33.731765 20.720941c24.094118 23.130353 43.369412 43.369412 57.825882 61.680941z m241.904942 250.578824c34.695529 0 52.043294-16.384 52.043294-48.670118V427.670588h-224.075294v41.923765h178.778353v210.100706c0 13.974588-5.300706 21.202824-15.902118 21.202823l-43.369412-1.445647 11.083294 41.441883h41.441883z m-279.009883 1.927529V483.087059h-45.296941v259.734588h45.296941z m233.231059-51.561412v-187.934117h-181.669647v187.934117h181.669647z m-42.405647-113.242353h-95.894588v-37.586823h95.894588v37.586823z m0 75.173647h-95.894588v-38.550588h95.894588v38.550588z" fill="#0064B4" ></path></symbol><symbol id="Icon_pdf1" viewBox="0 0 1024 1024"><path d="M858.83871 955.590194H230.433032c-41.68671 0-75.511742-33.825032-75.511742-74.718968H858.83871v74.718968zM766.810839 128.990968l4.723613 4.723613c25.170581 22.792258 50.341161 46.37729 75.511742 69.20258h-139.197936v-125.852903a2872.154839 2872.154839 0 0 1 58.962581 51.92671z m243.018322 324.806193h-100.64929V202.917161a25.6 25.6 0 0 0-7.861677-18.101677c-10.24-9.414194-19.687226-18.068645-29.894194-27.515871-22.032516-20.48-44.032-40.893935-66.064516-60.548129l-4.723613-4.723613A1697.560774 1697.560774 0 0 0 730.673548 30.686968a295.902968 295.902968 0 0 0-24.377806-19.687226 71.812129 71.812129 0 0 0-10.24-6.276129 25.500903 25.500903 0 0 0-37.755871 22.792258v225.742452h201.364645v200.538838H154.92129V51.893677H582.028387c14.170839 0.792774 25.963355-9.414194 26.756129-22.792258 0.759742-13.378065-9.447226-25.963355-22.792258-26.756129H104.580129v451.451871H3.930839v427.074065h100.682322c0 69.202581 56.61729 125.
1027097 125.852904 125.027097h678.713806v-125.027097h100.64929V453.797161z m-809.290322 352.355097H160.437677v-282.359742H251.705806c32.239484 0 57.410065 7.861677 74.718968 24.377807s25.963355 39.308387 25.963355 70.028387c0 30.653935-8.654452 53.446194-25.963355 69.962322-17.308903 16.516129-42.479484 24.377806-74.718968 24.377807H200.538839v93.613419z m0-134.507355H251.705806c19.654194 0 34.617806-4.723613 44.824775-14.137806 10.24-9.447226 15.723355-22.792258 15.723354-40.134194 0-17.275871-5.483355-30.653935-15.723354-40.101161-10.24-9.447226-25.170581-14.137806-44.824775-14.137807H200.538839v108.510968z m205.295484 134.507355v-282.359742h101.442064c36.996129 0 64.512 11.792516 82.580645 35.410581 18.101677 23.585032 28.308645 58.962581 28.308645 105.372903s-9.414194 81.787871-28.308645 106.165677c-18.861419 24.377806-46.410323 35.410581-82.580645 35.410581h-101.442064zM445.935484 766.018065h61.340903c47.203097 0 70.788129-33.792 70.788129-101.442065s-23.585032-101.442065-70.788129-101.442065H445.935484v202.88413z m273.70529-128.957936h129.75071V677.16129h-129.75071v128.990968H679.473548v-282.359742h169.884904v40.101161h-129.75071v73.166452z" fill="#999999" ></path></symbol></svg>',function(e){var t,a=(t=(t=document.getElementsByTagName("script"))[t.length-1]).getAttribute("data-injectcss");if(!(t=t.getAttribute("data-disable-injectsvg"))){var o,l,n,r,i;if(a&&!e.__iconfont__svg__cssinject__){e.__iconfont__svg__cssinject__=!0;try{document.write("<style>.svgfont {display: inline-block;width: 1em;height: 1em;fill: currentColor;vertical-align: -0.1em;font-size:16px;}</style>")}catch(t){console&&console.log(t)}}o=function(){var t,a=document.createElement("div");a.innerHTML=e._iconfont_svg_string_3240254,(a=a.getElementsByTagName("svg")[0])&&(a.setAttribute("aria-hidden","true"),a.style.position="absolute",a.style.width=0,a.style.height=0,a.style.overflow="hidden",(t=document.body).firstChild?function(e,t){t.parentNode.insertBefore(e,t)}(a,t.firstChild):t.appendChild(a))},document.addEventListener?~["complete","loaded","interactive"].indexOf(document.readyState)?setTimeout(o,0):(l=function(){document.removeEventListener("DOMContentLoaded",l,!1),o()},document.addEventListener("DOMContentLoaded",l,!1)):document.attachEvent&&(n=o,r=e.document,i=!1,function e(){try{r.documentElement.doScroll("left")}catch(t){return void setTimeout(e,50)}s()}(),r.onreadystatechange=function(){"complete"==r.readyState&&(r.onreadystatechange=null,s())})}function s(){i||(i=!0,n())}}(window)},24654:function(){}},a={};function o(e){var l=a[e];if(void 0!==l)return l.exports;var n=a[e]={id:e,loaded:!1,exports:{}};return t[e].call(n.exports,n,n.exports,o),n.loaded=!0,n.exports}o.m=t,e=[],o.O=function(t,a,l,n){if(!a){var r=1/0;for(d=0;d<e.length;d++){a=e[d][0],l=e[d][1],n=e[d][2];for(var i=!0,s=0;s<a.length;s++)(!1&n||r>=n)&&Object.keys(o.O).every((function(e){return o.O[e](a[s])}))?a.splice(s--,1):(i=!1,n<r&&(r=n));if(i){e.splice(d--,1);var c=l();void 0!==c&&(t=c)}}return t}n=n||0;for(var d=e.length;d>0&&e[d-1][2]>n;d--)e[d]=e[d-1];e[d]=[a,l,n]},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,{a:t}),t},o.d=function(e,t){for(var a in t)o.o(t,a)&&!o.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},function(){var e={143:0};o.O.j=function(t){return 0===e[t]};var t=function(t,a){var l,n,r=a[0],i=a[1],s=a[2],c=0;if(r.some((function(t){return 0!==e[t]}))){for(l in i)o.o(i,l)&&(o.m[l]=i[l]);if(s)var d=s(o)}for(t&&t(a);c<r.length;c++)n=r[c],o.o(e,n)&&e[n]&&e[n][0](),e[n]=0;return o.O(d)},a=self.webpackChunkwsd_public_web=self.webpackChunkwsd_public_web||[];a.forEach(t.bind(null,0)),a.push=t.bind(null,a.push.bind(a))}(),o.O(void 0,[423],(function(){return o(76124)}));var l=o.O(void 0,[423],(function(){return o(30300)}));l=o.O(l)}();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.