60 lines
3.6 KiB
JavaScript
Raw Normal View History

2025-07-15 16:18:34 +08:00
"use strict";
2025-08-29 09:51:02 +08:00
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 HouseOccupantsHouseRelationEnum = {
2025-07-15 16:18:34 +08:00
"Owner": { "text": "产权人", "color": "#2db7f5", "value": "Owner" },
2025-08-29 09:51:02 +08:00
"NonOwner": { "text": "非产权人", "color": "#fa8c16", "value": "NonOwner" }
};
const HouseOccupantsRelationWithOwnerEnum = {
"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" }
};
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" }
};
const HouseWorkOrdersStatusEnum = {
"Pending": { "text": "待处理", "color": "#FFA500", "value": "Pending" },
"Processing": { "text": "处理中", "color": "#1E90FF", "value": "Processing" },
"Completed": { "text": "已完成", "color": "#28A745", "value": "Completed" },
"Closed": { "text": "已关闭", "color": "#6C757D", "value": "Closed" }
};
const HouseWorkOrdersTypeEnum = {
"Maintenance": { "text": "维修", "color": "#ff0000", "value": "Maintenance" },
"Installation": { "text": "安装", "color": "#00aaff", "value": "Installation" },
"Consultation": { "text": "咨询", "color": "#ffaa00", "value": "Consultation" },
"Complaint": { "text": "投诉", "color": "#aa00ff", "value": "Complaint" },
"Other": { "text": "其它", "color": "#00aa55", "value": "Other" }
2025-07-15 16:18:34 +08:00
};
2025-08-29 09:51:02 +08:00
exports.HouseBillsTypeEnum = HouseBillsTypeEnum;
exports.HouseOccupantsHouseRelationEnum = HouseOccupantsHouseRelationEnum;
exports.HouseOccupantsRelationWithOwnerEnum = HouseOccupantsRelationWithOwnerEnum;
exports.HouseOccupantsResidentialRelationEnum = HouseOccupantsResidentialRelationEnum;
exports.HouseRegistersStatusEnum = HouseRegistersStatusEnum;
exports.HouseRegistersTypeEnum = HouseRegistersTypeEnum;
exports.HouseWorkOrdersStatusEnum = HouseWorkOrdersStatusEnum;
exports.HouseWorkOrdersTypeEnum = HouseWorkOrdersTypeEnum;