2026-01-14 15:43:09 +08:00

94 lines
5.9 KiB
JavaScript

"use strict";
const ConvenienceServicesTypeEnum = {
"PropertyExclusive": { "text": "物业专属", "color": "#8b5cf6", "value": "PropertyExclusive" },
"EmergencyRepair": { "text": "紧急抢修", "color": "#ef4444", "value": "EmergencyRepair" },
"LifeService": { "text": "生活服务", "color": "#3b82f6", "value": "LifeService" },
"GovernmentConsulting": { "text": "政务咨询", "color": "#10b981", "value": "GovernmentConsulting" }
};
const HouseBillsTypeEnum = {
"PropertyFee": { "text": "物业费", "color": "#3b82f6", "value": "PropertyFee" },
"MaintenanceFund": { "text": "维修基金", "color": "#10b981", "value": "MaintenanceFund" },
"WaterFee": { "text": "水费", "color": "#06b6d4", "value": "WaterFee" },
"ElectricityFee": { "text": "电费", "color": "#f59e0b", "value": "ElectricityFee" },
"SharedWaterFee": { "text": "公摊水费", "color": "#8b5cf6", "value": "SharedWaterFee" },
"SharedElectricityFee": { "text": "公摊电费", "color": "#ec4899", "value": "SharedElectricityFee" }
};
const HouseChargeTasksStatusEnum = {
"Pending": { "text": "待执行", "color": "#f59e0b", "value": "Pending" },
"InProgress": { "text": "执行中", "color": "#3b82f6", "value": "InProgress" },
"Completed": { "text": "已完成", "color": "#10b981", "value": "Completed" },
"Failed": { "text": "失败", "color": "#ef4444", "value": "Failed" }
};
const HouseOccupantsHouseRelationEnum = {
"Owner": { "text": "产权人", "color": "#2db7f5", "value": "Owner" },
"NonOwner": { "text": "非产权人", "color": "#fa8c16", "value": "NonOwner" }
};
const HouseOccupantsRelationWithOwnerEnum = {
"Self": { "text": "本人", "color": "#52c41a", "value": "Self" },
"Spouse": { "text": "配偶", "color": "#2db7f5", "value": "Spouse" },
"Children": { "text": "子女", "color": "#87d068", "value": "Children" },
"Parents": { "text": "父母", "color": "#faad14", "value": "Parents" },
"Siblings": { "text": "兄弟姐妹", "color": "#fa8c16", "value": "Siblings" },
"OtherRelatives": { "text": "其他", "color": "#f5222d", "value": "OtherRelatives" },
"PrimaryTenant": { "text": "主租客", "color": "#722ed1", "value": "PrimaryTenant" },
"Tenant": { "text": "租客", "color": "#1890ff", "value": "Tenant" }
};
const HouseOccupantsResidentialRelationEnum = {
"Resident": { "text": "住户", "color": "#2db7f5", "value": "Resident" },
"PrimaryTenant": { "text": "主租人", "color": "#87d068", "value": "PrimaryTenant" },
"Tenant": { "text": "租客", "color": "#fa8c16", "value": "Tenant" }
};
const HouseRegistersStatusEnum = {
"Pending": { "text": "待审", "color": "#faad14", "value": "Pending" },
"Approved": { "text": "通过", "color": "#52c41a", "value": "Approved" },
"Rejected": { "text": "驳回", "color": "#f5222d", "value": "Rejected" }
};
const HouseRegistersTypeEnum = {
"AddOwner": { "text": "添加产权人", "color": "#52c41a", "value": "AddOwner" },
"RemoveOwner": { "text": "减少产权人", "color": "#d9363e", "value": "RemoveOwner" },
"AddOccupant": { "text": "添加住户", "color": "#108ee9", "value": "AddOccupant" },
"RemoveOccupant": { "text": "移除住户", "color": "#fa8c16", "value": "RemoveOccupant" },
"MoveOut": { "text": "搬离登记", "color": "#f50", "value": "MoveOut" },
"MoveIn": { "text": "搬入登记", "color": "#ffc53d", "value": "MoveIn" },
"UpdateInfo": { "text": "修改信息", "color": "#722ed1", "value": "UpdateInfo" },
"UpdatePhone": { "text": "修改电话", "color": "#13c2c2", "value": "UpdatePhone" }
};
const HouseWorkOrdersComplaintTypeEnum = {
"Hygiene": { "text": "卫生环境", "color": "#ff0000", "value": "Hygiene" },
"Greening": { "text": "绿植绿化", "color": "#00aaff", "value": "Greening" },
"Safety": { "text": "安全问题", "color": "#ffaa00", "value": "Safety" },
"Maintenance": { "text": "维修问题", "color": "#aa00ff", "value": "Maintenance" },
"PropertyService": { "text": "物业服务", "color": "#00aa55", "value": "PropertyService" },
"Staff": { "text": "工作人员", "color": "#ff00aa", "value": "Staff" },
"Other": { "text": "其他", "color": "#aaaaaa", "value": "Other" }
};
const HouseWorkOrdersLocationEnum = {
"CommonArea": { "text": "公共区域", "color": "#ff0000", "value": "CommonArea" },
"MyHome": { "text": "房屋", "color": "#00ff00", "value": "MyHome" }
};
const HouseWorkOrdersStatusEnum = {
"Pending": { "text": "待处理", "color": "#FFA500", "value": "Pending" },
"Processing": { "text": "处理中", "color": "#1E90FF", "value": "Processing" },
"PendingPayment": { "text": "待支付", "color": "#FF8C00", "value": "PendingPayment" },
"PendingAcceptance": { "text": "待验收", "color": "#17A2B8", "value": "PendingAcceptance" },
"Completed": { "text": "已完成", "color": "#28A745", "value": "Completed" },
"Closed": { "text": "已关闭", "color": "#6C757D", "value": "Closed" }
};
const HouseWorkOrdersTypeEnum = {
"Repair": { "text": "报修", "color": "#ff0000", "value": "Repair" },
"Incident": { "text": "报事", "color": "#00aaff", "value": "Incident" },
"Complaint": { "text": "投诉", "color": "#aa00ff", "value": "Complaint" }
};
exports.ConvenienceServicesTypeEnum = ConvenienceServicesTypeEnum;
exports.HouseBillsTypeEnum = HouseBillsTypeEnum;
exports.HouseChargeTasksStatusEnum = HouseChargeTasksStatusEnum;
exports.HouseOccupantsHouseRelationEnum = HouseOccupantsHouseRelationEnum;
exports.HouseOccupantsRelationWithOwnerEnum = HouseOccupantsRelationWithOwnerEnum;
exports.HouseOccupantsResidentialRelationEnum = HouseOccupantsResidentialRelationEnum;
exports.HouseRegistersStatusEnum = HouseRegistersStatusEnum;
exports.HouseRegistersTypeEnum = HouseRegistersTypeEnum;
exports.HouseWorkOrdersComplaintTypeEnum = HouseWorkOrdersComplaintTypeEnum;
exports.HouseWorkOrdersLocationEnum = HouseWorkOrdersLocationEnum;
exports.HouseWorkOrdersStatusEnum = HouseWorkOrdersStatusEnum;
exports.HouseWorkOrdersTypeEnum = HouseWorkOrdersTypeEnum;