ecinc-cloud-yoagwgl 9.5.234 → 9.6.237

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- (function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t():"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports["ecyoagwgl"]=t():e["ecyoagwgl"]=t()})("undefined"!==typeof self?self:this,(function(){return function(){var e={5003:function(e,t){var n,r,a;(function(o,i){r=[],n=i,a="function"===typeof n?n.apply(t,r):n,void 0===a||(e.exports=a)})("undefined"!==typeof self&&self,(function(){function e(){var t=Object.getOwnPropertyDescriptor(document,"currentScript");if(!t&&"currentScript"in document&&document.currentScript)return document.currentScript;if(t&&t.get!==e&&document.currentScript)return document.currentScript;try{throw new Error}catch(m){var n,r,a,o=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,i=/@([^@]*):(\d+):(\d+)\s*$/gi,s=o.exec(m.stack)||i.exec(m.stack),l=s&&s[1]||!1,d=s&&s[2]||!1,c=document.location.href.replace(document.location.hash,""),u=document.getElementsByTagName("script");l===c&&(n=document.documentElement.outerHTML,r=new RegExp("(?:[^\\n]+?\\n){0,"+(d-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),a=n.replace(r,"$1").trim());for(var p=0;p<u.length;p++){if("interactive"===u[p].readyState)return u[p];if(u[p].src===l)return u[p];if(l===c&&u[p].innerHTML&&u[p].innerHTML.trim()===a)return u[p]}return null}}return e}))},184:function(e){e.exports={gwgl:{formTitle:"DocManagement",menuItem:{formTitle:"DocManagement",gwHome:"DocHomepage",mygw:"MyDocuments",mubw:"MyProcessing",myyw:"MyReviewing",overdueDocument:"OverdueProcessing",overdueNotProcessed:"Overdue and Not Processed",expiredProcessed:"Overdue but Processed",fawenManager:"Outgoing Message",shouwenManager:"Incoming Message",myRegistered:"My Registrations",fileAll:"All Files",signIn:"Sign-in Message",approvalMatters:"Matter Approval",requestReport:"Request Report",faxCorrespondence:"Fax Correspondence",ForeignCorrespondence:"External Correspondence",documentCirculation:"DocCirculation",contactForm:"Dept Contact Form",insideCommunicate:"Internal Document",solicitationOpinions:"Opinion Solicitation",documentsSupervision:"Official Supervision",Leadership:"Leadership Instructions",archiveFiles:"Archived Files",BorrowingDocuments:"Official Borrowing",invalidFile:"Invalidated Files",OperationRecord:"Operation Record",webService:"Official Exchange",signFile:"Sign-in Document",tobeSigned:"To Be Signed",signedFor:"Signed",Rejected:"Rejected",mySend:"Sent by Me",sendFile:"Send Document",toSend:"To Be Sent",sended:"Sent",RejectOf:"Rejected",organizational:"Organization Message",commonGroups:"CommonGroup Message",commonUnits:"Common Units",gwSearch:"DocSearch",bwstatistics:"Doc Statistics",EssayWriting:"Draft Quantity Statistics",bwstatisticsNum:"Doc Count Statistics",bwstatisticsEfficiency:"Doc Efficiency Statistics",returnRateStatistics:"Return Rate Statistics",overdueRate:"Overdue Rate Statistics",gwSettings:"DocSettings",numberTemplate:"DocNumbering Template",urgentLevel:"UrgencyLevel Configuration",gwTemplate:"DocTemplate Configuration",cpbTemplate:"ApprovalForm Configuration",automaticArchiving:"Automatic Archiving Settings",archiveClassification:"Archive Classification Message",officialDocument:"DocSample",configurationLeadership:"LeadershipInstruction Configuration",todo:"To Do",done:"Done",myDraft:"Drafted by Me",all:"All",draft:"Draft",processingProgress:"In Progress",Ended:"Ended",tobeReviewed:"To Be Reviewed",readAlready:"Read",myCreated:"Created by Me",notSubmit:"Not Submitted",submitted:"Submitted",pendingProcessing:"Pending Processing",isProcessing:"Processing",myHandled:"Handled by Me",allFile:"All Files"},common:{statusPlaceholder:"Please select a status",numDay:"{num} days",please:"Please input",fileTitle:"File Title",fileTitlePlaceholder:"Please enter a file title",noGwModule:"No official document template available",remarkEmptyMessage:"Please enter remarks"},messages:{selectFile:"Please select the file that needs to be archived!",selectArchiveClassification:"Please select an archive classification!",selectArchivedType:"Please select an archive type!",editConfig:"If the current edit is not saved, the content changes will be invalid. Continue?",selectModuleTip:"Select contract template",haveModule:"This contract already has a template!",haveModule2:"Replace the current template?",haveGz:"This official document has already been stamped. Re-stamping is required after editing the main text!",haveGz2:"Continue?",haveTh:"This official document has already been formatted!",fixTitle:"Please fill in the file title!",selectType:"Please select the announcement type",selectData:"Please select the data first!",confirmDel:'Are you sure you want to delete "{val}"?',confirmDel2:'Are you sure you want to delete "{val}" and all sub-types?',noUrgeProcessingSw:"No units to urge processing are available at the moment",selectGwDepart:"Please select the document receiving unit.",sendFileConfirm:"Are you sure you want to send the file immediately?",selectLeader:"Please select the reading leader and document receiving department.",sendFileSuccess:"Successfully sent {num} documents, {failNum} failed!",toListAlert:"Please select the reading leader, document receiving department, and unit for issuing the document.",fileRandMsg:"Please select a department or unit.",addCommonGroupClickMsg:"Please select the data that needs to be set as a commonly used group.",delGroupConfirm:"Are you sure you want to delete this commonly used group?",importAlert:"Please select the import file",continueConfirm:"The file has been sent. Continue with this send?",noZwFile:"No main text file. Cannot send.",noSaveAlert:"The official document attachment has been updated. Please save it before sending!",sortNumberEmptyMessage:"Please enter a four-digit sort number",truelyPhone:"Please enter a correct four-digit sort number",submitAlert:"Please select the archive file type",submitAlert2:"Please select the reminder method",submitAlert3:"Please select the SMS recipient",submitAlertTip:"Reminder"},components:{fields:{categoryName:"Archive Classification",gdType:"Archive Type",accessRightsType:"File Access Permissions",appoints:"Designated Type",cbUrgedPerson:"Processor",jsTime:"Delivery Time",banwenTime:"Handling Time",wfNodeNames:"Processing Steps",departStatus:"Department Handling Status",deptName:"Department Name",signingTime:"Sign-in Time",internalCommsContent:"Reply Content",creator:"Handler",createTime:"Reply Time",attachs:"Attachments",flSubject:"File Title",type:"Announcement Type",ggTime:"Announcement Time",publishScope:"Publication Scope",readersName:"Designated Personnel",publishFiles:"Published Files"},fileSettings:"Archive File Settings",archiveClassificationSelect:"Select Archive Classification",archiveClassificationPlaceholder:"Please Select Archive Classification",archivedTypePlaceholder:"Please Select Archive Type",allPersonnel:"Readable by All Personnel",originalHandler:"Readable by Original Handler",handlerDesignated:"Readable by Original Handler + Designated Personnel",designatedReaders:"Designated Readable Personnel",specifyType:"Specify Type",specifyGroup:"Specify Group",specifyDepart:"Specify Department",specifyPerson:"Specify Personnel",selectGroup:"Select Group",selectDepart:"Select Department",selectPerson:"Select Personnel",GroupPlaceholder:"Please Select Group",DepartPlaceholder:"Please Select Department",PersonPlaceholder:"Please Select Personnel",electronicFilling:"Electronic Archiving",paperArchiving:"Paper Archiving",contractModule:"Contract Template",selectNewM:"Please Select a New Contract Template:",updateGwType:"Update Official Document Type",gwType:"Official Document Type",selectNewGw:"Please Select a New Official Document Type:",isLoading:"Downloading file, please wait...",loadingSave:"Saving attachment, please wait...",reloadFile:"Reloading file, please wait",transferNotice:"Transfer Notice Announcement",isTop:"Pin to Top",autoReadFile:"Auto Read Body",fileName:"File Name",fileSize:"File Size",zdTitle:"Regulation Title",zdTitleEmptyMessage:"Please enter the regulation title",notice:"Announcement",inform:"Notification",praise:"Commendation",criticize:"Criticism",other:"Other",startTime:"Start Date",endTime:"End Date",publishScopeRange:"Please Select Publication Scope",allPerson:"All Personnel",readeremptyMessage:"Please enter the reader"},gdgl:{fields:{flContent:"Summary",fileName:"Document Body",gwType:"Type of Official Document",swCode:"Received Document Number",startTime:"Meeting Start Time",flCreateDate:"Issuance Date",callDate:"Convening Date",endTime:"Meeting End Time",flLwrq:"Incoming Document Date",flGrade:"Document Serial Number",documentType:"Incoming Document Serial Number",documentCode:"Incoming Document Number",replyTime:"Reply Deadline",flLwdw:"Incoming Document Unit",flSLevel:"Confidentiality Level",gdType:"Archiving Type",creator:"Archivist",gdTime:"Archiving Date",categoryName:"Archiving Classification Management",flELevel:"Urgency Level",address:"Meeting Venue"},abstractPlaceholder:"Please enter the summary",fileZwEmptyMessage:"Please select the document body",gwTypePlaceholder:"Please enter the type of official document",swCodePlaceholder:"Please enter the received document number",meetingStartTimePlaceholder:"Please select the meeting start time",draftDatePlaceholder:"Please select the drafting date",callDatePlaceholder:"Please select the convening date",meetingEndTimePlaceholder:"Meeting end time",submissionDatePlaceholder:"Please select the incoming document date",createTimePlaceholder:"Please select the creation date",documentSizePlaceholder:"Please fill in the document serial number",flLwzhPlaceholder:"Please fill in the incoming document {font}{size}",responseTimePlaceholder:"Please select the response deadline",reportingUnitPlaceholder:"Please enter the incoming document unit",classificationPlaceholder:"Please select the confidentiality level",filingDatePlaceholder:"Please select the archiving date",urgencyEmptyMessage:"Please select the urgency level",meetingAddressPlaceholder:"Please enter the meeting venue",recursionFile:"Current archived files: {dataType} pieces",flELevelFormatter:"Normal: Normal\nUrgent: Urgent\nExtremely Urgent: Extremely Urgent",flGwTypeElementFormatter:"Unit Issuance: Unit Issuance\r\nReceived Document Reading: Received Document Reading\r\nDocument Circulation: Document Circulation\r\nRequest and Report: Request and Report\r\nDepartmental Memo: Departmental Memo\r\nUnit Letter: Unit Letter\r\nOffice Document: Office Document",gdTypeElementFormatter:"1: Electronic Archiving\r\n2: Paper Archiving\r\n1,2: All Types",flSLevelElementFormatter:"1: General\r\n2: Special",borrowingApplication:"Borrowing Application",byClassification:"ByClass",byTime:"ByTime",byRecordType:"ByType"},pageBtns:{addCommonGroup:"AddCommonGroup",addChildCommonGroup:"AddChildCommonGroup",changeCommonGroup:"EditCommonGroup",delCommonGroup:"DeleteCommonGroup",all:"All",sendText:"SendOfficialSMS",urgentSMS:"ReminderSMS",selectFile:"SelectFile",startImport:"StartImport",updateInstitution:"EditInstitution",delInstitution:"DeleteInstitution",confirmUpdate:"ConfirmUpdate",addChildType:"AddChildCategory",delType:"DeleteChildCategory",tj:"Statistics"},gwjh:{fields:{typeName:"Category Name",leaders:"Leader Review",fenju:"Branch Receipt",sortCategory:"Category Sorting",recipient:"Recipient",content:"SMS Content",swOrgName:"Receiving Organization",linkman:"Contact Person of Receiving Organization",faTime:"Sending Time",textMessage:"SMS",dwName:"Unit Name",recipientPhone:"Recipient Phone Number",sendTime:"Sending Time",swReceiveTime:"Arrival Time",sendStatus:"SMS Sending Status",externalUnits:"External Unit Receipt",qsType:"Sign-in Method",telPhone:"Contact Phone",fileLeader:"Reviewing Leader",departDw:"Receiving Department/Unit",bmswDeptName:"Receiving Department",swOpenTime:"Start Processing Time",orgLevel:"Superior Organization",orgName:"Organization Name",level:"Level",orderNo:"Order Number"},dwName2:"Unit Name:",inputEmailText:"Fill in SMS Content",noAddManageCommonGroup:"No management common groups have been added yet",commonGroupSettingTitle:"Common Group Management Settings",typeNamePlaceholder:"Please enter the category name",leadershipReadingEmptyMessage:"Please select the leader for document review",depts:"Center/Squad/Department Receipt",deptsPlaceholder:"Center/Squad/Department Receipt",subReceivedDocumentsPlaceholder:"Please select the branch receipt",sortCategoryPlaceholder:"Please enter the category sorting",notSent:"Not Sent",sent:"Sent",recipientPlaceholder:"Please enter the recipient",recipientFormat:"Recipient format: e.g., 152********, 158********",messengeContentPlaceholder:"Please enter SMS content",sendFail:"Sending Failed",sendSuccess:"Sending Succeeded",setPermissions:"Set Attachment Access Permissions",signDocuments:"Sign Documents",signWayPlaceholder:"Please enter the selection status",signFor:"Sign For",rejection:"Rejection",reason:"Reason",inputReason:"Please enter the reason",telPhonePlaceholder:"Please enter a mobile phone number",status:"Processing Status",reflectWarn:"Please fill in the reason for rejection first!",fileWarn:"Please select a file first!",keyPlaceholder:"Please enter a search keyword",selectAll:"Select All",clear:"Clear",del:"Delete",sendTracking:"Send Tracking",winTitle:"Send to This Unit",commonGroup:"Common Group",sendStatus:"Sending",sendStatus2:"Sent",sendStatus3:"Arrived",sendStatus4:"Signed",sendStatus5:"Rejected",sendStatus6:"Replied",sendStatus7:"Withdrawn",sendStatus8:"Sending Failed",noOpen:"Not Opened",noScan:"Not Signed",noArrived:"Not Arrived",sendRange:"Sending Range:",commonGroupType:"Common Group Classification",winTitle2:"Send File",processingStatus:"Processing Status",withdrawn:"Withdrawn",drawn:"Withdraw",allSwdw:"All Receiving Units (",wddDw:"Units Not Arrived (",yddDw:"Units Arrived (",sendFailDw:"Units Sending Failed (",yqsDw:"Units Signed (",yjsDw:"Units Rejected (",msgCb:"SMS Reminder",zdyMsgCb:"Custom SMS Reminder",msgRecord:"SMS Record",importOrgTitle:"Qingyuan Municipal Public Security Bureau Government OA System Import:",uploadIllustrate:"File Upload Content Format Description:",uploadIllustrateOne:"1. The import file should be an Office Excel file;",uploadIllustrateTwo:'2. The import file does not currently support Office 2007 and later Excel files. If you are using Office 2007 or later, please convert the Excel file to the 2003 or earlier version format. The specific conversion method is: in the opened Excel file, select "Save As" -> "Excel 97-2003 Workbook";',uploadIllustrateThree:"3. When performing the import operation, please ensure that the file you are importing is not in use.",example:"Upload File Content Example:",clickDown:"Click to Download",downText:"Click to Download Excel Import Example",orgNameEmpty:"Please enter the organization name",addInstitution:"Add Institution",addChildInstitution:"Add Child Institution",isNoAddInstitution:"No management institutions have been added yet",institutionSet:"Institution Management Settings",orgNamePlaceholder:"Please select the organization name",orderPlaceholder:"Please enter a 4-digit sorting number",orgLevelOptions1:"Level 1 (Company Level)",orgLevelOptions2:"Level 2 (Department Level)"},setting:{fields:{levelType:"Parent Category",typeName:"Category Name",classicDescription:"Category Description",sortNumber:"Sort Order",autoToArch:"Automatic Archiving",archiveFileType:"Archive File Type",afterCompletion:"After Completion",completedDocuments:"Completed Documents",noCompletedDocuments:"Incomplete Documents",forCreate:"Since Creation",afterFile:"After Archiving",reminderMethod:"Reminder Method",remindPersonName:"SMS Recipient"},gdgzTitle:"Automatic Archiving Rule Settings",gdgzTitle2:"Automatic/Manual Archiving Reminder Settings",classicDescriptionPlaceholder:"Please enter category description",effective:"Effective",invalid:"Invalid",formTitle:"Archive Category Settings",addNewMenu:"Add New Submenu",delMenu:"Delete Menu",dayFile:"Archive by Days",dayDel:"Delete by Days",email:"Email",footerText:"Note: If the number of days is 0, automatic archiving will not be performed",group:"Group",depart:"Department",person:"Person"},portlet:{searching:"Searching...",unitDocument:"Unit Document Issuance",readingOffice:"Document Receipt and Reading",receiptDocuments:"Departmental Document Receipt",documentCirculation:"Document Circulation",departmentalLetter:"Departmental Memo",solicitationOpinions:"Opinion Solicitation",requestInstructions:"Request and Report",dzgg:"Electronic Announcement",hytz:"Meeting Notification",preview:"Preview",all:"All"},tjbg:{fields:{selectDepart:"Select Department:",fileType:"File Type:",tjzq:"Statistical Period:"},pleaseSelect:"Please Select",documentType:"Document Type",num:"Quantity",notTimedOut:"Not Timed Out",startMonth:"Start Month",endMonth:"End Month",startDate:"Start Date",endDate:"End Date",allDepart:"All Departments",month:"Month",bwNum:"Document Handling Times",fileType2:"File Type",essayWritingNum:"Draft Document Quantity Statistics",officeDocumentNum:"Document Handling Quantity Statistics",officeDocumentXlNum:"Document Handling Efficiency Statistics",officeDocumentHtNum:"Document Handling Return Rate Statistics",officeDocumentCqlNum:"Document Handling Overdue Rate Statistics",byType:"By Type",byDepart:"By Department",qwNum:"Initiated Document Quantity (Items)",qwNum2:"Initiated Document Quantity",byTime:"By Time",byPerson:"By Person",officeDocumentNum1:"Document Handling Times (Occurrences)",avgBwTime:"Average Document Handling Time",avgThl:"Average Return Rate:",avgThl2:"Average Return Rate (%)",avgCql:"Average Overdue Rate",avgCql2:"Average Overdue Rate (%)",name:"Name",avgBwTime2:"Average Document Handling Time (Hours)",title:"- Top 10 Documents with Overdue Handling",title2:"- Bottom 10 Documents in Handling Efficiency",mergeMinute:"{s} seconds",mergeMinute1:"{m} minutes {s} seconds",mergeMinute2:"{h} hours {m} minutes {s} seconds",mergeMinute3:"{d} days {h} hours {m} minutes {s} seconds"},fawen:{formTitle:"Document Management - Simulation (zwoa)",fields:{flSubject:"Document Title",flDealDate:"Handling Deadline",sendGgZd:"Publish Notice/Announcement or Regulations",sendElectronGw:"Send Electronic Official Document",flELevel:"Urgency Level",flFwzh:"Document Number",flCreator:"Creator",flCopySend:"Copy To",flContent:"Document Content",flSLevel:"Confidentiality Level",flCreateDept:"Creating Department",ifHaveZzyj:"Require Hard Copy Original",flPrintCount:"Number of Printed Copies",flType:"Document Type",flJbrPhone:"Contact Phone of Handler",flMainSend:"Primary Recipient",flCreatorPhone:"Contact Phone",flCreateDate:"Creation Time",flJbr:"Handler"}},fileSerialTemplate:{formTitle:"Official Document Numbering Template",fields:{sortNo:"Sort Number",moduleCode:"Applicable Module",mbContent:"Numbering Format",status:"Status"},options:{status:{1:"Enable",2:"Disabled"}}},wjcy:{formTitle:"Document Circulation",fields:{flLwzh:"Incoming Document Number",flSwzh:"Registration Document Number",flSLevel:"Confidentiality Level",flCreatorPhone:"Contact Phone",flCreateDept:"Registration Department",flELevel:"Urgency Level",flSubject:"Document Title",flLwrq:"Date of Incoming Document",flDealDate:"Handling Deadline",flCreator:"Registrar",flContent:"Remarks",flLwdw:"Sending Unit",flCreateDate:"Registration Date"}},gdwj:{formTitle:"Gdwj Management",fields:{creator:"Archivist",categoryName:"Archiving Category",address:"Meeting Location",flCreateDate:"Creation Date",gdTime:"Archiving Date",flSwzh:"Registration Document Number",replyTime:"Response Deadline",flSubject:"Document Title",deptOrName:"Select Personnel",flGrade:"Document Number",flContent:"Summary",startTime:"Meeting Start Time",flLwrq:"Date of Incoming Document",accessRightsType:"Document Access Rights",flSLevel:"Confidentiality Level",gdType:"Archiving Type",endTime:"Meeting End Time",flLwzh:"Incoming Document Number",appoints:"Assigned Type",flLwdw:"Sending Unit",flGwType:"Type of Official Document",flELevel:"Urgency Level",fl:"Document Classification"},options:{flGwType:{"单位发文":"Unit Document Issuance","收文阅办":"Receiving and Reviewing Documents","部门收文":"Department Document Receipt","文件传阅":"Document Circulation","部门便函":"Departmental Memo","意见征集":"Opinion Solicitation","请示报告":"Request Report"}}},modelFile:{formTitle:"Sample Official Document",fields:{visitType:"Publication Scope",status:"Status",createTime:"Creation Time",flType:"Document Type",readersName:"Viewer",flSubject:"Document Title"},options:{visitType:{0:"All personnel",3:"Designated personnel"}}},cpbFile:{formTitle:"Approval Form Template",fields:{mbType:"Template Type",status:"Status",mbFileData:"Template File",mbVer:"Template Version",name:"Template Name",printLock:"Print Lock"}},yjzj:{formTitle:"Opinion Solicitation",fields:{flSLevel:"Confidentiality Level",flCreateDate:"Creation Date",replyTime:"Response Deadline",flELevel:"Urgency Level",flSubject:"Document Title",flCreator:"Creator",flCreateDept:"Creating Department",flCreatorPhone:"Contact Phone",flContent:"Content Summary"}},commonGroup:{formTitle:"Frequently Used Group Management",fields:{typeName:"Category Name",orderNo:"Category Sorting"}},shouwenDept:{formTitle:"Official Document Management > Received Document Handling by Department",fields:{ifOversee:"Whether to Supervise",flContent:"Content Summary",flType:"Received Document Type",type:"Handling Type",flSubject:"Document Title",flLwdw:"Document Originating Unit",flELevel:"Urgency Level",flCreator:"Registrar",flCreateDate:"Document Receipt Date",flDealDate:"Handling Deadline",flLwcontacts:"Contact Person of Originating Unit",flLwzh:"Document Number of Originating Unit",flCreatorPhone:"Contact Phone",flCreateDept:"Registration Department/Faculty",flSwzh:"Received Document Number"}},fwmb:{formTitle:"Official Document Template",fields:{sortNo:"Sorting Number",formTitle:"Draft Paper Name",status:"Status",name:"Template Name",signOrg:"Printing and Issuing Organization",fileHeader:"Document Header Name",fileContent:"Template File",fileWord:"Document Word (e.g., Confidential, Internal, etc.)"}},yanqiApply:{formTitle:"Official Document Management > Extension Application Form",fields:{flDealDate:"Original Handling Deadline",flCreatorPhone:"Contact Phone",flDelayDate:"New Handling Time Limit",ifAsk:"Originating Unit's Opinion",flCreateDate:"Application Date",flSubject:"Document Title",flCreateDept:"Applying Department",flCreator:"Applicant"}},qianbao:{formTitle:"Official Document Management > Sign-off Report",fields:{flSubject:"Title",flQianbaoType:"Sign-off Report Type",flCopySend:"Copied To",flELevel:"Urgency Level",flMainSend:"Primary Recipient",flCreateDept:"Drafting Department",flCreator:"Drafter",flCreateDate:"Drafting Date",flContent:"Sign-off Report Content",flFwzh:"Sign-off Report Number",flCreatorPhone:"Contact Phone",flSLevel:"Security Level"}},internalComms:{formTitle:"Official Document Management > Internal Communication Document",fields:{flCreatorPhone:"Contact Phone",flCreateDate:"Application Date",flELevel:"Urgency Level",flFeedback:"Feedback Required",flCreateDept:"Applying Department",flSubject:"Document Title",internalCommsType:"Internal Communication Document Type",flContent:"Work Requirements",flDealDate:"Response Deadline",flDept:"Handling Department",flCreator:"Applicant"},fileAttach:"File Attach",blReasult:"Processing results"},qsbg:{formTitle:"Official Document Management > Request for Instructions Report",fields:{flSubject:"Document Title",flCreator:"Drafter",flELevel:"Urgency Level",flContent:"Content Summary",flSLevel:"Security Level",flCreateDate:"Drafting Date",flCreatorPhone:"Contact Phone",flCreateDept:"Drafting Department"}},cpbWflow:{formTitle:"Manuscript Template Associated Workflow",fields:{wfdCode:"Workflow Code",wfdName:"Workflow Name",wfdVer:"Workflow Version"}},fileLevel:{formTitle:"Document Urgency Level",fields:{status:"Status",eName:"Urgency Name",eLevel:"Level"}},leadIdeaConfig:{formTitle:"Leader's Approval and Comment Configuration",fields:{status:"Enabled",ideaLabel:"Comment Label",wfName:"Workflow"}},bmbh:{formTitle:"Official Document Management > Department Contact Form",fields:{flContactPerson:"Contact Person",flCreateDept:"Creating Department",flContent:"Summary",flCreateDate:"Creation Date",flSubject:"Title",flCreatorPhone:"Contact Phone",flDealDate:"Handling Deadline",flSLevel:"Security Level",flCreator:"Creator",flContactDept:"Contact Department",flELevel:"Urgency Level"}},shouwen:{formTitle:"Incoming Document Management - Department Incoming Documents",fields:{flELevel:"Urgency Level",flType:"Incoming Document Type",flNbyj:"Proposed Handling Suggestion",flLwzh:"Incoming Document Number",flLwrq:"Incoming Document Date",flSLevel:"Security Level",ifOversee:"Supervision Required",flSubject:"Document Title",flDealDate:"Handling Deadline",flLwdw:"Incoming Document Department",flContent:"Content Summary"}},hytz:{formTitle:"Meeting Notification",fields:{leaders:"Attending Leaders",compere:"Meeting Moderator",flCreateDate:"Calling Date",flELevel:"Urgency Level",flSubject:"Document Title",flCreatorPhone:"Contact Phone",address:"Meeting Location",flCreateDept:"Calling Department",flContent:"Meeting Content",flCreator:"Caller",endTime:"End Time of Meeting",peoplesCount:"Number of Participants",flSLevel:"Security Level",startTime:"Start Time of Meeting"}},jysq:{formTitle:"Borrowing Application",fields:{flCreateDate:"Application Date",flCreatorPhone:"Contact Phone",flCreator:"Applicant",flSubject:"Reason for Application",flCreateDept:"Application Department",flContent:"Remarks",startDate:"Start Time",endDate:"End Time"}},facsimileLetter:{formTitle:"Fax Correspondence",fields:{flSLevel:"Security Level",flMainSend:"Primary Recipient",flELevel:"Urgency Level",flQianbaoType:"Report Type",flCreatorPhone:"Contact Phone",flFwzh:"Fax Number",flSubject:"Title",flCopySend:"Copied to",flContent:"Fax Content",flCreateDept:"Drafting Department",flCreateDate:"Drafting Date",flCreator:"Drafter"}},nullifyRecords:{formTitle:"Document Obsoletion Records",fields:{createTime:"Operation Time",title:"Document Title",nullifyContent:"Reason for Obsoletion",creator:"Operator"}}}}},9811:function(e){e.exports={gwgl:{formTitle:"公文管理",moduleMenu:{gwHome:"公文主页",mygw:"我的公文",mubw:"我的办文",myyw:"我的阅文",overdueDocument:"超期办文",overdueNotProcessed:"超期未办",expiredProcessed:"超期已办",fawen:"发文管理",shouwen:"收文管理",myRegistered:"我登记的",fileAll:"全部文件",signIn:"签报管理",approvalMatters:"事项审批",requestReport:"请示报告",faxCorrespondence:"传真函件",ForeignCorrespondence:"外来函件",documentCirculation:"文件传阅",contactForm:"部门联系单",insideCommunicate:"内部沟通件",solicitationOpinions:"意见征集",documentsSupervision:"公文督办",Leadership:"领导批示件",archiveFiles:"归档文件",BorrowingDocuments:"公文借阅",invalidFile:"作废文件",OperationRecord:"操作记录",webService:"公文交换",signFile:"签收文件",tobeSigned:"待签收",signedFor:"已签收的",Rejected:"已拒收的",mySend:"我发送的",sendFile:"发送文件",toSend:"待发送",sended:"已发送",RejectOf:"被拒收",organizational:"机构管理",commonGroups:"常用组管理",commonUnits:"常用单位",gwSearch:"公文查询",bwstatistics:"办文统计",EssayWriting:"拟文数量统计",bwstatisticsNum:"办文次数统计",bwstatisticsEfficiency:"办文效率统计",returnRateStatistics:"退回率统计",overdueRate:"办理超期率统计",gwSettings:"公文设置",numberTemplate:"公文编号模板",urgentLevel:"紧急程度配置",gwTemplate:"公文模板配置",cpbTemplate:"呈批表模板配置",automaticArchiving:"自动归档设置",archiveClassification:"归档分类管理",officialDocument:"公文示例范文",configurationLeadership:"领导批示意见配置",todo:"待办",done:"已办",myDraft:"我起草的",all:"全部",draft:"草稿",processingProgress:"处理中",Ended:"已结束",tobeReviewed:"待阅",readAlready:"已阅",myCreated:"我创建的",notSubmit:"未提交",submitted:"已提交",pendingProcessing:"待处理",isProcessing:"已处理",myHandled:"我处理的",allFile:"全部文件"},common:{confirmButtonText:"确定",cancelButtonText:"取消",confirm:"确认",close:"关闭",open:"开启",saveAndClose:"保存关闭",UrgeProcessing:"催办",prompt:"提示",cancel:"取消",save:"保存",default:"恢复默认",SaveSettings:"保存设置",keywordsSearch:"请输入关键词搜索",to:"至",noData:"暂无数据",enable:"启用",disable:"禁用",agree:"同意",confirmCz:"确认操作",down:"下载",upload:"上传",updateTip:"更新提示",promoter:"发起人",participants:"参与人",status:"状态",statusPlaceholder:"请选择状态",operated:"操作",saveForm:"保存表单",yes:"是",no:"否",add:"添加",addNew:"新增",operatedTip:"操作提示",handleSuccess:"处理成功",saveSuccess:"保存成功",edit:"编辑",setting:"设置",please:"请输入",day:"天",export:"导出",fileTitle:"文件标题",fileTitlePlaceholder:"请输入文件标题",noGwModule:"暂无公文模板",remark:"备注",remarkmptyMessage:"请输入备注"},components:{fileSettings:"归档文件设置",archiveClassification:"归档分类",archiveClassificationSelect:"选择归档分类",archiveClassificationPlaceholder:"请选择归档分类",archivedType:"归档类型",archivedTypePlaceholder:"请选择归档类型",fileAccessPermission:"文件查阅权限",allPersonnel:"全体人员可阅",originalHandler:"原经办人可阅",handlerDesignated:"原经办人+指定人可阅",designatedReaders:"指定可阅人",specifyType:"指定类型",specifyGroup:"指定群组",specifyDepart:"指定部门",specifyPerson:"指定人员",selectGroup:"选择群组",selectDepart:"选择部门",selectPerson:"选择人员",GroupPlaceholder:"请选择群组",DepartPlaceholder:"请选择部门",PersonPlaceholder:"请选择人员",electronicFilling:"电子归档",paperArchiving:"纸质归档",selectFile:"请选择需要归档的文件!",selectArchiveClassification:"请选择归档分类!",selectArchivedType:"请选择归档类型!",index:"序号",cbUrgedPerson:"处理人",jsTime:"送达时间",banwenTime:"办理时间",wfNodeNames:"处理环节",departStatus:"部门办理情况",deptName:"部门名称",signingTime:"签收时间",internalCommsContent:"回复内容",creator:"经办人",createTime:"回复时间",attachs:"附件",editConfig:"若当前编辑未保存,则内容修改无效,是否继续?",selectModuleTip:"选择合同模版",haveModule:"该合同已经有模版!",haveModule2:"是否替换当前模版?",contractModule:"合同模版",selectNewM:"请选择新的合同模版:",updateGwType:"修改公文类型",haveGz:"该公文已经盖章,重新编辑正文后需要重新盖章!",haveGz2:"是否继续?",haveTh:"该公文已经套过红!",gwType:"公文类型",selectNewGw:"请选择新的公文类型:",isLoading:"正在下载文件,请稍候...",loadingSave:"正在保存附件,请稍候...",reloadFile:"正在重新加载文件,请稍候",transferNotice:"转通知公告",GgType:"公告类型",isTop:"是否置顶",ggTime:"公告时间",releaseScope:"发布范围",orderPerson:"指定人员",publishFiles:"发布文件",autoReadFile:"自动读取正文",fileName:"文件名",fileSize:"文件大小",fixTitle:"请填写文件标题!",selectType:"请选择公告类型",zdTitle:"制度标题",zdTitleEmptyMessage:"请输入制度主题",notice:"公告",inform:"通知",praise:"表扬",criticize:"批评",other:"其他",startTime:"开始日期",endTime:"结束日期",publishScopeRange:"请选择发布范围",allPerson:"全部人员",readeremptyMessage:"请输入查阅人"},gdgl:{abstract:"摘要",abstractPlaceholder:"请输入摘要",fileZw:"文件正文",fileZwEmptyMessage:"请选择文件正文",gwType:"公文种类",gwTypePlaceholder:"公文种类",swCode:"收文编号",swCodePlaceholder:"请输入收文编号",meetingStartTime:"会议开始时间",meetingStartTimePlaceholder:"请选择会议开始时间",draftDate:"拟稿日期",draftDatePlaceholder:"请选择成文日期",callDate:"召集日期",callDatePlaceholder:"请选择召集日期",meetingEndTime:"会议结束时间",meetingEndTimePlaceholder:"会议开始时间",submissionDate:"来文日期",submissionDatePlaceholder:"请选择来文日期",createTime:"创建日期",createTimePlaceholder:"请选择创建日期",documentSize:"文件字号",documentSizePlaceholder:"请填写文件字号",documentType:"来文字号",documentCode:"来文编号",flLwzhPlaceholder:"请填写来文{font}{size}",font:"字",weave:"编",name:"号",responseTime:"回复时限",responseTimePlaceholder:"请选择回复时限",reportingUnit:"来文单位",reportingUnitPlaceholder:"请输入来文单位",classification:"密级",classificationPlaceholder:"请选择密级",archivedType:"归档类型",archivedBy:"归档人",filingDate:"归档日期",filingDatePlaceholder:"请选择归档日期",urgency:"紧急程度",urgencyEmptyMessage:"请选择紧急程度",meetingAddress:"会议地点",meetingAddressPlaceholder:"请输入会议地点",recursionFile:"当前归档文件{num}件",fileType:"文件类型",fileClassification:"文件分类",flGwTypeElementFormatter:"单位发文:单位发文\r\n收文阅办:收文阅办\r\n文件传阅:文件传阅\r\n请示报告:请示报告\r\n部门便函:部门便函\r\n单位函:单位函\r\n办公室文件:办公室文件\r\n",gdTypeElementFormatter:"1:电子归档\r\n2:纸质归档\r\n1,2:全部类型\r\n",flSLevelElementFormatter:"1:一般\r\n2:特殊\r\n",borrowingApplication:"借阅申请",byClassification:"按分类",byTime:"按时间",byRecordType:"按文种"},gwjh:{addCommonGroup:"添加常用组",addChildCommonGroup:"添加子常用组",changeCommonGroup:"修改常用组",delCommonGroup:"删除常用组",noAddManageCommonGroup:"暂未添加管理常用组",commonGroupSettingTitle:"常用组管理设置",confirmDel:"确认删除“{val}”吗?",confirmDel2:"确认删除“{val}”及下级全部类型吗?",typeName:"分类名称",typeNamePlaceholder:"请输入分类名称",leadershipReading:"领导阅文",leadershipReadingEmptyMessage:"请选择领导阅文",depts:"部门收文",deptsPlaceholder:"部门收文",subReceivedDocuments:"单位收文",subReceivedDocumentsPlaceholder:"请选择单位收文",sortCategory:"分类排序",sortCategoryPlaceholder:"请输入分类排序",swOrgName:"收文单位",linkman:"收文单位联系人",faTime:"发文时间",textMessage:"短信",notSent:"未发送",sent:"已发送",recipient:"接收人",recipientPlaceholder:"请输入接收人",recipientFormat:"接收人格式如:",messengeContent:"短信内容",messengeContentPlaceholder:"请输入短信内容",all:"全部",sendText:"发文短信",urgentSMS:"催办短信",dwName:"单位名称",recipientPhone:"接收人号码",sendTime:"发送时间",swReceiveTime:"到达时间",sendFail:"发送失败",sendSuccess:"发送成功",swOpenTime:"开始办理时间",sendStatus:"短信发送状态",noUrgeProcessingSw:"暂无可催办的收文单位",setPermissions:"设置附件查阅权限",isLoading:"正在加载...",noData:"无数据",externalUnits:"外单位收文",signDocuments:"签收文件",signWay:"签收方式",signWayPlaceholder:"请输入选择状态",signFor:"签收",rejection:"拒收",reason:"原因",inputReason:"请输入原因",telPhone:"联系电话",telPhonePlaceholder:"请输入手机号码",status:"处理状态",reflectWarn:"请先填写拒收原因!",fileWarn:"请先选择文件!",keyPlaceholder:"请输入搜索关键字",selectAll:"全选",clear:"清除",selectGwDepart:"请选择收文单位。",sendFileConfirm:"您是否确认立即发送文件?",sendTracking:"发送跟踪",sendFileSuccess:"发送文件成功{num}份,失败{failNum}份!",del:"删除",winTitle:"发送本单位",commonGroup:"常用组",fileLeader:"阅文领导",departDw:"收文部门/单位",bmswDeptName:"收文部门",sendRange:"发送范围:",commonGroupType:"常用组分类",winTitle2:"发送文件",toListAlert:"请选择阅文领导、收文部门、单位发文。",fileRandMsg:"请选择部门或单位。",addCommonGroupClickMsg:"请选择需要设未常用组的数据。",delSuccessMsg:"删除成功。",delGroupConfirm:"确认删除删除该常用组?",processingStatus:"办理情况",withdrawn:"已撤回",drawn:"撤回",allSwdw:"全部收文单位(",wddDw:"未到达单位(",yddDw:"已到达单位(",sendFailDw:"发送失败单位(",yqsDw:"已签收单位(",yjsDw:"已拒收单位(",msgCb:"短信催办",zdyMsgCb:"自定义短信催办",msgRecord:"短信记录",importOrgTitle:"清远市公安局政务OA系统导入:",uploadIllustrate:"上传文件内容格式说明:",uploadIllustrateOne:"1.导入文件应为Office Excel文件;",uploadIllustrateTwo:"2.导入文件暂不支持Office 2007及以后版本的Excel文件,如您使用的是Office 2007及以后版本,请把Excel文件转换为2003或之前的版本格式,具体转换方式为:打开的Excel文件中,选择“另存为”->“Excel 97-2003工作簿”;",uploadIllustrateThree:"3.进行导入操作时,请确保您导入的文件并未处于使用状态。",example:"上传文件内容示例:",clickDown:"点击下载",downText:"点击下载Excel导入示例",selectFile:"选择文件",startImport:"开始导入",importAlert:"请选择导入文件",addInstitution:"添加机构",addChildInstitution:"添加子机构",updateInstitution:"修改机构",delInstitution:"删除机构",isNoAddInstitution:"暂未添加管理机构",institutionSet:"机构管理设置",orgLevel:"上级机构",orgName:"机构名称",orgNamePlaceholder:"请选择机构名称",level:"级别",order:"排序",orderPlaceholder:"请输入4位数字排序号",orgLevelOptions1:"一级(公司级)",orgLevelOptions2:"二级(部门级)",continueConfirm:"文件已发送,是否继续本次发送?",operateConfirm:"操作确认",noZwFile:"没有正文文件,不能发送。",noSaveAlert:"公文附件有更新,请先执行“保存”操作后再发送!"},setting:{levelType:"上级分类",classicDescription:"分类描述",classicDescriptionPlaceholder:"分类描述",sortNumber:"排序号",sortNumberEmptyMessage:"请输入四位数的排序号",effective:"有效",invalid:"无效",formTitle:"归档分类设置",addNewMenu:"新增子菜单",delMenu:"删除菜单",confirmUpdate:"确认修改",addChildType:"新增子分类",delType:"新增子分类",truelyPhone:"请输入正确的四位数排序号",automaticArchiving:"自动归档",archiveFileType:"归档文件类型",completedDocuments:"已办结文件",afterCompletion:"办结后",dayFile:"天归档",noCompletedDocuments:"未办结文件",forCreate:"自创建起",afterFile:"归档后",dayDel:"天删除",reminderMethod:"提醒方式",email:"邮件",textMessageRecepitor:"短信接收人员",footerText:"注:天数为0,则不进行自动归档",group:"群组",depart:"部门",person:"人员",submitAlert:"请选择归档文件类型",submitAlert2:"请选择提醒方式",submitAlert3:"请选择短信接收人员",submitAlertTip:"温馨提示"},portlet:{unitDocument:"单位发文",readingOffice:"收文阅办",receiptDocuments:"部门收文",documentCirculation:"文件传阅",departmentalLetter:"部门便函",solicitationOpinions:"意见征集",requestInstructions:"请示报告",preview:"预览"},tjbg:{documentType:"办文类性",num:"数量",notTimedOut:"未超时",tjzq:"统计周期:",startMonth:"开始月份",endMonth:"结束月份",startDate:"开始日期",endDate:"结束日期",allDepart:"所有部门",month:"月份",bwNum:"办文次数",tj:"统计",essayWritingNum:"拟文数量统计",officeDocumentNum:"办文次数统计",officeDocumentXlNum:"办文效率统计",officeDocumentHtNum:"办文退回率统计",officeDocumentCqlNum:"办文超期率统计",byType:"按类型",byDepart:"按部门",qwNum:"起文数量(个)",qwNum2:"起文数量",byTime:"按时间",byPerson:"按人员",officeDocumentNum1:"办文次数(次)",avgBwTime:"平均办文时长",avgThl:"平均退回率:",avgThl2:"平均退回率(%)",avgCql:"平均超期率",avgCql2:"平均超期率(%)",name:"姓名",avgBwTime2:"平均办文时长(小时)",title:"-办文超期前十排名",title2:"-办文效率后十名"}}}},4707:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function i(e,t,n){return(t=s(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e){var t=l(e,"string");return"symbol"==r(t)?t:t+""}function l(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,t||"default");if("object"!=r(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var d=n(184),c=n(5772),u=n(9811),p=n(8990),m={en:o({},d),zhCN:o({},c),es:o({},u),ja:o({},p)};e.exports=o({},m)},8990:function(e){e.exports={gwgl:{formTitle:"公文管理",moduleMenu:{gwHome:"公文主页",mygw:"我的公文",mubw:"我的办文",myyw:"我的阅文",overdueDocument:"超期办文",overdueNotProcessed:"超期未办",expiredProcessed:"超期已办",fawen:"发文管理",shouwen:"收文管理",myRegistered:"我登记的",fileAll:"全部文件",signIn:"签报管理",approvalMatters:"事项审批",requestReport:"请示报告",faxCorrespondence:"传真函件",ForeignCorrespondence:"外来函件",documentCirculation:"文件传阅",contactForm:"部门联系单",insideCommunicate:"内部沟通件",solicitationOpinions:"意见征集",documentsSupervision:"公文督办",Leadership:"领导批示件",archiveFiles:"归档文件",BorrowingDocuments:"公文借阅",invalidFile:"作废文件",OperationRecord:"操作记录",webService:"公文交换",signFile:"签收文件",tobeSigned:"待签收",signedFor:"已签收的",Rejected:"已拒收的",mySend:"我发送的",sendFile:"发送文件",toSend:"待发送",sended:"已发送",RejectOf:"被拒收",organizational:"机构管理",commonGroups:"常用组管理",commonUnits:"常用单位",gwSearch:"公文查询",bwstatistics:"办文统计",EssayWriting:"拟文数量统计",bwstatisticsNum:"办文次数统计",bwstatisticsEfficiency:"办文效率统计",returnRateStatistics:"退回率统计",overdueRate:"办理超期率统计",gwSettings:"公文设置",numberTemplate:"公文编号模板",urgentLevel:"紧急程度配置",gwTemplate:"公文模板配置",cpbTemplate:"呈批表模板配置",automaticArchiving:"自动归档设置",archiveClassification:"归档分类管理",officialDocument:"公文示例范文",configurationLeadership:"领导批示意见配置",todo:"待办",done:"已办",myDraft:"我起草的",all:"全部",draft:"草稿",processingProgress:"处理中",Ended:"已结束",tobeReviewed:"待阅",readAlready:"已阅",myCreated:"我创建的",notSubmit:"未提交",submitted:"已提交",pendingProcessing:"待处理",isProcessing:"已处理",myHandled:"我处理的",allFile:"全部文件"},common:{confirmButtonText:"确定",cancelButtonText:"取消",confirm:"确认",close:"关闭",open:"开启",saveAndClose:"保存关闭",UrgeProcessing:"催办",prompt:"提示",cancel:"取消",save:"保存",default:"恢复默认",SaveSettings:"保存设置",keywordsSearch:"请输入关键词搜索",to:"至",noData:"暂无数据",enable:"启用",disable:"禁用",agree:"同意",confirmCz:"确认操作",down:"下载",upload:"上传",updateTip:"更新提示",promoter:"发起人",participants:"参与人",status:"状态",statusPlaceholder:"请选择状态",operated:"操作",saveForm:"保存表单",yes:"是",no:"否",add:"添加",addNew:"新增",operatedTip:"操作提示",handleSuccess:"处理成功",saveSuccess:"保存成功",edit:"编辑",setting:"设置",please:"请输入",day:"天",export:"导出",fileTitle:"文件标题",fileTitlePlaceholder:"请输入文件标题",noGwModule:"暂无公文模板",remark:"备注",remarkmptyMessage:"请输入备注"},components:{fileSettings:"归档文件设置",archiveClassification:"归档分类",archiveClassificationSelect:"选择归档分类",archiveClassificationPlaceholder:"请选择归档分类",archivedType:"归档类型",archivedTypePlaceholder:"请选择归档类型",fileAccessPermission:"文件查阅权限",allPersonnel:"全体人员可阅",originalHandler:"原经办人可阅",handlerDesignated:"原经办人+指定人可阅",designatedReaders:"指定可阅人",specifyType:"指定类型",specifyGroup:"指定群组",specifyDepart:"指定部门",specifyPerson:"指定人员",selectGroup:"选择群组",selectDepart:"选择部门",selectPerson:"选择人员",GroupPlaceholder:"请选择群组",DepartPlaceholder:"请选择部门",PersonPlaceholder:"请选择人员",electronicFilling:"电子归档",paperArchiving:"纸质归档",selectFile:"请选择需要归档的文件!",selectArchiveClassification:"请选择归档分类!",selectArchivedType:"请选择归档类型!",index:"序号",cbUrgedPerson:"处理人",jsTime:"送达时间",banwenTime:"办理时间",wfNodeNames:"处理环节",departStatus:"部门办理情况",deptName:"部门名称",signingTime:"签收时间",internalCommsContent:"回复内容",creator:"经办人",createTime:"回复时间",attachs:"附件",editConfig:"若当前编辑未保存,则内容修改无效,是否继续?",selectModuleTip:"选择合同模版",haveModule:"该合同已经有模版!",haveModule2:"是否替换当前模版?",contractModule:"合同模版",selectNewM:"请选择新的合同模版:",updateGwType:"修改公文类型",haveGz:"该公文已经盖章,重新编辑正文后需要重新盖章!",haveGz2:"是否继续?",haveTh:"该公文已经套过红!",gwType:"公文类型",selectNewGw:"请选择新的公文类型:",isLoading:"正在下载文件,请稍候...",loadingSave:"正在保存附件,请稍候...",reloadFile:"正在重新加载文件,请稍候",transferNotice:"转通知公告",GgType:"公告类型",isTop:"是否置顶",ggTime:"公告时间",releaseScope:"发布范围",orderPerson:"指定人员",publishFiles:"发布文件",autoReadFile:"自动读取正文",fileName:"文件名",fileSize:"文件大小",fixTitle:"请填写文件标题!",selectType:"请选择公告类型",zdTitle:"制度标题",zdTitleEmptyMessage:"请输入制度主题",notice:"公告",inform:"通知",praise:"表扬",criticize:"批评",other:"其他",startTime:"开始日期",endTime:"结束日期",publishScopeRange:"请选择发布范围",allPerson:"全部人员",readeremptyMessage:"请输入查阅人"},gdgl:{abstract:"摘要",abstractPlaceholder:"请输入摘要",fileZw:"文件正文",fileZwEmptyMessage:"请选择文件正文",gwType:"公文种类",gwTypePlaceholder:"公文种类",swCode:"收文编号",swCodePlaceholder:"请输入收文编号",meetingStartTime:"会议开始时间",meetingStartTimePlaceholder:"请选择会议开始时间",draftDate:"拟稿日期",draftDatePlaceholder:"请选择成文日期",callDate:"召集日期",callDatePlaceholder:"请选择召集日期",meetingEndTime:"会议结束时间",meetingEndTimePlaceholder:"会议开始时间",submissionDate:"来文日期",submissionDatePlaceholder:"请选择来文日期",createTime:"创建日期",createTimePlaceholder:"请选择创建日期",documentSize:"文件字号",documentSizePlaceholder:"请填写文件字号",documentType:"来文字号",documentCode:"来文编号",flLwzhPlaceholder:"请填写来文{font}{size}",font:"字",weave:"编",name:"号",responseTime:"回复时限",responseTimePlaceholder:"请选择回复时限",reportingUnit:"来文单位",reportingUnitPlaceholder:"请输入来文单位",classification:"密级",classificationPlaceholder:"请选择密级",archivedType:"归档类型",archivedBy:"归档人",filingDate:"归档日期",filingDatePlaceholder:"请选择归档日期",urgency:"紧急程度",urgencyEmptyMessage:"请选择紧急程度",meetingAddress:"会议地点",meetingAddressPlaceholder:"请输入会议地点",recursionFile:"当前归档文件{num}件",fileType:"文件类型",fileClassification:"文件分类",flGwTypeElementFormatter:"单位发文:单位发文\r\n收文阅办:收文阅办\r\n文件传阅:文件传阅\r\n请示报告:请示报告\r\n部门便函:部门便函\r\n单位函:单位函\r\n办公室文件:办公室文件\r\n",gdTypeElementFormatter:"1:电子归档\r\n2:纸质归档\r\n1,2:全部类型\r\n",flSLevelElementFormatter:"1:一般\r\n2:特殊\r\n",borrowingApplication:"借阅申请",byClassification:"按分类",byTime:"按时间",byRecordType:"按文种"},gwjh:{addCommonGroup:"添加常用组",addChildCommonGroup:"添加子常用组",changeCommonGroup:"修改常用组",delCommonGroup:"删除常用组",noAddManageCommonGroup:"暂未添加管理常用组",commonGroupSettingTitle:"常用组管理设置",confirmDel:"确认删除“{val}”吗?",confirmDel2:"确认删除“{val}”及下级全部类型吗?",typeName:"分类名称",typeNamePlaceholder:"请输入分类名称",leadershipReading:"领导阅文",leadershipReadingEmptyMessage:"请选择领导阅文",depts:"部门收文",deptsPlaceholder:"部门收文",subReceivedDocuments:"单位收文",subReceivedDocumentsPlaceholder:"请选择单位收文",sortCategory:"分类排序",sortCategoryPlaceholder:"请输入分类排序",swOrgName:"收文单位",linkman:"收文单位联系人",faTime:"发文时间",textMessage:"短信",notSent:"未发送",sent:"已发送",recipient:"接收人",recipientPlaceholder:"请输入接收人",recipientFormat:"接收人格式如:",messengeContent:"短信内容",messengeContentPlaceholder:"请输入短信内容",all:"全部",sendText:"发文短信",urgentSMS:"催办短信",dwName:"单位名称",recipientPhone:"接收人号码",sendTime:"发送时间",swReceiveTime:"到达时间",sendFail:"发送失败",sendSuccess:"发送成功",swOpenTime:"开始办理时间",sendStatus:"短信发送状态",noUrgeProcessingSw:"暂无可催办的收文单位",setPermissions:"设置附件查阅权限",isLoading:"正在加载...",noData:"无数据",externalUnits:"外单位收文",signDocuments:"签收文件",signWay:"签收方式",signWayPlaceholder:"请输入选择状态",signFor:"签收",rejection:"拒收",reason:"原因",inputReason:"请输入原因",telPhone:"联系电话",telPhonePlaceholder:"请输入手机号码",status:"处理状态",reflectWarn:"请先填写拒收原因!",fileWarn:"请先选择文件!",keyPlaceholder:"请输入搜索关键字",selectAll:"全选",clear:"清除",selectGwDepart:"请选择收文单位。",sendFileConfirm:"您是否确认立即发送文件?",sendTracking:"发送跟踪",sendFileSuccess:"发送文件成功{num}份,失败{failNum}份!",del:"删除",winTitle:"发送本单位",commonGroup:"常用组",fileLeader:"阅文领导",departDw:"收文部门/单位",bmswDeptName:"收文部门",sendRange:"发送范围:",commonGroupType:"常用组分类",winTitle2:"发送文件",toListAlert:"请选择阅文领导、收文部门、单位发文。",fileRandMsg:"请选择部门或单位。",addCommonGroupClickMsg:"请选择需要设未常用组的数据。",delSuccessMsg:"删除成功。",delGroupConfirm:"确认删除删除该常用组?",processingStatus:"办理情况",withdrawn:"已撤回",drawn:"撤回",allSwdw:"全部收文单位(",wddDw:"未到达单位(",yddDw:"已到达单位(",sendFailDw:"发送失败单位(",yqsDw:"已签收单位(",yjsDw:"已拒收单位(",msgCb:"短信催办",zdyMsgCb:"自定义短信催办",msgRecord:"短信记录",importOrgTitle:"清远市公安局政务OA系统导入:",uploadIllustrate:"上传文件内容格式说明:",uploadIllustrateOne:"1.导入文件应为Office Excel文件;",uploadIllustrateTwo:"2.导入文件暂不支持Office 2007及以后版本的Excel文件,如您使用的是Office 2007及以后版本,请把Excel文件转换为2003或之前的版本格式,具体转换方式为:打开的Excel文件中,选择“另存为”->“Excel 97-2003工作簿”;",uploadIllustrateThree:"3.进行导入操作时,请确保您导入的文件并未处于使用状态。",example:"上传文件内容示例:",clickDown:"点击下载",downText:"点击下载Excel导入示例",selectFile:"选择文件",startImport:"开始导入",importAlert:"请选择导入文件",addInstitution:"添加机构",addChildInstitution:"添加子机构",updateInstitution:"修改机构",delInstitution:"删除机构",isNoAddInstitution:"暂未添加管理机构",institutionSet:"机构管理设置",orgLevel:"上级机构",orgName:"机构名称",orgNamePlaceholder:"请选择机构名称",level:"级别",order:"排序",orderPlaceholder:"请输入4位数字排序号",orgLevelOptions1:"一级(公司级)",orgLevelOptions2:"二级(部门级)",continueConfirm:"文件已发送,是否继续本次发送?",operateConfirm:"操作确认",noZwFile:"没有正文文件,不能发送。",noSaveAlert:"公文附件有更新,请先执行“保存”操作后再发送!"},setting:{levelType:"上级分类",classicDescription:"分类描述",classicDescriptionPlaceholder:"分类描述",sortNumber:"排序号",sortNumberEmptyMessage:"请输入四位数的排序号",effective:"有效",invalid:"无效",formTitle:"归档分类设置",addNewMenu:"新增子菜单",delMenu:"删除菜单",confirmUpdate:"确认修改",addChildType:"新增子分类",delType:"新增子分类",truelyPhone:"请输入正确的四位数排序号",automaticArchiving:"自动归档",archiveFileType:"归档文件类型",completedDocuments:"已办结文件",afterCompletion:"办结后",dayFile:"天归档",noCompletedDocuments:"未办结文件",forCreate:"自创建起",afterFile:"归档后",dayDel:"天删除",reminderMethod:"提醒方式",email:"邮件",textMessageRecepitor:"短信接收人员",footerText:"注:天数为0,则不进行自动归档",group:"群组",depart:"部门",person:"人员",submitAlert:"请选择归档文件类型",submitAlert2:"请选择提醒方式",submitAlert3:"请选择短信接收人员",submitAlertTip:"温馨提示"},portlet:{unitDocument:"单位发文",readingOffice:"收文阅办",receiptDocuments:"部门收文",documentCirculation:"文件传阅",departmentalLetter:"部门便函",solicitationOpinions:"意见征集",requestInstructions:"请示报告",preview:"预览"},tjbg:{documentType:"办文类性",num:"数量",notTimedOut:"未超时",tjzq:"统计周期:",startMonth:"开始月份",endMonth:"结束月份",startDate:"开始日期",endDate:"结束日期",allDepart:"所有部门",month:"月份",bwNum:"办文次数",tj:"统计",essayWritingNum:"拟文数量统计",officeDocumentNum:"办文次数统计",officeDocumentXlNum:"办文效率统计",officeDocumentHtNum:"办文退回率统计",officeDocumentCqlNum:"办文超期率统计",byType:"按类型",byDepart:"按部门",qwNum:"起文数量(个)",qwNum2:"起文数量",byTime:"按时间",byPerson:"按人员",officeDocumentNum1:"办文次数(次)",avgBwTime:"平均办文时长",avgThl:"平均退回率:",avgThl2:"平均退回率(%)",avgCql:"平均超期率",avgCql2:"平均超期率(%)",name:"姓名",avgBwTime2:"平均办文时长(小时)",title:"-办文超期前十排名",title2:"-办文效率后十名"}}}},5772:function(e){e.exports={gwgl:{menuItem:{formTitle:"公文管理",gwHome:"公文主页",mygw:"我的公文",mubw:"我的办文",myyw:"我的阅文",overdueDocument:"超期办文",overdueNotProcessed:"超期未办",expiredProcessed:"超期已办",fawenManager:"发文管理",shouwenManager:"收文管理",myRegistered:"我登记的",fileAll:"全部文件",signIn:"签报管理",approvalMatters:"事项审批",requestReport:"请示报告",faxCorrespondence:"传真函件",ForeignCorrespondence:"外来函件",documentCirculation:"文件传阅",contactForm:"部门联系单",insideCommunicate:"内部沟通件",solicitationOpinions:"意见征集",documentsSupervision:"公文督办",Leadership:"领导批示件",archiveFiles:"归档文件",BorrowingDocuments:"公文借阅",invalidFile:"作废文件",OperationRecord:"操作记录",webService:"公文交换",signFile:"签收文件",tobeSigned:"待签收",signedFor:"已签收的",Rejected:"已拒收的",mySend:"我发送的",sendFile:"发送文件",toSend:"待发送",sended:"已发送",RejectOf:"被拒收",organizational:"机构管理",commonGroups:"常用组管理",commonUnits:"常用单位",gwSearch:"公文查询",bwstatistics:"办文统计",EssayWriting:"拟文数量统计",bwstatisticsNum:"办文次数统计",bwstatisticsEfficiency:"办文效率统计",returnRateStatistics:"退回率统计",overdueRate:"办理超期率统计",gwSettings:"公文设置",numberTemplate:"公文编号模板",urgentLevel:"紧急程度配置",gwTemplate:"公文模板配置",cpbTemplate:"呈批表模板配置",automaticArchiving:"自动归档设置",archiveClassification:"归档分类管理",officialDocument:"公文示例范文",configurationLeadership:"领导批示意见配置",todo:"待办",done:"已办",myDraft:"我起草的",all:"全部",draft:"草稿",processingProgress:"处理中",Ended:"已结束",tobeReviewed:"待阅",readAlready:"已阅",myCreated:"我创建的",notSubmit:"未提交",submitted:"已提交",pendingProcessing:"待处理",isProcessing:"已处理",myHandled:"我处理的",allFile:"全部文件"},common:{statusPlaceholder:"请选择状态",numDay:"{num}天",please:"请输入",fileTitle:"文件标题",fileTitlePlaceholder:"请输入文件标题",noGwModule:"暂无公文模板",remarkmptyMessage:"请输入备注"},messages:{selectFile:"请选择需要归档的文件!",selectArchiveClassification:"请选择归档分类!",selectArchivedType:"请选择归档类型!",editConfig:"若当前编辑未保存,则内容修改无效,是否继续?",selectModuleTip:"选择合同模版",haveModule:"该合同已经有模版!",haveModule2:"是否替换当前模版?",haveGz:"该公文已经盖章,重新编辑正文后需要重新盖章!",haveGz2:"是否继续?",haveTh:"该公文已经套过红!",fixTitle:"请填写文件标题!",selectType:"请选择公告类型",selectData:"请先选择数据!",confirmDel:"确认删除“{val}”吗?",confirmDel2:"确认删除“{val}”及下级全部类型吗?",noUrgeProcessingSw:"暂无可催办的收文单位",selectGwDepart:"请选择收文单位。",sendFileConfirm:"您是否确认立即发送文件?",selectLeader:"请选择阅文领导、收文部门。",sendFileSuccess:"发送文件成功{num}份,失败{failNum}份!",toListAlert:"请选择阅文领导、收文部门、单位发文。",fileRandMsg:"请选择部门或单位。",addCommonGroupClickMsg:"请选择需要设未常用组的数据。",delGroupConfirm:"确认删除删除该常用组?",importAlert:"请选择导入文件",continueConfirm:"文件已发送,是否继续本次发送?",noZwFile:"没有正文文件,不能发送。",noSaveAlert:"公文附件有更新,请先执行“保存”操作后再发送!",sortNumberEmptyMessage:"请输入四位数的排序号",truelyPhone:"请输入正确的四位数排序号",submitAlert:"请选择归档文件类型",submitAlert2:"请选择提醒方式",submitAlert3:"请选择短信接收人员",submitAlertTip:"温馨提示"},components:{fields:{categoryName:"归档分类",gdType:"归档类型",accessRightsType:"文件查阅权限",appoints:"指定类型",cbUrgedPerson:"处理人",jsTime:"送达时间",banwenTime:"办理时间",wfNodeNames:"处理环节",departStatus:"部门办理情况",deptName:"部门名称",signingTime:"签收时间",internalCommsContent:"回复内容",creator:"经办人",createTime:"回复时间",attachs:"附件",flSubject:"文件标题",type:"公告类型",ggTime:"公告时间",publishScope:"发布范围",readersName:"指定人员",publishFiles:"发布文件"},fileSettings:"归档文件设置",archiveClassificationSelect:"选择归档分类",archiveClassificationPlaceholder:"请选择归档分类",archivedTypePlaceholder:"请选择归档类型",allPersonnel:"全体人员可阅",originalHandler:"原经办人可阅",handlerDesignated:"原经办人+指定人可阅",designatedReaders:"指定可阅人",specifyType:"指定类型",specifyGroup:"指定群组",specifyDepart:"指定部门",specifyPerson:"指定人员",selectGroup:"选择群组",selectDepart:"选择部门",selectPerson:"选择人员",GroupPlaceholder:"请选择群组",DepartPlaceholder:"请选择部门",PersonPlaceholder:"请选择人员",electronicFilling:"电子归档",paperArchiving:"纸质归档",contractModule:"合同模版",selectNewM:"请选择新的合同模版:",updateGwType:"修改公文类型",gwType:"公文类型",selectNewGw:"请选择新的公文类型:",isLoading:"正在下载文件,请稍候...",loadingSave:"正在保存附件,请稍候...",reloadFile:"正在重新加载文件,请稍候",transferNotice:"转通知公告",isTop:"是否置顶",autoReadFile:"自动读取正文",fileName:"文件名",fileSize:"文件大小",zdTitle:"制度标题",zdTitleEmptyMessage:"请输入制度主题",notice:"公告",inform:"通知",praise:"表扬",criticize:"批评",other:"其他",startTime:"开始日期",endTime:"结束日期",publishScopeRange:"请选择发布范围",allPerson:"全部人员",readeremptyMessage:"请输入查阅人"},gdgl:{fields:{flContent:"摘要",fileName:"文件正文",gwType:"公文种类",swCode:"收文编号",startTime:"会议开始时间",flCreateDate:"创建日期",callDate:"召集日期",endTime:"会议结束时间",flLwrq:"来文日期",flGrade:"文件字号",documentType:"来文字号",documentCode:"来文编号",replyTime:"回复时限",flLwdw:"来文单位",flSLevel:"密级",gdType:"归档类型",creator:"归档人",gdTime:"归档日期",categoryName:"归档分类管理",flELevel:"紧急程度",address:"会议地点"},abstractPlaceholder:"请输入摘要",fileZwEmptyMessage:"请选择文件正文",gwTypePlaceholder:"请输入公文种类",swCodePlaceholder:"请输入收文编号",meetingStartTimePlaceholder:"请选择会议开始时间",draftDatePlaceholder:"请选择成文日期",callDatePlaceholder:"请选择召集日期",meetingEndTimePlaceholder:"会议结束时间",submissionDatePlaceholder:"请选择来文日期",createTimePlaceholder:"请选择创建日期",documentSizePlaceholder:"请填写文件字号",flLwzhPlaceholder:"请填写来文{font}{size}",responseTimePlaceholder:"请选择回复时限",reportingUnitPlaceholder:"请输入来文单位",classificationPlaceholder:"请选择密级",filingDatePlaceholder:"请选择归档日期",urgencyEmptyMessage:"请选择紧急程度",meetingAddressPlaceholder:"请输入会议地点",recursionFile:"当前归档文件{dataType}件",flELevelFormatter:"平件:平件\n急件:急件\n特急:特急",flGwTypeElementFormatter:"单位发文:单位发文\r\n收文阅办:收文阅办\r\n文件传阅:文件传阅\r\n请示报告:请示报告\r\n部门便函:部门便函\r\n单位函:单位函\r\n办公室文件:办公室文件\r\n",gdTypeElementFormatter:"1:电子归档\r\n2:纸质归档\r\n1,2:全部类型\r\n",flSLevelElementFormatter:"1:一般\r\n2:特殊\r\n",borrowingApplication:"借阅申请",byClassification:"按分类",byTime:"按时间",byRecordType:"按文种"},pageBtns:{addCommonGroup:"添加常用组",addChildCommonGroup:"添加子常用组",changeCommonGroup:"修改常用组",delCommonGroup:"删除常用组",all:"全部",sendText:"发文短信",urgentSMS:"催办短信",selectFile:"选择文件",startImport:"开始导入",updateInstitution:"修改机构",delInstitution:"删除机构",confirmUpdate:"确认修改",addChildType:"新增子分类",delType:"删除子分类",tj:"统计"},gwjh:{fields:{typeName:"分类名称",leaders:"领导阅文",fenju:"单位收文",sortCategory:"分类排序",recipient:"接收人",content:"短信内容",swOrgName:"收文单位",linkman:"收文单位联系人",faTime:"发文时间",textMessage:"短信",dwName:"单位名称",recipientPhone:"接收人号码",sendTime:"发送时间",swReceiveTime:"到达时间",sendStatus:"短信发送状态",externalUnits:"外单位收文",qsType:"签收方式",telPhone:"联系电话",fileLeader:"阅文领导",departDw:"收文部门/单位",bmswDeptName:"收文部门",swOpenTime:"开始办理时间",orgLevel:"上级机构",orgName:"机构名称",level:"级别",orderNo:"排序"},dwName2:"单位名称:",inputEmailText:"填写短信内容",noAddManageCommonGroup:"暂未添加管理常用组",commonGroupSettingTitle:"常用组管理设置",typeNamePlaceholder:"请输入分类名称",leadershipReadingEmptyMessage:"请选择领导阅文",depts:"部门收文",deptsPlaceholder:"部门收文",subReceivedDocumentsPlaceholder:"请选择单位收文",sortCategoryPlaceholder:"请输入分类排序",notSent:"未发送",sent:"已发送",recipientPlaceholder:"请输入接收人",recipientFormat:"接收人格式如:152********,158********",messengeContentPlaceholder:"请输入短信内容",sendFail:"发送失败",sendSuccess:"发送成功",setPermissions:"设置附件查阅权限",signDocuments:"签收文件",signWayPlaceholder:"请输入选择状态",signFor:"签收",rejection:"拒收",reason:"原因",inputReason:"请输入原因",telPhonePlaceholder:"请输入手机号码",status:"处理状态",reflectWarn:"请先填写拒收原因!",fileWarn:"请先选择文件!",keyPlaceholder:"请输入搜索关键字",selectAll:"全选",clear:"清除",del:"删除",sendTracking:"发送跟踪",winTitle:"发送本单位",commonGroup:"常用组",sendStatus:"发送中",sendStatus2:"已发送",sendStatus3:"已到达",sendStatus4:"已签收",sendStatus5:"已拒收",sendStatus6:"已回复",sendStatus7:"已撤回",sendStatus8:"发送失败",noOpen:"未打开",noScan:"未签收",noArrived:"未到达",sendRange:"发送范围:",commonGroupType:"常用组分类",winTitle2:"发送文件",processingStatus:"办理情况",withdrawn:"已撤回",drawn:"撤回",allSwdw:"全部收文单位(",wddDw:"未到达单位(",yddDw:"已到达单位(",sendFailDw:"发送失败单位(",yqsDw:"已签收单位(",yjsDw:"已拒收单位(",msgCb:"短信催办",zdyMsgCb:"自定义短信催办",msgRecord:"短信记录",importOrgTitle:"清远市公安局政务OA系统导入:",uploadIllustrate:"上传文件内容格式说明:",uploadIllustrateOne:"1.导入文件应为Office Excel文件;",uploadIllustrateTwo:"2.导入文件暂不支持Office 2007及以后版本的Excel文件,如您使用的是Office 2007及以后版本,请把Excel文件转换为2003或之前的版本格式,具体转换方式为:打开的Excel文件中,选择“另存为”->“Excel 97-2003工作簿”;",uploadIllustrateThree:"3.进行导入操作时,请确保您导入的文件并未处于使用状态。",example:"上传文件内容示例:",clickDown:"点击下载",downText:"点击下载Excel导入示例",orgNameEmpty:"请输入机构名称",addInstitution:"添加机构",addChildInstitution:"添加子机构",isNoAddInstitution:"暂未添加管理机构",institutionSet:"机构管理设置",orgNamePlaceholder:"请选择机构名称",orderPlaceholder:"请输入4位数字排序号",orgLevelOptions1:"一级(公司级)",orgLevelOptions2:"二级(部门级)"},setting:{fields:{levelType:"上级分类",typeName:"分类名称",classicDescription:"分类描述",sortNumber:"排序号",autoToArch:"自动归档",archiveFileType:"归档文件类型",afterCompletion:"办结后",completedDocuments:"已办结文件",noCompletedDocuments:"未办结文件",forCreate:"自创建起",afterFile:"归档后",reminderMethod:"提醒方式",remindPersonName:"短信接收人员"},gdgzTitle:"自动归档规则设置",gdgzTitle2:"自动/手动归档提醒设置",classicDescriptionPlaceholder:"请输入分类描述",effective:"有效",invalid:"无效",formTitle:"归档分类设置",addNewMenu:"新增子菜单",delMenu:"删除菜单",dayFile:"天归档",dayDel:"天删除",email:"邮件",footerText:"注:天数为0,则不进行自动归档",group:"群组",depart:"部门",person:"人员"},portlet:{searching:"搜索...",unitDocument:"单位发文",readingOffice:"收文阅办",receiptDocuments:"部门收文",documentCirculation:"文件传阅",departmentalLetter:"部门便函",solicitationOpinions:"意见征集",requestInstructions:"请示报告",dzgg:"电子公告",hytz:"会议通知",preview:"预览",all:"全部"},tjbg:{fields:{selectDepart:"选择部门:",fileType:"文件类型:",tjzq:"统计周期:"},pleaseSelect:"请选择",documentType:"办文类性",num:"数量",notTimedOut:"未超时",startMonth:"开始月份",endMonth:"结束月份",startDate:"开始日期",endDate:"结束日期",allDepart:"所有部门",month:"月份",bwNum:"办文次数",fileType2:"文件类型",essayWritingNum:"拟文数量统计",officeDocumentNum:"办文次数统计",officeDocumentXlNum:"办文效率统计",officeDocumentHtNum:"办文退回率统计",officeDocumentCqlNum:"办文超期率统计",byType:"按类型",byDepart:"按部门",qwNum:"起文数量(个)",qwNum2:"起文数量",byTime:"按时间",byPerson:"按人员",officeDocumentNum1:"办文次数(次)",avgBwTime:"平均办文时长",avgThl:"平均退回率:",avgThl2:"平均退回率(%)",avgCql:"平均超期率",avgCql2:"平均超期率(%)",name:"姓名",avgBwTime2:"平均办文时长(小时)",title:"-办文超期前十排名",title2:"-办文效率后十名",mergeMinute:"{s}秒",mergeMinute1:"{m}分钟{s}秒",mergeMinute2:"{h}小时{m}分钟{s}秒",mergeMinute3:"{d}天{h}小时{m}分钟{s}秒"},fawen:{formTitle:"发文管理-仿真(zwoa)",fields:{flSubject:"文件标题",flDealDate:"办理期限",sendGgZd:"发布通知公告/规章制度",sendElectronGw:"发送电子公文",flELevel:"紧急程度 ",flFwzh:"文件字号",flCreator:"创建人",flCopySend:"抄送",flContent:"文件内容",flSLevel:"密级 ",flCreateDept:"创建部门",ifHaveZzyj:"是否需要纸质版原件",flPrintCount:"印发份数",flType:"文件类型",flJbrPhone:"经办人电话",flMainSend:"主送",flCreatorPhone:"联系电话",flCreateDate:"创建时间 ",flJbr:"经办人"}},fileSerial:{formTitle:"公文编号模板",fields:{sortNo:"排序号",moduleCode:"适用模块",mbContent:"编号格式",status:"状态"}},wjcy:{formTitle:"文件传阅",fields:{flLwzh:"来文编号",flSwzh:"收文编号",flSLevel:"密级 ",flCreatorPhone:"联系电话",flCreateDept:"登记部门",flELevel:"紧急程度 ",flSubject:"文件标题",flLwrq:"来文日期",flDealDate:"办理期限 ",flCreator:"登记人",flContent:"备注",flLwdw:"来文单位",flCreateDate:"登记日期 "}},gdwj:{formTitle:"归档文件",fields:{creator:"归档人",categoryName:"归档分类",address:"会议地点",flCreateDate:"创建日期",gdTime:"归档日期",flSwzh:"收文编号",replyTime:"回复时限",flSubject:"文件标题",deptOrName:"选择人员",flGrade:"文件字号",flContent:"摘要",startTime:"会议开始时间",flLwrq:"来文日期 ",accessRightsType:"文件查阅权限 ",flSLevel:"密级",gdType:"归档类型",endTime:"会议结束时间",flLwzh:"来文字号",appoints:"指定类型",flLwdw:"来文单位",flGwType:"公文种类",flELevel:"紧急程度",fl:"文件分类"}},modelFile:{formTitle:"公文示例范文",fields:{visitType:"发布范围 ",status:"状态 ",createTime:"创建时间",flType:"文件类型",readersName:"查阅人",flSubject:"文件标题"},options:{visitType:{0:"全部人员",3:"指定人员"}}},cpbFile:{formTitle:"呈批表模板",fields:{mbType:"模板类型 ",status:"状态 ",mbFileData:"模板文件",mbVer:"模板版本",name:"模版名称",printLock:"打印锁定 "}},yjzj:{formTitle:"意见征集",fields:{flSLevel:"密级",flCreateDate:"创建日期",replyTime:"回复时限",flELevel:"紧急程度",flSubject:"文件标题",flCreator:"创建人",flCreateDept:"创建部门",flCreatorPhone:"联系电话",flContent:"内容摘要"}},commonGroup:{formTitle:"常用组管理",fields:{typeName:"分类名称",orderNo:"分类排序"}},shouwenDept:{formTitle:"公文管理》收文部门办理",fields:{ifOversee:"是否督办",flContent:"内容摘要",flType:"收文类型",type:"办理类型",flSubject:"文件标题",flLwdw:"来文单位",flELevel:"紧急程度",flCreator:"登记人",flCreateDate:"收文时间 ",flDealDate:"办理期限",flLwcontacts:"来文联系人",flLwzh:"来文字号",flCreatorPhone:"联系电话",flCreateDept:"登记部门/院系",flSwzh:"收文编号"}},fwmb:{formTitle:"公文模板",fields:{sortNo:"排序号",formTitle:"拟稿纸名称",status:"状态 ",name:"模板名称",signOrg:"印发机构",fileHeader:"文件头名称",fileContent:"模板文件",fileWord:"文件字"}},yanqiApply:{formTitle:"公文管理》延期申请单",fields:{flDealDate:"原办理期限",flCreatorPhone:"联系电话",flDelayDate:"新办理时限",ifAsk:"来文单位意见",flCreateDate:"申请日期 ",flSubject:"文件标题",flCreateDept:"申请部门",flCreator:"申请人"}},qianbao:{formTitle:"公文管理》签报",fields:{flSubject:"标题",flQianbaoType:"签报类型",flCopySend:"抄送",flELevel:"紧急程度",flMainSend:"主送",flCreateDept:"拟稿部门",flCreator:"拟稿人",flCreateDate:"拟稿日期 ",flContent:"签报内容",flFwzh:"签报字号",flCreatorPhone:"联系电话",flSLevel:"密级"}},internalComms:{formTitle:"公文管理>内部沟通件",fields:{flCreatorPhone:"联系电话",flCreateDate:"申请日期 ",flELevel:"紧急程度",flFeedback:"是否需要反馈意见",flCreateDept:"申请部门",flSubject:"文件标题",internalCommsType:"内部沟通件类型",flContent:"工作要求",flDealDate:"回复时限",flDept:"办理部门",flCreator:"申请人"},fileAttach:"文件附件",blReasult:"办理结果"},qsbg:{formTitle:"公文管理》请示报告",fields:{flSubject:"文件标题",flCreator:"拟稿人",flELevel:"紧急程度",flContent:"内容摘要",flSLevel:"密级",flCreateDate:"拟稿日期 ",flCreatorPhone:"联系电话",flCreateDept:"拟稿部门"}},cpbWflow:{formTitle:"稿纸模板关联流程",fields:{wfdCode:"流程编号",wfdName:"流程名称",wfdVer:"流程版本"}},fileLevel:{formTitle:"文件紧急程度",fields:{status:"状态 ",eName:"紧急程度",eLevel:"级别 "}},leadIdeaConfig:{formTitle:"领导批示意见配置",fields:{status:"是否启用",ideaLabel:"意见标签",wfName:"流程"}},bmbh:{formTitle:"公文管理>部门联系单",fields:{flContactPerson:"联系人",flCreateDept:"创建部门",flContent:"摘要",flCreateDate:"创建日期",flSubject:"标题",flCreatorPhone:"联系电话",flDealDate:"办理期限",flSLevel:"密级",flCreator:"创建人",flContactDept:"联系部门",flELevel:"紧急程度"}},shouwen:{formTitle:"收文管理_部门收文",fields:{flELevel:"紧急程度 ",flType:"来文类型 ",flNbyj:"拟办意见",flLwzh:"来文字号",flLwrq:"来文日期 ",flSLevel:"密级 ",ifOversee:"是否督办",flSubject:"文件标题",flDealDate:"办理期限",flLwdw:"来文单位",flContent:"内容摘要"}},hytz:{formTitle:"会议通知",fields:{leaders:"出席领导",compere:"会议主持人",flCreateDate:"召集日期",flELevel:"紧急程度",flSubject:"文件标题",flCreatorPhone:"联系电话",address:"会议地点",flCreateDept:"召集部门 ",flContent:"会议内容",flCreator:"召集人",endTime:"会议结束时间",peoplesCount:"参加会议人数",flSLevel:"密级",startTime:"会议开始时间"}},jysq:{formTitle:"借阅申请",fields:{flCreateDate:"申请日期 ",flCreatorPhone:"联系电话",flCreator:"申请人",flSubject:"申请事由",flCreateDept:"申请部门",flContent:"备注",startDate:"开始时间",endDate:"结束时间"}},facsimileLetter:{formTitle:"传真函件",fields:{flSLevel:"密级",flMainSend:"主送",flELevel:"紧急程度",flQianbaoType:"签报类型",flCreatorPhone:"联系电话",flFwzh:"传真字号",flSubject:"标题",flCopySend:"抄送",flContent:"传真内容",flCreateDept:"拟稿部门",flCreateDate:"拟稿日期 ",flCreator:"拟稿人"}},nullifyRecords:{formTitle:"文件作废记录",fields:{createTime:"操作时间",title:"文件标题",nullifyContent:"作废原因",creator:"操作人"}}}}},8075:function(e,t,n){"use strict";var r=n(453),a=n(487),o=a(r("String.prototype.indexOf"));e.exports=function(e,t){var n=r(e,!!t);return"function"===typeof n&&o(e,".prototype.")>-1?a(n):n}},487:function(e,t,n){"use strict";var r=n(6743),a=n(453),o=n(6897),i=n(9675),s=a("%Function.prototype.apply%"),l=a("%Function.prototype.call%"),d=a("%Reflect.apply%",!0)||r.call(l,s),c=n(655),u=a("%Math.max%");e.exports=function(e){if("function"!==typeof e)throw new i("a function is required");var t=d(r,l,arguments);return o(t,1+u(0,e.length-(arguments.length-1)),!0)};var p=function(){return d(r,s,arguments)};c?c(e.exports,"apply",{value:p}):e.exports.apply=p},5154:function(e,t,n){"use strict";n.r(t);var r=n(1601),a=n.n(r),o=n(6314),i=n.n(o),s=i()(a());s.push([e.id,".el-table__body.el-table__body-no[data-v-e9973e82]{table-layout:auto}",""]),t["default"]=s},58:function(e,t,n){"use strict";n.r(t);var r=n(1601),a=n.n(r),o=n(6314),i=n.n(o),s=i()(a());s.push([e.id,".wflow-container .internalCommsInfo .el-form .internalCommsInfo_table .el-table[data-v-51438016]:after,.wflow-container .internalCommsInfo .el-form .internalCommsInfo_table .el-table[data-v-51438016]:before{background-color:#fff!important}.wflow-container .internalCommsInfo[data-v-51438016] .el-form .el-table.el-table--border td:last-child{border-right:none}",""]),t["default"]=s},2537:function(e,t,n){"use strict";n.r(t);var r=n(1601),a=n.n(r),o=n(6314),i=n.n(o),s=i()(a());s.push([e.id,".bottombar[data-v-4b14c1db]{position:absolute;background-color:#f1f1f1;height:4px;width:100%;margin-top:-4px}#bodyfilebox[data-v-4b14c1db]{height:calc(100vh - 74px);border:0;text-align:center;font-size:16px}#bodyfilebox .bodyfile[data-v-4b14c1db]{height:100%;width:100%}.nobodyfile[data-v-4b14c1db]{background-color:#fff;height:calc(100% - 10px);margin:auto}.nobodyfile .nofile[data-v-4b14c1db]{width:76px!important;height:76px!important;margin-top:100px;opacity:.5}.nobodyfile .filename[data-v-4b14c1db]{display:inline-block;font-size:18px;font-weight:600;width:90%;text-align:center;margin-top:100px;margin-bottom:20px}@media (max-width:1569px){.nobodyfile[data-v-4b14c1db]{width:980px}}@media (min-width:1570px){.nobodyfile[data-v-4b14c1db]{width:1200px}}",""]),t["default"]=s},3125:function(e,t,n){"use strict";n.r(t);var r=n(1601),a=n.n(r),o=n(6314),i=n.n(o),s=i()(a());s.push([e.id,".color-box[data-v-01bdb8c2]{display:inline-block;margin-top:4px;margin-right:5px;width:15px;min-width:15px;height:15px}.text-box[data-v-01bdb8c2]{-webkit-box-flex:1;-ms-flex:1;flex:1;text-align:left}.divCenter[data-v-01bdb8c2],.text-box[data-v-01bdb8c2]{overflow:inherit;text-overflow:inherit}.divCenter[data-v-01bdb8c2]{display:-webkit-box;display:-ms-flexbox;display:flex;padding:0 10px;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}",""]),t["default"]=s},6979:function(e,t,n){"use strict";n.r(t);var r=n(1601),a=n.n(r),o=n(6314),i=n.n(o),s=i()(a());s.push([e.id,"[data-v-5ec99cdd]:export{stdMenuBgcolor:var(--lmBgColor);stdMenuHover:var(--lmBgColorActive)!important;stdMenuText:var(--lmTextColor)!important;stdMenuAcitveText:var(--lmTextColorActive)!important;stdSubMenuBgcolor:var(--lmBgColor);stdSubMenuHover:hsla(193,8%,67%,.42);stdSubMenuActiveText:var(--lmTextColorActive)!important;darkMenuBgcolor:#304156;darkMenuHover:#263445;darkMenuText:#bfcbd9;darkMenuAcitveText:#ffd04b;darkSubMenuBgcolor:#384b63;darkSubMenuHover:#263445;darkSubMenuActiveText:#ffd04b;sideBarWidth:210px;formLabelWidth:133px;lightBlue:var(--subjectColor)}.TopBtn-dropdown-menu[data-v-5ec99cdd]{margin-top:0!important;text-align:center}.TopBtn[data-v-5ec99cdd]{background:#fff;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.TopBtn .commandBtn[data-v-5ec99cdd]{margin-right:14px}.TopBtn .glyphicon-off[data-v-5ec99cdd]{color:red}.TopBtn .download[data-v-5ec99cdd]{color:#0e830e}.TopBtn .save[data-v-5ec99cdd]{color:#00008b}.TopBtn .el-icon-setting[data-v-5ec99cdd]{color:#ff7b00d8}.TopBtn .el-icon-edit[data-v-5ec99cdd],.TopBtn .el-icon-edit-outline[data-v-5ec99cdd]{color:#00008b}.TopBtn .el-icon-refresh-left[data-v-5ec99cdd]{color:#ff7b00d8}.bottom-bar[data-v-5ec99cdd]{z-index:1000!important;margin:0 auto;position:fixed;bottom:0;left:0;right:0;height:76px;-webkit-box-shadow:0 -2px 4px 0 rgba(0,0,0,.06);box-shadow:0 -2px 4px 0 rgba(0,0,0,.06)}",""]),t["default"]=s},1340:function(e,t,n){"use strict";n.r(t);var r=n(1601),a=n.n(r),o=n(6314),i=n.n(o),s=i()(a());s.push([e.id,'.top_title>span[data-v-6dd6ca80]{display:inline-block}.top_title .main_head[data-v-6dd6ca80]{font-size:22px}.top_title .main_head.main_head_slicer[data-v-6dd6ca80]{padding-right:10px;margin-right:10px;position:relative}.top_title .main_head.main_head_slicer[data-v-6dd6ca80]:after{content:"";position:absolute;right:0;width:0;height:0;top:14px;background:#fff;opacity:.2}.top_title .sub_head[data-v-6dd6ca80]{font-size:16px;margin-right:6px}[data-v-6dd6ca80] .page-header-container{border-bottom:0 solid!important}.wflow-container-bottom-bar .wflow-container-loaded[data-v-6dd6ca80]{height:calc(100vh - 70px);padding-bottom:98px}.wflow-container-bottom-bar[data-v-6dd6ca80] .bottom-bar{margin-bottom:10px}@media (max-width:1569px){.wflow-container-bottom-bar[data-v-6dd6ca80] .bottom-bar{width:980px}}@media (min-width:1570px){.wflow-container-bottom-bar[data-v-6dd6ca80] .bottom-bar{width:1200px}}.wflow-container-top-bar .wflow-container-loaded[data-v-6dd6ca80]{height:calc(100vh - 70px)}.mainform-container[data-v-6dd6ca80]{overflow-y:hidden;overflow-x:hidden;margin-top:0}.mainform-container .el-scrollbar[data-v-6dd6ca80]{width:100%;height:calc(100vh - 70px)}.mainform-container .el-scrollbar[data-v-6dd6ca80] .el-scrollbar__wrap{overflow-x:hidden}.mainform-container .mainform-have-sidebar[data-v-6dd6ca80]{display:inline-block}.mainform-container .mainform-sidebar[data-v-6dd6ca80]{display:inline-block;vertical-align:top;background-color:#fff;border-left:1px solid #f3f3f3}.mainform-container .sidebar-attach-container[data-v-6dd6ca80]{background-color:#fff;position:relative}.mainform-container .not-have-bottom-idealist[data-v-6dd6ca80]{min-height:calc(100vh - 90px)!important}.mainform-container .page-container[data-v-6dd6ca80]{min-height:100%;background:#fff;position:relative;margin:10px auto}.mainform-container .page-container .form-container[data-v-6dd6ca80]{position:relative;margin:0 auto;padding-top:30px;padding-bottom:20px}.mainform-container .page-container .form-container .form-header[data-v-6dd6ca80]{padding-bottom:20px}.mainform-container .page-container .form-container .form-header .form-title[data-v-6dd6ca80]{font-size:24px;font-weight:400;text-align:center;color:#545454}.mainform-container .page-container .form-container .wflow-busiform[data-v-6dd6ca80] .el-table{border-radius:0!important}.mainform-container .page-container[data-v-6dd6ca80] .el-loading-mask{margin-top:100px}.wflow-container[data-v-6dd6ca80]{background-color:#f0f2f8;font-weight:400;font-size:var(--portalFontSize14)}@media (max-width:1569px){.wflow-container[data-v-6dd6ca80]{min-width:1280px}.wflow-container .mainform-sidebar[data-v-6dd6ca80]{width:280px}.wflow-container .page-container[data-v-6dd6ca80]{width:980px}.wflow-container .page-container .form-container[data-v-6dd6ca80]{width:860px}}@media (min-width:1570px){.wflow-container[data-v-6dd6ca80]{min-width:1570px}.wflow-container .mainform-sidebar[data-v-6dd6ca80]{width:350px}.wflow-container .page-container[data-v-6dd6ca80]{width:1200px}.wflow-container .page-container .form-container[data-v-6dd6ca80]{width:1000px}}.wflow-container .header-title[data-v-6dd6ca80]{height:70px;min-width:1200px;padding:12px 0;border-bottom:1px solid #e6e6e6;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;color:#999;font-size:var(--portalFontSize12);background:#fff}.wflow-container .header-title .route-info[data-v-6dd6ca80]{margin-left:16px}.wflow-container .header-title .route-info[data-v-6dd6ca80],.wflow-container .header-title .section-title[data-v-6dd6ca80]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.wflow-container .header-title .section-title[data-v-6dd6ca80]{margin-right:11px;margin-left:10px;font-size:var(--portalFontSize13);position:relative}.wflow-container .header-title .section-title .formTapBtn[data-v-6dd6ca80]{position:absolute;bottom:0;display:-webkit-box;display:-ms-flexbox;display:flex;left:50px;font-family:MicrosoftYaHei;color:#000;font-size:var(--portalFontSize14);width:420px}.wflow-container .header-title .section-title .formTapBtn .tapItemBtn[data-v-6dd6ca80]{position:relative;margin-right:15px}.wflow-container .header-title .section-title .formTapBtn .active[data-v-6dd6ca80]{position:relative;color:var(--subjectColor);font-weight:700}.wflow-container .header-title .section-title .formTapBtn .active[data-v-6dd6ca80]:after{content:"";position:absolute;bottom:-10px;left:0;width:100%;height:2px;background:var(--subjectColor)}.wflow-container .header-title .section-title .formTapBtn .tapItemBtn[data-v-6dd6ca80]:hover{cursor:pointer;color:var(--subjectColor)}.wflow-container .header-title .section-title .l-text[data-v-6dd6ca80]{padding-right:10px;position:relative;top:-12px}.wflow-container .header-title .section-title .l-text[data-v-6dd6ca80]:after{content:"";position:absolute;right:0;top:0;width:1px;height:14px;background-color:#d8d8d8}.wflow-container .header-title .section-title .l1-text[data-v-6dd6ca80]{padding-right:10px;position:relative}.wflow-container .header-title .section-title .r-text[data-v-6dd6ca80]{padding-left:10px;position:relative;top:-12px}',""]),t["default"]=s},875:function(e,t,n){"use strict";n.r(t);var r=n(1601),a=n.n(r),o=n(6314),i=n.n(o),s=i()(a());s.push([e.id,"[data-v-35a63f69] .el-checkbox:last-of-type{margin-right:25px!important}[data-v-35a63f69] .el-table td{border-bottom:none}.eltable[data-v-35a63f69]{border:1px solid #ebeef5;border-bottom:none}.eltable[data-v-35a63f69] .el-table__body{width:100%!important}[data-v-35a63f69] .el-table--enable-row-transition .el-table__body td.el-table__cell{border:none;border-bottom:none!important}",""]),t["default"]=s},1866:function(e,t,n){"use strict";n.r(t);var r=n(1601),a=n.n(r),o=n(6314),i=n.n(o),s=i()(a());s.push([e.id,".el-table__body.el-table__body-no[data-v-123cdbf8]{table-layout:auto}[data-v-123cdbf8] .upload-list,[data-v-123cdbf8] .upload-list .el-upload{width:100%}[data-v-123cdbf8] .el-divider--horizontal{margin:10px 0}",""]),t["default"]=s},2053:function(e,t,n){"use strict";n.r(t);var r=n(1601),a=n.n(r),o=n(6314),i=n.n(o),s=i()(a());s.push([e.id,".searchType-content[data-v-70c91108]{height:36px;font-size:0;text-align:center}.searchType-content .title[data-v-70c91108]{display:inline-block;font-size:var(--portalFontSize14);line-height:34px;padding:0 15px;cursor:pointer}.searchType-content .title.active[data-v-70c91108]{color:#409eff;border-bottom:2px solid #409eff}.ztree-container[data-v-70c91108]{height:calc(100vh - 208px)}.client-a[data-v-70c91108]{min-width:1000px;padding:32px 32px 16px 32px;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.client-b[data-v-70c91108]{width:calc(33.33333% - 10.66667px);border:1px solid #999;margin-bottom:16px}",""]),t["default"]=s},7298:function(e,t,n){"use strict";n.r(t);var r=n(1601),a=n.n(r),o=n(6314),i=n.n(o),s=i()(a());s.push([e.id,".el-radio-button[data-v-5f22d162]{margin:5px 6px}[data-v-5f22d162] .el-radio-button--mini .el-radio-button__inner{padding:0;border-color:transparent;border-radius:3px;font-size:22px}[data-v-5f22d162] td.sel-icon .el-radio-button{margin:5px 8px}[data-v-5f22d162] td.sel-icon .el-radio-button__inner{border-radius:50%}[data-v-5f22d162] td.sel-icon .el-radio-button__orig-radio:checked+.el-radio-button__inner{border-color:transparent;-webkit-box-shadow:none;box-shadow:none}[data-v-5f22d162] td.sel-color .el-radio-button__inner{border-width:2px}[data-v-5f22d162] td.sel-color .el-radio-button__orig-radio:checked+.el-radio-button__inner{-webkit-box-shadow:-2px 0 0 0 #409eff;box-shadow:-2px 0 0 0 #409eff}.iconfont[data-v-5f22d162]{font-size:32px}.span-icon[data-v-5f22d162]{width:32px;height:32px;border-radius:50%;display:block;text-align:center;line-height:32px;font-size:20px;color:#fff;background-color:#409eff}.span-icon .iconfont[data-v-5f22d162]{position:relative;left:-2px;font-size:35px}.span-color[data-v-5f22d162]{width:30px;height:30px;border-radius:3px;display:block}",""]),t["default"]=s},2103:function(e,t,n){"use strict";n.r(t);var r=n(1601),a=n.n(r),o=n(6314),i=n.n(o),s=i()(a());s.push([e.id,".ztree-container1[data-v-7a7c7352]{height:400px}.ztree-container1 .ztree-container[data-v-7a7c7352]{height:360px}[data-v-7a7c7352] .listitem .ztree *{font-size:10pt;font-family:Microsoft Yahei,Verdana,Simsun,Segoe UI Web Light,Segoe UI Light,Segoe UI Web Regular,Segoe UI,Segoe UI Symbol,Helvetica Neue,Arial}[data-v-7a7c7352] .listitem .ztree li ul{margin:0;padding:0}[data-v-7a7c7352] .listitem .ztree li{line-height:25px}[data-v-7a7c7352] .listitem .ztree li:hover{background:#e7e7e7}[data-v-7a7c7352] .listitem .ztree li a{height:25px;padding-top:0}[data-v-7a7c7352] .listitem .ztree li a:hover{text-decoration:none;background-color:none}[data-v-7a7c7352] .listitem .ztree li a.curSelectedNode{background:none;border:0;height:25px}[data-v-7a7c7352] .listitem .ztree li span{line-height:25px;z-index:99999}[data-v-7a7c7352] .listitem .curSelectedLI{background:#d4d4d4}[data-v-7a7c7352] .listitem .selected span{display:block;cursor:pointer;line-height:25px;height:25px}.treeNode[data-v-7a7c7352]{border:1px solid #dfe6ec;margin-left:3px;margin-right:3px;height:100%}.table_title[data-v-7a7c7352]{height:40px;line-height:40px;text-align:center;border-bottom:1px solid #dfe6ec;background:#f2f5fb;font-weight:700}",""]),t["default"]=s},5155:function(e,t,n){"use strict";n.r(t);var r=n(1601),a=n.n(r),o=n(6314),i=n.n(o),s=i()(a());s.push([e.id,".el-dialog .el-dialog__footer[data-v-44e57720]{text-align:center!important}",""]),t["default"]=s},300:function(e,t,n){"use strict";n.r(t);var r=n(1601),a=n.n(r),o=n(6314),i=n.n(o),s=i()(a());s.push([e.id,".ztree-container[data-v-bb9d6ec0]{height:320px}[data-v-bb9d6ec0] .listitem .ztree *{font-size:10pt;font-family:Microsoft Yahei,Verdana,Simsun,Segoe UI Web Light,Segoe UI Light,Segoe UI Web Regular,Segoe UI,Segoe UI Symbol,Helvetica Neue,Arial}[data-v-bb9d6ec0] .listitem .ztree li ul{margin:0;padding:0}[data-v-bb9d6ec0] .listitem .ztree li{line-height:25px}[data-v-bb9d6ec0] .listitem .ztree li:hover{background:#e7e7e7}[data-v-bb9d6ec0] .listitem .ztree li a{height:25px;padding-top:0}[data-v-bb9d6ec0] .listitem .ztree li a:hover{text-decoration:none;background-color:none}[data-v-bb9d6ec0] .listitem .ztree li a.curSelectedNode{background:none;border:0;height:25px}[data-v-bb9d6ec0] .listitem .ztree li span{line-height:25px;z-index:99999}[data-v-bb9d6ec0] .listitem .curSelectedLI{background:#d4d4d4}[data-v-bb9d6ec0] .listitem .selected span{display:block;cursor:pointer;line-height:25px;height:25px}.selectBtn-container[data-v-bb9d6ec0]{line-height:20px;text-align:center;padding-top:110px}.selectBtn-container span[data-v-bb9d6ec0]{font-size:10px}.selectBtn-container .el-button--mini.is-circle[data-v-bb9d6ec0]{padding:4px}.selectnode[data-v-bb9d6ec0]{line-height:25px;padding:5px;overflow-y:auto}.selectnode span[data-v-bb9d6ec0]{cursor:pointer}.treeNode[data-v-bb9d6ec0]{border:1px solid #dfe6ec;margin-left:3px;margin-right:3px;height:100%}.fwAttach-container[data-v-bb9d6ec0]{line-height:25px!important;padding-left:3px;padding-top:4px}.fwAttach-container[data-v-bb9d6ec0] .el-checkbox__label{font-size:var(--portalFontSize13);color:inherit}",""]),t["default"]=s},7758:function(e,t,n){"use strict";n.r(t);var r=n(1601),a=n.n(r),o=n(6314),i=n.n(o),s=i()(a());s.push([e.id,".ztree-container[data-v-4580fba6]{height:320px}[data-v-4580fba6] .listitem .ztree *{font-size:10pt;font-family:Microsoft Yahei,Verdana,Simsun,Segoe UI Web Light,Segoe UI Light,Segoe UI Web Regular,Segoe UI,Segoe UI Symbol,Helvetica Neue,Arial}[data-v-4580fba6] .listitem .ztree li ul{margin:0;padding:0}[data-v-4580fba6] .listitem .ztree li{line-height:25px}[data-v-4580fba6] .listitem .ztree li:hover{background:#e7e7e7}[data-v-4580fba6] .listitem .ztree li a{height:25px;padding-top:0}[data-v-4580fba6] .listitem .ztree li a:hover{text-decoration:none;background-color:none}[data-v-4580fba6] .listitem .ztree li a.curSelectedNode{background:none;border:0;height:25px}[data-v-4580fba6] .listitem .ztree li span{line-height:25px;z-index:99999}[data-v-4580fba6] .listitem .curSelectedLI{background:#d4d4d4}[data-v-4580fba6] .listitem .selected span{display:block;cursor:pointer;line-height:25px;height:25px}.selectBtn-container[data-v-4580fba6]{line-height:20px;text-align:center;padding-top:110px}.selectBtn-container span[data-v-4580fba6]{font-size:10px}.selectBtn-container .el-button--mini.is-circle[data-v-4580fba6]{padding:4px}.selectnode[data-v-4580fba6]{line-height:25px;padding:5px;overflow-y:auto}.selectnode span[data-v-4580fba6]{cursor:pointer}.treeNode[data-v-4580fba6]{border:1px solid #dfe6ec;margin-left:3px;margin-right:3px;height:100%}.fwAttach-container[data-v-4580fba6]{line-height:25px!important}",""]),t["default"]=s},4396:function(e,t,n){"use strict";n.r(t);var r=n(1601),a=n.n(r),o=n(6314),i=n.n(o),s=i()(a());s.push([e.id,".ztree-container[data-v-6ab65eb9]{height:300px}.ztree-container1[data-v-6ab65eb9]{height:400px}.ztree-container1 .ztree-container[data-v-6ab65eb9]{height:360px}.ztree-container-row1 .el-col-11[data-v-6ab65eb9]{width:45%!important}.ztree-container-row2[data-v-6ab65eb9]{margin-left:-8px}.ztree-container3 .ztree-container[data-v-6ab65eb9]{height:380px}.ztree-container4 .ztree-container[data-v-6ab65eb9]{height:358px}.editClass[data-v-6ab65eb9],.noEditClass[data-v-6ab65eb9]{margin-right:10px}.noEditClass[data-v-6ab65eb9]{color:#ccc;cursor:not-allowed}.file_list[data-v-6ab65eb9]{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding-right:10px;margin-bottom:8px;width:100%}.file_list[data-v-6ab65eb9],.file_list .el-checkbox[data-v-6ab65eb9]{display:-webkit-box;display:-ms-flexbox;display:flex}.file_list .el-checkbox[data-v-6ab65eb9]{-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;max-width:calc(100% - 230px)}.file_list[data-v-6ab65eb9] .el-checkbox__label{width:100%;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;white-space:normal}.selectnode[data-v-6ab65eb9]::-webkit-scrollbar-thumb,.ztree-container[data-v-6ab65eb9]::-webkit-scrollbar-thumb{background-color:#d2d4da;border-radius:6px}.selectnode[data-v-6ab65eb9]::-webkit-scrollbar,.ztree-container[data-v-6ab65eb9]::-webkit-scrollbar{width:6px;height:6px}[data-v-6ab65eb9] .dialogGroupVisible .el-form .el-table.el-table--border td{border-bottom-color:#e2e7ed!important}[data-v-6ab65eb9] .listitem .ztree *{font-size:10pt;font-family:Microsoft Yahei,Verdana,Simsun,Segoe UI Web Light,Segoe UI Light,Segoe UI Web Regular,Segoe UI,Segoe UI Symbol,Helvetica Neue,Arial}[data-v-6ab65eb9] .listitem .ztree li ul{margin:0;padding:0}[data-v-6ab65eb9] .listitem .ztree li{line-height:25px}[data-v-6ab65eb9] .listitem .ztree li:hover{background:#e7e7e7}[data-v-6ab65eb9] .listitem .ztree li a{height:25px;padding-top:0}[data-v-6ab65eb9] .listitem .ztree li a:hover{text-decoration:none;background-color:none}[data-v-6ab65eb9] .listitem .ztree li a.curSelectedNode{background:none;border:0;height:25px}[data-v-6ab65eb9] .listitem .ztree li span{line-height:25px;z-index:99999}[data-v-6ab65eb9] .listitem .curSelectedLI{background:#d4d4d4}[data-v-6ab65eb9] .listitem .selected span{display:block;cursor:pointer;line-height:25px;height:25px}.selectBtn-container[data-v-6ab65eb9]{width:50px;height:405px;line-height:20px;text-align:center;padding-top:110px}.selectBtn-container span[data-v-6ab65eb9]{font-size:10px}.selectBtn-container .el-button--mini.is-circle[data-v-6ab65eb9]{padding:4px}[data-v-6ab65eb9] .el-dialog{margin-top:7vh!important}.selectnode[data-v-6ab65eb9]{width:50px;height:405px;line-height:25px;padding:5px;overflow-y:auto}.selectnode span[data-v-6ab65eb9]{cursor:pointer}.treeNode[data-v-6ab65eb9]{border:1px solid #dfe6ec;margin-left:3px;margin-right:3px;height:100%}.fwAttach-container[data-v-6ab65eb9]{border:1px solid #dee2e6;margin-top:10px;padding-left:10px;padding-top:5px;max-height:130px;overflow-y:auto;line-height:25px!important}.select-item[data-v-6ab65eb9]{display:inline-block;border-radius:4px;background:#f1f4f7;height:26px;line-height:26px;text-align:center;margin:0 5px;padding:0 5px}.select-item span[data-v-6ab65eb9]{display:inline-block;position:relative;width:120px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-right:5px}.select-and[data-v-6ab65eb9]{display:-webkit-box;display:-ms-flexbox;display:flex;height:24px;-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end;margin-left:5px}.addNewType-not[data-v-6ab65eb9]{color:#ccc}.addNewType[data-v-6ab65eb9],.addNewType-not[data-v-6ab65eb9]{width:90px;height:400px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.table_title[data-v-6ab65eb9]{height:40px;line-height:40px;text-align:center;border-bottom:1px solid #dfe6ec;background:#f2f5fb;font-weight:700}",""]),t["default"]=s},1297:function(e,t,n){"use strict";n.r(t);var r=n(1601),a=n.n(r),o=n(6314),i=n.n(o),s=i()(a());s.push([e.id,".disabled-link[data-v-2133ef15]{color:#ccc;pointer-events:none;cursor:not-allowed}.tableList[data-v-2133ef15]{max-height:500px;overflow-y:auto}.btnList[data-v-2133ef15]{margin-bottom:15px;text-align:right}[data-v-2133ef15] .el-icon:before{padding-right:3px}[data-v-2133ef15] .error-row{color:red}.select .grid-content[data-v-2133ef15]{color:#409eff}.select div[data-v-2133ef15]:first-of-type{overflow:hidden;zoom:1}.select .tab-top[data-v-2133ef15]{height:38px;line-height:38px;border:1px solid #ebeef5;margin-top:15px}.select .tab-top .el-col[data-v-2133ef15]:first-of-type,.select .tab-top .el-col[data-v-2133ef15]:nth-of-type(2){border-right:1px solid #ebeef5}.select .tab-bottom[data-v-2133ef15]{height:38px;line-height:38px;border:1px solid #ebeef5;border-top:none;margin-bottom:15px}.select .tab-bottom .el-col[data-v-2133ef15]{border-right:1px solid #ebeef5}.select .el-col[data-v-2133ef15]{padding-left:10px}.select .grid-content[data-v-2133ef15]{cursor:pointer}[data-v-2133ef15] .el-dialog{max-height:700px!important}",""]),t["default"]=s},4430:function(e,t,n){"use strict";n.r(t);var r=n(1601),a=n.n(r),o=n(6314),i=n.n(o),s=i()(a());s.push([e.id,".btn[data-v-4cc55041]{margin-top:20px;width:100%}.btn[data-v-4cc55041],.infoContent .footer[data-v-4cc55041]{text-align:center}.record-table .el-table[data-v-4cc55041] th .gutter{width:17px!important}.table-inner[data-v-4cc55041]{max-height:550px;overflow-y:auto}",""]),t["default"]=s},1033:function(e,t,n){"use strict";n.r(t);var r=n(1601),a=n.n(r),o=n(6314),i=n.n(o),s=i()(a());s.push([e.id,".export-box[data-v-67b05f04]{font-size:var(--portalFontSize14);padding:30px;color:#606266}.export-box .row-col[data-v-67b05f04]{line-height:25px}.export-box .tip span[data-v-67b05f04]{line-height:25px;font-weight:400}.export-box[data-v-67b05f04] .svg-icon{margin-right:5px}[data-v-67b05f04] .upload-demo .el-upload--text{float:left}[data-v-67b05f04] .upload-demo .el-upload-list--text{float:left;margin-left:10px}[data-v-67b05f04] .upload-demo .el-upload-list--text .el-upload-list__item:first-child{margin-top:0}",""]),t["default"]=s},556:function(e,t,n){"use strict";n.r(t);var r=n(1601),a=n.n(r),o=n(6314),i=n.n(o),s=i()(a());s.push([e.id,".el-radio-button[data-v-10a373f3]{margin:5px 6px}[data-v-10a373f3] .el-radio-button--mini .el-radio-button__inner{padding:0;border-color:transparent;border-radius:3px;font-size:22px}[data-v-10a373f3] td.sel-icon .el-radio-button{margin:5px 8px}[data-v-10a373f3] td.sel-icon .el-radio-button__inner{border-radius:50%}[data-v-10a373f3] td.sel-icon .el-radio-button__orig-radio:checked+.el-radio-button__inner{border-color:transparent;-webkit-box-shadow:none;box-shadow:none}[data-v-10a373f3] td.sel-color .el-radio-button__inner{border-width:2px}[data-v-10a373f3] td.sel-color .el-radio-button__orig-radio:checked+.el-radio-button__inner{-webkit-box-shadow:-2px 0 0 0 #409eff;box-shadow:-2px 0 0 0 #409eff}.iconfont[data-v-10a373f3]{font-size:32px}.span-icon[data-v-10a373f3]{width:32px;height:32px;border-radius:50%;display:block;text-align:center;line-height:32px;font-size:20px;color:#fff;background-color:#409eff}.span-icon .iconfont[data-v-10a373f3]{position:relative;left:-2px;font-size:35px}.span-color[data-v-10a373f3]{width:30px;height:30px;border-radius:3px;display:block}",""]),t["default"]=s},1445:function(e,t,n){"use strict";n.r(t);var r=n(1601),a=n.n(r),o=n(6314),i=n.n(o),s=i()(a());s.push([e.id,".module-layout[data-v-6a1b3a22]{width:100%;height:100%}.module-layout .report-content[data-v-6a1b3a22]{height:100%;padding:20px}",""]),t["default"]=s},7765:function(e,t,n){"use strict";n.r(t);var r=n(1601),a=n.n(r),o=n(6314),i=n.n(o),s=i()(a());s.push([e.id,".module-layout[data-v-91817610]{width:100%;height:100%}.module-layout .report-content[data-v-91817610]{height:100%;padding:20px}",""]),t["default"]=s},6413:function(e,t,n){"use strict";n.r(t);var r=n(1601),a=n.n(r),o=n(6314),i=n.n(o),s=i()(a());s.push([e.id,".module-layout[data-v-08091c3d]{width:100%;height:100%}.module-layout .report-content[data-v-08091c3d]{height:100%;padding:20px}",""]),t["default"]=s},3654:function(e,t,n){"use strict";n.r(t);var r=n(1601),a=n.n(r),o=n(6314),i=n.n(o),s=i()(a());s.push([e.id,".module-layout[data-v-1ec9c518]{width:100%;height:100%}.module-layout .gwcx-content[data-v-1ec9c518]{height:100%;padding:0 8px}.module-layout .gwcx-content .search-input[data-v-1ec9c518]{width:100%;margin:15px 0;margin-bottom:5px}.module-layout .gwcx-content .search-select[data-v-1ec9c518]{width:100%}.input-with-select .el-input-group__prepend[data-v-1ec9c518]{background-color:#fff}[data-v-1ec9c518] .el-radio-button__inner{border:none!important}[data-v-1ec9c518] .el-radio-button:first-child .el-radio-button__inner,[data-v-1ec9c518] .el-radio-button:last-child .el-radio-button__inner{border-radius:0!important}[data-v-1ec9c518] .el-radio-button--small .el-radio-button__inner{padding:7px 8px!important;color:#409eff}[data-v-1ec9c518] .el-radio-button.is-active .el-radio-button__inner{color:#fff}",""]),t["default"]=s},54:function(e,t,n){"use strict";n.r(t);var r=n(1601),a=n.n(r),o=n(6314),i=n.n(o),s=i()(a());s.push([e.id,".module-layout[data-v-c37d5e66]{width:100%;height:100%}.module-layout .gwmb-content[data-v-c37d5e66]{width:100%;height:100%;padding:8px;overflow:auto}.module-layout .gwmb-content .gwmb-box[data-v-c37d5e66]{width:100%;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:distribute;justify-content:space-around}.module-layout .gwmb-content .gwmb-box .gwmb-item[data-v-c37d5e66]{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:space-evenly;-ms-flex-pack:space-evenly;justify-content:space-evenly;width:29%;height:200px}.module-layout .gwmb-content .gwmb-box .gwmb-item .item-img[data-v-c37d5e66]{width:100%;height:80%;border:1px solid #eee}.module-layout .gwmb-content .gwmb-box .gwmb-item .item-img img[data-v-c37d5e66]{width:100%}.module-layout .gwmb-content .gwmb-box .gwmb-item span[data-v-c37d5e66]{font-size:var(--portalFontSize14)}.module-layout .gwmb-content .gwmb-box .gwmb-item .item-btn[data-v-c37d5e66]{display:none;position:absolute;top:9px;left:0;height:80%;background-color:rgba(0,0,0,.6);z-index:9;cursor:unset}.module-layout .gwmb-content .gwmb-box .gwmb-item .item-btn[data-v-c37d5e66],.module-layout .gwmb-content .gwmb-box .gwmb-item .item-btn .btn[data-v-c37d5e66]{width:100%;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.module-layout .gwmb-content .gwmb-box .gwmb-item .item-btn .btn[data-v-c37d5e66]{height:30%;display:-webkit-box;display:-ms-flexbox;display:flex;font-size:var(--portalFontSize12);color:#56a9fe;background:transparent}.module-layout .gwmb-content .gwmb-box .gwmb-item .item-btn .btn[data-v-c37d5e66]:hover{cursor:pointer;background-color:rgba(0,0,0,.25)}.el-scrollbar[data-v-c37d5e66]{width:100%;height:100%}.el-scrollbar[data-v-c37d5e66] .el-scrollbar__wrap{overflow-x:hidden}.pdf-viewer[data-v-c37d5e66]{width:100%;height:100%;border:none!important}[data-v-c37d5e66]::-webkit-scrollbar{width:4px}[data-v-c37d5e66]::-webkit-scrollbar-thumb{background-color:#ccc;border-radius:5px}",""]),t["default"]=s},717:function(e,t,n){"use strict";n.r(t);var r=n(1601),a=n.n(r),o=n(6314),i=n.n(o),s=i()(a());s.push([e.id,".text-area[data-v-3f95727c]{width:90%;display:inline-block}",""]),t["default"]=s},1807:function(e,t,n){"use strict";n.r(t);var r=n(1601),a=n.n(r),o=n(6314),i=n.n(o),s=i()(a());s.push([e.id,".gdgz[data-v-2c30e9dc]{max-width:1000px;margin:30px auto 60px;text-align:center}.gdgz .el-table__body.el-table__body-top[data-v-2c30e9dc]{table-layout:auto}.gdgz .tdcont .td-lable[data-v-2c30e9dc]{display:inline-block;width:60px}.gdgz .tdcont .text-area[data-v-2c30e9dc]{width:90%;display:inline-block}.gdgz .tdcont .choose-btn[data-v-2c30e9dc]{width:9%;height:100%}",""]),t["default"]=s},2815:function(e,t,n){"use strict";n.r(t);var r=n(1601),a=n.n(r),o=n(6314),i=n.n(o),s=i()(a());s.push([e.id,".svg-icon[data-v-72227ab2]{width:1em;height:1em;vertical-align:-.15em;fill:currentColor;overflow:hidden}",""]),t["default"]=s},6322:function(e,t,n){"use strict";n.r(t);var r=n(1601),a=n.n(r),o=n(6314),i=n.n(o),s=i()(a());s.push([e.id,".top-line[data-v-39239143]{float:left;height:36px}.top-line .label[data-v-39239143]{line-height:36px;font-size:var(--portalFontSize14);width:80px}.top-line>div[data-v-39239143]{margin-left:20px;float:left}.top-line>div[data-v-39239143]:first-child{margin-left:0}[data-v-39239143] .el-date-editor .el-range-separator{width:8%}.exportbtn[data-v-39239143]{float:right;height:32px;margin-top:2px}.exportbtn span[data-v-39239143]{margin-left:0}.exportbtn[data-v-39239143]:hover{background:inherit;border-color:#409eff}",""]),t["default"]=s},481:function(e,t,n){"use strict";n.r(t);var r=n(1601),a=n.n(r),o=n(6314),i=n.n(o),s=i()(a());s.push([e.id,".echart-box[data-v-05c6b150]{height:300px}.echart-box[data-v-05c6b150],.table-box[data-v-05c6b150]{margin-top:20px;width:100%}.table-box[data-v-05c6b150]{padding-bottom:20px}.search-box[data-v-05c6b150]{height:36px;padding:16px 0 0;-webkit-box-sizing:content-box;box-sizing:content-box}.tabbar[data-v-05c6b150] .el-radio-button--small .el-radio-button__inner{padding:0!important}.tabbar[data-v-05c6b150] .el-radio-button--small .el-radio-button__inner .tabbartext{padding:9px 15px}.tabbar button[data-v-05c6b150]{margin-bottom:-1px}.tabbar button.active[data-v-05c6b150]{color:#fff}.tabbar button.active[data-v-05c6b150]:focus,.tabbar button.active[data-v-05c6b150]:hover{color:#fff!important;border-color:#dcdfe6!important}",""]),t["default"]=s},6314:function(e){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r="undefined"!==typeof t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,a,o){"string"===typeof e&&(e=[[null,e,void 0]]);var i={};if(r)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(i[l]=!0)}for(var d=0;d<e.length;d++){var c=[].concat(e[d]);r&&i[c[0]]||("undefined"!==typeof o&&("undefined"===typeof c[5]||(c[1]="@layer".concat(c[5].length>0?" ".concat(c[5]):""," {").concat(c[1],"}")),c[5]=o),n&&(c[2]?(c[1]="@media ".concat(c[2]," {").concat(c[1],"}"),c[2]=n):c[2]=n),a&&(c[4]?(c[1]="@supports (".concat(c[4],") {").concat(c[1],"}"),c[4]=a):c[4]="".concat(a)),t.push(c))}},t}},1601:function(e){"use strict";e.exports=function(e){return e[1]}},41:function(e,t,n){"use strict";var r=n(655),a=n(8068),o=n(9675),i=n(5795);e.exports=function(e,t,n){if(!e||"object"!==typeof e&&"function"!==typeof e)throw new o("`obj` must be an object or a function`");if("string"!==typeof t&&"symbol"!==typeof t)throw new o("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!==typeof arguments[3]&&null!==arguments[3])throw new o("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!==typeof arguments[4]&&null!==arguments[4])throw new o("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!==typeof arguments[5]&&null!==arguments[5])throw new o("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!==typeof arguments[6])throw new o("`loose`, if provided, must be a boolean");var s=arguments.length>3?arguments[3]:null,l=arguments.length>4?arguments[4]:null,d=arguments.length>5?arguments[5]:null,c=arguments.length>6&&arguments[6],u=!!i&&i(e,t);if(r)r(e,t,{configurable:null===d&&u?u.configurable:!d,enumerable:null===s&&u?u.enumerable:!s,value:n,writable:null===l&&u?u.writable:!l});else{if(!c&&(s||l||d))throw new a("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");e[t]=n}}},655:function(e,t,n){"use strict";var r=n(453),a=r("%Object.defineProperty%",!0)||!1;if(a)try{a({},"a",{value:1})}catch(o){a=!1}e.exports=a},1237:function(e){"use strict";e.exports=EvalError},9383:function(e){"use strict";e.exports=Error},9290:function(e){"use strict";e.exports=RangeError},9538:function(e){"use strict";e.exports=ReferenceError},8068:function(e){"use strict";e.exports=SyntaxError},9675:function(e){"use strict";e.exports=TypeError},5345:function(e){"use strict";e.exports=URIError},9353:function(e){"use strict";var t="Function.prototype.bind called on incompatible ",n=Object.prototype.toString,r=Math.max,a="[object Function]",o=function(e,t){for(var n=[],r=0;r<e.length;r+=1)n[r]=e[r];for(var a=0;a<t.length;a+=1)n[a+e.length]=t[a];return n},i=function(e,t){for(var n=[],r=t||0,a=0;r<e.length;r+=1,a+=1)n[a]=e[r];return n},s=function(e,t){for(var n="",r=0;r<e.length;r+=1)n+=e[r],r+1<e.length&&(n+=t);return n};e.exports=function(e){var l=this;if("function"!==typeof l||n.apply(l)!==a)throw new TypeError(t+l);for(var d,c=i(arguments,1),u=function(){if(this instanceof d){var t=l.apply(this,o(c,arguments));return Object(t)===t?t:this}return l.apply(e,o(c,arguments))},p=r(0,l.length-c.length),m=[],f=0;f<p;f++)m[f]="$"+f;if(d=Function("binder","return function ("+s(m,",")+"){ return binder.apply(this,arguments); }")(u),l.prototype){var h=function(){};h.prototype=l.prototype,d.prototype=new h,h.prototype=null}return d}},6743:function(e,t,n){"use strict";var r=n(9353);e.exports=Function.prototype.bind||r},453:function(e,t,n){"use strict";var r,a=n(9383),o=n(1237),i=n(9290),s=n(9538),l=n(8068),d=n(9675),c=n(5345),u=Function,p=function(e){try{return u('"use strict"; return ('+e+").constructor;")()}catch(t){}},m=Object.getOwnPropertyDescriptor;if(m)try{m({},"")}catch(H){m=null}var f=function(){throw new d},h=m?function(){try{return f}catch(e){try{return m(arguments,"callee").get}catch(t){return f}}}():f,g=n(4039)(),y=n(24)(),_=Object.getPrototypeOf||(y?function(e){return e.__proto__}:null),v={},b="undefined"!==typeof Uint8Array&&_?_(Uint8Array):r,w={__proto__:null,"%AggregateError%":"undefined"===typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"===typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":g&&_?_([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":v,"%AsyncGenerator%":v,"%AsyncGeneratorFunction%":v,"%AsyncIteratorPrototype%":v,"%Atomics%":"undefined"===typeof Atomics?r:Atomics,"%BigInt%":"undefined"===typeof BigInt?r:BigInt,"%BigInt64Array%":"undefined"===typeof BigInt64Array?r:BigInt64Array,"%BigUint64Array%":"undefined"===typeof BigUint64Array?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"===typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":a,"%eval%":eval,"%EvalError%":o,"%Float32Array%":"undefined"===typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"===typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"===typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":u,"%GeneratorFunction%":v,"%Int8Array%":"undefined"===typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"===typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"===typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":g&&_?_(_([][Symbol.iterator]())):r,"%JSON%":"object"===typeof JSON?JSON:r,"%Map%":"undefined"===typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!==typeof Map&&g&&_?_((new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"===typeof Promise?r:Promise,"%Proxy%":"undefined"===typeof Proxy?r:Proxy,"%RangeError%":i,"%ReferenceError%":s,"%Reflect%":"undefined"===typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"===typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!==typeof Set&&g&&_?_((new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"===typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":g&&_?_(""[Symbol.iterator]()):r,"%Symbol%":g?Symbol:r,"%SyntaxError%":l,"%ThrowTypeError%":h,"%TypedArray%":b,"%TypeError%":d,"%Uint8Array%":"undefined"===typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"===typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"===typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"===typeof Uint32Array?r:Uint32Array,"%URIError%":c,"%WeakMap%":"undefined"===typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"===typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"===typeof WeakSet?r:WeakSet};if(_)try{null.error}catch(H){var M=_(_(H));w["%Error.prototype%"]=M}var L=function e(t){var n;if("%AsyncFunction%"===t)n=p("async function () {}");else if("%GeneratorFunction%"===t)n=p("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=p("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var a=e("%AsyncGenerator%");a&&_&&(n=_(a.prototype))}return w[t]=n,n},T={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},x=n(6743),D=n(9957),k=x.call(Function.call,Array.prototype.concat),S=x.call(Function.apply,Array.prototype.splice),Y=x.call(Function.call,String.prototype.replace),j=x.call(Function.call,String.prototype.slice),C=x.call(Function.call,RegExp.prototype.exec),O=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,N=/\\(\\)?/g,P=function(e){var t=j(e,0,1),n=j(e,-1);if("%"===t&&"%"!==n)throw new l("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new l("invalid intrinsic syntax, expected opening `%`");var r=[];return Y(e,O,(function(e,t,n,a){r[r.length]=n?Y(a,N,"$1"):t||e})),r},E=function(e,t){var n,r=e;if(D(T,r)&&(n=T[r],r="%"+n[0]+"%"),D(w,r)){var a=w[r];if(a===v&&(a=L(r)),"undefined"===typeof a&&!t)throw new d("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:a}}throw new l("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!==typeof e||0===e.length)throw new d("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!==typeof t)throw new d('"allowMissing" argument must be a boolean');if(null===C(/^%?[^%]*%?$/,e))throw new l("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=P(e),r=n.length>0?n[0]:"",a=E("%"+r+"%",t),o=a.name,i=a.value,s=!1,c=a.alias;c&&(r=c[0],S(n,k([0,1],c)));for(var u=1,p=!0;u<n.length;u+=1){var f=n[u],h=j(f,0,1),g=j(f,-1);if(('"'===h||"'"===h||"`"===h||'"'===g||"'"===g||"`"===g)&&h!==g)throw new l("property names with quotes must have matching quotes");if("constructor"!==f&&p||(s=!0),r+="."+f,o="%"+r+"%",D(w,o))i=w[o];else if(null!=i){if(!(f in i)){if(!t)throw new d("base intrinsic for "+e+" exists, but the property is not available.");return}if(m&&u+1>=n.length){var y=m(i,f);p=!!y,i=p&&"get"in y&&!("originalValue"in y.get)?y.get:i[f]}else p=D(i,f),i=i[f];p&&!s&&(w[o]=i)}}return i}},5795:function(e,t,n){"use strict";var r=n(453),a=r("%Object.getOwnPropertyDescriptor%",!0);if(a)try{a([],"length")}catch(o){a=null}e.exports=a},592:function(e,t,n){"use strict";var r=n(655),a=function(){return!!r};a.hasArrayLengthDefineBug=function(){if(!r)return null;try{return 1!==r([],"length",{value:1}).length}catch(e){return!0}},e.exports=a},24:function(e){"use strict";var t={__proto__:null,foo:{}},n=Object;e.exports=function(){return{__proto__:t}.foo===t.foo&&!(t instanceof n)}},4039:function(e,t,n){"use strict";var r="undefined"!==typeof Symbol&&Symbol,a=n(1333);e.exports=function(){return"function"===typeof r&&("function"===typeof Symbol&&("symbol"===typeof r("foo")&&("symbol"===typeof Symbol("bar")&&a())))}},1333:function(e){"use strict";e.exports=function(){if("function"!==typeof Symbol||"function"!==typeof Object.getOwnPropertySymbols)return!1;if("symbol"===typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"===typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;var r=42;for(t in e[t]=r,e)return!1;if("function"===typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"===typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var a=Object.getOwnPropertySymbols(e);if(1!==a.length||a[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"===typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(o.value!==r||!0!==o.enumerable)return!1}return!0}},9957:function(e,t,n){"use strict";var r=Function.prototype.call,a=Object.prototype.hasOwnProperty,o=n(6743);e.exports=o.call(r,a)},4692:function(e,t){var n,r;
1
+ (function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t():"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports["ecyoagwgl"]=t():e["ecyoagwgl"]=t()})("undefined"!==typeof self?self:this,(function(){return function(){var e={5003:function(e,t){var n,r,a;(function(o,i){r=[],n=i,a="function"===typeof n?n.apply(t,r):n,void 0===a||(e.exports=a)})("undefined"!==typeof self&&self,(function(){function e(){var t=Object.getOwnPropertyDescriptor(document,"currentScript");if(!t&&"currentScript"in document&&document.currentScript)return document.currentScript;if(t&&t.get!==e&&document.currentScript)return document.currentScript;try{throw new Error}catch(m){var n,r,a,o=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,i=/@([^@]*):(\d+):(\d+)\s*$/gi,s=o.exec(m.stack)||i.exec(m.stack),l=s&&s[1]||!1,d=s&&s[2]||!1,c=document.location.href.replace(document.location.hash,""),u=document.getElementsByTagName("script");l===c&&(n=document.documentElement.outerHTML,r=new RegExp("(?:[^\\n]+?\\n){0,"+(d-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),a=n.replace(r,"$1").trim());for(var p=0;p<u.length;p++){if("interactive"===u[p].readyState)return u[p];if(u[p].src===l)return u[p];if(l===c&&u[p].innerHTML&&u[p].innerHTML.trim()===a)return u[p]}return null}}return e}))},184:function(e){e.exports={gwgl:{formTitle:"DocManagement",menuItem:{formTitle:"DocManagement",gwHome:"DocHomepage",mygw:"MyDocuments",mubw:"MyProcessing",myyw:"MyReviewing",overdueDocument:"OverdueProcessing",overdueNotProcessed:"Overdue and Not Processed",expiredProcessed:"Overdue but Processed",fawenManager:"Outgoing Message",shouwenManager:"Incoming Message",myRegistered:"My Registrations",fileAll:"All Files",signIn:"Sign-in Message",approvalMatters:"Matter Approval",requestReport:"Request Report",faxCorrespondence:"Fax Correspondence",ForeignCorrespondence:"External Correspondence",documentCirculation:"DocCirculation",contactForm:"Dept Contact Form",insideCommunicate:"Internal Document",solicitationOpinions:"Opinion Solicitation",documentsSupervision:"Official Supervision",Leadership:"Leadership Instructions",archiveFiles:"Archived Files",BorrowingDocuments:"Official Borrowing",invalidFile:"Invalidated Files",OperationRecord:"Operation Record",webService:"Official Exchange",signFile:"Sign-in Document",tobeSigned:"To Be Signed",signedFor:"Signed",Rejected:"Rejected",mySend:"Sent by Me",sendFile:"Send Document",toSend:"To Be Sent",sended:"Sent",RejectOf:"Rejected",organizational:"Organization Message",commonGroups:"CommonGroup Message",commonUnits:"Common Units",gwSearch:"DocSearch",bwstatistics:"Doc Statistics",EssayWriting:"Draft Quantity Statistics",bwstatisticsNum:"Doc Count Statistics",bwstatisticsEfficiency:"Doc Efficiency Statistics",returnRateStatistics:"Return Rate Statistics",overdueRate:"Overdue Rate Statistics",gwSettings:"DocSettings",numberTemplate:"DocNumbering Template",urgentLevel:"UrgencyLevel Configuration",gwTemplate:"DocTemplate Configuration",cpbTemplate:"ApprovalForm Configuration",automaticArchiving:"Automatic Archiving Settings",archiveClassification:"Archive Classification Message",officialDocument:"DocSample",configurationLeadership:"LeadershipInstruction Configuration",todo:"To Do",done:"Done",myDraft:"Drafted by Me",all:"All",draft:"Draft",processingProgress:"In Progress",Ended:"Ended",tobeReviewed:"To Be Reviewed",readAlready:"Read",myCreated:"Created by Me",notSubmit:"Not Submitted",submitted:"Submitted",pendingProcessing:"Pending Processing",isProcessing:"Processing",myHandled:"Handled by Me",allFile:"All Files"},common:{statusPlaceholder:"Please select a status",numDay:"{num} days",please:"Please input",fileTitle:"File Title",fileTitlePlaceholder:"Please enter a file title",noGwModule:"No official document template available",remarkEmptyMessage:"Please enter remarks"},messages:{selectFile:"Please select the file that needs to be archived!",selectArchiveClassification:"Please select an archive classification!",selectArchivedType:"Please select an archive type!",editConfig:"If the current edit is not saved, the content changes will be invalid. Continue?",selectModuleTip:"Select contract template",haveModule:"This contract already has a template!",haveModule2:"Replace the current template?",haveGz:"This official document has already been stamped. Re-stamping is required after editing the main text!",haveGz2:"Continue?",haveTh:"This official document has already been formatted!",fixTitle:"Please fill in the file title!",selectType:"Please select the announcement type",selectData:"Please select the data first!",confirmDel:'Are you sure you want to delete "{val}"?',confirmDel2:'Are you sure you want to delete "{val}" and all sub-types?',noUrgeProcessingSw:"No units to urge processing are available at the moment",selectGwDepart:"Please select the document receiving unit.",sendFileConfirm:"Are you sure you want to send the file immediately?",selectLeader:"Please select the reading leader and document receiving department.",sendFileSuccess:"Successfully sent {num} documents, {failNum} failed!",toListAlert:"Please select the reading leader, document receiving department, and unit for issuing the document.",fileRandMsg:"Please select a department or unit.",addCommonGroupClickMsg:"Please select the data that needs to be set as a commonly used group.",delGroupConfirm:"Are you sure you want to delete this commonly used group?",importAlert:"Please select the import file",continueConfirm:"The file has been sent. Continue with this send?",noZwFile:"No main text file. Cannot send.",noSaveAlert:"The official document attachment has been updated. Please save it before sending!",sortNumberEmptyMessage:"Please enter a four-digit sort number",truelyPhone:"Please enter a correct four-digit sort number",submitAlert:"Please select the archive file type",submitAlert2:"Please select the reminder method",submitAlert3:"Please select the SMS recipient",submitAlertTip:"Reminder"},components:{fields:{categoryName:"Archive Classification",gdType:"Archive Type",accessRightsType:"File Access Permissions",appoints:"Designated Type",cbUrgedPerson:"Processor",jsTime:"Delivery Time",banwenTime:"Handling Time",wfNodeNames:"Processing Steps",departStatus:"Department Handling Status",deptName:"Department Name",signingTime:"Sign-in Time",internalCommsContent:"Reply Content",creator:"Handler",createTime:"Reply Time",attachs:"Attachments",flSubject:"File Title",type:"Announcement Type",ggTime:"Announcement Time",publishScope:"Publication Scope",readersName:"Designated Personnel",publishFiles:"Published Files"},fileSettings:"Archive File Settings",archiveClassificationSelect:"Select Archive Classification",archiveClassificationPlaceholder:"Please Select Archive Classification",archivedTypePlaceholder:"Please Select Archive Type",allPersonnel:"Readable by All Personnel",originalHandler:"Readable by Original Handler",handlerDesignated:"Readable by Original Handler + Designated Personnel",designatedReaders:"Designated Readable Personnel",specifyType:"Specify Type",specifyGroup:"Specify Group",specifyDepart:"Specify Department",specifyPerson:"Specify Personnel",selectGroup:"Select Group",selectDepart:"Select Department",selectPerson:"Select Personnel",GroupPlaceholder:"Please Select Group",DepartPlaceholder:"Please Select Department",PersonPlaceholder:"Please Select Personnel",electronicFilling:"Electronic Archiving",paperArchiving:"Paper Archiving",contractModule:"Contract Template",selectNewM:"Please Select a New Contract Template:",updateGwType:"Update Official Document Type",gwType:"Official Document Type",selectNewGw:"Please Select a New Official Document Type:",isLoading:"Downloading file, please wait...",loadingSave:"Saving attachment, please wait...",reloadFile:"Reloading file, please wait",transferNotice:"Transfer Notice Announcement",isTop:"Pin to Top",autoReadFile:"Auto Read Body",fileName:"File Name",fileSize:"File Size",zdTitle:"Regulation Title",zdTitleEmptyMessage:"Please enter the regulation title",notice:"Announcement",inform:"Notification",praise:"Commendation",criticize:"Criticism",other:"Other",startTime:"Start Date",endTime:"End Date",publishScopeRange:"Please Select Publication Scope",allPerson:"All Personnel",readeremptyMessage:"Please enter the reader"},gdgl:{fields:{flContent:"Summary",fileName:"Document Body",gwType:"Type of Official Document",swCode:"Received Document Number",startTime:"Meeting Start Time",flCreateDate:"Issuance Date",callDate:"Convening Date",endTime:"Meeting End Time",flLwrq:"Incoming Document Date",flGrade:"Document Serial Number",documentType:"Incoming Document Serial Number",documentCode:"Incoming Document Number",replyTime:"Reply Deadline",flLwdw:"Incoming Document Unit",flSLevel:"Confidentiality Level",gdType:"Archiving Type",creator:"Archivist",gdTime:"Archiving Date",categoryName:"Archiving Classification Management",flELevel:"Urgency Level",address:"Meeting Venue"},abstractPlaceholder:"Please enter the summary",fileZwEmptyMessage:"Please select the document body",gwTypePlaceholder:"Please enter the type of official document",swCodePlaceholder:"Please enter the received document number",meetingStartTimePlaceholder:"Please select the meeting start time",draftDatePlaceholder:"Please select the drafting date",callDatePlaceholder:"Please select the convening date",meetingEndTimePlaceholder:"Meeting end time",submissionDatePlaceholder:"Please select the incoming document date",createTimePlaceholder:"Please select the creation date",documentSizePlaceholder:"Please fill in the document serial number",flLwzhPlaceholder:"Please fill in the incoming document {font}{size}",responseTimePlaceholder:"Please select the response deadline",reportingUnitPlaceholder:"Please enter the incoming document unit",classificationPlaceholder:"Please select the confidentiality level",filingDatePlaceholder:"Please select the archiving date",urgencyEmptyMessage:"Please select the urgency level",meetingAddressPlaceholder:"Please enter the meeting venue",recursionFile:"Current archived files: {dataType} pieces",flELevelFormatter:"Normal: Normal\nUrgent: Urgent\nExtremely Urgent: Extremely Urgent",flGwTypeElementFormatter:"Unit Issuance: Unit Issuance\r\nReceived Document Reading: Received Document Reading\r\nDocument Circulation: Document Circulation\r\nRequest and Report: Request and Report\r\nDepartmental Memo: Departmental Memo\r\nUnit Letter: Unit Letter\r\nOffice Document: Office Document",gdTypeElementFormatter:"1: Electronic Archiving\r\n2: Paper Archiving\r\n1,2: All Types",flSLevelElementFormatter:"1: General\r\n2: Special",borrowingApplication:"Borrowing Application",byClassification:"ByClass",byTime:"ByTime",byRecordType:"ByType"},pageBtns:{addCommonGroup:"AddCommonGroup",addChildCommonGroup:"AddChildCommonGroup",changeCommonGroup:"EditCommonGroup",delCommonGroup:"DeleteCommonGroup",all:"All",sendText:"SendOfficialSMS",urgentSMS:"ReminderSMS",selectFile:"SelectFile",startImport:"StartImport",updateInstitution:"EditInstitution",delInstitution:"DeleteInstitution",confirmUpdate:"ConfirmUpdate",addChildType:"AddChildCategory",delType:"DeleteChildCategory",tj:"Statistics"},gwjh:{fields:{typeName:"Category Name",leaders:"Leader Review",fenju:"Branch Receipt",sortCategory:"Category Sorting",recipient:"Recipient",content:"SMS Content",swOrgName:"Receiving Organization",linkman:"Contact Person of Receiving Organization",faTime:"Sending Time",textMessage:"SMS",dwName:"Unit Name",recipientPhone:"Recipient Phone Number",sendTime:"Sending Time",swReceiveTime:"Arrival Time",sendStatus:"SMS Sending Status",externalUnits:"External Unit Receipt",qsType:"Sign-in Method",telPhone:"Contact Phone",fileLeader:"Reviewing Leader",departDw:"Receiving Department/Unit",bmswDeptName:"Receiving Department",swOpenTime:"Start Processing Time",orgLevel:"Superior Organization",orgName:"Organization Name",level:"Level",orderNo:"Order Number"},dwName2:"Unit Name:",inputEmailText:"Fill in SMS Content",noAddManageCommonGroup:"No management common groups have been added yet",commonGroupSettingTitle:"Common Group Management Settings",typeNamePlaceholder:"Please enter the category name",leadershipReadingEmptyMessage:"Please select the leader for document review",depts:"Center/Squad/Department Receipt",deptsPlaceholder:"Center/Squad/Department Receipt",subReceivedDocumentsPlaceholder:"Please select the branch receipt",sortCategoryPlaceholder:"Please enter the category sorting",notSent:"Not Sent",sent:"Sent",recipientPlaceholder:"Please enter the recipient",recipientFormat:"Recipient format: e.g., 152********, 158********",messengeContentPlaceholder:"Please enter SMS content",sendFail:"Sending Failed",sendSuccess:"Sending Succeeded",setPermissions:"Set Attachment Access Permissions",signDocuments:"Sign Documents",signWayPlaceholder:"Please enter the selection status",signFor:"Sign For",rejection:"Rejection",reason:"Reason",inputReason:"Please enter the reason",telPhonePlaceholder:"Please enter a mobile phone number",status:"Processing Status",reflectWarn:"Please fill in the reason for rejection first!",fileWarn:"Please select a file first!",keyPlaceholder:"Please enter a search keyword",selectAll:"Select All",clear:"Clear",del:"Delete",sendTracking:"Send Tracking",winTitle:"Send to This Unit",commonGroup:"Common Group",sendStatus:"Sending",sendStatus2:"Sent",sendStatus3:"Arrived",sendStatus4:"Signed",sendStatus5:"Rejected",sendStatus6:"Replied",sendStatus7:"Withdrawn",sendStatus8:"Sending Failed",noOpen:"Not Opened",noScan:"Not Signed",noArrived:"Not Arrived",sendRange:"Sending Range:",commonGroupType:"Common Group Classification",winTitle2:"Send File",processingStatus:"Processing Status",withdrawn:"Withdrawn",drawn:"Withdraw",allSwdw:"All Receiving Units (",wddDw:"Units Not Arrived (",yddDw:"Units Arrived (",sendFailDw:"Units Sending Failed (",yqsDw:"Units Signed (",yjsDw:"Units Rejected (",msgCb:"SMS Reminder",zdyMsgCb:"Custom SMS Reminder",msgRecord:"SMS Record",importOrgTitle:"Qingyuan Municipal Public Security Bureau Government OA System Import:",uploadIllustrate:"File Upload Content Format Description:",uploadIllustrateOne:"1. The import file should be an Office Excel file;",uploadIllustrateTwo:'2. The import file does not currently support Office 2007 and later Excel files. If you are using Office 2007 or later, please convert the Excel file to the 2003 or earlier version format. The specific conversion method is: in the opened Excel file, select "Save As" -> "Excel 97-2003 Workbook";',uploadIllustrateThree:"3. When performing the import operation, please ensure that the file you are importing is not in use.",example:"Upload File Content Example:",clickDown:"Click to Download",downText:"Click to Download Excel Import Example",orgNameEmpty:"Please enter the organization name",addInstitution:"Add Institution",addChildInstitution:"Add Child Institution",isNoAddInstitution:"No management institutions have been added yet",institutionSet:"Institution Management Settings",orgNamePlaceholder:"Please select the organization name",orderPlaceholder:"Please enter a 4-digit sorting number",orgLevelOptions1:"Level 1 (Company Level)",orgLevelOptions2:"Level 2 (Department Level)"},setting:{fields:{levelType:"Parent Category",typeName:"Category Name",classicDescription:"Category Description",sortNumber:"Sort Order",autoToArch:"Automatic Archiving",archiveFileType:"Archive File Type",afterCompletion:"After Completion",completedDocuments:"Completed Documents",noCompletedDocuments:"Incomplete Documents",forCreate:"Since Creation",afterFile:"After Archiving",reminderMethod:"Reminder Method",remindPersonName:"SMS Recipient"},gdgzTitle:"Automatic Archiving Rule Settings",gdgzTitle2:"Automatic/Manual Archiving Reminder Settings",classicDescriptionPlaceholder:"Please enter category description",effective:"Effective",invalid:"Invalid",formTitle:"Archive Category Settings",addNewMenu:"Add New Submenu",delMenu:"Delete Menu",dayFile:"Archive by Days",dayDel:"Delete by Days",email:"Email",footerText:"Note: If the number of days is 0, automatic archiving will not be performed",group:"Group",depart:"Department",person:"Person"},portlet:{searching:"Searching...",unitDocument:"Unit Document Issuance",readingOffice:"Document Receipt and Reading",receiptDocuments:"Departmental Document Receipt",documentCirculation:"Document Circulation",departmentalLetter:"Departmental Memo",solicitationOpinions:"Opinion Solicitation",requestInstructions:"Request and Report",dzgg:"Electronic Announcement",hytz:"Meeting Notification",preview:"Preview",all:"All"},tjbg:{fields:{selectDepart:"Select Department:",fileType:"File Type:",tjzq:"Statistical Period:"},pleaseSelect:"Please Select",documentType:"Document Type",num:"Quantity",notTimedOut:"Not Timed Out",startMonth:"Start Month",endMonth:"End Month",startDate:"Start Date",endDate:"End Date",allDepart:"All Departments",month:"Month",bwNum:"Document Handling Times",fileType2:"File Type",essayWritingNum:"Draft Document Quantity Statistics",officeDocumentNum:"Document Handling Quantity Statistics",officeDocumentXlNum:"Document Handling Efficiency Statistics",officeDocumentHtNum:"Document Handling Return Rate Statistics",officeDocumentCqlNum:"Document Handling Overdue Rate Statistics",byType:"By Type",byDepart:"By Department",qwNum:"Initiated Document Quantity (Items)",qwNum2:"Initiated Document Quantity",byTime:"By Time",byPerson:"By Person",officeDocumentNum1:"Document Handling Times (Occurrences)",avgBwTime:"Average Document Handling Time",avgThl:"Average Return Rate:",avgThl2:"Average Return Rate (%)",avgCql:"Average Overdue Rate",avgCql2:"Average Overdue Rate (%)",name:"Name",avgBwTime2:"Average Document Handling Time (Hours)",title:"- Top 10 Documents with Overdue Handling",title2:"- Bottom 10 Documents in Handling Efficiency",mergeMinute:"{s} seconds",mergeMinute1:"{m} minutes {s} seconds",mergeMinute2:"{h} hours {m} minutes {s} seconds",mergeMinute3:"{d} days {h} hours {m} minutes {s} seconds"},fawen:{formTitle:"Document Management - Simulation (zwoa)",fields:{flSubject:"Document Title",flDealDate:"Handling Deadline",sendGgZd:"Publish Notice/Announcement or Regulations",sendElectronGw:"Send Electronic Official Document",flELevel:"Urgency Level",flFwzh:"Document Number",flCreator:"Creator",flCopySend:"Copy To",flContent:"Document Content",flSLevel:"Confidentiality Level",flCreateDept:"Creating Department",ifHaveZzyj:"Require Hard Copy Original",flPrintCount:"Number of Printed Copies",flType:"Document Type",flJbrPhone:"Contact Phone of Handler",flMainSend:"Primary Recipient",flCreatorPhone:"Contact Phone",flCreateDate:"Creation Time",flJbr:"Handler"}},fileSerialTemplate:{formTitle:"Official Document Numbering Template",fields:{sortNo:"Sort Number",moduleCode:"Applicable Module",mbContent:"Numbering Format",status:"Status"},options:{status:{1:"Enable",2:"Disabled"}}},wjcy:{formTitle:"Document Circulation",fields:{flLwzh:"Incoming Document Number",flSwzh:"Registration Document Number",flSLevel:"Confidentiality Level",flCreatorPhone:"Contact Phone",flCreateDept:"Registration Department",flELevel:"Urgency Level",flSubject:"Document Title",flLwrq:"Date of Incoming Document",flDealDate:"Handling Deadline",flCreator:"Registrar",flContent:"Remarks",flLwdw:"Sending Unit",flCreateDate:"Registration Date"}},gdwj:{formTitle:"Gdwj Management",fields:{creator:"Archivist",categoryName:"Archiving Category",address:"Meeting Location",flCreateDate:"Creation Date",gdTime:"Archiving Date",flSwzh:"Registration Document Number",replyTime:"Response Deadline",flSubject:"Document Title",deptOrName:"Select Personnel",flGrade:"Document Number",flContent:"Summary",startTime:"Meeting Start Time",flLwrq:"Date of Incoming Document",accessRightsType:"Document Access Rights",flSLevel:"Confidentiality Level",gdType:"Archiving Type",endTime:"Meeting End Time",flLwzh:"Incoming Document Number",appoints:"Assigned Type",flLwdw:"Sending Unit",flGwType:"Type of Official Document",flELevel:"Urgency Level",fl:"Document Classification"},options:{flGwType:{"单位发文":"Unit Document Issuance","收文阅办":"Receiving and Reviewing Documents","部门收文":"Department Document Receipt","文件传阅":"Document Circulation","部门便函":"Departmental Memo","意见征集":"Opinion Solicitation","请示报告":"Request Report"}}},modelFile:{formTitle:"Sample Official Document",fields:{visitType:"Publication Scope",status:"Status",createTime:"Creation Time",flType:"Document Type",readersName:"Viewer",flSubject:"Document Title"},options:{visitType:{0:"All personnel",3:"Designated personnel"}}},cpbFile:{formTitle:"Approval Form Template",fields:{mbType:"Template Type",status:"Status",mbFileData:"Template File",mbVer:"Template Version",name:"Template Name",printLock:"Print Lock"}},yjzj:{formTitle:"Opinion Solicitation",fields:{flSLevel:"Confidentiality Level",flCreateDate:"Creation Date",replyTime:"Response Deadline",flELevel:"Urgency Level",flSubject:"Document Title",flCreator:"Creator",flCreateDept:"Creating Department",flCreatorPhone:"Contact Phone",flContent:"Content Summary"}},commonGroup:{formTitle:"Frequently Used Group Management",fields:{typeName:"Category Name",orderNo:"Category Sorting"}},shouwenDept:{formTitle:"Official Document Management > Received Document Handling by Department",fields:{ifOversee:"Whether to Supervise",flContent:"Content Summary",flType:"Received Document Type",type:"Handling Type",flSubject:"Document Title",flLwdw:"Document Originating Unit",flELevel:"Urgency Level",flCreator:"Registrar",flCreateDate:"Document Receipt Date",flDealDate:"Handling Deadline",flLwcontacts:"Contact Person of Originating Unit",flLwzh:"Document Number of Originating Unit",flCreatorPhone:"Contact Phone",flCreateDept:"Registration Department/Faculty",flSwzh:"Received Document Number"}},fwmb:{formTitle:"Official Document Template",fields:{sortNo:"Sorting Number",formTitle:"Draft Paper Name",status:"Status",name:"Template Name",signOrg:"Printing and Issuing Organization",fileHeader:"Document Header Name",fileContent:"Template File",fileWord:"Document Word (e.g., Confidential, Internal, etc.)"}},yanqiApply:{formTitle:"Official Document Management > Extension Application Form",fields:{flDealDate:"Original Handling Deadline",flCreatorPhone:"Contact Phone",flDelayDate:"New Handling Time Limit",ifAsk:"Originating Unit's Opinion",flCreateDate:"Application Date",flSubject:"Document Title",flCreateDept:"Applying Department",flCreator:"Applicant"}},qianbao:{formTitle:"Official Document Management > Sign-off Report",fields:{flSubject:"Title",flQianbaoType:"Sign-off Report Type",flCopySend:"Copied To",flELevel:"Urgency Level",flMainSend:"Primary Recipient",flCreateDept:"Drafting Department",flCreator:"Drafter",flCreateDate:"Drafting Date",flContent:"Sign-off Report Content",flFwzh:"Sign-off Report Number",flCreatorPhone:"Contact Phone",flSLevel:"Security Level"}},internalComms:{formTitle:"Official Document Management > Internal Communication Document",fields:{flCreatorPhone:"Contact Phone",flCreateDate:"Application Date",flELevel:"Urgency Level",flFeedback:"Feedback Required",flCreateDept:"Applying Department",flSubject:"Document Title",internalCommsType:"Internal Communication Document Type",flContent:"Work Requirements",flDealDate:"Response Deadline",flDept:"Handling Department",flCreator:"Applicant"},fileAttach:"File Attach",blReasult:"Processing results"},qsbg:{formTitle:"Official Document Management > Request for Instructions Report",fields:{flSubject:"Document Title",flCreator:"Drafter",flELevel:"Urgency Level",flContent:"Content Summary",flSLevel:"Security Level",flCreateDate:"Drafting Date",flCreatorPhone:"Contact Phone",flCreateDept:"Drafting Department"}},cpbWflow:{formTitle:"Manuscript Template Associated Workflow",fields:{wfdCode:"Workflow Code",wfdName:"Workflow Name",wfdVer:"Workflow Version"}},fileLevel:{formTitle:"Document Urgency Level",fields:{status:"Status",eName:"Urgency Name",eLevel:"Level"}},leadIdeaConfig:{formTitle:"Leader's Approval and Comment Configuration",fields:{status:"Enabled",ideaLabel:"Comment Label",wfName:"Workflow"}},bmbh:{formTitle:"Official Document Management > Department Contact Form",fields:{flContactPerson:"Contact Person",flCreateDept:"Creating Department",flContent:"Summary",flCreateDate:"Creation Date",flSubject:"Title",flCreatorPhone:"Contact Phone",flDealDate:"Handling Deadline",flSLevel:"Security Level",flCreator:"Creator",flContactDept:"Contact Department",flELevel:"Urgency Level"}},shouwen:{formTitle:"Incoming Document Management - Department Incoming Documents",fields:{flELevel:"Urgency Level",flType:"Incoming Document Type",flNbyj:"Proposed Handling Suggestion",flLwzh:"Incoming Document Number",flLwrq:"Incoming Document Date",flSLevel:"Security Level",ifOversee:"Supervision Required",flSubject:"Document Title",flDealDate:"Handling Deadline",flLwdw:"Incoming Document Department",flContent:"Content Summary"}},hytz:{formTitle:"Meeting Notification",fields:{leaders:"Attending Leaders",compere:"Meeting Moderator",flCreateDate:"Calling Date",flELevel:"Urgency Level",flSubject:"Document Title",flCreatorPhone:"Contact Phone",address:"Meeting Location",flCreateDept:"Calling Department",flContent:"Meeting Content",flCreator:"Caller",endTime:"End Time of Meeting",peoplesCount:"Number of Participants",flSLevel:"Security Level",startTime:"Start Time of Meeting"}},jysq:{formTitle:"Borrowing Application",fields:{flCreateDate:"Application Date",flCreatorPhone:"Contact Phone",flCreator:"Applicant",flSubject:"Reason for Application",flCreateDept:"Application Department",flContent:"Remarks",startDate:"Start Time",endDate:"End Time"}},facsimileLetter:{formTitle:"Fax Correspondence",fields:{flSLevel:"Security Level",flMainSend:"Primary Recipient",flELevel:"Urgency Level",flQianbaoType:"Report Type",flCreatorPhone:"Contact Phone",flFwzh:"Fax Number",flSubject:"Title",flCopySend:"Copied to",flContent:"Fax Content",flCreateDept:"Drafting Department",flCreateDate:"Drafting Date",flCreator:"Drafter"}},nullifyRecords:{formTitle:"Document Obsoletion Records",fields:{createTime:"Operation Time",title:"Document Title",nullifyContent:"Reason for Obsoletion",creator:"Operator"}}}}},9811:function(e){e.exports={gwgl:{formTitle:"公文管理",moduleMenu:{gwHome:"公文主页",mygw:"我的公文",mubw:"我的办文",myyw:"我的阅文",overdueDocument:"超期办文",overdueNotProcessed:"超期未办",expiredProcessed:"超期已办",fawen:"发文管理",shouwen:"收文管理",myRegistered:"我登记的",fileAll:"全部文件",signIn:"签报管理",approvalMatters:"事项审批",requestReport:"请示报告",faxCorrespondence:"传真函件",ForeignCorrespondence:"外来函件",documentCirculation:"文件传阅",contactForm:"部门联系单",insideCommunicate:"内部沟通件",solicitationOpinions:"意见征集",documentsSupervision:"公文督办",Leadership:"领导批示件",archiveFiles:"归档文件",BorrowingDocuments:"公文借阅",invalidFile:"作废文件",OperationRecord:"操作记录",webService:"公文交换",signFile:"签收文件",tobeSigned:"待签收",signedFor:"已签收的",Rejected:"已拒收的",mySend:"我发送的",sendFile:"发送文件",toSend:"待发送",sended:"已发送",RejectOf:"被拒收",organizational:"机构管理",commonGroups:"常用组管理",commonUnits:"常用单位",gwSearch:"公文查询",bwstatistics:"办文统计",EssayWriting:"拟文数量统计",bwstatisticsNum:"办文次数统计",bwstatisticsEfficiency:"办文效率统计",returnRateStatistics:"退回率统计",overdueRate:"办理超期率统计",gwSettings:"公文设置",numberTemplate:"公文编号模板",urgentLevel:"紧急程度配置",gwTemplate:"公文模板配置",cpbTemplate:"呈批表模板配置",automaticArchiving:"自动归档设置",archiveClassification:"归档分类管理",officialDocument:"公文示例范文",configurationLeadership:"领导批示意见配置",todo:"待办",done:"已办",myDraft:"我起草的",all:"全部",draft:"草稿",processingProgress:"处理中",Ended:"已结束",tobeReviewed:"待阅",readAlready:"已阅",myCreated:"我创建的",notSubmit:"未提交",submitted:"已提交",pendingProcessing:"待处理",isProcessing:"已处理",myHandled:"我处理的",allFile:"全部文件"},common:{confirmButtonText:"确定",cancelButtonText:"取消",confirm:"确认",close:"关闭",open:"开启",saveAndClose:"保存关闭",UrgeProcessing:"催办",prompt:"提示",cancel:"取消",save:"保存",default:"恢复默认",SaveSettings:"保存设置",keywordsSearch:"请输入关键词搜索",to:"至",noData:"暂无数据",enable:"启用",disable:"禁用",agree:"同意",confirmCz:"确认操作",down:"下载",upload:"上传",updateTip:"更新提示",promoter:"发起人",participants:"参与人",status:"状态",statusPlaceholder:"请选择状态",operated:"操作",saveForm:"保存表单",yes:"是",no:"否",add:"添加",addNew:"新增",operatedTip:"操作提示",handleSuccess:"处理成功",saveSuccess:"保存成功",edit:"编辑",setting:"设置",please:"请输入",day:"天",export:"导出",fileTitle:"文件标题",fileTitlePlaceholder:"请输入文件标题",noGwModule:"暂无公文模板",remark:"备注",remarkmptyMessage:"请输入备注"},components:{fileSettings:"归档文件设置",archiveClassification:"归档分类",archiveClassificationSelect:"选择归档分类",archiveClassificationPlaceholder:"请选择归档分类",archivedType:"归档类型",archivedTypePlaceholder:"请选择归档类型",fileAccessPermission:"文件查阅权限",allPersonnel:"全体人员可阅",originalHandler:"原经办人可阅",handlerDesignated:"原经办人+指定人可阅",designatedReaders:"指定可阅人",specifyType:"指定类型",specifyGroup:"指定群组",specifyDepart:"指定部门",specifyPerson:"指定人员",selectGroup:"选择群组",selectDepart:"选择部门",selectPerson:"选择人员",GroupPlaceholder:"请选择群组",DepartPlaceholder:"请选择部门",PersonPlaceholder:"请选择人员",electronicFilling:"电子归档",paperArchiving:"纸质归档",selectFile:"请选择需要归档的文件!",selectArchiveClassification:"请选择归档分类!",selectArchivedType:"请选择归档类型!",index:"序号",cbUrgedPerson:"处理人",jsTime:"送达时间",banwenTime:"办理时间",wfNodeNames:"处理环节",departStatus:"部门办理情况",deptName:"部门名称",signingTime:"签收时间",internalCommsContent:"回复内容",creator:"经办人",createTime:"回复时间",attachs:"附件",editConfig:"若当前编辑未保存,则内容修改无效,是否继续?",selectModuleTip:"选择合同模版",haveModule:"该合同已经有模版!",haveModule2:"是否替换当前模版?",contractModule:"合同模版",selectNewM:"请选择新的合同模版:",updateGwType:"修改公文类型",haveGz:"该公文已经盖章,重新编辑正文后需要重新盖章!",haveGz2:"是否继续?",haveTh:"该公文已经套过红!",gwType:"公文类型",selectNewGw:"请选择新的公文类型:",isLoading:"正在下载文件,请稍候...",loadingSave:"正在保存附件,请稍候...",reloadFile:"正在重新加载文件,请稍候",transferNotice:"转通知公告",GgType:"公告类型",isTop:"是否置顶",ggTime:"公告时间",releaseScope:"发布范围",orderPerson:"指定人员",publishFiles:"发布文件",autoReadFile:"自动读取正文",fileName:"文件名",fileSize:"文件大小",fixTitle:"请填写文件标题!",selectType:"请选择公告类型",zdTitle:"制度标题",zdTitleEmptyMessage:"请输入制度主题",notice:"公告",inform:"通知",praise:"表扬",criticize:"批评",other:"其他",startTime:"开始日期",endTime:"结束日期",publishScopeRange:"请选择发布范围",allPerson:"全部人员",readeremptyMessage:"请输入查阅人"},gdgl:{abstract:"摘要",abstractPlaceholder:"请输入摘要",fileZw:"文件正文",fileZwEmptyMessage:"请选择文件正文",gwType:"公文种类",gwTypePlaceholder:"公文种类",swCode:"收文编号",swCodePlaceholder:"请输入收文编号",meetingStartTime:"会议开始时间",meetingStartTimePlaceholder:"请选择会议开始时间",draftDate:"拟稿日期",draftDatePlaceholder:"请选择成文日期",callDate:"召集日期",callDatePlaceholder:"请选择召集日期",meetingEndTime:"会议结束时间",meetingEndTimePlaceholder:"会议开始时间",submissionDate:"来文日期",submissionDatePlaceholder:"请选择来文日期",createTime:"创建日期",createTimePlaceholder:"请选择创建日期",documentSize:"文件字号",documentSizePlaceholder:"请填写文件字号",documentType:"来文字号",documentCode:"来文编号",flLwzhPlaceholder:"请填写来文{font}{size}",font:"字",weave:"编",name:"号",responseTime:"回复时限",responseTimePlaceholder:"请选择回复时限",reportingUnit:"来文单位",reportingUnitPlaceholder:"请输入来文单位",classification:"密级",classificationPlaceholder:"请选择密级",archivedType:"归档类型",archivedBy:"归档人",filingDate:"归档日期",filingDatePlaceholder:"请选择归档日期",urgency:"紧急程度",urgencyEmptyMessage:"请选择紧急程度",meetingAddress:"会议地点",meetingAddressPlaceholder:"请输入会议地点",recursionFile:"当前归档文件{num}件",fileType:"文件类型",fileClassification:"文件分类",flGwTypeElementFormatter:"单位发文:单位发文\r\n收文阅办:收文阅办\r\n文件传阅:文件传阅\r\n请示报告:请示报告\r\n部门便函:部门便函\r\n单位函:单位函\r\n办公室文件:办公室文件\r\n",gdTypeElementFormatter:"1:电子归档\r\n2:纸质归档\r\n1,2:全部类型\r\n",flSLevelElementFormatter:"1:一般\r\n2:特殊\r\n",borrowingApplication:"借阅申请",byClassification:"按分类",byTime:"按时间",byRecordType:"按文种"},gwjh:{addCommonGroup:"添加常用组",addChildCommonGroup:"添加子常用组",changeCommonGroup:"修改常用组",delCommonGroup:"删除常用组",noAddManageCommonGroup:"暂未添加管理常用组",commonGroupSettingTitle:"常用组管理设置",confirmDel:"确认删除“{val}”吗?",confirmDel2:"确认删除“{val}”及下级全部类型吗?",typeName:"分类名称",typeNamePlaceholder:"请输入分类名称",leadershipReading:"领导阅文",leadershipReadingEmptyMessage:"请选择领导阅文",depts:"部门收文",deptsPlaceholder:"部门收文",subReceivedDocuments:"单位收文",subReceivedDocumentsPlaceholder:"请选择单位收文",sortCategory:"分类排序",sortCategoryPlaceholder:"请输入分类排序",swOrgName:"收文单位",linkman:"收文单位联系人",faTime:"发文时间",textMessage:"短信",notSent:"未发送",sent:"已发送",recipient:"接收人",recipientPlaceholder:"请输入接收人",recipientFormat:"接收人格式如:",messengeContent:"短信内容",messengeContentPlaceholder:"请输入短信内容",all:"全部",sendText:"发文短信",urgentSMS:"催办短信",dwName:"单位名称",recipientPhone:"接收人号码",sendTime:"发送时间",swReceiveTime:"到达时间",sendFail:"发送失败",sendSuccess:"发送成功",swOpenTime:"开始办理时间",sendStatus:"短信发送状态",noUrgeProcessingSw:"暂无可催办的收文单位",setPermissions:"设置附件查阅权限",isLoading:"正在加载...",noData:"无数据",externalUnits:"外单位收文",signDocuments:"签收文件",signWay:"签收方式",signWayPlaceholder:"请输入选择状态",signFor:"签收",rejection:"拒收",reason:"原因",inputReason:"请输入原因",telPhone:"联系电话",telPhonePlaceholder:"请输入手机号码",status:"处理状态",reflectWarn:"请先填写拒收原因!",fileWarn:"请先选择文件!",keyPlaceholder:"请输入搜索关键字",selectAll:"全选",clear:"清除",selectGwDepart:"请选择收文单位。",sendFileConfirm:"您是否确认立即发送文件?",sendTracking:"发送跟踪",sendFileSuccess:"发送文件成功{num}份,失败{failNum}份!",del:"删除",winTitle:"发送本单位",commonGroup:"常用组",fileLeader:"阅文领导",departDw:"收文部门/单位",bmswDeptName:"收文部门",sendRange:"发送范围:",commonGroupType:"常用组分类",winTitle2:"发送文件",toListAlert:"请选择阅文领导、收文部门、单位发文。",fileRandMsg:"请选择部门或单位。",addCommonGroupClickMsg:"请选择需要设未常用组的数据。",delSuccessMsg:"删除成功。",delGroupConfirm:"确认删除删除该常用组?",processingStatus:"办理情况",withdrawn:"已撤回",drawn:"撤回",allSwdw:"全部收文单位(",wddDw:"未到达单位(",yddDw:"已到达单位(",sendFailDw:"发送失败单位(",yqsDw:"已签收单位(",yjsDw:"已拒收单位(",msgCb:"短信催办",zdyMsgCb:"自定义短信催办",msgRecord:"短信记录",importOrgTitle:"清远市公安局政务OA系统导入:",uploadIllustrate:"上传文件内容格式说明:",uploadIllustrateOne:"1.导入文件应为Office Excel文件;",uploadIllustrateTwo:"2.导入文件暂不支持Office 2007及以后版本的Excel文件,如您使用的是Office 2007及以后版本,请把Excel文件转换为2003或之前的版本格式,具体转换方式为:打开的Excel文件中,选择“另存为”->“Excel 97-2003工作簿”;",uploadIllustrateThree:"3.进行导入操作时,请确保您导入的文件并未处于使用状态。",example:"上传文件内容示例:",clickDown:"点击下载",downText:"点击下载Excel导入示例",selectFile:"选择文件",startImport:"开始导入",importAlert:"请选择导入文件",addInstitution:"添加机构",addChildInstitution:"添加子机构",updateInstitution:"修改机构",delInstitution:"删除机构",isNoAddInstitution:"暂未添加管理机构",institutionSet:"机构管理设置",orgLevel:"上级机构",orgName:"机构名称",orgNamePlaceholder:"请选择机构名称",level:"级别",order:"排序",orderPlaceholder:"请输入4位数字排序号",orgLevelOptions1:"一级(公司级)",orgLevelOptions2:"二级(部门级)",continueConfirm:"文件已发送,是否继续本次发送?",operateConfirm:"操作确认",noZwFile:"没有正文文件,不能发送。",noSaveAlert:"公文附件有更新,请先执行“保存”操作后再发送!"},setting:{levelType:"上级分类",classicDescription:"分类描述",classicDescriptionPlaceholder:"分类描述",sortNumber:"排序号",sortNumberEmptyMessage:"请输入四位数的排序号",effective:"有效",invalid:"无效",formTitle:"归档分类设置",addNewMenu:"新增子菜单",delMenu:"删除菜单",confirmUpdate:"确认修改",addChildType:"新增子分类",delType:"新增子分类",truelyPhone:"请输入正确的四位数排序号",automaticArchiving:"自动归档",archiveFileType:"归档文件类型",completedDocuments:"已办结文件",afterCompletion:"办结后",dayFile:"天归档",noCompletedDocuments:"未办结文件",forCreate:"自创建起",afterFile:"归档后",dayDel:"天删除",reminderMethod:"提醒方式",email:"邮件",textMessageRecepitor:"短信接收人员",footerText:"注:天数为0,则不进行自动归档",group:"群组",depart:"部门",person:"人员",submitAlert:"请选择归档文件类型",submitAlert2:"请选择提醒方式",submitAlert3:"请选择短信接收人员",submitAlertTip:"温馨提示"},portlet:{unitDocument:"单位发文",readingOffice:"收文阅办",receiptDocuments:"部门收文",documentCirculation:"文件传阅",departmentalLetter:"部门便函",solicitationOpinions:"意见征集",requestInstructions:"请示报告",preview:"预览"},tjbg:{documentType:"办文类性",num:"数量",notTimedOut:"未超时",tjzq:"统计周期:",startMonth:"开始月份",endMonth:"结束月份",startDate:"开始日期",endDate:"结束日期",allDepart:"所有部门",month:"月份",bwNum:"办文次数",tj:"统计",essayWritingNum:"拟文数量统计",officeDocumentNum:"办文次数统计",officeDocumentXlNum:"办文效率统计",officeDocumentHtNum:"办文退回率统计",officeDocumentCqlNum:"办文超期率统计",byType:"按类型",byDepart:"按部门",qwNum:"起文数量(个)",qwNum2:"起文数量",byTime:"按时间",byPerson:"按人员",officeDocumentNum1:"办文次数(次)",avgBwTime:"平均办文时长",avgThl:"平均退回率:",avgThl2:"平均退回率(%)",avgCql:"平均超期率",avgCql2:"平均超期率(%)",name:"姓名",avgBwTime2:"平均办文时长(小时)",title:"-办文超期前十排名",title2:"-办文效率后十名"}}}},4707:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function i(e,t,n){return(t=s(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e){var t=l(e,"string");return"symbol"==r(t)?t:t+""}function l(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,t||"default");if("object"!=r(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var d=n(184),c=n(5772),u=n(9811),p=n(8990),m={en:o({},d),zhCN:o({},c),es:o({},u),ja:o({},p)};e.exports=o({},m)},8990:function(e){e.exports={gwgl:{formTitle:"公文管理",moduleMenu:{gwHome:"公文主页",mygw:"我的公文",mubw:"我的办文",myyw:"我的阅文",overdueDocument:"超期办文",overdueNotProcessed:"超期未办",expiredProcessed:"超期已办",fawen:"发文管理",shouwen:"收文管理",myRegistered:"我登记的",fileAll:"全部文件",signIn:"签报管理",approvalMatters:"事项审批",requestReport:"请示报告",faxCorrespondence:"传真函件",ForeignCorrespondence:"外来函件",documentCirculation:"文件传阅",contactForm:"部门联系单",insideCommunicate:"内部沟通件",solicitationOpinions:"意见征集",documentsSupervision:"公文督办",Leadership:"领导批示件",archiveFiles:"归档文件",BorrowingDocuments:"公文借阅",invalidFile:"作废文件",OperationRecord:"操作记录",webService:"公文交换",signFile:"签收文件",tobeSigned:"待签收",signedFor:"已签收的",Rejected:"已拒收的",mySend:"我发送的",sendFile:"发送文件",toSend:"待发送",sended:"已发送",RejectOf:"被拒收",organizational:"机构管理",commonGroups:"常用组管理",commonUnits:"常用单位",gwSearch:"公文查询",bwstatistics:"办文统计",EssayWriting:"拟文数量统计",bwstatisticsNum:"办文次数统计",bwstatisticsEfficiency:"办文效率统计",returnRateStatistics:"退回率统计",overdueRate:"办理超期率统计",gwSettings:"公文设置",numberTemplate:"公文编号模板",urgentLevel:"紧急程度配置",gwTemplate:"公文模板配置",cpbTemplate:"呈批表模板配置",automaticArchiving:"自动归档设置",archiveClassification:"归档分类管理",officialDocument:"公文示例范文",configurationLeadership:"领导批示意见配置",todo:"待办",done:"已办",myDraft:"我起草的",all:"全部",draft:"草稿",processingProgress:"处理中",Ended:"已结束",tobeReviewed:"待阅",readAlready:"已阅",myCreated:"我创建的",notSubmit:"未提交",submitted:"已提交",pendingProcessing:"待处理",isProcessing:"已处理",myHandled:"我处理的",allFile:"全部文件"},common:{confirmButtonText:"确定",cancelButtonText:"取消",confirm:"确认",close:"关闭",open:"开启",saveAndClose:"保存关闭",UrgeProcessing:"催办",prompt:"提示",cancel:"取消",save:"保存",default:"恢复默认",SaveSettings:"保存设置",keywordsSearch:"请输入关键词搜索",to:"至",noData:"暂无数据",enable:"启用",disable:"禁用",agree:"同意",confirmCz:"确认操作",down:"下载",upload:"上传",updateTip:"更新提示",promoter:"发起人",participants:"参与人",status:"状态",statusPlaceholder:"请选择状态",operated:"操作",saveForm:"保存表单",yes:"是",no:"否",add:"添加",addNew:"新增",operatedTip:"操作提示",handleSuccess:"处理成功",saveSuccess:"保存成功",edit:"编辑",setting:"设置",please:"请输入",day:"天",export:"导出",fileTitle:"文件标题",fileTitlePlaceholder:"请输入文件标题",noGwModule:"暂无公文模板",remark:"备注",remarkmptyMessage:"请输入备注"},components:{fileSettings:"归档文件设置",archiveClassification:"归档分类",archiveClassificationSelect:"选择归档分类",archiveClassificationPlaceholder:"请选择归档分类",archivedType:"归档类型",archivedTypePlaceholder:"请选择归档类型",fileAccessPermission:"文件查阅权限",allPersonnel:"全体人员可阅",originalHandler:"原经办人可阅",handlerDesignated:"原经办人+指定人可阅",designatedReaders:"指定可阅人",specifyType:"指定类型",specifyGroup:"指定群组",specifyDepart:"指定部门",specifyPerson:"指定人员",selectGroup:"选择群组",selectDepart:"选择部门",selectPerson:"选择人员",GroupPlaceholder:"请选择群组",DepartPlaceholder:"请选择部门",PersonPlaceholder:"请选择人员",electronicFilling:"电子归档",paperArchiving:"纸质归档",selectFile:"请选择需要归档的文件!",selectArchiveClassification:"请选择归档分类!",selectArchivedType:"请选择归档类型!",index:"序号",cbUrgedPerson:"处理人",jsTime:"送达时间",banwenTime:"办理时间",wfNodeNames:"处理环节",departStatus:"部门办理情况",deptName:"部门名称",signingTime:"签收时间",internalCommsContent:"回复内容",creator:"经办人",createTime:"回复时间",attachs:"附件",editConfig:"若当前编辑未保存,则内容修改无效,是否继续?",selectModuleTip:"选择合同模版",haveModule:"该合同已经有模版!",haveModule2:"是否替换当前模版?",contractModule:"合同模版",selectNewM:"请选择新的合同模版:",updateGwType:"修改公文类型",haveGz:"该公文已经盖章,重新编辑正文后需要重新盖章!",haveGz2:"是否继续?",haveTh:"该公文已经套过红!",gwType:"公文类型",selectNewGw:"请选择新的公文类型:",isLoading:"正在下载文件,请稍候...",loadingSave:"正在保存附件,请稍候...",reloadFile:"正在重新加载文件,请稍候",transferNotice:"转通知公告",GgType:"公告类型",isTop:"是否置顶",ggTime:"公告时间",releaseScope:"发布范围",orderPerson:"指定人员",publishFiles:"发布文件",autoReadFile:"自动读取正文",fileName:"文件名",fileSize:"文件大小",fixTitle:"请填写文件标题!",selectType:"请选择公告类型",zdTitle:"制度标题",zdTitleEmptyMessage:"请输入制度主题",notice:"公告",inform:"通知",praise:"表扬",criticize:"批评",other:"其他",startTime:"开始日期",endTime:"结束日期",publishScopeRange:"请选择发布范围",allPerson:"全部人员",readeremptyMessage:"请输入查阅人"},gdgl:{abstract:"摘要",abstractPlaceholder:"请输入摘要",fileZw:"文件正文",fileZwEmptyMessage:"请选择文件正文",gwType:"公文种类",gwTypePlaceholder:"公文种类",swCode:"收文编号",swCodePlaceholder:"请输入收文编号",meetingStartTime:"会议开始时间",meetingStartTimePlaceholder:"请选择会议开始时间",draftDate:"拟稿日期",draftDatePlaceholder:"请选择成文日期",callDate:"召集日期",callDatePlaceholder:"请选择召集日期",meetingEndTime:"会议结束时间",meetingEndTimePlaceholder:"会议开始时间",submissionDate:"来文日期",submissionDatePlaceholder:"请选择来文日期",createTime:"创建日期",createTimePlaceholder:"请选择创建日期",documentSize:"文件字号",documentSizePlaceholder:"请填写文件字号",documentType:"来文字号",documentCode:"来文编号",flLwzhPlaceholder:"请填写来文{font}{size}",font:"字",weave:"编",name:"号",responseTime:"回复时限",responseTimePlaceholder:"请选择回复时限",reportingUnit:"来文单位",reportingUnitPlaceholder:"请输入来文单位",classification:"密级",classificationPlaceholder:"请选择密级",archivedType:"归档类型",archivedBy:"归档人",filingDate:"归档日期",filingDatePlaceholder:"请选择归档日期",urgency:"紧急程度",urgencyEmptyMessage:"请选择紧急程度",meetingAddress:"会议地点",meetingAddressPlaceholder:"请输入会议地点",recursionFile:"当前归档文件{num}件",fileType:"文件类型",fileClassification:"文件分类",flGwTypeElementFormatter:"单位发文:单位发文\r\n收文阅办:收文阅办\r\n文件传阅:文件传阅\r\n请示报告:请示报告\r\n部门便函:部门便函\r\n单位函:单位函\r\n办公室文件:办公室文件\r\n",gdTypeElementFormatter:"1:电子归档\r\n2:纸质归档\r\n1,2:全部类型\r\n",flSLevelElementFormatter:"1:一般\r\n2:特殊\r\n",borrowingApplication:"借阅申请",byClassification:"按分类",byTime:"按时间",byRecordType:"按文种"},gwjh:{addCommonGroup:"添加常用组",addChildCommonGroup:"添加子常用组",changeCommonGroup:"修改常用组",delCommonGroup:"删除常用组",noAddManageCommonGroup:"暂未添加管理常用组",commonGroupSettingTitle:"常用组管理设置",confirmDel:"确认删除“{val}”吗?",confirmDel2:"确认删除“{val}”及下级全部类型吗?",typeName:"分类名称",typeNamePlaceholder:"请输入分类名称",leadershipReading:"领导阅文",leadershipReadingEmptyMessage:"请选择领导阅文",depts:"部门收文",deptsPlaceholder:"部门收文",subReceivedDocuments:"单位收文",subReceivedDocumentsPlaceholder:"请选择单位收文",sortCategory:"分类排序",sortCategoryPlaceholder:"请输入分类排序",swOrgName:"收文单位",linkman:"收文单位联系人",faTime:"发文时间",textMessage:"短信",notSent:"未发送",sent:"已发送",recipient:"接收人",recipientPlaceholder:"请输入接收人",recipientFormat:"接收人格式如:",messengeContent:"短信内容",messengeContentPlaceholder:"请输入短信内容",all:"全部",sendText:"发文短信",urgentSMS:"催办短信",dwName:"单位名称",recipientPhone:"接收人号码",sendTime:"发送时间",swReceiveTime:"到达时间",sendFail:"发送失败",sendSuccess:"发送成功",swOpenTime:"开始办理时间",sendStatus:"短信发送状态",noUrgeProcessingSw:"暂无可催办的收文单位",setPermissions:"设置附件查阅权限",isLoading:"正在加载...",noData:"无数据",externalUnits:"外单位收文",signDocuments:"签收文件",signWay:"签收方式",signWayPlaceholder:"请输入选择状态",signFor:"签收",rejection:"拒收",reason:"原因",inputReason:"请输入原因",telPhone:"联系电话",telPhonePlaceholder:"请输入手机号码",status:"处理状态",reflectWarn:"请先填写拒收原因!",fileWarn:"请先选择文件!",keyPlaceholder:"请输入搜索关键字",selectAll:"全选",clear:"清除",selectGwDepart:"请选择收文单位。",sendFileConfirm:"您是否确认立即发送文件?",sendTracking:"发送跟踪",sendFileSuccess:"发送文件成功{num}份,失败{failNum}份!",del:"删除",winTitle:"发送本单位",commonGroup:"常用组",fileLeader:"阅文领导",departDw:"收文部门/单位",bmswDeptName:"收文部门",sendRange:"发送范围:",commonGroupType:"常用组分类",winTitle2:"发送文件",toListAlert:"请选择阅文领导、收文部门、单位发文。",fileRandMsg:"请选择部门或单位。",addCommonGroupClickMsg:"请选择需要设未常用组的数据。",delSuccessMsg:"删除成功。",delGroupConfirm:"确认删除删除该常用组?",processingStatus:"办理情况",withdrawn:"已撤回",drawn:"撤回",allSwdw:"全部收文单位(",wddDw:"未到达单位(",yddDw:"已到达单位(",sendFailDw:"发送失败单位(",yqsDw:"已签收单位(",yjsDw:"已拒收单位(",msgCb:"短信催办",zdyMsgCb:"自定义短信催办",msgRecord:"短信记录",importOrgTitle:"清远市公安局政务OA系统导入:",uploadIllustrate:"上传文件内容格式说明:",uploadIllustrateOne:"1.导入文件应为Office Excel文件;",uploadIllustrateTwo:"2.导入文件暂不支持Office 2007及以后版本的Excel文件,如您使用的是Office 2007及以后版本,请把Excel文件转换为2003或之前的版本格式,具体转换方式为:打开的Excel文件中,选择“另存为”->“Excel 97-2003工作簿”;",uploadIllustrateThree:"3.进行导入操作时,请确保您导入的文件并未处于使用状态。",example:"上传文件内容示例:",clickDown:"点击下载",downText:"点击下载Excel导入示例",selectFile:"选择文件",startImport:"开始导入",importAlert:"请选择导入文件",addInstitution:"添加机构",addChildInstitution:"添加子机构",updateInstitution:"修改机构",delInstitution:"删除机构",isNoAddInstitution:"暂未添加管理机构",institutionSet:"机构管理设置",orgLevel:"上级机构",orgName:"机构名称",orgNamePlaceholder:"请选择机构名称",level:"级别",order:"排序",orderPlaceholder:"请输入4位数字排序号",orgLevelOptions1:"一级(公司级)",orgLevelOptions2:"二级(部门级)",continueConfirm:"文件已发送,是否继续本次发送?",operateConfirm:"操作确认",noZwFile:"没有正文文件,不能发送。",noSaveAlert:"公文附件有更新,请先执行“保存”操作后再发送!"},setting:{levelType:"上级分类",classicDescription:"分类描述",classicDescriptionPlaceholder:"分类描述",sortNumber:"排序号",sortNumberEmptyMessage:"请输入四位数的排序号",effective:"有效",invalid:"无效",formTitle:"归档分类设置",addNewMenu:"新增子菜单",delMenu:"删除菜单",confirmUpdate:"确认修改",addChildType:"新增子分类",delType:"新增子分类",truelyPhone:"请输入正确的四位数排序号",automaticArchiving:"自动归档",archiveFileType:"归档文件类型",completedDocuments:"已办结文件",afterCompletion:"办结后",dayFile:"天归档",noCompletedDocuments:"未办结文件",forCreate:"自创建起",afterFile:"归档后",dayDel:"天删除",reminderMethod:"提醒方式",email:"邮件",textMessageRecepitor:"短信接收人员",footerText:"注:天数为0,则不进行自动归档",group:"群组",depart:"部门",person:"人员",submitAlert:"请选择归档文件类型",submitAlert2:"请选择提醒方式",submitAlert3:"请选择短信接收人员",submitAlertTip:"温馨提示"},portlet:{unitDocument:"单位发文",readingOffice:"收文阅办",receiptDocuments:"部门收文",documentCirculation:"文件传阅",departmentalLetter:"部门便函",solicitationOpinions:"意见征集",requestInstructions:"请示报告",preview:"预览"},tjbg:{documentType:"办文类性",num:"数量",notTimedOut:"未超时",tjzq:"统计周期:",startMonth:"开始月份",endMonth:"结束月份",startDate:"开始日期",endDate:"结束日期",allDepart:"所有部门",month:"月份",bwNum:"办文次数",tj:"统计",essayWritingNum:"拟文数量统计",officeDocumentNum:"办文次数统计",officeDocumentXlNum:"办文效率统计",officeDocumentHtNum:"办文退回率统计",officeDocumentCqlNum:"办文超期率统计",byType:"按类型",byDepart:"按部门",qwNum:"起文数量(个)",qwNum2:"起文数量",byTime:"按时间",byPerson:"按人员",officeDocumentNum1:"办文次数(次)",avgBwTime:"平均办文时长",avgThl:"平均退回率:",avgThl2:"平均退回率(%)",avgCql:"平均超期率",avgCql2:"平均超期率(%)",name:"姓名",avgBwTime2:"平均办文时长(小时)",title:"-办文超期前十排名",title2:"-办文效率后十名"}}}},5772:function(e){e.exports={gwgl:{menuItem:{formTitle:"公文管理",gwHome:"公文主页",mygw:"我的公文",mubw:"我的办文",myyw:"我的阅文",overdueDocument:"超期办文",overdueNotProcessed:"超期未办",expiredProcessed:"超期已办",fawenManager:"发文管理",shouwenManager:"收文管理",myRegistered:"我登记的",fileAll:"全部文件",signIn:"签报管理",approvalMatters:"事项审批",requestReport:"请示报告",faxCorrespondence:"传真函件",ForeignCorrespondence:"外来函件",documentCirculation:"文件传阅",contactForm:"部门联系单",insideCommunicate:"内部沟通件",solicitationOpinions:"意见征集",documentsSupervision:"公文督办",Leadership:"领导批示件",archiveFiles:"归档文件",BorrowingDocuments:"公文借阅",invalidFile:"作废文件",OperationRecord:"操作记录",webService:"公文交换",signFile:"签收文件",tobeSigned:"待签收",signedFor:"已签收的",Rejected:"已拒收的",mySend:"我发送的",sendFile:"发送文件",toSend:"待发送",sended:"已发送",RejectOf:"被拒收",organizational:"机构管理",commonGroups:"常用组管理",commonUnits:"常用单位",gwSearch:"公文查询",bwstatistics:"办文统计",EssayWriting:"拟文数量统计",bwstatisticsNum:"办文次数统计",bwstatisticsEfficiency:"办文效率统计",returnRateStatistics:"退回率统计",overdueRate:"办理超期率统计",gwSettings:"公文设置",numberTemplate:"公文编号模板",urgentLevel:"紧急程度配置",gwTemplate:"公文模板配置",cpbTemplate:"呈批表模板配置",automaticArchiving:"自动归档设置",archiveClassification:"归档分类管理",officialDocument:"公文示例范文",configurationLeadership:"领导批示意见配置",todo:"待办",done:"已办",myDraft:"我起草的",all:"全部",draft:"草稿",processingProgress:"处理中",Ended:"已结束",tobeReviewed:"待阅",readAlready:"已阅",myCreated:"我创建的",notSubmit:"未提交",submitted:"已提交",pendingProcessing:"待处理",isProcessing:"已处理",myHandled:"我处理的",allFile:"全部文件"},common:{statusPlaceholder:"请选择状态",numDay:"{num}天",please:"请输入",fileTitle:"文件标题",fileTitlePlaceholder:"请输入文件标题",noGwModule:"暂无公文模板",remarkmptyMessage:"请输入备注"},messages:{selectFile:"请选择需要归档的文件!",selectArchiveClassification:"请选择归档分类!",selectArchivedType:"请选择归档类型!",editConfig:"若当前编辑未保存,则内容修改无效,是否继续?",selectModuleTip:"选择合同模版",haveModule:"该合同已经有模版!",haveModule2:"是否替换当前模版?",haveGz:"该公文已经盖章,重新编辑正文后需要重新盖章!",haveGz2:"是否继续?",haveTh:"该公文已经套过红!",fixTitle:"请填写文件标题!",selectType:"请选择公告类型",selectData:"请先选择数据!",confirmDel:"确认删除“{val}”吗?",confirmDel2:"确认删除“{val}”及下级全部类型吗?",noUrgeProcessingSw:"暂无可催办的收文单位",selectGwDepart:"请选择收文单位。",sendFileConfirm:"您是否确认立即发送文件?",selectLeader:"请选择阅文领导、收文部门。",sendFileSuccess:"发送文件成功{num}份,失败{failNum}份!",toListAlert:"请选择阅文领导、收文部门、单位发文。",fileRandMsg:"请选择部门或单位。",addCommonGroupClickMsg:"请选择需要设未常用组的数据。",delGroupConfirm:"确认删除删除该常用组?",importAlert:"请选择导入文件",continueConfirm:"文件已发送,是否继续本次发送?",noZwFile:"没有正文文件,不能发送。",noSaveAlert:"公文附件有更新,请先执行“保存”操作后再发送!",sortNumberEmptyMessage:"请输入四位数的排序号",truelyPhone:"请输入正确的四位数排序号",submitAlert:"请选择归档文件类型",submitAlert2:"请选择提醒方式",submitAlert3:"请选择短信接收人员",submitAlertTip:"温馨提示"},components:{fields:{categoryName:"归档分类",gdType:"归档类型",accessRightsType:"文件查阅权限",appoints:"指定类型",cbUrgedPerson:"处理人",jsTime:"送达时间",banwenTime:"办理时间",wfNodeNames:"处理环节",departStatus:"部门办理情况",deptName:"部门名称",signingTime:"签收时间",internalCommsContent:"回复内容",creator:"经办人",createTime:"回复时间",attachs:"附件",flSubject:"文件标题",type:"公告类型",ggTime:"公告时间",publishScope:"发布范围",readersName:"指定人员",publishFiles:"发布文件"},fileSettings:"归档文件设置",archiveClassificationSelect:"选择归档分类",archiveClassificationPlaceholder:"请选择归档分类",archivedTypePlaceholder:"请选择归档类型",allPersonnel:"全体人员可阅",originalHandler:"原经办人可阅",handlerDesignated:"原经办人+指定人可阅",designatedReaders:"指定可阅人",specifyType:"指定类型",specifyGroup:"指定群组",specifyDepart:"指定部门",specifyPerson:"指定人员",selectGroup:"选择群组",selectDepart:"选择部门",selectPerson:"选择人员",GroupPlaceholder:"请选择群组",DepartPlaceholder:"请选择部门",PersonPlaceholder:"请选择人员",electronicFilling:"电子归档",paperArchiving:"纸质归档",contractModule:"合同模版",selectNewM:"请选择新的合同模版:",updateGwType:"修改公文类型",gwType:"公文类型",selectNewGw:"请选择新的公文类型:",isLoading:"正在下载文件,请稍候...",loadingSave:"正在保存附件,请稍候...",reloadFile:"正在重新加载文件,请稍候",transferNotice:"转通知公告",isTop:"是否置顶",autoReadFile:"自动读取正文",fileName:"文件名",fileSize:"文件大小",zdTitle:"制度标题",zdTitleEmptyMessage:"请输入制度主题",notice:"公告",inform:"通知",praise:"表扬",criticize:"批评",other:"其他",startTime:"开始日期",endTime:"结束日期",publishScopeRange:"请选择发布范围",allPerson:"全部人员",readeremptyMessage:"请输入查阅人"},gdgl:{fields:{flContent:"摘要",fileName:"文件正文",gwType:"公文种类",swCode:"收文编号",startTime:"会议开始时间",flCreateDate:"创建日期",callDate:"召集日期",endTime:"会议结束时间",flLwrq:"来文日期",flGrade:"文件字号",documentType:"来文字号",documentCode:"来文编号",replyTime:"回复时限",flLwdw:"来文单位",flSLevel:"密级",gdType:"归档类型",creator:"归档人",gdTime:"归档日期",categoryName:"归档分类管理",flELevel:"紧急程度",address:"会议地点"},abstractPlaceholder:"请输入摘要",fileZwEmptyMessage:"请选择文件正文",gwTypePlaceholder:"请输入公文种类",swCodePlaceholder:"请输入收文编号",meetingStartTimePlaceholder:"请选择会议开始时间",draftDatePlaceholder:"请选择成文日期",callDatePlaceholder:"请选择召集日期",meetingEndTimePlaceholder:"会议结束时间",submissionDatePlaceholder:"请选择来文日期",createTimePlaceholder:"请选择创建日期",documentSizePlaceholder:"请填写文件字号",flLwzhPlaceholder:"请填写来文{font}{size}",responseTimePlaceholder:"请选择回复时限",reportingUnitPlaceholder:"请输入来文单位",classificationPlaceholder:"请选择密级",filingDatePlaceholder:"请选择归档日期",urgencyEmptyMessage:"请选择紧急程度",meetingAddressPlaceholder:"请输入会议地点",recursionFile:"当前归档文件{dataType}件",flELevelFormatter:"平件:平件\n急件:急件\n特急:特急",flGwTypeElementFormatter:"单位发文:单位发文\r\n收文阅办:收文阅办\r\n文件传阅:文件传阅\r\n请示报告:请示报告\r\n部门便函:部门便函\r\n单位函:单位函\r\n办公室文件:办公室文件\r\n",gdTypeElementFormatter:"1:电子归档\r\n2:纸质归档\r\n1,2:全部类型\r\n",flSLevelElementFormatter:"1:一般\r\n2:特殊\r\n",borrowingApplication:"借阅申请",byClassification:"按分类",byTime:"按时间",byRecordType:"按文种"},pageBtns:{addCommonGroup:"添加常用组",addChildCommonGroup:"添加子常用组",changeCommonGroup:"修改常用组",delCommonGroup:"删除常用组",all:"全部",sendText:"发文短信",urgentSMS:"催办短信",selectFile:"选择文件",startImport:"开始导入",updateInstitution:"修改机构",delInstitution:"删除机构",confirmUpdate:"确认修改",addChildType:"新增子分类",delType:"删除子分类",tj:"统计"},gwjh:{fields:{typeName:"分类名称",leaders:"领导阅文",fenju:"单位收文",sortCategory:"分类排序",recipient:"接收人",content:"短信内容",swOrgName:"收文单位",linkman:"收文单位联系人",faTime:"发文时间",textMessage:"短信",dwName:"单位名称",recipientPhone:"接收人号码",sendTime:"发送时间",swReceiveTime:"到达时间",sendStatus:"短信发送状态",externalUnits:"外单位收文",qsType:"签收方式",telPhone:"联系电话",fileLeader:"阅文领导",departDw:"收文部门/单位",bmswDeptName:"收文部门",swOpenTime:"开始办理时间",orgLevel:"上级机构",orgName:"机构名称",level:"级别",orderNo:"排序"},dwName2:"单位名称:",inputEmailText:"填写短信内容",noAddManageCommonGroup:"暂未添加管理常用组",commonGroupSettingTitle:"常用组管理设置",typeNamePlaceholder:"请输入分类名称",leadershipReadingEmptyMessage:"请选择领导阅文",depts:"部门收文",deptsPlaceholder:"部门收文",subReceivedDocumentsPlaceholder:"请选择单位收文",sortCategoryPlaceholder:"请输入分类排序",notSent:"未发送",sent:"已发送",recipientPlaceholder:"请输入接收人",recipientFormat:"接收人格式如:152********,158********",messengeContentPlaceholder:"请输入短信内容",sendFail:"发送失败",sendSuccess:"发送成功",setPermissions:"设置附件查阅权限",signDocuments:"签收文件",signWayPlaceholder:"请输入选择状态",signFor:"签收",rejection:"拒收",reason:"原因",inputReason:"请输入原因",telPhonePlaceholder:"请输入手机号码",status:"处理状态",reflectWarn:"请先填写拒收原因!",fileWarn:"请先选择文件!",keyPlaceholder:"请输入搜索关键字",selectAll:"全选",clear:"清除",del:"删除",sendTracking:"发送跟踪",winTitle:"发送本单位",commonGroup:"常用组",sendStatus:"发送中",sendStatus2:"已发送",sendStatus3:"已到达",sendStatus4:"已签收",sendStatus5:"已拒收",sendStatus6:"已回复",sendStatus7:"已撤回",sendStatus8:"发送失败",noOpen:"未打开",noScan:"未签收",noArrived:"未到达",sendRange:"发送范围:",commonGroupType:"常用组分类",winTitle2:"发送文件",processingStatus:"办理情况",withdrawn:"已撤回",drawn:"撤回",allSwdw:"全部收文单位(",wddDw:"未到达单位(",yddDw:"已到达单位(",sendFailDw:"发送失败单位(",yqsDw:"已签收单位(",yjsDw:"已拒收单位(",msgCb:"短信催办",zdyMsgCb:"自定义短信催办",msgRecord:"短信记录",importOrgTitle:"清远市公安局政务OA系统导入:",uploadIllustrate:"上传文件内容格式说明:",uploadIllustrateOne:"1.导入文件应为Office Excel文件;",uploadIllustrateTwo:"2.导入文件暂不支持Office 2007及以后版本的Excel文件,如您使用的是Office 2007及以后版本,请把Excel文件转换为2003或之前的版本格式,具体转换方式为:打开的Excel文件中,选择“另存为”->“Excel 97-2003工作簿”;",uploadIllustrateThree:"3.进行导入操作时,请确保您导入的文件并未处于使用状态。",example:"上传文件内容示例:",clickDown:"点击下载",downText:"点击下载Excel导入示例",orgNameEmpty:"请输入机构名称",addInstitution:"添加机构",addChildInstitution:"添加子机构",isNoAddInstitution:"暂未添加管理机构",institutionSet:"机构管理设置",orgNamePlaceholder:"请选择机构名称",orderPlaceholder:"请输入4位数字排序号",orgLevelOptions1:"一级(公司级)",orgLevelOptions2:"二级(部门级)"},setting:{fields:{levelType:"上级分类",typeName:"分类名称",classicDescription:"分类描述",sortNumber:"排序号",autoToArch:"自动归档",archiveFileType:"归档文件类型",afterCompletion:"办结后",completedDocuments:"已办结文件",noCompletedDocuments:"未办结文件",forCreate:"自创建起",afterFile:"归档后",reminderMethod:"提醒方式",remindPersonName:"短信接收人员"},gdgzTitle:"自动归档规则设置",gdgzTitle2:"自动/手动归档提醒设置",classicDescriptionPlaceholder:"请输入分类描述",effective:"有效",invalid:"无效",formTitle:"归档分类设置",addNewMenu:"新增子菜单",delMenu:"删除菜单",dayFile:"天归档",dayDel:"天删除",email:"邮件",footerText:"注:天数为0,则不进行自动归档",group:"群组",depart:"部门",person:"人员"},portlet:{searching:"搜索...",unitDocument:"单位发文",readingOffice:"收文阅办",receiptDocuments:"部门收文",documentCirculation:"文件传阅",departmentalLetter:"部门便函",solicitationOpinions:"意见征集",requestInstructions:"请示报告",dzgg:"电子公告",hytz:"会议通知",preview:"预览",all:"全部"},tjbg:{fields:{selectDepart:"选择部门:",fileType:"文件类型:",tjzq:"统计周期:"},pleaseSelect:"请选择",documentType:"办文类性",num:"数量",notTimedOut:"未超时",startMonth:"开始月份",endMonth:"结束月份",startDate:"开始日期",endDate:"结束日期",allDepart:"所有部门",month:"月份",bwNum:"办文次数",fileType2:"文件类型",essayWritingNum:"拟文数量统计",officeDocumentNum:"办文次数统计",officeDocumentXlNum:"办文效率统计",officeDocumentHtNum:"办文退回率统计",officeDocumentCqlNum:"办文超期率统计",byType:"按类型",byDepart:"按部门",qwNum:"起文数量(个)",qwNum2:"起文数量",byTime:"按时间",byPerson:"按人员",officeDocumentNum1:"办文次数(次)",avgBwTime:"平均办文时长",avgThl:"平均退回率:",avgThl2:"平均退回率(%)",avgCql:"平均超期率",avgCql2:"平均超期率(%)",name:"姓名",avgBwTime2:"平均办文时长(小时)",title:"-办文超期前十排名",title2:"-办文效率后十名",mergeMinute:"{s}秒",mergeMinute1:"{m}分钟{s}秒",mergeMinute2:"{h}小时{m}分钟{s}秒",mergeMinute3:"{d}天{h}小时{m}分钟{s}秒"},fawen:{formTitle:"发文管理-仿真(zwoa)",fields:{flSubject:"文件标题",flDealDate:"办理期限",sendGgZd:"发布通知公告/规章制度",sendElectronGw:"发送电子公文",flELevel:"紧急程度 ",flFwzh:"文件字号",flCreator:"创建人",flCopySend:"抄送",flContent:"文件内容",flSLevel:"密级 ",flCreateDept:"创建部门",ifHaveZzyj:"是否需要纸质版原件",flPrintCount:"印发份数",flType:"文件类型",flJbrPhone:"经办人电话",flMainSend:"主送",flCreatorPhone:"联系电话",flCreateDate:"创建时间 ",flJbr:"经办人"}},fileSerial:{formTitle:"公文编号模板",fields:{sortNo:"排序号",moduleCode:"适用模块",mbContent:"编号格式",status:"状态"}},wjcy:{formTitle:"文件传阅",fields:{flLwzh:"来文编号",flSwzh:"收文编号",flSLevel:"密级 ",flCreatorPhone:"联系电话",flCreateDept:"登记部门",flELevel:"紧急程度 ",flSubject:"文件标题",flLwrq:"来文日期",flDealDate:"办理期限 ",flCreator:"登记人",flContent:"备注",flLwdw:"来文单位",flCreateDate:"登记日期 "}},gdwj:{formTitle:"归档文件",fields:{creator:"归档人",categoryName:"归档分类",address:"会议地点",flCreateDate:"创建日期",gdTime:"归档日期",flSwzh:"收文编号",replyTime:"回复时限",flSubject:"文件标题",deptOrName:"选择人员",flGrade:"文件字号",flContent:"摘要",startTime:"会议开始时间",flLwrq:"来文日期 ",accessRightsType:"文件查阅权限 ",flSLevel:"密级",gdType:"归档类型",endTime:"会议结束时间",flLwzh:"来文字号",appoints:"指定类型",flLwdw:"来文单位",flGwType:"公文种类",flELevel:"紧急程度",fl:"文件分类"}},modelFile:{formTitle:"公文示例范文",fields:{visitType:"发布范围 ",status:"状态 ",createTime:"创建时间",flType:"文件类型",readersName:"查阅人",flSubject:"文件标题"},options:{visitType:{0:"全部人员",3:"指定人员"}}},cpbFile:{formTitle:"呈批表模板",fields:{mbType:"模板类型 ",status:"状态 ",mbFileData:"模板文件",mbVer:"模板版本",name:"模版名称",printLock:"打印锁定 "}},yjzj:{formTitle:"意见征集",fields:{flSLevel:"密级",flCreateDate:"创建日期",replyTime:"回复时限",flELevel:"紧急程度",flSubject:"文件标题",flCreator:"创建人",flCreateDept:"创建部门",flCreatorPhone:"联系电话",flContent:"内容摘要"}},commonGroup:{formTitle:"常用组管理",fields:{typeName:"分类名称",orderNo:"分类排序"}},shouwenDept:{formTitle:"公文管理》收文部门办理",fields:{ifOversee:"是否督办",flContent:"内容摘要",flType:"收文类型",type:"办理类型",flSubject:"文件标题",flLwdw:"来文单位",flELevel:"紧急程度",flCreator:"登记人",flCreateDate:"收文时间 ",flDealDate:"办理期限",flLwcontacts:"来文联系人",flLwzh:"来文字号",flCreatorPhone:"联系电话",flCreateDept:"登记部门/院系",flSwzh:"收文编号"}},fwmb:{formTitle:"公文模板",fields:{sortNo:"排序号",formTitle:"拟稿纸名称",status:"状态 ",name:"模板名称",signOrg:"印发机构",fileHeader:"文件头名称",fileContent:"模板文件",fileWord:"文件字"}},yanqiApply:{formTitle:"公文管理》延期申请单",fields:{flDealDate:"原办理期限",flCreatorPhone:"联系电话",flDelayDate:"新办理时限",ifAsk:"来文单位意见",flCreateDate:"申请日期 ",flSubject:"文件标题",flCreateDept:"申请部门",flCreator:"申请人"}},qianbao:{formTitle:"公文管理》签报",fields:{flSubject:"标题",flQianbaoType:"签报类型",flCopySend:"抄送",flELevel:"紧急程度",flMainSend:"主送",flCreateDept:"拟稿部门",flCreator:"拟稿人",flCreateDate:"拟稿日期 ",flContent:"签报内容",flFwzh:"签报字号",flCreatorPhone:"联系电话",flSLevel:"密级"}},internalComms:{formTitle:"公文管理>内部沟通件",fields:{flCreatorPhone:"联系电话",flCreateDate:"申请日期 ",flELevel:"紧急程度",flFeedback:"是否需要反馈意见",flCreateDept:"申请部门",flSubject:"文件标题",internalCommsType:"内部沟通件类型",flContent:"工作要求",flDealDate:"回复时限",flDept:"办理部门",flCreator:"申请人"},fileAttach:"文件附件",blReasult:"办理结果"},qsbg:{formTitle:"公文管理》请示报告",fields:{flSubject:"文件标题",flCreator:"拟稿人",flELevel:"紧急程度",flContent:"内容摘要",flSLevel:"密级",flCreateDate:"拟稿日期 ",flCreatorPhone:"联系电话",flCreateDept:"拟稿部门"}},cpbWflow:{formTitle:"稿纸模板关联流程",fields:{wfdCode:"流程编号",wfdName:"流程名称",wfdVer:"流程版本"}},fileLevel:{formTitle:"文件紧急程度",fields:{status:"状态 ",eName:"紧急程度",eLevel:"级别 "}},leadIdeaConfig:{formTitle:"领导批示意见配置",fields:{status:"是否启用",ideaLabel:"意见标签",wfName:"流程"}},bmbh:{formTitle:"公文管理>部门联系单",fields:{flContactPerson:"联系人",flCreateDept:"创建部门",flContent:"摘要",flCreateDate:"创建日期",flSubject:"标题",flCreatorPhone:"联系电话",flDealDate:"办理期限",flSLevel:"密级",flCreator:"创建人",flContactDept:"联系部门",flELevel:"紧急程度"}},shouwen:{formTitle:"收文管理_部门收文",fields:{flELevel:"紧急程度 ",flType:"来文类型 ",flNbyj:"拟办意见",flLwzh:"来文字号",flLwrq:"来文日期 ",flSLevel:"密级 ",ifOversee:"是否督办",flSubject:"文件标题",flDealDate:"办理期限",flLwdw:"来文单位",flContent:"内容摘要"}},hytz:{formTitle:"会议通知",fields:{leaders:"出席领导",compere:"会议主持人",flCreateDate:"召集日期",flELevel:"紧急程度",flSubject:"文件标题",flCreatorPhone:"联系电话",address:"会议地点",flCreateDept:"召集部门 ",flContent:"会议内容",flCreator:"召集人",endTime:"会议结束时间",peoplesCount:"参加会议人数",flSLevel:"密级",startTime:"会议开始时间"}},jysq:{formTitle:"借阅申请",fields:{flCreateDate:"申请日期 ",flCreatorPhone:"联系电话",flCreator:"申请人",flSubject:"申请事由",flCreateDept:"申请部门",flContent:"备注",startDate:"开始时间",endDate:"结束时间"}},facsimileLetter:{formTitle:"传真函件",fields:{flSLevel:"密级",flMainSend:"主送",flELevel:"紧急程度",flQianbaoType:"签报类型",flCreatorPhone:"联系电话",flFwzh:"传真字号",flSubject:"标题",flCopySend:"抄送",flContent:"传真内容",flCreateDept:"拟稿部门",flCreateDate:"拟稿日期 ",flCreator:"拟稿人"}},nullifyRecords:{formTitle:"文件作废记录",fields:{createTime:"操作时间",title:"文件标题",nullifyContent:"作废原因",creator:"操作人"}}}}},8075:function(e,t,n){"use strict";var r=n(453),a=n(487),o=a(r("String.prototype.indexOf"));e.exports=function(e,t){var n=r(e,!!t);return"function"===typeof n&&o(e,".prototype.")>-1?a(n):n}},487:function(e,t,n){"use strict";var r=n(6743),a=n(453),o=n(6897),i=n(9675),s=a("%Function.prototype.apply%"),l=a("%Function.prototype.call%"),d=a("%Reflect.apply%",!0)||r.call(l,s),c=n(655),u=a("%Math.max%");e.exports=function(e){if("function"!==typeof e)throw new i("a function is required");var t=d(r,l,arguments);return o(t,1+u(0,e.length-(arguments.length-1)),!0)};var p=function(){return d(r,s,arguments)};c?c(e.exports,"apply",{value:p}):e.exports.apply=p},5154:function(e,t,n){"use strict";n.r(t);var r=n(1601),a=n.n(r),o=n(6314),i=n.n(o),s=i()(a());s.push([e.id,".el-table__body.el-table__body-no[data-v-e9973e82]{table-layout:auto}",""]),t["default"]=s},58:function(e,t,n){"use strict";n.r(t);var r=n(1601),a=n.n(r),o=n(6314),i=n.n(o),s=i()(a());s.push([e.id,".wflow-container .internalCommsInfo .el-form .internalCommsInfo_table .el-table[data-v-51438016]:after,.wflow-container .internalCommsInfo .el-form .internalCommsInfo_table .el-table[data-v-51438016]:before{background-color:#fff!important}.wflow-container .internalCommsInfo[data-v-51438016] .el-form .el-table.el-table--border td:last-child{border-right:none}",""]),t["default"]=s},2537:function(e,t,n){"use strict";n.r(t);var r=n(1601),a=n.n(r),o=n(6314),i=n.n(o),s=i()(a());s.push([e.id,".bottombar[data-v-4b14c1db]{position:absolute;background-color:#f1f1f1;height:4px;width:100%;margin-top:-4px}#bodyfilebox[data-v-4b14c1db]{height:calc(100vh - 74px);border:0;text-align:center;font-size:16px}#bodyfilebox .bodyfile[data-v-4b14c1db]{height:100%;width:100%}.nobodyfile[data-v-4b14c1db]{background-color:#fff;height:calc(100% - 10px);margin:auto}.nobodyfile .nofile[data-v-4b14c1db]{width:76px!important;height:76px!important;margin-top:100px;opacity:.5}.nobodyfile .filename[data-v-4b14c1db]{display:inline-block;font-size:18px;font-weight:600;width:90%;text-align:center;margin-top:100px;margin-bottom:20px}@media (max-width:1569px){.nobodyfile[data-v-4b14c1db]{width:980px}}@media (min-width:1570px){.nobodyfile[data-v-4b14c1db]{width:1200px}}",""]),t["default"]=s},3125:function(e,t,n){"use strict";n.r(t);var r=n(1601),a=n.n(r),o=n(6314),i=n.n(o),s=i()(a());s.push([e.id,".color-box[data-v-01bdb8c2]{display:inline-block;margin-top:4px;margin-right:5px;width:15px;min-width:15px;height:15px}.text-box[data-v-01bdb8c2]{-webkit-box-flex:1;-ms-flex:1;flex:1;text-align:left}.divCenter[data-v-01bdb8c2],.text-box[data-v-01bdb8c2]{overflow:inherit;text-overflow:inherit}.divCenter[data-v-01bdb8c2]{display:-webkit-box;display:-ms-flexbox;display:flex;padding:0 10px;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}",""]),t["default"]=s},6979:function(e,t,n){"use strict";n.r(t);var r=n(1601),a=n.n(r),o=n(6314),i=n.n(o),s=i()(a());s.push([e.id,"[data-v-5ec99cdd]:export{stdMenuBgcolor:var(--lmBgColor);stdMenuHover:var(--lmBgColorActive)!important;stdMenuText:var(--lmTextColor)!important;stdMenuAcitveText:var(--lmTextColorActive)!important;stdSubMenuBgcolor:var(--lmBgColor);stdSubMenuHover:hsla(193,8%,67%,.42);stdSubMenuActiveText:var(--lmTextColorActive)!important;darkMenuBgcolor:#304156;darkMenuHover:#263445;darkMenuText:#bfcbd9;darkMenuAcitveText:#ffd04b;darkSubMenuBgcolor:#384b63;darkSubMenuHover:#263445;darkSubMenuActiveText:#ffd04b;sideBarWidth:210px;formLabelWidth:133px;lightBlue:var(--subjectColor)}.TopBtn-dropdown-menu[data-v-5ec99cdd]{margin-top:0!important;text-align:center}.TopBtn[data-v-5ec99cdd]{background:#fff;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.TopBtn .commandBtn[data-v-5ec99cdd]{margin-right:14px}.TopBtn .glyphicon-off[data-v-5ec99cdd]{color:red}.TopBtn .download[data-v-5ec99cdd]{color:#0e830e}.TopBtn .save[data-v-5ec99cdd]{color:#00008b}.TopBtn .el-icon-setting[data-v-5ec99cdd]{color:#ff7b00d8}.TopBtn .el-icon-edit[data-v-5ec99cdd],.TopBtn .el-icon-edit-outline[data-v-5ec99cdd]{color:#00008b}.TopBtn .el-icon-refresh-left[data-v-5ec99cdd]{color:#ff7b00d8}.bottom-bar[data-v-5ec99cdd]{z-index:1000!important;margin:0 auto;position:fixed;bottom:0;left:0;right:0;height:76px;-webkit-box-shadow:0 -2px 4px 0 rgba(0,0,0,.06);box-shadow:0 -2px 4px 0 rgba(0,0,0,.06)}",""]),t["default"]=s},1340:function(e,t,n){"use strict";n.r(t);var r=n(1601),a=n.n(r),o=n(6314),i=n.n(o),s=i()(a());s.push([e.id,'.top_title>span[data-v-6dd6ca80]{display:inline-block}.top_title .main_head[data-v-6dd6ca80]{font-size:22px}.top_title .main_head.main_head_slicer[data-v-6dd6ca80]{padding-right:10px;margin-right:10px;position:relative}.top_title .main_head.main_head_slicer[data-v-6dd6ca80]:after{content:"";position:absolute;right:0;width:0;height:0;top:14px;background:#fff;opacity:.2}.top_title .sub_head[data-v-6dd6ca80]{font-size:16px;margin-right:6px}[data-v-6dd6ca80] .page-header-container{border-bottom:0 solid!important}.wflow-container-bottom-bar .wflow-container-loaded[data-v-6dd6ca80]{height:calc(100vh - 70px);padding-bottom:98px}.wflow-container-bottom-bar[data-v-6dd6ca80] .bottom-bar{margin-bottom:10px}@media (max-width:1569px){.wflow-container-bottom-bar[data-v-6dd6ca80] .bottom-bar{width:980px}}@media (min-width:1570px){.wflow-container-bottom-bar[data-v-6dd6ca80] .bottom-bar{width:1200px}}.wflow-container-top-bar .wflow-container-loaded[data-v-6dd6ca80]{height:calc(100vh - 70px)}.mainform-container[data-v-6dd6ca80]{overflow-y:hidden;overflow-x:hidden;margin-top:0}.mainform-container .el-scrollbar[data-v-6dd6ca80]{width:100%;height:calc(100vh - 70px)}.mainform-container .el-scrollbar[data-v-6dd6ca80] .el-scrollbar__wrap{overflow-x:hidden}.mainform-container .mainform-have-sidebar[data-v-6dd6ca80]{display:inline-block}.mainform-container .mainform-sidebar[data-v-6dd6ca80]{display:inline-block;vertical-align:top;background-color:#fff;border-left:1px solid #f3f3f3}.mainform-container .sidebar-attach-container[data-v-6dd6ca80]{background-color:#fff;position:relative}.mainform-container .not-have-bottom-idealist[data-v-6dd6ca80]{min-height:calc(100vh - 90px)!important}.mainform-container .page-container[data-v-6dd6ca80]{min-height:100%;background:#fff;position:relative;margin:10px auto}.mainform-container .page-container .form-container[data-v-6dd6ca80]{position:relative;margin:0 auto;padding-top:30px;padding-bottom:20px}.mainform-container .page-container .form-container .form-header[data-v-6dd6ca80]{padding-bottom:20px}.mainform-container .page-container .form-container .form-header .form-title[data-v-6dd6ca80]{font-size:24px;font-weight:400;text-align:center;color:#545454}.mainform-container .page-container .form-container .wflow-busiform[data-v-6dd6ca80] .el-table{border-radius:0!important}.mainform-container .page-container[data-v-6dd6ca80] .el-loading-mask{margin-top:100px}.wflow-container[data-v-6dd6ca80]{background-color:#f0f2f8;font-weight:400;font-size:var(--portalFontSize14)}@media (max-width:1569px){.wflow-container[data-v-6dd6ca80]{min-width:1280px}.wflow-container .mainform-sidebar[data-v-6dd6ca80]{width:280px}.wflow-container .page-container[data-v-6dd6ca80]{width:980px}.wflow-container .page-container .form-container[data-v-6dd6ca80]{width:860px}}@media (min-width:1570px){.wflow-container[data-v-6dd6ca80]{min-width:1570px}.wflow-container .mainform-sidebar[data-v-6dd6ca80]{width:350px}.wflow-container .page-container[data-v-6dd6ca80]{width:1200px}.wflow-container .page-container .form-container[data-v-6dd6ca80]{width:1000px}}.wflow-container .header-title[data-v-6dd6ca80]{height:70px;min-width:1200px;padding:12px 0;border-bottom:1px solid #e6e6e6;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;color:#999;font-size:var(--portalFontSize12);background:#fff}.wflow-container .header-title .route-info[data-v-6dd6ca80]{margin-left:16px}.wflow-container .header-title .route-info[data-v-6dd6ca80],.wflow-container .header-title .section-title[data-v-6dd6ca80]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.wflow-container .header-title .section-title[data-v-6dd6ca80]{margin-right:11px;margin-left:10px;font-size:var(--portalFontSize13);position:relative}.wflow-container .header-title .section-title .formTapBtn[data-v-6dd6ca80]{position:absolute;bottom:0;display:-webkit-box;display:-ms-flexbox;display:flex;left:50px;font-family:MicrosoftYaHei;color:#000;font-size:var(--portalFontSize14);width:420px}.wflow-container .header-title .section-title .formTapBtn .tapItemBtn[data-v-6dd6ca80]{position:relative;margin-right:15px}.wflow-container .header-title .section-title .formTapBtn .active[data-v-6dd6ca80]{position:relative;color:var(--subjectColor);font-weight:700}.wflow-container .header-title .section-title .formTapBtn .active[data-v-6dd6ca80]:after{content:"";position:absolute;bottom:-10px;left:0;width:100%;height:2px;background:var(--subjectColor)}.wflow-container .header-title .section-title .formTapBtn .tapItemBtn[data-v-6dd6ca80]:hover{cursor:pointer;color:var(--subjectColor)}.wflow-container .header-title .section-title .l-text[data-v-6dd6ca80]{padding-right:10px;position:relative;top:-12px}.wflow-container .header-title .section-title .l-text[data-v-6dd6ca80]:after{content:"";position:absolute;right:0;top:0;width:1px;height:14px;background-color:#d8d8d8}.wflow-container .header-title .section-title .l1-text[data-v-6dd6ca80]{padding-right:10px;position:relative}.wflow-container .header-title .section-title .r-text[data-v-6dd6ca80]{padding-left:10px;position:relative;top:-12px}',""]),t["default"]=s},875:function(e,t,n){"use strict";n.r(t);var r=n(1601),a=n.n(r),o=n(6314),i=n.n(o),s=i()(a());s.push([e.id,"[data-v-35a63f69] .el-checkbox:last-of-type{margin-right:25px!important}[data-v-35a63f69] .el-table td{border-bottom:none}.eltable[data-v-35a63f69]{border:1px solid #ebeef5;border-bottom:none}.eltable[data-v-35a63f69] .el-table__body{width:100%!important}[data-v-35a63f69] .el-table--enable-row-transition .el-table__body td.el-table__cell{border:none;border-bottom:none!important}",""]),t["default"]=s},1866:function(e,t,n){"use strict";n.r(t);var r=n(1601),a=n.n(r),o=n(6314),i=n.n(o),s=i()(a());s.push([e.id,".el-table__body.el-table__body-no[data-v-123cdbf8]{table-layout:auto}[data-v-123cdbf8] .upload-list,[data-v-123cdbf8] .upload-list .el-upload{width:100%}[data-v-123cdbf8] .el-divider--horizontal{margin:10px 0}",""]),t["default"]=s},2053:function(e,t,n){"use strict";n.r(t);var r=n(1601),a=n.n(r),o=n(6314),i=n.n(o),s=i()(a());s.push([e.id,".searchType-content[data-v-70c91108]{height:36px;font-size:0;text-align:center}.searchType-content .title[data-v-70c91108]{display:inline-block;font-size:var(--portalFontSize14);line-height:34px;padding:0 15px;cursor:pointer}.searchType-content .title.active[data-v-70c91108]{color:#409eff;border-bottom:2px solid #409eff}.ztree-container[data-v-70c91108]{height:calc(100vh - 208px)}.client-a[data-v-70c91108]{min-width:1000px;padding:32px 32px 16px 32px;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.client-b[data-v-70c91108]{width:calc(33.33333% - 10.66667px);border:1px solid #999;margin-bottom:16px}",""]),t["default"]=s},7298:function(e,t,n){"use strict";n.r(t);var r=n(1601),a=n.n(r),o=n(6314),i=n.n(o),s=i()(a());s.push([e.id,".el-radio-button[data-v-5f22d162]{margin:5px 6px}[data-v-5f22d162] .el-radio-button--mini .el-radio-button__inner{padding:0;border-color:transparent;border-radius:3px;font-size:22px}[data-v-5f22d162] td.sel-icon .el-radio-button{margin:5px 8px}[data-v-5f22d162] td.sel-icon .el-radio-button__inner{border-radius:50%}[data-v-5f22d162] td.sel-icon .el-radio-button__orig-radio:checked+.el-radio-button__inner{border-color:transparent;-webkit-box-shadow:none;box-shadow:none}[data-v-5f22d162] td.sel-color .el-radio-button__inner{border-width:2px}[data-v-5f22d162] td.sel-color .el-radio-button__orig-radio:checked+.el-radio-button__inner{-webkit-box-shadow:-2px 0 0 0 #409eff;box-shadow:-2px 0 0 0 #409eff}.iconfont[data-v-5f22d162]{font-size:32px}.span-icon[data-v-5f22d162]{width:32px;height:32px;border-radius:50%;display:block;text-align:center;line-height:32px;font-size:20px;color:#fff;background-color:#409eff}.span-icon .iconfont[data-v-5f22d162]{position:relative;left:-2px;font-size:35px}.span-color[data-v-5f22d162]{width:30px;height:30px;border-radius:3px;display:block}",""]),t["default"]=s},2103:function(e,t,n){"use strict";n.r(t);var r=n(1601),a=n.n(r),o=n(6314),i=n.n(o),s=i()(a());s.push([e.id,".ztree-container1[data-v-7a7c7352]{height:400px}.ztree-container1 .ztree-container[data-v-7a7c7352]{height:360px}[data-v-7a7c7352] .listitem .ztree *{font-size:10pt;font-family:Microsoft Yahei,Verdana,Simsun,Segoe UI Web Light,Segoe UI Light,Segoe UI Web Regular,Segoe UI,Segoe UI Symbol,Helvetica Neue,Arial}[data-v-7a7c7352] .listitem .ztree li ul{margin:0;padding:0}[data-v-7a7c7352] .listitem .ztree li{line-height:25px}[data-v-7a7c7352] .listitem .ztree li:hover{background:#e7e7e7}[data-v-7a7c7352] .listitem .ztree li a{height:25px;padding-top:0}[data-v-7a7c7352] .listitem .ztree li a:hover{text-decoration:none;background-color:none}[data-v-7a7c7352] .listitem .ztree li a.curSelectedNode{background:none;border:0;height:25px}[data-v-7a7c7352] .listitem .ztree li span{line-height:25px;z-index:99999}[data-v-7a7c7352] .listitem .curSelectedLI{background:#d4d4d4}[data-v-7a7c7352] .listitem .selected span{display:block;cursor:pointer;line-height:25px;height:25px}.treeNode[data-v-7a7c7352]{border:1px solid #dfe6ec;margin-left:3px;margin-right:3px;height:100%}.table_title[data-v-7a7c7352]{height:40px;line-height:40px;text-align:center;border-bottom:1px solid #dfe6ec;background:#f2f5fb;font-weight:700}",""]),t["default"]=s},5155:function(e,t,n){"use strict";n.r(t);var r=n(1601),a=n.n(r),o=n(6314),i=n.n(o),s=i()(a());s.push([e.id,".el-dialog .el-dialog__footer[data-v-44e57720]{text-align:center!important}",""]),t["default"]=s},300:function(e,t,n){"use strict";n.r(t);var r=n(1601),a=n.n(r),o=n(6314),i=n.n(o),s=i()(a());s.push([e.id,".ztree-container[data-v-bb9d6ec0]{height:320px}[data-v-bb9d6ec0] .listitem .ztree *{font-size:10pt;font-family:Microsoft Yahei,Verdana,Simsun,Segoe UI Web Light,Segoe UI Light,Segoe UI Web Regular,Segoe UI,Segoe UI Symbol,Helvetica Neue,Arial}[data-v-bb9d6ec0] .listitem .ztree li ul{margin:0;padding:0}[data-v-bb9d6ec0] .listitem .ztree li{line-height:25px}[data-v-bb9d6ec0] .listitem .ztree li:hover{background:#e7e7e7}[data-v-bb9d6ec0] .listitem .ztree li a{height:25px;padding-top:0}[data-v-bb9d6ec0] .listitem .ztree li a:hover{text-decoration:none;background-color:none}[data-v-bb9d6ec0] .listitem .ztree li a.curSelectedNode{background:none;border:0;height:25px}[data-v-bb9d6ec0] .listitem .ztree li span{line-height:25px;z-index:99999}[data-v-bb9d6ec0] .listitem .curSelectedLI{background:#d4d4d4}[data-v-bb9d6ec0] .listitem .selected span{display:block;cursor:pointer;line-height:25px;height:25px}.selectBtn-container[data-v-bb9d6ec0]{line-height:20px;text-align:center;padding-top:110px}.selectBtn-container span[data-v-bb9d6ec0]{font-size:10px}.selectBtn-container .el-button--mini.is-circle[data-v-bb9d6ec0]{padding:4px}.selectnode[data-v-bb9d6ec0]{line-height:25px;padding:5px;overflow-y:auto}.selectnode span[data-v-bb9d6ec0]{cursor:pointer}.treeNode[data-v-bb9d6ec0]{border:1px solid #dfe6ec;margin-left:3px;margin-right:3px;height:100%}.fwAttach-container[data-v-bb9d6ec0]{line-height:25px!important;padding-left:3px;padding-top:4px}.fwAttach-container[data-v-bb9d6ec0] .el-checkbox__label{font-size:var(--portalFontSize13);color:inherit}",""]),t["default"]=s},7758:function(e,t,n){"use strict";n.r(t);var r=n(1601),a=n.n(r),o=n(6314),i=n.n(o),s=i()(a());s.push([e.id,".ztree-container[data-v-4580fba6]{height:320px}[data-v-4580fba6] .listitem .ztree *{font-size:10pt;font-family:Microsoft Yahei,Verdana,Simsun,Segoe UI Web Light,Segoe UI Light,Segoe UI Web Regular,Segoe UI,Segoe UI Symbol,Helvetica Neue,Arial}[data-v-4580fba6] .listitem .ztree li ul{margin:0;padding:0}[data-v-4580fba6] .listitem .ztree li{line-height:25px}[data-v-4580fba6] .listitem .ztree li:hover{background:#e7e7e7}[data-v-4580fba6] .listitem .ztree li a{height:25px;padding-top:0}[data-v-4580fba6] .listitem .ztree li a:hover{text-decoration:none;background-color:none}[data-v-4580fba6] .listitem .ztree li a.curSelectedNode{background:none;border:0;height:25px}[data-v-4580fba6] .listitem .ztree li span{line-height:25px;z-index:99999}[data-v-4580fba6] .listitem .curSelectedLI{background:#d4d4d4}[data-v-4580fba6] .listitem .selected span{display:block;cursor:pointer;line-height:25px;height:25px}.selectBtn-container[data-v-4580fba6]{line-height:20px;text-align:center;padding-top:110px}.selectBtn-container span[data-v-4580fba6]{font-size:10px}.selectBtn-container .el-button--mini.is-circle[data-v-4580fba6]{padding:4px}.selectnode[data-v-4580fba6]{line-height:25px;padding:5px;overflow-y:auto}.selectnode span[data-v-4580fba6]{cursor:pointer}.treeNode[data-v-4580fba6]{border:1px solid #dfe6ec;margin-left:3px;margin-right:3px;height:100%}.fwAttach-container[data-v-4580fba6]{line-height:25px!important}",""]),t["default"]=s},4396:function(e,t,n){"use strict";n.r(t);var r=n(1601),a=n.n(r),o=n(6314),i=n.n(o),s=i()(a());s.push([e.id,".ztree-container[data-v-6ab65eb9]{height:300px}.ztree-container1[data-v-6ab65eb9]{height:400px}.ztree-container1 .ztree-container[data-v-6ab65eb9]{height:360px}.ztree-container-row1 .el-col-11[data-v-6ab65eb9]{width:45%!important}.ztree-container-row2[data-v-6ab65eb9]{margin-left:-8px}.ztree-container3 .ztree-container[data-v-6ab65eb9]{height:380px}.ztree-container4 .ztree-container[data-v-6ab65eb9]{height:358px}.editClass[data-v-6ab65eb9],.noEditClass[data-v-6ab65eb9]{margin-right:10px}.noEditClass[data-v-6ab65eb9]{color:#ccc;cursor:not-allowed}.file_list[data-v-6ab65eb9]{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding-right:10px;margin-bottom:8px;width:100%}.file_list[data-v-6ab65eb9],.file_list .el-checkbox[data-v-6ab65eb9]{display:-webkit-box;display:-ms-flexbox;display:flex}.file_list .el-checkbox[data-v-6ab65eb9]{-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;max-width:calc(100% - 230px)}.file_list[data-v-6ab65eb9] .el-checkbox__label{width:100%;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;white-space:normal}.selectnode[data-v-6ab65eb9]::-webkit-scrollbar-thumb,.ztree-container[data-v-6ab65eb9]::-webkit-scrollbar-thumb{background-color:#d2d4da;border-radius:6px}.selectnode[data-v-6ab65eb9]::-webkit-scrollbar,.ztree-container[data-v-6ab65eb9]::-webkit-scrollbar{width:6px;height:6px}[data-v-6ab65eb9] .dialogGroupVisible .el-form .el-table.el-table--border td{border-bottom-color:#e2e7ed!important}[data-v-6ab65eb9] .listitem .ztree *{font-size:10pt;font-family:Microsoft Yahei,Verdana,Simsun,Segoe UI Web Light,Segoe UI Light,Segoe UI Web Regular,Segoe UI,Segoe UI Symbol,Helvetica Neue,Arial}[data-v-6ab65eb9] .listitem .ztree li ul{margin:0;padding:0}[data-v-6ab65eb9] .listitem .ztree li{line-height:25px}[data-v-6ab65eb9] .listitem .ztree li:hover{background:#e7e7e7}[data-v-6ab65eb9] .listitem .ztree li a{height:25px;padding-top:0}[data-v-6ab65eb9] .listitem .ztree li a:hover{text-decoration:none;background-color:none}[data-v-6ab65eb9] .listitem .ztree li a.curSelectedNode{background:none;border:0;height:25px}[data-v-6ab65eb9] .listitem .ztree li span{line-height:25px;z-index:99999}[data-v-6ab65eb9] .listitem .curSelectedLI{background:#d4d4d4}[data-v-6ab65eb9] .listitem .selected span{display:block;cursor:pointer;line-height:25px;height:25px}.selectBtn-container[data-v-6ab65eb9]{width:50px;height:405px;line-height:20px;text-align:center;padding-top:110px}.selectBtn-container span[data-v-6ab65eb9]{font-size:10px}.selectBtn-container .el-button--mini.is-circle[data-v-6ab65eb9]{padding:4px}[data-v-6ab65eb9] .el-dialog{margin-top:7vh!important}.selectnode[data-v-6ab65eb9]{width:50px;height:405px;line-height:25px;padding:5px;overflow-y:auto}.selectnode span[data-v-6ab65eb9]{cursor:pointer}.treeNode[data-v-6ab65eb9]{border:1px solid #dfe6ec;margin-left:3px;margin-right:3px;height:100%}.fwAttach-container[data-v-6ab65eb9]{border:1px solid #dee2e6;margin-top:10px;padding-left:10px;padding-top:5px;max-height:130px;overflow-y:auto;line-height:25px!important}.select-item[data-v-6ab65eb9]{display:inline-block;border-radius:4px;background:#f1f4f7;height:26px;line-height:26px;text-align:center;margin:0 5px;padding:0 5px}.select-item span[data-v-6ab65eb9]{display:inline-block;position:relative;width:120px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-right:5px}.select-and[data-v-6ab65eb9]{display:-webkit-box;display:-ms-flexbox;display:flex;height:24px;-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end;margin-left:5px}.addNewType-not[data-v-6ab65eb9]{color:#ccc}.addNewType[data-v-6ab65eb9],.addNewType-not[data-v-6ab65eb9]{width:90px;height:400px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.table_title[data-v-6ab65eb9]{height:40px;line-height:40px;text-align:center;border-bottom:1px solid #dfe6ec;background:#f2f5fb;font-weight:700}",""]),t["default"]=s},5916:function(e,t,n){"use strict";n.r(t);var r=n(1601),a=n.n(r),o=n(6314),i=n.n(o),s=i()(a());s.push([e.id,".disabled-link[data-v-55fec89b]{color:#ccc;pointer-events:none;cursor:not-allowed}.tableList[data-v-55fec89b]{max-height:500px;overflow-y:auto}.btnList[data-v-55fec89b]{margin-bottom:15px;text-align:right}[data-v-55fec89b] .el-icon:before{padding-right:3px}[data-v-55fec89b] .error-row{color:red}.select .grid-content[data-v-55fec89b]{color:#409eff}.select div[data-v-55fec89b]:first-of-type{overflow:hidden;zoom:1}.select .tab-top[data-v-55fec89b]{height:38px;line-height:38px;border:1px solid #ebeef5;margin-top:15px}.select .tab-top .el-col[data-v-55fec89b]:first-of-type,.select .tab-top .el-col[data-v-55fec89b]:nth-of-type(2){border-right:1px solid #ebeef5}.select .tab-bottom[data-v-55fec89b]{height:38px;line-height:38px;border:1px solid #ebeef5;border-top:none;margin-bottom:15px}.select .tab-bottom .el-col[data-v-55fec89b]{border-right:1px solid #ebeef5}.select .el-col[data-v-55fec89b]{padding-left:10px}.select .grid-content[data-v-55fec89b]{cursor:pointer}[data-v-55fec89b] .el-dialog{max-height:700px!important}",""]),t["default"]=s},4430:function(e,t,n){"use strict";n.r(t);var r=n(1601),a=n.n(r),o=n(6314),i=n.n(o),s=i()(a());s.push([e.id,".btn[data-v-4cc55041]{margin-top:20px;width:100%}.btn[data-v-4cc55041],.infoContent .footer[data-v-4cc55041]{text-align:center}.record-table .el-table[data-v-4cc55041] th .gutter{width:17px!important}.table-inner[data-v-4cc55041]{max-height:550px;overflow-y:auto}",""]),t["default"]=s},1033:function(e,t,n){"use strict";n.r(t);var r=n(1601),a=n.n(r),o=n(6314),i=n.n(o),s=i()(a());s.push([e.id,".export-box[data-v-67b05f04]{font-size:var(--portalFontSize14);padding:30px;color:#606266}.export-box .row-col[data-v-67b05f04]{line-height:25px}.export-box .tip span[data-v-67b05f04]{line-height:25px;font-weight:400}.export-box[data-v-67b05f04] .svg-icon{margin-right:5px}[data-v-67b05f04] .upload-demo .el-upload--text{float:left}[data-v-67b05f04] .upload-demo .el-upload-list--text{float:left;margin-left:10px}[data-v-67b05f04] .upload-demo .el-upload-list--text .el-upload-list__item:first-child{margin-top:0}",""]),t["default"]=s},556:function(e,t,n){"use strict";n.r(t);var r=n(1601),a=n.n(r),o=n(6314),i=n.n(o),s=i()(a());s.push([e.id,".el-radio-button[data-v-10a373f3]{margin:5px 6px}[data-v-10a373f3] .el-radio-button--mini .el-radio-button__inner{padding:0;border-color:transparent;border-radius:3px;font-size:22px}[data-v-10a373f3] td.sel-icon .el-radio-button{margin:5px 8px}[data-v-10a373f3] td.sel-icon .el-radio-button__inner{border-radius:50%}[data-v-10a373f3] td.sel-icon .el-radio-button__orig-radio:checked+.el-radio-button__inner{border-color:transparent;-webkit-box-shadow:none;box-shadow:none}[data-v-10a373f3] td.sel-color .el-radio-button__inner{border-width:2px}[data-v-10a373f3] td.sel-color .el-radio-button__orig-radio:checked+.el-radio-button__inner{-webkit-box-shadow:-2px 0 0 0 #409eff;box-shadow:-2px 0 0 0 #409eff}.iconfont[data-v-10a373f3]{font-size:32px}.span-icon[data-v-10a373f3]{width:32px;height:32px;border-radius:50%;display:block;text-align:center;line-height:32px;font-size:20px;color:#fff;background-color:#409eff}.span-icon .iconfont[data-v-10a373f3]{position:relative;left:-2px;font-size:35px}.span-color[data-v-10a373f3]{width:30px;height:30px;border-radius:3px;display:block}",""]),t["default"]=s},1445:function(e,t,n){"use strict";n.r(t);var r=n(1601),a=n.n(r),o=n(6314),i=n.n(o),s=i()(a());s.push([e.id,".module-layout[data-v-6a1b3a22]{width:100%;height:100%}.module-layout .report-content[data-v-6a1b3a22]{height:100%;padding:20px}",""]),t["default"]=s},7765:function(e,t,n){"use strict";n.r(t);var r=n(1601),a=n.n(r),o=n(6314),i=n.n(o),s=i()(a());s.push([e.id,".module-layout[data-v-91817610]{width:100%;height:100%}.module-layout .report-content[data-v-91817610]{height:100%;padding:20px}",""]),t["default"]=s},6413:function(e,t,n){"use strict";n.r(t);var r=n(1601),a=n.n(r),o=n(6314),i=n.n(o),s=i()(a());s.push([e.id,".module-layout[data-v-08091c3d]{width:100%;height:100%}.module-layout .report-content[data-v-08091c3d]{height:100%;padding:20px}",""]),t["default"]=s},3654:function(e,t,n){"use strict";n.r(t);var r=n(1601),a=n.n(r),o=n(6314),i=n.n(o),s=i()(a());s.push([e.id,".module-layout[data-v-1ec9c518]{width:100%;height:100%}.module-layout .gwcx-content[data-v-1ec9c518]{height:100%;padding:0 8px}.module-layout .gwcx-content .search-input[data-v-1ec9c518]{width:100%;margin:15px 0;margin-bottom:5px}.module-layout .gwcx-content .search-select[data-v-1ec9c518]{width:100%}.input-with-select .el-input-group__prepend[data-v-1ec9c518]{background-color:#fff}[data-v-1ec9c518] .el-radio-button__inner{border:none!important}[data-v-1ec9c518] .el-radio-button:first-child .el-radio-button__inner,[data-v-1ec9c518] .el-radio-button:last-child .el-radio-button__inner{border-radius:0!important}[data-v-1ec9c518] .el-radio-button--small .el-radio-button__inner{padding:7px 8px!important;color:#409eff}[data-v-1ec9c518] .el-radio-button.is-active .el-radio-button__inner{color:#fff}",""]),t["default"]=s},54:function(e,t,n){"use strict";n.r(t);var r=n(1601),a=n.n(r),o=n(6314),i=n.n(o),s=i()(a());s.push([e.id,".module-layout[data-v-c37d5e66]{width:100%;height:100%}.module-layout .gwmb-content[data-v-c37d5e66]{width:100%;height:100%;padding:8px;overflow:auto}.module-layout .gwmb-content .gwmb-box[data-v-c37d5e66]{width:100%;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:distribute;justify-content:space-around}.module-layout .gwmb-content .gwmb-box .gwmb-item[data-v-c37d5e66]{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:space-evenly;-ms-flex-pack:space-evenly;justify-content:space-evenly;width:29%;height:200px}.module-layout .gwmb-content .gwmb-box .gwmb-item .item-img[data-v-c37d5e66]{width:100%;height:80%;border:1px solid #eee}.module-layout .gwmb-content .gwmb-box .gwmb-item .item-img img[data-v-c37d5e66]{width:100%}.module-layout .gwmb-content .gwmb-box .gwmb-item span[data-v-c37d5e66]{font-size:var(--portalFontSize14)}.module-layout .gwmb-content .gwmb-box .gwmb-item .item-btn[data-v-c37d5e66]{display:none;position:absolute;top:9px;left:0;height:80%;background-color:rgba(0,0,0,.6);z-index:9;cursor:unset}.module-layout .gwmb-content .gwmb-box .gwmb-item .item-btn[data-v-c37d5e66],.module-layout .gwmb-content .gwmb-box .gwmb-item .item-btn .btn[data-v-c37d5e66]{width:100%;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.module-layout .gwmb-content .gwmb-box .gwmb-item .item-btn .btn[data-v-c37d5e66]{height:30%;display:-webkit-box;display:-ms-flexbox;display:flex;font-size:var(--portalFontSize12);color:#56a9fe;background:transparent}.module-layout .gwmb-content .gwmb-box .gwmb-item .item-btn .btn[data-v-c37d5e66]:hover{cursor:pointer;background-color:rgba(0,0,0,.25)}.el-scrollbar[data-v-c37d5e66]{width:100%;height:100%}.el-scrollbar[data-v-c37d5e66] .el-scrollbar__wrap{overflow-x:hidden}.pdf-viewer[data-v-c37d5e66]{width:100%;height:100%;border:none!important}[data-v-c37d5e66]::-webkit-scrollbar{width:4px}[data-v-c37d5e66]::-webkit-scrollbar-thumb{background-color:#ccc;border-radius:5px}",""]),t["default"]=s},717:function(e,t,n){"use strict";n.r(t);var r=n(1601),a=n.n(r),o=n(6314),i=n.n(o),s=i()(a());s.push([e.id,".text-area[data-v-3f95727c]{width:90%;display:inline-block}",""]),t["default"]=s},1807:function(e,t,n){"use strict";n.r(t);var r=n(1601),a=n.n(r),o=n(6314),i=n.n(o),s=i()(a());s.push([e.id,".gdgz[data-v-2c30e9dc]{max-width:1000px;margin:30px auto 60px;text-align:center}.gdgz .el-table__body.el-table__body-top[data-v-2c30e9dc]{table-layout:auto}.gdgz .tdcont .td-lable[data-v-2c30e9dc]{display:inline-block;width:60px}.gdgz .tdcont .text-area[data-v-2c30e9dc]{width:90%;display:inline-block}.gdgz .tdcont .choose-btn[data-v-2c30e9dc]{width:9%;height:100%}",""]),t["default"]=s},2815:function(e,t,n){"use strict";n.r(t);var r=n(1601),a=n.n(r),o=n(6314),i=n.n(o),s=i()(a());s.push([e.id,".svg-icon[data-v-72227ab2]{width:1em;height:1em;vertical-align:-.15em;fill:currentColor;overflow:hidden}",""]),t["default"]=s},6322:function(e,t,n){"use strict";n.r(t);var r=n(1601),a=n.n(r),o=n(6314),i=n.n(o),s=i()(a());s.push([e.id,".top-line[data-v-39239143]{float:left;height:36px}.top-line .label[data-v-39239143]{line-height:36px;font-size:var(--portalFontSize14);width:80px}.top-line>div[data-v-39239143]{margin-left:20px;float:left}.top-line>div[data-v-39239143]:first-child{margin-left:0}[data-v-39239143] .el-date-editor .el-range-separator{width:8%}.exportbtn[data-v-39239143]{float:right;height:32px;margin-top:2px}.exportbtn span[data-v-39239143]{margin-left:0}.exportbtn[data-v-39239143]:hover{background:inherit;border-color:#409eff}",""]),t["default"]=s},481:function(e,t,n){"use strict";n.r(t);var r=n(1601),a=n.n(r),o=n(6314),i=n.n(o),s=i()(a());s.push([e.id,".echart-box[data-v-05c6b150]{height:300px}.echart-box[data-v-05c6b150],.table-box[data-v-05c6b150]{margin-top:20px;width:100%}.table-box[data-v-05c6b150]{padding-bottom:20px}.search-box[data-v-05c6b150]{height:36px;padding:16px 0 0;-webkit-box-sizing:content-box;box-sizing:content-box}.tabbar[data-v-05c6b150] .el-radio-button--small .el-radio-button__inner{padding:0!important}.tabbar[data-v-05c6b150] .el-radio-button--small .el-radio-button__inner .tabbartext{padding:9px 15px}.tabbar button[data-v-05c6b150]{margin-bottom:-1px}.tabbar button.active[data-v-05c6b150]{color:#fff}.tabbar button.active[data-v-05c6b150]:focus,.tabbar button.active[data-v-05c6b150]:hover{color:#fff!important;border-color:#dcdfe6!important}",""]),t["default"]=s},6314:function(e){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r="undefined"!==typeof t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,a,o){"string"===typeof e&&(e=[[null,e,void 0]]);var i={};if(r)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(i[l]=!0)}for(var d=0;d<e.length;d++){var c=[].concat(e[d]);r&&i[c[0]]||("undefined"!==typeof o&&("undefined"===typeof c[5]||(c[1]="@layer".concat(c[5].length>0?" ".concat(c[5]):""," {").concat(c[1],"}")),c[5]=o),n&&(c[2]?(c[1]="@media ".concat(c[2]," {").concat(c[1],"}"),c[2]=n):c[2]=n),a&&(c[4]?(c[1]="@supports (".concat(c[4],") {").concat(c[1],"}"),c[4]=a):c[4]="".concat(a)),t.push(c))}},t}},1601:function(e){"use strict";e.exports=function(e){return e[1]}},41:function(e,t,n){"use strict";var r=n(655),a=n(8068),o=n(9675),i=n(5795);e.exports=function(e,t,n){if(!e||"object"!==typeof e&&"function"!==typeof e)throw new o("`obj` must be an object or a function`");if("string"!==typeof t&&"symbol"!==typeof t)throw new o("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!==typeof arguments[3]&&null!==arguments[3])throw new o("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!==typeof arguments[4]&&null!==arguments[4])throw new o("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!==typeof arguments[5]&&null!==arguments[5])throw new o("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!==typeof arguments[6])throw new o("`loose`, if provided, must be a boolean");var s=arguments.length>3?arguments[3]:null,l=arguments.length>4?arguments[4]:null,d=arguments.length>5?arguments[5]:null,c=arguments.length>6&&arguments[6],u=!!i&&i(e,t);if(r)r(e,t,{configurable:null===d&&u?u.configurable:!d,enumerable:null===s&&u?u.enumerable:!s,value:n,writable:null===l&&u?u.writable:!l});else{if(!c&&(s||l||d))throw new a("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");e[t]=n}}},655:function(e,t,n){"use strict";var r=n(453),a=r("%Object.defineProperty%",!0)||!1;if(a)try{a({},"a",{value:1})}catch(o){a=!1}e.exports=a},1237:function(e){"use strict";e.exports=EvalError},9383:function(e){"use strict";e.exports=Error},9290:function(e){"use strict";e.exports=RangeError},9538:function(e){"use strict";e.exports=ReferenceError},8068:function(e){"use strict";e.exports=SyntaxError},9675:function(e){"use strict";e.exports=TypeError},5345:function(e){"use strict";e.exports=URIError},9353:function(e){"use strict";var t="Function.prototype.bind called on incompatible ",n=Object.prototype.toString,r=Math.max,a="[object Function]",o=function(e,t){for(var n=[],r=0;r<e.length;r+=1)n[r]=e[r];for(var a=0;a<t.length;a+=1)n[a+e.length]=t[a];return n},i=function(e,t){for(var n=[],r=t||0,a=0;r<e.length;r+=1,a+=1)n[a]=e[r];return n},s=function(e,t){for(var n="",r=0;r<e.length;r+=1)n+=e[r],r+1<e.length&&(n+=t);return n};e.exports=function(e){var l=this;if("function"!==typeof l||n.apply(l)!==a)throw new TypeError(t+l);for(var d,c=i(arguments,1),u=function(){if(this instanceof d){var t=l.apply(this,o(c,arguments));return Object(t)===t?t:this}return l.apply(e,o(c,arguments))},p=r(0,l.length-c.length),m=[],f=0;f<p;f++)m[f]="$"+f;if(d=Function("binder","return function ("+s(m,",")+"){ return binder.apply(this,arguments); }")(u),l.prototype){var h=function(){};h.prototype=l.prototype,d.prototype=new h,h.prototype=null}return d}},6743:function(e,t,n){"use strict";var r=n(9353);e.exports=Function.prototype.bind||r},453:function(e,t,n){"use strict";var r,a=n(9383),o=n(1237),i=n(9290),s=n(9538),l=n(8068),d=n(9675),c=n(5345),u=Function,p=function(e){try{return u('"use strict"; return ('+e+").constructor;")()}catch(t){}},m=Object.getOwnPropertyDescriptor;if(m)try{m({},"")}catch(H){m=null}var f=function(){throw new d},h=m?function(){try{return f}catch(e){try{return m(arguments,"callee").get}catch(t){return f}}}():f,g=n(4039)(),y=n(24)(),_=Object.getPrototypeOf||(y?function(e){return e.__proto__}:null),v={},b="undefined"!==typeof Uint8Array&&_?_(Uint8Array):r,w={__proto__:null,"%AggregateError%":"undefined"===typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"===typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":g&&_?_([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":v,"%AsyncGenerator%":v,"%AsyncGeneratorFunction%":v,"%AsyncIteratorPrototype%":v,"%Atomics%":"undefined"===typeof Atomics?r:Atomics,"%BigInt%":"undefined"===typeof BigInt?r:BigInt,"%BigInt64Array%":"undefined"===typeof BigInt64Array?r:BigInt64Array,"%BigUint64Array%":"undefined"===typeof BigUint64Array?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"===typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":a,"%eval%":eval,"%EvalError%":o,"%Float32Array%":"undefined"===typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"===typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"===typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":u,"%GeneratorFunction%":v,"%Int8Array%":"undefined"===typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"===typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"===typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":g&&_?_(_([][Symbol.iterator]())):r,"%JSON%":"object"===typeof JSON?JSON:r,"%Map%":"undefined"===typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!==typeof Map&&g&&_?_((new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"===typeof Promise?r:Promise,"%Proxy%":"undefined"===typeof Proxy?r:Proxy,"%RangeError%":i,"%ReferenceError%":s,"%Reflect%":"undefined"===typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"===typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!==typeof Set&&g&&_?_((new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"===typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":g&&_?_(""[Symbol.iterator]()):r,"%Symbol%":g?Symbol:r,"%SyntaxError%":l,"%ThrowTypeError%":h,"%TypedArray%":b,"%TypeError%":d,"%Uint8Array%":"undefined"===typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"===typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"===typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"===typeof Uint32Array?r:Uint32Array,"%URIError%":c,"%WeakMap%":"undefined"===typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"===typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"===typeof WeakSet?r:WeakSet};if(_)try{null.error}catch(H){var M=_(_(H));w["%Error.prototype%"]=M}var L=function e(t){var n;if("%AsyncFunction%"===t)n=p("async function () {}");else if("%GeneratorFunction%"===t)n=p("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=p("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var a=e("%AsyncGenerator%");a&&_&&(n=_(a.prototype))}return w[t]=n,n},T={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},x=n(6743),D=n(9957),k=x.call(Function.call,Array.prototype.concat),S=x.call(Function.apply,Array.prototype.splice),Y=x.call(Function.call,String.prototype.replace),j=x.call(Function.call,String.prototype.slice),C=x.call(Function.call,RegExp.prototype.exec),O=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,N=/\\(\\)?/g,P=function(e){var t=j(e,0,1),n=j(e,-1);if("%"===t&&"%"!==n)throw new l("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new l("invalid intrinsic syntax, expected opening `%`");var r=[];return Y(e,O,(function(e,t,n,a){r[r.length]=n?Y(a,N,"$1"):t||e})),r},E=function(e,t){var n,r=e;if(D(T,r)&&(n=T[r],r="%"+n[0]+"%"),D(w,r)){var a=w[r];if(a===v&&(a=L(r)),"undefined"===typeof a&&!t)throw new d("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:a}}throw new l("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!==typeof e||0===e.length)throw new d("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!==typeof t)throw new d('"allowMissing" argument must be a boolean');if(null===C(/^%?[^%]*%?$/,e))throw new l("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=P(e),r=n.length>0?n[0]:"",a=E("%"+r+"%",t),o=a.name,i=a.value,s=!1,c=a.alias;c&&(r=c[0],S(n,k([0,1],c)));for(var u=1,p=!0;u<n.length;u+=1){var f=n[u],h=j(f,0,1),g=j(f,-1);if(('"'===h||"'"===h||"`"===h||'"'===g||"'"===g||"`"===g)&&h!==g)throw new l("property names with quotes must have matching quotes");if("constructor"!==f&&p||(s=!0),r+="."+f,o="%"+r+"%",D(w,o))i=w[o];else if(null!=i){if(!(f in i)){if(!t)throw new d("base intrinsic for "+e+" exists, but the property is not available.");return}if(m&&u+1>=n.length){var y=m(i,f);p=!!y,i=p&&"get"in y&&!("originalValue"in y.get)?y.get:i[f]}else p=D(i,f),i=i[f];p&&!s&&(w[o]=i)}}return i}},5795:function(e,t,n){"use strict";var r=n(453),a=r("%Object.getOwnPropertyDescriptor%",!0);if(a)try{a([],"length")}catch(o){a=null}e.exports=a},592:function(e,t,n){"use strict";var r=n(655),a=function(){return!!r};a.hasArrayLengthDefineBug=function(){if(!r)return null;try{return 1!==r([],"length",{value:1}).length}catch(e){return!0}},e.exports=a},24:function(e){"use strict";var t={__proto__:null,foo:{}},n=Object;e.exports=function(){return{__proto__:t}.foo===t.foo&&!(t instanceof n)}},4039:function(e,t,n){"use strict";var r="undefined"!==typeof Symbol&&Symbol,a=n(1333);e.exports=function(){return"function"===typeof r&&("function"===typeof Symbol&&("symbol"===typeof r("foo")&&("symbol"===typeof Symbol("bar")&&a())))}},1333:function(e){"use strict";e.exports=function(){if("function"!==typeof Symbol||"function"!==typeof Object.getOwnPropertySymbols)return!1;if("symbol"===typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"===typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;var r=42;for(t in e[t]=r,e)return!1;if("function"===typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"===typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var a=Object.getOwnPropertySymbols(e);if(1!==a.length||a[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"===typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(o.value!==r||!0!==o.enumerable)return!1}return!0}},9957:function(e,t,n){"use strict";var r=Function.prototype.call,a=Object.prototype.hasOwnProperty,o=n(6743);e.exports=o.call(r,a)},4692:function(e,t){var n,r;
2
2
  /*!
3
3
  * jQuery JavaScript Library v3.4.1
4
4
  * https://jquery.com/
@@ -298,10 +298,10 @@ var t=e.defineLocale("zh-mo",{months:"一月_二月_三月_四月_五月_六月_
298
298
  //! moment.js locale configuration
299
299
  var t=e.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}});return t}))},5358:function(e,t,n){var r={"./af":5177,"./af.js":5177,"./ar":1509,"./ar-dz":1488,"./ar-dz.js":1488,"./ar-kw":8676,"./ar-kw.js":8676,"./ar-ly":2353,"./ar-ly.js":2353,"./ar-ma":4496,"./ar-ma.js":4496,"./ar-ps":6947,"./ar-ps.js":6947,"./ar-sa":2682,"./ar-sa.js":2682,"./ar-tn":9756,"./ar-tn.js":9756,"./ar.js":1509,"./az":5533,"./az.js":5533,"./be":8959,"./be.js":8959,"./bg":7777,"./bg.js":7777,"./bm":4903,"./bm.js":4903,"./bn":1290,"./bn-bd":7357,"./bn-bd.js":7357,"./bn.js":1290,"./bo":1545,"./bo.js":1545,"./br":1470,"./br.js":1470,"./bs":4429,"./bs.js":4429,"./ca":7306,"./ca.js":7306,"./cs":6464,"./cs.js":6464,"./cv":3635,"./cv.js":3635,"./cy":4226,"./cy.js":4226,"./da":3601,"./da.js":3601,"./de":7853,"./de-at":6111,"./de-at.js":6111,"./de-ch":4697,"./de-ch.js":4697,"./de.js":7853,"./dv":708,"./dv.js":708,"./el":4691,"./el.js":4691,"./en-au":3872,"./en-au.js":3872,"./en-ca":8298,"./en-ca.js":8298,"./en-gb":6195,"./en-gb.js":6195,"./en-ie":6584,"./en-ie.js":6584,"./en-il":5543,"./en-il.js":5543,"./en-in":9033,"./en-in.js":9033,"./en-nz":9402,"./en-nz.js":9402,"./en-sg":3004,"./en-sg.js":3004,"./eo":2934,"./eo.js":2934,"./es":7650,"./es-do":838,"./es-do.js":838,"./es-mx":7730,"./es-mx.js":7730,"./es-us":6575,"./es-us.js":6575,"./es.js":7650,"./et":3035,"./et.js":3035,"./eu":3508,"./eu.js":3508,"./fa":119,"./fa.js":119,"./fi":527,"./fi.js":527,"./fil":5995,"./fil.js":5995,"./fo":2477,"./fo.js":2477,"./fr":5498,"./fr-ca":6435,"./fr-ca.js":6435,"./fr-ch":7892,"./fr-ch.js":7892,"./fr.js":5498,"./fy":7071,"./fy.js":7071,"./ga":1734,"./ga.js":1734,"./gd":217,"./gd.js":217,"./gl":7329,"./gl.js":7329,"./gom-deva":2124,"./gom-deva.js":2124,"./gom-latn":3383,"./gom-latn.js":3383,"./gu":5050,"./gu.js":5050,"./he":1713,"./he.js":1713,"./hi":3861,"./hi.js":3861,"./hr":6308,"./hr.js":6308,"./hu":609,"./hu.js":609,"./hy-am":7160,"./hy-am.js":7160,"./id":4063,"./id.js":4063,"./is":9374,"./is.js":9374,"./it":8383,"./it-ch":1827,"./it-ch.js":1827,"./it.js":8383,"./ja":3827,"./ja.js":3827,"./jv":9722,"./jv.js":9722,"./ka":1794,"./ka.js":1794,"./kk":7088,"./kk.js":7088,"./km":6870,"./km.js":6870,"./kn":4451,"./kn.js":4451,"./ko":3164,"./ko.js":3164,"./ku":8174,"./ku-kmr":6181,"./ku-kmr.js":6181,"./ku.js":8174,"./ky":8474,"./ky.js":8474,"./lb":9680,"./lb.js":9680,"./lo":5867,"./lo.js":5867,"./lt":5766,"./lt.js":5766,"./lv":9532,"./lv.js":9532,"./me":8076,"./me.js":8076,"./mi":1848,"./mi.js":1848,"./mk":306,"./mk.js":306,"./ml":3739,"./ml.js":3739,"./mn":9053,"./mn.js":9053,"./mr":6169,"./mr.js":6169,"./ms":3386,"./ms-my":2297,"./ms-my.js":2297,"./ms.js":3386,"./mt":7075,"./mt.js":7075,"./my":2264,"./my.js":2264,"./nb":2274,"./nb.js":2274,"./ne":8235,"./ne.js":8235,"./nl":2572,"./nl-be":3784,"./nl-be.js":3784,"./nl.js":2572,"./nn":4566,"./nn.js":4566,"./oc-lnc":9330,"./oc-lnc.js":9330,"./pa-in":9849,"./pa-in.js":9849,"./pl":4418,"./pl.js":4418,"./pt":9834,"./pt-br":8303,"./pt-br.js":8303,"./pt.js":9834,"./ro":4457,"./ro.js":4457,"./ru":2271,"./ru.js":2271,"./sd":1221,"./sd.js":1221,"./se":3478,"./se.js":3478,"./si":7538,"./si.js":7538,"./sk":5784,"./sk.js":5784,"./sl":6637,"./sl.js":6637,"./sq":6794,"./sq.js":6794,"./sr":5719,"./sr-cyrl":3322,"./sr-cyrl.js":3322,"./sr.js":5719,"./ss":6e3,"./ss.js":6e3,"./sv":1011,"./sv.js":1011,"./sw":748,"./sw.js":748,"./ta":3406,"./ta.js":3406,"./te":1885,"./te.js":1885,"./tet":8861,"./tet.js":8861,"./tg":6571,"./tg.js":6571,"./th":5802,"./th.js":5802,"./tk":9527,"./tk.js":9527,"./tl-ph":9231,"./tl-ph.js":9231,"./tlh":1052,"./tlh.js":1052,"./tr":5096,"./tr.js":5096,"./tzl":9846,"./tzl.js":9846,"./tzm":1765,"./tzm-latn":7711,"./tzm-latn.js":7711,"./tzm.js":1765,"./ug-cn":8414,"./ug-cn.js":8414,"./uk":6618,"./uk.js":6618,"./ur":158,"./ur.js":158,"./uz":7609,"./uz-latn":2475,"./uz-latn.js":2475,"./uz.js":7609,"./vi":1135,"./vi.js":1135,"./x-pseudo":4051,"./x-pseudo.js":4051,"./yo":2218,"./yo.js":2218,"./zh-cn":2648,"./zh-cn.js":2648,"./zh-hk":1632,"./zh-hk.js":1632,"./zh-mo":1541,"./zh-mo.js":1541,"./zh-tw":304,"./zh-tw.js":304};function a(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}a.keys=function(){return Object.keys(r)},a.resolve=o,e.exports=a,a.id=5358},5093:function(e,t,n){e=n.nmd(e),function(t,n){e.exports=n()}(0,(function(){"use strict";var t,r;function a(){return t.apply(null,arguments)}function o(e){t=e}function i(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function s(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function l(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function d(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(l(e,t))return!1;return!0}function c(e){return void 0===e}function u(e){return"number"===typeof e||"[object Number]"===Object.prototype.toString.call(e)}function p(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function m(e,t){var n,r=[],a=e.length;for(n=0;n<a;++n)r.push(t(e[n],n));return r}function f(e,t){for(var n in t)l(t,n)&&(e[n]=t[n]);return l(t,"toString")&&(e.toString=t.toString),l(t,"valueOf")&&(e.valueOf=t.valueOf),e}function h(e,t,n,r){return Jn(e,t,n,r,!0).utc()}function g(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function y(e){return null==e._pf&&(e._pf=g()),e._pf}function _(e){var t=null,n=!1,a=e._d&&!isNaN(e._d.getTime());return a&&(t=y(e),n=r.call(t.parsedDateParts,(function(e){return null!=e})),a=t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n),e._strict&&(a=a&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour)),null!=Object.isFrozen&&Object.isFrozen(e)?a:(e._isValid=a,e._isValid)}function v(e){var t=h(NaN);return null!=e?f(y(t),e):y(t).userInvalidated=!0,t}r=Array.prototype.some?Array.prototype.some:function(e){var t,n=Object(this),r=n.length>>>0;for(t=0;t<r;t++)if(t in n&&e.call(this,n[t],t,n))return!0;return!1};var b=a.momentProperties=[],w=!1;function M(e,t){var n,r,a,o=b.length;if(c(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),c(t._i)||(e._i=t._i),c(t._f)||(e._f=t._f),c(t._l)||(e._l=t._l),c(t._strict)||(e._strict=t._strict),c(t._tzm)||(e._tzm=t._tzm),c(t._isUTC)||(e._isUTC=t._isUTC),c(t._offset)||(e._offset=t._offset),c(t._pf)||(e._pf=y(t)),c(t._locale)||(e._locale=t._locale),o>0)for(n=0;n<o;n++)r=b[n],a=t[r],c(a)||(e[r]=a);return e}function L(e){M(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===w&&(w=!0,a.updateOffset(this),w=!1)}function T(e){return e instanceof L||null!=e&&null!=e._isAMomentObject}function x(e){!1===a.suppressDeprecationWarnings&&"undefined"!==typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function D(e,t){var n=!0;return f((function(){if(null!=a.deprecationHandler&&a.deprecationHandler(null,e),n){var r,o,i,s=[],d=arguments.length;for(o=0;o<d;o++){if(r="","object"===typeof arguments[o]){for(i in r+="\n["+o+"] ",arguments[0])l(arguments[0],i)&&(r+=i+": "+arguments[0][i]+", ");r=r.slice(0,-2)}else r=arguments[o];s.push(r)}x(e+"\nArguments: "+Array.prototype.slice.call(s).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var k,S={};function Y(e,t){null!=a.deprecationHandler&&a.deprecationHandler(e,t),S[e]||(x(t),S[e]=!0)}function j(e){return"undefined"!==typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function C(e){var t,n;for(n in e)l(e,n)&&(t=e[n],j(t)?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function O(e,t){var n,r=f({},e);for(n in t)l(t,n)&&(s(e[n])&&s(t[n])?(r[n]={},f(r[n],e[n]),f(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)l(e,n)&&!l(t,n)&&s(e[n])&&(r[n]=f({},r[n]));return r}function N(e){null!=e&&this.set(e)}a.suppressDeprecationWarnings=!1,a.deprecationHandler=null,k=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)l(e,t)&&n.push(t);return n};var P={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function E(e,t,n){var r=this._calendar[e]||this._calendar["sameElse"];return j(r)?r.call(t,n):r}function H(e,t,n){var r=""+Math.abs(e),a=t-r.length,o=e>=0;return(o?n?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+r}var F=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,A=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,$={},I={};function z(e,t,n,r){var a=r;"string"===typeof r&&(a=function(){return this[r]()}),e&&(I[e]=a),t&&(I[t[0]]=function(){return H(a.apply(this,arguments),t[1],t[2])}),n&&(I[n]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function R(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function W(e){var t,n,r=e.match(F);for(t=0,n=r.length;t<n;t++)I[r[t]]?r[t]=I[r[t]]:r[t]=R(r[t]);return function(t){var a,o="";for(a=0;a<n;a++)o+=j(r[a])?r[a].call(t,e):r[a];return o}}function G(e,t){return e.isValid()?(t=B(t,e.localeData()),$[t]=$[t]||W(t),$[t](e)):e.localeData().invalidDate()}function B(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}A.lastIndex=0;while(n>=0&&A.test(e))e=e.replace(A,r),A.lastIndex=0,n-=1;return e}var U={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function q(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(F).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])}var V="Invalid date";function J(){return this._invalidDate}var K="%d",Q=/\d{1,2}/;function Z(e){return this._ordinal.replace("%d",e)}var X={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function ee(e,t,n,r){var a=this._relativeTime[n];return j(a)?a(e,t,n,r):a.replace(/%d/i,e)}function te(e,t){var n=this._relativeTime[e>0?"future":"past"];return j(n)?n(t):n.replace(/%s/i,t)}var ne={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function re(e){return"string"===typeof e?ne[e]||ne[e.toLowerCase()]:void 0}function ae(e){var t,n,r={};for(n in e)l(e,n)&&(t=re(n),t&&(r[t]=e[n]));return r}var oe={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function ie(e){var t,n=[];for(t in e)l(e,t)&&n.push({unit:t,priority:oe[t]});return n.sort((function(e,t){return e.priority-t.priority})),n}var se,le=/\d/,de=/\d\d/,ce=/\d{3}/,ue=/\d{4}/,pe=/[+-]?\d{6}/,me=/\d\d?/,fe=/\d\d\d\d?/,he=/\d\d\d\d\d\d?/,ge=/\d{1,3}/,ye=/\d{1,4}/,_e=/[+-]?\d{1,6}/,ve=/\d+/,be=/[+-]?\d+/,we=/Z|[+-]\d\d:?\d\d/gi,Me=/Z|[+-]\d\d(?::?\d\d)?/gi,Le=/[+-]?\d+(\.\d{1,3})?/,Te=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,xe=/^[1-9]\d?/,De=/^([1-9]\d|\d)/;function ke(e,t,n){se[e]=j(t)?t:function(e,r){return e&&n?n:t}}function Se(e,t){return l(se,e)?se[e](t._strict,t._locale):new RegExp(Ye(e))}function Ye(e){return je(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,a){return t||n||r||a})))}function je(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Ce(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function Oe(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=Ce(t)),n}se={};var Ne={};function Pe(e,t){var n,r,a=t;for("string"===typeof e&&(e=[e]),u(t)&&(a=function(e,n){n[t]=Oe(e)}),r=e.length,n=0;n<r;n++)Ne[e[n]]=a}function Ee(e,t){Pe(e,(function(e,n,r,a){r._w=r._w||{},t(e,r._w,r,a)}))}function He(e,t,n){null!=t&&l(Ne,e)&&Ne[e](t,n._a,n,e)}function Fe(e){return e%4===0&&e%100!==0||e%400===0}var Ae=0,$e=1,Ie=2,ze=3,Re=4,We=5,Ge=6,Be=7,Ue=8;function qe(e){return Fe(e)?366:365}z("Y",0,0,(function(){var e=this.year();return e<=9999?H(e,4):"+"+e})),z(0,["YY",2],0,(function(){return this.year()%100})),z(0,["YYYY",4],0,"year"),z(0,["YYYYY",5],0,"year"),z(0,["YYYYYY",6,!0],0,"year"),ke("Y",be),ke("YY",me,de),ke("YYYY",ye,ue),ke("YYYYY",_e,pe),ke("YYYYYY",_e,pe),Pe(["YYYYY","YYYYYY"],Ae),Pe("YYYY",(function(e,t){t[Ae]=2===e.length?a.parseTwoDigitYear(e):Oe(e)})),Pe("YY",(function(e,t){t[Ae]=a.parseTwoDigitYear(e)})),Pe("Y",(function(e,t){t[Ae]=parseInt(e,10)})),a.parseTwoDigitYear=function(e){return Oe(e)+(Oe(e)>68?1900:2e3)};var Ve,Je=Qe("FullYear",!0);function Ke(){return Fe(this.year())}function Qe(e,t){return function(n){return null!=n?(Xe(this,e,n),a.updateOffset(this,t),this):Ze(this,e)}}function Ze(e,t){if(!e.isValid())return NaN;var n=e._d,r=e._isUTC;switch(t){case"Milliseconds":return r?n.getUTCMilliseconds():n.getMilliseconds();case"Seconds":return r?n.getUTCSeconds():n.getSeconds();case"Minutes":return r?n.getUTCMinutes():n.getMinutes();case"Hours":return r?n.getUTCHours():n.getHours();case"Date":return r?n.getUTCDate():n.getDate();case"Day":return r?n.getUTCDay():n.getDay();case"Month":return r?n.getUTCMonth():n.getMonth();case"FullYear":return r?n.getUTCFullYear():n.getFullYear();default:return NaN}}function Xe(e,t,n){var r,a,o,i,s;if(e.isValid()&&!isNaN(n)){switch(r=e._d,a=e._isUTC,t){case"Milliseconds":return void(a?r.setUTCMilliseconds(n):r.setMilliseconds(n));case"Seconds":return void(a?r.setUTCSeconds(n):r.setSeconds(n));case"Minutes":return void(a?r.setUTCMinutes(n):r.setMinutes(n));case"Hours":return void(a?r.setUTCHours(n):r.setHours(n));case"Date":return void(a?r.setUTCDate(n):r.setDate(n));case"FullYear":break;default:return}o=n,i=e.month(),s=e.date(),s=29!==s||1!==i||Fe(o)?s:28,a?r.setUTCFullYear(o,i,s):r.setFullYear(o,i,s)}}function et(e){return e=re(e),j(this[e])?this[e]():this}function tt(e,t){if("object"===typeof e){e=ae(e);var n,r=ie(e),a=r.length;for(n=0;n<a;n++)this[r[n].unit](e[r[n].unit])}else if(e=re(e),j(this[e]))return this[e](t);return this}function nt(e,t){return(e%t+t)%t}function rt(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=nt(t,12);return e+=(t-n)/12,1===n?Fe(e)?29:28:31-n%7%2}Ve=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},z("M",["MM",2],"Mo",(function(){return this.month()+1})),z("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),z("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),ke("M",me,xe),ke("MM",me,de),ke("MMM",(function(e,t){return t.monthsShortRegex(e)})),ke("MMMM",(function(e,t){return t.monthsRegex(e)})),Pe(["M","MM"],(function(e,t){t[$e]=Oe(e)-1})),Pe(["MMM","MMMM"],(function(e,t,n,r){var a=n._locale.monthsParse(e,r,n._strict);null!=a?t[$e]=a:y(n).invalidMonth=e}));var at="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ot="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),it=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,st=Te,lt=Te;function dt(e,t){return e?i(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||it).test(t)?"format":"standalone"][e.month()]:i(this._months)?this._months:this._months["standalone"]}function ct(e,t){return e?i(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[it.test(t)?"format":"standalone"][e.month()]:i(this._monthsShort)?this._monthsShort:this._monthsShort["standalone"]}function ut(e,t,n){var r,a,o,i=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)o=h([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===t?(a=Ve.call(this._shortMonthsParse,i),-1!==a?a:null):(a=Ve.call(this._longMonthsParse,i),-1!==a?a:null):"MMM"===t?(a=Ve.call(this._shortMonthsParse,i),-1!==a?a:(a=Ve.call(this._longMonthsParse,i),-1!==a?a:null)):(a=Ve.call(this._longMonthsParse,i),-1!==a?a:(a=Ve.call(this._shortMonthsParse,i),-1!==a?a:null))}function pt(e,t,n){var r,a,o;if(this._monthsParseExact)return ut.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(a=h([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(o="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[r]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}}function mt(e,t){if(!e.isValid())return e;if("string"===typeof t)if(/^\d+$/.test(t))t=Oe(t);else if(t=e.localeData().monthsParse(t),!u(t))return e;var n=t,r=e.date();return r=r<29?r:Math.min(r,rt(e.year(),n)),e._isUTC?e._d.setUTCMonth(n,r):e._d.setMonth(n,r),e}function ft(e){return null!=e?(mt(this,e),a.updateOffset(this,!0),this):Ze(this,"Month")}function ht(){return rt(this.year(),this.month())}function gt(e){return this._monthsParseExact?(l(this,"_monthsRegex")||_t.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(l(this,"_monthsShortRegex")||(this._monthsShortRegex=st),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function yt(e){return this._monthsParseExact?(l(this,"_monthsRegex")||_t.call(this),e?this._monthsStrictRegex:this._monthsRegex):(l(this,"_monthsRegex")||(this._monthsRegex=lt),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function _t(){function e(e,t){return t.length-e.length}var t,n,r,a,o=[],i=[],s=[];for(t=0;t<12;t++)n=h([2e3,t]),r=je(this.monthsShort(n,"")),a=je(this.months(n,"")),o.push(r),i.push(a),s.push(a),s.push(r);o.sort(e),i.sort(e),s.sort(e),this._monthsRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+o.join("|")+")","i")}function vt(e,t,n,r,a,o,i){var s;return e<100&&e>=0?(s=new Date(e+400,t,n,r,a,o,i),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,a,o,i),s}function bt(e){var t,n;return e<100&&e>=0?(n=Array.prototype.slice.call(arguments),n[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function wt(e,t,n){var r=7+t-n,a=(7+bt(e,0,r).getUTCDay()-t)%7;return-a+r-1}function Mt(e,t,n,r,a){var o,i,s=(7+n-r)%7,l=wt(e,r,a),d=1+7*(t-1)+s+l;return d<=0?(o=e-1,i=qe(o)+d):d>qe(e)?(o=e+1,i=d-qe(e)):(o=e,i=d),{year:o,dayOfYear:i}}function Lt(e,t,n){var r,a,o=wt(e.year(),t,n),i=Math.floor((e.dayOfYear()-o-1)/7)+1;return i<1?(a=e.year()-1,r=i+Tt(a,t,n)):i>Tt(e.year(),t,n)?(r=i-Tt(e.year(),t,n),a=e.year()+1):(a=e.year(),r=i),{week:r,year:a}}function Tt(e,t,n){var r=wt(e,t,n),a=wt(e+1,t,n);return(qe(e)-r+a)/7}function xt(e){return Lt(e,this._week.dow,this._week.doy).week}z("w",["ww",2],"wo","week"),z("W",["WW",2],"Wo","isoWeek"),ke("w",me,xe),ke("ww",me,de),ke("W",me,xe),ke("WW",me,de),Ee(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=Oe(e)}));var Dt={dow:0,doy:6};function kt(){return this._week.dow}function St(){return this._week.doy}function Yt(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function jt(e){var t=Lt(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Ct(e,t){return"string"!==typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"===typeof e?e:null):parseInt(e,10)}function Ot(e,t){return"string"===typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Nt(e,t){return e.slice(t,7).concat(e.slice(0,t))}z("d",0,"do","day"),z("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),z("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),z("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),z("e",0,0,"weekday"),z("E",0,0,"isoWeekday"),ke("d",me),ke("e",me),ke("E",me),ke("dd",(function(e,t){return t.weekdaysMinRegex(e)})),ke("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),ke("dddd",(function(e,t){return t.weekdaysRegex(e)})),Ee(["dd","ddd","dddd"],(function(e,t,n,r){var a=n._locale.weekdaysParse(e,r,n._strict);null!=a?t.d=a:y(n).invalidWeekday=e})),Ee(["d","e","E"],(function(e,t,n,r){t[r]=Oe(e)}));var Pt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Et="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ht="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ft=Te,At=Te,$t=Te;function It(e,t){var n=i(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Nt(n,this._week.dow):e?n[e.day()]:n}function zt(e){return!0===e?Nt(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Rt(e){return!0===e?Nt(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Wt(e,t,n){var r,a,o,i=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=h([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?(a=Ve.call(this._weekdaysParse,i),-1!==a?a:null):"ddd"===t?(a=Ve.call(this._shortWeekdaysParse,i),-1!==a?a:null):(a=Ve.call(this._minWeekdaysParse,i),-1!==a?a:null):"dddd"===t?(a=Ve.call(this._weekdaysParse,i),-1!==a?a:(a=Ve.call(this._shortWeekdaysParse,i),-1!==a?a:(a=Ve.call(this._minWeekdaysParse,i),-1!==a?a:null))):"ddd"===t?(a=Ve.call(this._shortWeekdaysParse,i),-1!==a?a:(a=Ve.call(this._weekdaysParse,i),-1!==a?a:(a=Ve.call(this._minWeekdaysParse,i),-1!==a?a:null))):(a=Ve.call(this._minWeekdaysParse,i),-1!==a?a:(a=Ve.call(this._weekdaysParse,i),-1!==a?a:(a=Ve.call(this._shortWeekdaysParse,i),-1!==a?a:null)))}function Gt(e,t,n){var r,a,o;if(this._weekdaysParseExact)return Wt.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(a=h([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(o="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[r]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function Bt(e){if(!this.isValid())return null!=e?this:NaN;var t=Ze(this,"Day");return null!=e?(e=Ct(e,this.localeData()),this.add(e-t,"d")):t}function Ut(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function qt(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Ot(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Vt(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Qt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(l(this,"_weekdaysRegex")||(this._weekdaysRegex=Ft),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Jt(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Qt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(l(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=At),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Kt(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Qt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(l(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=$t),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Qt(){function e(e,t){return t.length-e.length}var t,n,r,a,o,i=[],s=[],l=[],d=[];for(t=0;t<7;t++)n=h([2e3,1]).day(t),r=je(this.weekdaysMin(n,"")),a=je(this.weekdaysShort(n,"")),o=je(this.weekdays(n,"")),i.push(r),s.push(a),l.push(o),d.push(r),d.push(a),d.push(o);i.sort(e),s.sort(e),l.sort(e),d.sort(e),this._weekdaysRegex=new RegExp("^("+d.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+i.join("|")+")","i")}function Zt(){return this.hours()%12||12}function Xt(){return this.hours()||24}function en(e,t){z(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function tn(e,t){return t._meridiemParse}function nn(e){return"p"===(e+"").toLowerCase().charAt(0)}z("H",["HH",2],0,"hour"),z("h",["hh",2],0,Zt),z("k",["kk",2],0,Xt),z("hmm",0,0,(function(){return""+Zt.apply(this)+H(this.minutes(),2)})),z("hmmss",0,0,(function(){return""+Zt.apply(this)+H(this.minutes(),2)+H(this.seconds(),2)})),z("Hmm",0,0,(function(){return""+this.hours()+H(this.minutes(),2)})),z("Hmmss",0,0,(function(){return""+this.hours()+H(this.minutes(),2)+H(this.seconds(),2)})),en("a",!0),en("A",!1),ke("a",tn),ke("A",tn),ke("H",me,De),ke("h",me,xe),ke("k",me,xe),ke("HH",me,de),ke("hh",me,de),ke("kk",me,de),ke("hmm",fe),ke("hmmss",he),ke("Hmm",fe),ke("Hmmss",he),Pe(["H","HH"],ze),Pe(["k","kk"],(function(e,t,n){var r=Oe(e);t[ze]=24===r?0:r})),Pe(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),Pe(["h","hh"],(function(e,t,n){t[ze]=Oe(e),y(n).bigHour=!0})),Pe("hmm",(function(e,t,n){var r=e.length-2;t[ze]=Oe(e.substr(0,r)),t[Re]=Oe(e.substr(r)),y(n).bigHour=!0})),Pe("hmmss",(function(e,t,n){var r=e.length-4,a=e.length-2;t[ze]=Oe(e.substr(0,r)),t[Re]=Oe(e.substr(r,2)),t[We]=Oe(e.substr(a)),y(n).bigHour=!0})),Pe("Hmm",(function(e,t,n){var r=e.length-2;t[ze]=Oe(e.substr(0,r)),t[Re]=Oe(e.substr(r))})),Pe("Hmmss",(function(e,t,n){var r=e.length-4,a=e.length-2;t[ze]=Oe(e.substr(0,r)),t[Re]=Oe(e.substr(r,2)),t[We]=Oe(e.substr(a))}));var rn=/[ap]\.?m?\.?/i,an=Qe("Hours",!0);function on(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var sn,ln={calendar:P,longDateFormat:U,invalidDate:V,ordinal:K,dayOfMonthOrdinalParse:Q,relativeTime:X,months:at,monthsShort:ot,week:Dt,weekdays:Pt,weekdaysMin:Ht,weekdaysShort:Et,meridiemParse:rn},dn={},cn={};function un(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n<r;n+=1)if(e[n]!==t[n])return n;return r}function pn(e){return e?e.toLowerCase().replace("_","-"):e}function mn(e){var t,n,r,a,o=0;while(o<e.length){a=pn(e[o]).split("-"),t=a.length,n=pn(e[o+1]),n=n?n.split("-"):null;while(t>0){if(r=hn(a.slice(0,t).join("-")),r)return r;if(n&&n.length>=t&&un(a,n)>=t-1)break;t--}o++}return sn}function fn(e){return!(!e||!e.match("^[^/\\\\]*$"))}function hn(t){var r=null;if(void 0===dn[t]&&e&&e.exports&&fn(t))try{r=sn._abbr,n(5358)("./"+t),gn(r)}catch(a){dn[t]=null}return dn[t]}function gn(e,t){var n;return e&&(n=c(t)?vn(e):yn(e,t),n?sn=n:"undefined"!==typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),sn._abbr}function yn(e,t){if(null!==t){var n,r=ln;if(t.abbr=e,null!=dn[e])Y("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=dn[e]._config;else if(null!=t.parentLocale)if(null!=dn[t.parentLocale])r=dn[t.parentLocale]._config;else{if(n=hn(t.parentLocale),null==n)return cn[t.parentLocale]||(cn[t.parentLocale]=[]),cn[t.parentLocale].push({name:e,config:t}),null;r=n._config}return dn[e]=new N(O(r,t)),cn[e]&&cn[e].forEach((function(e){yn(e.name,e.config)})),gn(e),dn[e]}return delete dn[e],null}function _n(e,t){if(null!=t){var n,r,a=ln;null!=dn[e]&&null!=dn[e].parentLocale?dn[e].set(O(dn[e]._config,t)):(r=hn(e),null!=r&&(a=r._config),t=O(a,t),null==r&&(t.abbr=e),n=new N(t),n.parentLocale=dn[e],dn[e]=n),gn(e)}else null!=dn[e]&&(null!=dn[e].parentLocale?(dn[e]=dn[e].parentLocale,e===gn()&&gn(e)):null!=dn[e]&&delete dn[e]);return dn[e]}function vn(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return sn;if(!i(e)){if(t=hn(e),t)return t;e=[e]}return mn(e)}function bn(){return k(dn)}function wn(e){var t,n=e._a;return n&&-2===y(e).overflow&&(t=n[$e]<0||n[$e]>11?$e:n[Ie]<1||n[Ie]>rt(n[Ae],n[$e])?Ie:n[ze]<0||n[ze]>24||24===n[ze]&&(0!==n[Re]||0!==n[We]||0!==n[Ge])?ze:n[Re]<0||n[Re]>59?Re:n[We]<0||n[We]>59?We:n[Ge]<0||n[Ge]>999?Ge:-1,y(e)._overflowDayOfYear&&(t<Ae||t>Ie)&&(t=Ie),y(e)._overflowWeeks&&-1===t&&(t=Be),y(e)._overflowWeekday&&-1===t&&(t=Ue),y(e).overflow=t),e}var Mn=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Ln=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Tn=/Z|[+-]\d\d(?::?\d\d)?/,xn=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Dn=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],kn=/^\/?Date\((-?\d+)/i,Sn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Yn={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function jn(e){var t,n,r,a,o,i,s=e._i,l=Mn.exec(s)||Ln.exec(s),d=xn.length,c=Dn.length;if(l){for(y(e).iso=!0,t=0,n=d;t<n;t++)if(xn[t][1].exec(l[1])){a=xn[t][0],r=!1!==xn[t][2];break}if(null==a)return void(e._isValid=!1);if(l[3]){for(t=0,n=c;t<n;t++)if(Dn[t][1].exec(l[3])){o=(l[2]||" ")+Dn[t][0];break}if(null==o)return void(e._isValid=!1)}if(!r&&null!=o)return void(e._isValid=!1);if(l[4]){if(!Tn.exec(l[4]))return void(e._isValid=!1);i="Z"}e._f=a+(o||"")+(i||""),Rn(e)}else e._isValid=!1}function Cn(e,t,n,r,a,o){var i=[On(e),ot.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(a,10)];return o&&i.push(parseInt(o,10)),i}function On(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Nn(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Pn(e,t,n){if(e){var r=Et.indexOf(e),a=new Date(t[0],t[1],t[2]).getDay();if(r!==a)return y(n).weekdayMismatch=!0,n._isValid=!1,!1}return!0}function En(e,t,n){if(e)return Yn[e];if(t)return 0;var r=parseInt(n,10),a=r%100,o=(r-a)/100;return 60*o+a}function Hn(e){var t,n=Sn.exec(Nn(e._i));if(n){if(t=Cn(n[4],n[3],n[2],n[5],n[6],n[7]),!Pn(n[1],t,e))return;e._a=t,e._tzm=En(n[8],n[9],n[10]),e._d=bt.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),y(e).rfc2822=!0}else e._isValid=!1}function Fn(e){var t=kn.exec(e._i);null===t?(jn(e),!1===e._isValid&&(delete e._isValid,Hn(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:a.createFromInputFallback(e)))):e._d=new Date(+t[1])}function An(e,t,n){return null!=e?e:null!=t?t:n}function $n(e){var t=new Date(a.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function In(e){var t,n,r,a,o,i=[];if(!e._d){for(r=$n(e),e._w&&null==e._a[Ie]&&null==e._a[$e]&&zn(e),null!=e._dayOfYear&&(o=An(e._a[Ae],r[Ae]),(e._dayOfYear>qe(o)||0===e._dayOfYear)&&(y(e)._overflowDayOfYear=!0),n=bt(o,0,e._dayOfYear),e._a[$e]=n.getUTCMonth(),e._a[Ie]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=i[t]=r[t];for(;t<7;t++)e._a[t]=i[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[ze]&&0===e._a[Re]&&0===e._a[We]&&0===e._a[Ge]&&(e._nextDay=!0,e._a[ze]=0),e._d=(e._useUTC?bt:vt).apply(null,i),a=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[ze]=24),e._w&&"undefined"!==typeof e._w.d&&e._w.d!==a&&(y(e).weekdayMismatch=!0)}}function zn(e){var t,n,r,a,o,i,s,l,d;t=e._w,null!=t.GG||null!=t.W||null!=t.E?(o=1,i=4,n=An(t.GG,e._a[Ae],Lt(Kn(),1,4).year),r=An(t.W,1),a=An(t.E,1),(a<1||a>7)&&(l=!0)):(o=e._locale._week.dow,i=e._locale._week.doy,d=Lt(Kn(),o,i),n=An(t.gg,e._a[Ae],d.year),r=An(t.w,d.week),null!=t.d?(a=t.d,(a<0||a>6)&&(l=!0)):null!=t.e?(a=t.e+o,(t.e<0||t.e>6)&&(l=!0)):a=o),r<1||r>Tt(n,o,i)?y(e)._overflowWeeks=!0:null!=l?y(e)._overflowWeekday=!0:(s=Mt(n,r,a,o,i),e._a[Ae]=s.year,e._dayOfYear=s.dayOfYear)}function Rn(e){if(e._f!==a.ISO_8601)if(e._f!==a.RFC_2822){e._a=[],y(e).empty=!0;var t,n,r,o,i,s,l,d=""+e._i,c=d.length,u=0;for(r=B(e._f,e._locale).match(F)||[],l=r.length,t=0;t<l;t++)o=r[t],n=(d.match(Se(o,e))||[])[0],n&&(i=d.substr(0,d.indexOf(n)),i.length>0&&y(e).unusedInput.push(i),d=d.slice(d.indexOf(n)+n.length),u+=n.length),I[o]?(n?y(e).empty=!1:y(e).unusedTokens.push(o),He(o,n,e)):e._strict&&!n&&y(e).unusedTokens.push(o);y(e).charsLeftOver=c-u,d.length>0&&y(e).unusedInput.push(d),e._a[ze]<=12&&!0===y(e).bigHour&&e._a[ze]>0&&(y(e).bigHour=void 0),y(e).parsedDateParts=e._a.slice(0),y(e).meridiem=e._meridiem,e._a[ze]=Wn(e._locale,e._a[ze],e._meridiem),s=y(e).era,null!==s&&(e._a[Ae]=e._locale.erasConvertYear(s,e._a[Ae])),In(e),wn(e)}else Hn(e);else jn(e)}function Wn(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(r=e.isPM(n),r&&t<12&&(t+=12),r||12!==t||(t=0),t):t}function Gn(e){var t,n,r,a,o,i,s=!1,l=e._f.length;if(0===l)return y(e).invalidFormat=!0,void(e._d=new Date(NaN));for(a=0;a<l;a++)o=0,i=!1,t=M({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[a],Rn(t),_(t)&&(i=!0),o+=y(t).charsLeftOver,o+=10*y(t).unusedTokens.length,y(t).score=o,s?o<r&&(r=o,n=t):(null==r||o<r||i)&&(r=o,n=t,i&&(s=!0));f(e,n||t)}function Bn(e){if(!e._d){var t=ae(e._i),n=void 0===t.day?t.date:t.day;e._a=m([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),In(e)}}function Un(e){var t=new L(wn(qn(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function qn(e){var t=e._i,n=e._f;return e._locale=e._locale||vn(e._l),null===t||void 0===n&&""===t?v({nullInput:!0}):("string"===typeof t&&(e._i=t=e._locale.preparse(t)),T(t)?new L(wn(t)):(p(t)?e._d=t:i(n)?Gn(e):n?Rn(e):Vn(e),_(e)||(e._d=null),e))}function Vn(e){var t=e._i;c(t)?e._d=new Date(a.now()):p(t)?e._d=new Date(t.valueOf()):"string"===typeof t?Fn(e):i(t)?(e._a=m(t.slice(0),(function(e){return parseInt(e,10)})),In(e)):s(t)?Bn(e):u(t)?e._d=new Date(t):a.createFromInputFallback(e)}function Jn(e,t,n,r,a){var o={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(s(e)&&d(e)||i(e)&&0===e.length)&&(e=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=a,o._l=n,o._i=e,o._f=t,o._strict=r,Un(o)}function Kn(e,t,n,r){return Jn(e,t,n,r,!1)}a.createFromInputFallback=D("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),a.ISO_8601=function(){},a.RFC_2822=function(){};var Qn=D("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Kn.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:v()})),Zn=D("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Kn.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:v()}));function Xn(e,t){var n,r;if(1===t.length&&i(t[0])&&(t=t[0]),!t.length)return Kn();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}function er(){var e=[].slice.call(arguments,0);return Xn("isBefore",e)}function tr(){var e=[].slice.call(arguments,0);return Xn("isAfter",e)}var nr=function(){return Date.now?Date.now():+new Date},rr=["year","quarter","month","week","day","hour","minute","second","millisecond"];function ar(e){var t,n,r=!1,a=rr.length;for(t in e)if(l(e,t)&&(-1===Ve.call(rr,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<a;++n)if(e[rr[n]]){if(r)return!1;parseFloat(e[rr[n]])!==Oe(e[rr[n]])&&(r=!0)}return!0}function or(){return this._isValid}function ir(){return Yr(NaN)}function sr(e){var t=ae(e),n=t.year||0,r=t.quarter||0,a=t.month||0,o=t.week||t.isoWeek||0,i=t.day||0,s=t.hour||0,l=t.minute||0,d=t.second||0,c=t.millisecond||0;this._isValid=ar(t),this._milliseconds=+c+1e3*d+6e4*l+1e3*s*60*60,this._days=+i+7*o,this._months=+a+3*r+12*n,this._data={},this._locale=vn(),this._bubble()}function lr(e){return e instanceof sr}function dr(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function cr(e,t,n){var r,a=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),i=0;for(r=0;r<a;r++)(n&&e[r]!==t[r]||!n&&Oe(e[r])!==Oe(t[r]))&&i++;return i+o}function ur(e,t){z(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+H(~~(e/60),2)+t+H(~~e%60,2)}))}ur("Z",":"),ur("ZZ",""),ke("Z",Me),ke("ZZ",Me),Pe(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=mr(Me,e)}));var pr=/([\+\-]|\d\d)/gi;function mr(e,t){var n,r,a,o=(t||"").match(e);return null===o?null:(n=o[o.length-1]||[],r=(n+"").match(pr)||["-",0,0],a=60*r[1]+Oe(r[2]),0===a?0:"+"===r[0]?a:-a)}function fr(e,t){var n,r;return t._isUTC?(n=t.clone(),r=(T(e)||p(e)?e.valueOf():Kn(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),a.updateOffset(n,!1),n):Kn(e).local()}function hr(e){return-Math.round(e._d.getTimezoneOffset())}function gr(e,t,n){var r,o=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"===typeof e){if(e=mr(Me,e),null===e)return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(r=hr(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),o!==e&&(!t||this._changeInProgress?Pr(this,Yr(e-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,a.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:hr(this)}function yr(e,t){return null!=e?("string"!==typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function _r(e){return this.utcOffset(0,e)}function vr(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(hr(this),"m")),this}function br(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"===typeof this._i){var e=mr(we,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function wr(e){return!!this.isValid()&&(e=e?Kn(e).utcOffset():0,(this.utcOffset()-e)%60===0)}function Mr(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Lr(){if(!c(this._isDSTShifted))return this._isDSTShifted;var e,t={};return M(t,this),t=qn(t),t._a?(e=t._isUTC?h(t._a):Kn(t._a),this._isDSTShifted=this.isValid()&&cr(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Tr(){return!!this.isValid()&&!this._isUTC}function xr(){return!!this.isValid()&&this._isUTC}function Dr(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}a.updateOffset=function(){};var kr=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Sr=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Yr(e,t){var n,r,a,o=e,i=null;return lr(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:u(e)||!isNaN(+e)?(o={},t?o[t]=+e:o.milliseconds=+e):(i=kr.exec(e))?(n="-"===i[1]?-1:1,o={y:0,d:Oe(i[Ie])*n,h:Oe(i[ze])*n,m:Oe(i[Re])*n,s:Oe(i[We])*n,ms:Oe(dr(1e3*i[Ge]))*n}):(i=Sr.exec(e))?(n="-"===i[1]?-1:1,o={y:jr(i[2],n),M:jr(i[3],n),w:jr(i[4],n),d:jr(i[5],n),h:jr(i[6],n),m:jr(i[7],n),s:jr(i[8],n)}):null==o?o={}:"object"===typeof o&&("from"in o||"to"in o)&&(a=Or(Kn(o.from),Kn(o.to)),o={},o.ms=a.milliseconds,o.M=a.months),r=new sr(o),lr(e)&&l(e,"_locale")&&(r._locale=e._locale),lr(e)&&l(e,"_isValid")&&(r._isValid=e._isValid),r}function jr(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Cr(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Or(e,t){var n;return e.isValid()&&t.isValid()?(t=fr(t,e),e.isBefore(t)?n=Cr(e,t):(n=Cr(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Nr(e,t){return function(n,r){var a,o;return null===r||isNaN(+r)||(Y(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=r,r=o),a=Yr(n,r),Pr(this,a,e),this}}function Pr(e,t,n,r){var o=t._milliseconds,i=dr(t._days),s=dr(t._months);e.isValid()&&(r=null==r||r,s&&mt(e,Ze(e,"Month")+s*n),i&&Xe(e,"Date",Ze(e,"Date")+i*n),o&&e._d.setTime(e._d.valueOf()+o*n),r&&a.updateOffset(e,i||s))}Yr.fn=sr.prototype,Yr.invalid=ir;var Er=Nr(1,"add"),Hr=Nr(-1,"subtract");function Fr(e){return"string"===typeof e||e instanceof String}function Ar(e){return T(e)||p(e)||Fr(e)||u(e)||Ir(e)||$r(e)||null===e||void 0===e}function $r(e){var t,n,r=s(e)&&!d(e),a=!1,o=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],i=o.length;for(t=0;t<i;t+=1)n=o[t],a=a||l(e,n);return r&&a}function Ir(e){var t=i(e),n=!1;return t&&(n=0===e.filter((function(t){return!u(t)&&Fr(e)})).length),t&&n}function zr(e){var t,n,r=s(e)&&!d(e),a=!1,o=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<o.length;t+=1)n=o[t],a=a||l(e,n);return r&&a}function Rr(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Wr(e,t){1===arguments.length&&(arguments[0]?Ar(arguments[0])?(e=arguments[0],t=void 0):zr(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||Kn(),r=fr(n,this).startOf("day"),o=a.calendarFormat(this,r)||"sameElse",i=t&&(j(t[o])?t[o].call(this,n):t[o]);return this.format(i||this.localeData().calendar(o,this,Kn(n)))}function Gr(){return new L(this)}function Br(e,t){var n=T(e)?e:Kn(e);return!(!this.isValid()||!n.isValid())&&(t=re(t)||"millisecond","millisecond"===t?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())}function Ur(e,t){var n=T(e)?e:Kn(e);return!(!this.isValid()||!n.isValid())&&(t=re(t)||"millisecond","millisecond"===t?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())}function qr(e,t,n,r){var a=T(e)?e:Kn(e),o=T(t)?t:Kn(t);return!!(this.isValid()&&a.isValid()&&o.isValid())&&(r=r||"()",("("===r[0]?this.isAfter(a,n):!this.isBefore(a,n))&&(")"===r[1]?this.isBefore(o,n):!this.isAfter(o,n)))}function Vr(e,t){var n,r=T(e)?e:Kn(e);return!(!this.isValid()||!r.isValid())&&(t=re(t)||"millisecond","millisecond"===t?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))}function Jr(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Kr(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Qr(e,t,n){var r,a,o;if(!this.isValid())return NaN;if(r=fr(e,this),!r.isValid())return NaN;switch(a=6e4*(r.utcOffset()-this.utcOffset()),t=re(t),t){case"year":o=Zr(this,r)/12;break;case"month":o=Zr(this,r);break;case"quarter":o=Zr(this,r)/3;break;case"second":o=(this-r)/1e3;break;case"minute":o=(this-r)/6e4;break;case"hour":o=(this-r)/36e5;break;case"day":o=(this-r-a)/864e5;break;case"week":o=(this-r-a)/6048e5;break;default:o=this-r}return n?o:Ce(o)}function Zr(e,t){if(e.date()<t.date())return-Zr(t,e);var n,r,a=12*(t.year()-e.year())+(t.month()-e.month()),o=e.clone().add(a,"months");return t-o<0?(n=e.clone().add(a-1,"months"),r=(t-o)/(o-n)):(n=e.clone().add(a+1,"months"),r=(t-o)/(n-o)),-(a+r)||0}function Xr(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function ea(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?G(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):j(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",G(n,"Z")):G(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function ta(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,r,a="moment",o="";return this.isLocal()||(a=0===this.utcOffset()?"moment.utc":"moment.parseZone",o="Z"),e="["+a+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm:ss.SSS",r=o+'[")]',this.format(e+t+n+r)}function na(e){e||(e=this.isUtc()?a.defaultFormatUtc:a.defaultFormat);var t=G(this,e);return this.localeData().postformat(t)}function ra(e,t){return this.isValid()&&(T(e)&&e.isValid()||Kn(e).isValid())?Yr({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function aa(e){return this.from(Kn(),e)}function oa(e,t){return this.isValid()&&(T(e)&&e.isValid()||Kn(e).isValid())?Yr({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function ia(e){return this.to(Kn(),e)}function sa(e){var t;return void 0===e?this._locale._abbr:(t=vn(e),null!=t&&(this._locale=t),this)}a.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",a.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var la=D("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function da(){return this._locale}var ca=1e3,ua=60*ca,pa=60*ua,ma=3506328*pa;function fa(e,t){return(e%t+t)%t}function ha(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-ma:new Date(e,t,n).valueOf()}function ga(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-ma:Date.UTC(e,t,n)}function ya(e){var t,n;if(e=re(e),void 0===e||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?ga:ha,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=fa(t+(this._isUTC?0:this.utcOffset()*ua),pa);break;case"minute":t=this._d.valueOf(),t-=fa(t,ua);break;case"second":t=this._d.valueOf(),t-=fa(t,ca);break}return this._d.setTime(t),a.updateOffset(this,!0),this}function _a(e){var t,n;if(e=re(e),void 0===e||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?ga:ha,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=pa-fa(t+(this._isUTC?0:this.utcOffset()*ua),pa)-1;break;case"minute":t=this._d.valueOf(),t+=ua-fa(t,ua)-1;break;case"second":t=this._d.valueOf(),t+=ca-fa(t,ca)-1;break}return this._d.setTime(t),a.updateOffset(this,!0),this}function va(){return this._d.valueOf()-6e4*(this._offset||0)}function ba(){return Math.floor(this.valueOf()/1e3)}function wa(){return new Date(this.valueOf())}function Ma(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function La(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function Ta(){return this.isValid()?this.toISOString():null}function xa(){return _(this)}function Da(){return f({},y(this))}function ka(){return y(this).overflow}function Sa(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Ya(e,t){var n,r,o,i=this._eras||vn("en")._eras;for(n=0,r=i.length;n<r;++n){switch(typeof i[n].since){case"string":o=a(i[n].since).startOf("day"),i[n].since=o.valueOf();break}switch(typeof i[n].until){case"undefined":i[n].until=1/0;break;case"string":o=a(i[n].until).startOf("day").valueOf(),i[n].until=o.valueOf();break}}return i}function ja(e,t,n){var r,a,o,i,s,l=this.eras();for(e=e.toUpperCase(),r=0,a=l.length;r<a;++r)if(o=l[r].name.toUpperCase(),i=l[r].abbr.toUpperCase(),s=l[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(i===e)return l[r];break;case"NNNN":if(o===e)return l[r];break;case"NNNNN":if(s===e)return l[r];break}else if([o,i,s].indexOf(e)>=0)return l[r]}function Ca(e,t){var n=e.since<=e.until?1:-1;return void 0===t?a(e.since).year():a(e.since).year()+(t-e.offset)*n}function Oa(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].name;if(r[e].until<=n&&n<=r[e].since)return r[e].name}return""}function Na(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].narrow;if(r[e].until<=n&&n<=r[e].since)return r[e].narrow}return""}function Pa(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].abbr;if(r[e].until<=n&&n<=r[e].since)return r[e].abbr}return""}function Ea(){var e,t,n,r,o=this.localeData().eras();for(e=0,t=o.length;e<t;++e)if(n=o[e].since<=o[e].until?1:-1,r=this.clone().startOf("day").valueOf(),o[e].since<=r&&r<=o[e].until||o[e].until<=r&&r<=o[e].since)return(this.year()-a(o[e].since).year())*n+o[e].offset;return this.year()}function Ha(e){return l(this,"_erasNameRegex")||Wa.call(this),e?this._erasNameRegex:this._erasRegex}function Fa(e){return l(this,"_erasAbbrRegex")||Wa.call(this),e?this._erasAbbrRegex:this._erasRegex}function Aa(e){return l(this,"_erasNarrowRegex")||Wa.call(this),e?this._erasNarrowRegex:this._erasRegex}function $a(e,t){return t.erasAbbrRegex(e)}function Ia(e,t){return t.erasNameRegex(e)}function za(e,t){return t.erasNarrowRegex(e)}function Ra(e,t){return t._eraYearOrdinalRegex||ve}function Wa(){var e,t,n,r,a,o=[],i=[],s=[],l=[],d=this.eras();for(e=0,t=d.length;e<t;++e)n=je(d[e].name),r=je(d[e].abbr),a=je(d[e].narrow),i.push(n),o.push(r),s.push(a),l.push(n),l.push(r),l.push(a);this._erasRegex=new RegExp("^("+l.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+i.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+o.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+s.join("|")+")","i")}function Ga(e,t){z(0,[e,e.length],0,t)}function Ba(e){return Qa.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function Ua(e){return Qa.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function qa(){return Tt(this.year(),1,4)}function Va(){return Tt(this.isoWeekYear(),1,4)}function Ja(){var e=this.localeData()._week;return Tt(this.year(),e.dow,e.doy)}function Ka(){var e=this.localeData()._week;return Tt(this.weekYear(),e.dow,e.doy)}function Qa(e,t,n,r,a){var o;return null==e?Lt(this,r,a).year:(o=Tt(e,r,a),t>o&&(t=o),Za.call(this,e,t,n,r,a))}function Za(e,t,n,r,a){var o=Mt(e,t,n,r,a),i=bt(o.year,0,o.dayOfYear);return this.year(i.getUTCFullYear()),this.month(i.getUTCMonth()),this.date(i.getUTCDate()),this}function Xa(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}z("N",0,0,"eraAbbr"),z("NN",0,0,"eraAbbr"),z("NNN",0,0,"eraAbbr"),z("NNNN",0,0,"eraName"),z("NNNNN",0,0,"eraNarrow"),z("y",["y",1],"yo","eraYear"),z("y",["yy",2],0,"eraYear"),z("y",["yyy",3],0,"eraYear"),z("y",["yyyy",4],0,"eraYear"),ke("N",$a),ke("NN",$a),ke("NNN",$a),ke("NNNN",Ia),ke("NNNNN",za),Pe(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,r){var a=n._locale.erasParse(e,r,n._strict);a?y(n).era=a:y(n).invalidEra=e})),ke("y",ve),ke("yy",ve),ke("yyy",ve),ke("yyyy",ve),ke("yo",Ra),Pe(["y","yy","yyy","yyyy"],Ae),Pe(["yo"],(function(e,t,n,r){var a;n._locale._eraYearOrdinalRegex&&(a=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[Ae]=n._locale.eraYearOrdinalParse(e,a):t[Ae]=parseInt(e,10)})),z(0,["gg",2],0,(function(){return this.weekYear()%100})),z(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),Ga("gggg","weekYear"),Ga("ggggg","weekYear"),Ga("GGGG","isoWeekYear"),Ga("GGGGG","isoWeekYear"),ke("G",be),ke("g",be),ke("GG",me,de),ke("gg",me,de),ke("GGGG",ye,ue),ke("gggg",ye,ue),ke("GGGGG",_e,pe),ke("ggggg",_e,pe),Ee(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=Oe(e)})),Ee(["gg","GG"],(function(e,t,n,r){t[r]=a.parseTwoDigitYear(e)})),z("Q",0,"Qo","quarter"),ke("Q",le),Pe("Q",(function(e,t){t[$e]=3*(Oe(e)-1)})),z("D",["DD",2],"Do","date"),ke("D",me,xe),ke("DD",me,de),ke("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),Pe(["D","DD"],Ie),Pe("Do",(function(e,t){t[Ie]=Oe(e.match(me)[0])}));var eo=Qe("Date",!0);function to(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}z("DDD",["DDDD",3],"DDDo","dayOfYear"),ke("DDD",ge),ke("DDDD",ce),Pe(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=Oe(e)})),z("m",["mm",2],0,"minute"),ke("m",me,De),ke("mm",me,de),Pe(["m","mm"],Re);var no=Qe("Minutes",!1);z("s",["ss",2],0,"second"),ke("s",me,De),ke("ss",me,de),Pe(["s","ss"],We);var ro,ao,oo=Qe("Seconds",!1);for(z("S",0,0,(function(){return~~(this.millisecond()/100)})),z(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),z(0,["SSS",3],0,"millisecond"),z(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),z(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),z(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),z(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),z(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),z(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),ke("S",ge,le),ke("SS",ge,de),ke("SSS",ge,ce),ro="SSSS";ro.length<=9;ro+="S")ke(ro,ve);function io(e,t){t[Ge]=Oe(1e3*("0."+e))}for(ro="S";ro.length<=9;ro+="S")Pe(ro,io);function so(){return this._isUTC?"UTC":""}function lo(){return this._isUTC?"Coordinated Universal Time":""}ao=Qe("Milliseconds",!1),z("z",0,0,"zoneAbbr"),z("zz",0,0,"zoneName");var co=L.prototype;function uo(e){return Kn(1e3*e)}function po(){return Kn.apply(null,arguments).parseZone()}function mo(e){return e}co.add=Er,co.calendar=Wr,co.clone=Gr,co.diff=Qr,co.endOf=_a,co.format=na,co.from=ra,co.fromNow=aa,co.to=oa,co.toNow=ia,co.get=et,co.invalidAt=ka,co.isAfter=Br,co.isBefore=Ur,co.isBetween=qr,co.isSame=Vr,co.isSameOrAfter=Jr,co.isSameOrBefore=Kr,co.isValid=xa,co.lang=la,co.locale=sa,co.localeData=da,co.max=Zn,co.min=Qn,co.parsingFlags=Da,co.set=tt,co.startOf=ya,co.subtract=Hr,co.toArray=Ma,co.toObject=La,co.toDate=wa,co.toISOString=ea,co.inspect=ta,"undefined"!==typeof Symbol&&null!=Symbol.for&&(co[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),co.toJSON=Ta,co.toString=Xr,co.unix=ba,co.valueOf=va,co.creationData=Sa,co.eraName=Oa,co.eraNarrow=Na,co.eraAbbr=Pa,co.eraYear=Ea,co.year=Je,co.isLeapYear=Ke,co.weekYear=Ba,co.isoWeekYear=Ua,co.quarter=co.quarters=Xa,co.month=ft,co.daysInMonth=ht,co.week=co.weeks=Yt,co.isoWeek=co.isoWeeks=jt,co.weeksInYear=Ja,co.weeksInWeekYear=Ka,co.isoWeeksInYear=qa,co.isoWeeksInISOWeekYear=Va,co.date=eo,co.day=co.days=Bt,co.weekday=Ut,co.isoWeekday=qt,co.dayOfYear=to,co.hour=co.hours=an,co.minute=co.minutes=no,co.second=co.seconds=oo,co.millisecond=co.milliseconds=ao,co.utcOffset=gr,co.utc=_r,co.local=vr,co.parseZone=br,co.hasAlignedHourOffset=wr,co.isDST=Mr,co.isLocal=Tr,co.isUtcOffset=xr,co.isUtc=Dr,co.isUTC=Dr,co.zoneAbbr=so,co.zoneName=lo,co.dates=D("dates accessor is deprecated. Use date instead.",eo),co.months=D("months accessor is deprecated. Use month instead",ft),co.years=D("years accessor is deprecated. Use year instead",Je),co.zone=D("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",yr),co.isDSTShifted=D("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Lr);var fo=N.prototype;function ho(e,t,n,r){var a=vn(),o=h().set(r,t);return a[n](o,e)}function go(e,t,n){if(u(e)&&(t=e,e=void 0),e=e||"",null!=t)return ho(e,t,n,"month");var r,a=[];for(r=0;r<12;r++)a[r]=ho(e,r,n,"month");return a}function yo(e,t,n,r){"boolean"===typeof e?(u(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,u(t)&&(n=t,t=void 0),t=t||"");var a,o=vn(),i=e?o._week.dow:0,s=[];if(null!=n)return ho(t,(n+i)%7,r,"day");for(a=0;a<7;a++)s[a]=ho(t,(a+i)%7,r,"day");return s}function _o(e,t){return go(e,t,"months")}function vo(e,t){return go(e,t,"monthsShort")}function bo(e,t,n){return yo(e,t,n,"weekdays")}function wo(e,t,n){return yo(e,t,n,"weekdaysShort")}function Mo(e,t,n){return yo(e,t,n,"weekdaysMin")}fo.calendar=E,fo.longDateFormat=q,fo.invalidDate=J,fo.ordinal=Z,fo.preparse=mo,fo.postformat=mo,fo.relativeTime=ee,fo.pastFuture=te,fo.set=C,fo.eras=Ya,fo.erasParse=ja,fo.erasConvertYear=Ca,fo.erasAbbrRegex=Fa,fo.erasNameRegex=Ha,fo.erasNarrowRegex=Aa,fo.months=dt,fo.monthsShort=ct,fo.monthsParse=pt,fo.monthsRegex=yt,fo.monthsShortRegex=gt,fo.week=xt,fo.firstDayOfYear=St,fo.firstDayOfWeek=kt,fo.weekdays=It,fo.weekdaysMin=Rt,fo.weekdaysShort=zt,fo.weekdaysParse=Gt,fo.weekdaysRegex=Vt,fo.weekdaysShortRegex=Jt,fo.weekdaysMinRegex=Kt,fo.isPM=nn,fo.meridiem=on,gn("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===Oe(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}}),a.lang=D("moment.lang is deprecated. Use moment.locale instead.",gn),a.langData=D("moment.langData is deprecated. Use moment.localeData instead.",vn);var Lo=Math.abs;function To(){var e=this._data;return this._milliseconds=Lo(this._milliseconds),this._days=Lo(this._days),this._months=Lo(this._months),e.milliseconds=Lo(e.milliseconds),e.seconds=Lo(e.seconds),e.minutes=Lo(e.minutes),e.hours=Lo(e.hours),e.months=Lo(e.months),e.years=Lo(e.years),this}function xo(e,t,n,r){var a=Yr(t,n);return e._milliseconds+=r*a._milliseconds,e._days+=r*a._days,e._months+=r*a._months,e._bubble()}function Do(e,t){return xo(this,e,t,1)}function ko(e,t){return xo(this,e,t,-1)}function So(e){return e<0?Math.floor(e):Math.ceil(e)}function Yo(){var e,t,n,r,a,o=this._milliseconds,i=this._days,s=this._months,l=this._data;return o>=0&&i>=0&&s>=0||o<=0&&i<=0&&s<=0||(o+=864e5*So(Co(s)+i),i=0,s=0),l.milliseconds=o%1e3,e=Ce(o/1e3),l.seconds=e%60,t=Ce(e/60),l.minutes=t%60,n=Ce(t/60),l.hours=n%24,i+=Ce(n/24),a=Ce(jo(i)),s+=a,i-=So(Co(a)),r=Ce(s/12),s%=12,l.days=i,l.months=s,l.years=r,this}function jo(e){return 4800*e/146097}function Co(e){return 146097*e/4800}function Oo(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if(e=re(e),"month"===e||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+jo(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Co(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}}function No(e){return function(){return this.as(e)}}var Po=No("ms"),Eo=No("s"),Ho=No("m"),Fo=No("h"),Ao=No("d"),$o=No("w"),Io=No("M"),zo=No("Q"),Ro=No("y"),Wo=Po;function Go(){return Yr(this)}function Bo(e){return e=re(e),this.isValid()?this[e+"s"]():NaN}function Uo(e){return function(){return this.isValid()?this._data[e]:NaN}}var qo=Uo("milliseconds"),Vo=Uo("seconds"),Jo=Uo("minutes"),Ko=Uo("hours"),Qo=Uo("days"),Zo=Uo("months"),Xo=Uo("years");function ei(){return Ce(this.days()/7)}var ti=Math.round,ni={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function ri(e,t,n,r,a){return a.relativeTime(t||1,!!n,e,r)}function ai(e,t,n,r){var a=Yr(e).abs(),o=ti(a.as("s")),i=ti(a.as("m")),s=ti(a.as("h")),l=ti(a.as("d")),d=ti(a.as("M")),c=ti(a.as("w")),u=ti(a.as("y")),p=o<=n.ss&&["s",o]||o<n.s&&["ss",o]||i<=1&&["m"]||i<n.m&&["mm",i]||s<=1&&["h"]||s<n.h&&["hh",s]||l<=1&&["d"]||l<n.d&&["dd",l];return null!=n.w&&(p=p||c<=1&&["w"]||c<n.w&&["ww",c]),p=p||d<=1&&["M"]||d<n.M&&["MM",d]||u<=1&&["y"]||["yy",u],p[2]=t,p[3]=+e>0,p[4]=r,ri.apply(null,p)}function oi(e){return void 0===e?ti:"function"===typeof e&&(ti=e,!0)}function ii(e,t){return void 0!==ni[e]&&(void 0===t?ni[e]:(ni[e]=t,"s"===e&&(ni.ss=t-1),!0))}function si(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,r,a=!1,o=ni;return"object"===typeof e&&(t=e,e=!1),"boolean"===typeof e&&(a=e),"object"===typeof t&&(o=Object.assign({},ni,t),null!=t.s&&null==t.ss&&(o.ss=t.s-1)),n=this.localeData(),r=ai(this,!a,o,n),a&&(r=n.pastFuture(+this,r)),n.postformat(r)}var li=Math.abs;function di(e){return(e>0)-(e<0)||+e}function ci(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,a,o,i,s,l=li(this._milliseconds)/1e3,d=li(this._days),c=li(this._months),u=this.asSeconds();return u?(e=Ce(l/60),t=Ce(e/60),l%=60,e%=60,n=Ce(c/12),c%=12,r=l?l.toFixed(3).replace(/\.?0+$/,""):"",a=u<0?"-":"",o=di(this._months)!==di(u)?"-":"",i=di(this._days)!==di(u)?"-":"",s=di(this._milliseconds)!==di(u)?"-":"",a+"P"+(n?o+n+"Y":"")+(c?o+c+"M":"")+(d?i+d+"D":"")+(t||e||l?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(l?s+r+"S":"")):"P0D"}var ui=sr.prototype;return ui.isValid=or,ui.abs=To,ui.add=Do,ui.subtract=ko,ui.as=Oo,ui.asMilliseconds=Po,ui.asSeconds=Eo,ui.asMinutes=Ho,ui.asHours=Fo,ui.asDays=Ao,ui.asWeeks=$o,ui.asMonths=Io,ui.asQuarters=zo,ui.asYears=Ro,ui.valueOf=Wo,ui._bubble=Yo,ui.clone=Go,ui.get=Bo,ui.milliseconds=qo,ui.seconds=Vo,ui.minutes=Jo,ui.hours=Ko,ui.days=Qo,ui.weeks=ei,ui.months=Zo,ui.years=Xo,ui.humanize=si,ui.toISOString=ci,ui.toString=ci,ui.toJSON=ci,ui.locale=sa,ui.localeData=da,ui.toIsoString=D("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ci),ui.lang=la,z("X",0,0,"unix"),z("x",0,0,"valueOf"),ke("x",be),ke("X",Le),Pe("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),Pe("x",(function(e,t,n){n._d=new Date(Oe(e))})),
300
300
  //! moment.js
301
- a.version="2.30.1",o(Kn),a.fn=co,a.min=er,a.max=tr,a.now=nr,a.utc=h,a.unix=uo,a.months=_o,a.isDate=p,a.locale=gn,a.invalid=v,a.duration=Yr,a.isMoment=T,a.weekdays=bo,a.parseZone=po,a.localeData=vn,a.isDuration=lr,a.monthsShort=vo,a.weekdaysMin=Mo,a.defineLocale=yn,a.updateLocale=_n,a.locales=bn,a.weekdaysShort=wo,a.normalizeUnits=re,a.relativeTimeRounding=oi,a.relativeTimeThreshold=ii,a.calendarFormat=Rr,a.prototype=co,a.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},a}))},8859:function(e,t,n){var r="function"===typeof Map&&Map.prototype,a=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,o=r&&a&&"function"===typeof a.get?a.get:null,i=r&&Map.prototype.forEach,s="function"===typeof Set&&Set.prototype,l=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,d=s&&l&&"function"===typeof l.get?l.get:null,c=s&&Set.prototype.forEach,u="function"===typeof WeakMap&&WeakMap.prototype,p=u?WeakMap.prototype.has:null,m="function"===typeof WeakSet&&WeakSet.prototype,f=m?WeakSet.prototype.has:null,h="function"===typeof WeakRef&&WeakRef.prototype,g=h?WeakRef.prototype.deref:null,y=Boolean.prototype.valueOf,_=Object.prototype.toString,v=Function.prototype.toString,b=String.prototype.match,w=String.prototype.slice,M=String.prototype.replace,L=String.prototype.toUpperCase,T=String.prototype.toLowerCase,x=RegExp.prototype.test,D=Array.prototype.concat,k=Array.prototype.join,S=Array.prototype.slice,Y=Math.floor,j="function"===typeof BigInt?BigInt.prototype.valueOf:null,C=Object.getOwnPropertySymbols,O="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?Symbol.prototype.toString:null,N="function"===typeof Symbol&&"object"===typeof Symbol.iterator,P="function"===typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===N||"symbol")?Symbol.toStringTag:null,E=Object.prototype.propertyIsEnumerable,H=("function"===typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function F(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||x.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"===typeof e){var r=e<0?-Y(-e):Y(e);if(r!==e){var a=String(r),o=w.call(t,a.length+1);return M.call(a,n,"$&_")+"."+M.call(M.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return M.call(t,n,"$&_")}var A=n(2634),$=A.custom,I=K($)?$:null;function z(e,t,n){var r="double"===(n.quoteStyle||t)?'"':"'";return r+e+r}function R(e){return M.call(String(e),/"/g,"&quot;")}function W(e){return"[object Array]"===ee(e)&&(!P||!("object"===typeof e&&P in e))}function G(e){return"[object Date]"===ee(e)&&(!P||!("object"===typeof e&&P in e))}function B(e){return"[object RegExp]"===ee(e)&&(!P||!("object"===typeof e&&P in e))}function U(e){return"[object Error]"===ee(e)&&(!P||!("object"===typeof e&&P in e))}function q(e){return"[object String]"===ee(e)&&(!P||!("object"===typeof e&&P in e))}function V(e){return"[object Number]"===ee(e)&&(!P||!("object"===typeof e&&P in e))}function J(e){return"[object Boolean]"===ee(e)&&(!P||!("object"===typeof e&&P in e))}function K(e){if(N)return e&&"object"===typeof e&&e instanceof Symbol;if("symbol"===typeof e)return!0;if(!e||"object"!==typeof e||!O)return!1;try{return O.call(e),!0}catch(t){}return!1}function Q(e){if(!e||"object"!==typeof e||!j)return!1;try{return j.call(e),!0}catch(t){}return!1}e.exports=function e(t,r,a,s){var l=r||{};if(X(l,"quoteStyle")&&"single"!==l.quoteStyle&&"double"!==l.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(X(l,"maxStringLength")&&("number"===typeof l.maxStringLength?l.maxStringLength<0&&l.maxStringLength!==1/0:null!==l.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var u=!X(l,"customInspect")||l.customInspect;if("boolean"!==typeof u&&"symbol"!==u)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(X(l,"indent")&&null!==l.indent&&"\t"!==l.indent&&!(parseInt(l.indent,10)===l.indent&&l.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(X(l,"numericSeparator")&&"boolean"!==typeof l.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var p=l.numericSeparator;if("undefined"===typeof t)return"undefined";if(null===t)return"null";if("boolean"===typeof t)return t?"true":"false";if("string"===typeof t)return de(t,l);if("number"===typeof t){if(0===t)return 1/0/t>0?"0":"-0";var m=String(t);return p?F(t,m):m}if("bigint"===typeof t){var f=String(t)+"n";return p?F(t,f):f}var h="undefined"===typeof l.depth?5:l.depth;if("undefined"===typeof a&&(a=0),a>=h&&h>0&&"object"===typeof t)return W(t)?"[Array]":"[Object]";var g=he(l,a);if("undefined"===typeof s)s=[];else if(ne(s,t)>=0)return"[Circular]";function _(t,n,r){if(n&&(s=S.call(s),s.push(n)),r){var o={depth:l.depth};return X(l,"quoteStyle")&&(o.quoteStyle=l.quoteStyle),e(t,o,a+1,s)}return e(t,l,a+1,s)}if("function"===typeof t&&!B(t)){var v=te(t),b=ye(t,_);return"[Function"+(v?": "+v:" (anonymous)")+"]"+(b.length>0?" { "+k.call(b,", ")+" }":"")}if(K(t)){var L=N?M.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):O.call(t);return"object"!==typeof t||N?L:ue(L)}if(le(t)){for(var x="<"+T.call(String(t.nodeName)),Y=t.attributes||[],C=0;C<Y.length;C++)x+=" "+Y[C].name+"="+z(R(Y[C].value),"double",l);return x+=">",t.childNodes&&t.childNodes.length&&(x+="..."),x+="</"+T.call(String(t.nodeName))+">",x}if(W(t)){if(0===t.length)return"[]";var $=ye(t,_);return g&&!fe($)?"["+ge($,g)+"]":"[ "+k.call($,", ")+" ]"}if(U(t)){var Z=ye(t,_);return"cause"in Error.prototype||!("cause"in t)||E.call(t,"cause")?0===Z.length?"["+String(t)+"]":"{ ["+String(t)+"] "+k.call(Z,", ")+" }":"{ ["+String(t)+"] "+k.call(D.call("[cause]: "+_(t.cause),Z),", ")+" }"}if("object"===typeof t&&u){if(I&&"function"===typeof t[I]&&A)return A(t,{depth:h-a});if("symbol"!==u&&"function"===typeof t.inspect)return t.inspect()}if(re(t)){var ce=[];return i&&i.call(t,(function(e,n){ce.push(_(n,t,!0)+" => "+_(e,t))})),me("Map",o.call(t),ce,g)}if(ie(t)){var _e=[];return c&&c.call(t,(function(e){_e.push(_(e,t))})),me("Set",d.call(t),_e,g)}if(ae(t))return pe("WeakMap");if(se(t))return pe("WeakSet");if(oe(t))return pe("WeakRef");if(V(t))return ue(_(Number(t)));if(Q(t))return ue(_(j.call(t)));if(J(t))return ue(y.call(t));if(q(t))return ue(_(String(t)));if("undefined"!==typeof window&&t===window)return"{ [object Window] }";if("undefined"!==typeof globalThis&&t===globalThis||"undefined"!==typeof n.g&&t===n.g)return"{ [object globalThis] }";if(!G(t)&&!B(t)){var ve=ye(t,_),be=H?H(t)===Object.prototype:t instanceof Object||t.constructor===Object,we=t instanceof Object?"":"null prototype",Me=!be&&P&&Object(t)===t&&P in t?w.call(ee(t),8,-1):we?"Object":"",Le=be||"function"!==typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"",Te=Le+(Me||we?"["+k.call(D.call([],Me||[],we||[]),": ")+"] ":"");return 0===ve.length?Te+"{}":g?Te+"{"+ge(ve,g)+"}":Te+"{ "+k.call(ve,", ")+" }"}return String(t)};var Z=Object.prototype.hasOwnProperty||function(e){return e in this};function X(e,t){return Z.call(e,t)}function ee(e){return _.call(e)}function te(e){if(e.name)return e.name;var t=b.call(v.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function ne(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}function re(e){if(!o||!e||"object"!==typeof e)return!1;try{o.call(e);try{d.call(e)}catch(t){return!0}return e instanceof Map}catch(n){}return!1}function ae(e){if(!p||!e||"object"!==typeof e)return!1;try{p.call(e,p);try{f.call(e,f)}catch(t){return!0}return e instanceof WeakMap}catch(n){}return!1}function oe(e){if(!g||!e||"object"!==typeof e)return!1;try{return g.call(e),!0}catch(t){}return!1}function ie(e){if(!d||!e||"object"!==typeof e)return!1;try{d.call(e);try{o.call(e)}catch(t){return!0}return e instanceof Set}catch(n){}return!1}function se(e){if(!f||!e||"object"!==typeof e)return!1;try{f.call(e,f);try{p.call(e,p)}catch(t){return!0}return e instanceof WeakSet}catch(n){}return!1}function le(e){return!(!e||"object"!==typeof e)&&("undefined"!==typeof HTMLElement&&e instanceof HTMLElement||"string"===typeof e.nodeName&&"function"===typeof e.getAttribute)}function de(e,t){if(e.length>t.maxStringLength){var n=e.length-t.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return de(w.call(e,0,t.maxStringLength),t)+r}var a=M.call(M.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,ce);return z(a,"single",t)}function ce(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+L.call(t.toString(16))}function ue(e){return"Object("+e+")"}function pe(e){return e+" { ? }"}function me(e,t,n,r){var a=r?ge(n,r):k.call(n,", ");return e+" ("+t+") {"+a+"}"}function fe(e){for(var t=0;t<e.length;t++)if(ne(e[t],"\n")>=0)return!1;return!0}function he(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"===typeof e.indent&&e.indent>0))return null;n=k.call(Array(e.indent+1)," ")}return{base:n,prev:k.call(Array(t+1),n)}}function ge(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+k.call(e,","+n)+"\n"+t.prev}function ye(e,t){var n=W(e),r=[];if(n){r.length=e.length;for(var a=0;a<e.length;a++)r[a]=X(e,a)?t(e[a],e):""}var o,i="function"===typeof C?C(e):[];if(N){o={};for(var s=0;s<i.length;s++)o["$"+i[s]]=i[s]}for(var l in e)X(e,l)&&(n&&String(Number(l))===l&&l<e.length||N&&o["$"+l]instanceof Symbol||(x.call(/[^\w$]/,l)?r.push(t(l,e)+": "+t(e[l],e)):r.push(l+": "+t(e[l],e))));if("function"===typeof C)for(var d=0;d<i.length;d++)E.call(e,i[d])&&r.push("["+t(i[d])+"]: "+t(e[i[d]],e));return r}},4765:function(e){"use strict";var t=String.prototype.replace,n=/%20/g,r={RFC1738:"RFC1738",RFC3986:"RFC3986"};e.exports={default:r.RFC3986,formatters:{RFC1738:function(e){return t.call(e,n,"+")},RFC3986:function(e){return String(e)}},RFC1738:r.RFC1738,RFC3986:r.RFC3986}},5373:function(e,t,n){"use strict";var r=n(8636),a=n(2642),o=n(4765);e.exports={formats:o,parse:a,stringify:r}},2642:function(e,t,n){"use strict";var r=n(7720),a=Object.prototype.hasOwnProperty,o=Array.isArray,i={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:r.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},l=function(e,t){return e&&"string"===typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},d="utf8=%26%2310003%3B",c="utf8=%E2%9C%93",u=function(e,t){var n={__proto__:null},u=t.ignoreQueryPrefix?e.replace(/^\?/,""):e;u=u.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var p,m=t.parameterLimit===1/0?void 0:t.parameterLimit,f=u.split(t.delimiter,m),h=-1,g=t.charset;if(t.charsetSentinel)for(p=0;p<f.length;++p)0===f[p].indexOf("utf8=")&&(f[p]===c?g="utf-8":f[p]===d&&(g="iso-8859-1"),h=p,p=f.length);for(p=0;p<f.length;++p)if(p!==h){var y,_,v=f[p],b=v.indexOf("]="),w=-1===b?v.indexOf("="):b+1;-1===w?(y=t.decoder(v,i.decoder,g,"key"),_=t.strictNullHandling?null:""):(y=t.decoder(v.slice(0,w),i.decoder,g,"key"),_=r.maybeMap(l(v.slice(w+1),t),(function(e){return t.decoder(e,i.decoder,g,"value")}))),_&&t.interpretNumericEntities&&"iso-8859-1"===g&&(_=s(_)),v.indexOf("[]=")>-1&&(_=o(_)?[_]:_);var M=a.call(n,y);M&&"combine"===t.duplicates?n[y]=r.combine(n[y],_):M&&"last"!==t.duplicates||(n[y]=_)}return n},p=function(e,t,n,r){for(var a=r?t:l(t,n),o=e.length-1;o>=0;--o){var i,s=e[o];if("[]"===s&&n.parseArrays)i=n.allowEmptyArrays&&(""===a||n.strictNullHandling&&null===a)?[]:[].concat(a);else{i=n.plainObjects?Object.create(null):{};var d="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,c=n.decodeDotInKeys?d.replace(/%2E/g,"."):d,u=parseInt(c,10);n.parseArrays||""!==c?!isNaN(u)&&s!==c&&String(u)===c&&u>=0&&n.parseArrays&&u<=n.arrayLimit?(i=[],i[u]=a):"__proto__"!==c&&(i[c]=a):i={0:a}}a=i}return a},m=function(e,t,n,r){if(e){var o=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,i=/(\[[^[\]]*])/,s=/(\[[^[\]]*])/g,l=n.depth>0&&i.exec(o),d=l?o.slice(0,l.index):o,c=[];if(d){if(!n.plainObjects&&a.call(Object.prototype,d)&&!n.allowPrototypes)return;c.push(d)}var u=0;while(n.depth>0&&null!==(l=s.exec(o))&&u<n.depth){if(u+=1,!n.plainObjects&&a.call(Object.prototype,l[1].slice(1,-1))&&!n.allowPrototypes)return;c.push(l[1])}return l&&c.push("["+o.slice(l.index)+"]"),p(c,t,n,r)}},f=function(e){if(!e)return i;if("undefined"!==typeof e.allowEmptyArrays&&"boolean"!==typeof e.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if("undefined"!==typeof e.decodeDotInKeys&&"boolean"!==typeof e.decodeDotInKeys)throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.decoder&&"undefined"!==typeof e.decoder&&"function"!==typeof e.decoder)throw new TypeError("Decoder has to be a function.");if("undefined"!==typeof e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t="undefined"===typeof e.charset?i.charset:e.charset,n="undefined"===typeof e.duplicates?i.duplicates:e.duplicates;if("combine"!==n&&"first"!==n&&"last"!==n)throw new TypeError("The duplicates option must be either combine, first, or last");var a="undefined"===typeof e.allowDots?!0===e.decodeDotInKeys||i.allowDots:!!e.allowDots;return{allowDots:a,allowEmptyArrays:"boolean"===typeof e.allowEmptyArrays?!!e.allowEmptyArrays:i.allowEmptyArrays,allowPrototypes:"boolean"===typeof e.allowPrototypes?e.allowPrototypes:i.allowPrototypes,allowSparse:"boolean"===typeof e.allowSparse?e.allowSparse:i.allowSparse,arrayLimit:"number"===typeof e.arrayLimit?e.arrayLimit:i.arrayLimit,charset:t,charsetSentinel:"boolean"===typeof e.charsetSentinel?e.charsetSentinel:i.charsetSentinel,comma:"boolean"===typeof e.comma?e.comma:i.comma,decodeDotInKeys:"boolean"===typeof e.decodeDotInKeys?e.decodeDotInKeys:i.decodeDotInKeys,decoder:"function"===typeof e.decoder?e.decoder:i.decoder,delimiter:"string"===typeof e.delimiter||r.isRegExp(e.delimiter)?e.delimiter:i.delimiter,depth:"number"===typeof e.depth||!1===e.depth?+e.depth:i.depth,duplicates:n,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"===typeof e.interpretNumericEntities?e.interpretNumericEntities:i.interpretNumericEntities,parameterLimit:"number"===typeof e.parameterLimit?e.parameterLimit:i.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"===typeof e.plainObjects?e.plainObjects:i.plainObjects,strictNullHandling:"boolean"===typeof e.strictNullHandling?e.strictNullHandling:i.strictNullHandling}};e.exports=function(e,t){var n=f(t);if(""===e||null===e||"undefined"===typeof e)return n.plainObjects?Object.create(null):{};for(var a="string"===typeof e?u(e,n):e,o=n.plainObjects?Object.create(null):{},i=Object.keys(a),s=0;s<i.length;++s){var l=i[s],d=m(l,a[l],n,"string"===typeof e);o=r.merge(o,d,n)}return!0===n.allowSparse?o:r.compact(o)}},8636:function(e,t,n){"use strict";var r=n(920),a=n(7720),o=n(4765),i=Object.prototype.hasOwnProperty,s={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},l=Array.isArray,d=Array.prototype.push,c=function(e,t){d.apply(e,l(t)?t:[t])},u=Date.prototype.toISOString,p=o["default"],m={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:a.encode,encodeValuesOnly:!1,format:p,formatter:o.formatters[p],indices:!1,serializeDate:function(e){return u.call(e)},skipNulls:!1,strictNullHandling:!1},f=function(e){return"string"===typeof e||"number"===typeof e||"boolean"===typeof e||"symbol"===typeof e||"bigint"===typeof e},h={},g=function e(t,n,o,i,s,d,u,p,g,y,_,v,b,w,M,L,T,x){var D=t,k=x,S=0,Y=!1;while(void 0!==(k=k.get(h))&&!Y){var j=k.get(t);if(S+=1,"undefined"!==typeof j){if(j===S)throw new RangeError("Cyclic object value");Y=!0}"undefined"===typeof k.get(h)&&(S=0)}if("function"===typeof y?D=y(n,D):D instanceof Date?D=b(D):"comma"===o&&l(D)&&(D=a.maybeMap(D,(function(e){return e instanceof Date?b(e):e}))),null===D){if(d)return g&&!L?g(n,m.encoder,T,"key",w):n;D=""}if(f(D)||a.isBuffer(D)){if(g){var C=L?n:g(n,m.encoder,T,"key",w);return[M(C)+"="+M(g(D,m.encoder,T,"value",w))]}return[M(n)+"="+M(String(D))]}var O,N=[];if("undefined"===typeof D)return N;if("comma"===o&&l(D))L&&g&&(D=a.maybeMap(D,g)),O=[{value:D.length>0?D.join(",")||null:void 0}];else if(l(y))O=y;else{var P=Object.keys(D);O=_?P.sort(_):P}var E=p?n.replace(/\./g,"%2E"):n,H=i&&l(D)&&1===D.length?E+"[]":E;if(s&&l(D)&&0===D.length)return H+"[]";for(var F=0;F<O.length;++F){var A=O[F],$="object"===typeof A&&"undefined"!==typeof A.value?A.value:D[A];if(!u||null!==$){var I=v&&p?A.replace(/\./g,"%2E"):A,z=l(D)?"function"===typeof o?o(H,I):H:H+(v?"."+I:"["+I+"]");x.set(t,S);var R=r();R.set(h,x),c(N,e($,z,o,i,s,d,u,p,"comma"===o&&L&&l(D)?null:g,y,_,v,b,w,M,L,T,R))}}return N},y=function(e){if(!e)return m;if("undefined"!==typeof e.allowEmptyArrays&&"boolean"!==typeof e.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if("undefined"!==typeof e.encodeDotInKeys&&"boolean"!==typeof e.encodeDotInKeys)throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.encoder&&"undefined"!==typeof e.encoder&&"function"!==typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||m.charset;if("undefined"!==typeof e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=o["default"];if("undefined"!==typeof e.format){if(!i.call(o.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var r,a=o.formatters[n],d=m.filter;if(("function"===typeof e.filter||l(e.filter))&&(d=e.filter),r=e.arrayFormat in s?e.arrayFormat:"indices"in e?e.indices?"indices":"repeat":m.arrayFormat,"commaRoundTrip"in e&&"boolean"!==typeof e.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var c="undefined"===typeof e.allowDots?!0===e.encodeDotInKeys||m.allowDots:!!e.allowDots;return{addQueryPrefix:"boolean"===typeof e.addQueryPrefix?e.addQueryPrefix:m.addQueryPrefix,allowDots:c,allowEmptyArrays:"boolean"===typeof e.allowEmptyArrays?!!e.allowEmptyArrays:m.allowEmptyArrays,arrayFormat:r,charset:t,charsetSentinel:"boolean"===typeof e.charsetSentinel?e.charsetSentinel:m.charsetSentinel,commaRoundTrip:e.commaRoundTrip,delimiter:"undefined"===typeof e.delimiter?m.delimiter:e.delimiter,encode:"boolean"===typeof e.encode?e.encode:m.encode,encodeDotInKeys:"boolean"===typeof e.encodeDotInKeys?e.encodeDotInKeys:m.encodeDotInKeys,encoder:"function"===typeof e.encoder?e.encoder:m.encoder,encodeValuesOnly:"boolean"===typeof e.encodeValuesOnly?e.encodeValuesOnly:m.encodeValuesOnly,filter:d,format:n,formatter:a,serializeDate:"function"===typeof e.serializeDate?e.serializeDate:m.serializeDate,skipNulls:"boolean"===typeof e.skipNulls?e.skipNulls:m.skipNulls,sort:"function"===typeof e.sort?e.sort:null,strictNullHandling:"boolean"===typeof e.strictNullHandling?e.strictNullHandling:m.strictNullHandling}};e.exports=function(e,t){var n,a,o=e,i=y(t);"function"===typeof i.filter?(a=i.filter,o=a("",o)):l(i.filter)&&(a=i.filter,n=a);var d=[];if("object"!==typeof o||null===o)return"";var u=s[i.arrayFormat],p="comma"===u&&i.commaRoundTrip;n||(n=Object.keys(o)),i.sort&&n.sort(i.sort);for(var m=r(),f=0;f<n.length;++f){var h=n[f];i.skipNulls&&null===o[h]||c(d,g(o[h],h,u,p,i.allowEmptyArrays,i.strictNullHandling,i.skipNulls,i.encodeDotInKeys,i.encode?i.encoder:null,i.filter,i.sort,i.allowDots,i.serializeDate,i.format,i.formatter,i.encodeValuesOnly,i.charset,m))}var _=d.join(i.delimiter),v=!0===i.addQueryPrefix?"?":"";return i.charsetSentinel&&("iso-8859-1"===i.charset?v+="utf8=%26%2310003%3B&":v+="utf8=%E2%9C%93&"),_.length>0?v+_:""}},7720:function(e,t,n){"use strict";var r=n(4765),a=Object.prototype.hasOwnProperty,o=Array.isArray,i=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),s=function(e){while(e.length>1){var t=e.pop(),n=t.obj[t.prop];if(o(n)){for(var r=[],a=0;a<n.length;++a)"undefined"!==typeof n[a]&&r.push(n[a]);t.obj[t.prop]=r}}},l=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},r=0;r<e.length;++r)"undefined"!==typeof e[r]&&(n[r]=e[r]);return n},d=function e(t,n,r){if(!n)return t;if("object"!==typeof n){if(o(t))t.push(n);else{if(!t||"object"!==typeof t)return[t,n];(r&&(r.plainObjects||r.allowPrototypes)||!a.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!==typeof t)return[t].concat(n);var i=t;return o(t)&&!o(n)&&(i=l(t,r)),o(t)&&o(n)?(n.forEach((function(n,o){if(a.call(t,o)){var i=t[o];i&&"object"===typeof i&&n&&"object"===typeof n?t[o]=e(i,n,r):t.push(n)}else t[o]=n})),t):Object.keys(n).reduce((function(t,o){var i=n[o];return a.call(t,o)?t[o]=e(t[o],i,r):t[o]=i,t}),i)},c=function(e,t){return Object.keys(t).reduce((function(e,n){return e[n]=t[n],e}),e)},u=function(e,t,n){var r=e.replace(/\+/g," ");if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(a){return r}},p=1024,m=function(e,t,n,a,o){if(0===e.length)return e;var s=e;if("symbol"===typeof e?s=Symbol.prototype.toString.call(e):"string"!==typeof e&&(s=String(e)),"iso-8859-1"===n)return escape(s).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var l="",d=0;d<s.length;d+=p){for(var c=s.length>=p?s.slice(d,d+p):s,u=[],m=0;m<c.length;++m){var f=c.charCodeAt(m);45===f||46===f||95===f||126===f||f>=48&&f<=57||f>=65&&f<=90||f>=97&&f<=122||o===r.RFC1738&&(40===f||41===f)?u[u.length]=c.charAt(m):f<128?u[u.length]=i[f]:f<2048?u[u.length]=i[192|f>>6]+i[128|63&f]:f<55296||f>=57344?u[u.length]=i[224|f>>12]+i[128|f>>6&63]+i[128|63&f]:(m+=1,f=65536+((1023&f)<<10|1023&c.charCodeAt(m)),u[u.length]=i[240|f>>18]+i[128|f>>12&63]+i[128|f>>6&63]+i[128|63&f])}l+=u.join("")}return l},f=function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],r=0;r<t.length;++r)for(var a=t[r],o=a.obj[a.prop],i=Object.keys(o),l=0;l<i.length;++l){var d=i[l],c=o[d];"object"===typeof c&&null!==c&&-1===n.indexOf(c)&&(t.push({obj:o,prop:d}),n.push(c))}return s(t),e},h=function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},g=function(e){return!(!e||"object"!==typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},y=function(e,t){return[].concat(e,t)},_=function(e,t){if(o(e)){for(var n=[],r=0;r<e.length;r+=1)n.push(t(e[r]));return n}return t(e)};e.exports={arrayToObject:l,assign:c,combine:y,compact:f,decode:u,encode:m,isBuffer:g,isRegExp:h,maybeMap:_,merge:d}},6897:function(e,t,n){"use strict";var r=n(453),a=n(41),o=n(592)(),i=n(5795),s=n(9675),l=r("%Math.floor%");e.exports=function(e,t){if("function"!==typeof e)throw new s("`fn` is not a function");if("number"!==typeof t||t<0||t>4294967295||l(t)!==t)throw new s("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],r=!0,d=!0;if("length"in e&&i){var c=i(e,"length");c&&!c.configurable&&(r=!1),c&&!c.writable&&(d=!1)}return(r||d||!n)&&(o?a(e,"length",t,!0,!0):a(e,"length",t)),e}},920:function(e,t,n){"use strict";var r=n(453),a=n(8075),o=n(8859),i=n(9675),s=r("%WeakMap%",!0),l=r("%Map%",!0),d=a("WeakMap.prototype.get",!0),c=a("WeakMap.prototype.set",!0),u=a("WeakMap.prototype.has",!0),p=a("Map.prototype.get",!0),m=a("Map.prototype.set",!0),f=a("Map.prototype.has",!0),h=function(e,t){for(var n,r=e;null!==(n=r.next);r=n)if(n.key===t)return r.next=n.next,n.next=e.next,e.next=n,n},g=function(e,t){var n=h(e,t);return n&&n.value},y=function(e,t,n){var r=h(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}},_=function(e,t){return!!h(e,t)};e.exports=function(){var e,t,n,r={assert:function(e){if(!r.has(e))throw new i("Side channel does not contain "+o(e))},get:function(r){if(s&&r&&("object"===typeof r||"function"===typeof r)){if(e)return d(e,r)}else if(l){if(t)return p(t,r)}else if(n)return g(n,r)},has:function(r){if(s&&r&&("object"===typeof r||"function"===typeof r)){if(e)return u(e,r)}else if(l){if(t)return f(t,r)}else if(n)return _(n,r);return!1},set:function(r,a){s&&r&&("object"===typeof r||"function"===typeof r)?(e||(e=new s),c(e,r,a)):l?(t||(t=new l),m(t,r,a)):(n||(n={key:{},next:null}),y(n,r,a))}};return r}},1025:function(e,t,n){var r=n(5154);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var a=n(9548).A;a("03722b47",r,!0,{sourceMap:!1,shadowMode:!1})},4795:function(e,t,n){var r=n(58);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var a=n(9548).A;a("9c72f76a",r,!0,{sourceMap:!1,shadowMode:!1})},7030:function(e,t,n){var r=n(2537);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var a=n(9548).A;a("3aeb27c4",r,!0,{sourceMap:!1,shadowMode:!1})},8160:function(e,t,n){var r=n(3125);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var a=n(9548).A;a("294b773b",r,!0,{sourceMap:!1,shadowMode:!1})},8100:function(e,t,n){var r=n(6979);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var a=n(9548).A;a("4ea35bd3",r,!0,{sourceMap:!1,shadowMode:!1})},1341:function(e,t,n){var r=n(1340);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var a=n(9548).A;a("3f0152a9",r,!0,{sourceMap:!1,shadowMode:!1})},7658:function(e,t,n){var r=n(875);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var a=n(9548).A;a("6be64e80",r,!0,{sourceMap:!1,shadowMode:!1})},543:function(e,t,n){var r=n(1866);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var a=n(9548).A;a("32b5c19b",r,!0,{sourceMap:!1,shadowMode:!1})},4868:function(e,t,n){var r=n(2053);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var a=n(9548).A;a("116b38b6",r,!0,{sourceMap:!1,shadowMode:!1})},9651:function(e,t,n){var r=n(7298);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var a=n(9548).A;a("6e4d5f5c",r,!0,{sourceMap:!1,shadowMode:!1})},6176:function(e,t,n){var r=n(2103);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var a=n(9548).A;a("09065315",r,!0,{sourceMap:!1,shadowMode:!1})},6992:function(e,t,n){var r=n(5155);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var a=n(9548).A;a("2b03b9e0",r,!0,{sourceMap:!1,shadowMode:!1})},1757:function(e,t,n){var r=n(300);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var a=n(9548).A;a("ebcb9426",r,!0,{sourceMap:!1,shadowMode:!1})},2727:function(e,t,n){var r=n(7758);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var a=n(9548).A;a("47f10b10",r,!0,{sourceMap:!1,shadowMode:!1})},8275:function(e,t,n){var r=n(4396);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var a=n(9548).A;a("83c70074",r,!0,{sourceMap:!1,shadowMode:!1})},8906:function(e,t,n){var r=n(1297);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var a=n(9548).A;a("7a3f6f16",r,!0,{sourceMap:!1,shadowMode:!1})},1453:function(e,t,n){var r=n(4430);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var a=n(9548).A;a("2f3deb05",r,!0,{sourceMap:!1,shadowMode:!1})},2174:function(e,t,n){var r=n(1033);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var a=n(9548).A;a("19a53e44",r,!0,{sourceMap:!1,shadowMode:!1})},7867:function(e,t,n){var r=n(556);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var a=n(9548).A;a("3f71cc00",r,!0,{sourceMap:!1,shadowMode:!1})},6295:function(e,t,n){var r=n(1445);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var a=n(9548).A;a("5f12cfda",r,!0,{sourceMap:!1,shadowMode:!1})},3368:function(e,t,n){var r=n(7765);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var a=n(9548).A;a("2814e878",r,!0,{sourceMap:!1,shadowMode:!1})},6260:function(e,t,n){var r=n(6413);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var a=n(9548).A;a("6d2b3bbd",r,!0,{sourceMap:!1,shadowMode:!1})},6887:function(e,t,n){var r=n(3654);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var a=n(9548).A;a("7cf1636c",r,!0,{sourceMap:!1,shadowMode:!1})},8583:function(e,t,n){var r=n(54);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var a=n(9548).A;a("e8a28254",r,!0,{sourceMap:!1,shadowMode:!1})},6272:function(e,t,n){var r=n(717);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var a=n(9548).A;a("537a77ee",r,!0,{sourceMap:!1,shadowMode:!1})},5222:function(e,t,n){var r=n(1807);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var a=n(9548).A;a("714bdb54",r,!0,{sourceMap:!1,shadowMode:!1})},9108:function(e,t,n){var r=n(2815);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var a=n(9548).A;a("08fc7b8c",r,!0,{sourceMap:!1,shadowMode:!1})},3747:function(e,t,n){var r=n(6322);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var a=n(9548).A;a("47d4e791",r,!0,{sourceMap:!1,shadowMode:!1})},5880:function(e,t,n){var r=n(481);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var a=n(9548).A;a("13cf5f9a",r,!0,{sourceMap:!1,shadowMode:!1})},9548:function(e,t,n){"use strict";function r(e,t){for(var n=[],r={},a=0;a<t.length;a++){var o=t[a],i=o[0],s=o[1],l=o[2],d=o[3],c={id:e+":"+a,css:s,media:l,sourceMap:d};r[i]?r[i].parts.push(c):n.push(r[i]={id:i,parts:[c]})}return n}n.d(t,{A:function(){return f}});var a="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!a)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var o={},i=a&&(document.head||document.getElementsByTagName("head")[0]),s=null,l=0,d=!1,c=function(){},u=null,p="data-vue-ssr-id",m="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function f(e,t,n,a){d=n,u=a||{};var i=r(e,t);return h(i),function(t){for(var n=[],a=0;a<i.length;a++){var s=i[a],l=o[s.id];l.refs--,n.push(l)}t?(i=r(e,t),h(i)):i=[];for(a=0;a<n.length;a++){l=n[a];if(0===l.refs){for(var d=0;d<l.parts.length;d++)l.parts[d]();delete o[l.id]}}}}function h(e){for(var t=0;t<e.length;t++){var n=e[t],r=o[n.id];if(r){r.refs++;for(var a=0;a<r.parts.length;a++)r.parts[a](n.parts[a]);for(;a<n.parts.length;a++)r.parts.push(y(n.parts[a]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{var i=[];for(a=0;a<n.parts.length;a++)i.push(y(n.parts[a]));o[n.id]={id:n.id,refs:1,parts:i}}}}function g(){var e=document.createElement("style");return e.type="text/css",i.appendChild(e),e}function y(e){var t,n,r=document.querySelector("style["+p+'~="'+e.id+'"]');if(r){if(d)return c;r.parentNode.removeChild(r)}if(m){var a=l++;r=s||(s=g()),t=v.bind(null,r,a,!1),n=v.bind(null,r,a,!0)}else r=g(),t=b.bind(null,r),n=function(){r.parentNode.removeChild(r)};return t(e),function(r){if(r){if(r.css===e.css&&r.media===e.media&&r.sourceMap===e.sourceMap)return;t(e=r)}else n()}}var _=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}();function v(e,t,n,r){var a=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=_(t,a);else{var o=document.createTextNode(a),i=e.childNodes;i[t]&&e.removeChild(i[t]),i.length?e.insertBefore(o,i[t]):e.appendChild(o)}}function b(e,t){var n=t.css,r=t.media,a=t.sourceMap;if(r&&e.setAttribute("media",r),u.ssrId&&e.setAttribute(p,t.id),a&&(n+="\n/*# sourceURL="+a.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */"),e.styleSheet)e.styleSheet.cssText=n;else{while(e.firstChild)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}},2634:function(){}},t={};function n(r){var a=t[r];if(void 0!==a)return a.exports;var o=t[r]={id:r,loaded:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}!function(){n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,{a:t}),t}}(),function(){n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}}(),function(){n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()}(),function(){n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}(),function(){n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}}(),function(){n.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e}}(),function(){n.p=""}();var r={};return function(){"use strict";if(n.r(r),n.d(r,{default:function(){return zi}}),"undefined"!==typeof window){var e=window.document.currentScript,t=n(5003);e=t(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:t});var a=e&&e.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);a&&(n.p=a[1])}var o=function(){var e=this,t=e._self._c;return t("div",[e.dialogFormVisible?t("el-dialog",{directives:[{name:"el-drag-dialog",rawName:"v-el-drag-dialog"}],attrs:{visible:e.dialogFormVisible,"close-on-click-modal":!1,width:"800px",title:e.$tx("gwgl.components.fileSettings","归档文件设置")},on:{"update:visible":function(t){e.dialogFormVisible=t}}},[t("el-form",{ref:"elform"},[t("div",{staticClass:"el-table el-table--fit el-table--border",staticStyle:{height:"276px"}},[t("div",{staticClass:"el-table__body-wrapper"},[t("table",{staticClass:"el-table__body el-table__body-no",attrs:{cellspacing:"0",cellpadding:"0",border:"0"}},[t("tbody",[t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"categoryName",expression:"'categoryName'"}]},[e._v("归档分类")])]),t("td",{staticClass:"el-table__cell tdcont tdw83",attrs:{colspan:"5"}},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"分类",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-input",{directives:[{name:"select-dialog",rawName:"v-select-dialog",value:"gdtype",expression:"'gdtype'"}],ref:"gdTypeTree",staticStyle:{width:"100%"},attrs:{"init-tree-data":e.treeData,"dialog-title":e.$tx("gwgl.components.archiveClassificationSelect","选择归档分类"),multiple:!1,placeholder:e.$tx("gwgl.components.archiveClassificationPlaceholder","请选择归档分类"),name:""},model:{value:e.vo.categoryName,callback:function(t){e.$set(e.vo,"categoryName",t)},expression:"vo.categoryName"}})],1)]}}],null,!1,1485042805)})],1)]),t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"gdType",expression:"'gdType'"}]},[e._v("归档类型")])]),t("td",{staticClass:"el-table__cell tdcont tdw83",attrs:{colspan:"5"}},[e.gdTypeEdit?t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"归档类型",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:e.$tx("gwgl.components.archivedTypePlaceholder")},model:{value:e.vo.gdType,callback:function(t){e.$set(e.vo,"gdType",t)},expression:"vo.gdType"}},e._l(e.gdType,(function(e){return t("el-option",{key:e.value,attrs:{label:e.title,value:e.value}})})),1)],1)]}}],null,!1,2759731974)}):t("div",[e._v(e._s(e.gdTypeObj[e.vo.gdType]))])],1)]),t("tr",[t("td",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"accessRightsType",expression:"'accessRightsType'"}],staticClass:"el-table__cell tdlbl tdw17"},[e._v("文件查阅权限")]),t("td",{staticClass:"el-table__cell tdcont tdw83",attrs:{colspan:"5"}},[t("el-radio-group",{model:{value:e.vo.accessRightsType,callback:function(t){e.$set(e.vo,"accessRightsType",t)},expression:"vo.accessRightsType"}},[t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"allPersonnel",expression:"'allPersonnel'"}],attrs:{label:0}},[e._v("全体人员可阅")]),e.vo.busiDataId?t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"originalHandler",expression:"'originalHandler'"}],attrs:{label:1}},[e._v("原经办人可阅")]):e._e(),e.vo.busiDataId?t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"handlerDesignated",expression:"'handlerDesignated'"}],attrs:{label:2}},[e._v("原经办人+指定人可阅")]):e._e(),e.vo.busiDataId?e._e():t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"designatedReaders",expression:"'designatedReaders'"}],attrs:{label:2}},[e._v("指定可阅人")])],1)],1)]),2===e.vo.accessRightsType?t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"appoints",expression:"'appoints'"}]},[e._v("指定类型")])]),t("td",{staticClass:"el-table__cell tdcont tdw83",attrs:{colspan:"5"}},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"指定类型",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-radio-group",{on:{change:e.changAppoints},model:{value:e.vo.appoints,callback:function(t){e.$set(e.vo,"appoints",t)},expression:"vo.appoints"}},[t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"specifyGroup",expression:"'specifyGroup'"}],attrs:{label:"1"}},[e._v("指定群组")]),t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"specifyDepart",expression:"'specifyDepart'"}],attrs:{label:"2"}},[e._v("指定部门")]),t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"specifyPerson",expression:"'specifyPerson'"}],attrs:{label:"3"}},[e._v("指定人员")])],1)],1)]}}],null,!1,2152493196)})],1)]):e._e(),2===e.vo.accessRightsType&&""!==e.vo.appoints&&null!==e.vo.appoints?t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),"1"===e.vo.appoints?t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"selectGroup",expression:"'selectGroup'"}]},[e._v("选择群组")]):e._e(),"2"===e.vo.appoints?t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"selectDepart",expression:"'selectDepart'"}]},[e._v("选择部门")]):e._e(),"3"===e.vo.appoints?t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"selectPerson",expression:"'selectPerson'"}]},[e._v("选择人员")]):e._e()]),t("td",{staticClass:"el-table__cell tdcont tdw83",attrs:{colspan:"5"}},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"群组",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-input",{directives:[{name:"show",rawName:"v-show",value:"1"===e.vo.appoints,expression:"vo.appoints === '1'"},{name:"select-dialog",rawName:"v-select-dialog",value:"workgroup",expression:"'workgroup'"}],attrs:{placeholder:e.$tx("gwgl.components.GroupPlaceholder","请选择群组"),readonly:"readonly",multiple:"true",type:"textarea","root-org-code":e.vo.orgCode,name:"deptIds2"},model:{value:e.vo.deptOrName,callback:function(t){e.$set(e.vo,"deptOrName",t)},expression:"vo.deptOrName"}})],1)]}}],null,!1,2916038636)}),t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"部门",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-input",{directives:[{name:"show",rawName:"v-show",value:"2"===e.vo.appoints,expression:"vo.appoints === '2'"},{name:"select-dialog",rawName:"v-select-dialog",value:"suborg",expression:"'suborg'"}],attrs:{placeholder:e.$tx("gwgl.components.DepartPlaceholder","请选择部门"),"org-level":"2",readonly:"readonly",multiple:"true",type:"textarea","root-org-code":e.vo.orgCode,name:"deptIds"},model:{value:e.vo.deptOrName,callback:function(t){e.$set(e.vo,"deptOrName",t)},expression:"vo.deptOrName"}})],1)]}}],null,!1,2179813810)}),t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"人员",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-input",{directives:[{name:"show",rawName:"v-show",value:"3"===e.vo.appoints,expression:"vo.appoints === '3'"},{name:"select-dialog",rawName:"v-select-dialog",value:"staff",expression:"'staff'"}],attrs:{placeholder:e.$tx("gwgl.components.PersonPlaceholder","请选择人员"),readonly:"readonly",multiple:"true",type:"textarea",name:"deptIds","root-org-code":e.vo.orgCode},model:{value:e.vo.deptOrName,callback:function(t){e.$set(e.vo,"deptOrName",t)},expression:"vo.deptOrName"}})],1)]}}],null,!1,4183502486)})],1)]):e._e()])])])])]),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},e._l(e.busiformBtns,(function(n,r){return t("el-button",{key:r,attrs:{disabled:e.doing,loading:"check"===n.btnIcon&&e.btnLoading,plain:null===n.btnType||""===n.btnType,icon:"el-icon-"+n.btnIcon,type:null!==n.btnType?n.btnType:""},on:{click:n.btnClick}},[e._v(e._s(n.btnName))])})),1)],1):e._e()],1)},i=[];function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function l(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */l=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",d=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,n){return e[t]=n}}function p(e,t,n,r){var o=t&&t.prototype instanceof v?t:v,i=Object.create(o.prototype),s=new O(r||[]);return a(i,"_invoke",{value:S(e,n,s)}),i}function m(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=p;var f="suspendedStart",h="suspendedYield",g="executing",y="completed",_={};function v(){}function b(){}function w(){}var M={};u(M,i,(function(){return this}));var L=Object.getPrototypeOf,T=L&&L(L(N([])));T&&T!==n&&r.call(T,i)&&(M=T);var x=w.prototype=v.prototype=Object.create(M);function D(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){function n(a,o,i,l){var d=m(e[a],e,o);if("throw"!==d.type){var c=d.arg,u=c.value;return u&&"object"==s(u)&&r.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,i,l)}),(function(e){n("throw",e,i,l)})):t.resolve(u).then((function(e){c.value=e,i(c)}),(function(e){return n("throw",e,i,l)}))}l(d.arg)}var o;a(this,"_invoke",{value:function(e,r){function a(){return new t((function(t,a){n(e,r,t,a)}))}return o=o?o.then(a,a):a()}})}function S(t,n,r){var a=f;return function(o,i){if(a===g)throw Error("Generator is already running");if(a===y){if("throw"===o)throw i;return{value:e,done:!0}}for(r.method=o,r.arg=i;;){var s=r.delegate;if(s){var l=Y(s,r);if(l){if(l===_)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(a===f)throw a=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);a=g;var d=m(t,n,r);if("normal"===d.type){if(a=r.done?y:h,d.arg===_)continue;return{value:d.arg,done:r.done}}"throw"===d.type&&(a=y,r.method="throw",r.arg=d.arg)}}}function Y(t,n){var r=n.method,a=t.iterator[r];if(a===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,Y(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),_;var o=m(a,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,_;var i=o.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,_):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,_)}function j(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function C(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function O(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(j,this),this.reset(!0)}function N(t){if(t||""===t){var n=t[i];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,o=function n(){for(;++a<t.length;)if(r.call(t,a))return n.value=t[a],n.done=!1,n;return n.value=e,n.done=!0,n};return o.next=o}}throw new TypeError(s(t)+" is not iterable")}return b.prototype=w,a(x,"constructor",{value:w,configurable:!0}),a(w,"constructor",{value:b,configurable:!0}),b.displayName=u(w,c,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,w):(e.__proto__=w,u(e,c,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},D(k.prototype),u(k.prototype,d,(function(){return this})),t.AsyncIterator=k,t.async=function(e,n,r,a,o){void 0===o&&(o=Promise);var i=new k(p(e,n,r,a),o);return t.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},D(x),u(x,c,"Generator"),u(x,i,(function(){return this})),u(x,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=N,O.prototype={constructor:O,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(C),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function a(r,a){return s.type="throw",s.arg=t,n.next=r,a&&(n.method="next",n.arg=e),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],s=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var l=r.call(i,"catchLoc"),d=r.call(i,"finallyLoc");if(l&&d){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!d)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&r.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,_):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),_},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),C(n),_}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;C(n)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:N(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),_}},t}function d(e,t,n,r,a,o,i){try{var s=e[o](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)}function c(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){d(o,r,a,i,s,"next",e)}function s(e){d(o,r,a,i,s,"throw",e)}i(void 0)}))}}var u={components:{},props:{},data:function(){return{i18npkg:"gwgl",moduleCode:"components",btnLoading:!1,title:"",rowsSelected:[],vo:{categoryName:"",categoryId:"",accessRightsType:0,appoints:"1",deptOrName:"",deptIds:"",status:8,flGwType:"",busiDataId:null,gdType:null},dialogFormVisible:!1,doing:!1,root:[],treeData:[],busiformBtns:[{id:"btn_close",btnName:"关 闭",btnIcon:"close",btnClick:this.closeDialog,btnPermission:"",btnType:""},{id:"btn_save",btnName:"保 存",btnIcon:"check",btnClick:this.submitSave,btnPermission:"saveObject",btnType:"primary"}],gwType:{wjcy:this.$tx("gwgl.portlet.documentCirculation","文件传阅"),bmbh:this.$tx("gwgl.portlet.departmentalLetter","部门便函"),yjzj:this.$tx("gwgl.portlet.solicitationOpinions","意见征集"),hytz:this.$tx("gwgl.portlet.hytz","会议通知"),qsbg:this.$tx("gwgl.portlet.requestInstructions","请示报告"),dzgg:this.$tx("gwgl.portlet.dzgg","电子公告")},gdType:[{title:this.$tx("gwgl.components.electronicFilling","电子归档"),value:1},{title:this.$tx("gwgl.components.paperArchiving","纸质归档"),value:2}],gdTypeObj:{1:this.$tx("gwgl.components.electronicFilling","电子归档"),2:this.$tx("gwgl.components.paperArchiving","纸质归档")},updateUrl:"",edit:!1,code:"",loginUser:this.$store.getters.loginUser,gdTypeEdit:!0}},computed:{},watch:{},created:function(){this.$bus.on("openDialog",this.openDialog),this.queryData()},beforeDestroy:function(){this.$bus.on("openDialog",this.openDialog)},mounted:function(){},methods:{openDialog:function(e){this.gdTypeEdit=!0,e.rowsSelected.length<1?this.$alert(this.$tx("gwgl.messages.selectFile","请选择需要归档的文件!"),this.$tx("common.operationTip","操作提示"),{confirmButtonText:this.$tx("pageBtns.sure","确 定"),type:"warning"}):(e.rowsSelected[0].wfNodeNames?this.vo.busiDataId=e.rowsSelected[0].id:this.vo.busiDataId=e.rowsSelected[0].busiDataId,e.edit?(this.edit=!0,this.updateUrl="/gwgl/gdwj/updateList",this.vo.categoryName=e.rowsSelected[0].categoryName,this.vo.categoryId=e.rowsSelected[0].categoryId,this.vo.accessRightsType=e.rowsSelected[0].accessRightsType,this.vo.appoints=e.rowsSelected[0].appoints,this.vo.deptOrName=e.rowsSelected[0].deptOrName,this.vo.deptIds=e.rowsSelected[0].deptIds,this.vo.status=e.rowsSelected[0].status,this.vo.flGwType=e.rowsSelected[0].flGwType,this.vo.gdType=e.rowsSelected[0].gdType):(this.updateUrl=e.url,this.code=e.url.split("/")[1],this.vo.gdType=e.gdtype?1:e.rowsSelected[0].gdType||1,this.gdTypeEdit=!1),this.rowsSelected=e.rowsSelected,this.dialogFormVisible=!0)},submitSave:function(){var e=this;return c(l().mark((function t(){return l().wrap((function(t){while(1)switch(t.prev=t.next){case 0:e.btnLoading=!0,e.$refs.elform.formValidate((function(){if(!e.vo.categoryName)return e.$alert(e.$tx("gwgl.messages.selectArchiveClassification","请选择归档分类!"),e.$tx("common.operationTip","操作提示"),{confirmButtonText:e.$tx("pageBtns.sure","确 定"),type:"warning"}),void(e.btnLoading=!1);if(!e.vo.gdType)return e.$alert(e.$tx("gwgl.messages.selectArchivedType"),e.$tx("common.operationTip","操作提示"),{confirmButtonText:e.$tx("pageBtns.sure","确 定"),type:"warning"}),void(e.btnLoading=!1);if(e.edit)e.rowsSelected.forEach((function(t){t.categoryName=e.vo.categoryName,t.categoryId=e.vo.categoryId,t.accessRightsType=e.vo.accessRightsType,t.appoints=e.vo.appoints,t.deptOrName=e.vo.deptOrName,t.deptIds=e.vo.deptIds,t.status=e.vo.status,t.gdType=e.vo.gdType})),e.updateHandler();else{var t=[];e.rowsSelected.forEach((function(n){"fawen"===e.code?e.vo.flGwType=n.flType:"shouwen"===e.code?n.flLwdwCode&&n.flLwdwCode!==n.orgCode?e.vo.flGwType=n.flType:n.flSwzh?e.vo.flGwType=e.$tx("gwgl.portlet.readingOffice","收文阅办"):n.flSwzh||(e.vo.flGwType=e.$tx("gwgl.portlet.receiptDocuments","部门收文")):e.vo.flGwType=e.gwType[e.code],e.vo.busiDataId=n.id;var r=Object.assign(n,e.vo);delete r.id,t.push(r)})),e.submitSaveHandler(t)}}));case 2:case"end":return t.stop()}}),t)})))()},updateHandler:function(){var e=this;return c(l().mark((function t(){var n,r;return l().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=JSON.parse(JSON.stringify(e.rowsSelected)),t.next=3,e.$app.update(e.updateUrl,n);case 3:r=t.sent,"success"===r.code?(e.$bus.emit("refreshListData"),e.closeDialog(),e.$message({message:r.message,type:"success"}),e.btnLoading=!1):(e.$alert(r.message,e.$tx("common.operationTip","操作提示"),{type:"error"}),e.btnLoading=!1);case 5:case"end":return t.stop()}}),t)})))()},submitSaveHandler:function(e){var t=this;return c(l().mark((function n(){var r,a;return l().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return r=JSON.parse(JSON.stringify(e)),n.next=3,t.$app.insert("/gwgl/gdwj/insertList?module="+t.code,r);case 3:a=n.sent,"success"===a.code?(t.$bus.emit("refreshListData"),t.closeDialog(),t.$message({message:a.message,type:"success"}),t.btnLoading=!1):(t.$alert(a.message,t.$tx("common.operationTip","操作提示"),{type:"error"}),t.btnLoading=!1);case 5:case"end":return n.stop()}}),n)})))()},closeDialog:function(){this.title="",this.doing=!1,this.rowsSelected=[],this.vo={categoryName:"",categoryId:"",accessRightsType:0,appoints:"1",deptOrName:"",deptIds:"",status:8},this.dialogFormVisible=!1},queryData:function(){var e=this;this.$http({method:"POST",contentType:"application/x-www-form-urlencoded",params:{orderBy:"categoryLevel asc,orderno asc"},data:[{compare:"=",field:"orgCode",merge:!0,value:this.loginUser.orgCode}],url:"/gwgl/gdflsz/querydata"}).then((function(t){"success"===t.code?e.treeData=e.treeData=e.treeDataAdapter(e.root.concat(t.body.listdata)):e.$alert(t.message,e.$tx("common.operationTip","操作提示"),{type:"error"})}))},treeDataAdapter:function(e){return e.forEach((function(e){null===e.parentId||""===e.parentId||void 0===e.parentId?e.pId="1":e.pId=e.parentId,e.name=e.categoryName,e.title=e.categoryName})),e},onGdtypeCompleted:function(e,t){this.vo.categoryName=e[0].name,this.vo.categoryId=e[0].categoryFullId},onSelectSuborgCompleted:function(e,t){var n="",r="";e.forEach((function(e){""!==n&&(n+="、"),""!==n&&(r+="、"),n+=e.name,r+=e.id})),this.$set(this.vo,"deptIds",r),this.$set(this.vo,"deptOrName",n)},onSelectWorkgroupCompleted:function(e,t){var n="",r="";e.forEach((function(e){""!==n&&(n+="、"),""!==n&&(r+="、"),n+=e.name,r+=e.id})),this.$set(this.vo,"deptIds",r),this.$set(this.vo,"deptOrName",n)},onSelectStaffCompleted:function(e,t){var n="",r="";e.forEach((function(e){""!==n&&(r+="、"),""!==n&&(n+="、"),n+=e.name,r+=e.personId})),this.$set(this.vo,"deptOrName",n),this.$set(this.vo,"deptIds",r)},changAppoints:function(e){this.vo.deptIds="",this.vo.deptOrName="",e===this.activeId&&(this.vo.deptIds=this.activedeptIds,this.vo.deptOrName=this.activeText)}}},p=u;n(1025);function m(e,t,n,r,a,o,i,s){var l,d="function"===typeof e?e.options:e;if(t&&(d.render=t,d.staticRenderFns=n,d._compiled=!0),r&&(d.functional=!0),o&&(d._scopeId="data-v-"+o),i?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),a&&a.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},d._ssrRegister=l):a&&(l=s?function(){a.call(this,(d.functional?this.parent:this).$root.$options.shadowRoot)}:a),l)if(d.functional){d._injectStyles=l;var c=d.render;d.render=function(e,t){return l.call(t),c(e,t)}}else{var u=d.beforeCreate;d.beforeCreate=u?[].concat(u,l):[l]}return{exports:e,options:d}}var f=m(p,o,i,!1,null,"e9973e82",null),h=f.exports,g=function(){var e=this,t=e._self._c;return t("div",{staticStyle:{"margin-left":"-1px"}},[t("div",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"cbUrgedPerson",expression:"'cbUrgedPerson'"}],staticStyle:{"padding-left":"4px"}},[e._v("处理人")]),e.loading?t("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"el-dialog__body"}):e._e(),e.loading?e._e():t("el-table",{staticClass:"wfNodelog-container todo-row",staticStyle:{width:"100%"},attrs:{data:e.tableData,border:"",height:"300"}},[t("el-table-column",{attrs:{label:e.$tx("fields.index","序号"),type:"index",width:"45",align:"center"}}),t("el-table-column",{attrs:{label:e.$tx("gwgl.components.fields.cbUrgedPerson","处理人"),prop:"cbUrgedPerson",width:"80",align:"center"}}),t("el-table-column",{attrs:{label:e.$tx("gwgl.components.fields.jsTime","送达时间"),prop:"jsTime",width:"150",align:"center"}}),t("el-table-column",{attrs:{label:e.$tx("gwgl.components.fields.banwenTime","办理时间"),prop:"banwenTime",width:"150",align:"center"}}),t("el-table-column",{attrs:{label:e.$tx("gwgl.components.fields.wfNodeNames","处理环节"),prop:"wfNodeNames",width:"",align:"center"}})],1)],1)},y=[];function _(e){return _="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_(e)}function v(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */v=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function d(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(e){d=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var o=t&&t.prototype instanceof y?t:y,i=Object.create(o.prototype),s=new O(r||[]);return a(i,"_invoke",{value:S(e,n,s)}),i}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=c;var p="suspendedStart",m="suspendedYield",f="executing",h="completed",g={};function y(){}function b(){}function w(){}var M={};d(M,i,(function(){return this}));var L=Object.getPrototypeOf,T=L&&L(L(N([])));T&&T!==n&&r.call(T,i)&&(M=T);var x=w.prototype=y.prototype=Object.create(M);function D(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){function n(a,o,i,s){var l=u(e[a],e,o);if("throw"!==l.type){var d=l.arg,c=d.value;return c&&"object"==_(c)&&r.call(c,"__await")?t.resolve(c.__await).then((function(e){n("next",e,i,s)}),(function(e){n("throw",e,i,s)})):t.resolve(c).then((function(e){d.value=e,i(d)}),(function(e){return n("throw",e,i,s)}))}s(l.arg)}var o;a(this,"_invoke",{value:function(e,r){function a(){return new t((function(t,a){n(e,r,t,a)}))}return o=o?o.then(a,a):a()}})}function S(t,n,r){var a=p;return function(o,i){if(a===f)throw Error("Generator is already running");if(a===h){if("throw"===o)throw i;return{value:e,done:!0}}for(r.method=o,r.arg=i;;){var s=r.delegate;if(s){var l=Y(s,r);if(l){if(l===g)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(a===p)throw a=h,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);a=f;var d=u(t,n,r);if("normal"===d.type){if(a=r.done?h:m,d.arg===g)continue;return{value:d.arg,done:r.done}}"throw"===d.type&&(a=h,r.method="throw",r.arg=d.arg)}}}function Y(t,n){var r=n.method,a=t.iterator[r];if(a===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,Y(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var o=u(a,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,g;var i=o.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,g):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function j(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function C(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function O(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(j,this),this.reset(!0)}function N(t){if(t||""===t){var n=t[i];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,o=function n(){for(;++a<t.length;)if(r.call(t,a))return n.value=t[a],n.done=!1,n;return n.value=e,n.done=!0,n};return o.next=o}}throw new TypeError(_(t)+" is not iterable")}return b.prototype=w,a(x,"constructor",{value:w,configurable:!0}),a(w,"constructor",{value:b,configurable:!0}),b.displayName=d(w,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,w):(e.__proto__=w,d(e,l,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},D(k.prototype),d(k.prototype,s,(function(){return this})),t.AsyncIterator=k,t.async=function(e,n,r,a,o){void 0===o&&(o=Promise);var i=new k(c(e,n,r,a),o);return t.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},D(x),d(x,l,"Generator"),d(x,i,(function(){return this})),d(x,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=N,O.prototype={constructor:O,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(C),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function a(r,a){return s.type="throw",s.arg=t,n.next=r,a&&(n.method="next",n.arg=e),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],s=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var l=r.call(i,"catchLoc"),d=r.call(i,"finallyLoc");if(l&&d){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!d)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&r.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),C(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;C(n)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:N(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}function b(e,t,n,r,a,o,i){try{var s=e[o](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)}function w(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){b(o,r,a,i,s,"next",e)}function s(e){b(o,r,a,i,s,"throw",e)}i(void 0)}))}}var M={components:{},props:{vo:{type:Object,default:function(){return{}}}},data:function(){return{i18npkg:"gwgl",moduleCode:"components",loading:!1,tableData:[]}},computed:{},watch:{},created:function(){this.queryData()},mounted:function(){},beforeDestroy:function(){},methods:{queryData:function(){var e=this;return w(v().mark((function t(){return v().wrap((function(t){while(1)switch(t.prev=t.next){case 0:e.$http({method:"POST",contentType:"application/x-www-form-urlencoded",params:{orderBy:"jsTime asc"},data:[{compare:"=",field:"cbId",merge:!0,value:e.vo.id}],url:"/cuiban/cbjsjl/querydata"}).then((function(t){"success"===t.code?(console.log(t),e.tableData=t.body.listdata):e.$alert(t.message,e.$tx("common.operationTip","操作提示"),{type:"error"})}));case 1:case"end":return t.stop()}}),t)})))()}}},L=M,T=m(L,g,y,!1,null,"aff3553c",null),x=T.exports,D=function(){var e=this,t=e._self._c;return t("div",[!e.updatecolumn||"flELevel"!==e.column.field&&"elevel"!==e.column.field?e._e():t("div",{key:e.row.id,staticClass:"divCenter",staticStyle:{height:"23px"}},[t("span",{key:e.row.id,staticClass:"color-box",style:{background:e.getEnevle("color")}}),t("span",{key:e.row.id,staticClass:"text-box"},[e._v(e._s(e.getEnevle("name")))])]),"operate"===e.column.field?t("div",[e.row.wfNodeNames?e._e():t("el-link",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"edit",expression:"'edit'"}],attrs:{underline:!1},on:{click:e.editorForm}},[e._v("编辑")]),t("el-link",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"setting",expression:"'setting'"}],attrs:{underline:!1},on:{click:e.fileSetting}},[e._v("设置")])],1):e._e()])},k=[];
301
+ a.version="2.30.1",o(Kn),a.fn=co,a.min=er,a.max=tr,a.now=nr,a.utc=h,a.unix=uo,a.months=_o,a.isDate=p,a.locale=gn,a.invalid=v,a.duration=Yr,a.isMoment=T,a.weekdays=bo,a.parseZone=po,a.localeData=vn,a.isDuration=lr,a.monthsShort=vo,a.weekdaysMin=Mo,a.defineLocale=yn,a.updateLocale=_n,a.locales=bn,a.weekdaysShort=wo,a.normalizeUnits=re,a.relativeTimeRounding=oi,a.relativeTimeThreshold=ii,a.calendarFormat=Rr,a.prototype=co,a.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},a}))},8859:function(e,t,n){var r="function"===typeof Map&&Map.prototype,a=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,o=r&&a&&"function"===typeof a.get?a.get:null,i=r&&Map.prototype.forEach,s="function"===typeof Set&&Set.prototype,l=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,d=s&&l&&"function"===typeof l.get?l.get:null,c=s&&Set.prototype.forEach,u="function"===typeof WeakMap&&WeakMap.prototype,p=u?WeakMap.prototype.has:null,m="function"===typeof WeakSet&&WeakSet.prototype,f=m?WeakSet.prototype.has:null,h="function"===typeof WeakRef&&WeakRef.prototype,g=h?WeakRef.prototype.deref:null,y=Boolean.prototype.valueOf,_=Object.prototype.toString,v=Function.prototype.toString,b=String.prototype.match,w=String.prototype.slice,M=String.prototype.replace,L=String.prototype.toUpperCase,T=String.prototype.toLowerCase,x=RegExp.prototype.test,D=Array.prototype.concat,k=Array.prototype.join,S=Array.prototype.slice,Y=Math.floor,j="function"===typeof BigInt?BigInt.prototype.valueOf:null,C=Object.getOwnPropertySymbols,O="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?Symbol.prototype.toString:null,N="function"===typeof Symbol&&"object"===typeof Symbol.iterator,P="function"===typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===N||"symbol")?Symbol.toStringTag:null,E=Object.prototype.propertyIsEnumerable,H=("function"===typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function F(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||x.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"===typeof e){var r=e<0?-Y(-e):Y(e);if(r!==e){var a=String(r),o=w.call(t,a.length+1);return M.call(a,n,"$&_")+"."+M.call(M.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return M.call(t,n,"$&_")}var A=n(2634),$=A.custom,I=K($)?$:null;function z(e,t,n){var r="double"===(n.quoteStyle||t)?'"':"'";return r+e+r}function R(e){return M.call(String(e),/"/g,"&quot;")}function W(e){return"[object Array]"===ee(e)&&(!P||!("object"===typeof e&&P in e))}function G(e){return"[object Date]"===ee(e)&&(!P||!("object"===typeof e&&P in e))}function B(e){return"[object RegExp]"===ee(e)&&(!P||!("object"===typeof e&&P in e))}function U(e){return"[object Error]"===ee(e)&&(!P||!("object"===typeof e&&P in e))}function q(e){return"[object String]"===ee(e)&&(!P||!("object"===typeof e&&P in e))}function V(e){return"[object Number]"===ee(e)&&(!P||!("object"===typeof e&&P in e))}function J(e){return"[object Boolean]"===ee(e)&&(!P||!("object"===typeof e&&P in e))}function K(e){if(N)return e&&"object"===typeof e&&e instanceof Symbol;if("symbol"===typeof e)return!0;if(!e||"object"!==typeof e||!O)return!1;try{return O.call(e),!0}catch(t){}return!1}function Q(e){if(!e||"object"!==typeof e||!j)return!1;try{return j.call(e),!0}catch(t){}return!1}e.exports=function e(t,r,a,s){var l=r||{};if(X(l,"quoteStyle")&&"single"!==l.quoteStyle&&"double"!==l.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(X(l,"maxStringLength")&&("number"===typeof l.maxStringLength?l.maxStringLength<0&&l.maxStringLength!==1/0:null!==l.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var u=!X(l,"customInspect")||l.customInspect;if("boolean"!==typeof u&&"symbol"!==u)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(X(l,"indent")&&null!==l.indent&&"\t"!==l.indent&&!(parseInt(l.indent,10)===l.indent&&l.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(X(l,"numericSeparator")&&"boolean"!==typeof l.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var p=l.numericSeparator;if("undefined"===typeof t)return"undefined";if(null===t)return"null";if("boolean"===typeof t)return t?"true":"false";if("string"===typeof t)return de(t,l);if("number"===typeof t){if(0===t)return 1/0/t>0?"0":"-0";var m=String(t);return p?F(t,m):m}if("bigint"===typeof t){var f=String(t)+"n";return p?F(t,f):f}var h="undefined"===typeof l.depth?5:l.depth;if("undefined"===typeof a&&(a=0),a>=h&&h>0&&"object"===typeof t)return W(t)?"[Array]":"[Object]";var g=he(l,a);if("undefined"===typeof s)s=[];else if(ne(s,t)>=0)return"[Circular]";function _(t,n,r){if(n&&(s=S.call(s),s.push(n)),r){var o={depth:l.depth};return X(l,"quoteStyle")&&(o.quoteStyle=l.quoteStyle),e(t,o,a+1,s)}return e(t,l,a+1,s)}if("function"===typeof t&&!B(t)){var v=te(t),b=ye(t,_);return"[Function"+(v?": "+v:" (anonymous)")+"]"+(b.length>0?" { "+k.call(b,", ")+" }":"")}if(K(t)){var L=N?M.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):O.call(t);return"object"!==typeof t||N?L:ue(L)}if(le(t)){for(var x="<"+T.call(String(t.nodeName)),Y=t.attributes||[],C=0;C<Y.length;C++)x+=" "+Y[C].name+"="+z(R(Y[C].value),"double",l);return x+=">",t.childNodes&&t.childNodes.length&&(x+="..."),x+="</"+T.call(String(t.nodeName))+">",x}if(W(t)){if(0===t.length)return"[]";var $=ye(t,_);return g&&!fe($)?"["+ge($,g)+"]":"[ "+k.call($,", ")+" ]"}if(U(t)){var Z=ye(t,_);return"cause"in Error.prototype||!("cause"in t)||E.call(t,"cause")?0===Z.length?"["+String(t)+"]":"{ ["+String(t)+"] "+k.call(Z,", ")+" }":"{ ["+String(t)+"] "+k.call(D.call("[cause]: "+_(t.cause),Z),", ")+" }"}if("object"===typeof t&&u){if(I&&"function"===typeof t[I]&&A)return A(t,{depth:h-a});if("symbol"!==u&&"function"===typeof t.inspect)return t.inspect()}if(re(t)){var ce=[];return i&&i.call(t,(function(e,n){ce.push(_(n,t,!0)+" => "+_(e,t))})),me("Map",o.call(t),ce,g)}if(ie(t)){var _e=[];return c&&c.call(t,(function(e){_e.push(_(e,t))})),me("Set",d.call(t),_e,g)}if(ae(t))return pe("WeakMap");if(se(t))return pe("WeakSet");if(oe(t))return pe("WeakRef");if(V(t))return ue(_(Number(t)));if(Q(t))return ue(_(j.call(t)));if(J(t))return ue(y.call(t));if(q(t))return ue(_(String(t)));if("undefined"!==typeof window&&t===window)return"{ [object Window] }";if("undefined"!==typeof globalThis&&t===globalThis||"undefined"!==typeof n.g&&t===n.g)return"{ [object globalThis] }";if(!G(t)&&!B(t)){var ve=ye(t,_),be=H?H(t)===Object.prototype:t instanceof Object||t.constructor===Object,we=t instanceof Object?"":"null prototype",Me=!be&&P&&Object(t)===t&&P in t?w.call(ee(t),8,-1):we?"Object":"",Le=be||"function"!==typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"",Te=Le+(Me||we?"["+k.call(D.call([],Me||[],we||[]),": ")+"] ":"");return 0===ve.length?Te+"{}":g?Te+"{"+ge(ve,g)+"}":Te+"{ "+k.call(ve,", ")+" }"}return String(t)};var Z=Object.prototype.hasOwnProperty||function(e){return e in this};function X(e,t){return Z.call(e,t)}function ee(e){return _.call(e)}function te(e){if(e.name)return e.name;var t=b.call(v.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function ne(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}function re(e){if(!o||!e||"object"!==typeof e)return!1;try{o.call(e);try{d.call(e)}catch(t){return!0}return e instanceof Map}catch(n){}return!1}function ae(e){if(!p||!e||"object"!==typeof e)return!1;try{p.call(e,p);try{f.call(e,f)}catch(t){return!0}return e instanceof WeakMap}catch(n){}return!1}function oe(e){if(!g||!e||"object"!==typeof e)return!1;try{return g.call(e),!0}catch(t){}return!1}function ie(e){if(!d||!e||"object"!==typeof e)return!1;try{d.call(e);try{o.call(e)}catch(t){return!0}return e instanceof Set}catch(n){}return!1}function se(e){if(!f||!e||"object"!==typeof e)return!1;try{f.call(e,f);try{p.call(e,p)}catch(t){return!0}return e instanceof WeakSet}catch(n){}return!1}function le(e){return!(!e||"object"!==typeof e)&&("undefined"!==typeof HTMLElement&&e instanceof HTMLElement||"string"===typeof e.nodeName&&"function"===typeof e.getAttribute)}function de(e,t){if(e.length>t.maxStringLength){var n=e.length-t.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return de(w.call(e,0,t.maxStringLength),t)+r}var a=M.call(M.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,ce);return z(a,"single",t)}function ce(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+L.call(t.toString(16))}function ue(e){return"Object("+e+")"}function pe(e){return e+" { ? }"}function me(e,t,n,r){var a=r?ge(n,r):k.call(n,", ");return e+" ("+t+") {"+a+"}"}function fe(e){for(var t=0;t<e.length;t++)if(ne(e[t],"\n")>=0)return!1;return!0}function he(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"===typeof e.indent&&e.indent>0))return null;n=k.call(Array(e.indent+1)," ")}return{base:n,prev:k.call(Array(t+1),n)}}function ge(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+k.call(e,","+n)+"\n"+t.prev}function ye(e,t){var n=W(e),r=[];if(n){r.length=e.length;for(var a=0;a<e.length;a++)r[a]=X(e,a)?t(e[a],e):""}var o,i="function"===typeof C?C(e):[];if(N){o={};for(var s=0;s<i.length;s++)o["$"+i[s]]=i[s]}for(var l in e)X(e,l)&&(n&&String(Number(l))===l&&l<e.length||N&&o["$"+l]instanceof Symbol||(x.call(/[^\w$]/,l)?r.push(t(l,e)+": "+t(e[l],e)):r.push(l+": "+t(e[l],e))));if("function"===typeof C)for(var d=0;d<i.length;d++)E.call(e,i[d])&&r.push("["+t(i[d])+"]: "+t(e[i[d]],e));return r}},4765:function(e){"use strict";var t=String.prototype.replace,n=/%20/g,r={RFC1738:"RFC1738",RFC3986:"RFC3986"};e.exports={default:r.RFC3986,formatters:{RFC1738:function(e){return t.call(e,n,"+")},RFC3986:function(e){return String(e)}},RFC1738:r.RFC1738,RFC3986:r.RFC3986}},5373:function(e,t,n){"use strict";var r=n(8636),a=n(2642),o=n(4765);e.exports={formats:o,parse:a,stringify:r}},2642:function(e,t,n){"use strict";var r=n(7720),a=Object.prototype.hasOwnProperty,o=Array.isArray,i={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:r.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},l=function(e,t){return e&&"string"===typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},d="utf8=%26%2310003%3B",c="utf8=%E2%9C%93",u=function(e,t){var n={__proto__:null},u=t.ignoreQueryPrefix?e.replace(/^\?/,""):e;u=u.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var p,m=t.parameterLimit===1/0?void 0:t.parameterLimit,f=u.split(t.delimiter,m),h=-1,g=t.charset;if(t.charsetSentinel)for(p=0;p<f.length;++p)0===f[p].indexOf("utf8=")&&(f[p]===c?g="utf-8":f[p]===d&&(g="iso-8859-1"),h=p,p=f.length);for(p=0;p<f.length;++p)if(p!==h){var y,_,v=f[p],b=v.indexOf("]="),w=-1===b?v.indexOf("="):b+1;-1===w?(y=t.decoder(v,i.decoder,g,"key"),_=t.strictNullHandling?null:""):(y=t.decoder(v.slice(0,w),i.decoder,g,"key"),_=r.maybeMap(l(v.slice(w+1),t),(function(e){return t.decoder(e,i.decoder,g,"value")}))),_&&t.interpretNumericEntities&&"iso-8859-1"===g&&(_=s(_)),v.indexOf("[]=")>-1&&(_=o(_)?[_]:_);var M=a.call(n,y);M&&"combine"===t.duplicates?n[y]=r.combine(n[y],_):M&&"last"!==t.duplicates||(n[y]=_)}return n},p=function(e,t,n,r){for(var a=r?t:l(t,n),o=e.length-1;o>=0;--o){var i,s=e[o];if("[]"===s&&n.parseArrays)i=n.allowEmptyArrays&&(""===a||n.strictNullHandling&&null===a)?[]:[].concat(a);else{i=n.plainObjects?Object.create(null):{};var d="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,c=n.decodeDotInKeys?d.replace(/%2E/g,"."):d,u=parseInt(c,10);n.parseArrays||""!==c?!isNaN(u)&&s!==c&&String(u)===c&&u>=0&&n.parseArrays&&u<=n.arrayLimit?(i=[],i[u]=a):"__proto__"!==c&&(i[c]=a):i={0:a}}a=i}return a},m=function(e,t,n,r){if(e){var o=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,i=/(\[[^[\]]*])/,s=/(\[[^[\]]*])/g,l=n.depth>0&&i.exec(o),d=l?o.slice(0,l.index):o,c=[];if(d){if(!n.plainObjects&&a.call(Object.prototype,d)&&!n.allowPrototypes)return;c.push(d)}var u=0;while(n.depth>0&&null!==(l=s.exec(o))&&u<n.depth){if(u+=1,!n.plainObjects&&a.call(Object.prototype,l[1].slice(1,-1))&&!n.allowPrototypes)return;c.push(l[1])}return l&&c.push("["+o.slice(l.index)+"]"),p(c,t,n,r)}},f=function(e){if(!e)return i;if("undefined"!==typeof e.allowEmptyArrays&&"boolean"!==typeof e.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if("undefined"!==typeof e.decodeDotInKeys&&"boolean"!==typeof e.decodeDotInKeys)throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.decoder&&"undefined"!==typeof e.decoder&&"function"!==typeof e.decoder)throw new TypeError("Decoder has to be a function.");if("undefined"!==typeof e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t="undefined"===typeof e.charset?i.charset:e.charset,n="undefined"===typeof e.duplicates?i.duplicates:e.duplicates;if("combine"!==n&&"first"!==n&&"last"!==n)throw new TypeError("The duplicates option must be either combine, first, or last");var a="undefined"===typeof e.allowDots?!0===e.decodeDotInKeys||i.allowDots:!!e.allowDots;return{allowDots:a,allowEmptyArrays:"boolean"===typeof e.allowEmptyArrays?!!e.allowEmptyArrays:i.allowEmptyArrays,allowPrototypes:"boolean"===typeof e.allowPrototypes?e.allowPrototypes:i.allowPrototypes,allowSparse:"boolean"===typeof e.allowSparse?e.allowSparse:i.allowSparse,arrayLimit:"number"===typeof e.arrayLimit?e.arrayLimit:i.arrayLimit,charset:t,charsetSentinel:"boolean"===typeof e.charsetSentinel?e.charsetSentinel:i.charsetSentinel,comma:"boolean"===typeof e.comma?e.comma:i.comma,decodeDotInKeys:"boolean"===typeof e.decodeDotInKeys?e.decodeDotInKeys:i.decodeDotInKeys,decoder:"function"===typeof e.decoder?e.decoder:i.decoder,delimiter:"string"===typeof e.delimiter||r.isRegExp(e.delimiter)?e.delimiter:i.delimiter,depth:"number"===typeof e.depth||!1===e.depth?+e.depth:i.depth,duplicates:n,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"===typeof e.interpretNumericEntities?e.interpretNumericEntities:i.interpretNumericEntities,parameterLimit:"number"===typeof e.parameterLimit?e.parameterLimit:i.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"===typeof e.plainObjects?e.plainObjects:i.plainObjects,strictNullHandling:"boolean"===typeof e.strictNullHandling?e.strictNullHandling:i.strictNullHandling}};e.exports=function(e,t){var n=f(t);if(""===e||null===e||"undefined"===typeof e)return n.plainObjects?Object.create(null):{};for(var a="string"===typeof e?u(e,n):e,o=n.plainObjects?Object.create(null):{},i=Object.keys(a),s=0;s<i.length;++s){var l=i[s],d=m(l,a[l],n,"string"===typeof e);o=r.merge(o,d,n)}return!0===n.allowSparse?o:r.compact(o)}},8636:function(e,t,n){"use strict";var r=n(920),a=n(7720),o=n(4765),i=Object.prototype.hasOwnProperty,s={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},l=Array.isArray,d=Array.prototype.push,c=function(e,t){d.apply(e,l(t)?t:[t])},u=Date.prototype.toISOString,p=o["default"],m={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:a.encode,encodeValuesOnly:!1,format:p,formatter:o.formatters[p],indices:!1,serializeDate:function(e){return u.call(e)},skipNulls:!1,strictNullHandling:!1},f=function(e){return"string"===typeof e||"number"===typeof e||"boolean"===typeof e||"symbol"===typeof e||"bigint"===typeof e},h={},g=function e(t,n,o,i,s,d,u,p,g,y,_,v,b,w,M,L,T,x){var D=t,k=x,S=0,Y=!1;while(void 0!==(k=k.get(h))&&!Y){var j=k.get(t);if(S+=1,"undefined"!==typeof j){if(j===S)throw new RangeError("Cyclic object value");Y=!0}"undefined"===typeof k.get(h)&&(S=0)}if("function"===typeof y?D=y(n,D):D instanceof Date?D=b(D):"comma"===o&&l(D)&&(D=a.maybeMap(D,(function(e){return e instanceof Date?b(e):e}))),null===D){if(d)return g&&!L?g(n,m.encoder,T,"key",w):n;D=""}if(f(D)||a.isBuffer(D)){if(g){var C=L?n:g(n,m.encoder,T,"key",w);return[M(C)+"="+M(g(D,m.encoder,T,"value",w))]}return[M(n)+"="+M(String(D))]}var O,N=[];if("undefined"===typeof D)return N;if("comma"===o&&l(D))L&&g&&(D=a.maybeMap(D,g)),O=[{value:D.length>0?D.join(",")||null:void 0}];else if(l(y))O=y;else{var P=Object.keys(D);O=_?P.sort(_):P}var E=p?n.replace(/\./g,"%2E"):n,H=i&&l(D)&&1===D.length?E+"[]":E;if(s&&l(D)&&0===D.length)return H+"[]";for(var F=0;F<O.length;++F){var A=O[F],$="object"===typeof A&&"undefined"!==typeof A.value?A.value:D[A];if(!u||null!==$){var I=v&&p?A.replace(/\./g,"%2E"):A,z=l(D)?"function"===typeof o?o(H,I):H:H+(v?"."+I:"["+I+"]");x.set(t,S);var R=r();R.set(h,x),c(N,e($,z,o,i,s,d,u,p,"comma"===o&&L&&l(D)?null:g,y,_,v,b,w,M,L,T,R))}}return N},y=function(e){if(!e)return m;if("undefined"!==typeof e.allowEmptyArrays&&"boolean"!==typeof e.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if("undefined"!==typeof e.encodeDotInKeys&&"boolean"!==typeof e.encodeDotInKeys)throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.encoder&&"undefined"!==typeof e.encoder&&"function"!==typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||m.charset;if("undefined"!==typeof e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=o["default"];if("undefined"!==typeof e.format){if(!i.call(o.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var r,a=o.formatters[n],d=m.filter;if(("function"===typeof e.filter||l(e.filter))&&(d=e.filter),r=e.arrayFormat in s?e.arrayFormat:"indices"in e?e.indices?"indices":"repeat":m.arrayFormat,"commaRoundTrip"in e&&"boolean"!==typeof e.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var c="undefined"===typeof e.allowDots?!0===e.encodeDotInKeys||m.allowDots:!!e.allowDots;return{addQueryPrefix:"boolean"===typeof e.addQueryPrefix?e.addQueryPrefix:m.addQueryPrefix,allowDots:c,allowEmptyArrays:"boolean"===typeof e.allowEmptyArrays?!!e.allowEmptyArrays:m.allowEmptyArrays,arrayFormat:r,charset:t,charsetSentinel:"boolean"===typeof e.charsetSentinel?e.charsetSentinel:m.charsetSentinel,commaRoundTrip:e.commaRoundTrip,delimiter:"undefined"===typeof e.delimiter?m.delimiter:e.delimiter,encode:"boolean"===typeof e.encode?e.encode:m.encode,encodeDotInKeys:"boolean"===typeof e.encodeDotInKeys?e.encodeDotInKeys:m.encodeDotInKeys,encoder:"function"===typeof e.encoder?e.encoder:m.encoder,encodeValuesOnly:"boolean"===typeof e.encodeValuesOnly?e.encodeValuesOnly:m.encodeValuesOnly,filter:d,format:n,formatter:a,serializeDate:"function"===typeof e.serializeDate?e.serializeDate:m.serializeDate,skipNulls:"boolean"===typeof e.skipNulls?e.skipNulls:m.skipNulls,sort:"function"===typeof e.sort?e.sort:null,strictNullHandling:"boolean"===typeof e.strictNullHandling?e.strictNullHandling:m.strictNullHandling}};e.exports=function(e,t){var n,a,o=e,i=y(t);"function"===typeof i.filter?(a=i.filter,o=a("",o)):l(i.filter)&&(a=i.filter,n=a);var d=[];if("object"!==typeof o||null===o)return"";var u=s[i.arrayFormat],p="comma"===u&&i.commaRoundTrip;n||(n=Object.keys(o)),i.sort&&n.sort(i.sort);for(var m=r(),f=0;f<n.length;++f){var h=n[f];i.skipNulls&&null===o[h]||c(d,g(o[h],h,u,p,i.allowEmptyArrays,i.strictNullHandling,i.skipNulls,i.encodeDotInKeys,i.encode?i.encoder:null,i.filter,i.sort,i.allowDots,i.serializeDate,i.format,i.formatter,i.encodeValuesOnly,i.charset,m))}var _=d.join(i.delimiter),v=!0===i.addQueryPrefix?"?":"";return i.charsetSentinel&&("iso-8859-1"===i.charset?v+="utf8=%26%2310003%3B&":v+="utf8=%E2%9C%93&"),_.length>0?v+_:""}},7720:function(e,t,n){"use strict";var r=n(4765),a=Object.prototype.hasOwnProperty,o=Array.isArray,i=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),s=function(e){while(e.length>1){var t=e.pop(),n=t.obj[t.prop];if(o(n)){for(var r=[],a=0;a<n.length;++a)"undefined"!==typeof n[a]&&r.push(n[a]);t.obj[t.prop]=r}}},l=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},r=0;r<e.length;++r)"undefined"!==typeof e[r]&&(n[r]=e[r]);return n},d=function e(t,n,r){if(!n)return t;if("object"!==typeof n){if(o(t))t.push(n);else{if(!t||"object"!==typeof t)return[t,n];(r&&(r.plainObjects||r.allowPrototypes)||!a.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!==typeof t)return[t].concat(n);var i=t;return o(t)&&!o(n)&&(i=l(t,r)),o(t)&&o(n)?(n.forEach((function(n,o){if(a.call(t,o)){var i=t[o];i&&"object"===typeof i&&n&&"object"===typeof n?t[o]=e(i,n,r):t.push(n)}else t[o]=n})),t):Object.keys(n).reduce((function(t,o){var i=n[o];return a.call(t,o)?t[o]=e(t[o],i,r):t[o]=i,t}),i)},c=function(e,t){return Object.keys(t).reduce((function(e,n){return e[n]=t[n],e}),e)},u=function(e,t,n){var r=e.replace(/\+/g," ");if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(a){return r}},p=1024,m=function(e,t,n,a,o){if(0===e.length)return e;var s=e;if("symbol"===typeof e?s=Symbol.prototype.toString.call(e):"string"!==typeof e&&(s=String(e)),"iso-8859-1"===n)return escape(s).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var l="",d=0;d<s.length;d+=p){for(var c=s.length>=p?s.slice(d,d+p):s,u=[],m=0;m<c.length;++m){var f=c.charCodeAt(m);45===f||46===f||95===f||126===f||f>=48&&f<=57||f>=65&&f<=90||f>=97&&f<=122||o===r.RFC1738&&(40===f||41===f)?u[u.length]=c.charAt(m):f<128?u[u.length]=i[f]:f<2048?u[u.length]=i[192|f>>6]+i[128|63&f]:f<55296||f>=57344?u[u.length]=i[224|f>>12]+i[128|f>>6&63]+i[128|63&f]:(m+=1,f=65536+((1023&f)<<10|1023&c.charCodeAt(m)),u[u.length]=i[240|f>>18]+i[128|f>>12&63]+i[128|f>>6&63]+i[128|63&f])}l+=u.join("")}return l},f=function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],r=0;r<t.length;++r)for(var a=t[r],o=a.obj[a.prop],i=Object.keys(o),l=0;l<i.length;++l){var d=i[l],c=o[d];"object"===typeof c&&null!==c&&-1===n.indexOf(c)&&(t.push({obj:o,prop:d}),n.push(c))}return s(t),e},h=function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},g=function(e){return!(!e||"object"!==typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},y=function(e,t){return[].concat(e,t)},_=function(e,t){if(o(e)){for(var n=[],r=0;r<e.length;r+=1)n.push(t(e[r]));return n}return t(e)};e.exports={arrayToObject:l,assign:c,combine:y,compact:f,decode:u,encode:m,isBuffer:g,isRegExp:h,maybeMap:_,merge:d}},6897:function(e,t,n){"use strict";var r=n(453),a=n(41),o=n(592)(),i=n(5795),s=n(9675),l=r("%Math.floor%");e.exports=function(e,t){if("function"!==typeof e)throw new s("`fn` is not a function");if("number"!==typeof t||t<0||t>4294967295||l(t)!==t)throw new s("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],r=!0,d=!0;if("length"in e&&i){var c=i(e,"length");c&&!c.configurable&&(r=!1),c&&!c.writable&&(d=!1)}return(r||d||!n)&&(o?a(e,"length",t,!0,!0):a(e,"length",t)),e}},920:function(e,t,n){"use strict";var r=n(453),a=n(8075),o=n(8859),i=n(9675),s=r("%WeakMap%",!0),l=r("%Map%",!0),d=a("WeakMap.prototype.get",!0),c=a("WeakMap.prototype.set",!0),u=a("WeakMap.prototype.has",!0),p=a("Map.prototype.get",!0),m=a("Map.prototype.set",!0),f=a("Map.prototype.has",!0),h=function(e,t){for(var n,r=e;null!==(n=r.next);r=n)if(n.key===t)return r.next=n.next,n.next=e.next,e.next=n,n},g=function(e,t){var n=h(e,t);return n&&n.value},y=function(e,t,n){var r=h(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}},_=function(e,t){return!!h(e,t)};e.exports=function(){var e,t,n,r={assert:function(e){if(!r.has(e))throw new i("Side channel does not contain "+o(e))},get:function(r){if(s&&r&&("object"===typeof r||"function"===typeof r)){if(e)return d(e,r)}else if(l){if(t)return p(t,r)}else if(n)return g(n,r)},has:function(r){if(s&&r&&("object"===typeof r||"function"===typeof r)){if(e)return u(e,r)}else if(l){if(t)return f(t,r)}else if(n)return _(n,r);return!1},set:function(r,a){s&&r&&("object"===typeof r||"function"===typeof r)?(e||(e=new s),c(e,r,a)):l?(t||(t=new l),m(t,r,a)):(n||(n={key:{},next:null}),y(n,r,a))}};return r}},1025:function(e,t,n){var r=n(5154);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var a=n(9548).A;a("03722b47",r,!0,{sourceMap:!1,shadowMode:!1})},4795:function(e,t,n){var r=n(58);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var a=n(9548).A;a("9c72f76a",r,!0,{sourceMap:!1,shadowMode:!1})},7030:function(e,t,n){var r=n(2537);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var a=n(9548).A;a("3aeb27c4",r,!0,{sourceMap:!1,shadowMode:!1})},8160:function(e,t,n){var r=n(3125);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var a=n(9548).A;a("294b773b",r,!0,{sourceMap:!1,shadowMode:!1})},8100:function(e,t,n){var r=n(6979);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var a=n(9548).A;a("4ea35bd3",r,!0,{sourceMap:!1,shadowMode:!1})},1341:function(e,t,n){var r=n(1340);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var a=n(9548).A;a("3f0152a9",r,!0,{sourceMap:!1,shadowMode:!1})},7658:function(e,t,n){var r=n(875);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var a=n(9548).A;a("6be64e80",r,!0,{sourceMap:!1,shadowMode:!1})},543:function(e,t,n){var r=n(1866);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var a=n(9548).A;a("32b5c19b",r,!0,{sourceMap:!1,shadowMode:!1})},4868:function(e,t,n){var r=n(2053);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var a=n(9548).A;a("116b38b6",r,!0,{sourceMap:!1,shadowMode:!1})},9651:function(e,t,n){var r=n(7298);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var a=n(9548).A;a("6e4d5f5c",r,!0,{sourceMap:!1,shadowMode:!1})},6176:function(e,t,n){var r=n(2103);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var a=n(9548).A;a("09065315",r,!0,{sourceMap:!1,shadowMode:!1})},6992:function(e,t,n){var r=n(5155);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var a=n(9548).A;a("2b03b9e0",r,!0,{sourceMap:!1,shadowMode:!1})},1757:function(e,t,n){var r=n(300);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var a=n(9548).A;a("ebcb9426",r,!0,{sourceMap:!1,shadowMode:!1})},2727:function(e,t,n){var r=n(7758);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var a=n(9548).A;a("47f10b10",r,!0,{sourceMap:!1,shadowMode:!1})},8275:function(e,t,n){var r=n(4396);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var a=n(9548).A;a("83c70074",r,!0,{sourceMap:!1,shadowMode:!1})},2587:function(e,t,n){var r=n(5916);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var a=n(9548).A;a("f1494a06",r,!0,{sourceMap:!1,shadowMode:!1})},1453:function(e,t,n){var r=n(4430);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var a=n(9548).A;a("2f3deb05",r,!0,{sourceMap:!1,shadowMode:!1})},2174:function(e,t,n){var r=n(1033);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var a=n(9548).A;a("19a53e44",r,!0,{sourceMap:!1,shadowMode:!1})},7867:function(e,t,n){var r=n(556);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var a=n(9548).A;a("3f71cc00",r,!0,{sourceMap:!1,shadowMode:!1})},6295:function(e,t,n){var r=n(1445);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var a=n(9548).A;a("5f12cfda",r,!0,{sourceMap:!1,shadowMode:!1})},3368:function(e,t,n){var r=n(7765);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var a=n(9548).A;a("2814e878",r,!0,{sourceMap:!1,shadowMode:!1})},6260:function(e,t,n){var r=n(6413);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var a=n(9548).A;a("6d2b3bbd",r,!0,{sourceMap:!1,shadowMode:!1})},6887:function(e,t,n){var r=n(3654);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var a=n(9548).A;a("7cf1636c",r,!0,{sourceMap:!1,shadowMode:!1})},8583:function(e,t,n){var r=n(54);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var a=n(9548).A;a("e8a28254",r,!0,{sourceMap:!1,shadowMode:!1})},6272:function(e,t,n){var r=n(717);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var a=n(9548).A;a("537a77ee",r,!0,{sourceMap:!1,shadowMode:!1})},5222:function(e,t,n){var r=n(1807);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var a=n(9548).A;a("714bdb54",r,!0,{sourceMap:!1,shadowMode:!1})},9108:function(e,t,n){var r=n(2815);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var a=n(9548).A;a("08fc7b8c",r,!0,{sourceMap:!1,shadowMode:!1})},3747:function(e,t,n){var r=n(6322);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var a=n(9548).A;a("47d4e791",r,!0,{sourceMap:!1,shadowMode:!1})},5880:function(e,t,n){var r=n(481);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var a=n(9548).A;a("13cf5f9a",r,!0,{sourceMap:!1,shadowMode:!1})},9548:function(e,t,n){"use strict";function r(e,t){for(var n=[],r={},a=0;a<t.length;a++){var o=t[a],i=o[0],s=o[1],l=o[2],d=o[3],c={id:e+":"+a,css:s,media:l,sourceMap:d};r[i]?r[i].parts.push(c):n.push(r[i]={id:i,parts:[c]})}return n}n.d(t,{A:function(){return f}});var a="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!a)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var o={},i=a&&(document.head||document.getElementsByTagName("head")[0]),s=null,l=0,d=!1,c=function(){},u=null,p="data-vue-ssr-id",m="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function f(e,t,n,a){d=n,u=a||{};var i=r(e,t);return h(i),function(t){for(var n=[],a=0;a<i.length;a++){var s=i[a],l=o[s.id];l.refs--,n.push(l)}t?(i=r(e,t),h(i)):i=[];for(a=0;a<n.length;a++){l=n[a];if(0===l.refs){for(var d=0;d<l.parts.length;d++)l.parts[d]();delete o[l.id]}}}}function h(e){for(var t=0;t<e.length;t++){var n=e[t],r=o[n.id];if(r){r.refs++;for(var a=0;a<r.parts.length;a++)r.parts[a](n.parts[a]);for(;a<n.parts.length;a++)r.parts.push(y(n.parts[a]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{var i=[];for(a=0;a<n.parts.length;a++)i.push(y(n.parts[a]));o[n.id]={id:n.id,refs:1,parts:i}}}}function g(){var e=document.createElement("style");return e.type="text/css",i.appendChild(e),e}function y(e){var t,n,r=document.querySelector("style["+p+'~="'+e.id+'"]');if(r){if(d)return c;r.parentNode.removeChild(r)}if(m){var a=l++;r=s||(s=g()),t=v.bind(null,r,a,!1),n=v.bind(null,r,a,!0)}else r=g(),t=b.bind(null,r),n=function(){r.parentNode.removeChild(r)};return t(e),function(r){if(r){if(r.css===e.css&&r.media===e.media&&r.sourceMap===e.sourceMap)return;t(e=r)}else n()}}var _=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}();function v(e,t,n,r){var a=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=_(t,a);else{var o=document.createTextNode(a),i=e.childNodes;i[t]&&e.removeChild(i[t]),i.length?e.insertBefore(o,i[t]):e.appendChild(o)}}function b(e,t){var n=t.css,r=t.media,a=t.sourceMap;if(r&&e.setAttribute("media",r),u.ssrId&&e.setAttribute(p,t.id),a&&(n+="\n/*# sourceURL="+a.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */"),e.styleSheet)e.styleSheet.cssText=n;else{while(e.firstChild)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}},2634:function(){}},t={};function n(r){var a=t[r];if(void 0!==a)return a.exports;var o=t[r]={id:r,loaded:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}!function(){n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,{a:t}),t}}(),function(){n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}}(),function(){n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()}(),function(){n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}(),function(){n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}}(),function(){n.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e}}(),function(){n.p=""}();var r={};return function(){"use strict";if(n.r(r),n.d(r,{default:function(){return zi}}),"undefined"!==typeof window){var e=window.document.currentScript,t=n(5003);e=t(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:t});var a=e&&e.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);a&&(n.p=a[1])}var o=function(){var e=this,t=e._self._c;return t("div",[e.dialogFormVisible?t("el-dialog",{directives:[{name:"el-drag-dialog",rawName:"v-el-drag-dialog"}],attrs:{visible:e.dialogFormVisible,"close-on-click-modal":!1,width:"800px",title:e.$tx("gwgl.components.fileSettings","归档文件设置")},on:{"update:visible":function(t){e.dialogFormVisible=t}}},[t("el-form",{ref:"elform"},[t("div",{staticClass:"el-table el-table--fit el-table--border",staticStyle:{height:"276px"}},[t("div",{staticClass:"el-table__body-wrapper"},[t("table",{staticClass:"el-table__body el-table__body-no",attrs:{cellspacing:"0",cellpadding:"0",border:"0"}},[t("tbody",[t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"categoryName",expression:"'categoryName'"}]},[e._v("归档分类")])]),t("td",{staticClass:"el-table__cell tdcont tdw83",attrs:{colspan:"5"}},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"分类",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-input",{directives:[{name:"select-dialog",rawName:"v-select-dialog",value:"gdtype",expression:"'gdtype'"}],ref:"gdTypeTree",staticStyle:{width:"100%"},attrs:{"init-tree-data":e.treeData,"dialog-title":e.$tx("gwgl.components.archiveClassificationSelect","选择归档分类"),multiple:!1,placeholder:e.$tx("gwgl.components.archiveClassificationPlaceholder","请选择归档分类"),name:""},model:{value:e.vo.categoryName,callback:function(t){e.$set(e.vo,"categoryName",t)},expression:"vo.categoryName"}})],1)]}}],null,!1,1485042805)})],1)]),t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"gdType",expression:"'gdType'"}]},[e._v("归档类型")])]),t("td",{staticClass:"el-table__cell tdcont tdw83",attrs:{colspan:"5"}},[e.gdTypeEdit?t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"归档类型",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:e.$tx("gwgl.components.archivedTypePlaceholder")},model:{value:e.vo.gdType,callback:function(t){e.$set(e.vo,"gdType",t)},expression:"vo.gdType"}},e._l(e.gdType,(function(e){return t("el-option",{key:e.value,attrs:{label:e.title,value:e.value}})})),1)],1)]}}],null,!1,2759731974)}):t("div",[e._v(e._s(e.gdTypeObj[e.vo.gdType]))])],1)]),t("tr",[t("td",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"accessRightsType",expression:"'accessRightsType'"}],staticClass:"el-table__cell tdlbl tdw17"},[e._v("文件查阅权限")]),t("td",{staticClass:"el-table__cell tdcont tdw83",attrs:{colspan:"5"}},[t("el-radio-group",{model:{value:e.vo.accessRightsType,callback:function(t){e.$set(e.vo,"accessRightsType",t)},expression:"vo.accessRightsType"}},[t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"allPersonnel",expression:"'allPersonnel'"}],attrs:{label:0}},[e._v("全体人员可阅")]),e.vo.busiDataId?t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"originalHandler",expression:"'originalHandler'"}],attrs:{label:1}},[e._v("原经办人可阅")]):e._e(),e.vo.busiDataId?t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"handlerDesignated",expression:"'handlerDesignated'"}],attrs:{label:2}},[e._v("原经办人+指定人可阅")]):e._e(),e.vo.busiDataId?e._e():t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"designatedReaders",expression:"'designatedReaders'"}],attrs:{label:2}},[e._v("指定可阅人")])],1)],1)]),2===e.vo.accessRightsType?t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"appoints",expression:"'appoints'"}]},[e._v("指定类型")])]),t("td",{staticClass:"el-table__cell tdcont tdw83",attrs:{colspan:"5"}},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"指定类型",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-radio-group",{on:{change:e.changAppoints},model:{value:e.vo.appoints,callback:function(t){e.$set(e.vo,"appoints",t)},expression:"vo.appoints"}},[t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"specifyGroup",expression:"'specifyGroup'"}],attrs:{label:"1"}},[e._v("指定群组")]),t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"specifyDepart",expression:"'specifyDepart'"}],attrs:{label:"2"}},[e._v("指定部门")]),t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"specifyPerson",expression:"'specifyPerson'"}],attrs:{label:"3"}},[e._v("指定人员")])],1)],1)]}}],null,!1,2152493196)})],1)]):e._e(),2===e.vo.accessRightsType&&""!==e.vo.appoints&&null!==e.vo.appoints?t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),"1"===e.vo.appoints?t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"selectGroup",expression:"'selectGroup'"}]},[e._v("选择群组")]):e._e(),"2"===e.vo.appoints?t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"selectDepart",expression:"'selectDepart'"}]},[e._v("选择部门")]):e._e(),"3"===e.vo.appoints?t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"selectPerson",expression:"'selectPerson'"}]},[e._v("选择人员")]):e._e()]),t("td",{staticClass:"el-table__cell tdcont tdw83",attrs:{colspan:"5"}},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"群组",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-input",{directives:[{name:"show",rawName:"v-show",value:"1"===e.vo.appoints,expression:"vo.appoints === '1'"},{name:"select-dialog",rawName:"v-select-dialog",value:"workgroup",expression:"'workgroup'"}],attrs:{placeholder:e.$tx("gwgl.components.GroupPlaceholder","请选择群组"),readonly:"readonly",multiple:"true",type:"textarea","root-org-code":e.vo.orgCode,name:"deptIds2"},model:{value:e.vo.deptOrName,callback:function(t){e.$set(e.vo,"deptOrName",t)},expression:"vo.deptOrName"}})],1)]}}],null,!1,2916038636)}),t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"部门",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-input",{directives:[{name:"show",rawName:"v-show",value:"2"===e.vo.appoints,expression:"vo.appoints === '2'"},{name:"select-dialog",rawName:"v-select-dialog",value:"suborg",expression:"'suborg'"}],attrs:{placeholder:e.$tx("gwgl.components.DepartPlaceholder","请选择部门"),"org-level":"2",readonly:"readonly",multiple:"true",type:"textarea","root-org-code":e.vo.orgCode,name:"deptIds"},model:{value:e.vo.deptOrName,callback:function(t){e.$set(e.vo,"deptOrName",t)},expression:"vo.deptOrName"}})],1)]}}],null,!1,2179813810)}),t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"人员",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-input",{directives:[{name:"show",rawName:"v-show",value:"3"===e.vo.appoints,expression:"vo.appoints === '3'"},{name:"select-dialog",rawName:"v-select-dialog",value:"staff",expression:"'staff'"}],attrs:{placeholder:e.$tx("gwgl.components.PersonPlaceholder","请选择人员"),readonly:"readonly",multiple:"true",type:"textarea",name:"deptIds","root-org-code":e.vo.orgCode},model:{value:e.vo.deptOrName,callback:function(t){e.$set(e.vo,"deptOrName",t)},expression:"vo.deptOrName"}})],1)]}}],null,!1,4183502486)})],1)]):e._e()])])])])]),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},e._l(e.busiformBtns,(function(n,r){return t("el-button",{key:r,attrs:{disabled:e.doing,loading:"check"===n.btnIcon&&e.btnLoading,plain:null===n.btnType||""===n.btnType,icon:"el-icon-"+n.btnIcon,type:null!==n.btnType?n.btnType:""},on:{click:n.btnClick}},[e._v(e._s(n.btnName))])})),1)],1):e._e()],1)},i=[];function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function l(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */l=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",d=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,n){return e[t]=n}}function p(e,t,n,r){var o=t&&t.prototype instanceof v?t:v,i=Object.create(o.prototype),s=new O(r||[]);return a(i,"_invoke",{value:S(e,n,s)}),i}function m(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=p;var f="suspendedStart",h="suspendedYield",g="executing",y="completed",_={};function v(){}function b(){}function w(){}var M={};u(M,i,(function(){return this}));var L=Object.getPrototypeOf,T=L&&L(L(N([])));T&&T!==n&&r.call(T,i)&&(M=T);var x=w.prototype=v.prototype=Object.create(M);function D(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){function n(a,o,i,l){var d=m(e[a],e,o);if("throw"!==d.type){var c=d.arg,u=c.value;return u&&"object"==s(u)&&r.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,i,l)}),(function(e){n("throw",e,i,l)})):t.resolve(u).then((function(e){c.value=e,i(c)}),(function(e){return n("throw",e,i,l)}))}l(d.arg)}var o;a(this,"_invoke",{value:function(e,r){function a(){return new t((function(t,a){n(e,r,t,a)}))}return o=o?o.then(a,a):a()}})}function S(t,n,r){var a=f;return function(o,i){if(a===g)throw Error("Generator is already running");if(a===y){if("throw"===o)throw i;return{value:e,done:!0}}for(r.method=o,r.arg=i;;){var s=r.delegate;if(s){var l=Y(s,r);if(l){if(l===_)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(a===f)throw a=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);a=g;var d=m(t,n,r);if("normal"===d.type){if(a=r.done?y:h,d.arg===_)continue;return{value:d.arg,done:r.done}}"throw"===d.type&&(a=y,r.method="throw",r.arg=d.arg)}}}function Y(t,n){var r=n.method,a=t.iterator[r];if(a===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,Y(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),_;var o=m(a,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,_;var i=o.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,_):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,_)}function j(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function C(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function O(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(j,this),this.reset(!0)}function N(t){if(t||""===t){var n=t[i];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,o=function n(){for(;++a<t.length;)if(r.call(t,a))return n.value=t[a],n.done=!1,n;return n.value=e,n.done=!0,n};return o.next=o}}throw new TypeError(s(t)+" is not iterable")}return b.prototype=w,a(x,"constructor",{value:w,configurable:!0}),a(w,"constructor",{value:b,configurable:!0}),b.displayName=u(w,c,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,w):(e.__proto__=w,u(e,c,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},D(k.prototype),u(k.prototype,d,(function(){return this})),t.AsyncIterator=k,t.async=function(e,n,r,a,o){void 0===o&&(o=Promise);var i=new k(p(e,n,r,a),o);return t.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},D(x),u(x,c,"Generator"),u(x,i,(function(){return this})),u(x,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=N,O.prototype={constructor:O,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(C),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function a(r,a){return s.type="throw",s.arg=t,n.next=r,a&&(n.method="next",n.arg=e),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],s=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var l=r.call(i,"catchLoc"),d=r.call(i,"finallyLoc");if(l&&d){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!d)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&r.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,_):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),_},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),C(n),_}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;C(n)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:N(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),_}},t}function d(e,t,n,r,a,o,i){try{var s=e[o](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)}function c(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){d(o,r,a,i,s,"next",e)}function s(e){d(o,r,a,i,s,"throw",e)}i(void 0)}))}}var u={components:{},props:{},data:function(){return{i18npkg:"gwgl",moduleCode:"components",btnLoading:!1,title:"",rowsSelected:[],vo:{categoryName:"",categoryId:"",accessRightsType:0,appoints:"1",deptOrName:"",deptIds:"",status:8,flGwType:"",busiDataId:null,gdType:null},dialogFormVisible:!1,doing:!1,root:[],treeData:[],busiformBtns:[{id:"btn_close",btnName:"关 闭",btnIcon:"close",btnClick:this.closeDialog,btnPermission:"",btnType:""},{id:"btn_save",btnName:"保 存",btnIcon:"check",btnClick:this.submitSave,btnPermission:"saveObject",btnType:"primary"}],gwType:{wjcy:this.$tx("gwgl.portlet.documentCirculation","文件传阅"),bmbh:this.$tx("gwgl.portlet.departmentalLetter","部门便函"),yjzj:this.$tx("gwgl.portlet.solicitationOpinions","意见征集"),hytz:this.$tx("gwgl.portlet.hytz","会议通知"),qsbg:this.$tx("gwgl.portlet.requestInstructions","请示报告"),dzgg:this.$tx("gwgl.portlet.dzgg","电子公告")},gdType:[{title:this.$tx("gwgl.components.electronicFilling","电子归档"),value:1},{title:this.$tx("gwgl.components.paperArchiving","纸质归档"),value:2}],gdTypeObj:{1:this.$tx("gwgl.components.electronicFilling","电子归档"),2:this.$tx("gwgl.components.paperArchiving","纸质归档")},updateUrl:"",edit:!1,code:"",loginUser:this.$store.getters.loginUser,gdTypeEdit:!0}},computed:{},watch:{},created:function(){this.$bus.on("openDialog",this.openDialog),this.queryData()},beforeDestroy:function(){this.$bus.on("openDialog",this.openDialog)},mounted:function(){},methods:{openDialog:function(e){this.gdTypeEdit=!0,e.rowsSelected.length<1?this.$alert(this.$tx("gwgl.messages.selectFile","请选择需要归档的文件!"),this.$tx("common.operationTip","操作提示"),{confirmButtonText:this.$tx("pageBtns.sure","确 定"),type:"warning"}):(e.rowsSelected[0].wfNodeNames?this.vo.busiDataId=e.rowsSelected[0].id:this.vo.busiDataId=e.rowsSelected[0].busiDataId,e.edit?(this.edit=!0,this.updateUrl="/gwgl/gdwj/updateList",this.vo.categoryName=e.rowsSelected[0].categoryName,this.vo.categoryId=e.rowsSelected[0].categoryId,this.vo.accessRightsType=e.rowsSelected[0].accessRightsType,this.vo.appoints=e.rowsSelected[0].appoints,this.vo.deptOrName=e.rowsSelected[0].deptOrName,this.vo.deptIds=e.rowsSelected[0].deptIds,this.vo.status=e.rowsSelected[0].status,this.vo.flGwType=e.rowsSelected[0].flGwType,this.vo.gdType=e.rowsSelected[0].gdType):(this.updateUrl=e.url,this.code=e.url.split("/")[1],this.vo.gdType=e.gdtype?1:e.rowsSelected[0].gdType||1,this.gdTypeEdit=!1),this.rowsSelected=e.rowsSelected,this.dialogFormVisible=!0)},submitSave:function(){var e=this;return c(l().mark((function t(){return l().wrap((function(t){while(1)switch(t.prev=t.next){case 0:e.btnLoading=!0,e.$refs.elform.formValidate((function(){if(!e.vo.categoryName)return e.$alert(e.$tx("gwgl.messages.selectArchiveClassification","请选择归档分类!"),e.$tx("common.operationTip","操作提示"),{confirmButtonText:e.$tx("pageBtns.sure","确 定"),type:"warning"}),void(e.btnLoading=!1);if(!e.vo.gdType)return e.$alert(e.$tx("gwgl.messages.selectArchivedType"),e.$tx("common.operationTip","操作提示"),{confirmButtonText:e.$tx("pageBtns.sure","确 定"),type:"warning"}),void(e.btnLoading=!1);if(e.edit)e.rowsSelected.forEach((function(t){t.categoryName=e.vo.categoryName,t.categoryId=e.vo.categoryId,t.accessRightsType=e.vo.accessRightsType,t.appoints=e.vo.appoints,t.deptOrName=e.vo.deptOrName,t.deptIds=e.vo.deptIds,t.status=e.vo.status,t.gdType=e.vo.gdType})),e.updateHandler();else{var t=[];e.rowsSelected.forEach((function(n){"fawen"===e.code?e.vo.flGwType=n.flType:"shouwen"===e.code?n.flLwdwCode&&n.flLwdwCode!==n.orgCode?e.vo.flGwType=n.flType:n.flSwzh?e.vo.flGwType=e.$tx("gwgl.portlet.readingOffice","收文阅办"):n.flSwzh||(e.vo.flGwType=e.$tx("gwgl.portlet.receiptDocuments","部门收文")):e.vo.flGwType=e.gwType[e.code],e.vo.busiDataId=n.id;var r=Object.assign(n,e.vo);delete r.id,t.push(r)})),e.submitSaveHandler(t)}}));case 2:case"end":return t.stop()}}),t)})))()},updateHandler:function(){var e=this;return c(l().mark((function t(){var n,r;return l().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=JSON.parse(JSON.stringify(e.rowsSelected)),t.next=3,e.$app.update(e.updateUrl,n);case 3:r=t.sent,"success"===r.code?(e.$bus.emit("refreshListData"),e.closeDialog(),e.$message({message:r.message,type:"success"}),e.btnLoading=!1):(e.$alert(r.message,e.$tx("common.operationTip","操作提示"),{type:"error"}),e.btnLoading=!1);case 5:case"end":return t.stop()}}),t)})))()},submitSaveHandler:function(e){var t=this;return c(l().mark((function n(){var r,a;return l().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return r=JSON.parse(JSON.stringify(e)),n.next=3,t.$app.insert("/gwgl/gdwj/insertList?module="+t.code,r);case 3:a=n.sent,"success"===a.code?(t.$bus.emit("refreshListData"),t.closeDialog(),t.$message({message:a.message,type:"success"}),t.btnLoading=!1):(t.$alert(a.message,t.$tx("common.operationTip","操作提示"),{type:"error"}),t.btnLoading=!1);case 5:case"end":return n.stop()}}),n)})))()},closeDialog:function(){this.title="",this.doing=!1,this.rowsSelected=[],this.vo={categoryName:"",categoryId:"",accessRightsType:0,appoints:"1",deptOrName:"",deptIds:"",status:8},this.dialogFormVisible=!1},queryData:function(){var e=this;this.$http({method:"POST",contentType:"application/x-www-form-urlencoded",params:{orderBy:"categoryLevel asc,orderno asc"},data:[{compare:"=",field:"orgCode",merge:!0,value:this.loginUser.orgCode}],url:"/gwgl/gdflsz/querydata"}).then((function(t){"success"===t.code?e.treeData=e.treeData=e.treeDataAdapter(e.root.concat(t.body.listdata)):e.$alert(t.message,e.$tx("common.operationTip","操作提示"),{type:"error"})}))},treeDataAdapter:function(e){return e.forEach((function(e){null===e.parentId||""===e.parentId||void 0===e.parentId?e.pId="1":e.pId=e.parentId,e.name=e.categoryName,e.title=e.categoryName})),e},onGdtypeCompleted:function(e,t){this.vo.categoryName=e[0].name,this.vo.categoryId=e[0].categoryFullId},onSelectSuborgCompleted:function(e,t){var n="",r="";e.forEach((function(e){""!==n&&(n+="、"),""!==n&&(r+="、"),n+=e.name,r+=e.id})),this.$set(this.vo,"deptIds",r),this.$set(this.vo,"deptOrName",n)},onSelectWorkgroupCompleted:function(e,t){var n="",r="";e.forEach((function(e){""!==n&&(n+="、"),""!==n&&(r+="、"),n+=e.name,r+=e.id})),this.$set(this.vo,"deptIds",r),this.$set(this.vo,"deptOrName",n)},onSelectStaffCompleted:function(e,t){var n="",r="";e.forEach((function(e){""!==n&&(r+="、"),""!==n&&(n+="、"),n+=e.name,r+=e.personId})),this.$set(this.vo,"deptOrName",n),this.$set(this.vo,"deptIds",r)},changAppoints:function(e){this.vo.deptIds="",this.vo.deptOrName="",e===this.activeId&&(this.vo.deptIds=this.activedeptIds,this.vo.deptOrName=this.activeText)}}},p=u;n(1025);function m(e,t,n,r,a,o,i,s){var l,d="function"===typeof e?e.options:e;if(t&&(d.render=t,d.staticRenderFns=n,d._compiled=!0),r&&(d.functional=!0),o&&(d._scopeId="data-v-"+o),i?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),a&&a.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},d._ssrRegister=l):a&&(l=s?function(){a.call(this,(d.functional?this.parent:this).$root.$options.shadowRoot)}:a),l)if(d.functional){d._injectStyles=l;var c=d.render;d.render=function(e,t){return l.call(t),c(e,t)}}else{var u=d.beforeCreate;d.beforeCreate=u?[].concat(u,l):[l]}return{exports:e,options:d}}var f=m(p,o,i,!1,null,"e9973e82",null),h=f.exports,g=function(){var e=this,t=e._self._c;return t("div",{staticStyle:{"margin-left":"-1px"}},[t("div",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"cbUrgedPerson",expression:"'cbUrgedPerson'"}],staticStyle:{"padding-left":"4px"}},[e._v("处理人")]),e.loading?t("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"el-dialog__body"}):e._e(),e.loading?e._e():t("el-table",{staticClass:"wfNodelog-container todo-row",staticStyle:{width:"100%"},attrs:{data:e.tableData,border:"",height:"300"}},[t("el-table-column",{attrs:{label:e.$tx("fields.index","序号"),type:"index",width:"45",align:"center"}}),t("el-table-column",{attrs:{label:e.$tx("gwgl.components.fields.cbUrgedPerson","处理人"),prop:"cbUrgedPerson",width:"80",align:"center"}}),t("el-table-column",{attrs:{label:e.$tx("gwgl.components.fields.jsTime","送达时间"),prop:"jsTime",width:"150",align:"center"}}),t("el-table-column",{attrs:{label:e.$tx("gwgl.components.fields.banwenTime","办理时间"),prop:"banwenTime",width:"150",align:"center"}}),t("el-table-column",{attrs:{label:e.$tx("gwgl.components.fields.wfNodeNames","处理环节"),prop:"wfNodeNames",width:"",align:"center"}})],1)],1)},y=[];function _(e){return _="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_(e)}function v(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */v=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function d(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(e){d=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var o=t&&t.prototype instanceof y?t:y,i=Object.create(o.prototype),s=new O(r||[]);return a(i,"_invoke",{value:S(e,n,s)}),i}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=c;var p="suspendedStart",m="suspendedYield",f="executing",h="completed",g={};function y(){}function b(){}function w(){}var M={};d(M,i,(function(){return this}));var L=Object.getPrototypeOf,T=L&&L(L(N([])));T&&T!==n&&r.call(T,i)&&(M=T);var x=w.prototype=y.prototype=Object.create(M);function D(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){function n(a,o,i,s){var l=u(e[a],e,o);if("throw"!==l.type){var d=l.arg,c=d.value;return c&&"object"==_(c)&&r.call(c,"__await")?t.resolve(c.__await).then((function(e){n("next",e,i,s)}),(function(e){n("throw",e,i,s)})):t.resolve(c).then((function(e){d.value=e,i(d)}),(function(e){return n("throw",e,i,s)}))}s(l.arg)}var o;a(this,"_invoke",{value:function(e,r){function a(){return new t((function(t,a){n(e,r,t,a)}))}return o=o?o.then(a,a):a()}})}function S(t,n,r){var a=p;return function(o,i){if(a===f)throw Error("Generator is already running");if(a===h){if("throw"===o)throw i;return{value:e,done:!0}}for(r.method=o,r.arg=i;;){var s=r.delegate;if(s){var l=Y(s,r);if(l){if(l===g)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(a===p)throw a=h,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);a=f;var d=u(t,n,r);if("normal"===d.type){if(a=r.done?h:m,d.arg===g)continue;return{value:d.arg,done:r.done}}"throw"===d.type&&(a=h,r.method="throw",r.arg=d.arg)}}}function Y(t,n){var r=n.method,a=t.iterator[r];if(a===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,Y(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var o=u(a,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,g;var i=o.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,g):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function j(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function C(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function O(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(j,this),this.reset(!0)}function N(t){if(t||""===t){var n=t[i];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,o=function n(){for(;++a<t.length;)if(r.call(t,a))return n.value=t[a],n.done=!1,n;return n.value=e,n.done=!0,n};return o.next=o}}throw new TypeError(_(t)+" is not iterable")}return b.prototype=w,a(x,"constructor",{value:w,configurable:!0}),a(w,"constructor",{value:b,configurable:!0}),b.displayName=d(w,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,w):(e.__proto__=w,d(e,l,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},D(k.prototype),d(k.prototype,s,(function(){return this})),t.AsyncIterator=k,t.async=function(e,n,r,a,o){void 0===o&&(o=Promise);var i=new k(c(e,n,r,a),o);return t.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},D(x),d(x,l,"Generator"),d(x,i,(function(){return this})),d(x,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=N,O.prototype={constructor:O,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(C),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function a(r,a){return s.type="throw",s.arg=t,n.next=r,a&&(n.method="next",n.arg=e),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],s=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var l=r.call(i,"catchLoc"),d=r.call(i,"finallyLoc");if(l&&d){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!d)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&r.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),C(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;C(n)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:N(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}function b(e,t,n,r,a,o,i){try{var s=e[o](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)}function w(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){b(o,r,a,i,s,"next",e)}function s(e){b(o,r,a,i,s,"throw",e)}i(void 0)}))}}var M={components:{},props:{vo:{type:Object,default:function(){return{}}}},data:function(){return{i18npkg:"gwgl",moduleCode:"components",loading:!1,tableData:[]}},computed:{},watch:{},created:function(){this.queryData()},mounted:function(){},beforeDestroy:function(){},methods:{queryData:function(){var e=this;return w(v().mark((function t(){return v().wrap((function(t){while(1)switch(t.prev=t.next){case 0:e.$http({method:"POST",contentType:"application/x-www-form-urlencoded",params:{orderBy:"jsTime asc"},data:[{compare:"=",field:"cbId",merge:!0,value:e.vo.id}],url:"/cuiban/cbjsjl/querydata"}).then((function(t){"success"===t.code?(console.log(t),e.tableData=t.body.listdata):e.$alert(t.message,e.$tx("common.operationTip","操作提示"),{type:"error"})}));case 1:case"end":return t.stop()}}),t)})))()}}},L=M,T=m(L,g,y,!1,null,"aff3553c",null),x=T.exports,D=function(){var e=this,t=e._self._c;return t("div",[!e.updatecolumn||"flELevel"!==e.column.field&&"elevel"!==e.column.field?e._e():t("div",{key:e.row.id,staticClass:"divCenter",staticStyle:{height:"23px"}},[t("span",{key:e.row.id,staticClass:"color-box",style:{background:e.getEnevle("color")}}),t("span",{key:e.row.id,staticClass:"text-box"},[e._v(e._s(e.getEnevle("name")))])]),"operate"===e.column.field?t("div",[e.row.wfNodeNames?e._e():t("el-link",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"edit",expression:"'edit'"}],attrs:{underline:!1},on:{click:e.editorForm}},[e._v("编辑")]),t("el-link",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"setting",expression:"'setting'"}],attrs:{underline:!1},on:{click:e.fileSetting}},[e._v("设置")])],1):e._e()])},k=[];
302
302
  /*!
303
303
  * vuex v3.6.2
304
304
  * (c) 2021 Evan You
305
305
  * @license MIT
306
306
  */
307
- function S(e){var t=Number(e.version.split(".")[0]);if(t>=2)e.mixin({beforeCreate:r});else{var n=e.prototype._init;e.prototype._init=function(e){void 0===e&&(e={}),e.init=e.init?[r].concat(e.init):r,n.call(this,e)}}function r(){var e=this.$options;e.store?this.$store="function"===typeof e.store?e.store():e.store:e.parent&&e.parent.$store&&(this.$store=e.parent.$store)}}var Y="undefined"!==typeof window?window:"undefined"!==typeof n.g?n.g:{},j=Y.__VUE_DEVTOOLS_GLOBAL_HOOK__;function C(e){j&&(e._devtoolHook=j,j.emit("vuex:init",e),j.on("vuex:travel-to-state",(function(t){e.replaceState(t)})),e.subscribe((function(e,t){j.emit("vuex:mutation",e,t)}),{prepend:!0}),e.subscribeAction((function(e,t){j.emit("vuex:action",e,t)}),{prepend:!0}))}function O(e,t){Object.keys(e).forEach((function(n){return t(e[n],n)}))}function N(e){return null!==e&&"object"===typeof e}function P(e){return e&&"function"===typeof e.then}function E(e,t){return function(){return e(t)}}var H=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var n=e.state;this.state=("function"===typeof n?n():n)||{}},F={namespaced:{configurable:!0}};F.namespaced.get=function(){return!!this._rawModule.namespaced},H.prototype.addChild=function(e,t){this._children[e]=t},H.prototype.removeChild=function(e){delete this._children[e]},H.prototype.getChild=function(e){return this._children[e]},H.prototype.hasChild=function(e){return e in this._children},H.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)},H.prototype.forEachChild=function(e){O(this._children,e)},H.prototype.forEachGetter=function(e){this._rawModule.getters&&O(this._rawModule.getters,e)},H.prototype.forEachAction=function(e){this._rawModule.actions&&O(this._rawModule.actions,e)},H.prototype.forEachMutation=function(e){this._rawModule.mutations&&O(this._rawModule.mutations,e)},Object.defineProperties(H.prototype,F);var A=function(e){this.register([],e,!1)};function I(e,t,n){if(t.update(n),n.modules)for(var r in n.modules){if(!t.getChild(r))return void 0;I(e.concat(r),t.getChild(r),n.modules[r])}}A.prototype.get=function(e){return e.reduce((function(e,t){return e.getChild(t)}),this.root)},A.prototype.getNamespace=function(e){var t=this.root;return e.reduce((function(e,n){return t=t.getChild(n),e+(t.namespaced?n+"/":"")}),"")},A.prototype.update=function(e){I([],this.root,e)},A.prototype.register=function(e,t,n){var r=this;void 0===n&&(n=!0);var a=new H(t,n);if(0===e.length)this.root=a;else{var o=this.get(e.slice(0,-1));o.addChild(e[e.length-1],a)}t.modules&&O(t.modules,(function(t,a){r.register(e.concat(a),t,n)}))},A.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1],r=t.getChild(n);r&&r.runtime&&t.removeChild(n)},A.prototype.isRegistered=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1];return!!t&&t.hasChild(n)};var z;var R=function(e){var t=this;void 0===e&&(e={}),!z&&"undefined"!==typeof window&&window.Vue&&ne(window.Vue);var n=e.plugins;void 0===n&&(n=[]);var r=e.strict;void 0===r&&(r=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new A(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new z,this._makeLocalGettersCache=Object.create(null);var a=this,o=this,i=o.dispatch,s=o.commit;this.dispatch=function(e,t){return i.call(a,e,t)},this.commit=function(e,t,n){return s.call(a,e,t,n)},this.strict=r;var l=this._modules.root.state;q(this,l,[],this._modules.root),U(this,l),n.forEach((function(e){return e(t)}));var d=void 0!==e.devtools?e.devtools:z.config.devtools;d&&C(this)},W={state:{configurable:!0}};function G(e,t,n){return t.indexOf(e)<0&&(n&&n.prepend?t.unshift(e):t.push(e)),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function B(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;q(e,n,[],e._modules.root,!0),U(e,n,t)}function U(e,t,n){var r=e._vm;e.getters={},e._makeLocalGettersCache=Object.create(null);var a=e._wrappedGetters,o={};O(a,(function(t,n){o[n]=E(t,e),Object.defineProperty(e.getters,n,{get:function(){return e._vm[n]},enumerable:!0})}));var i=z.config.silent;z.config.silent=!0,e._vm=new z({data:{$$state:t},computed:o}),z.config.silent=i,e.strict&&X(e),r&&(n&&e._withCommit((function(){r._data.$$state=null})),z.nextTick((function(){return r.$destroy()})))}function q(e,t,n,r,a){var o=!n.length,i=e._modules.getNamespace(n);if(r.namespaced&&(e._modulesNamespaceMap[i],e._modulesNamespaceMap[i]=r),!o&&!a){var s=ee(t,n.slice(0,-1)),l=n[n.length-1];e._withCommit((function(){z.set(s,l,r.state)}))}var d=r.context=V(e,i,n);r.forEachMutation((function(t,n){var r=i+n;K(e,r,t,d)})),r.forEachAction((function(t,n){var r=t.root?n:i+n,a=t.handler||t;Q(e,r,a,d)})),r.forEachGetter((function(t,n){var r=i+n;Z(e,r,t,d)})),r.forEachChild((function(r,o){q(e,t,n.concat(o),r,a)}))}function V(e,t,n){var r=""===t,a={dispatch:r?e.dispatch:function(n,r,a){var o=te(n,r,a),i=o.payload,s=o.options,l=o.type;return s&&s.root||(l=t+l),e.dispatch(l,i)},commit:r?e.commit:function(n,r,a){var o=te(n,r,a),i=o.payload,s=o.options,l=o.type;s&&s.root||(l=t+l),e.commit(l,i,s)}};return Object.defineProperties(a,{getters:{get:r?function(){return e.getters}:function(){return J(e,t)}},state:{get:function(){return ee(e.state,n)}}}),a}function J(e,t){if(!e._makeLocalGettersCache[t]){var n={},r=t.length;Object.keys(e.getters).forEach((function(a){if(a.slice(0,r)===t){var o=a.slice(r);Object.defineProperty(n,o,{get:function(){return e.getters[a]},enumerable:!0})}})),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}function K(e,t,n,r){var a=e._mutations[t]||(e._mutations[t]=[]);a.push((function(t){n.call(e,r.state,t)}))}function Q(e,t,n,r){var a=e._actions[t]||(e._actions[t]=[]);a.push((function(t){var a=n.call(e,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:e.getters,rootState:e.state},t);return P(a)||(a=Promise.resolve(a)),e._devtoolHook?a.catch((function(t){throw e._devtoolHook.emit("vuex:error",t),t})):a}))}function Z(e,t,n,r){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(e){return n(r.state,r.getters,e.state,e.getters)})}function X(e){e._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}function ee(e,t){return t.reduce((function(e,t){return e[t]}),e)}function te(e,t,n){return N(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}function ne(e){z&&e===z||(z=e,S(z))}W.state.get=function(){return this._vm._data.$$state},W.state.set=function(e){0},R.prototype.commit=function(e,t,n){var r=this,a=te(e,t,n),o=a.type,i=a.payload,s=(a.options,{type:o,payload:i}),l=this._mutations[o];l&&(this._withCommit((function(){l.forEach((function(e){e(i)}))})),this._subscribers.slice().forEach((function(e){return e(s,r.state)})))},R.prototype.dispatch=function(e,t){var n=this,r=te(e,t),a=r.type,o=r.payload,i={type:a,payload:o},s=this._actions[a];if(s){try{this._actionSubscribers.slice().filter((function(e){return e.before})).forEach((function(e){return e.before(i,n.state)}))}catch(d){0}var l=s.length>1?Promise.all(s.map((function(e){return e(o)}))):s[0](o);return new Promise((function(e,t){l.then((function(t){try{n._actionSubscribers.filter((function(e){return e.after})).forEach((function(e){return e.after(i,n.state)}))}catch(d){0}e(t)}),(function(e){try{n._actionSubscribers.filter((function(e){return e.error})).forEach((function(t){return t.error(i,n.state,e)}))}catch(d){0}t(e)}))}))}},R.prototype.subscribe=function(e,t){return G(e,this._subscribers,t)},R.prototype.subscribeAction=function(e,t){var n="function"===typeof e?{before:e}:e;return G(n,this._actionSubscribers,t)},R.prototype.watch=function(e,t,n){var r=this;return this._watcherVM.$watch((function(){return e(r.state,r.getters)}),t,n)},R.prototype.replaceState=function(e){var t=this;this._withCommit((function(){t._vm._data.$$state=e}))},R.prototype.registerModule=function(e,t,n){void 0===n&&(n={}),"string"===typeof e&&(e=[e]),this._modules.register(e,t),q(this,this.state,e,this._modules.get(e),n.preserveState),U(this,this.state)},R.prototype.unregisterModule=function(e){var t=this;"string"===typeof e&&(e=[e]),this._modules.unregister(e),this._withCommit((function(){var n=ee(t.state,e.slice(0,-1));z.delete(n,e[e.length-1])})),B(this)},R.prototype.hasModule=function(e){return"string"===typeof e&&(e=[e]),this._modules.isRegistered(e)},R.prototype.hotUpdate=function(e){this._modules.update(e),B(this,!0)},R.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(R.prototype,W);ie((function(e,t){var n={};return ae(t).forEach((function(t){var r=t.key,a=t.val;n[r]=function(){var t=this.$store.state,n=this.$store.getters;if(e){var r=se(this.$store,"mapState",e);if(!r)return;t=r.context.state,n=r.context.getters}return"function"===typeof a?a.call(this,t,n):t[a]},n[r].vuex=!0})),n})),ie((function(e,t){var n={};return ae(t).forEach((function(t){var r=t.key,a=t.val;n[r]=function(){var t=[],n=arguments.length;while(n--)t[n]=arguments[n];var r=this.$store.commit;if(e){var o=se(this.$store,"mapMutations",e);if(!o)return;r=o.context.commit}return"function"===typeof a?a.apply(this,[r].concat(t)):r.apply(this.$store,[a].concat(t))}})),n}));var re=ie((function(e,t){var n={};return ae(t).forEach((function(t){var r=t.key,a=t.val;a=e+a,n[r]=function(){if(!e||se(this.$store,"mapGetters",e))return this.$store.getters[a]},n[r].vuex=!0})),n}));ie((function(e,t){var n={};return ae(t).forEach((function(t){var r=t.key,a=t.val;n[r]=function(){var t=[],n=arguments.length;while(n--)t[n]=arguments[n];var r=this.$store.dispatch;if(e){var o=se(this.$store,"mapActions",e);if(!o)return;r=o.context.dispatch}return"function"===typeof a?a.apply(this,[r].concat(t)):r.apply(this.$store,[a].concat(t))}})),n}));function ae(e){return oe(e)?Array.isArray(e)?e.map((function(e){return{key:e,val:e}})):Object.keys(e).map((function(t){return{key:t,val:e[t]}})):[]}function oe(e){return Array.isArray(e)||N(e)}function ie(e){return function(t,n){return"string"!==typeof t?(n=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),e(t,n)}}function se(e,t,n){var r=e._modulesNamespaceMap[n];return r}function le(e){return le="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},le(e)}function de(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ce(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?de(Object(n),!0).forEach((function(t){ue(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):de(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ue(e,t,n){return(t=pe(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pe(e){var t=me(e,"string");return"symbol"==le(t)?t:t+""}function me(e,t){if("object"!=le(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=le(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var fe={components:{},props:{row:{type:Object,default:function(){return{}}},column:{type:Object,default:function(){return{}}}},data:function(){return{updatecolumn:!0,enevlelist:[]}},computed:ce({},re(["loginUser"])),watch:{},created:function(){this.$bus.on("loadEnevlelist",this.loadEnevlelist);var e=sessionStorage.getItem(this.loginUser.orgCode+"_LEVEL");this.enevlelist=e?JSON.parse(e):[]},mounted:function(){},beforeDestroy:function(){this.$bus.off("loadEnevlelist",this.loadEnevlelist)},methods:{fileSetting:function(){this.$bus.emit("fileSetting",this.row)},editorForm:function(){this.$bus.emit("editorForm",this.row)},loadEnevlelist:function(){var e=this,t=sessionStorage.getItem(this.loginUser.orgCode+"_LEVEL");this.enevlelist=t?JSON.parse(t):[],this.updatecolumn=!1,this.$nextTick((function(){e.updatecolumn=!0}))},getEnevle:function(e){var t=this,n=null;return this.enevlelist.forEach((function(e){t.row.elvVal!==e.eLevel&&t.row.elevel!==e.eName&&t.row.flELevel!==e.eLevel&&t.row.flELevel!==e.eName||(n=e)})),null!==n?"color"===e?n.color:n.eName:this.row.elevel||this.row.flELevel}}},he=fe,ge=(n(8160),m(he,D,k,!1,null,"01bdb8c2",null)),ye=ge.exports,_e=function(){var e=this,t=e._self._c;return t("div",{staticClass:"wflow-container wflow-container-top-bar"},[t("div",{staticClass:"header-title"},[t("div",{staticStyle:{display:"flex","justify-content":"space-between","align-items":"center","margin-bottom":"12px"}},[t("PageHeader",{attrs:{"sys-title":""}}),t("span",{staticStyle:{"margin-top":"10px"}},[e._v(e._s(e.logoTitle))])],1),e.TopBtn.length>0?t("TopBtn",{ref:"TopBtn",attrs:{"top-btn":e.TopBtn}}):e._e()],1),t("div",{staticClass:"wflow-busiattach"},[t("div",{staticClass:"mainform-have-sidebar",style:{width:e.InlineTextEditorShow?"100%":""}},[t("ModuleTextEditor",{ref:"InlineTextEditor",attrs:{"wf-attach-url":e.wfAttachUrl,"office-type":e.officeType,"body-file-editor":2,vo:e.vo}})],1)])])},ve=[],be=function(){var e=this,t=e._self._c;return t("div",{staticStyle:{display:"flex",height:"calc(100vh - 71px)"}},[t("div",{staticStyle:{flex:"1"}},[t("el-button",{directives:[{name:"show",rawName:"v-show",value:!1,expression:"false"}],attrs:{id:"btnEcdocSaved",type:"default"},on:{click:e.btnEcdocSavedClick}}),t("el-button",{directives:[{name:"show",rawName:"v-show",value:!1,expression:"false"}],attrs:{id:"windowOpen",type:"default"},on:{click:e.windowOpen}}),e.ecweboffice&&2===e.bodyFileEditor&&"ech5"===e.officeType?t("ecweboffice",{ref:"ecweboffice",staticStyle:{width:"100%"},attrs:{"editor-url":e.editorUrl}}):e._e()],1),t("div",{staticStyle:{"background-color":"#fff"}},[e._t("right-sidebar")],2)])},we=[];function Me(e){return Me="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Me(e)}function Le(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Le=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function d(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(e){d=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var o=t&&t.prototype instanceof y?t:y,i=Object.create(o.prototype),s=new j(r||[]);return a(i,"_invoke",{value:D(e,n,s)}),i}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=c;var p="suspendedStart",m="suspendedYield",f="executing",h="completed",g={};function y(){}function _(){}function v(){}var b={};d(b,i,(function(){return this}));var w=Object.getPrototypeOf,M=w&&w(w(C([])));M&&M!==n&&r.call(M,i)&&(b=M);var L=v.prototype=y.prototype=Object.create(b);function T(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function n(a,o,i,s){var l=u(e[a],e,o);if("throw"!==l.type){var d=l.arg,c=d.value;return c&&"object"==Me(c)&&r.call(c,"__await")?t.resolve(c.__await).then((function(e){n("next",e,i,s)}),(function(e){n("throw",e,i,s)})):t.resolve(c).then((function(e){d.value=e,i(d)}),(function(e){return n("throw",e,i,s)}))}s(l.arg)}var o;a(this,"_invoke",{value:function(e,r){function a(){return new t((function(t,a){n(e,r,t,a)}))}return o=o?o.then(a,a):a()}})}function D(t,n,r){var a=p;return function(o,i){if(a===f)throw Error("Generator is already running");if(a===h){if("throw"===o)throw i;return{value:e,done:!0}}for(r.method=o,r.arg=i;;){var s=r.delegate;if(s){var l=k(s,r);if(l){if(l===g)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(a===p)throw a=h,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);a=f;var d=u(t,n,r);if("normal"===d.type){if(a=r.done?h:m,d.arg===g)continue;return{value:d.arg,done:r.done}}"throw"===d.type&&(a=h,r.method="throw",r.arg=d.arg)}}}function k(t,n){var r=n.method,a=t.iterator[r];if(a===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,k(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var o=u(a,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,g;var i=o.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,g):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function Y(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function C(t){if(t||""===t){var n=t[i];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,o=function n(){for(;++a<t.length;)if(r.call(t,a))return n.value=t[a],n.done=!1,n;return n.value=e,n.done=!0,n};return o.next=o}}throw new TypeError(Me(t)+" is not iterable")}return _.prototype=v,a(L,"constructor",{value:v,configurable:!0}),a(v,"constructor",{value:_,configurable:!0}),_.displayName=d(v,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===_||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,d(e,l,"GeneratorFunction")),e.prototype=Object.create(L),e},t.awrap=function(e){return{__await:e}},T(x.prototype),d(x.prototype,s,(function(){return this})),t.AsyncIterator=x,t.async=function(e,n,r,a,o){void 0===o&&(o=Promise);var i=new x(c(e,n,r,a),o);return t.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},T(L),d(L,l,"Generator"),d(L,i,(function(){return this})),d(L,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=C,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(Y),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function a(r,a){return s.type="throw",s.arg=t,n.next=r,a&&(n.method="next",n.arg=e),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],s=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var l=r.call(i,"catchLoc"),d=r.call(i,"finallyLoc");if(l&&d){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!d)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&r.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),Y(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;Y(n)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:C(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}function Te(e,t,n,r,a,o,i){try{var s=e[o](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)}function xe(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){Te(o,r,a,i,s,"next",e)}function s(e){Te(o,r,a,i,s,"throw",e)}i(void 0)}))}}var De={name:"ModuleTextEditor",props:{vo:{type:Object,default:function(){return{}}},wfAttachUrl:{type:String,default:"wfInstance/wfBusiAttach"},officeType:{type:String,default:"ech5"},bodyFileEditor:{type:Number,default:0},curTN:{type:Object,default:function(){return null}}},data:function(){return{bodyFileUrl:"",bodyFileCanEdit:0,ecweboffice:!1,waiting:!1,editorUrl:"",mbDownUrl:""}},computed:{},watch:{},created:function(){this.$options.components["ecweboffice"]=this.$loadComponent("@/wapp/workflow/webOffice/ecweboffice"),null===this.curTN&&(this.curTN=this.$vnode.context.curTN),this.$bus.on("btnOpenWordClick",this.btnOpenWordClick),this.$bus.on("btnNoTitleModifyFlTypeClick",this.btnNoTitleModifyFlTypeClick),this.$bus.on("selectContractTemplate",this.selectContractTemplate)},beforeDestroy:function(){this.$bus.off("btnOpenWordClick",this.btnOpenWordClick),this.$bus.off("btnNoTitleModifyFlTypeClick",this.btnNoTitleModifyFlTypeClick),this.$bus.off("selectContractTemplate",this.selectContractTemplate)},mounted:function(){},methods:{selectContractTemplate:function(e){var t=this;this.mbDownUrl="htgl/htmb/",this.$http({method:"POST",contentType:"application/x-www-form-urlencoded",data:[{compare:"=",field:"orgCode",value:e.wfInstance.orgCode}],url:"htgl/htmb/querydata"}).then((function(n){"success"===n.code?(n.body.listdata.forEach((function(e){e.value=e.id,e.text=e.templateName})),t.$bus.emit("openListitemDialog",t.$tx("gwgl.messages.selectModuleTip","选择合同模版"),n.body.listdata,(function(r){if("success"===r.code){var a=n.body.listdata.filter((function(e){if(e.id===r.value)return!0}));e.vo.htmbId=a[0].id,e.vo.htmbName=a[0].templateName,2===e.wfInstance.haveDoc?t.$confirm(t.$tx("gwgl.messages.haveModule","该合同已经有模版!")+"<br>"+t.$tx("gwgl.messages.haveModule2","是否替换当前模版?"),t.$tx("common.confirmOperate","确认操作"),{type:"warning",dangerouslyUseHTMLString:!0}).then((function(){t.btnOpenWordClick(e)})).catch((function(){e.embeddedEditorToggle(!1)})):t.btnOpenWordClick(e)}else e.embeddedEditorToggle(!1)}),e.vo.htmbId,t.$tx("gwgl.components.contractModule","合同模版"),t.$tx("gwgl.components.selectNewM","请选择新的合同模版:"))):(e.embeddedEditorToggle(!1),t.$alert(n.message,t.$tx("common.operationTip","操作提示"),{type:"error"}))}))},btnNoTitleModifyFlTypeClick:function(e){var t=this;this.mbDownUrl="gwgl/fwmb/",this.$http({method:"POST",contentType:"application/x-www-form-urlencoded",params:{orderBy:"sortNo,name"},data:[{compare:"=",field:"orgCode",value:e.wfInstance.orgCode},{compare:"=",field:"status",value:1}],url:"gwgl/fwmb/querydata"}).then((function(n){"success"===n.code?(n.body.listdata.forEach((function(e){e.value=e.id,e.text=e.name})),t.$bus.emit("openListitemDialog",t.$tx("gwgl.components.updateGwType","修改公文类型"),n.body.listdata,(function(r){if("success"===r.code){var a=n.body.listdata.filter((function(e){if(e.id===r.value)return!0}));e.vo.flWord=a[0].fileWord,e.vo.flFormName=a[0].formTitle,e.vo.flRedTitle=a[0].fileHeader,e.vo.gwmbId=a[0].id,e.vo.flType=a[0].name,e.vo.signedFileName&&null!==e.vo.signedFileName&&""!==e.vo.signedFileName?t.$confirm(t.$tx("gwgl.messages.haveGz","该公文已经盖章,重新编辑正文后需要重新盖章!")+"<br>"+t.$tx("gwgl.messages.haveGz2","是否继续?"),t.$tx("common.confirmOperate","确认操作"),{type:"warning",dangerouslyUseHTMLString:!0}).then((function(){t.btnOpenWordClick(e,"RedliningOnce")})).catch((function(){e.embeddedEditorToggle(!1)})):2===e.wfInstance.haveDoc?t.$confirm(t.$tx("gwgl.messages.haveTh","该公文已经套过红!")+"<br>"+t.$tx("gwgl.messages.haveGz2","是否继续?"),t.$tx("common.confirmOperate","确认操作"),{type:"warning",dangerouslyUseHTMLString:!0}).then((function(){t.btnOpenWordClick(e,"Redlining")})).catch((function(){e.embeddedEditorToggle(!1)})):t.btnOpenWordClick(e,"Redlining")}else e.embeddedEditorToggle(!1)}),e.vo.gwmbId,t.$tx("gwgl.components.gwType","公文类型"),t.$tx("gwgl.components.selectNewGw","请选择新的公文类型:"))):(e.embeddedEditorToggle(!1),t.$alert(n.message,t.$tx("common.operationTip","操作提示"),{type:"error"}))}))},btnOpenWordClick:function(e,t,n){var r=this;console.log(t,"openType"),this.openType=t,e.formValidate((function(){var n=[],a="";a="/apigw".substring(1)+"/gwgl/fwmb/download?id="+r.vo.id+"&dataField=fileContent&nameField=mbFileName";var o={};"ech5"===r.officeType&&r.btnOpenEcdocEditorClick(e,n,o,a,"","",t)}))},btnOpenEcdocEditorClick:function(e,t,n,r,a,o,i){var s=this;return xe(Le().mark((function t(){var n,a,o,i,l;return Le().wrap((function(t){while(1)switch(t.prev=t.next){case 0:n=s,a=location.href.split("#")[0].split("windex.html")[0],r=a+r,o=e.vo.mbFileName,i="ATTACH",r+="&attachsType="+i,l=s.$tx("gwgl.components.isLoading","正在下载文件,请稍候..."),s.$bus.emit("showDoingDialog",l),s.$http({method:"GET",url:"wopi/getAccessToken",params:{downUrl:r,fileName:o}}).then((function(t){if("success"===t.code){s.tSessionId=t.body.tSessionId;var r,o=t.body.editorUrl;o.indexOf("lang=")<0&&(o+="&lang=zh-CN"),console.log(o,"editorUrl ---- 235"),s.editorUrl=o,new Promise((function(e,t){n.$nextTick((function(){s.ecweboffice=!0,n.$nextTick((function(){r=n.$refs.ecweboffice,r&&e(!0)}))}))})).then((function(n){if(n){s.$bus.emit("closeDoingDialog");var r=s.$tx("gwgl.components.loadingSave","正在保存附件,请稍候...");s.doctimer=setInterval((function(){if(!s.ecweboffice&&!s.waiting&&(clearInterval(s.doctimer),window.fileStatus>0)){s.$bus.emit("showDoingDialog",r);var n=a+"/apigw".substring(1)+"/gwgl/fwmb/upload";s.checkEcincEditorFinished(e,t.body.attachId,n,0,"")}s.ecweboffice||(clearInterval(s.doctimer),s.btnEcdocSavedClick(!0))}),500)}}));var i=a+"/apigw".substring(1)+"/gwgl/fwmb/upload";i+="?id="+e.vo.id,i+="&dataField=fileContent",i+="&nameField=mbFileName",i+="&method=put",document.querySelector("#btnEcdocSaved").uploadUrl=i,console.log(document.querySelector("#btnEcdocSaved"),"btnEcdocSaved"),document.querySelector("#btnEcdocSaved").checkSave=!1}else s.$alert(t.message,s.$tx("common.operationTip","操作提示"),{type:"error"})}));case 9:case"end":return t.stop()}}),t)})))()},btnEcdocSavedClick:function(e){if("ech5"===this.officeType){var t=document.querySelector("#btnEcdocSaved");if(console.log(t.srcEvent),t.srcEvent){var n=t.srcEvent.data;if(n){"string"===typeof n&&(n=JSON.parse(n));var r=!1;if(e&&t.checkSave)r=!0;else if("UI_Save"===n.MessageId||"Action_Save_Resp"===n.MessageId)r=!0;else if("Doc_ModifiedStatus"===n.MessageId&&n.Values.Modified)return void(t.checkSave=!1);if(r&&!this.waiting){delete t.srcEvent.data,delete t.checkSave;var a=document.querySelector("#btnEcdocSaved").uploadUrl,o=this.$tx("gwgl.components.reloadFile","正在重新加载文件,请稍候"),i="BODY";-1!==a.indexOf("=ATTACH")&&(o=this.$tx("gwgl.components.loadingSave","正在保存附件,请稍候..."),i="ATTACH"),this.$bus.emit("showDoingDialog",o);var s=this.$vnode.context;this.checkEcincEditorFinished(s,this.tSessionId,a,0,i)}else this.$bus.emit("closeDoingDialog")}}}},checkEcincEditorFinished:function(e,t,n,r,a){var o=this;this.waiting=!0,this.$http({method:"GET",url:"wopi/checkFinished",params:{fileId:t,uploadUrl:n,checkCount:r}}).then((function(i){"success"===i.code?i.body.waiting?setTimeout((function(){o.waiting=!0,o.checkEcincEditorFinished(e,t,n,++r,a)}),1e3):i.body.finished?(o.waiting=!1,o.$bus.emit("closeDoingDialog")):i.body.saved&&(o.waiting=!1,e.InlineTextEditorShow=!1,e.btnSubmitClick(e.actionType)):o.$bus.emit("closeDoingDialog")}))},getSessionId:function(){var e=this;return new Promise((function(t,n){e.$http({method:"GET",params:{timeLength:60},url:"base/user/getSessionId"}).then((function(e){"success"===e.code?t(e.body.tSessionId):n(e.msg)}))}))},imgUrl:function(e){var t=e.oriangialName||e.fileName;return t=t.substring(t.lastIndexOf(".")),".doc"===t||".docx"===t?"images/w-imgs/email/word.png":".ppt"===t||".pptx"===t?"images/w-imgs/email/ppt.png":".xls"===t||".xlsx"===t?"images/w-imgs/email/excel.png":".pdf"===t?"images/w-imgs/email/pdf.png":".txt"===t?"images/w-imgs/email/txt.png":".audio"===t||".amr"===t||".mp3"===t||".wav"===t?"images/w-imgs/email/audio.png":".video"===t||".mp4"===t||".mov"===t?"images/w-imgs/email/video.png":".zip"===t||".rar"===t?"images/w-imgs/email/zip.png":".image"===t||".mp4"===t||".jpg"===t||".jpeg"===t||".png"===t||".gif"===t||".bmp"===t||".svg"===t?"images/w-imgs/email/picture.png":" "===t?"images/w-imgs/email/none.png":"images/w-imgs/email/其他.png"}}},ke=De,Se=(n(7030),m(ke,be,we,!1,null,"4b14c1db",null)),Ye=Se.exports,je=function(){var e=this,t=e._self._c;return t("div",{staticStyle:{display:"flex"}},[t("div",{staticClass:"TopBtn",class:{"bottom-bar":"bottom"===e.btnPosition}},e._l(e.topBtns,(function(n){return t("div",{key:n,staticClass:"commandBtn",attrs:{code:n.btnCode}},[t("el-button",{attrs:{plain:""},nativeOn:{click:function(t){return e.handleBtnClick(n)}}},[-1!==n.btnIcon.indexOf(".svg")?t("svg-icon",{class:n.btnIcon.substring(0,n.btnIcon.indexOf(".svg")),attrs:{"icon-class":n.btnIcon.substring(0,n.btnIcon.indexOf(".svg"))}}):e._e(),-1===n.btnIcon.indexOf(".svg")?t("i",{class:"el-icon-"+n.btnIcon}):e._e(),t("span",[e._v(e._s(n.btnName))])],1)],1)})),0)])},Ce=[],Oe={name:"TopBtn",components:{},props:{topBtn:{type:Array,default:function(){return[]}},btnPosition:{type:String,default:function(){return"top"}}},data:function(){return{topBtns:[],submitBtn:null}},computed:{},watch:{TopBtn:{handler:function(e,t){this.setCommandBtns()},deep:!0}},created:function(){this.setCommandBtns()},beforeDestroy:function(){},mounted:function(){},methods:{setCommandBtns:function(){this.topBtns=[],this.topBtns=this.topBtn},handleBtnClick:function(e){console.log(e,"btn"),void 0!==e.btnParams&&null!==e.btnParams?e.btnClick.apply(this.$vnode.context,e.btnParams):e.btnClick.apply(this.$vnode.context)}}},Ne=Oe,Pe=(n(8100),m(Ne,je,Ce,!1,null,"5ec99cdd",null)),Ee=Pe.exports,He={components:{ModuleTextEditor:Ye,TopBtn:Ee},props:{},data:function(){return{officeType:"ech5",wfAttachUrl:"htgl/htmb",bodyfile:{},logoTitle:"",TopBtn:[{btnAlign:1,btnCode:null,btnGroupId:null,btnIcon:"glyphicon-off.svg",btnJavascript:"btnCloseClick()",btnName:"关 闭",btnOrderNo:null,btnShow:null,btnType:"1",id:null,nodeId:null,passenger:{},visitType:0},{btnAlign:1,btnCode:null,btnGroupId:null,btnIcon:"saved.svg",btnJavascript:"btnSaveAndCloseClick()",btnName:this.$tx("pageBtns.saveAndClose","保存关闭"),btnOrderNo:null,btnShow:null,btnType:"1",id:null,nodeId:null,passenger:{},visitType:0},{btnAlign:1,btnCode:null,btnGroupId:null,btnIcon:"save.svg",btnJavascript:"btnSaveClick()",btnName:this.$tx("pageBtns.save","保存"),btnOrderNo:null,btnShow:null,btnType:"1",id:null,nodeId:null,passenger:{},visitType:0}],vo:{},actionType:"",InlineTextEditorShow:!0}},computed:{},watch:{},created:function(){var e=this;this.logoTitle=this.$route.query.title,this.vo=JSON.parse(this.$route.query.row),console.log(this.logoTitle,this.vo,"query 参数传递"),this.TopBtn.forEach((function(t){var n=t.btnJavascript;if(-1!==n.indexOf("(")){var r=n.substring(n.indexOf("(")+1,n.lastIndexOf(")"));""!==r&&(r=r.replace(/'/g,"").split(","),t.btnParams=r),n=n.split("(")[0]}void 0!==e[n]&&(t.btnClick=e[n])}))},beforeDestroy:function(){},mounted:function(){this.$bus.emit("btnOpenWordClick",this)},methods:{btnCloseClick:function(e){(e||confirm(this.$tx("gwgl.messages.editConfig","若当前编辑未保存,则内容修改无效,是否继续?")))&&window.close()},btnSaveAndCloseClick:function(){console.log("关闭且保存"),this.btnSubmitClick("SaveAndClose")},btnSaveClick:function(){this.btnSubmitClick("Save")},btnSubmitClick:function(e,t){var n=this;this.formValidate((function(){if(n.actionType=e,n.InlineTextEditorShow&&"AutoSave"!==e)return console.log(" this.$refs.InlineTextEditor.$refs.ecweboffice",n.$refs.InlineTextEditor.$refs.ecweboffice),void n.$refs.InlineTextEditor.$refs.ecweboffice.save();"SaveAndClose"===e&&(n.$message.success(n.$tx("common.saveSuccess")),setTimeout((function(){n.btnCloseClick(!0)}),300)),"Save"===e&&n.$message.success(n.$tx("common.saveSuccess")),n.InlineTextEditorShow=!0}))}}},Fe=He,Ae=(n(1341),m(Fe,_e,ve,!1,null,"6dd6ca80",null)),$e=Ae.exports,Ie=function(){var e=this,t=e._self._c;return t("div",[t("el-dialog",{attrs:{title:e.$tx("gwgl.components.transferNotice","转通知公告"),visible:e.dzggShow,width:"1000px"},on:{"update:visible":function(t){e.dzggShow=t},close:e.toclose}},[t("div",[t("el-form",{attrs:{model:e.dzggObj}},[t("div",{staticClass:"el-table el-table--fit el-table--border",staticStyle:{width:"100%"}},[t("div",{staticClass:"el-table__body-wrapper"},[t("table",{staticClass:"el-table__body",attrs:{cellspacing:"0",cellpadding:"0",border:"0"}},[t("tbody",[t("tr",[t("td",{ref:"tdlbl_制度标题",staticClass:"el-table__cell tdlbl tdw17",attrs:{colspan:"1"}},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"flSubject",expression:"'flSubject'"}],staticClass:"field"},[e._v("文件标题")])]),t("td",{staticClass:"el-table__cell tdcont tdw83",attrs:{colspan:"5"}},[t("form-item",{ref:"flSubject",attrs:{field:{defaultValue:null,elementCanEdit:"1",elementCssHeight:null,elementCssWidth:null,elementFormatter:null,elementReadonly:0,elementType:"input",emptyMessage:e.$tx("gwgl.components.zdTitleEmptyMessage","请输入制度主题"),errorMessage:null,formTdAlign:"text-left",formTdColspan:0,isRequired:1,onClickEvent:null,passenger:{},propComment:e.$tx("gwgl.components.zdTitle","制度标题"),propName:"flSubject",propType:"String",textFormatter:"textfield",valueMaxLength:null,valueMinLength:null,model:"dzggObj.flSubject",option:[]},vo:e.dzggObj,"can-edit":e.canEdit}})],1)]),t("tr",[t("td",{ref:"tdlbl_公告类型 ",staticClass:"el-table__cell tdlbl tdw17",attrs:{colspan:"1"}},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"type",expression:"'type'"}],staticClass:"field"},[e._v("公告类型")])]),t("td",{staticClass:"el-table__cell tdcont tdw83",attrs:{colspan:"5"}},[t("form-item",{ref:"type",attrs:{field:{cssClass:null,cssStyle:null,defaultValue:null,elementCanEdit:"1",elementCssHeight:null,elementCssWidth:null,elementFormatter:e.$tx("gwgl.components.notice","公告")+":"+e.$tx("gwgl.components.notice","公告")+"\n"+e.$tx("gwgl.components.inform","通知")+":"+e.$tx("gwgl.components.inform","通知")+"\n"+e.$tx("gwgl.components.praise","表扬")+":"+e.$tx("gwgl.components.praise","表扬")+"\n"+e.$tx("gwgl.components.criticize","批评")+":"+e.$tx("gwgl.components.criticize","批评")+"\n"+e.$tx("gwgl.components.other","其他")+":"+e.$tx("gwgl.components.other","其他"),elementReadonly:0,elementType:"radio",emptyMessage:e.$tx("gwgl.components.selectType","请选择公告类型"),errorMessage:null,formTdAlign:"text-left",formTdColspan:24,isRequired:1,onBlurEvent:null,onChangeEvent:null,onClickEvent:"@change='handleTypeChange'",onDblClickEvent:null,onFocusEvent:null,onKeyDownEvent:null,onKeyPressEvent:null,onKeyUpEvent:null,onMouseDownEvent:null,onMouseOverEvent:null,onMouseUpEvent:null,passenger:{},propComment:"公告类型",propName:"type",propType:"String",textFormatter:"radio",valueMaxLength:20,valueMinLength:null,model:"dzggObj.type",option:[{value:e.$tx("gwgl.components.notice","公告"),name:e.$tx("gwgl.components.notice","公告")},{value:e.$tx("gwgl.components.inform","通知"),name:e.$tx("gwgl.components.inform","通知")},{value:e.$tx("gwgl.components.praise","表扬"),name:e.$tx("gwgl.components.praise","表扬")},{value:e.$tx("gwgl.components.criticize","批评"),name:e.$tx("gwgl.components.criticize","批评")},{value:e.$tx("gwgl.components.other","其他"),name:e.$tx("gwgl.components.other","其他")}],optionGenerateType:0,clearable:!0,filterable:!1,allowCreate:!1},vo:e.dzggObj,"can-edit":e.canEdit}})],1)]),t("tr",[t("td",{ref:"tdlbl_是否置顶",staticClass:"el-table__cell tdlbl tdw17",attrs:{colspan:"1"}},[t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"isTop",expression:"'isTop'"}],staticClass:"field"},[e._v(e._s(e.$tx("gwgl.components.isTop")))])]),t("td",{staticClass:"el-table__cell tdcont tdw83",attrs:{colspan:"5"}},[t("form-item",{ref:"isTop",attrs:{field:{defaultValue:"0",elementCanEdit:"1",elementCssHeight:null,elementCssWidth:null,elementFormatter:"0:"+e.$tx("common.no","否")+" \n1:"+e.$tx("common.no","否"),elementReadonly:0,elementType:"radio",emptyMessage:e.$tx("gwgl.common.please","请输入")+"0:"+e.$tx("common.no","否")+" 1:"+e.$tx("common.yes","是"),errorMessage:null,formTdAlign:"text-left",formTdColspan:0,isRequired:0,onClickEvent:null,passenger:{},propComment:e.$tx("gwgl.common.isTop"),propName:"isTop",propType:"Short",textFormatter:"integer",valueMaxLength:null,valueMinLength:null,model:"dzggObj.isTop",option:[{value:"0",name:e.$tx("common.no","否")},{value:"1",name:e.$tx("common.yes","是")}],optionGenerateType:0,clearable:!0,filterable:!1,allowCreate:!1},vo:e.dzggObj,"can-edit":e.canEdit}})],1)]),t("tr",[t("td",{ref:"tdlbl_公告时间",staticClass:"el-table__cell tdlbl tdw17",attrs:{colspan:"1"}},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"ggTime",expression:"'ggTime'"}],staticClass:"field"},[e._v("公告时间")])]),t("td",{staticClass:"el-table__cell tdcont tdw83",attrs:{colspan:"5"}},[t("datetime-range",{attrs:{vo:e.dzggObj,type:"datetime","v-model-start":"startTime","v-model-end":"endTime","can-edit":1,"placeholder-start":e.$tx("fields.startTime","开始时间"),"placeholder-end":e.$tx("fields.endTime","结束时间"),required:!0,format:"yyyy-MM-dd HH:mm"}})],1)]),e._e(),t("tr",[t("td",{ref:"tdlbl_发布范围 ",staticClass:"el-table__cell tdlbl tdw17",attrs:{colspan:"1"}},[t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"publishScope",expression:"'publishScope'"}],staticClass:"field"},[e._v("发布范围")])]),t("td",{staticClass:"el-table__cell tdcont tdw83",attrs:{colspan:"5"}},[t("form-item",{ref:"publishScope",attrs:{field:{textFormatter:"radio",elementType:"radio",propName:"publishScope",propType:"Short",model:"dzggObj.publishScope",emptyMessage:e.$tx("gwgl.components.publishScopeRange","请选择发布范围"),isRequired:0,elementCanEdit:"1",defaultValue:"0",elementReadonly:0,option:[{value:"0",name:e.$tx("gwgl.components.allPerson","全部人员")},{value:"1",name:e.$tx("gwgl.components.fields.readersName","指定人员")}],elementFormatter:"0:"+e.$tx("gwgl.components.allPerson","全部人员")+"\n1:"+e.$tx("gwgl.components.fields.readersName","指定人员"),propComment:"发布范围",optionGenerateType:0,clearable:!0,filterable:!1,allowCreate:!1},vo:e.dzggObj,"can-edit":e.canEdit}})],1)]),1==e.dzggObj.publishScope?t("tr",[t("td",{ref:"tdlbl_查阅人",staticClass:"el-table__cell tdlbl tdw17",attrs:{colspan:"1"}},[t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"readersName",expression:"'readersName'"}],staticClass:"field"},[e._v("指定人员")])]),t("td",{staticClass:"el-table__cell tdcont tdw83",attrs:{colspan:"5"}},[t("form-item",{ref:"readersName",attrs:{field:{defaultValue:null,elementCanEdit:"1",elementCssHeight:70,elementCssWidth:null,elementFormatter:null,elementReadonly:0,elementType:"textarea",emptyMessage:e.$tx("gwgl.components.readeremptyMessage","请输入查阅人"),errorMessage:null,formTdAlign:"text-left",formTdColspan:24,isRequired:0,onClickEvent:null,passenger:{},propComment:"查阅人",propName:"readersName",propType:"String",textFormatter:"textarea",valueMaxLength:2147483647,valueMinLength:null,model:"dzggObj.readersName",option:[],dialog:1,dialogType:"staff",dialogMultiple:!0,dialogOrgLevel:"",autosize:!1,dialogSubOrgName:"",valueIdsField:"readersAccountId"},vo:e.dzggObj,"can-edit":e.canEdit,autosize:!1}})],1)]):e._e(),t("tr",[t("td",{ref:"tdlbl_转规章制度文件",staticClass:"el-table__cell tdlbl tdw17",attrs:{colspan:"1"}},[t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"publishFiles",expression:"'publishFiles'"}],staticClass:"field"},[e._v("发布文件")])]),t("td",{staticClass:"el-table__cell tdcont tdw83",attrs:{colspan:"5"}},[e.bodyfile?t("span",{staticStyle:{color:"#409eff"},on:{click:e.toview}},[e._v(e._s(e.bodyfile.fileName))]):t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"autoReadFile",expression:"'autoReadFile'"}]},[e._v("自动读取正文")])])]),t("tr",[t("td",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"attachs",expression:"'attachs'"}],ref:"tdlbl_附件",staticClass:"el-table__cell tdlbl tdw17"},[e._v("附件")]),t("td",{staticClass:"el-table__cell tdcont tdcont",attrs:{colspan:"5"}},[e.$parent&&e.$parent.attachments?t("div",[t("el-table",{ref:"multipleTable",staticClass:"eltable",attrs:{"show-header":!1,data:e.attachments},on:{"selection-change":e.headSelectRow}},[t("el-table-column",{staticStyle:{border:"none"},attrs:{type:"selection",width:"35px",align:"right","show-overflow-tooltip":!0}}),t("el-table-column",{staticStyle:{border:"none"},attrs:{prop:"fileName",label:e.$tx("gwgl.components.fileName","文件名"),width:"",align:"left","show-overflow-tooltip":!0}}),t("el-table-column",{staticStyle:{border:"none"},attrs:{prop:"fileSize",label:e.$tx("gwgl.components.fileSize","文件大小"),width:"100px",align:"right","show-overflow-tooltip":!0}})],1)],1):t("div",[t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"common.noData",expression:"'common.noData'"}]},[e._v("暂无数据")])])])])])])])])])],1),t("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"cancel",expression:"'cancel'"}],on:{click:e.toclose}},[e._v("取 消")]),t("el-button",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"sure",expression:"'sure'"}],attrs:{type:"primary"},on:{click:e.zggzdFn}},[e._v("确 定")])],1)])],1)},ze=[],Re={components:{},props:{vo:{type:Object,default:function(){return{}}},bodyfile:{type:Object,default:function(){return{}}}},data:function(){return{i18npkg:"gwgl",moduleCode:"components",attachments:[],dzggShow:!1,selectFileIds:"",dzggObj:{},nowTime:this.$moment(new Date).format("YYYY-MM-DD HH:mm")}},computed:{},watch:{},created:function(){this.$bus.on("btnTotzggClick",this.btnTotzggClick)},beforeDestroy:function(){this.$bus.off("btnTotzggClick",this.btnTotzggClick)},mounted:function(){},methods:{toclose:function(){this.dzggShow=!1,this.$parent.FromDialogShow=!1,this.$options.components["FromDialog"]="",console.log(this.$options.components)},zggzdFn:function(){var e=this,t=this;t.dzggObj.flSubject?t.dzggObj.type?(this.dzggObj.passenger.attachments&&this.dzggObj.passenger.attachments.length>0&&(this.dzggObj.passenger.attachments=this.dzggObj.passenger.attachments.filter((function(t){return e.dzggObj.passenger.selectFileIds.includes(t.id)}))),this.$http({method:"post",url:"/ecoa/dzgg/activateWfInstance",data:this.dzggObj}).then((function(t){"success"===t.code?(console.log("res",t),e.$message.success(t.message),e.dzggShow=!1):(e.$message.error(t.message),e.dzggShow=!1)}))):this.$alert(this.$tx("gwgl.components.selectType","请选择公告类型"),this.$tx("common.operationTip","操作提示"),{type:"warning"}):this.$alert(this.$tx("gwgl.components.fixTitle","请填写文件标题!"),this.$tx("common.operationTip","操作提示"),{type:"warning"})},onSelectStaffCompleted:function(e,t){var n="",r="";e.forEach((function(e){""!=n&&(n+="、"),""!=r&&(r+=","),n+=e.name,r+=e.personId})),this.$set(this.dzggObj,"readersName",n),this.$set(this.dzggObj,"readersAccountId",r),console.log("123",this.dzggObj.readersName),console.log("123",this.dzggObj.readersAccountId)},toview:function(){console.log(this,"thisssss"),window.open("/apigw/"+this.$parent.wfEngineUrl+"/downloadById?attachIds="+this.bodyfile.id+"&inline=true")},headSelectRow:function(e){var t="";e.forEach((function(e){e.id&&(""!==t&&(t+=","),t+=e.id)})),this.selectFileIds=t,this.dzggObj.passenger.selectFileIds=this.selectFileIds},btnTotzggClick:function(){var e=this;if(this.dzggObj={readersName:"",publishScope:0,endTime:"",startTime:"",isTop:0,type:"公告",passenger:{attachments:[]},flSubject:this.vo.flSubject},this.$parent.attachments){var t=this.$parent.attachments;t=t.filter((function(t){return"BODY"===t.fileType&&t.id===e.bodyfile.id||"BODY"!==t.fileType})),t=JSON.parse(JSON.stringify(t)),t.forEach((function(t){setTimeout((function(){e.$nextTick((function(){e.$refs.multipleTable.toggleRowSelection(t)}))})),t.fileName.indexOf(".doc")>-1&&"BODY"===t.fileType&&(t.fileName="文件正文.doc")})),this.dzggObj.passenger.attachments=t,this.attachments=this.dzggObj.passenger.attachments}this.dzggShow=!0}}},We=Re,Ge=(n(7658),m(We,Ie,ze,!1,null,"35a63f69",null)),Be=Ge.exports,Ue=function(){var e=this,t=e._self._c;return t("div",{staticClass:"internalCommsInfo",staticStyle:{"margin-top":"20px"}},[t("el-form",{staticStyle:{width:"100%"}},[t("div",{staticClass:"el-table el-table--fit el-table--border",staticStyle:{}},[t("div",{staticClass:"el-table__body-wrapper"},[t("table",{staticClass:"el-table__body",attrs:{cellspacing:"0",cellpadding:"0",border:"0"}},[t("tbody",[t("tr",[t("td",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"departStatus",expression:"'departStatus'"}],staticClass:"el-table__cell tdcont tdw83",attrs:{colspan:"6"}},[e._v("部门办理情况")])]),t("tr",[t("td",{staticClass:"el-table__cell tdcont tdw83 internalCommsInfo_table",staticStyle:{padding:"0 !important"},attrs:{colspan:"6"}},[t("el-table",{staticStyle:{width:"100%"},attrs:{data:e.tableData}},[t("el-table-column",{attrs:{label:e.$tx("fields.index","序号"),type:"index",width:"50",align:"center"}}),t("el-table-column",{attrs:{prop:"deptName",label:e.$tx("gwgl.components.fields.deptName","部门名称"),width:"130",align:"center","show-overflow-tooltip":!0}}),t("el-table-column",{attrs:{prop:"signingTime",label:e.$tx("gwgl.components.fields.signingTime","签收时间"),width:"135",align:"center","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(n){return[t("div",[e._v(e._s(e._f("timeFormat")(n.row.signingTime)))])]}}])}),t("el-table-column",{attrs:{prop:"internalCommsContent",label:e.$tx("gwgl.components.fields.internalCommsContent","回复内容"),align:"left","show-overflow-tooltip":!0}}),t("el-table-column",{attrs:{prop:"creator",label:e.$tx("gwgl.components.fields.creator","经办人"),width:"110",align:"center","show-overflow-tooltip":!0}}),t("el-table-column",{attrs:{prop:"createTime",label:e.$tx("gwgl.components.fields.createTime","回复时间"),width:"135",align:"center","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(n){return[t("div",[e._v(e._s(e._f("timeFormat")(n.row.signingTime)))])]}}])}),t("el-table-column",{attrs:{prop:"address",label:e.$tx("gwgl.components.fields.attachs","附件"),width:"200",align:"center"},scopedSlots:e._u([{key:"default",fn:function(n){return e._l(n.row.passenger.attachments,(function(n){return t("div",{key:n.id},[t("el-link",{on:{click:function(t){return e.fileClick(n)}}},[e._v(e._s(n.fileName))])],1)}))}}])})],1)],1)])])])])])])],1)},qe=[],Ve=n(5093),Je={filters:{timeFormat:function(e){return e?Ve(new Date(e)).format("YYYY-MM-DD HH:mm"):""}},props:{vo:{type:Object,default:function(){return{}}}},data:function(){return{i18npkg:"gwgl",moduleCode:"components",tableData:[]}},computed:{},watch:{},created:function(){this.getQueryData()},beforeDestroy:function(){},mounted:function(){},methods:{getQueryData:function(){var e=this;this.$http({method:"POST",contentType:"application/x-www-form-urlencoded",data:[{compare:"=",field:"applyId",merge:!0,value:this.vo.id}],url:"gwgl/internalCommsInfo/querydata"}).then((function(t){"success"==t.code?e.tableData=t.body.listdata:e.$alert(t.message,{type:"warning"})}))},fileClick:function(e){window.open("/apigw/gwgl/internalComms/downloadById?inline=true&attachIds=".concat(e.id,"&topdf=true&httpPort=").concat(location.port))}}},Ke=Je,Qe=(n(4795),m(Ke,Ue,qe,!1,null,"51438016",null)),Ze=Qe.exports,Xe=function(){var e=this,t=e._self._c;return t("div",["color"===e.column.field?t("span",{staticStyle:{padding:"2px 30px"},style:{background:e.row.color}}):e._e(),"dealDays"===e.column.field?t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"gwgl.common.numDay",expression:"'gwgl.common.numDay'"}],attrs:{num:e.row.dealDays}},[e._v(e._s(e.row.dealDays)+" 天")]):e._e()])},et=[],tt={props:{column:{type:Object,default:null},row:{type:Object,default:null},index:{type:Number,default:null}}},nt=tt,rt=m(nt,Xe,et,!1,null,"765c37f0",null),at=rt.exports,ot=function(){var e=this,t=e._self._c;return t("LRLayout",[t("LeftPanel",[t("div",{staticClass:"searchType-content block-table-heder"},[t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"byClassification",expression:"'byClassification'"}],staticClass:"title",class:"0"===e.searchType?"active":"",on:{click:function(t){e.searchType="0"}}},[e._v("按分类")]),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"byTime",expression:"'byTime'"}],staticClass:"title",class:"1"===e.searchType?"active":"",on:{click:function(t){e.searchType="1"}}},[e._v("按时间")]),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"byRecordType",expression:"'byRecordType'"}],staticClass:"title",class:"2"===e.searchType?"active":"",on:{click:function(t){e.searchType="2"}}},[e._v("按文种")])]),t("GiantTree",{attrs:{nodes:e.treeData},on:{onCreated:e.onTreeCreated,onClick:e.onTreeNodeClick,onExpand:e.treeBeforeExpand}})],1),t("RightPanel",[null!=e.treeNode?t("FileList",{attrs:{"edit-permission":e.editPermission,"tree-node":e.treeNode,"search-type":e.searchType,language:e.language,"map-list":e.mapList,"gdflsz-vos":e.gdflszVos}}):e._e()],1)],1)},it=[],st=function(){var e=this,t=e._self._c;return t("div",{staticStyle:{position:"relative"}},[e.tableShow?t("data-table",{attrs:{"module-info":e.moduleInfo,"tb-columns":e.tableList,"toolbar-btns":e.listpageBtns,"on-list-data-before-load":e.onListDataBeforeLoad,"on-list-data-loaded":e.onListDataLoaded,"on-cell-click":e.cellclick,"on-selected-rows-change":e.selectedRowsChange}},[t("div",{staticStyle:{"line-height":"32px",color:"#606266","font-size":"var(--portalFontSize14)"},attrs:{slot:"toolbarLeft-slotLeft"},slot:"toolbarLeft-slotLeft"},[t("span",[e._v(e._s(e.$tx("gwgl.gdgl.recursionFile",{dataType:e.num},"当前归档文件".concat(e.num,"件"))))])])]):e._e(),t("Basicform",{attrs:{title:e.title,"win-width":e.moduleInfo.winWidth,"win-height":e.moduleInfo.winHeight,"on-basic-form-before-open":e.onBasicFormBeforeOpen,"on-basic-form-opened":e.onBasicFormOpened,"on-basic-form-before-submit":e.onBasicFormBeforeSubmit,"wf-attach":!0,"batch-save-namefield":"attachmentName"},scopedSlots:e._u([{key:"default",fn:function(n){return[t("FileForm",{attrs:{vo:n.vo,"can-edit":n.canEdit,"module-info":e.moduleInfo}})]}}])}),t("FilingSystem")],1)},lt=[],dt=function(){var e=this,t=e._self._c;return t("el-form",{attrs:{model:e.vo}},[t("div",{class:e.wfEngineUrl?"el-table el-table--fit":"el-table el-table--fit el-table--border",staticStyle:{}},[t("div",{staticClass:"el-table__body-wrapper"},[t("table",{staticClass:"el-table__body el-table__body-no",attrs:{cellspacing:"0",cellpadding:"0",border:"0"}},[t("tbody",[t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"fileTitle",expression:"'fileTitle'"}],attrs:{moduleCode:"common"}},[e._v("文件标题")])]),t("td",{staticClass:"el-table__cell tdcont tdw83",attrs:{colspan:"3"}},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"文件标题",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[e.canEdit?t("el-input",{attrs:{placeholder:e.$tx("gwgl.common.fileTitlePlaceholder","请输入文件标题")},model:{value:e.vo.flSubject,callback:function(t){e.$set(e.vo,"flSubject",t)},expression:"vo.flSubject"}}):t("span",{domProps:{textContent:e._s(e.vo.flSubject)}})],1)]}}])})],1)]),t("tr",[t("td",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"flContent",expression:"'flContent'"}],staticClass:"el-table__cell tdlbl tdw17"},[e._v("摘要")]),t("td",{staticClass:"el-table__cell tdcont tdw83",attrs:{colspan:"3"}},[e.canEdit?t("el-input",{attrs:{type:"textarea","show-word-limit":"",placeholder:e.$tx("gwgl.gdgl.abstractPlaceholder","请输入摘要")},model:{value:e.vo.flContent,callback:function(t){e.$set(e.vo,"flContent",t)},expression:"vo.flContent"}}):t("span",{domProps:{textContent:e._s(e.vo.flContent)}})],1)]),t("tr",{directives:[{name:"show",rawName:"v-show",value:"会议通知"!==e.chooseFlGwType&&!e.wflowform,expression:"chooseFlGwType !== '会议通知' && !wflowform"}]},[t("td",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"fileName",expression:"'fileName'"}],staticClass:"el-table__cell tdlbl tdw17"},[e._v("文件正文")]),t("td",{staticClass:"el-table__cell tdcont tdw83",attrs:{colspan:"3"}},[t("form-item",{ref:"fileData",attrs:{field:{defaultValue:"fileName",elementCanEdit:"{{canEdit}}",elementCssHeight:null,elementCssWidth:null,elementFormatter:null,elementReadonly:null,elementType:"file",emptyMessage:e.$tx("gwgl.gdgl.fileZwEmptyMessage","请选择文件正文"),errorMessage:null,formTdAlign:"text-left",formTdColspan:0,isRequired:0,onClickEvent:null,passenger:{},propComment:"文件正文",propName:"fileData",propType:"byte[]",textFormatter:".doc, .docx, .pdf",valueMaxLength:50,valueMinLength:null,model:"vo.fileData",option:[],downloadUrl:"",nameField:"fileName",limitCount:null},vo:e.vo,"can-edit":e.canEdit}})],1)]),t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"gwType",expression:"'gwType'"}]},[e._v("公文种类")])]),t("td",{staticClass:"el-table__cell",class:"收文阅办"!==e.chooseFlGwType&&"文件传阅"!==e.chooseFlGwType?"tdcont tdw83":"tdcont tdw33",attrs:{colspan:"收文阅办"!==e.chooseFlGwType&&"文件传阅"!==e.chooseFlGwType?3:1}},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"公文种类",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[e.canEdit?t("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:e.$tx("gwgl.gdgl.gwTypePlaceholder","请输入公文种类")},on:{change:e.flGwTypeChange},model:{value:e.vo.flGwType,callback:function(t){e.$set(e.vo,"flGwType",t)},expression:"vo.flGwType"}},e._l(e.vo.passenger.flGwTypeOptions,(function(e,n){return t("el-option",{key:n,attrs:{label:e.name,value:e.name}})})),1):t("span",{domProps:{textContent:e._s(e.vo.flGwType)}})],1)]}}])})],1),"收文阅办"===e.chooseFlGwType||"文件传阅"===e.chooseFlGwType?[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"swCode",expression:"'swCode'"}]},[e._v("收文编号")])]),t("td",{staticClass:"el-table__cell tdcont tdw33"},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"收文编号",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[e.canEdit?t("el-input",{attrs:{placeholder:e.$tx("gwgl.gdgl.swCodePlaceholder","请输入收文编号")},model:{value:e.vo.flSwzh,callback:function(t){e.$set(e.vo,"flSwzh",t)},expression:"vo.flSwzh"}}):t("span",{domProps:{textContent:e._s(e.vo.flSwzh)}})],1)]}}],null,!1,3442028541)})],1)]:e._e(),"会议通知"===e.chooseFlGwType?t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"startTime",expression:"'startTime'"}]},[e._v("会议开始时间")])]):e._e(),"会议通知"===e.chooseFlGwType?t("td",{staticClass:"el-table__cell tdcont tdw33"},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"会议开始时间",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[e.canEdit?t("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"datetime",format:"yyyy-MM-dd HH:mm:ss","value-format":"yyyy-MM-dd HH:mm:ss",placeholder:e.$tx("gwgl.gdgl.meetingStartTimePlaceholder","请选择会议开始时间")},model:{value:e.vo.startTime,callback:function(t){e.$set(e.vo,"startTime",t)},expression:"vo.startTime"}}):t("span",{domProps:{textContent:e._s(e.timeTranslate(e.vo.startTime))}})],1)]}}],null,!1,2252135302)})],1):e._e()],2),t("tr",["单位发文"===e.chooseFlGwType||"请示报告"===e.chooseFlGwType?t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"flCreateDate",expression:"'flCreateDate'"}]},[e._v("拟稿日期")])]):e._e(),"单位发文"===e.chooseFlGwType||"请示报告"===e.chooseFlGwType?t("td",{staticClass:"el-table__cell tdcont tdw33"},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"拟稿日期",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[e.canEdit?t("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"date",format:"yyyy年MM月dd日","value-format":"yyyy-MM-dd",placeholder:e.$tx("gwgl.gdgl.draftDatePlaceholder","请选择成文日期")},model:{value:e.vo.flCreateDate,callback:function(t){e.$set(e.vo,"flCreateDate",t)},expression:"vo.flCreateDate"}}):t("span",{domProps:{textContent:e._s(e.dateTranslate(e.vo.flCreateDate))}})],1)]}}],null,!1,1852918566)})],1):e._e(),"会议通知"===e.chooseFlGwType?t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"callDate",expression:"'callDate'"}]},[e._v("召集日期")])]):e._e(),"会议通知"===e.chooseFlGwType?t("td",{staticClass:"el-table__cell tdcont tdw33"},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"召集日期",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[e.canEdit?t("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"date",format:"yyyy年MM月dd日","value-format":"yyyy-MM-dd",placeholder:e.$tx("gwgl.gdgl.callDatePlaceholder","请选择召集日期")},model:{value:e.vo.flCreateDate,callback:function(t){e.$set(e.vo,"flCreateDate",t)},expression:"vo.flCreateDate"}}):t("span",{domProps:{textContent:e._s(e.dateTranslate(e.vo.flCreateDate))}})],1)]}}],null,!1,3698933052)})],1):e._e(),"会议通知"===e.chooseFlGwType?t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"endTime",expression:"'endTime'"}]},[e._v("会议结束时间")])]):e._e(),"会议通知"===e.chooseFlGwType?t("td",{staticClass:"el-table__cell tdcont tdw33"},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"会议结束时间",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[e.canEdit?t("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"datetime",format:"yyyy-MM-dd HH:mm:ss","value-format":"yyyy-MM-dd HH:mm:ss",placeholder:e.$tx("gwgl.gdgl.meetingEndTimePlaceholder","会议结束时间")},model:{value:e.vo.endTime,callback:function(t){e.$set(e.vo,"endTime",t)},expression:"vo.endTime"}}):t("span",{domProps:{textContent:e._s(e.timeTranslate(e.vo.endTime))}})],1)]}}],null,!1,421202649)})],1):e._e(),"收文阅办"===e.chooseFlGwType||"部门收文"===e.chooseFlGwType||"文件传阅"===e.chooseFlGwType?t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"flLwrq",expression:"'flLwrq'"}]},[e._v("来文日期")])]):e._e(),"部门便函"===e.chooseFlGwType||"意见征集"===e.chooseFlGwType?t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"flCreateDate",expression:"'flCreateDate'"}]},[e._v("创建日期")])]):e._e(),"收文阅办"===e.chooseFlGwType||"部门收文"===e.chooseFlGwType||"文件传阅"===e.chooseFlGwType?t("td",{staticClass:"el-table__cell tdcont tdw33"},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"来文日期",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[e.canEdit?t("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"date",format:"yyyy年MM月dd日","value-format":"yyyy-MM-dd",placeholder:e.$tx("gwgl.gdgl.submissionDatePlaceholder","请选择来文日期")},model:{value:e.vo.flLwrq,callback:function(t){e.$set(e.vo,"flLwrq",t)},expression:"vo.flLwrq"}}):t("span",{domProps:{textContent:e._s(e.dateTranslate(e.vo.flLwrq))}})],1)]}}],null,!1,541277182)})],1):e._e(),"部门便函"===e.chooseFlGwType||"意见征集"===e.chooseFlGwType?t("td",{staticClass:"el-table__cell tdcont tdw33"},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"创建日期",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[e.canEdit?t("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"date",format:"yyyy年MM月dd日","value-format":"yyyy-MM-dd",placeholder:e.$tx("gwgl.gdgl.createTimePlaceholder","请选择创建日期")},model:{value:e.vo.flCreateDate,callback:function(t){e.$set(e.vo,"flCreateDate",t)},expression:"vo.flCreateDate"}}):t("span",{domProps:{textContent:e._s(e.dateTranslate(e.vo.flCreateDate))}})],1)]}}],null,!1,2650363856)})],1):e._e(),"单位发文"===e.chooseFlGwType?t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"flGrade",expression:"'flGrade'"}]},[e._v("文件字号")])]):e._e(),"单位发文"===e.chooseFlGwType?t("td",{staticClass:"el-table__cell tdcont tdw33"},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"文件字号",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[e.canEdit?t("el-input",{attrs:{placeholder:e.$tx("gwgl.gdgl.documentSizePlaceholder","请填写文件字号")},model:{value:e.vo.flGrade,callback:function(t){e.$set(e.vo,"flGrade",t)},expression:"vo.flGrade"}}):t("span",{domProps:{innerHTML:e._s(e.vo.flGrade)}})],1)]}}],null,!1,1569961036)})],1):e._e(),"收文阅办"===e.chooseFlGwType||"部门收文"===e.chooseFlGwType||"文件传阅"===e.chooseFlGwType?t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),"收文阅办"===e.chooseFlGwType||"部门收文"===e.chooseFlGwType?t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"documentType",expression:"'documentType'"}]},[e._v("来文字号")]):e._e(),"文件传阅"===e.chooseFlGwType?t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"documentCode",expression:"'documentCode'"}]},[e._v("来文编号")]):e._e()]):e._e(),"收文阅办"===e.chooseFlGwType||"部门收文"===e.chooseFlGwType||"文件传阅"===e.chooseFlGwType?t("td",{staticClass:"el-table__cell tdcont tdw33"},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"收文阅办"===e.chooseFlGwType||"部门收文"===e.chooseFlGwType?e.$tx("gwgl.gdgl.documentType"):e.$tx("gwgl.gdgl.documentCode"),rules:"required"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[e.canEdit?t("el-input",{attrs:{placeholder:e.$tx("gwgl.gdgl.flLwzhPlaceholder",{font:"收文阅办"===e.chooseFlGwType||"部门收文"===e.chooseFlGwType?"字":"编",size:"号"},"请填写来文字号")},model:{value:e.vo.flLwzh,callback:function(t){e.$set(e.vo,"flLwzh",t)},expression:"vo.flLwzh"}}):t("span",{domProps:{textContent:e._s(e.vo.flLwzh)}})],1)]}}],null,!1,831323577)})],1):e._e(),"意见征集"===e.chooseFlGwType?t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"replyTime",expression:"'replyTime'"}]},[e._v("回复时限")])]):e._e(),"意见征集"===e.chooseFlGwType?t("td",{staticClass:"el-table__cell tdcont tdw33"},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"回复时限",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[e.canEdit?t("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"date",format:"yyyy年MM月dd日","value-format":"yyyy-MM-dd",placeholder:e.$tx("gwgl.gdgl.responseTimePlaceholder","请选择回复时限")},model:{value:e.vo.replyTime,callback:function(t){e.$set(e.vo,"replyTime",t)},expression:"vo.replyTime"}}):t("span",{domProps:{textContent:e._s(e.dateTranslate(e.vo.replyTime))}})],1)]}}],null,!1,1901139929)})],1):e._e(),"部门便函"===e.chooseFlGwType||"请示报告"===e.chooseFlGwType?t("td",{attrs:{colspan:"2"}}):e._e()]),"收文阅办"===e.chooseFlGwType||"部门收文"===e.chooseFlGwType||"文件传阅"===e.chooseFlGwType?t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"flLwdw",expression:"'flLwdw'"}]},[e._v("来文单位")])]),t("td",{staticClass:"el-table__cell tdcont tdw83",attrs:{colspan:"3"}},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"来文单位",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[e.canEdit?t("el-input",{attrs:{placeholder:e.$tx("gwgl.gdgl.reportingUnitPlaceholder","请输入来文单位")},model:{value:e.vo.flLwdw,callback:function(t){e.$set(e.vo,"flLwdw",t)},expression:"vo.flLwdw"}}):t("span",{domProps:{textContent:e._s(e.vo.flLwdw)}})],1)]}}],null,!1,56236278)})],1)]):e._e(),t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"flSLevel",expression:"'flSLevel'"}]},[e._v("密级")])]),t("td",{staticClass:"el-table__cell tdcont tdw33"},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"密级",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[e.canEdit?t("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:e.$tx("gwgl.gdgl.classificationPlaceholder","请选择密级")},model:{value:e.vo.flSLevel,callback:function(t){e.$set(e.vo,"flSLevel",t)},expression:"vo.flSLevel"}},e._l(e.vo.passenger.flSLevelOptions,(function(e){return t("el-option",{key:e.value,attrs:{label:e.text,value:e.value}})})),1):t("span",{domProps:{textContent:e._s(e.vo.flSLevel)}})],1)]}}])})],1),t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"gdType",expression:"'gdType'"}]},[e._v("归档类型")])]),t("td",{staticClass:"el-table__cell tdcont tdw33"},[t("span",{domProps:{textContent:e._s(e.gdTypeObj[e.vo.gdType])}})])]),t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"creator",expression:"'creator'"}]},[e._v("归档人")])]),t("td",{staticClass:"el-table__cell tdcont tdw33"},[e._v(" "+e._s(e.vo.creator)+" ")]),t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"gdTime",expression:"'gdTime'"}]},[e._v("归档日期")])]),t("td",{staticClass:"el-table__cell tdcont tdw33"},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"归档日期",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[e.canEdit?t("el-date-picker",{staticStyle:{width:"100%"},attrs:{placeholder:e.$tx("gwgl.gdgl.filingDatePlaceholder","请选择归档日期"),type:"date",format:"yyyy年MM月dd日","value-format":"yyyy-MM-dd HH:mm:ss"},model:{value:e.vo.gdTime,callback:function(t){e.$set(e.vo,"gdTime",t)},expression:"vo.gdTime"}}):t("span",{domProps:{textContent:e._s(e.dateTranslate(e.vo.gdTime))}})],1)]}}])})],1)]),e.vo.isnew?t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"categoryName",expression:"'categoryName'"}]},[e._v("归档分类管理")])]),t("td",{staticClass:"el-table__cell tdcont tdw33"},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"分类",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[e.canEdit?t("el-input",{directives:[{name:"select-dialog",rawName:"v-select-dialog",value:"gdtype",expression:"'gdtype'"}],ref:"gdTypeTree",staticStyle:{width:"100%"},attrs:{readonly:"","init-tree-data":e.treeData,"dialog-title":e.$tx("gwgl.components.archiveClassificationSelect","选择归档分类"),multiple:!1,placeholder:e.$tx("gwgl.components.archiveClassificationPlaceholder"),name:""},model:{value:e.vo.categoryName,callback:function(t){e.$set(e.vo,"categoryName",t)},expression:"vo.categoryName"}}):t("span",{domProps:{textContent:e._s(e.vo.categoryName)}})],1)]}}],null,!1,2740719594)})],1),t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"flELevel",expression:"'flELevel'"}]},[e._v("紧急程度")])]),t("td",{staticClass:"el-table__cell tdcont tdw33"},[t("form-item",{ref:"flELevel",attrs:{field:{cssClass:null,cssStyle:null,defaultValue:"",elementCanEdit:"{{curTN.tnCanEdit}}",elementCssHeight:null,elementCssWidth:null,elementFormatter:":",elementReadonly:null,elementType:"select",emptyMessage:e.$tx("gwgl.gdgl.urgencyEmptyMessage","请选择紧急程度"),errorMessage:null,formTdAlign:"text-left",formTdColspan:0,isRequired:1,onBlurEvent:null,onChangeEvent:null,onClickEvent:null,onDblClickEvent:null,onFocusEvent:null,onKeyDownEvent:null,onKeyPressEvent:null,onKeyUpEvent:null,onMouseDownEvent:null,onMouseOverEvent:null,onMouseUpEvent:null,passenger:{},propComment:"紧急程度 ",propName:"flELevel",propType:"String",textFormatter:null,valueMaxLength:null,valueMinLength:null,model:"vo.flELevel",option:[{name:"",value:""}],optionGenerateType:0},vo:e.vo,"can-edit":e.canEdit}})],1)]):e._e(),"会议通知"===e.chooseFlGwType?t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"address",expression:"'address'"}]},[e._v("会议地点")])]),t("td",{staticClass:"el-table__cell tdcont tdw33",attrs:{colspan:"3"}},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"会议地点",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[e.canEdit?t("el-input",{attrs:{placeholder:e.$tx("gwgl.gdgl.meetingAddressPlaceholder","请输入会议地点")},model:{value:e.vo.address,callback:function(t){e.$set(e.vo,"address",t)},expression:"vo.address"}}):t("span",{domProps:{textContent:e._s(e.vo.address)}})],1)]}}],null,!1,2867847702)})],1)]):e._e(),t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"accessRightsType",expression:"'accessRightsType'"}],attrs:{moduleCode:"components"}},[e._v("文件查阅权限")])]),t("td",{staticClass:"el-table__cell tdcont tdw83",attrs:{colspan:"3"}},[t("el-radio-group",{attrs:{disabled:!e.canEdit},model:{value:e.vo.accessRightsType,callback:function(t){e.$set(e.vo,"accessRightsType",t)},expression:"vo.accessRightsType"}},[t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"allPersonnel",expression:"'allPersonnel'"}],attrs:{label:0,"module-code":"components"}},[e._v("全体人员可阅")]),e.vo.busiDataId&&"gwgl/gdwj"!==e.wfEngineUrl?t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"originalHandler",expression:"'originalHandler'"}],attrs:{label:1,"module-code":"components"}},[e._v("原经办人可阅")]):e._e(),e.vo.busiDataId&&"gwgl/gdwj"!==e.wfEngineUrl?t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"handlerDesignated",expression:"'handlerDesignated'"}],attrs:{label:2,"module-code":"components"}},[e._v("原经办人+指定人可阅")]):e._e(),e.vo.busiDataId&&"gwgl/gdwj"!==e.wfEngineUrl?e._e():t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"designatedReaders",expression:"'designatedReaders'"}],attrs:{label:2,"module-code":"components"}},[e._v("指定可阅人")])],1)],1)]),2===e.vo.accessRightsType?t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"appoints",expression:"'appoints'"}],attrs:{moduleCode:"components"}},[e._v("指定类型")])]),t("td",{staticClass:"el-table__cell tdcont tdw83",attrs:{colspan:"3"}},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"指定类型",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-radio-group",{attrs:{disabled:!e.canEdit},on:{change:e.changAppoints},model:{value:e.vo.appoints,callback:function(t){e.$set(e.vo,"appoints",t)},expression:"vo.appoints"}},[t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"specifyGroup",expression:"'specifyGroup'"}],attrs:{label:"1","module-code":"components"}},[e._v("指定群组")]),t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"specifyDepart",expression:"'specifyDepart'"}],attrs:{label:"2","module-code":"components"}},[e._v("指定部门")]),t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"specifyPerson",expression:"'specifyPerson'"}],attrs:{label:"3","module-code":"components"}},[e._v("指定人员")])],1)],1)]}}],null,!1,3388011351)})],1)]):e._e(),2===e.vo.accessRightsType&&""!==e.vo.appoints&&null!==e.vo.appoints?t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),"1"===e.vo.appoints?t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"selectGroup",expression:"'selectGroup'"}],attrs:{moduleCode:"components"}},[e._v("选择群组")]):e._e(),"2"===e.vo.appoints?t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"selectDepart",expression:"'selectDepart'"}],attrs:{moduleCode:"components"}},[e._v("选择部门")]):e._e(),"3"===e.vo.appoints?t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"selectPerson",expression:"'selectPerson'"}],attrs:{moduleCode:"components"}},[e._v("选择人员")]):e._e()]),t("td",{staticClass:"el-table__cell tdcont tdw83",attrs:{colspan:"3"}},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"群组",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-input",{directives:[{name:"show",rawName:"v-show",value:"1"===e.vo.appoints,expression:"vo.appoints === '1'"},{name:"can-edit",rawName:"v-can-edit"},{name:"select-dialog",rawName:"v-select-dialog",value:"workgroup",expression:"'workgroup'"}],attrs:{placeholder:e.$tx("gwgl.components.GroupPlaceholder","请选择群组"),readonly:"readonly",multiple:"true",type:"textarea","root-org-code":e.vo.orgCode,name:"deptIds2"},model:{value:e.vo.deptOrName,callback:function(t){e.$set(e.vo,"deptOrName",t)},expression:"vo.deptOrName"}})],1)]}}],null,!1,1512767669)}),t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"部门",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-input",{directives:[{name:"show",rawName:"v-show",value:"2"===e.vo.appoints,expression:"vo.appoints === '2'"},{name:"can-edit",rawName:"v-can-edit"},{name:"select-dialog",rawName:"v-select-dialog",value:"suborg",expression:"'suborg'"}],attrs:{placeholder:e.$tx("gwgl.components.DepartPlaceholder","请选择部门"),"org-level":"2",readonly:"readonly",multiple:"true",type:"textarea","root-org-code":e.vo.orgCode,name:"deptIds"},model:{value:e.vo.deptOrName,callback:function(t){e.$set(e.vo,"deptOrName",t)},expression:"vo.deptOrName"}})],1)]}}],null,!1,1198639595)}),t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"人员",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-input",{directives:[{name:"show",rawName:"v-show",value:"3"===e.vo.appoints,expression:"vo.appoints === '3'"},{name:"can-edit",rawName:"v-can-edit"},{name:"select-dialog",rawName:"v-select-dialog",value:"staff",expression:"'staff'"}],attrs:{placeholder:e.$tx("gwgl.components.PersonPlaceholder","请选择人员"),readonly:"readonly",multiple:"true",type:"textarea",name:"deptIds","root-org-code":e.vo.orgCode},model:{value:e.vo.deptOrName,callback:function(t){e.$set(e.vo,"deptOrName",t)},expression:"vo.deptOrName"}})],1)]}}],null,!1,3367502863)})],1)]):e._e()])])])])])},ct=[],ut=n(5093),pt={components:{},props:{moduleInfo:{type:Object,default:function(){return{}}},vo:{type:Object,default:function(){return{}}},canEdit:{type:Number,default:1}},data:function(){return{i18npkg:"gwgl",moduleCode:"gdgl",gwType:[{title:"单位发文",value:"单位发文"},{title:"收文阅办",value:"收文阅办"},{title:"部门收文",value:"部门收文"},{title:"文件传阅",value:"文件传阅"},{title:"部门便函",value:"部门便函"},{title:"意见征集",value:"意见征集"},{title:"会议通知",value:"会议通知"},{title:"请示报告",value:"请示报告"}],security:[{title:"一般",value:"1"},{title:"特殊",value:"2"}],gdType:[{title:this.$tx("gwgl.components.electronicFilling","电子归档"),value:1},{title:this.$tx("gwgl.components.paperArchiving","纸质归档"),value:2}],gdTypeObj:{1:this.$tx("gwgl.components.electronicFilling","电子归档"),2:this.$tx("gwgl.components.paperArchiving","纸质归档")},root:[],treeData:[],loginUser:null,chooseFlGwType:null,wflowform:!1,wfEngineUrl:""}},computed:{dateTranslate:function(){return function(e){return e?ut(e).format("YYYY年MM月DD日"):""}},timeTranslate:function(){return function(e){return e?ut(e).format("YYYY-MM-DD HH:mm"):""}}},watch:{"vo.flGwType":function(e){var t=this.vo.passenger.flGwTypeOptions.filter((function(t){return t.name===e}))[0];void 0!==t&&(this.chooseFlGwType=t.wfName)}},created:function(){var e=this,t=this.vo.passenger.flGwTypeOptions.filter((function(t){return t.name===e.vo.flGwType}))[0];void 0!==t&&(this.chooseFlGwType=t.wfName),this.loginUser=this.$store.getters.loginUser,-1!==location.href.indexOf("/wflow")&&(this.canEdit=0,this.wflowform=!0),this.wfEngineUrl=this.$route.query.wfEngineUrl,this.queryData()},mounted:function(){},beforeDestroy:function(){},methods:{onWflowFormOpened:function(){},onWflowFormBeforeSubmit:function(){},onWflowFormSubmited:function(){},queryData:function(){var e=this;this.$http({method:"POST",contentType:"application/x-www-form-urlencoded",params:{orderBy:"categoryLevel asc,orderno asc"},data:[{compare:"=",field:"orgCode",merge:!0,value:this.loginUser.orgCode}],url:"/gwgl/gdflsz/querydata"}).then((function(t){"success"===t.code?(e.treeData=e.treeData=e.treeDataAdapter(e.root.concat(t.body.listdata)),console.log(e.treeData,"gwgl")):e.$alert(t.message,e.$tx("common.operationTip","操作提示"),{type:"error"})}))},treeDataAdapter:function(e){return e.forEach((function(e){null===e.parentId||""===e.parentId||void 0===e.parentId?e.pId="1":e.pId=e.parentId,e.name=e.categoryName,e.title=e.categoryName})),e},onGdtypeCompleted:function(e,t){this.vo.categoryName=e[0].name,this.vo.categoryId=e[0].categoryFullId},onSelectSuborgCompleted:function(e,t){var n="",r="";e.forEach((function(e){""!==n&&(n+="、"),""!==n&&(r+="、"),n+=e.name,r+=e.id})),this.$set(this.vo,"deptIds",r),this.$set(this.vo,"deptOrName",n)},onSelectWorkgroupCompleted:function(e,t){var n="",r="";e.forEach((function(e){""!==n&&(n+="、"),""!==n&&(r+="、"),n+=e.name,r+=e.id})),this.$set(this.vo,"deptIds",r),this.$set(this.vo,"deptOrName",n)},onSelectStaffCompleted:function(e,t){var n="",r="";e.forEach((function(e){""!==n&&(r+="、"),""!==n&&(n+="、"),n+=e.name,r+=e.personId})),this.$set(this.vo,"deptOrName",n),this.$set(this.vo,"deptIds",r)},changAppoints:function(e){this.vo.deptIds="",this.vo.deptOrName="",e===this.activeId&&(this.vo.deptIds=this.activedeptIds,this.vo.deptOrName=this.activeText)},flGwTypeChange:function(){this.vo.number=""},clearAccessRightsType:function(){this.vo.accessRightsType=null,this.vo.appoints=null,this.vo.deptOrName="",this.vo.deptIds=""}}},mt=pt,ft=(n(543),m(mt,dt,ct,!1,null,"123cdbf8",null)),ht=ft.exports,gt=n(5373),yt=n.n(gt);function _t(e){return _t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_t(e)}function vt(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */vt=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function d(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(e){d=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var o=t&&t.prototype instanceof y?t:y,i=Object.create(o.prototype),s=new j(r||[]);return a(i,"_invoke",{value:D(e,n,s)}),i}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=c;var p="suspendedStart",m="suspendedYield",f="executing",h="completed",g={};function y(){}function _(){}function v(){}var b={};d(b,i,(function(){return this}));var w=Object.getPrototypeOf,M=w&&w(w(C([])));M&&M!==n&&r.call(M,i)&&(b=M);var L=v.prototype=y.prototype=Object.create(b);function T(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function n(a,o,i,s){var l=u(e[a],e,o);if("throw"!==l.type){var d=l.arg,c=d.value;return c&&"object"==_t(c)&&r.call(c,"__await")?t.resolve(c.__await).then((function(e){n("next",e,i,s)}),(function(e){n("throw",e,i,s)})):t.resolve(c).then((function(e){d.value=e,i(d)}),(function(e){return n("throw",e,i,s)}))}s(l.arg)}var o;a(this,"_invoke",{value:function(e,r){function a(){return new t((function(t,a){n(e,r,t,a)}))}return o=o?o.then(a,a):a()}})}function D(t,n,r){var a=p;return function(o,i){if(a===f)throw Error("Generator is already running");if(a===h){if("throw"===o)throw i;return{value:e,done:!0}}for(r.method=o,r.arg=i;;){var s=r.delegate;if(s){var l=k(s,r);if(l){if(l===g)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(a===p)throw a=h,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);a=f;var d=u(t,n,r);if("normal"===d.type){if(a=r.done?h:m,d.arg===g)continue;return{value:d.arg,done:r.done}}"throw"===d.type&&(a=h,r.method="throw",r.arg=d.arg)}}}function k(t,n){var r=n.method,a=t.iterator[r];if(a===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,k(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var o=u(a,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,g;var i=o.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,g):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function Y(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function C(t){if(t||""===t){var n=t[i];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,o=function n(){for(;++a<t.length;)if(r.call(t,a))return n.value=t[a],n.done=!1,n;return n.value=e,n.done=!0,n};return o.next=o}}throw new TypeError(_t(t)+" is not iterable")}return _.prototype=v,a(L,"constructor",{value:v,configurable:!0}),a(v,"constructor",{value:_,configurable:!0}),_.displayName=d(v,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===_||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,d(e,l,"GeneratorFunction")),e.prototype=Object.create(L),e},t.awrap=function(e){return{__await:e}},T(x.prototype),d(x.prototype,s,(function(){return this})),t.AsyncIterator=x,t.async=function(e,n,r,a,o){void 0===o&&(o=Promise);var i=new x(c(e,n,r,a),o);return t.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},T(L),d(L,l,"Generator"),d(L,i,(function(){return this})),d(L,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=C,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(Y),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function a(r,a){return s.type="throw",s.arg=t,n.next=r,a&&(n.method="next",n.arg=e),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],s=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var l=r.call(i,"catchLoc"),d=r.call(i,"finallyLoc");if(l&&d){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!d)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&r.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),Y(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;Y(n)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:C(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}function bt(e,t,n,r,a,o,i){try{var s=e[o](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)}function wt(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){bt(o,r,a,i,s,"next",e)}function s(e){bt(o,r,a,i,s,"throw",e)}i(void 0)}))}}var Mt=n(5093),Lt={components:{FileForm:ht,FilingSystem:h},props:{searchType:{type:String,default:function(){return"0"}},treeNode:{type:Object,default:function(){return{}}},editPermission:{type:Boolean,default:function(){return!1}},language:{type:Array,default:function(){return[]}},gdflszVos:{type:Array,default:function(){return[]}},mapList:{type:Array,default:function(){return[]}}},data:function(){return{i18npkg:"gwgl",moduleCode:"gdgl",title:"归档文件",loginUser:this.$store.getters.loginUser,tableShow:!1,moduleInfo:{getByIdUrl:"gwgl/gdwj/getById",listDataUrl:"gwgl/gdwj/archiveQuery",moduleCode:"gwgl",addNewUrl:"gwgl/gdwj/addNew",insertUrl:"gwgl/gdwj/insert",updateUrl:"gwgl/gdwj/update",uploadUrl:"gwgl/gdwj/upload",winWidth:1e3,winHeight:650},tableList:[{field:"state",checkbox:!0,width:"45px"},{field:"index",title:"序号",width:"45px",align:"center",valign:"middle"},{propFormatter:"component:@/wapp/gwgl/components/GwglTbColumns",listAdvSearchElement:"",field:"flELevel",width:"100px",elementFormatter:this.$tx("gwgl.gdgl.flELevelFormatter","平件:平件\n急件:急件\n特急:特急"),sortable:!1,propType:"String",align:"center",title:"紧急程度 ",searchable:!1},{field:"flSubject",title:"文件标题",align:"left",valign:"middle",cellStyle:{css:{cursor:"pointer"}},searchable:!0,sortable:!1,listAdvSearchElement:"input",listAdvSearchIndex:0},{field:"flGwType",title:"公文种类",width:"100px",align:"center",valign:"middle",cellStyle:{css:{cursor:"pointer"}},sortable:!0,searchable:!0,listAdvSearchElement:"select",listAdvSearchIndex:3,elementFormatter:"单位发文:单位发文\r\n收文阅办:收文阅办\r\n文件传阅:文件传阅\r\n请示报告:请示报告\r\n部门便函:部门便函\r\n单位函:单位函\r\n办公室文件:办公室文件\r\n"},{field:"gdType",title:"归档类型",width:"100px",align:"center",valign:"middle",cellStyle:{css:{cursor:"pointer"}},sortable:!0,searchable:!0,listAdvSearchElement:"select",listAdvSearchIndex:3,elementFormatter:"1:电子归档\r\n2:纸质归档\r\n1,2:全部类型\r\n"},{field:"flSLevel",title:"密级",width:"100px",align:"center",valign:"middle",cellStyle:{css:{cursor:"pointer"}},searchable:!1,sortable:!0,listAdvSearchElement:"input",listAdvSearchIndex:2,elementFormatter:"1:一般\r\n2:特殊\r\n"},{field:"creator",title:"归档人",width:"80px",align:"center",valign:"middle",cellStyle:{css:{cursor:"pointer"}},searchable:!0,sortable:!1,listAdvSearchElement:"input",listAdvSearchIndex:3},{field:"gdTime",title:"归档日期",width:"160px",align:"center",valign:"middle",cellStyle:{css:{cursor:"pointer"}},searchable:!0,sortable:!0,listAdvSearchElement:"date",elementFormatter:"format:yyyy年MM月dd日\r\n",listAdvSearchIndex:4},{field:"fl",title:"文件分类",width:"100",align:"center",valign:"middle",enabled:!1,cellStyle:{css:{cursor:"pointer"}},searchable:!1,sortable:!1,listAdvSearchElement:"select",listAdvSearchIndex:2,elementFormatter:""}],listpageBtns:[],listpageBtnsb:[{btnName:this.$tx("gwgl.gdgl.borrowingApplication","借阅申请"),btnIcon:"plus",btnClick:this.jieyuesq,btnPermission:"",id:"btn_add",btnType:"toolbar"},{btnName:this.$tx("pageBtns.export","导出"),btnIcon:"export.svg",btnClick:this.doloadFile,btnPermission:"",id:"btn_download",btnType:"toolbar"}],listpageBtnsa:[{btnName:"新增",btnIcon:"plus",btnClick:this.addObject,btnPermission:"",id:"btn_add",btnType:"toolbar",btnI18nCode:"add"},{id:"btn_seetingId",btnName:this.$tx("pageBtns.setting","设置"),btnIcon:"s-tools",btnClick:this.setting,btnPermission:"setting",btnType:"toolbar"},{btnName:this.$tx("pageBtns.export","导出"),btnIcon:"export.svg",btnClick:this.doloadFile,btnPermission:"",id:"btn_export",btnType:"toolbar",btnI18nCode:"export"},{btnName:"批量下载",btnIcon:"export.svg",btnClick:this.batchSaveFiles,btnPermission:"batchSaveAllFiles",id:"btn_export",btnType:"toolbar",btnI18nCode:"batchSaveAllFiles"},{id:"btn_deleteId",btnName:this.$tx("pageBtns.setting","设置"),btnIcon:"",btnClick:this.setting,btnPermission:"setting",btnType:"column"}],downloadFileTitle:[{title:"序号",width:45,align:"center",colspan:1,rowspan:1,code:"index"},{title:"紧急程度",width:100,align:"center",colspan:1,rowspan:1,code:"flELevel"},{title:"文件标题",width:300,align:"left",colspan:1,rowspan:1,code:"flSubject"},{title:"文件类型",width:100,align:"center",colspan:1,rowspan:1,code:"flGwType"},{title:"归档类型",width:100,align:"center",colspan:1,rowspan:1,code:"gdType"},{title:"密级",width:100,align:"center",colspan:1,rowspan:1,code:"flSLevel"},{title:"归档人",width:80,align:"center",colspan:1,rowspan:1,code:"creator"},{title:"归档日期",width:150,align:"center",colspan:1,rowspan:1,code:"gdTime"}],canEdit:1,rowsSelected:[],num:"",allDate:[],cellNot:!0}},computed:{},watch:{treeNode:function(){this.setListDataUrl()}},created:function(){this.$bus.on("fileSetting",this.setting),this.$bus.on("editorForm",this.editorForm),this.listpageBtns=this.editPermission?this.listpageBtnsa:this.listpageBtnsb,this.editPermission&&this.tableList.push({field:"operate",title:"操作",width:"100px",align:"center",valign:"middle",propFormatter:"component:@/wapp/gwgl/components/GwglTbColumns"}),this.setListDataUrl()},beforeDestroy:function(){this.$bus.off("fileSetting",this.setting),this.$bus.off("editorForm",this.editorForm)},mounted:function(){console.log("listpageBtns",this.listpageBtns);var e=":全部文种\r\n";this.language.forEach((function(t){e+=t.name+":"+t.name+"\r\n"})),this.tableList[3].elementFormatter=e},methods:{jieyuesq:function(){if(this.rowsSelected.length>0){var e=JSON.stringify(this.rowsSelected);localStorage.setItem("gwjyInnerList",e);var t=window.open("#/wflow?wfEngineUrl=gwgl/jysq&busiCode=gwJysq&wfName=借阅申请&startNodeName=&gwjy=1"),n=setInterval((function(){t.closed&&(console.log("新窗口已被关闭"),clearInterval(n),localStorage.removeItem("gwjyInnerList"))}),1e3)}else this.$message.warning(this.$tx("gwgl.messages.selectData","请先选择数据!"))},onListDataBeforeLoad:function(e,t){t.searchAndOr||(t.searchAndOr="or",t.searchMap["flSubject"]="",t.searchMap["flGwType"]="",t.searchMap["gdType"]="",t.searchMap["creator"]="",t.searchMap["gdTime"]=""),t.orderBy="gdTime desc"},onListDataLoaded:function(e,t){var n=this;console.log(284,t),this.allDate=t.list,this.$http({url:"/gwgl/gdwj/numberOfArchives",method:"GET",contentType:"application/x-www-form-urlencoded"}).then((function(e){"success"===e.code&&(n.num=e.body.num)}))},selectedRowsChange:function(e){this.rowsSelected=e},addObject:function(){var e=this;this.$nextTick((function(){e.$bus.emit("openBusiform",e.moduleInfo,null,1)}))},setting:function(e){var t=this,n=[];n=e?[e]:this.rowsSelected,this.cellNot=!1,this.$bus.emit("openDialog",{rowsSelected:n,url:"",edit:!0}),setTimeout((function(){t.cellNot=!0}),1e3)},editorForm:function(e){var t=this;this.cellNot=!1,this.$nextTick((function(){t.$bus.emit("openBusiform",t.moduleInfo,e,1)})),setTimeout((function(){t.cellNot=!0}),1e3)},cellclick:function(e,t,n,r){if(this.editPermission&&this.cellNot){if(void 0===e.wfEngineUrl){var a=this.moduleInfo.listDataUrl.split("/");a=encodeURI(a[0]+"/"+a[1]),e.wfEngineUrl="/wflow?wfEngineUrl="+a+"&busiDataId="+e.id}window.open("./#"+e.wfEngineUrl+"&gdId="+e.id)}},setListDataUrl:function(){var e=this;return wt(vt().mark((function t(){var n;return vt().wrap((function(t){while(1)switch(t.prev=t.next){case 0:n="","0"===e.searchType?n="0"===e.treeNode.id?"gwgl/gdwj/archiveQuery":"1"===e.treeNode.id?"gwgl/gdwj/archiveQuery?categoryId=-1":"gwgl/gdwj/archiveQuery?categoryId="+e.treeNode.id:"1"===e.searchType?n="0"===e.treeNode.id?"gwgl/gdwj/archiveQuery":"gwgl/gdwj/archiveQuery?keyDate="+e.treeNode.name:"2"===e.searchType&&(n="0"===e.treeNode.id?"gwgl/gdwj/archiveQuery":"gwgl/gdwj/archiveQuery?flGwType="+e.treeNode.name),e.tableShow=!1,e.$nextTick((function(){e.tableShow=!0})),e.$set(e.moduleInfo,"listDataUrl",n);case 5:case"end":return t.stop()}}),t)})))()},doloadFile:function(){var e=this;return wt(vt().mark((function t(){var n,r;return vt().wrap((function(t){while(1)switch(t.prev=t.next){case 0:n=e.rowsSelected,console.log(355,e.rowsSelected),console.log(358,e.allDate),0===n.length&&(n=e.allDate),r=[],n.forEach((function(t,n){var a=[];e.downloadFileTitle.forEach((function(r){var o={value:"",align:"",colspan:1,rowspan:1};"index"===r.code?o.value=n+1:"gdType"===r.code?o.value=1===t[r.code]?e.$tx("gwgl.components.electronicFilling","电子归档"):e.$tx("gwgl.components.paperArchiving","纸质归档"):"gdTime"===r.code?o.value=Mt(t[r.code]).format("YYYY年MM月DD日"):o.value=t[r.code],o.align=r.align,a.push(o)})),r.push(a)})),e.$http({method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"},data:yt().stringify({rows:JSON.stringify(r),titles:JSON.stringify([e.downloadFileTitle]),fileName:e.treeNode.name+"-归档文件"}),url:"common/exportXlsFile"}).then((function(t){"success"===t.code?window.open("/apigw/"+t.body.xlsurl,"_blank"):e.$message.error(t.message)}));case 7:case"end":return t.stop()}}),t)})))()},batchSaveFiles:function(){var e=this;return wt(vt().mark((function t(){return vt().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(0!==e.rowsSelected.length){t.next=3;break}return e.$alert("请选择要下载的文件","操作提示",{confirmButtonText:"确定",type:"warning"}),t.abrupt("return");case 3:e.$http({method:"POST",url:"/gwgl/webForm/gwgdBatchDownload",data:e.rowsSelected}).then((function(t){"success"===t.code?window.open("/apigw/"+t.body.zipurl):e.$message.error(t.message)}));case 4:case"end":return t.stop()}}),t)})))()},onBasicFormBeforeOpen:function(e,t,n){t.isnew&&(t.accessRightsType=0,t.creator=this.loginUser.personName,t.flGwType=t.passenger.flGwTypeOptions[0].name),n.resolve(!0)},onBasicFormOpened:function(e,t){e.isnew&&(t.gdType=2)},onBasicFormBeforeSubmit:function(e,t,n){"归档分类"===t.categoryName&&(t.categoryId="",t.categoryName=""),this.$set(t,"wfEngineUrl","/wflow?wfEngineUrl=gwgl/gdwj&busiDataId="+t.id),n.resolve(!0)}}},Tt=Lt,xt=m(Tt,st,lt,!1,null,"78d17c06",null),Dt=xt.exports,kt={components:{FileList:Dt},props:{},data:function(){return{i18npkg:"gwgl",moduleCode:"gdgl",treeData:[],treeNode:null,searchType:"0",loginUser:this.$store.getters.loginUser,root:{file:[{id:"0",parentId:"0",name:"所有文件",categoryName:"所有文件",open:!0,title:"所有文件"}],time:[{id:"0",name:"所有文件",year:"所有文件",open:!0,title:"所有文件"}],type:[{id:"0",name:"所有文件",categoryName:"所有文件",open:!0,title:"所有文件"}]},zTree:null,editPermission:!1,language:[]}},computed:{},watch:{searchType:function(e){this.getTreeList()}},created:function(){var e=this.$store.state.user.roles||[];e.some((function(e){return["dwAdministrators","dwLeaders"].includes(e)}))&&(this.editPermission=!0),this.$route.meta.params&&this.$route.meta.params.indexOf("searchType1")>-1?this.searchType="1":this.$route.meta.params&&this.$route.meta.params.indexOf("searchType2")>-1&&(this.searchType="2"),this.getTreeList()},beforeDestroy:function(){},mounted:function(){},methods:{onTreeCreated:function(e){var t=this;this.zTree=e;var n=this.zTree,r=n.getNodes();r.length>0&&this.$nextTick((function(){t.onTreeNodeClick("",r[0].id,r[0]),n.selectNode(r[0])}))},onTreeNodeClick:function(e,t,n){console.log(n,"treeNode"),this.treeNode=n},getTreeList:function(){var e=this;this.$http({method:"POST",contentType:"application/x-www-form-urlencoded",params:{},data:[],url:"/gwgl/gdwj/classificationQueryCollection"}).then((function(t){"success"===t.code?(e.language=t.body.language,e.gdflszVos=t.body.gdflszVos,e.mapList=t.body.mapList,"0"===e.searchType?e.treeData=e.treeDataAdapter(e.root.file.concat(t.body.gdflszVos)):"1"===e.searchType?e.treeData=e.treeDataAdapter(e.root.time.concat(t.body.mapList)):"2"===e.searchType&&(t.body.language.forEach((function(e){e.id="",e.parentId=""})),e.treeData=e.treeDataAdapter(e.root.type.concat(t.body.language)))):e.$alert(t.message,e.$tx("common.operationTip","操作提示"),{type:"error"})}))},treeDataAdapter:function(e){var t=this;return e.forEach((function(e){null===e.parentId||""===e.parentId||void 0===e.parentId?e.pId="0":e.pId=e.parentId,"0"===t.searchType?(e.name=e.categoryName,e.title=e.categoryName):"1"===t.searchType?(e.title=e.year,e.name=e.year):"2"===t.searchType&&(e.title=e.name)})),e}}},St=kt,Yt=(n(4868),m(St,ot,it,!1,null,"70c91108",null)),jt=Yt.exports,Ct=function(){var e=this,t=e._self._c;return t("div",[e.dialogFormVisible&&"dept"===e.sendType?t("SendDeptFile",{attrs:{"corp-leaders":e.corpLeaders,"inner-depts":e.innerDepts,"wf-instance":e.wfInstance,"busi-data":e.busiData,"fw-bodyfile":e.fwBodyfile,"fw-attachs":e.fwAttachs}}):e._e(),e.dialogFormVisible&&"corp"===e.sendType?t("SendCorpFile",{attrs:{"tree-nodes":e.treeNodes,"corp-orgs":e.corpOrgs,"wf-instance":e.wfInstance,"busi-data":e.busiData,"fw-bodyfile":e.fwBodyfile,"fw-attachs":e.fwAttachs}}):e._e(),e.dialogFormVisible&&"all"===e.sendType?t("SendGroupFile",{attrs:{"corp-leaders":e.corpLeaders,"inner-depts":e.innerDepts,"commom-tree":e.commomTree,"corp-orgs":e.corpOrgs,"wf-instance":e.wfInstance,"busi-data":e.busiData,"fw-bodyfile":e.fwBodyfile,"fw-attachs":e.fwAttachs}}):e._e(),t("SendlogList",{attrs:{"wf-instance":e.wfInstance}}),t("ReceiptFile")],1)},Ot=[],Nt=function(){var e=this,t=e._self._c;return e.dialogFormVisible?t("el-dialog",{directives:[{name:"el-drag-dialog",rawName:"v-el-drag-dialog"}],attrs:{"close-on-click-modal":!1,visible:e.dialogFormVisible,"destroy-on-close":!0,width:"1200px",title:e.winTitle},on:{"update:visible":function(t){e.dialogFormVisible=t},close:e.handleDialogClose}},[e.loading?t("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"el-dialog__body"}):e._e(),t("el-form",[t("div",{staticClass:"el-table el-table--fit el-table--border",staticStyle:{}},[t("div",{staticClass:"el-table__body-wrapper"},[t("table",{staticClass:"el-table__body",attrs:{cellspacing:"0",cellpadding:"0",border:"0"}},[t("thead",[t("th",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"leaders",expression:"'leaders'"}],staticStyle:{"text-align":"center"}},[e._v("领导阅文")]),t("th",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"receiptDocuments",expression:"'receiptDocuments'"}],staticStyle:{"text-align":"center"},attrs:{moduleCode:"portlet"}},[e._v("部门收文")])]),t("tbody",[t("tr",[t("td",[t("el-row",[t("el-col",{staticClass:"ztree-container listitem",attrs:{span:"11"}},[t("div",{staticClass:"treeNode",staticStyle:{"overflow-y":"inherit"}},[t("GiantTree",{attrs:{"ztree-id":"corpLeadersTree",nodes:e.corpLeaders,multiple:e.multiple,"show-icon":!1,"show-line":!1},on:{onCreated:e.onTreeCreated,onClick:e.onTreeNodeClick,onCheck:e.onTreeNodeCheck}})],1)]),t("el-col",{staticClass:"selectBtn-container",attrs:{span:"2"}},[t("div",[t("el-button",{staticClass:"el-icon-d-arrow-right",attrs:{size:"mini",circle:"",plain:""},on:{click:function(t){return e.handleSelectAll("corpLeadersTree",!0)}}})],1),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"selectAll",expression:"'selectAll'"}]},[e._v("全选")]),t("br"),t("br"),t("div",[t("el-button",{staticClass:"el-icon-d-arrow-left",attrs:{size:"mini",circle:"",plain:""},on:{click:function(t){return e.handleSelectAll("corpLeadersTree",!1)}}})],1),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"del",expression:"'del'"}]},[e._v("删除")])]),t("el-col",{staticClass:"ztree-container",attrs:{span:"11"}},[t("div",{staticClass:"treeNode selectnode"},e._l(e.sendToList.corpLeadersTree,(function(n,r){return t("span",{key:r,on:{click:function(t){return e.removeSelectedNode(r,"corpLeadersTree")}}},[e._v(" "+e._s(n.title)+" "),t("i",{staticClass:"el-icon-close"}),t("br")])})),0)])],1)],1),t("td",[t("el-row",[t("el-col",{staticClass:"ztree-container listitem",attrs:{span:"11"}},[t("div",{staticClass:"treeNode",staticStyle:{"overflow-y":"inherit"}},[t("GiantTree",{attrs:{"ztree-id":"innerDeptsTree",nodes:e.innerDepts,multiple:e.multiple,"show-icon":!1,"show-line":!1},on:{onCreated:e.onTreeCreated,onClick:e.onTreeNodeClick,onCheck:e.onTreeNodeCheck}})],1)]),t("el-col",{staticClass:"selectBtn-container",attrs:{span:"2"}},[t("div",[t("el-button",{staticClass:"el-icon-d-arrow-right",attrs:{size:"mini",circle:"",plain:""},on:{click:function(t){return e.handleSelectAll("innerDeptsTree",!0)}}})],1),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"selectAll",expression:"'selectAll'"}]},[e._v("全选")]),t("br"),t("br"),t("div",[t("el-button",{staticClass:"el-icon-d-arrow-left",attrs:{size:"mini",circle:"",plain:""},on:{click:function(t){return e.handleSelectAll("innerDeptsTree",!1)}}})],1),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"del",expression:"'del'"}]},[e._v("删除")])]),t("el-col",{staticClass:"ztree-container",attrs:{span:"11"}},[t("div",{staticClass:"treeNode selectnode"},e._l(e.sendToList.innerDeptsTree,(function(n,r){return t("span",{key:r,on:{click:function(t){return e.removeSelectedNode(r,"innerDeptsTree")}}},[e._v(" "+e._s(n.title)+" "),t("i",{staticClass:"el-icon-close"}),t("br")])})),0)])],1)],1)]),t("tr",[t("td",{staticClass:"fwAttach-container",attrs:{colspan:"2"}},[t("div",[t("el-checkbox",{attrs:{disabled:"true"},model:{value:e.fwBodyfile.needSend,callback:function(t){e.$set(e.fwBodyfile,"needSend",t)},expression:"fwBodyfile.needSend"}},[e._v(e._s(e.fwBodyfile.fileName))])],1),e._l(e.attachments,(function(n){return t("div",{key:n.id},[t("el-checkbox",{attrs:{"true-label":!0,"false-label":!1},model:{value:n.needSend,callback:function(t){e.$set(n,"needSend",t)},expression:"attach.needSend"}},[e._v(e._s(n.fileName))])],1)}))],2)])])])])])]),e.loading?e._e():t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"cancel",expression:"'cancel'"}],attrs:{plain:"",icon:"el-icon-close",type:"default",disabled:e.sendDoing},on:{click:e.handleDialogClose}},[e._v("取消")]),t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"sure",expression:"'sure'"}],attrs:{icon:"el-icon-check",type:"primary",loading:e.sendDoing},on:{click:e.handleSubmitForm}},[e._v("确定")])],1)],1):e._e()},Pt=[];function Et(e){return Et="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Et(e)}function Ht(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Ht=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function d(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(e){d=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var o=t&&t.prototype instanceof y?t:y,i=Object.create(o.prototype),s=new j(r||[]);return a(i,"_invoke",{value:D(e,n,s)}),i}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=c;var p="suspendedStart",m="suspendedYield",f="executing",h="completed",g={};function y(){}function _(){}function v(){}var b={};d(b,i,(function(){return this}));var w=Object.getPrototypeOf,M=w&&w(w(C([])));M&&M!==n&&r.call(M,i)&&(b=M);var L=v.prototype=y.prototype=Object.create(b);function T(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function n(a,o,i,s){var l=u(e[a],e,o);if("throw"!==l.type){var d=l.arg,c=d.value;return c&&"object"==Et(c)&&r.call(c,"__await")?t.resolve(c.__await).then((function(e){n("next",e,i,s)}),(function(e){n("throw",e,i,s)})):t.resolve(c).then((function(e){d.value=e,i(d)}),(function(e){return n("throw",e,i,s)}))}s(l.arg)}var o;a(this,"_invoke",{value:function(e,r){function a(){return new t((function(t,a){n(e,r,t,a)}))}return o=o?o.then(a,a):a()}})}function D(t,n,r){var a=p;return function(o,i){if(a===f)throw Error("Generator is already running");if(a===h){if("throw"===o)throw i;return{value:e,done:!0}}for(r.method=o,r.arg=i;;){var s=r.delegate;if(s){var l=k(s,r);if(l){if(l===g)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(a===p)throw a=h,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);a=f;var d=u(t,n,r);if("normal"===d.type){if(a=r.done?h:m,d.arg===g)continue;return{value:d.arg,done:r.done}}"throw"===d.type&&(a=h,r.method="throw",r.arg=d.arg)}}}function k(t,n){var r=n.method,a=t.iterator[r];if(a===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,k(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var o=u(a,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,g;var i=o.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,g):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function Y(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function C(t){if(t||""===t){var n=t[i];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,o=function n(){for(;++a<t.length;)if(r.call(t,a))return n.value=t[a],n.done=!1,n;return n.value=e,n.done=!0,n};return o.next=o}}throw new TypeError(Et(t)+" is not iterable")}return _.prototype=v,a(L,"constructor",{value:v,configurable:!0}),a(v,"constructor",{value:_,configurable:!0}),_.displayName=d(v,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===_||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,d(e,l,"GeneratorFunction")),e.prototype=Object.create(L),e},t.awrap=function(e){return{__await:e}},T(x.prototype),d(x.prototype,s,(function(){return this})),t.AsyncIterator=x,t.async=function(e,n,r,a,o){void 0===o&&(o=Promise);var i=new x(c(e,n,r,a),o);return t.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},T(L),d(L,l,"Generator"),d(L,i,(function(){return this})),d(L,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=C,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(Y),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function a(r,a){return s.type="throw",s.arg=t,n.next=r,a&&(n.method="next",n.arg=e),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],s=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var l=r.call(i,"catchLoc"),d=r.call(i,"finallyLoc");if(l&&d){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!d)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&r.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),Y(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;Y(n)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:C(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}function Ft(e,t,n,r,a,o,i){try{var s=e[o](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)}function At(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){Ft(o,r,a,i,s,"next",e)}function s(e){Ft(o,r,a,i,s,"throw",e)}i(void 0)}))}}function $t(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function It(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$t(Object(n),!0).forEach((function(t){zt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$t(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function zt(e,t,n){return(t=Rt(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Rt(e){var t=Wt(e,"string");return"symbol"==Et(t)?t:t+""}function Wt(e,t){if("object"!=Et(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Et(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var Gt={name:"SendDeptFile",components:{},props:{corpLeaders:{type:Array,default:function(){return{}}},innerDepts:{type:Array,default:function(){return{}}},wfInstance:{type:Object,default:function(){return{}}},busiData:{type:Object,default:function(){return{}}},fwBodyfile:{type:Object,default:function(){return{}}},fwAttachs:{type:Array,default:function(){return[]}}},data:function(){return{i18npkg:"gwgl",moduleCode:"gwjh",dialogFormVisible:!0,loading:!1,winTitle:this.$tx("gwgl.gwjh.winTitle","发送本单位"),corpLeadersTree:{},innerDeptsTree:{},attachments:[],multiple:!0,sendToList:{corpLeadersTree:[],innerDeptsTree:[]},sendDoing:!1}},computed:It({},re(["loginUser"])),watch:{fwBodyfile:function(){void 0!==this.fwBodyfile.id&&(this.loading=!1)},fwAttachs:function(){this.attachments=JSON.parse(JSON.stringify(this.fwAttachs))},corpLeaders:function(){this.treeDataAdapter("corpLeadersTree",this.corpLeaders)},innerDepts:function(){this.treeDataAdapter("innerDeptsTree",this.innerDepts)}},created:function(){},beforeDestroy:function(){},mounted:function(){this.loading=!0},methods:{onTreeCreated:function(e,t){this[t]=e},treeDataAdapter:function(e,t){this.sendToList[e]=[];for(var n=0;n<t.length;n++){var r=t[n];if("innerDeptsTree"===e){var a="2,3".split(",");r.pId=r.parentId,r.title=r.orgFullName,-1!==r.title.indexOf("-")&&(r.title=r.title.substring(r.title.indexOf("-")+1)),null!==this.busiData.flMainSend&&-1!==this.busiData.flMainSend.indexOf(r.name)&&(r.checked=!0,this.sendToList[e].push(r)),null!==this.busiData.flCopySend&&-1!==this.busiData.flCopySend.indexOf(r.name)&&(r.checked=!0,this.sendToList[e].push(r)),r.orgLevel>a[a.length-1]||1!==r.isRealOrg?t.splice(n--,1):-1!==a.join(",").indexOf(r.orgLevel)&&(r.canSelect=!0)}else"corpLeadersTree"===e&&(r.personId?(r.pId=r.orgId,r.title=r.name+"/"+r.account,r.canSelect=!0):(r.pId=r.parentID,r.name=r.nName,r.title=r.fullName,-1!==r.title.indexOf("-")&&(r.title=r.title.substring(r.title.indexOf("-")+1)),0===n&&(r.open=!0),r.canSelect=!1))}return t},onTreeNodeClick:function(e,t,n){!0===n.canSelect?!0!==this.multiple?this.sendToList[t]=[n]:this[t].checkNode(n,null,null,!0):n.children&&n.children.length>0&&this[t].expandNode(n)},handleSelectAll:function(e,t){if(this[e].checkAllNodes(t),t){this.sendToList[e]=this[e].getCheckedNodes();for(var n=0;n<this.sendToList[e].length;n++)this.sendToList[e][n].canSelect||this.sendToList[e].splice(n--,1)}else this.sendToList[e]=[]},onTreeNodeCheck:function(e,t,n){this.sendToList[t]=this[t].getCheckedNodes();for(var r=0;r<this.sendToList[t].length;r++)this.sendToList[t][r].canSelect||this.sendToList[t].splice(r--,1)},removeSelectedNode:function(e,t){var n=this[t].getNodeByParam("id",this.sendToList[t][e].id,null);null!=n&&this[t].checkNode(n,!1,!0,!1),this.sendToList[t].splice(e,1)},handleSubmitForm:function(){var e=this,t=this;this.sendToList["corpLeadersTree"]&&0!==this.sendToList["corpLeadersTree"].length||this.sendToList["innerDeptsTree"]&&0!==this.sendToList["innerDeptsTree"].length?this.$confirm(this.$tx("gwgl.messages.sendFileConfirm","您是否确认立即发送文件?"),this.$tx("common.confirmOperate","确认操作"),{type:"warning"}).then(At(Ht().mark((function n(){var r,a;return Ht().wrap((function(n){while(1)switch(n.prev=n.next){case 0:e.sendDoing=!0,r=[],null!=t.fwBodyfile&&r.push(t.fwBodyfile),t.attachments.forEach((function(e){e.needSend&&r.push(e)})),a="/wflow?wfEngineUrl="+(e.$route.query.wfEngineUrl||"workflow/wfInstance"),e.$http({method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"},params:{openUrl:a,fwOrgId:t.wfInstance.createOrgId.split("-")[1]},data:yt().stringify({fwBusiData:JSON.stringify(t.busiData),corpLeaders:JSON.stringify(t.sendToList["corpLeadersTree"]),innerDepts:JSON.stringify(t.sendToList["innerDeptsTree"]),fwAttachs:JSON.stringify(r)}),url:"gwjh/sendFile/startSendDeptFile"}).then((function(n){if("success"===n.code){var r=e.$vnode.context.$vnode.context;t.busiData.flBeenSend=1,t.busiData.flSenderAccount=e.loginUser.personAccount;var a=!1,o="";r.commandBar.forEach((function(e){"btnViewSendlogClick"!==e.btnCode&&"发送跟踪"!==e.btnName||(a=!0),""===o&&e.btnName&&-1!==e.btnName.indexOf("发送")&&(null!=e.btnGroupId?o=e.btnGroupId:2===e.btnType&&(o=e.id))})),a||""===o||r.commandBar.push({btnAlign:1,btnCode:"btnViewSendlogClick",btnGroupId:o,btnIcon:null,btnClick:function(){e.$bus.emit("btnViewSendlogClick",r)},btnName:"发送跟踪",btnOrderNo:"70",btnShow:1,btnType:"3",visitType:0});var i=0,s=0,l="";n.body.sendlogList.forEach((function(e){"99"===e.jhStatus?(s++,l+=e.passenger.errMsg+"<br>"):i++})),0===s?t.$message({type:n.code,message:n.message,showClose:!0}):t.$alert(t.$tx("gwgl.messages.sendFileSuccess",{num:i,failNum:s})+"<br>"+l,t.$tx("common.operationTip","操作提示"),{type:"warning",dangerouslyUseHTMLString:!0}),t.sendDoing=!1,t.handleDialogClose()}else{t.sendDoing=!1;var d="<br>";n.body.sendlogList&&n.body.sendlogList.forEach((function(e){"99"===e.jhStatus&&(d+=e.passenger.errMsg+"<br>")})),t.$alert(n.message+d,t.$tx("common.confirmOperate","确认操作"),{type:"error",dangerouslyUseHTMLString:!0})}}));case 6:case"end":return n.stop()}}),n)})))).catch((function(e){"cancel"!==e&&console.error(e)})):this.$alert(this.$tx("gwgl.messages.selectLeader","请选择阅文领导、收文部门。"),this.$tx("common.operationTip","操作提示"),{type:"warning"})},handleDialogClose:function(){this.$vnode.context.dialogFormVisible=!1,this.$vnode.context.fwBodyfile={},this.$vnode.context.fwAttachs=[]}}},Bt=Gt,Ut=(n(2727),m(Bt,Nt,Pt,!1,null,"4580fba6",null)),qt=Ut.exports,Vt=function(){var e=this,t=e._self._c;return e.dialogFormVisible?t("el-dialog",{directives:[{name:"el-drag-dialog",rawName:"v-el-drag-dialog"}],attrs:{"close-on-click-modal":!1,visible:e.dialogFormVisible,"destroy-on-close":!0,width:"1200px",title:e.winTitle},on:{"update:visible":function(t){e.dialogFormVisible=t},close:e.handleDialogClose}},[e.loading?t("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"el-dialog__body"}):e._e(),e.loading?e._e():t("div",{staticClass:"select-container"},[t("el-row",[t("el-col",{attrs:{span:24}},[t("el-input",{attrs:{placeholder:e.$tx("gwgl.gwjh.keyPlaceholder","请输入搜索关键字")},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.searchTreeNode.apply(null,arguments)}},model:{value:e.searchkey,callback:function(t){e.searchkey=t},expression:"searchkey"}},[t("el-button",{attrs:{slot:"append",icon:"el-icon-search"},on:{click:e.searchTreeNode},slot:"append"})],1)],1)],1),t("el-row",{staticStyle:{"margin-top":"10px"}},[t("el-col",{staticClass:"ztree-container",staticStyle:{"overflow-y":"inherit"},attrs:{span:"7"}},[t("div",{staticClass:"treeNode"},[t("GiantTree",{attrs:{"ztree-id":"areaNodeTree",nodes:e.areaNodeTreeData,multiple:!1,"show-icon":!0,"show-line":!0},on:{onCreated:e.onTreeCreated,onClick:e.onAreaTreeNodeClick}})],1)]),t("el-col",{staticClass:"ztree-container listitem",staticStyle:{"overflow-y":"inherit"},attrs:{span:"8"}},[t("div",{staticClass:"treeNode"},[null!==e.rootOrgTreeData&&0!==e.rootOrgTreeData.length?t("GiantTree",{attrs:{"ztree-id":"corpOrgsTree",nodes:e.rootOrgTreeData,multiple:e.multiple,"show-icon":!1,"show-line":!1},on:{onCreated:e.onTreeCreated,onClick:e.onRootOrgTreeNodeClick,onCheck:e.onRootOrgTreeNodeCheck}}):e._e(),null===e.rootOrgTreeData||0===e.rootOrgTreeData.length?t("div",{staticStyle:{"text-align":"center","font-size":"var(--portalFontSize14)","padding-top":"20px"}},[t("span",[e._v(e._s(null===e.rootOrgTreeData?e.$tx("common.loading","正在加载..."):e.$tx("common.noData","暂无数据")))])]):e._e()],1)]),t("el-col",{staticClass:"selectBtn-container",attrs:{span:"1"}},[t("div",[t("el-button",{staticClass:"el-icon-d-arrow-right",attrs:{size:"mini",circle:"",plain:""},on:{click:function(t){return e.handleSelectAll("corpOrgsTree",!0)}}})],1),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"selectAll",expression:"'selectAll'"}]},[e._v("全选")]),t("br"),t("br"),t("div",[t("el-button",{staticClass:"el-icon-d-arrow-left",attrs:{size:"mini",circle:"",plain:""},on:{click:function(t){return e.handleSelectAll("corpOrgsTree",!1)}}})],1),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"clear",expression:"'clear'"}]},[e._v("清除")])]),t("el-col",{staticClass:"ztree-container",attrs:{span:"8"}},[t("div",{staticClass:"treeNode selectnode"},e._l(e.sendToList.corpOrgsTree,(function(n,r){return t("span",{key:r,on:{click:function(t){return e.removeSelectedNode(r,"corpOrgsTree")}}},[e._v(" "+e._s(n.title)+" "),t("i",{staticClass:"el-icon-close"}),t("br")])})),0)])],1),t("el-row",[t("el-col",{staticClass:"fwAttach-container",attrs:{span:"24"}},[t("div",[t("el-checkbox",{attrs:{disabled:"true"},model:{value:e.fwBodyfile.needSend,callback:function(t){e.$set(e.fwBodyfile,"needSend",t)},expression:"fwBodyfile.needSend"}},[e._v(e._s(e.fwBodyfile.fileName))])],1),e._l(e.attachments,(function(n){return t("div",{key:n.id},[t("el-checkbox",{attrs:{"true-label":!0,"false-label":!1},model:{value:n.needSend,callback:function(t){e.$set(n,"needSend",t)},expression:"attach.needSend"}},[e._v(e._s(n.fileName))])],1)}))],2)],1)],1),e.loading?e._e():t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"cancel",expression:"'cancel'"}],attrs:{plain:"",icon:"el-icon-close",type:"default",disabled:e.sendDoing},on:{click:e.handleDialogClose}},[e._v("取消")]),t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"sure",expression:"'sure'"}],attrs:{icon:"el-icon-check",type:"primary",loading:e.sendDoing},on:{click:e.handleSubmitForm}},[e._v("确定")])],1)]):e._e()},Jt=[];function Kt(e){return Kt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Kt(e)}function Qt(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Qt=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function d(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(e){d=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var o=t&&t.prototype instanceof y?t:y,i=Object.create(o.prototype),s=new j(r||[]);return a(i,"_invoke",{value:D(e,n,s)}),i}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=c;var p="suspendedStart",m="suspendedYield",f="executing",h="completed",g={};function y(){}function _(){}function v(){}var b={};d(b,i,(function(){return this}));var w=Object.getPrototypeOf,M=w&&w(w(C([])));M&&M!==n&&r.call(M,i)&&(b=M);var L=v.prototype=y.prototype=Object.create(b);function T(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function n(a,o,i,s){var l=u(e[a],e,o);if("throw"!==l.type){var d=l.arg,c=d.value;return c&&"object"==Kt(c)&&r.call(c,"__await")?t.resolve(c.__await).then((function(e){n("next",e,i,s)}),(function(e){n("throw",e,i,s)})):t.resolve(c).then((function(e){d.value=e,i(d)}),(function(e){return n("throw",e,i,s)}))}s(l.arg)}var o;a(this,"_invoke",{value:function(e,r){function a(){return new t((function(t,a){n(e,r,t,a)}))}return o=o?o.then(a,a):a()}})}function D(t,n,r){var a=p;return function(o,i){if(a===f)throw Error("Generator is already running");if(a===h){if("throw"===o)throw i;return{value:e,done:!0}}for(r.method=o,r.arg=i;;){var s=r.delegate;if(s){var l=k(s,r);if(l){if(l===g)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(a===p)throw a=h,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);a=f;var d=u(t,n,r);if("normal"===d.type){if(a=r.done?h:m,d.arg===g)continue;return{value:d.arg,done:r.done}}"throw"===d.type&&(a=h,r.method="throw",r.arg=d.arg)}}}function k(t,n){var r=n.method,a=t.iterator[r];if(a===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,k(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var o=u(a,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,g;var i=o.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,g):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function Y(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function C(t){if(t||""===t){var n=t[i];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,o=function n(){for(;++a<t.length;)if(r.call(t,a))return n.value=t[a],n.done=!1,n;return n.value=e,n.done=!0,n};return o.next=o}}throw new TypeError(Kt(t)+" is not iterable")}return _.prototype=v,a(L,"constructor",{value:v,configurable:!0}),a(v,"constructor",{value:_,configurable:!0}),_.displayName=d(v,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===_||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,d(e,l,"GeneratorFunction")),e.prototype=Object.create(L),e},t.awrap=function(e){return{__await:e}},T(x.prototype),d(x.prototype,s,(function(){return this})),t.AsyncIterator=x,t.async=function(e,n,r,a,o){void 0===o&&(o=Promise);var i=new x(c(e,n,r,a),o);return t.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},T(L),d(L,l,"Generator"),d(L,i,(function(){return this})),d(L,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=C,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(Y),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function a(r,a){return s.type="throw",s.arg=t,n.next=r,a&&(n.method="next",n.arg=e),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],s=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var l=r.call(i,"catchLoc"),d=r.call(i,"finallyLoc");if(l&&d){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!d)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&r.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),Y(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;Y(n)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:C(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}function Zt(e,t,n,r,a,o,i){try{var s=e[o](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)}function Xt(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){Zt(o,r,a,i,s,"next",e)}function s(e){Zt(o,r,a,i,s,"throw",e)}i(void 0)}))}}function en(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function tn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?en(Object(n),!0).forEach((function(t){nn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):en(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function nn(e,t,n){return(t=rn(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function rn(e){var t=an(e,"string");return"symbol"==Kt(t)?t:t+""}function an(e,t){if("object"!=Kt(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Kt(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var on={name:"SendCorpFile",components:{},props:{corpOrgs:{type:Array,default:function(){return{}}},wfInstance:{type:Object,default:function(){return{}}},busiData:{type:Object,default:function(){return{}}},fwBodyfile:{type:Object,default:function(){return{}}},fwAttachs:{type:Array,default:function(){return[]}}},data:function(){return{i18npkg:"gwgl",moduleCode:"gwjh",dialogFormVisible:!0,loading:!1,winTitle:"发送外单位",searchkey:"",attachments:[],multiple:!0,areaNodeTreeData:[],rootOrgTreeData:[],rootOrgTreeDataBak:[],sendToList:{corpOrgsTree:[]},sendDoing:!1}},computed:tn({},re(["loginUser"])),watch:{fwBodyfile:function(){void 0!==this.fwBodyfile.id&&(this.loading=!1)},fwAttachs:function(){this.attachments=JSON.parse(JSON.stringify(this.fwAttachs))},corpOrgs:function(){var e=this;this.corpOrgs.forEach((function(t){"rootOrg"===t.type?e.rootOrgTreeData.push(t):e.areaNodeTreeData.push(t)})),this.treeDataAdapter("areaNodeTree",this.areaNodeTreeData),this.treeDataAdapter("corpOrgsTree",this.rootOrgTreeData),this.rootOrgTreeDataBak=JSON.parse(JSON.stringify(this.rootOrgTreeData))}},created:function(){},beforeDestroy:function(){},mounted:function(){this.loading=!0},methods:{onTreeCreated:function(e,t){this[t]=e},treeDataAdapter:function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.id=r.fullID,-1!==r.id.indexOf("-")?r.pId=r.fullID.substring(0,r.fullID.lastIndexOf("-")):r.pId=r.parentID,r.name=r.nName,r.title=r.name,0===n&&(r.open=!0),"rootOrg"===r.type?(r.isParent=!1,r.canSelect=!0):r.nocheck=!0}return t},searchTreeNode:function(){var e=this;this["areaNodeTree"].selectNode(this.areaNodeTreeData[0]);var t=JSON.parse(JSON.stringify(this.rootOrgTreeDataBak)),n={};this.sendToList["corpOrgsTree"].forEach((function(e){n[e.id]=e.id})),this.rootOrgTreeData=[],t.forEach((function(t){-1===t.fullName.indexOf(e.searchkey)&&""!==e.searchkey||(void 0!==n[t.id]&&(t.checked=!0),e.rootOrgTreeData.push(t))}))},onAreaTreeNodeClick:function(e,t,n){var r=this;this.searchkey="";var a={};this.sendToList["corpOrgsTree"].forEach((function(e){a[e.id]=e.id}));var o=JSON.parse(JSON.stringify(this.rootOrgTreeDataBak));this.rootOrgTreeData=[],o.forEach((function(e){0===e.fullID.indexOf(n.fullID)&&(void 0!==a[e.id]&&(e.checked=!0),r.rootOrgTreeData.push(e))}))},onRootOrgTreeNodeClick:function(e,t,n){!0===n.canSelect?!0!==this.multiple?this.sendToList[t]=[n]:this[t].checkNode(n,null,null,!0):n.children&&n.children.length>0&&this[t].expandNode(n)},handleSelectAll:function(e,t){var n=this,r={};this.sendToList[e].forEach((function(e){r[e.id]=e.id})),this[e].checkAllNodes(t),this.rootOrgTreeData.forEach((function(a){t?a.checked?void 0===r[a.id]&&n[e].checkNode(a,!0,!0,!0):n[e].checkNode(a,!0,null,!0):a.checked?n[e].checkNode(a,!1,null,!0):void 0!==r[a.id]&&n[e].checkNode(a,!1,!0,!0)}))},onRootOrgTreeNodeCheck:function(e,t,n){var r={};if(this.sendToList[t].forEach((function(e){r[e.id]=e.id})),n.checked)void 0===r[n.id]&&this.sendToList[t].push(n);else for(var a=0;a<this.sendToList[t].length;a++)n.id===this.sendToList[t][a].id&&this.sendToList[t].splice(a--,1)},removeSelectedNode:function(e,t){var n=this[t].getNodeByParam("id",this.sendToList[t][e].id,null);null!=n&&this[t].checkNode(n,!1,!0,!1),this.sendToList[t].splice(e,1)},handleSubmitForm:function(){var e=this,t=this;this.sendToList["corpOrgsTree"]&&0!==this.sendToList["corpOrgsTree"].length?this.$confirm(this.$tx("gwgl.messages.sendFileConfirm","您是否确认立即发送文件?"),this.$tx("common.confirmOperate","确认操作"),{type:"warning"}).then(Xt(Qt().mark((function n(){var r,a;return Qt().wrap((function(n){while(1)switch(n.prev=n.next){case 0:e.sendDoing=!0,r=[],null!=e.fwBodyfile&&r.push(e.fwBodyfile),e.attachments.forEach((function(e){e.needSend&&r.push(e)})),a="/wflow?wfEngineUrl="+(e.$route.query.wfEngineUrl||"workflow/wfInstance"),e.$http({method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"},params:{openUrl:a,fwOrgId:t.wfInstance.createOrgId.split("-")[0]},data:yt().stringify({fwBusiData:JSON.stringify(t.busiData),corpOrgs:JSON.stringify(t.sendToList["corpOrgsTree"]),fwAttachs:JSON.stringify(r)}),url:"gwjh/sendFile/startSendCorpFile"}).then((function(n){if("success"===n.code){var r=e.$vnode.context.$vnode.context;t.busiData.flBeenSend=1,t.busiData.flSenderAccount=e.loginUser.personAccount;var a=!1,o="";r.commandBar.forEach((function(e){"btnViewSendlogClick"!==e.btnCode&&"发送跟踪"!==e.btnName||(a=!0),""===o&&-1!==e.btnName.indexOf("发送")&&(null!=e.btnGroupId?o=e.btnGroupId:2===e.btnType&&(o=e.id))})),a||""===o||r.commandBar.push({btnAlign:1,btnCode:"btnViewSendlogClick",btnGroupId:o,btnIcon:null,btnClick:function(){e.$bus.emit("btnViewSendlogClick",r)},btnName:"发送跟踪",btnOrderNo:"70",btnShow:1,btnType:"3",visitType:0});var i=0,s=0,l="";n.body.sendlogList.forEach((function(e){"99"===e.jhStatus?(s++,l+=e.passenger.errMsg+"<br>"):i++})),0===s?t.$message({type:n.code,message:n.message,showClose:!0}):t.$alert(t.$tx("gwgl.messages.sendFileSuccess",{num:i,failNum:s},"发送文件成功".concat(i,"份,失败").concat(s,"份!"))+"<br>"+l,t.$tx("common.operationTip","操作提示"),{type:"warning",dangerouslyUseHTMLString:!0}),e.sendDoing=!1,t.handleDialogClose()}else{e.sendDoing=!1;var d="<br>";n.body.sendlogList&&n.body.sendlogList.forEach((function(e){"99"===e.jhStatus&&(d+=e.passenger.errMsg+"<br>")})),t.$alert(n.message+d,t.$tx("common.confirmOperate","确认操作"),{type:"error",dangerouslyUseHTMLString:!0})}}));case 6:case"end":return n.stop()}}),n)})))).catch((function(e){"cancel"!==e&&console.error(e)})):this.$alert(this.$tx("gwgl.messages.selectGwDepart","请选择收文单位。"),this.$tx("common.operationTip","操作提示"),{type:"warning"})},handleDialogClose:function(){this.$vnode.context.dialogFormVisible=!1,this.$vnode.context.fwBodyfile={},this.$vnode.context.fwAttachs=[]}}},sn=on,ln=(n(1757),m(sn,Vt,Jt,!1,null,"bb9d6ec0",null)),dn=ln.exports,cn=function(){var e=this,t=e._self._c;return e.dialogFormVisible?t("el-dialog",{directives:[{name:"el-drag-dialog",rawName:"v-el-drag-dialog"}],attrs:{visible:e.dialogFormVisible,"destroy-on-close":!1,"close-on-click-modal":!1,width:"1000px",title:e.title},on:{"update:visible":function(t){e.dialogFormVisible=t},close:e.handleDialogClose}},[e.loading?t("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"el-dialog__body"}):e._e(),t("el-tabs",{model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[t("el-tab-pane",{staticStyle:{"max-height":"570px","overflow-y":"auto","border-bottom":"1px solid #ebeef5"},attrs:{label:"本单位",name:"bmswLog"}},[e.loading?e._e():t("el-table",{staticStyle:{width:"100%"},attrs:{data:e.bmswLogList,border:""}},[t("el-table-column",{attrs:{align:"center",type:"index",label:e.$tx("fields.index","序号"),width:"45"}}),t("el-table-column",{attrs:{label:e.$tx("gwgl.gwjh.fields.bmswDeptName","收文部门"),prop:"bmswDeptName",align:"left"}}),t("el-table-column",{attrs:{label:e.$tx("gwgl.gwjh.fields.sendTime","发送时间"),prop:"fwSendTime",width:"150",align:"center"}}),t("el-table-column",{attrs:{label:e.$tx("gwgl.gwjh.fields.swReceiveTime","到达时间"),prop:"swReceiveTime",width:"150",align:"center"}}),t("el-table-column",{attrs:{label:e.$tx("gwgl.gwjh.fields.swOpenTime","开始办理时间"),prop:"swOpenTime",width:"150",align:"center"}}),t("el-table-column",{attrs:{label:e.$tx("common.operate","操作"),width:"130",align:"center"},scopedSlots:e._u([{key:"default",fn:function(n){return[n.row.swReceiveTime?e._e():t("el-link",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"processingStatus",expression:"'processingStatus'"}],attrs:{type:"primary"},on:{click:function(t){return e.btnRetryCreateChildWlfowgClick(n.row)}}},[e._v("重新发送")]),n.row.swReceiveTime?t("el-link",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"processingStatus",expression:"'processingStatus'"}],attrs:{type:"primary"},on:{click:function(t){return e.viewBmswWorkForm(n.row)}}},[e._v("办理情况")]):e._e(),n.row.swReceiveTime?t("el-link",{class:{"disabled-link":"9"===n.row.jhStatus},attrs:{type:"primary"},on:{click:function(t){return e.revokeForm(n.row,1)}}},[e._v(" "+e._s("9"===n.row.jhStatus?e.$tx("gwgl.gwjh.withdrawn","已撤回"):e.$tx("gwgl.gwjh.drawn","撤回"))+" ")]):e._e()]}}],null,!1,3426652254)})],1)],1),t("el-tab-pane",{attrs:{label:"外单位",name:"dwswLog"}},[t("div",{staticClass:"select"},[t("div",[t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"dwName2",expression:"'dwName2'"}],staticStyle:{float:"left","line-height":"36px"}},[e._v("单位名称:")]),t("el-input",{staticStyle:{float:"left",width:"895px"},attrs:{clearable:""},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.btnViewSendlogClick.apply(null,arguments)}},model:{value:e.orgname,callback:function(t){e.orgname=t},expression:"orgname"}},[t("el-button",{attrs:{slot:"append",icon:"el-icon-search"},on:{click:e.btnViewSendlogClick},slot:"append"})],1)],1),t("el-row",{staticClass:"tab-top"},[t("el-col",{attrs:{span:8}},[t("div",{staticClass:"grid-content bg-purple",on:{click:function(t){return e.tabClick(6)}}},[t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"allSwdw",expression:"'allSwdw'"}]},[e._v("全部收文单位(")]),t("span",{staticStyle:{color:"red"}},[e._v(e._s(e.swLogCount.statusAll))]),e._v(" ) ")])]),t("el-col",{attrs:{span:8}},[t("div",{staticClass:"grid-content bg-purple",on:{click:function(t){return e.tabClick(1)}}},[t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"wddDw",expression:"'wddDw'"}]},[e._v("未到达单位(")]),t("span",{staticStyle:{color:"red"}},[e._v(e._s(e.swLogCount.status0+e.swLogCount.status1))]),e._v(" ) ")])]),t("el-col",{attrs:{span:8}},[t("div",{staticClass:"grid-content bg-purple-light",on:{click:function(t){return e.tabClick(2)}}},[t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"yddDw",expression:"'yddDw'"}]},[e._v("已到达单位(")]),t("span",{staticStyle:{color:"red"}},[e._v(e._s(e.swLogCount.status2))]),e._v(" ) ")])])],1),t("el-row",{staticClass:"tab-bottom"},[t("el-col",{attrs:{span:8}},[t("div",{staticClass:"grid-content bg-purple",on:{click:function(t){return e.tabClick(99)}}},[t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"sendFailDw",expression:"'sendFailDw'"}]},[e._v("发送失败单位(")]),t("span",{staticStyle:{color:"red"}},[e._v(e._s(e.swLogCount.status99))]),e._v(" ) ")])]),t("el-col",{attrs:{span:8}},[t("div",{staticClass:"grid-content bg-purple",on:{click:function(t){return e.tabClick(3)}}},[t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"yqsDw",expression:"'yqsDw'"}]},[e._v("已签收单位(")]),t("span",{staticStyle:{color:"red"}},[e._v(e._s(e.swLogCount.status3))]),e._v(" ) ")])]),t("el-col",{attrs:{span:8}},[t("div",{staticClass:"grid-content bg-purple-light",on:{click:function(t){return e.tabClick(4)}}},[t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"yjsDw",expression:"'yjsDw'"}]},[e._v("已拒收单位(")]),t("span",{staticStyle:{color:"red"}},[e._v(e._s(e.swLogCount.status4))]),e._v(" ) ")])])],1)],1),t("div",{staticClass:"tableList"},[e.loading?e._e():t("el-table",{staticStyle:{width:"100%","overflow-y":"auto"},attrs:{data:e.dwswLogList,border:"",height:"287px","row-class-name":e.setRowClassName}},[t("el-table-column",{attrs:{align:"center",type:"index",label:e.$tx("fields.index","序号"),width:"45"}}),t("el-table-column",{attrs:{label:e.$tx("gwgl.gwjh.fields.swOrgName","收文单位"),prop:"dwswOrgName",align:"left"}}),t("el-table-column",{attrs:{label:e.$tx("gwgl.gwjh.fields.sendTime","发送时间"),prop:"fwSendTime",width:"150",align:"center"}}),t("el-table-column",{attrs:{label:e.$tx("gwgl.gwjh.fields.swReceiveTime","到达时间"),prop:"swReceiveTime",width:"150",align:"center"}}),t("el-table-column",{attrs:{label:e.$tx("gwgl.components.fields.signingTime","签收时间"),prop:"swOpenTime",width:"150",align:"center"}}),t("el-table-column",{attrs:{label:e.$tx("fields.status","状态"),prop:"status",width:"80",align:"center"}}),t("el-table-column",{attrs:{label:e.$tx("common.operate","操作"),width:"80",align:"center"},scopedSlots:e._u([{key:"default",fn:function(n){return[t("el-link",{class:{"disabled-link":"9"===n.row.jhStatus},attrs:{type:"primary"},on:{click:function(t){return e.revokeForm(n.row,2)}}},[e._v(" "+e._s("9"===n.row.jhStatus?e.$tx("gwgl.gwjh.withdrawn","已撤回"):e.$tx("gwgl.gwjh.drawn","撤回"))+" ")])]}}],null,!1,587727615)})],1)],1)])],1),t("cuibanLog",{attrs:{title:e.cuibantitle,list:e.listdata,"wf-instance":e.wfInstance}})],1):e._e()},un=[],pn=function(){var e=this,t=e._self._c;return t("el-dialog",{attrs:{width:"1000px",visible:e.visible,title:e.title,"append-to-body":!0},on:{"update:visible":function(t){e.visible=t}}},[1===e.isShowVal?t("div",[t("el-table",{staticStyle:{width:"100%"},attrs:{data:e.listData,border:""},on:{"selection-change":e.handleSelectionChange}},[t("el-table-column",{attrs:{type:"selection",align:"center",width:"55"}}),t("el-table-column",{attrs:{align:"center",type:"index",label:e.$tx("fields.index","序号"),width:"45"}}),t("el-table-column",{attrs:{label:e.$tx("gwgl.gwjh.fields.swOrgName","收文单位"),prop:"swOrgName",align:"left"}}),t("el-table-column",{attrs:{label:e.$tx("gwgl.gwjh.fields.linkman","收文单位联系人"),prop:"linkman",align:"center",formatter:e.columnFormatter}}),t("el-table-column",{attrs:{label:e.$tx("gwgl.gwjh.fields.faTime","发文时间"),prop:"receiveTime",align:"center"}}),t("el-table-column",{attrs:{label:e.$tx("gwgl.gwjh.fields.textMessage","短信"),align:"center"},scopedSlots:e._u([{key:"default",fn:function(n){return[t("span",[e._v(e._s(0===n.row.smsStatus?e.$tx("gwgl.gwjh.notSent","未发送"):e.$tx("gwgl.gwjh.sent","已发送")))])]}}],null,!1,1270916442)}),t("el-table-column",{attrs:{label:e.$tx("fields.status","状态"),align:"center",prop:"jhStatus"}})],1),t("div",{staticClass:"btn"},[t("el-button",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"urgeProcessing",expression:"'urgeProcessing'"}],attrs:{type:"primary"},on:{click:e.receiptInfo}},[e._v("催办")])],1)],1):e._e(),2===e.isShowVal?t("div",{staticClass:"infoContent"},[t("el-form",[t("div",{staticClass:"el-table el-table--fit el-table--border",staticStyle:{width:"100%"}},[t("div",{staticClass:"el-table__body-wrapper"},[t("table",{staticClass:"el-table__body",attrs:{cellspacing:"0",cellpadding:"0",border:"0"}},[t("tbody",[t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"receiver",expression:"'receiver'"}]},[e._v("接收人")])]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"接收人",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-input",{attrs:{name:"receiver",rows:4,type:"textarea",placeholder:e.$tx("gwgl.gwjh.recipientPlaceholder","请输入接收人")},model:{value:e.receiver,callback:function(t){e.receiver=t},expression:"receiver"}})],1)]}}],null,!1,3830385294)}),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"recipientFormat",expression:"'recipientFormat'"}]},[e._v("接收人格式如:152********,158********")])],1)]),t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"content",expression:"'content'"}]},[e._v("短信内容")])]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"接收人",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-input",{attrs:{name:"content",rows:4,type:"textarea",placeholder:e.$tx("gwgl.gwjh.messengeContentPlaceholder","请输入短信内容")},model:{value:e.content,callback:function(t){e.content=t},expression:"content"}})],1)]}}],null,!1,3851635588)})],1)])])])])])]),t("div",{staticClass:"footer"},[t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"sure",expression:"'sure'"}],attrs:{type:"primary"},on:{click:e.submit}},[e._v("确定")]),t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"cancel",expression:"'cancel'"}],on:{click:function(t){e.visible=!1}}},[e._v("取消")])],1)],1):e._e(),3===e.isShowVal?t("div",{staticClass:"info-list"},[t("el-button-group",{staticStyle:{"margin-bottom":"15px"}},[t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"all",expression:"'all'"}],attrs:{type:1===e.active?"primary":""},on:{click:function(t){return e.selection(1)}}},[e._v("全部")]),t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"sendText",expression:"'sendText'"}],attrs:{type:2===e.active?"primary":""},on:{click:function(t){return e.selection(2)}}},[e._v("发文短信")]),t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"urgentSMS",expression:"'urgentSMS'"}],attrs:{type:3===e.active?"primary":""},on:{click:function(t){return e.selection(3)}}},[e._v("催办短信")])],1),t("div",{staticClass:"table-inner"},[t("el-table",{staticClass:"record-table",staticStyle:{width:"100%"},attrs:{data:e.infoRecordList,border:""}},[t("el-table-column",{attrs:{width:"45",label:e.$tx("fields.index","序号"),align:"center",type:"index"}}),t("el-table-column",{attrs:{label:e.$tx("gwgl.gwjh.fields.dwName","单位名称"),align:"center",prop:"swOrgName"}}),t("el-table-column",{attrs:{label:e.$tx("gwgl.gwjh.fields.receiver","接收人"),align:"center",prop:"receiver"}}),t("el-table-column",{attrs:{label:e.$tx("gwgl.gwjh.fields.recipientPhone","接收人号码"),width:"100",align:"center",prop:"phone"}}),t("el-table-column",{attrs:{label:e.$tx("gwgl.gwjh.fields.sendTime"),width:"140",align:"center",prop:"sendTime"}}),t("el-table-column",{attrs:{label:e.$tx("fields.status","状态"),width:"80",align:"center"},scopedSlots:e._u([{key:"default",fn:function(n){return[t("span",[e._v(e._s(0===n.row.status?e.$tx("gwgl.gwjh.sendFail","发送失败"):e.$tx("gwgl.gwjh.sendSuccess","发送成功")))])]}}],null,!1,1008086496)}),t("el-table-column",{attrs:{label:e.$tx("gwgl.gwjh.fields.content","短信内容"),align:"center",prop:"smsContent"}})],1)],1)],1):e._e(),t("el-dialog",{attrs:{width:"880px",visible:e.visibleInfo,title:e.titleInfo,"append-to-body":""},on:{"update:visible":function(t){e.visibleInfo=t}}},[e.isShow?t("div",[t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"content",expression:"'content'"}]},[e._v("短信内容")]),e._v(" : "),t("el-input",{attrs:{rows:4,type:"textarea"},model:{value:e.content,callback:function(t){e.content=t},expression:"content"}}),t("div",{staticStyle:{width:"100%","text-align":"center","margin-top":"20px"}},[t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"sure",expression:"'sure'"}],attrs:{type:"primary"},on:{click:e.onSubmit}},[e._v("确定")]),t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"cancel",expression:"'cancel'"}],on:{click:function(t){e.visibleInfo=!1}}},[e._v("取消")])],1)],1):e._e(),e.isShow?e._e():t("div",{staticStyle:{"text-align":"center"}},[t("el-table",{staticStyle:{width:"100%"},attrs:{data:e.infoList,border:""}},[t("el-table-column",{attrs:{label:e.$tx("gwgl.gwjh.swOrgName","收文单位"),width:"300",align:"center",prop:"swOrgName"}}),t("el-table-column",{attrs:{align:"center",label:e.$tx("gwgl.gwjh.sendStatus","短信发送状态")},scopedSlots:e._u([{key:"default",fn:function(n){return[t("span",[e._v(e._s(0===n.row.status?e.$tx("gwgl.gwjh.fields.sendFail","发送失败"):e.$tx("gwgl.gwjh.sendSuccess","发送成功")))])]}}],null,!1,316153215)})],1),t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"close",expression:"'close'"}],staticStyle:{"margin-top":"20px"},attrs:{type:"primary"},on:{click:e.close}},[e._v("关 闭")])],1)])],1)},mn=[],fn={components:{},props:{title:{type:String,default:""},wfInstance:{type:Object,default:function(){return{}}},list:{type:Array,default:function(){return[]}}},data:function(){return{i18npkg:"gwgl",moduleCode:"gwjh",isShow:!0,visible:!1,visibleInfo:!1,listData:[],multipleSelection:[],idAll:[],titleInfo:this.$tx("gwgl.gwjh.inputEmailText","填写短信内容"),content:"",infoList:[],receiver:"",isShowVal:null,infoRecordList:[],active:1,loginUser:this.$store.getters.loginUser}},computed:{},watch:{},created:function(){this.$bus.on("opendialog",this.opendialog)},beforeDestroy:function(){this.$bus.off("opendialog",this.opendialog)},mounted:function(){},methods:{selection:function(e){console.log(e),this.active=e;var t=[{compare:"=",field:"fwid",merge:!0,value:this.wfInstance.busiDataId}];2===e?t=[{compare:"=",field:"sendType",merge:!0,value:"1"},{compare:"=",field:"fwid",merge:!0,value:this.wfInstance.busiDataId}]:3===e&&(t=[{compare:"=",field:"sendType",merge:!0,value:"0"},{compare:"=",field:"fwid",merge:!0,value:this.wfInstance.busiDataId}]),this.getInfoRecordData(t)},columnFormatter:function(e,t,n,r){var a=e.linkman.split(";"),o="";return a.forEach((function(e){""!==e&&(""!==o&&(o+=","),o+=e.split("###")[0])})),o},submit:function(){var e=this;this.formValidate((function(){e.$http({url:"gwjh/fawenSms/sendSmsToPhones",method:"POST",params:{busiDataId:e.wfInstance.busiDataId},data:{phones:e.receiver,content:e.content}}).then((function(t){"success"===t.code?(e.visibleInfo=!0,e.isShow=!1,e.infoList=t.body.listdata):e.$message.error(t.message)}))}))},close:function(){this.visible=!1,this.visibleInfo=!1},onSubmit:function(){var e=this;this.$http({url:"gwjh/fawenSms/sendCuibanSms",method:"POST",params:{busiDataId:this.wfInstance.busiDataId},data:{sendlogIds:this.idAll.join(","),content:this.content}}).then((function(t){"success"===t.code?(e.isShow=!1,e.infoList=t.body.listdata):e.$message.error(t.message)}))},receiptInfo:function(){this.multipleSelection.length>0?(this.getContent(),this.visibleInfo=!0):this.$message.error(this.$tx("gwgl.messages.noUrgeProcessingSw","暂无可催办的收文单位"))},getContent:function(){var e=this;this.$http({method:"POST",url:"gwjh/fawenSms/findCuibanSmsContent",params:{busiCode:this.wfInstance.module,busiDataId:this.wfInstance.busiDataId}}).then((function(t){"success"===t.code?e.content=t.body.content:e.$message.error(t.message)}))},getInfoRecordData:function(e){var t=this;this.$http({method:"POST",url:"gwjh/fawenSms/querydata",params:{orderBy:"sendTime desc"},data:e}).then((function(e){"success"===e.code?t.infoRecordList=e.body.listdata:t.$message.error(e.message)}))},opendialog:function(e){if(this.isShowVal=e,2===e&&this.getContent(),3===e){var t=[{compare:"=",field:"fwid",merge:!0,value:this.wfInstance.busiDataId}];this.getInfoRecordData(t)}this.visible=!0,this.listData=this.list},handleSelectionChange:function(e){var t=this;this.idAll=[],this.multipleSelection=[],this.multipleSelection=e,this.multipleSelection.forEach((function(e){t.idAll.push(e.id)})),console.log(this.idAll,888)}}},hn=fn,gn=(n(1453),m(hn,pn,mn,!1,null,"4cc55041",null)),yn=gn.exports,_n={components:{cuibanLog:yn},props:{},data:function(){return{i18npkg:"gwgl",moduleCode:"gwjh",listdata:[],cuibantitle:"",dialogCuiban:!1,title:this.$tx("gwgl.gwjh.sendTracking","发送跟踪"),dialogFormVisible:!1,activeName:"bmswLog",bmswLogList:[],dwswLogList:[],swLogCount:{},loading:!1,wfInstance:"",orgname:"",vo:"",attachments:[],bodyfile:{},doing:!1}},computed:{},watch:{activeName:function(e){"dwswLog"===e&&this.tabClick(6)}},created:function(){this.$bus.on("btnViewSendlogClick",this.btnViewSendlogClick)},beforeDestroy:function(){this.$bus.off("btnViewSendlogClick",this.btnViewSendlogClick)},mounted:function(){},methods:{tabClick:function(e){var t=this;this.loading=!0,this.dwswLogList=[],this.listdata.forEach((function(n){null!==n.bmswWfInstanceId&&""!==n.bmswWfInstanceId||(6===e?n.dwswOrgCode&&t.dwswLogList.push(n):1===e?0!==Number(n.jhStatus)&&1!==Number(n.jhStatus)||t.dwswLogList.push(n):e===parseInt(n.jhStatus)&&t.dwswLogList.push(n))})),this.$nextTick((function(){t.loading=!1}))},cuibanClick:function(e){var t=this;1===e?(this.cuibantitle=this.$tx("gwgl.gwjh.msgCb","短信催办"),this.$nextTick((function(){t.$bus.emit("opendialog",e)}))):2===e?(this.cuibantitle=this.$tx("gwgl.gwjh.zdyMsgCb","自定义短信催办"),this.$nextTick((function(){t.$bus.emit("opendialog",e)}))):3===e&&(this.cuibantitle=this.$tx("gwgl.gwjh.msgRecord","短信记录"),this.$nextTick((function(){t.$bus.emit("opendialog",e)})))},btnViewSendlogClick:function(e){var t=this;this.attachments=e.attachments,this.bodyfile=e.bodyfile,""===this.wfInstance&&(this.wfInstance=e.wfInstance),""===this.vo&&(this.vo=e.vo);var n=this;if(!n.loading){n.loading=!0,n.dialogFormVisible=!0,""===this.activeName&&(this.activeName="bmswLog");var r=[];r=""!==this.orgname?[{compare:"=",field:"fwId",value:this.vo.id},{compare:"like",field:"dwswOrgName",value:"%"+this.orgname+"%"}]:[{compare:"=",field:"fwId",value:this.vo.id}],this.$http({method:"POST",contentType:"application/x-www-form-urlencoded",data:r,params:{orderBy:"fwSendTime"},url:"gwjh/sendFile/querydata"}).then((function(e){if("success"===e.code){t.listdata=e.body.listdata;var r=[],a=[];t.swLogCount={statusAll:0,status0:0,status1:0,status2:0,status3:0,status4:0,status5:0,status99:0},t.listdata.forEach((function(e){0===e.jhStatus||"0"===e.jhStatus?e.status=t.$tx("gwgl.gwjh.sendStatus","发送中"):1===e.jhStatus||"1"===e.jhStatus?e.status=t.$tx("gwgl.gwjh.sendStatus2","已发送"):2===e.jhStatus||"2"===e.jhStatus?e.status=t.$tx("gwgl.gwjh.sendStatus3","已到达"):3===e.jhStatus||"3"===e.jhStatus?e.status=t.$tx("gwgl.gwjh.sendStatus4","已签收"):4===e.jhStatus||"4"===e.jhStatus?e.status=t.$tx("gwgl.gwjh.sendStatus5","已拒收"):5===e.jhStatus||"5"===e.jhStatus?e.status=t.$tx("gwgl.gwjh.sendStatus6","已回复"):9===e.jhStatus||"9"===e.jhStatus?e.status=t.$tx("gwgl.gwjh.sendStatus7","已撤回"):99!==e.jhStatus&&"99"!==e.jhStatus||(e.status=t.$tx("gwgl.gwjh.sendStatus8","发送失败")),null!==e.bmswWfInstanceId&&""!==e.bmswWfInstanceId?(e.swtype="bmsw",null===e.openTime&&(e.openTime=t.$tx("gwgl.gwjh.noOpen","未打开")),r.push(e)):(null===e.openTime&&(e.openTime=t.$tx("gwgl.gwjh.noScan","未签收")),null===e.receiveTime&&(e.receiveTime=t.$tx("gwgl.gwjh.noArrived","未到达")),e.dwswOrgCode&&a.push(e),n.swLogCount["status"+e.jhStatus]+=1,n.swLogCount["statusAll"]+=1)})),t.bmswLogList=t.orgname?t.bmswLogList:r,t.dwswLogList=a}else t.$alert(e.message,t.$tx("common.confirmOperate","确认操作"),{type:"error"});t.$nextTick((function(){n.loading=!1}))}))}},setRowClassName:function(e){var t=e.row;e.rowIndex;if(-1!==t.jhStatus.indexOf("失败"))return"error-row"},viewBmswWorkForm:function(e){window.open("/#/wflow?wfEngineUrl="+encodeURI("gwgl/shouwen")+"&wfInstanceId="+e.bmswWfInstanceId,"_blank")},handleDialogClose:function(){this.dialogFormVisible=!1,this.listdata=[],this.bmswLogList=[],this.dwswLogList=[]},revokeForm:function(e,t){var n=this,r="";r=1===t?e.bmswWfInstanceId:e.dwswWfInstanceId,this.$http({method:"POST",url:"/gwjh/sendFile/withdrawFileByWfInstanceId",params:{wfInstanceId:r}}).then((function(e){"success"===e.code?(n.$message.success(e.message),n.$nextTick((function(){n.$vnode.context.btnViewSendlogClick?n.$vnode.context.btnViewSendlogClick():n.$vnode.context.$vnode.context.btnViewSendlogClick&&n.$vnode.context.$vnode.context.btnViewSendlogClick()}))):n.$message.error(e.message)}))},btnRetryCreateChildWlfowgClick:function(e){var t=this,n={sendlogs:[e]};this.doing=!0,this.$http({method:"POST",contentType:"application/x-www-form-urlencoded",params:n,url:"gwjh/sendFile/retryCrateChildWflow"}).then((function(e){t.doing=!1,"success"===e.code?(t.$alert(e.message,t.$tx("common.operationTip","操作提示"),{type:"success"}),t.$vnode.context.btnViewSendlogClick?t.$vnode.context.btnViewSendlogClick():t.$vnode.context.$vnode.context.btnViewSendlogClick&&t.$vnode.context.$vnode.context.btnViewSendlogClick()):t.$alert(e.message,t.$tx("common.operationTip","操作提示"),{type:"error"})}))}}},vn=_n,bn=(n(8906),m(vn,cn,un,!1,null,"2133ef15",null)),wn=bn.exports,Mn=function(){var e=this,t=e._self._c;return t("el-dialog",{attrs:{title:e.$tx("gwgl.gwjh.signDocuments"),center:"",width:"900px",visible:e.dialogVisible,"close-on-click-modal":!1},on:{"update:visible":function(t){e.dialogVisible=t}}},[e.tableIsShow?e._e():t("el-form",[t("div",{staticClass:"el-table el-table--fit el-table--border",staticStyle:{}},[t("div",{staticClass:"el-table__body-wrapper"},[t("table",{staticClass:"el-table__body",attrs:{cellspacing:"0",cellpadding:"0",border:"0"}},[t("tbody",[t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"qsType",expression:"'qsType'"}]},[e._v("签收方式")])]),t("td",{staticClass:"el-table__cell tdcont tdw15"},[t("el-radio-group",{attrs:{name:"moduleJavaCode",placeholder:e.$tx("gwgl.gwjh.signWayPlaceholder","请输入选择状态")},model:{value:e.qsType,callback:function(t){e.qsType=t},expression:"qsType"}},[t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"signFor",expression:"'signFor'"}],attrs:{label:"签收"}},[e._v("签收")]),t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"rejection",expression:"'rejection'"}],attrs:{label:"拒收"}},[e._v("拒收")])],1)],1)]),t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},["拒收"===e.qsType?t("span",{staticClass:"required"},[e._v("*")]):e._e(),e._v(" "+e._s("拒收"===e.qsType?e.$tx("gwgl.gwjh.reason","原因"):e.$tx("common.remark","备注"))+" ")]),t("td",{staticClass:"el-table__cell tdcont tdw33"},["拒收"===e.qsType?t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"原因",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-input",{attrs:{type:"textarea",name:"content",placeholder:e.$tx("gwgl.gwjh.inputReason","请输入原因")},model:{value:e.content,callback:function(t){e.content=t},expression:"content"}})],1)]}}],null,!1,1936734633)}):t("el-input",{attrs:{type:"textarea",placeholder:e.$tx("gwgl.common.remarkmptyMessage","请输入备注")},model:{value:e.content,callback:function(t){e.content=t},expression:"content"}})],1)]),t("tr",[t("td",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"telPhone",expression:"'telPhone'"}],staticClass:"el-table__cell tdlbl tdw17"},[e._v("联系电话")]),t("td",{staticClass:"el-table__cell tdcont tdw33"},[t("el-input",{attrs:{placeholder:e.$tx("gwgl.gwjh.telPhonePlaceholder","请输入手机号码")},model:{value:e.telPhone,callback:function(t){e.telPhone=t},expression:"telPhone"}})],1)])])])])])]),e.tableIsShow?t("div",[t("el-table",{staticStyle:{width:"100%"},attrs:{data:e.listData,border:""}},[t("el-table-column",{attrs:{type:"index",label:e.$tx("fields.index","序号")}}),t("el-table-column",{attrs:{prop:"title",label:e.$tx("gwgl.common.fileTitle","文件标题")}}),t("el-table-column",{attrs:{prop:"message",label:e.$tx("gwgl.gwjh.status","处理状态"),width:"180",align:"center"}})],1)],1):e._e(),e.tableIsShow?e._e():t("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"sure",expression:"'sure'"}],attrs:{type:"primary"},on:{click:e.confirm}},[e._v("确定")]),t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"cancel",expression:"'cancel'"}],on:{click:function(t){e.dialogVisible=!1}}},[e._v("取消")])],1),e.tableIsShow?t("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"sure",expression:"'sure'"}],attrs:{type:"primary"},on:{click:e.confirmReceiptFile}},[e._v("确定")])],1):e._e()],1)},Ln=[],Tn={name:"ReceiptFile",components:{},props:{},data:function(){return{i18npkg:"gwgl",moduleCode:"gwjh",dialogVisible:!1,idAll:[],content:"",qsType:"签收",telPhone:this.$store.getters.loginUser.personMobile,receiptFile:"",busiDataId:"",listData:[],rows:[],tableIsShow:!1}},computed:{},watch:{},created:function(){this.$bus.on("receiptFiles",this.receiptFiles)},beforeDestroy:function(){this.$bus.off("receiptFiles",this.receiptFiles)},mounted:function(){},methods:{confirmReceiptFile:function(){this.dialogVisible=!1,this.$bus.emit("refreshListData")},confirm:function(){var e=this;if("拒收"===this.qsType&&""===this.content)return this.$message.warning(this.$tx("gwgl.gwjh.reflectWarn","请先填写拒收原因!"));this.formValidate((function(){e.receiptFile?e.$http({url:"gwjh/receiveFile/receiptFile",method:"POST",params:{content:e.content,qsType:e.qsType,telPhone:e.telPhone,busiDataId:e.busiDataId}}).then((function(t){if("success"===t.code){e.dialogVisible=!1;var n=window.opener.document.querySelector(".el-icon-refresh");null!==n&&n.parentElement.click(),location.reload()}else e.$message.error(t.message)})).catch((function(e){console.log(e)})):e.$http({url:"gwjh/receiveFile/batchReceiptFile",method:"POST",params:{content:e.content,qsType:e.qsType,telPhone:e.telPhone,wfInstanceIds:e.idAll.join(",")}}).then((function(t){if("success"===t.code){e.tableIsShow=!0;var n=t.body.listdata;n.forEach((function(t){e.rows.forEach((function(e){t.wfInstanceId===e.wfInstanceId&&(t.title=e.title)}))})),console.log(n),e.listData=n}else e.$message.error(t.message)}))}))},receiptFiles:function(e,t){var n=this;t?(this.dialogVisible=!0,this.tableIsShow=!1,this.receiptFile=t,this.busiDataId=e.busiDataId):(this.idAll=[],this.rows=e.rows,this.rows.length>0?(this.dialogVisible=!0,this.tableIsShow=!1,e.rows.forEach((function(e){n.idAll.push(e.wfInstanceId)}))):(this.dialogVisible=!1,this.$message.warning(this.$tx("gwgl.gwjh.fileWarn","请先选择文件!"))))}}},xn=Tn,Dn=(n(6992),m(xn,Mn,Ln,!1,null,"44e57720",null)),kn=Dn.exports,Sn=function(){var e=this,t=e._self._c;return t("div",[e.dialogFormVisible?t("el-dialog",{directives:[{name:"el-drag-dialog",rawName:"v-el-drag-dialog"}],attrs:{"close-on-click-modal":!1,visible:e.dialogFormVisible,"destroy-on-close":!0,width:"1465px",title:e.winTitle},on:{"update:visible":function(t){e.dialogFormVisible=t},close:e.handleDialogClose}},[e.loading?t("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"el-dialog__body"}):e._e(),t("div",{staticClass:"select-main",staticStyle:{display:"flex","flex-direction":"column"}},[t("div",{staticStyle:{display:"flex","flex-direction":"column","justify-content":"space-around"}},[t("el-form",{staticStyle:{width:"100%"}},[t("div",{staticClass:"el-table el-table--fit el-table--border",staticStyle:{}},[t("div",{staticClass:"el-table__body-wrapper"},[t("table",{staticClass:"el-table__body",attrs:{cellspacing:"0",cellpadding:"0",border:"0"}},[t("tbody",[t("tr",[t("td",{staticStyle:{width:"23%"}},[t("el-row",{staticClass:"ztree-container-row1"},[t("el-col",{staticClass:"ztree-container1 listitem",attrs:{span:"24"}},[t("div",{staticClass:"treeNode",staticStyle:{"overflow-y":"inherit"}},[t("div",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"leaders",expression:"'leaders'"}],staticClass:"table_title"},[e._v("领导阅文")]),t("GiantTree",{attrs:{"ztree-id":"corpLeadersTree",nodes:e.corpLeaders,multiple:e.multiple,"show-icon":!1,"show-line":!1},on:{onCreated:e.onTreeCreated,onClick:e.onTreeNodeClick,onCheck:e.onTreeNodeCheck}})],1)])],1)],1),t("td",{staticStyle:{width:"23%"}},[t("el-row",{staticClass:"ztree-container-row2"},[t("el-col",{staticClass:"ztree-container1 listitem",attrs:{span:"24"}},[t("div",{staticClass:"treeNode",staticStyle:{"overflow-y":"inherit"}},[t("div",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"receiptDocuments",expression:"'receiptDocuments'"}],staticClass:"table_title",attrs:{moduleCode:"portlet"}},[e._v("部门收文")]),t("GiantTree",{attrs:{"ztree-id":"innerDeptsTree",nodes:e.innerDepts,multiple:e.multiple,"show-icon":!1,"show-line":!1},on:{onCreated:e.onTreeCreated,onClick:e.onTreeNodeClick,onCheck:e.onTreeNodeCheck}})],1)])],1)],1),t("td",{staticStyle:{width:"23%"}},[t("el-row",{staticClass:"select-row",staticStyle:{height:"100%"}},[t("el-col",{staticClass:"ztree-container2",staticStyle:{"overflow-y":"inherit",height:"100%"},attrs:{span:"24"}},[t("div",{staticClass:"treeNode"},[t("div",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"externalUnits",expression:"'externalUnits'"}],staticClass:"table_title"},[e._v("外单位收文")]),t("el-input",{staticStyle:{padding:"10px"},attrs:{placeholder:e.$tx("gwgl.gwjh.keyPlaceholder","请输入搜索关键字")},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.searchTreeNode.apply(null,arguments)}},model:{value:e.searchkey,callback:function(t){e.searchkey=t},expression:"searchkey"}},[t("el-button",{attrs:{slot:"append",icon:"el-icon-search"},on:{click:e.searchTreeNode},slot:"append"})],1),null!==e.corpOrgs&&0!==e.corpOrgs.length?t("GiantTree",{attrs:{"ztree-id":"corpOrgsTree",nodes:e.corpOrgs,multiple:e.multiple,"show-icon":!1,"show-line":!1},on:{onCreated:e.onTreeCreated,onClick:e.onTreeNodeClick,onCheck:e.onTreeNodeCheck}}):e._e(),null===e.corpOrgs||0===e.corpOrgs.length?t("div",{staticStyle:{"text-align":"center","font-size":"var(--portalFontSize14)","padding-top":"20px"}},[t("span",[e._v(e._s(null===e.corpOrgs?e.$tx("common.loading","正在加载..."):e.$tx("common.noData","暂无数据")))])]):e._e()],1)])],1)],1),e.sendToList.corpLeadersTree.length||e.sendToList.corpOrgsTree.length||e.sendToList.innerDeptsTree.length?t("div",{staticClass:"addNewType"},[t("span",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"add",expression:"'add'"}],staticStyle:{cursor:"pointer"},on:{click:e.addCommonGroupClick}},[e._v("新增>> ")])]):t("div",{staticClass:"addNewType-not"},[t("span",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"add",expression:"'add'"}],staticStyle:{cursor:"not-allowed"}},[e._v("新增>> ")])]),t("td",{staticStyle:{width:"25%"}},[t("el-row",{staticClass:"select-row"},[t("el-col",{staticClass:"ztree-container4",staticStyle:{"overflow-y":"inherit"},attrs:{span:"24"}},[t("div",{staticClass:"treeNode"},[t("div",{staticClass:"table_title",staticStyle:{position:"relative"}},[t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"commonGroup",expression:"'commonGroup'"}]},[e._v("常用组")]),t("div",{staticStyle:{"line-height":"40px",display:"flex","justify-content":"flex-end","font-size":"var(--portalFontSize14)",position:"absolute",top:"0",right:"0"}},[t("div",{class:e.commonCurrentTreeId?"editClass":"noEditClass",on:{click:e.commonEditHandler}},[t("i",{staticClass:"el-icon-edit"})]),t("div",{class:e.commonCurrentTreeId?"editClass":"noEditClass",on:{click:e.commonDeleteHandler}},[t("i",{staticClass:"el-icon-delete"})])])]),null!==e.commomTree&&0!==e.commomTree.length?t("GiantTree",{attrs:{"ztree-id":"commomTreeGroup",nodes:e.commomTree,multiple:e.multiple,"show-icon":!1,"show-line":!1},on:{onCreated:e.onTreeCreated,onClick:e.onRootOrgTreeNodeCommClick,onCheck:e.onRootOrgTreeNodeCommCheck}}):e._e(),null===e.commomTree||0===e.commomTree.length?t("div",{staticStyle:{"text-align":"center","font-size":"var(--portalFontSize14)","padding-top":"20px",height:"380px"}},[t("span",[e._v(e._s(null===e.commomTree?e.$tx("common.loading","正在加载..."):e.$tx("common.noData","暂无数据")))])]):e._e()],1)])],1)],1)])])])])])]),e._e()],1),t("div",{staticClass:"fwAttach-container"},[t("div",{staticClass:"file_list"},[void 0!==e.fwBodyfile.id?t("el-checkbox",{attrs:{disabled:"true"},model:{value:e.fwBodyfile.needSend,callback:function(t){e.$set(e.fwBodyfile,"needSend",t)},expression:"fwBodyfile.needSend"}},[e._v(e._s(e.fwBodyfile.fileName))]):e._e()],1),e._l(e.attachments,(function(n){return t("div",{key:n.id,staticClass:"file_list"},[t("el-checkbox",{attrs:{"true-label":!0,"false-label":!1},model:{value:n.needSend,callback:function(t){e.$set(n,"needSend",t)},expression:"attach.needSend"}},[e._v(e._s(n.fileName))]),t("div",{staticStyle:{display:"flex","justify-content":"space-between",padding:"0 15px",width:"200px"}},[t("span",{staticStyle:{color:"#ab9a9a"}},[e._v(e._s(n.fileSize))]),t("span",{staticStyle:{cursor:"pointer"},on:{click:function(t){return t.stopPropagation(),e.sendFileRandHandle(n)}}},[t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"sendRange",expression:"'sendRange'"}]},[e._v("发送范围:")]),t("span",{staticStyle:{color:"#409eff"}},[e._v(e._s(n.sendCount||0)+"/"+e._s(e.limitCount||0))])])])],1)}))],2)]),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"cancel",expression:"'cancel'"}],attrs:{plain:"",icon:"el-icon-close",type:"default",disabled:e.sendDoing},on:{click:e.handleDialogClose}},[e._v("取消")]),t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"sure",expression:"'sure'"}],attrs:{icon:"el-icon-check",type:"primary",loading:e.sendDoing},on:{click:e.handleSubmitForm}},[e._v("确定")])],1)]):e._e(),t("el-dialog",{staticClass:"dialogGroupVisible",attrs:{title:e.$tx("gwgl.gwjh.commonGroupType","常用组分类"),visible:e.dialogGroupVisible,width:"600px","close-on-click-modal":!1,"before-close":e.handleClose},on:{"update:visible":function(t){e.dialogGroupVisible=t}}},[t("el-form",{ref:"commonGroupForm",attrs:{model:e.commonObj}},[t("div",{staticClass:"el-table el-table--fit el-table--border",staticStyle:{}},[t("div",{staticClass:"el-table__body-wrapper"},[t("table",{staticClass:"el-table__body",attrs:{cellspacing:"0",cellpadding:"0",border:"0"}},[t("tbody",[t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"typeName",expression:"'typeName'"}]},[e._v("分类名称")])]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"分类名称",rules:"required|max:25"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-input",{attrs:{name:"typeName",placeholder:e.$tx("gwgl.gwjh.typeNamePlaceholder","请输入分类名称")},model:{value:e.commonObj.typeName,callback:function(t){e.$set(e.commonObj,"typeName",t)},expression:"commonObj.typeName"}})],1)]}}])})],1)]),t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"orderNo",expression:"'orderNo'"}],staticClass:"field"},[e._v("分类排序")])]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"分类排序",rules:"required|integer|min:4|max:4"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-input",{attrs:{name:"orderNo",placeholder:e.$tx("gwgl.gwjh.sortCategoryPlaceholder","请输入分类排序")},model:{value:e.commonObj.orderNo,callback:function(t){e.$set(e.commonObj,"orderNo",t)},expression:"commonObj.orderNo"}})],1)]}}])})],1)])])])])])]),t("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"cancel",expression:"'cancel'"}],on:{click:function(t){e.dialogGroupVisible=!1}}},[e._v("取消")]),t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"sure",expression:"'sure'"}],attrs:{type:"primary"},on:{click:e.dialogGroupComfirm}},[e._v("确定")])],1)],1),t("FileLimitDialog",{on:{selectComfirm:e.selectComfirm}})],1)},Yn=[],jn=function(){var e=this,t=e._self._c;return t("div",[t("el-dialog",{staticClass:"dialogGroupVisible",attrs:{title:e.$tx("gwgl.gwjh.setPermissions","设置附件查阅权限"),visible:e.dialogFileLimitVisible,width:"600px","close-on-click-modal":!1,"before-close":e.handleClose},on:{"update:visible":function(t){e.dialogFileLimitVisible=t}}},[t("div",{staticClass:"select-main",staticStyle:{display:"flex","flex-direction":"column"}},[t("div",{staticStyle:{display:"flex","flex-direction":"column","justify-content":"space-around"}},[t("el-form",{staticStyle:{width:"100%"}},[t("div",{staticClass:"el-table el-table--fit el-table--border",staticStyle:{}},[t("div",{staticClass:"el-table__body-wrapper"},[t("table",{staticClass:"el-table__body",attrs:{cellspacing:"0",cellpadding:"0",border:"0"}},[t("tbody",[t("tr",[t("td",{staticStyle:{width:"23%"}},[t("el-row",{staticClass:"ztree-container-row2"},[t("el-col",{staticClass:"ztree-container1 listitem",attrs:{span:"24"}},[t("div",{staticClass:"treeNode",staticStyle:{"overflow-y":"inherit"}},[t("div",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"receiptDocuments",expression:"'receiptDocuments'"}],staticClass:"table_title",attrs:{moduleCode:"portlet"}},[e._v("部门收文")]),null!==e.selectInnerDepts&&0!==e.selectInnerDepts.length?t("GiantTree",{attrs:{"ztree-id":"selectInnerDeptsTree",nodes:e.selectInnerDepts,multiple:!0,"show-icon":!1,"show-line":!1},on:{onCreated:e.onSelectTreeCreated,onClick:e.onSelectTreeNodeClick,onCheck:e.onSelectTreeNodeCheck}}):e._e(),null===e.selectInnerDepts||0===e.selectInnerDepts.length?t("div",{staticStyle:{"text-align":"center","font-size":"var(--portalFontSize14)","padding-top":"20px"}},[t("span",[e._v(e._s(null===e.selectInnerDepts?e.$tx("common.loading","正在加载..."):e.$tx("common.noData","暂无数据")))])]):e._e()],1)])],1)],1),t("td",{staticStyle:{width:"23%"}},[t("el-row",{staticClass:"select-row",staticStyle:{height:"100%"}},[t("el-col",{staticClass:"ztree-container2",staticStyle:{"overflow-y":"inherit",height:"100%"},attrs:{span:"24"}},[t("div",{staticClass:"treeNode"},[t("div",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"externalUnits",expression:"'externalUnits'"}],staticClass:"table_title"},[e._v("外单位收文")]),null!==e.selectCorpOrgs&&0!==e.selectCorpOrgs.length?t("GiantTree",{attrs:{"ztree-id":"selectCorpOrgsTree",nodes:e.selectCorpOrgs,multiple:!0,"show-icon":!1,"show-line":!1},on:{onCreated:e.onSelectTreeCreated,onClick:e.onSelectTreeNodeClick,onCheck:e.onSelectTreeNodeCheck}}):e._e(),null===e.selectCorpOrgs||0===e.selectCorpOrgs.length?t("div",{staticStyle:{"text-align":"center","font-size":"var(--portalFontSize14)","padding-top":"20px"}},[t("span",[e._v(e._s(null===e.selectCorpOrgs?e.$tx("common.loading","正在加载..."):e.$tx("common.noData","暂无数据")))])]):e._e()],1)])],1)],1)])])])])])])],1)]),t("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"cancel",expression:"'cancel'"}],on:{click:function(t){e.dialogFileLimitVisible=!1}}},[e._v("取消")]),t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"sure",expression:"'sure'"}],attrs:{type:"primary"},on:{click:e.dialogSelectComfirm}},[e._v("确定")])],1)])],1)},Cn=[],On={components:{},props:{},data:function(){return{i18npkg:"gwgl",moduleCode:"gwjh",dialogFileLimitVisible:!1,selectInnerDepts:[],selectCorpOrgs:[],selectInnerDeptsTree:{},selectCorpOrgsTree:{},attachFile:null,selectNodes:[],multiple:!0}},computed:{},watch:{attachFile:{handler:function(e,t){if(e)if(console.log("newVal",e),e.passenger.orgCodes&&e.passenger.orgCodes.length){var n=e.passenger.orgCodes;this.treeDataAdapter("selectCorpOrgsTree",this.selectCorpOrgs,n)}else this.treeDataAdapter("selectCorpOrgsTree",this.selectCorpOrgs,"")}}},created:function(){this.$bus.on("openFileLimitDialog",this.openFileLimitDialog)},beforeDestroy:function(){this.$bus.off("openFileLimitDialog",this.openFileLimitDialog)},mounted:function(){},methods:{treeDataAdapter:function(e,t,n){console.log("code",n);for(var r=0;r<t.length;r++){var a=t[r];"selectCorpOrgsTree"===e&&(n&&-1!==n.indexOf(a.ocode)?(console.log("node",a),a.checked=!0):a.checked=!1)}console.log("treeData",t)},openFileLimitDialog:function(e,t){this.selectInnerDepts=t["innerDeptsTree"],this.selectCorpOrgs=t["corpOrgsTree"],this.attachFile=JSON.parse(JSON.stringify(e)),this.dialogFileLimitVisible=!0},onSelectTreeCreated:function(e,t){this[t]=e},onSelectTreeNodeClick:function(e,t,n){!0===n.canSelect?!0!==this.multiple||this[t].checkNode(n,null,null,!0):n.children&&n.children.length>0&&this[t].expandNode(n)},onSelectTreeNodeCheck:function(e,t,n){!0===n.canSelect?!0!==this.multiple||this[t].checkNode(n,null,null,!0):n.children&&n.children.length>0&&this[t].expandNode(n)},dialogSelectComfirm:function(){this.attachFile.passenger.orgCodes=[];var e="{}"===JSON.stringify(this.selectInnerDeptsTree)?[]:this.selectInnerDeptsTree.getCheckedNodes(),t="{}"===JSON.stringify(this.selectInnerDeptsTree)?[]:this.selectCorpOrgsTree.getCheckedNodes(),n=[];e.length&&t.forEach((function(e){n.push(e.ocode)}));var r=[];t.length?t.forEach((function(e){r.push(e.ocode)})):this.attachFile.passenger.orgCodes=[],this.attachFile.passenger.orgCodes=[].concat(r,n),this.attachFile.sendCount=t.length+e.length,this.$emit("selectComfirm",this.attachFile),this.handleClose()},handleClose:function(){this.selectNodes=[],this.selectInnerDepts=[],this.selectCorpOrgs=[],this.attachFile=null,this.dialogFileLimitVisible=!1}}},Nn=On,Pn=(n(6176),m(Nn,jn,Cn,!1,null,"7a7c7352",null)),En=Pn.exports;function Hn(e){return Hn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Hn(e)}function Fn(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Fn=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function d(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(e){d=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var o=t&&t.prototype instanceof y?t:y,i=Object.create(o.prototype),s=new j(r||[]);return a(i,"_invoke",{value:D(e,n,s)}),i}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=c;var p="suspendedStart",m="suspendedYield",f="executing",h="completed",g={};function y(){}function _(){}function v(){}var b={};d(b,i,(function(){return this}));var w=Object.getPrototypeOf,M=w&&w(w(C([])));M&&M!==n&&r.call(M,i)&&(b=M);var L=v.prototype=y.prototype=Object.create(b);function T(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function n(a,o,i,s){var l=u(e[a],e,o);if("throw"!==l.type){var d=l.arg,c=d.value;return c&&"object"==Hn(c)&&r.call(c,"__await")?t.resolve(c.__await).then((function(e){n("next",e,i,s)}),(function(e){n("throw",e,i,s)})):t.resolve(c).then((function(e){d.value=e,i(d)}),(function(e){return n("throw",e,i,s)}))}s(l.arg)}var o;a(this,"_invoke",{value:function(e,r){function a(){return new t((function(t,a){n(e,r,t,a)}))}return o=o?o.then(a,a):a()}})}function D(t,n,r){var a=p;return function(o,i){if(a===f)throw Error("Generator is already running");if(a===h){if("throw"===o)throw i;return{value:e,done:!0}}for(r.method=o,r.arg=i;;){var s=r.delegate;if(s){var l=k(s,r);if(l){if(l===g)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(a===p)throw a=h,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);a=f;var d=u(t,n,r);if("normal"===d.type){if(a=r.done?h:m,d.arg===g)continue;return{value:d.arg,done:r.done}}"throw"===d.type&&(a=h,r.method="throw",r.arg=d.arg)}}}function k(t,n){var r=n.method,a=t.iterator[r];if(a===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,k(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var o=u(a,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,g;var i=o.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,g):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function Y(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function C(t){if(t||""===t){var n=t[i];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,o=function n(){for(;++a<t.length;)if(r.call(t,a))return n.value=t[a],n.done=!1,n;return n.value=e,n.done=!0,n};return o.next=o}}throw new TypeError(Hn(t)+" is not iterable")}return _.prototype=v,a(L,"constructor",{value:v,configurable:!0}),a(v,"constructor",{value:_,configurable:!0}),_.displayName=d(v,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===_||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,d(e,l,"GeneratorFunction")),e.prototype=Object.create(L),e},t.awrap=function(e){return{__await:e}},T(x.prototype),d(x.prototype,s,(function(){return this})),t.AsyncIterator=x,t.async=function(e,n,r,a,o){void 0===o&&(o=Promise);var i=new x(c(e,n,r,a),o);return t.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},T(L),d(L,l,"Generator"),d(L,i,(function(){return this})),d(L,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=C,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(Y),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function a(r,a){return s.type="throw",s.arg=t,n.next=r,a&&(n.method="next",n.arg=e),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],s=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var l=r.call(i,"catchLoc"),d=r.call(i,"finallyLoc");if(l&&d){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!d)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&r.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),Y(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;Y(n)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:C(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}function An(e,t,n,r,a,o,i){try{var s=e[o](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)}function $n(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){An(o,r,a,i,s,"next",e)}function s(e){An(o,r,a,i,s,"throw",e)}i(void 0)}))}}function In(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function zn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?In(Object(n),!0).forEach((function(t){Rn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):In(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Rn(e,t,n){return(t=Wn(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wn(e){var t=Gn(e,"string");return"symbol"==Hn(t)?t:t+""}function Gn(e,t){if("object"!=Hn(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Hn(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var Bn={name:"SendDeptFile",directives:{"overflow-tooltip":{bind:function(e,t,n){var r=e.clientWidth<e.scrollWidth;e.dataset.overflow=r},update:function(e,t,n){var r=e.clientWidth<e.scrollWidth;e.dataset.overflow=r}}},components:{FileLimitDialog:En},props:{corpLeaders:{type:Array,default:function(){return{}}},innerDepts:{type:Array,default:function(){return{}}},wfInstance:{type:Object,default:function(){return{}}},busiData:{type:Object,default:function(){return{}}},fwBodyfile:{type:Object,default:function(){return{}}},corpOrgs:{type:Array,default:function(){return{}}},commomTree:{type:Array,default:function(){return{}}},fwAttachs:{type:Array,default:function(){return[]}}},data:function(){return{i18npkg:"gwgl",moduleCode:"gwjh",dialogFormVisible:!0,dialogGroupVisible:!1,loading:!1,winTitle:this.$tx("gwgl.gwjh.winTitle2","发送文件"),corpLeadersTree:{},innerDeptsTree:{},attachments:[],multiple:!0,sendToList:{corpLeadersTree:[],innerDeptsTree:[],corpOrgsTree:[],commomTreeGroup:[]},sendDoing:!1,areaNodeTreeData:[],rootOrgTreeData:[],rootOrgTreeDataBak:[],corpOrgschushi:[],searchkey:"",commonObj:{},commonCurrentTreeId:"",commonCurrentTreeArr:[],handlerTreeType:!1,showWorkMore:!1,showMoreNum:0,changeType:"",allSendToList:[],limitCount:0}},computed:zn({},re(["loginUser"])),watch:{fwBodyfile:function(){void 0!==this.fwBodyfile.id&&(this.loading=!1)},fwAttachs:function(){this.attachments=JSON.parse(JSON.stringify(this.fwAttachs))},corpLeaders:function(){this.treeDataAdapter("corpLeadersTree",this.corpLeaders)},innerDepts:function(){this.treeDataAdapter("innerDeptsTree",this.innerDepts)},corpOrgs:function(){this.treeDataAdapter("corpOrgsTree",this.corpOrgs),this.rootOrgTreeDataBak=JSON.parse(JSON.stringify(this.corpOrgs))},commomTree:function(){this.treeDataAdapter("commomTreeGroup",this.commomTree)},"sendToList.commomTreeGroup":{handler:function(e,t){}},sendToList:{handler:function(e,t){var n=this,r=e.innerDeptsTree,a=e.corpOrgsTree;if(r.length){var o=[];a.forEach((function(e){o.push(e.ocode)}))}if(a.length){var i=[];a.forEach((function(e){i.push(e.ocode)}))}this.limitCount=r.length+a.length,this.fwAttachs.forEach((function(e){e.sendCount=n.limitCount,e.passenger.orgCodes=[].concat(i,o)})),this.attachments=JSON.parse(JSON.stringify(this.fwAttachs)),this.$forceUpdate()},deep:!0}},created:function(){var e=this;setTimeout((function(){e.corpOrgschushi=JSON.parse(JSON.stringify(e.corpOrgs))}),1e3)},beforeDestroy:function(){},mounted:function(){this.loading=!1},methods:{selectComfirm:function(e){console.log("list ====",e),console.log("this.attachments ====",this.attachments),this.attachments.forEach((function(t){t.id===e.id&&(t.sendCount=e.sendCount,t.passenger.orgCodes=e.passenger.orgCodes)}))},isShowToltip:function(e,t,n){var r=this.textRange(e.target);n.isShow=r,this.$forceUpdate()},textRange:function(e){var t=e,n=t.getBoundingClientRect().width,r=document.createRange();r.setStart(t,0),r.setEnd(t,t.childNodes.length);var a=r.getBoundingClientRect().width;return a>n},searchTreeNode:function(){var e=this;console.log("searchkey",this.searchkey);var t=JSON.parse(JSON.stringify(this.rootOrgTreeDataBak)),n={};this.sendToList["corpOrgsTree"].forEach((function(e){n[e.id]=e.id})),this.corpOrgs=[],""===this.searchkey&&(this.corpOrgs=this.corpOrgschushi),t.forEach((function(t){-1!==t.fullName.indexOf(e.searchkey)&&""!==e.searchkey&&(void 0!==n[t.id]&&(t.checked=!0),e.corpOrgs.push(t))}))},onTreeCreated:function(e,t){this[t]=e},treeDataAdapter:function(e,t){this.sendToList[e]=[];for(var n=0;n<t.length;n++){var r=t[n];if("innerDeptsTree"===e){var a="2,3".split(",");r.nodeTreeType="innerDeptsTree",r.pId=r.parentId,r.title=r.orgFullName,-1!==r.title.indexOf("-")&&(r.title=r.title.substring(r.title.indexOf("-")+1)),r.orgLevel>a[a.length-1]||1!==r.isRealOrg?t.splice(n--,1):-1!==a.join(",").indexOf(r.orgLevel)&&(r.canSelect=!0)}else if("corpLeadersTree"===e)r.personId?(r.nodeTreeType="corpLeadersTree",r.pId=r.orgId,r.title=r.positionName+"/"+r.name,r.canSelect=!0):(r.nodeTreeType="corpLeadersTree",r.pId=r.parentID,r.name=r.nName,r.title=r.fullName,-1!==r.title.indexOf("-")&&(r.title=r.title.substring(r.title.indexOf("-")+1)),0===n&&(r.open=!0),r.canSelect=!1);else if("corpOrgsTree"===e){var o="1,2,3,4".split(",");r.nodeTreeType="corpOrgsTree",r.pId=r.parentId,r.name=r.nName,r.title=r.name,-1!==r.title.indexOf("-")&&(r.title=r.title.substring(r.title.indexOf("-")+1)),r.olevel<1||-1!==o.join(",").indexOf(r.olevel)&&(r.canSelect=!0)}else"commomTreeGroup"===e&&(r.nodeTreeType=r.type,r.pId=r.parentId?r.parentId:"0",r.title=r.commonName?r.commonName:r.typeName,r.name=r.commonName?r.commonName:r.typeName,r.parentId&&(r.canSelect=!0))}return t},onTreeNodeClick:function(e,t,n){!0===n.canSelect?!0!==this.multiple?this.sendToList[t]=[n]:this[t].checkNode(n,null,null,!0):n.children&&n.children.length>0&&this[t].expandNode(n)},onTreeNodeCheck:function(e,t,n){this.sendToList[t]=this[t].getCheckedNodes();for(var r=0;r<this.sendToList[t].length;r++)this.sendToList[t][r].canSelect||this.sendToList[t].splice(r--,1)},onRootOrgTreeNodeCommClick:function(e,t,n){n.canSelect||(this.commonCurrentTreeId=n.id,this.commonCurrentTreeArr=n.children),!0===n.canSelect?!0!==this.multiple?this.sendToList[t]=[n]:this[t].checkNode(n,null,null,!0):n.children&&n.children.length>0&&this[t].expandNode(n)},onRootOrgTreeNodeCommCheck:function(e,t,n){this.sendToList[t]=this[t].getCheckedNodes();for(var r=0;r<this.sendToList[t].length;r++)this.sendToList[t][r].canSelect||this.sendToList[t].splice(r--,1);this.sendToArrayList(n)},sendToArrayList:function(e){var t=this,n=e.checked,r=[].concat(this.sendToList.corpLeadersTree,this.sendToList.corpOrgsTree,this.sendToList.innerDeptsTree);if(n)if(e.children){var a=e.children.filter((function(e){return r.every((function(t){return t.id!==e.commonId}))}));a.forEach((function(e){var n=t[e.nodeTreeType].getNodeByParam("id",e.commonId,null);t.sendToList[e.nodeTreeType].push(n),t[e.nodeTreeType].checkNode(n,null,null,!0)}))}else{var o=this[e.nodeTreeType].getNodeByParam("id",e.commonId,null);this.sendToList[e.nodeTreeType].push(o),this[e.nodeTreeType].checkNode(o,null,null,!0)}else if(e.children){var i=e.children.filter((function(e){return r.some((function(t){return t.id===e.commonId}))}));i.forEach((function(e){var n=t[e.nodeTreeType].getNodeByParam("id",e.commonId,null);t.sendToList[e.nodeTreeType]=t.sendToList[e.nodeTreeType].filter((function(e){return e.id!==n.id})),t[e.nodeTreeType].checkNode(n,!1,!0,!1)}))}else{var s=this[e.nodeTreeType].getNodeByParam("id",e.commonId,null);this.sendToList[e.nodeTreeType]=this.sendToList[e.nodeTreeType].filter((function(e){return e.id!==s.id})),this[e.nodeTreeType].checkNode(s,!1,!0,!1)}},handleSelectAll:function(e,t){if(this[e].checkAllNodes(t),t){this.sendToList[e]=this[e].getCheckedNodes();for(var n=0;n<this.sendToList[e].length;n++)this.sendToList[e][n].canSelect||this.sendToList[e].splice(n--,1)}else this.sendToList[e]=[]},removeSelectedNode:function(e,t){var n=this[t].getNodeByParam("id",this.sendToList[t][e].id,null);console.log("node",n),null!=n&&this[t].checkNode(n,!1,!0,!1),this.sendToList[t].splice(e,1);var r=this["commomTreeGroup"].getNodeByParam("commonId",n.id,null);null!=r&&(console.log("node1",r),this["commomTreeGroup"].checkNode(r,!1,!0,!1))},handleSubmitForm:function(){var e=this,t=this;this.sendToList["corpLeadersTree"]&&0!==this.sendToList["corpLeadersTree"].length||this.sendToList["innerDeptsTree"]&&0!==this.sendToList["innerDeptsTree"].length||this.sendToList["corpOrgsTree"]&&0!==this.sendToList["corpOrgsTree"].length?this.$confirm(this.$tx("gwgl.messages.sendFileConfirm","您是否确认立即发送文件?"),this.$tx("common.confirmOperate","确认操作"),{type:"warning"}).then($n(Fn().mark((function n(){var r,a;return Fn().wrap((function(n){while(1)switch(n.prev=n.next){case 0:e.sendDoing=!0,r=[],null!=t.fwBodyfile&&r.push(t.fwBodyfile),t.attachments.forEach((function(e){e.needSend&&r.push(e)})),a="/wflow?wfEngineUrl="+(e.$route.query.wfEngineUrl||"workflow/wfInstance"),console.log(t.sendToList,"_this.sendToList"),console.log(r,"attachs"),e.$http({method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"},params:{openUrl:a,fwOrgId:t.wfInstance.createOrgId.split("-")[1]},data:yt().stringify({fwBusiData:JSON.stringify(t.busiData),corpLeaders:JSON.stringify(t.sendToList["corpLeadersTree"]),innerDepts:JSON.stringify(t.sendToList["innerDeptsTree"]),corpOrgs:JSON.stringify(t.sendToList["corpOrgsTree"]),fwAttachs:JSON.stringify(r)}),url:"/gwjh/sendFile/startSendFile"}).then((function(n){if("success"===n.code){var r=e.$vnode.context.$vnode.context;t.busiData.flBeenSend=1,t.busiData.flSenderAccount=e.loginUser.personAccount;var a=!1,o="";r.commandBar.forEach((function(e){"btnViewSendlogClick"!==e.btnCode&&"发送跟踪"!==e.btnName||(a=!0),""===o&&e.btnName&&-1!==e.btnName.indexOf("发送")&&(null!=e.btnGroupId?o=e.btnGroupId:2===e.btnType&&(o=e.id))})),a||""===o||r.commandBar.push({btnAlign:1,btnCode:"btnViewSendlogClick",btnGroupId:o,btnIcon:null,btnClick:function(){e.$bus.emit("btnViewSendlogClick",r)},btnName:"发送跟踪",btnOrderNo:"70",btnShow:1,btnType:"3",visitType:0}),e.$message({type:"success",message:e.$tx("gwgl.gwjh.sendSuccess","发送成功"),showClose:!0}),e.sendDoing=!1}else e.$alert(n.message,e.$tx("common.operationTip","操作提示"),{type:"error"}),e.sendDoing=!1;t.handleDialogClose()}));case 8:case"end":return n.stop()}}),n)})))):this.$alert(this.$tx("gwgl.messages.toListAlert","请选择阅文领导、收文部门、单位发文。"),this.$tx("common.operationTip","操作提示"),{type:"warning"})},handleSubmitForm1:function(){var e=this,t=this;this.sendToList["corpLeadersTree"]&&0!==this.sendToList["corpLeadersTree"].length||this.sendToList["innerDeptsTree"]&&0!==this.sendToList["innerDeptsTree"].length||this.sendToList["corpOrgsTree"]&&0!==this.sendToList["corpOrgsTree"].length?this.$confirm(this.$tx("gwgl.messages.sendFileConfirm","您是否确认立即发送文件?"),this.$tx("common.confirmOperate","确认操作"),{type:"warning"}).then($n(Fn().mark((function n(){var r,a,o,i,s;return Fn().wrap((function(n){while(1)switch(n.prev=n.next){case 0:e.sendDoing=!0,r=[],null!=t.fwBodyfile&&r.push(t.fwBodyfile),t.attachments.forEach((function(e){e.needSend&&r.push(e)})),a="/wflow?wfEngineUrl="+(e.$route.query.wfEngineUrl||"workflow/wfInstance"),o=[],(e.sendToList["corpLeadersTree"].length||e.sendToList["innerDeptsTree"].length)&&(i=t.handlerStartSendDeptFile(t,a,r),o.push(i)),e.sendToList["corpOrgsTree"].length&&(s=t.handlerStartSendCommonCorpFile(a,t.sendToList["corpOrgsTree"],r),o.push(s)),Promise.all(o).then((function(e){t.sendDoing=!1,t.$message({type:"success",message:t.$tx("gwgl.gwjh.sendSuccess","发送成功"),showClose:!0}),t.handleDialogClose(),setTimeout((function(){location.reload()}),1e3)})).catch((function(n){e.sendDoing=!1,t.$alert(n.message,t.$tx("common.confirmOperate","确认操作"),{type:"error",dangerouslyUseHTMLString:!0})}));case 9:case"end":return n.stop()}}),n)})))).catch((function(e){"cancel"!==e&&console.error(e)})):this.$alert(this.$tx("gwgl.messages.toListAlert","请选择阅文领导、收文部门、单位发文。"),this.$tx("common.operationTip","操作提示"),{type:"warning"})},handlerStartSendDeptFile:function(e,t,n){var r=this,a=new Promise((function(a,o){r.$http({method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"},params:{openUrl:t,fwOrgId:e.wfInstance.createOrgId.split("-")[1]},data:yt().stringify({fwBusiData:JSON.stringify(e.busiData),corpLeaders:JSON.stringify(e.sendToList["corpLeadersTree"]),innerDepts:JSON.stringify(e.sendToList["innerDeptsTree"]),fwAttachs:JSON.stringify(n)}),url:"gwjh/sendFile/startSendDeptFile"}).then((function(e){"success"===e.code?a(e):o(e)}))}));return a},handlerStartSendCommonCorpFile:function(e,t,n){var r=this;t.forEach((function(e){e.level=e.orgLevel}));var a=new Promise((function(a,o){var i=r;r.$http({method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"},params:{openUrl:e,fwOrgId:i.wfInstance.createOrgId.split("-")[1]},data:yt().stringify({fwBusiData:JSON.stringify(i.busiData),orgOrganizationList:JSON.stringify(t),fwAttachs:JSON.stringify(n)}),url:"/gwjh/sendFile/startSendCorpFile"}).then((function(e){"success"===e.code?a(e):o(e)}))}));return a},handleEndWfInstance:function(){var e=this;this.$http({contentType:"application/x-www-form-urlencoded",url:"/gwjh/sendFile/endFawenWfInstance",method:"POST",params:{busiDataId:e.wfInstance.busiDataId}}).then((function(t){"success"===t.code?(e.handleDialogClose(),e.$message({type:t.code,message:e.$tx("gwgl.gwjh.sendSuccess","发送成功"),duration:2500,showClose:!0,onClose:function(){window.close()}})):e.$alert(t.message,e.$tx("common.confirmOperate","确认操作"),{type:"error"})}))},sendFileRandHandle:function(e){this.limitCount<=0?this.$message({message:this.$tx("gwgl.messages.fileRandMsg","请选择部门或单位。"),type:"warning"}):this.$bus.emit("openFileLimitDialog",e,this.sendToList)},addCommonGroupClick:function(){if(this.sendToList.corpLeadersTree.length||this.sendToList.corpOrgsTree.length||this.sendToList.innerDeptsTree.length){var e=this;e.handlerTreeType=!1,this.addNewCommon().then((function(t){if("success"===t.code){if(e.commonObj=t.body.vo,e.commonObj.passenger.commonGroupInfoList=[],!e.commonObj.createrId){e.commonObj.createrId=e.loginUser.personId,e.commonObj.creater=e.loginUser.personName,e.commonObj.status=1;var n=[].concat(e.sendToList.corpLeadersTree,e.sendToList.corpOrgsTree,e.sendToList.innerDeptsTree),r=[];n.forEach((function(t){var n={};n.commonName=t.fullName||t.commonName||t.name,n.commonId=t.commonId||t.id||t.fullID,n.parentId=e.commonObj.id,n.createrId=e.loginUser.personId,n.creater=e.loginUser.personName,n.type=t.commonId?t.type:t.nodeTreeType,r.push(n)})),e.commonObj.passenger.commonGroupInfoList=r}e.dialogGroupVisible=!0}}))}else this.$message({message:this.$tx("gwgl.messages.addCommonGroupClickMsg","请选择需要设未常用组的数据。"),type:"warning"})},dialogGroupComfirm:function(){var e=this,t=this;this.$refs.commonGroupForm.formValidate((function(){var n="insert";n=e.handlerTreeType?"update":"insert",e.confirmGroup(n).then((function(n){"success"===n.code&&(t.dialogGroupVisible=!1,t.commonObj={},e.$message.success(n.message),t.getSendCommmoDataList())}))}),null,1)},addNewCommon:function(){var e=this;return new Promise((function(t,n){e.$http({contentType:"application/x-www-form-urlencoded",url:"/gwgl/commonGroup/addNew",method:"POST"}).then((function(e){t(e)}))}))},confirmGroup:function(e){var t=this,n=this;return new Promise((function(r,a){t.$http({contentType:"application/x-www-form-urlencoded",url:"insert"===e?"/gwgl/commonGroup/insert":"/gwgl/commonGroup/update",method:"insert"===e?"POST":"PUT",data:n.commonObj}).then((function(e){r(e)}))}))},commonEditHandler:function(){var e=this;this.commonCurrentTreeId&&this.$http({contentType:"application/x-www-form-urlencoded",url:"/gwgl/commonGroup/getById",method:"GET",params:{id:this.commonCurrentTreeId}}).then((function(t){"success"===t.code&&(e.commonObj=t.body.vo,e.handlerTreeType=!0,e.dialogGroupVisible=!0)}))},commonDeleteHandler:function(){var e=this;this.commonCurrentTreeId&&e.commonCurrentTreeId&&this.$confirm(e.$tx("gwgl.messages.delGroupConfirm","确认删除删除该常用组?"),e.$tx("gwgl.common.operatedTip"),{confirmButtonText:e.$tx("pageBtns.sure","确 定"),cancelButtonText:e.$tx("pageBtns.cancel","取 消"),type:"warning"}).then((function(){e.$http({contentType:"application/x-www-form-urlencoded",url:"/gwgl/commonGroup/delete",method:"DELETE",params:{ids:e.commonCurrentTreeId}}).then((function(t){"success"===t.code&&(e.$message({message:t.message,type:"success"}),e.getSendCommmoDataList())}))})).catch((function(){}))},getSendCommmoDataList:function(e){var t=this;t.commomTree=[],this.$parent.getCommonGroup().then((function(e){var n=e.body.listdata;n.length>0?(n.forEach((function(e){t.commomTree.push(e);var r=e.passenger.commonGroupInfoList;n.length>0&&(t.commomTree=t.commomTree.concat(r))})),t.commomTree.forEach((function(e){e.orderNo=e.orderNo?e.orderNo:9999}))):t.commomTree=[]}))},handleDialogClose:function(){this.$vnode.context.dialogFormVisible=!1,this.$vnode.context.fwBodyfile={},this.$vnode.context.fwAttachs=[]}}},Un=Bn,qn=(n(8275),m(Un,Sn,Yn,!1,null,"6ab65eb9",null)),Vn=qn.exports;function Jn(e){return Jn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Jn(e)}function Kn(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Kn=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function d(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(e){d=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var o=t&&t.prototype instanceof y?t:y,i=Object.create(o.prototype),s=new j(r||[]);return a(i,"_invoke",{value:D(e,n,s)}),i}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=c;var p="suspendedStart",m="suspendedYield",f="executing",h="completed",g={};function y(){}function _(){}function v(){}var b={};d(b,i,(function(){return this}));var w=Object.getPrototypeOf,M=w&&w(w(C([])));M&&M!==n&&r.call(M,i)&&(b=M);var L=v.prototype=y.prototype=Object.create(b);function T(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function n(a,o,i,s){var l=u(e[a],e,o);if("throw"!==l.type){var d=l.arg,c=d.value;return c&&"object"==Jn(c)&&r.call(c,"__await")?t.resolve(c.__await).then((function(e){n("next",e,i,s)}),(function(e){n("throw",e,i,s)})):t.resolve(c).then((function(e){d.value=e,i(d)}),(function(e){return n("throw",e,i,s)}))}s(l.arg)}var o;a(this,"_invoke",{value:function(e,r){function a(){return new t((function(t,a){n(e,r,t,a)}))}return o=o?o.then(a,a):a()}})}function D(t,n,r){var a=p;return function(o,i){if(a===f)throw Error("Generator is already running");if(a===h){if("throw"===o)throw i;return{value:e,done:!0}}for(r.method=o,r.arg=i;;){var s=r.delegate;if(s){var l=k(s,r);if(l){if(l===g)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(a===p)throw a=h,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);a=f;var d=u(t,n,r);if("normal"===d.type){if(a=r.done?h:m,d.arg===g)continue;return{value:d.arg,done:r.done}}"throw"===d.type&&(a=h,r.method="throw",r.arg=d.arg)}}}function k(t,n){var r=n.method,a=t.iterator[r];if(a===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,k(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var o=u(a,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,g;var i=o.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,g):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function Y(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function C(t){if(t||""===t){var n=t[i];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,o=function n(){for(;++a<t.length;)if(r.call(t,a))return n.value=t[a],n.done=!1,n;return n.value=e,n.done=!0,n};return o.next=o}}throw new TypeError(Jn(t)+" is not iterable")}return _.prototype=v,a(L,"constructor",{value:v,configurable:!0}),a(v,"constructor",{value:_,configurable:!0}),_.displayName=d(v,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===_||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,d(e,l,"GeneratorFunction")),e.prototype=Object.create(L),e},t.awrap=function(e){return{__await:e}},T(x.prototype),d(x.prototype,s,(function(){return this})),t.AsyncIterator=x,t.async=function(e,n,r,a,o){void 0===o&&(o=Promise);var i=new x(c(e,n,r,a),o);return t.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},T(L),d(L,l,"Generator"),d(L,i,(function(){return this})),d(L,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=C,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(Y),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function a(r,a){return s.type="throw",s.arg=t,n.next=r,a&&(n.method="next",n.arg=e),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],s=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var l=r.call(i,"catchLoc"),d=r.call(i,"finallyLoc");if(l&&d){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!d)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&r.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),Y(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;Y(n)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:C(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}function Qn(e,t,n,r,a,o,i){try{var s=e[o](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)}function Zn(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){Qn(o,r,a,i,s,"next",e)}function s(e){Qn(o,r,a,i,s,"throw",e)}i(void 0)}))}}function Xn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function er(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Xn(Object(n),!0).forEach((function(t){tr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function tr(e,t,n){return(t=nr(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nr(e){var t=rr(e,"string");return"symbol"==Jn(t)?t:t+""}function rr(e,t){if("object"!=Jn(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Jn(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var ar={name:"GwjhFile",components:{SendDeptFile:qt,SendCorpFile:dn,SendlogList:wn,ReceiptFile:kn,SendGroupFile:Vn},props:{},data:function(){return{i18npkg:"gwgl",moduleCode:"gwjh",dialogFormVisible:!1,sendType:"",sendArea:"",wfInstance:{},busiData:{},fwAttachs:[],fwBodyfile:{},corpLeaders:[],innerDepts:[],treeNodes:[],commomTree:[],corpOrgs:null,gwjhOrgs:null}},computed:er({},re(["loginUser"])),watch:{},created:function(){this.$bus.on("btnSendFileClick",this.btnSendFileClick)},beforeDestroy:function(){this.$bus.off("btnSendFileClick",this.btnSendFileClick)},mounted:function(){},methods:{btnSendFileClick:function(e,t,n){var r=this;if(!0!==this.dialogFormVisible){new Promise((function(t,n){1===e.vo.flBeenSend?r.$confirm(r.$tx("gwgl.messages.continueConfirm","文件已发送,是否继续本次发送?"),r.$tx("common.confirmOperate","确认操作"),{type:"warning"}).then(Zn(Kn().mark((function e(){return Kn().wrap((function(e){while(1)switch(e.prev=e.next){case 0:t(!0);case 1:case"end":return e.stop()}}),e)})))).catch((function(e){"cancel"!==e&&console.error(e),n(e)})):t(!0)})).then((function(a){a&&e.formValidate((function(){if(r.wfInstance=e.wfInstance,r.busiData=e.vo,null!=e.bodyfile&&void 0!==e.bodyfile.id){for(var a=0;a<e.attachments.length;a++){var o=e.attachments[a];if("ATTACH"===o.fileType&&void 0===o.id)return void e.$alert(r.$tx("gwgl.messages.noSaveAlert","公文附件有更新,请先执行“保存”操作后再发送!"),r.$tx("common.operationTip","操作提示"),{type:"warning"})}r.sendType=t,r.sendArea=n,r.dialogFormVisible=!0,r.$nextTick((function(){"all"===r.sendType?(r.getFwBodyfile(e),r.getSendFileInfoAll(e)):(r.getFwBodyfile(e),r.getSendFileInfo(e))}))}else e.$alert(r.$tx("gwgl.messages.noZwFile","没有正文文件,不能发送。"),r.$tx("common.operationTip","操作提示"),{type:"warning"})}))}))}},getFwBodyfile:function(e){var t=this;if(e.attachments.forEach((function(e){"ATTACH"===e.fileType&&void 0!==e.id&&(e.needSend=!0,e.sendCount=0,t.fwAttachs.push(JSON.parse(JSON.stringify(e))))})),null!=e.bodyfile){if(".pdf"===e.bodyfile.fileName.substring(e.bodyfile.fileName.lastIndexOf(".")).toLowerCase())this.fwBodyfile=e.bodyfile;else for(var n=e.bodyfile.originalName.substring(0,e.bodyfile.originalName.lastIndexOf(".")),r=0;r<e.attachments.length;r++)if(e.attachments[r].id!==e.bodyfile.id&&e.attachments[r].originalName===n+".pdf"){this.fwBodyfile=e.attachments[r];break}null!=this.fwBodyfile&&void 0!==this.fwBodyfile.id||(this.fwBodyfile=e.bodyfile),this.fwBodyfile.needSend=!0,console.log("fwBodyfile",this.fwBodyfile)}},getSendFileInfo:function(e){var t=this;e.$http({method:"GET",contentType:"application/x-www-form-urlencoded",params:{sendType:"dept",fwOrgId:this.wfInstance.createOrgId.split("-")[0],sendArea:this.sendArea,busiType:e.wfInstance.module},url:"gwjh/sendFile/getSendFileInfo"}).then((function(n){"success"===n.code?(t.corpLeaders=n.body.corpLeaders,t.innerDepts=n.body.innerDepts,t.gwjhOrgs=n.body.gwjhOrgs,t.treeNodes=n.body.treeNodes,t.gwjhOrgs&&(t.gwjhOrgs=t.gwjhOrgs.filter((function(e){if(!e.ocode||e.ocode&&"plat"!==e.ocode)return!0})))):e.$alert(n.message,e.$tx("common.operationTip","操作提示"),{type:"error"})})),e.$http({method:"GET",contentType:"application/x-www-form-urlencoded",params:{sendType:"corp",fwOrgId:this.wfInstance.createOrgId.split("-")[0],sendArea:this.sendArea,busiType:e.wfInstance.module},url:"gwjh/sendFile/getSendFileInfo"}).then((function(n){"success"===n.code?(t.corpOrgs=n.body.corpOrgs,t.corpOrgs&&(t.corpOrgs=t.corpOrgs.filter((function(e){if(!e.ocode||e.ocode&&"plat"!==e.ocode)return!0})))):e.$alert(n.message,e.$tx("common.operationTip","操作提示"),{type:"error"})}))},getSendFileInfoAll:function(e){var t=this;t.corpLeaders=[],t.innerDepts=[],t.corpOrgs=[],t.commomTree=[],this.getCommonGroup().then((function(n){"success"===n.code?e.$http({method:"get",contentType:"application/x-www-form-urlencoded",url:"gwjh/sendFile/getSendFileInfo",params:{sendType:"deptAndCorp",fwOrgId:t.wfInstance.createOrgId.split("-")[0],busiType:"fawen",sendArea:t.sendArea}}).then((function(r){if("success"===r.code){t.corpLeaders=r.body.corpLeaders||[],t.innerDepts=r.body.innerDepts||[],t.corpOrgs=r.body.corpOrgs||[],t.corpOrgs.length&&t.corpOrgs.forEach((function(e){e.fullID.indexOf("-")?e.id=e.fullID.split("-")[e.fullID.split("-").length-1]:e.id=e.fullID,e.parentId=e.parentID?e.parentID:null}));var a=n.body.listdata;a.length>0?(a.forEach((function(e){t.commomTree.push(e);var n=e.passenger.commonGroupInfoList;a.length>0&&(t.commomTree=t.commomTree.concat(n))})),t.commomTree.forEach((function(e){e.orderNo=e.orderNo?e.orderNo:9999}))):t.commomTree=[]}else e.$alert(r.message,e.$tx("common.operationTip","操作提示"),{type:"error"})})):e.$alert(res.message,e.$tx("common.operationTip","操作提示"),{type:"error"})}))},getCommonGroup:function(){var e=this;return new Promise((function(t,n){e.$http({method:"POST",contentType:"application/x-www-form-urlencoded",url:"gwgl/commonGroup/querydata",params:{orderBy:"orderNo asc"},data:[{compare:"=",field:"orgCode",merge:!0,value:e.loginUser.orgCode},{compare:"=",field:"createrId",merge:!0,value:e.loginUser.personId},{compare:"=",field:"status",merge:!0,value:1}]}).then((function(e){t(e)}))}))}}},or=ar,ir=m(or,Ct,Ot,!1,null,"242a0972",null),sr=ir.exports,lr=function(){var e=this,t=e._self._c;return t("LRLayout",[t("LeftPanel",[t("GiantTree",{attrs:{nodes:e.treeData},on:{onCreated:e.onTreeCreated,onClick:e.onTreeNodeClick}})],1),t("RightPanel",[t("orgOrganization",{attrs:{vo:e.orgOrganization,"z-tree":e.zTree,"is-click":e.isClick,"node-name":e.nodeName}})],1)],1)},dr=[],cr=function(){var e=this,t=e._self._c;return t("div",[t("PageContent",{attrs:{title:e.title}},[null!==e.vo&&e.isClick&&0!==e.vo.gwjhLevel?t("orgOrganizationForm",{ref:"orgOrganizationForm",attrs:{vo:e.vo,"can-edit":0}}):e._e(),null!==e.vo?t("div",{attrs:{slot:"footer"},slot:"footer"},[""!==e.nodeName&&e.vo&&e.vo.gwjhLevel<2?t("el-button",{attrs:{plain:"",icon:"el-icon-plus"},on:{click:e.addObject}},[e._v(e._s(0===e.vo.gwjhLevel?e.$tx("gwgl.pageBtns.addCommonGroup","添加常用组"):e.$tx("gwgl.pageBtns.addChildCommonGroup","添加子常用组")))]):e._e(),null!==e.vo&&0!==e.vo.gwjhLevel?t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"changeCommonGroup",expression:"'changeCommonGroup'"}],attrs:{plain:"",icon:"el-icon-edit"},on:{click:function(t){return e.editObject(e.vo)}}},[e._v("修改常用组")]):e._e(),null!==e.vo&&0!==e.vo.gwjhLevel?t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"delCommonGroup",expression:"'delCommonGroup'"}],attrs:{plain:"",icon:"el-icon-close"},on:{click:function(t){return e.deleteObject(e.vo)}}},[e._v("删除常用组")]):e._e()],1):t("div",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"noAddManageCommonGroup",expression:"'noAddManageCommonGroup'"}],attrs:{slot:"footer",moduleCode:"gwjh"},slot:"footer"},[e._v("暂未添加管理常用组")])],1),t("Basicform",{attrs:{title:e.title,"win-width":e.moduleInfo.winWidth,"win-height":e.moduleInfo.winHeight,"on-basic-form-before-open":e.onBasicFormBeforeOpen,"on-basic-form-opened":e.onBasicFormOpened,"on-basic-form-before-submit":e.onBasicFormBeforeSubmit,"on-basic-form-submited":e.onBasicFormSubmited},scopedSlots:e._u([{key:"default",fn:function(n){return[t("orgOrganizationForm",{ref:"voForm",attrs:{vo:n.vo,"can-edit":n.canEdit,"module-info":e.moduleInfo}})]}}])})],1)},ur=[],pr=function(){var e=this,t=e._self._c;return t("el-form",{ref:"commonObj",attrs:{model:e.vo}},[t("div",{staticClass:"el-table el-table--fit el-table--border",staticStyle:{width:"100%"}},[t("div",{staticClass:"el-table__body-wrapper"},[t("table",{staticClass:"el-table__body",attrs:{cellspacing:"0",cellpadding:"0",border:"0"}},[t("tbody",[t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"typeName",expression:"'typeName'"}]},[e._v("分类名称")])]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[1===e.canEdit?t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"分类名称",rules:"required|max:25"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-input",{attrs:{name:"typeName",placeholder:e.$tx("gwgl.gwjh.typeNamePlaceholder","请输入分类名称")},model:{value:e.vo.typeName,callback:function(t){e.$set(e.vo,"typeName",t)},expression:"vo.typeName"}})],1)]}}],null,!1,2783147071)}):e._e(),1!==e.canEdit?t("div",{domProps:{innerHTML:e._s(e.vo.typeName)}}):e._e()],1)]),t("tr",[t("td",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"leaders",expression:"'leaders'"}],staticClass:"el-table__cell tdlbl tdw17"},[e._v("领导阅文")]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[1===e.canEdit?t("form-item",{ref:"leaders",attrs:{field:{defaultValue:null,elementCanEdit:"{${canEdit}}",elementCssHeight:null,elementCssWidth:null,elementFormatter:null,elementReadonly:1,elementType:"input",emptyMessage:e.$tx("gwgl.gwjh.leadershipReadingEmptyMessage","请选择领导阅文"),errorMessage:null,formTdAlign:"text-left",formTdColspan:0,isRequired:0,onClickEvent:null,passenger:{},propComment:"",propName:"leaders",propType:"String",textFormatter:"textfield",valueMaxLength:null,valueMinLength:null,model:"vo.leaders",option:[],dialog:1,dialogType:"staff",dialogOrgLevel:"",dialogSubOrgName:"市局领导",dialogShowemail:!1,dialogMultiple:!0,dialogRootOrgCode:e.orgCode},vo:e.corpLeadersTreeObj,"can-edit":e.canEdit}}):e._e(),1!==e.canEdit?t("div",e._l(e.corpLeadersTree,(function(n,r){return t("span",{key:n.id},[e._v(" "+e._s(n.commonName)+" "),r!==e.corpLeadersTree.length-1?t("span",[e._v("、")]):e._e()])})),0):e._e()],1)]),t("tr",[t("td",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"depts",expression:"'depts'"}],staticClass:"el-table__cell tdlbl tdw17"},[e._v("部门收文")]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[1===e.canEdit?t("el-input",{directives:[{name:"select-dialog",rawName:"v-select-dialog",value:"suborg",expression:"'suborg'"}],attrs:{multiple:"true",placeholder:e.$tx("gwgl.gwjh.deptsPlaceholder","部门收文"),name:"depts"},model:{value:e.corpLeadersTreeObj.depts,callback:function(t){e.$set(e.corpLeadersTreeObj,"depts",t)},expression:"corpLeadersTreeObj.depts"}}):e._e(),1!==e.canEdit?t("div",e._l(e.innerDeptsTree,(function(n,r){return t("span",{key:n.id},[e._v(" "+e._s(n.commonName)+" "),r!==e.innerDeptsTree.length-1?t("span",[e._v("、")]):e._e()])})),0):e._e()],1)]),t("tr",[t("td",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"fenju",expression:"'fenju'"}],staticClass:"el-table__cell tdlbl tdw17"},[e._v("单位收文")]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[1===e.canEdit?t("el-input",{directives:[{name:"select-dialog",rawName:"v-select-dialog",value:"allOrg",expression:"'allOrg'"}],attrs:{"value-ids-field":"corpLeadersTreeObj.fenjuId","old-value":e.corpLeadersTreeObj.fenjuId,multiple:"true",placeholder:e.$tx("gwgl.gwjh.subReceivedDocumentsPlaceholder"),name:"fenju"},model:{value:e.corpLeadersTreeObj.fenju,callback:function(t){e.$set(e.corpLeadersTreeObj,"fenju",t)},expression:"corpLeadersTreeObj.fenju"}}):e._e(),1!==e.canEdit?t("div",e._l(e.corpOrgsTree,(function(n,r){return t("span",{key:n.id},[e._v(" "+e._s(n.commonName)+" "),r!==e.corpOrgsTree.length-1?t("span",[e._v("、")]):e._e()])})),0):e._e()],1)]),t("tr",[t("td",{ref:"tdlbl_备注",staticClass:"el-table__cell tdlbl tdw17",attrs:{colspan:"1"}},[t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"remark",expression:"'remark'"}],staticClass:"field"},[e._v("备注")])]),t("td",{staticClass:"el-table__cell tdcont tdw83",attrs:{colspan:"5"}},[t("form-item",{ref:"remark",attrs:{field:{defaultValue:null,elementCanEdit:"{${canEdit}}",elementCssHeight:70,elementCssWidth:null,elementFormatter:null,elementReadonly:0,elementType:"textarea",emptyMessage:e.$tx("gwgl.common.remarkmptyMessage","请输入备注"),errorMessage:null,formTdAlign:"text-left",formTdColspan:0,isRequired:0,onClickEvent:null,passenger:{},propComment:"备注",propName:"remark",propType:"String",textFormatter:"textarea",valueMaxLength:null,valueMinLength:null,model:"vo.remark",option:[]},vo:e.vo,"can-edit":e.canEdit}})],1)]),t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"orderNo",expression:"'orderNo'"}],staticClass:"field"},[e._v("分类排序")])]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[1===e.canEdit?t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"分类排序",rules:"required|integer|max:4"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-input",{attrs:{name:"orderNo",placeholder:e.$tx("gwgl.gwjh.sortCategoryPlaceholder","请输入分类排序")},model:{value:e.vo.orderNo,callback:function(t){e.$set(e.vo,"orderNo",t)},expression:"vo.orderNo"}})],1)]}}],null,!1,3392390922)}):e._e(),1!==e.canEdit?t("div",{domProps:{innerHTML:e._s(e.vo.orderNo)}}):e._e()],1)]),t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"status",expression:"'status'"}],staticClass:"field"},[e._v("状态")])]),t("td",{staticClass:"el-table__cell tdcont tdw83",attrs:{colspan:"3"}},[1===e.canEdit?t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"显示名称",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-radio-group",{directives:[{name:"can-edit",rawName:"v-can-edit"}],staticStyle:{width:"100%"},attrs:{name:"status",placeholder:e.$tx("gwgl.common.statusPlaceholder","请选择状态")},model:{value:e.vo.status,callback:function(t){e.$set(e.vo,"status",t)},expression:"vo.status"}},e._l(e.statusOptions,(function(n,r){return t("el-radio",{key:r,attrs:{label:n.value}},[e._v(e._s(n.text))])})),1)],1)]}}],null,!1,474603353)}):e._e(),1!==e.canEdit?t("div",{domProps:{innerHTML:e._s(1===e.vo.status?e.$tx("common.enable","启用"):e.$tx("common.disable","禁用"))}}):e._e()],1)])])])])])])},mr=[],fr=n(4692),hr=n.n(fr);function gr(e){return gr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},gr(e)}function yr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _r(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?yr(Object(n),!0).forEach((function(t){vr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function vr(e,t,n){return(t=br(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function br(e){var t=wr(e,"string");return"symbol"==gr(t)?t:t+""}function wr(e,t){if("object"!=gr(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=gr(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}window.jQuery||(window.jQuery=hr());var Mr={components:{},props:{vo:{type:Object,default:function(){return{}}},canEdit:{type:Number,default:1}},data:function(){return{i18npkg:"gwgl",moduleCode:"gwjh",statusOptions:[{value:1,text:this.$tx("common.enable","启用")},{value:2,text:this.$tx("common.disable","禁用")}],corpLeadersTree:[],innerDeptsTree:[],corpOrgsTree:[],corpLeadersTreeObj:{typeName:"",leaders:"",depts:"",fenju:"",remark:"",orderNo:"",status:""}}},computed:_r({},re(["loginUser"])),watch:{},created:function(){this.$bus.on("treeNodeDataList",this.getTreeNode)},beforeDestroy:function(){this.$bus.off("treeNodeDataList",this.getTreeNode)},mounted:function(){this.getTreeNode(this.vo)},methods:{getTreeNode:function(e){var t=this;console.log(e,"val"),this.corpLeadersTree=[],this.innerDeptsTree=[],this.corpOrgsTree=[],e.passenger.commonGroupInfoList.forEach((function(e){"corpLeadersTree"===e.type?t.corpLeadersTree.push(e):"innerDeptsTree"===e.type?t.innerDeptsTree.push(e):"corpOrgsTree"===e.type&&t.corpOrgsTree.push(e)})),this.corpLeadersTreeObj.typeName=this.vo.typeName,this.corpLeadersTreeObj.remark=this.vo.remark,this.corpLeadersTreeObj.orderNo=this.vo.orderNo,this.corpLeadersTreeObj.status=this.vo.status;var n="";this.corpLeadersTree.forEach((function(e){n+=e.commonName+"、"})),n=n.substring(0,n.length-1),this.$set(this.corpLeadersTreeObj,"leaders",n);var r="";this.innerDeptsTree.forEach((function(e){r+=e.commonName+"、"})),r=r.substring(0,r.length-1),this.$set(this.corpLeadersTreeObj,"depts",r);var a="",o="";this.corpOrgsTree.forEach((function(e){a+=e.commonName+"、",o+=e.commonId+","})),a=a.substring(0,a.length-1),this.$set(this.corpLeadersTreeObj,"fenju",a),this.$set(this.corpLeadersTreeObj,"fenjuId",o),console.log(this.corpLeadersTreeObj,"this.corpLeadersTreeObj")},onSelectSuborgCompleted:function(e,t){if("depts"===t.name){e.forEach((function(e){e.nodeTreeType="innerDeptsTree"})),this.innerDeptsTree=e;var n="";this.innerDeptsTree.forEach((function(e){n+=e.name+"、"})),n=n.substring(0,n.length-1),this.$set(this.corpLeadersTreeObj,"depts",n)}},onSelectAllOrgCompleted:function(e,t){if("fenju"===t.name){e.forEach((function(e){e.nodeTreeType="corpOrgsTree"})),this.corpOrgsTree=e;var n="";this.corpOrgsTree.forEach((function(e){n+=e.fullName+"、"})),n=n.substring(0,n.length-1),this.$set(this.corpLeadersTreeObj,"fenju",n)}},onSelectStaffCompleted:function(e,t){if(console.log(t,"attr"),"leaders"===t.name){e.forEach((function(e){e.nodeTreeType="corpLeadersTree"})),this.corpLeadersTree=e;var n="";this.corpLeadersTree.forEach((function(e){n+=e.name+"、"})),n=n.substring(0,n.length-1),this.$set(this.corpLeadersTreeObj,"leaders",n)}},onSelectTreeDataLoaded:function(e,t){var n=this;return console.log(t,"attr","treedata",e),"fenju"===t.name&&(e=e.filter((function(e){return e.ocode!==n.loginUser.orgCode}))),e}}},Lr=Mr,Tr=(n(9651),m(Lr,pr,mr,!1,null,"5f22d162",null)),xr=Tr.exports;function Dr(e){return Dr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Dr(e)}function kr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Sr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?kr(Object(n),!0).forEach((function(t){Yr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):kr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Yr(e,t,n){return(t=jr(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jr(e){var t=Cr(e,"string");return"symbol"==Dr(t)?t:t+""}function Cr(e,t){if("object"!=Dr(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Dr(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var Or={components:{orgOrganizationForm:xr},props:{vo:{type:Object,default:function(){return{}}},zTree:{type:Object,default:function(){return{}}},isClick:{type:Boolean,default:!1},nodeName:{type:String,default:function(){return""}}},data:function(){return{title:this.$tx("gwgl.gwjh.commonGroupSettingTitle"),moduleInfo:{moduleCode:"Module",addNewUrl:"gwgl/commonGroup/addNew",insertUrl:"gwgl/commonGroup/insert",getByIdUrl:"gwgl/commonGroup/getById",updateUrl:"gwgl/commonGroup/update",delUrl:"gwgl/commonGroup/delete",winWidth:900,winHeight:600},opearType:""}},computed:Sr({},re(["loginUser"])),watch:{},created:function(){this.$bus.on("addMenu",this.addMenu),this.$bus.on("editMenu",this.editMenu),this.$bus.on("deleteMenu",this.deleteMenu),console.log(72,this.vo)},beforeDestroy:function(){this.$bus.off("addMenu",this.addMenu),this.$bus.off("editMenu",this.editMenu),this.$bus.off("deleteMenu",this.deleteMenu)},mounted:function(){},methods:{addObject:function(){this.opearType="add";var e=this.moduleInfo.addNewUrl.split("?")[0];e+="?parentId=",0===this.vo.gwjhLevel?(this.moduleInfo.addNewUrl=e,this.moduleInfo.orgLevel=1,this.moduleInfo.parentId="0"):(this.moduleInfo.addNewUrl=e+this.vo.id,this.moduleInfo.orgLevel=2,this.moduleInfo.parentId=this.vo.id,this.moduleInfo.creatorOrgName=this.vo.name,this.moduleInfo.orgCode=this.vo.orgCode),this.$bus.emit("openBusiform",this.moduleInfo,null,1)},editObject:function(e){console.log(97,e),this.opearType="edit",this.$bus.emit("openBusiform",this.moduleInfo,this.vo,1)},deleteObject:function(e){var t=this;console.log(e,"node"),console.log(this.zTree,"this.zTree"),this.opearType="delete";var n=this.$tx("gwgl.messages.confirmDel",{val:e.typeName},"确认删除“val”吗?");e.children&&e.children.length>0&&(n=this.$tx("gwgl.messages.confirmDel2",{val:e.typeName},"确认删除“{val}”及下级全部类型吗?")),this.$confirm(n,{type:"warning"}).then((function(){t.$http({method:"DELETE",contentType:"application/x-www-form-urlencoded",params:{ids:e.id},url:t.moduleInfo.delUrl}).then((function(e){"success"===e.code?(t.$bus.emit("refreshTreeData",null),t.$message.success(e.message)):t.$alert(e.message,{type:"error"})}))}))},onBasicFormBeforeOpen:function(e,t,n){n.resolve(!0)},onBasicFormOpened:function(e,t){0},onBasicFormBeforeSubmit:function(e,t,n){var r=this;t.createrId=this.loginUser.personId,t.creater=this.loginUser.personName;var a=this.$refs.voForm.corpLeadersTree||[],o=this.$refs.voForm.corpOrgsTree||[],i=this.$refs.voForm.innerDeptsTree,s=[];s=s.concat(a,o,i);var l=[];s.forEach((function(e){var n={};n.commonName=e.fullName||e.commonName||e.name,n.commonId=e.commonId||e.id||e.fullID,n.parentId=t.id,n.createrId=r.loginUser.personId,n.creater=r.loginUser.personName,n.type=e.commonId?e.type:e.nodeTreeType,l.push(n)})),t.passenger.commonGroupInfoList=l,n.resolve(!0)},onBasicFormSubmited:function(e,t){this.vo.typeName=t.typeName,this.$bus.emit("refreshTreeData",null),this.$bus.emit("updateVo",t),this.vo.passenger=t.passenger,this.$refs.orgOrganizationForm&&this.$refs.orgOrganizationForm.getTreeNode(t)}}},Nr=Or,Pr=m(Nr,cr,ur,!1,null,"05324ec5",null),Er=Pr.exports;function Hr(e){return Hr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Hr(e)}function Fr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ar(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Fr(Object(n),!0).forEach((function(t){$r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function $r(e,t,n){return(t=Ir(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ir(e){var t=zr(e,"string");return"symbol"==Hr(t)?t:t+""}function zr(e,t){if("object"!=Hr(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Hr(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var Rr={components:{orgOrganization:Er},props:{},data:function(){return{moduleInfo:{getByIdUrl:"gwgl/commonGroup/getById",loadTreeNodeUrl:"gwgl/commonGroup/querydata"},root:null,orgOrganization:{passenger:{commonGroupInfoList:[]}},treeData:[],zTree:{},nodeName:"",isClick:!1}},computed:Ar({},re(["loginUser"])),watch:{orgOrganization:{deep:!0,immediate:!0,handler:function(e,t){}}},created:function(){this.root={id:"0",name:"全部分组",open:!0,title:"全部分组",parentId:null,gwjhLevel:0},this.loadExpenseThype(),this.$bus.emit("showNavSearch",!1),this.$bus.on("refreshTreeData",this.refreshTreeData),this.$bus.on("updateVo",this.updateVo)},beforeDestroy:function(){this.$bus.emit("showNavSearch",!0),this.$bus.off("updateVo",this.updateVo),this.$bus.off("refreshTreeData",this.refreshTreeData)},mounted:function(){},methods:{loadExpenseThype:function(){var e=this;console.log("this.loginUser",this.loginUser),this.$http({method:"POST",contentType:"application/x-www-form-urlencoded",data:[{compare:"=",field:"orgCode",merge:!0,value:this.loginUser.orgCode},{compare:"=",field:"createrId",merge:!0,value:this.loginUser.personId}],url:"gwgl/commonGroup/querydata",params:{orderBy:"orderNo asc"}}).then((function(t){"success"===t.code?(console.log(t.body.listdata,"res.body.listdata"),t.body.listdata.forEach((function(e){e.title=e.typeName,e.name=e.typeName})),e.treeData=e.treeDataAdapter([e.root].concat(t.body.listdata)),console.log(e.treeData,"this.treeData")):e.$alert(t.message,e.$tx("common.operationTip","操作提示"),{type:"error"})}))},treeDataAdapter:function(e){var t=this;return e.forEach((function(e){"0"!=e.id&&(e.pId=t.root.id,e.parentId=t.root.id),e.title=e.name})),e},refreshTreeData:function(e){null===e?this.loadExpenseThype():this.treeData=this.treeDataAdapter([this.root].concat(e))},updateVo:function(e){var t=this;this.$set(this.orgOrganization,"typeName",e.typeName),this.$set(this.orgOrganization,"name",e.typeName),this.$set(this.orgOrganization,"title",e.typeName),this.treeData.forEach((function(n,r){n.id===e.id&&(t.$set(t.treeData[r],"typeName",e.typeName),t.$set(t.treeData[r],"name",e.typeName),t.$set(t.treeData[r],"title",e.typeName))})),setTimeout((function(){var n=t.zTree.getNodes();n.forEach((function(n){n.id===e.id&&(t.zTree.selectNode(n),t.onTreeNodeClick("",e.id,n))}))}),1e3)},onTreeNodeClick:function(e,t,n){var r=this;this.isClick=!0,this.nodeName=n.name;var a=JSON.parse(JSON.stringify(this.root));this.root=null,this.$nextTick((function(e){0===n.gwjhLevel?r.orgOrganization=n:void 0===n.pId||null===n.pId?r.orgOrganization=null:r.getExpenseType(n.id,n),r.root=a})),console.log(148,n),"全部分组"!==n.name&&this.$nextTick((function(){r.$bus.emit("treeNodeDataList",n)}))},onTreeCreated:function(e){this.zTree=e;var t=e.getNodes();t.length>0&&(this.onTreeNodeClick("",t[0].id,t[0]),e.selectNode(t[0]))},getExpenseType:function(e,t){var n=this;this.$http({method:"GET",contentType:"application/x-www-form-urlencoded",params:{id:e,canEdit:0},url:this.moduleInfo.getByIdUrl}).then((function(e){if("success"===e.code){var t=e.body.vo;n.orgOrganization=t}else n.$alert(e.message,n.$tx("common.operationTip","操作提示"),{type:"error"})}))}}},Wr=Rr,Gr=m(Wr,lr,dr,!1,null,"b0c031a2",null),Br=Gr.exports,Ur=function(){var e=this,t=e._self._c;return t("LRLayout",[t("LeftPanel",[t("GiantTree",{attrs:{nodes:e.treeData},on:{onCreated:e.onTreeCreated,onClick:e.onTreeNodeClick}})],1),t("RightPanel",[t("orgOrganization",{attrs:{vo:e.orgOrganization,"z-tree":e.zTree,"is-click":e.isClick,"node-name":e.nodeName}})],1)],1)},qr=[],Vr=function(){var e=this,t=e._self._c;return t("div",[t("PageContent",{attrs:{title:e.title}},[null!==e.vo&&e.isClick&&0!==e.vo.gwjhLevel?t("orgOrganizationForm",{attrs:{vo:e.vo,"can-edit":0}}):e._e(),null!==e.vo?t("div",{attrs:{slot:"footer"},slot:"footer"},[""!==e.nodeName&&e.vo&&e.vo.gwjhLevel<2?t("el-button",{attrs:{plain:"",icon:"el-icon-plus"},on:{click:e.addObject}},[e._v(e._s(0===e.vo.gwjhLevel?e.$tx("gwgl.gwjh.addInstitution","添加机构"):e.$tx("gwgl.gwjh.addChildInstitution","添加子机构")))]):e._e(),null!==e.vo&&0!==e.vo.gwjhLevel?t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"updateInstitution",expression:"'updateInstitution'"}],attrs:{plain:"",icon:"el-icon-edit","module-code":"gwjh"},on:{click:function(t){return e.editObject(e.vo)}}},[e._v("修改机构")]):e._e(),null!==e.vo&&0!==e.vo.gwjhLevel?t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"delInstitution",expression:"'delInstitution'"}],attrs:{plain:"",icon:"el-icon-close","module-code":"gwjh"},on:{click:function(t){return e.deleteObject(e.vo)}}},[e._v("删除机构")]):e._e()],1):t("div",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"isNoAddInstitutionisNoAddInstitution",expression:"'isNoAddInstitutionisNoAddInstitution'"}],attrs:{slot:"footer",moduleCode:"gwjh"},slot:"footer"},[e._v("暂未添加管理机构")])],1),t("Basicform",{attrs:{title:e.title,"win-width":e.moduleInfo.winWidth,"win-height":e.moduleInfo.winHeight,"on-basic-form-before-open":e.onBasicFormBeforeOpen,"on-basic-form-opened":e.onBasicFormOpened,"on-basic-form-before-submit":e.onBasicFormBeforeSubmit,"on-basic-form-submited":e.onBasicFormSubmited},scopedSlots:e._u([{key:"default",fn:function(n){return[t("orgOrganizationForm",{attrs:{vo:n.vo,"can-edit":n.canEdit,"module-info":e.moduleInfo}})]}}])})],1)},Jr=[],Kr=function(){var e=this,t=e._self._c;return t("el-form",{attrs:{model:e.vo}},[t("div",{staticClass:"el-table el-table--fit el-table--border"},[t("div",{staticClass:"el-table__body-wrapper"},[t("table",{staticClass:"el-table__body",attrs:{cellspacing:"0",cellpadding:"0",border:"0"}},[t("tbody",[1!=e.vo.orgLevel&&e.canEdit?t("tr",[t("td",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"orgLevel",expression:"'orgLevel'"}],staticClass:"el-table__cell tdlbl tdw17",attrs:{colspan:"1"}},[e._v("上级机构")]),t("td",{staticClass:"el-table__cell tdcont tdw83",attrs:{colspan:"5"}},[t("div",{domProps:{innerHTML:e._s(e.vo.creatorOrgName)}})])]):e._e(),t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17",attrs:{colspan:"1"}},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"orgName",expression:"'orgName'"}]},[e._v("机构名称")])]),t("td",{staticClass:"el-table__cell tdcont tdw83",attrs:{colspan:"5"}},[1===e.canEdit?t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"机构名称",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-input",{attrs:{placeholder:e.$tx("gwgl.gwjh.orgNamePlaceholder","请选择机构名称")},model:{value:e.vo.name,callback:function(t){e.$set(e.vo,"name",t)},expression:"vo.name"}})],1)]}}],null,!1,3177146174)}):e._e(),1!==e.canEdit?t("div",{domProps:{innerHTML:e._s(e.vo.name)}}):e._e()],1)]),e.canEdit&&1===e.vo.orgLevel?t("tr",[t("td",{ref:"tdlbl_机构名称",staticClass:"el-table__cell tdlbl tdw17",attrs:{colspan:"1"}},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"orgName",expression:"'orgName'"}],staticClass:"field"},[e._v("机构名称")])]),t("td",{staticClass:"el-table__cell tdcont tdw83",attrs:{colspan:"5"}},[t("form-item",{ref:"orgName",attrs:{field:{defaultValue:null,elementCanEdit:"{${canEdit}}",elementCssHeight:null,elementCssWidth:null,elementFormatter:null,elementReadonly:1,elementType:"input",emptyMessage:e.$tx("gwgl.gwjh.orgNameEmpty","请输入机构名称"),errorMessage:null,formTdAlign:"text-left",formTdColspan:0,isRequired:1,onClickEvent:null,passenger:{},propComment:"机构名称",propName:"orgName",propType:"String",textFormatter:"textfield",valueMaxLength:150,valueMinLength:null,model:"vo.orgName",option:[],showWordLimit:!1,dialog:1,dialogType:"rootorg",dialogOrgLevel:"",dialogMultiple:!1},vo:e.vo,"can-edit":e.canEdit}})],1)]):e._e(),e.canEdit&&2===e.vo.orgLevel?t("tr",[t("td",{ref:"tdlbl_机构名称",staticClass:"el-table__cell tdlbl tdw17",attrs:{colspan:"1"}},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"orgName",expression:"'orgName'"}],staticClass:"field"},[e._v("机构名称")])]),t("td",{staticClass:"el-table__cell tdcont tdw83",attrs:{colspan:"5"}},[t("el-input",{directives:[{name:"select-dialog",rawName:"v-select-dialog",value:"suborg",expression:"'suborg'"}],attrs:{"org-level":"2","dialog-title":e.$tx("gwgl.gwjh.fields.orgName","机构名称"),multiple:"false","root-org-code":e.vo.orgCode,placeholder:e.$tx("gwgl.gwjh.orgNamePlaceholder","请选择机构名称"),name:"name"},model:{value:e.vo.name,callback:function(t){e.$set(e.vo,"name",t)},expression:"vo.name"}})],1)]):e._e(),e.canEdit?e._e():t("tr",[t("td",{ref:"tdlbl_级别 ",staticClass:"el-table__cell tdlbl tdw17",attrs:{colspan:"1"}},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"level",expression:"'level'"}],staticClass:"field"},[e._v("级别")])]),t("td",{staticClass:"el-table__cell tdcont tdw83",attrs:{colspan:"5"}},[e.vo.orgLevel?t("div",[e._v(e._s(e.vo.orgLevel?e.orgLevelOptions[e.vo.orgLevel-1].text:""))]):e._e()])]),t("tr",[t("td",{ref:"tdlbl_备注",staticClass:"el-table__cell tdlbl tdw17",attrs:{colspan:"1"}},[t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"remark",expression:"'remark'"}],staticClass:"field"},[e._v("备注")])]),t("td",{staticClass:"el-table__cell tdcont tdw83",attrs:{colspan:"5"}},[t("form-item",{ref:"remark",attrs:{field:{defaultValue:null,elementCanEdit:"{${canEdit}}",elementCssHeight:70,elementCssWidth:null,elementFormatter:null,elementReadonly:0,elementType:"textarea",emptyMessage:e.$tx("gwgl.common.remarkmptyMessage","请输入备注"),errorMessage:null,formTdAlign:"text-left",formTdColspan:0,isRequired:0,onClickEvent:null,passenger:{},propComment:"备注",propName:"remark",propType:"String",textFormatter:"textarea",valueMaxLength:null,valueMinLength:null,model:"vo.remark",option:[]},vo:e.vo,"can-edit":e.canEdit}})],1)]),t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17",attrs:{colspan:"1"}},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"orderNo",expression:"'orderNo'"}]},[e._v("排序")])]),t("td",{staticClass:"el-table__cell tdcont tdw83",attrs:{colspan:"5"}},[1===e.canEdit?t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"排序",rules:"required|length:4"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[1===e.canEdit?t("el-input",{directives:[{name:"can-edit",rawName:"v-can-edit"}],attrs:{name:"orderNo",placeholder:e.$tx("gwgl.gwjh.orderPlaceholder","请输入4位数字排序号")},model:{value:e.vo.orderNo,callback:function(t){e.$set(e.vo,"orderNo",t)},expression:"vo.orderNo"}}):e._e()],1)]}}],null,!1,882135480)}):e._e(),1!==e.canEdit?t("div",{domProps:{innerHTML:e._s(e.vo.orderNo)}}):e._e()],1)]),t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17",attrs:{colspan:"1"}},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"status",expression:"'status'"}],staticClass:"field"},[e._v("状态")])]),t("td",{staticClass:"el-table__cell tdcont tdw83",attrs:{colspan:"5"}},[1===e.canEdit?t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"显示名称",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-radio-group",{directives:[{name:"can-edit",rawName:"v-can-edit"}],staticStyle:{width:"100%"},attrs:{name:"status",placeholder:e.$tx("gwgl.common.statusPlaceholder","请选择状态")},model:{value:e.vo.status,callback:function(t){e.$set(e.vo,"status",t)},expression:"vo.status"}},e._l(e.statusOptions,(function(n,r){return t("el-radio",{key:r,attrs:{label:n.value}},[e._v(e._s(n.text))])})),1)],1)]}}],null,!1,474603353)}):e._e(),1!==e.canEdit?t("div",{domProps:{innerHTML:e._s(1===e.vo.status?e.$tx("common.enable","启用"):e.$tx("common.disable","禁用"))}}):e._e()],1)])])])])])])},Qr=[];function Zr(e){return Zr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Zr(e)}function Xr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ea(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Xr(Object(n),!0).forEach((function(t){ta(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ta(e,t,n){return(t=na(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function na(e){var t=ra(e,"string");return"symbol"==Zr(t)?t:t+""}function ra(e,t){if("object"!=Zr(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Zr(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}window.jQuery||(window.jQuery=hr());var aa={components:{},props:{vo:{type:Object,default:function(){return{}}},canEdit:{type:Number,default:1}},data:function(){return{i18npkg:"gwgl",moduleCode:"gwjh",statusOptions:[{value:1,text:this.$tx("common.enable","启用")},{value:2,text:this.$tx("common.disable","禁用")}],orgLevelOptions:[{value:1,text:this.$tx("gwgl.gwjh.orgLevelOptions1","一级(公司级)")},{value:2,text:this.$tx("gwgl.gwjh.orgLevelOptions2","二级(部门级)")}],lendAsOptions:[],loanAsOptions:[],cascaderProps:{value:"id",label:"name",checkStrictly:!1}}},computed:ea({},re(["loginUser"])),watch:{},created:function(){console.log(142,this.$vnode.context.moduleInfo),this.$vnode.context.moduleInfo.orgLevel&&(null===this.vo.orgLevel&&(this.vo.orgLevel=this.$vnode.context.moduleInfo.orgLevel,this.vo.gwjhLevel=this.$vnode.context.moduleInfo.orgLevel),null===this.vo.parentId&&(1===this.vo.orgLevel?this.vo.parentId="0":(this.vo.parentId=this.$vnode.context.moduleInfo.parentId,this.vo.creatorOrgName=this.$vnode.context.moduleInfo.creatorOrgName)),this.$vnode.context.moduleInfo.orgCode&&(this.vo.orgCode=this.$vnode.context.moduleInfo.orgCode),null===this.vo.status&&(this.vo.status=1),this.vo.subUnint=0),console.log(this.vo,"vo",this.vo.orgCode)},beforeDestroy:function(){},mounted:function(){console.log(this.$refs.orgNameSon,"orgNameSon")},methods:{onSelectRootorgCompleted:function(e,t){console.log(e,t,"主机构");var n="",r="",a="",o="",i="",s="",l="",d="";e.forEach((function(e){""!==n&&(n+="、"),""!==r&&(r+="、"),""!==a&&(a+="、"),""!==i&&(i+="、"),""!==o&&(o+="、"),""!==s&&(s+="、"),""!==l&&(l+="、"),""!==d&&(d+="、"),n+=e.name,r+=e.ocode,a+=e.id,o+=e.id,i+=e.name,s+=e.id,l+=e.orgfullName,d+=e.orderNo})),this.$set(this.vo,"name",i),this.$set(this.vo,"orgName",n),this.$set(this.vo,"orgCode",r),this.$set(this.vo,"orgId",a),this.$set(this.vo,"orgFullId",o),this.$set(this.vo,"fullId",s),this.$set(this.vo,"fullName",l),this.$set(this.vo,"orderNo",d)},onSelectSuborgCompleted:function(e,t){console.log(e,t,"子机构");var n="",r="",a="",o="",i="",s="",l="";e.forEach((function(e){""!==n&&(n+="、"),""!==o&&(o+="、"),""!==r&&(r+="、"),""!==a&&(a+="、"),""!==i&&(i+="、"),""!==s&&(s+="、"),""!==l&&(l+="、"),n+=e.name,o+=e.orgFullName,r+=e.id,a+=e.orgFullId,i+=e.name,s+=e.id,l+=e.orderNo})),this.$set(this.vo,"orgName",n),this.$set(this.vo,"fullName",o),this.$set(this.vo,"orgId",r),this.$set(this.vo,"orgFullId",a),this.$set(this.vo,"name",i),this.$set(this.vo,"fullId",s),this.$set(this.vo,"orderNo",l)}}},oa=aa,ia=(n(7867),m(oa,Kr,Qr,!1,null,"10a373f3",null)),sa=ia.exports,la=function(){var e=this,t=e._self._c;return t("div",{staticClass:"export-box"},[t("table",{staticStyle:{"text-align":"left"}},[t("tr",[t("td",{staticStyle:{width:"110px"}},[t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"importOrgTitle",expression:"'importOrgTitle'"}],staticClass:"row-col",staticStyle:{"font-weight":"600"}},[e._v("清远市公安局政务OA系统导入:")])]),t("td",[t("div",{staticClass:"row-col"},[t("el-upload",{ref:"upload",staticClass:"upload-demo",attrs:{accept:".xls",action:e.base_api+"/gwjh/orgOrganization/ImportorgOrganization",data:e.uploadDdta,multiple:!1,"file-list":e.fileList,"on-change":e.fileChange,"on-success":e.uploadSuccess,"auto-upload":!1,"with-credentials":!0,"show-file-list":!0,disabled:!1,"on-remove":e.uploadRemove,limit:1}},[null==e.fileList||0==e.fileList.length?t("el-button",{attrs:{slot:"trigger"},slot:"trigger"},[t("svg-icon",{attrs:{"icon-class":"add"}}),t("span",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"selectFile",expression:"'selectFile'"}]},[e._v("选择文件")])],1):e._e()],1),t("el-button",{staticStyle:{"margin-left":"10px"},attrs:{disabled:e.doing},on:{click:e.startUpload}},[t("svg-icon",{attrs:{"icon-class":"import"}}),t("span",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"startImport",expression:"'startImport'"}]},[e._v("开始导入")])],1)],1)])]),t("tr",[t("td",{attrs:{colspan:"2"}},[t("div",{staticClass:"tip"},[t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"uploadIllustrate",expression:"'uploadIllustrate'"}],staticStyle:{"font-weight":"600"}},[e._v("上传文件内容格式说明:")]),t("br"),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"uploadIllustrateOne",expression:"'uploadIllustrateOne'"}],staticStyle:{"font-size":"var(--portalFontSize13)"}},[e._v("1.导入文件应为Office Excel文件;")]),t("br"),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"uploadIllustrateTwo",expression:"'uploadIllustrateTwo'"}],staticStyle:{"font-size":"var(--portalFontSize13)"}},[e._v("2.导入文件暂不支持Office 2007及以后版本的Excel文件,如您使用的是Office 2007及以后版本,请把Excel文件转换为2003或之前的版本格式,具体转换方式为:打开的Excel文件中,选择“另存为”->“Excel 97-2003工作簿”;")]),t("br"),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"uploadIllustrateThree",expression:"'uploadIllustrateThree'"}],staticStyle:{"font-size":"var(--portalFontSize13)"}},[e._v("3.进行导入操作时,请确保您导入的文件并未处于使用状态。")]),t("br"),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"example",expression:"'example'"}],staticStyle:{"font-weight":"600"}},[e._v("上传文件内容示例:")]),t("span",[t("a",{attrs:{title:e.$tx("gwgj.gwjh.clickDown")},on:{click:function(t){return e.fileDownload("/templates/costType1.xls")}}},[t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"downText",expression:"'downText'"}],staticStyle:{color:"red",width:"100%"}},[e._v("点击下载Excel导入示例")])])])])])])])])},da=[],ca={components:{},props:{},data:function(){return{i18npkg:"gwgl",moduleCode:"gwjh",doing:!1,fileList:[]}},computed:{},watch:{},created:function(){this.base_api="/apigw"},beforeDestroy:function(){},mounted:function(){},methods:{uploadRemove:function(e,t){this.fileList=t},fileChange:function(e,t){this.fileList=[e],this.doing=!1},startUpload:function(){0===this.fileList.length?this.$alert(this.$tx("gwgl.messages.importAlert","请选择导入文件"),this.$tx("common.operationTip","操作提示"),{type:"warning"}):(this.doing=!0,this.$refs.upload.submit())},uploadSuccess:function(e,t,n){var r=this;"success"===e.code?(this.$message({message:e.message,type:"success"}),e.body.listdata&&this.$bus.emit("refreshTreeData",e.body.listdata)):this.$alert(e.message,this.$tx("common.operationTip","操作提示"),{type:"error"}),this.doing=!1,this.fileList=null,this.$nextTick((function(){r.fileList=[]}))}}},ua=ca,pa=(n(2174),m(ua,la,da,!1,null,"67b05f04",null)),ma=pa.exports,fa={components:{orgOrganizationForm:sa,ImportorgOrganization:ma},props:{vo:{type:Object,default:function(){return{}}},zTree:{type:Object,default:function(){return{}}},isClick:{type:Boolean,default:!1},nodeName:{type:String,default:function(){return""}}},data:function(){return{title:this.$tx("gwgl.gwjh.institutionSet"),i18npkg:"gwgl",moduleInfo:{moduleCode:"Module",addNewUrl:"gwjh/orgOrganization/addNew",insertUrl:"gwjh/orgOrganization/crgwjhOrganization",getByIdUrl:"gwjh/orgOrganization/getById",updateUrl:"gwjh/orgOrganization/bcgwjhOrgOrganization",delUrl:"gwjh/orgOrganization/delete",winWidth:900,winHeight:600},opearType:""}},computed:{},watch:{},created:function(){this.$bus.on("addMenu",this.addMenu),this.$bus.on("editMenu",this.editMenu),this.$bus.on("deleteMenu",this.deleteMenu),console.log(72,this.vo)},beforeDestroy:function(){this.$bus.off("addMenu",this.addMenu),this.$bus.off("editMenu",this.editMenu),this.$bus.off("deleteMenu",this.deleteMenu)},mounted:function(){},methods:{addObject:function(){this.opearType="add";var e=this.moduleInfo.addNewUrl.split("?")[0];e+="?parentId=",0===this.vo.gwjhLevel?(this.moduleInfo.addNewUrl=e,this.moduleInfo.orgLevel=1,this.moduleInfo.parentId="0"):(this.moduleInfo.addNewUrl=e+this.vo.id,this.moduleInfo.orgLevel=2,this.moduleInfo.parentId=this.vo.id,this.moduleInfo.creatorOrgName=this.vo.name,this.moduleInfo.orgCode=this.vo.orgCode),this.$bus.emit("openBusiform",this.moduleInfo,null,1)},editObject:function(e){console.log(97,e),this.opearType="edit",this.$bus.emit("openBusiform",this.moduleInfo,this.vo,1)},deleteObject:function(e){var t=this;console.log(e,"node"),console.log(this.zTree,"this.zTree"),this.opearType="delete";var n=this.$tx("gwgl.messages.confirmDel",{val:e.name},"确认删除“${node.name}”吗?");e.children&&e.children.length>0&&(n=this.$tx("gwgl.messages.confirmDel2",{val:e.name},"确认删除“${node.name}”及下级全部类型吗?")),this.$confirm(n,{type:"warning"}).then((function(){t.$http({method:"DELETE",contentType:"application/x-www-form-urlencoded",params:{ids:e.id},url:t.moduleInfo.delUrl}).then((function(e){"success"===e.code?(t.$bus.emit("refreshTreeData",null),t.$message.success(e.message)):t.$alert(e.message,{type:"error"})}))}))},onBasicFormBeforeOpen:function(e,t,n){n.resolve(!0)},onBasicFormOpened:function(e,t){0},onBasicFormBeforeSubmit:function(e,t,n){n.resolve(!0)},onBasicFormSubmited:function(e,t){t.title=t.name,void 0!==t.pId&&null!==t.pId||("0"===t.parentId?t.pId=this.vo.id:t.pId=t.parentId||"root"),this.$bus.emit("updateTreeNode",t)}}},ha=fa,ga=m(ha,Vr,Jr,!1,null,"a11eecf2",null),ya=ga.exports;function _a(e){return _a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_a(e)}function va(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ba(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?va(Object(n),!0).forEach((function(t){wa(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):va(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function wa(e,t,n){return(t=Ma(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ma(e){var t=La(e,"string");return"symbol"==_a(t)?t:t+""}function La(e,t){if("object"!=_a(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=_a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var Ta={components:{orgOrganization:ya},props:{},data:function(){return{moduleInfo:{getByIdUrl:"gwjh/orgOrganization/getById",loadTreeNodeUrl:"gwjh/orgOrganization/querydata"},root:null,orgOrganization:{},treeData:[],zTree:{},nodeName:"",isClick:!1}},computed:ba({},re(["loginUser"])),watch:{orgOrganization:{deep:!0,immediate:!0,handler:function(e,t){console.log(48,e,this.nodeName),console.log(49,t)}}},created:function(){this.root={id:"0",name:"清远市",open:!0,title:"清远市",parentId:null,gwjhLevel:0},this.loadExpenseThype(),this.$bus.emit("showNavSearch",!1),this.$bus.on("refreshTreeData",this.refreshTreeData)},beforeDestroy:function(){this.$bus.emit("showNavSearch",!0),this.$bus.off("refreshTreeData",this.refreshTreeData)},mounted:function(){},methods:{loadExpenseThype:function(){var e=this;this.$http({method:"POST",contentType:"application/x-www-form-urlencoded",params:{orderBy:"orderNo asc"},data:[{compare:"=",field:"creatorOrgCode",merge:!0,value:this.loginUser.orgCode},{compare:"=",field:"status",merge:!0,value:1}],url:this.moduleInfo.loadTreeNodeUrl}).then((function(t){"success"===t.code?(console.log(t.body.listdata,"res.body.listdata"),t.body.listdata.forEach((function(e){1===e.subUnint&&(e.parentId="0")})),console.log(e.corpOrgs,"this.corpOrgs"),e.treeData=e.treeDataAdapter([e.root].concat(t.body.listdata))):e.$alert(t.message,e.$tx("common.operationTip","操作提示"),{type:"error"})}))},treeDataAdapter:function(e){var t=this;return e.forEach((function(e){null===e.parentId?e.pId=t.root.id:e.pId=e.parentId,e.title=e.name})),e},refreshTreeData:function(e){null===e?this.loadExpenseThype():this.treeData=this.treeDataAdapter([this.root].concat(e))},onTreeNodeClick:function(e,t,n){var r=this;this.isClick=!0,this.nodeName=n.name;var a=JSON.parse(JSON.stringify(this.root));this.root=null,console.log(114,n),this.$nextTick((function(e){0===n.gwjhLevel?r.orgOrganization=n:void 0===n.pId||null===n.pId?r.orgOrganization=null:r.getExpenseType(n.id,n),r.root=a}))},onTreeCreated:function(e){this.zTree=e;var t=e.getNodes();t.length>0&&(this.onTreeNodeClick("",t[0].id,t[0]),e.selectNode(t[0]))},getExpenseType:function(e,t){var n=this;this.$http({method:"GET",contentType:"application/x-www-form-urlencoded",params:{id:e,canEdit:0},url:this.moduleInfo.getByIdUrl}).then((function(e){if("success"===e.code){var t=e.body.vo;n.orgOrganization=t,console.log(142,e.body.vo),console.log(143,t),console.log(144,n.orgOrganization)}else n.$alert(e.message,n.$tx("common.operationTip","操作提示"),{type:"error"})}))}}},xa=Ta,Da=m(xa,Ur,qr,!1,null,"47a0c0d2",null),ka=Da.exports,Sa=function(){var e=this,t=e._self._c;return t("div",{staticClass:"module-layout"},[t("BlockFrame",{attrs:{header:{title:e.appletData.name,icon:e.appletData.icon,more:!0,code:"blxltj"}}},[t("div",{ref:"reportContent",staticClass:"report-content"},[e.loading?e._e():t("bar",{attrs:{"chart-id":"projectColumnar2",left:"2%",right:"5%","echarts-click":e.echartsClick,"tooltip-format":e.tooltipFormat,"x-unit":e.xUnit,"y-unit":e.yUnit,"chart-type":e.chartType,"is-legend":!0,color:e.color,"x-data":e.xdata,"y-data":e.ydata}})],1)])],1)},Ya=[];function ja(e){return ja="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ja(e)}function Ca(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Ca=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function d(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(e){d=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var o=t&&t.prototype instanceof y?t:y,i=Object.create(o.prototype),s=new j(r||[]);return a(i,"_invoke",{value:D(e,n,s)}),i}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=c;var p="suspendedStart",m="suspendedYield",f="executing",h="completed",g={};function y(){}function _(){}function v(){}var b={};d(b,i,(function(){return this}));var w=Object.getPrototypeOf,M=w&&w(w(C([])));M&&M!==n&&r.call(M,i)&&(b=M);var L=v.prototype=y.prototype=Object.create(b);function T(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function n(a,o,i,s){var l=u(e[a],e,o);if("throw"!==l.type){var d=l.arg,c=d.value;return c&&"object"==ja(c)&&r.call(c,"__await")?t.resolve(c.__await).then((function(e){n("next",e,i,s)}),(function(e){n("throw",e,i,s)})):t.resolve(c).then((function(e){d.value=e,i(d)}),(function(e){return n("throw",e,i,s)}))}s(l.arg)}var o;a(this,"_invoke",{value:function(e,r){function a(){return new t((function(t,a){n(e,r,t,a)}))}return o=o?o.then(a,a):a()}})}function D(t,n,r){var a=p;return function(o,i){if(a===f)throw Error("Generator is already running");if(a===h){if("throw"===o)throw i;return{value:e,done:!0}}for(r.method=o,r.arg=i;;){var s=r.delegate;if(s){var l=k(s,r);if(l){if(l===g)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(a===p)throw a=h,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);a=f;var d=u(t,n,r);if("normal"===d.type){if(a=r.done?h:m,d.arg===g)continue;return{value:d.arg,done:r.done}}"throw"===d.type&&(a=h,r.method="throw",r.arg=d.arg)}}}function k(t,n){var r=n.method,a=t.iterator[r];if(a===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,k(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var o=u(a,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,g;var i=o.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,g):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function Y(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function C(t){if(t||""===t){var n=t[i];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,o=function n(){for(;++a<t.length;)if(r.call(t,a))return n.value=t[a],n.done=!1,n;return n.value=e,n.done=!0,n};return o.next=o}}throw new TypeError(ja(t)+" is not iterable")}return _.prototype=v,a(L,"constructor",{value:v,configurable:!0}),a(v,"constructor",{value:_,configurable:!0}),_.displayName=d(v,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===_||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,d(e,l,"GeneratorFunction")),e.prototype=Object.create(L),e},t.awrap=function(e){return{__await:e}},T(x.prototype),d(x.prototype,s,(function(){return this})),t.AsyncIterator=x,t.async=function(e,n,r,a,o){void 0===o&&(o=Promise);var i=new x(c(e,n,r,a),o);return t.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},T(L),d(L,l,"Generator"),d(L,i,(function(){return this})),d(L,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=C,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(Y),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function a(r,a){return s.type="throw",s.arg=t,n.next=r,a&&(n.method="next",n.arg=e),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],s=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var l=r.call(i,"catchLoc"),d=r.call(i,"finallyLoc");if(l&&d){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!d)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&r.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),Y(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;Y(n)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:C(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}function Oa(e,t,n,r,a,o,i){try{var s=e[o](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)}function Na(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){Oa(o,r,a,i,s,"next",e)}function s(e){Oa(o,r,a,i,s,"throw",e)}i(void 0)}))}}function Pa(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ea(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Pa(Object(n),!0).forEach((function(t){Ha(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Pa(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ha(e,t,n){return(t=Fa(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fa(e){var t=Aa(e,"string");return"symbol"==ja(t)?t:t+""}function Aa(e,t){if("object"!=ja(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=ja(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var $a={props:{appletData:{type:Object,default:function(){return{}}},name:{type:String,default:""}},data:function(){return{listData:[],loginUser:this.$store.getters.loginUser,searchType:"",loading:!1,chartType:[{type:"bar",yAxisIndex:0,symbol:""}],color:["#48c9b3","#f7a35c"],xUnit:{},yUnit:{},xdata:[],ydata:[],staffList:[],dataInfo:{bwsl:{type:"1",url:"/platStatistics/doneAndtodo/statisticsOnTheNumberOfDocuments",x:"部门",y:"办文数量"},bwxl:{type:"1",url:"platStatistics/doneAndtodo/handlingEfficiencyStatistics",x:"部门",y:"办文时长(小时)"}},pageData:{},tooltipFormat:null,chooseDate:[]}},computed:Ea({},re(["routes"])),watch:{},created:function(){this.$options.components["BlockFrame"]=this.$loadComponent("@/wapp/common/components/BlockFrame/index"),this.$options.components["bar"]=this.$loadComponent("@/wapp/common/components/Echarts/src/EchartColumnar"),this.initDate("day"),this.getReportList()},mounted:function(){},beforeCreate:function(){},beforeMount:function(){},beforeUpdate:function(){},updated:function(){},beforeDestroy:function(){},destroyed:function(){},activated:function(){},methods:{staffChange:function(e){this.getReportList(e)},mergestaffList:function(e){var t=[];return e.forEach((function(e){var n={value:e.orgFullName.split("-")[1],id:e.orgFullId.split("-")[1]};t.push(n)})),t},getReportList:function(e){var t=this;return Na(Ca().mark((function n(){var r,a;return Ca().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return t.searchType="bwxl",t.pageData=t.dataInfo[t.searchType],t.xUnit={name:t.pageData.x,align:"end",size:"12"},t.yUnit={name:t.pageData.y,align:"end",size:"12",position:"left",lineColor:"#000",nameRotate:"0",nameGap:"10",minInterval:"1"},r={deptId:e||"",endTime:t.chooseDate[1],startTime:t.chooseDate[0],type:t.pageData.type,fileName:"",module:"fawen,shouwen,wjcy,bmbh,yjzj,hytz,qsbg,dzgg"},t.loading=!0,t.listData=[],n.next=9,t.$app.listdata(t.pageData.url,r);case 9:a=n.sent,"success"===a.code&&t.mergeList(a.body.listdata.slice(0,10)),t.loading=!1;case 12:case"end":return n.stop()}}),n)})))()},mergeList:function(e){var t=this,n=[],r=[];if(e.forEach((function(e){"bwsl"===t.searchType&&(n.push(e.name),r.push(e.num))})),"bwxl"===this.searchType){var a=e.slice(0,10);a.forEach((function(e){n.push(e.name),r.push(JSON.parse(JSON.stringify(e.avgMinute))/60),e.avgMinute=t.mergeMinute(e.avgMinute)}))}this.xdata=n,this.ydata=[r],this.listData=e},mergeMinute:function(e){var t=60*e*1e3,n=Math.floor(t/864e5),r=t%864e5,a=Math.floor(r/36e5),o=r%36e5,i=Math.floor(o/6e4),s=o%6e4,l=Math.round(s/1e3),d="";return d+=0===n?0===a?0===i?l+"秒":i+"分钟"+l+"秒":a+"小时"+i+"分钟"+l+"秒":n+"天"+a+"小时"+i+"分钟"+l+"秒",d},initDate:function(e){var t=new Date,n=t.getFullYear(),r=t.getMonth()+1>=10?t.getMonth()+1:"0"+(t.getMonth()+1),a=t.getDate()>=10?t.getDate():"0"+t.getDate();if("day"===e){var o="",i="";if(a>15)o=n+"-"+r+"-01",i=n+"-"+r+"-"+new Date(n,r,0).getDate();else{var s=new Date(t.setMonth(r-2)).getFullYear(),l=new Date(t.setMonth(r-2)).getMonth()+1;o=s+"-"+l+"-01",i=s+"-"+l+"-"+new Date(s,l,0).getDate()}this.chooseDate=[o,i]}else if("month"===e){var d=new Date(t.setMonth(r-13)).getFullYear(),c=new Date(t.setMonth(r-13)).getMonth()+1>=10?new Date(t.setMonth(r-13)).getMonth()+1:"0"+(new Date(t.setMonth(r-13)).getMonth()+1),u=d+"-"+c,p=n+"-"+r;this.chooseDate=[u,p]}},onMoreClick:function(){var e=this;if(this.appletData.url.indexOf("?")>1&&this.appletData.url.split("?")[1].indexOf("productCode")>-1){var t=this.appletData.url.split("?")[1];if(t.indexOf("&")>-1){var n=t.split("&");n.forEach((function(t){t.indexOf("productCode")>-1&&e.$bus.emit("redirectMoreClick",t.split("=")[1])}))}else this.$bus.emit("redirectMoreClick",t.split("=")[1])}},echartsClick:function(){return!1}}},Ia=$a,za=(n(6295),m(Ia,Sa,Ya,!1,null,"6a1b3a22",null)),Ra=za.exports,Wa=function(){var e=this,t=e._self._c;return t("div",{staticClass:"module-layout"},[t("BlockFrame",{attrs:{header:{title:e.appletData.name,icon:e.appletData.icon,more:!0,code:"bwsltj"}}},[t("div",{ref:"reportContent",staticClass:"report-content"},[e.loading?e._e():t("bar",{attrs:{"chart-id":"projectColumnar1",left:"2%",right:"5%","echarts-click":e.echartsClick,"tooltip-format":e.tooltipFormat,"x-unit":e.xUnit,"y-unit":e.yUnit,"chart-type":e.chartType,"is-legend":!0,color:e.color,"x-data":e.xdata,"y-data":e.ydata}})],1)])],1)},Ga=[];function Ba(e){return Ba="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ba(e)}function Ua(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Ua=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function d(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(e){d=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var o=t&&t.prototype instanceof y?t:y,i=Object.create(o.prototype),s=new j(r||[]);return a(i,"_invoke",{value:D(e,n,s)}),i}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=c;var p="suspendedStart",m="suspendedYield",f="executing",h="completed",g={};function y(){}function _(){}function v(){}var b={};d(b,i,(function(){return this}));var w=Object.getPrototypeOf,M=w&&w(w(C([])));M&&M!==n&&r.call(M,i)&&(b=M);var L=v.prototype=y.prototype=Object.create(b);function T(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function n(a,o,i,s){var l=u(e[a],e,o);if("throw"!==l.type){var d=l.arg,c=d.value;return c&&"object"==Ba(c)&&r.call(c,"__await")?t.resolve(c.__await).then((function(e){n("next",e,i,s)}),(function(e){n("throw",e,i,s)})):t.resolve(c).then((function(e){d.value=e,i(d)}),(function(e){return n("throw",e,i,s)}))}s(l.arg)}var o;a(this,"_invoke",{value:function(e,r){function a(){return new t((function(t,a){n(e,r,t,a)}))}return o=o?o.then(a,a):a()}})}function D(t,n,r){var a=p;return function(o,i){if(a===f)throw Error("Generator is already running");if(a===h){if("throw"===o)throw i;return{value:e,done:!0}}for(r.method=o,r.arg=i;;){var s=r.delegate;if(s){var l=k(s,r);if(l){if(l===g)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(a===p)throw a=h,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);a=f;var d=u(t,n,r);if("normal"===d.type){if(a=r.done?h:m,d.arg===g)continue;return{value:d.arg,done:r.done}}"throw"===d.type&&(a=h,r.method="throw",r.arg=d.arg)}}}function k(t,n){var r=n.method,a=t.iterator[r];if(a===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,k(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var o=u(a,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,g;var i=o.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,g):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function Y(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function C(t){if(t||""===t){var n=t[i];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,o=function n(){for(;++a<t.length;)if(r.call(t,a))return n.value=t[a],n.done=!1,n;return n.value=e,n.done=!0,n};return o.next=o}}throw new TypeError(Ba(t)+" is not iterable")}return _.prototype=v,a(L,"constructor",{value:v,configurable:!0}),a(v,"constructor",{value:_,configurable:!0}),_.displayName=d(v,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===_||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,d(e,l,"GeneratorFunction")),e.prototype=Object.create(L),e},t.awrap=function(e){return{__await:e}},T(x.prototype),d(x.prototype,s,(function(){return this})),t.AsyncIterator=x,t.async=function(e,n,r,a,o){void 0===o&&(o=Promise);var i=new x(c(e,n,r,a),o);return t.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},T(L),d(L,l,"Generator"),d(L,i,(function(){return this})),d(L,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=C,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(Y),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function a(r,a){return s.type="throw",s.arg=t,n.next=r,a&&(n.method="next",n.arg=e),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],s=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var l=r.call(i,"catchLoc"),d=r.call(i,"finallyLoc");if(l&&d){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!d)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&r.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),Y(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;Y(n)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:C(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}function qa(e,t,n,r,a,o,i){try{var s=e[o](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)}function Va(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){qa(o,r,a,i,s,"next",e)}function s(e){qa(o,r,a,i,s,"throw",e)}i(void 0)}))}}function Ja(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ka(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ja(Object(n),!0).forEach((function(t){Qa(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ja(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Qa(e,t,n){return(t=Za(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Za(e){var t=Xa(e,"string");return"symbol"==Ba(t)?t:t+""}function Xa(e,t){if("object"!=Ba(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Ba(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var eo={props:{appletData:{type:Object,default:function(){return{}}},name:{type:String,default:""}},data:function(){return{listData:[],loginUser:this.$store.getters.loginUser,searchType:"",loading:!1,chartType:[{type:"bar",yAxisIndex:0,symbol:""}],color:["#48c9b3","#f7a35c"],xUnit:{},yUnit:{},xdata:[],ydata:[],staffList:[],dataInfo:{bwsl:{type:"1",url:"/platStatistics/doneAndtodo/statisticsOnTheNumberOfDocuments",x:"部门",y:"办文数量"},bwxl:{type:"1",url:"platStatistics/doneAndtodo/handlingEfficiencyStatistics",x:"部门",y:"平均办文时长"}},pageData:{},tooltipFormat:null,chooseDate:[]}},computed:Ka({},re(["routes"])),watch:{},created:function(){this.$options.components["BlockFrame"]=this.$loadComponent("@/wapp/common/components/BlockFrame/index"),this.$options.components["bar"]=this.$loadComponent("@/wapp/common/components/Echarts/src/EchartColumnar"),this.initDate("day"),this.getReportList()},mounted:function(){},beforeCreate:function(){},beforeMount:function(){},beforeUpdate:function(){},updated:function(){},beforeDestroy:function(){},destroyed:function(){},activated:function(){},methods:{staffChange:function(e){this.getReportList(e)},mergestaffList:function(e){var t=[];return e.forEach((function(e){var n={value:e.orgFullName.split("-")[1],id:e.orgFullId.split("-")[1]};t.push(n)})),t},getReportList:function(e){var t=this;return Va(Ua().mark((function n(){var r,a;return Ua().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return t.searchType="bwsl",t.pageData=t.dataInfo[t.searchType],t.xUnit={name:t.pageData.x,align:"end",size:"12"},t.yUnit={name:t.pageData.y,align:"end",size:"12",position:"left",lineColor:"#000",nameRotate:"0",nameGap:"10",minInterval:"1"},r={deptId:e||"",endTime:t.chooseDate[1],startTime:t.chooseDate[0],type:t.pageData.type,fileName:"",module:"fawen,shouwen,wjcy,bmbh,yjzj,hytz,qsbg,dzgg"},t.loading=!0,t.listData=[],n.next=9,t.$app.listdata(t.pageData.url,r);case 9:a=n.sent,"success"===a.code&&t.mergeList(a.body.listdata.slice(0,10)),t.loading=!1;case 12:case"end":return n.stop()}}),n)})))()},mergeList:function(e){var t=this,n=[],r=[];e.forEach((function(e){"bwsl"===t.searchType&&(n.push(e.name),r.push(e.num))})),this.xdata=n,this.ydata=[r],this.listData=e},mergeMinute:function(e){var t=60*e*1e3,n=Math.floor(t/864e5),r=t%864e5,a=Math.floor(r/36e5),o=r%36e5,i=Math.floor(o/6e4),s=o%6e4,l=Math.round(s/1e3),d="";return d+=0===n?0===a?0===i?l+"秒":i+"分钟"+l+"秒":a+"小时"+i+"分钟"+l+"秒":n+"天"+a+"小时"+i+"分钟"+l+"秒",d},initDate:function(e){var t=new Date,n=t.getFullYear(),r=t.getMonth()+1>=10?t.getMonth()+1:"0"+(t.getMonth()+1),a=t.getDate()>=10?t.getDate():"0"+t.getDate();if("day"===e){var o="",i="";if(a>15)o=n+"-"+r+"-01",i=n+"-"+r+"-"+new Date(n,r,0).getDate();else{var s=new Date(t.setMonth(r-2)).getFullYear(),l=new Date(t.setMonth(r-2)).getMonth()+1;o=s+"-"+l+"-01",i=s+"-"+l+"-"+new Date(s,l,0).getDate()}this.chooseDate=[o,i]}else if("month"===e){var d=new Date(t.setMonth(r-13)).getFullYear(),c=new Date(t.setMonth(r-13)).getMonth()+1>=10?new Date(t.setMonth(r-13)).getMonth()+1:"0"+(new Date(t.setMonth(r-13)).getMonth()+1),u=d+"-"+c,p=n+"-"+r;this.chooseDate=[u,p]}},onMoreClick:function(){var e=this;if(this.appletData.url.indexOf("?")>1&&this.appletData.url.split("?")[1].indexOf("productCode")>-1){var t=this.appletData.url.split("?")[1];if(t.indexOf("&")>-1){var n=t.split("&");n.forEach((function(t){t.indexOf("productCode")>-1&&e.$bus.emit("redirectMoreClick",t.split("=")[1])}))}else this.$bus.emit("redirectMoreClick",t.split("=")[1])}},echartsClick:function(){return!1}}},to=eo,no=(n(3368),m(to,Wa,Ga,!1,null,"91817610",null)),ro=no.exports,ao=function(){var e=this,t=e._self._c;return t("div",{staticClass:"module-layout"},[t("BlockFrame",{attrs:{header:{title:e.appletData.name,icon:e.appletData.icon,more:!1,code:"zcpd_left.svg"}}},[t("div",{ref:"gwcx",staticClass:"gwcx-content"},[t("div",{staticClass:"search-input"},[t("el-input",{staticClass:"input-with-select",attrs:{placeholder:e.$tx("gwgl.portlet.searching","搜索...")},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.searchBtnClick.apply(null,arguments)}},model:{value:e.searchKey,callback:function(t){e.searchKey=t},expression:"searchKey"}},[t("el-button",{attrs:{slot:"append",icon:"el-icon-search"},on:{click:e.searchBtnClick},slot:"append"})],1)],1),t("div",{staticClass:"search-select"},[t("el-radio-group",{attrs:{size:"small"},on:{input:e.checkboxChange},model:{value:e.radioGroup,callback:function(t){e.radioGroup=t},expression:"radioGroup"}},e._l(e.cityOptions,(function(n){return t("el-radio-button",{key:n,attrs:{label:n}},[e._v(e._s(n))])})),1)],1)])])],1)},oo=[];function io(e){return io="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},io(e)}function so(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */so=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function d(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(e){d=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var o=t&&t.prototype instanceof y?t:y,i=Object.create(o.prototype),s=new j(r||[]);return a(i,"_invoke",{value:D(e,n,s)}),i}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=c;var p="suspendedStart",m="suspendedYield",f="executing",h="completed",g={};function y(){}function _(){}function v(){}var b={};d(b,i,(function(){return this}));var w=Object.getPrototypeOf,M=w&&w(w(C([])));M&&M!==n&&r.call(M,i)&&(b=M);var L=v.prototype=y.prototype=Object.create(b);function T(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function n(a,o,i,s){var l=u(e[a],e,o);if("throw"!==l.type){var d=l.arg,c=d.value;return c&&"object"==io(c)&&r.call(c,"__await")?t.resolve(c.__await).then((function(e){n("next",e,i,s)}),(function(e){n("throw",e,i,s)})):t.resolve(c).then((function(e){d.value=e,i(d)}),(function(e){return n("throw",e,i,s)}))}s(l.arg)}var o;a(this,"_invoke",{value:function(e,r){function a(){return new t((function(t,a){n(e,r,t,a)}))}return o=o?o.then(a,a):a()}})}function D(t,n,r){var a=p;return function(o,i){if(a===f)throw Error("Generator is already running");if(a===h){if("throw"===o)throw i;return{value:e,done:!0}}for(r.method=o,r.arg=i;;){var s=r.delegate;if(s){var l=k(s,r);if(l){if(l===g)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(a===p)throw a=h,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);a=f;var d=u(t,n,r);if("normal"===d.type){if(a=r.done?h:m,d.arg===g)continue;return{value:d.arg,done:r.done}}"throw"===d.type&&(a=h,r.method="throw",r.arg=d.arg)}}}function k(t,n){var r=n.method,a=t.iterator[r];if(a===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,k(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var o=u(a,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,g;var i=o.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,g):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function Y(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function C(t){if(t||""===t){var n=t[i];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,o=function n(){for(;++a<t.length;)if(r.call(t,a))return n.value=t[a],n.done=!1,n;return n.value=e,n.done=!0,n};return o.next=o}}throw new TypeError(io(t)+" is not iterable")}return _.prototype=v,a(L,"constructor",{value:v,configurable:!0}),a(v,"constructor",{value:_,configurable:!0}),_.displayName=d(v,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===_||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,d(e,l,"GeneratorFunction")),e.prototype=Object.create(L),e},t.awrap=function(e){return{__await:e}},T(x.prototype),d(x.prototype,s,(function(){return this})),t.AsyncIterator=x,t.async=function(e,n,r,a,o){void 0===o&&(o=Promise);var i=new x(c(e,n,r,a),o);return t.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},T(L),d(L,l,"Generator"),d(L,i,(function(){return this})),d(L,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=C,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(Y),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function a(r,a){return s.type="throw",s.arg=t,n.next=r,a&&(n.method="next",n.arg=e),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],s=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var l=r.call(i,"catchLoc"),d=r.call(i,"finallyLoc");if(l&&d){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!d)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&r.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),Y(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;Y(n)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:C(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}function lo(e,t,n,r,a,o,i){try{var s=e[o](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)}function co(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){lo(o,r,a,i,s,"next",e)}function s(e){lo(o,r,a,i,s,"throw",e)}i(void 0)}))}}var uo={props:{appletData:{type:Object,default:function(){return{}}},name:{type:String,default:""}},data:function(){return{loginUser:this.$store.getters.loginUser,searchKey:"",cityOptions:[this.$tx("gwgl.portlet.unitDocument","单位发文"),this.$tx("gwgl.portlet.readingOffice","收文阅办"),this.$tx("gwgl.portlet.receiptDocuments","部门收文"),this.$tx("gwgl.portlet.documentCirculation","文件传阅"),this.$tx("gwgl.portlet.departmentalLetter","部门便函"),this.$tx("gwgl.portlet.solicitationOpinions","意见征集"),this.$tx("gwgl.portlet.requestInstructions","请示报告")],selectWf:"",radioGroup:[]}},computed:{routes:function(){return this.$store.getters.routes}},watch:{},created:function(){this.$options.components["BlockFrame"]=this.$loadComponent("@/wapp/common/components/BlockFrame/index")},beforeDestroy:function(){},mounted:function(){},methods:{searchBtnClick:function(){var e=this;return co(so().mark((function t(){var n,r;return so().wrap((function(t){while(1)switch(t.prev=t.next){case 0:n=e.routes.filter((function(e){return e.meta&&"公文查询"===e.meta.title})),n.length>0&&(r={},e.radioGroup?(r={keyword:e.searchKey,flGwType:e.radioGroup},localStorage.setItem("gwKeyWord",JSON.stringify(r))):(r={keyword:e.searchKey},localStorage.setItem("gwKeyWord",JSON.stringify(r))),e.$router.push({path:n[0].children[0].path,query:{gwKeyWord:e.searchKey}}));case 2:case"end":return t.stop()}}),t)})))()},checkboxChange:function(e){this.radioGroup=e,this.searchBtnClick()}}},po=uo,mo=(n(6887),m(po,ao,oo,!1,null,"1ec9c518",null)),fo=mo.exports,ho=function(){var e=this,t=e._self._c;return t("div",{staticClass:"module-layout"},[t("BlockFrame",{attrs:{header:{title:e.appletData.name,icon:e.appletData.icon,more:!0,code:"gwmbSignedfile"}}},[t("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"gwmb",staticClass:"gwmb-content"},[e.mbList.length?t("div",{staticClass:"gwmb-box"},e._l(e.mbList,(function(n){return t("div",{key:n.id,staticClass:"gwmb-item",on:{mouseenter:function(t){return e.onMouseenter(n)},mouseleave:function(t){return e.onMouseleave(n)}}},[t("div",{ref:n.id+"y",refInFor:!0,staticClass:"item-img"},[t("el-image",{staticClass:"pdf-viewer",staticStyle:{width:"100%",height:"100%"},attrs:{src:"apigw/gwgl/fwmb/downloadImg?dataField=mbImgFileData&id="+n.id+"&nameField=mbImgFileName",fit:e.cover}},[t("div",{staticClass:"image-slot",staticStyle:{height:"100%"},attrs:{slot:"error"},slot:"error"},[t("el-image",{staticStyle:{top:"50%",transform:"translateY(-50%)",height:"90px"},attrs:{src:"images/w-imgs/nosearch.png",fit:e.fit}})],1)])],1),t("div",{ref:n.id,refInFor:!0,staticClass:"item-btn"},[t("div",{staticClass:"btn",on:{click:function(t){return e.gwglYl(n)}}},[t("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:e.$tx("gwgl.portlet.preview","预览"),placement:"right","open-delay":"1000"}},[t("svg-icon",{staticStyle:{height:"25px",width:"25px"},attrs:{"icon-class":"gwgl_yl"}})],1)],1),t("div",{staticClass:"btn",on:{click:function(t){return e.gwglXz(n)}}},[t("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:e.$tx("pageBtns.download","下载"),placement:"right","open-delay":"1000"}},[t("svg-icon",{staticStyle:{height:"25px",width:"25px"},attrs:{"icon-class":"gwgl_xz"}})],1)],1)]),t("span",[e._v(e._s(n.name))])])})),0):t("div",{staticClass:"gwmb-box"},[t("el-empty",{attrs:{description:e.$tx("gwgl.common.noGwModule","暂无公文模板"),image:"./images/w-imgs/nosearch.png"}})],1)])])],1)},go=[];function yo(e){return yo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},yo(e)}function _o(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */_o=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function d(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(e){d=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var o=t&&t.prototype instanceof y?t:y,i=Object.create(o.prototype),s=new j(r||[]);return a(i,"_invoke",{value:D(e,n,s)}),i}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=c;var p="suspendedStart",m="suspendedYield",f="executing",h="completed",g={};function y(){}function _(){}function v(){}var b={};d(b,i,(function(){return this}));var w=Object.getPrototypeOf,M=w&&w(w(C([])));M&&M!==n&&r.call(M,i)&&(b=M);var L=v.prototype=y.prototype=Object.create(b);function T(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function n(a,o,i,s){var l=u(e[a],e,o);if("throw"!==l.type){var d=l.arg,c=d.value;return c&&"object"==yo(c)&&r.call(c,"__await")?t.resolve(c.__await).then((function(e){n("next",e,i,s)}),(function(e){n("throw",e,i,s)})):t.resolve(c).then((function(e){d.value=e,i(d)}),(function(e){return n("throw",e,i,s)}))}s(l.arg)}var o;a(this,"_invoke",{value:function(e,r){function a(){return new t((function(t,a){n(e,r,t,a)}))}return o=o?o.then(a,a):a()}})}function D(t,n,r){var a=p;return function(o,i){if(a===f)throw Error("Generator is already running");if(a===h){if("throw"===o)throw i;return{value:e,done:!0}}for(r.method=o,r.arg=i;;){var s=r.delegate;if(s){var l=k(s,r);if(l){if(l===g)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(a===p)throw a=h,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);a=f;var d=u(t,n,r);if("normal"===d.type){if(a=r.done?h:m,d.arg===g)continue;return{value:d.arg,done:r.done}}"throw"===d.type&&(a=h,r.method="throw",r.arg=d.arg)}}}function k(t,n){var r=n.method,a=t.iterator[r];if(a===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,k(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var o=u(a,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,g;var i=o.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,g):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function Y(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function C(t){if(t||""===t){var n=t[i];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,o=function n(){for(;++a<t.length;)if(r.call(t,a))return n.value=t[a],n.done=!1,n;return n.value=e,n.done=!0,n};return o.next=o}}throw new TypeError(yo(t)+" is not iterable")}return _.prototype=v,a(L,"constructor",{value:v,configurable:!0}),a(v,"constructor",{value:_,configurable:!0}),_.displayName=d(v,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===_||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,d(e,l,"GeneratorFunction")),e.prototype=Object.create(L),e},t.awrap=function(e){return{__await:e}},T(x.prototype),d(x.prototype,s,(function(){return this})),t.AsyncIterator=x,t.async=function(e,n,r,a,o){void 0===o&&(o=Promise);var i=new x(c(e,n,r,a),o);return t.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},T(L),d(L,l,"Generator"),d(L,i,(function(){return this})),d(L,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=C,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(Y),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function a(r,a){return s.type="throw",s.arg=t,n.next=r,a&&(n.method="next",n.arg=e),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],s=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var l=r.call(i,"catchLoc"),d=r.call(i,"finallyLoc");if(l&&d){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!d)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&r.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),Y(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;Y(n)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:C(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}function vo(e,t,n,r,a,o,i){try{var s=e[o](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)}function bo(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){vo(o,r,a,i,s,"next",e)}function s(e){vo(o,r,a,i,s,"throw",e)}i(void 0)}))}}var wo={props:{appletData:{type:Object,default:function(){return{}}},name:{type:String,default:""}},data:function(){return{loginUser:this.$store.getters.loginUser,mbList:[],loading:!0}},computed:{routes:function(){return this.$store.getters.routes}},watch:{},created:function(){this.$options.components["BlockFrame"]=this.$loadComponent("@/wapp/common/components/BlockFrame/index"),this.getData()},beforeDestroy:function(){},mounted:function(){},methods:{getUrl:function(e){var t=window.location.protocol+"//"+window.location.hostname+":"+window.location.port,n=t+"/apigw/gwgl/fwmb/download?id="+e+"&inline=true&toPdf=true&dataField=fileContent&nameField=mbFileName";return n},getData:function(){var e=this;return bo(_o().mark((function t(){var n,r,a;return _o().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(0!==e.appletData.interfaceStatus&&!window.openInterface){t.next=8;break}return t.next=3,e.$getDefaultData(e,e.appletData.id);case 3:if(n=t.sent,"公文模版"!==e.appletData.name&&"公文模版"!==e.appletData.name){t.next=8;break}return e.mbList=n,e.loading=!1,t.abrupt("return");case 8:return r={pageSize:9999,pageNum:1,urlsearch:"orgCode:".concat(e.loginUser.orgCode),orderBy:"sortNo asc"},t.next=11,e.$app.listdata("/gwgl/fwmb/listdata",r);case 11:a=t.sent,"success"===a.code?(e.mbList=a.body.pageInfo.list,console.log(e.mbList,"公文模板数据"),e.loading=!1):e.loading=!1;case 13:case"end":return t.stop()}}),t)})))()},onMouseenter:function(e){this.$refs[e.id][0].style.display="flex"},onMouseleave:function(e){this.$refs[e.id][0].style.display="none"},gwglYl:function(e){var t=window.location.protocol+"//"+window.location.hostname+":"+window.location.port,n=t+"/apigw/gwgl/fwmb/download?id="+e.id+"&inline=true&toPdf=true&dataField=fileContent&nameField=mbFileName&fileName="+e.mbFileName;window.open("./plugins/PDFjs/web/viewer.html?file="+encodeURIComponent(n))},gwglXz:function(e){var t="/apigw/gwgl/fwmb/download?id="+e.id+"&inline=true&toPdf=false&dataField=fileContent&nameField=mbFileName";window.open(t)}}},Mo=wo,Lo=(n(8583),m(Mo,ho,go,!1,null,"c37d5e66",null)),To=Lo.exports,xo=function(){var e=this,t=e._self._c;return t("div",{staticClass:"module-layout"},[t("BlockFrame",{attrs:{header:{title:e.appletData.name,icon:e.appletData.icon,more:!0,code:e.code}}},[t("div",{ref:"reportContent",staticClass:"report-content"},[!e.loading&&e.listData.length>0?t("bar",{attrs:{left:"2%",right:"9%",top:"7%","echarts-click":e.echartsClick,"tooltip-format":e.tooltipFormat,"x-unit":e.xUnit,"y-unit":e.yUnit,"chart-type":e.chartType,"is-legend":!0,color:e.color,"x-data":e.xdata,"y-data":e.ydata,"x-label-rotate":45}}):e._e()],1)])],1)},Do=[];function ko(e){return ko="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ko(e)}function So(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */So=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function d(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(e){d=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var o=t&&t.prototype instanceof y?t:y,i=Object.create(o.prototype),s=new j(r||[]);return a(i,"_invoke",{value:D(e,n,s)}),i}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=c;var p="suspendedStart",m="suspendedYield",f="executing",h="completed",g={};function y(){}function _(){}function v(){}var b={};d(b,i,(function(){return this}));var w=Object.getPrototypeOf,M=w&&w(w(C([])));M&&M!==n&&r.call(M,i)&&(b=M);var L=v.prototype=y.prototype=Object.create(b);function T(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function n(a,o,i,s){var l=u(e[a],e,o);if("throw"!==l.type){var d=l.arg,c=d.value;return c&&"object"==ko(c)&&r.call(c,"__await")?t.resolve(c.__await).then((function(e){n("next",e,i,s)}),(function(e){n("throw",e,i,s)})):t.resolve(c).then((function(e){d.value=e,i(d)}),(function(e){return n("throw",e,i,s)}))}s(l.arg)}var o;a(this,"_invoke",{value:function(e,r){function a(){return new t((function(t,a){n(e,r,t,a)}))}return o=o?o.then(a,a):a()}})}function D(t,n,r){var a=p;return function(o,i){if(a===f)throw Error("Generator is already running");if(a===h){if("throw"===o)throw i;return{value:e,done:!0}}for(r.method=o,r.arg=i;;){var s=r.delegate;if(s){var l=k(s,r);if(l){if(l===g)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(a===p)throw a=h,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);a=f;var d=u(t,n,r);if("normal"===d.type){if(a=r.done?h:m,d.arg===g)continue;return{value:d.arg,done:r.done}}"throw"===d.type&&(a=h,r.method="throw",r.arg=d.arg)}}}function k(t,n){var r=n.method,a=t.iterator[r];if(a===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,k(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var o=u(a,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,g;var i=o.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,g):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function Y(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function C(t){if(t||""===t){var n=t[i];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,o=function n(){for(;++a<t.length;)if(r.call(t,a))return n.value=t[a],n.done=!1,n;return n.value=e,n.done=!0,n};return o.next=o}}throw new TypeError(ko(t)+" is not iterable")}return _.prototype=v,a(L,"constructor",{value:v,configurable:!0}),a(v,"constructor",{value:_,configurable:!0}),_.displayName=d(v,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===_||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,d(e,l,"GeneratorFunction")),e.prototype=Object.create(L),e},t.awrap=function(e){return{__await:e}},T(x.prototype),d(x.prototype,s,(function(){return this})),t.AsyncIterator=x,t.async=function(e,n,r,a,o){void 0===o&&(o=Promise);var i=new x(c(e,n,r,a),o);return t.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},T(L),d(L,l,"Generator"),d(L,i,(function(){return this})),d(L,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=C,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(Y),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function a(r,a){return s.type="throw",s.arg=t,n.next=r,a&&(n.method="next",n.arg=e),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],s=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var l=r.call(i,"catchLoc"),d=r.call(i,"finallyLoc");if(l&&d){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!d)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&r.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),Y(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;Y(n)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:C(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}function Yo(e,t,n,r,a,o,i){try{var s=e[o](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)}function jo(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){Yo(o,r,a,i,s,"next",e)}function s(e){Yo(o,r,a,i,s,"throw",e)}i(void 0)}))}}function Co(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Oo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Co(Object(n),!0).forEach((function(t){No(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Co(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function No(e,t,n){return(t=Po(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Po(e){var t=Eo(e,"string");return"symbol"==ko(t)?t:t+""}function Eo(e,t){if("object"!=ko(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=ko(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var Ho={props:{appletData:{type:Object,default:function(){return{}}},name:{type:String,default:""}},data:function(){return{listData:[],loginUser:this.$store.getters.loginUser,searchType:"",code:"",loading:!1,chartType:[{type:"bar",yAxisIndex:0,symbol:""}],color:["#48c9b3","#f7a35c"],xUnit:{},yUnit:{},xdata:[],ydata:[],staffList:[],dataInfo:{bwsl:{type:"1",url:"/platStatistics/doneAndtodo/statisticsOnTheNumberOfDocuments",x:"部门",y:"办文数量"},bwxl:{type:"1",url:"platStatistics/doneAndtodo/handlingEfficiencyStatistics",x:"部门",y:"平均办文时长"}},pageData:{},tooltipFormat:null,chooseDate:[]}},computed:Oo({},re(["routes"])),watch:{},created:function(){this.$options.components["BlockFrame"]=this.$loadComponent("@/wapp/common/components/BlockFrame/index"),this.$options.components["bar"]=this.$loadComponent("@/wapp/common/components/Echarts/src/EchartColumnar"),console.log("办文数量统计"),this.initDate("day"),this.getReportList()},mounted:function(){},beforeCreate:function(){},beforeMount:function(){},beforeUpdate:function(){},updated:function(){},beforeDestroy:function(){},destroyed:function(){},activated:function(){},methods:{staffChange:function(e){this.getReportList(e)},mergestaffList:function(e){var t=[];return e.forEach((function(e){var n={value:e.orgFullName.split("-")[1],id:e.orgFullId.split("-")[1]};t.push(n)})),t},getReportList:function(e){var t=this;return jo(So().mark((function n(){var r,a;return So().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return"办文数量统计"===t.appletData.name?(t.searchType="bwsl",t.code="bwsltj"):"办文时长统计(十名)"===t.appletData.name&&(t.searchType="bwxl",t.code="blxltj"),t.pageData=t.dataInfo[t.searchType],t.xUnit={name:t.pageData.x,align:"end",size:"12"},t.yUnit={name:t.pageData.y,align:"end",size:"12",position:"left",lineColor:"#000",nameRotate:"0",nameGap:"10"},r={deptId:e||"",endTime:t.chooseDate[1],startTime:t.chooseDate[0],type:t.pageData.type,fileName:"",module:"fawen,shouwen,wjcy,bmbh,yjzj,hytz,qsbg,dzgg"},t.loading=!0,t.listData=[],n.next=9,t.$app.listdata(t.pageData.url,r);case 9:a=n.sent,"success"===a.code&&t.mergeList(a.body.listdata.slice(0,10)),t.loading=!1;case 12:case"end":return n.stop()}}),n)})))()},mergeList:function(e){var t=this,n=[],r=[];if(e.forEach((function(e){"bwsl"===t.searchType&&(n.push(e.name),r.push(e.num))})),"bwxl"===this.searchType){e.sort((function(e,t){return t.avgMinute-e.avgMinute}));var a=e.slice(0,10);a.forEach((function(e){n.push(e.name),r.push(JSON.parse(JSON.stringify(e.avgMinute))/60),e.avgMinute=t.mergeMinute(e.avgMinute)}))}this.xdata=n,this.ydata=[r],this.listData=e},mergeMinute:function(e){var t=60*e*1e3,n=Math.floor(t/864e5),r=t%864e5,a=Math.floor(r/36e5),o=r%36e5,i=Math.floor(o/6e4),s=o%6e4,l=Math.round(s/1e3),d="";return d+=0===n?0===a?0===i?l+"秒":i+"分钟"+l+"秒":a+"小时"+i+"分钟"+l+"秒":n+"天"+a+"小时"+i+"分钟"+l+"秒",d},initDate:function(e){var t=new Date,n=t.getFullYear(),r=t.getMonth()+1>=10?t.getMonth()+1:"0"+(t.getMonth()+1),a=t.getDate()>=10?t.getDate():"0"+t.getDate();if("day"===e){var o="",i="";if(a>15)o=n+"-"+r+"-01",i=n+"-"+r+"-"+new Date(n,r,0).getDate();else{var s=new Date(t.setMonth(r-2)).getFullYear(),l=new Date(t.setMonth(r-2)).getMonth()+1;o=s+"-"+l+"-01",i=s+"-"+l+"-"+new Date(s,l,0).getDate()}this.chooseDate=[o,i]}else if("month"===e){var d=new Date(t.setMonth(r-13)).getFullYear(),c=new Date(t.setMonth(r-13)).getMonth()+1>=10?new Date(t.setMonth(r-13)).getMonth()+1:"0"+(new Date(t.setMonth(r-13)).getMonth()+1),u=d+"-"+c,p=n+"-"+r;this.chooseDate=[u,p]}},onMoreClick:function(){var e=this;if(this.appletData.url.indexOf("?")>1&&this.appletData.url.split("?")[1].indexOf("productCode")>-1){var t=this.appletData.url.split("?")[1];if(t.indexOf("&")>-1){var n=t.split("&");n.forEach((function(t){t.indexOf("productCode")>-1&&e.$bus.emit("redirectMoreClick",t.split("=")[1])}))}else this.$bus.emit("redirectMoreClick",t.split("=")[1])}},echartsClick:function(){return!1}}},Fo=Ho,Ao=(n(6260),m(Fo,xo,Do,!1,null,"08091c3d",null)),$o=Ao.exports,Io=function(){var e=this,t=e._self._c;return t("LRLayout",[t("LeftPanel",[t("GiantTree",{attrs:{nodes:e.treeData},on:{onCreated:e.onTreeCreated,onClick:e.onTreeNodeClick},scopedSlots:e._u([{key:"context-menu",fn:function(n){return[null===n.contextNode.pId&&n.contextNode.categoryLevel<3||!n.contextNode.categoryLevel?t("ul",[t("li",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"addNewMenu",expression:"'addNewMenu'"}],attrs:{moduleCode:"setting"},on:{click:function(t){return e.addMenu(n.treeId,n.contextNode)}}},[e._v("新增子菜单")])]):e._e(),null!==n.contextNode.pId?t("ul",[n.contextNode.categoryLevel<3?t("li",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"addNewMenu",expression:"'addNewMenu'"}],attrs:{moduleCode:"setting"},on:{click:function(t){return e.addMenu(n.treeId,n.contextNode)}}},[e._v("新增子菜单")]):e._e(),t("li",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"delMenu",expression:"'delMenu'"}],attrs:{moduleCode:"setting"},on:{click:function(t){return e.deleteObject(n.contextNode)}}},[e._v("删除菜单")])]):e._e()]}}])})],1),t("RightPanel",[t("pageContent",{attrs:{title:e.formTitle}},[e.treeData.length>0&&e.showInfoView?t("typeForm",{ref:"typeForm1",attrs:{vo:e.vo,"tree-data":e.treeData,"chang-access-rights":e.changAccessRights}}):e._e(),t("div",{staticStyle:{"text-align":"center"},attrs:{slot:"footer"},slot:"footer"},[e.treeData.length>0&&e.showInfoView?t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"confirmUpdate",expression:"'confirmUpdate'"}],attrs:{type:"primary",size:"small",icon:"el-icon-check"},on:{click:e.updateObject}},[e._v("确认修改")]):e._e(),e.vo.categoryLevel<3||!e.vo.categoryLevel?t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"addChildType",expression:"'addChildType'"}],attrs:{size:"small",plain:"",icon:"el-icon-plus"},on:{click:function(t){return e.addObject(e.vo)}}},[e._v("新增子分类")]):e._e(),e.treeData.length>0&&e.showInfoView?t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"delType",expression:"'delType'"}],attrs:{type:"danger",size:"small",icon:"el-icon-delete"},on:{click:function(t){return e.deleteObject(e.vo)}}},[e._v("删除子分类")]):e._e()],1)],1)],1),t("Basicform",{ref:"basicForm",attrs:{title:e.$tx("gwgl.components.archiveClassification","归档分类管理"),"win-width":800,"win-height":600,"toolbar-btns":e.busiformBtns,"on-basic-form-before-open":e.onBasicFormBeforeOpen,"on-basic-form-opened":e.onBasicFormOpened,"on-basic-form-before-submit":e.onBasicFormBeforeSubmit,"on-basic-form-submited":e.onBasicFormSubmited},scopedSlots:e._u([{key:"default",fn:function(n){return[t("typeForm",{ref:"typeForm",attrs:{vo:n.vo,"module-info":e.moduleInfo,"tree-data":e.treeData}})]}}])})],1)},zo=[],Ro=function(){var e=this,t=e._self._c;return t("el-form",{attrs:{model:e.vo}},[t("div",{staticClass:"el-table el-table--fit el-table--border"},[t("div",{staticClass:"el-table__body-wrapper"},[t("table",{staticClass:"el-table__body",attrs:{cellspacing:"0",cellpadding:"0",border:"0"}},[t("tbody",["归档文件"!==e.getNamehandler(e.vo.parentId)?t("tr",[t("td",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"levelType",expression:"'levelType'"}],staticClass:"el-table__cell tdlbl tdw17"},[e._v("上级分类")]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[e._v(" "+e._s(e.getNamehandler(e.vo.parentId))+" ")])]):e._e(),t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"typeName",expression:"'typeName'"}]},[e._v("分类名称")])]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"分类名称",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-input",{attrs:{type:"text","show-word-limit":"true",placeholder:e.$tx("gwgl.gwjh.typeNamePlaceholder","请输入分类名称")},model:{value:e.vo.categoryName,callback:function(t){e.$set(e.vo,"categoryName",t)},expression:"vo.categoryName"}})],1)]}}])})],1)]),t("tr",[t("td",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"classicDescription",expression:"'classicDescription'"}],staticClass:"el-table__cell tdlbl tdw17"},[e._v("分类描述")]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[t("el-input",{attrs:{type:"textarea","show-word-limit":"",placeholder:e.$tx("gwgl.setting.classicDescriptionPlaceholder","请输入分类描述")},model:{value:e.vo.categoryDes,callback:function(t){e.$set(e.vo,"categoryDes",t)},expression:"vo.categoryDes"}})],1)]),t("tr",[t("td",{ref:"tdlbl_排序号",staticClass:"el-table__cell tdlbl tdw17",attrs:{colspan:"1"}},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"sortNumber",expression:"'sortNumber'"}]},[e._v("排序号")])]),t("td",{staticClass:"el-table__cell tdcont tdw83",attrs:{colspan:"5"}},[t("form-item",{ref:"orderno",attrs:{field:{defaultValue:null,elementCanEdit:"{${canEdit}}",elementCssHeight:null,elementCssWidth:null,elementFormatter:null,elementReadonly:0,elementType:"input",emptyMessage:e.$tx("gwgl.setting.sortNumberEmptyMessage","请输入四位数的排序号"),errorMessage:null,formTdAlign:"text-left",formTdColspan:0,isRequired:1,onClickEvent:null,passenger:{},propComment:"排序号",propName:"orderno",propType:"Integer",textFormatter:"integer",valueMaxLength:"4",valueMinLength:"4",model:"vo.orderno",option:[]},vo:e.vo,"can-edit":e.canEdit}})],1)]),0!=e.vo.accessRights?t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[1===e.vo.accessRights?t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"selectGroup",expression:"'selectGroup'"}],attrs:{moduleCode:"components"}},[e._v("选择群组")]):e._e(),2===e.vo.accessRights?t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"selectDepart",expression:"'selectDepart'"}],attrs:{moduleCode:"components"}},[e._v("选择部门")]):e._e(),3===e.vo.accessRights?t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"selectPerson",expression:"'selectPerson'"}],attrs:{moduleCode:"components"}},[e._v("选择人员")]):e._e()]),t("td",{staticClass:"el-table__cell tdcont tdw83",attrs:{colspan:"3"}},[t("el-input",{directives:[{name:"show",rawName:"v-show",value:1===e.vo.accessRights,expression:"vo.accessRights === 1"},{name:"select-dialog",rawName:"v-select-dialog",value:"workgroup",expression:"'workgroup'"}],attrs:{placeholder:e.$tx("gwgl.components.GroupPlaceholder","请选择群组"),readonly:"readonly",multiple:"true",type:"textarea","root-org-code":e.vo.orgCode,name:"deptIds2"},model:{value:e.vo.deptNames,callback:function(t){e.$set(e.vo,"deptNames",t)},expression:"vo.deptNames"}}),t("el-input",{directives:[{name:"show",rawName:"v-show",value:2===e.vo.accessRights,expression:"vo.accessRights === 2"},{name:"select-dialog",rawName:"v-select-dialog",value:"suborg",expression:"'suborg'"}],attrs:{placeholder:e.$tx("gwgl.components.DepartPlaceholder","请选择部门"),"org-level":"2",readonly:"readonly",multiple:"true",type:"textarea","root-org-code":e.vo.orgCode,name:"deptIds"},model:{value:e.vo.deptNames,callback:function(t){e.$set(e.vo,"deptNames",t)},expression:"vo.deptNames"}}),t("el-input",{directives:[{name:"show",rawName:"v-show",value:3===e.vo.accessRights,expression:"vo.accessRights === 3"},{name:"select-dialog",rawName:"v-select-dialog",value:"staff",expression:"'staff'"}],attrs:{placeholder:e.$tx("gwgl.components.PersonPlaceholder","请选择人员"),readonly:"readonly",multiple:"true",type:"textarea",name:"deptIds","root-org-code":e.vo.orgCode},model:{value:e.vo.deptNames,callback:function(t){e.$set(e.vo,"deptNames",t)},expression:"vo.deptNames"}})],1)]):e._e(),t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"status",expression:"'status'"}]},[e._v("状态")])]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[t("el-radio-group",{model:{value:e.vo.status,callback:function(t){e.$set(e.vo,"status",t)},expression:"vo.status"}},[t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"effective",expression:"'effective'"}],attrs:{label:1}},[e._v("有效")]),t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"invalid",expression:"'invalid'"}],attrs:{label:0}},[e._v("无效")])],1)],1)])])])])])])},Wo=[],Go={components:{},props:{vo:{type:Object,default:function(){return{}}},changAccessRights:{type:Function,default:null},treeData:{type:Array,default:function(){return[]}}},data:function(){return{i18npkg:"gwgl",moduleCode:"setting"}},computed:{},watch:{},created:function(){},mounted:function(){},beforeDestroy:function(){},methods:{getNamehandler:function(e){var t=this.treeData.filter((function(t){return t.id===e}));return t.length>0?t[0].categoryName:"归档文件"},changHandler:function(e){this.vo.deptIds="",this.vo.deptNames="",this.changAccessRights&&this.changAccessRights(e)},onSelectSuborgCompleted:function(e,t){var n="",r="";e.forEach((function(e){""!==n&&(n+="、"),""!==n&&(r+="、"),n+=e.name,r+=e.id})),this.$set(this.vo,"deptIds",r),this.$set(this.vo,"deptNames",n)},onSelectWorkgroupCompleted:function(e,t){var n="",r="";e.forEach((function(e){""!==n&&(n+="、"),""!==n&&(r+="、"),n+=e.name,r+=e.id})),this.$set(this.vo,"deptIds",r),this.$set(this.vo,"deptNames",n)},onSelectStaffCompleted:function(e,t){var n="",r="";e.forEach((function(e){""!==n&&(r+="、"),""!==n&&(n+="、"),n+=e.name,r+=e.personId})),this.$set(this.vo,"deptNames",n),this.$set(this.vo,"deptIds",r)}}},Bo=Go,Uo=m(Bo,Ro,Wo,!1,null,"80bceea4",null),qo=Uo.exports,Vo={components:{typeForm:qo},props:{},data:function(){return{i18npkg:"gwgl",busiformBtns:[{id:"btn_close",btnName:"关 闭",btnIcon:"close",btnClick:this.closeDialog,btnPermission:"",btnType:""},{id:"btn_save",btnName:"保 存",btnIcon:"check",btnClick:this.submitBusiform,btnPermission:"saveObject",btnType:"primary"}],formTitle:this.$tx("gwgl.setting.formTitle","归档分类设置"),activeText:"",activedeptIds:"",vo:{},chooseId:"",categoryFullId:"",categoryFullName:"",moduleInfo:{moduleCode:"gdflsz",addNewUrl:"gwgl/gdflsz/addNew",insertUrl:"gwgl/gdflsz/insert",getByIdUrl:"gwgl/gdflsz/getById",updateUrl:"gwgl/gdflsz/update",delUrl:"gwgl/gdflsz/delete",winWidth:900,winHeight:600,id:null},treeData:[],root:null,sysNode:null,showInfoView:!1,loginUser:this.$store.getters.loginUser}},computed:{},watch:{},created:function(){this.$bus.emit("showNavSearch",!1),this.root={id:"0",name:"归档文件",categoryName:"归档文件",open:!0,title:"归档文件"},this.queryData()},mounted:function(){},beforeDestroy:function(){this.$bus.emit("showNavSearch",!0)},methods:{submitBusiform:function(){var e=this,t=this,n=this.$refs.typeForm.vo;this.$refs.typeForm.formValidate((function(){if(n.categoryName)if(n.orderno)if(isNaN(n.orderno))t.$alert(t.$tx("gwgl.messages.truelyPhone","请输入正确的四位数排序号"),t.$tx("common.operationTip","操作提示"),{type:"warning"});else if(4===(n.orderno+"").length){e.$refs.typeForm.vo.parentId=e.chooseId;var r=JSON.parse(JSON.stringify(e.$refs.typeForm.vo));e.$http({method:"POST",contentType:"application/x-www-form-urlencoded",data:r,url:e.moduleInfo.insertUrl}).then((function(t){"success"===t.code?(e.$message({message:t.message,type:"success"}),e.closeDialog(),e.refreshTreeData()):e.$alert(t.message,e.$tx("common.operationTip","操作提示"),{type:"error"})}))}else t.$alert(t.$tx("gwgl.messages.truelyPhone","请输入正确的四位数排序号"),t.$tx("common.operationTip","操作提示"),{type:"warning"});else t.$alert(t.$tx("gwgl.messages.sortNumberEmptyMessage","请输入四位数的排序号"),t.$tx("common.operationTip","操作提示"),{type:"warning"});else t.$alert(t.$tx("gwgl.gwjh.typeNamePlaceholder","请输入分类名称"),t.$tx("common.operationTip","操作提示"),{type:"warning"})}))},closeDialog:function(){this.$refs.basicForm.dialogFormVisible=!1,this.$refs.basicForm.moduleInfo={},this.$refs.basicForm.vo={}},changAccessRights:function(e){e===this.activeId&&(this.vo.deptIds=this.activedeptIds,this.vo.deptNames=this.activeText)},updateObject:function(){var e=this;e.$refs.typeForm1.formValidate((function(){e.vo.categoryName?e.vo.orderno?isNaN(e.vo.orderno)?e.$alert(e.$tx("gwgl.messages.truelyPhone","请输入正确的四位数排序号"),e.$tx("common.operationTip","操作提示"),{type:"warning"}):4===(e.vo.orderno+"").length?e.$http({method:"PUT",contentType:"application/x-www-form-urlencoded",data:e.vo,url:"/gwgl/gdflsz/update"}).then((function(t){"success"===t.code?(e.$message({message:t.message,type:"success"}),e.refreshTreeData()):e.$message.error(t.message)})):e.$alert(e.$tx("gwgl.messages.truelyPhone","请输入正确的四位数排序号"),e.$tx("common.operationTip","操作提示"),{type:"warning"}):e.$alert(e.$tx("gwgl.messages.sortNumberEmptyMessage","请输入四位数的排序号"),e.$tx("common.operationTip","操作提示"),{type:"warning"}):e.$alert(e.$tx("gwgl.gwjh.typeNamePlaceholder","请输入分类名称"),e.$tx("common.operationTip","操作提示"),{type:"warning"})}))},addMenu:function(e,t){var n=this;this.sysNode=t,this.chooseId=t.id,this.categoryFullId=null===t.categoryFullId||""===t.categoryFullId||void 0===t.categoryFullId?t.id:t.categoryFullId,this.categoryFullName=null===t.categoryFullName||""===t.categoryFullName||void 0===t.categoryFullName?t.categoryName:t.categoryFullName+"-"+t.categoryName,this.$nextTick((function(){n.addObject(t)}))},addObject:function(e){var t=this.moduleInfo.addNewUrl.split("?")[0];t+="?parentId=",null===e?this.moduleInfo.addNewUrl=t:(this.moduleInfo.addNewUrl=t+e.id,this.moduleInfo.id=e.id),this.$bus.emit("openBusiform",this.moduleInfo,null,1)},deleteObject:function(e){var t=this,n=this.$tx("gwgl.gwjh.confirmDel",{val:e.categoryName},"确认删除".concat(e.categoryName,"吗?"));this.$confirm(n,{type:"warning"}).then((function(){t.$http({method:"DELETE",contentType:"application/x-www-form-urlencoded",params:{ids:e.id},url:t.moduleInfo.delUrl}).then((function(e){"success"===e.code?(t.sysNode=null,t.refreshTreeData(),t.$message.success(e.message)):t.$alert(e.message,{type:"error"})}))})).catch((function(){}))},refreshTreeData:function(){this.chooseId="",this.categoryFullId="",this.categoryFullName="",this.queryData()},queryData:function(){var e=this;this.$http({method:"POST",contentType:"application/x-www-form-urlencoded",params:{orderBy:"categoryLevel asc,orderno asc"},data:[{compare:"=",field:"orgCode",merge:!0,value:this.loginUser.orgCode}],url:"/gwgl/gdflsz/querydata"}).then((function(t){"success"===t.code?e.treeData=e.treeDataAdapter([e.root].concat(t.body.listdata)):e.$alert(t.message,e.$tx("common.operationTip","操作提示"),{type:"error"})}))},treeDataAdapter:function(e){return e.forEach((function(e){null===e.parentId||""===e.parentId||void 0===e.parentId?e.pId="0":e.pId=e.parentId,e.name=e.categoryName,e.title=e.categoryName,e.open=!0})),e},onTreeCreated:function(e){this.zTree=e;var t=e.getNodes();t.length>0&&(null===this.sysNode?(this.onTreeNodeClick("",t[0].id,t[0]),e.selectNode(t[0])):(this.onTreeNodeClick("",this.sysNode.id,this.sysNode),e.selectNode(this.sysNode)))},onTreeNodeClick:function(e,t,n){var r=this;this.sysNode=n,"归档文件"===n.name?this.showInfoView=!1:this.showInfoView=!0,this.$nextTick((function(e){r.getExpenseType(n)}))},getExpenseType:function(e){this.vo=e,this.chooseId=this.vo.id,this.categoryFullId=null===this.vo.categoryFullId||""===this.vo.categoryFullId||void 0===this.vo.categoryFullId?this.vo.id:this.vo.categoryFullId,this.categoryFullName=null===this.vo.categoryFullName||""===this.vo.categoryFullName||void 0===this.vo.categoryFullName?this.vo.categoryName:this.vo.categoryFullName+"-"+this.vo.categoryName,0!==this.vo.accessRights&&(this.activeId=this.vo.accessRights,this.activeText=this.vo.deptNames,this.activedeptIds=this.vo.deptIds)},onBasicFormBeforeOpen:function(e,t,n){t.categoryFullName=this.categoryFullName,t.categoryFullId=""===this.categoryFullId?t.id:this.categoryFullId+"-"+t.id,t.status=null===t.status?1:t.status,t.accessRights=null===t.accessRights?0:t.accessRights,t.categoryLevel=null===this.vo.categoryLevel||void 0===this.vo.categoryLevel?1:Number(this.vo.categoryLevel)+1,t.parentId=this.moduleInfo.id,n.resolve(!0)},onBasicFormOpened:function(e,t){$(".sel-icon .el-radio-button__orig-radio:checked").next(".el-radio-button__inner").css("background-color",t.iconColor)},onBasicFormBeforeSubmit:function(e,t,n){console.log(e,t,n)},onBasicFormSubmited:function(e,t){console.log(e,t)}}},Jo=Vo,Ko=(n(6272),m(Jo,Io,zo,!1,null,"3f95727c",null)),Qo=Ko.exports,Zo=function(){var e=this,t=e._self._c;return t("div",{directives:[{name:"show",rawName:"v-show",value:e.show,expression:"show"}],staticClass:"gdgz"},[t("PageContent",{attrs:{title:e.$tx("gwgl.setting.gdgzTitle","自动归档规则设置")}},[t("el-form",[t("div",{staticClass:"el-table el-table--fit el-table--border"},[t("div",{staticClass:"el-table__body-wrapper"},[t("table",{staticClass:"el-table__body el-table__body-top el-table__body_no",attrs:{cellspacing:"0",cellpadding:"0",border:"0"}},[t("tbody",[t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"autoToArch",expression:"'autoToArch'"}]},[e._v("自动归档")])]),t("td",{staticClass:"el-table__cell tdcont tdw83",attrs:{colspan:"3"}},[t("el-radio-group",{model:{value:e.vo.autoToArch,callback:function(t){e.$set(e.vo,"autoToArch",t)},expression:"vo.autoToArch"}},[t("el-radio",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"open",expression:"'open'"}],attrs:{label:"1"}},[e._v("开 启")]),t("el-radio",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"close",expression:"'close'"}],attrs:{label:"0"}},[e._v("关 闭")])],1)],1)]),t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"archiveFileType",expression:"'archiveFileType'"}]},[e._v("归档文件类型")])]),t("td",{staticClass:"el-table__cell tdcont tdw83",attrs:{colspan:"3"}},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"归档文件类型",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-checkbox-group",{attrs:{name:"fileType"},model:{value:e.fileType,callback:function(t){e.fileType=t},expression:"fileType"}},e._l(e.fileTypeList,(function(n,r){return t("el-checkbox",{key:r,attrs:{label:n}},[e._v(e._s(n))])})),1)],1)]}}])})],1)]),t("tr",[t("td",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"completedDocuments",expression:"'completedDocuments'"}],staticClass:"el-table__cell tdlbl tdw17",attrs:{rowspan:"2"}},[e._v("已办结文件")]),t("td",{staticClass:"el-table__cell tdcont tdw33"},[t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"afterCompletion",expression:"'afterCompletion'"}],staticClass:"td-lable"},[e._v("办结后")]),t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:" ",rules:"required|integer|min_value:0"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-input",{staticStyle:{width:"120px"},attrs:{name:"doneRetainDay"},model:{value:e.vo.doneRetainDay,callback:function(t){e.$set(e.vo,"doneRetainDay",t)},expression:"vo.doneRetainDay"}})],1)]}}])}),e._v("   "),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"dayFile",expression:"'dayFile'"}],staticClass:"td-lable"},[e._v("天归档")])],1),t("td",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"noCompletedDocuments",expression:"'noCompletedDocuments'"}],staticClass:"el-table__cell tdlbl tdw17",attrs:{rowspan:"2"}},[e._v("未办结文件")]),t("td",{staticClass:"el-table__cell tdcont tdw33"},[t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"forCreate",expression:"'forCreate'"}],staticClass:"td-lable"},[e._v("自创建起")]),t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:" ",rules:"required|integer|min_value:0"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-input",{staticStyle:{width:"120px"},attrs:{name:"todoRetainDay"},model:{value:e.vo.todoRetainDay,callback:function(t){e.$set(e.vo,"todoRetainDay",t)},expression:"vo.todoRetainDay"}})],1)]}}])}),e._v("   "),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"dayFile",expression:"'dayFile'"}],staticClass:"td-lable"},[e._v("天归档")])],1)]),t("tr",[t("td",{staticClass:"el-table__cell tdcont tdw33"},[t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"afterFile",expression:"'afterFile'"}],staticClass:"td-lable"},[e._v("归档后")]),t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:" ",rules:"required|integer|min_value:0"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-input",{staticStyle:{width:"120px"},attrs:{name:"doneRetainDayDel"},model:{value:e.vo.doneRetainDayDel,callback:function(t){e.$set(e.vo,"doneRetainDayDel",t)},expression:"vo.doneRetainDayDel"}})],1)]}}])}),e._v("   "),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"dayDel",expression:"'dayDel'"}],staticClass:"td-lable"},[e._v("天删除")])],1),t("td",{staticClass:"el-table__cell tdcont tdw33"},[t("span",{staticClass:"td-lable"},[e._v(e._s(e.$tx("gwgl.setting.afterFile")))]),t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:" ",rules:"required|integer|min_value:0"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-input",{staticStyle:{width:"120px"},attrs:{name:"todoRetainDayDel"},model:{value:e.vo.todoRetainDayDel,callback:function(t){e.$set(e.vo,"todoRetainDayDel",t)},expression:"vo.todoRetainDayDel"}})],1)]}}])}),e._v("   "),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"dayDel",expression:"'dayDel'"}],staticClass:"td-lable"},[e._v("天删除")])],1)]),t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[e._v(e._s(e.$tx("gwgl.components.fileAccessPermission")))]),t("td",{staticClass:"el-table__cell tdcont tdw83",attrs:{colspan:"3"}},[t("el-radio-group",{model:{value:e.vo.accessRightsType,callback:function(t){e.$set(e.vo,"accessRightsType",t)},expression:"vo.accessRightsType"}},[t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"allPersonnel",expression:"'allPersonnel'"}],attrs:{label:0,"module-code":"components"}},[e._v("全体人员可阅")]),t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"originalHandler",expression:"'originalHandler'"}],attrs:{label:1,"module-code":"components"}},[e._v("原经办人可阅")]),t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"handlerDesignated",expression:"'handlerDesignated'"}],attrs:{label:2,"module-code":"components"}},[e._v("原经办人+指定人可阅")])],1)],1)]),2===e.vo.accessRightsType?t("tr",[t("td",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"appoints",expression:"'appoints'"}],staticClass:"el-table__cell tdlbl tdw17",attrs:{moduleCode:"components"}},[e._v("指定类型")]),t("td",{staticClass:"el-table__cell tdcont tdw83",attrs:{colspan:"3"}},[t("el-radio-group",{on:{change:e.changAppoints},model:{value:e.vo.appoints,callback:function(t){e.$set(e.vo,"appoints",t)},expression:"vo.appoints"}},[t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"specifyGroup",expression:"'specifyGroup'"}],attrs:{label:"1","module-code":"components"}},[e._v("指定群组")]),t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"specifyDepart",expression:"'specifyDepart'"}],attrs:{label:"2","module-code":"components"}},[e._v("指定部门")]),t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"specifyPerson",expression:"'specifyPerson'"}],attrs:{label:"3","module-code":"components"}},[e._v("指定人员")])],1)],1)]):e._e(),2===e.vo.accessRightsType?t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),"1"===e.vo.appoints?t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"selectGroup",expression:"'selectGroup'"}],attrs:{moduleCode:"components"}},[e._v("选择群组")]):e._e(),"2"===e.vo.appoints?t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"selectDepart",expression:"'selectDepart'"}],attrs:{moduleCode:"components"}},[e._v("选择部门")]):e._e(),"3"===e.vo.appoints?t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"selectPerson",expression:"'selectPerson'"}],attrs:{moduleCode:"components"}},[e._v("选择人员")]):e._e()]),t("td",{staticClass:"el-table__cell tdcont tdw83",attrs:{colspan:"3"}},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:e.errorName(e.vo.appoints),rules:"required"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-input",{directives:[{name:"show",rawName:"v-show",value:"1"===e.vo.appoints,expression:"vo.appoints === '1'"},{name:"select-dialog",rawName:"v-select-dialog",value:"workgroup",expression:"'workgroup'"}],attrs:{readonly:"readonly",multiple:"true",type:"textarea","root-org-code":e.vo.orgCode,name:"deptIds2"},model:{value:e.vo.deptOrName,callback:function(t){e.$set(e.vo,"deptOrName",t)},expression:"vo.deptOrName"}})],1)]}}],null,!1,3325374032)}),t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:e.errorName(e.vo.appoints),rules:"required"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-input",{directives:[{name:"show",rawName:"v-show",value:"2"===e.vo.appoints,expression:"vo.appoints === '2'"},{name:"select-dialog",rawName:"v-select-dialog",value:"suborg",expression:"'suborg'"}],attrs:{"org-level":"2",readonly:"readonly",multiple:"true",type:"textarea","root-org-code":e.vo.orgCode,name:"deptIds"},model:{value:e.vo.deptOrName,callback:function(t){e.$set(e.vo,"deptOrName",t)},expression:"vo.deptOrName"}})],1)]}}],null,!1,3183607047)}),t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:e.errorName(e.vo.appoints),rules:"required"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-input",{directives:[{name:"show",rawName:"v-show",value:"3"===e.vo.appoints,expression:"vo.appoints === '3'"},{name:"select-dialog",rawName:"v-select-dialog",value:"staff",expression:"'staff'"}],attrs:{readonly:"readonly",multiple:"true",type:"textarea",name:"deptIds","root-org-code":e.vo.orgCode},model:{value:e.vo.deptOrName,callback:function(t){e.$set(e.vo,"deptOrName",t)},expression:"vo.deptOrName"}})],1)]}}],null,!1,3921191426)})],1)]):e._e()])])])])])],1),t("PageContent",{attrs:{title:e.$tx("gwgl.setting.gdgzTitle2","自动/手动归档提醒设置")}},[t("el-form",[t("div",{staticClass:"el-table el-table--fit el-table--border"},[t("div",{staticClass:"el-table__body-wrapper"},[t("table",{staticClass:"el-table__body",attrs:{cellspacing:"0",cellpadding:"0",border:"0"}},[t("tbody",[t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"reminderMethod",expression:"'reminderMethod'"}]},[e._v("提醒方式")])]),t("td",{staticClass:"el-table__cell tdcont",attrs:{colspan:"3"}},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"提醒方式",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-checkbox-group",{model:{value:e.remindType,callback:function(t){e.remindType=t},expression:"remindType"}},[t("el-checkbox",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"textMessage",expression:"'textMessage'"}],attrs:{label:"0","module-code":"gwjh"}},[e._v("短信")]),t("el-checkbox",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"email",expression:"'email'"}],attrs:{label:"3"}},[e._v("邮件")])],1)],1)]}}])})],1)]),t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"remindPersonName",expression:"'remindPersonName'"}]},[e._v("短信接收人员")])]),t("td",{staticClass:"el-table__cell tdcont",attrs:{colspan:"3"}},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"人员",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-input",{directives:[{name:"select-dialog",rawName:"v-select-dialog",value:"staff",expression:"'staff'"}],attrs:{readonly:"readonly",multiple:"true",type:"textarea",name:"remindPersonName"},model:{value:e.vo.remindPersonName,callback:function(t){e.$set(e.vo,"remindPersonName",t)},expression:"vo.remindPersonName"}})],1)]}}])})],1)])])])])])]),t("div",{staticStyle:{height:"100px"},attrs:{slot:"footer"},slot:"footer"},[t("div",{staticStyle:{"margin-bottom":"10px","font-size":"var(--portalFontSize13)"}},[t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"footerText",expression:"'footerText'"}],staticStyle:{color:"red"}},[e._v("注:天数为0,则不进行自动归档")]),t("div",[t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"save",expression:"'save'"}],attrs:{plain:"",icon:"el-icon-check"},on:{click:e.submitRule}},[e._v("保 存")])],1)])])],1)],1)},Xo=[];function ei(e){return ei="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ei(e)}function ti(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ti=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function d(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(e){d=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var o=t&&t.prototype instanceof y?t:y,i=Object.create(o.prototype),s=new j(r||[]);return a(i,"_invoke",{value:D(e,n,s)}),i}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=c;var p="suspendedStart",m="suspendedYield",f="executing",h="completed",g={};function y(){}function _(){}function v(){}var b={};d(b,i,(function(){return this}));var w=Object.getPrototypeOf,M=w&&w(w(C([])));M&&M!==n&&r.call(M,i)&&(b=M);var L=v.prototype=y.prototype=Object.create(b);function T(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function n(a,o,i,s){var l=u(e[a],e,o);if("throw"!==l.type){var d=l.arg,c=d.value;return c&&"object"==ei(c)&&r.call(c,"__await")?t.resolve(c.__await).then((function(e){n("next",e,i,s)}),(function(e){n("throw",e,i,s)})):t.resolve(c).then((function(e){d.value=e,i(d)}),(function(e){return n("throw",e,i,s)}))}s(l.arg)}var o;a(this,"_invoke",{value:function(e,r){function a(){return new t((function(t,a){n(e,r,t,a)}))}return o=o?o.then(a,a):a()}})}function D(t,n,r){var a=p;return function(o,i){if(a===f)throw Error("Generator is already running");if(a===h){if("throw"===o)throw i;return{value:e,done:!0}}for(r.method=o,r.arg=i;;){var s=r.delegate;if(s){var l=k(s,r);if(l){if(l===g)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(a===p)throw a=h,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);a=f;var d=u(t,n,r);if("normal"===d.type){if(a=r.done?h:m,d.arg===g)continue;return{value:d.arg,done:r.done}}"throw"===d.type&&(a=h,r.method="throw",r.arg=d.arg)}}}function k(t,n){var r=n.method,a=t.iterator[r];if(a===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,k(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var o=u(a,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,g;var i=o.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,g):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function Y(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function C(t){if(t||""===t){var n=t[i];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,o=function n(){for(;++a<t.length;)if(r.call(t,a))return n.value=t[a],n.done=!1,n;return n.value=e,n.done=!0,n};return o.next=o}}throw new TypeError(ei(t)+" is not iterable")}return _.prototype=v,a(L,"constructor",{value:v,configurable:!0}),a(v,"constructor",{value:_,configurable:!0}),_.displayName=d(v,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===_||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,d(e,l,"GeneratorFunction")),e.prototype=Object.create(L),e},t.awrap=function(e){return{__await:e}},T(x.prototype),d(x.prototype,s,(function(){return this})),t.AsyncIterator=x,t.async=function(e,n,r,a,o){void 0===o&&(o=Promise);var i=new x(c(e,n,r,a),o);return t.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},T(L),d(L,l,"Generator"),d(L,i,(function(){return this})),d(L,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=C,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(Y),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function a(r,a){return s.type="throw",s.arg=t,n.next=r,a&&(n.method="next",n.arg=e),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],s=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var l=r.call(i,"catchLoc"),d=r.call(i,"finallyLoc");if(l&&d){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!d)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&r.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),Y(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;Y(n)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:C(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}function ni(e,t,n,r,a,o,i){try{var s=e[o](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)}function ri(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){ni(o,r,a,i,s,"next",e)}function s(e){ni(o,r,a,i,s,"throw",e)}i(void 0)}))}}var ai={components:{},props:{},data:function(){return{i18npkg:"gwgl",moduleCode:"setting",show:!1,formtype:"",loginUser:this.$store.getters.loginUser,fileType:[],remindType:[],activeId:null,activeText:"",activedeptIds:"",vo:{accessRightsType:0,appoints:"1",autoRemind:0,autoToArch:"0",deptIds:"",deptOrName:"",doneRetainDay:0,doneRetainDayDel:0,todoRetainDay:0,todoRetainDayDel:0,fileType:"",id:"",orgCode:"",orgName:"",passenger:{},remindPersonName:"",remindPersonid:"",remindScope:0,remindType:[]},fileTypeList:[this.$tx("gwgl.portlet.unitDocument","单位发文"),this.$tx("gwgl.portlet.readingOffice","收文阅办"),this.$tx("gwgl.portlet.receiptDocuments","部门收文"),this.$tx("gwgl.portlet.departmentalLetter","部门便函"),this.$tx("gwgl.portlet.solicitationOpinions","意见征集"),this.$tx("gwgl.portlet.requestInstructions","请示报告"),this.$tx("gwgl.portlet.documentCirculation","文件传阅")]}},computed:{},watch:{},created:function(){self.$bus.emit("showNavSearch",!1),this.querydata(),this.getFileTypeList()},mounted:function(){},beforeDestroy:function(){self.$bus.emit("showNavSearch",!0)},methods:{getFileTypeList:function(){var e=this;this.$http({method:"get",contentType:"application/x-www-form-urlencoded",url:"/gwgl/gdwj/getFileTypeList"}).then((function(t){"success"===t.code&&(e.fileTypeList=t.body.fileTypeList)}))},errorName:function(e){var t="";return"1"===e&&(t=this.$tx("gwgl.setting.group","群组")),"2"===e&&(t=this.$tx("gwgl.setting.depart","部门")),"3"===e&&(t=this.$tx("gwgl.setting.person","人员")),t},changAppoints:function(e){this.vo.deptIds="",this.vo.deptOrName="",e===this.activeId&&(this.vo.deptIds=this.activedeptIds,this.vo.deptOrName=this.activeText)},onSelectSuborgCompleted:function(e,t){var n="",r="";e.forEach((function(e){""!==n&&(n+="、"),""!==n&&(r+="、"),n+=e.name,r+=e.id})),this.$set(this.vo,"deptIds",r),this.$set(this.vo,"deptOrName",n)},onSelectWorkgroupCompleted:function(e,t){var n="",r="";e.forEach((function(e){""!==n&&(n+="、"),""!==n&&(r+="、"),n+=e.name,r+=e.id})),this.$set(this.vo,"deptIds",r),this.$set(this.vo,"deptOrName",n)},onSelectStaffCompleted:function(e,t){var n="",r="";e.forEach((function(e){""!==n&&(r+="、"),""!==n&&(n+="、"),n+=e.name,r+=e.personId})),"remindPersonName"===t.name?(this.vo.remindPersonid="",this.vo.remindPersonName="",this.$set(this.vo,"remindPersonName",n),this.$set(this.vo,"remindPersonid",r)):"deptIds"===t.name&&(this.$set(this.vo,"deptOrName",n),this.$set(this.vo,"deptIds",r))},querydata:function(){var e=this;return ri(ti().mark((function t(){var n,r;return ti().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=[{compare:"=",field:"orgCode",merge:!0,value:e.loginUser.orgCode}],t.next=3,e.$app.querydata("/gwgl/gdgz/querydata",n);case 3:r=t.sent,"success"===r.code?(r.body.listdata.length>0?(e.formtype="updata",e.vo=r.body.listdata[0],e.fileType=e.vo.fileType.split(","),e.remindType=e.vo.remindType.split(","),"1"===e.vo.appoints&&"2"===e.vo.appoints&&"3"===e.vo.appoints||(e.vo.appoints="1"),2===e.vo.accessRightsType&&(e.activeId=e.vo.appoints,e.activeText=e.vo.deptOrName,e.activedeptIds=e.vo.deptIds)):e.$http({method:"post",contentType:"application/x-www-form-urlencoded",data:n,url:"/gwgl/gdgz/addNew"}).then((function(t){"success"===t.code&&(e.formtype="addnew",e.vo.id=t.body.vo.id,e.vo.orgCode=t.body.vo.orgCode,e.vo.orgName=t.body.vo.orgName)})),e.show=!0):(e.show=!0,e.$message.error(r.message));case 5:case"end":return t.stop()}}),t)})))()},submitRule:function(){var e=this;this.formValidate((function(){e.remindType=e.remindType.filter((function(e){return e})),e.vo.remindType=e.remindType.join(),e.fileType=e.fileType.filter((function(e){return e})),e.vo.fileType=e.fileType.join();var t={};"updata"===e.formtype?(t.method="PUT",t.url="/gwgl/gdgz/update"):"addnew"===e.formtype&&(t.method="POST",t.url="/gwgl/gdgz/insert"),0!==e.fileType.length?0!==e.remindType.length?0!==e.vo.remindPersonName.length?e.$http({method:t.method,contentType:"application/x-www-form-urlencoded",data:e.vo,url:t.url}).then((function(t){"success"===t.code?e.$message({message:t.message,type:"success"}):e.$message.error(t.message)})):e.$alert(e.$tx("gwgl.messages.submitAlert3","请选择短信接收人员"),e.$tx("gwgl.messages.submitAlertTip","温馨提示"),{confirmButtonText:e.$tx("pageBtns.sure","确 定")}):e.$alert(e.$tx("gwgl.messages.submitAlert2","请选择提醒方式"),e.$tx("gwgl.messages.submitAlertTip","温馨提示"),{confirmButtonText:e.$tx("pageBtns.sure","确 定")}):e.$alert(e.$tx("gwgl.messages.submitAlert","请选择归档文件类型"),e.$tx("gwgl.messages.submitAlertTip","温馨提示"),{confirmButtonText:e.$tx("pageBtns.sure","确 定")})}))}}},oi=ai,ii=(n(5222),m(oi,Zo,Xo,!1,null,"2c30e9dc",null)),si=ii.exports,li=function(){var e=this,t=e._self._c;return t("div",{staticClass:"app-container"},[e.searchTab.length>0?t("div",{staticClass:"tabbar"},[t("el-radio-group",{attrs:{size:"small"},model:{value:e.searchType,callback:function(t){e.searchType=t},expression:"searchType"}},e._l(e.searchTab,(function(n,r){return t("el-radio-button",{key:r,attrs:{label:n.type}},[t("div",{staticClass:"tabbartext",on:{click:function(t){return e.tabClickHandler(n)}}},[e._v(e._s(n.title))])])})),1)],1):e._e(),t("div",{staticClass:"search-box"},[t("DepTime",{attrs:{"dept-id":e.selectDept,"select-type":e.selectType,datearr:e.chooseDate,"report-type":e.reportType,"search-type":e.searchType},on:{changeTypeData:e.changeTypeData,dateInit:e.dateInit,changeDeptData:e.changeDeptData}}),t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"tj",expression:"'tj'"}],staticStyle:{"margin-left":"20px"},attrs:{type:"primary"},on:{click:e.getReportList}},[e._v("统计")])],1),t("div",{staticClass:"statistics_title",staticStyle:{margin:"20px 0px 10px"}},[e._v(e._s(e.title))]),t("div",{staticClass:"echart-box"},[e.loading?e._e():t("bar",{attrs:{"name-max-length":7,left:"2%",right:"5%","x-label-rotate":30,"echarts-click":e.echartsClick,"tooltip-format":e.tooltipFormat,"x-unit":e.xUnit,"y-unit":e.yUnit,"chart-type":e.chartType,"is-legend":!0,color:e.color,"x-data":e.xdata,"y-data":e.ydata,"toolbox-show":!0,"toolbox-orient":"horizontal"}})],1),t("div",{staticClass:"table-box"},[e.loading?e._e():t("dataTable",{attrs:{"row-click-handler":e.rowClickHandler,"is-download":!0,"list-tb":e.listTb,"list-data":e.listData,"choose-date":e.chooseDate,"file-name":e.title}})],1)])},di=[],ci=function(){var e=this,t=e._self._c;return t("div",{staticClass:"top-line"},[1===e.searchType&&"nw"===e.reportType||2===e.searchType&&"bwxl"===e.reportType||2===e.searchType&&"cql"===e.reportType?t("div",[t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"selectDepart",expression:"'selectDepart'"}],staticClass:"label"},[e._v("选择部门:")]),t("el-select",{attrs:{placeholder:e.$tx("gwgl.tjbg.pleaseSelect","请选择")},on:{change:e.changeDept},model:{value:e.deptId,callback:function(t){e.deptId=t},expression:"deptId"}},e._l(e.dept,(function(e,n){return t("el-option",{key:n,attrs:{label:e.name,value:e.id}})})),1)],1):e._e(),1!==e.searchType||"nw"!==e.reportType?t("div",[t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"fileType",expression:"'fileType'"}],staticClass:"label"},[e._v("文件类型:")]),t("el-select",{attrs:{placeholder:e.$tx("gwgl.tjbg.pleaseSelect","请选择")},on:{change:e.changeType},model:{value:e.selectType,callback:function(t){e.selectType=t},expression:"selectType"}},e._l(e.fileList,(function(e,n){return t("el-option",{key:n,attrs:{label:e.title,value:e.id}})})),1)],1):e._e(),t("div",[t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"tjzq",expression:"'tjzq'"}],staticClass:"label"},[e._v("统计周期:")]),"nw"!==e.reportType&&"bw"!==e.reportType||2!==e.searchType?t("el-date-picker",{staticStyle:{width:"280px"},attrs:{type:"daterange","range-separator":e.$tx("common.to","至"),format:"yyyy-MM-dd","value-format":"yyyy-MM-dd","start-placeholder":e.$tx("gwgl.tjbg.startDate","开始日期"),"end-placeholder":e.$tx("gwgl.tjbg.endDate","结束日期")},on:{change:e.changeTime},model:{value:e.datearr,callback:function(t){e.datearr=t},expression:"datearr"}}):t("el-date-picker",{staticStyle:{width:"280px"},attrs:{type:"monthrange","range-separator":e.$tx("common.to","至"),format:"yyyy-MM","value-format":"yyyy-MM","start-placeholder":e.$tx("gwgl.tjbg.startMonth","开始月份"),"end-placeholder":e.$tx("gwgl.tjbg.endMonth","结束月份")},on:{change:e.changeTime},model:{value:e.datearr,callback:function(t){e.datearr=t},expression:"datearr"}})],1)])},ui=[],pi={components:{},props:{reportType:{type:String,default:function(){return""}},deptId:{type:String,default:function(){return""}},selectType:{type:String,default:function(){return""}},searchType:{type:Number,default:function(){return 1}},datearr:{type:Array,default:function(){return[]}}},data:function(){return{loginUser:this.$store.getters.loginUser,selectDept:"",chooseDate:[],fileList:[{title:this.$tx("gwgl.portlet.all","全部"),id:""},{title:this.$tx("gwgl.portlet.unitDocument","单位发文"),id:this.$tx("gwgl.portlet.unitDocument","单位发文")},{title:this.$tx("gwgl.portlet.readingOffice","收文阅办"),id:this.$tx("gwgl.portlet.readingOffice","收文阅办")},{title:this.$tx("gwgl.portlet.receiptDocuments","部门收文"),id:this.$tx("gwgl.portlet.receiptDocuments","部门收文")},{title:this.$tx("gwgl.portlet.documentCirculation","文件传阅"),id:this.$tx("gwgl.portlet.documentCirculation","文件传阅")},{title:this.$tx("gwgl.portlet.departmentalLetter","部门便函"),id:this.$tx("gwgl.portlet.departmentalLetter","部门便函")},{title:this.$tx("gwgl.portlet.solicitationOpinions","意见征集"),id:this.$tx("gwgl.portlet.solicitationOpinions","意见征集")},{title:this.$tx("gwgl.portlet.requestInstructions","请示报告"),id:this.$tx("gwgl.portlet.requestInstructions","请示报告")}],dept:[],startT:"",endT:""}},computed:{},watch:{searchType:function(){this.selectDept="",this.selectType=""}},created:function(){this.getdept()},mounted:function(){},methods:{changeDept:function(e){var t="";this.dept.forEach((function(n){n.id===e&&(t=n.name)})),this.selectDept=this.deptId,this.$emit("changeDeptData",{selectDept:this.selectDept,deptName:t})},changeType:function(){this.$emit("changeTypeData",this.selectType)},changeTime:function(){this.chooseDate=this.datearr,this.$emit("dateInit",this.chooseDate)},getdept:function(){var e=this;this.$http({url:"base/organMgr/findAllOrganByOrgCode",method:"GET",contentType:"application/x-www-form-urlencoded",params:{orgCode:this.loginUser.orgCode,subOrgLevel:2}}).then((function(t){if("success"===t.code){var n=t.body.listdata.filter((function(e){return 2===e.orgLevel}));n.unshift({name:e.$tx("gwgl.tjbg.allDepart","所有部门"),id:""}),e.dept=n}else e.$message.error(t.message)}))}}},mi=pi,fi=(n(3747),m(mi,ci,ui,!1,null,"39239143",null)),hi=fi.exports,gi=function(){var e=this,t=e._self._c;return t("div",[t("el-row",[t("el-col",{staticStyle:{"text-align":"right",height:"34px","margin-bottom":"10px"},attrs:{span:24}},[e.isDownload?t("el-button",{directives:[{name:"table-toxls",rawName:"v-table-toxls",value:e.views,expression:"views"}],attrs:{plain:"",size:"small","file-name":e.chooseDate[0]+e.$tx("gwgl.common.to","至")+e.chooseDate[1]+e.fileName}},[t("svg",e._g({staticClass:"svg-icon",attrs:{"aria-hidden":"true"}},e.$listeners),[t("use",{attrs:{"xlink:href":"#icon-export"}})]),t("span",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"export",expression:"'export'"}]},[e._v("导出")])]):e._e()],1)],1),t("div",{staticClass:"teble-div"},[t("el-table",{staticStyle:{width:"100%"},attrs:{id:"views",data:e.listData,border:""},on:{"row-click":e.rowClickHandler}},[t("el-table-column",{attrs:{type:"index",label:e.$tx("fields.index","序号"),width:"45",align:"center"}}),e._l(e.listTb,(function(e,n){return t("el-table-column",{key:n,attrs:{prop:e.prop,label:e.title,align:e.align?e.align:"center","show-overflow-tooltip":!0}})}))],2)],1)],1)},yi=[],_i={components:{},props:{listTb:{type:Array,default:function(){return[]}},listData:{type:Array,default:function(){return[]}},fileName:{type:String,default:function(){return""}},isDownload:{type:Boolean,default:function(){return!0}},rowClickHandler:{type:Function,default:null},chooseDate:{type:Array,default:function(){return["",""]}}},data:function(){return{lm:this.$route.meta}},computed:{},watch:{},created:function(){},mounted:function(){},beforeDestroy:function(){},methods:{}},vi=_i,bi=(n(9108),m(vi,gi,yi,!1,null,"72227ab2",null)),wi=bi.exports;function Mi(e){return Mi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Mi(e)}function Li(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Li=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function d(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(e){d=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var o=t&&t.prototype instanceof y?t:y,i=Object.create(o.prototype),s=new j(r||[]);return a(i,"_invoke",{value:D(e,n,s)}),i}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=c;var p="suspendedStart",m="suspendedYield",f="executing",h="completed",g={};function y(){}function _(){}function v(){}var b={};d(b,i,(function(){return this}));var w=Object.getPrototypeOf,M=w&&w(w(C([])));M&&M!==n&&r.call(M,i)&&(b=M);var L=v.prototype=y.prototype=Object.create(b);function T(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function n(a,o,i,s){var l=u(e[a],e,o);if("throw"!==l.type){var d=l.arg,c=d.value;return c&&"object"==Mi(c)&&r.call(c,"__await")?t.resolve(c.__await).then((function(e){n("next",e,i,s)}),(function(e){n("throw",e,i,s)})):t.resolve(c).then((function(e){d.value=e,i(d)}),(function(e){return n("throw",e,i,s)}))}s(l.arg)}var o;a(this,"_invoke",{value:function(e,r){function a(){return new t((function(t,a){n(e,r,t,a)}))}return o=o?o.then(a,a):a()}})}function D(t,n,r){var a=p;return function(o,i){if(a===f)throw Error("Generator is already running");if(a===h){if("throw"===o)throw i;return{value:e,done:!0}}for(r.method=o,r.arg=i;;){var s=r.delegate;if(s){var l=k(s,r);if(l){if(l===g)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(a===p)throw a=h,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);a=f;var d=u(t,n,r);if("normal"===d.type){if(a=r.done?h:m,d.arg===g)continue;return{value:d.arg,done:r.done}}"throw"===d.type&&(a=h,r.method="throw",r.arg=d.arg)}}}function k(t,n){var r=n.method,a=t.iterator[r];if(a===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,k(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var o=u(a,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,g;var i=o.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,g):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function Y(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function C(t){if(t||""===t){var n=t[i];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,o=function n(){for(;++a<t.length;)if(r.call(t,a))return n.value=t[a],n.done=!1,n;return n.value=e,n.done=!0,n};return o.next=o}}throw new TypeError(Mi(t)+" is not iterable")}return _.prototype=v,a(L,"constructor",{value:v,configurable:!0}),a(v,"constructor",{value:_,configurable:!0}),_.displayName=d(v,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===_||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,d(e,l,"GeneratorFunction")),e.prototype=Object.create(L),e},t.awrap=function(e){return{__await:e}},T(x.prototype),d(x.prototype,s,(function(){return this})),t.AsyncIterator=x,t.async=function(e,n,r,a,o){void 0===o&&(o=Promise);var i=new x(c(e,n,r,a),o);return t.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},T(L),d(L,l,"Generator"),d(L,i,(function(){return this})),d(L,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=C,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(Y),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function a(r,a){return s.type="throw",s.arg=t,n.next=r,a&&(n.method="next",n.arg=e),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],s=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var l=r.call(i,"catchLoc"),d=r.call(i,"finallyLoc");if(l&&d){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!d)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&r.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),Y(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;Y(n)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:C(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}function Ti(e,t,n,r,a,o,i){try{var s=e[o](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)}function xi(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){Ti(o,r,a,i,s,"next",e)}function s(e){Ti(o,r,a,i,s,"throw",e)}i(void 0)}))}}var Di=n(5093),ki={components:{DepTime:hi,dataTable:wi},props:{},data:function(){return{i18npkg:"gwgl",moduleCode:"tjbg",titleList:{nw:{text:this.$tx("gwgl.tjbg.essayWritingNum","拟文数量统计"),url:"/platStatistics/doneAndtodo/startingStatistics",searchTab:[{type:1,title:this.$tx("gwgl.tjbg.byType","按类型"),xUnit:{name:this.$tx("gwgl.tjbg.fileType2","文件类型"),align:"end",size:"12"},yUnit:{name:this.$tx("gwgl.tjbg.qwNum","起文数量(个)"),align:"end",size:"12",minInterval:1,lineColor:"#000"},chartType:[{type:"bar",yAxisIndex:0,symbol:""}],td:[{title:this.$tx("gwgl.gdgl.fileType2","文件类型"),prop:"name",align:"left"},{title:this.$tx("gwgl.tjbg.qwNum2","起文数量(个)"),prop:"num"}]},{type:2,title:this.$tx("gwgl.tjbg.byTime","按时间"),xUnit:{name:this.$tx("gwgl.tjbg.month","月份"),align:"end",size:"12"},yUnit:{name:this.$tx("gwgl.tjbg.qwNum","起文数量(个)"),align:"end",size:"12",minInterval:1,lineColor:"#000"},chartType:[{type:"line",yAxisIndex:0,symbol:""}],td:[{title:this.$tx("gwgl.tjbg.month","月份"),prop:"createDate",align:"left"},{title:this.$tx("gwgl.tjbg.qwNum2","起文数量"),prop:"num"}]}]},bw:{text:this.$tx("gwgl.tjbg.officeDocumentNum","办文次数统计"),url:"/platStatistics/doneAndtodo/statisticsOnTheNumberOfDocuments",searchTab:[{type:1,title:this.$tx("gwgl.tjbg.byDepart","按部门"),xUnit:{name:this.$tx("gwgl.components.fields.deptName","部门名称"),align:"end",size:"12"},yUnit:{name:this.$tx("gwgl.tjbg.officeDocumentNum1","办文次数(次)"),align:"end",size:"12",minInterval:1,lineColor:"#000"},chartType:[{type:"bar",yAxisIndex:0,symbol:""}],td:[{title:this.$tx("gwgl.components.fields.deptName","部门名称"),prop:"name",align:"left"},{title:this.$tx("gwgl.tjbg.bwNum","办文次数"),prop:"num"}]},{type:2,title:this.$tx("gwgl.tjbg.byTime","按时间"),xUnit:{name:this.$tx("gwgl.tjbg.month","月份"),align:"end",size:"12"},yUnit:{name:this.$tx("gwgl.tjbg.officeDocumentNum1","办文次数(次)"),align:"end",size:"12",minInterval:1,lineColor:"#000"},chartType:[{type:"line",yAxisIndex:0,symbol:""}],td:[{title:this.$tx("gwgl.tjbg.month","月份"),prop:"createDate",align:"left"},{title:this.$tx("gwgl.tjbg.bwNum","办文次数"),prop:"num"}]}]},bwxl:{text:this.$tx("gwgl.tjbg.officeDocumentXlNum"),url:"/platStatistics/doneAndtodo/handlingEfficiencyStatistics",searchTab:[{type:1,title:this.$tx("gwgl.tjbg.byDepart","按部门"),xUnit:{name:this.$tx("gwgl.components.fields.deptName","部门名称"),align:"end",size:"12"},yUnit:{name:this.$tx("gwgl.tjbg.avgBwTime2","平均办文时长(小时)"),minInterval:1,align:"end",size:"12",position:"left",lineColor:"#000"},chartType:[{type:"bar",yAxisIndex:0,symbol:""}],td:[{title:this.$tx("gwgl.components.fields.deptName","部门名称"),prop:"name",align:"left"},{title:this.$tx("gwgl.tjbg.avgBwTime","平均办文时长"),prop:"avgMinute"}]},{type:2,title:this.$tx("gwgl.tjbg.byPerson","按人员"),xUnit:{name:this.$tx("gwgl.tjbg.name","姓名"),align:"end",size:"12"},yUnit:{name:this.$tx("gwgl.tjbg.avgBwTime2","平均办文时长(小时)"),minInterval:1,align:"end",size:"12",position:"left",lineColor:"#000"},chartType:[{type:"bar",yAxisIndex:0,symbol:""}],td:[{title:this.$tx("gwgl.tjbg.name","姓名"),prop:"name",align:"left"},{title:this.$tx("gwgl.tjbg.avgBwTime","平均办文时长"),prop:"avgMinute"}]}]},thl:{text:this.$tx("gwgl.tjbg.officeDocumentHtNum"),url:"/platStatistics/doneAndtodo/returnRateStatistics",searchTab:[]},cql:{text:this.$tx("gwgl.tjbg.officeDocumentCqlNum"),url:"/platStatistics/doneAndtodo/statisticsOfOverdueRate",searchTab:[{type:1,title:this.$tx("gwgl.tjbg.byDepart","按部门"),xUnit:{name:this.$tx("gwgl.components.fields.deptName","部门名称"),align:"end",size:"12"},yUnit:{name:this.$tx("gwgl.tjbg.avgCql2","平均超期率(%)"),align:"end",size:"12",position:"left",lineColor:"#000",labelFormatter:"{value}%"},chartType:[{type:"bar",yAxisIndex:0,symbol:""}],td:[{title:this.$tx("gwgl.components.fields.deptName","部门名称"),prop:"name",align:"left"},{title:this.$tx("gwgl.tjbg.avgCql","平均超期率"),prop:"lv"}]},{type:2,title:this.$tx("gwgl.tjbg.byPerson","按人员"),xUnit:{name:this.$tx("gwgl.tjbg.name","姓名"),align:"end",size:"12"},yUnit:{name:this.$tx("gwgl.tjbg.avgCql2","平均超期率(%)"),align:"end",size:"12",position:"left",lineColor:"#000",labelFormatter:"{value}%"},chartType:[{type:"bar",yAxisIndex:0,symbol:""}],td:[{title:this.$tx("gwgl.tjbg.name","姓名"),prop:"name",align:"left"},{title:this.$tx("gwgl.tjbg.avgCql","平均超期率"),prop:"lv"}]}]}},chartType:[{type:"bar",yAxisIndex:0,symbol:""}],color:["#48c9b3","#f7a35c"],xUnit:{name:"",align:"end",size:"12"},yUnit:{name:"",align:"end",size:"12",lineColor:"#000"},reportType:"nw",title:this.$tx("gwgl.tjbg.essayWritingNum","拟文数量统计"),searchTab:[],searchType:1,url:"",selectDept:"",chooseDate:[],selectType:"",listTb:[],listData:[],xdata:[],ydata:[],loading:!1,tooltipFormat:null,deptName:"所有部门"}},computed:{},watch:{searchType:function(e){this.title=this.titleList[this.reportType].text,"nw"!==this.reportType&&"bw"!==this.reportType||2!==e?this.initDate("day"):this.initDate("month"),"bwxl"!==this.reportType&&"cql"!==this.reportType||2!==this.searchType?(this.selectDept="",this.selectType="",this.deptName=this.$tx("gwgl.tjbg.allDepart","所有部门")):this.listTb[0].title=this.$tx("gwgl.tjbg.name","姓名"),this.getReportList()}},created:function(){this.$options.components["bar"]=this.$loadComponent("@/wapp/common/components/Echarts/src/EchartColumnar"),this.$bus.emit("showNavSearch",!1),this.reportType=this.$route.meta.params?this.$route.meta.params:"nw",this.title=this.titleList[this.reportType].text,this.searchTab=this.titleList[this.reportType].searchTab,this.url=this.titleList[this.reportType].url,"thl"===this.reportType?(this.xUnit={name:this.$tx("gwgl.components.fields.deptName","部门名称"),align:"end",size:"12"},this.yUnit={name:this.$tx("gwgl.tjbg.avgThl2","平均退回率(%)"),align:"end",size:"12",position:"left",lineColor:"#000",labelFormatter:"{value}%"},this.listTb=[{title:this.$tx("gwgl.components.fields.deptName","部门名称"),prop:"name",align:"left"},{title:this.$tx("gwgl.tjbg.avgThl","平均退回率:"),prop:"lv"}]):(this.xUnit=this.titleList[this.reportType].searchTab[0].xUnit,this.yUnit=this.titleList[this.reportType].searchTab[0].yUnit,this.listTb=this.titleList[this.reportType].searchTab[0].td),this.initDate("day"),this.getReportList()},mounted:function(){},beforeDestroy:function(){this.$bus.emit("showNavSearch",!0)},methods:{echartsClick:function(){return!1},rowClickHandler:function(e,t,n){if("bwxl"!==this.reportType&&"cql"!==this.reportType||1!==this.searchType)return!1;""!==e.id&&void 0!==e.id&&(this.selectDept=e.id,this.searchType=2,this.deptName=e.name,this.xUnit={name:this.$tx("gwgl.tjbg.name","姓名"),align:"end",size:"12"},this.yUnit="bwxl"===this.reportType?{name:this.$tx("gwgl.tjbg.avgBwTime2","平均办文时长(小时)"),align:"end",size:"12",position:"left",lineColor:"#000"}:{name:this.$tx("gwgl.tjbg.avgBwTime3","超期率"),align:"center",size:"12",position:"left",lineColor:"#000"})},initDate:function(e){var t=new Date,n=t.getFullYear(),r=t.getMonth()+1>=10?t.getMonth()+1:"0"+(t.getMonth()+1);if("day"===e)this.chooseDate=[Di().add(-30,"days").format("YYYY-MM-DD"),Di().format("YYYY-MM-DD")];else if("month"===e){var a=new Date(t.setMonth(r-12)).getFullYear(),o=new Date(t.setMonth(r-12)).getMonth()+1>=10?new Date(t.setMonth(r-12)).getMonth()+1:"0"+(new Date(t.setMonth(r-12)).getMonth()+1),i=a+"-"+o,s=n+"-"+r;this.chooseDate=[i,s]}},getReportList:function(){var e=this;return xi(Li().mark((function t(){var n,r,a;return Li().wrap((function(t){while(1)switch(t.prev=t.next){case 0:n="",t.t0=e.selectType,t.next=""===t.t0?4:"单位发文"===t.t0?6:"部门收文"===t.t0?8:"收文阅办"===t.t0?10:"文件传阅"===t.t0?12:"部门便函"===t.t0?14:"意见征集"===t.t0?16:"请示报告"===t.t0?18:20;break;case 4:return n="fawen,shouwen,wjcy,bmbh,yjzj,hytz,qsbg",t.abrupt("break",22);case 6:return n="fawen",t.abrupt("break",22);case 8:return n="shouwen",t.abrupt("break",22);case 10:return n="shouwen",t.abrupt("break",22);case 12:return n="wjcy",t.abrupt("break",22);case 14:return n="bmbh",t.abrupt("break",22);case 16:return n="yjzj",t.abrupt("break",22);case 18:return n="qsbg",t.abrupt("break",22);case 20:return n="fawen,shouwen,wjcy,bmbh,yjzj,hytz,qsbg",t.abrupt("break",22);case 22:return r={deptId:e.selectDept,endTime:e.chooseDate[1],startTime:e.chooseDate[0],type:e.searchType,fileName:e.selectType,module:n},e.loading=!0,e.listData=[],t.next=27,e.$app.listdata(e.url,r);case 27:a=t.sent,"success"===a.code&&e.mergeList(a.body.listdata),e.loading=!1;case 30:case"end":return t.stop()}}),t)})))()},mergeList:function(e){var t=this,n=this,r=[],a=[];e.forEach((function(e){"nw"!==t.reportType&&"bw"!==t.reportType||(1===t.searchType?(r.push(e.name),a.push(e.num)):2===t.searchType&&(r.push(e.createDate),a.push(e.num))),"bwxl"===t.reportType&&(r.push(e.name),a.push(JSON.parse(JSON.stringify(e.avgMinute))/60),e.avgMinute=t.mergeMinute(e.avgMinute)),"thl"!==t.reportType&&"cql"!==t.reportType||(r.push(e.name),a.push((100*e.lv).toFixed(2)),e.lv=(100*e.lv).toFixed(2)+"%")})),"thl"===this.reportType&&(this.tooltipFormat=function(e){return e[0].name+'</br><span style="display:inline-block;margin-right:5px;border-radius:10px;width:10px;height:10px;background-color:'+e[0].color+';"></span>'+this.$tx("gwgl.tjbg.avgThl","平均退回率:")+e[0].data+"%"}),"cql"===this.reportType&&(this.tooltipFormat=function(e){return e[0].name+'</br><span style="display:inline-block;margin-right:5px;border-radius:10px;width:10px;height:10px;background-color:'+e[0].color+';"></span>'+this.$tx("gwgl.tjbg.avgCql","平均超期率")+":"+e[0].data+"%"},2===this.searchType&&(this.title=this.deptName+this.$tx("gwgl.tjbg.title","-办文超期前十排名"))),"bwxl"===this.reportType&&(this.tooltipFormat=function(e){return e[0].name+'</br><span style="display:inline-block;margin-right:5px;border-radius:10px;width:10px;height:10px;background-color:'+e[0].color+';"></span>'+this.$tx("gwgl.tjbg.avgBwTime","平均办文时长")+":"+n.mergeMinute(60*e[0].data)},2===this.searchType&&(this.title=this.deptName+this.$tx("gwgl.tjbg.title2","-办文效率后十名"))),this.xdata=r,this.ydata=[a],this.listData=e},mergeMinute:function(e){var t=60*e*1e3,n=Math.floor(t/864e5),r=t%864e5,a=Math.floor(r/36e5),o=r%36e5,i=Math.floor(o/6e4),s=o%6e4,l=Math.round(s/1e3),d="";return d+=0===n?0===a?0===i?this.$tx("gwgl.tjbg.mergeMinute",{s:l},"seconds + '秒'"):this.$tx("gwgl.tjbg.mergeMinute1",{m:i,s:l}," minutes + '分钟' + seconds + '秒'"):this.$tx("gwgl.tjbg.mergeMinute2",{h:a,m:i,s:l},"hours + '小时' + minutes + '分钟' + seconds + '秒'"):this.$tx("gwgl.tjbg.mergeMinute3",{d:n,h:a,m:i,s:l},"days + '天' + hours + '小时' + minutes + '分钟' + seconds + '秒'"),d},changeDeptData:function(e){this.selectDept=e.selectDept,this.deptName=e.deptName},dateInit:function(e){this.chooseDate=e},changeTypeData:function(e){this.selectType=e},tabClickHandler:function(e){this.searchType=e.type,this.chartType=e.chartType,this.xUnit=e.xUnit,this.yUnit=e.yUnit,this.listTb=e.td,this.selectType=""}}},Si=ki,Yi=(n(5880),m(Si,li,di,!1,null,"05c6b150",null)),ji=Yi.exports;function Ci(e){return Ci="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ci(e)}function Oi(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ni(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Oi(Object(n),!0).forEach((function(t){Pi(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Oi(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Pi(e,t,n){return(t=Ei(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ei(e){var t=Hi(e,"string");return"symbol"==Ci(t)?t:t+""}function Hi(e,t){if("object"!=Ci(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Ci(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var Fi={GwglFilingSystem:h,GwglFlowList:x,GwglTbColumns:ye,GwglZdzggToForm:Be,GwglModuleIndex:$e,GwglFileLevel:at,GwglGdgl:jt,GwglGwjh:sr,GwglGwjhReceiptFile:kn,GwglPortletBwsctj:Ra,GwglPortletBwsltj:ro,GwglPortletGwcx:fo,GwglPortletGwmb:To,GwglPortletOfficial:$o,GwglSettingGdgz:si,GwglSettingFlgl:Qo,GwglTjbg:ji,GwglFileForm:ht,GwglGwjhCommonGroupsIndex:Br,GwglGwjhOrgOrganizationIndex:ka,GwglInternalCommsInfo:Ze},Ai=function e(t){e.installed||(e.installed=!0,Object.keys(Fi).forEach((function(e){t.component(e,Fi[e])})))};"undefined"!==typeof window&&window.Vue&&Ai(window.Vue);var $i=n(4707),Ii=Ni(Ni({install:Ai},Fi),{},{$messages:$i}),zi=Ii}(),r}()}));
307
+ function S(e){var t=Number(e.version.split(".")[0]);if(t>=2)e.mixin({beforeCreate:r});else{var n=e.prototype._init;e.prototype._init=function(e){void 0===e&&(e={}),e.init=e.init?[r].concat(e.init):r,n.call(this,e)}}function r(){var e=this.$options;e.store?this.$store="function"===typeof e.store?e.store():e.store:e.parent&&e.parent.$store&&(this.$store=e.parent.$store)}}var Y="undefined"!==typeof window?window:"undefined"!==typeof n.g?n.g:{},j=Y.__VUE_DEVTOOLS_GLOBAL_HOOK__;function C(e){j&&(e._devtoolHook=j,j.emit("vuex:init",e),j.on("vuex:travel-to-state",(function(t){e.replaceState(t)})),e.subscribe((function(e,t){j.emit("vuex:mutation",e,t)}),{prepend:!0}),e.subscribeAction((function(e,t){j.emit("vuex:action",e,t)}),{prepend:!0}))}function O(e,t){Object.keys(e).forEach((function(n){return t(e[n],n)}))}function N(e){return null!==e&&"object"===typeof e}function P(e){return e&&"function"===typeof e.then}function E(e,t){return function(){return e(t)}}var H=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var n=e.state;this.state=("function"===typeof n?n():n)||{}},F={namespaced:{configurable:!0}};F.namespaced.get=function(){return!!this._rawModule.namespaced},H.prototype.addChild=function(e,t){this._children[e]=t},H.prototype.removeChild=function(e){delete this._children[e]},H.prototype.getChild=function(e){return this._children[e]},H.prototype.hasChild=function(e){return e in this._children},H.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)},H.prototype.forEachChild=function(e){O(this._children,e)},H.prototype.forEachGetter=function(e){this._rawModule.getters&&O(this._rawModule.getters,e)},H.prototype.forEachAction=function(e){this._rawModule.actions&&O(this._rawModule.actions,e)},H.prototype.forEachMutation=function(e){this._rawModule.mutations&&O(this._rawModule.mutations,e)},Object.defineProperties(H.prototype,F);var A=function(e){this.register([],e,!1)};function I(e,t,n){if(t.update(n),n.modules)for(var r in n.modules){if(!t.getChild(r))return void 0;I(e.concat(r),t.getChild(r),n.modules[r])}}A.prototype.get=function(e){return e.reduce((function(e,t){return e.getChild(t)}),this.root)},A.prototype.getNamespace=function(e){var t=this.root;return e.reduce((function(e,n){return t=t.getChild(n),e+(t.namespaced?n+"/":"")}),"")},A.prototype.update=function(e){I([],this.root,e)},A.prototype.register=function(e,t,n){var r=this;void 0===n&&(n=!0);var a=new H(t,n);if(0===e.length)this.root=a;else{var o=this.get(e.slice(0,-1));o.addChild(e[e.length-1],a)}t.modules&&O(t.modules,(function(t,a){r.register(e.concat(a),t,n)}))},A.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1],r=t.getChild(n);r&&r.runtime&&t.removeChild(n)},A.prototype.isRegistered=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1];return!!t&&t.hasChild(n)};var z;var R=function(e){var t=this;void 0===e&&(e={}),!z&&"undefined"!==typeof window&&window.Vue&&ne(window.Vue);var n=e.plugins;void 0===n&&(n=[]);var r=e.strict;void 0===r&&(r=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new A(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new z,this._makeLocalGettersCache=Object.create(null);var a=this,o=this,i=o.dispatch,s=o.commit;this.dispatch=function(e,t){return i.call(a,e,t)},this.commit=function(e,t,n){return s.call(a,e,t,n)},this.strict=r;var l=this._modules.root.state;q(this,l,[],this._modules.root),U(this,l),n.forEach((function(e){return e(t)}));var d=void 0!==e.devtools?e.devtools:z.config.devtools;d&&C(this)},W={state:{configurable:!0}};function G(e,t,n){return t.indexOf(e)<0&&(n&&n.prepend?t.unshift(e):t.push(e)),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function B(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;q(e,n,[],e._modules.root,!0),U(e,n,t)}function U(e,t,n){var r=e._vm;e.getters={},e._makeLocalGettersCache=Object.create(null);var a=e._wrappedGetters,o={};O(a,(function(t,n){o[n]=E(t,e),Object.defineProperty(e.getters,n,{get:function(){return e._vm[n]},enumerable:!0})}));var i=z.config.silent;z.config.silent=!0,e._vm=new z({data:{$$state:t},computed:o}),z.config.silent=i,e.strict&&X(e),r&&(n&&e._withCommit((function(){r._data.$$state=null})),z.nextTick((function(){return r.$destroy()})))}function q(e,t,n,r,a){var o=!n.length,i=e._modules.getNamespace(n);if(r.namespaced&&(e._modulesNamespaceMap[i],e._modulesNamespaceMap[i]=r),!o&&!a){var s=ee(t,n.slice(0,-1)),l=n[n.length-1];e._withCommit((function(){z.set(s,l,r.state)}))}var d=r.context=V(e,i,n);r.forEachMutation((function(t,n){var r=i+n;K(e,r,t,d)})),r.forEachAction((function(t,n){var r=t.root?n:i+n,a=t.handler||t;Q(e,r,a,d)})),r.forEachGetter((function(t,n){var r=i+n;Z(e,r,t,d)})),r.forEachChild((function(r,o){q(e,t,n.concat(o),r,a)}))}function V(e,t,n){var r=""===t,a={dispatch:r?e.dispatch:function(n,r,a){var o=te(n,r,a),i=o.payload,s=o.options,l=o.type;return s&&s.root||(l=t+l),e.dispatch(l,i)},commit:r?e.commit:function(n,r,a){var o=te(n,r,a),i=o.payload,s=o.options,l=o.type;s&&s.root||(l=t+l),e.commit(l,i,s)}};return Object.defineProperties(a,{getters:{get:r?function(){return e.getters}:function(){return J(e,t)}},state:{get:function(){return ee(e.state,n)}}}),a}function J(e,t){if(!e._makeLocalGettersCache[t]){var n={},r=t.length;Object.keys(e.getters).forEach((function(a){if(a.slice(0,r)===t){var o=a.slice(r);Object.defineProperty(n,o,{get:function(){return e.getters[a]},enumerable:!0})}})),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}function K(e,t,n,r){var a=e._mutations[t]||(e._mutations[t]=[]);a.push((function(t){n.call(e,r.state,t)}))}function Q(e,t,n,r){var a=e._actions[t]||(e._actions[t]=[]);a.push((function(t){var a=n.call(e,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:e.getters,rootState:e.state},t);return P(a)||(a=Promise.resolve(a)),e._devtoolHook?a.catch((function(t){throw e._devtoolHook.emit("vuex:error",t),t})):a}))}function Z(e,t,n,r){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(e){return n(r.state,r.getters,e.state,e.getters)})}function X(e){e._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}function ee(e,t){return t.reduce((function(e,t){return e[t]}),e)}function te(e,t,n){return N(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}function ne(e){z&&e===z||(z=e,S(z))}W.state.get=function(){return this._vm._data.$$state},W.state.set=function(e){0},R.prototype.commit=function(e,t,n){var r=this,a=te(e,t,n),o=a.type,i=a.payload,s=(a.options,{type:o,payload:i}),l=this._mutations[o];l&&(this._withCommit((function(){l.forEach((function(e){e(i)}))})),this._subscribers.slice().forEach((function(e){return e(s,r.state)})))},R.prototype.dispatch=function(e,t){var n=this,r=te(e,t),a=r.type,o=r.payload,i={type:a,payload:o},s=this._actions[a];if(s){try{this._actionSubscribers.slice().filter((function(e){return e.before})).forEach((function(e){return e.before(i,n.state)}))}catch(d){0}var l=s.length>1?Promise.all(s.map((function(e){return e(o)}))):s[0](o);return new Promise((function(e,t){l.then((function(t){try{n._actionSubscribers.filter((function(e){return e.after})).forEach((function(e){return e.after(i,n.state)}))}catch(d){0}e(t)}),(function(e){try{n._actionSubscribers.filter((function(e){return e.error})).forEach((function(t){return t.error(i,n.state,e)}))}catch(d){0}t(e)}))}))}},R.prototype.subscribe=function(e,t){return G(e,this._subscribers,t)},R.prototype.subscribeAction=function(e,t){var n="function"===typeof e?{before:e}:e;return G(n,this._actionSubscribers,t)},R.prototype.watch=function(e,t,n){var r=this;return this._watcherVM.$watch((function(){return e(r.state,r.getters)}),t,n)},R.prototype.replaceState=function(e){var t=this;this._withCommit((function(){t._vm._data.$$state=e}))},R.prototype.registerModule=function(e,t,n){void 0===n&&(n={}),"string"===typeof e&&(e=[e]),this._modules.register(e,t),q(this,this.state,e,this._modules.get(e),n.preserveState),U(this,this.state)},R.prototype.unregisterModule=function(e){var t=this;"string"===typeof e&&(e=[e]),this._modules.unregister(e),this._withCommit((function(){var n=ee(t.state,e.slice(0,-1));z.delete(n,e[e.length-1])})),B(this)},R.prototype.hasModule=function(e){return"string"===typeof e&&(e=[e]),this._modules.isRegistered(e)},R.prototype.hotUpdate=function(e){this._modules.update(e),B(this,!0)},R.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(R.prototype,W);ie((function(e,t){var n={};return ae(t).forEach((function(t){var r=t.key,a=t.val;n[r]=function(){var t=this.$store.state,n=this.$store.getters;if(e){var r=se(this.$store,"mapState",e);if(!r)return;t=r.context.state,n=r.context.getters}return"function"===typeof a?a.call(this,t,n):t[a]},n[r].vuex=!0})),n})),ie((function(e,t){var n={};return ae(t).forEach((function(t){var r=t.key,a=t.val;n[r]=function(){var t=[],n=arguments.length;while(n--)t[n]=arguments[n];var r=this.$store.commit;if(e){var o=se(this.$store,"mapMutations",e);if(!o)return;r=o.context.commit}return"function"===typeof a?a.apply(this,[r].concat(t)):r.apply(this.$store,[a].concat(t))}})),n}));var re=ie((function(e,t){var n={};return ae(t).forEach((function(t){var r=t.key,a=t.val;a=e+a,n[r]=function(){if(!e||se(this.$store,"mapGetters",e))return this.$store.getters[a]},n[r].vuex=!0})),n}));ie((function(e,t){var n={};return ae(t).forEach((function(t){var r=t.key,a=t.val;n[r]=function(){var t=[],n=arguments.length;while(n--)t[n]=arguments[n];var r=this.$store.dispatch;if(e){var o=se(this.$store,"mapActions",e);if(!o)return;r=o.context.dispatch}return"function"===typeof a?a.apply(this,[r].concat(t)):r.apply(this.$store,[a].concat(t))}})),n}));function ae(e){return oe(e)?Array.isArray(e)?e.map((function(e){return{key:e,val:e}})):Object.keys(e).map((function(t){return{key:t,val:e[t]}})):[]}function oe(e){return Array.isArray(e)||N(e)}function ie(e){return function(t,n){return"string"!==typeof t?(n=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),e(t,n)}}function se(e,t,n){var r=e._modulesNamespaceMap[n];return r}function le(e){return le="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},le(e)}function de(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ce(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?de(Object(n),!0).forEach((function(t){ue(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):de(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ue(e,t,n){return(t=pe(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pe(e){var t=me(e,"string");return"symbol"==le(t)?t:t+""}function me(e,t){if("object"!=le(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=le(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var fe={components:{},props:{row:{type:Object,default:function(){return{}}},column:{type:Object,default:function(){return{}}}},data:function(){return{updatecolumn:!0,enevlelist:[]}},computed:ce({},re(["loginUser"])),watch:{},created:function(){this.$bus.on("loadEnevlelist",this.loadEnevlelist);var e=sessionStorage.getItem(this.loginUser.orgCode+"_LEVEL");this.enevlelist=e?JSON.parse(e):[]},mounted:function(){},beforeDestroy:function(){this.$bus.off("loadEnevlelist",this.loadEnevlelist)},methods:{fileSetting:function(){this.$bus.emit("fileSetting",this.row)},editorForm:function(){this.$bus.emit("editorForm",this.row)},loadEnevlelist:function(){var e=this,t=sessionStorage.getItem(this.loginUser.orgCode+"_LEVEL");this.enevlelist=t?JSON.parse(t):[],this.updatecolumn=!1,this.$nextTick((function(){e.updatecolumn=!0}))},getEnevle:function(e){var t=this,n=null;return this.enevlelist.forEach((function(e){t.row.elvVal!==e.eLevel&&t.row.elevel!==e.eName&&t.row.flELevel!==e.eLevel&&t.row.flELevel!==e.eName||(n=e)})),null!==n?"color"===e?n.color:n.eName:this.row.elevel||this.row.flELevel}}},he=fe,ge=(n(8160),m(he,D,k,!1,null,"01bdb8c2",null)),ye=ge.exports,_e=function(){var e=this,t=e._self._c;return t("div",{staticClass:"wflow-container wflow-container-top-bar"},[t("div",{staticClass:"header-title"},[t("div",{staticStyle:{display:"flex","justify-content":"space-between","align-items":"center","margin-bottom":"12px"}},[t("PageHeader",{attrs:{"sys-title":""}}),t("span",{staticStyle:{"margin-top":"10px"}},[e._v(e._s(e.logoTitle))])],1),e.TopBtn.length>0?t("TopBtn",{ref:"TopBtn",attrs:{"top-btn":e.TopBtn}}):e._e()],1),t("div",{staticClass:"wflow-busiattach"},[t("div",{staticClass:"mainform-have-sidebar",style:{width:e.InlineTextEditorShow?"100%":""}},[t("ModuleTextEditor",{ref:"InlineTextEditor",attrs:{"wf-attach-url":e.wfAttachUrl,"office-type":e.officeType,"body-file-editor":2,vo:e.vo}})],1)])])},ve=[],be=function(){var e=this,t=e._self._c;return t("div",{staticStyle:{display:"flex",height:"calc(100vh - 71px)"}},[t("div",{staticStyle:{flex:"1"}},[t("el-button",{directives:[{name:"show",rawName:"v-show",value:!1,expression:"false"}],attrs:{id:"btnEcdocSaved",type:"default"},on:{click:e.btnEcdocSavedClick}}),t("el-button",{directives:[{name:"show",rawName:"v-show",value:!1,expression:"false"}],attrs:{id:"windowOpen",type:"default"},on:{click:e.windowOpen}}),e.ecweboffice&&2===e.bodyFileEditor&&"ech5"===e.officeType?t("ecweboffice",{ref:"ecweboffice",staticStyle:{width:"100%"},attrs:{"editor-url":e.editorUrl}}):e._e()],1),t("div",{staticStyle:{"background-color":"#fff"}},[e._t("right-sidebar")],2)])},we=[];function Me(e){return Me="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Me(e)}function Le(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Le=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function d(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(e){d=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var o=t&&t.prototype instanceof y?t:y,i=Object.create(o.prototype),s=new j(r||[]);return a(i,"_invoke",{value:D(e,n,s)}),i}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=c;var p="suspendedStart",m="suspendedYield",f="executing",h="completed",g={};function y(){}function _(){}function v(){}var b={};d(b,i,(function(){return this}));var w=Object.getPrototypeOf,M=w&&w(w(C([])));M&&M!==n&&r.call(M,i)&&(b=M);var L=v.prototype=y.prototype=Object.create(b);function T(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function n(a,o,i,s){var l=u(e[a],e,o);if("throw"!==l.type){var d=l.arg,c=d.value;return c&&"object"==Me(c)&&r.call(c,"__await")?t.resolve(c.__await).then((function(e){n("next",e,i,s)}),(function(e){n("throw",e,i,s)})):t.resolve(c).then((function(e){d.value=e,i(d)}),(function(e){return n("throw",e,i,s)}))}s(l.arg)}var o;a(this,"_invoke",{value:function(e,r){function a(){return new t((function(t,a){n(e,r,t,a)}))}return o=o?o.then(a,a):a()}})}function D(t,n,r){var a=p;return function(o,i){if(a===f)throw Error("Generator is already running");if(a===h){if("throw"===o)throw i;return{value:e,done:!0}}for(r.method=o,r.arg=i;;){var s=r.delegate;if(s){var l=k(s,r);if(l){if(l===g)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(a===p)throw a=h,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);a=f;var d=u(t,n,r);if("normal"===d.type){if(a=r.done?h:m,d.arg===g)continue;return{value:d.arg,done:r.done}}"throw"===d.type&&(a=h,r.method="throw",r.arg=d.arg)}}}function k(t,n){var r=n.method,a=t.iterator[r];if(a===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,k(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var o=u(a,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,g;var i=o.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,g):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function Y(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function C(t){if(t||""===t){var n=t[i];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,o=function n(){for(;++a<t.length;)if(r.call(t,a))return n.value=t[a],n.done=!1,n;return n.value=e,n.done=!0,n};return o.next=o}}throw new TypeError(Me(t)+" is not iterable")}return _.prototype=v,a(L,"constructor",{value:v,configurable:!0}),a(v,"constructor",{value:_,configurable:!0}),_.displayName=d(v,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===_||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,d(e,l,"GeneratorFunction")),e.prototype=Object.create(L),e},t.awrap=function(e){return{__await:e}},T(x.prototype),d(x.prototype,s,(function(){return this})),t.AsyncIterator=x,t.async=function(e,n,r,a,o){void 0===o&&(o=Promise);var i=new x(c(e,n,r,a),o);return t.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},T(L),d(L,l,"Generator"),d(L,i,(function(){return this})),d(L,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=C,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(Y),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function a(r,a){return s.type="throw",s.arg=t,n.next=r,a&&(n.method="next",n.arg=e),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],s=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var l=r.call(i,"catchLoc"),d=r.call(i,"finallyLoc");if(l&&d){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!d)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&r.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),Y(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;Y(n)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:C(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}function Te(e,t,n,r,a,o,i){try{var s=e[o](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)}function xe(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){Te(o,r,a,i,s,"next",e)}function s(e){Te(o,r,a,i,s,"throw",e)}i(void 0)}))}}var De={name:"ModuleTextEditor",props:{vo:{type:Object,default:function(){return{}}},wfAttachUrl:{type:String,default:"wfInstance/wfBusiAttach"},officeType:{type:String,default:"ech5"},bodyFileEditor:{type:Number,default:0},curTN:{type:Object,default:function(){return null}}},data:function(){return{bodyFileUrl:"",bodyFileCanEdit:0,ecweboffice:!1,waiting:!1,editorUrl:"",mbDownUrl:""}},computed:{},watch:{},created:function(){this.$options.components["ecweboffice"]=this.$loadComponent("@/wapp/workflow/webOffice/ecweboffice"),null===this.curTN&&(this.curTN=this.$vnode.context.curTN),this.$bus.on("btnOpenWordClick",this.btnOpenWordClick),this.$bus.on("btnNoTitleModifyFlTypeClick",this.btnNoTitleModifyFlTypeClick),this.$bus.on("selectContractTemplate",this.selectContractTemplate)},beforeDestroy:function(){this.$bus.off("btnOpenWordClick",this.btnOpenWordClick),this.$bus.off("btnNoTitleModifyFlTypeClick",this.btnNoTitleModifyFlTypeClick),this.$bus.off("selectContractTemplate",this.selectContractTemplate)},mounted:function(){},methods:{selectContractTemplate:function(e){var t=this;this.mbDownUrl="htgl/htmb/",this.$http({method:"POST",contentType:"application/x-www-form-urlencoded",data:[{compare:"=",field:"orgCode",value:e.wfInstance.orgCode}],url:"htgl/htmb/querydata"}).then((function(n){"success"===n.code?(n.body.listdata.forEach((function(e){e.value=e.id,e.text=e.templateName})),t.$bus.emit("openListitemDialog",t.$tx("gwgl.messages.selectModuleTip","选择合同模版"),n.body.listdata,(function(r){if("success"===r.code){var a=n.body.listdata.filter((function(e){if(e.id===r.value)return!0}));e.vo.htmbId=a[0].id,e.vo.htmbName=a[0].templateName,2===e.wfInstance.haveDoc?t.$confirm(t.$tx("gwgl.messages.haveModule","该合同已经有模版!")+"<br>"+t.$tx("gwgl.messages.haveModule2","是否替换当前模版?"),t.$tx("common.confirmOperate","确认操作"),{type:"warning",dangerouslyUseHTMLString:!0}).then((function(){t.btnOpenWordClick(e)})).catch((function(){e.embeddedEditorToggle(!1)})):t.btnOpenWordClick(e)}else e.embeddedEditorToggle(!1)}),e.vo.htmbId,t.$tx("gwgl.components.contractModule","合同模版"),t.$tx("gwgl.components.selectNewM","请选择新的合同模版:"))):(e.embeddedEditorToggle(!1),t.$alert(n.message,t.$tx("common.operationTip","操作提示"),{type:"error"}))}))},btnNoTitleModifyFlTypeClick:function(e){var t=this;this.mbDownUrl="gwgl/fwmb/",this.$http({method:"POST",contentType:"application/x-www-form-urlencoded",params:{orderBy:"sortNo,name"},data:[{compare:"=",field:"orgCode",value:e.wfInstance.orgCode},{compare:"=",field:"status",value:1}],url:"gwgl/fwmb/querydata"}).then((function(n){"success"===n.code?(n.body.listdata.forEach((function(e){e.value=e.id,e.text=e.name})),t.$bus.emit("openListitemDialog",t.$tx("gwgl.components.updateGwType","修改公文类型"),n.body.listdata,(function(r){if("success"===r.code){var a=n.body.listdata.filter((function(e){if(e.id===r.value)return!0}));e.vo.flWord=a[0].fileWord,e.vo.flFormName=a[0].formTitle,e.vo.flRedTitle=a[0].fileHeader,e.vo.gwmbId=a[0].id,e.vo.flType=a[0].name,e.vo.signedFileName&&null!==e.vo.signedFileName&&""!==e.vo.signedFileName?t.$confirm(t.$tx("gwgl.messages.haveGz","该公文已经盖章,重新编辑正文后需要重新盖章!")+"<br>"+t.$tx("gwgl.messages.haveGz2","是否继续?"),t.$tx("common.confirmOperate","确认操作"),{type:"warning",dangerouslyUseHTMLString:!0}).then((function(){t.btnOpenWordClick(e,"RedliningOnce")})).catch((function(){e.embeddedEditorToggle(!1)})):2===e.wfInstance.haveDoc?t.$confirm(t.$tx("gwgl.messages.haveTh","该公文已经套过红!")+"<br>"+t.$tx("gwgl.messages.haveGz2","是否继续?"),t.$tx("common.confirmOperate","确认操作"),{type:"warning",dangerouslyUseHTMLString:!0}).then((function(){t.btnOpenWordClick(e,"Redlining")})).catch((function(){e.embeddedEditorToggle(!1)})):t.btnOpenWordClick(e,"Redlining")}else e.embeddedEditorToggle(!1)}),e.vo.gwmbId,t.$tx("gwgl.components.gwType","公文类型"),t.$tx("gwgl.components.selectNewGw","请选择新的公文类型:"))):(e.embeddedEditorToggle(!1),t.$alert(n.message,t.$tx("common.operationTip","操作提示"),{type:"error"}))}))},btnOpenWordClick:function(e,t,n){var r=this;console.log(t,"openType"),this.openType=t,e.formValidate((function(){var n=[],a="";a="/apigw".substring(1)+"/gwgl/fwmb/download?id="+r.vo.id+"&dataField=fileContent&nameField=mbFileName";var o={};"ech5"===r.officeType&&r.btnOpenEcdocEditorClick(e,n,o,a,"","",t)}))},btnOpenEcdocEditorClick:function(e,t,n,r,a,o,i){var s=this;return xe(Le().mark((function t(){var n,a,o,i,l;return Le().wrap((function(t){while(1)switch(t.prev=t.next){case 0:n=s,a=location.href.split("#")[0].split("windex.html")[0],r=a+r,o=e.vo.mbFileName,i="ATTACH",r+="&attachsType="+i,l=s.$tx("gwgl.components.isLoading","正在下载文件,请稍候..."),s.$bus.emit("showDoingDialog",l),s.$http({method:"GET",url:"wopi/getAccessToken",params:{downUrl:r,fileName:o}}).then((function(t){if("success"===t.code){s.tSessionId=t.body.tSessionId;var r,o=t.body.editorUrl;o.indexOf("lang=")<0&&(o+="&lang=zh-CN"),console.log(o,"editorUrl ---- 235"),s.editorUrl=o,new Promise((function(e,t){n.$nextTick((function(){s.ecweboffice=!0,n.$nextTick((function(){r=n.$refs.ecweboffice,r&&e(!0)}))}))})).then((function(n){if(n){s.$bus.emit("closeDoingDialog");var r=s.$tx("gwgl.components.loadingSave","正在保存附件,请稍候...");s.doctimer=setInterval((function(){if(!s.ecweboffice&&!s.waiting&&(clearInterval(s.doctimer),window.fileStatus>0)){s.$bus.emit("showDoingDialog",r);var n=a+"/apigw".substring(1)+"/gwgl/fwmb/upload";s.checkEcincEditorFinished(e,t.body.attachId,n,0,"")}s.ecweboffice||(clearInterval(s.doctimer),s.btnEcdocSavedClick(!0))}),500)}}));var i=a+"/apigw".substring(1)+"/gwgl/fwmb/upload";i+="?id="+e.vo.id,i+="&dataField=fileContent",i+="&nameField=mbFileName",i+="&method=put",document.querySelector("#btnEcdocSaved").uploadUrl=i,console.log(document.querySelector("#btnEcdocSaved"),"btnEcdocSaved"),document.querySelector("#btnEcdocSaved").checkSave=!1}else s.$alert(t.message,s.$tx("common.operationTip","操作提示"),{type:"error"})}));case 9:case"end":return t.stop()}}),t)})))()},btnEcdocSavedClick:function(e){if("ech5"===this.officeType){var t=document.querySelector("#btnEcdocSaved");if(console.log(t.srcEvent),t.srcEvent){var n=t.srcEvent.data;if(n){"string"===typeof n&&(n=JSON.parse(n));var r=!1;if(e&&t.checkSave)r=!0;else if("UI_Save"===n.MessageId||"Action_Save_Resp"===n.MessageId)r=!0;else if("Doc_ModifiedStatus"===n.MessageId&&n.Values.Modified)return void(t.checkSave=!1);if(r&&!this.waiting){delete t.srcEvent.data,delete t.checkSave;var a=document.querySelector("#btnEcdocSaved").uploadUrl,o=this.$tx("gwgl.components.reloadFile","正在重新加载文件,请稍候"),i="BODY";-1!==a.indexOf("=ATTACH")&&(o=this.$tx("gwgl.components.loadingSave","正在保存附件,请稍候..."),i="ATTACH"),this.$bus.emit("showDoingDialog",o);var s=this.$vnode.context;this.checkEcincEditorFinished(s,this.tSessionId,a,0,i)}else this.$bus.emit("closeDoingDialog")}}}},checkEcincEditorFinished:function(e,t,n,r,a){var o=this;this.waiting=!0,this.$http({method:"GET",url:"wopi/checkFinished",params:{fileId:t,uploadUrl:n,checkCount:r}}).then((function(i){"success"===i.code?i.body.waiting?setTimeout((function(){o.waiting=!0,o.checkEcincEditorFinished(e,t,n,++r,a)}),1e3):i.body.finished?(o.waiting=!1,o.$bus.emit("closeDoingDialog")):i.body.saved&&(o.waiting=!1,e.InlineTextEditorShow=!1,e.btnSubmitClick(e.actionType)):o.$bus.emit("closeDoingDialog")}))},getSessionId:function(){var e=this;return new Promise((function(t,n){e.$http({method:"GET",params:{timeLength:60},url:"base/user/getSessionId"}).then((function(e){"success"===e.code?t(e.body.tSessionId):n(e.msg)}))}))},imgUrl:function(e){var t=e.oriangialName||e.fileName;return t=t.substring(t.lastIndexOf(".")),".doc"===t||".docx"===t?"images/w-imgs/email/word.png":".ppt"===t||".pptx"===t?"images/w-imgs/email/ppt.png":".xls"===t||".xlsx"===t?"images/w-imgs/email/excel.png":".pdf"===t?"images/w-imgs/email/pdf.png":".txt"===t?"images/w-imgs/email/txt.png":".audio"===t||".amr"===t||".mp3"===t||".wav"===t?"images/w-imgs/email/audio.png":".video"===t||".mp4"===t||".mov"===t?"images/w-imgs/email/video.png":".zip"===t||".rar"===t?"images/w-imgs/email/zip.png":".image"===t||".mp4"===t||".jpg"===t||".jpeg"===t||".png"===t||".gif"===t||".bmp"===t||".svg"===t?"images/w-imgs/email/picture.png":" "===t?"images/w-imgs/email/none.png":"images/w-imgs/email/其他.png"}}},ke=De,Se=(n(7030),m(ke,be,we,!1,null,"4b14c1db",null)),Ye=Se.exports,je=function(){var e=this,t=e._self._c;return t("div",{staticStyle:{display:"flex"}},[t("div",{staticClass:"TopBtn",class:{"bottom-bar":"bottom"===e.btnPosition}},e._l(e.topBtns,(function(n){return t("div",{key:n,staticClass:"commandBtn",attrs:{code:n.btnCode}},[t("el-button",{attrs:{plain:""},nativeOn:{click:function(t){return e.handleBtnClick(n)}}},[-1!==n.btnIcon.indexOf(".svg")?t("svg-icon",{class:n.btnIcon.substring(0,n.btnIcon.indexOf(".svg")),attrs:{"icon-class":n.btnIcon.substring(0,n.btnIcon.indexOf(".svg"))}}):e._e(),-1===n.btnIcon.indexOf(".svg")?t("i",{class:"el-icon-"+n.btnIcon}):e._e(),t("span",[e._v(e._s(n.btnName))])],1)],1)})),0)])},Ce=[],Oe={name:"TopBtn",components:{},props:{topBtn:{type:Array,default:function(){return[]}},btnPosition:{type:String,default:function(){return"top"}}},data:function(){return{topBtns:[],submitBtn:null}},computed:{},watch:{TopBtn:{handler:function(e,t){this.setCommandBtns()},deep:!0}},created:function(){this.setCommandBtns()},beforeDestroy:function(){},mounted:function(){},methods:{setCommandBtns:function(){this.topBtns=[],this.topBtns=this.topBtn},handleBtnClick:function(e){console.log(e,"btn"),void 0!==e.btnParams&&null!==e.btnParams?e.btnClick.apply(this.$vnode.context,e.btnParams):e.btnClick.apply(this.$vnode.context)}}},Ne=Oe,Pe=(n(8100),m(Ne,je,Ce,!1,null,"5ec99cdd",null)),Ee=Pe.exports,He={components:{ModuleTextEditor:Ye,TopBtn:Ee},props:{},data:function(){return{officeType:"ech5",wfAttachUrl:"htgl/htmb",bodyfile:{},logoTitle:"",TopBtn:[{btnAlign:1,btnCode:null,btnGroupId:null,btnIcon:"glyphicon-off.svg",btnJavascript:"btnCloseClick()",btnName:"关 闭",btnOrderNo:null,btnShow:null,btnType:"1",id:null,nodeId:null,passenger:{},visitType:0},{btnAlign:1,btnCode:null,btnGroupId:null,btnIcon:"saved.svg",btnJavascript:"btnSaveAndCloseClick()",btnName:this.$tx("pageBtns.saveAndClose","保存关闭"),btnOrderNo:null,btnShow:null,btnType:"1",id:null,nodeId:null,passenger:{},visitType:0},{btnAlign:1,btnCode:null,btnGroupId:null,btnIcon:"save.svg",btnJavascript:"btnSaveClick()",btnName:this.$tx("pageBtns.save","保存"),btnOrderNo:null,btnShow:null,btnType:"1",id:null,nodeId:null,passenger:{},visitType:0}],vo:{},actionType:"",InlineTextEditorShow:!0}},computed:{},watch:{},created:function(){var e=this;this.logoTitle=this.$route.query.title,this.vo=JSON.parse(this.$route.query.row),console.log(this.logoTitle,this.vo,"query 参数传递"),this.TopBtn.forEach((function(t){var n=t.btnJavascript;if(-1!==n.indexOf("(")){var r=n.substring(n.indexOf("(")+1,n.lastIndexOf(")"));""!==r&&(r=r.replace(/'/g,"").split(","),t.btnParams=r),n=n.split("(")[0]}void 0!==e[n]&&(t.btnClick=e[n])}))},beforeDestroy:function(){},mounted:function(){this.$bus.emit("btnOpenWordClick",this)},methods:{btnCloseClick:function(e){(e||confirm(this.$tx("gwgl.messages.editConfig","若当前编辑未保存,则内容修改无效,是否继续?")))&&window.close()},btnSaveAndCloseClick:function(){console.log("关闭且保存"),this.btnSubmitClick("SaveAndClose")},btnSaveClick:function(){this.btnSubmitClick("Save")},btnSubmitClick:function(e,t){var n=this;this.formValidate((function(){if(n.actionType=e,n.InlineTextEditorShow&&"AutoSave"!==e)return console.log(" this.$refs.InlineTextEditor.$refs.ecweboffice",n.$refs.InlineTextEditor.$refs.ecweboffice),void n.$refs.InlineTextEditor.$refs.ecweboffice.save();"SaveAndClose"===e&&(n.$message.success(n.$tx("common.saveSuccess")),setTimeout((function(){n.btnCloseClick(!0)}),300)),"Save"===e&&n.$message.success(n.$tx("common.saveSuccess")),n.InlineTextEditorShow=!0}))}}},Fe=He,Ae=(n(1341),m(Fe,_e,ve,!1,null,"6dd6ca80",null)),$e=Ae.exports,Ie=function(){var e=this,t=e._self._c;return t("div",[t("el-dialog",{attrs:{title:e.$tx("gwgl.components.transferNotice","转通知公告"),visible:e.dzggShow,width:"1000px"},on:{"update:visible":function(t){e.dzggShow=t},close:e.toclose}},[t("div",[t("el-form",{attrs:{model:e.dzggObj}},[t("div",{staticClass:"el-table el-table--fit el-table--border",staticStyle:{width:"100%"}},[t("div",{staticClass:"el-table__body-wrapper"},[t("table",{staticClass:"el-table__body",attrs:{cellspacing:"0",cellpadding:"0",border:"0"}},[t("tbody",[t("tr",[t("td",{ref:"tdlbl_制度标题",staticClass:"el-table__cell tdlbl tdw17",attrs:{colspan:"1"}},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"flSubject",expression:"'flSubject'"}],staticClass:"field"},[e._v("文件标题")])]),t("td",{staticClass:"el-table__cell tdcont tdw83",attrs:{colspan:"5"}},[t("form-item",{ref:"flSubject",attrs:{field:{defaultValue:null,elementCanEdit:"1",elementCssHeight:null,elementCssWidth:null,elementFormatter:null,elementReadonly:0,elementType:"input",emptyMessage:e.$tx("gwgl.components.zdTitleEmptyMessage","请输入制度主题"),errorMessage:null,formTdAlign:"text-left",formTdColspan:0,isRequired:1,onClickEvent:null,passenger:{},propComment:e.$tx("gwgl.components.zdTitle","制度标题"),propName:"flSubject",propType:"String",textFormatter:"textfield",valueMaxLength:null,valueMinLength:null,model:"dzggObj.flSubject",option:[]},vo:e.dzggObj,"can-edit":e.canEdit}})],1)]),t("tr",[t("td",{ref:"tdlbl_公告类型 ",staticClass:"el-table__cell tdlbl tdw17",attrs:{colspan:"1"}},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"type",expression:"'type'"}],staticClass:"field"},[e._v("公告类型")])]),t("td",{staticClass:"el-table__cell tdcont tdw83",attrs:{colspan:"5"}},[t("form-item",{ref:"type",attrs:{field:{cssClass:null,cssStyle:null,defaultValue:null,elementCanEdit:"1",elementCssHeight:null,elementCssWidth:null,elementFormatter:e.$tx("gwgl.components.notice","公告")+":"+e.$tx("gwgl.components.notice","公告")+"\n"+e.$tx("gwgl.components.inform","通知")+":"+e.$tx("gwgl.components.inform","通知")+"\n"+e.$tx("gwgl.components.praise","表扬")+":"+e.$tx("gwgl.components.praise","表扬")+"\n"+e.$tx("gwgl.components.criticize","批评")+":"+e.$tx("gwgl.components.criticize","批评")+"\n"+e.$tx("gwgl.components.other","其他")+":"+e.$tx("gwgl.components.other","其他"),elementReadonly:0,elementType:"radio",emptyMessage:e.$tx("gwgl.components.selectType","请选择公告类型"),errorMessage:null,formTdAlign:"text-left",formTdColspan:24,isRequired:1,onBlurEvent:null,onChangeEvent:null,onClickEvent:"@change='handleTypeChange'",onDblClickEvent:null,onFocusEvent:null,onKeyDownEvent:null,onKeyPressEvent:null,onKeyUpEvent:null,onMouseDownEvent:null,onMouseOverEvent:null,onMouseUpEvent:null,passenger:{},propComment:"公告类型",propName:"type",propType:"String",textFormatter:"radio",valueMaxLength:20,valueMinLength:null,model:"dzggObj.type",option:[{value:e.$tx("gwgl.components.notice","公告"),name:e.$tx("gwgl.components.notice","公告")},{value:e.$tx("gwgl.components.inform","通知"),name:e.$tx("gwgl.components.inform","通知")},{value:e.$tx("gwgl.components.praise","表扬"),name:e.$tx("gwgl.components.praise","表扬")},{value:e.$tx("gwgl.components.criticize","批评"),name:e.$tx("gwgl.components.criticize","批评")},{value:e.$tx("gwgl.components.other","其他"),name:e.$tx("gwgl.components.other","其他")}],optionGenerateType:0,clearable:!0,filterable:!1,allowCreate:!1},vo:e.dzggObj,"can-edit":e.canEdit}})],1)]),t("tr",[t("td",{ref:"tdlbl_是否置顶",staticClass:"el-table__cell tdlbl tdw17",attrs:{colspan:"1"}},[t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"isTop",expression:"'isTop'"}],staticClass:"field"},[e._v(e._s(e.$tx("gwgl.components.isTop")))])]),t("td",{staticClass:"el-table__cell tdcont tdw83",attrs:{colspan:"5"}},[t("form-item",{ref:"isTop",attrs:{field:{defaultValue:"0",elementCanEdit:"1",elementCssHeight:null,elementCssWidth:null,elementFormatter:"0:"+e.$tx("common.no","否")+" \n1:"+e.$tx("common.no","否"),elementReadonly:0,elementType:"radio",emptyMessage:e.$tx("gwgl.common.please","请输入")+"0:"+e.$tx("common.no","否")+" 1:"+e.$tx("common.yes","是"),errorMessage:null,formTdAlign:"text-left",formTdColspan:0,isRequired:0,onClickEvent:null,passenger:{},propComment:e.$tx("gwgl.common.isTop"),propName:"isTop",propType:"Short",textFormatter:"integer",valueMaxLength:null,valueMinLength:null,model:"dzggObj.isTop",option:[{value:"0",name:e.$tx("common.no","否")},{value:"1",name:e.$tx("common.yes","是")}],optionGenerateType:0,clearable:!0,filterable:!1,allowCreate:!1},vo:e.dzggObj,"can-edit":e.canEdit}})],1)]),t("tr",[t("td",{ref:"tdlbl_公告时间",staticClass:"el-table__cell tdlbl tdw17",attrs:{colspan:"1"}},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"ggTime",expression:"'ggTime'"}],staticClass:"field"},[e._v("公告时间")])]),t("td",{staticClass:"el-table__cell tdcont tdw83",attrs:{colspan:"5"}},[t("datetime-range",{attrs:{vo:e.dzggObj,type:"datetime","v-model-start":"startTime","v-model-end":"endTime","can-edit":1,"placeholder-start":e.$tx("fields.startTime","开始时间"),"placeholder-end":e.$tx("fields.endTime","结束时间"),required:!0,format:"yyyy-MM-dd HH:mm"}})],1)]),e._e(),t("tr",[t("td",{ref:"tdlbl_发布范围 ",staticClass:"el-table__cell tdlbl tdw17",attrs:{colspan:"1"}},[t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"publishScope",expression:"'publishScope'"}],staticClass:"field"},[e._v("发布范围")])]),t("td",{staticClass:"el-table__cell tdcont tdw83",attrs:{colspan:"5"}},[t("form-item",{ref:"publishScope",attrs:{field:{textFormatter:"radio",elementType:"radio",propName:"publishScope",propType:"Short",model:"dzggObj.publishScope",emptyMessage:e.$tx("gwgl.components.publishScopeRange","请选择发布范围"),isRequired:0,elementCanEdit:"1",defaultValue:"0",elementReadonly:0,option:[{value:"0",name:e.$tx("gwgl.components.allPerson","全部人员")},{value:"1",name:e.$tx("gwgl.components.fields.readersName","指定人员")}],elementFormatter:"0:"+e.$tx("gwgl.components.allPerson","全部人员")+"\n1:"+e.$tx("gwgl.components.fields.readersName","指定人员"),propComment:"发布范围",optionGenerateType:0,clearable:!0,filterable:!1,allowCreate:!1},vo:e.dzggObj,"can-edit":e.canEdit}})],1)]),1==e.dzggObj.publishScope?t("tr",[t("td",{ref:"tdlbl_查阅人",staticClass:"el-table__cell tdlbl tdw17",attrs:{colspan:"1"}},[t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"readersName",expression:"'readersName'"}],staticClass:"field"},[e._v("指定人员")])]),t("td",{staticClass:"el-table__cell tdcont tdw83",attrs:{colspan:"5"}},[t("form-item",{ref:"readersName",attrs:{field:{defaultValue:null,elementCanEdit:"1",elementCssHeight:70,elementCssWidth:null,elementFormatter:null,elementReadonly:0,elementType:"textarea",emptyMessage:e.$tx("gwgl.components.readeremptyMessage","请输入查阅人"),errorMessage:null,formTdAlign:"text-left",formTdColspan:24,isRequired:0,onClickEvent:null,passenger:{},propComment:"查阅人",propName:"readersName",propType:"String",textFormatter:"textarea",valueMaxLength:2147483647,valueMinLength:null,model:"dzggObj.readersName",option:[],dialog:1,dialogType:"staff",dialogMultiple:!0,dialogOrgLevel:"",autosize:!1,dialogSubOrgName:"",valueIdsField:"readersAccountId"},vo:e.dzggObj,"can-edit":e.canEdit,autosize:!1}})],1)]):e._e(),t("tr",[t("td",{ref:"tdlbl_转规章制度文件",staticClass:"el-table__cell tdlbl tdw17",attrs:{colspan:"1"}},[t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"publishFiles",expression:"'publishFiles'"}],staticClass:"field"},[e._v("发布文件")])]),t("td",{staticClass:"el-table__cell tdcont tdw83",attrs:{colspan:"5"}},[e.bodyfile?t("span",{staticStyle:{color:"#409eff"},on:{click:e.toview}},[e._v(e._s(e.bodyfile.fileName))]):t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"autoReadFile",expression:"'autoReadFile'"}]},[e._v("自动读取正文")])])]),t("tr",[t("td",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"attachs",expression:"'attachs'"}],ref:"tdlbl_附件",staticClass:"el-table__cell tdlbl tdw17"},[e._v("附件")]),t("td",{staticClass:"el-table__cell tdcont tdcont",attrs:{colspan:"5"}},[e.$parent&&e.$parent.attachments?t("div",[t("el-table",{ref:"multipleTable",staticClass:"eltable",attrs:{"show-header":!1,data:e.attachments},on:{"selection-change":e.headSelectRow}},[t("el-table-column",{staticStyle:{border:"none"},attrs:{type:"selection",width:"35px",align:"right","show-overflow-tooltip":!0}}),t("el-table-column",{staticStyle:{border:"none"},attrs:{prop:"fileName",label:e.$tx("gwgl.components.fileName","文件名"),width:"",align:"left","show-overflow-tooltip":!0}}),t("el-table-column",{staticStyle:{border:"none"},attrs:{prop:"fileSize",label:e.$tx("gwgl.components.fileSize","文件大小"),width:"100px",align:"right","show-overflow-tooltip":!0}})],1)],1):t("div",[t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"common.noData",expression:"'common.noData'"}]},[e._v("暂无数据")])])])])])])])])])],1),t("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"cancel",expression:"'cancel'"}],on:{click:e.toclose}},[e._v("取 消")]),t("el-button",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"sure",expression:"'sure'"}],attrs:{type:"primary"},on:{click:e.zggzdFn}},[e._v("确 定")])],1)])],1)},ze=[],Re={components:{},props:{vo:{type:Object,default:function(){return{}}},bodyfile:{type:Object,default:function(){return{}}}},data:function(){return{i18npkg:"gwgl",moduleCode:"components",attachments:[],dzggShow:!1,selectFileIds:"",dzggObj:{},nowTime:this.$moment(new Date).format("YYYY-MM-DD HH:mm")}},computed:{},watch:{},created:function(){this.$bus.on("btnTotzggClick",this.btnTotzggClick)},beforeDestroy:function(){this.$bus.off("btnTotzggClick",this.btnTotzggClick)},mounted:function(){},methods:{toclose:function(){this.dzggShow=!1,this.$parent.FromDialogShow=!1,this.$options.components["FromDialog"]="",console.log(this.$options.components)},zggzdFn:function(){var e=this,t=this;t.dzggObj.flSubject?t.dzggObj.type?(this.dzggObj.passenger.attachments&&this.dzggObj.passenger.attachments.length>0&&(this.dzggObj.passenger.attachments=this.dzggObj.passenger.attachments.filter((function(t){return e.dzggObj.passenger.selectFileIds.includes(t.id)}))),this.$http({method:"post",url:"/ecoa/dzgg/activateWfInstance",data:this.dzggObj}).then((function(t){"success"===t.code?(console.log("res",t),e.$message.success(t.message),e.dzggShow=!1):(e.$message.error(t.message),e.dzggShow=!1)}))):this.$alert(this.$tx("gwgl.components.selectType","请选择公告类型"),this.$tx("common.operationTip","操作提示"),{type:"warning"}):this.$alert(this.$tx("gwgl.components.fixTitle","请填写文件标题!"),this.$tx("common.operationTip","操作提示"),{type:"warning"})},onSelectStaffCompleted:function(e,t){var n="",r="";e.forEach((function(e){""!=n&&(n+="、"),""!=r&&(r+=","),n+=e.name,r+=e.personId})),this.$set(this.dzggObj,"readersName",n),this.$set(this.dzggObj,"readersAccountId",r),console.log("123",this.dzggObj.readersName),console.log("123",this.dzggObj.readersAccountId)},toview:function(){console.log(this,"thisssss"),window.open("/apigw/"+this.$parent.wfEngineUrl+"/downloadById?attachIds="+this.bodyfile.id+"&inline=true")},headSelectRow:function(e){var t="";e.forEach((function(e){e.id&&(""!==t&&(t+=","),t+=e.id)})),this.selectFileIds=t,this.dzggObj.passenger.selectFileIds=this.selectFileIds},btnTotzggClick:function(){var e=this;if(this.dzggObj={readersName:"",publishScope:0,endTime:"",startTime:"",isTop:0,type:"公告",passenger:{attachments:[]},flSubject:this.vo.flSubject},this.$parent.attachments){var t=this.$parent.attachments;t=t.filter((function(t){return"BODY"===t.fileType&&t.id===e.bodyfile.id||"BODY"!==t.fileType})),t=JSON.parse(JSON.stringify(t)),t.forEach((function(t){setTimeout((function(){e.$nextTick((function(){e.$refs.multipleTable.toggleRowSelection(t)}))})),t.fileName.indexOf(".doc")>-1&&"BODY"===t.fileType&&(t.fileName="文件正文.doc")})),this.dzggObj.passenger.attachments=t,this.attachments=this.dzggObj.passenger.attachments}this.dzggShow=!0}}},We=Re,Ge=(n(7658),m(We,Ie,ze,!1,null,"35a63f69",null)),Be=Ge.exports,Ue=function(){var e=this,t=e._self._c;return t("div",{staticClass:"internalCommsInfo",staticStyle:{"margin-top":"20px"}},[t("el-form",{staticStyle:{width:"100%"}},[t("div",{staticClass:"el-table el-table--fit el-table--border",staticStyle:{}},[t("div",{staticClass:"el-table__body-wrapper"},[t("table",{staticClass:"el-table__body",attrs:{cellspacing:"0",cellpadding:"0",border:"0"}},[t("tbody",[t("tr",[t("td",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"departStatus",expression:"'departStatus'"}],staticClass:"el-table__cell tdcont tdw83",attrs:{colspan:"6"}},[e._v("部门办理情况")])]),t("tr",[t("td",{staticClass:"el-table__cell tdcont tdw83 internalCommsInfo_table",staticStyle:{padding:"0 !important"},attrs:{colspan:"6"}},[t("el-table",{staticStyle:{width:"100%"},attrs:{data:e.tableData}},[t("el-table-column",{attrs:{label:e.$tx("fields.index","序号"),type:"index",width:"50",align:"center"}}),t("el-table-column",{attrs:{prop:"deptName",label:e.$tx("gwgl.components.fields.deptName","部门名称"),width:"130",align:"center","show-overflow-tooltip":!0}}),t("el-table-column",{attrs:{prop:"signingTime",label:e.$tx("gwgl.components.fields.signingTime","签收时间"),width:"135",align:"center","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(n){return[t("div",[e._v(e._s(e._f("timeFormat")(n.row.signingTime)))])]}}])}),t("el-table-column",{attrs:{prop:"internalCommsContent",label:e.$tx("gwgl.components.fields.internalCommsContent","回复内容"),align:"left","show-overflow-tooltip":!0}}),t("el-table-column",{attrs:{prop:"creator",label:e.$tx("gwgl.components.fields.creator","经办人"),width:"110",align:"center","show-overflow-tooltip":!0}}),t("el-table-column",{attrs:{prop:"createTime",label:e.$tx("gwgl.components.fields.createTime","回复时间"),width:"135",align:"center","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(n){return[t("div",[e._v(e._s(e._f("timeFormat")(n.row.signingTime)))])]}}])}),t("el-table-column",{attrs:{prop:"address",label:e.$tx("gwgl.components.fields.attachs","附件"),width:"200",align:"center"},scopedSlots:e._u([{key:"default",fn:function(n){return e._l(n.row.passenger.attachments,(function(n){return t("div",{key:n.id},[t("el-link",{on:{click:function(t){return e.fileClick(n)}}},[e._v(e._s(n.fileName))])],1)}))}}])})],1)],1)])])])])])])],1)},qe=[],Ve=n(5093),Je={filters:{timeFormat:function(e){return e?Ve(new Date(e)).format("YYYY-MM-DD HH:mm"):""}},props:{vo:{type:Object,default:function(){return{}}}},data:function(){return{i18npkg:"gwgl",moduleCode:"components",tableData:[]}},computed:{},watch:{},created:function(){this.getQueryData()},beforeDestroy:function(){},mounted:function(){},methods:{getQueryData:function(){var e=this;this.$http({method:"POST",contentType:"application/x-www-form-urlencoded",data:[{compare:"=",field:"applyId",merge:!0,value:this.vo.id}],url:"gwgl/internalCommsInfo/querydata"}).then((function(t){"success"==t.code?e.tableData=t.body.listdata:e.$alert(t.message,{type:"warning"})}))},fileClick:function(e){window.open("/apigw/gwgl/internalComms/downloadById?inline=true&attachIds=".concat(e.id,"&topdf=true&httpPort=").concat(location.port))}}},Ke=Je,Qe=(n(4795),m(Ke,Ue,qe,!1,null,"51438016",null)),Ze=Qe.exports,Xe=function(){var e=this,t=e._self._c;return t("div",["color"===e.column.field?t("span",{staticStyle:{padding:"2px 30px"},style:{background:e.row.color}}):e._e(),"dealDays"===e.column.field?t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"gwgl.common.numDay",expression:"'gwgl.common.numDay'"}],attrs:{num:e.row.dealDays}},[e._v(e._s(e.row.dealDays)+" 天")]):e._e()])},et=[],tt={props:{column:{type:Object,default:null},row:{type:Object,default:null},index:{type:Number,default:null}}},nt=tt,rt=m(nt,Xe,et,!1,null,"765c37f0",null),at=rt.exports,ot=function(){var e=this,t=e._self._c;return t("LRLayout",[t("LeftPanel",[t("div",{staticClass:"searchType-content block-table-heder"},[t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"byClassification",expression:"'byClassification'"}],staticClass:"title",class:"0"===e.searchType?"active":"",on:{click:function(t){e.searchType="0"}}},[e._v("按分类")]),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"byTime",expression:"'byTime'"}],staticClass:"title",class:"1"===e.searchType?"active":"",on:{click:function(t){e.searchType="1"}}},[e._v("按时间")]),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"byRecordType",expression:"'byRecordType'"}],staticClass:"title",class:"2"===e.searchType?"active":"",on:{click:function(t){e.searchType="2"}}},[e._v("按文种")])]),t("GiantTree",{attrs:{nodes:e.treeData},on:{onCreated:e.onTreeCreated,onClick:e.onTreeNodeClick,onExpand:e.treeBeforeExpand}})],1),t("RightPanel",[null!=e.treeNode?t("FileList",{attrs:{"edit-permission":e.editPermission,"tree-node":e.treeNode,"search-type":e.searchType,language:e.language,"map-list":e.mapList,"gdflsz-vos":e.gdflszVos}}):e._e()],1)],1)},it=[],st=function(){var e=this,t=e._self._c;return t("div",{staticStyle:{position:"relative"}},[e.tableShow?t("data-table",{attrs:{"module-info":e.moduleInfo,"tb-columns":e.tableList,"toolbar-btns":e.listpageBtns,"on-list-data-before-load":e.onListDataBeforeLoad,"on-list-data-loaded":e.onListDataLoaded,"on-cell-click":e.cellclick,"on-selected-rows-change":e.selectedRowsChange}},[t("div",{staticStyle:{"line-height":"32px",color:"#606266","font-size":"var(--portalFontSize14)"},attrs:{slot:"toolbarLeft-slotLeft"},slot:"toolbarLeft-slotLeft"},[t("span",[e._v(e._s(e.$tx("gwgl.gdgl.recursionFile",{dataType:e.num},"当前归档文件".concat(e.num,"件"))))])])]):e._e(),t("Basicform",{attrs:{title:e.title,"win-width":e.moduleInfo.winWidth,"win-height":e.moduleInfo.winHeight,"on-basic-form-before-open":e.onBasicFormBeforeOpen,"on-basic-form-opened":e.onBasicFormOpened,"on-basic-form-before-submit":e.onBasicFormBeforeSubmit,"wf-attach":!0,"batch-save-namefield":"attachmentName"},scopedSlots:e._u([{key:"default",fn:function(n){return[t("FileForm",{attrs:{vo:n.vo,"can-edit":n.canEdit,"module-info":e.moduleInfo}})]}}])}),t("FilingSystem")],1)},lt=[],dt=function(){var e=this,t=e._self._c;return t("el-form",{attrs:{model:e.vo}},[t("div",{class:e.wfEngineUrl?"el-table el-table--fit":"el-table el-table--fit el-table--border",staticStyle:{}},[t("div",{staticClass:"el-table__body-wrapper"},[t("table",{staticClass:"el-table__body el-table__body-no",attrs:{cellspacing:"0",cellpadding:"0",border:"0"}},[t("tbody",[t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"fileTitle",expression:"'fileTitle'"}],attrs:{moduleCode:"common"}},[e._v("文件标题")])]),t("td",{staticClass:"el-table__cell tdcont tdw83",attrs:{colspan:"3"}},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"文件标题",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[e.canEdit?t("el-input",{attrs:{placeholder:e.$tx("gwgl.common.fileTitlePlaceholder","请输入文件标题")},model:{value:e.vo.flSubject,callback:function(t){e.$set(e.vo,"flSubject",t)},expression:"vo.flSubject"}}):t("span",{domProps:{textContent:e._s(e.vo.flSubject)}})],1)]}}])})],1)]),t("tr",[t("td",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"flContent",expression:"'flContent'"}],staticClass:"el-table__cell tdlbl tdw17"},[e._v("摘要")]),t("td",{staticClass:"el-table__cell tdcont tdw83",attrs:{colspan:"3"}},[e.canEdit?t("el-input",{attrs:{type:"textarea","show-word-limit":"",placeholder:e.$tx("gwgl.gdgl.abstractPlaceholder","请输入摘要")},model:{value:e.vo.flContent,callback:function(t){e.$set(e.vo,"flContent",t)},expression:"vo.flContent"}}):t("span",{domProps:{textContent:e._s(e.vo.flContent)}})],1)]),t("tr",{directives:[{name:"show",rawName:"v-show",value:"会议通知"!==e.chooseFlGwType&&!e.wflowform,expression:"chooseFlGwType !== '会议通知' && !wflowform"}]},[t("td",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"fileName",expression:"'fileName'"}],staticClass:"el-table__cell tdlbl tdw17"},[e._v("文件正文")]),t("td",{staticClass:"el-table__cell tdcont tdw83",attrs:{colspan:"3"}},[t("form-item",{ref:"fileData",attrs:{field:{defaultValue:"fileName",elementCanEdit:"{{canEdit}}",elementCssHeight:null,elementCssWidth:null,elementFormatter:null,elementReadonly:null,elementType:"file",emptyMessage:e.$tx("gwgl.gdgl.fileZwEmptyMessage","请选择文件正文"),errorMessage:null,formTdAlign:"text-left",formTdColspan:0,isRequired:0,onClickEvent:null,passenger:{},propComment:"文件正文",propName:"fileData",propType:"byte[]",textFormatter:".doc, .docx, .pdf",valueMaxLength:50,valueMinLength:null,model:"vo.fileData",option:[],downloadUrl:"",nameField:"fileName",limitCount:null},vo:e.vo,"can-edit":e.canEdit}})],1)]),t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"gwType",expression:"'gwType'"}]},[e._v("公文种类")])]),t("td",{staticClass:"el-table__cell",class:"收文阅办"!==e.chooseFlGwType&&"文件传阅"!==e.chooseFlGwType?"tdcont tdw83":"tdcont tdw33",attrs:{colspan:"收文阅办"!==e.chooseFlGwType&&"文件传阅"!==e.chooseFlGwType?3:1}},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"公文种类",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[e.canEdit?t("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:e.$tx("gwgl.gdgl.gwTypePlaceholder","请输入公文种类")},on:{change:e.flGwTypeChange},model:{value:e.vo.flGwType,callback:function(t){e.$set(e.vo,"flGwType",t)},expression:"vo.flGwType"}},e._l(e.vo.passenger.flGwTypeOptions,(function(e,n){return t("el-option",{key:n,attrs:{label:e.name,value:e.name}})})),1):t("span",{domProps:{textContent:e._s(e.vo.flGwType)}})],1)]}}])})],1),"收文阅办"===e.chooseFlGwType||"文件传阅"===e.chooseFlGwType?[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"swCode",expression:"'swCode'"}]},[e._v("收文编号")])]),t("td",{staticClass:"el-table__cell tdcont tdw33"},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"收文编号",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[e.canEdit?t("el-input",{attrs:{placeholder:e.$tx("gwgl.gdgl.swCodePlaceholder","请输入收文编号")},model:{value:e.vo.flSwzh,callback:function(t){e.$set(e.vo,"flSwzh",t)},expression:"vo.flSwzh"}}):t("span",{domProps:{textContent:e._s(e.vo.flSwzh)}})],1)]}}],null,!1,3442028541)})],1)]:e._e(),"会议通知"===e.chooseFlGwType?t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"startTime",expression:"'startTime'"}]},[e._v("会议开始时间")])]):e._e(),"会议通知"===e.chooseFlGwType?t("td",{staticClass:"el-table__cell tdcont tdw33"},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"会议开始时间",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[e.canEdit?t("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"datetime",format:"yyyy-MM-dd HH:mm:ss","value-format":"yyyy-MM-dd HH:mm:ss",placeholder:e.$tx("gwgl.gdgl.meetingStartTimePlaceholder","请选择会议开始时间")},model:{value:e.vo.startTime,callback:function(t){e.$set(e.vo,"startTime",t)},expression:"vo.startTime"}}):t("span",{domProps:{textContent:e._s(e.timeTranslate(e.vo.startTime))}})],1)]}}],null,!1,2252135302)})],1):e._e()],2),t("tr",["单位发文"===e.chooseFlGwType||"请示报告"===e.chooseFlGwType?t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"flCreateDate",expression:"'flCreateDate'"}]},[e._v("拟稿日期")])]):e._e(),"单位发文"===e.chooseFlGwType||"请示报告"===e.chooseFlGwType?t("td",{staticClass:"el-table__cell tdcont tdw33"},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"拟稿日期",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[e.canEdit?t("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"date",format:"yyyy年MM月dd日","value-format":"yyyy-MM-dd",placeholder:e.$tx("gwgl.gdgl.draftDatePlaceholder","请选择成文日期")},model:{value:e.vo.flCreateDate,callback:function(t){e.$set(e.vo,"flCreateDate",t)},expression:"vo.flCreateDate"}}):t("span",{domProps:{textContent:e._s(e.dateTranslate(e.vo.flCreateDate))}})],1)]}}],null,!1,1852918566)})],1):e._e(),"会议通知"===e.chooseFlGwType?t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"callDate",expression:"'callDate'"}]},[e._v("召集日期")])]):e._e(),"会议通知"===e.chooseFlGwType?t("td",{staticClass:"el-table__cell tdcont tdw33"},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"召集日期",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[e.canEdit?t("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"date",format:"yyyy年MM月dd日","value-format":"yyyy-MM-dd",placeholder:e.$tx("gwgl.gdgl.callDatePlaceholder","请选择召集日期")},model:{value:e.vo.flCreateDate,callback:function(t){e.$set(e.vo,"flCreateDate",t)},expression:"vo.flCreateDate"}}):t("span",{domProps:{textContent:e._s(e.dateTranslate(e.vo.flCreateDate))}})],1)]}}],null,!1,3698933052)})],1):e._e(),"会议通知"===e.chooseFlGwType?t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"endTime",expression:"'endTime'"}]},[e._v("会议结束时间")])]):e._e(),"会议通知"===e.chooseFlGwType?t("td",{staticClass:"el-table__cell tdcont tdw33"},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"会议结束时间",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[e.canEdit?t("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"datetime",format:"yyyy-MM-dd HH:mm:ss","value-format":"yyyy-MM-dd HH:mm:ss",placeholder:e.$tx("gwgl.gdgl.meetingEndTimePlaceholder","会议结束时间")},model:{value:e.vo.endTime,callback:function(t){e.$set(e.vo,"endTime",t)},expression:"vo.endTime"}}):t("span",{domProps:{textContent:e._s(e.timeTranslate(e.vo.endTime))}})],1)]}}],null,!1,421202649)})],1):e._e(),"收文阅办"===e.chooseFlGwType||"部门收文"===e.chooseFlGwType||"文件传阅"===e.chooseFlGwType?t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"flLwrq",expression:"'flLwrq'"}]},[e._v("来文日期")])]):e._e(),"部门便函"===e.chooseFlGwType||"意见征集"===e.chooseFlGwType?t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"flCreateDate",expression:"'flCreateDate'"}]},[e._v("创建日期")])]):e._e(),"收文阅办"===e.chooseFlGwType||"部门收文"===e.chooseFlGwType||"文件传阅"===e.chooseFlGwType?t("td",{staticClass:"el-table__cell tdcont tdw33"},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"来文日期",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[e.canEdit?t("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"date",format:"yyyy年MM月dd日","value-format":"yyyy-MM-dd",placeholder:e.$tx("gwgl.gdgl.submissionDatePlaceholder","请选择来文日期")},model:{value:e.vo.flLwrq,callback:function(t){e.$set(e.vo,"flLwrq",t)},expression:"vo.flLwrq"}}):t("span",{domProps:{textContent:e._s(e.dateTranslate(e.vo.flLwrq))}})],1)]}}],null,!1,541277182)})],1):e._e(),"部门便函"===e.chooseFlGwType||"意见征集"===e.chooseFlGwType?t("td",{staticClass:"el-table__cell tdcont tdw33"},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"创建日期",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[e.canEdit?t("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"date",format:"yyyy年MM月dd日","value-format":"yyyy-MM-dd",placeholder:e.$tx("gwgl.gdgl.createTimePlaceholder","请选择创建日期")},model:{value:e.vo.flCreateDate,callback:function(t){e.$set(e.vo,"flCreateDate",t)},expression:"vo.flCreateDate"}}):t("span",{domProps:{textContent:e._s(e.dateTranslate(e.vo.flCreateDate))}})],1)]}}],null,!1,2650363856)})],1):e._e(),"单位发文"===e.chooseFlGwType?t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"flGrade",expression:"'flGrade'"}]},[e._v("文件字号")])]):e._e(),"单位发文"===e.chooseFlGwType?t("td",{staticClass:"el-table__cell tdcont tdw33"},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"文件字号",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[e.canEdit?t("el-input",{attrs:{placeholder:e.$tx("gwgl.gdgl.documentSizePlaceholder","请填写文件字号")},model:{value:e.vo.flGrade,callback:function(t){e.$set(e.vo,"flGrade",t)},expression:"vo.flGrade"}}):t("span",{domProps:{innerHTML:e._s(e.vo.flGrade)}})],1)]}}],null,!1,1569961036)})],1):e._e(),"收文阅办"===e.chooseFlGwType||"部门收文"===e.chooseFlGwType||"文件传阅"===e.chooseFlGwType?t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),"收文阅办"===e.chooseFlGwType||"部门收文"===e.chooseFlGwType?t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"documentType",expression:"'documentType'"}]},[e._v("来文字号")]):e._e(),"文件传阅"===e.chooseFlGwType?t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"documentCode",expression:"'documentCode'"}]},[e._v("来文编号")]):e._e()]):e._e(),"收文阅办"===e.chooseFlGwType||"部门收文"===e.chooseFlGwType||"文件传阅"===e.chooseFlGwType?t("td",{staticClass:"el-table__cell tdcont tdw33"},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"收文阅办"===e.chooseFlGwType||"部门收文"===e.chooseFlGwType?e.$tx("gwgl.gdgl.documentType"):e.$tx("gwgl.gdgl.documentCode"),rules:"required"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[e.canEdit?t("el-input",{attrs:{placeholder:e.$tx("gwgl.gdgl.flLwzhPlaceholder",{font:"收文阅办"===e.chooseFlGwType||"部门收文"===e.chooseFlGwType?"字":"编",size:"号"},"请填写来文字号")},model:{value:e.vo.flLwzh,callback:function(t){e.$set(e.vo,"flLwzh",t)},expression:"vo.flLwzh"}}):t("span",{domProps:{textContent:e._s(e.vo.flLwzh)}})],1)]}}],null,!1,831323577)})],1):e._e(),"意见征集"===e.chooseFlGwType?t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"replyTime",expression:"'replyTime'"}]},[e._v("回复时限")])]):e._e(),"意见征集"===e.chooseFlGwType?t("td",{staticClass:"el-table__cell tdcont tdw33"},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"回复时限",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[e.canEdit?t("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"date",format:"yyyy年MM月dd日","value-format":"yyyy-MM-dd",placeholder:e.$tx("gwgl.gdgl.responseTimePlaceholder","请选择回复时限")},model:{value:e.vo.replyTime,callback:function(t){e.$set(e.vo,"replyTime",t)},expression:"vo.replyTime"}}):t("span",{domProps:{textContent:e._s(e.dateTranslate(e.vo.replyTime))}})],1)]}}],null,!1,1901139929)})],1):e._e(),"部门便函"===e.chooseFlGwType||"请示报告"===e.chooseFlGwType?t("td",{attrs:{colspan:"2"}}):e._e()]),"收文阅办"===e.chooseFlGwType||"部门收文"===e.chooseFlGwType||"文件传阅"===e.chooseFlGwType?t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"flLwdw",expression:"'flLwdw'"}]},[e._v("来文单位")])]),t("td",{staticClass:"el-table__cell tdcont tdw83",attrs:{colspan:"3"}},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"来文单位",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[e.canEdit?t("el-input",{attrs:{placeholder:e.$tx("gwgl.gdgl.reportingUnitPlaceholder","请输入来文单位")},model:{value:e.vo.flLwdw,callback:function(t){e.$set(e.vo,"flLwdw",t)},expression:"vo.flLwdw"}}):t("span",{domProps:{textContent:e._s(e.vo.flLwdw)}})],1)]}}],null,!1,56236278)})],1)]):e._e(),t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"flSLevel",expression:"'flSLevel'"}]},[e._v("密级")])]),t("td",{staticClass:"el-table__cell tdcont tdw33"},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"密级",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[e.canEdit?t("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:e.$tx("gwgl.gdgl.classificationPlaceholder","请选择密级")},model:{value:e.vo.flSLevel,callback:function(t){e.$set(e.vo,"flSLevel",t)},expression:"vo.flSLevel"}},e._l(e.vo.passenger.flSLevelOptions,(function(e){return t("el-option",{key:e.value,attrs:{label:e.text,value:e.value}})})),1):t("span",{domProps:{textContent:e._s(e.vo.flSLevel)}})],1)]}}])})],1),t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"gdType",expression:"'gdType'"}]},[e._v("归档类型")])]),t("td",{staticClass:"el-table__cell tdcont tdw33"},[t("span",{domProps:{textContent:e._s(e.gdTypeObj[e.vo.gdType])}})])]),t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"creator",expression:"'creator'"}]},[e._v("归档人")])]),t("td",{staticClass:"el-table__cell tdcont tdw33"},[e._v(" "+e._s(e.vo.creator)+" ")]),t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"gdTime",expression:"'gdTime'"}]},[e._v("归档日期")])]),t("td",{staticClass:"el-table__cell tdcont tdw33"},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"归档日期",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[e.canEdit?t("el-date-picker",{staticStyle:{width:"100%"},attrs:{placeholder:e.$tx("gwgl.gdgl.filingDatePlaceholder","请选择归档日期"),type:"date",format:"yyyy年MM月dd日","value-format":"yyyy-MM-dd HH:mm:ss"},model:{value:e.vo.gdTime,callback:function(t){e.$set(e.vo,"gdTime",t)},expression:"vo.gdTime"}}):t("span",{domProps:{textContent:e._s(e.dateTranslate(e.vo.gdTime))}})],1)]}}])})],1)]),e.vo.isnew?t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"categoryName",expression:"'categoryName'"}]},[e._v("归档分类管理")])]),t("td",{staticClass:"el-table__cell tdcont tdw33"},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"分类",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[e.canEdit?t("el-input",{directives:[{name:"select-dialog",rawName:"v-select-dialog",value:"gdtype",expression:"'gdtype'"}],ref:"gdTypeTree",staticStyle:{width:"100%"},attrs:{readonly:"","init-tree-data":e.treeData,"dialog-title":e.$tx("gwgl.components.archiveClassificationSelect","选择归档分类"),multiple:!1,placeholder:e.$tx("gwgl.components.archiveClassificationPlaceholder"),name:""},model:{value:e.vo.categoryName,callback:function(t){e.$set(e.vo,"categoryName",t)},expression:"vo.categoryName"}}):t("span",{domProps:{textContent:e._s(e.vo.categoryName)}})],1)]}}],null,!1,2740719594)})],1),t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"flELevel",expression:"'flELevel'"}]},[e._v("紧急程度")])]),t("td",{staticClass:"el-table__cell tdcont tdw33"},[t("form-item",{ref:"flELevel",attrs:{field:{cssClass:null,cssStyle:null,defaultValue:"",elementCanEdit:"{{curTN.tnCanEdit}}",elementCssHeight:null,elementCssWidth:null,elementFormatter:":",elementReadonly:null,elementType:"select",emptyMessage:e.$tx("gwgl.gdgl.urgencyEmptyMessage","请选择紧急程度"),errorMessage:null,formTdAlign:"text-left",formTdColspan:0,isRequired:1,onBlurEvent:null,onChangeEvent:null,onClickEvent:null,onDblClickEvent:null,onFocusEvent:null,onKeyDownEvent:null,onKeyPressEvent:null,onKeyUpEvent:null,onMouseDownEvent:null,onMouseOverEvent:null,onMouseUpEvent:null,passenger:{},propComment:"紧急程度 ",propName:"flELevel",propType:"String",textFormatter:null,valueMaxLength:null,valueMinLength:null,model:"vo.flELevel",option:[{name:"",value:""}],optionGenerateType:0},vo:e.vo,"can-edit":e.canEdit}})],1)]):e._e(),"会议通知"===e.chooseFlGwType?t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"address",expression:"'address'"}]},[e._v("会议地点")])]),t("td",{staticClass:"el-table__cell tdcont tdw33",attrs:{colspan:"3"}},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"会议地点",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[e.canEdit?t("el-input",{attrs:{placeholder:e.$tx("gwgl.gdgl.meetingAddressPlaceholder","请输入会议地点")},model:{value:e.vo.address,callback:function(t){e.$set(e.vo,"address",t)},expression:"vo.address"}}):t("span",{domProps:{textContent:e._s(e.vo.address)}})],1)]}}],null,!1,2867847702)})],1)]):e._e(),t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"accessRightsType",expression:"'accessRightsType'"}],attrs:{moduleCode:"components"}},[e._v("文件查阅权限")])]),t("td",{staticClass:"el-table__cell tdcont tdw83",attrs:{colspan:"3"}},[t("el-radio-group",{attrs:{disabled:!e.canEdit},model:{value:e.vo.accessRightsType,callback:function(t){e.$set(e.vo,"accessRightsType",t)},expression:"vo.accessRightsType"}},[t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"allPersonnel",expression:"'allPersonnel'"}],attrs:{label:0,"module-code":"components"}},[e._v("全体人员可阅")]),e.vo.busiDataId&&"gwgl/gdwj"!==e.wfEngineUrl?t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"originalHandler",expression:"'originalHandler'"}],attrs:{label:1,"module-code":"components"}},[e._v("原经办人可阅")]):e._e(),e.vo.busiDataId&&"gwgl/gdwj"!==e.wfEngineUrl?t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"handlerDesignated",expression:"'handlerDesignated'"}],attrs:{label:2,"module-code":"components"}},[e._v("原经办人+指定人可阅")]):e._e(),e.vo.busiDataId&&"gwgl/gdwj"!==e.wfEngineUrl?e._e():t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"designatedReaders",expression:"'designatedReaders'"}],attrs:{label:2,"module-code":"components"}},[e._v("指定可阅人")])],1)],1)]),2===e.vo.accessRightsType?t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"appoints",expression:"'appoints'"}],attrs:{moduleCode:"components"}},[e._v("指定类型")])]),t("td",{staticClass:"el-table__cell tdcont tdw83",attrs:{colspan:"3"}},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"指定类型",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-radio-group",{attrs:{disabled:!e.canEdit},on:{change:e.changAppoints},model:{value:e.vo.appoints,callback:function(t){e.$set(e.vo,"appoints",t)},expression:"vo.appoints"}},[t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"specifyGroup",expression:"'specifyGroup'"}],attrs:{label:"1","module-code":"components"}},[e._v("指定群组")]),t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"specifyDepart",expression:"'specifyDepart'"}],attrs:{label:"2","module-code":"components"}},[e._v("指定部门")]),t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"specifyPerson",expression:"'specifyPerson'"}],attrs:{label:"3","module-code":"components"}},[e._v("指定人员")])],1)],1)]}}],null,!1,3388011351)})],1)]):e._e(),2===e.vo.accessRightsType&&""!==e.vo.appoints&&null!==e.vo.appoints?t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),"1"===e.vo.appoints?t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"selectGroup",expression:"'selectGroup'"}],attrs:{moduleCode:"components"}},[e._v("选择群组")]):e._e(),"2"===e.vo.appoints?t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"selectDepart",expression:"'selectDepart'"}],attrs:{moduleCode:"components"}},[e._v("选择部门")]):e._e(),"3"===e.vo.appoints?t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"selectPerson",expression:"'selectPerson'"}],attrs:{moduleCode:"components"}},[e._v("选择人员")]):e._e()]),t("td",{staticClass:"el-table__cell tdcont tdw83",attrs:{colspan:"3"}},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"群组",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-input",{directives:[{name:"show",rawName:"v-show",value:"1"===e.vo.appoints,expression:"vo.appoints === '1'"},{name:"can-edit",rawName:"v-can-edit"},{name:"select-dialog",rawName:"v-select-dialog",value:"workgroup",expression:"'workgroup'"}],attrs:{placeholder:e.$tx("gwgl.components.GroupPlaceholder","请选择群组"),readonly:"readonly",multiple:"true",type:"textarea","root-org-code":e.vo.orgCode,name:"deptIds2"},model:{value:e.vo.deptOrName,callback:function(t){e.$set(e.vo,"deptOrName",t)},expression:"vo.deptOrName"}})],1)]}}],null,!1,1512767669)}),t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"部门",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-input",{directives:[{name:"show",rawName:"v-show",value:"2"===e.vo.appoints,expression:"vo.appoints === '2'"},{name:"can-edit",rawName:"v-can-edit"},{name:"select-dialog",rawName:"v-select-dialog",value:"suborg",expression:"'suborg'"}],attrs:{placeholder:e.$tx("gwgl.components.DepartPlaceholder","请选择部门"),"org-level":"2",readonly:"readonly",multiple:"true",type:"textarea","root-org-code":e.vo.orgCode,name:"deptIds"},model:{value:e.vo.deptOrName,callback:function(t){e.$set(e.vo,"deptOrName",t)},expression:"vo.deptOrName"}})],1)]}}],null,!1,1198639595)}),t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"人员",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-input",{directives:[{name:"show",rawName:"v-show",value:"3"===e.vo.appoints,expression:"vo.appoints === '3'"},{name:"can-edit",rawName:"v-can-edit"},{name:"select-dialog",rawName:"v-select-dialog",value:"staff",expression:"'staff'"}],attrs:{placeholder:e.$tx("gwgl.components.PersonPlaceholder","请选择人员"),readonly:"readonly",multiple:"true",type:"textarea",name:"deptIds","root-org-code":e.vo.orgCode},model:{value:e.vo.deptOrName,callback:function(t){e.$set(e.vo,"deptOrName",t)},expression:"vo.deptOrName"}})],1)]}}],null,!1,3367502863)})],1)]):e._e()])])])])])},ct=[],ut=n(5093),pt={components:{},props:{moduleInfo:{type:Object,default:function(){return{}}},vo:{type:Object,default:function(){return{}}},canEdit:{type:Number,default:1}},data:function(){return{i18npkg:"gwgl",moduleCode:"gdgl",gwType:[{title:"单位发文",value:"单位发文"},{title:"收文阅办",value:"收文阅办"},{title:"部门收文",value:"部门收文"},{title:"文件传阅",value:"文件传阅"},{title:"部门便函",value:"部门便函"},{title:"意见征集",value:"意见征集"},{title:"会议通知",value:"会议通知"},{title:"请示报告",value:"请示报告"}],security:[{title:"一般",value:"1"},{title:"特殊",value:"2"}],gdType:[{title:this.$tx("gwgl.components.electronicFilling","电子归档"),value:1},{title:this.$tx("gwgl.components.paperArchiving","纸质归档"),value:2}],gdTypeObj:{1:this.$tx("gwgl.components.electronicFilling","电子归档"),2:this.$tx("gwgl.components.paperArchiving","纸质归档")},root:[],treeData:[],loginUser:null,chooseFlGwType:null,wflowform:!1,wfEngineUrl:""}},computed:{dateTranslate:function(){return function(e){return e?ut(e).format("YYYY年MM月DD日"):""}},timeTranslate:function(){return function(e){return e?ut(e).format("YYYY-MM-DD HH:mm"):""}}},watch:{"vo.flGwType":function(e){var t=this.vo.passenger.flGwTypeOptions.filter((function(t){return t.name===e}))[0];void 0!==t&&(this.chooseFlGwType=t.wfName)}},created:function(){var e=this,t=this.vo.passenger.flGwTypeOptions.filter((function(t){return t.name===e.vo.flGwType}))[0];void 0!==t&&(this.chooseFlGwType=t.wfName),this.loginUser=this.$store.getters.loginUser,-1!==location.href.indexOf("/wflow")&&(this.canEdit=0,this.wflowform=!0),this.wfEngineUrl=this.$route.query.wfEngineUrl,this.queryData()},mounted:function(){},beforeDestroy:function(){},methods:{onWflowFormOpened:function(){},onWflowFormBeforeSubmit:function(){},onWflowFormSubmited:function(){},queryData:function(){var e=this;this.$http({method:"POST",contentType:"application/x-www-form-urlencoded",params:{orderBy:"categoryLevel asc,orderno asc"},data:[{compare:"=",field:"orgCode",merge:!0,value:this.loginUser.orgCode}],url:"/gwgl/gdflsz/querydata"}).then((function(t){"success"===t.code?(e.treeData=e.treeData=e.treeDataAdapter(e.root.concat(t.body.listdata)),console.log(e.treeData,"gwgl")):e.$alert(t.message,e.$tx("common.operationTip","操作提示"),{type:"error"})}))},treeDataAdapter:function(e){return e.forEach((function(e){null===e.parentId||""===e.parentId||void 0===e.parentId?e.pId="1":e.pId=e.parentId,e.name=e.categoryName,e.title=e.categoryName})),e},onGdtypeCompleted:function(e,t){this.vo.categoryName=e[0].name,this.vo.categoryId=e[0].categoryFullId},onSelectSuborgCompleted:function(e,t){var n="",r="";e.forEach((function(e){""!==n&&(n+="、"),""!==n&&(r+="、"),n+=e.name,r+=e.id})),this.$set(this.vo,"deptIds",r),this.$set(this.vo,"deptOrName",n)},onSelectWorkgroupCompleted:function(e,t){var n="",r="";e.forEach((function(e){""!==n&&(n+="、"),""!==n&&(r+="、"),n+=e.name,r+=e.id})),this.$set(this.vo,"deptIds",r),this.$set(this.vo,"deptOrName",n)},onSelectStaffCompleted:function(e,t){var n="",r="";e.forEach((function(e){""!==n&&(r+="、"),""!==n&&(n+="、"),n+=e.name,r+=e.personId})),this.$set(this.vo,"deptOrName",n),this.$set(this.vo,"deptIds",r)},changAppoints:function(e){this.vo.deptIds="",this.vo.deptOrName="",e===this.activeId&&(this.vo.deptIds=this.activedeptIds,this.vo.deptOrName=this.activeText)},flGwTypeChange:function(){this.vo.number=""},clearAccessRightsType:function(){this.vo.accessRightsType=null,this.vo.appoints=null,this.vo.deptOrName="",this.vo.deptIds=""}}},mt=pt,ft=(n(543),m(mt,dt,ct,!1,null,"123cdbf8",null)),ht=ft.exports,gt=n(5373),yt=n.n(gt);function _t(e){return _t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_t(e)}function vt(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */vt=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function d(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(e){d=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var o=t&&t.prototype instanceof y?t:y,i=Object.create(o.prototype),s=new j(r||[]);return a(i,"_invoke",{value:D(e,n,s)}),i}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=c;var p="suspendedStart",m="suspendedYield",f="executing",h="completed",g={};function y(){}function _(){}function v(){}var b={};d(b,i,(function(){return this}));var w=Object.getPrototypeOf,M=w&&w(w(C([])));M&&M!==n&&r.call(M,i)&&(b=M);var L=v.prototype=y.prototype=Object.create(b);function T(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function n(a,o,i,s){var l=u(e[a],e,o);if("throw"!==l.type){var d=l.arg,c=d.value;return c&&"object"==_t(c)&&r.call(c,"__await")?t.resolve(c.__await).then((function(e){n("next",e,i,s)}),(function(e){n("throw",e,i,s)})):t.resolve(c).then((function(e){d.value=e,i(d)}),(function(e){return n("throw",e,i,s)}))}s(l.arg)}var o;a(this,"_invoke",{value:function(e,r){function a(){return new t((function(t,a){n(e,r,t,a)}))}return o=o?o.then(a,a):a()}})}function D(t,n,r){var a=p;return function(o,i){if(a===f)throw Error("Generator is already running");if(a===h){if("throw"===o)throw i;return{value:e,done:!0}}for(r.method=o,r.arg=i;;){var s=r.delegate;if(s){var l=k(s,r);if(l){if(l===g)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(a===p)throw a=h,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);a=f;var d=u(t,n,r);if("normal"===d.type){if(a=r.done?h:m,d.arg===g)continue;return{value:d.arg,done:r.done}}"throw"===d.type&&(a=h,r.method="throw",r.arg=d.arg)}}}function k(t,n){var r=n.method,a=t.iterator[r];if(a===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,k(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var o=u(a,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,g;var i=o.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,g):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function Y(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function C(t){if(t||""===t){var n=t[i];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,o=function n(){for(;++a<t.length;)if(r.call(t,a))return n.value=t[a],n.done=!1,n;return n.value=e,n.done=!0,n};return o.next=o}}throw new TypeError(_t(t)+" is not iterable")}return _.prototype=v,a(L,"constructor",{value:v,configurable:!0}),a(v,"constructor",{value:_,configurable:!0}),_.displayName=d(v,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===_||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,d(e,l,"GeneratorFunction")),e.prototype=Object.create(L),e},t.awrap=function(e){return{__await:e}},T(x.prototype),d(x.prototype,s,(function(){return this})),t.AsyncIterator=x,t.async=function(e,n,r,a,o){void 0===o&&(o=Promise);var i=new x(c(e,n,r,a),o);return t.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},T(L),d(L,l,"Generator"),d(L,i,(function(){return this})),d(L,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=C,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(Y),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function a(r,a){return s.type="throw",s.arg=t,n.next=r,a&&(n.method="next",n.arg=e),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],s=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var l=r.call(i,"catchLoc"),d=r.call(i,"finallyLoc");if(l&&d){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!d)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&r.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),Y(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;Y(n)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:C(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}function bt(e,t,n,r,a,o,i){try{var s=e[o](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)}function wt(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){bt(o,r,a,i,s,"next",e)}function s(e){bt(o,r,a,i,s,"throw",e)}i(void 0)}))}}var Mt=n(5093),Lt={components:{FileForm:ht,FilingSystem:h},props:{searchType:{type:String,default:function(){return"0"}},treeNode:{type:Object,default:function(){return{}}},editPermission:{type:Boolean,default:function(){return!1}},language:{type:Array,default:function(){return[]}},gdflszVos:{type:Array,default:function(){return[]}},mapList:{type:Array,default:function(){return[]}}},data:function(){return{i18npkg:"gwgl",moduleCode:"gdgl",title:"归档文件",loginUser:this.$store.getters.loginUser,tableShow:!1,moduleInfo:{getByIdUrl:"gwgl/gdwj/getById",listDataUrl:"gwgl/gdwj/archiveQuery",moduleCode:"gwgl",addNewUrl:"gwgl/gdwj/addNew",insertUrl:"gwgl/gdwj/insert",updateUrl:"gwgl/gdwj/update",uploadUrl:"gwgl/gdwj/upload",winWidth:1e3,winHeight:650},tableList:[{field:"state",checkbox:!0,width:"45px"},{field:"index",title:"序号",width:"45px",align:"center",valign:"middle"},{propFormatter:"component:@/wapp/gwgl/components/GwglTbColumns",listAdvSearchElement:"",field:"flELevel",width:"100px",elementFormatter:this.$tx("gwgl.gdgl.flELevelFormatter","平件:平件\n急件:急件\n特急:特急"),sortable:!1,propType:"String",align:"center",title:"紧急程度 ",searchable:!1},{field:"flSubject",title:"文件标题",align:"left",valign:"middle",cellStyle:{css:{cursor:"pointer"}},searchable:!0,sortable:!1,listAdvSearchElement:"input",listAdvSearchIndex:0},{field:"flGwType",title:"公文种类",width:"100px",align:"center",valign:"middle",cellStyle:{css:{cursor:"pointer"}},sortable:!0,searchable:!0,listAdvSearchElement:"select",listAdvSearchIndex:3,elementFormatter:"单位发文:单位发文\r\n收文阅办:收文阅办\r\n文件传阅:文件传阅\r\n请示报告:请示报告\r\n部门便函:部门便函\r\n单位函:单位函\r\n办公室文件:办公室文件\r\n"},{field:"gdType",title:"归档类型",width:"100px",align:"center",valign:"middle",cellStyle:{css:{cursor:"pointer"}},sortable:!0,searchable:!0,listAdvSearchElement:"select",listAdvSearchIndex:3,elementFormatter:"1:电子归档\r\n2:纸质归档\r\n1,2:全部类型\r\n"},{field:"flSLevel",title:"密级",width:"100px",align:"center",valign:"middle",cellStyle:{css:{cursor:"pointer"}},searchable:!1,sortable:!0,listAdvSearchElement:"input",listAdvSearchIndex:2,elementFormatter:"1:一般\r\n2:特殊\r\n"},{field:"creator",title:"归档人",width:"80px",align:"center",valign:"middle",cellStyle:{css:{cursor:"pointer"}},searchable:!0,sortable:!1,listAdvSearchElement:"input",listAdvSearchIndex:3},{field:"gdTime",title:"归档日期",width:"160px",align:"center",valign:"middle",cellStyle:{css:{cursor:"pointer"}},searchable:!0,sortable:!0,listAdvSearchElement:"date",elementFormatter:"format:yyyy年MM月dd日\r\n",listAdvSearchIndex:4},{field:"fl",title:"文件分类",width:"100",align:"center",valign:"middle",enabled:!1,cellStyle:{css:{cursor:"pointer"}},searchable:!1,sortable:!1,listAdvSearchElement:"select",listAdvSearchIndex:2,elementFormatter:""}],listpageBtns:[],listpageBtnsb:[{btnName:this.$tx("gwgl.gdgl.borrowingApplication","借阅申请"),btnIcon:"plus",btnClick:this.jieyuesq,btnPermission:"",id:"btn_jysq",btnType:"toolbar"},{btnName:this.$tx("pageBtns.export","导出"),btnIcon:"export.svg",btnClick:this.doloadFile,btnPermission:"",id:"btn_export",btnType:"toolbar"}],listpageBtnsa:[{btnName:"新增",btnIcon:"plus",btnClick:this.addObject,btnPermission:"",id:"btn_add",btnType:"toolbar",btnI18nCode:"add"},{id:"btn_seetingId",btnName:this.$tx("pageBtns.setting","设置"),btnIcon:"s-tools",btnClick:this.setting,btnPermission:"setting",btnType:"toolbar"},{btnName:this.$tx("pageBtns.export","导出"),btnIcon:"export.svg",btnClick:this.doloadFile,btnPermission:"",id:"btn_export",btnType:"toolbar",btnI18nCode:"export"},{btnName:"批量下载",btnIcon:"export.svg",btnClick:this.batchSaveFiles,btnPermission:"batchSaveAllFiles",id:"btn_download",btnType:"toolbar",btnI18nCode:"batchSaveAllFiles"},{id:"btn_deleteId",btnName:this.$tx("pageBtns.setting","设置"),btnIcon:"",btnClick:this.setting,btnPermission:"setting",btnType:"column"}],downloadFileTitle:[{title:"序号",width:45,align:"center",colspan:1,rowspan:1,code:"index"},{title:"紧急程度",width:100,align:"center",colspan:1,rowspan:1,code:"flELevel"},{title:"文件标题",width:300,align:"left",colspan:1,rowspan:1,code:"flSubject"},{title:"文件类型",width:100,align:"center",colspan:1,rowspan:1,code:"flGwType"},{title:"归档类型",width:100,align:"center",colspan:1,rowspan:1,code:"gdType"},{title:"密级",width:100,align:"center",colspan:1,rowspan:1,code:"flSLevel"},{title:"归档人",width:80,align:"center",colspan:1,rowspan:1,code:"creator"},{title:"归档日期",width:150,align:"center",colspan:1,rowspan:1,code:"gdTime"}],canEdit:1,rowsSelected:[],num:"",allDate:[],cellNot:!0}},computed:{},watch:{treeNode:function(){this.setListDataUrl()}},created:function(){this.$bus.on("fileSetting",this.setting),this.$bus.on("editorForm",this.editorForm),this.listpageBtns=this.editPermission?this.listpageBtnsa:this.listpageBtnsb,this.editPermission&&this.tableList.push({field:"operate",title:"操作",width:"100px",align:"center",valign:"middle",propFormatter:"component:@/wapp/gwgl/components/GwglTbColumns"}),this.setListDataUrl()},beforeDestroy:function(){this.$bus.off("fileSetting",this.setting),this.$bus.off("editorForm",this.editorForm)},mounted:function(){console.log("listpageBtns",this.listpageBtns);var e=":全部文种\r\n";this.language.forEach((function(t){e+=t.name+":"+t.name+"\r\n"})),this.tableList[3].elementFormatter=e},methods:{jieyuesq:function(){if(this.rowsSelected.length>0){var e=JSON.stringify(this.rowsSelected);localStorage.setItem("gwjyInnerList",e);var t=window.open("#/wflow?wfEngineUrl=gwgl/jysq&busiCode=gwJysq&wfName=借阅申请&startNodeName=&gwjy=1"),n=setInterval((function(){t.closed&&(console.log("新窗口已被关闭"),clearInterval(n),localStorage.removeItem("gwjyInnerList"))}),1e3)}else this.$message.warning(this.$tx("gwgl.messages.selectData","请先选择数据!"))},onListDataBeforeLoad:function(e,t){t.searchAndOr||(t.searchAndOr="or",t.searchMap["flSubject"]="",t.searchMap["flGwType"]="",t.searchMap["gdType"]="",t.searchMap["creator"]="",t.searchMap["gdTime"]=""),t.orderBy="gdTime desc"},onListDataLoaded:function(e,t){var n=this;console.log(284,t),this.allDate=t.list,this.$http({url:"/gwgl/gdwj/numberOfArchives",method:"GET",contentType:"application/x-www-form-urlencoded"}).then((function(e){"success"===e.code&&(n.num=e.body.num)}))},selectedRowsChange:function(e){this.rowsSelected=e},addObject:function(){var e=this;this.$nextTick((function(){e.$bus.emit("openBusiform",e.moduleInfo,null,1)}))},setting:function(e){var t=this,n=[];n=e?[e]:this.rowsSelected,this.cellNot=!1,this.$bus.emit("openDialog",{rowsSelected:n,url:"",edit:!0}),setTimeout((function(){t.cellNot=!0}),1e3)},editorForm:function(e){var t=this;this.cellNot=!1,this.$nextTick((function(){t.$bus.emit("openBusiform",t.moduleInfo,e,1)})),setTimeout((function(){t.cellNot=!0}),1e3)},cellclick:function(e,t,n,r){if(this.editPermission&&this.cellNot){if(void 0===e.wfEngineUrl){var a=this.moduleInfo.listDataUrl.split("/");a=encodeURI(a[0]+"/"+a[1]),e.wfEngineUrl="/wflow?wfEngineUrl="+a+"&busiDataId="+e.id}window.open("./#"+e.wfEngineUrl+"&gdId="+e.id)}},setListDataUrl:function(){var e=this;return wt(vt().mark((function t(){var n;return vt().wrap((function(t){while(1)switch(t.prev=t.next){case 0:n="","0"===e.searchType?n="0"===e.treeNode.id?"gwgl/gdwj/archiveQuery":"1"===e.treeNode.id?"gwgl/gdwj/archiveQuery?categoryId=-1":"gwgl/gdwj/archiveQuery?categoryId="+e.treeNode.id:"1"===e.searchType?n="0"===e.treeNode.id?"gwgl/gdwj/archiveQuery":"gwgl/gdwj/archiveQuery?keyDate="+e.treeNode.name:"2"===e.searchType&&(n="0"===e.treeNode.id?"gwgl/gdwj/archiveQuery":"gwgl/gdwj/archiveQuery?flGwType="+e.treeNode.name),e.tableShow=!1,e.$nextTick((function(){e.tableShow=!0})),e.$set(e.moduleInfo,"listDataUrl",n);case 5:case"end":return t.stop()}}),t)})))()},doloadFile:function(){var e=this;return wt(vt().mark((function t(){var n,r;return vt().wrap((function(t){while(1)switch(t.prev=t.next){case 0:n=e.rowsSelected,console.log(355,e.rowsSelected),console.log(358,e.allDate),0===n.length&&(n=e.allDate),r=[],n.forEach((function(t,n){var a=[];e.downloadFileTitle.forEach((function(r){var o={value:"",align:"",colspan:1,rowspan:1};"index"===r.code?o.value=n+1:"gdType"===r.code?o.value=1===t[r.code]?e.$tx("gwgl.components.electronicFilling","电子归档"):e.$tx("gwgl.components.paperArchiving","纸质归档"):"gdTime"===r.code?o.value=Mt(t[r.code]).format("YYYY年MM月DD日"):o.value=t[r.code],o.align=r.align,a.push(o)})),r.push(a)})),e.$http({method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"},data:yt().stringify({rows:JSON.stringify(r),titles:JSON.stringify([e.downloadFileTitle]),fileName:e.treeNode.name+"-归档文件"}),url:"common/exportXlsFile"}).then((function(t){"success"===t.code?window.open("/apigw/"+t.body.xlsurl,"_blank"):e.$message.error(t.message)}));case 7:case"end":return t.stop()}}),t)})))()},batchSaveFiles:function(){var e=this;return wt(vt().mark((function t(){return vt().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(0!==e.rowsSelected.length){t.next=3;break}return e.$alert("请选择要下载的文件","操作提示",{confirmButtonText:"确定",type:"warning"}),t.abrupt("return");case 3:e.$http({method:"POST",url:"/gwgl/webForm/gwgdBatchDownload",data:e.rowsSelected}).then((function(t){"success"===t.code?window.open("/apigw/"+t.body.zipurl):e.$message.error(t.message)}));case 4:case"end":return t.stop()}}),t)})))()},onBasicFormBeforeOpen:function(e,t,n){t.isnew&&(t.accessRightsType=0,t.creator=this.loginUser.personName,t.flGwType=t.passenger.flGwTypeOptions[0].name),n.resolve(!0)},onBasicFormOpened:function(e,t){e.isnew&&(t.gdType=2)},onBasicFormBeforeSubmit:function(e,t,n){"归档分类"===t.categoryName&&(t.categoryId="",t.categoryName=""),this.$set(t,"wfEngineUrl","/wflow?wfEngineUrl=gwgl/gdwj&busiDataId="+t.id),n.resolve(!0)}}},Tt=Lt,xt=m(Tt,st,lt,!1,null,"67a34aba",null),Dt=xt.exports,kt={components:{FileList:Dt},props:{},data:function(){return{i18npkg:"gwgl",moduleCode:"gdgl",treeData:[],treeNode:null,searchType:"0",loginUser:this.$store.getters.loginUser,root:{file:[{id:"0",parentId:"0",name:"所有文件",categoryName:"所有文件",open:!0,title:"所有文件"}],time:[{id:"0",name:"所有文件",year:"所有文件",open:!0,title:"所有文件"}],type:[{id:"0",name:"所有文件",categoryName:"所有文件",open:!0,title:"所有文件"}]},zTree:null,editPermission:!1,language:[]}},computed:{},watch:{searchType:function(e){this.getTreeList()}},created:function(){var e=this.$store.state.user.roles||[];e.some((function(e){return["dwAdministrators","dwLeaders"].includes(e)}))&&(this.editPermission=!0),this.$route.meta.params&&this.$route.meta.params.indexOf("searchType1")>-1?this.searchType="1":this.$route.meta.params&&this.$route.meta.params.indexOf("searchType2")>-1&&(this.searchType="2"),this.getTreeList()},beforeDestroy:function(){},mounted:function(){},methods:{onTreeCreated:function(e){var t=this;this.zTree=e;var n=this.zTree,r=n.getNodes();r.length>0&&this.$nextTick((function(){t.onTreeNodeClick("",r[0].id,r[0]),n.selectNode(r[0])}))},onTreeNodeClick:function(e,t,n){console.log(n,"treeNode"),this.treeNode=n},getTreeList:function(){var e=this;this.$http({method:"POST",contentType:"application/x-www-form-urlencoded",params:{},data:[],url:"/gwgl/gdwj/classificationQueryCollection"}).then((function(t){"success"===t.code?(e.language=t.body.language,e.gdflszVos=t.body.gdflszVos,e.mapList=t.body.mapList,"0"===e.searchType?e.treeData=e.treeDataAdapter(e.root.file.concat(t.body.gdflszVos)):"1"===e.searchType?e.treeData=e.treeDataAdapter(e.root.time.concat(t.body.mapList)):"2"===e.searchType&&(t.body.language.forEach((function(e){e.id="",e.parentId=""})),e.treeData=e.treeDataAdapter(e.root.type.concat(t.body.language)))):e.$alert(t.message,e.$tx("common.operationTip","操作提示"),{type:"error"})}))},treeDataAdapter:function(e){var t=this;return e.forEach((function(e){null===e.parentId||""===e.parentId||void 0===e.parentId?e.pId="0":e.pId=e.parentId,"0"===t.searchType?(e.name=e.categoryName,e.title=e.categoryName):"1"===t.searchType?(e.title=e.year,e.name=e.year):"2"===t.searchType&&(e.title=e.name)})),e}}},St=kt,Yt=(n(4868),m(St,ot,it,!1,null,"70c91108",null)),jt=Yt.exports,Ct=function(){var e=this,t=e._self._c;return t("div",[e.dialogFormVisible&&"dept"===e.sendType?t("SendDeptFile",{attrs:{"corp-leaders":e.corpLeaders,"inner-depts":e.innerDepts,"wf-instance":e.wfInstance,"busi-data":e.busiData,"fw-bodyfile":e.fwBodyfile,"fw-attachs":e.fwAttachs}}):e._e(),e.dialogFormVisible&&"corp"===e.sendType?t("SendCorpFile",{attrs:{"tree-nodes":e.treeNodes,"corp-orgs":e.corpOrgs,"wf-instance":e.wfInstance,"busi-data":e.busiData,"fw-bodyfile":e.fwBodyfile,"fw-attachs":e.fwAttachs}}):e._e(),e.dialogFormVisible&&"all"===e.sendType?t("SendGroupFile",{attrs:{"corp-leaders":e.corpLeaders,"inner-depts":e.innerDepts,"commom-tree":e.commomTree,"corp-orgs":e.corpOrgs,"wf-instance":e.wfInstance,"busi-data":e.busiData,"fw-bodyfile":e.fwBodyfile,"fw-attachs":e.fwAttachs}}):e._e(),t("SendlogList",{attrs:{"wf-instance":e.wfInstance}}),t("ReceiptFile")],1)},Ot=[],Nt=function(){var e=this,t=e._self._c;return e.dialogFormVisible?t("el-dialog",{directives:[{name:"el-drag-dialog",rawName:"v-el-drag-dialog"}],attrs:{"close-on-click-modal":!1,visible:e.dialogFormVisible,"destroy-on-close":!0,width:"1200px",title:e.winTitle},on:{"update:visible":function(t){e.dialogFormVisible=t},close:e.handleDialogClose}},[e.loading?t("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"el-dialog__body"}):e._e(),t("el-form",[t("div",{staticClass:"el-table el-table--fit el-table--border",staticStyle:{}},[t("div",{staticClass:"el-table__body-wrapper"},[t("table",{staticClass:"el-table__body",attrs:{cellspacing:"0",cellpadding:"0",border:"0"}},[t("thead",[t("th",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"leaders",expression:"'leaders'"}],staticStyle:{"text-align":"center"}},[e._v("领导阅文")]),t("th",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"receiptDocuments",expression:"'receiptDocuments'"}],staticStyle:{"text-align":"center"},attrs:{moduleCode:"portlet"}},[e._v("部门收文")])]),t("tbody",[t("tr",[t("td",[t("el-row",[t("el-col",{staticClass:"ztree-container listitem",attrs:{span:"11"}},[t("div",{staticClass:"treeNode",staticStyle:{"overflow-y":"inherit"}},[t("GiantTree",{attrs:{"ztree-id":"corpLeadersTree",nodes:e.corpLeaders,multiple:e.multiple,"show-icon":!1,"show-line":!1},on:{onCreated:e.onTreeCreated,onClick:e.onTreeNodeClick,onCheck:e.onTreeNodeCheck}})],1)]),t("el-col",{staticClass:"selectBtn-container",attrs:{span:"2"}},[t("div",[t("el-button",{staticClass:"el-icon-d-arrow-right",attrs:{size:"mini",circle:"",plain:""},on:{click:function(t){return e.handleSelectAll("corpLeadersTree",!0)}}})],1),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"selectAll",expression:"'selectAll'"}]},[e._v("全选")]),t("br"),t("br"),t("div",[t("el-button",{staticClass:"el-icon-d-arrow-left",attrs:{size:"mini",circle:"",plain:""},on:{click:function(t){return e.handleSelectAll("corpLeadersTree",!1)}}})],1),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"del",expression:"'del'"}]},[e._v("删除")])]),t("el-col",{staticClass:"ztree-container",attrs:{span:"11"}},[t("div",{staticClass:"treeNode selectnode"},e._l(e.sendToList.corpLeadersTree,(function(n,r){return t("span",{key:r,on:{click:function(t){return e.removeSelectedNode(r,"corpLeadersTree")}}},[e._v(" "+e._s(n.title)+" "),t("i",{staticClass:"el-icon-close"}),t("br")])})),0)])],1)],1),t("td",[t("el-row",[t("el-col",{staticClass:"ztree-container listitem",attrs:{span:"11"}},[t("div",{staticClass:"treeNode",staticStyle:{"overflow-y":"inherit"}},[t("GiantTree",{attrs:{"ztree-id":"innerDeptsTree",nodes:e.innerDepts,multiple:e.multiple,"show-icon":!1,"show-line":!1},on:{onCreated:e.onTreeCreated,onClick:e.onTreeNodeClick,onCheck:e.onTreeNodeCheck}})],1)]),t("el-col",{staticClass:"selectBtn-container",attrs:{span:"2"}},[t("div",[t("el-button",{staticClass:"el-icon-d-arrow-right",attrs:{size:"mini",circle:"",plain:""},on:{click:function(t){return e.handleSelectAll("innerDeptsTree",!0)}}})],1),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"selectAll",expression:"'selectAll'"}]},[e._v("全选")]),t("br"),t("br"),t("div",[t("el-button",{staticClass:"el-icon-d-arrow-left",attrs:{size:"mini",circle:"",plain:""},on:{click:function(t){return e.handleSelectAll("innerDeptsTree",!1)}}})],1),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"del",expression:"'del'"}]},[e._v("删除")])]),t("el-col",{staticClass:"ztree-container",attrs:{span:"11"}},[t("div",{staticClass:"treeNode selectnode"},e._l(e.sendToList.innerDeptsTree,(function(n,r){return t("span",{key:r,on:{click:function(t){return e.removeSelectedNode(r,"innerDeptsTree")}}},[e._v(" "+e._s(n.title)+" "),t("i",{staticClass:"el-icon-close"}),t("br")])})),0)])],1)],1)]),t("tr",[t("td",{staticClass:"fwAttach-container",attrs:{colspan:"2"}},[t("div",[t("el-checkbox",{attrs:{disabled:"true"},model:{value:e.fwBodyfile.needSend,callback:function(t){e.$set(e.fwBodyfile,"needSend",t)},expression:"fwBodyfile.needSend"}},[e._v(e._s(e.fwBodyfile.fileName))])],1),e._l(e.attachments,(function(n){return t("div",{key:n.id},[t("el-checkbox",{attrs:{"true-label":!0,"false-label":!1},model:{value:n.needSend,callback:function(t){e.$set(n,"needSend",t)},expression:"attach.needSend"}},[e._v(e._s(n.fileName))])],1)}))],2)])])])])])]),e.loading?e._e():t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"cancel",expression:"'cancel'"}],attrs:{plain:"",icon:"el-icon-close",type:"default",disabled:e.sendDoing},on:{click:e.handleDialogClose}},[e._v("取消")]),t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"sure",expression:"'sure'"}],attrs:{icon:"el-icon-check",type:"primary",loading:e.sendDoing},on:{click:e.handleSubmitForm}},[e._v("确定")])],1)],1):e._e()},Pt=[];function Et(e){return Et="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Et(e)}function Ht(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Ht=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function d(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(e){d=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var o=t&&t.prototype instanceof y?t:y,i=Object.create(o.prototype),s=new j(r||[]);return a(i,"_invoke",{value:D(e,n,s)}),i}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=c;var p="suspendedStart",m="suspendedYield",f="executing",h="completed",g={};function y(){}function _(){}function v(){}var b={};d(b,i,(function(){return this}));var w=Object.getPrototypeOf,M=w&&w(w(C([])));M&&M!==n&&r.call(M,i)&&(b=M);var L=v.prototype=y.prototype=Object.create(b);function T(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function n(a,o,i,s){var l=u(e[a],e,o);if("throw"!==l.type){var d=l.arg,c=d.value;return c&&"object"==Et(c)&&r.call(c,"__await")?t.resolve(c.__await).then((function(e){n("next",e,i,s)}),(function(e){n("throw",e,i,s)})):t.resolve(c).then((function(e){d.value=e,i(d)}),(function(e){return n("throw",e,i,s)}))}s(l.arg)}var o;a(this,"_invoke",{value:function(e,r){function a(){return new t((function(t,a){n(e,r,t,a)}))}return o=o?o.then(a,a):a()}})}function D(t,n,r){var a=p;return function(o,i){if(a===f)throw Error("Generator is already running");if(a===h){if("throw"===o)throw i;return{value:e,done:!0}}for(r.method=o,r.arg=i;;){var s=r.delegate;if(s){var l=k(s,r);if(l){if(l===g)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(a===p)throw a=h,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);a=f;var d=u(t,n,r);if("normal"===d.type){if(a=r.done?h:m,d.arg===g)continue;return{value:d.arg,done:r.done}}"throw"===d.type&&(a=h,r.method="throw",r.arg=d.arg)}}}function k(t,n){var r=n.method,a=t.iterator[r];if(a===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,k(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var o=u(a,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,g;var i=o.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,g):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function Y(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function C(t){if(t||""===t){var n=t[i];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,o=function n(){for(;++a<t.length;)if(r.call(t,a))return n.value=t[a],n.done=!1,n;return n.value=e,n.done=!0,n};return o.next=o}}throw new TypeError(Et(t)+" is not iterable")}return _.prototype=v,a(L,"constructor",{value:v,configurable:!0}),a(v,"constructor",{value:_,configurable:!0}),_.displayName=d(v,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===_||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,d(e,l,"GeneratorFunction")),e.prototype=Object.create(L),e},t.awrap=function(e){return{__await:e}},T(x.prototype),d(x.prototype,s,(function(){return this})),t.AsyncIterator=x,t.async=function(e,n,r,a,o){void 0===o&&(o=Promise);var i=new x(c(e,n,r,a),o);return t.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},T(L),d(L,l,"Generator"),d(L,i,(function(){return this})),d(L,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=C,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(Y),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function a(r,a){return s.type="throw",s.arg=t,n.next=r,a&&(n.method="next",n.arg=e),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],s=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var l=r.call(i,"catchLoc"),d=r.call(i,"finallyLoc");if(l&&d){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!d)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&r.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),Y(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;Y(n)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:C(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}function Ft(e,t,n,r,a,o,i){try{var s=e[o](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)}function At(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){Ft(o,r,a,i,s,"next",e)}function s(e){Ft(o,r,a,i,s,"throw",e)}i(void 0)}))}}function $t(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function It(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$t(Object(n),!0).forEach((function(t){zt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$t(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function zt(e,t,n){return(t=Rt(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Rt(e){var t=Wt(e,"string");return"symbol"==Et(t)?t:t+""}function Wt(e,t){if("object"!=Et(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Et(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var Gt={name:"SendDeptFile",components:{},props:{corpLeaders:{type:Array,default:function(){return{}}},innerDepts:{type:Array,default:function(){return{}}},wfInstance:{type:Object,default:function(){return{}}},busiData:{type:Object,default:function(){return{}}},fwBodyfile:{type:Object,default:function(){return{}}},fwAttachs:{type:Array,default:function(){return[]}}},data:function(){return{i18npkg:"gwgl",moduleCode:"gwjh",dialogFormVisible:!0,loading:!1,winTitle:this.$tx("gwgl.gwjh.winTitle","发送本单位"),corpLeadersTree:{},innerDeptsTree:{},attachments:[],multiple:!0,sendToList:{corpLeadersTree:[],innerDeptsTree:[]},sendDoing:!1}},computed:It({},re(["loginUser"])),watch:{fwBodyfile:function(){void 0!==this.fwBodyfile.id&&(this.loading=!1)},fwAttachs:function(){this.attachments=JSON.parse(JSON.stringify(this.fwAttachs))},corpLeaders:function(){this.treeDataAdapter("corpLeadersTree",this.corpLeaders)},innerDepts:function(){this.treeDataAdapter("innerDeptsTree",this.innerDepts)}},created:function(){},beforeDestroy:function(){},mounted:function(){this.loading=!0},methods:{onTreeCreated:function(e,t){this[t]=e},treeDataAdapter:function(e,t){this.sendToList[e]=[];for(var n=0;n<t.length;n++){var r=t[n];if("innerDeptsTree"===e){var a="2,3".split(",");r.pId=r.parentId,r.title=r.orgFullName,-1!==r.title.indexOf("-")&&(r.title=r.title.substring(r.title.indexOf("-")+1)),null!==this.busiData.flMainSend&&-1!==this.busiData.flMainSend.indexOf(r.name)&&(r.checked=!0,this.sendToList[e].push(r)),null!==this.busiData.flCopySend&&-1!==this.busiData.flCopySend.indexOf(r.name)&&(r.checked=!0,this.sendToList[e].push(r)),r.orgLevel>a[a.length-1]||1!==r.isRealOrg?t.splice(n--,1):-1!==a.join(",").indexOf(r.orgLevel)&&(r.canSelect=!0)}else"corpLeadersTree"===e&&(r.personId?(r.pId=r.orgId,r.title=r.name+"/"+r.account,r.canSelect=!0):(r.pId=r.parentID,r.name=r.nName,r.title=r.fullName,-1!==r.title.indexOf("-")&&(r.title=r.title.substring(r.title.indexOf("-")+1)),0===n&&(r.open=!0),r.canSelect=!1))}return t},onTreeNodeClick:function(e,t,n){!0===n.canSelect?!0!==this.multiple?this.sendToList[t]=[n]:this[t].checkNode(n,null,null,!0):n.children&&n.children.length>0&&this[t].expandNode(n)},handleSelectAll:function(e,t){if(this[e].checkAllNodes(t),t){this.sendToList[e]=this[e].getCheckedNodes();for(var n=0;n<this.sendToList[e].length;n++)this.sendToList[e][n].canSelect||this.sendToList[e].splice(n--,1)}else this.sendToList[e]=[]},onTreeNodeCheck:function(e,t,n){this.sendToList[t]=this[t].getCheckedNodes();for(var r=0;r<this.sendToList[t].length;r++)this.sendToList[t][r].canSelect||this.sendToList[t].splice(r--,1)},removeSelectedNode:function(e,t){var n=this[t].getNodeByParam("id",this.sendToList[t][e].id,null);null!=n&&this[t].checkNode(n,!1,!0,!1),this.sendToList[t].splice(e,1)},handleSubmitForm:function(){var e=this,t=this;this.sendToList["corpLeadersTree"]&&0!==this.sendToList["corpLeadersTree"].length||this.sendToList["innerDeptsTree"]&&0!==this.sendToList["innerDeptsTree"].length?this.$confirm(this.$tx("gwgl.messages.sendFileConfirm","您是否确认立即发送文件?"),this.$tx("common.confirmOperate","确认操作"),{type:"warning"}).then(At(Ht().mark((function n(){var r,a;return Ht().wrap((function(n){while(1)switch(n.prev=n.next){case 0:e.sendDoing=!0,r=[],null!=t.fwBodyfile&&r.push(t.fwBodyfile),t.attachments.forEach((function(e){e.needSend&&r.push(e)})),a="/wflow?wfEngineUrl="+(e.$route.query.wfEngineUrl||"workflow/wfInstance"),e.$http({method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"},params:{openUrl:a,fwOrgId:t.wfInstance.createOrgId.split("-")[1]},data:yt().stringify({fwBusiData:JSON.stringify(t.busiData),corpLeaders:JSON.stringify(t.sendToList["corpLeadersTree"]),innerDepts:JSON.stringify(t.sendToList["innerDeptsTree"]),fwAttachs:JSON.stringify(r)}),url:"gwjh/sendFile/startSendDeptFile"}).then((function(n){if("success"===n.code){var r=e.$vnode.context.$vnode.context;t.busiData.flBeenSend=1,t.busiData.flSenderAccount=e.loginUser.personAccount;var a=!1,o="";r.commandBar.forEach((function(e){"btnViewSendlogClick"!==e.btnCode&&"发送跟踪"!==e.btnName||(a=!0),""===o&&e.btnName&&-1!==e.btnName.indexOf("发送")&&(null!=e.btnGroupId?o=e.btnGroupId:2===e.btnType&&(o=e.id))})),a||""===o||r.commandBar.push({btnAlign:1,btnCode:"btnViewSendlogClick",btnGroupId:o,btnIcon:null,btnClick:function(){e.$bus.emit("btnViewSendlogClick",r)},btnName:"发送跟踪",btnOrderNo:"70",btnShow:1,btnType:"3",visitType:0});var i=0,s=0,l="";n.body.sendlogList.forEach((function(e){"99"===e.jhStatus?(s++,l+=e.passenger.errMsg+"<br>"):i++})),0===s?t.$message({type:n.code,message:n.message,showClose:!0}):t.$alert(t.$tx("gwgl.messages.sendFileSuccess",{num:i,failNum:s})+"<br>"+l,t.$tx("common.operationTip","操作提示"),{type:"warning",dangerouslyUseHTMLString:!0}),t.sendDoing=!1,t.handleDialogClose()}else{t.sendDoing=!1;var d="<br>";n.body.sendlogList&&n.body.sendlogList.forEach((function(e){"99"===e.jhStatus&&(d+=e.passenger.errMsg+"<br>")})),t.$alert(n.message+d,t.$tx("common.confirmOperate","确认操作"),{type:"error",dangerouslyUseHTMLString:!0})}}));case 6:case"end":return n.stop()}}),n)})))).catch((function(e){"cancel"!==e&&console.error(e)})):this.$alert(this.$tx("gwgl.messages.selectLeader","请选择阅文领导、收文部门。"),this.$tx("common.operationTip","操作提示"),{type:"warning"})},handleDialogClose:function(){this.$vnode.context.dialogFormVisible=!1,this.$vnode.context.fwBodyfile={},this.$vnode.context.fwAttachs=[]}}},Bt=Gt,Ut=(n(2727),m(Bt,Nt,Pt,!1,null,"4580fba6",null)),qt=Ut.exports,Vt=function(){var e=this,t=e._self._c;return e.dialogFormVisible?t("el-dialog",{directives:[{name:"el-drag-dialog",rawName:"v-el-drag-dialog"}],attrs:{"close-on-click-modal":!1,visible:e.dialogFormVisible,"destroy-on-close":!0,width:"1200px",title:e.winTitle},on:{"update:visible":function(t){e.dialogFormVisible=t},close:e.handleDialogClose}},[e.loading?t("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"el-dialog__body"}):e._e(),e.loading?e._e():t("div",{staticClass:"select-container"},[t("el-row",[t("el-col",{attrs:{span:24}},[t("el-input",{attrs:{placeholder:e.$tx("gwgl.gwjh.keyPlaceholder","请输入搜索关键字")},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.searchTreeNode.apply(null,arguments)}},model:{value:e.searchkey,callback:function(t){e.searchkey=t},expression:"searchkey"}},[t("el-button",{attrs:{slot:"append",icon:"el-icon-search"},on:{click:e.searchTreeNode},slot:"append"})],1)],1)],1),t("el-row",{staticStyle:{"margin-top":"10px"}},[t("el-col",{staticClass:"ztree-container",staticStyle:{"overflow-y":"inherit"},attrs:{span:"7"}},[t("div",{staticClass:"treeNode"},[t("GiantTree",{attrs:{"ztree-id":"areaNodeTree",nodes:e.areaNodeTreeData,multiple:!1,"show-icon":!0,"show-line":!0},on:{onCreated:e.onTreeCreated,onClick:e.onAreaTreeNodeClick}})],1)]),t("el-col",{staticClass:"ztree-container listitem",staticStyle:{"overflow-y":"inherit"},attrs:{span:"8"}},[t("div",{staticClass:"treeNode"},[null!==e.rootOrgTreeData&&0!==e.rootOrgTreeData.length?t("GiantTree",{attrs:{"ztree-id":"corpOrgsTree",nodes:e.rootOrgTreeData,multiple:e.multiple,"show-icon":!1,"show-line":!1},on:{onCreated:e.onTreeCreated,onClick:e.onRootOrgTreeNodeClick,onCheck:e.onRootOrgTreeNodeCheck}}):e._e(),null===e.rootOrgTreeData||0===e.rootOrgTreeData.length?t("div",{staticStyle:{"text-align":"center","font-size":"var(--portalFontSize14)","padding-top":"20px"}},[t("span",[e._v(e._s(null===e.rootOrgTreeData?e.$tx("common.loading","正在加载..."):e.$tx("common.noData","暂无数据")))])]):e._e()],1)]),t("el-col",{staticClass:"selectBtn-container",attrs:{span:"1"}},[t("div",[t("el-button",{staticClass:"el-icon-d-arrow-right",attrs:{size:"mini",circle:"",plain:""},on:{click:function(t){return e.handleSelectAll("corpOrgsTree",!0)}}})],1),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"selectAll",expression:"'selectAll'"}]},[e._v("全选")]),t("br"),t("br"),t("div",[t("el-button",{staticClass:"el-icon-d-arrow-left",attrs:{size:"mini",circle:"",plain:""},on:{click:function(t){return e.handleSelectAll("corpOrgsTree",!1)}}})],1),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"clear",expression:"'clear'"}]},[e._v("清除")])]),t("el-col",{staticClass:"ztree-container",attrs:{span:"8"}},[t("div",{staticClass:"treeNode selectnode"},e._l(e.sendToList.corpOrgsTree,(function(n,r){return t("span",{key:r,on:{click:function(t){return e.removeSelectedNode(r,"corpOrgsTree")}}},[e._v(" "+e._s(n.title)+" "),t("i",{staticClass:"el-icon-close"}),t("br")])})),0)])],1),t("el-row",[t("el-col",{staticClass:"fwAttach-container",attrs:{span:"24"}},[t("div",[t("el-checkbox",{attrs:{disabled:"true"},model:{value:e.fwBodyfile.needSend,callback:function(t){e.$set(e.fwBodyfile,"needSend",t)},expression:"fwBodyfile.needSend"}},[e._v(e._s(e.fwBodyfile.fileName))])],1),e._l(e.attachments,(function(n){return t("div",{key:n.id},[t("el-checkbox",{attrs:{"true-label":!0,"false-label":!1},model:{value:n.needSend,callback:function(t){e.$set(n,"needSend",t)},expression:"attach.needSend"}},[e._v(e._s(n.fileName))])],1)}))],2)],1)],1),e.loading?e._e():t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"cancel",expression:"'cancel'"}],attrs:{plain:"",icon:"el-icon-close",type:"default",disabled:e.sendDoing},on:{click:e.handleDialogClose}},[e._v("取消")]),t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"sure",expression:"'sure'"}],attrs:{icon:"el-icon-check",type:"primary",loading:e.sendDoing},on:{click:e.handleSubmitForm}},[e._v("确定")])],1)]):e._e()},Jt=[];function Kt(e){return Kt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Kt(e)}function Qt(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Qt=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function d(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(e){d=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var o=t&&t.prototype instanceof y?t:y,i=Object.create(o.prototype),s=new j(r||[]);return a(i,"_invoke",{value:D(e,n,s)}),i}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=c;var p="suspendedStart",m="suspendedYield",f="executing",h="completed",g={};function y(){}function _(){}function v(){}var b={};d(b,i,(function(){return this}));var w=Object.getPrototypeOf,M=w&&w(w(C([])));M&&M!==n&&r.call(M,i)&&(b=M);var L=v.prototype=y.prototype=Object.create(b);function T(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function n(a,o,i,s){var l=u(e[a],e,o);if("throw"!==l.type){var d=l.arg,c=d.value;return c&&"object"==Kt(c)&&r.call(c,"__await")?t.resolve(c.__await).then((function(e){n("next",e,i,s)}),(function(e){n("throw",e,i,s)})):t.resolve(c).then((function(e){d.value=e,i(d)}),(function(e){return n("throw",e,i,s)}))}s(l.arg)}var o;a(this,"_invoke",{value:function(e,r){function a(){return new t((function(t,a){n(e,r,t,a)}))}return o=o?o.then(a,a):a()}})}function D(t,n,r){var a=p;return function(o,i){if(a===f)throw Error("Generator is already running");if(a===h){if("throw"===o)throw i;return{value:e,done:!0}}for(r.method=o,r.arg=i;;){var s=r.delegate;if(s){var l=k(s,r);if(l){if(l===g)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(a===p)throw a=h,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);a=f;var d=u(t,n,r);if("normal"===d.type){if(a=r.done?h:m,d.arg===g)continue;return{value:d.arg,done:r.done}}"throw"===d.type&&(a=h,r.method="throw",r.arg=d.arg)}}}function k(t,n){var r=n.method,a=t.iterator[r];if(a===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,k(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var o=u(a,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,g;var i=o.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,g):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function Y(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function C(t){if(t||""===t){var n=t[i];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,o=function n(){for(;++a<t.length;)if(r.call(t,a))return n.value=t[a],n.done=!1,n;return n.value=e,n.done=!0,n};return o.next=o}}throw new TypeError(Kt(t)+" is not iterable")}return _.prototype=v,a(L,"constructor",{value:v,configurable:!0}),a(v,"constructor",{value:_,configurable:!0}),_.displayName=d(v,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===_||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,d(e,l,"GeneratorFunction")),e.prototype=Object.create(L),e},t.awrap=function(e){return{__await:e}},T(x.prototype),d(x.prototype,s,(function(){return this})),t.AsyncIterator=x,t.async=function(e,n,r,a,o){void 0===o&&(o=Promise);var i=new x(c(e,n,r,a),o);return t.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},T(L),d(L,l,"Generator"),d(L,i,(function(){return this})),d(L,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=C,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(Y),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function a(r,a){return s.type="throw",s.arg=t,n.next=r,a&&(n.method="next",n.arg=e),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],s=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var l=r.call(i,"catchLoc"),d=r.call(i,"finallyLoc");if(l&&d){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!d)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&r.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),Y(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;Y(n)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:C(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}function Zt(e,t,n,r,a,o,i){try{var s=e[o](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)}function Xt(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){Zt(o,r,a,i,s,"next",e)}function s(e){Zt(o,r,a,i,s,"throw",e)}i(void 0)}))}}function en(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function tn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?en(Object(n),!0).forEach((function(t){nn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):en(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function nn(e,t,n){return(t=rn(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function rn(e){var t=an(e,"string");return"symbol"==Kt(t)?t:t+""}function an(e,t){if("object"!=Kt(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Kt(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var on={name:"SendCorpFile",components:{},props:{corpOrgs:{type:Array,default:function(){return{}}},wfInstance:{type:Object,default:function(){return{}}},busiData:{type:Object,default:function(){return{}}},fwBodyfile:{type:Object,default:function(){return{}}},fwAttachs:{type:Array,default:function(){return[]}}},data:function(){return{i18npkg:"gwgl",moduleCode:"gwjh",dialogFormVisible:!0,loading:!1,winTitle:"发送外单位",searchkey:"",attachments:[],multiple:!0,areaNodeTreeData:[],rootOrgTreeData:[],rootOrgTreeDataBak:[],sendToList:{corpOrgsTree:[]},sendDoing:!1}},computed:tn({},re(["loginUser"])),watch:{fwBodyfile:function(){void 0!==this.fwBodyfile.id&&(this.loading=!1)},fwAttachs:function(){this.attachments=JSON.parse(JSON.stringify(this.fwAttachs))},corpOrgs:function(){var e=this;this.corpOrgs.forEach((function(t){"rootOrg"===t.type?e.rootOrgTreeData.push(t):e.areaNodeTreeData.push(t)})),this.treeDataAdapter("areaNodeTree",this.areaNodeTreeData),this.treeDataAdapter("corpOrgsTree",this.rootOrgTreeData),this.rootOrgTreeDataBak=JSON.parse(JSON.stringify(this.rootOrgTreeData))}},created:function(){},beforeDestroy:function(){},mounted:function(){this.loading=!0},methods:{onTreeCreated:function(e,t){this[t]=e},treeDataAdapter:function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.id=r.fullID,-1!==r.id.indexOf("-")?r.pId=r.fullID.substring(0,r.fullID.lastIndexOf("-")):r.pId=r.parentID,r.name=r.nName,r.title=r.name,0===n&&(r.open=!0),"rootOrg"===r.type?(r.isParent=!1,r.canSelect=!0):r.nocheck=!0}return t},searchTreeNode:function(){var e=this;this["areaNodeTree"].selectNode(this.areaNodeTreeData[0]);var t=JSON.parse(JSON.stringify(this.rootOrgTreeDataBak)),n={};this.sendToList["corpOrgsTree"].forEach((function(e){n[e.id]=e.id})),this.rootOrgTreeData=[],t.forEach((function(t){-1===t.fullName.indexOf(e.searchkey)&&""!==e.searchkey||(void 0!==n[t.id]&&(t.checked=!0),e.rootOrgTreeData.push(t))}))},onAreaTreeNodeClick:function(e,t,n){var r=this;this.searchkey="";var a={};this.sendToList["corpOrgsTree"].forEach((function(e){a[e.id]=e.id}));var o=JSON.parse(JSON.stringify(this.rootOrgTreeDataBak));this.rootOrgTreeData=[],o.forEach((function(e){0===e.fullID.indexOf(n.fullID)&&(void 0!==a[e.id]&&(e.checked=!0),r.rootOrgTreeData.push(e))}))},onRootOrgTreeNodeClick:function(e,t,n){!0===n.canSelect?!0!==this.multiple?this.sendToList[t]=[n]:this[t].checkNode(n,null,null,!0):n.children&&n.children.length>0&&this[t].expandNode(n)},handleSelectAll:function(e,t){var n=this,r={};this.sendToList[e].forEach((function(e){r[e.id]=e.id})),this[e].checkAllNodes(t),this.rootOrgTreeData.forEach((function(a){t?a.checked?void 0===r[a.id]&&n[e].checkNode(a,!0,!0,!0):n[e].checkNode(a,!0,null,!0):a.checked?n[e].checkNode(a,!1,null,!0):void 0!==r[a.id]&&n[e].checkNode(a,!1,!0,!0)}))},onRootOrgTreeNodeCheck:function(e,t,n){var r={};if(this.sendToList[t].forEach((function(e){r[e.id]=e.id})),n.checked)void 0===r[n.id]&&this.sendToList[t].push(n);else for(var a=0;a<this.sendToList[t].length;a++)n.id===this.sendToList[t][a].id&&this.sendToList[t].splice(a--,1)},removeSelectedNode:function(e,t){var n=this[t].getNodeByParam("id",this.sendToList[t][e].id,null);null!=n&&this[t].checkNode(n,!1,!0,!1),this.sendToList[t].splice(e,1)},handleSubmitForm:function(){var e=this,t=this;this.sendToList["corpOrgsTree"]&&0!==this.sendToList["corpOrgsTree"].length?this.$confirm(this.$tx("gwgl.messages.sendFileConfirm","您是否确认立即发送文件?"),this.$tx("common.confirmOperate","确认操作"),{type:"warning"}).then(Xt(Qt().mark((function n(){var r,a;return Qt().wrap((function(n){while(1)switch(n.prev=n.next){case 0:e.sendDoing=!0,r=[],null!=e.fwBodyfile&&r.push(e.fwBodyfile),e.attachments.forEach((function(e){e.needSend&&r.push(e)})),a="/wflow?wfEngineUrl="+(e.$route.query.wfEngineUrl||"workflow/wfInstance"),e.$http({method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"},params:{openUrl:a,fwOrgId:t.wfInstance.createOrgId.split("-")[0]},data:yt().stringify({fwBusiData:JSON.stringify(t.busiData),corpOrgs:JSON.stringify(t.sendToList["corpOrgsTree"]),fwAttachs:JSON.stringify(r)}),url:"gwjh/sendFile/startSendCorpFile"}).then((function(n){if("success"===n.code){var r=e.$vnode.context.$vnode.context;t.busiData.flBeenSend=1,t.busiData.flSenderAccount=e.loginUser.personAccount;var a=!1,o="";r.commandBar.forEach((function(e){"btnViewSendlogClick"!==e.btnCode&&"发送跟踪"!==e.btnName||(a=!0),""===o&&-1!==e.btnName.indexOf("发送")&&(null!=e.btnGroupId?o=e.btnGroupId:2===e.btnType&&(o=e.id))})),a||""===o||r.commandBar.push({btnAlign:1,btnCode:"btnViewSendlogClick",btnGroupId:o,btnIcon:null,btnClick:function(){e.$bus.emit("btnViewSendlogClick",r)},btnName:"发送跟踪",btnOrderNo:"70",btnShow:1,btnType:"3",visitType:0});var i=0,s=0,l="";n.body.sendlogList.forEach((function(e){"99"===e.jhStatus?(s++,l+=e.passenger.errMsg+"<br>"):i++})),0===s?t.$message({type:n.code,message:n.message,showClose:!0}):t.$alert(t.$tx("gwgl.messages.sendFileSuccess",{num:i,failNum:s},"发送文件成功".concat(i,"份,失败").concat(s,"份!"))+"<br>"+l,t.$tx("common.operationTip","操作提示"),{type:"warning",dangerouslyUseHTMLString:!0}),e.sendDoing=!1,t.handleDialogClose()}else{e.sendDoing=!1;var d="<br>";n.body.sendlogList&&n.body.sendlogList.forEach((function(e){"99"===e.jhStatus&&(d+=e.passenger.errMsg+"<br>")})),t.$alert(n.message+d,t.$tx("common.confirmOperate","确认操作"),{type:"error",dangerouslyUseHTMLString:!0})}}));case 6:case"end":return n.stop()}}),n)})))).catch((function(e){"cancel"!==e&&console.error(e)})):this.$alert(this.$tx("gwgl.messages.selectGwDepart","请选择收文单位。"),this.$tx("common.operationTip","操作提示"),{type:"warning"})},handleDialogClose:function(){this.$vnode.context.dialogFormVisible=!1,this.$vnode.context.fwBodyfile={},this.$vnode.context.fwAttachs=[]}}},sn=on,ln=(n(1757),m(sn,Vt,Jt,!1,null,"bb9d6ec0",null)),dn=ln.exports,cn=function(){var e=this,t=e._self._c;return e.dialogFormVisible?t("el-dialog",{directives:[{name:"el-drag-dialog",rawName:"v-el-drag-dialog"}],attrs:{visible:e.dialogFormVisible,"destroy-on-close":!1,"close-on-click-modal":!1,width:"1000px",title:e.title},on:{"update:visible":function(t){e.dialogFormVisible=t},close:e.handleDialogClose}},[e.loading?t("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"el-dialog__body"}):e._e(),t("el-tabs",{model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[t("el-tab-pane",{staticStyle:{"max-height":"570px","overflow-y":"auto","border-bottom":"1px solid #ebeef5"},attrs:{label:"本单位",name:"bmswLog"}},[e.loading?e._e():t("el-table",{staticStyle:{width:"100%"},attrs:{data:e.bmswLogList,border:""}},[t("el-table-column",{attrs:{align:"center",type:"index",label:e.$tx("fields.index","序号"),width:"45"}}),t("el-table-column",{attrs:{label:e.$tx("gwgl.gwjh.fields.bmswDeptName","收文部门"),prop:"bmswDeptName",align:"left"}}),t("el-table-column",{attrs:{label:e.$tx("gwgl.gwjh.fields.sendTime","发送时间"),prop:"fwSendTime",width:"180",align:"center"}}),t("el-table-column",{attrs:{label:e.$tx("gwgl.gwjh.fields.swReceiveTime","到达时间"),prop:"swReceiveTime",width:"180",align:"center"}}),t("el-table-column",{attrs:{label:e.$tx("gwgl.gwjh.fields.swOpenTime","开始办理时间"),prop:"swOpenTime",width:"180",align:"center"}}),t("el-table-column",{attrs:{label:e.$tx("common.operate","操作"),width:"130",align:"center"},scopedSlots:e._u([{key:"default",fn:function(n){return[n.row.swReceiveTime?e._e():t("el-link",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"processingStatus",expression:"'processingStatus'"}],attrs:{type:"primary"},on:{click:function(t){return e.btnRetryCreateChildWlfowgClick(n.row)}}},[e._v("重新发送")]),n.row.swReceiveTime?t("el-link",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"processingStatus",expression:"'processingStatus'"}],attrs:{type:"primary"},on:{click:function(t){return e.viewBmswWorkForm(n.row)}}},[e._v("办理情况")]):e._e(),n.row.swReceiveTime?t("el-link",{class:{"disabled-link":"9"===n.row.jhStatus},attrs:{type:"primary"},on:{click:function(t){return e.revokeForm(n.row,1)}}},[e._v(" "+e._s("9"===n.row.jhStatus?e.$tx("gwgl.gwjh.withdrawn","已撤回"):e.$tx("gwgl.gwjh.drawn","撤回"))+" ")]):e._e()]}}],null,!1,3426652254)})],1)],1),t("el-tab-pane",{attrs:{label:"外单位",name:"dwswLog"}},[t("div",{staticClass:"select"},[t("div",[t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"dwName2",expression:"'dwName2'"}],staticStyle:{float:"left","line-height":"36px"}},[e._v("单位名称:")]),t("el-input",{staticStyle:{float:"left",width:"895px"},attrs:{clearable:""},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.btnViewSendlogClick.apply(null,arguments)}},model:{value:e.orgname,callback:function(t){e.orgname=t},expression:"orgname"}},[t("el-button",{attrs:{slot:"append",icon:"el-icon-search"},on:{click:e.btnViewSendlogClick},slot:"append"})],1)],1),t("el-row",{staticClass:"tab-top"},[t("el-col",{attrs:{span:8}},[t("div",{staticClass:"grid-content bg-purple",on:{click:function(t){return e.tabClick(6)}}},[t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"allSwdw",expression:"'allSwdw'"}]},[e._v("全部收文单位(")]),t("span",{staticStyle:{color:"red"}},[e._v(e._s(e.swLogCount.statusAll))]),e._v(" ) ")])]),t("el-col",{attrs:{span:8}},[t("div",{staticClass:"grid-content bg-purple",on:{click:function(t){return e.tabClick(1)}}},[t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"wddDw",expression:"'wddDw'"}]},[e._v("未到达单位(")]),t("span",{staticStyle:{color:"red"}},[e._v(e._s(e.swLogCount.status0+e.swLogCount.status1))]),e._v(" ) ")])]),t("el-col",{attrs:{span:8}},[t("div",{staticClass:"grid-content bg-purple-light",on:{click:function(t){return e.tabClick(2)}}},[t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"yddDw",expression:"'yddDw'"}]},[e._v("已到达单位(")]),t("span",{staticStyle:{color:"red"}},[e._v(e._s(e.swLogCount.status2))]),e._v(" ) ")])])],1),t("el-row",{staticClass:"tab-bottom"},[t("el-col",{attrs:{span:8}},[t("div",{staticClass:"grid-content bg-purple",on:{click:function(t){return e.tabClick(99)}}},[t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"sendFailDw",expression:"'sendFailDw'"}]},[e._v("发送失败单位(")]),t("span",{staticStyle:{color:"red"}},[e._v(e._s(e.swLogCount.status99))]),e._v(" ) ")])]),t("el-col",{attrs:{span:8}},[t("div",{staticClass:"grid-content bg-purple",on:{click:function(t){return e.tabClick(3)}}},[t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"yqsDw",expression:"'yqsDw'"}]},[e._v("已签收单位(")]),t("span",{staticStyle:{color:"red"}},[e._v(e._s(e.swLogCount.status3))]),e._v(" ) ")])]),t("el-col",{attrs:{span:8}},[t("div",{staticClass:"grid-content bg-purple-light",on:{click:function(t){return e.tabClick(4)}}},[t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"yjsDw",expression:"'yjsDw'"}]},[e._v("已拒收单位(")]),t("span",{staticStyle:{color:"red"}},[e._v(e._s(e.swLogCount.status4))]),e._v(" ) ")])])],1)],1),t("div",{staticClass:"tableList"},[e.loading?e._e():t("el-table",{staticStyle:{width:"100%","overflow-y":"auto"},attrs:{data:e.dwswLogList,border:"",height:"287px","row-class-name":e.setRowClassName}},[t("el-table-column",{attrs:{align:"center",type:"index",label:e.$tx("fields.index","序号"),width:"45"}}),t("el-table-column",{attrs:{label:e.$tx("gwgl.gwjh.fields.swOrgName","收文单位"),prop:"dwswOrgName",align:"left"}}),t("el-table-column",{attrs:{label:e.$tx("gwgl.gwjh.fields.sendTime","发送时间"),prop:"fwSendTime",width:"180",align:"center"}}),t("el-table-column",{attrs:{label:e.$tx("gwgl.gwjh.fields.swReceiveTime","到达时间"),prop:"swReceiveTime",width:"180",align:"center"}}),t("el-table-column",{attrs:{label:e.$tx("gwgl.components.fields.signingTime","签收时间"),prop:"swOpenTime",width:"180",align:"center"}}),t("el-table-column",{attrs:{label:e.$tx("fields.status","状态"),prop:"status",width:"80",align:"center"}}),t("el-table-column",{attrs:{label:e.$tx("common.operate","操作"),width:"80",align:"center"},scopedSlots:e._u([{key:"default",fn:function(n){return[t("el-link",{class:{"disabled-link":"9"===n.row.jhStatus},attrs:{type:"primary"},on:{click:function(t){return e.revokeForm(n.row,2)}}},[e._v(" "+e._s("9"===n.row.jhStatus?e.$tx("gwgl.gwjh.withdrawn","已撤回"):e.$tx("gwgl.gwjh.drawn","撤回"))+" ")])]}}],null,!1,587727615)})],1)],1)])],1),t("cuibanLog",{attrs:{title:e.cuibantitle,list:e.listdata,"wf-instance":e.wfInstance}})],1):e._e()},un=[],pn=function(){var e=this,t=e._self._c;return t("el-dialog",{attrs:{width:"1000px",visible:e.visible,title:e.title,"append-to-body":!0},on:{"update:visible":function(t){e.visible=t}}},[1===e.isShowVal?t("div",[t("el-table",{staticStyle:{width:"100%"},attrs:{data:e.listData,border:""},on:{"selection-change":e.handleSelectionChange}},[t("el-table-column",{attrs:{type:"selection",align:"center",width:"55"}}),t("el-table-column",{attrs:{align:"center",type:"index",label:e.$tx("fields.index","序号"),width:"45"}}),t("el-table-column",{attrs:{label:e.$tx("gwgl.gwjh.fields.swOrgName","收文单位"),prop:"swOrgName",align:"left"}}),t("el-table-column",{attrs:{label:e.$tx("gwgl.gwjh.fields.linkman","收文单位联系人"),prop:"linkman",align:"center",formatter:e.columnFormatter}}),t("el-table-column",{attrs:{label:e.$tx("gwgl.gwjh.fields.faTime","发文时间"),prop:"receiveTime",align:"center"}}),t("el-table-column",{attrs:{label:e.$tx("gwgl.gwjh.fields.textMessage","短信"),align:"center"},scopedSlots:e._u([{key:"default",fn:function(n){return[t("span",[e._v(e._s(0===n.row.smsStatus?e.$tx("gwgl.gwjh.notSent","未发送"):e.$tx("gwgl.gwjh.sent","已发送")))])]}}],null,!1,1270916442)}),t("el-table-column",{attrs:{label:e.$tx("fields.status","状态"),align:"center",prop:"jhStatus"}})],1),t("div",{staticClass:"btn"},[t("el-button",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"urgeProcessing",expression:"'urgeProcessing'"}],attrs:{type:"primary"},on:{click:e.receiptInfo}},[e._v("催办")])],1)],1):e._e(),2===e.isShowVal?t("div",{staticClass:"infoContent"},[t("el-form",[t("div",{staticClass:"el-table el-table--fit el-table--border",staticStyle:{width:"100%"}},[t("div",{staticClass:"el-table__body-wrapper"},[t("table",{staticClass:"el-table__body",attrs:{cellspacing:"0",cellpadding:"0",border:"0"}},[t("tbody",[t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"receiver",expression:"'receiver'"}]},[e._v("接收人")])]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"接收人",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-input",{attrs:{name:"receiver",rows:4,type:"textarea",placeholder:e.$tx("gwgl.gwjh.recipientPlaceholder","请输入接收人")},model:{value:e.receiver,callback:function(t){e.receiver=t},expression:"receiver"}})],1)]}}],null,!1,3830385294)}),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"recipientFormat",expression:"'recipientFormat'"}]},[e._v("接收人格式如:152********,158********")])],1)]),t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"content",expression:"'content'"}]},[e._v("短信内容")])]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"接收人",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-input",{attrs:{name:"content",rows:4,type:"textarea",placeholder:e.$tx("gwgl.gwjh.messengeContentPlaceholder","请输入短信内容")},model:{value:e.content,callback:function(t){e.content=t},expression:"content"}})],1)]}}],null,!1,3851635588)})],1)])])])])])]),t("div",{staticClass:"footer"},[t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"sure",expression:"'sure'"}],attrs:{type:"primary"},on:{click:e.submit}},[e._v("确定")]),t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"cancel",expression:"'cancel'"}],on:{click:function(t){e.visible=!1}}},[e._v("取消")])],1)],1):e._e(),3===e.isShowVal?t("div",{staticClass:"info-list"},[t("el-button-group",{staticStyle:{"margin-bottom":"15px"}},[t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"all",expression:"'all'"}],attrs:{type:1===e.active?"primary":""},on:{click:function(t){return e.selection(1)}}},[e._v("全部")]),t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"sendText",expression:"'sendText'"}],attrs:{type:2===e.active?"primary":""},on:{click:function(t){return e.selection(2)}}},[e._v("发文短信")]),t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"urgentSMS",expression:"'urgentSMS'"}],attrs:{type:3===e.active?"primary":""},on:{click:function(t){return e.selection(3)}}},[e._v("催办短信")])],1),t("div",{staticClass:"table-inner"},[t("el-table",{staticClass:"record-table",staticStyle:{width:"100%"},attrs:{data:e.infoRecordList,border:""}},[t("el-table-column",{attrs:{width:"45",label:e.$tx("fields.index","序号"),align:"center",type:"index"}}),t("el-table-column",{attrs:{label:e.$tx("gwgl.gwjh.fields.dwName","单位名称"),align:"center",prop:"swOrgName"}}),t("el-table-column",{attrs:{label:e.$tx("gwgl.gwjh.fields.receiver","接收人"),align:"center",prop:"receiver"}}),t("el-table-column",{attrs:{label:e.$tx("gwgl.gwjh.fields.recipientPhone","接收人号码"),width:"100",align:"center",prop:"phone"}}),t("el-table-column",{attrs:{label:e.$tx("gwgl.gwjh.fields.sendTime"),width:"140",align:"center",prop:"sendTime"}}),t("el-table-column",{attrs:{label:e.$tx("fields.status","状态"),width:"80",align:"center"},scopedSlots:e._u([{key:"default",fn:function(n){return[t("span",[e._v(e._s(0===n.row.status?e.$tx("gwgl.gwjh.sendFail","发送失败"):e.$tx("gwgl.gwjh.sendSuccess","发送成功")))])]}}],null,!1,1008086496)}),t("el-table-column",{attrs:{label:e.$tx("gwgl.gwjh.fields.content","短信内容"),align:"center",prop:"smsContent"}})],1)],1)],1):e._e(),t("el-dialog",{attrs:{width:"880px",visible:e.visibleInfo,title:e.titleInfo,"append-to-body":""},on:{"update:visible":function(t){e.visibleInfo=t}}},[e.isShow?t("div",[t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"content",expression:"'content'"}]},[e._v("短信内容")]),e._v(" : "),t("el-input",{attrs:{rows:4,type:"textarea"},model:{value:e.content,callback:function(t){e.content=t},expression:"content"}}),t("div",{staticStyle:{width:"100%","text-align":"center","margin-top":"20px"}},[t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"sure",expression:"'sure'"}],attrs:{type:"primary"},on:{click:e.onSubmit}},[e._v("确定")]),t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"cancel",expression:"'cancel'"}],on:{click:function(t){e.visibleInfo=!1}}},[e._v("取消")])],1)],1):e._e(),e.isShow?e._e():t("div",{staticStyle:{"text-align":"center"}},[t("el-table",{staticStyle:{width:"100%"},attrs:{data:e.infoList,border:""}},[t("el-table-column",{attrs:{label:e.$tx("gwgl.gwjh.swOrgName","收文单位"),width:"300",align:"center",prop:"swOrgName"}}),t("el-table-column",{attrs:{align:"center",label:e.$tx("gwgl.gwjh.sendStatus","短信发送状态")},scopedSlots:e._u([{key:"default",fn:function(n){return[t("span",[e._v(e._s(0===n.row.status?e.$tx("gwgl.gwjh.fields.sendFail","发送失败"):e.$tx("gwgl.gwjh.sendSuccess","发送成功")))])]}}],null,!1,316153215)})],1),t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"close",expression:"'close'"}],staticStyle:{"margin-top":"20px"},attrs:{type:"primary"},on:{click:e.close}},[e._v("关 闭")])],1)])],1)},mn=[],fn={components:{},props:{title:{type:String,default:""},wfInstance:{type:Object,default:function(){return{}}},list:{type:Array,default:function(){return[]}}},data:function(){return{i18npkg:"gwgl",moduleCode:"gwjh",isShow:!0,visible:!1,visibleInfo:!1,listData:[],multipleSelection:[],idAll:[],titleInfo:this.$tx("gwgl.gwjh.inputEmailText","填写短信内容"),content:"",infoList:[],receiver:"",isShowVal:null,infoRecordList:[],active:1,loginUser:this.$store.getters.loginUser}},computed:{},watch:{},created:function(){this.$bus.on("opendialog",this.opendialog)},beforeDestroy:function(){this.$bus.off("opendialog",this.opendialog)},mounted:function(){},methods:{selection:function(e){console.log(e),this.active=e;var t=[{compare:"=",field:"fwid",merge:!0,value:this.wfInstance.busiDataId}];2===e?t=[{compare:"=",field:"sendType",merge:!0,value:"1"},{compare:"=",field:"fwid",merge:!0,value:this.wfInstance.busiDataId}]:3===e&&(t=[{compare:"=",field:"sendType",merge:!0,value:"0"},{compare:"=",field:"fwid",merge:!0,value:this.wfInstance.busiDataId}]),this.getInfoRecordData(t)},columnFormatter:function(e,t,n,r){var a=e.linkman.split(";"),o="";return a.forEach((function(e){""!==e&&(""!==o&&(o+=","),o+=e.split("###")[0])})),o},submit:function(){var e=this;this.formValidate((function(){e.$http({url:"gwjh/fawenSms/sendSmsToPhones",method:"POST",params:{busiDataId:e.wfInstance.busiDataId},data:{phones:e.receiver,content:e.content}}).then((function(t){"success"===t.code?(e.visibleInfo=!0,e.isShow=!1,e.infoList=t.body.listdata):e.$message.error(t.message)}))}))},close:function(){this.visible=!1,this.visibleInfo=!1},onSubmit:function(){var e=this;this.$http({url:"gwjh/fawenSms/sendCuibanSms",method:"POST",params:{busiDataId:this.wfInstance.busiDataId},data:{sendlogIds:this.idAll.join(","),content:this.content}}).then((function(t){"success"===t.code?(e.isShow=!1,e.infoList=t.body.listdata):e.$message.error(t.message)}))},receiptInfo:function(){this.multipleSelection.length>0?(this.getContent(),this.visibleInfo=!0):this.$message.error(this.$tx("gwgl.messages.noUrgeProcessingSw","暂无可催办的收文单位"))},getContent:function(){var e=this;this.$http({method:"POST",url:"gwjh/fawenSms/findCuibanSmsContent",params:{busiCode:this.wfInstance.module,busiDataId:this.wfInstance.busiDataId}}).then((function(t){"success"===t.code?e.content=t.body.content:e.$message.error(t.message)}))},getInfoRecordData:function(e){var t=this;this.$http({method:"POST",url:"gwjh/fawenSms/querydata",params:{orderBy:"sendTime desc"},data:e}).then((function(e){"success"===e.code?t.infoRecordList=e.body.listdata:t.$message.error(e.message)}))},opendialog:function(e){if(this.isShowVal=e,2===e&&this.getContent(),3===e){var t=[{compare:"=",field:"fwid",merge:!0,value:this.wfInstance.busiDataId}];this.getInfoRecordData(t)}this.visible=!0,this.listData=this.list},handleSelectionChange:function(e){var t=this;this.idAll=[],this.multipleSelection=[],this.multipleSelection=e,this.multipleSelection.forEach((function(e){t.idAll.push(e.id)})),console.log(this.idAll,888)}}},hn=fn,gn=(n(1453),m(hn,pn,mn,!1,null,"4cc55041",null)),yn=gn.exports,_n={components:{cuibanLog:yn},props:{},data:function(){return{i18npkg:"gwgl",moduleCode:"gwjh",listdata:[],cuibantitle:"",dialogCuiban:!1,title:this.$tx("gwgl.gwjh.sendTracking","发送跟踪"),dialogFormVisible:!1,activeName:"bmswLog",bmswLogList:[],dwswLogList:[],swLogCount:{},loading:!1,wfInstance:"",orgname:"",vo:"",attachments:[],bodyfile:{},doing:!1}},computed:{},watch:{activeName:function(e){"dwswLog"===e&&this.tabClick(6)}},created:function(){this.$bus.on("btnViewSendlogClick",this.btnViewSendlogClick)},beforeDestroy:function(){this.$bus.off("btnViewSendlogClick",this.btnViewSendlogClick)},mounted:function(){},methods:{tabClick:function(e){var t=this;this.loading=!0,this.dwswLogList=[],this.listdata.forEach((function(n){null!==n.bmswWfInstanceId&&""!==n.bmswWfInstanceId||(6===e?n.dwswOrgCode&&t.dwswLogList.push(n):1===e?0!==Number(n.jhStatus)&&1!==Number(n.jhStatus)||t.dwswLogList.push(n):e===parseInt(n.jhStatus)&&t.dwswLogList.push(n))})),this.$nextTick((function(){t.loading=!1}))},cuibanClick:function(e){var t=this;1===e?(this.cuibantitle=this.$tx("gwgl.gwjh.msgCb","短信催办"),this.$nextTick((function(){t.$bus.emit("opendialog",e)}))):2===e?(this.cuibantitle=this.$tx("gwgl.gwjh.zdyMsgCb","自定义短信催办"),this.$nextTick((function(){t.$bus.emit("opendialog",e)}))):3===e&&(this.cuibantitle=this.$tx("gwgl.gwjh.msgRecord","短信记录"),this.$nextTick((function(){t.$bus.emit("opendialog",e)})))},btnViewSendlogClick:function(e){var t=this;this.attachments=e.attachments,this.bodyfile=e.bodyfile,""===this.wfInstance&&(this.wfInstance=e.wfInstance),""===this.vo&&(this.vo=e.vo);var n=this;if(!n.loading){n.loading=!0,n.dialogFormVisible=!0,""===this.activeName&&(this.activeName="bmswLog");var r=[];r=""!==this.orgname?[{compare:"=",field:"fwId",value:this.vo.id},{compare:"like",field:"dwswOrgName",value:"%"+this.orgname+"%"}]:[{compare:"=",field:"fwId",value:this.vo.id}],this.$http({method:"POST",contentType:"application/x-www-form-urlencoded",data:r,params:{orderBy:"fwSendTime"},url:"gwjh/sendFile/querydata"}).then((function(e){if("success"===e.code){t.listdata=e.body.listdata;var r=[],a=[];t.swLogCount={statusAll:0,status0:0,status1:0,status2:0,status3:0,status4:0,status5:0,status99:0},t.listdata.forEach((function(e){0===e.jhStatus||"0"===e.jhStatus?e.status=t.$tx("gwgl.gwjh.sendStatus","发送中"):1===e.jhStatus||"1"===e.jhStatus?e.status=t.$tx("gwgl.gwjh.sendStatus2","已发送"):2===e.jhStatus||"2"===e.jhStatus?e.status=t.$tx("gwgl.gwjh.sendStatus3","已到达"):3===e.jhStatus||"3"===e.jhStatus?e.status=t.$tx("gwgl.gwjh.sendStatus4","已签收"):4===e.jhStatus||"4"===e.jhStatus?e.status=t.$tx("gwgl.gwjh.sendStatus5","已拒收"):5===e.jhStatus||"5"===e.jhStatus?e.status=t.$tx("gwgl.gwjh.sendStatus6","已回复"):9===e.jhStatus||"9"===e.jhStatus?e.status=t.$tx("gwgl.gwjh.sendStatus7","已撤回"):99!==e.jhStatus&&"99"!==e.jhStatus||(e.status=t.$tx("gwgl.gwjh.sendStatus8","发送失败")),null!==e.bmswWfInstanceId&&""!==e.bmswWfInstanceId?(e.swtype="bmsw",null===e.openTime&&(e.openTime=t.$tx("gwgl.gwjh.noOpen","未打开")),r.push(e)):(null===e.openTime&&(e.openTime=t.$tx("gwgl.gwjh.noScan","未签收")),null===e.receiveTime&&(e.receiveTime=t.$tx("gwgl.gwjh.noArrived","未到达")),e.dwswOrgCode&&a.push(e),n.swLogCount["status"+e.jhStatus]+=1,n.swLogCount["statusAll"]+=1)})),t.bmswLogList=t.orgname?t.bmswLogList:r,t.dwswLogList=a}else t.$alert(e.message,t.$tx("common.confirmOperate","确认操作"),{type:"error"});t.$nextTick((function(){n.loading=!1}))}))}},setRowClassName:function(e){var t=e.row;e.rowIndex;if(-1!==t.jhStatus.indexOf("失败"))return"error-row"},viewBmswWorkForm:function(e){window.open("/#/wflow?wfEngineUrl="+encodeURI("gwgl/shouwen")+"&wfInstanceId="+e.bmswWfInstanceId,"_blank")},handleDialogClose:function(){this.dialogFormVisible=!1,this.listdata=[],this.bmswLogList=[],this.dwswLogList=[]},revokeForm:function(e,t){var n=this,r="";r=1===t?e.bmswWfInstanceId:e.dwswWfInstanceId,this.$http({method:"POST",url:"/gwjh/sendFile/withdrawFileByWfInstanceId",params:{wfInstanceId:r}}).then((function(e){"success"===e.code?(n.$message.success(e.message),n.$nextTick((function(){n.$vnode.context.btnViewSendlogClick?n.$vnode.context.btnViewSendlogClick():n.$vnode.context.$vnode.context.btnViewSendlogClick&&n.$vnode.context.$vnode.context.btnViewSendlogClick()}))):n.$message.error(e.message)}))},btnRetryCreateChildWlfowgClick:function(e){var t=this,n={sendlogs:[e]};this.doing=!0,this.$http({method:"POST",contentType:"application/x-www-form-urlencoded",params:n,url:"gwjh/sendFile/retryCrateChildWflow"}).then((function(e){t.doing=!1,"success"===e.code?(t.$alert(e.message,t.$tx("common.operationTip","操作提示"),{type:"success"}),t.$vnode.context.btnViewSendlogClick?t.$vnode.context.btnViewSendlogClick():t.$vnode.context.$vnode.context.btnViewSendlogClick&&t.$vnode.context.$vnode.context.btnViewSendlogClick()):t.$alert(e.message,t.$tx("common.operationTip","操作提示"),{type:"error"})}))}}},vn=_n,bn=(n(2587),m(vn,cn,un,!1,null,"55fec89b",null)),wn=bn.exports,Mn=function(){var e=this,t=e._self._c;return t("el-dialog",{attrs:{title:e.$tx("gwgl.gwjh.signDocuments"),center:"",width:"900px",visible:e.dialogVisible,"close-on-click-modal":!1},on:{"update:visible":function(t){e.dialogVisible=t}}},[e.tableIsShow?e._e():t("el-form",[t("div",{staticClass:"el-table el-table--fit el-table--border",staticStyle:{}},[t("div",{staticClass:"el-table__body-wrapper"},[t("table",{staticClass:"el-table__body",attrs:{cellspacing:"0",cellpadding:"0",border:"0"}},[t("tbody",[t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"qsType",expression:"'qsType'"}]},[e._v("签收方式")])]),t("td",{staticClass:"el-table__cell tdcont tdw15"},[t("el-radio-group",{attrs:{name:"moduleJavaCode",placeholder:e.$tx("gwgl.gwjh.signWayPlaceholder","请输入选择状态")},model:{value:e.qsType,callback:function(t){e.qsType=t},expression:"qsType"}},[t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"signFor",expression:"'signFor'"}],attrs:{label:"签收"}},[e._v("签收")]),t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"rejection",expression:"'rejection'"}],attrs:{label:"拒收"}},[e._v("拒收")])],1)],1)]),t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},["拒收"===e.qsType?t("span",{staticClass:"required"},[e._v("*")]):e._e(),e._v(" "+e._s("拒收"===e.qsType?e.$tx("gwgl.gwjh.reason","原因"):e.$tx("common.remark","备注"))+" ")]),t("td",{staticClass:"el-table__cell tdcont tdw33"},["拒收"===e.qsType?t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"原因",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-input",{attrs:{type:"textarea",name:"content",placeholder:e.$tx("gwgl.gwjh.inputReason","请输入原因")},model:{value:e.content,callback:function(t){e.content=t},expression:"content"}})],1)]}}],null,!1,1936734633)}):t("el-input",{attrs:{type:"textarea",placeholder:e.$tx("gwgl.common.remarkmptyMessage","请输入备注")},model:{value:e.content,callback:function(t){e.content=t},expression:"content"}})],1)]),t("tr",[t("td",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"telPhone",expression:"'telPhone'"}],staticClass:"el-table__cell tdlbl tdw17"},[e._v("联系电话")]),t("td",{staticClass:"el-table__cell tdcont tdw33"},[t("el-input",{attrs:{placeholder:e.$tx("gwgl.gwjh.telPhonePlaceholder","请输入手机号码")},model:{value:e.telPhone,callback:function(t){e.telPhone=t},expression:"telPhone"}})],1)])])])])])]),e.tableIsShow?t("div",[t("el-table",{staticStyle:{width:"100%"},attrs:{data:e.listData,border:""}},[t("el-table-column",{attrs:{type:"index",label:e.$tx("fields.index","序号")}}),t("el-table-column",{attrs:{prop:"title",label:e.$tx("gwgl.common.fileTitle","文件标题")}}),t("el-table-column",{attrs:{prop:"message",label:e.$tx("gwgl.gwjh.status","处理状态"),width:"180",align:"center"}})],1)],1):e._e(),e.tableIsShow?e._e():t("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"sure",expression:"'sure'"}],attrs:{type:"primary"},on:{click:e.confirm}},[e._v("确定")]),t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"cancel",expression:"'cancel'"}],on:{click:function(t){e.dialogVisible=!1}}},[e._v("取消")])],1),e.tableIsShow?t("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"sure",expression:"'sure'"}],attrs:{type:"primary"},on:{click:e.confirmReceiptFile}},[e._v("确定")])],1):e._e()],1)},Ln=[],Tn={name:"ReceiptFile",components:{},props:{},data:function(){return{i18npkg:"gwgl",moduleCode:"gwjh",dialogVisible:!1,idAll:[],content:"",qsType:"签收",telPhone:this.$store.getters.loginUser.personMobile,receiptFile:"",busiDataId:"",listData:[],rows:[],tableIsShow:!1}},computed:{},watch:{},created:function(){this.$bus.on("receiptFiles",this.receiptFiles)},beforeDestroy:function(){this.$bus.off("receiptFiles",this.receiptFiles)},mounted:function(){},methods:{confirmReceiptFile:function(){this.dialogVisible=!1,this.$bus.emit("refreshListData")},confirm:function(){var e=this;if("拒收"===this.qsType&&""===this.content)return this.$message.warning(this.$tx("gwgl.gwjh.reflectWarn","请先填写拒收原因!"));this.formValidate((function(){e.receiptFile?e.$http({url:"gwjh/receiveFile/receiptFile",method:"POST",params:{content:e.content,qsType:e.qsType,telPhone:e.telPhone,busiDataId:e.busiDataId}}).then((function(t){if("success"===t.code){e.dialogVisible=!1;var n=window.opener.document.querySelector(".el-icon-refresh");null!==n&&n.parentElement.click(),location.reload()}else e.$message.error(t.message)})).catch((function(e){console.log(e)})):e.$http({url:"gwjh/receiveFile/batchReceiptFile",method:"POST",params:{content:e.content,qsType:e.qsType,telPhone:e.telPhone,wfInstanceIds:e.idAll.join(",")}}).then((function(t){if("success"===t.code){e.tableIsShow=!0;var n=t.body.listdata;n.forEach((function(t){e.rows.forEach((function(e){t.wfInstanceId===e.wfInstanceId&&(t.title=e.title)}))})),console.log(n),e.listData=n}else e.$message.error(t.message)}))}))},receiptFiles:function(e,t){var n=this;t?(this.dialogVisible=!0,this.tableIsShow=!1,this.receiptFile=t,this.busiDataId=e.busiDataId):(this.idAll=[],this.rows=e.rows,this.rows.length>0?(this.dialogVisible=!0,this.tableIsShow=!1,e.rows.forEach((function(e){n.idAll.push(e.wfInstanceId)}))):(this.dialogVisible=!1,this.$message.warning(this.$tx("gwgl.gwjh.fileWarn","请先选择文件!"))))}}},xn=Tn,Dn=(n(6992),m(xn,Mn,Ln,!1,null,"44e57720",null)),kn=Dn.exports,Sn=function(){var e=this,t=e._self._c;return t("div",[e.dialogFormVisible?t("el-dialog",{directives:[{name:"el-drag-dialog",rawName:"v-el-drag-dialog"}],attrs:{"close-on-click-modal":!1,visible:e.dialogFormVisible,"destroy-on-close":!0,width:"1465px",title:e.winTitle},on:{"update:visible":function(t){e.dialogFormVisible=t},close:e.handleDialogClose}},[e.loading?t("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"el-dialog__body"}):e._e(),t("div",{staticClass:"select-main",staticStyle:{display:"flex","flex-direction":"column"}},[t("div",{staticStyle:{display:"flex","flex-direction":"column","justify-content":"space-around"}},[t("el-form",{staticStyle:{width:"100%"}},[t("div",{staticClass:"el-table el-table--fit el-table--border",staticStyle:{}},[t("div",{staticClass:"el-table__body-wrapper"},[t("table",{staticClass:"el-table__body",attrs:{cellspacing:"0",cellpadding:"0",border:"0"}},[t("tbody",[t("tr",[t("td",{staticStyle:{width:"23%"}},[t("el-row",{staticClass:"ztree-container-row1"},[t("el-col",{staticClass:"ztree-container1 listitem",attrs:{span:"24"}},[t("div",{staticClass:"treeNode",staticStyle:{"overflow-y":"inherit"}},[t("div",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"leaders",expression:"'leaders'"}],staticClass:"table_title"},[e._v("领导阅文")]),t("GiantTree",{attrs:{"ztree-id":"corpLeadersTree",nodes:e.corpLeaders,multiple:e.multiple,"show-icon":!1,"show-line":!1},on:{onCreated:e.onTreeCreated,onClick:e.onTreeNodeClick,onCheck:e.onTreeNodeCheck}})],1)])],1)],1),t("td",{staticStyle:{width:"23%"}},[t("el-row",{staticClass:"ztree-container-row2"},[t("el-col",{staticClass:"ztree-container1 listitem",attrs:{span:"24"}},[t("div",{staticClass:"treeNode",staticStyle:{"overflow-y":"inherit"}},[t("div",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"receiptDocuments",expression:"'receiptDocuments'"}],staticClass:"table_title",attrs:{moduleCode:"portlet"}},[e._v("部门收文")]),t("GiantTree",{attrs:{"ztree-id":"innerDeptsTree",nodes:e.innerDepts,multiple:e.multiple,"show-icon":!1,"show-line":!1},on:{onCreated:e.onTreeCreated,onClick:e.onTreeNodeClick,onCheck:e.onTreeNodeCheck}})],1)])],1)],1),t("td",{staticStyle:{width:"23%"}},[t("el-row",{staticClass:"select-row",staticStyle:{height:"100%"}},[t("el-col",{staticClass:"ztree-container2",staticStyle:{"overflow-y":"inherit",height:"100%"},attrs:{span:"24"}},[t("div",{staticClass:"treeNode"},[t("div",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"externalUnits",expression:"'externalUnits'"}],staticClass:"table_title"},[e._v("外单位收文")]),t("el-input",{staticStyle:{padding:"10px"},attrs:{placeholder:e.$tx("gwgl.gwjh.keyPlaceholder","请输入搜索关键字")},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.searchTreeNode.apply(null,arguments)}},model:{value:e.searchkey,callback:function(t){e.searchkey=t},expression:"searchkey"}},[t("el-button",{attrs:{slot:"append",icon:"el-icon-search"},on:{click:e.searchTreeNode},slot:"append"})],1),null!==e.corpOrgs&&0!==e.corpOrgs.length?t("GiantTree",{attrs:{"ztree-id":"corpOrgsTree",nodes:e.corpOrgs,multiple:e.multiple,"show-icon":!1,"show-line":!1},on:{onCreated:e.onTreeCreated,onClick:e.onTreeNodeClick,onCheck:e.onTreeNodeCheck}}):e._e(),null===e.corpOrgs||0===e.corpOrgs.length?t("div",{staticStyle:{"text-align":"center","font-size":"var(--portalFontSize14)","padding-top":"20px"}},[t("span",[e._v(e._s(null===e.corpOrgs?e.$tx("common.loading","正在加载..."):e.$tx("common.noData","暂无数据")))])]):e._e()],1)])],1)],1),e.sendToList.corpLeadersTree.length||e.sendToList.corpOrgsTree.length||e.sendToList.innerDeptsTree.length?t("div",{staticClass:"addNewType"},[t("span",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"add",expression:"'add'"}],staticStyle:{cursor:"pointer"},on:{click:e.addCommonGroupClick}},[e._v("新增>> ")])]):t("div",{staticClass:"addNewType-not"},[t("span",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"add",expression:"'add'"}],staticStyle:{cursor:"not-allowed"}},[e._v("新增>> ")])]),t("td",{staticStyle:{width:"25%"}},[t("el-row",{staticClass:"select-row"},[t("el-col",{staticClass:"ztree-container4",staticStyle:{"overflow-y":"inherit"},attrs:{span:"24"}},[t("div",{staticClass:"treeNode"},[t("div",{staticClass:"table_title",staticStyle:{position:"relative"}},[t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"commonGroup",expression:"'commonGroup'"}]},[e._v("常用组")]),t("div",{staticStyle:{"line-height":"40px",display:"flex","justify-content":"flex-end","font-size":"var(--portalFontSize14)",position:"absolute",top:"0",right:"0"}},[t("div",{class:e.commonCurrentTreeId?"editClass":"noEditClass",on:{click:e.commonEditHandler}},[t("i",{staticClass:"el-icon-edit"})]),t("div",{class:e.commonCurrentTreeId?"editClass":"noEditClass",on:{click:e.commonDeleteHandler}},[t("i",{staticClass:"el-icon-delete"})])])]),null!==e.commomTree&&0!==e.commomTree.length?t("GiantTree",{attrs:{"ztree-id":"commomTreeGroup",nodes:e.commomTree,multiple:e.multiple,"show-icon":!1,"show-line":!1},on:{onCreated:e.onTreeCreated,onClick:e.onRootOrgTreeNodeCommClick,onCheck:e.onRootOrgTreeNodeCommCheck}}):e._e(),null===e.commomTree||0===e.commomTree.length?t("div",{staticStyle:{"text-align":"center","font-size":"var(--portalFontSize14)","padding-top":"20px",height:"380px"}},[t("span",[e._v(e._s(null===e.commomTree?e.$tx("common.loading","正在加载..."):e.$tx("common.noData","暂无数据")))])]):e._e()],1)])],1)],1)])])])])])]),e._e()],1),t("div",{staticClass:"fwAttach-container"},[t("div",{staticClass:"file_list"},[void 0!==e.fwBodyfile.id?t("el-checkbox",{attrs:{disabled:"true"},model:{value:e.fwBodyfile.needSend,callback:function(t){e.$set(e.fwBodyfile,"needSend",t)},expression:"fwBodyfile.needSend"}},[e._v(e._s(e.fwBodyfile.fileName))]):e._e()],1),e._l(e.attachments,(function(n){return t("div",{key:n.id,staticClass:"file_list"},[t("el-checkbox",{attrs:{"true-label":!0,"false-label":!1},model:{value:n.needSend,callback:function(t){e.$set(n,"needSend",t)},expression:"attach.needSend"}},[e._v(e._s(n.fileName))]),t("div",{staticStyle:{display:"flex","justify-content":"space-between",padding:"0 15px",width:"200px"}},[t("span",{staticStyle:{color:"#ab9a9a"}},[e._v(e._s(n.fileSize))]),t("span",{staticStyle:{cursor:"pointer"},on:{click:function(t){return t.stopPropagation(),e.sendFileRandHandle(n)}}},[t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"sendRange",expression:"'sendRange'"}]},[e._v("发送范围:")]),t("span",{staticStyle:{color:"#409eff"}},[e._v(e._s(n.sendCount||0)+"/"+e._s(e.limitCount||0))])])])],1)}))],2)]),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"cancel",expression:"'cancel'"}],attrs:{plain:"",icon:"el-icon-close",type:"default",disabled:e.sendDoing},on:{click:e.handleDialogClose}},[e._v("取消")]),t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"sure",expression:"'sure'"}],attrs:{icon:"el-icon-check",type:"primary",loading:e.sendDoing},on:{click:e.handleSubmitForm}},[e._v("确定")])],1)]):e._e(),t("el-dialog",{staticClass:"dialogGroupVisible",attrs:{title:e.$tx("gwgl.gwjh.commonGroupType","常用组分类"),visible:e.dialogGroupVisible,width:"600px","close-on-click-modal":!1,"before-close":e.handleClose},on:{"update:visible":function(t){e.dialogGroupVisible=t}}},[t("el-form",{ref:"commonGroupForm",attrs:{model:e.commonObj}},[t("div",{staticClass:"el-table el-table--fit el-table--border",staticStyle:{}},[t("div",{staticClass:"el-table__body-wrapper"},[t("table",{staticClass:"el-table__body",attrs:{cellspacing:"0",cellpadding:"0",border:"0"}},[t("tbody",[t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"typeName",expression:"'typeName'"}]},[e._v("分类名称")])]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"分类名称",rules:"required|max:25"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-input",{attrs:{name:"typeName",placeholder:e.$tx("gwgl.gwjh.typeNamePlaceholder","请输入分类名称")},model:{value:e.commonObj.typeName,callback:function(t){e.$set(e.commonObj,"typeName",t)},expression:"commonObj.typeName"}})],1)]}}])})],1)]),t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"orderNo",expression:"'orderNo'"}],staticClass:"field"},[e._v("分类排序")])]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"分类排序",rules:"required|integer|min:4|max:4"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-input",{attrs:{name:"orderNo",placeholder:e.$tx("gwgl.gwjh.sortCategoryPlaceholder","请输入分类排序")},model:{value:e.commonObj.orderNo,callback:function(t){e.$set(e.commonObj,"orderNo",t)},expression:"commonObj.orderNo"}})],1)]}}])})],1)])])])])])]),t("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"cancel",expression:"'cancel'"}],on:{click:function(t){e.dialogGroupVisible=!1}}},[e._v("取消")]),t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"sure",expression:"'sure'"}],attrs:{type:"primary"},on:{click:e.dialogGroupComfirm}},[e._v("确定")])],1)],1),t("FileLimitDialog",{on:{selectComfirm:e.selectComfirm}})],1)},Yn=[],jn=function(){var e=this,t=e._self._c;return t("div",[t("el-dialog",{staticClass:"dialogGroupVisible",attrs:{title:e.$tx("gwgl.gwjh.setPermissions","设置附件查阅权限"),visible:e.dialogFileLimitVisible,width:"600px","close-on-click-modal":!1,"before-close":e.handleClose},on:{"update:visible":function(t){e.dialogFileLimitVisible=t}}},[t("div",{staticClass:"select-main",staticStyle:{display:"flex","flex-direction":"column"}},[t("div",{staticStyle:{display:"flex","flex-direction":"column","justify-content":"space-around"}},[t("el-form",{staticStyle:{width:"100%"}},[t("div",{staticClass:"el-table el-table--fit el-table--border",staticStyle:{}},[t("div",{staticClass:"el-table__body-wrapper"},[t("table",{staticClass:"el-table__body",attrs:{cellspacing:"0",cellpadding:"0",border:"0"}},[t("tbody",[t("tr",[t("td",{staticStyle:{width:"23%"}},[t("el-row",{staticClass:"ztree-container-row2"},[t("el-col",{staticClass:"ztree-container1 listitem",attrs:{span:"24"}},[t("div",{staticClass:"treeNode",staticStyle:{"overflow-y":"inherit"}},[t("div",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"receiptDocuments",expression:"'receiptDocuments'"}],staticClass:"table_title",attrs:{moduleCode:"portlet"}},[e._v("部门收文")]),null!==e.selectInnerDepts&&0!==e.selectInnerDepts.length?t("GiantTree",{attrs:{"ztree-id":"selectInnerDeptsTree",nodes:e.selectInnerDepts,multiple:!0,"show-icon":!1,"show-line":!1},on:{onCreated:e.onSelectTreeCreated,onClick:e.onSelectTreeNodeClick,onCheck:e.onSelectTreeNodeCheck}}):e._e(),null===e.selectInnerDepts||0===e.selectInnerDepts.length?t("div",{staticStyle:{"text-align":"center","font-size":"var(--portalFontSize14)","padding-top":"20px"}},[t("span",[e._v(e._s(null===e.selectInnerDepts?e.$tx("common.loading","正在加载..."):e.$tx("common.noData","暂无数据")))])]):e._e()],1)])],1)],1),t("td",{staticStyle:{width:"23%"}},[t("el-row",{staticClass:"select-row",staticStyle:{height:"100%"}},[t("el-col",{staticClass:"ztree-container2",staticStyle:{"overflow-y":"inherit",height:"100%"},attrs:{span:"24"}},[t("div",{staticClass:"treeNode"},[t("div",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"externalUnits",expression:"'externalUnits'"}],staticClass:"table_title"},[e._v("外单位收文")]),null!==e.selectCorpOrgs&&0!==e.selectCorpOrgs.length?t("GiantTree",{attrs:{"ztree-id":"selectCorpOrgsTree",nodes:e.selectCorpOrgs,multiple:!0,"show-icon":!1,"show-line":!1},on:{onCreated:e.onSelectTreeCreated,onClick:e.onSelectTreeNodeClick,onCheck:e.onSelectTreeNodeCheck}}):e._e(),null===e.selectCorpOrgs||0===e.selectCorpOrgs.length?t("div",{staticStyle:{"text-align":"center","font-size":"var(--portalFontSize14)","padding-top":"20px"}},[t("span",[e._v(e._s(null===e.selectCorpOrgs?e.$tx("common.loading","正在加载..."):e.$tx("common.noData","暂无数据")))])]):e._e()],1)])],1)],1)])])])])])])],1)]),t("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"cancel",expression:"'cancel'"}],on:{click:function(t){e.dialogFileLimitVisible=!1}}},[e._v("取消")]),t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"sure",expression:"'sure'"}],attrs:{type:"primary"},on:{click:e.dialogSelectComfirm}},[e._v("确定")])],1)])],1)},Cn=[],On={components:{},props:{},data:function(){return{i18npkg:"gwgl",moduleCode:"gwjh",dialogFileLimitVisible:!1,selectInnerDepts:[],selectCorpOrgs:[],selectInnerDeptsTree:{},selectCorpOrgsTree:{},attachFile:null,selectNodes:[],multiple:!0}},computed:{},watch:{attachFile:{handler:function(e,t){if(e)if(console.log("newVal",e),e.passenger.orgCodes&&e.passenger.orgCodes.length){var n=e.passenger.orgCodes;this.treeDataAdapter("selectCorpOrgsTree",this.selectCorpOrgs,n)}else this.treeDataAdapter("selectCorpOrgsTree",this.selectCorpOrgs,"")}}},created:function(){this.$bus.on("openFileLimitDialog",this.openFileLimitDialog)},beforeDestroy:function(){this.$bus.off("openFileLimitDialog",this.openFileLimitDialog)},mounted:function(){},methods:{treeDataAdapter:function(e,t,n){console.log("code",n);for(var r=0;r<t.length;r++){var a=t[r];"selectCorpOrgsTree"===e&&(n&&-1!==n.indexOf(a.ocode)?(console.log("node",a),a.checked=!0):a.checked=!1)}console.log("treeData",t)},openFileLimitDialog:function(e,t){this.selectInnerDepts=t["innerDeptsTree"],this.selectCorpOrgs=t["corpOrgsTree"],this.attachFile=JSON.parse(JSON.stringify(e)),this.dialogFileLimitVisible=!0},onSelectTreeCreated:function(e,t){this[t]=e},onSelectTreeNodeClick:function(e,t,n){!0===n.canSelect?!0!==this.multiple||this[t].checkNode(n,null,null,!0):n.children&&n.children.length>0&&this[t].expandNode(n)},onSelectTreeNodeCheck:function(e,t,n){!0===n.canSelect?!0!==this.multiple||this[t].checkNode(n,null,null,!0):n.children&&n.children.length>0&&this[t].expandNode(n)},dialogSelectComfirm:function(){this.attachFile.passenger.orgCodes=[];var e="{}"===JSON.stringify(this.selectInnerDeptsTree)?[]:this.selectInnerDeptsTree.getCheckedNodes(),t="{}"===JSON.stringify(this.selectInnerDeptsTree)?[]:this.selectCorpOrgsTree.getCheckedNodes(),n=[];e.length&&t.forEach((function(e){n.push(e.ocode)}));var r=[];t.length?t.forEach((function(e){r.push(e.ocode)})):this.attachFile.passenger.orgCodes=[],this.attachFile.passenger.orgCodes=[].concat(r,n),this.attachFile.sendCount=t.length+e.length,this.$emit("selectComfirm",this.attachFile),this.handleClose()},handleClose:function(){this.selectNodes=[],this.selectInnerDepts=[],this.selectCorpOrgs=[],this.attachFile=null,this.dialogFileLimitVisible=!1}}},Nn=On,Pn=(n(6176),m(Nn,jn,Cn,!1,null,"7a7c7352",null)),En=Pn.exports;function Hn(e){return Hn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Hn(e)}function Fn(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Fn=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function d(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(e){d=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var o=t&&t.prototype instanceof y?t:y,i=Object.create(o.prototype),s=new j(r||[]);return a(i,"_invoke",{value:D(e,n,s)}),i}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=c;var p="suspendedStart",m="suspendedYield",f="executing",h="completed",g={};function y(){}function _(){}function v(){}var b={};d(b,i,(function(){return this}));var w=Object.getPrototypeOf,M=w&&w(w(C([])));M&&M!==n&&r.call(M,i)&&(b=M);var L=v.prototype=y.prototype=Object.create(b);function T(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function n(a,o,i,s){var l=u(e[a],e,o);if("throw"!==l.type){var d=l.arg,c=d.value;return c&&"object"==Hn(c)&&r.call(c,"__await")?t.resolve(c.__await).then((function(e){n("next",e,i,s)}),(function(e){n("throw",e,i,s)})):t.resolve(c).then((function(e){d.value=e,i(d)}),(function(e){return n("throw",e,i,s)}))}s(l.arg)}var o;a(this,"_invoke",{value:function(e,r){function a(){return new t((function(t,a){n(e,r,t,a)}))}return o=o?o.then(a,a):a()}})}function D(t,n,r){var a=p;return function(o,i){if(a===f)throw Error("Generator is already running");if(a===h){if("throw"===o)throw i;return{value:e,done:!0}}for(r.method=o,r.arg=i;;){var s=r.delegate;if(s){var l=k(s,r);if(l){if(l===g)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(a===p)throw a=h,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);a=f;var d=u(t,n,r);if("normal"===d.type){if(a=r.done?h:m,d.arg===g)continue;return{value:d.arg,done:r.done}}"throw"===d.type&&(a=h,r.method="throw",r.arg=d.arg)}}}function k(t,n){var r=n.method,a=t.iterator[r];if(a===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,k(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var o=u(a,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,g;var i=o.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,g):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function Y(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function C(t){if(t||""===t){var n=t[i];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,o=function n(){for(;++a<t.length;)if(r.call(t,a))return n.value=t[a],n.done=!1,n;return n.value=e,n.done=!0,n};return o.next=o}}throw new TypeError(Hn(t)+" is not iterable")}return _.prototype=v,a(L,"constructor",{value:v,configurable:!0}),a(v,"constructor",{value:_,configurable:!0}),_.displayName=d(v,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===_||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,d(e,l,"GeneratorFunction")),e.prototype=Object.create(L),e},t.awrap=function(e){return{__await:e}},T(x.prototype),d(x.prototype,s,(function(){return this})),t.AsyncIterator=x,t.async=function(e,n,r,a,o){void 0===o&&(o=Promise);var i=new x(c(e,n,r,a),o);return t.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},T(L),d(L,l,"Generator"),d(L,i,(function(){return this})),d(L,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=C,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(Y),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function a(r,a){return s.type="throw",s.arg=t,n.next=r,a&&(n.method="next",n.arg=e),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],s=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var l=r.call(i,"catchLoc"),d=r.call(i,"finallyLoc");if(l&&d){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!d)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&r.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),Y(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;Y(n)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:C(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}function An(e,t,n,r,a,o,i){try{var s=e[o](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)}function $n(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){An(o,r,a,i,s,"next",e)}function s(e){An(o,r,a,i,s,"throw",e)}i(void 0)}))}}function In(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function zn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?In(Object(n),!0).forEach((function(t){Rn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):In(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Rn(e,t,n){return(t=Wn(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wn(e){var t=Gn(e,"string");return"symbol"==Hn(t)?t:t+""}function Gn(e,t){if("object"!=Hn(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Hn(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var Bn={name:"SendDeptFile",directives:{"overflow-tooltip":{bind:function(e,t,n){var r=e.clientWidth<e.scrollWidth;e.dataset.overflow=r},update:function(e,t,n){var r=e.clientWidth<e.scrollWidth;e.dataset.overflow=r}}},components:{FileLimitDialog:En},props:{corpLeaders:{type:Array,default:function(){return{}}},innerDepts:{type:Array,default:function(){return{}}},wfInstance:{type:Object,default:function(){return{}}},busiData:{type:Object,default:function(){return{}}},fwBodyfile:{type:Object,default:function(){return{}}},corpOrgs:{type:Array,default:function(){return{}}},commomTree:{type:Array,default:function(){return{}}},fwAttachs:{type:Array,default:function(){return[]}}},data:function(){return{i18npkg:"gwgl",moduleCode:"gwjh",dialogFormVisible:!0,dialogGroupVisible:!1,loading:!1,winTitle:this.$tx("gwgl.gwjh.winTitle2","发送文件"),corpLeadersTree:{},innerDeptsTree:{},attachments:[],multiple:!0,sendToList:{corpLeadersTree:[],innerDeptsTree:[],corpOrgsTree:[],commomTreeGroup:[]},sendDoing:!1,areaNodeTreeData:[],rootOrgTreeData:[],rootOrgTreeDataBak:[],corpOrgschushi:[],searchkey:"",commonObj:{},commonCurrentTreeId:"",commonCurrentTreeArr:[],handlerTreeType:!1,showWorkMore:!1,showMoreNum:0,changeType:"",allSendToList:[],limitCount:0}},computed:zn({},re(["loginUser"])),watch:{fwBodyfile:function(){void 0!==this.fwBodyfile.id&&(this.loading=!1)},fwAttachs:function(){this.attachments=JSON.parse(JSON.stringify(this.fwAttachs))},corpLeaders:function(){this.treeDataAdapter("corpLeadersTree",this.corpLeaders)},innerDepts:function(){this.treeDataAdapter("innerDeptsTree",this.innerDepts)},corpOrgs:function(){this.treeDataAdapter("corpOrgsTree",this.corpOrgs),this.rootOrgTreeDataBak=JSON.parse(JSON.stringify(this.corpOrgs))},commomTree:function(){this.treeDataAdapter("commomTreeGroup",this.commomTree)},"sendToList.commomTreeGroup":{handler:function(e,t){}},sendToList:{handler:function(e,t){var n=this,r=e.innerDeptsTree,a=e.corpOrgsTree;if(r.length){var o=[];a.forEach((function(e){o.push(e.ocode)}))}if(a.length){var i=[];a.forEach((function(e){i.push(e.ocode)}))}this.limitCount=r.length+a.length,this.fwAttachs.forEach((function(e){e.sendCount=n.limitCount,e.passenger.orgCodes=[].concat(i,o)})),this.attachments=JSON.parse(JSON.stringify(this.fwAttachs)),this.$forceUpdate()},deep:!0}},created:function(){var e=this;setTimeout((function(){e.corpOrgschushi=JSON.parse(JSON.stringify(e.corpOrgs))}),1e3)},beforeDestroy:function(){},mounted:function(){this.loading=!1},methods:{selectComfirm:function(e){console.log("list ====",e),console.log("this.attachments ====",this.attachments),this.attachments.forEach((function(t){t.id===e.id&&(t.sendCount=e.sendCount,t.passenger.orgCodes=e.passenger.orgCodes)}))},isShowToltip:function(e,t,n){var r=this.textRange(e.target);n.isShow=r,this.$forceUpdate()},textRange:function(e){var t=e,n=t.getBoundingClientRect().width,r=document.createRange();r.setStart(t,0),r.setEnd(t,t.childNodes.length);var a=r.getBoundingClientRect().width;return a>n},searchTreeNode:function(){var e=this;console.log("searchkey",this.searchkey);var t=JSON.parse(JSON.stringify(this.rootOrgTreeDataBak)),n={};this.sendToList["corpOrgsTree"].forEach((function(e){n[e.id]=e.id})),this.corpOrgs=[],""===this.searchkey&&(this.corpOrgs=this.corpOrgschushi),t.forEach((function(t){-1!==t.fullName.indexOf(e.searchkey)&&""!==e.searchkey&&(void 0!==n[t.id]&&(t.checked=!0),e.corpOrgs.push(t))}))},onTreeCreated:function(e,t){this[t]=e},treeDataAdapter:function(e,t){this.sendToList[e]=[];for(var n=0;n<t.length;n++){var r=t[n];if("innerDeptsTree"===e){var a="2,3".split(",");r.nodeTreeType="innerDeptsTree",r.pId=r.parentId,r.title=r.orgFullName,-1!==r.title.indexOf("-")&&(r.title=r.title.substring(r.title.indexOf("-")+1)),r.orgLevel>a[a.length-1]||1!==r.isRealOrg?t.splice(n--,1):-1!==a.join(",").indexOf(r.orgLevel)&&(r.canSelect=!0)}else if("corpLeadersTree"===e)r.personId?(r.nodeTreeType="corpLeadersTree",r.pId=r.orgId,r.title=r.positionName+"/"+r.name,r.canSelect=!0):(r.nodeTreeType="corpLeadersTree",r.pId=r.parentID,r.name=r.nName,r.title=r.fullName,-1!==r.title.indexOf("-")&&(r.title=r.title.substring(r.title.indexOf("-")+1)),0===n&&(r.open=!0),r.canSelect=!1);else if("corpOrgsTree"===e){var o="1,2,3,4".split(",");r.nodeTreeType="corpOrgsTree",r.pId=r.parentId,r.name=r.nName,r.title=r.name,-1!==r.title.indexOf("-")&&(r.title=r.title.substring(r.title.indexOf("-")+1)),r.olevel<1||-1!==o.join(",").indexOf(r.olevel)&&(r.canSelect=!0)}else"commomTreeGroup"===e&&(r.nodeTreeType=r.type,r.pId=r.parentId?r.parentId:"0",r.title=r.commonName?r.commonName:r.typeName,r.name=r.commonName?r.commonName:r.typeName,r.parentId&&(r.canSelect=!0))}return t},onTreeNodeClick:function(e,t,n){!0===n.canSelect?!0!==this.multiple?this.sendToList[t]=[n]:this[t].checkNode(n,null,null,!0):n.children&&n.children.length>0&&this[t].expandNode(n)},onTreeNodeCheck:function(e,t,n){this.sendToList[t]=this[t].getCheckedNodes();for(var r=0;r<this.sendToList[t].length;r++)this.sendToList[t][r].canSelect||this.sendToList[t].splice(r--,1)},onRootOrgTreeNodeCommClick:function(e,t,n){n.canSelect||(this.commonCurrentTreeId=n.id,this.commonCurrentTreeArr=n.children),!0===n.canSelect?!0!==this.multiple?this.sendToList[t]=[n]:this[t].checkNode(n,null,null,!0):n.children&&n.children.length>0&&this[t].expandNode(n)},onRootOrgTreeNodeCommCheck:function(e,t,n){this.sendToList[t]=this[t].getCheckedNodes();for(var r=0;r<this.sendToList[t].length;r++)this.sendToList[t][r].canSelect||this.sendToList[t].splice(r--,1);this.sendToArrayList(n)},sendToArrayList:function(e){var t=this,n=e.checked,r=[].concat(this.sendToList.corpLeadersTree,this.sendToList.corpOrgsTree,this.sendToList.innerDeptsTree);if(n)if(e.children){var a=e.children.filter((function(e){return r.every((function(t){return t.id!==e.commonId}))}));a.forEach((function(e){var n=t[e.nodeTreeType].getNodeByParam("id",e.commonId,null);t.sendToList[e.nodeTreeType].push(n),t[e.nodeTreeType].checkNode(n,null,null,!0)}))}else{var o=this[e.nodeTreeType].getNodeByParam("id",e.commonId,null);this.sendToList[e.nodeTreeType].push(o),this[e.nodeTreeType].checkNode(o,null,null,!0)}else if(e.children){var i=e.children.filter((function(e){return r.some((function(t){return t.id===e.commonId}))}));i.forEach((function(e){var n=t[e.nodeTreeType].getNodeByParam("id",e.commonId,null);t.sendToList[e.nodeTreeType]=t.sendToList[e.nodeTreeType].filter((function(e){return e.id!==n.id})),t[e.nodeTreeType].checkNode(n,!1,!0,!1)}))}else{var s=this[e.nodeTreeType].getNodeByParam("id",e.commonId,null);this.sendToList[e.nodeTreeType]=this.sendToList[e.nodeTreeType].filter((function(e){return e.id!==s.id})),this[e.nodeTreeType].checkNode(s,!1,!0,!1)}},handleSelectAll:function(e,t){if(this[e].checkAllNodes(t),t){this.sendToList[e]=this[e].getCheckedNodes();for(var n=0;n<this.sendToList[e].length;n++)this.sendToList[e][n].canSelect||this.sendToList[e].splice(n--,1)}else this.sendToList[e]=[]},removeSelectedNode:function(e,t){var n=this[t].getNodeByParam("id",this.sendToList[t][e].id,null);console.log("node",n),null!=n&&this[t].checkNode(n,!1,!0,!1),this.sendToList[t].splice(e,1);var r=this["commomTreeGroup"].getNodeByParam("commonId",n.id,null);null!=r&&(console.log("node1",r),this["commomTreeGroup"].checkNode(r,!1,!0,!1))},handleSubmitForm:function(){var e=this,t=this;this.sendToList["corpLeadersTree"]&&0!==this.sendToList["corpLeadersTree"].length||this.sendToList["innerDeptsTree"]&&0!==this.sendToList["innerDeptsTree"].length||this.sendToList["corpOrgsTree"]&&0!==this.sendToList["corpOrgsTree"].length?this.$confirm(this.$tx("gwgl.messages.sendFileConfirm","您是否确认立即发送文件?"),this.$tx("common.confirmOperate","确认操作"),{type:"warning"}).then($n(Fn().mark((function n(){var r,a;return Fn().wrap((function(n){while(1)switch(n.prev=n.next){case 0:e.sendDoing=!0,r=[],null!=t.fwBodyfile&&r.push(t.fwBodyfile),t.attachments.forEach((function(e){e.needSend&&r.push(e)})),a="/wflow?wfEngineUrl="+(e.$route.query.wfEngineUrl||"workflow/wfInstance"),console.log(t.sendToList,"_this.sendToList"),console.log(r,"attachs"),e.$http({method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"},params:{openUrl:a,fwOrgId:t.wfInstance.createOrgId.split("-")[1]},data:yt().stringify({fwBusiData:JSON.stringify(t.busiData),corpLeaders:JSON.stringify(t.sendToList["corpLeadersTree"]),innerDepts:JSON.stringify(t.sendToList["innerDeptsTree"]),corpOrgs:JSON.stringify(t.sendToList["corpOrgsTree"]),fwAttachs:JSON.stringify(r)}),url:"/gwjh/sendFile/startSendFile"}).then((function(n){if("success"===n.code){var r=e.$vnode.context.$vnode.context;t.busiData.flBeenSend=1,t.busiData.flSenderAccount=e.loginUser.personAccount;var a=!1,o="";r.commandBar.forEach((function(e){"btnViewSendlogClick"!==e.btnCode&&"发送跟踪"!==e.btnName||(a=!0),""===o&&e.btnName&&-1!==e.btnName.indexOf("发送")&&(null!=e.btnGroupId?o=e.btnGroupId:2===e.btnType&&(o=e.id))})),a||""===o||r.commandBar.push({btnAlign:1,btnCode:"btnViewSendlogClick",btnGroupId:o,btnIcon:null,btnClick:function(){e.$bus.emit("btnViewSendlogClick",r)},btnName:"发送跟踪",btnOrderNo:"70",btnShow:1,btnType:"3",visitType:0}),e.$message({type:"success",message:e.$tx("gwgl.gwjh.sendSuccess","发送成功"),showClose:!0}),e.sendDoing=!1}else e.$alert(n.message,e.$tx("common.operationTip","操作提示"),{type:"error"}),e.sendDoing=!1;t.handleDialogClose()}));case 8:case"end":return n.stop()}}),n)})))):this.$alert(this.$tx("gwgl.messages.toListAlert","请选择阅文领导、收文部门、单位发文。"),this.$tx("common.operationTip","操作提示"),{type:"warning"})},handleSubmitForm1:function(){var e=this,t=this;this.sendToList["corpLeadersTree"]&&0!==this.sendToList["corpLeadersTree"].length||this.sendToList["innerDeptsTree"]&&0!==this.sendToList["innerDeptsTree"].length||this.sendToList["corpOrgsTree"]&&0!==this.sendToList["corpOrgsTree"].length?this.$confirm(this.$tx("gwgl.messages.sendFileConfirm","您是否确认立即发送文件?"),this.$tx("common.confirmOperate","确认操作"),{type:"warning"}).then($n(Fn().mark((function n(){var r,a,o,i,s;return Fn().wrap((function(n){while(1)switch(n.prev=n.next){case 0:e.sendDoing=!0,r=[],null!=t.fwBodyfile&&r.push(t.fwBodyfile),t.attachments.forEach((function(e){e.needSend&&r.push(e)})),a="/wflow?wfEngineUrl="+(e.$route.query.wfEngineUrl||"workflow/wfInstance"),o=[],(e.sendToList["corpLeadersTree"].length||e.sendToList["innerDeptsTree"].length)&&(i=t.handlerStartSendDeptFile(t,a,r),o.push(i)),e.sendToList["corpOrgsTree"].length&&(s=t.handlerStartSendCommonCorpFile(a,t.sendToList["corpOrgsTree"],r),o.push(s)),Promise.all(o).then((function(e){t.sendDoing=!1,t.$message({type:"success",message:t.$tx("gwgl.gwjh.sendSuccess","发送成功"),showClose:!0}),t.handleDialogClose(),setTimeout((function(){location.reload()}),1e3)})).catch((function(n){e.sendDoing=!1,t.$alert(n.message,t.$tx("common.confirmOperate","确认操作"),{type:"error",dangerouslyUseHTMLString:!0})}));case 9:case"end":return n.stop()}}),n)})))).catch((function(e){"cancel"!==e&&console.error(e)})):this.$alert(this.$tx("gwgl.messages.toListAlert","请选择阅文领导、收文部门、单位发文。"),this.$tx("common.operationTip","操作提示"),{type:"warning"})},handlerStartSendDeptFile:function(e,t,n){var r=this,a=new Promise((function(a,o){r.$http({method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"},params:{openUrl:t,fwOrgId:e.wfInstance.createOrgId.split("-")[1]},data:yt().stringify({fwBusiData:JSON.stringify(e.busiData),corpLeaders:JSON.stringify(e.sendToList["corpLeadersTree"]),innerDepts:JSON.stringify(e.sendToList["innerDeptsTree"]),fwAttachs:JSON.stringify(n)}),url:"gwjh/sendFile/startSendDeptFile"}).then((function(e){"success"===e.code?a(e):o(e)}))}));return a},handlerStartSendCommonCorpFile:function(e,t,n){var r=this;t.forEach((function(e){e.level=e.orgLevel}));var a=new Promise((function(a,o){var i=r;r.$http({method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"},params:{openUrl:e,fwOrgId:i.wfInstance.createOrgId.split("-")[1]},data:yt().stringify({fwBusiData:JSON.stringify(i.busiData),orgOrganizationList:JSON.stringify(t),fwAttachs:JSON.stringify(n)}),url:"/gwjh/sendFile/startSendCorpFile"}).then((function(e){"success"===e.code?a(e):o(e)}))}));return a},handleEndWfInstance:function(){var e=this;this.$http({contentType:"application/x-www-form-urlencoded",url:"/gwjh/sendFile/endFawenWfInstance",method:"POST",params:{busiDataId:e.wfInstance.busiDataId}}).then((function(t){"success"===t.code?(e.handleDialogClose(),e.$message({type:t.code,message:e.$tx("gwgl.gwjh.sendSuccess","发送成功"),duration:2500,showClose:!0,onClose:function(){window.close()}})):e.$alert(t.message,e.$tx("common.confirmOperate","确认操作"),{type:"error"})}))},sendFileRandHandle:function(e){this.limitCount<=0?this.$message({message:this.$tx("gwgl.messages.fileRandMsg","请选择部门或单位。"),type:"warning"}):this.$bus.emit("openFileLimitDialog",e,this.sendToList)},addCommonGroupClick:function(){if(this.sendToList.corpLeadersTree.length||this.sendToList.corpOrgsTree.length||this.sendToList.innerDeptsTree.length){var e=this;e.handlerTreeType=!1,this.addNewCommon().then((function(t){if("success"===t.code){if(e.commonObj=t.body.vo,e.commonObj.passenger.commonGroupInfoList=[],!e.commonObj.createrId){e.commonObj.createrId=e.loginUser.personId,e.commonObj.creater=e.loginUser.personName,e.commonObj.status=1;var n=[].concat(e.sendToList.corpLeadersTree,e.sendToList.corpOrgsTree,e.sendToList.innerDeptsTree),r=[];n.forEach((function(t){var n={};n.commonName=t.fullName||t.commonName||t.name,n.commonId=t.commonId||t.id||t.fullID,n.parentId=e.commonObj.id,n.createrId=e.loginUser.personId,n.creater=e.loginUser.personName,n.type=t.commonId?t.type:t.nodeTreeType,r.push(n)})),e.commonObj.passenger.commonGroupInfoList=r}e.dialogGroupVisible=!0}}))}else this.$message({message:this.$tx("gwgl.messages.addCommonGroupClickMsg","请选择需要设未常用组的数据。"),type:"warning"})},dialogGroupComfirm:function(){var e=this,t=this;this.$refs.commonGroupForm.formValidate((function(){var n="insert";n=e.handlerTreeType?"update":"insert",e.confirmGroup(n).then((function(n){"success"===n.code&&(t.dialogGroupVisible=!1,t.commonObj={},e.$message.success(n.message),t.getSendCommmoDataList())}))}),null,1)},addNewCommon:function(){var e=this;return new Promise((function(t,n){e.$http({contentType:"application/x-www-form-urlencoded",url:"/gwgl/commonGroup/addNew",method:"POST"}).then((function(e){t(e)}))}))},confirmGroup:function(e){var t=this,n=this;return new Promise((function(r,a){t.$http({contentType:"application/x-www-form-urlencoded",url:"insert"===e?"/gwgl/commonGroup/insert":"/gwgl/commonGroup/update",method:"insert"===e?"POST":"PUT",data:n.commonObj}).then((function(e){r(e)}))}))},commonEditHandler:function(){var e=this;this.commonCurrentTreeId&&this.$http({contentType:"application/x-www-form-urlencoded",url:"/gwgl/commonGroup/getById",method:"GET",params:{id:this.commonCurrentTreeId}}).then((function(t){"success"===t.code&&(e.commonObj=t.body.vo,e.handlerTreeType=!0,e.dialogGroupVisible=!0)}))},commonDeleteHandler:function(){var e=this;this.commonCurrentTreeId&&e.commonCurrentTreeId&&this.$confirm(e.$tx("gwgl.messages.delGroupConfirm","确认删除删除该常用组?"),e.$tx("gwgl.common.operatedTip"),{confirmButtonText:e.$tx("pageBtns.sure","确 定"),cancelButtonText:e.$tx("pageBtns.cancel","取 消"),type:"warning"}).then((function(){e.$http({contentType:"application/x-www-form-urlencoded",url:"/gwgl/commonGroup/delete",method:"DELETE",params:{ids:e.commonCurrentTreeId}}).then((function(t){"success"===t.code&&(e.$message({message:t.message,type:"success"}),e.getSendCommmoDataList())}))})).catch((function(){}))},getSendCommmoDataList:function(e){var t=this;t.commomTree=[],this.$parent.getCommonGroup().then((function(e){var n=e.body.listdata;n.length>0?(n.forEach((function(e){t.commomTree.push(e);var r=e.passenger.commonGroupInfoList;n.length>0&&(t.commomTree=t.commomTree.concat(r))})),t.commomTree.forEach((function(e){e.orderNo=e.orderNo?e.orderNo:9999}))):t.commomTree=[]}))},handleDialogClose:function(){this.$vnode.context.dialogFormVisible=!1,this.$vnode.context.fwBodyfile={},this.$vnode.context.fwAttachs=[]}}},Un=Bn,qn=(n(8275),m(Un,Sn,Yn,!1,null,"6ab65eb9",null)),Vn=qn.exports;function Jn(e){return Jn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Jn(e)}function Kn(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Kn=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function d(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(e){d=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var o=t&&t.prototype instanceof y?t:y,i=Object.create(o.prototype),s=new j(r||[]);return a(i,"_invoke",{value:D(e,n,s)}),i}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=c;var p="suspendedStart",m="suspendedYield",f="executing",h="completed",g={};function y(){}function _(){}function v(){}var b={};d(b,i,(function(){return this}));var w=Object.getPrototypeOf,M=w&&w(w(C([])));M&&M!==n&&r.call(M,i)&&(b=M);var L=v.prototype=y.prototype=Object.create(b);function T(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function n(a,o,i,s){var l=u(e[a],e,o);if("throw"!==l.type){var d=l.arg,c=d.value;return c&&"object"==Jn(c)&&r.call(c,"__await")?t.resolve(c.__await).then((function(e){n("next",e,i,s)}),(function(e){n("throw",e,i,s)})):t.resolve(c).then((function(e){d.value=e,i(d)}),(function(e){return n("throw",e,i,s)}))}s(l.arg)}var o;a(this,"_invoke",{value:function(e,r){function a(){return new t((function(t,a){n(e,r,t,a)}))}return o=o?o.then(a,a):a()}})}function D(t,n,r){var a=p;return function(o,i){if(a===f)throw Error("Generator is already running");if(a===h){if("throw"===o)throw i;return{value:e,done:!0}}for(r.method=o,r.arg=i;;){var s=r.delegate;if(s){var l=k(s,r);if(l){if(l===g)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(a===p)throw a=h,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);a=f;var d=u(t,n,r);if("normal"===d.type){if(a=r.done?h:m,d.arg===g)continue;return{value:d.arg,done:r.done}}"throw"===d.type&&(a=h,r.method="throw",r.arg=d.arg)}}}function k(t,n){var r=n.method,a=t.iterator[r];if(a===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,k(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var o=u(a,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,g;var i=o.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,g):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function Y(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function C(t){if(t||""===t){var n=t[i];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,o=function n(){for(;++a<t.length;)if(r.call(t,a))return n.value=t[a],n.done=!1,n;return n.value=e,n.done=!0,n};return o.next=o}}throw new TypeError(Jn(t)+" is not iterable")}return _.prototype=v,a(L,"constructor",{value:v,configurable:!0}),a(v,"constructor",{value:_,configurable:!0}),_.displayName=d(v,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===_||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,d(e,l,"GeneratorFunction")),e.prototype=Object.create(L),e},t.awrap=function(e){return{__await:e}},T(x.prototype),d(x.prototype,s,(function(){return this})),t.AsyncIterator=x,t.async=function(e,n,r,a,o){void 0===o&&(o=Promise);var i=new x(c(e,n,r,a),o);return t.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},T(L),d(L,l,"Generator"),d(L,i,(function(){return this})),d(L,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=C,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(Y),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function a(r,a){return s.type="throw",s.arg=t,n.next=r,a&&(n.method="next",n.arg=e),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],s=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var l=r.call(i,"catchLoc"),d=r.call(i,"finallyLoc");if(l&&d){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!d)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&r.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),Y(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;Y(n)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:C(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}function Qn(e,t,n,r,a,o,i){try{var s=e[o](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)}function Zn(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){Qn(o,r,a,i,s,"next",e)}function s(e){Qn(o,r,a,i,s,"throw",e)}i(void 0)}))}}function Xn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function er(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Xn(Object(n),!0).forEach((function(t){tr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function tr(e,t,n){return(t=nr(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nr(e){var t=rr(e,"string");return"symbol"==Jn(t)?t:t+""}function rr(e,t){if("object"!=Jn(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Jn(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var ar={name:"GwjhFile",components:{SendDeptFile:qt,SendCorpFile:dn,SendlogList:wn,ReceiptFile:kn,SendGroupFile:Vn},props:{},data:function(){return{i18npkg:"gwgl",moduleCode:"gwjh",dialogFormVisible:!1,sendType:"",sendArea:"",wfInstance:{},busiData:{},fwAttachs:[],fwBodyfile:{},corpLeaders:[],innerDepts:[],treeNodes:[],commomTree:[],corpOrgs:null,gwjhOrgs:null}},computed:er({},re(["loginUser"])),watch:{},created:function(){this.$bus.on("btnSendFileClick",this.btnSendFileClick)},beforeDestroy:function(){this.$bus.off("btnSendFileClick",this.btnSendFileClick)},mounted:function(){},methods:{btnSendFileClick:function(e,t,n){var r=this;if(!0!==this.dialogFormVisible){new Promise((function(t,n){1===e.vo.flBeenSend?r.$confirm(r.$tx("gwgl.messages.continueConfirm","文件已发送,是否继续本次发送?"),r.$tx("common.confirmOperate","确认操作"),{type:"warning"}).then(Zn(Kn().mark((function e(){return Kn().wrap((function(e){while(1)switch(e.prev=e.next){case 0:t(!0);case 1:case"end":return e.stop()}}),e)})))).catch((function(e){"cancel"!==e&&console.error(e),n(e)})):t(!0)})).then((function(a){a&&e.formValidate((function(){if(r.wfInstance=e.wfInstance,r.busiData=e.vo,null!=e.bodyfile&&void 0!==e.bodyfile.id){for(var a=0;a<e.attachments.length;a++){var o=e.attachments[a];if("ATTACH"===o.fileType&&void 0===o.id)return void e.$alert(r.$tx("gwgl.messages.noSaveAlert","公文附件有更新,请先执行“保存”操作后再发送!"),r.$tx("common.operationTip","操作提示"),{type:"warning"})}r.sendType=t,r.sendArea=n,r.dialogFormVisible=!0,r.$nextTick((function(){"all"===r.sendType?(r.getFwBodyfile(e),r.getSendFileInfoAll(e)):(r.getFwBodyfile(e),r.getSendFileInfo(e))}))}else e.$alert(r.$tx("gwgl.messages.noZwFile","没有正文文件,不能发送。"),r.$tx("common.operationTip","操作提示"),{type:"warning"})}))}))}},getFwBodyfile:function(e){var t=this;if(e.attachments.forEach((function(e){"ATTACH"===e.fileType&&void 0!==e.id&&(e.needSend=!0,e.sendCount=0,t.fwAttachs.push(JSON.parse(JSON.stringify(e))))})),null!=e.bodyfile){if(".pdf"===e.bodyfile.fileName.substring(e.bodyfile.fileName.lastIndexOf(".")).toLowerCase())this.fwBodyfile=e.bodyfile;else for(var n=e.bodyfile.originalName.substring(0,e.bodyfile.originalName.lastIndexOf(".")),r=0;r<e.attachments.length;r++)if(e.attachments[r].id!==e.bodyfile.id&&e.attachments[r].originalName===n+".pdf"){this.fwBodyfile=e.attachments[r];break}null!=this.fwBodyfile&&void 0!==this.fwBodyfile.id||(this.fwBodyfile=e.bodyfile),this.fwBodyfile.needSend=!0,console.log("fwBodyfile",this.fwBodyfile)}},getSendFileInfo:function(e){var t=this;e.$http({method:"GET",contentType:"application/x-www-form-urlencoded",params:{sendType:"dept",fwOrgId:this.wfInstance.createOrgId.split("-")[0],sendArea:this.sendArea,busiType:e.wfInstance.module},url:"gwjh/sendFile/getSendFileInfo"}).then((function(n){"success"===n.code?(t.corpLeaders=n.body.corpLeaders,t.innerDepts=n.body.innerDepts,t.gwjhOrgs=n.body.gwjhOrgs,t.treeNodes=n.body.treeNodes,t.gwjhOrgs&&(t.gwjhOrgs=t.gwjhOrgs.filter((function(e){if(!e.ocode||e.ocode&&"plat"!==e.ocode)return!0})))):e.$alert(n.message,e.$tx("common.operationTip","操作提示"),{type:"error"})})),e.$http({method:"GET",contentType:"application/x-www-form-urlencoded",params:{sendType:"corp",fwOrgId:this.wfInstance.createOrgId.split("-")[0],sendArea:this.sendArea,busiType:e.wfInstance.module},url:"gwjh/sendFile/getSendFileInfo"}).then((function(n){"success"===n.code?(t.corpOrgs=n.body.corpOrgs,t.corpOrgs&&(t.corpOrgs=t.corpOrgs.filter((function(e){if(!e.ocode||e.ocode&&"plat"!==e.ocode)return!0})))):e.$alert(n.message,e.$tx("common.operationTip","操作提示"),{type:"error"})}))},getSendFileInfoAll:function(e){var t=this;t.corpLeaders=[],t.innerDepts=[],t.corpOrgs=[],t.commomTree=[],this.getCommonGroup().then((function(n){"success"===n.code?e.$http({method:"get",contentType:"application/x-www-form-urlencoded",url:"gwjh/sendFile/getSendFileInfo",params:{sendType:"deptAndCorp",fwOrgId:t.wfInstance.createOrgId.split("-")[0],busiType:"fawen",sendArea:t.sendArea}}).then((function(r){if("success"===r.code){t.corpLeaders=r.body.corpLeaders||[],t.innerDepts=r.body.innerDepts||[],t.corpOrgs=r.body.corpOrgs||[],t.corpOrgs.length&&t.corpOrgs.forEach((function(e){e.fullID.indexOf("-")?e.id=e.fullID.split("-")[e.fullID.split("-").length-1]:e.id=e.fullID,e.parentId=e.parentID?e.parentID:null}));var a=n.body.listdata;a.length>0?(a.forEach((function(e){t.commomTree.push(e);var n=e.passenger.commonGroupInfoList;a.length>0&&(t.commomTree=t.commomTree.concat(n))})),t.commomTree.forEach((function(e){e.orderNo=e.orderNo?e.orderNo:9999}))):t.commomTree=[]}else e.$alert(r.message,e.$tx("common.operationTip","操作提示"),{type:"error"})})):e.$alert(res.message,e.$tx("common.operationTip","操作提示"),{type:"error"})}))},getCommonGroup:function(){var e=this;return new Promise((function(t,n){e.$http({method:"POST",contentType:"application/x-www-form-urlencoded",url:"gwgl/commonGroup/querydata",params:{orderBy:"orderNo asc"},data:[{compare:"=",field:"orgCode",merge:!0,value:e.loginUser.orgCode},{compare:"=",field:"createrId",merge:!0,value:e.loginUser.personId},{compare:"=",field:"status",merge:!0,value:1}]}).then((function(e){t(e)}))}))}}},or=ar,ir=m(or,Ct,Ot,!1,null,"242a0972",null),sr=ir.exports,lr=function(){var e=this,t=e._self._c;return t("LRLayout",[t("LeftPanel",[t("GiantTree",{attrs:{nodes:e.treeData},on:{onCreated:e.onTreeCreated,onClick:e.onTreeNodeClick}})],1),t("RightPanel",[t("orgOrganization",{attrs:{vo:e.orgOrganization,"z-tree":e.zTree,"is-click":e.isClick,"node-name":e.nodeName}})],1)],1)},dr=[],cr=function(){var e=this,t=e._self._c;return t("div",[t("PageContent",{attrs:{title:e.title}},[null!==e.vo&&e.isClick&&0!==e.vo.gwjhLevel?t("orgOrganizationForm",{ref:"orgOrganizationForm",attrs:{vo:e.vo,"can-edit":0}}):e._e(),null!==e.vo?t("div",{attrs:{slot:"footer"},slot:"footer"},[""!==e.nodeName&&e.vo&&e.vo.gwjhLevel<2?t("el-button",{attrs:{plain:"",icon:"el-icon-plus"},on:{click:e.addObject}},[e._v(e._s(0===e.vo.gwjhLevel?e.$tx("gwgl.pageBtns.addCommonGroup","添加常用组"):e.$tx("gwgl.pageBtns.addChildCommonGroup","添加子常用组")))]):e._e(),null!==e.vo&&0!==e.vo.gwjhLevel?t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"changeCommonGroup",expression:"'changeCommonGroup'"}],attrs:{plain:"",icon:"el-icon-edit"},on:{click:function(t){return e.editObject(e.vo)}}},[e._v("修改常用组")]):e._e(),null!==e.vo&&0!==e.vo.gwjhLevel?t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"delCommonGroup",expression:"'delCommonGroup'"}],attrs:{plain:"",icon:"el-icon-close"},on:{click:function(t){return e.deleteObject(e.vo)}}},[e._v("删除常用组")]):e._e()],1):t("div",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"noAddManageCommonGroup",expression:"'noAddManageCommonGroup'"}],attrs:{slot:"footer",moduleCode:"gwjh"},slot:"footer"},[e._v("暂未添加管理常用组")])],1),t("Basicform",{attrs:{title:e.title,"win-width":e.moduleInfo.winWidth,"win-height":e.moduleInfo.winHeight,"on-basic-form-before-open":e.onBasicFormBeforeOpen,"on-basic-form-opened":e.onBasicFormOpened,"on-basic-form-before-submit":e.onBasicFormBeforeSubmit,"on-basic-form-submited":e.onBasicFormSubmited},scopedSlots:e._u([{key:"default",fn:function(n){return[t("orgOrganizationForm",{ref:"voForm",attrs:{vo:n.vo,"can-edit":n.canEdit,"module-info":e.moduleInfo}})]}}])})],1)},ur=[],pr=function(){var e=this,t=e._self._c;return t("el-form",{ref:"commonObj",attrs:{model:e.vo}},[t("div",{staticClass:"el-table el-table--fit el-table--border",staticStyle:{width:"100%"}},[t("div",{staticClass:"el-table__body-wrapper"},[t("table",{staticClass:"el-table__body",attrs:{cellspacing:"0",cellpadding:"0",border:"0"}},[t("tbody",[t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"typeName",expression:"'typeName'"}]},[e._v("分类名称")])]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[1===e.canEdit?t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"分类名称",rules:"required|max:25"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-input",{attrs:{name:"typeName",placeholder:e.$tx("gwgl.gwjh.typeNamePlaceholder","请输入分类名称")},model:{value:e.vo.typeName,callback:function(t){e.$set(e.vo,"typeName",t)},expression:"vo.typeName"}})],1)]}}],null,!1,2783147071)}):e._e(),1!==e.canEdit?t("div",{domProps:{innerHTML:e._s(e.vo.typeName)}}):e._e()],1)]),t("tr",[t("td",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"leaders",expression:"'leaders'"}],staticClass:"el-table__cell tdlbl tdw17"},[e._v("领导阅文")]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[1===e.canEdit?t("form-item",{ref:"leaders",attrs:{field:{defaultValue:null,elementCanEdit:"{${canEdit}}",elementCssHeight:null,elementCssWidth:null,elementFormatter:null,elementReadonly:1,elementType:"input",emptyMessage:e.$tx("gwgl.gwjh.leadershipReadingEmptyMessage","请选择领导阅文"),errorMessage:null,formTdAlign:"text-left",formTdColspan:0,isRequired:0,onClickEvent:null,passenger:{},propComment:"",propName:"leaders",propType:"String",textFormatter:"textfield",valueMaxLength:null,valueMinLength:null,model:"vo.leaders",option:[],dialog:1,dialogType:"staff",dialogOrgLevel:"",dialogSubOrgName:"市局领导",dialogShowemail:!1,dialogMultiple:!0,dialogRootOrgCode:e.orgCode},vo:e.corpLeadersTreeObj,"can-edit":e.canEdit}}):e._e(),1!==e.canEdit?t("div",e._l(e.corpLeadersTree,(function(n,r){return t("span",{key:n.id},[e._v(" "+e._s(n.commonName)+" "),r!==e.corpLeadersTree.length-1?t("span",[e._v("、")]):e._e()])})),0):e._e()],1)]),t("tr",[t("td",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"depts",expression:"'depts'"}],staticClass:"el-table__cell tdlbl tdw17"},[e._v("部门收文")]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[1===e.canEdit?t("el-input",{directives:[{name:"select-dialog",rawName:"v-select-dialog",value:"suborg",expression:"'suborg'"}],attrs:{multiple:"true",placeholder:e.$tx("gwgl.gwjh.deptsPlaceholder","部门收文"),name:"depts"},model:{value:e.corpLeadersTreeObj.depts,callback:function(t){e.$set(e.corpLeadersTreeObj,"depts",t)},expression:"corpLeadersTreeObj.depts"}}):e._e(),1!==e.canEdit?t("div",e._l(e.innerDeptsTree,(function(n,r){return t("span",{key:n.id},[e._v(" "+e._s(n.commonName)+" "),r!==e.innerDeptsTree.length-1?t("span",[e._v("、")]):e._e()])})),0):e._e()],1)]),t("tr",[t("td",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"fenju",expression:"'fenju'"}],staticClass:"el-table__cell tdlbl tdw17"},[e._v("单位收文")]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[1===e.canEdit?t("el-input",{directives:[{name:"select-dialog",rawName:"v-select-dialog",value:"allOrg",expression:"'allOrg'"}],attrs:{"value-ids-field":"corpLeadersTreeObj.fenjuId","old-value":e.corpLeadersTreeObj.fenjuId,multiple:"true",placeholder:e.$tx("gwgl.gwjh.subReceivedDocumentsPlaceholder"),name:"fenju"},model:{value:e.corpLeadersTreeObj.fenju,callback:function(t){e.$set(e.corpLeadersTreeObj,"fenju",t)},expression:"corpLeadersTreeObj.fenju"}}):e._e(),1!==e.canEdit?t("div",e._l(e.corpOrgsTree,(function(n,r){return t("span",{key:n.id},[e._v(" "+e._s(n.commonName)+" "),r!==e.corpOrgsTree.length-1?t("span",[e._v("、")]):e._e()])})),0):e._e()],1)]),t("tr",[t("td",{ref:"tdlbl_备注",staticClass:"el-table__cell tdlbl tdw17",attrs:{colspan:"1"}},[t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"remark",expression:"'remark'"}],staticClass:"field"},[e._v("备注")])]),t("td",{staticClass:"el-table__cell tdcont tdw83",attrs:{colspan:"5"}},[t("form-item",{ref:"remark",attrs:{field:{defaultValue:null,elementCanEdit:"{${canEdit}}",elementCssHeight:70,elementCssWidth:null,elementFormatter:null,elementReadonly:0,elementType:"textarea",emptyMessage:e.$tx("gwgl.common.remarkmptyMessage","请输入备注"),errorMessage:null,formTdAlign:"text-left",formTdColspan:0,isRequired:0,onClickEvent:null,passenger:{},propComment:"备注",propName:"remark",propType:"String",textFormatter:"textarea",valueMaxLength:null,valueMinLength:null,model:"vo.remark",option:[]},vo:e.vo,"can-edit":e.canEdit}})],1)]),t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"orderNo",expression:"'orderNo'"}],staticClass:"field"},[e._v("分类排序")])]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[1===e.canEdit?t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"分类排序",rules:"required|integer|max:4"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-input",{attrs:{name:"orderNo",placeholder:e.$tx("gwgl.gwjh.sortCategoryPlaceholder","请输入分类排序")},model:{value:e.vo.orderNo,callback:function(t){e.$set(e.vo,"orderNo",t)},expression:"vo.orderNo"}})],1)]}}],null,!1,3392390922)}):e._e(),1!==e.canEdit?t("div",{domProps:{innerHTML:e._s(e.vo.orderNo)}}):e._e()],1)]),t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"status",expression:"'status'"}],staticClass:"field"},[e._v("状态")])]),t("td",{staticClass:"el-table__cell tdcont tdw83",attrs:{colspan:"3"}},[1===e.canEdit?t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"显示名称",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-radio-group",{directives:[{name:"can-edit",rawName:"v-can-edit"}],staticStyle:{width:"100%"},attrs:{name:"status",placeholder:e.$tx("gwgl.common.statusPlaceholder","请选择状态")},model:{value:e.vo.status,callback:function(t){e.$set(e.vo,"status",t)},expression:"vo.status"}},e._l(e.statusOptions,(function(n,r){return t("el-radio",{key:r,attrs:{label:n.value}},[e._v(e._s(n.text))])})),1)],1)]}}],null,!1,474603353)}):e._e(),1!==e.canEdit?t("div",{domProps:{innerHTML:e._s(1===e.vo.status?e.$tx("common.enable","启用"):e.$tx("common.disable","禁用"))}}):e._e()],1)])])])])])])},mr=[],fr=n(4692),hr=n.n(fr);function gr(e){return gr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},gr(e)}function yr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _r(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?yr(Object(n),!0).forEach((function(t){vr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function vr(e,t,n){return(t=br(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function br(e){var t=wr(e,"string");return"symbol"==gr(t)?t:t+""}function wr(e,t){if("object"!=gr(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=gr(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}window.jQuery||(window.jQuery=hr());var Mr={components:{},props:{vo:{type:Object,default:function(){return{}}},canEdit:{type:Number,default:1}},data:function(){return{i18npkg:"gwgl",moduleCode:"gwjh",statusOptions:[{value:1,text:this.$tx("common.enable","启用")},{value:2,text:this.$tx("common.disable","禁用")}],corpLeadersTree:[],innerDeptsTree:[],corpOrgsTree:[],corpLeadersTreeObj:{typeName:"",leaders:"",depts:"",fenju:"",remark:"",orderNo:"",status:""}}},computed:_r({},re(["loginUser"])),watch:{},created:function(){this.$bus.on("treeNodeDataList",this.getTreeNode)},beforeDestroy:function(){this.$bus.off("treeNodeDataList",this.getTreeNode)},mounted:function(){this.getTreeNode(this.vo)},methods:{getTreeNode:function(e){var t=this;console.log(e,"val"),this.corpLeadersTree=[],this.innerDeptsTree=[],this.corpOrgsTree=[],e.passenger.commonGroupInfoList.forEach((function(e){"corpLeadersTree"===e.type?t.corpLeadersTree.push(e):"innerDeptsTree"===e.type?t.innerDeptsTree.push(e):"corpOrgsTree"===e.type&&t.corpOrgsTree.push(e)})),this.corpLeadersTreeObj.typeName=this.vo.typeName,this.corpLeadersTreeObj.remark=this.vo.remark,this.corpLeadersTreeObj.orderNo=this.vo.orderNo,this.corpLeadersTreeObj.status=this.vo.status;var n="";this.corpLeadersTree.forEach((function(e){n+=e.commonName+"、"})),n=n.substring(0,n.length-1),this.$set(this.corpLeadersTreeObj,"leaders",n);var r="";this.innerDeptsTree.forEach((function(e){r+=e.commonName+"、"})),r=r.substring(0,r.length-1),this.$set(this.corpLeadersTreeObj,"depts",r);var a="",o="";this.corpOrgsTree.forEach((function(e){a+=e.commonName+"、",o+=e.commonId+","})),a=a.substring(0,a.length-1),this.$set(this.corpLeadersTreeObj,"fenju",a),this.$set(this.corpLeadersTreeObj,"fenjuId",o),console.log(this.corpLeadersTreeObj,"this.corpLeadersTreeObj")},onSelectSuborgCompleted:function(e,t){if("depts"===t.name){e.forEach((function(e){e.nodeTreeType="innerDeptsTree"})),this.innerDeptsTree=e;var n="";this.innerDeptsTree.forEach((function(e){n+=e.name+"、"})),n=n.substring(0,n.length-1),this.$set(this.corpLeadersTreeObj,"depts",n)}},onSelectAllOrgCompleted:function(e,t){if("fenju"===t.name){e.forEach((function(e){e.nodeTreeType="corpOrgsTree"})),this.corpOrgsTree=e;var n="";this.corpOrgsTree.forEach((function(e){n+=e.fullName+"、"})),n=n.substring(0,n.length-1),this.$set(this.corpLeadersTreeObj,"fenju",n)}},onSelectStaffCompleted:function(e,t){if(console.log(t,"attr"),"leaders"===t.name){e.forEach((function(e){e.nodeTreeType="corpLeadersTree"})),this.corpLeadersTree=e;var n="";this.corpLeadersTree.forEach((function(e){n+=e.name+"、"})),n=n.substring(0,n.length-1),this.$set(this.corpLeadersTreeObj,"leaders",n)}},onSelectTreeDataLoaded:function(e,t){var n=this;return console.log(t,"attr","treedata",e),"fenju"===t.name&&(e=e.filter((function(e){return e.ocode!==n.loginUser.orgCode}))),e}}},Lr=Mr,Tr=(n(9651),m(Lr,pr,mr,!1,null,"5f22d162",null)),xr=Tr.exports;function Dr(e){return Dr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Dr(e)}function kr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Sr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?kr(Object(n),!0).forEach((function(t){Yr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):kr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Yr(e,t,n){return(t=jr(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jr(e){var t=Cr(e,"string");return"symbol"==Dr(t)?t:t+""}function Cr(e,t){if("object"!=Dr(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Dr(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var Or={components:{orgOrganizationForm:xr},props:{vo:{type:Object,default:function(){return{}}},zTree:{type:Object,default:function(){return{}}},isClick:{type:Boolean,default:!1},nodeName:{type:String,default:function(){return""}}},data:function(){return{title:this.$tx("gwgl.gwjh.commonGroupSettingTitle"),moduleInfo:{moduleCode:"Module",addNewUrl:"gwgl/commonGroup/addNew",insertUrl:"gwgl/commonGroup/insert",getByIdUrl:"gwgl/commonGroup/getById",updateUrl:"gwgl/commonGroup/update",delUrl:"gwgl/commonGroup/delete",winWidth:900,winHeight:600},opearType:""}},computed:Sr({},re(["loginUser"])),watch:{},created:function(){this.$bus.on("addMenu",this.addMenu),this.$bus.on("editMenu",this.editMenu),this.$bus.on("deleteMenu",this.deleteMenu),console.log(72,this.vo)},beforeDestroy:function(){this.$bus.off("addMenu",this.addMenu),this.$bus.off("editMenu",this.editMenu),this.$bus.off("deleteMenu",this.deleteMenu)},mounted:function(){},methods:{addObject:function(){this.opearType="add";var e=this.moduleInfo.addNewUrl.split("?")[0];e+="?parentId=",0===this.vo.gwjhLevel?(this.moduleInfo.addNewUrl=e,this.moduleInfo.orgLevel=1,this.moduleInfo.parentId="0"):(this.moduleInfo.addNewUrl=e+this.vo.id,this.moduleInfo.orgLevel=2,this.moduleInfo.parentId=this.vo.id,this.moduleInfo.creatorOrgName=this.vo.name,this.moduleInfo.orgCode=this.vo.orgCode),this.$bus.emit("openBusiform",this.moduleInfo,null,1)},editObject:function(e){console.log(97,e),this.opearType="edit",this.$bus.emit("openBusiform",this.moduleInfo,this.vo,1)},deleteObject:function(e){var t=this;console.log(e,"node"),console.log(this.zTree,"this.zTree"),this.opearType="delete";var n=this.$tx("gwgl.messages.confirmDel",{val:e.typeName},"确认删除“val”吗?");e.children&&e.children.length>0&&(n=this.$tx("gwgl.messages.confirmDel2",{val:e.typeName},"确认删除“{val}”及下级全部类型吗?")),this.$confirm(n,{type:"warning"}).then((function(){t.$http({method:"DELETE",contentType:"application/x-www-form-urlencoded",params:{ids:e.id},url:t.moduleInfo.delUrl}).then((function(e){"success"===e.code?(t.$bus.emit("refreshTreeData",null),t.$message.success(e.message)):t.$alert(e.message,{type:"error"})}))}))},onBasicFormBeforeOpen:function(e,t,n){n.resolve(!0)},onBasicFormOpened:function(e,t){0},onBasicFormBeforeSubmit:function(e,t,n){var r=this;t.createrId=this.loginUser.personId,t.creater=this.loginUser.personName;var a=this.$refs.voForm.corpLeadersTree||[],o=this.$refs.voForm.corpOrgsTree||[],i=this.$refs.voForm.innerDeptsTree,s=[];s=s.concat(a,o,i);var l=[];s.forEach((function(e){var n={};n.commonName=e.fullName||e.commonName||e.name,n.commonId=e.commonId||e.id||e.fullID,n.parentId=t.id,n.createrId=r.loginUser.personId,n.creater=r.loginUser.personName,n.type=e.commonId?e.type:e.nodeTreeType,l.push(n)})),t.passenger.commonGroupInfoList=l,n.resolve(!0)},onBasicFormSubmited:function(e,t){this.vo.typeName=t.typeName,this.$bus.emit("refreshTreeData",null),this.$bus.emit("updateVo",t),this.vo.passenger=t.passenger,this.$refs.orgOrganizationForm&&this.$refs.orgOrganizationForm.getTreeNode(t)}}},Nr=Or,Pr=m(Nr,cr,ur,!1,null,"05324ec5",null),Er=Pr.exports;function Hr(e){return Hr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Hr(e)}function Fr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ar(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Fr(Object(n),!0).forEach((function(t){$r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function $r(e,t,n){return(t=Ir(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ir(e){var t=zr(e,"string");return"symbol"==Hr(t)?t:t+""}function zr(e,t){if("object"!=Hr(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Hr(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var Rr={components:{orgOrganization:Er},props:{},data:function(){return{moduleInfo:{getByIdUrl:"gwgl/commonGroup/getById",loadTreeNodeUrl:"gwgl/commonGroup/querydata"},root:null,orgOrganization:{passenger:{commonGroupInfoList:[]}},treeData:[],zTree:{},nodeName:"",isClick:!1}},computed:Ar({},re(["loginUser"])),watch:{orgOrganization:{deep:!0,immediate:!0,handler:function(e,t){}}},created:function(){this.root={id:"0",name:"全部分组",open:!0,title:"全部分组",parentId:null,gwjhLevel:0},this.loadExpenseThype(),this.$bus.emit("showNavSearch",!1),this.$bus.on("refreshTreeData",this.refreshTreeData),this.$bus.on("updateVo",this.updateVo)},beforeDestroy:function(){this.$bus.emit("showNavSearch",!0),this.$bus.off("updateVo",this.updateVo),this.$bus.off("refreshTreeData",this.refreshTreeData)},mounted:function(){},methods:{loadExpenseThype:function(){var e=this;console.log("this.loginUser",this.loginUser),this.$http({method:"POST",contentType:"application/x-www-form-urlencoded",data:[{compare:"=",field:"orgCode",merge:!0,value:this.loginUser.orgCode},{compare:"=",field:"createrId",merge:!0,value:this.loginUser.personId}],url:"gwgl/commonGroup/querydata",params:{orderBy:"orderNo asc"}}).then((function(t){"success"===t.code?(console.log(t.body.listdata,"res.body.listdata"),t.body.listdata.forEach((function(e){e.title=e.typeName,e.name=e.typeName})),e.treeData=e.treeDataAdapter([e.root].concat(t.body.listdata)),console.log(e.treeData,"this.treeData")):e.$alert(t.message,e.$tx("common.operationTip","操作提示"),{type:"error"})}))},treeDataAdapter:function(e){var t=this;return e.forEach((function(e){"0"!=e.id&&(e.pId=t.root.id,e.parentId=t.root.id),e.title=e.name})),e},refreshTreeData:function(e){null===e?this.loadExpenseThype():this.treeData=this.treeDataAdapter([this.root].concat(e))},updateVo:function(e){var t=this;this.$set(this.orgOrganization,"typeName",e.typeName),this.$set(this.orgOrganization,"name",e.typeName),this.$set(this.orgOrganization,"title",e.typeName),this.treeData.forEach((function(n,r){n.id===e.id&&(t.$set(t.treeData[r],"typeName",e.typeName),t.$set(t.treeData[r],"name",e.typeName),t.$set(t.treeData[r],"title",e.typeName))})),setTimeout((function(){var n=t.zTree.getNodes();n.forEach((function(n){n.id===e.id&&(t.zTree.selectNode(n),t.onTreeNodeClick("",e.id,n))}))}),1e3)},onTreeNodeClick:function(e,t,n){var r=this;this.isClick=!0,this.nodeName=n.name;var a=JSON.parse(JSON.stringify(this.root));this.root=null,this.$nextTick((function(e){0===n.gwjhLevel?r.orgOrganization=n:void 0===n.pId||null===n.pId?r.orgOrganization=null:r.getExpenseType(n.id,n),r.root=a})),console.log(148,n),"全部分组"!==n.name&&this.$nextTick((function(){r.$bus.emit("treeNodeDataList",n)}))},onTreeCreated:function(e){this.zTree=e;var t=e.getNodes();t.length>0&&(this.onTreeNodeClick("",t[0].id,t[0]),e.selectNode(t[0]))},getExpenseType:function(e,t){var n=this;this.$http({method:"GET",contentType:"application/x-www-form-urlencoded",params:{id:e,canEdit:0},url:this.moduleInfo.getByIdUrl}).then((function(e){if("success"===e.code){var t=e.body.vo;n.orgOrganization=t}else n.$alert(e.message,n.$tx("common.operationTip","操作提示"),{type:"error"})}))}}},Wr=Rr,Gr=m(Wr,lr,dr,!1,null,"b0c031a2",null),Br=Gr.exports,Ur=function(){var e=this,t=e._self._c;return t("LRLayout",[t("LeftPanel",[t("GiantTree",{attrs:{nodes:e.treeData},on:{onCreated:e.onTreeCreated,onClick:e.onTreeNodeClick}})],1),t("RightPanel",[t("orgOrganization",{attrs:{vo:e.orgOrganization,"z-tree":e.zTree,"is-click":e.isClick,"node-name":e.nodeName}})],1)],1)},qr=[],Vr=function(){var e=this,t=e._self._c;return t("div",[t("PageContent",{attrs:{title:e.title}},[null!==e.vo&&e.isClick&&0!==e.vo.gwjhLevel?t("orgOrganizationForm",{attrs:{vo:e.vo,"can-edit":0}}):e._e(),null!==e.vo?t("div",{attrs:{slot:"footer"},slot:"footer"},[""!==e.nodeName&&e.vo&&e.vo.gwjhLevel<2?t("el-button",{attrs:{plain:"",icon:"el-icon-plus"},on:{click:e.addObject}},[e._v(e._s(0===e.vo.gwjhLevel?e.$tx("gwgl.gwjh.addInstitution","添加机构"):e.$tx("gwgl.gwjh.addChildInstitution","添加子机构")))]):e._e(),null!==e.vo&&0!==e.vo.gwjhLevel?t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"updateInstitution",expression:"'updateInstitution'"}],attrs:{plain:"",icon:"el-icon-edit","module-code":"gwjh"},on:{click:function(t){return e.editObject(e.vo)}}},[e._v("修改机构")]):e._e(),null!==e.vo&&0!==e.vo.gwjhLevel?t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"delInstitution",expression:"'delInstitution'"}],attrs:{plain:"",icon:"el-icon-close","module-code":"gwjh"},on:{click:function(t){return e.deleteObject(e.vo)}}},[e._v("删除机构")]):e._e()],1):t("div",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"isNoAddInstitutionisNoAddInstitution",expression:"'isNoAddInstitutionisNoAddInstitution'"}],attrs:{slot:"footer",moduleCode:"gwjh"},slot:"footer"},[e._v("暂未添加管理机构")])],1),t("Basicform",{attrs:{title:e.title,"win-width":e.moduleInfo.winWidth,"win-height":e.moduleInfo.winHeight,"on-basic-form-before-open":e.onBasicFormBeforeOpen,"on-basic-form-opened":e.onBasicFormOpened,"on-basic-form-before-submit":e.onBasicFormBeforeSubmit,"on-basic-form-submited":e.onBasicFormSubmited},scopedSlots:e._u([{key:"default",fn:function(n){return[t("orgOrganizationForm",{attrs:{vo:n.vo,"can-edit":n.canEdit,"module-info":e.moduleInfo}})]}}])})],1)},Jr=[],Kr=function(){var e=this,t=e._self._c;return t("el-form",{attrs:{model:e.vo}},[t("div",{staticClass:"el-table el-table--fit el-table--border"},[t("div",{staticClass:"el-table__body-wrapper"},[t("table",{staticClass:"el-table__body",attrs:{cellspacing:"0",cellpadding:"0",border:"0"}},[t("tbody",[1!=e.vo.orgLevel&&e.canEdit?t("tr",[t("td",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"orgLevel",expression:"'orgLevel'"}],staticClass:"el-table__cell tdlbl tdw17",attrs:{colspan:"1"}},[e._v("上级机构")]),t("td",{staticClass:"el-table__cell tdcont tdw83",attrs:{colspan:"5"}},[t("div",{domProps:{innerHTML:e._s(e.vo.creatorOrgName)}})])]):e._e(),t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17",attrs:{colspan:"1"}},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"orgName",expression:"'orgName'"}]},[e._v("机构名称")])]),t("td",{staticClass:"el-table__cell tdcont tdw83",attrs:{colspan:"5"}},[1===e.canEdit?t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"机构名称",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-input",{attrs:{placeholder:e.$tx("gwgl.gwjh.orgNamePlaceholder","请选择机构名称")},model:{value:e.vo.name,callback:function(t){e.$set(e.vo,"name",t)},expression:"vo.name"}})],1)]}}],null,!1,3177146174)}):e._e(),1!==e.canEdit?t("div",{domProps:{innerHTML:e._s(e.vo.name)}}):e._e()],1)]),e.canEdit&&1===e.vo.orgLevel?t("tr",[t("td",{ref:"tdlbl_机构名称",staticClass:"el-table__cell tdlbl tdw17",attrs:{colspan:"1"}},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"orgName",expression:"'orgName'"}],staticClass:"field"},[e._v("机构名称")])]),t("td",{staticClass:"el-table__cell tdcont tdw83",attrs:{colspan:"5"}},[t("form-item",{ref:"orgName",attrs:{field:{defaultValue:null,elementCanEdit:"{${canEdit}}",elementCssHeight:null,elementCssWidth:null,elementFormatter:null,elementReadonly:1,elementType:"input",emptyMessage:e.$tx("gwgl.gwjh.orgNameEmpty","请输入机构名称"),errorMessage:null,formTdAlign:"text-left",formTdColspan:0,isRequired:1,onClickEvent:null,passenger:{},propComment:"机构名称",propName:"orgName",propType:"String",textFormatter:"textfield",valueMaxLength:150,valueMinLength:null,model:"vo.orgName",option:[],showWordLimit:!1,dialog:1,dialogType:"rootorg",dialogOrgLevel:"",dialogMultiple:!1},vo:e.vo,"can-edit":e.canEdit}})],1)]):e._e(),e.canEdit&&2===e.vo.orgLevel?t("tr",[t("td",{ref:"tdlbl_机构名称",staticClass:"el-table__cell tdlbl tdw17",attrs:{colspan:"1"}},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"orgName",expression:"'orgName'"}],staticClass:"field"},[e._v("机构名称")])]),t("td",{staticClass:"el-table__cell tdcont tdw83",attrs:{colspan:"5"}},[t("el-input",{directives:[{name:"select-dialog",rawName:"v-select-dialog",value:"suborg",expression:"'suborg'"}],attrs:{"org-level":"2","dialog-title":e.$tx("gwgl.gwjh.fields.orgName","机构名称"),multiple:"false","root-org-code":e.vo.orgCode,placeholder:e.$tx("gwgl.gwjh.orgNamePlaceholder","请选择机构名称"),name:"name"},model:{value:e.vo.name,callback:function(t){e.$set(e.vo,"name",t)},expression:"vo.name"}})],1)]):e._e(),e.canEdit?e._e():t("tr",[t("td",{ref:"tdlbl_级别 ",staticClass:"el-table__cell tdlbl tdw17",attrs:{colspan:"1"}},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"level",expression:"'level'"}],staticClass:"field"},[e._v("级别")])]),t("td",{staticClass:"el-table__cell tdcont tdw83",attrs:{colspan:"5"}},[e.vo.orgLevel?t("div",[e._v(e._s(e.vo.orgLevel?e.orgLevelOptions[e.vo.orgLevel-1].text:""))]):e._e()])]),t("tr",[t("td",{ref:"tdlbl_备注",staticClass:"el-table__cell tdlbl tdw17",attrs:{colspan:"1"}},[t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"remark",expression:"'remark'"}],staticClass:"field"},[e._v("备注")])]),t("td",{staticClass:"el-table__cell tdcont tdw83",attrs:{colspan:"5"}},[t("form-item",{ref:"remark",attrs:{field:{defaultValue:null,elementCanEdit:"{${canEdit}}",elementCssHeight:70,elementCssWidth:null,elementFormatter:null,elementReadonly:0,elementType:"textarea",emptyMessage:e.$tx("gwgl.common.remarkmptyMessage","请输入备注"),errorMessage:null,formTdAlign:"text-left",formTdColspan:0,isRequired:0,onClickEvent:null,passenger:{},propComment:"备注",propName:"remark",propType:"String",textFormatter:"textarea",valueMaxLength:null,valueMinLength:null,model:"vo.remark",option:[]},vo:e.vo,"can-edit":e.canEdit}})],1)]),t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17",attrs:{colspan:"1"}},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"orderNo",expression:"'orderNo'"}]},[e._v("排序")])]),t("td",{staticClass:"el-table__cell tdcont tdw83",attrs:{colspan:"5"}},[1===e.canEdit?t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"排序",rules:"required|length:4"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[1===e.canEdit?t("el-input",{directives:[{name:"can-edit",rawName:"v-can-edit"}],attrs:{name:"orderNo",placeholder:e.$tx("gwgl.gwjh.orderPlaceholder","请输入4位数字排序号")},model:{value:e.vo.orderNo,callback:function(t){e.$set(e.vo,"orderNo",t)},expression:"vo.orderNo"}}):e._e()],1)]}}],null,!1,882135480)}):e._e(),1!==e.canEdit?t("div",{domProps:{innerHTML:e._s(e.vo.orderNo)}}):e._e()],1)]),t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17",attrs:{colspan:"1"}},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"status",expression:"'status'"}],staticClass:"field"},[e._v("状态")])]),t("td",{staticClass:"el-table__cell tdcont tdw83",attrs:{colspan:"5"}},[1===e.canEdit?t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"显示名称",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-radio-group",{directives:[{name:"can-edit",rawName:"v-can-edit"}],staticStyle:{width:"100%"},attrs:{name:"status",placeholder:e.$tx("gwgl.common.statusPlaceholder","请选择状态")},model:{value:e.vo.status,callback:function(t){e.$set(e.vo,"status",t)},expression:"vo.status"}},e._l(e.statusOptions,(function(n,r){return t("el-radio",{key:r,attrs:{label:n.value}},[e._v(e._s(n.text))])})),1)],1)]}}],null,!1,474603353)}):e._e(),1!==e.canEdit?t("div",{domProps:{innerHTML:e._s(1===e.vo.status?e.$tx("common.enable","启用"):e.$tx("common.disable","禁用"))}}):e._e()],1)])])])])])])},Qr=[];function Zr(e){return Zr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Zr(e)}function Xr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ea(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Xr(Object(n),!0).forEach((function(t){ta(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ta(e,t,n){return(t=na(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function na(e){var t=ra(e,"string");return"symbol"==Zr(t)?t:t+""}function ra(e,t){if("object"!=Zr(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Zr(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}window.jQuery||(window.jQuery=hr());var aa={components:{},props:{vo:{type:Object,default:function(){return{}}},canEdit:{type:Number,default:1}},data:function(){return{i18npkg:"gwgl",moduleCode:"gwjh",statusOptions:[{value:1,text:this.$tx("common.enable","启用")},{value:2,text:this.$tx("common.disable","禁用")}],orgLevelOptions:[{value:1,text:this.$tx("gwgl.gwjh.orgLevelOptions1","一级(公司级)")},{value:2,text:this.$tx("gwgl.gwjh.orgLevelOptions2","二级(部门级)")}],lendAsOptions:[],loanAsOptions:[],cascaderProps:{value:"id",label:"name",checkStrictly:!1}}},computed:ea({},re(["loginUser"])),watch:{},created:function(){console.log(142,this.$vnode.context.moduleInfo),this.$vnode.context.moduleInfo.orgLevel&&(null===this.vo.orgLevel&&(this.vo.orgLevel=this.$vnode.context.moduleInfo.orgLevel,this.vo.gwjhLevel=this.$vnode.context.moduleInfo.orgLevel),null===this.vo.parentId&&(1===this.vo.orgLevel?this.vo.parentId="0":(this.vo.parentId=this.$vnode.context.moduleInfo.parentId,this.vo.creatorOrgName=this.$vnode.context.moduleInfo.creatorOrgName)),this.$vnode.context.moduleInfo.orgCode&&(this.vo.orgCode=this.$vnode.context.moduleInfo.orgCode),null===this.vo.status&&(this.vo.status=1),this.vo.subUnint=0),console.log(this.vo,"vo",this.vo.orgCode)},beforeDestroy:function(){},mounted:function(){console.log(this.$refs.orgNameSon,"orgNameSon")},methods:{onSelectRootorgCompleted:function(e,t){console.log(e,t,"主机构");var n="",r="",a="",o="",i="",s="",l="",d="";e.forEach((function(e){""!==n&&(n+="、"),""!==r&&(r+="、"),""!==a&&(a+="、"),""!==i&&(i+="、"),""!==o&&(o+="、"),""!==s&&(s+="、"),""!==l&&(l+="、"),""!==d&&(d+="、"),n+=e.name,r+=e.ocode,a+=e.id,o+=e.id,i+=e.name,s+=e.id,l+=e.orgfullName,d+=e.orderNo})),this.$set(this.vo,"name",i),this.$set(this.vo,"orgName",n),this.$set(this.vo,"orgCode",r),this.$set(this.vo,"orgId",a),this.$set(this.vo,"orgFullId",o),this.$set(this.vo,"fullId",s),this.$set(this.vo,"fullName",l),this.$set(this.vo,"orderNo",d)},onSelectSuborgCompleted:function(e,t){console.log(e,t,"子机构");var n="",r="",a="",o="",i="",s="",l="";e.forEach((function(e){""!==n&&(n+="、"),""!==o&&(o+="、"),""!==r&&(r+="、"),""!==a&&(a+="、"),""!==i&&(i+="、"),""!==s&&(s+="、"),""!==l&&(l+="、"),n+=e.name,o+=e.orgFullName,r+=e.id,a+=e.orgFullId,i+=e.name,s+=e.id,l+=e.orderNo})),this.$set(this.vo,"orgName",n),this.$set(this.vo,"fullName",o),this.$set(this.vo,"orgId",r),this.$set(this.vo,"orgFullId",a),this.$set(this.vo,"name",i),this.$set(this.vo,"fullId",s),this.$set(this.vo,"orderNo",l)}}},oa=aa,ia=(n(7867),m(oa,Kr,Qr,!1,null,"10a373f3",null)),sa=ia.exports,la=function(){var e=this,t=e._self._c;return t("div",{staticClass:"export-box"},[t("table",{staticStyle:{"text-align":"left"}},[t("tr",[t("td",{staticStyle:{width:"110px"}},[t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"importOrgTitle",expression:"'importOrgTitle'"}],staticClass:"row-col",staticStyle:{"font-weight":"600"}},[e._v("清远市公安局政务OA系统导入:")])]),t("td",[t("div",{staticClass:"row-col"},[t("el-upload",{ref:"upload",staticClass:"upload-demo",attrs:{accept:".xls",action:e.base_api+"/gwjh/orgOrganization/ImportorgOrganization",data:e.uploadDdta,multiple:!1,"file-list":e.fileList,"on-change":e.fileChange,"on-success":e.uploadSuccess,"auto-upload":!1,"with-credentials":!0,"show-file-list":!0,disabled:!1,"on-remove":e.uploadRemove,limit:1}},[null==e.fileList||0==e.fileList.length?t("el-button",{attrs:{slot:"trigger"},slot:"trigger"},[t("svg-icon",{attrs:{"icon-class":"add"}}),t("span",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"selectFile",expression:"'selectFile'"}]},[e._v("选择文件")])],1):e._e()],1),t("el-button",{staticStyle:{"margin-left":"10px"},attrs:{disabled:e.doing},on:{click:e.startUpload}},[t("svg-icon",{attrs:{"icon-class":"import"}}),t("span",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"startImport",expression:"'startImport'"}]},[e._v("开始导入")])],1)],1)])]),t("tr",[t("td",{attrs:{colspan:"2"}},[t("div",{staticClass:"tip"},[t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"uploadIllustrate",expression:"'uploadIllustrate'"}],staticStyle:{"font-weight":"600"}},[e._v("上传文件内容格式说明:")]),t("br"),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"uploadIllustrateOne",expression:"'uploadIllustrateOne'"}],staticStyle:{"font-size":"var(--portalFontSize13)"}},[e._v("1.导入文件应为Office Excel文件;")]),t("br"),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"uploadIllustrateTwo",expression:"'uploadIllustrateTwo'"}],staticStyle:{"font-size":"var(--portalFontSize13)"}},[e._v("2.导入文件暂不支持Office 2007及以后版本的Excel文件,如您使用的是Office 2007及以后版本,请把Excel文件转换为2003或之前的版本格式,具体转换方式为:打开的Excel文件中,选择“另存为”->“Excel 97-2003工作簿”;")]),t("br"),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"uploadIllustrateThree",expression:"'uploadIllustrateThree'"}],staticStyle:{"font-size":"var(--portalFontSize13)"}},[e._v("3.进行导入操作时,请确保您导入的文件并未处于使用状态。")]),t("br"),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"example",expression:"'example'"}],staticStyle:{"font-weight":"600"}},[e._v("上传文件内容示例:")]),t("span",[t("a",{attrs:{title:e.$tx("gwgj.gwjh.clickDown")},on:{click:function(t){return e.fileDownload("/templates/costType1.xls")}}},[t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"downText",expression:"'downText'"}],staticStyle:{color:"red",width:"100%"}},[e._v("点击下载Excel导入示例")])])])])])])])])},da=[],ca={components:{},props:{},data:function(){return{i18npkg:"gwgl",moduleCode:"gwjh",doing:!1,fileList:[]}},computed:{},watch:{},created:function(){this.base_api="/apigw"},beforeDestroy:function(){},mounted:function(){},methods:{uploadRemove:function(e,t){this.fileList=t},fileChange:function(e,t){this.fileList=[e],this.doing=!1},startUpload:function(){0===this.fileList.length?this.$alert(this.$tx("gwgl.messages.importAlert","请选择导入文件"),this.$tx("common.operationTip","操作提示"),{type:"warning"}):(this.doing=!0,this.$refs.upload.submit())},uploadSuccess:function(e,t,n){var r=this;"success"===e.code?(this.$message({message:e.message,type:"success"}),e.body.listdata&&this.$bus.emit("refreshTreeData",e.body.listdata)):this.$alert(e.message,this.$tx("common.operationTip","操作提示"),{type:"error"}),this.doing=!1,this.fileList=null,this.$nextTick((function(){r.fileList=[]}))}}},ua=ca,pa=(n(2174),m(ua,la,da,!1,null,"67b05f04",null)),ma=pa.exports,fa={components:{orgOrganizationForm:sa,ImportorgOrganization:ma},props:{vo:{type:Object,default:function(){return{}}},zTree:{type:Object,default:function(){return{}}},isClick:{type:Boolean,default:!1},nodeName:{type:String,default:function(){return""}}},data:function(){return{title:this.$tx("gwgl.gwjh.institutionSet"),i18npkg:"gwgl",moduleInfo:{moduleCode:"Module",addNewUrl:"gwjh/orgOrganization/addNew",insertUrl:"gwjh/orgOrganization/crgwjhOrganization",getByIdUrl:"gwjh/orgOrganization/getById",updateUrl:"gwjh/orgOrganization/bcgwjhOrgOrganization",delUrl:"gwjh/orgOrganization/delete",winWidth:900,winHeight:600},opearType:""}},computed:{},watch:{},created:function(){this.$bus.on("addMenu",this.addMenu),this.$bus.on("editMenu",this.editMenu),this.$bus.on("deleteMenu",this.deleteMenu),console.log(72,this.vo)},beforeDestroy:function(){this.$bus.off("addMenu",this.addMenu),this.$bus.off("editMenu",this.editMenu),this.$bus.off("deleteMenu",this.deleteMenu)},mounted:function(){},methods:{addObject:function(){this.opearType="add";var e=this.moduleInfo.addNewUrl.split("?")[0];e+="?parentId=",0===this.vo.gwjhLevel?(this.moduleInfo.addNewUrl=e,this.moduleInfo.orgLevel=1,this.moduleInfo.parentId="0"):(this.moduleInfo.addNewUrl=e+this.vo.id,this.moduleInfo.orgLevel=2,this.moduleInfo.parentId=this.vo.id,this.moduleInfo.creatorOrgName=this.vo.name,this.moduleInfo.orgCode=this.vo.orgCode),this.$bus.emit("openBusiform",this.moduleInfo,null,1)},editObject:function(e){console.log(97,e),this.opearType="edit",this.$bus.emit("openBusiform",this.moduleInfo,this.vo,1)},deleteObject:function(e){var t=this;console.log(e,"node"),console.log(this.zTree,"this.zTree"),this.opearType="delete";var n=this.$tx("gwgl.messages.confirmDel",{val:e.name},"确认删除“${node.name}”吗?");e.children&&e.children.length>0&&(n=this.$tx("gwgl.messages.confirmDel2",{val:e.name},"确认删除“${node.name}”及下级全部类型吗?")),this.$confirm(n,{type:"warning"}).then((function(){t.$http({method:"DELETE",contentType:"application/x-www-form-urlencoded",params:{ids:e.id},url:t.moduleInfo.delUrl}).then((function(e){"success"===e.code?(t.$bus.emit("refreshTreeData",null),t.$message.success(e.message)):t.$alert(e.message,{type:"error"})}))}))},onBasicFormBeforeOpen:function(e,t,n){n.resolve(!0)},onBasicFormOpened:function(e,t){0},onBasicFormBeforeSubmit:function(e,t,n){n.resolve(!0)},onBasicFormSubmited:function(e,t){t.title=t.name,void 0!==t.pId&&null!==t.pId||("0"===t.parentId?t.pId=this.vo.id:t.pId=t.parentId||"root"),this.$bus.emit("updateTreeNode",t)}}},ha=fa,ga=m(ha,Vr,Jr,!1,null,"a11eecf2",null),ya=ga.exports;function _a(e){return _a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_a(e)}function va(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ba(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?va(Object(n),!0).forEach((function(t){wa(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):va(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function wa(e,t,n){return(t=Ma(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ma(e){var t=La(e,"string");return"symbol"==_a(t)?t:t+""}function La(e,t){if("object"!=_a(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=_a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var Ta={components:{orgOrganization:ya},props:{},data:function(){return{moduleInfo:{getByIdUrl:"gwjh/orgOrganization/getById",loadTreeNodeUrl:"gwjh/orgOrganization/querydata"},root:null,orgOrganization:{},treeData:[],zTree:{},nodeName:"",isClick:!1}},computed:ba({},re(["loginUser"])),watch:{orgOrganization:{deep:!0,immediate:!0,handler:function(e,t){console.log(48,e,this.nodeName),console.log(49,t)}}},created:function(){this.root={id:"0",name:"清远市",open:!0,title:"清远市",parentId:null,gwjhLevel:0},this.loadExpenseThype(),this.$bus.emit("showNavSearch",!1),this.$bus.on("refreshTreeData",this.refreshTreeData)},beforeDestroy:function(){this.$bus.emit("showNavSearch",!0),this.$bus.off("refreshTreeData",this.refreshTreeData)},mounted:function(){},methods:{loadExpenseThype:function(){var e=this;this.$http({method:"POST",contentType:"application/x-www-form-urlencoded",params:{orderBy:"orderNo asc"},data:[{compare:"=",field:"creatorOrgCode",merge:!0,value:this.loginUser.orgCode},{compare:"=",field:"status",merge:!0,value:1}],url:this.moduleInfo.loadTreeNodeUrl}).then((function(t){"success"===t.code?(console.log(t.body.listdata,"res.body.listdata"),t.body.listdata.forEach((function(e){1===e.subUnint&&(e.parentId="0")})),console.log(e.corpOrgs,"this.corpOrgs"),e.treeData=e.treeDataAdapter([e.root].concat(t.body.listdata))):e.$alert(t.message,e.$tx("common.operationTip","操作提示"),{type:"error"})}))},treeDataAdapter:function(e){var t=this;return e.forEach((function(e){null===e.parentId?e.pId=t.root.id:e.pId=e.parentId,e.title=e.name})),e},refreshTreeData:function(e){null===e?this.loadExpenseThype():this.treeData=this.treeDataAdapter([this.root].concat(e))},onTreeNodeClick:function(e,t,n){var r=this;this.isClick=!0,this.nodeName=n.name;var a=JSON.parse(JSON.stringify(this.root));this.root=null,console.log(114,n),this.$nextTick((function(e){0===n.gwjhLevel?r.orgOrganization=n:void 0===n.pId||null===n.pId?r.orgOrganization=null:r.getExpenseType(n.id,n),r.root=a}))},onTreeCreated:function(e){this.zTree=e;var t=e.getNodes();t.length>0&&(this.onTreeNodeClick("",t[0].id,t[0]),e.selectNode(t[0]))},getExpenseType:function(e,t){var n=this;this.$http({method:"GET",contentType:"application/x-www-form-urlencoded",params:{id:e,canEdit:0},url:this.moduleInfo.getByIdUrl}).then((function(e){if("success"===e.code){var t=e.body.vo;n.orgOrganization=t,console.log(142,e.body.vo),console.log(143,t),console.log(144,n.orgOrganization)}else n.$alert(e.message,n.$tx("common.operationTip","操作提示"),{type:"error"})}))}}},xa=Ta,Da=m(xa,Ur,qr,!1,null,"47a0c0d2",null),ka=Da.exports,Sa=function(){var e=this,t=e._self._c;return t("div",{staticClass:"module-layout"},[t("BlockFrame",{attrs:{header:{title:e.appletData.name,icon:e.appletData.icon,more:!0,code:"blxltj"}}},[t("div",{ref:"reportContent",staticClass:"report-content"},[e.loading?e._e():t("bar",{attrs:{"chart-id":"projectColumnar2",left:"2%",right:"5%","echarts-click":e.echartsClick,"tooltip-format":e.tooltipFormat,"x-unit":e.xUnit,"y-unit":e.yUnit,"chart-type":e.chartType,"is-legend":!0,color:e.color,"x-data":e.xdata,"y-data":e.ydata}})],1)])],1)},Ya=[];function ja(e){return ja="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ja(e)}function Ca(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Ca=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function d(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(e){d=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var o=t&&t.prototype instanceof y?t:y,i=Object.create(o.prototype),s=new j(r||[]);return a(i,"_invoke",{value:D(e,n,s)}),i}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=c;var p="suspendedStart",m="suspendedYield",f="executing",h="completed",g={};function y(){}function _(){}function v(){}var b={};d(b,i,(function(){return this}));var w=Object.getPrototypeOf,M=w&&w(w(C([])));M&&M!==n&&r.call(M,i)&&(b=M);var L=v.prototype=y.prototype=Object.create(b);function T(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function n(a,o,i,s){var l=u(e[a],e,o);if("throw"!==l.type){var d=l.arg,c=d.value;return c&&"object"==ja(c)&&r.call(c,"__await")?t.resolve(c.__await).then((function(e){n("next",e,i,s)}),(function(e){n("throw",e,i,s)})):t.resolve(c).then((function(e){d.value=e,i(d)}),(function(e){return n("throw",e,i,s)}))}s(l.arg)}var o;a(this,"_invoke",{value:function(e,r){function a(){return new t((function(t,a){n(e,r,t,a)}))}return o=o?o.then(a,a):a()}})}function D(t,n,r){var a=p;return function(o,i){if(a===f)throw Error("Generator is already running");if(a===h){if("throw"===o)throw i;return{value:e,done:!0}}for(r.method=o,r.arg=i;;){var s=r.delegate;if(s){var l=k(s,r);if(l){if(l===g)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(a===p)throw a=h,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);a=f;var d=u(t,n,r);if("normal"===d.type){if(a=r.done?h:m,d.arg===g)continue;return{value:d.arg,done:r.done}}"throw"===d.type&&(a=h,r.method="throw",r.arg=d.arg)}}}function k(t,n){var r=n.method,a=t.iterator[r];if(a===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,k(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var o=u(a,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,g;var i=o.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,g):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function Y(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function C(t){if(t||""===t){var n=t[i];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,o=function n(){for(;++a<t.length;)if(r.call(t,a))return n.value=t[a],n.done=!1,n;return n.value=e,n.done=!0,n};return o.next=o}}throw new TypeError(ja(t)+" is not iterable")}return _.prototype=v,a(L,"constructor",{value:v,configurable:!0}),a(v,"constructor",{value:_,configurable:!0}),_.displayName=d(v,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===_||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,d(e,l,"GeneratorFunction")),e.prototype=Object.create(L),e},t.awrap=function(e){return{__await:e}},T(x.prototype),d(x.prototype,s,(function(){return this})),t.AsyncIterator=x,t.async=function(e,n,r,a,o){void 0===o&&(o=Promise);var i=new x(c(e,n,r,a),o);return t.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},T(L),d(L,l,"Generator"),d(L,i,(function(){return this})),d(L,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=C,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(Y),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function a(r,a){return s.type="throw",s.arg=t,n.next=r,a&&(n.method="next",n.arg=e),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],s=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var l=r.call(i,"catchLoc"),d=r.call(i,"finallyLoc");if(l&&d){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!d)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&r.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),Y(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;Y(n)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:C(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}function Oa(e,t,n,r,a,o,i){try{var s=e[o](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)}function Na(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){Oa(o,r,a,i,s,"next",e)}function s(e){Oa(o,r,a,i,s,"throw",e)}i(void 0)}))}}function Pa(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ea(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Pa(Object(n),!0).forEach((function(t){Ha(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Pa(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ha(e,t,n){return(t=Fa(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fa(e){var t=Aa(e,"string");return"symbol"==ja(t)?t:t+""}function Aa(e,t){if("object"!=ja(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=ja(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var $a={props:{appletData:{type:Object,default:function(){return{}}},name:{type:String,default:""}},data:function(){return{listData:[],loginUser:this.$store.getters.loginUser,searchType:"",loading:!1,chartType:[{type:"bar",yAxisIndex:0,symbol:""}],color:["#48c9b3","#f7a35c"],xUnit:{},yUnit:{},xdata:[],ydata:[],staffList:[],dataInfo:{bwsl:{type:"1",url:"/platStatistics/doneAndtodo/statisticsOnTheNumberOfDocuments",x:"部门",y:"办文数量"},bwxl:{type:"1",url:"platStatistics/doneAndtodo/handlingEfficiencyStatistics",x:"部门",y:"办文时长(小时)"}},pageData:{},tooltipFormat:null,chooseDate:[]}},computed:Ea({},re(["routes"])),watch:{},created:function(){this.$options.components["BlockFrame"]=this.$loadComponent("@/wapp/common/components/BlockFrame/index"),this.$options.components["bar"]=this.$loadComponent("@/wapp/common/components/Echarts/src/EchartColumnar"),this.initDate("day"),this.getReportList()},mounted:function(){},beforeCreate:function(){},beforeMount:function(){},beforeUpdate:function(){},updated:function(){},beforeDestroy:function(){},destroyed:function(){},activated:function(){},methods:{staffChange:function(e){this.getReportList(e)},mergestaffList:function(e){var t=[];return e.forEach((function(e){var n={value:e.orgFullName.split("-")[1],id:e.orgFullId.split("-")[1]};t.push(n)})),t},getReportList:function(e){var t=this;return Na(Ca().mark((function n(){var r,a;return Ca().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return t.searchType="bwxl",t.pageData=t.dataInfo[t.searchType],t.xUnit={name:t.pageData.x,align:"end",size:"12"},t.yUnit={name:t.pageData.y,align:"end",size:"12",position:"left",lineColor:"#000",nameRotate:"0",nameGap:"10",minInterval:"1"},r={deptId:e||"",endTime:t.chooseDate[1],startTime:t.chooseDate[0],type:t.pageData.type,fileName:"",module:"fawen,shouwen,wjcy,bmbh,yjzj,hytz,qsbg,dzgg"},t.loading=!0,t.listData=[],n.next=9,t.$app.listdata(t.pageData.url,r);case 9:a=n.sent,"success"===a.code&&t.mergeList(a.body.listdata.slice(0,10)),t.loading=!1;case 12:case"end":return n.stop()}}),n)})))()},mergeList:function(e){var t=this,n=[],r=[];if(e.forEach((function(e){"bwsl"===t.searchType&&(n.push(e.name),r.push(e.num))})),"bwxl"===this.searchType){var a=e.slice(0,10);a.forEach((function(e){n.push(e.name),r.push(JSON.parse(JSON.stringify(e.avgMinute))/60),e.avgMinute=t.mergeMinute(e.avgMinute)}))}this.xdata=n,this.ydata=[r],this.listData=e},mergeMinute:function(e){var t=60*e*1e3,n=Math.floor(t/864e5),r=t%864e5,a=Math.floor(r/36e5),o=r%36e5,i=Math.floor(o/6e4),s=o%6e4,l=Math.round(s/1e3),d="";return d+=0===n?0===a?0===i?l+"秒":i+"分钟"+l+"秒":a+"小时"+i+"分钟"+l+"秒":n+"天"+a+"小时"+i+"分钟"+l+"秒",d},initDate:function(e){var t=new Date,n=t.getFullYear(),r=t.getMonth()+1>=10?t.getMonth()+1:"0"+(t.getMonth()+1),a=t.getDate()>=10?t.getDate():"0"+t.getDate();if("day"===e){var o="",i="";if(a>15)o=n+"-"+r+"-01",i=n+"-"+r+"-"+new Date(n,r,0).getDate();else{var s=new Date(t.setMonth(r-2)).getFullYear(),l=new Date(t.setMonth(r-2)).getMonth()+1;o=s+"-"+l+"-01",i=s+"-"+l+"-"+new Date(s,l,0).getDate()}this.chooseDate=[o,i]}else if("month"===e){var d=new Date(t.setMonth(r-13)).getFullYear(),c=new Date(t.setMonth(r-13)).getMonth()+1>=10?new Date(t.setMonth(r-13)).getMonth()+1:"0"+(new Date(t.setMonth(r-13)).getMonth()+1),u=d+"-"+c,p=n+"-"+r;this.chooseDate=[u,p]}},onMoreClick:function(){var e=this;if(this.appletData.url.indexOf("?")>1&&this.appletData.url.split("?")[1].indexOf("productCode")>-1){var t=this.appletData.url.split("?")[1];if(t.indexOf("&")>-1){var n=t.split("&");n.forEach((function(t){t.indexOf("productCode")>-1&&e.$bus.emit("redirectMoreClick",t.split("=")[1])}))}else this.$bus.emit("redirectMoreClick",t.split("=")[1])}},echartsClick:function(){return!1}}},Ia=$a,za=(n(6295),m(Ia,Sa,Ya,!1,null,"6a1b3a22",null)),Ra=za.exports,Wa=function(){var e=this,t=e._self._c;return t("div",{staticClass:"module-layout"},[t("BlockFrame",{attrs:{header:{title:e.appletData.name,icon:e.appletData.icon,more:!0,code:"bwsltj"}}},[t("div",{ref:"reportContent",staticClass:"report-content"},[e.loading?e._e():t("bar",{attrs:{"chart-id":"projectColumnar1",left:"2%",right:"5%","echarts-click":e.echartsClick,"tooltip-format":e.tooltipFormat,"x-unit":e.xUnit,"y-unit":e.yUnit,"chart-type":e.chartType,"is-legend":!0,color:e.color,"x-data":e.xdata,"y-data":e.ydata}})],1)])],1)},Ga=[];function Ba(e){return Ba="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ba(e)}function Ua(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Ua=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function d(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(e){d=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var o=t&&t.prototype instanceof y?t:y,i=Object.create(o.prototype),s=new j(r||[]);return a(i,"_invoke",{value:D(e,n,s)}),i}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=c;var p="suspendedStart",m="suspendedYield",f="executing",h="completed",g={};function y(){}function _(){}function v(){}var b={};d(b,i,(function(){return this}));var w=Object.getPrototypeOf,M=w&&w(w(C([])));M&&M!==n&&r.call(M,i)&&(b=M);var L=v.prototype=y.prototype=Object.create(b);function T(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function n(a,o,i,s){var l=u(e[a],e,o);if("throw"!==l.type){var d=l.arg,c=d.value;return c&&"object"==Ba(c)&&r.call(c,"__await")?t.resolve(c.__await).then((function(e){n("next",e,i,s)}),(function(e){n("throw",e,i,s)})):t.resolve(c).then((function(e){d.value=e,i(d)}),(function(e){return n("throw",e,i,s)}))}s(l.arg)}var o;a(this,"_invoke",{value:function(e,r){function a(){return new t((function(t,a){n(e,r,t,a)}))}return o=o?o.then(a,a):a()}})}function D(t,n,r){var a=p;return function(o,i){if(a===f)throw Error("Generator is already running");if(a===h){if("throw"===o)throw i;return{value:e,done:!0}}for(r.method=o,r.arg=i;;){var s=r.delegate;if(s){var l=k(s,r);if(l){if(l===g)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(a===p)throw a=h,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);a=f;var d=u(t,n,r);if("normal"===d.type){if(a=r.done?h:m,d.arg===g)continue;return{value:d.arg,done:r.done}}"throw"===d.type&&(a=h,r.method="throw",r.arg=d.arg)}}}function k(t,n){var r=n.method,a=t.iterator[r];if(a===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,k(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var o=u(a,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,g;var i=o.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,g):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function Y(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function C(t){if(t||""===t){var n=t[i];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,o=function n(){for(;++a<t.length;)if(r.call(t,a))return n.value=t[a],n.done=!1,n;return n.value=e,n.done=!0,n};return o.next=o}}throw new TypeError(Ba(t)+" is not iterable")}return _.prototype=v,a(L,"constructor",{value:v,configurable:!0}),a(v,"constructor",{value:_,configurable:!0}),_.displayName=d(v,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===_||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,d(e,l,"GeneratorFunction")),e.prototype=Object.create(L),e},t.awrap=function(e){return{__await:e}},T(x.prototype),d(x.prototype,s,(function(){return this})),t.AsyncIterator=x,t.async=function(e,n,r,a,o){void 0===o&&(o=Promise);var i=new x(c(e,n,r,a),o);return t.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},T(L),d(L,l,"Generator"),d(L,i,(function(){return this})),d(L,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=C,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(Y),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function a(r,a){return s.type="throw",s.arg=t,n.next=r,a&&(n.method="next",n.arg=e),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],s=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var l=r.call(i,"catchLoc"),d=r.call(i,"finallyLoc");if(l&&d){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!d)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&r.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),Y(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;Y(n)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:C(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}function qa(e,t,n,r,a,o,i){try{var s=e[o](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)}function Va(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){qa(o,r,a,i,s,"next",e)}function s(e){qa(o,r,a,i,s,"throw",e)}i(void 0)}))}}function Ja(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ka(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ja(Object(n),!0).forEach((function(t){Qa(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ja(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Qa(e,t,n){return(t=Za(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Za(e){var t=Xa(e,"string");return"symbol"==Ba(t)?t:t+""}function Xa(e,t){if("object"!=Ba(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Ba(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var eo={props:{appletData:{type:Object,default:function(){return{}}},name:{type:String,default:""}},data:function(){return{listData:[],loginUser:this.$store.getters.loginUser,searchType:"",loading:!1,chartType:[{type:"bar",yAxisIndex:0,symbol:""}],color:["#48c9b3","#f7a35c"],xUnit:{},yUnit:{},xdata:[],ydata:[],staffList:[],dataInfo:{bwsl:{type:"1",url:"/platStatistics/doneAndtodo/statisticsOnTheNumberOfDocuments",x:"部门",y:"办文数量"},bwxl:{type:"1",url:"platStatistics/doneAndtodo/handlingEfficiencyStatistics",x:"部门",y:"平均办文时长"}},pageData:{},tooltipFormat:null,chooseDate:[]}},computed:Ka({},re(["routes"])),watch:{},created:function(){this.$options.components["BlockFrame"]=this.$loadComponent("@/wapp/common/components/BlockFrame/index"),this.$options.components["bar"]=this.$loadComponent("@/wapp/common/components/Echarts/src/EchartColumnar"),this.initDate("day"),this.getReportList()},mounted:function(){},beforeCreate:function(){},beforeMount:function(){},beforeUpdate:function(){},updated:function(){},beforeDestroy:function(){},destroyed:function(){},activated:function(){},methods:{staffChange:function(e){this.getReportList(e)},mergestaffList:function(e){var t=[];return e.forEach((function(e){var n={value:e.orgFullName.split("-")[1],id:e.orgFullId.split("-")[1]};t.push(n)})),t},getReportList:function(e){var t=this;return Va(Ua().mark((function n(){var r,a;return Ua().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return t.searchType="bwsl",t.pageData=t.dataInfo[t.searchType],t.xUnit={name:t.pageData.x,align:"end",size:"12"},t.yUnit={name:t.pageData.y,align:"end",size:"12",position:"left",lineColor:"#000",nameRotate:"0",nameGap:"10",minInterval:"1"},r={deptId:e||"",endTime:t.chooseDate[1],startTime:t.chooseDate[0],type:t.pageData.type,fileName:"",module:"fawen,shouwen,wjcy,bmbh,yjzj,hytz,qsbg,dzgg"},t.loading=!0,t.listData=[],n.next=9,t.$app.listdata(t.pageData.url,r);case 9:a=n.sent,"success"===a.code&&t.mergeList(a.body.listdata.slice(0,10)),t.loading=!1;case 12:case"end":return n.stop()}}),n)})))()},mergeList:function(e){var t=this,n=[],r=[];e.forEach((function(e){"bwsl"===t.searchType&&(n.push(e.name),r.push(e.num))})),this.xdata=n,this.ydata=[r],this.listData=e},mergeMinute:function(e){var t=60*e*1e3,n=Math.floor(t/864e5),r=t%864e5,a=Math.floor(r/36e5),o=r%36e5,i=Math.floor(o/6e4),s=o%6e4,l=Math.round(s/1e3),d="";return d+=0===n?0===a?0===i?l+"秒":i+"分钟"+l+"秒":a+"小时"+i+"分钟"+l+"秒":n+"天"+a+"小时"+i+"分钟"+l+"秒",d},initDate:function(e){var t=new Date,n=t.getFullYear(),r=t.getMonth()+1>=10?t.getMonth()+1:"0"+(t.getMonth()+1),a=t.getDate()>=10?t.getDate():"0"+t.getDate();if("day"===e){var o="",i="";if(a>15)o=n+"-"+r+"-01",i=n+"-"+r+"-"+new Date(n,r,0).getDate();else{var s=new Date(t.setMonth(r-2)).getFullYear(),l=new Date(t.setMonth(r-2)).getMonth()+1;o=s+"-"+l+"-01",i=s+"-"+l+"-"+new Date(s,l,0).getDate()}this.chooseDate=[o,i]}else if("month"===e){var d=new Date(t.setMonth(r-13)).getFullYear(),c=new Date(t.setMonth(r-13)).getMonth()+1>=10?new Date(t.setMonth(r-13)).getMonth()+1:"0"+(new Date(t.setMonth(r-13)).getMonth()+1),u=d+"-"+c,p=n+"-"+r;this.chooseDate=[u,p]}},onMoreClick:function(){var e=this;if(this.appletData.url.indexOf("?")>1&&this.appletData.url.split("?")[1].indexOf("productCode")>-1){var t=this.appletData.url.split("?")[1];if(t.indexOf("&")>-1){var n=t.split("&");n.forEach((function(t){t.indexOf("productCode")>-1&&e.$bus.emit("redirectMoreClick",t.split("=")[1])}))}else this.$bus.emit("redirectMoreClick",t.split("=")[1])}},echartsClick:function(){return!1}}},to=eo,no=(n(3368),m(to,Wa,Ga,!1,null,"91817610",null)),ro=no.exports,ao=function(){var e=this,t=e._self._c;return t("div",{staticClass:"module-layout"},[t("BlockFrame",{attrs:{header:{title:e.appletData.name,icon:e.appletData.icon,more:!1,code:"zcpd_left.svg"}}},[t("div",{ref:"gwcx",staticClass:"gwcx-content"},[t("div",{staticClass:"search-input"},[t("el-input",{staticClass:"input-with-select",attrs:{placeholder:e.$tx("gwgl.portlet.searching","搜索...")},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.searchBtnClick.apply(null,arguments)}},model:{value:e.searchKey,callback:function(t){e.searchKey=t},expression:"searchKey"}},[t("el-button",{attrs:{slot:"append",icon:"el-icon-search"},on:{click:e.searchBtnClick},slot:"append"})],1)],1),t("div",{staticClass:"search-select"},[t("el-radio-group",{attrs:{size:"small"},on:{input:e.checkboxChange},model:{value:e.radioGroup,callback:function(t){e.radioGroup=t},expression:"radioGroup"}},e._l(e.cityOptions,(function(n){return t("el-radio-button",{key:n,attrs:{label:n}},[e._v(e._s(n))])})),1)],1)])])],1)},oo=[];function io(e){return io="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},io(e)}function so(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */so=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function d(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(e){d=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var o=t&&t.prototype instanceof y?t:y,i=Object.create(o.prototype),s=new j(r||[]);return a(i,"_invoke",{value:D(e,n,s)}),i}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=c;var p="suspendedStart",m="suspendedYield",f="executing",h="completed",g={};function y(){}function _(){}function v(){}var b={};d(b,i,(function(){return this}));var w=Object.getPrototypeOf,M=w&&w(w(C([])));M&&M!==n&&r.call(M,i)&&(b=M);var L=v.prototype=y.prototype=Object.create(b);function T(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function n(a,o,i,s){var l=u(e[a],e,o);if("throw"!==l.type){var d=l.arg,c=d.value;return c&&"object"==io(c)&&r.call(c,"__await")?t.resolve(c.__await).then((function(e){n("next",e,i,s)}),(function(e){n("throw",e,i,s)})):t.resolve(c).then((function(e){d.value=e,i(d)}),(function(e){return n("throw",e,i,s)}))}s(l.arg)}var o;a(this,"_invoke",{value:function(e,r){function a(){return new t((function(t,a){n(e,r,t,a)}))}return o=o?o.then(a,a):a()}})}function D(t,n,r){var a=p;return function(o,i){if(a===f)throw Error("Generator is already running");if(a===h){if("throw"===o)throw i;return{value:e,done:!0}}for(r.method=o,r.arg=i;;){var s=r.delegate;if(s){var l=k(s,r);if(l){if(l===g)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(a===p)throw a=h,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);a=f;var d=u(t,n,r);if("normal"===d.type){if(a=r.done?h:m,d.arg===g)continue;return{value:d.arg,done:r.done}}"throw"===d.type&&(a=h,r.method="throw",r.arg=d.arg)}}}function k(t,n){var r=n.method,a=t.iterator[r];if(a===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,k(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var o=u(a,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,g;var i=o.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,g):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function Y(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function C(t){if(t||""===t){var n=t[i];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,o=function n(){for(;++a<t.length;)if(r.call(t,a))return n.value=t[a],n.done=!1,n;return n.value=e,n.done=!0,n};return o.next=o}}throw new TypeError(io(t)+" is not iterable")}return _.prototype=v,a(L,"constructor",{value:v,configurable:!0}),a(v,"constructor",{value:_,configurable:!0}),_.displayName=d(v,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===_||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,d(e,l,"GeneratorFunction")),e.prototype=Object.create(L),e},t.awrap=function(e){return{__await:e}},T(x.prototype),d(x.prototype,s,(function(){return this})),t.AsyncIterator=x,t.async=function(e,n,r,a,o){void 0===o&&(o=Promise);var i=new x(c(e,n,r,a),o);return t.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},T(L),d(L,l,"Generator"),d(L,i,(function(){return this})),d(L,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=C,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(Y),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function a(r,a){return s.type="throw",s.arg=t,n.next=r,a&&(n.method="next",n.arg=e),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],s=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var l=r.call(i,"catchLoc"),d=r.call(i,"finallyLoc");if(l&&d){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!d)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&r.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),Y(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;Y(n)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:C(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}function lo(e,t,n,r,a,o,i){try{var s=e[o](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)}function co(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){lo(o,r,a,i,s,"next",e)}function s(e){lo(o,r,a,i,s,"throw",e)}i(void 0)}))}}var uo={props:{appletData:{type:Object,default:function(){return{}}},name:{type:String,default:""}},data:function(){return{loginUser:this.$store.getters.loginUser,searchKey:"",cityOptions:[this.$tx("gwgl.portlet.unitDocument","单位发文"),this.$tx("gwgl.portlet.readingOffice","收文阅办"),this.$tx("gwgl.portlet.receiptDocuments","部门收文"),this.$tx("gwgl.portlet.documentCirculation","文件传阅"),this.$tx("gwgl.portlet.departmentalLetter","部门便函"),this.$tx("gwgl.portlet.solicitationOpinions","意见征集"),this.$tx("gwgl.portlet.requestInstructions","请示报告")],selectWf:"",radioGroup:[]}},computed:{routes:function(){return this.$store.getters.routes}},watch:{},created:function(){this.$options.components["BlockFrame"]=this.$loadComponent("@/wapp/common/components/BlockFrame/index")},beforeDestroy:function(){},mounted:function(){},methods:{searchBtnClick:function(){var e=this;return co(so().mark((function t(){var n,r;return so().wrap((function(t){while(1)switch(t.prev=t.next){case 0:n=e.routes.filter((function(e){return e.meta&&"公文查询"===e.meta.title})),n.length>0&&(r={},e.radioGroup?(r={keyword:e.searchKey,flGwType:e.radioGroup},localStorage.setItem("gwKeyWord",JSON.stringify(r))):(r={keyword:e.searchKey},localStorage.setItem("gwKeyWord",JSON.stringify(r))),e.$router.push({path:n[0].children[0].path,query:{gwKeyWord:e.searchKey}}));case 2:case"end":return t.stop()}}),t)})))()},checkboxChange:function(e){this.radioGroup=e,this.searchBtnClick()}}},po=uo,mo=(n(6887),m(po,ao,oo,!1,null,"1ec9c518",null)),fo=mo.exports,ho=function(){var e=this,t=e._self._c;return t("div",{staticClass:"module-layout"},[t("BlockFrame",{attrs:{header:{title:e.appletData.name,icon:e.appletData.icon,more:!0,code:"gwmbSignedfile"}}},[t("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"gwmb",staticClass:"gwmb-content"},[e.mbList.length?t("div",{staticClass:"gwmb-box"},e._l(e.mbList,(function(n){return t("div",{key:n.id,staticClass:"gwmb-item",on:{mouseenter:function(t){return e.onMouseenter(n)},mouseleave:function(t){return e.onMouseleave(n)}}},[t("div",{ref:n.id+"y",refInFor:!0,staticClass:"item-img"},[t("el-image",{staticClass:"pdf-viewer",staticStyle:{width:"100%",height:"100%"},attrs:{src:"apigw/gwgl/fwmb/downloadImg?dataField=mbImgFileData&id="+n.id+"&nameField=mbImgFileName",fit:e.cover}},[t("div",{staticClass:"image-slot",staticStyle:{height:"100%"},attrs:{slot:"error"},slot:"error"},[t("el-image",{staticStyle:{top:"50%",transform:"translateY(-50%)",height:"90px"},attrs:{src:"images/w-imgs/nosearch.png",fit:e.fit}})],1)])],1),t("div",{ref:n.id,refInFor:!0,staticClass:"item-btn"},[t("div",{staticClass:"btn",on:{click:function(t){return e.gwglYl(n)}}},[t("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:e.$tx("gwgl.portlet.preview","预览"),placement:"right","open-delay":"1000"}},[t("svg-icon",{staticStyle:{height:"25px",width:"25px"},attrs:{"icon-class":"gwgl_yl"}})],1)],1),t("div",{staticClass:"btn",on:{click:function(t){return e.gwglXz(n)}}},[t("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:e.$tx("pageBtns.download","下载"),placement:"right","open-delay":"1000"}},[t("svg-icon",{staticStyle:{height:"25px",width:"25px"},attrs:{"icon-class":"gwgl_xz"}})],1)],1)]),t("span",[e._v(e._s(n.name))])])})),0):t("div",{staticClass:"gwmb-box"},[t("el-empty",{attrs:{description:e.$tx("gwgl.common.noGwModule","暂无公文模板"),image:"./images/w-imgs/nosearch.png"}})],1)])])],1)},go=[];function yo(e){return yo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},yo(e)}function _o(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */_o=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function d(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(e){d=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var o=t&&t.prototype instanceof y?t:y,i=Object.create(o.prototype),s=new j(r||[]);return a(i,"_invoke",{value:D(e,n,s)}),i}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=c;var p="suspendedStart",m="suspendedYield",f="executing",h="completed",g={};function y(){}function _(){}function v(){}var b={};d(b,i,(function(){return this}));var w=Object.getPrototypeOf,M=w&&w(w(C([])));M&&M!==n&&r.call(M,i)&&(b=M);var L=v.prototype=y.prototype=Object.create(b);function T(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function n(a,o,i,s){var l=u(e[a],e,o);if("throw"!==l.type){var d=l.arg,c=d.value;return c&&"object"==yo(c)&&r.call(c,"__await")?t.resolve(c.__await).then((function(e){n("next",e,i,s)}),(function(e){n("throw",e,i,s)})):t.resolve(c).then((function(e){d.value=e,i(d)}),(function(e){return n("throw",e,i,s)}))}s(l.arg)}var o;a(this,"_invoke",{value:function(e,r){function a(){return new t((function(t,a){n(e,r,t,a)}))}return o=o?o.then(a,a):a()}})}function D(t,n,r){var a=p;return function(o,i){if(a===f)throw Error("Generator is already running");if(a===h){if("throw"===o)throw i;return{value:e,done:!0}}for(r.method=o,r.arg=i;;){var s=r.delegate;if(s){var l=k(s,r);if(l){if(l===g)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(a===p)throw a=h,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);a=f;var d=u(t,n,r);if("normal"===d.type){if(a=r.done?h:m,d.arg===g)continue;return{value:d.arg,done:r.done}}"throw"===d.type&&(a=h,r.method="throw",r.arg=d.arg)}}}function k(t,n){var r=n.method,a=t.iterator[r];if(a===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,k(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var o=u(a,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,g;var i=o.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,g):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function Y(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function C(t){if(t||""===t){var n=t[i];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,o=function n(){for(;++a<t.length;)if(r.call(t,a))return n.value=t[a],n.done=!1,n;return n.value=e,n.done=!0,n};return o.next=o}}throw new TypeError(yo(t)+" is not iterable")}return _.prototype=v,a(L,"constructor",{value:v,configurable:!0}),a(v,"constructor",{value:_,configurable:!0}),_.displayName=d(v,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===_||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,d(e,l,"GeneratorFunction")),e.prototype=Object.create(L),e},t.awrap=function(e){return{__await:e}},T(x.prototype),d(x.prototype,s,(function(){return this})),t.AsyncIterator=x,t.async=function(e,n,r,a,o){void 0===o&&(o=Promise);var i=new x(c(e,n,r,a),o);return t.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},T(L),d(L,l,"Generator"),d(L,i,(function(){return this})),d(L,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=C,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(Y),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function a(r,a){return s.type="throw",s.arg=t,n.next=r,a&&(n.method="next",n.arg=e),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],s=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var l=r.call(i,"catchLoc"),d=r.call(i,"finallyLoc");if(l&&d){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!d)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&r.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),Y(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;Y(n)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:C(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}function vo(e,t,n,r,a,o,i){try{var s=e[o](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)}function bo(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){vo(o,r,a,i,s,"next",e)}function s(e){vo(o,r,a,i,s,"throw",e)}i(void 0)}))}}var wo={props:{appletData:{type:Object,default:function(){return{}}},name:{type:String,default:""}},data:function(){return{loginUser:this.$store.getters.loginUser,mbList:[],loading:!0}},computed:{routes:function(){return this.$store.getters.routes}},watch:{},created:function(){this.$options.components["BlockFrame"]=this.$loadComponent("@/wapp/common/components/BlockFrame/index"),this.getData()},beforeDestroy:function(){},mounted:function(){},methods:{getUrl:function(e){var t=window.location.protocol+"//"+window.location.hostname+":"+window.location.port,n=t+"/apigw/gwgl/fwmb/download?id="+e+"&inline=true&toPdf=true&dataField=fileContent&nameField=mbFileName";return n},getData:function(){var e=this;return bo(_o().mark((function t(){var n,r,a;return _o().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(0!==e.appletData.interfaceStatus&&!window.openInterface){t.next=8;break}return t.next=3,e.$getDefaultData(e,e.appletData.id);case 3:if(n=t.sent,"公文模版"!==e.appletData.name&&"公文模版"!==e.appletData.name){t.next=8;break}return e.mbList=n,e.loading=!1,t.abrupt("return");case 8:return r={pageSize:9999,pageNum:1,urlsearch:"orgCode:".concat(e.loginUser.orgCode),orderBy:"sortNo asc"},t.next=11,e.$app.listdata("/gwgl/fwmb/listdata",r);case 11:a=t.sent,"success"===a.code?(e.mbList=a.body.pageInfo.list,console.log(e.mbList,"公文模板数据"),e.loading=!1):e.loading=!1;case 13:case"end":return t.stop()}}),t)})))()},onMouseenter:function(e){this.$refs[e.id][0].style.display="flex"},onMouseleave:function(e){this.$refs[e.id][0].style.display="none"},gwglYl:function(e){var t=window.location.protocol+"//"+window.location.hostname+":"+window.location.port,n=t+"/apigw/gwgl/fwmb/download?id="+e.id+"&inline=true&toPdf=true&dataField=fileContent&nameField=mbFileName&fileName="+e.mbFileName;window.open("./plugins/PDFjs/web/viewer.html?file="+encodeURIComponent(n))},gwglXz:function(e){var t="/apigw/gwgl/fwmb/download?id="+e.id+"&inline=true&toPdf=false&dataField=fileContent&nameField=mbFileName";window.open(t)}}},Mo=wo,Lo=(n(8583),m(Mo,ho,go,!1,null,"c37d5e66",null)),To=Lo.exports,xo=function(){var e=this,t=e._self._c;return t("div",{staticClass:"module-layout"},[t("BlockFrame",{attrs:{header:{title:e.appletData.name,icon:e.appletData.icon,more:!0,code:e.code}}},[t("div",{ref:"reportContent",staticClass:"report-content"},[!e.loading&&e.listData.length>0?t("bar",{attrs:{left:"2%",right:"9%",top:"7%","echarts-click":e.echartsClick,"tooltip-format":e.tooltipFormat,"x-unit":e.xUnit,"y-unit":e.yUnit,"chart-type":e.chartType,"is-legend":!0,color:e.color,"x-data":e.xdata,"y-data":e.ydata,"x-label-rotate":45}}):e._e()],1)])],1)},Do=[];function ko(e){return ko="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ko(e)}function So(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */So=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function d(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(e){d=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var o=t&&t.prototype instanceof y?t:y,i=Object.create(o.prototype),s=new j(r||[]);return a(i,"_invoke",{value:D(e,n,s)}),i}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=c;var p="suspendedStart",m="suspendedYield",f="executing",h="completed",g={};function y(){}function _(){}function v(){}var b={};d(b,i,(function(){return this}));var w=Object.getPrototypeOf,M=w&&w(w(C([])));M&&M!==n&&r.call(M,i)&&(b=M);var L=v.prototype=y.prototype=Object.create(b);function T(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function n(a,o,i,s){var l=u(e[a],e,o);if("throw"!==l.type){var d=l.arg,c=d.value;return c&&"object"==ko(c)&&r.call(c,"__await")?t.resolve(c.__await).then((function(e){n("next",e,i,s)}),(function(e){n("throw",e,i,s)})):t.resolve(c).then((function(e){d.value=e,i(d)}),(function(e){return n("throw",e,i,s)}))}s(l.arg)}var o;a(this,"_invoke",{value:function(e,r){function a(){return new t((function(t,a){n(e,r,t,a)}))}return o=o?o.then(a,a):a()}})}function D(t,n,r){var a=p;return function(o,i){if(a===f)throw Error("Generator is already running");if(a===h){if("throw"===o)throw i;return{value:e,done:!0}}for(r.method=o,r.arg=i;;){var s=r.delegate;if(s){var l=k(s,r);if(l){if(l===g)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(a===p)throw a=h,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);a=f;var d=u(t,n,r);if("normal"===d.type){if(a=r.done?h:m,d.arg===g)continue;return{value:d.arg,done:r.done}}"throw"===d.type&&(a=h,r.method="throw",r.arg=d.arg)}}}function k(t,n){var r=n.method,a=t.iterator[r];if(a===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,k(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var o=u(a,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,g;var i=o.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,g):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function Y(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function C(t){if(t||""===t){var n=t[i];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,o=function n(){for(;++a<t.length;)if(r.call(t,a))return n.value=t[a],n.done=!1,n;return n.value=e,n.done=!0,n};return o.next=o}}throw new TypeError(ko(t)+" is not iterable")}return _.prototype=v,a(L,"constructor",{value:v,configurable:!0}),a(v,"constructor",{value:_,configurable:!0}),_.displayName=d(v,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===_||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,d(e,l,"GeneratorFunction")),e.prototype=Object.create(L),e},t.awrap=function(e){return{__await:e}},T(x.prototype),d(x.prototype,s,(function(){return this})),t.AsyncIterator=x,t.async=function(e,n,r,a,o){void 0===o&&(o=Promise);var i=new x(c(e,n,r,a),o);return t.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},T(L),d(L,l,"Generator"),d(L,i,(function(){return this})),d(L,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=C,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(Y),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function a(r,a){return s.type="throw",s.arg=t,n.next=r,a&&(n.method="next",n.arg=e),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],s=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var l=r.call(i,"catchLoc"),d=r.call(i,"finallyLoc");if(l&&d){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!d)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&r.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),Y(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;Y(n)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:C(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}function Yo(e,t,n,r,a,o,i){try{var s=e[o](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)}function jo(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){Yo(o,r,a,i,s,"next",e)}function s(e){Yo(o,r,a,i,s,"throw",e)}i(void 0)}))}}function Co(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Oo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Co(Object(n),!0).forEach((function(t){No(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Co(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function No(e,t,n){return(t=Po(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Po(e){var t=Eo(e,"string");return"symbol"==ko(t)?t:t+""}function Eo(e,t){if("object"!=ko(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=ko(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var Ho={props:{appletData:{type:Object,default:function(){return{}}},name:{type:String,default:""}},data:function(){return{listData:[],loginUser:this.$store.getters.loginUser,searchType:"",code:"",loading:!1,chartType:[{type:"bar",yAxisIndex:0,symbol:""}],color:["#48c9b3","#f7a35c"],xUnit:{},yUnit:{},xdata:[],ydata:[],staffList:[],dataInfo:{bwsl:{type:"1",url:"/platStatistics/doneAndtodo/statisticsOnTheNumberOfDocuments",x:"部门",y:"办文数量"},bwxl:{type:"1",url:"platStatistics/doneAndtodo/handlingEfficiencyStatistics",x:"部门",y:"平均办文时长"}},pageData:{},tooltipFormat:null,chooseDate:[]}},computed:Oo({},re(["routes"])),watch:{},created:function(){this.$options.components["BlockFrame"]=this.$loadComponent("@/wapp/common/components/BlockFrame/index"),this.$options.components["bar"]=this.$loadComponent("@/wapp/common/components/Echarts/src/EchartColumnar"),console.log("办文数量统计"),this.initDate("day"),this.getReportList()},mounted:function(){},beforeCreate:function(){},beforeMount:function(){},beforeUpdate:function(){},updated:function(){},beforeDestroy:function(){},destroyed:function(){},activated:function(){},methods:{staffChange:function(e){this.getReportList(e)},mergestaffList:function(e){var t=[];return e.forEach((function(e){var n={value:e.orgFullName.split("-")[1],id:e.orgFullId.split("-")[1]};t.push(n)})),t},getReportList:function(e){var t=this;return jo(So().mark((function n(){var r,a;return So().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return"办文数量统计"===t.appletData.name?(t.searchType="bwsl",t.code="bwsltj"):"办文时长统计(十名)"===t.appletData.name&&(t.searchType="bwxl",t.code="blxltj"),t.pageData=t.dataInfo[t.searchType],t.xUnit={name:t.pageData.x,align:"end",size:"12"},t.yUnit={name:t.pageData.y,align:"end",size:"12",position:"left",lineColor:"#000",nameRotate:"0",nameGap:"10"},r={deptId:e||"",endTime:t.chooseDate[1],startTime:t.chooseDate[0],type:t.pageData.type,fileName:"",module:"fawen,shouwen,wjcy,bmbh,yjzj,hytz,qsbg,dzgg"},t.loading=!0,t.listData=[],n.next=9,t.$app.listdata(t.pageData.url,r);case 9:a=n.sent,"success"===a.code&&t.mergeList(a.body.listdata.slice(0,10)),t.loading=!1;case 12:case"end":return n.stop()}}),n)})))()},mergeList:function(e){var t=this,n=[],r=[];if(e.forEach((function(e){"bwsl"===t.searchType&&(n.push(e.name),r.push(e.num))})),"bwxl"===this.searchType){e.sort((function(e,t){return t.avgMinute-e.avgMinute}));var a=e.slice(0,10);a.forEach((function(e){n.push(e.name),r.push(JSON.parse(JSON.stringify(e.avgMinute))/60),e.avgMinute=t.mergeMinute(e.avgMinute)}))}this.xdata=n,this.ydata=[r],this.listData=e},mergeMinute:function(e){var t=60*e*1e3,n=Math.floor(t/864e5),r=t%864e5,a=Math.floor(r/36e5),o=r%36e5,i=Math.floor(o/6e4),s=o%6e4,l=Math.round(s/1e3),d="";return d+=0===n?0===a?0===i?l+"秒":i+"分钟"+l+"秒":a+"小时"+i+"分钟"+l+"秒":n+"天"+a+"小时"+i+"分钟"+l+"秒",d},initDate:function(e){var t=new Date,n=t.getFullYear(),r=t.getMonth()+1>=10?t.getMonth()+1:"0"+(t.getMonth()+1),a=t.getDate()>=10?t.getDate():"0"+t.getDate();if("day"===e){var o="",i="";if(a>15)o=n+"-"+r+"-01",i=n+"-"+r+"-"+new Date(n,r,0).getDate();else{var s=new Date(t.setMonth(r-2)).getFullYear(),l=new Date(t.setMonth(r-2)).getMonth()+1;o=s+"-"+l+"-01",i=s+"-"+l+"-"+new Date(s,l,0).getDate()}this.chooseDate=[o,i]}else if("month"===e){var d=new Date(t.setMonth(r-13)).getFullYear(),c=new Date(t.setMonth(r-13)).getMonth()+1>=10?new Date(t.setMonth(r-13)).getMonth()+1:"0"+(new Date(t.setMonth(r-13)).getMonth()+1),u=d+"-"+c,p=n+"-"+r;this.chooseDate=[u,p]}},onMoreClick:function(){var e=this;if(this.appletData.url.indexOf("?")>1&&this.appletData.url.split("?")[1].indexOf("productCode")>-1){var t=this.appletData.url.split("?")[1];if(t.indexOf("&")>-1){var n=t.split("&");n.forEach((function(t){t.indexOf("productCode")>-1&&e.$bus.emit("redirectMoreClick",t.split("=")[1])}))}else this.$bus.emit("redirectMoreClick",t.split("=")[1])}},echartsClick:function(){return!1}}},Fo=Ho,Ao=(n(6260),m(Fo,xo,Do,!1,null,"08091c3d",null)),$o=Ao.exports,Io=function(){var e=this,t=e._self._c;return t("LRLayout",[t("LeftPanel",[t("GiantTree",{attrs:{nodes:e.treeData},on:{onCreated:e.onTreeCreated,onClick:e.onTreeNodeClick},scopedSlots:e._u([{key:"context-menu",fn:function(n){return[null===n.contextNode.pId&&n.contextNode.categoryLevel<3||!n.contextNode.categoryLevel?t("ul",[t("li",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"addNewMenu",expression:"'addNewMenu'"}],attrs:{moduleCode:"setting"},on:{click:function(t){return e.addMenu(n.treeId,n.contextNode)}}},[e._v("新增子菜单")])]):e._e(),null!==n.contextNode.pId?t("ul",[n.contextNode.categoryLevel<3?t("li",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"addNewMenu",expression:"'addNewMenu'"}],attrs:{moduleCode:"setting"},on:{click:function(t){return e.addMenu(n.treeId,n.contextNode)}}},[e._v("新增子菜单")]):e._e(),t("li",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"delMenu",expression:"'delMenu'"}],attrs:{moduleCode:"setting"},on:{click:function(t){return e.deleteObject(n.contextNode)}}},[e._v("删除菜单")])]):e._e()]}}])})],1),t("RightPanel",[t("pageContent",{attrs:{title:e.formTitle}},[e.treeData.length>0&&e.showInfoView?t("typeForm",{ref:"typeForm1",attrs:{vo:e.vo,"tree-data":e.treeData,"chang-access-rights":e.changAccessRights}}):e._e(),t("div",{staticStyle:{"text-align":"center"},attrs:{slot:"footer"},slot:"footer"},[e.treeData.length>0&&e.showInfoView?t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"confirmUpdate",expression:"'confirmUpdate'"}],attrs:{type:"primary",size:"small",icon:"el-icon-check"},on:{click:e.updateObject}},[e._v("确认修改")]):e._e(),e.vo.categoryLevel<3||!e.vo.categoryLevel?t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"addChildType",expression:"'addChildType'"}],attrs:{size:"small",plain:"",icon:"el-icon-plus"},on:{click:function(t){return e.addObject(e.vo)}}},[e._v("新增子分类")]):e._e(),e.treeData.length>0&&e.showInfoView?t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"delType",expression:"'delType'"}],attrs:{type:"danger",size:"small",icon:"el-icon-delete"},on:{click:function(t){return e.deleteObject(e.vo)}}},[e._v("删除子分类")]):e._e()],1)],1)],1),t("Basicform",{ref:"basicForm",attrs:{title:e.$tx("gwgl.components.archiveClassification","归档分类管理"),"win-width":800,"win-height":600,"toolbar-btns":e.busiformBtns,"on-basic-form-before-open":e.onBasicFormBeforeOpen,"on-basic-form-opened":e.onBasicFormOpened,"on-basic-form-before-submit":e.onBasicFormBeforeSubmit,"on-basic-form-submited":e.onBasicFormSubmited},scopedSlots:e._u([{key:"default",fn:function(n){return[t("typeForm",{ref:"typeForm",attrs:{vo:n.vo,"module-info":e.moduleInfo,"tree-data":e.treeData}})]}}])})],1)},zo=[],Ro=function(){var e=this,t=e._self._c;return t("el-form",{attrs:{model:e.vo}},[t("div",{staticClass:"el-table el-table--fit el-table--border"},[t("div",{staticClass:"el-table__body-wrapper"},[t("table",{staticClass:"el-table__body",attrs:{cellspacing:"0",cellpadding:"0",border:"0"}},[t("tbody",["归档文件"!==e.getNamehandler(e.vo.parentId)?t("tr",[t("td",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"levelType",expression:"'levelType'"}],staticClass:"el-table__cell tdlbl tdw17"},[e._v("上级分类")]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[e._v(" "+e._s(e.getNamehandler(e.vo.parentId))+" ")])]):e._e(),t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"typeName",expression:"'typeName'"}]},[e._v("分类名称")])]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"分类名称",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-input",{attrs:{type:"text","show-word-limit":"true",placeholder:e.$tx("gwgl.gwjh.typeNamePlaceholder","请输入分类名称")},model:{value:e.vo.categoryName,callback:function(t){e.$set(e.vo,"categoryName",t)},expression:"vo.categoryName"}})],1)]}}])})],1)]),t("tr",[t("td",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"classicDescription",expression:"'classicDescription'"}],staticClass:"el-table__cell tdlbl tdw17"},[e._v("分类描述")]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[t("el-input",{attrs:{type:"textarea","show-word-limit":"",placeholder:e.$tx("gwgl.setting.classicDescriptionPlaceholder","请输入分类描述")},model:{value:e.vo.categoryDes,callback:function(t){e.$set(e.vo,"categoryDes",t)},expression:"vo.categoryDes"}})],1)]),t("tr",[t("td",{ref:"tdlbl_排序号",staticClass:"el-table__cell tdlbl tdw17",attrs:{colspan:"1"}},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"sortNumber",expression:"'sortNumber'"}]},[e._v("排序号")])]),t("td",{staticClass:"el-table__cell tdcont tdw83",attrs:{colspan:"5"}},[t("form-item",{ref:"orderno",attrs:{field:{defaultValue:null,elementCanEdit:"{${canEdit}}",elementCssHeight:null,elementCssWidth:null,elementFormatter:null,elementReadonly:0,elementType:"input",emptyMessage:e.$tx("gwgl.setting.sortNumberEmptyMessage","请输入四位数的排序号"),errorMessage:null,formTdAlign:"text-left",formTdColspan:0,isRequired:1,onClickEvent:null,passenger:{},propComment:"排序号",propName:"orderno",propType:"Integer",textFormatter:"integer",valueMaxLength:"4",valueMinLength:"4",model:"vo.orderno",option:[]},vo:e.vo,"can-edit":e.canEdit}})],1)]),0!=e.vo.accessRights?t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[1===e.vo.accessRights?t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"selectGroup",expression:"'selectGroup'"}],attrs:{moduleCode:"components"}},[e._v("选择群组")]):e._e(),2===e.vo.accessRights?t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"selectDepart",expression:"'selectDepart'"}],attrs:{moduleCode:"components"}},[e._v("选择部门")]):e._e(),3===e.vo.accessRights?t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"selectPerson",expression:"'selectPerson'"}],attrs:{moduleCode:"components"}},[e._v("选择人员")]):e._e()]),t("td",{staticClass:"el-table__cell tdcont tdw83",attrs:{colspan:"3"}},[t("el-input",{directives:[{name:"show",rawName:"v-show",value:1===e.vo.accessRights,expression:"vo.accessRights === 1"},{name:"select-dialog",rawName:"v-select-dialog",value:"workgroup",expression:"'workgroup'"}],attrs:{placeholder:e.$tx("gwgl.components.GroupPlaceholder","请选择群组"),readonly:"readonly",multiple:"true",type:"textarea","root-org-code":e.vo.orgCode,name:"deptIds2"},model:{value:e.vo.deptNames,callback:function(t){e.$set(e.vo,"deptNames",t)},expression:"vo.deptNames"}}),t("el-input",{directives:[{name:"show",rawName:"v-show",value:2===e.vo.accessRights,expression:"vo.accessRights === 2"},{name:"select-dialog",rawName:"v-select-dialog",value:"suborg",expression:"'suborg'"}],attrs:{placeholder:e.$tx("gwgl.components.DepartPlaceholder","请选择部门"),"org-level":"2",readonly:"readonly",multiple:"true",type:"textarea","root-org-code":e.vo.orgCode,name:"deptIds"},model:{value:e.vo.deptNames,callback:function(t){e.$set(e.vo,"deptNames",t)},expression:"vo.deptNames"}}),t("el-input",{directives:[{name:"show",rawName:"v-show",value:3===e.vo.accessRights,expression:"vo.accessRights === 3"},{name:"select-dialog",rawName:"v-select-dialog",value:"staff",expression:"'staff'"}],attrs:{placeholder:e.$tx("gwgl.components.PersonPlaceholder","请选择人员"),readonly:"readonly",multiple:"true",type:"textarea",name:"deptIds","root-org-code":e.vo.orgCode},model:{value:e.vo.deptNames,callback:function(t){e.$set(e.vo,"deptNames",t)},expression:"vo.deptNames"}})],1)]):e._e(),t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"status",expression:"'status'"}]},[e._v("状态")])]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[t("el-radio-group",{model:{value:e.vo.status,callback:function(t){e.$set(e.vo,"status",t)},expression:"vo.status"}},[t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"effective",expression:"'effective'"}],attrs:{label:1}},[e._v("有效")]),t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"invalid",expression:"'invalid'"}],attrs:{label:0}},[e._v("无效")])],1)],1)])])])])])])},Wo=[],Go={components:{},props:{vo:{type:Object,default:function(){return{}}},changAccessRights:{type:Function,default:null},treeData:{type:Array,default:function(){return[]}}},data:function(){return{i18npkg:"gwgl",moduleCode:"setting"}},computed:{},watch:{},created:function(){},mounted:function(){},beforeDestroy:function(){},methods:{getNamehandler:function(e){var t=this.treeData.filter((function(t){return t.id===e}));return t.length>0?t[0].categoryName:"归档文件"},changHandler:function(e){this.vo.deptIds="",this.vo.deptNames="",this.changAccessRights&&this.changAccessRights(e)},onSelectSuborgCompleted:function(e,t){var n="",r="";e.forEach((function(e){""!==n&&(n+="、"),""!==n&&(r+="、"),n+=e.name,r+=e.id})),this.$set(this.vo,"deptIds",r),this.$set(this.vo,"deptNames",n)},onSelectWorkgroupCompleted:function(e,t){var n="",r="";e.forEach((function(e){""!==n&&(n+="、"),""!==n&&(r+="、"),n+=e.name,r+=e.id})),this.$set(this.vo,"deptIds",r),this.$set(this.vo,"deptNames",n)},onSelectStaffCompleted:function(e,t){var n="",r="";e.forEach((function(e){""!==n&&(r+="、"),""!==n&&(n+="、"),n+=e.name,r+=e.personId})),this.$set(this.vo,"deptNames",n),this.$set(this.vo,"deptIds",r)}}},Bo=Go,Uo=m(Bo,Ro,Wo,!1,null,"80bceea4",null),qo=Uo.exports,Vo={components:{typeForm:qo},props:{},data:function(){return{i18npkg:"gwgl",busiformBtns:[{id:"btn_close",btnName:"关 闭",btnIcon:"close",btnClick:this.closeDialog,btnPermission:"",btnType:""},{id:"btn_save",btnName:"保 存",btnIcon:"check",btnClick:this.submitBusiform,btnPermission:"saveObject",btnType:"primary"}],formTitle:this.$tx("gwgl.setting.formTitle","归档分类设置"),activeText:"",activedeptIds:"",vo:{},chooseId:"",categoryFullId:"",categoryFullName:"",moduleInfo:{moduleCode:"gdflsz",addNewUrl:"gwgl/gdflsz/addNew",insertUrl:"gwgl/gdflsz/insert",getByIdUrl:"gwgl/gdflsz/getById",updateUrl:"gwgl/gdflsz/update",delUrl:"gwgl/gdflsz/delete",winWidth:900,winHeight:600,id:null},treeData:[],root:null,sysNode:null,showInfoView:!1,loginUser:this.$store.getters.loginUser}},computed:{},watch:{},created:function(){this.$bus.emit("showNavSearch",!1),this.root={id:"0",name:"归档文件",categoryName:"归档文件",open:!0,title:"归档文件"},this.queryData()},mounted:function(){},beforeDestroy:function(){this.$bus.emit("showNavSearch",!0)},methods:{submitBusiform:function(){var e=this,t=this,n=this.$refs.typeForm.vo;this.$refs.typeForm.formValidate((function(){if(n.categoryName)if(n.orderno)if(isNaN(n.orderno))t.$alert(t.$tx("gwgl.messages.truelyPhone","请输入正确的四位数排序号"),t.$tx("common.operationTip","操作提示"),{type:"warning"});else if(4===(n.orderno+"").length){e.$refs.typeForm.vo.parentId=e.chooseId;var r=JSON.parse(JSON.stringify(e.$refs.typeForm.vo));e.$http({method:"POST",contentType:"application/x-www-form-urlencoded",data:r,url:e.moduleInfo.insertUrl}).then((function(t){"success"===t.code?(e.$message({message:t.message,type:"success"}),e.closeDialog(),e.refreshTreeData()):e.$alert(t.message,e.$tx("common.operationTip","操作提示"),{type:"error"})}))}else t.$alert(t.$tx("gwgl.messages.truelyPhone","请输入正确的四位数排序号"),t.$tx("common.operationTip","操作提示"),{type:"warning"});else t.$alert(t.$tx("gwgl.messages.sortNumberEmptyMessage","请输入四位数的排序号"),t.$tx("common.operationTip","操作提示"),{type:"warning"});else t.$alert(t.$tx("gwgl.gwjh.typeNamePlaceholder","请输入分类名称"),t.$tx("common.operationTip","操作提示"),{type:"warning"})}))},closeDialog:function(){this.$refs.basicForm.dialogFormVisible=!1,this.$refs.basicForm.moduleInfo={},this.$refs.basicForm.vo={}},changAccessRights:function(e){e===this.activeId&&(this.vo.deptIds=this.activedeptIds,this.vo.deptNames=this.activeText)},updateObject:function(){var e=this;e.$refs.typeForm1.formValidate((function(){e.vo.categoryName?e.vo.orderno?isNaN(e.vo.orderno)?e.$alert(e.$tx("gwgl.messages.truelyPhone","请输入正确的四位数排序号"),e.$tx("common.operationTip","操作提示"),{type:"warning"}):4===(e.vo.orderno+"").length?e.$http({method:"PUT",contentType:"application/x-www-form-urlencoded",data:e.vo,url:"/gwgl/gdflsz/update"}).then((function(t){"success"===t.code?(e.$message({message:t.message,type:"success"}),e.refreshTreeData()):e.$message.error(t.message)})):e.$alert(e.$tx("gwgl.messages.truelyPhone","请输入正确的四位数排序号"),e.$tx("common.operationTip","操作提示"),{type:"warning"}):e.$alert(e.$tx("gwgl.messages.sortNumberEmptyMessage","请输入四位数的排序号"),e.$tx("common.operationTip","操作提示"),{type:"warning"}):e.$alert(e.$tx("gwgl.gwjh.typeNamePlaceholder","请输入分类名称"),e.$tx("common.operationTip","操作提示"),{type:"warning"})}))},addMenu:function(e,t){var n=this;this.sysNode=t,this.chooseId=t.id,this.categoryFullId=null===t.categoryFullId||""===t.categoryFullId||void 0===t.categoryFullId?t.id:t.categoryFullId,this.categoryFullName=null===t.categoryFullName||""===t.categoryFullName||void 0===t.categoryFullName?t.categoryName:t.categoryFullName+"-"+t.categoryName,this.$nextTick((function(){n.addObject(t)}))},addObject:function(e){var t=this.moduleInfo.addNewUrl.split("?")[0];t+="?parentId=",null===e?this.moduleInfo.addNewUrl=t:(this.moduleInfo.addNewUrl=t+e.id,this.moduleInfo.id=e.id),this.$bus.emit("openBusiform",this.moduleInfo,null,1)},deleteObject:function(e){var t=this,n=this.$tx("gwgl.gwjh.confirmDel",{val:e.categoryName},"确认删除".concat(e.categoryName,"吗?"));this.$confirm(n,{type:"warning"}).then((function(){t.$http({method:"DELETE",contentType:"application/x-www-form-urlencoded",params:{ids:e.id},url:t.moduleInfo.delUrl}).then((function(e){"success"===e.code?(t.sysNode=null,t.refreshTreeData(),t.$message.success(e.message)):t.$alert(e.message,{type:"error"})}))})).catch((function(){}))},refreshTreeData:function(){this.chooseId="",this.categoryFullId="",this.categoryFullName="",this.queryData()},queryData:function(){var e=this;this.$http({method:"POST",contentType:"application/x-www-form-urlencoded",params:{orderBy:"categoryLevel asc,orderno asc"},data:[{compare:"=",field:"orgCode",merge:!0,value:this.loginUser.orgCode}],url:"/gwgl/gdflsz/querydata"}).then((function(t){"success"===t.code?e.treeData=e.treeDataAdapter([e.root].concat(t.body.listdata)):e.$alert(t.message,e.$tx("common.operationTip","操作提示"),{type:"error"})}))},treeDataAdapter:function(e){return e.forEach((function(e){null===e.parentId||""===e.parentId||void 0===e.parentId?e.pId="0":e.pId=e.parentId,e.name=e.categoryName,e.title=e.categoryName,e.open=!0})),e},onTreeCreated:function(e){this.zTree=e;var t=e.getNodes();t.length>0&&(null===this.sysNode?(this.onTreeNodeClick("",t[0].id,t[0]),e.selectNode(t[0])):(this.onTreeNodeClick("",this.sysNode.id,this.sysNode),e.selectNode(this.sysNode)))},onTreeNodeClick:function(e,t,n){var r=this;this.sysNode=n,"归档文件"===n.name?this.showInfoView=!1:this.showInfoView=!0,this.$nextTick((function(e){r.getExpenseType(n)}))},getExpenseType:function(e){this.vo=e,this.chooseId=this.vo.id,this.categoryFullId=null===this.vo.categoryFullId||""===this.vo.categoryFullId||void 0===this.vo.categoryFullId?this.vo.id:this.vo.categoryFullId,this.categoryFullName=null===this.vo.categoryFullName||""===this.vo.categoryFullName||void 0===this.vo.categoryFullName?this.vo.categoryName:this.vo.categoryFullName+"-"+this.vo.categoryName,0!==this.vo.accessRights&&(this.activeId=this.vo.accessRights,this.activeText=this.vo.deptNames,this.activedeptIds=this.vo.deptIds)},onBasicFormBeforeOpen:function(e,t,n){t.categoryFullName=this.categoryFullName,t.categoryFullId=""===this.categoryFullId?t.id:this.categoryFullId+"-"+t.id,t.status=null===t.status?1:t.status,t.accessRights=null===t.accessRights?0:t.accessRights,t.categoryLevel=null===this.vo.categoryLevel||void 0===this.vo.categoryLevel?1:Number(this.vo.categoryLevel)+1,t.parentId=this.moduleInfo.id,n.resolve(!0)},onBasicFormOpened:function(e,t){$(".sel-icon .el-radio-button__orig-radio:checked").next(".el-radio-button__inner").css("background-color",t.iconColor)},onBasicFormBeforeSubmit:function(e,t,n){console.log(e,t,n)},onBasicFormSubmited:function(e,t){console.log(e,t)}}},Jo=Vo,Ko=(n(6272),m(Jo,Io,zo,!1,null,"3f95727c",null)),Qo=Ko.exports,Zo=function(){var e=this,t=e._self._c;return t("div",{directives:[{name:"show",rawName:"v-show",value:e.show,expression:"show"}],staticClass:"gdgz"},[t("PageContent",{attrs:{title:e.$tx("gwgl.setting.gdgzTitle","自动归档规则设置")}},[t("el-form",[t("div",{staticClass:"el-table el-table--fit el-table--border"},[t("div",{staticClass:"el-table__body-wrapper"},[t("table",{staticClass:"el-table__body el-table__body-top el-table__body_no",attrs:{cellspacing:"0",cellpadding:"0",border:"0"}},[t("tbody",[t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"autoToArch",expression:"'autoToArch'"}]},[e._v("自动归档")])]),t("td",{staticClass:"el-table__cell tdcont tdw83",attrs:{colspan:"3"}},[t("el-radio-group",{model:{value:e.vo.autoToArch,callback:function(t){e.$set(e.vo,"autoToArch",t)},expression:"vo.autoToArch"}},[t("el-radio",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"open",expression:"'open'"}],attrs:{label:"1"}},[e._v("开 启")]),t("el-radio",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"close",expression:"'close'"}],attrs:{label:"0"}},[e._v("关 闭")])],1)],1)]),t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"archiveFileType",expression:"'archiveFileType'"}]},[e._v("归档文件类型")])]),t("td",{staticClass:"el-table__cell tdcont tdw83",attrs:{colspan:"3"}},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"归档文件类型",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-checkbox-group",{attrs:{name:"fileType"},model:{value:e.fileType,callback:function(t){e.fileType=t},expression:"fileType"}},e._l(e.fileTypeList,(function(n,r){return t("el-checkbox",{key:r,attrs:{label:n}},[e._v(e._s(n))])})),1)],1)]}}])})],1)]),t("tr",[t("td",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"completedDocuments",expression:"'completedDocuments'"}],staticClass:"el-table__cell tdlbl tdw17",attrs:{rowspan:"2"}},[e._v("已办结文件")]),t("td",{staticClass:"el-table__cell tdcont tdw33"},[t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"afterCompletion",expression:"'afterCompletion'"}],staticClass:"td-lable"},[e._v("办结后")]),t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:" ",rules:"required|integer|min_value:0"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-input",{staticStyle:{width:"120px"},attrs:{name:"doneRetainDay"},model:{value:e.vo.doneRetainDay,callback:function(t){e.$set(e.vo,"doneRetainDay",t)},expression:"vo.doneRetainDay"}})],1)]}}])}),e._v("   "),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"dayFile",expression:"'dayFile'"}],staticClass:"td-lable"},[e._v("天归档")])],1),t("td",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"noCompletedDocuments",expression:"'noCompletedDocuments'"}],staticClass:"el-table__cell tdlbl tdw17",attrs:{rowspan:"2"}},[e._v("未办结文件")]),t("td",{staticClass:"el-table__cell tdcont tdw33"},[t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"forCreate",expression:"'forCreate'"}],staticClass:"td-lable"},[e._v("自创建起")]),t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:" ",rules:"required|integer|min_value:0"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-input",{staticStyle:{width:"120px"},attrs:{name:"todoRetainDay"},model:{value:e.vo.todoRetainDay,callback:function(t){e.$set(e.vo,"todoRetainDay",t)},expression:"vo.todoRetainDay"}})],1)]}}])}),e._v("   "),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"dayFile",expression:"'dayFile'"}],staticClass:"td-lable"},[e._v("天归档")])],1)]),t("tr",[t("td",{staticClass:"el-table__cell tdcont tdw33"},[t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"afterFile",expression:"'afterFile'"}],staticClass:"td-lable"},[e._v("归档后")]),t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:" ",rules:"required|integer|min_value:0"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-input",{staticStyle:{width:"120px"},attrs:{name:"doneRetainDayDel"},model:{value:e.vo.doneRetainDayDel,callback:function(t){e.$set(e.vo,"doneRetainDayDel",t)},expression:"vo.doneRetainDayDel"}})],1)]}}])}),e._v("   "),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"dayDel",expression:"'dayDel'"}],staticClass:"td-lable"},[e._v("天删除")])],1),t("td",{staticClass:"el-table__cell tdcont tdw33"},[t("span",{staticClass:"td-lable"},[e._v(e._s(e.$tx("gwgl.setting.afterFile")))]),t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:" ",rules:"required|integer|min_value:0"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-input",{staticStyle:{width:"120px"},attrs:{name:"todoRetainDayDel"},model:{value:e.vo.todoRetainDayDel,callback:function(t){e.$set(e.vo,"todoRetainDayDel",t)},expression:"vo.todoRetainDayDel"}})],1)]}}])}),e._v("   "),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"dayDel",expression:"'dayDel'"}],staticClass:"td-lable"},[e._v("天删除")])],1)]),t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[e._v(e._s(e.$tx("gwgl.components.fileAccessPermission")))]),t("td",{staticClass:"el-table__cell tdcont tdw83",attrs:{colspan:"3"}},[t("el-radio-group",{model:{value:e.vo.accessRightsType,callback:function(t){e.$set(e.vo,"accessRightsType",t)},expression:"vo.accessRightsType"}},[t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"allPersonnel",expression:"'allPersonnel'"}],attrs:{label:0,"module-code":"components"}},[e._v("全体人员可阅")]),t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"originalHandler",expression:"'originalHandler'"}],attrs:{label:1,"module-code":"components"}},[e._v("原经办人可阅")]),t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"handlerDesignated",expression:"'handlerDesignated'"}],attrs:{label:2,"module-code":"components"}},[e._v("原经办人+指定人可阅")])],1)],1)]),2===e.vo.accessRightsType?t("tr",[t("td",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"appoints",expression:"'appoints'"}],staticClass:"el-table__cell tdlbl tdw17",attrs:{moduleCode:"components"}},[e._v("指定类型")]),t("td",{staticClass:"el-table__cell tdcont tdw83",attrs:{colspan:"3"}},[t("el-radio-group",{on:{change:e.changAppoints},model:{value:e.vo.appoints,callback:function(t){e.$set(e.vo,"appoints",t)},expression:"vo.appoints"}},[t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"specifyGroup",expression:"'specifyGroup'"}],attrs:{label:"1","module-code":"components"}},[e._v("指定群组")]),t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"specifyDepart",expression:"'specifyDepart'"}],attrs:{label:"2","module-code":"components"}},[e._v("指定部门")]),t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"specifyPerson",expression:"'specifyPerson'"}],attrs:{label:"3","module-code":"components"}},[e._v("指定人员")])],1)],1)]):e._e(),2===e.vo.accessRightsType?t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),"1"===e.vo.appoints?t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"selectGroup",expression:"'selectGroup'"}],attrs:{moduleCode:"components"}},[e._v("选择群组")]):e._e(),"2"===e.vo.appoints?t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"selectDepart",expression:"'selectDepart'"}],attrs:{moduleCode:"components"}},[e._v("选择部门")]):e._e(),"3"===e.vo.appoints?t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"selectPerson",expression:"'selectPerson'"}],attrs:{moduleCode:"components"}},[e._v("选择人员")]):e._e()]),t("td",{staticClass:"el-table__cell tdcont tdw83",attrs:{colspan:"3"}},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:e.errorName(e.vo.appoints),rules:"required"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-input",{directives:[{name:"show",rawName:"v-show",value:"1"===e.vo.appoints,expression:"vo.appoints === '1'"},{name:"select-dialog",rawName:"v-select-dialog",value:"workgroup",expression:"'workgroup'"}],attrs:{readonly:"readonly",multiple:"true",type:"textarea","root-org-code":e.vo.orgCode,name:"deptIds2"},model:{value:e.vo.deptOrName,callback:function(t){e.$set(e.vo,"deptOrName",t)},expression:"vo.deptOrName"}})],1)]}}],null,!1,3325374032)}),t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:e.errorName(e.vo.appoints),rules:"required"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-input",{directives:[{name:"show",rawName:"v-show",value:"2"===e.vo.appoints,expression:"vo.appoints === '2'"},{name:"select-dialog",rawName:"v-select-dialog",value:"suborg",expression:"'suborg'"}],attrs:{"org-level":"2",readonly:"readonly",multiple:"true",type:"textarea","root-org-code":e.vo.orgCode,name:"deptIds"},model:{value:e.vo.deptOrName,callback:function(t){e.$set(e.vo,"deptOrName",t)},expression:"vo.deptOrName"}})],1)]}}],null,!1,3183607047)}),t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:e.errorName(e.vo.appoints),rules:"required"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-input",{directives:[{name:"show",rawName:"v-show",value:"3"===e.vo.appoints,expression:"vo.appoints === '3'"},{name:"select-dialog",rawName:"v-select-dialog",value:"staff",expression:"'staff'"}],attrs:{readonly:"readonly",multiple:"true",type:"textarea",name:"deptIds","root-org-code":e.vo.orgCode},model:{value:e.vo.deptOrName,callback:function(t){e.$set(e.vo,"deptOrName",t)},expression:"vo.deptOrName"}})],1)]}}],null,!1,3921191426)})],1)]):e._e()])])])])])],1),t("PageContent",{attrs:{title:e.$tx("gwgl.setting.gdgzTitle2","自动/手动归档提醒设置")}},[t("el-form",[t("div",{staticClass:"el-table el-table--fit el-table--border"},[t("div",{staticClass:"el-table__body-wrapper"},[t("table",{staticClass:"el-table__body",attrs:{cellspacing:"0",cellpadding:"0",border:"0"}},[t("tbody",[t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"reminderMethod",expression:"'reminderMethod'"}]},[e._v("提醒方式")])]),t("td",{staticClass:"el-table__cell tdcont",attrs:{colspan:"3"}},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"提醒方式",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-checkbox-group",{model:{value:e.remindType,callback:function(t){e.remindType=t},expression:"remindType"}},[t("el-checkbox",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"textMessage",expression:"'textMessage'"}],attrs:{label:"0","module-code":"gwjh"}},[e._v("短信")]),t("el-checkbox",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"email",expression:"'email'"}],attrs:{label:"3"}},[e._v("邮件")])],1)],1)]}}])})],1)]),t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"remindPersonName",expression:"'remindPersonName'"}]},[e._v("短信接收人员")])]),t("td",{staticClass:"el-table__cell tdcont",attrs:{colspan:"3"}},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"人员",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(n){var r=n.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==r[0]},attrs:{disabled:void 0===r[0],content:r[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-input",{directives:[{name:"select-dialog",rawName:"v-select-dialog",value:"staff",expression:"'staff'"}],attrs:{readonly:"readonly",multiple:"true",type:"textarea",name:"remindPersonName"},model:{value:e.vo.remindPersonName,callback:function(t){e.$set(e.vo,"remindPersonName",t)},expression:"vo.remindPersonName"}})],1)]}}])})],1)])])])])])]),t("div",{staticStyle:{height:"100px"},attrs:{slot:"footer"},slot:"footer"},[t("div",{staticStyle:{"margin-bottom":"10px","font-size":"var(--portalFontSize13)"}},[t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"footerText",expression:"'footerText'"}],staticStyle:{color:"red"}},[e._v("注:天数为0,则不进行自动归档")]),t("div",[t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"save",expression:"'save'"}],attrs:{plain:"",icon:"el-icon-check"},on:{click:e.submitRule}},[e._v("保 存")])],1)])])],1)],1)},Xo=[];function ei(e){return ei="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ei(e)}function ti(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ti=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function d(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(e){d=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var o=t&&t.prototype instanceof y?t:y,i=Object.create(o.prototype),s=new j(r||[]);return a(i,"_invoke",{value:D(e,n,s)}),i}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=c;var p="suspendedStart",m="suspendedYield",f="executing",h="completed",g={};function y(){}function _(){}function v(){}var b={};d(b,i,(function(){return this}));var w=Object.getPrototypeOf,M=w&&w(w(C([])));M&&M!==n&&r.call(M,i)&&(b=M);var L=v.prototype=y.prototype=Object.create(b);function T(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function n(a,o,i,s){var l=u(e[a],e,o);if("throw"!==l.type){var d=l.arg,c=d.value;return c&&"object"==ei(c)&&r.call(c,"__await")?t.resolve(c.__await).then((function(e){n("next",e,i,s)}),(function(e){n("throw",e,i,s)})):t.resolve(c).then((function(e){d.value=e,i(d)}),(function(e){return n("throw",e,i,s)}))}s(l.arg)}var o;a(this,"_invoke",{value:function(e,r){function a(){return new t((function(t,a){n(e,r,t,a)}))}return o=o?o.then(a,a):a()}})}function D(t,n,r){var a=p;return function(o,i){if(a===f)throw Error("Generator is already running");if(a===h){if("throw"===o)throw i;return{value:e,done:!0}}for(r.method=o,r.arg=i;;){var s=r.delegate;if(s){var l=k(s,r);if(l){if(l===g)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(a===p)throw a=h,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);a=f;var d=u(t,n,r);if("normal"===d.type){if(a=r.done?h:m,d.arg===g)continue;return{value:d.arg,done:r.done}}"throw"===d.type&&(a=h,r.method="throw",r.arg=d.arg)}}}function k(t,n){var r=n.method,a=t.iterator[r];if(a===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,k(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var o=u(a,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,g;var i=o.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,g):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function Y(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function C(t){if(t||""===t){var n=t[i];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,o=function n(){for(;++a<t.length;)if(r.call(t,a))return n.value=t[a],n.done=!1,n;return n.value=e,n.done=!0,n};return o.next=o}}throw new TypeError(ei(t)+" is not iterable")}return _.prototype=v,a(L,"constructor",{value:v,configurable:!0}),a(v,"constructor",{value:_,configurable:!0}),_.displayName=d(v,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===_||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,d(e,l,"GeneratorFunction")),e.prototype=Object.create(L),e},t.awrap=function(e){return{__await:e}},T(x.prototype),d(x.prototype,s,(function(){return this})),t.AsyncIterator=x,t.async=function(e,n,r,a,o){void 0===o&&(o=Promise);var i=new x(c(e,n,r,a),o);return t.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},T(L),d(L,l,"Generator"),d(L,i,(function(){return this})),d(L,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=C,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(Y),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function a(r,a){return s.type="throw",s.arg=t,n.next=r,a&&(n.method="next",n.arg=e),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],s=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var l=r.call(i,"catchLoc"),d=r.call(i,"finallyLoc");if(l&&d){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!d)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&r.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),Y(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;Y(n)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:C(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}function ni(e,t,n,r,a,o,i){try{var s=e[o](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)}function ri(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){ni(o,r,a,i,s,"next",e)}function s(e){ni(o,r,a,i,s,"throw",e)}i(void 0)}))}}var ai={components:{},props:{},data:function(){return{i18npkg:"gwgl",moduleCode:"setting",show:!1,formtype:"",loginUser:this.$store.getters.loginUser,fileType:[],remindType:[],activeId:null,activeText:"",activedeptIds:"",vo:{accessRightsType:0,appoints:"1",autoRemind:0,autoToArch:"0",deptIds:"",deptOrName:"",doneRetainDay:0,doneRetainDayDel:0,todoRetainDay:0,todoRetainDayDel:0,fileType:"",id:"",orgCode:"",orgName:"",passenger:{},remindPersonName:"",remindPersonid:"",remindScope:0,remindType:[]},fileTypeList:[this.$tx("gwgl.portlet.unitDocument","单位发文"),this.$tx("gwgl.portlet.readingOffice","收文阅办"),this.$tx("gwgl.portlet.receiptDocuments","部门收文"),this.$tx("gwgl.portlet.departmentalLetter","部门便函"),this.$tx("gwgl.portlet.solicitationOpinions","意见征集"),this.$tx("gwgl.portlet.requestInstructions","请示报告"),this.$tx("gwgl.portlet.documentCirculation","文件传阅")]}},computed:{},watch:{},created:function(){self.$bus.emit("showNavSearch",!1),this.querydata(),this.getFileTypeList()},mounted:function(){},beforeDestroy:function(){self.$bus.emit("showNavSearch",!0)},methods:{getFileTypeList:function(){var e=this;this.$http({method:"get",contentType:"application/x-www-form-urlencoded",url:"/gwgl/gdwj/getFileTypeList"}).then((function(t){"success"===t.code&&(e.fileTypeList=t.body.fileTypeList)}))},errorName:function(e){var t="";return"1"===e&&(t=this.$tx("gwgl.setting.group","群组")),"2"===e&&(t=this.$tx("gwgl.setting.depart","部门")),"3"===e&&(t=this.$tx("gwgl.setting.person","人员")),t},changAppoints:function(e){this.vo.deptIds="",this.vo.deptOrName="",e===this.activeId&&(this.vo.deptIds=this.activedeptIds,this.vo.deptOrName=this.activeText)},onSelectSuborgCompleted:function(e,t){var n="",r="";e.forEach((function(e){""!==n&&(n+="、"),""!==n&&(r+="、"),n+=e.name,r+=e.id})),this.$set(this.vo,"deptIds",r),this.$set(this.vo,"deptOrName",n)},onSelectWorkgroupCompleted:function(e,t){var n="",r="";e.forEach((function(e){""!==n&&(n+="、"),""!==n&&(r+="、"),n+=e.name,r+=e.id})),this.$set(this.vo,"deptIds",r),this.$set(this.vo,"deptOrName",n)},onSelectStaffCompleted:function(e,t){var n="",r="";e.forEach((function(e){""!==n&&(r+="、"),""!==n&&(n+="、"),n+=e.name,r+=e.personId})),"remindPersonName"===t.name?(this.vo.remindPersonid="",this.vo.remindPersonName="",this.$set(this.vo,"remindPersonName",n),this.$set(this.vo,"remindPersonid",r)):"deptIds"===t.name&&(this.$set(this.vo,"deptOrName",n),this.$set(this.vo,"deptIds",r))},querydata:function(){var e=this;return ri(ti().mark((function t(){var n,r;return ti().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=[{compare:"=",field:"orgCode",merge:!0,value:e.loginUser.orgCode}],t.next=3,e.$app.querydata("/gwgl/gdgz/querydata",n);case 3:r=t.sent,"success"===r.code?(r.body.listdata.length>0?(e.formtype="updata",e.vo=r.body.listdata[0],e.fileType=e.vo.fileType.split(","),e.remindType=e.vo.remindType.split(","),"1"===e.vo.appoints&&"2"===e.vo.appoints&&"3"===e.vo.appoints||(e.vo.appoints="1"),2===e.vo.accessRightsType&&(e.activeId=e.vo.appoints,e.activeText=e.vo.deptOrName,e.activedeptIds=e.vo.deptIds)):e.$http({method:"post",contentType:"application/x-www-form-urlencoded",data:n,url:"/gwgl/gdgz/addNew"}).then((function(t){"success"===t.code&&(e.formtype="addnew",e.vo.id=t.body.vo.id,e.vo.orgCode=t.body.vo.orgCode,e.vo.orgName=t.body.vo.orgName)})),e.show=!0):(e.show=!0,e.$message.error(r.message));case 5:case"end":return t.stop()}}),t)})))()},submitRule:function(){var e=this;this.formValidate((function(){e.remindType=e.remindType.filter((function(e){return e})),e.vo.remindType=e.remindType.join(),e.fileType=e.fileType.filter((function(e){return e})),e.vo.fileType=e.fileType.join();var t={};"updata"===e.formtype?(t.method="PUT",t.url="/gwgl/gdgz/update"):"addnew"===e.formtype&&(t.method="POST",t.url="/gwgl/gdgz/insert"),0!==e.fileType.length?0!==e.remindType.length?0!==e.vo.remindPersonName.length?e.$http({method:t.method,contentType:"application/x-www-form-urlencoded",data:e.vo,url:t.url}).then((function(t){"success"===t.code?e.$message({message:t.message,type:"success"}):e.$message.error(t.message)})):e.$alert(e.$tx("gwgl.messages.submitAlert3","请选择短信接收人员"),e.$tx("gwgl.messages.submitAlertTip","温馨提示"),{confirmButtonText:e.$tx("pageBtns.sure","确 定")}):e.$alert(e.$tx("gwgl.messages.submitAlert2","请选择提醒方式"),e.$tx("gwgl.messages.submitAlertTip","温馨提示"),{confirmButtonText:e.$tx("pageBtns.sure","确 定")}):e.$alert(e.$tx("gwgl.messages.submitAlert","请选择归档文件类型"),e.$tx("gwgl.messages.submitAlertTip","温馨提示"),{confirmButtonText:e.$tx("pageBtns.sure","确 定")})}))}}},oi=ai,ii=(n(5222),m(oi,Zo,Xo,!1,null,"2c30e9dc",null)),si=ii.exports,li=function(){var e=this,t=e._self._c;return t("div",{staticClass:"app-container"},[e.searchTab.length>0?t("div",{staticClass:"tabbar"},[t("el-radio-group",{attrs:{size:"small"},model:{value:e.searchType,callback:function(t){e.searchType=t},expression:"searchType"}},e._l(e.searchTab,(function(n,r){return t("el-radio-button",{key:r,attrs:{label:n.type}},[t("div",{staticClass:"tabbartext",on:{click:function(t){return e.tabClickHandler(n)}}},[e._v(e._s(n.title))])])})),1)],1):e._e(),t("div",{staticClass:"search-box"},[t("DepTime",{attrs:{"dept-id":e.selectDept,"select-type":e.selectType,datearr:e.chooseDate,"report-type":e.reportType,"search-type":e.searchType},on:{changeTypeData:e.changeTypeData,dateInit:e.dateInit,changeDeptData:e.changeDeptData}}),t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"tj",expression:"'tj'"}],staticStyle:{"margin-left":"20px"},attrs:{type:"primary"},on:{click:e.getReportList}},[e._v("统计")])],1),t("div",{staticClass:"statistics_title",staticStyle:{margin:"20px 0px 10px"}},[e._v(e._s(e.title))]),t("div",{staticClass:"echart-box"},[e.loading?e._e():t("bar",{attrs:{"name-max-length":7,left:"2%",right:"5%","x-label-rotate":30,"echarts-click":e.echartsClick,"tooltip-format":e.tooltipFormat,"x-unit":e.xUnit,"y-unit":e.yUnit,"chart-type":e.chartType,"is-legend":!0,color:e.color,"x-data":e.xdata,"y-data":e.ydata,"toolbox-show":!0,"toolbox-orient":"horizontal"}})],1),t("div",{staticClass:"table-box"},[e.loading?e._e():t("dataTable",{attrs:{"row-click-handler":e.rowClickHandler,"is-download":!0,"list-tb":e.listTb,"list-data":e.listData,"choose-date":e.chooseDate,"file-name":e.title}})],1)])},di=[],ci=function(){var e=this,t=e._self._c;return t("div",{staticClass:"top-line"},[1===e.searchType&&"nw"===e.reportType||2===e.searchType&&"bwxl"===e.reportType||2===e.searchType&&"cql"===e.reportType?t("div",[t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"selectDepart",expression:"'selectDepart'"}],staticClass:"label"},[e._v("选择部门:")]),t("el-select",{attrs:{placeholder:e.$tx("gwgl.tjbg.pleaseSelect","请选择")},on:{change:e.changeDept},model:{value:e.deptId,callback:function(t){e.deptId=t},expression:"deptId"}},e._l(e.dept,(function(e,n){return t("el-option",{key:n,attrs:{label:e.name,value:e.id}})})),1)],1):e._e(),1!==e.searchType||"nw"!==e.reportType?t("div",[t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"fileType",expression:"'fileType'"}],staticClass:"label"},[e._v("文件类型:")]),t("el-select",{attrs:{placeholder:e.$tx("gwgl.tjbg.pleaseSelect","请选择")},on:{change:e.changeType},model:{value:e.selectType,callback:function(t){e.selectType=t},expression:"selectType"}},e._l(e.fileList,(function(e,n){return t("el-option",{key:n,attrs:{label:e.title,value:e.id}})})),1)],1):e._e(),t("div",[t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"tjzq",expression:"'tjzq'"}],staticClass:"label"},[e._v("统计周期:")]),"nw"!==e.reportType&&"bw"!==e.reportType||2!==e.searchType?t("el-date-picker",{staticStyle:{width:"280px"},attrs:{type:"daterange","range-separator":e.$tx("common.to","至"),format:"yyyy-MM-dd","value-format":"yyyy-MM-dd","start-placeholder":e.$tx("gwgl.tjbg.startDate","开始日期"),"end-placeholder":e.$tx("gwgl.tjbg.endDate","结束日期")},on:{change:e.changeTime},model:{value:e.datearr,callback:function(t){e.datearr=t},expression:"datearr"}}):t("el-date-picker",{staticStyle:{width:"280px"},attrs:{type:"monthrange","range-separator":e.$tx("common.to","至"),format:"yyyy-MM","value-format":"yyyy-MM","start-placeholder":e.$tx("gwgl.tjbg.startMonth","开始月份"),"end-placeholder":e.$tx("gwgl.tjbg.endMonth","结束月份")},on:{change:e.changeTime},model:{value:e.datearr,callback:function(t){e.datearr=t},expression:"datearr"}})],1)])},ui=[],pi={components:{},props:{reportType:{type:String,default:function(){return""}},deptId:{type:String,default:function(){return""}},selectType:{type:String,default:function(){return""}},searchType:{type:Number,default:function(){return 1}},datearr:{type:Array,default:function(){return[]}}},data:function(){return{loginUser:this.$store.getters.loginUser,selectDept:"",chooseDate:[],fileList:[{title:this.$tx("gwgl.portlet.all","全部"),id:""},{title:this.$tx("gwgl.portlet.unitDocument","单位发文"),id:this.$tx("gwgl.portlet.unitDocument","单位发文")},{title:this.$tx("gwgl.portlet.readingOffice","收文阅办"),id:this.$tx("gwgl.portlet.readingOffice","收文阅办")},{title:this.$tx("gwgl.portlet.receiptDocuments","部门收文"),id:this.$tx("gwgl.portlet.receiptDocuments","部门收文")},{title:this.$tx("gwgl.portlet.documentCirculation","文件传阅"),id:this.$tx("gwgl.portlet.documentCirculation","文件传阅")},{title:this.$tx("gwgl.portlet.departmentalLetter","部门便函"),id:this.$tx("gwgl.portlet.departmentalLetter","部门便函")},{title:this.$tx("gwgl.portlet.solicitationOpinions","意见征集"),id:this.$tx("gwgl.portlet.solicitationOpinions","意见征集")},{title:this.$tx("gwgl.portlet.requestInstructions","请示报告"),id:this.$tx("gwgl.portlet.requestInstructions","请示报告")}],dept:[],startT:"",endT:""}},computed:{},watch:{searchType:function(){this.selectDept="",this.selectType=""}},created:function(){this.getdept()},mounted:function(){},methods:{changeDept:function(e){var t="";this.dept.forEach((function(n){n.id===e&&(t=n.name)})),this.selectDept=this.deptId,this.$emit("changeDeptData",{selectDept:this.selectDept,deptName:t})},changeType:function(){this.$emit("changeTypeData",this.selectType)},changeTime:function(){this.chooseDate=this.datearr,this.$emit("dateInit",this.chooseDate)},getdept:function(){var e=this;this.$http({url:"base/organMgr/findAllOrganByOrgCode",method:"GET",contentType:"application/x-www-form-urlencoded",params:{orgCode:this.loginUser.orgCode,subOrgLevel:2}}).then((function(t){if("success"===t.code){var n=t.body.listdata.filter((function(e){return 2===e.orgLevel}));n.unshift({name:e.$tx("gwgl.tjbg.allDepart","所有部门"),id:""}),e.dept=n}else e.$message.error(t.message)}))}}},mi=pi,fi=(n(3747),m(mi,ci,ui,!1,null,"39239143",null)),hi=fi.exports,gi=function(){var e=this,t=e._self._c;return t("div",[t("el-row",[t("el-col",{staticStyle:{"text-align":"right",height:"34px","margin-bottom":"10px"},attrs:{span:24}},[e.isDownload?t("el-button",{directives:[{name:"table-toxls",rawName:"v-table-toxls",value:e.views,expression:"views"}],attrs:{plain:"",size:"small","file-name":e.chooseDate[0]+e.$tx("gwgl.common.to","至")+e.chooseDate[1]+e.fileName}},[t("svg",e._g({staticClass:"svg-icon",attrs:{"aria-hidden":"true"}},e.$listeners),[t("use",{attrs:{"xlink:href":"#icon-export"}})]),t("span",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"export",expression:"'export'"}]},[e._v("导出")])]):e._e()],1)],1),t("div",{staticClass:"teble-div"},[t("el-table",{staticStyle:{width:"100%"},attrs:{id:"views",data:e.listData,border:""},on:{"row-click":e.rowClickHandler}},[t("el-table-column",{attrs:{type:"index",label:e.$tx("fields.index","序号"),width:"45",align:"center"}}),e._l(e.listTb,(function(e,n){return t("el-table-column",{key:n,attrs:{prop:e.prop,label:e.title,align:e.align?e.align:"center","show-overflow-tooltip":!0}})}))],2)],1)],1)},yi=[],_i={components:{},props:{listTb:{type:Array,default:function(){return[]}},listData:{type:Array,default:function(){return[]}},fileName:{type:String,default:function(){return""}},isDownload:{type:Boolean,default:function(){return!0}},rowClickHandler:{type:Function,default:null},chooseDate:{type:Array,default:function(){return["",""]}}},data:function(){return{lm:this.$route.meta}},computed:{},watch:{},created:function(){},mounted:function(){},beforeDestroy:function(){},methods:{}},vi=_i,bi=(n(9108),m(vi,gi,yi,!1,null,"72227ab2",null)),wi=bi.exports;function Mi(e){return Mi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Mi(e)}function Li(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Li=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function d(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(e){d=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var o=t&&t.prototype instanceof y?t:y,i=Object.create(o.prototype),s=new j(r||[]);return a(i,"_invoke",{value:D(e,n,s)}),i}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=c;var p="suspendedStart",m="suspendedYield",f="executing",h="completed",g={};function y(){}function _(){}function v(){}var b={};d(b,i,(function(){return this}));var w=Object.getPrototypeOf,M=w&&w(w(C([])));M&&M!==n&&r.call(M,i)&&(b=M);var L=v.prototype=y.prototype=Object.create(b);function T(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function n(a,o,i,s){var l=u(e[a],e,o);if("throw"!==l.type){var d=l.arg,c=d.value;return c&&"object"==Mi(c)&&r.call(c,"__await")?t.resolve(c.__await).then((function(e){n("next",e,i,s)}),(function(e){n("throw",e,i,s)})):t.resolve(c).then((function(e){d.value=e,i(d)}),(function(e){return n("throw",e,i,s)}))}s(l.arg)}var o;a(this,"_invoke",{value:function(e,r){function a(){return new t((function(t,a){n(e,r,t,a)}))}return o=o?o.then(a,a):a()}})}function D(t,n,r){var a=p;return function(o,i){if(a===f)throw Error("Generator is already running");if(a===h){if("throw"===o)throw i;return{value:e,done:!0}}for(r.method=o,r.arg=i;;){var s=r.delegate;if(s){var l=k(s,r);if(l){if(l===g)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(a===p)throw a=h,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);a=f;var d=u(t,n,r);if("normal"===d.type){if(a=r.done?h:m,d.arg===g)continue;return{value:d.arg,done:r.done}}"throw"===d.type&&(a=h,r.method="throw",r.arg=d.arg)}}}function k(t,n){var r=n.method,a=t.iterator[r];if(a===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,k(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var o=u(a,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,g;var i=o.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,g):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function Y(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function C(t){if(t||""===t){var n=t[i];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,o=function n(){for(;++a<t.length;)if(r.call(t,a))return n.value=t[a],n.done=!1,n;return n.value=e,n.done=!0,n};return o.next=o}}throw new TypeError(Mi(t)+" is not iterable")}return _.prototype=v,a(L,"constructor",{value:v,configurable:!0}),a(v,"constructor",{value:_,configurable:!0}),_.displayName=d(v,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===_||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,d(e,l,"GeneratorFunction")),e.prototype=Object.create(L),e},t.awrap=function(e){return{__await:e}},T(x.prototype),d(x.prototype,s,(function(){return this})),t.AsyncIterator=x,t.async=function(e,n,r,a,o){void 0===o&&(o=Promise);var i=new x(c(e,n,r,a),o);return t.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},T(L),d(L,l,"Generator"),d(L,i,(function(){return this})),d(L,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=C,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(Y),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function a(r,a){return s.type="throw",s.arg=t,n.next=r,a&&(n.method="next",n.arg=e),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],s=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var l=r.call(i,"catchLoc"),d=r.call(i,"finallyLoc");if(l&&d){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!d)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&r.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),Y(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;Y(n)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:C(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}function Ti(e,t,n,r,a,o,i){try{var s=e[o](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)}function xi(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){Ti(o,r,a,i,s,"next",e)}function s(e){Ti(o,r,a,i,s,"throw",e)}i(void 0)}))}}var Di=n(5093),ki={components:{DepTime:hi,dataTable:wi},props:{},data:function(){return{i18npkg:"gwgl",moduleCode:"tjbg",titleList:{nw:{text:this.$tx("gwgl.tjbg.essayWritingNum","拟文数量统计"),url:"/platStatistics/doneAndtodo/startingStatistics",searchTab:[{type:1,title:this.$tx("gwgl.tjbg.byType","按类型"),xUnit:{name:this.$tx("gwgl.tjbg.fileType2","文件类型"),align:"end",size:"12"},yUnit:{name:this.$tx("gwgl.tjbg.qwNum","起文数量(个)"),align:"end",size:"12",minInterval:1,lineColor:"#000"},chartType:[{type:"bar",yAxisIndex:0,symbol:""}],td:[{title:this.$tx("gwgl.gdgl.fileType2","文件类型"),prop:"name",align:"left"},{title:this.$tx("gwgl.tjbg.qwNum2","起文数量(个)"),prop:"num"}]},{type:2,title:this.$tx("gwgl.tjbg.byTime","按时间"),xUnit:{name:this.$tx("gwgl.tjbg.month","月份"),align:"end",size:"12"},yUnit:{name:this.$tx("gwgl.tjbg.qwNum","起文数量(个)"),align:"end",size:"12",minInterval:1,lineColor:"#000"},chartType:[{type:"line",yAxisIndex:0,symbol:""}],td:[{title:this.$tx("gwgl.tjbg.month","月份"),prop:"createDate",align:"left"},{title:this.$tx("gwgl.tjbg.qwNum2","起文数量"),prop:"num"}]}]},bw:{text:this.$tx("gwgl.tjbg.officeDocumentNum","办文次数统计"),url:"/platStatistics/doneAndtodo/statisticsOnTheNumberOfDocuments",searchTab:[{type:1,title:this.$tx("gwgl.tjbg.byDepart","按部门"),xUnit:{name:this.$tx("gwgl.components.fields.deptName","部门名称"),align:"end",size:"12"},yUnit:{name:this.$tx("gwgl.tjbg.officeDocumentNum1","办文次数(次)"),align:"end",size:"12",minInterval:1,lineColor:"#000"},chartType:[{type:"bar",yAxisIndex:0,symbol:""}],td:[{title:this.$tx("gwgl.components.fields.deptName","部门名称"),prop:"name",align:"left"},{title:this.$tx("gwgl.tjbg.bwNum","办文次数"),prop:"num"}]},{type:2,title:this.$tx("gwgl.tjbg.byTime","按时间"),xUnit:{name:this.$tx("gwgl.tjbg.month","月份"),align:"end",size:"12"},yUnit:{name:this.$tx("gwgl.tjbg.officeDocumentNum1","办文次数(次)"),align:"end",size:"12",minInterval:1,lineColor:"#000"},chartType:[{type:"line",yAxisIndex:0,symbol:""}],td:[{title:this.$tx("gwgl.tjbg.month","月份"),prop:"createDate",align:"left"},{title:this.$tx("gwgl.tjbg.bwNum","办文次数"),prop:"num"}]}]},bwxl:{text:this.$tx("gwgl.tjbg.officeDocumentXlNum"),url:"/platStatistics/doneAndtodo/handlingEfficiencyStatistics",searchTab:[{type:1,title:this.$tx("gwgl.tjbg.byDepart","按部门"),xUnit:{name:this.$tx("gwgl.components.fields.deptName","部门名称"),align:"end",size:"12"},yUnit:{name:this.$tx("gwgl.tjbg.avgBwTime2","平均办文时长(小时)"),minInterval:1,align:"end",size:"12",position:"left",lineColor:"#000"},chartType:[{type:"bar",yAxisIndex:0,symbol:""}],td:[{title:this.$tx("gwgl.components.fields.deptName","部门名称"),prop:"name",align:"left"},{title:this.$tx("gwgl.tjbg.avgBwTime","平均办文时长"),prop:"avgMinute"}]},{type:2,title:this.$tx("gwgl.tjbg.byPerson","按人员"),xUnit:{name:this.$tx("gwgl.tjbg.name","姓名"),align:"end",size:"12"},yUnit:{name:this.$tx("gwgl.tjbg.avgBwTime2","平均办文时长(小时)"),minInterval:1,align:"end",size:"12",position:"left",lineColor:"#000"},chartType:[{type:"bar",yAxisIndex:0,symbol:""}],td:[{title:this.$tx("gwgl.tjbg.name","姓名"),prop:"name",align:"left"},{title:this.$tx("gwgl.tjbg.avgBwTime","平均办文时长"),prop:"avgMinute"}]}]},thl:{text:this.$tx("gwgl.tjbg.officeDocumentHtNum"),url:"/platStatistics/doneAndtodo/returnRateStatistics",searchTab:[]},cql:{text:this.$tx("gwgl.tjbg.officeDocumentCqlNum"),url:"/platStatistics/doneAndtodo/statisticsOfOverdueRate",searchTab:[{type:1,title:this.$tx("gwgl.tjbg.byDepart","按部门"),xUnit:{name:this.$tx("gwgl.components.fields.deptName","部门名称"),align:"end",size:"12"},yUnit:{name:this.$tx("gwgl.tjbg.avgCql2","平均超期率(%)"),align:"end",size:"12",position:"left",lineColor:"#000",labelFormatter:"{value}%"},chartType:[{type:"bar",yAxisIndex:0,symbol:""}],td:[{title:this.$tx("gwgl.components.fields.deptName","部门名称"),prop:"name",align:"left"},{title:this.$tx("gwgl.tjbg.avgCql","平均超期率"),prop:"lv"}]},{type:2,title:this.$tx("gwgl.tjbg.byPerson","按人员"),xUnit:{name:this.$tx("gwgl.tjbg.name","姓名"),align:"end",size:"12"},yUnit:{name:this.$tx("gwgl.tjbg.avgCql2","平均超期率(%)"),align:"end",size:"12",position:"left",lineColor:"#000",labelFormatter:"{value}%"},chartType:[{type:"bar",yAxisIndex:0,symbol:""}],td:[{title:this.$tx("gwgl.tjbg.name","姓名"),prop:"name",align:"left"},{title:this.$tx("gwgl.tjbg.avgCql","平均超期率"),prop:"lv"}]}]}},chartType:[{type:"bar",yAxisIndex:0,symbol:""}],color:["#48c9b3","#f7a35c"],xUnit:{name:"",align:"end",size:"12"},yUnit:{name:"",align:"end",size:"12",lineColor:"#000"},reportType:"nw",title:this.$tx("gwgl.tjbg.essayWritingNum","拟文数量统计"),searchTab:[],searchType:1,url:"",selectDept:"",chooseDate:[],selectType:"",listTb:[],listData:[],xdata:[],ydata:[],loading:!1,tooltipFormat:null,deptName:"所有部门"}},computed:{},watch:{searchType:function(e){this.title=this.titleList[this.reportType].text,"nw"!==this.reportType&&"bw"!==this.reportType||2!==e?this.initDate("day"):this.initDate("month"),"bwxl"!==this.reportType&&"cql"!==this.reportType||2!==this.searchType?(this.selectDept="",this.selectType="",this.deptName=this.$tx("gwgl.tjbg.allDepart","所有部门")):this.listTb[0].title=this.$tx("gwgl.tjbg.name","姓名"),this.getReportList()}},created:function(){this.$options.components["bar"]=this.$loadComponent("@/wapp/common/components/Echarts/src/EchartColumnar"),this.$bus.emit("showNavSearch",!1),this.reportType=this.$route.meta.params?this.$route.meta.params:"nw",this.title=this.titleList[this.reportType].text,this.searchTab=this.titleList[this.reportType].searchTab,this.url=this.titleList[this.reportType].url,"thl"===this.reportType?(this.xUnit={name:this.$tx("gwgl.components.fields.deptName","部门名称"),align:"end",size:"12"},this.yUnit={name:this.$tx("gwgl.tjbg.avgThl2","平均退回率(%)"),align:"end",size:"12",position:"left",lineColor:"#000",labelFormatter:"{value}%"},this.listTb=[{title:this.$tx("gwgl.components.fields.deptName","部门名称"),prop:"name",align:"left"},{title:this.$tx("gwgl.tjbg.avgThl","平均退回率:"),prop:"lv"}]):(this.xUnit=this.titleList[this.reportType].searchTab[0].xUnit,this.yUnit=this.titleList[this.reportType].searchTab[0].yUnit,this.listTb=this.titleList[this.reportType].searchTab[0].td),this.initDate("day"),this.getReportList()},mounted:function(){},beforeDestroy:function(){this.$bus.emit("showNavSearch",!0)},methods:{echartsClick:function(){return!1},rowClickHandler:function(e,t,n){if("bwxl"!==this.reportType&&"cql"!==this.reportType||1!==this.searchType)return!1;""!==e.id&&void 0!==e.id&&(this.selectDept=e.id,this.searchType=2,this.deptName=e.name,this.xUnit={name:this.$tx("gwgl.tjbg.name","姓名"),align:"end",size:"12"},this.yUnit="bwxl"===this.reportType?{name:this.$tx("gwgl.tjbg.avgBwTime2","平均办文时长(小时)"),align:"end",size:"12",position:"left",lineColor:"#000"}:{name:this.$tx("gwgl.tjbg.avgBwTime3","超期率"),align:"center",size:"12",position:"left",lineColor:"#000"})},initDate:function(e){var t=new Date,n=t.getFullYear(),r=t.getMonth()+1>=10?t.getMonth()+1:"0"+(t.getMonth()+1);if("day"===e)this.chooseDate=[Di().add(-30,"days").format("YYYY-MM-DD"),Di().format("YYYY-MM-DD")];else if("month"===e){var a=new Date(t.setMonth(r-12)).getFullYear(),o=new Date(t.setMonth(r-12)).getMonth()+1>=10?new Date(t.setMonth(r-12)).getMonth()+1:"0"+(new Date(t.setMonth(r-12)).getMonth()+1),i=a+"-"+o,s=n+"-"+r;this.chooseDate=[i,s]}},getReportList:function(){var e=this;return xi(Li().mark((function t(){var n,r,a;return Li().wrap((function(t){while(1)switch(t.prev=t.next){case 0:n="",t.t0=e.selectType,t.next=""===t.t0?4:"单位发文"===t.t0?6:"部门收文"===t.t0?8:"收文阅办"===t.t0?10:"文件传阅"===t.t0?12:"部门便函"===t.t0?14:"意见征集"===t.t0?16:"请示报告"===t.t0?18:20;break;case 4:return n="fawen,shouwen,wjcy,bmbh,yjzj,hytz,qsbg",t.abrupt("break",22);case 6:return n="fawen",t.abrupt("break",22);case 8:return n="shouwen",t.abrupt("break",22);case 10:return n="shouwen",t.abrupt("break",22);case 12:return n="wjcy",t.abrupt("break",22);case 14:return n="bmbh",t.abrupt("break",22);case 16:return n="yjzj",t.abrupt("break",22);case 18:return n="qsbg",t.abrupt("break",22);case 20:return n="fawen,shouwen,wjcy,bmbh,yjzj,hytz,qsbg",t.abrupt("break",22);case 22:return r={deptId:e.selectDept,endTime:e.chooseDate[1],startTime:e.chooseDate[0],type:e.searchType,fileName:e.selectType,module:n},e.loading=!0,e.listData=[],t.next=27,e.$app.listdata(e.url,r);case 27:a=t.sent,"success"===a.code&&e.mergeList(a.body.listdata),e.loading=!1;case 30:case"end":return t.stop()}}),t)})))()},mergeList:function(e){var t=this,n=this,r=[],a=[];e.forEach((function(e){"nw"!==t.reportType&&"bw"!==t.reportType||(1===t.searchType?(r.push(e.name),a.push(e.num)):2===t.searchType&&(r.push(e.createDate),a.push(e.num))),"bwxl"===t.reportType&&(r.push(e.name),a.push(JSON.parse(JSON.stringify(e.avgMinute))/60),e.avgMinute=t.mergeMinute(e.avgMinute)),"thl"!==t.reportType&&"cql"!==t.reportType||(r.push(e.name),a.push((100*e.lv).toFixed(2)),e.lv=(100*e.lv).toFixed(2)+"%")})),"thl"===this.reportType&&(this.tooltipFormat=function(e){return e[0].name+'</br><span style="display:inline-block;margin-right:5px;border-radius:10px;width:10px;height:10px;background-color:'+e[0].color+';"></span>'+this.$tx("gwgl.tjbg.avgThl","平均退回率:")+e[0].data+"%"}),"cql"===this.reportType&&(this.tooltipFormat=function(e){return e[0].name+'</br><span style="display:inline-block;margin-right:5px;border-radius:10px;width:10px;height:10px;background-color:'+e[0].color+';"></span>'+this.$tx("gwgl.tjbg.avgCql","平均超期率")+":"+e[0].data+"%"},2===this.searchType&&(this.title=this.deptName+this.$tx("gwgl.tjbg.title","-办文超期前十排名"))),"bwxl"===this.reportType&&(this.tooltipFormat=function(e){return e[0].name+'</br><span style="display:inline-block;margin-right:5px;border-radius:10px;width:10px;height:10px;background-color:'+e[0].color+';"></span>'+this.$tx("gwgl.tjbg.avgBwTime","平均办文时长")+":"+n.mergeMinute(60*e[0].data)},2===this.searchType&&(this.title=this.deptName+this.$tx("gwgl.tjbg.title2","-办文效率后十名"))),this.xdata=r,this.ydata=[a],this.listData=e},mergeMinute:function(e){var t=60*e*1e3,n=Math.floor(t/864e5),r=t%864e5,a=Math.floor(r/36e5),o=r%36e5,i=Math.floor(o/6e4),s=o%6e4,l=Math.round(s/1e3),d="";return d+=0===n?0===a?0===i?this.$tx("gwgl.tjbg.mergeMinute",{s:l},"seconds + '秒'"):this.$tx("gwgl.tjbg.mergeMinute1",{m:i,s:l}," minutes + '分钟' + seconds + '秒'"):this.$tx("gwgl.tjbg.mergeMinute2",{h:a,m:i,s:l},"hours + '小时' + minutes + '分钟' + seconds + '秒'"):this.$tx("gwgl.tjbg.mergeMinute3",{d:n,h:a,m:i,s:l},"days + '天' + hours + '小时' + minutes + '分钟' + seconds + '秒'"),d},changeDeptData:function(e){this.selectDept=e.selectDept,this.deptName=e.deptName},dateInit:function(e){this.chooseDate=e},changeTypeData:function(e){this.selectType=e},tabClickHandler:function(e){this.searchType=e.type,this.chartType=e.chartType,this.xUnit=e.xUnit,this.yUnit=e.yUnit,this.listTb=e.td,this.selectType=""}}},Si=ki,Yi=(n(5880),m(Si,li,di,!1,null,"05c6b150",null)),ji=Yi.exports;function Ci(e){return Ci="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ci(e)}function Oi(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ni(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Oi(Object(n),!0).forEach((function(t){Pi(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Oi(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Pi(e,t,n){return(t=Ei(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ei(e){var t=Hi(e,"string");return"symbol"==Ci(t)?t:t+""}function Hi(e,t){if("object"!=Ci(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Ci(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var Fi={GwglFilingSystem:h,GwglFlowList:x,GwglTbColumns:ye,GwglZdzggToForm:Be,GwglModuleIndex:$e,GwglFileLevel:at,GwglGdgl:jt,GwglGwjh:sr,GwglGwjhReceiptFile:kn,GwglPortletBwsctj:Ra,GwglPortletBwsltj:ro,GwglPortletGwcx:fo,GwglPortletGwmb:To,GwglPortletOfficial:$o,GwglSettingGdgz:si,GwglSettingFlgl:Qo,GwglTjbg:ji,GwglFileForm:ht,GwglGwjhCommonGroupsIndex:Br,GwglGwjhOrgOrganizationIndex:ka,GwglInternalCommsInfo:Ze},Ai=function e(t){e.installed||(e.installed=!0,Object.keys(Fi).forEach((function(e){t.component(e,Fi[e])})))};"undefined"!==typeof window&&window.Vue&&Ai(window.Vue);var $i=n(4707),Ii=Ni(Ni({install:Ai},Fi),{},{$messages:$i}),zi=Ii}(),r}()}));