// eslint-disable-next-line @typescript-eslint/ban-ts-comment // @ts-ignore import { ModalType, AttachmentSourceType, EnterpriseCertificateType, GlobalActions } from './enum' /** * 对话框业务类型 */ export const modalTypeOptions = [ { label: '新增', value: ModalType.Add, }, { label: '编辑', value: ModalType.Edit, }, { label: '详情', value: ModalType.Detail, }, { label: '完善', value: ModalType.Perfect, }, ] /** * 检测模块公司证件 */ export const attachmentSourceTypeOptions = [ { label: '', value: AttachmentSourceType.IDPhoto, }, { label: '证件照(头像)', value: AttachmentSourceType.IDCardFile, }, { label: '身份证', value: AttachmentSourceType.GraduationFile, }, { label: '毕业证', value: AttachmentSourceType.SocialSecurityFile, }, { label: '社保文件', value: AttachmentSourceType.ProfessionFile, }, { label: '职称', value: AttachmentSourceType.FPDFile, }, { label: '消防设施操作员证', value: AttachmentSourceType.RFEFile, }, { label: '注册消防工程师证书', value: AttachmentSourceType.RCFile, }, { label: '注册建造师证书', value: AttachmentSourceType.EngineerFile, }, { label: '注册监理工程师证书', value: AttachmentSourceType.EmpOther, }, { label: '人员其他证书', value: AttachmentSourceType.Departure, }, { label: '离职报告', value: AttachmentSourceType.Other, }, { label: '其他', value: AttachmentSourceType.EquipmentFile, }, { label: '设备文件/校准证书', value: AttachmentSourceType.CompanyLicense, }, { label: '企业营业执照', value: AttachmentSourceType.CorporatePassport, }, { label: '企业法人护照', value: AttachmentSourceType.CorporateIdCardFront, }, { label: '企业法人身份证正面', value: AttachmentSourceType.CorporateIdCardEnd, }, { label: '企业法人身份证背面', value: AttachmentSourceType.Commitment, }, { label: '承诺书', value: AttachmentSourceType.BusinessLicense, }, { label: '营业执照', value: AttachmentSourceType.Programme, }, { label: '检测方案', value: AttachmentSourceType.ProgrammeOpinion, }, ] /** * 企业证件类型 */ export const enterpriseCertificateTypeOptions = [ { label: '', value: EnterpriseCertificateType.BusinessLicense, }, { label: '营业执照', value: EnterpriseCertificateType.IDCard, }, { label: '身份照', value: EnterpriseCertificateType.Passport, }, ] /** * 微应用全局操作类型 */ export const globalActionsOptions = [ { label: '', value: GlobalActions.None, }, { label: '登录', value: GlobalActions.SignIn, }, { label: '退出登录', value: GlobalActions.SignOut, }, { label: '设置菜单数据', value: GlobalActions.InitMenu, }, { label: '设置reuseTab', value: GlobalActions.SetReuseTab, }, ]