diff --git a/.umirc.ts b/.umirc.ts
index 832ce32..c552559 100644
--- a/.umirc.ts
+++ b/.umirc.ts
@@ -17,8 +17,8 @@ export default defineConfig({
},
proxy: {
'/api/': {
- // target: 'http://10.39.13.78:8002/',
- target: 'http://test-company.linyikj.com.cn/',
+ target: 'http://10.39.13.78:8002/',
+ // target: 'http://test-company.linyikj.com.cn/',
// target: 'https://company.linyikj.com.cn/',
changeOrigin: true,
pathRewrite: { '^': '' },
diff --git a/src/common/components/schema/MyColumns.tsx b/src/common/components/schema/MyColumns.tsx
index 494c1c1..d5c378c 100644
--- a/src/common/components/schema/MyColumns.tsx
+++ b/src/common/components/schema/MyColumns.tsx
@@ -243,7 +243,7 @@ export const MyColumns = {
...rest,
};
},
- EnumTag({ ...rest }: ReturnType): ReturnType {
+ EnumTag({ ...rest }: ReturnType & { is_color?: boolean }): ReturnType {
return {
align: 'left',
renderText(text: any) {
@@ -255,9 +255,17 @@ export const MyColumns = {
//颜色底,白字
// return {item.text};
//灰底,颜色字
+ if (rest?.is_color) {
+ return (
+
+ {item.text}
+
+ );
+ } else {
+ return {item.text};
+ }
// return {item.text};
//灰底,黑字
- return {item.text};
//修改列表的标签样式
},
diff --git a/src/gen/Enums.ts b/src/gen/Enums.ts
index 2e62dba..35cadfa 100644
--- a/src/gen/Enums.ts
+++ b/src/gen/Enums.ts
@@ -1,1432 +1,1787 @@
// ActivitiesPublishStatusEnum
-export const ActivitiesPublishStatusEnum= {
- 'Unpublished': {"text":"未发布","color":"#9e9e9e","value":"Unpublished"},
- 'Published': {"text":"已发布","color":"#00c853","value":"Published"},
- 'Unlisted': {"text":"已下架","color":"#d32f2f","value":"Unlisted"},
+export const ActivitiesPublishStatusEnum = {
+ Unpublished: { text: '未发布', color: '#9e9e9e', value: 'Unpublished' },
+ Published: { text: '已发布', color: '#00c853', value: 'Published' },
+ Unlisted: { text: '已下架', color: '#d32f2f', value: 'Unlisted' },
};
// ActivitiesPublishTypeEnum
-export const ActivitiesPublishTypeEnum= {
- 'Manual': {"text":"手动","color":"#4caf50","value":"Manual"},
- 'Schedule': {"text":"定时","color":"#2196f3","value":"Schedule"},
+export const ActivitiesPublishTypeEnum = {
+ Manual: { text: '手动', color: '#4caf50', value: 'Manual' },
+ Schedule: { text: '定时', color: '#2196f3', value: 'Schedule' },
};
// ActivitiesStatusEnum
-export const ActivitiesStatusEnum= {
- 'NotStarted': {"text":"未开始","color":"#9e9e9e","value":"NotStarted"},
- 'InProgress': {"text":"进行中","color":"#00c853","value":"InProgress"},
- 'Finished': {"text":"已结束","color":"#d32f2f","value":"Finished"},
+export const ActivitiesStatusEnum = {
+ NotStarted: { text: '未开始', color: '#9e9e9e', value: 'NotStarted' },
+ InProgress: { text: '进行中', color: '#00c853', value: 'InProgress' },
+ Finished: { text: '已结束', color: '#d32f2f', value: 'Finished' },
};
// ActivityEnrollsStatusEnum
-export const ActivityEnrollsStatusEnum= {
- 'PendingReview': {"text":"待审核","color":"#2196f3","value":"PendingReview"},
- 'Success': {"text":"成功","color":"#00c853","value":"Success"},
- 'Failed': {"text":"失败","color":"#d32f2f","value":"Failed"},
- 'Cancelled': {"text":"取消","color":"#ff9800","value":"Cancelled"},
+export const ActivityEnrollsStatusEnum = {
+ PendingReview: { text: '待审核', color: '#2196f3', value: 'PendingReview' },
+ Success: { text: '成功', color: '#00c853', value: 'Success' },
+ Failed: { text: '失败', color: '#d32f2f', value: 'Failed' },
+ Cancelled: { text: '取消', color: '#ff9800', value: 'Cancelled' },
};
// API凭证状态枚举
-export const ApiCredentialStatusEnum= {
- 'Active': {"text":"启用","color":"#28A745","value":"Active"},
- 'Inactive': {"text":"禁用","color":"#6C757D","value":"Inactive"},
- 'Expired': {"text":"已过期","color":"#DC3545","value":"Expired"},
+export const ApiCredentialStatusEnum = {
+ Active: { text: '启用', color: '#28A745', value: 'Active' },
+ Inactive: { text: '禁用', color: '#6C757D', value: 'Inactive' },
+ Expired: { text: '已过期', color: '#DC3545', value: 'Expired' },
};
// 审批实例状态枚举
-export const ApprovalInstancesStatusEnum= {
- 'Pending': {"text":"待审批","color":"#ff9800","value":"Pending"},
- 'Approved': {"text":"已通过","color":"#4caf50","value":"Approved"},
- 'Rejected': {"text":"已拒绝","color":"#f44336","value":"Rejected"},
- 'Cancelled': {"text":"已取消","color":"#9e9e9e","value":"Cancelled"},
+export const ApprovalInstancesStatusEnum = {
+ Pending: { text: '待审批', color: '#ff9800', value: 'Pending' },
+ Approved: { text: '已通过', color: '#4caf50', value: 'Approved' },
+ Rejected: { text: '已拒绝', color: '#f44336', value: 'Rejected' },
+ Cancelled: { text: '已取消', color: '#9e9e9e', value: 'Cancelled' },
};
// 审批记录状态枚举
-export const ApprovalRecordsStatusEnum= {
- 'Pending': {"text":"待审批","color":"#ff9800","value":"Pending"},
- 'Approved': {"text":"同意","color":"#4caf50","value":"Approved"},
- 'Rejected': {"text":"拒绝","color":"#f44336","value":"Rejected"},
- 'Transferred': {"text":"转交","color":"#9c27b0","value":"Transferred"},
+export const ApprovalRecordsStatusEnum = {
+ Pending: { text: '待审批', color: '#ff9800', value: 'Pending' },
+ Approved: { text: '同意', color: '#4caf50', value: 'Approved' },
+ Rejected: { text: '拒绝', color: '#f44336', value: 'Rejected' },
+ Transferred: { text: '转交', color: '#9c27b0', value: 'Transferred' },
};
// 审批方式枚举
-export const ApprovalTemplateNodesApproveTypeEnum= {
- 'And': {"text":"会签","color":"#4caf50","value":"And"},
- 'Or': {"text":"或签","color":"#ff9800","value":"Or"},
+export const ApprovalTemplateNodesApproveTypeEnum = {
+ And: { text: '会签', color: '#4caf50', value: 'And' },
+ Or: { text: '或签', color: '#ff9800', value: 'Or' },
};
// 审批节点类型枚举
-export const ApprovalTemplateNodesNodeTypeEnum= {
- 'Approver': {"text":"审批人","color":"#2196f3","value":"Approver"},
- 'CC': {"text":"抄送人","color":"#9e9e9e","value":"CC"},
+export const ApprovalTemplateNodesNodeTypeEnum = {
+ Approver: { text: '审批人', color: '#2196f3', value: 'Approver' },
+ CC: { text: '抄送人', color: '#9e9e9e', value: 'CC' },
};
// 审批业务类型枚举
-export const ApprovalTemplatesTypeEnum= {
- 'Contract': {"text":"合同","color":"#2196f3","value":"Contract"},
- 'Finance': {"text":"财务","color":"#4caf50","value":"Finance"},
- 'Refund': {"text":"退款","color":"#f44336","value":"Refund"},
- 'ContractTermination': {"text":"合同终止","color":"#ff9800","value":"ContractTermination"},
- 'ContractBorrow': {"text":"合同借用","color":"#9c27b0","value":"ContractBorrow"},
- 'ContractPayment': {"text":"合同支付","color":"#00bcd4","value":"ContractPayment"},
- 'OtherContractSeal': {"text":"其它合同用印","color":"#795548","value":"OtherContractSeal"},
- 'HouseBillUpdate': {"text":"物业账单修改","color":"#607d8b","value":"HouseBillUpdate"},
- 'BillUpdate': {"text":"其他账单修改","color":"#795548","value":"BillUpdate"},
+export const ApprovalTemplatesTypeEnum = {
+ Contract: { text: '合同', color: '#2196f3', value: 'Contract' },
+ Finance: { text: '财务', color: '#4caf50', value: 'Finance' },
+ Refund: { text: '退款', color: '#f44336', value: 'Refund' },
+ ContractTermination: {
+ text: '合同终止',
+ color: '#ff9800',
+ value: 'ContractTermination',
+ },
+ ContractBorrow: {
+ text: '合同借用',
+ color: '#9c27b0',
+ value: 'ContractBorrow',
+ },
+ ContractPayment: {
+ text: '合同支付',
+ color: '#00bcd4',
+ value: 'ContractPayment',
+ },
+ OtherContractSeal: {
+ text: '其它合同用印',
+ color: '#795548',
+ value: 'OtherContractSeal',
+ },
+ HouseBillUpdate: {
+ text: '物业账单修改',
+ color: '#607d8b',
+ value: 'HouseBillUpdate',
+ },
+ BillUpdate: { text: '其他账单修改', color: '#795548', value: 'BillUpdate' },
};
// 车位产权类型
-export const AssetCarPortsPropertyTypeEnum= {
- 'Ownership': {"text":"产权车位","color":"#1e90ff","value":"Ownership"},
- 'CivilDefense': {"text":"人防车位","color":"#32cd32","value":"CivilDefense"},
- 'Public': {"text":"公共车位","color":"#ff8c00","value":"Public"},
- 'Temporary': {"text":"临时车位","color":"#ba55d3","value":"Temporary"},
- 'Other': {"text":"其他","color":"#a9a9a9","value":"Other"},
+export const AssetCarPortsPropertyTypeEnum = {
+ Ownership: { text: '产权车位', color: '#1e90ff', value: 'Ownership' },
+ CivilDefense: { text: '人防车位', color: '#32cd32', value: 'CivilDefense' },
+ Public: { text: '公共车位', color: '#ff8c00', value: 'Public' },
+ Temporary: { text: '临时车位', color: '#ba55d3', value: 'Temporary' },
+ Other: { text: '其他', color: '#a9a9a9', value: 'Other' },
};
// 车位状态
-export const AssetCarPortsStatusEnum= {
- 'Unsold': {"text":"未售","color":"#6b7280","value":"Unsold"},
- 'Sold': {"text":"已售","color":"#10b981","value":"Sold"},
- 'Rented': {"text":"已租","color":"#3b82f6","value":"Rented"},
- 'Unrented': {"text":"未租","color":"#f59e0b","value":"Unrented"},
- 'Other': {"text":"其他","color":"#9ca3af","value":"Other"},
+export const AssetCarPortsStatusEnum = {
+ Unsold: { text: '未售', color: '#6b7280', value: 'Unsold' },
+ Sold: { text: '已售', color: '#10b981', value: 'Sold' },
+ Rented: { text: '已租', color: '#3b82f6', value: 'Rented' },
+ Unrented: { text: '未租', color: '#f59e0b', value: 'Unrented' },
+ Other: { text: '其他', color: '#9ca3af', value: 'Other' },
};
// 车位类型
-export const AssetCarPortsTypeEnum= {
- 'Standard': {"text":"标准车位","color":"#1e90ff","value":"Standard"},
- 'Mini': {"text":"微型车位","color":"#32cd32","value":"Mini"},
- 'Accessible': {"text":"无障碍车位","color":"#ff8c00","value":"Accessible"},
- 'Tandem': {"text":"子母车位","color":"#ba55d3","value":"Tandem"},
- 'Mechanical': {"text":"机械车位","color":"#20b2aa","value":"Mechanical"},
- 'Other': {"text":"其他","color":"#a9a9a9","value":"Other"},
+export const AssetCarPortsTypeEnum = {
+ Standard: { text: '标准车位', color: '#1e90ff', value: 'Standard' },
+ Mini: { text: '微型车位', color: '#32cd32', value: 'Mini' },
+ Accessible: { text: '无障碍车位', color: '#ff8c00', value: 'Accessible' },
+ Tandem: { text: '子母车位', color: '#ba55d3', value: 'Tandem' },
+ Mechanical: { text: '机械车位', color: '#20b2aa', value: 'Mechanical' },
+ Other: { text: '其他', color: '#a9a9a9', value: 'Other' },
};
// AssetHousesOrientationEnum
-export const AssetHousesOrientationEnum= {
- 'East': {"text":"东","color":"#007bff","value":"East"},
- 'South': {"text":"南","color":"#28a745","value":"South"},
- 'West': {"text":"西","color":"#ffc107","value":"West"},
- 'North': {"text":"北","color":"#dc3545","value":"North"},
- 'Southeast': {"text":"东南","color":"#20c997","value":"Southeast"},
- 'Northeast': {"text":"东北","color":"#6f42c1","value":"Northeast"},
- 'Southwest': {"text":"西南","color":"#fd7e14","value":"Southwest"},
- 'Northwest': {"text":"西北","color":"#17a2b8","value":"Northwest"},
- 'EastWest': {"text":"东西","color":"#6610f2","value":"EastWest"},
- 'SouthNorth': {"text":"南北","color":"#e83e8c","value":"SouthNorth"},
+export const AssetHousesOrientationEnum = {
+ East: { text: '东', color: '#007bff', value: 'East' },
+ South: { text: '南', color: '#28a745', value: 'South' },
+ West: { text: '西', color: '#ffc107', value: 'West' },
+ North: { text: '北', color: '#dc3545', value: 'North' },
+ Southeast: { text: '东南', color: '#20c997', value: 'Southeast' },
+ Northeast: { text: '东北', color: '#6f42c1', value: 'Northeast' },
+ Southwest: { text: '西南', color: '#fd7e14', value: 'Southwest' },
+ Northwest: { text: '西北', color: '#17a2b8', value: 'Northwest' },
+ EastWest: { text: '东西', color: '#6610f2', value: 'EastWest' },
+ SouthNorth: { text: '南北', color: '#e83e8c', value: 'SouthNorth' },
};
// AssetHousesOwnershipTypeEnum
-export const AssetHousesOwnershipTypeEnum= {
- 'CommodityHousing': {"text":"商品房","color":"#007bff","value":"CommodityHousing"},
- 'FundedHousing': {"text":"集资房","color":"#28a745","value":"FundedHousing"},
- 'MilitaryHousing': {"text":"军产房","color":"#17a2b8","value":"MilitaryHousing"},
- 'AffordableHousing': {"text":"保障房","color":"#ffc107","value":"AffordableHousing"},
- 'RuralHousing': {"text":"农民房","color":"#6f42c1","value":"RuralHousing"},
- 'CommercialOffice': {"text":"商业写字楼","color":"#fd7e14","value":"CommercialOffice"},
- 'CommercialComplex': {"text":"商业综合体","color":"#dc3545","value":"CommercialComplex"},
- 'ResettlementHousing': {"text":"回迁房","color":"#20c997","value":"ResettlementHousing"},
+export const AssetHousesOwnershipTypeEnum = {
+ CommodityHousing: {
+ text: '商品房',
+ color: '#007bff',
+ value: 'CommodityHousing',
+ },
+ FundedHousing: { text: '集资房', color: '#28a745', value: 'FundedHousing' },
+ MilitaryHousing: {
+ text: '军产房',
+ color: '#17a2b8',
+ value: 'MilitaryHousing',
+ },
+ AffordableHousing: {
+ text: '保障房',
+ color: '#ffc107',
+ value: 'AffordableHousing',
+ },
+ RuralHousing: { text: '农民房', color: '#6f42c1', value: 'RuralHousing' },
+ CommercialOffice: {
+ text: '商业写字楼',
+ color: '#fd7e14',
+ value: 'CommercialOffice',
+ },
+ CommercialComplex: {
+ text: '商业综合体',
+ color: '#dc3545',
+ value: 'CommercialComplex',
+ },
+ ResettlementHousing: {
+ text: '回迁房',
+ color: '#20c997',
+ value: 'ResettlementHousing',
+ },
};
// AssetHousesPropertyOwnershipEnum
-export const AssetHousesPropertyOwnershipEnum= {
- 'Individual': {"text":"个人","color":"#2db7f5","value":"Individual"},
- 'Enterprise': {"text":"企业","color":"#87d068","value":"Enterprise"},
- 'Developer': {"text":"开发商","color":"#fa8c16","value":"Developer"},
- 'Government': {"text":"政府","color":"#f5222d","value":"Government"},
+export const AssetHousesPropertyOwnershipEnum = {
+ Individual: { text: '个人', color: '#2db7f5', value: 'Individual' },
+ Enterprise: { text: '企业', color: '#87d068', value: 'Enterprise' },
+ Developer: { text: '开发商', color: '#fa8c16', value: 'Developer' },
+ Government: { text: '政府', color: '#f5222d', value: 'Government' },
};
// AssetHousesStatusEnum
-export const AssetHousesStatusEnum= {
- 'Unsold': {"text":"未售","color":"#6c757d","value":"Unsold"},
- 'SoldNotDelivered': {"text":"已售未交房","color":"#ffc107","value":"SoldNotDelivered"},
- 'SelfOccupied': {"text":"自住","color":"#28a745","value":"SelfOccupied"},
- 'Rented': {"text":"出租","color":"#007bff","value":"Rented"},
- 'Vacant': {"text":"空置","color":"#dc3545","value":"Vacant"},
+export const AssetHousesStatusEnum = {
+ Unsold: { text: '未售', color: '#6c757d', value: 'Unsold' },
+ SoldNotDelivered: {
+ text: '已售未交房',
+ color: '#ffc107',
+ value: 'SoldNotDelivered',
+ },
+ SelfOccupied: { text: '自住', color: '#28a745', value: 'SelfOccupied' },
+ Rented: { text: '出租', color: '#007bff', value: 'Rented' },
+ Vacant: { text: '空置', color: '#dc3545', value: 'Vacant' },
};
// AssetHousesUsageEnum
-export const AssetHousesUsageEnum= {
- 'Residence': {"text":"住宅","color":"#007bff","value":"Residence"},
- 'Apartment': {"text":"公寓","color":"#28a745","value":"Apartment"},
- 'Villa': {"text":"别墅","color":"#17a2b8","value":"Villa"},
- 'Shop': {"text":"商铺","color":"#ffc107","value":"Shop"},
- 'ParkingSpace': {"text":"车位","color":"#6c757d","value":"ParkingSpace"},
- 'Office': {"text":"写字楼","color":"#6610f2","value":"Office"},
- 'Clubhouse': {"text":"会所","color":"#fd7e14","value":"Clubhouse"},
- 'PropertyRoom': {"text":"物业用房","color":"#dc3545","value":"PropertyRoom"},
+export const AssetHousesUsageEnum = {
+ Residence: { text: '住宅', color: '#007bff', value: 'Residence' },
+ Apartment: { text: '公寓', color: '#28a745', value: 'Apartment' },
+ Villa: { text: '别墅', color: '#17a2b8', value: 'Villa' },
+ Shop: { text: '商铺', color: '#ffc107', value: 'Shop' },
+ ParkingSpace: { text: '车位', color: '#6c757d', value: 'ParkingSpace' },
+ Office: { text: '写字楼', color: '#6610f2', value: 'Office' },
+ Clubhouse: { text: '会所', color: '#fd7e14', value: 'Clubhouse' },
+ PropertyRoom: { text: '物业用房', color: '#dc3545', value: 'PropertyRoom' },
};
// 车场收费类型
-export const AssetParkingPlacesChargeTypeEnum= {
- 'Free': {"text":"免费","color":"#32cd32","value":"Free"},
- 'TemporaryCharge': {"text":"临停收费","color":"#1e90ff","value":"TemporaryCharge"},
- 'MonthlyCharge': {"text":"月卡收费","color":"#ff8c00","value":"MonthlyCharge"},
- 'MixedCharge': {"text":"混合收费","color":"#ba55d3","value":"MixedCharge"},
+export const AssetParkingPlacesChargeTypeEnum = {
+ Free: { text: '免费', color: '#32cd32', value: 'Free' },
+ TemporaryCharge: {
+ text: '临停收费',
+ color: '#1e90ff',
+ value: 'TemporaryCharge',
+ },
+ MonthlyCharge: { text: '月卡收费', color: '#ff8c00', value: 'MonthlyCharge' },
+ MixedCharge: { text: '混合收费', color: '#ba55d3', value: 'MixedCharge' },
};
// 车场位置类型
-export const AssetParkingPlacesLocationTypeEnum= {
- 'GroundParking': {"text":"地面车场","color":"#ffa500","value":"GroundParking"},
- 'UndergroundParking': {"text":"地下车场","color":"#4682b4","value":"UndergroundParking"},
+export const AssetParkingPlacesLocationTypeEnum = {
+ GroundParking: { text: '地面车场', color: '#ffa500', value: 'GroundParking' },
+ UndergroundParking: {
+ text: '地下车场',
+ color: '#4682b4',
+ value: 'UndergroundParking',
+ },
};
// 车场产权类型
-export const AssetParkingPlacesPropertyTypeEnum= {
- 'DispersedOwnership': {"text":"分散产权","color":"#ff7f50","value":"DispersedOwnership"},
- 'SingleOwnership': {"text":"单一产权","color":"#1e90ff","value":"SingleOwnership"},
- 'SharedOwnership': {"text":"共有产权","color":"#32cd32","value":"SharedOwnership"},
+export const AssetParkingPlacesPropertyTypeEnum = {
+ DispersedOwnership: {
+ text: '分散产权',
+ color: '#ff7f50',
+ value: 'DispersedOwnership',
+ },
+ SingleOwnership: {
+ text: '单一产权',
+ color: '#1e90ff',
+ value: 'SingleOwnership',
+ },
+ SharedOwnership: {
+ text: '共有产权',
+ color: '#32cd32',
+ value: 'SharedOwnership',
+ },
};
// 车场类型
-export const AssetParkingPlacesTypeEnum= {
- 'ResidentialSupporting': {"text":"住宅配套车场","color":"#ff8c00","value":"ResidentialSupporting"},
- 'Commercial': {"text":"商业车场","color":"#1e90ff","value":"Commercial"},
- 'Mixed': {"text":"混合车场","color":"#32cd32","value":"Mixed"},
+export const AssetParkingPlacesTypeEnum = {
+ ResidentialSupporting: {
+ text: '住宅配套车场',
+ color: '#ff8c00',
+ value: 'ResidentialSupporting',
+ },
+ Commercial: { text: '商业车场', color: '#1e90ff', value: 'Commercial' },
+ Mixed: { text: '混合车场', color: '#32cd32', value: 'Mixed' },
};
// AssetProjectsChargeEnum
-export const AssetProjectsChargeEnum= {
- 'Contract': {"text":"包干制","color":"#007bff","value":"Contract"},
- 'Commission': {"text":"酬金制","color":"#28a745","value":"Commission"},
+export const AssetProjectsChargeEnum = {
+ Contract: { text: '包干制', color: '#007bff', value: 'Contract' },
+ Commission: { text: '酬金制', color: '#28a745', value: 'Commission' },
};
// AssetProjectsEntrustTypeEnum
-export const AssetProjectsEntrustTypeEnum= {
- 'DeveloperJointEntrust': {"text":"开发商全委","color":"#007bff","value":"DeveloperJointEntrust"},
- 'OwnersFullEntrust': {"text":"业委会全委","color":"#28a745","value":"OwnersFullEntrust"},
- 'GovernmentFullEntrust': {"text":"政府类全委","color":"#ffc107","value":"GovernmentFullEntrust"},
+export const AssetProjectsEntrustTypeEnum = {
+ DeveloperJointEntrust: {
+ text: '开发商全委',
+ color: '#007bff',
+ value: 'DeveloperJointEntrust',
+ },
+ OwnersFullEntrust: {
+ text: '业委会全委',
+ color: '#28a745',
+ value: 'OwnersFullEntrust',
+ },
+ GovernmentFullEntrust: {
+ text: '政府类全委',
+ color: '#ffc107',
+ value: 'GovernmentFullEntrust',
+ },
};
// 业权类型
-export const AssetProjectsOwnershipTypeEnum= {
- 'SingleOwnership': {"text":"单业权","color":"#00cc66","value":"SingleOwnership"},
- 'MultipleOwnership': {"text":"多业权","color":"#0099ff","value":"MultipleOwnership"},
+export const AssetProjectsOwnershipTypeEnum = {
+ SingleOwnership: {
+ text: '单业权',
+ color: '#00cc66',
+ value: 'SingleOwnership',
+ },
+ MultipleOwnership: {
+ text: '多业权',
+ color: '#0099ff',
+ value: 'MultipleOwnership',
+ },
};
// AssetProjectsPropertyTypeEnum
-export const AssetProjectsPropertyTypeEnum= {
- 'Residence': {"text":"住宅","color":"#ff0000","value":"Residence"},
- 'Commercial': {"text":"商业","color":"#ff6600","value":"Commercial"},
- 'Office': {"text":"办公","color":"#ffcc00","value":"Office"},
- 'IndustrialPark': {"text":"产业园","color":"#00cc66","value":"IndustrialPark"},
- 'Complex': {"text":"综合体","color":"#0099ff","value":"Complex"},
- 'Municipal': {"text":"市政设施","color":"#6633cc","value":"Municipal"},
- 'Venue': {"text":"场馆","color":"#9966ff","value":"Venue"},
- 'Education': {"text":"教育","color":"#339999","value":"Education"},
- 'Medical': {"text":"医疗","color":"#cc3366","value":"Medical"},
+export const AssetProjectsPropertyTypeEnum = {
+ Residence: { text: '住宅', color: '#ff0000', value: 'Residence' },
+ Commercial: { text: '商业', color: '#ff6600', value: 'Commercial' },
+ Office: { text: '办公', color: '#ffcc00', value: 'Office' },
+ IndustrialPark: { text: '产业园', color: '#00cc66', value: 'IndustrialPark' },
+ Complex: { text: '综合体', color: '#0099ff', value: 'Complex' },
+ Municipal: { text: '市政设施', color: '#6633cc', value: 'Municipal' },
+ Venue: { text: '场馆', color: '#9966ff', value: 'Venue' },
+ Education: { text: '教育', color: '#339999', value: 'Education' },
+ Medical: { text: '医疗', color: '#cc3366', value: 'Medical' },
};
// AssetProjectsStatusEnum
-export const AssetProjectsStatusEnum= {
- 'SignedNotDelivered': {"text":"签约未交付","color":"#6c757d","value":"SignedNotDelivered"},
- 'RollingDevelopment': {"text":"滚动开发","color":"#007bff","value":"RollingDevelopment"},
- 'ManagedAndClosed': {"text":"在管封园","color":"#ffc107","value":"ManagedAndClosed"},
- 'Exited': {"text":"退出","color":"#dc3545","value":"Exited"},
+export const AssetProjectsStatusEnum = {
+ SignedNotDelivered: {
+ text: '签约未交付',
+ color: '#6c757d',
+ value: 'SignedNotDelivered',
+ },
+ RollingDevelopment: {
+ text: '滚动开发',
+ color: '#007bff',
+ value: 'RollingDevelopment',
+ },
+ ManagedAndClosed: {
+ text: '在管封园',
+ color: '#ffc107',
+ value: 'ManagedAndClosed',
+ },
+ Exited: { text: '退出', color: '#dc3545', value: 'Exited' },
};
// AssetUnitsBuildingStructureEnum
-export const AssetUnitsBuildingStructureEnum= {
- 'SteelConcrete': {"text":"钢混","color":"#007bff","value":"SteelConcrete"},
- 'SteelStructure': {"text":"钢结构","color":"#28a745","value":"SteelStructure"},
- 'BrickConcrete': {"text":"砖混","color":"#ffc107","value":"BrickConcrete"},
- 'BrickWood': {"text":"砖木","color":"#dc3545","value":"BrickWood"},
+export const AssetUnitsBuildingStructureEnum = {
+ SteelConcrete: { text: '钢混', color: '#007bff', value: 'SteelConcrete' },
+ SteelStructure: { text: '钢结构', color: '#28a745', value: 'SteelStructure' },
+ BrickConcrete: { text: '砖混', color: '#ffc107', value: 'BrickConcrete' },
+ BrickWood: { text: '砖木', color: '#dc3545', value: 'BrickWood' },
};
// AssetUnitsBuildingTypeEnum
-export const AssetUnitsBuildingTypeEnum= {
- 'SlabAndTower': {"text":"板塔结合","color":"#007bff","value":"SlabAndTower"},
- 'Slab': {"text":"板楼","color":"#28a745","value":"Slab"},
- 'Tower': {"text":"塔楼","color":"#ffc107","value":"Tower"},
+export const AssetUnitsBuildingTypeEnum = {
+ SlabAndTower: { text: '板塔结合', color: '#007bff', value: 'SlabAndTower' },
+ Slab: { text: '板楼', color: '#28a745', value: 'Slab' },
+ Tower: { text: '塔楼', color: '#ffc107', value: 'Tower' },
};
// AttendanceRecordsCheckinTypeEnum
-export const AttendanceRecordsCheckinTypeEnum= {
- 'CheckIn': {"text":"上班","color":"#1890ff","value":"CheckIn"},
- 'CheckOut': {"text":"下班","color":"#52c41a","value":"CheckOut"},
+export const AttendanceRecordsCheckinTypeEnum = {
+ CheckIn: { text: '上班', color: '#1890ff', value: 'CheckIn' },
+ CheckOut: { text: '下班', color: '#52c41a', value: 'CheckOut' },
};
// AttendanceRecordsStatusEnum
-export const AttendanceRecordsStatusEnum= {
- 'Normal': {"text":"正常","color":"#52c41a","value":"Normal"},
- 'Late': {"text":"迟到","color":"#faad14","value":"Late"},
- 'EarlyLeave': {"text":"早退","color":"#fa8c16","value":"EarlyLeave"},
- 'OutOfRange': {"text":"范围外","color":"#ff4d4f","value":"OutOfRange"},
- 'Reissue': {"text":"补卡","color":"#1890ff","value":"Reissue"},
+export const AttendanceRecordsStatusEnum = {
+ Normal: { text: '正常', color: '#52c41a', value: 'Normal' },
+ Late: { text: '迟到', color: '#faad14', value: 'Late' },
+ EarlyLeave: { text: '早退', color: '#fa8c16', value: 'EarlyLeave' },
+ OutOfRange: { text: '范围外', color: '#ff4d4f', value: 'OutOfRange' },
+ Reissue: { text: '补卡', color: '#1890ff', value: 'Reissue' },
};
// AttendanceSchedulesStatusEnum
-export const AttendanceSchedulesStatusEnum= {
- 'Pending': {"text":"待生效","color":"#faad14","value":"Pending"},
- 'Active': {"text":"生效中","color":"#52c41a","value":"Active"},
- 'Cancelled': {"text":"已取消","color":"#ff4d4f","value":"Cancelled"},
+export const AttendanceSchedulesStatusEnum = {
+ Pending: { text: '待生效', color: '#faad14', value: 'Pending' },
+ Active: { text: '生效中', color: '#52c41a', value: 'Active' },
+ Cancelled: { text: '已取消', color: '#ff4d4f', value: 'Cancelled' },
};
// 打卡状态枚举
-export const AttendanceStatusEnum= {
- 'Normal': {"text":"正常","color":"#52c41a","value":"Normal"},
- 'Late': {"text":"迟到","color":"#faad14","value":"Late"},
- 'Early': {"text":"早退","color":"#faad14","value":"Early"},
- 'OutOfRange': {"text":"范围外","color":"#ff4d4f","value":"OutOfRange"},
- 'MakeUp': {"text":"补卡","color":"#722ed1","value":"MakeUp"},
+export const AttendanceStatusEnum = {
+ Normal: { text: '正常', color: '#52c41a', value: 'Normal' },
+ Late: { text: '迟到', color: '#faad14', value: 'Late' },
+ Early: { text: '早退', color: '#faad14', value: 'Early' },
+ OutOfRange: { text: '范围外', color: '#ff4d4f', value: 'OutOfRange' },
+ MakeUp: { text: '补卡', color: '#722ed1', value: 'MakeUp' },
};
// BannerSpacesTypeEnum
-export const BannerSpacesTypeEnum= {
- 'Popup': {"text":"弹窗","color":"#ff0000","value":"Popup"},
- 'Banner': {"text":"横幅广告","color":"#00ff00","value":"Banner"},
- 'FloatingButton': {"text":"悬浮按钮","color":"#0000ff","value":"FloatingButton"},
+export const BannerSpacesTypeEnum = {
+ Popup: { text: '弹窗', color: '#ff0000', value: 'Popup' },
+ Banner: { text: '横幅广告', color: '#00ff00', value: 'Banner' },
+ FloatingButton: {
+ text: '悬浮按钮',
+ color: '#0000ff',
+ value: 'FloatingButton',
+ },
};
// BannersRedirectTypeEnum
-export const BannersRedirectTypeEnum= {
- 'InnerPage': {"text":"跳内页","color":"#ff0000","value":"InnerPage"},
- 'H5': {"text":"跳H5","color":"#00ff00","value":"H5"},
- 'MiniProgramHome': {"text":"跳小程序首屏","color":"#0000ff","value":"MiniProgramHome"},
- 'AnotherMiniProgram': {"text":"跳另一个小程序","color":"#ffa500","value":"AnotherMiniProgram"},
+export const BannersRedirectTypeEnum = {
+ InnerPage: { text: '跳内页', color: '#ff0000', value: 'InnerPage' },
+ H5: { text: '跳H5', color: '#00ff00', value: 'H5' },
+ MiniProgramHome: {
+ text: '跳小程序首屏',
+ color: '#0000ff',
+ value: 'MiniProgramHome',
+ },
+ AnotherMiniProgram: {
+ text: '跳另一个小程序',
+ color: '#ffa500',
+ value: 'AnotherMiniProgram',
+ },
};
// BannersTypeEnum
-export const BannersTypeEnum= {
- 'Image': {"text":"图片","color":"#ff0000","value":"Image"},
- 'Video': {"text":"视频","color":"#00ff00","value":"Video"},
- 'Text': {"text":"文本","color":"#0000ff","value":"Text"},
+export const BannersTypeEnum = {
+ Image: { text: '图片', color: '#ff0000', value: 'Image' },
+ Video: { text: '视频', color: '#00ff00', value: 'Video' },
+ Text: { text: '文本', color: '#0000ff', value: 'Text' },
};
-//
-export const BillPaymentsStatusEnum= {
- 'Pending': {"text":"待审","color":"#faad14","value":"Pending"},
- 'Approved': {"text":"已审","color":"#52c41a","value":"Approved"},
- 'Rejected': {"text":"驳回","color":"#f5222d","value":"Rejected"},
+//
+export const BillPaymentsStatusEnum = {
+ Pending: { text: '待审', color: '#faad14', value: 'Pending' },
+ Approved: { text: '已审', color: '#52c41a', value: 'Approved' },
+ Rejected: { text: '驳回', color: '#f5222d', value: 'Rejected' },
};
-//
-export const BillPaymentsTypeEnum= {
- 'DoorCard': {"text":"门卡","color":"#2196f3","value":"DoorCard"},
- 'ResourceOrder': {"text":"资源订单","color":"#4caf50","value":"ResourceOrder"},
- 'EmergencyEvent': {"text":"突发事件","color":"#ef4444","value":"EmergencyEvent"},
- 'RenovationDeposit': {"text":"装修押金","color":"#f59e0b","value":"RenovationDeposit"},
+//
+export const BillPaymentsTypeEnum = {
+ DoorCard: { text: '门卡', color: '#2196f3', value: 'DoorCard' },
+ ResourceOrder: { text: '资源订单', color: '#4caf50', value: 'ResourceOrder' },
+ EmergencyEvent: {
+ text: '突发事件',
+ color: '#ef4444',
+ value: 'EmergencyEvent',
+ },
+ RenovationDeposit: {
+ text: '装修押金',
+ color: '#f59e0b',
+ value: 'RenovationDeposit',
+ },
};
-//
-export const BillsFlowTypeEnum= {
- 'Income': {"text":"收入","color":"#10b981","value":"Income"},
- 'Expense': {"text":"支出","color":"#ef4444","value":"Expense"},
+//
+export const BillsFlowTypeEnum = {
+ Income: { text: '收入', color: '#10b981', value: 'Income' },
+ Expense: { text: '支出', color: '#ef4444', value: 'Expense' },
};
-//
-export const BillsRefundStatusEnum= {
- 'Requested': {"text":"已申请","color":"#2196f3","value":"Requested"},
- 'Reviewing': {"text":"审核中","color":"#ff9800","value":"Reviewing"},
- 'Rejected': {"text":"已拒绝","color":"#f44336","value":"Rejected"},
- 'Processing': {"text":"退款中","color":"#9c27b0","value":"Processing"},
- 'Refunded': {"text":"已退款","color":"#4caf50","value":"Refunded"},
- 'Failed': {"text":"退款失败","color":"#e91e63","value":"Failed"},
+//
+export const BillsRefundStatusEnum = {
+ Requested: { text: '已申请', color: '#2196f3', value: 'Requested' },
+ Reviewing: { text: '审核中', color: '#ff9800', value: 'Reviewing' },
+ Rejected: { text: '已拒绝', color: '#f44336', value: 'Rejected' },
+ Processing: { text: '退款中', color: '#9c27b0', value: 'Processing' },
+ Refunded: { text: '已退款', color: '#4caf50', value: 'Refunded' },
+ Failed: { text: '退款失败', color: '#e91e63', value: 'Failed' },
};
-//
-export const BillsStatusEnum= {
- 'PendingPayment': {"text":"待支付","color":"#facc15","value":"PendingPayment"},
- 'Paid': {"text":"已支付","color":"#10b981","value":"Paid"},
- 'ToBeConfirmed': {"text":"待确认","color":"#f97316","value":"ToBeConfirmed"},
- 'Overdue': {"text":"已逾期","color":"#ef4444","value":"Overdue"},
- 'UnderApproval': {"text":"审批中","color":"#8b5cf6","value":"UnderApproval"},
- 'Cancelled': {"text":"已取消","color":"#9ca3af","value":"Cancelled"},
+//
+export const BillsStatusEnum = {
+ PendingPayment: { text: '待支付', color: '#facc15', value: 'PendingPayment' },
+ Paid: { text: '已支付', color: '#10b981', value: 'Paid' },
+ ToBeConfirmed: { text: '待确认', color: '#f97316', value: 'ToBeConfirmed' },
+ Overdue: { text: '已逾期', color: '#ef4444', value: 'Overdue' },
+ UnderApproval: { text: '审批中', color: '#8b5cf6', value: 'UnderApproval' },
+ Cancelled: { text: '已取消', color: '#9ca3af', value: 'Cancelled' },
};
// 缓存类型
-export const CacheTypeEnum= {
- 'MobilePhoneVerificationCode': {"text":"手机验证码","color":"#40a1af","value":"MobilePhoneVerificationCode"},
+export const CacheTypeEnum = {
+ MobilePhoneVerificationCode: {
+ text: '手机验证码',
+ color: '#40a1af',
+ value: 'MobilePhoneVerificationCode',
+ },
};
// CompaniesMerchantTypeEnum
-export const CompaniesMerchantTypeEnum= {
- 'PropertyManagement': {"text":"物业公司","color":"#007bff","value":"PropertyManagement"},
- 'ServiceProvider': {"text":"服务商","color":"#28a745","value":"ServiceProvider"},
+export const CompaniesMerchantTypeEnum = {
+ PropertyManagement: {
+ text: '物业公司',
+ color: '#007bff',
+ value: 'PropertyManagement',
+ },
+ ServiceProvider: {
+ text: '服务商',
+ color: '#28a745',
+ value: 'ServiceProvider',
+ },
};
// CompanyAppsAppTypeEnum
-export const CompanyAppsAppTypeEnum= {
- 'MiniProgram': {"text":"微信小程序","color":"#3b82f6","value":"MiniProgram"},
- 'MpOfficial': {"text":"微信公众号","color":"#22c55e","value":"MpOfficial"},
- 'WorkWechat': {"text":"企业微信","color":"#6366f1","value":"WorkWechat"},
+export const CompanyAppsAppTypeEnum = {
+ MiniProgram: { text: '微信小程序', color: '#3b82f6', value: 'MiniProgram' },
+ MpOfficial: { text: '微信公众号', color: '#22c55e', value: 'MpOfficial' },
+ WorkWechat: { text: '企业微信', color: '#6366f1', value: 'WorkWechat' },
};
// CompanyAppsModuleEnum
-export const CompanyAppsModuleEnum= {
- 'Employee': {"text":"员工端","color":"#3b82f6","value":"Employee"},
- 'Customer': {"text":"客户端","color":"#10b981","value":"Customer"},
+export const CompanyAppsModuleEnum = {
+ Employee: { text: '员工端', color: '#3b82f6', value: 'Employee' },
+ Customer: { text: '客户端', color: '#10b981', value: 'Customer' },
};
// CompanyAppsWorkTypeEnum
-export const CompanyAppsWorkTypeEnum= {
- 'WorkWechatApp': {"text":"企微应用","color":"#00c853","value":"WorkWechatApp"},
- 'WorkWechat': {"text":"企微","color":"#0091ea","value":"WorkWechat"},
+export const CompanyAppsWorkTypeEnum = {
+ WorkWechatApp: { text: '企微应用', color: '#00c853', value: 'WorkWechatApp' },
+ WorkWechat: { text: '企微', color: '#0091ea', value: 'WorkWechat' },
};
// CompanyConfigsConfigKeyEnum
-export const CompanyConfigsConfigKeyEnum= {
- 'Theme': {"text":"主题色","color":"#3b82f6","value":"Theme"},
+export const CompanyConfigsConfigKeyEnum = {
+ Theme: { text: '主题色', color: '#3b82f6', value: 'Theme' },
};
// CompanyEmployeeBacklogsStatusEnum
-export const CompanyEmployeeBacklogsStatusEnum= {
- 'Pending': {"text":"待办","color":"#FF6600","value":"Pending"},
- 'Completed': {"text":"已办","color":"#2A82E4","value":"Completed"},
+export const CompanyEmployeeBacklogsStatusEnum = {
+ Pending: { text: '待办', color: '#FF6600', value: 'Pending' },
+ Completed: { text: '已办', color: '#2A82E4', value: 'Completed' },
};
// CompanyEmployeeBacklogsTypeEnum
-export const CompanyEmployeeBacklogsTypeEnum= {
- 'WorkOrder': {"text":"工单","color":"#FF6600","value":"WorkOrder"},
- 'Contract': {"text":"合同","color":"#2A82E4","value":"Contract"},
- 'MomentTask': {"text":"朋友圈任务","color":"#FF6600","value":"MomentTask"},
+export const CompanyEmployeeBacklogsTypeEnum = {
+ WorkOrder: { text: '工单', color: '#FF6600', value: 'WorkOrder' },
+ Contract: { text: '合同', color: '#2A82E4', value: 'Contract' },
+ MomentTask: { text: '朋友圈任务', color: '#FF6600', value: 'MomentTask' },
};
// CompanyEmployeesTypeEnum
-export const CompanyEmployeesTypeEnum= {
- 'Staff': {"text":"员工","color":"#1890ff","value":"Staff"},
- 'WeCom': {"text":"企微","color":"#2196f3","value":"WeCom"},
- 'External': {"text":"外部","color":"#4caf50","value":"External"},
+export const CompanyEmployeesTypeEnum = {
+ Staff: { text: '员工', color: '#1890ff', value: 'Staff' },
+ WeCom: { text: '企微', color: '#2196f3', value: 'WeCom' },
+ External: { text: '外部', color: '#4caf50', value: 'External' },
};
// CompanyReceiptAccountsPayChannelEnum
-export const CompanyReceiptAccountsPayChannelEnum= {
- 'WeChat': {"text":"微信","color":"#07c160","value":"WeChat"},
- 'Alipay': {"text":"支付宝","color":"#1677ff","value":"Alipay"},
- 'BankTransfer': {"text":"银行转账","color":"#6c757d","value":"BankTransfer"},
- 'TongLian': {"text":"通联支付","color":"#ff9f0a","value":"TongLian"},
- 'CCB': {"text":"建行惠市宝","color":"#003da5","value":"CCB"},
+export const CompanyReceiptAccountsPayChannelEnum = {
+ WeChat: { text: '微信', color: '#07c160', value: 'WeChat' },
+ Alipay: { text: '支付宝', color: '#1677ff', value: 'Alipay' },
+ BankTransfer: { text: '银行转账', color: '#6c757d', value: 'BankTransfer' },
+ TongLian: { text: '通联支付', color: '#ff9f0a', value: 'TongLian' },
+ CCB: { text: '建行惠市宝', color: '#003da5', value: 'CCB' },
};
// 公司印章类型枚举
-export const CompanySealsTypeEnum= {
- 'OfficialSeal': {"text":"公章","color":"#007bff","value":"OfficialSeal"},
- 'FinanceSeal': {"text":"财务专用章","color":"#28a745","value":"FinanceSeal"},
- 'ContractSeal': {"text":"合同专用章","color":"#17a2b8","value":"ContractSeal"},
- 'LegalRepresentativeSeal': {"text":"法定代表人章","color":"#ffc107","value":"LegalRepresentativeSeal"},
- 'InvoiceSeal': {"text":"发票专用章","color":"#dc3545","value":"InvoiceSeal"},
- 'HRSeal': {"text":"人事专用章","color":"#6f42c1","value":"HRSeal"},
+export const CompanySealsTypeEnum = {
+ OfficialSeal: { text: '公章', color: '#007bff', value: 'OfficialSeal' },
+ FinanceSeal: { text: '财务专用章', color: '#28a745', value: 'FinanceSeal' },
+ ContractSeal: { text: '合同专用章', color: '#17a2b8', value: 'ContractSeal' },
+ LegalRepresentativeSeal: {
+ text: '法定代表人章',
+ color: '#ffc107',
+ value: 'LegalRepresentativeSeal',
+ },
+ InvoiceSeal: { text: '发票专用章', color: '#dc3545', value: 'InvoiceSeal' },
+ HRSeal: { text: '人事专用章', color: '#6f42c1', value: 'HRSeal' },
};
// CompanySuppliersCertificateTypeEnum
-export const CompanySuppliersCertificateTypeEnum= {
- 'IdCard': {"text":"身份证","color":"#1e90ff","value":"IdCard"},
- 'BusinessLicense': {"text":"营业执照","color":"#32cd32","value":"BusinessLicense"},
+export const CompanySuppliersCertificateTypeEnum = {
+ IdCard: { text: '身份证', color: '#1e90ff', value: 'IdCard' },
+ BusinessLicense: {
+ text: '营业执照',
+ color: '#32cd32',
+ value: 'BusinessLicense',
+ },
};
// CompanySuppliersCounterpartyEnum
-export const CompanySuppliersCounterpartyEnum= {
- 'Supplier': {"text":"供应商","color":"#1e90ff","value":"Supplier"},
- 'InternalCompany': {"text":"内部企业","color":"#32cd32","value":"InternalCompany"},
- 'CustomerCompany': {"text":"客户单位","color":"#ff8c00","value":"CustomerCompany"},
- 'Other': {"text":"其他","color":"#808080","value":"Other"},
+export const CompanySuppliersCounterpartyEnum = {
+ Supplier: { text: '供应商', color: '#1e90ff', value: 'Supplier' },
+ InternalCompany: {
+ text: '内部企业',
+ color: '#32cd32',
+ value: 'InternalCompany',
+ },
+ CustomerCompany: {
+ text: '客户单位',
+ color: '#ff8c00',
+ value: 'CustomerCompany',
+ },
+ Other: { text: '其他', color: '#808080', value: 'Other' },
};
// CompanySuppliersGradeEnum
-export const CompanySuppliersGradeEnum= {
- 'Excellent': {"text":"优秀","color":"#10b981","value":"Excellent"},
- 'Qualified': {"text":"合格","color":"#3b82f6","value":"Qualified"},
- 'ToImprove': {"text":"待整改","color":"#f59e0b","value":"ToImprove"},
- 'Eliminated': {"text":"淘汰","color":"#ef4444","value":"Eliminated"},
+export const CompanySuppliersGradeEnum = {
+ Excellent: { text: '优秀', color: '#10b981', value: 'Excellent' },
+ Qualified: { text: '合格', color: '#3b82f6', value: 'Qualified' },
+ ToImprove: { text: '待整改', color: '#f59e0b', value: 'ToImprove' },
+ Eliminated: { text: '淘汰', color: '#ef4444', value: 'Eliminated' },
};
// CompanySuppliersSupplierTypeEnum
-export const CompanySuppliersSupplierTypeEnum= {
- 'Individual': {"text":"个人","color":"#1e90ff","value":"Individual"},
- 'Enterprise': {"text":"企业","color":"#32cd32","value":"Enterprise"},
+export const CompanySuppliersSupplierTypeEnum = {
+ Individual: { text: '个人', color: '#1e90ff', value: 'Individual' },
+ Enterprise: { text: '企业', color: '#32cd32', value: 'Enterprise' },
};
// 合同归档借用状态枚举
-export const ContractArchiveBorrowStatusEnum= {
- 'Pending': {"text":"审批中","color":"#f59e0b","value":"Pending"},
- 'Approved': {"text":"已通过","color":"#10b981","value":"Approved"},
- 'Rejected': {"text":"已驳回","color":"#ef4444","value":"Rejected"},
- 'Borrowing': {"text":"借用中","color":"#007bff","value":"Borrowing"},
- 'Returned': {"text":"已归还","color":"#28a745","value":"Returned"},
- 'Overdue': {"text":"已逾期","color":"#dc3545","value":"Overdue"},
+export const ContractArchiveBorrowStatusEnum = {
+ Pending: { text: '审批中', color: '#f59e0b', value: 'Pending' },
+ Approved: { text: '已通过', color: '#10b981', value: 'Approved' },
+ Rejected: { text: '已驳回', color: '#ef4444', value: 'Rejected' },
+ Borrowing: { text: '借用中', color: '#007bff', value: 'Borrowing' },
+ Returned: { text: '已归还', color: '#28a745', value: 'Returned' },
+ Overdue: { text: '已逾期', color: '#dc3545', value: 'Overdue' },
};
// 合同归档文件归还状态枚举
-export const ContractArchiveFileReturnStatusEnum= {
- 'NotReturned': {"text":"未归还","color":"#6c757d","value":"NotReturned"},
- 'Intact': {"text":"完好","color":"#28a745","value":"Intact"},
- 'PartialLost': {"text":"部分遗失","color":"#ffc107","value":"PartialLost"},
- 'AllLost': {"text":"全部遗失","color":"#dc3545","value":"AllLost"},
- 'AllDamaged': {"text":"全部损毁","color":"#dc3545","value":"AllDamaged"},
- 'PartialDamaged': {"text":"部分损毁","color":"#fd7e14","value":"PartialDamaged"},
- 'NoNeedReturn': {"text":"无需归还","color":"#17a2b8","value":"NoNeedReturn"},
+export const ContractArchiveFileReturnStatusEnum = {
+ NotReturned: { text: '未归还', color: '#6c757d', value: 'NotReturned' },
+ Intact: { text: '完好', color: '#28a745', value: 'Intact' },
+ PartialLost: { text: '部分遗失', color: '#ffc107', value: 'PartialLost' },
+ AllLost: { text: '全部遗失', color: '#dc3545', value: 'AllLost' },
+ AllDamaged: { text: '全部损毁', color: '#dc3545', value: 'AllDamaged' },
+ PartialDamaged: {
+ text: '部分损毁',
+ color: '#fd7e14',
+ value: 'PartialDamaged',
+ },
+ NoNeedReturn: { text: '无需归还', color: '#17a2b8', value: 'NoNeedReturn' },
};
// 合同归档归还状态枚举
-export const ContractArchiveReturnStatusEnum= {
- 'NotReturned': {"text":"未归还","color":"#6c757d","value":"NotReturned"},
- 'Returned': {"text":"已归还","color":"#28a745","value":"Returned"},
+export const ContractArchiveReturnStatusEnum = {
+ NotReturned: { text: '未归还', color: '#6c757d', value: 'NotReturned' },
+ Returned: { text: '已归还', color: '#28a745', value: 'Returned' },
};
// ContractArchivesConfidentialityLevelEnum
-export const ContractArchivesConfidentialityLevelEnum= {
- 'TopSecret': {"text":"绝密","color":"#dc3545","value":"TopSecret"},
- 'Confidential': {"text":"机密","color":"#fd7e14","value":"Confidential"},
- 'Secret': {"text":"保密","color":"#ffc107","value":"Secret"},
- 'Internal': {"text":"内部公开","color":"#17a2b8","value":"Internal"},
- 'Public': {"text":"公开","color":"#28a745","value":"Public"},
+export const ContractArchivesConfidentialityLevelEnum = {
+ TopSecret: { text: '绝密', color: '#dc3545', value: 'TopSecret' },
+ Confidential: { text: '机密', color: '#fd7e14', value: 'Confidential' },
+ Secret: { text: '保密', color: '#ffc107', value: 'Secret' },
+ Internal: { text: '内部公开', color: '#17a2b8', value: 'Internal' },
+ Public: { text: '公开', color: '#28a745', value: 'Public' },
};
// ContractArchivesFileStatusEnum
-export const ContractArchivesFileStatusEnum= {
- 'Intact': {"text":"完好","color":"#28a745","value":"Intact"},
- 'SlightDamage': {"text":"轻度损伤","color":"#ffc107","value":"SlightDamage"},
- 'ModerateDamage': {"text":"中度损伤","color":"#fd7e14","value":"ModerateDamage"},
- 'SevereDamage': {"text":"重度损伤","color":"#dc3545","value":"SevereDamage"},
+export const ContractArchivesFileStatusEnum = {
+ Intact: { text: '完好', color: '#28a745', value: 'Intact' },
+ SlightDamage: { text: '轻度损伤', color: '#ffc107', value: 'SlightDamage' },
+ ModerateDamage: {
+ text: '中度损伤',
+ color: '#fd7e14',
+ value: 'ModerateDamage',
+ },
+ SevereDamage: { text: '重度损伤', color: '#dc3545', value: 'SevereDamage' },
};
// ContractArchivesFileTypeEnum
-export const ContractArchivesFileTypeEnum= {
- 'PaperOriginal': {"text":"纸质原件","color":"#007bff","value":"PaperOriginal"},
- 'ElectronicOriginal': {"text":"电子原件","color":"#28a745","value":"ElectronicOriginal"},
- 'Copy': {"text":"复印件","color":"#ffc107","value":"Copy"},
+export const ContractArchivesFileTypeEnum = {
+ PaperOriginal: { text: '纸质原件', color: '#007bff', value: 'PaperOriginal' },
+ ElectronicOriginal: {
+ text: '电子原件',
+ color: '#28a745',
+ value: 'ElectronicOriginal',
+ },
+ Copy: { text: '复印件', color: '#ffc107', value: 'Copy' },
};
// ContractArchivesPeriodTypeEnum
-export const ContractArchivesPeriodTypeEnum= {
- 'FixedTerm': {"text":"定期","color":"#007bff","value":"FixedTerm"},
- 'Permanent': {"text":"永久","color":"#28a745","value":"Permanent"},
+export const ContractArchivesPeriodTypeEnum = {
+ FixedTerm: { text: '定期', color: '#007bff', value: 'FixedTerm' },
+ Permanent: { text: '永久', color: '#28a745', value: 'Permanent' },
};
// ContractBillObjectsAuditStatusEnum
-export const ContractBillObjectsAuditStatusEnum= {
- 'Pending': {"text":"审批中","color":"#f59e0b","value":"Pending"},
- 'Approved': {"text":"已通过","color":"#10b981","value":"Approved"},
- 'Rejected': {"text":"已驳回","color":"#ef4444","value":"Rejected"},
+export const ContractBillObjectsAuditStatusEnum = {
+ Pending: { text: '审批中', color: '#f59e0b', value: 'Pending' },
+ Approved: { text: '已通过', color: '#10b981', value: 'Approved' },
+ Rejected: { text: '已驳回', color: '#ef4444', value: 'Rejected' },
};
// ContractBillObjectsStatusEnum
-export const ContractBillObjectsStatusEnum= {
- 'Pending': {"text":"待执行","color":"#6c757d","value":"Pending"},
- 'InProgress': {"text":"执行中","color":"#007bff","value":"InProgress"},
- 'Completed': {"text":"已完成","color":"#28a745","value":"Completed"},
- 'Cancelled': {"text":"已取消","color":"#dc3545","value":"Cancelled"},
+export const ContractBillObjectsStatusEnum = {
+ Pending: { text: '待执行', color: '#6c757d', value: 'Pending' },
+ InProgress: { text: '执行中', color: '#007bff', value: 'InProgress' },
+ Completed: { text: '已完成', color: '#28a745', value: 'Completed' },
+ Cancelled: { text: '已取消', color: '#dc3545', value: 'Cancelled' },
};
// ContractBillPaymentsStatusEnum
-export const ContractBillPaymentsStatusEnum= {
- 'Pending': {"text":"待审","color":"#faad14","value":"Pending"},
- 'Approved': {"text":"已审","color":"#52c41a","value":"Approved"},
- 'Rejected': {"text":"驳回","color":"#f5222d","value":"Rejected"},
+export const ContractBillPaymentsStatusEnum = {
+ Pending: { text: '待审', color: '#faad14', value: 'Pending' },
+ Approved: { text: '已审', color: '#52c41a', value: 'Approved' },
+ Rejected: { text: '驳回', color: '#f5222d', value: 'Rejected' },
};
// ContractBillsAuditStatusEnum
-export const ContractBillsAuditStatusEnum= {
- 'NotApplied': {"text":"未申请","color":"#9ca3af","value":"NotApplied"},
- 'Pending': {"text":"审批中","color":"#f59e0b","value":"Pending"},
- 'Approved': {"text":"已通过","color":"#10b981","value":"Approved"},
- 'Rejected': {"text":"已驳回","color":"#ef4444","value":"Rejected"},
+export const ContractBillsAuditStatusEnum = {
+ NotApplied: { text: '未申请', color: '#9ca3af', value: 'NotApplied' },
+ Pending: { text: '审批中', color: '#f59e0b', value: 'Pending' },
+ Approved: { text: '已通过', color: '#10b981', value: 'Approved' },
+ Rejected: { text: '已驳回', color: '#ef4444', value: 'Rejected' },
};
// ContractBillsCostTypeEnum
-export const ContractBillsCostTypeEnum= {
- 'Income': {"text":"收入","color":"#52c41a","value":"Income"},
- 'Expense': {"text":"支出","color":"#f5222d","value":"Expense"},
+export const ContractBillsCostTypeEnum = {
+ Income: { text: '收入', color: '#52c41a', value: 'Income' },
+ Expense: { text: '支出', color: '#f5222d', value: 'Expense' },
};
// ContractBillsIncomeExpenseTypeEnum
-export const ContractBillsIncomeExpenseTypeEnum= {
- 'Increase': {"text":"增加","color":"#10b981","value":"Increase"},
- 'Decrease': {"text":"减少","color":"#ef4444","value":"Decrease"},
- 'Neutral': {"text":"不变","color":"#9ca3af","value":"Neutral"},
+export const ContractBillsIncomeExpenseTypeEnum = {
+ Increase: { text: '增加', color: '#10b981', value: 'Increase' },
+ Decrease: { text: '减少', color: '#ef4444', value: 'Decrease' },
+ Neutral: { text: '不变', color: '#9ca3af', value: 'Neutral' },
};
// ContractOthersStatusEnum
-export const ContractOthersStatusEnum= {
- 'Pending': {"text":"审批中","color":"#f59e0b","value":"Pending"},
- 'Approved': {"text":"已通过","color":"#10b981","value":"Approved"},
- 'Rejected': {"text":"已驳回","color":"#ef4444","value":"Rejected"},
+export const ContractOthersStatusEnum = {
+ Pending: { text: '审批中', color: '#f59e0b', value: 'Pending' },
+ Approved: { text: '已通过', color: '#10b981', value: 'Approved' },
+ Rejected: { text: '已驳回', color: '#ef4444', value: 'Rejected' },
};
// ContractPeoplesSignPartyEnum
-export const ContractPeoplesSignPartyEnum= {
- 'PartyA': {"text":"甲方","color":"#007bff","value":"PartyA"},
- 'PartyB': {"text":"乙方","color":"#28a745","value":"PartyB"},
- 'PartyC': {"text":"丙方","color":"#ffc107","value":"PartyC"},
- 'PartyD': {"text":"丁方","color":"#dc3545","value":"PartyD"},
+export const ContractPeoplesSignPartyEnum = {
+ PartyA: { text: '甲方', color: '#007bff', value: 'PartyA' },
+ PartyB: { text: '乙方', color: '#28a745', value: 'PartyB' },
+ PartyC: { text: '丙方', color: '#ffc107', value: 'PartyC' },
+ PartyD: { text: '丁方', color: '#dc3545', value: 'PartyD' },
};
// ContractTemplatesIncomeExpenseTypeEnum
-export const ContractTemplatesIncomeExpenseTypeEnum= {
- 'Income': {"text":"收入类","color":"#32cd32","value":"Income"},
- 'Expense': {"text":"支出类","color":"#ff4500","value":"Expense"},
- 'None': {"text":"无收无支","color":"#808080","value":"None"},
+export const ContractTemplatesIncomeExpenseTypeEnum = {
+ Income: { text: '收入类', color: '#32cd32', value: 'Income' },
+ Expense: { text: '支出类', color: '#ff4500', value: 'Expense' },
+ None: { text: '无收无支', color: '#808080', value: 'None' },
};
// ContractTemplatesSourceEnum
-export const ContractTemplatesSourceEnum= {
- 'Internal': {"text":"内部","color":"#1e90ff","value":"Internal"},
- 'External': {"text":"外部","color":"#32cd32","value":"External"},
+export const ContractTemplatesSourceEnum = {
+ Internal: { text: '内部', color: '#1e90ff', value: 'Internal' },
+ External: { text: '外部', color: '#32cd32', value: 'External' },
};
// ContractsContractNatureEnum
-export const ContractsContractNatureEnum= {
- 'RegularContract': {"text":"常规合同","color":"#007bff","value":"RegularContract"},
- 'FrameworkAgreement': {"text":"框架协议","color":"#28a745","value":"FrameworkAgreement"},
- 'Other': {"text":"其它","color":"#28a745","value":"Other"},
+export const ContractsContractNatureEnum = {
+ RegularContract: {
+ text: '常规合同',
+ color: '#007bff',
+ value: 'RegularContract',
+ },
+ FrameworkAgreement: {
+ text: '框架协议',
+ color: '#28a745',
+ value: 'FrameworkAgreement',
+ },
+ Other: { text: '其它', color: '#28a745', value: 'Other' },
};
// ContractsSettlementModeEnum
-export const ContractsSettlementModeEnum= {
- 'LumpSumContract': {"text":"总价合同","color":"#007bff","value":"LumpSumContract"},
- 'OpenContract': {"text":"开口合同","color":"#28a745","value":"OpenContract"},
+export const ContractsSettlementModeEnum = {
+ LumpSumContract: {
+ text: '总价合同',
+ color: '#007bff',
+ value: 'LumpSumContract',
+ },
+ OpenContract: { text: '开口合同', color: '#28a745', value: 'OpenContract' },
};
// ContractsStatusEnum
-export const ContractsStatusEnum= {
- 'TemporaryStorage': {"text":"暂存","color":"#6c757d","value":"TemporaryStorage"},
- 'UnderApproval': {"text":"审核中","color":"#007bff","value":"UnderApproval"},
- 'Approved': {"text":"已通过","color":"#28a745","value":"Approved"},
- 'Rejected': {"text":"已退回","color":"#dc3545","value":"Rejected"},
- 'Signed': {"text":"已签约","color":"#17a2b8","value":"Signed"},
- 'Archived': {"text":"已归档","color":"#20c997","value":"Archived"},
- 'Terminating': {"text":"解除中","color":"#ffc107","value":"Terminating"},
- 'Terminated': {"text":"已解除","color":"#fd7e14","value":"Terminated"},
- 'Closed': {"text":"已终止","color":"#343a40","value":"Closed"},
- 'Voided': {"text":"已撤销","color":"#6610f2","value":"Voided"},
- 'Cancelled': {"text":"已取消","color":"#e83e8c","value":"Cancelled"},
+export const ContractsStatusEnum = {
+ TemporaryStorage: {
+ text: '暂存',
+ color: '#6c757d',
+ value: 'TemporaryStorage',
+ },
+ UnderApproval: { text: '审核中', color: '#007bff', value: 'UnderApproval' },
+ Approved: { text: '已通过', color: '#28a745', value: 'Approved' },
+ Rejected: { text: '已退回', color: '#dc3545', value: 'Rejected' },
+ Signed: { text: '已签约', color: '#17a2b8', value: 'Signed' },
+ Archived: { text: '已归档', color: '#20c997', value: 'Archived' },
+ Terminating: { text: '解除中', color: '#ffc107', value: 'Terminating' },
+ Terminated: { text: '已解除', color: '#fd7e14', value: 'Terminated' },
+ Closed: { text: '已终止', color: '#343a40', value: 'Closed' },
+ Voided: { text: '已撤销', color: '#6610f2', value: 'Voided' },
+ Cancelled: { text: '已取消', color: '#e83e8c', value: 'Cancelled' },
};
// ConvenienceServicesTypeEnum
-export 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"},
+export 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',
+ },
};
-//
-export const CooperationSuggestionEnum= {
- 'Recommend': {"text":"建议合作","color":"#28a745","value":"Recommend"},
- 'Restrict': {"text":"建议限制合作","color":"#ffc107","value":"Restrict"},
- 'Pause': {"text":"建议暂不合作","color":"#fd7e14","value":"Pause"},
- 'Eliminate': {"text":"建议淘汰","color":"#dc3545","value":"Eliminate"},
+//
+export const CooperationSuggestionEnum = {
+ Recommend: { text: '建议合作', color: '#28a745', value: 'Recommend' },
+ Restrict: { text: '建议限制合作', color: '#ffc107', value: 'Restrict' },
+ Pause: { text: '建议暂不合作', color: '#fd7e14', value: 'Pause' },
+ Eliminate: { text: '建议淘汰', color: '#dc3545', value: 'Eliminate' },
};
-//
-export const CreditRatingEnum= {
- 'AAA': {"text":"AAA","color":"#28a745","value":"AAA"},
- 'AA': {"text":"AA","color":"#28a745","value":"AA"},
- 'A': {"text":"A","color":"#28a745","value":"A"},
- 'BBB': {"text":"BBB","color":"#ffc107","value":"BBB"},
- 'BB': {"text":"BB","color":"#ffc107","value":"BB"},
- 'B': {"text":"B","color":"#ffc107","value":"B"},
- 'CCC': {"text":"CCC","color":"#dc3545","value":"CCC"},
+//
+export const CreditRatingEnum = {
+ AAA: { text: 'AAA', color: '#28a745', value: 'AAA' },
+ AA: { text: 'AA', color: '#28a745', value: 'AA' },
+ A: { text: 'A', color: '#28a745', value: 'A' },
+ BBB: { text: 'BBB', color: '#ffc107', value: 'BBB' },
+ BB: { text: 'BB', color: '#ffc107', value: 'BB' },
+ B: { text: 'B', color: '#ffc107', value: 'B' },
+ CCC: { text: 'CCC', color: '#dc3545', value: 'CCC' },
};
// CustomerBacklogsStatusEnum
-export const CustomerBacklogsStatusEnum= {
- 'Pending': {"text":"待办","color":"#faad14","value":"Pending"},
- 'Completed': {"text":"已办","color":"#2A82E4","value":"Completed"},
+export const CustomerBacklogsStatusEnum = {
+ Pending: { text: '待办', color: '#faad14', value: 'Pending' },
+ Completed: { text: '已办', color: '#2A82E4', value: 'Completed' },
};
// CustomerBacklogsTypeEnum
-export const CustomerBacklogsTypeEnum= {
- 'RegisterApply': {"text":"登记申请","color":"#2db7f5","value":"RegisterApply"},
- 'PaymentPending': {"text":"费用待缴","color":"#faad14","value":"PaymentPending"},
- 'ContractTodo': {"text":"合同待办","color":"#722ed1","value":"ContractTodo"},
+export const CustomerBacklogsTypeEnum = {
+ RegisterApply: { text: '登记申请', color: '#2db7f5', value: 'RegisterApply' },
+ PaymentPending: {
+ text: '费用待缴',
+ color: '#faad14',
+ value: 'PaymentPending',
+ },
+ ContractTodo: { text: '合同待办', color: '#722ed1', value: 'ContractTodo' },
};
// CustomerMomentTasksStatusEnum
-export const CustomerMomentTasksStatusEnum= {
- 'NotSent': {"text":"未发","color":"#FF4500","value":"NotSent"},
- 'Sent': {"text":"已发","color":"#32CD32","value":"Sent"},
+export const CustomerMomentTasksStatusEnum = {
+ NotSent: { text: '未发', color: '#FF4500', value: 'NotSent' },
+ Sent: { text: '已发', color: '#32CD32', value: 'Sent' },
};
// CustomerMomentsChannelEnum
-export const CustomerMomentsChannelEnum= {
- 'MomentCorp': {"text":"朋友圈(企业)","color":"#1E90FF","value":"MomentCorp"},
- 'CustomerDirectCorp': {"text":"客户1对1消息群发(企业)","color":"#FFA500","value":"CustomerDirectCorp"},
- 'CustomerGroupCorp': {"text":"客户群群发(企业)","color":"#FF69B4","value":"CustomerGroupCorp"},
+export const CustomerMomentsChannelEnum = {
+ MomentCorp: { text: '朋友圈(企业)', color: '#1E90FF', value: 'MomentCorp' },
+ CustomerDirectCorp: {
+ text: '客户1对1消息群发(企业)',
+ color: '#FFA500',
+ value: 'CustomerDirectCorp',
+ },
+ CustomerGroupCorp: {
+ text: '客户群群发(企业)',
+ color: '#FF69B4',
+ value: 'CustomerGroupCorp',
+ },
};
// CustomerMomentsContentTypeEnum
-export const CustomerMomentsContentTypeEnum= {
- 'Image': {"text":"图片消息","color":"#1E90FF","value":"Image"},
- 'Link': {"text":"转载链接消息","color":"#32CD32","value":"Link"},
- 'MiniProgram': {"text":"跳小程序","color":"#FFA500","value":"MiniProgram"},
- 'Video': {"text":"视频消息","color":"#FF69B4","value":"Video"},
+export const CustomerMomentsContentTypeEnum = {
+ Image: { text: '图片消息', color: '#1E90FF', value: 'Image' },
+ Link: { text: '转载链接消息', color: '#32CD32', value: 'Link' },
+ MiniProgram: { text: '跳小程序', color: '#FFA500', value: 'MiniProgram' },
+ Video: { text: '视频消息', color: '#FF69B4', value: 'Video' },
};
// CustomerMomentsPushStatusEnum
-export const CustomerMomentsPushStatusEnum= {
- 'NotPushed': {"text":"未推送","color":"#FF4500","value":"NotPushed"},
- 'Pushed': {"text":"已推送","color":"#32CD32","value":"Pushed"},
+export const CustomerMomentsPushStatusEnum = {
+ NotPushed: { text: '未推送', color: '#FF4500', value: 'NotPushed' },
+ Pushed: { text: '已推送', color: '#32CD32', value: 'Pushed' },
};
// CustomerMomentsPushTypeEnum
-export const CustomerMomentsPushTypeEnum= {
- 'ManualPush': {"text":"手动推送","color":"#1E90FF","value":"ManualPush"},
- 'ScheduledPush': {"text":"定时推送","color":"#32CD32","value":"ScheduledPush"},
+export const CustomerMomentsPushTypeEnum = {
+ ManualPush: { text: '手动推送', color: '#1E90FF', value: 'ManualPush' },
+ ScheduledPush: { text: '定时推送', color: '#32CD32', value: 'ScheduledPush' },
};
// CustomerMomentsRangeTypeEnum
-export const CustomerMomentsRangeTypeEnum= {
- 'Project': {"text":"按项目推送","color":"#1E90FF","value":"Project"},
+export const CustomerMomentsRangeTypeEnum = {
+ Project: { text: '按项目推送', color: '#1E90FF', value: 'Project' },
};
// CustomerMomentsSkipTypeEnum
-export const CustomerMomentsSkipTypeEnum= {
- 'H5': {"text":"H5","color":"#1E90FF","value":"H5"},
+export const CustomerMomentsSkipTypeEnum = {
+ H5: { text: 'H5', color: '#1E90FF', value: 'H5' },
};
// CustomerMomentsTaskEndTypeEnum
-export const CustomerMomentsTaskEndTypeEnum= {
- 'AfterNDays': {"text":"发送后N天","color":"#1E90FF","value":"AfterNDays"},
- 'ScheduledEnd': {"text":"定时结束","color":"#32CD32","value":"ScheduledEnd"},
+export const CustomerMomentsTaskEndTypeEnum = {
+ AfterNDays: { text: '发送后N天', color: '#1E90FF', value: 'AfterNDays' },
+ ScheduledEnd: { text: '定时结束', color: '#32CD32', value: 'ScheduledEnd' },
};
// CustomerOpinionsTypeEnum
-export const CustomerOpinionsTypeEnum= {
- 'FeatureException': {"text":"功能异常","color":"#ff0000","value":"FeatureException"},
- 'FeatureSuggestion': {"text":"新功能建议","color":"#00bfff","value":"FeatureSuggestion"},
+export const CustomerOpinionsTypeEnum = {
+ FeatureException: {
+ text: '功能异常',
+ color: '#ff0000',
+ value: 'FeatureException',
+ },
+ FeatureSuggestion: {
+ text: '新功能建议',
+ color: '#00bfff',
+ value: 'FeatureSuggestion',
+ },
};
// 突发事件账单收支类型
-export const EmergencyEventBillsCostTypeEnum= {
- 'Income': {"text":"收入","color":"#4caf50","value":"Income"},
- 'Expense': {"text":"支出","color":"#f44336","value":"Expense"},
+export const EmergencyEventBillsCostTypeEnum = {
+ Income: { text: '收入', color: '#4caf50', value: 'Income' },
+ Expense: { text: '支出', color: '#f44336', value: 'Expense' },
};
// 突发事件账单费用类型
-export const EmergencyEventBillsFeeTypeEnum= {
- 'Compensation': {"text":"赔偿","color":"#f44336","value":"Compensation"},
- 'Penalty': {"text":"罚款","color":"#ff9800","value":"Penalty"},
+export const EmergencyEventBillsFeeTypeEnum = {
+ Compensation: { text: '赔偿', color: '#f44336', value: 'Compensation' },
+ Penalty: { text: '罚款', color: '#ff9800', value: 'Penalty' },
};
// 突发事件账单支付方式
-export const EmergencyEventBillsPaymentMethodEnum= {
- 'WeChat': {"text":"微信支付","color":"#07c160","value":"WeChat"},
- 'Alipay': {"text":"支付宝","color":"#1677ff","value":"Alipay"},
- 'BankTransfer': {"text":"银行转账","color":"#2196f3","value":"BankTransfer"},
- 'TongLian': {"text":"通联支付","color":"#ff9800","value":"TongLian"},
- 'Prepayment': {"text":"预付款","color":"#9c27b0","value":"Prepayment"},
- 'POS': {"text":"POS机","color":"#607d8b","value":"POS"},
- 'Cash': {"text":"现金","color":"#4caf50","value":"Cash"},
+export const EmergencyEventBillsPaymentMethodEnum = {
+ WeChat: { text: '微信支付', color: '#07c160', value: 'WeChat' },
+ Alipay: { text: '支付宝', color: '#1677ff', value: 'Alipay' },
+ BankTransfer: { text: '银行转账', color: '#2196f3', value: 'BankTransfer' },
+ TongLian: { text: '通联支付', color: '#ff9800', value: 'TongLian' },
+ Prepayment: { text: '预付款', color: '#9c27b0', value: 'Prepayment' },
+ POS: { text: 'POS机', color: '#607d8b', value: 'POS' },
+ Cash: { text: '现金', color: '#4caf50', value: 'Cash' },
};
// 突发事件账单支付状态
-export const EmergencyEventBillsPaymentStatusEnum= {
- 'Pending': {"text":"待支付","color":"#ff9800","value":"Pending"},
- 'ToBeConfirmed': {"text":"待确认","color":"#2196f3","value":"ToBeConfirmed"},
- 'Paid': {"text":"已支付","color":"#4caf50","value":"Paid"},
- 'Refunded': {"text":"已退款","color":"#9c27b0","value":"Refunded"},
- 'Cancelled': {"text":"已取消","color":"#9e9e9e","value":"Cancelled"},
- 'Failed': {"text":"支付失败","color":"#f44336","value":"Failed"},
+export const EmergencyEventBillsPaymentStatusEnum = {
+ Pending: { text: '待支付', color: '#ff9800', value: 'Pending' },
+ ToBeConfirmed: { text: '待确认', color: '#2196f3', value: 'ToBeConfirmed' },
+ Paid: { text: '已支付', color: '#4caf50', value: 'Paid' },
+ Refunded: { text: '已退款', color: '#9c27b0', value: 'Refunded' },
+ Cancelled: { text: '已取消', color: '#9e9e9e', value: 'Cancelled' },
+ Failed: { text: '支付失败', color: '#f44336', value: 'Failed' },
};
// 突发事件审核状态
-export const EmergencyEventsAuditStatusEnum= {
- 'Pending': {"text":"待审","color":"#ff9800","value":"Pending"},
- 'Approved': {"text":"通过","color":"#4caf50","value":"Approved"},
- 'Rejected': {"text":"驳回","color":"#f44336","value":"Rejected"},
+export const EmergencyEventsAuditStatusEnum = {
+ Pending: { text: '待审', color: '#ff9800', value: 'Pending' },
+ Approved: { text: '通过', color: '#4caf50', value: 'Approved' },
+ Rejected: { text: '驳回', color: '#f44336', value: 'Rejected' },
};
// 突发事件赔偿类型
-export const EmergencyEventsCompensationTypeEnum= {
- 'Ours': {"text":"我方","color":"#2196f3","value":"Ours"},
- 'Others': {"text":"他方","color":"#9c27b0","value":"Others"},
+export const EmergencyEventsCompensationTypeEnum = {
+ Ours: { text: '我方', color: '#2196f3', value: 'Ours' },
+ Others: { text: '他方', color: '#9c27b0', value: 'Others' },
};
// 突发事件状态
-export const EmergencyEventsStatusEnum= {
- 'PendingFollowUp': {"text":"待跟进","color":"#ff9800","value":"PendingFollowUp"},
- 'InProgress': {"text":"跟进中","color":"#2196f3","value":"InProgress"},
- 'PendingReview': {"text":"待审核","color":"#9c27b0","value":"PendingReview"},
- 'Closed': {"text":"已关闭","color":"#9e9e9e","value":"Closed"},
+export const EmergencyEventsStatusEnum = {
+ PendingFollowUp: {
+ text: '待跟进',
+ color: '#ff9800',
+ value: 'PendingFollowUp',
+ },
+ InProgress: { text: '跟进中', color: '#2196f3', value: 'InProgress' },
+ PendingReview: { text: '待审核', color: '#9c27b0', value: 'PendingReview' },
+ Closed: { text: '已关闭', color: '#9e9e9e', value: 'Closed' },
};
// 突发事件行动组成员职位
-export const EmergencyTeamMembersPositionEnum= {
- 'Leader': {"text":"应急组长","color":"#f44336","value":"Leader"},
- 'Member': {"text":"现场处置员","color":"#2196f3","value":"Member"},
- 'Liaison': {"text":"信息联络员","color":"#ffeb3b","value":"Liaison"},
- 'Support': {"text":"后勤保障员","color":"#4caf50","value":"Support"},
- 'Reserve': {"text":"机动预备员","color":"#9c27b0","value":"Reserve"},
+export const EmergencyTeamMembersPositionEnum = {
+ Leader: { text: '应急组长', color: '#f44336', value: 'Leader' },
+ Member: { text: '现场处置员', color: '#2196f3', value: 'Member' },
+ Liaison: { text: '信息联络员', color: '#ffeb3b', value: 'Liaison' },
+ Support: { text: '后勤保障员', color: '#4caf50', value: 'Support' },
+ Reserve: { text: '机动预备员', color: '#9c27b0', value: 'Reserve' },
};
// 物品放行审核状态
-export const GoodsReleasesAuditStatusEnum= {
- 'Pending': {"text":"待审核","color":"#faad14","value":"Pending"},
- 'Approved': {"text":"已通过","color":"#52c41a","value":"Approved"},
- 'Rejected': {"text":"已退回","color":"#ff4d4f","value":"Rejected"},
+export const GoodsReleasesAuditStatusEnum = {
+ Pending: { text: '待审核', color: '#faad14', value: 'Pending' },
+ Approved: { text: '已通过', color: '#52c41a', value: 'Approved' },
+ Rejected: { text: '已退回', color: '#ff4d4f', value: 'Rejected' },
};
// 物品放行通行类型
-export const GoodsReleasesPassedTypeEnum= {
- 'Moving': {"text":"搬家","color":"#1890ff","value":"Moving"},
- 'Delivery': {"text":"出货","color":"#52c41a","value":"Delivery"},
- 'Other': {"text":"其他","color":"#faad14","value":"Other"},
+export const GoodsReleasesPassedTypeEnum = {
+ Moving: { text: '搬家', color: '#1890ff', value: 'Moving' },
+ Delivery: { text: '出货', color: '#52c41a', value: 'Delivery' },
+ Other: { text: '其他', color: '#faad14', value: 'Other' },
};
// 物品放行状态
-export const GoodsReleasesStatusEnum= {
- 'Pending': {"text":"待审核","color":"#faad14","value":"Pending"},
- 'OwnerApproved': {"text":"业主已审","color":"#1890ff","value":"OwnerApproved"},
- 'Approved': {"text":"已通过","color":"#52c41a","value":"Approved"},
- 'Rejected': {"text":"已退回","color":"#ff4d4f","value":"Rejected"},
- 'Released': {"text":"已放行","color":"#722ed1","value":"Released"},
+export const GoodsReleasesStatusEnum = {
+ Pending: { text: '待审核', color: '#faad14', value: 'Pending' },
+ OwnerApproved: { text: '业主已审', color: '#1890ff', value: 'OwnerApproved' },
+ Approved: { text: '已通过', color: '#52c41a', value: 'Approved' },
+ Rejected: { text: '已退回', color: '#ff4d4f', value: 'Rejected' },
+ Released: { text: '已放行', color: '#722ed1', value: 'Released' },
};
// 账单状态枚举
-export const HouseBillsBillStatusEnum= {
- 'PendingPayment': {"text":"待收款","color":"#facc15","value":"PendingPayment"},
- 'ToBeConfirmed': {"text":"待确认","color":"#fb923c","value":"ToBeConfirmed"},
- 'PartiallyPaid': {"text":"部分收款","color":"#60a5fa","value":"PartiallyPaid"},
- 'Paid': {"text":"已收款","color":"#10b981","value":"Paid"},
- 'Overdue': {"text":"已逾期","color":"#ef4444","value":"Overdue"},
- 'UnderApproval': {"text":"审批中","color":"#8b5cf6","value":"UnderApproval"},
- 'Cancelled': {"text":"已取消","color":"#9ca3af","value":"Cancelled"},
+export const HouseBillsBillStatusEnum = {
+ PendingPayment: { text: '待收款', color: '#facc15', value: 'PendingPayment' },
+ ToBeConfirmed: { text: '待确认', color: '#fb923c', value: 'ToBeConfirmed' },
+ PartiallyPaid: { text: '部分收款', color: '#60a5fa', value: 'PartiallyPaid' },
+ Paid: { text: '已收款', color: '#10b981', value: 'Paid' },
+ Overdue: { text: '已逾期', color: '#ef4444', value: 'Overdue' },
+ UnderApproval: { text: '审批中', color: '#8b5cf6', value: 'UnderApproval' },
+ Cancelled: { text: '已取消', color: '#9ca3af', value: 'Cancelled' },
};
// 房屋账单类型枚举
-export 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"},
- 'CarPortFee': {"text":"车位费","color":"#f59e0b","value":"CarPortFee"},
- 'WorkOrderRepairFee': {"text":"工单维修费","color":"#f97316","value":"WorkOrderRepairFee"},
+export 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',
+ },
+ CarPortFee: { text: '车位费', color: '#f59e0b', value: 'CarPortFee' },
+ WorkOrderRepairFee: {
+ text: '工单维修费',
+ color: '#f97316',
+ value: 'WorkOrderRepairFee',
+ },
};
// HouseChargeStandardsApportionmentMethodEnum
-export const HouseChargeStandardsApportionmentMethodEnum= {
- 'HouseCount': {"text":"房屋数分摊","color":"#3b82f6","value":"HouseCount"},
- 'AreaProportion': {"text":"房屋计费面积分摊","color":"#10b981","value":"AreaProportion"},
- 'FixedRatio': {"text":"按固定比例分摊","color":"#f59e0b","value":"FixedRatio"},
+export const HouseChargeStandardsApportionmentMethodEnum = {
+ HouseCount: { text: '房屋数分摊', color: '#3b82f6', value: 'HouseCount' },
+ AreaProportion: {
+ text: '房屋计费面积分摊',
+ color: '#10b981',
+ value: 'AreaProportion',
+ },
+ FixedRatio: { text: '按固定比例分摊', color: '#f59e0b', value: 'FixedRatio' },
};
// HouseChargeStandardsCalculationMethodEnum
-export const HouseChargeStandardsCalculationMethodEnum= {
- 'ChargeableArea': {"text":"计费面积","color":"#3b82f6","value":"ChargeableArea"},
- 'BuiltArea': {"text":"建筑面积","color":"#10b981","value":"BuiltArea"},
- 'InsideArea': {"text":"套内面积","color":"#f59e0b","value":"InsideArea"},
- 'PerUnit': {"text":"按套","color":"#06b6d4","value":"PerUnit"},
- 'ElectricityUsage': {"text":"用电量","color":"#8b5cf6","value":"ElectricityUsage"},
- 'WaterUsage': {"text":"用水量","color":"#ec4899","value":"WaterUsage"},
+export const HouseChargeStandardsCalculationMethodEnum = {
+ ChargeableArea: {
+ text: '计费面积',
+ color: '#3b82f6',
+ value: 'ChargeableArea',
+ },
+ BuiltArea: { text: '建筑面积', color: '#10b981', value: 'BuiltArea' },
+ InsideArea: { text: '套内面积', color: '#f59e0b', value: 'InsideArea' },
+ PerUnit: { text: '按套', color: '#06b6d4', value: 'PerUnit' },
+ ElectricityUsage: {
+ text: '用电量',
+ color: '#8b5cf6',
+ value: 'ElectricityUsage',
+ },
+ WaterUsage: { text: '用水量', color: '#ec4899', value: 'WaterUsage' },
};
// HouseChargeStandardsCalculationModeEnum
-export const HouseChargeStandardsCalculationModeEnum= {
- 'FixedAmount': {"text":"固定金额","color":"#3b82f6","value":"FixedAmount"},
- 'QuantityPrice': {"text":"数量*单价","color":"#10b981","value":"QuantityPrice"},
+export const HouseChargeStandardsCalculationModeEnum = {
+ FixedAmount: { text: '固定金额', color: '#3b82f6', value: 'FixedAmount' },
+ QuantityPrice: {
+ text: '数量*单价',
+ color: '#10b981',
+ value: 'QuantityPrice',
+ },
};
// HouseChargeStandardsCalculationPeriodEnum
-export const HouseChargeStandardsCalculationPeriodEnum= {
- 'PerTime': {"text":"按次","color":"#3b82f6","value":"PerTime"},
- 'PerDay': {"text":"按日","color":"#10b981","value":"PerDay"},
- 'PerMonth': {"text":"按月","color":"#f59e0b","value":"PerMonth"},
- 'PerYear': {"text":"按年","color":"#8b5cf6","value":"PerYear"},
+export const HouseChargeStandardsCalculationPeriodEnum = {
+ PerTime: { text: '按次', color: '#3b82f6', value: 'PerTime' },
+ PerDay: { text: '按日', color: '#10b981', value: 'PerDay' },
+ PerMonth: { text: '按月', color: '#f59e0b', value: 'PerMonth' },
+ PerYear: { text: '按年', color: '#8b5cf6', value: 'PerYear' },
};
// HouseChargeStandardsPriceAlgorithmEnum
-export const HouseChargeStandardsPriceAlgorithmEnum= {
- 'Fixed': {"text":"固定","color":"#4caf50","value":"Fixed"},
- 'Tiered': {"text":"分级价阶梯","color":"#2196f3","value":"Tiered"},
- 'Peak': {"text":"最高价阶梯","color":"#ff9800","value":"Peak"},
+export const HouseChargeStandardsPriceAlgorithmEnum = {
+ Fixed: { text: '固定', color: '#4caf50', value: 'Fixed' },
+ Tiered: { text: '分级价阶梯', color: '#2196f3', value: 'Tiered' },
+ Peak: { text: '最高价阶梯', color: '#ff9800', value: 'Peak' },
};
// HouseChargeStandardsStatusEnum
-export const HouseChargeStandardsStatusEnum= {
- 'Active': {"text":"启用","color":"#3b82f6","value":"Active"},
- 'Inactive': {"text":"禁用","color":"#ef4444","value":"Inactive"},
+export const HouseChargeStandardsStatusEnum = {
+ Active: { text: '启用', color: '#3b82f6', value: 'Active' },
+ Inactive: { text: '禁用', color: '#ef4444', value: 'Inactive' },
};
// HouseChargeStandardsTypeEnum
-export const HouseChargeStandardsTypeEnum= {
- 'House': {"text":"房屋","color":"#3b82f6","value":"House"},
- 'Meter': {"text":"仪表","color":"#10b981","value":"Meter"},
- 'CarPort': {"text":"车位","color":"#f59e0b","value":"CarPort"},
+export const HouseChargeStandardsTypeEnum = {
+ House: { text: '房屋', color: '#3b82f6', value: 'House' },
+ Meter: { text: '仪表', color: '#10b981', value: 'Meter' },
+ CarPort: { text: '车位', color: '#f59e0b', value: 'CarPort' },
};
// HouseChargeTaskDetailsStatusEnum
-export const HouseChargeTaskDetailsStatusEnum= {
- 'Pending': {"text":"待处理","color":"#f59e0b","value":"Pending"},
- 'Success': {"text":"成功","color":"#22c55e","value":"Success"},
- 'Failed': {"text":"失败","color":"#ef4444","value":"Failed"},
+export const HouseChargeTaskDetailsStatusEnum = {
+ Pending: { text: '待处理', color: '#f59e0b', value: 'Pending' },
+ Success: { text: '成功', color: '#22c55e', value: 'Success' },
+ Failed: { text: '失败', color: '#ef4444', value: 'Failed' },
};
// HouseChargeTaskDetailsTargetTypeEnum
-export const HouseChargeTaskDetailsTargetTypeEnum= {
- 'House': {"text":"房屋","color":"#3b82f6","value":"House"},
- 'CarPort': {"text":"车位","color":"#f59e0b","value":"CarPort"},
+export const HouseChargeTaskDetailsTargetTypeEnum = {
+ House: { text: '房屋', color: '#3b82f6', value: 'House' },
+ CarPort: { text: '车位', color: '#f59e0b', value: 'CarPort' },
};
// HouseChargeTasksStatusEnum
-export 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"},
+export 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' },
};
// HouseChargeTasksTypeEnum
-export const HouseChargeTasksTypeEnum= {
- 'Scheduled': {"text":"定时创建","color":"#3b82f6","value":"Scheduled"},
- 'Manual': {"text":"手动创建","color":"#10b981","value":"Manual"},
+export const HouseChargeTasksTypeEnum = {
+ Scheduled: { text: '定时创建', color: '#3b82f6', value: 'Scheduled' },
+ Manual: { text: '手动创建', color: '#10b981', value: 'Manual' },
};
// HouseCollectionRecordsCollectionResultEnum
-export const HouseCollectionRecordsCollectionResultEnum= {
- 'PromiseToPay': {"text":"承诺缴费","color":"#4caf50","value":"PromiseToPay"},
- 'RefuseToPay': {"text":"拒绝缴费","color":"#f44336","value":"RefuseToPay"},
- 'NotReached': {"text":"未联系到","color":"#9e9e9e","value":"NotReached"},
- 'NeedFollowUp': {"text":"需要跟进","color":"#ff9800","value":"NeedFollowUp"},
+export const HouseCollectionRecordsCollectionResultEnum = {
+ PromiseToPay: { text: '承诺缴费', color: '#4caf50', value: 'PromiseToPay' },
+ RefuseToPay: { text: '拒绝缴费', color: '#f44336', value: 'RefuseToPay' },
+ NotReached: { text: '未联系到', color: '#9e9e9e', value: 'NotReached' },
+ NeedFollowUp: { text: '需要跟进', color: '#ff9800', value: 'NeedFollowUp' },
};
// HouseCollectionRecordsSmsStatusEnum
-export const HouseCollectionRecordsStatusEnum= {
- 'NotNotified': {"text":"未通知","color":"#808080","value":"NotNotified"},
- 'Notified': {"text":"已通知","color":"#00cc00","value":"Notified"},
- 'Failed': {"text":"失败","color":"#ff0000","value":"Failed"},
+export const HouseCollectionRecordsStatusEnum = {
+ NotNotified: { text: '未通知', color: '#808080', value: 'NotNotified' },
+ Notified: { text: '已通知', color: '#00cc00', value: 'Notified' },
+ Failed: { text: '失败', color: '#ff0000', value: 'Failed' },
};
// HouseCollectionTasksChannelEnum
-export const HouseCollectionTasksChannelEnum= {
- 'SMS': {"text":"短信","color":"#1E90FF","value":"SMS"},
- 'MiniProgram': {"text":"小程序","color":"#00BFFF","value":"MiniProgram"},
- 'OfficialAccount': {"text":"公众号","color":"#32CD32","value":"OfficialAccount"},
- 'PhoneCall': {"text":"电话催缴","color":"#FF8C00","value":"PhoneCall"},
- 'Visit': {"text":"上门催缴","color":"#8B4513","value":"Visit"},
- 'WeChat': {"text":"微信联系","color":"#20B2AA","value":"WeChat"},
- 'WrittenNotice': {"text":"书面通知","color":"#708090","value":"WrittenNotice"},
+export const HouseCollectionTasksChannelEnum = {
+ SMS: { text: '短信', color: '#1E90FF', value: 'SMS' },
+ MiniProgram: { text: '小程序', color: '#00BFFF', value: 'MiniProgram' },
+ OfficialAccount: {
+ text: '公众号',
+ color: '#32CD32',
+ value: 'OfficialAccount',
+ },
+ PhoneCall: { text: '电话催缴', color: '#FF8C00', value: 'PhoneCall' },
+ Visit: { text: '上门催缴', color: '#8B4513', value: 'Visit' },
+ WeChat: { text: '微信联系', color: '#20B2AA', value: 'WeChat' },
+ WrittenNotice: { text: '书面通知', color: '#708090', value: 'WrittenNotice' },
};
// HouseCollectionTasksStatusEnum
-export const HouseCollectionTasksStatusEnum= {
- 'Processing': {"text":"进行中","color":"#ffcc00","value":"Processing"},
- 'Completed': {"text":"已完成","color":"#00cc00","value":"Completed"},
- 'Failed': {"text":"失败","color":"#ff0000","value":"Failed"},
+export const HouseCollectionTasksStatusEnum = {
+ Processing: { text: '进行中', color: '#ffcc00', value: 'Processing' },
+ Completed: { text: '已完成', color: '#00cc00', value: 'Completed' },
+ Failed: { text: '失败', color: '#ff0000', value: 'Failed' },
};
// HouseMeterReadingsOperationTypeEnum
-export const HouseMeterReadingsOperationTypeEnum= {
- 'NormalReading': {"text":"正常抄表","color":"#4caf50","value":"NormalReading"},
- 'ResetReading': {"text":"重置读数","color":"#f44336","value":"ResetReading"},
- 'CorrectReading': {"text":"修正读数","color":"#ff9800","value":"CorrectReading"},
+export const HouseMeterReadingsOperationTypeEnum = {
+ NormalReading: { text: '正常抄表', color: '#4caf50', value: 'NormalReading' },
+ ResetReading: { text: '重置读数', color: '#f44336', value: 'ResetReading' },
+ CorrectReading: {
+ text: '修正读数',
+ color: '#ff9800',
+ value: 'CorrectReading',
+ },
};
// HouseMeterTasksGenerationMethodEnum
-export const HouseMeterTasksGenerationMethodEnum= {
- 'Building': {"text":"按楼栋","color":"#4caf50","value":"Building"},
- 'Unit': {"text":"按单元","color":"#2196f3","value":"Unit"},
- 'Meter': {"text":"按仪表","color":"#ff9800","value":"Meter"},
+export const HouseMeterTasksGenerationMethodEnum = {
+ Building: { text: '按楼栋', color: '#4caf50', value: 'Building' },
+ Unit: { text: '按单元', color: '#2196f3', value: 'Unit' },
+ Meter: { text: '按仪表', color: '#ff9800', value: 'Meter' },
};
// HouseMetersMeterTypeEnum
-export const HouseMetersMeterTypeEnum= {
- 'HouseMeter': {"text":"房屋表","color":"#4caf50","value":"HouseMeter"},
- 'CommonMeter': {"text":"公摊表","color":"#2196f3","value":"CommonMeter"},
+export const HouseMetersMeterTypeEnum = {
+ HouseMeter: { text: '房屋表', color: '#4caf50', value: 'HouseMeter' },
+ CommonMeter: { text: '公摊表', color: '#2196f3', value: 'CommonMeter' },
};
// HouseMetersUsageTypeEnum
-export const HouseMetersUsageTypeEnum= {
- 'WaterMeter': {"text":"水表","color":"#2196f3","value":"WaterMeter"},
- 'ElectricMeter': {"text":"电表","color":"#ff9800","value":"ElectricMeter"},
- 'GasMeter': {"text":"燃气表","color":"#f44336","value":"GasMeter"},
- 'HeatingMeter': {"text":"暖气表","color":"#9c27b0","value":"HeatingMeter"},
+export const HouseMetersUsageTypeEnum = {
+ WaterMeter: { text: '水表', color: '#2196f3', value: 'WaterMeter' },
+ ElectricMeter: { text: '电表', color: '#ff9800', value: 'ElectricMeter' },
+ GasMeter: { text: '燃气表', color: '#f44336', value: 'GasMeter' },
+ HeatingMeter: { text: '暖气表', color: '#9c27b0', value: 'HeatingMeter' },
};
// HouseOccupantsCardTypeEnum
-export const HouseOccupantsCardTypeEnum= {
- 'MainlandID': {"text":"中国大陆居民身份证","color":"#2db7f5","value":"MainlandID"},
- 'HKPermit': {"text":"香港来往大陆通行证(回乡证)","color":"#fa8c16","value":"HKPermit"},
- 'MOPermit': {"text":"澳门来往大陆通行证(回乡证)","color":"#faad14","value":"MOPermit"},
- 'TWPermit': {"text":"台湾来往大陆通行证(台胞证)","color":"#87d068","value":"TWPermit"},
- 'Passport': {"text":"护照","color":"#108ee9","value":"Passport"},
- 'BusinessLicense': {"text":"营业执照","color":"#f5222d","value":"BusinessLicense"},
+export const HouseOccupantsCardTypeEnum = {
+ MainlandID: {
+ text: '中国大陆居民身份证',
+ color: '#2db7f5',
+ value: 'MainlandID',
+ },
+ HKPermit: {
+ text: '香港来往大陆通行证(回乡证)',
+ color: '#fa8c16',
+ value: 'HKPermit',
+ },
+ MOPermit: {
+ text: '澳门来往大陆通行证(回乡证)',
+ color: '#faad14',
+ value: 'MOPermit',
+ },
+ TWPermit: {
+ text: '台湾来往大陆通行证(台胞证)',
+ color: '#87d068',
+ value: 'TWPermit',
+ },
+ Passport: { text: '护照', color: '#108ee9', value: 'Passport' },
+ BusinessLicense: {
+ text: '营业执照',
+ color: '#f5222d',
+ value: 'BusinessLicense',
+ },
};
// HouseOccupantsHouseRelationEnum
-export const HouseOccupantsHouseRelationEnum= {
- 'Owner': {"text":"产权人","color":"#2db7f5","value":"Owner"},
- 'NonOwner': {"text":"非产权人","color":"#fa8c16","value":"NonOwner"},
+export const HouseOccupantsHouseRelationEnum = {
+ Owner: { text: '产权人', color: '#2db7f5', value: 'Owner' },
+ NonOwner: { text: '非产权人', color: '#fa8c16', value: 'NonOwner' },
};
// HouseOccupantsRelationWithOwnerEnum
-export 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"},
+export 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' },
};
// HouseOccupantsResidentialRelationEnum
-export const HouseOccupantsResidentialRelationEnum= {
- 'PropertyOwner': {"text":"产权人","color":"#722ed1","value":"PropertyOwner"},
- 'Resident': {"text":"住户","color":"#2db7f5","value":"Resident"},
- 'PrimaryTenant': {"text":"主租人","color":"#87d068","value":"PrimaryTenant"},
- 'Tenant': {"text":"租客","color":"#fa8c16","value":"Tenant"},
+export const HouseOccupantsResidentialRelationEnum = {
+ PropertyOwner: { text: '产权人', color: '#722ed1', value: 'PropertyOwner' },
+ Resident: { text: '住户', color: '#2db7f5', value: 'Resident' },
+ PrimaryTenant: { text: '主租人', color: '#87d068', value: 'PrimaryTenant' },
+ Tenant: { text: '租客', color: '#fa8c16', value: 'Tenant' },
};
// HouseOccupantsStatusEnum
-export const HouseOccupantsStatusEnum= {
- 'Normal': {"text":"绑定","color":"#52c41a","value":"Normal"},
- 'Unbound': {"text":"解绑","color":"#f5222d","value":"Unbound"},
+export const HouseOccupantsStatusEnum = {
+ Normal: { text: '绑定', color: '#52c41a', value: 'Normal' },
+ Unbound: { text: '解绑', color: '#f5222d', value: 'Unbound' },
};
// HouseOrderRefundsRefundStatusEnum
-export const HouseOrderRefundsRefundStatusEnum= {
- 'Requested': {"text":"已申请","color":"#2196f3","value":"Requested"},
- 'Reviewing': {"text":"审核中","color":"#ff9800","value":"Reviewing"},
- 'Rejected': {"text":"已拒绝","color":"#f44336","value":"Rejected"},
- 'Processing': {"text":"退款中","color":"#9c27b0","value":"Processing"},
- 'Refunded': {"text":"已退款","color":"#4caf50","value":"Refunded"},
- 'Failed': {"text":"退款失败","color":"#e91e63","value":"Failed"},
+export const HouseOrderRefundsRefundStatusEnum = {
+ Requested: { text: '已申请', color: '#2196f3', value: 'Requested' },
+ Reviewing: { text: '审核中', color: '#ff9800', value: 'Reviewing' },
+ Rejected: { text: '已拒绝', color: '#f44336', value: 'Rejected' },
+ Processing: { text: '退款中', color: '#9c27b0', value: 'Processing' },
+ Refunded: { text: '已退款', color: '#4caf50', value: 'Refunded' },
+ Failed: { text: '退款失败', color: '#e91e63', value: 'Failed' },
};
// 订单审核状态枚举
-export const HouseOrdersAuditStatusEnum= {
- 'Pending': {"text":"待审核","color":"#f59e0b","value":"Pending"},
- 'Approved': {"text":"已通过","color":"#10b981","value":"Approved"},
- 'Rejected': {"text":"已驳回","color":"#ef4444","value":"Rejected"},
+export const HouseOrdersAuditStatusEnum = {
+ Pending: { text: '待审核', color: '#f59e0b', value: 'Pending' },
+ Approved: { text: '已通过', color: '#10b981', value: 'Approved' },
+ Rejected: { text: '已驳回', color: '#ef4444', value: 'Rejected' },
};
// 订单状态枚举
-export const HouseOrdersOrderStatusEnum= {
- 'Pending': {"text":"待支付","color":"#facc15","value":"Pending"},
- 'ToBeConfirmed': {"text":"待确认","color":"#fb923c","value":"ToBeConfirmed"},
- 'Paid': {"text":"已支付","color":"#10b981","value":"Paid"},
- 'Refunded': {"text":"已退款","color":"#60a5fa","value":"Refunded"},
- 'Cancelled': {"text":"已取消","color":"#9ca3af","value":"Cancelled"},
- 'Failed': {"text":"支付失败","color":"#ef4444","value":"Failed"},
+export const HouseOrdersOrderStatusEnum = {
+ Pending: { text: '待支付', color: '#facc15', value: 'Pending' },
+ ToBeConfirmed: { text: '待确认', color: '#fb923c', value: 'ToBeConfirmed' },
+ Paid: { text: '已支付', color: '#10b981', value: 'Paid' },
+ Refunded: { text: '已退款', color: '#60a5fa', value: 'Refunded' },
+ Cancelled: { text: '已取消', color: '#9ca3af', value: 'Cancelled' },
+ Failed: { text: '支付失败', color: '#ef4444', value: 'Failed' },
};
// HouseOrdersPaymentMethodEnum
-export const HouseOrdersPaymentMethodEnum= {
- 'WeChat': {"text":"微信","color":"#07c160","value":"WeChat"},
- 'Alipay': {"text":"支付宝","color":"#1677ff","value":"Alipay"},
- 'BankTransfer': {"text":"银行转账","color":"#6c757d","value":"BankTransfer"},
- 'TongLian': {"text":"通联支付","color":"#ff9f0a","value":"TongLian"},
- 'Prepayment': {"text":"预缴支付","color":"#f59e0b","value":"Prepayment"},
- 'POS': {"text":"POS机","color":"#8b5cf6","value":"POS"},
- 'Cash': {"text":"现金","color":"#dc2626","value":"Cash"},
- 'CCB': {"text":"建行惠市宝","color":"#003da5","value":"CCB"},
+export const HouseOrdersPaymentMethodEnum = {
+ WeChat: { text: '微信', color: '#07c160', value: 'WeChat' },
+ Alipay: { text: '支付宝', color: '#1677ff', value: 'Alipay' },
+ BankTransfer: { text: '银行转账', color: '#6c757d', value: 'BankTransfer' },
+ TongLian: { text: '通联支付', color: '#ff9f0a', value: 'TongLian' },
+ Prepayment: { text: '预缴支付', color: '#f59e0b', value: 'Prepayment' },
+ POS: { text: 'POS机', color: '#8b5cf6', value: 'POS' },
+ Cash: { text: '现金', color: '#dc2626', value: 'Cash' },
+ CCB: { text: '建行惠市宝', color: '#003da5', value: 'CCB' },
};
// HousePrepaymentLogsTypeEnum
-export const HousePrepaymentLogsTypeEnum= {
- 'Add': {"text":"加","color":"#52c41a","value":"Add"},
- 'Subtract': {"text":"减","color":"#f5222d","value":"Subtract"},
+export const HousePrepaymentLogsTypeEnum = {
+ Add: { text: '加', color: '#52c41a', value: 'Add' },
+ Subtract: { text: '减', color: '#f5222d', value: 'Subtract' },
};
// HouseRegistersCustomerTypeEnum
-export const HouseRegistersCustomerTypeEnum= {
- 'Individual': {"text":"个人客户","color":"#2db7f5","value":"Individual"},
- 'Enterprise': {"text":"普通企业","color":"#87d068","value":"Enterprise"},
- 'Developer': {"text":"开发企业","color":"#fa8c16","value":"Developer"},
- 'Government': {"text":"政府组织","color":"#f5222d","value":"Government"},
+export const HouseRegistersCustomerTypeEnum = {
+ Individual: { text: '个人客户', color: '#2db7f5', value: 'Individual' },
+ Enterprise: { text: '普通企业', color: '#87d068', value: 'Enterprise' },
+ Developer: { text: '开发企业', color: '#fa8c16', value: 'Developer' },
+ Government: { text: '政府组织', color: '#f5222d', value: 'Government' },
};
// HouseRegistersHouseStatusEnum
-export const HouseRegistersHouseStatusEnum= {
- 'SelfOccupied': {"text":"自住","color":"#28a745","value":"SelfOccupied"},
- 'Rented': {"text":"出租","color":"#007bff","value":"Rented"},
- 'Vacant': {"text":"空置","color":"#dc3545","value":"Vacant"},
+export const HouseRegistersHouseStatusEnum = {
+ SelfOccupied: { text: '自住', color: '#28a745', value: 'SelfOccupied' },
+ Rented: { text: '出租', color: '#007bff', value: 'Rented' },
+ Vacant: { text: '空置', color: '#dc3545', value: 'Vacant' },
};
// 房屋登记身份类型
-export const HouseRegistersIdentityTypeEnum= {
- 'Owner': {"text":"产权人","color":"#2db7f5","value":"Owner"},
- 'Tenant': {"text":"租客","color":"#87d068","value":"Tenant"},
- 'CoResident': {"text":"同住人(亲属)","color":"#108ee9","value":"CoResident"},
+export const HouseRegistersIdentityTypeEnum = {
+ Owner: { text: '产权人', color: '#2db7f5', value: 'Owner' },
+ Tenant: { text: '租客', color: '#87d068', value: 'Tenant' },
+ CoResident: { text: '同住人(亲属)', color: '#108ee9', value: 'CoResident' },
};
// HouseRegistersStatusEnum
-export const HouseRegistersStatusEnum= {
- 'Pending': {"text":"待审","color":"#faad14","value":"Pending"},
- 'Approved': {"text":"通过","color":"#52c41a","value":"Approved"},
- 'Rejected': {"text":"驳回","color":"#f5222d","value":"Rejected"},
+export const HouseRegistersStatusEnum = {
+ Pending: { text: '待审', color: '#faad14', value: 'Pending' },
+ Approved: { text: '通过', color: '#52c41a', value: 'Approved' },
+ Rejected: { text: '驳回', color: '#f5222d', value: 'Rejected' },
};
// HouseRegistersTypeEnum
-export 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"},
- 'GoodsRelease': {"text":"物品放行","color":"#a0d911","value":"GoodsRelease"},
- 'VisitorApplies': {"text":"来访申请","color":"#a0d911","value":"VisitorApplies"},
- 'Transfer': {"text":"过户","color":"#1890ff","value":"Transfer"},
+export 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' },
+ GoodsRelease: { text: '物品放行', color: '#a0d911', value: 'GoodsRelease' },
+ VisitorApplies: {
+ text: '来访申请',
+ color: '#a0d911',
+ value: 'VisitorApplies',
+ },
+ Transfer: { text: '过户', color: '#1890ff', value: 'Transfer' },
};
// HouseRegistersUsagePlanEnum
-export const HouseRegistersUsagePlanEnum= {
- 'Permanent': {"text":"常住","color":"#52c41a","value":"Permanent"},
- 'Vacation': {"text":"度假","color":"#faad14","value":"Vacation"},
- 'Rental': {"text":"出租","color":"#2db7f5","value":"Rental"},
- 'Commercial': {"text":"商用","color":"#f5222d","value":"Commercial"},
+export const HouseRegistersUsagePlanEnum = {
+ Permanent: { text: '常住', color: '#52c41a', value: 'Permanent' },
+ Vacation: { text: '度假', color: '#faad14', value: 'Vacation' },
+ Rental: { text: '出租', color: '#2db7f5', value: 'Rental' },
+ Commercial: { text: '商用', color: '#f5222d', value: 'Commercial' },
};
// HouseWorkOrdersAcceptResultEnum
-export const HouseWorkOrdersAcceptResultEnum= {
- 'Satisfied': {"text":"满意","color":"#28A745","value":"Satisfied"},
- 'Unsatisfied': {"text":"不满意","color":"#DC3545","value":"Unsatisfied"},
+export const HouseWorkOrdersAcceptResultEnum = {
+ Satisfied: { text: '满意', color: '#28A745', value: 'Satisfied' },
+ Unsatisfied: { text: '不满意', color: '#DC3545', value: 'Unsatisfied' },
};
// HouseWorkOrdersAssignStatusEnum
-export const HouseWorkOrdersAssignStatusEnum= {
- 'Unassigned': {"text":"未指派","color":"#ff0000","value":"Unassigned"},
- 'Assigned': {"text":"已指派","color":"#00ff00","value":"Assigned"},
+export const HouseWorkOrdersAssignStatusEnum = {
+ Unassigned: { text: '未指派', color: '#ff0000', value: 'Unassigned' },
+ Assigned: { text: '已指派', color: '#00ff00', value: 'Assigned' },
};
// HouseWorkOrdersComplaintTypeEnum
-export 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"},
+export 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' },
};
// HouseWorkOrdersLevelEnum
-export const HouseWorkOrdersLevelEnum= {
- 'Urgent': {"text":"紧急","color":"#ff0000","value":"Urgent"},
- 'High': {"text":"高","color":"#ff7f00","value":"High"},
- 'Medium': {"text":"中","color":"#00cc00","value":"Medium"},
- 'Low': {"text":"低","color":"#999999","value":"Low"},
+export const HouseWorkOrdersLevelEnum = {
+ Urgent: { text: '紧急', color: '#ff0000', value: 'Urgent' },
+ High: { text: '高', color: '#ff7f00', value: 'High' },
+ Medium: { text: '中', color: '#00cc00', value: 'Medium' },
+ Low: { text: '低', color: '#999999', value: 'Low' },
};
// HouseWorkOrdersLocationEnum
-export const HouseWorkOrdersLocationEnum= {
- 'CommonArea': {"text":"公共区域","color":"#ff0000","value":"CommonArea"},
- 'MyHome': {"text":"房屋","color":"#00ff00","value":"MyHome"},
+export const HouseWorkOrdersLocationEnum = {
+ CommonArea: { text: '公共区域', color: '#ff0000', value: 'CommonArea' },
+ MyHome: { text: '房屋', color: '#00ff00', value: 'MyHome' },
};
// HouseWorkOrdersRefundStatusEnum
-export const HouseWorkOrdersRefundStatusEnum= {
- 'Refunding': {"text":"退款中","color":"#FFA500","value":"Refunding"},
- 'Refunded': {"text":"已退款","color":"#28A745","value":"Refunded"},
- 'PartialRefund': {"text":"部分退款","color":"#17A2B8","value":"PartialRefund"},
+export const HouseWorkOrdersRefundStatusEnum = {
+ Refunding: { text: '退款中', color: '#FFA500', value: 'Refunding' },
+ Refunded: { text: '已退款', color: '#28A745', value: 'Refunded' },
+ PartialRefund: { text: '部分退款', color: '#17A2B8', value: 'PartialRefund' },
};
// HouseWorkOrdersStatusEnum
-export 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"},
+export 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' },
};
// HouseWorkOrdersTypeEnum
-export const HouseWorkOrdersTypeEnum= {
- 'Repair': {"text":"报修","color":"#ff0000","value":"Repair"},
- 'Incident': {"text":"报事","color":"#00aaff","value":"Incident"},
- 'Complaint': {"text":"投诉","color":"#aa00ff","value":"Complaint"},
- 'QualityCheck': {"text":"品质检查","color":"#16a085","value":"QualityCheck"},
- 'RenovationInspection': {"text":"装修巡检","color":"#8e44ad","value":"RenovationInspection"},
- 'RenovationAcceptance': {"text":"装修验收","color":"#2980b9","value":"RenovationAcceptance"},
- 'SecurityInspection': {"text":"安全巡检","color":"#e67e22","value":"SecurityInspection"},
+export const HouseWorkOrdersTypeEnum = {
+ Repair: { text: '报修', color: '#ff0000', value: 'Repair' },
+ Incident: { text: '报事', color: '#00aaff', value: 'Incident' },
+ Complaint: { text: '投诉', color: '#aa00ff', value: 'Complaint' },
+ QualityCheck: { text: '品质检查', color: '#16a085', value: 'QualityCheck' },
+ RenovationInspection: {
+ text: '装修巡检',
+ color: '#8e44ad',
+ value: 'RenovationInspection',
+ },
+ RenovationAcceptance: {
+ text: '装修验收',
+ color: '#2980b9',
+ value: 'RenovationAcceptance',
+ },
+ SecurityInspection: {
+ text: '安全巡检',
+ color: '#e67e22',
+ value: 'SecurityInspection',
+ },
};
-//
-export const InfoVerificationEnum= {
- 'Authentic': {"text":"真实完整","color":"#28a745","value":"Authentic"},
- 'Discrepancy': {"text":"存在差异","color":"#ffc107","value":"Discrepancy"},
- 'Fake': {"text":"信息造假","color":"#dc3545","value":"Fake"},
+//
+export const InfoVerificationEnum = {
+ Authentic: { text: '真实完整', color: '#28a745', value: 'Authentic' },
+ Discrepancy: { text: '存在差异', color: '#ffc107', value: 'Discrepancy' },
+ Fake: { text: '信息造假', color: '#dc3545', value: 'Fake' },
};
// 公告阅读者类型
-export const MsgPropertyAnnouncementReadsReaderTypeEnum= {
- 'Customer': {"text":"客户","color":"#3b82f6","value":"Customer"},
- 'Employee': {"text":"员工","color":"#10b981","value":"Employee"},
+export const MsgPropertyAnnouncementReadsReaderTypeEnum = {
+ Customer: { text: '客户', color: '#3b82f6', value: 'Customer' },
+ Employee: { text: '员工', color: '#10b981', value: 'Employee' },
};
// 公告接收对象
-export const MsgPropertyAnnouncementsObjectEnum= {
- 'Customer': {"text":"客户","color":"#3b82f6","value":"Customer"},
- 'Employee': {"text":"员工","color":"#10b981","value":"Employee"},
+export const MsgPropertyAnnouncementsObjectEnum = {
+ Customer: { text: '客户', color: '#3b82f6', value: 'Customer' },
+ Employee: { text: '员工', color: '#10b981', value: 'Employee' },
};
// MsgPropertyAnnouncementsPublishTypeEnum
-export const MsgPropertyAnnouncementsPublishTypeEnum= {
- 'Manual': {"text":"手动","color":"#4caf50","value":"Manual"},
- 'Schedule': {"text":"定时","color":"#2196f3","value":"Schedule"},
+export const MsgPropertyAnnouncementsPublishTypeEnum = {
+ Manual: { text: '手动', color: '#4caf50', value: 'Manual' },
+ Schedule: { text: '定时', color: '#2196f3', value: 'Schedule' },
};
// OrganizationsTypeEnum
-export const OrganizationsTypeEnum= {
- 'Group': {"text":"集团","color":"#007bff","value":"Group"},
- 'Company': {"text":"公司","color":"#28a745","value":"Company"},
- 'ManagementOffice': {"text":"管理处","color":"#ffc107","value":"ManagementOffice"},
- 'Department': {"text":"部门","color":"#dc3545","value":"Department"},
+export const OrganizationsTypeEnum = {
+ Group: { text: '集团', color: '#007bff', value: 'Group' },
+ Company: { text: '公司', color: '#28a745', value: 'Company' },
+ ManagementOffice: {
+ text: '管理处',
+ color: '#ffc107',
+ value: 'ManagementOffice',
+ },
+ Department: { text: '部门', color: '#dc3545', value: 'Department' },
};
// 巡逻路线生成方式
-export const PatrolRoutesGenerationMethodEnum= {
- 'Daily': {"text":"按天","color":"#007bff","value":"Daily"},
- 'Weekly': {"text":"按周","color":"#28a745","value":"Weekly"},
- 'Monthly': {"text":"按月","color":"#ffc107","value":"Monthly"},
+export const PatrolRoutesGenerationMethodEnum = {
+ Daily: { text: '按天', color: '#007bff', value: 'Daily' },
+ Weekly: { text: '按周', color: '#28a745', value: 'Weekly' },
+ Monthly: { text: '按月', color: '#ffc107', value: 'Monthly' },
};
// 巡逻任务地点状态
-export const PatrolTaskLocationsStatusEnum= {
- 'Incomplete': {"text":"未完成","color":"#ff9800","value":"Incomplete"},
- 'Completed': {"text":"已完成","color":"#4caf50","value":"Completed"},
+export const PatrolTaskLocationsStatusEnum = {
+ Incomplete: { text: '未完成', color: '#ff9800', value: 'Incomplete' },
+ Completed: { text: '已完成', color: '#4caf50', value: 'Completed' },
};
// 巡逻任务创建方式
-export const PatrolTasksCreateTypeEnum= {
- 'Auto': {"text":"定时生成","color":"#2196f3","value":"Auto"},
- 'Manual': {"text":"手动创建","color":"#4caf50","value":"Manual"},
+export const PatrolTasksCreateTypeEnum = {
+ Auto: { text: '定时生成', color: '#2196f3', value: 'Auto' },
+ Manual: { text: '手动创建', color: '#4caf50', value: 'Manual' },
};
// 巡逻任务状态
-export const PatrolTasksStatusEnum= {
- 'Unassigned': {"text":"未分配","color":"#9e9e9e","value":"Unassigned"},
- 'Pending': {"text":"待执行","color":"#ff9800","value":"Pending"},
- 'InProgress': {"text":"进行中","color":"#2196f3","value":"InProgress"},
- 'Completed': {"text":"已完成","color":"#4caf50","value":"Completed"},
- 'Canceled': {"text":"已取消","color":"#f44336","value":"Canceled"},
- 'Overdue': {"text":"已超期","color":"#e91e63","value":"Overdue"},
+export const PatrolTasksStatusEnum = {
+ Unassigned: { text: '未分配', color: '#9e9e9e', value: 'Unassigned' },
+ Pending: { text: '待执行', color: '#ff9800', value: 'Pending' },
+ InProgress: { text: '进行中', color: '#2196f3', value: 'InProgress' },
+ Completed: { text: '已完成', color: '#4caf50', value: 'Completed' },
+ Canceled: { text: '已取消', color: '#f44336', value: 'Canceled' },
+ Overdue: { text: '已超期', color: '#e91e63', value: 'Overdue' },
};
// PayTypeEnum
-export const PayTypeEnum= {
- 'WeChat': {"text":"微信","color":"#07c160","value":"WeChat"},
- 'Alipay': {"text":"支付宝","color":"#1677ff","value":"Alipay"},
+export const PayTypeEnum = {
+ WeChat: { text: '微信', color: '#07c160', value: 'WeChat' },
+ Alipay: { text: '支付宝', color: '#1677ff', value: 'Alipay' },
};
-//
-export const QualificationEvaluationEnum= {
- 'Compliant': {"text":"合规","color":"#28a745","value":"Compliant"},
- 'BasicCompliant': {"text":"基本合规","color":"#ffc107","value":"BasicCompliant"},
- 'NonCompliant': {"text":"不合规","color":"#dc3545","value":"NonCompliant"},
+//
+export const QualificationEvaluationEnum = {
+ Compliant: { text: '合规', color: '#28a745', value: 'Compliant' },
+ BasicCompliant: {
+ text: '基本合规',
+ color: '#ffc107',
+ value: 'BasicCompliant',
+ },
+ NonCompliant: { text: '不合规', color: '#dc3545', value: 'NonCompliant' },
};
// 题目类型枚举
-export const QuestionsTypeEnum= {
- 'Score': {"text":"评分题","color":"#4caf50","value":"Score"},
- 'Fill': {"text":"填空题","color":"#2196f3","value":"Fill"},
+export const QuestionsTypeEnum = {
+ Score: { text: '评分题', color: '#4caf50', value: 'Score' },
+ Fill: { text: '填空题', color: '#2196f3', value: 'Fill' },
};
-//
-export const RatingOutlookEnum= {
- 'Stable': {"text":"稳定","color":"#28a745","value":"Stable"},
- 'Positive': {"text":"正面","color":"#17a2b8","value":"Positive"},
- 'Negative': {"text":"负面","color":"#dc3545","value":"Negative"},
- 'Observation': {"text":"观察","color":"#ffc107","value":"Observation"},
+//
+export const RatingOutlookEnum = {
+ Stable: { text: '稳定', color: '#28a745', value: 'Stable' },
+ Positive: { text: '正面', color: '#17a2b8', value: 'Positive' },
+ Negative: { text: '负面', color: '#dc3545', value: 'Negative' },
+ Observation: { text: '观察', color: '#ffc107', value: 'Observation' },
};
// 退款状态枚举
-export const RefundsStatusEnum= {
- 'Pending': {"text":"待审批","color":"#ff9800","value":"Pending"},
- 'Reviewing': {"text":"审核中","color":"#2196f3","value":"Reviewing"},
- 'Approved': {"text":"已审批","color":"#9c27b0","value":"Approved"},
- 'Processing': {"text":"退款中","color":"#00bcd4","value":"Processing"},
- 'Completed': {"text":"已退款","color":"#4caf50","value":"Completed"},
- 'PartialRefund': {"text":"部分退款","color":"#8bc34a","value":"PartialRefund"},
- 'Rejected': {"text":"已拒绝","color":"#f44336","value":"Rejected"},
- 'Failed': {"text":"退款失败","color":"#e91e63","value":"Failed"},
- 'Cancelled': {"text":"已取消","color":"#9e9e9e","value":"Cancelled"},
+export const RefundsStatusEnum = {
+ Pending: { text: '待审批', color: '#ff9800', value: 'Pending' },
+ Reviewing: { text: '审核中', color: '#2196f3', value: 'Reviewing' },
+ Approved: { text: '已审批', color: '#9c27b0', value: 'Approved' },
+ Processing: { text: '退款中', color: '#00bcd4', value: 'Processing' },
+ Completed: { text: '已退款', color: '#4caf50', value: 'Completed' },
+ PartialRefund: { text: '部分退款', color: '#8bc34a', value: 'PartialRefund' },
+ Rejected: { text: '已拒绝', color: '#f44336', value: 'Rejected' },
+ Failed: { text: '退款失败', color: '#e91e63', value: 'Failed' },
+ Cancelled: { text: '已取消', color: '#9e9e9e', value: 'Cancelled' },
};
// 退款类型枚举
-export const RefundsTypeEnum= {
- 'HouseBill': {"text":"物业费退款","color":"#2196f3","value":"HouseBill"},
- 'Bill': {"text":"账单退款","color":"#4caf50","value":"Bill"},
- 'ContractBill': {"text":"合同退款","color":"#ff9800","value":"ContractBill"},
- 'RenovationApply': {"text":"退保证金","color":"#86aac3ff","value":"RenovationApply"},
- 'HouseDoorCard': {"text":"门禁退款","color":"#9c27b0","value":"HouseDoorCard"},
- 'HouseWorkOrder': {"text":"工单退款","color":"#00bcd4","value":"HouseWorkOrder"},
- 'Other': {"text":"其他退款","color":"#607d8b","value":"Other"},
+export const RefundsTypeEnum = {
+ HouseBill: { text: '物业费退款', color: '#2196f3', value: 'HouseBill' },
+ Bill: { text: '账单退款', color: '#4caf50', value: 'Bill' },
+ ContractBill: { text: '合同退款', color: '#ff9800', value: 'ContractBill' },
+ RenovationApply: {
+ text: '退保证金',
+ color: '#86aac3ff',
+ value: 'RenovationApply',
+ },
+ HouseDoorCard: { text: '门禁退款', color: '#9c27b0', value: 'HouseDoorCard' },
+ HouseWorkOrder: {
+ text: '工单退款',
+ color: '#00bcd4',
+ value: 'HouseWorkOrder',
+ },
+ Other: { text: '其他退款', color: '#607d8b', value: 'Other' },
};
// 装修验收状态
-export const RenovationAppliesAcceptanceStatusEnum= {
- 'PendingAcceptance': {"text":"待验收","color":"#f1c40f","value":"PendingAcceptance"},
- 'Accepted': {"text":"验收合格","color":"#2ecc71","value":"Accepted"},
- 'Rejected': {"text":"验收不合格","color":"#e74c3c","value":"Rejected"},
- 'Cancelled': {"text":"已取消","color":"#95a5a6","value":"Cancelled"},
+export const RenovationAppliesAcceptanceStatusEnum = {
+ PendingAcceptance: {
+ text: '待验收',
+ color: '#f1c40f',
+ value: 'PendingAcceptance',
+ },
+ Accepted: { text: '验收合格', color: '#2ecc71', value: 'Accepted' },
+ Rejected: { text: '验收不合格', color: '#e74c3c', value: 'Rejected' },
+ Cancelled: { text: '已取消', color: '#95a5a6', value: 'Cancelled' },
};
// 装修施工状态
-export const RenovationAppliesConstructionStatusEnum= {
- 'PendingConstruction': {"text":"待施工","color":"#f1c40f","value":"PendingConstruction"},
- 'NormalConstruction': {"text":"正常施工","color":"#2ecc71","value":"NormalConstruction"},
- 'StoppedConstruction': {"text":"已停工","color":"#e74c3c","value":"StoppedConstruction"},
- 'CompletedConstruction': {"text":"已竣工","color":"#3498db","value":"CompletedConstruction"},
+export const RenovationAppliesConstructionStatusEnum = {
+ PendingConstruction: {
+ text: '待施工',
+ color: '#f1c40f',
+ value: 'PendingConstruction',
+ },
+ NormalConstruction: {
+ text: '正常施工',
+ color: '#2ecc71',
+ value: 'NormalConstruction',
+ },
+ StoppedConstruction: {
+ text: '已停工',
+ color: '#e74c3c',
+ value: 'StoppedConstruction',
+ },
+ CompletedConstruction: {
+ text: '已竣工',
+ color: '#3498db',
+ value: 'CompletedConstruction',
+ },
};
// 装修办理类型
-export const RenovationAppliesProcessTypeEnum= {
- 'OwnerProcess': {"text":"业主办理","color":"#3498db","value":"OwnerProcess"},
- 'AgentProcess': {"text":"代理人办理","color":"#9b59b6","value":"AgentProcess"},
+export const RenovationAppliesProcessTypeEnum = {
+ OwnerProcess: { text: '业主办理', color: '#3498db', value: 'OwnerProcess' },
+ AgentProcess: { text: '代理人办理', color: '#9b59b6', value: 'AgentProcess' },
};
// 装修内容
-export const RenovationAppliesRenovationContentEnum= {
- 'PartialRenovation': {"text":"局部装修","color":"#f39c12","value":"PartialRenovation"},
- 'FullHouseRenovation': {"text":"全屋装修","color":"#2ecc71","value":"FullHouseRenovation"},
- 'PartialRefurbishment': {"text":"部分翻新","color":"#3498db","value":"PartialRefurbishment"},
+export const RenovationAppliesRenovationContentEnum = {
+ PartialRenovation: {
+ text: '局部装修',
+ color: '#f39c12',
+ value: 'PartialRenovation',
+ },
+ FullHouseRenovation: {
+ text: '全屋装修',
+ color: '#2ecc71',
+ value: 'FullHouseRenovation',
+ },
+ PartialRefurbishment: {
+ text: '部分翻新',
+ color: '#3498db',
+ value: 'PartialRefurbishment',
+ },
};
// 装修申请状态
-export const RenovationAppliesStatusEnum= {
- 'Draft': {"text":"暂存","color":"#f39c12","value":"Draft"},
- 'Pending': {"text":"审核中","color":"#faad14","value":"Pending"},
- 'Approved': {"text":"已完成","color":"#52c41a","value":"Approved"},
- 'Rejected': {"text":"驳回","color":"#f5222d","value":"Rejected"},
- 'Cancelled': {"text":"作废","color":"#9b59b6","value":"Cancelled"},
+export const RenovationAppliesStatusEnum = {
+ Draft: { text: '暂存', color: '#f39c12', value: 'Draft' },
+ Pending: { text: '审核中', color: '#faad14', value: 'Pending' },
+ Approved: { text: '已完成', color: '#52c41a', value: 'Approved' },
+ Rejected: { text: '驳回', color: '#f5222d', value: 'Rejected' },
+ Cancelled: { text: '作废', color: '#9b59b6', value: 'Cancelled' },
};
// 装修类型
-export const RenovationAppliesTypeEnum= {
- 'SelfRenovation': {"text":"自装","color":"#1abc9c","value":"SelfRenovation"},
- 'RenovationCompany': {"text":"装修公司","color":"#e67e22","value":"RenovationCompany"},
+export const RenovationAppliesTypeEnum = {
+ SelfRenovation: { text: '自装', color: '#1abc9c', value: 'SelfRenovation' },
+ RenovationCompany: {
+ text: '装修公司',
+ color: '#e67e22',
+ value: 'RenovationCompany',
+ },
};
// ResourceOrdersPaymentStatusEnum
-export const ResourceOrdersPaymentStatusEnum= {
- 'Unpaid': {"text":"未支付","color":"#f59e0b","value":"Unpaid"},
- 'Paid': {"text":"已支付","color":"#10b981","value":"Paid"},
- 'Refunded': {"text":"已退款","color":"#3b82f6","value":"Refunded"},
+export const ResourceOrdersPaymentStatusEnum = {
+ Unpaid: { text: '未支付', color: '#f59e0b', value: 'Unpaid' },
+ Paid: { text: '已支付', color: '#10b981', value: 'Paid' },
+ Refunded: { text: '已退款', color: '#3b82f6', value: 'Refunded' },
};
// ResourceOrdersStatusEnum
-export const ResourceOrdersStatusEnum= {
- 'Locked': {"text":"已锁定","color":"#8b5cf6","value":"Locked"},
- 'Reserved': {"text":"已预约","color":"#3b82f6","value":"Reserved"},
- 'Used': {"text":"已使用","color":"#10b981","value":"Used"},
- 'Overed': {"text":"已结束","color":"#fca5a5","value":"Overed"},
- 'Refunding': {"text":"退订中","color":"#f59e0b","value":"Refunding"},
- 'Refunded': {"text":"已退订","color":"#ef4444","value":"Refunded"},
- 'Closed': {"text":"已关闭","color":"#6b7280","value":"Closed"},
+export const ResourceOrdersStatusEnum = {
+ Locked: { text: '已锁定', color: '#8b5cf6', value: 'Locked' },
+ Reserved: { text: '已预约', color: '#3b82f6', value: 'Reserved' },
+ Used: { text: '已使用', color: '#10b981', value: 'Used' },
+ Overed: { text: '已结束', color: '#fca5a5', value: 'Overed' },
+ Refunding: { text: '退订中', color: '#f59e0b', value: 'Refunding' },
+ Refunded: { text: '已退订', color: '#ef4444', value: 'Refunded' },
+ Closed: { text: '已关闭', color: '#6b7280', value: 'Closed' },
};
// ResourceTypesTypeEnum
-export const ResourceTypesCategoryEnum= {
- 'Advertising': {"text":"广告","color":"#ff9800","value":"Advertising"},
- 'Venue': {"text":"场地","color":"#4caf50","value":"Venue"},
+export const ResourceTypesCategoryEnum = {
+ Advertising: { text: '广告', color: '#ff9800', value: 'Advertising' },
+ Venue: { text: '场地', color: '#4caf50', value: 'Venue' },
};
// ResourcesChannelEnum
-export const ResourcesChannelEnum= {
- 'Consumer': {"text":"ToC","color":"#3b82f6","value":"Consumer"},
- 'Business': {"text":"ToB","color":"#10b981","value":"Business"},
+export const ResourcesChannelEnum = {
+ Consumer: { text: 'ToC', color: '#3b82f6', value: 'Consumer' },
+ Business: { text: 'ToB', color: '#10b981', value: 'Business' },
};
// ResourcesOpenDaysEnum
-export const ResourcesOpenDaysEnum= {
- 'Monday': {"text":"星期一","color":"#3b82f6","value":"Monday"},
- 'Tuesday': {"text":"星期二","color":"#3b82f6","value":"Tuesday"},
- 'Wednesday': {"text":"星期三","color":"#3b82f6","value":"Wednesday"},
- 'Thursday': {"text":"星期四","color":"#3b82f6","value":"Thursday"},
- 'Friday': {"text":"星期五","color":"#3b82f6","value":"Friday"},
- 'Saturday': {"text":"星期六","color":"#10b981","value":"Saturday"},
- 'Sunday': {"text":"星期日","color":"#ef4444","value":"Sunday"},
+export const ResourcesOpenDaysEnum = {
+ Monday: { text: '星期一', color: '#3b82f6', value: 'Monday' },
+ Tuesday: { text: '星期二', color: '#3b82f6', value: 'Tuesday' },
+ Wednesday: { text: '星期三', color: '#3b82f6', value: 'Wednesday' },
+ Thursday: { text: '星期四', color: '#3b82f6', value: 'Thursday' },
+ Friday: { text: '星期五', color: '#3b82f6', value: 'Friday' },
+ Saturday: { text: '星期六', color: '#10b981', value: 'Saturday' },
+ Sunday: { text: '星期日', color: '#ef4444', value: 'Sunday' },
};
// ResourcesReservationRuleEnum
-export const ResourcesReservationRuleEnum= {
- 'ByDay': {"text":"按天","color":"#3b82f6","value":"ByDay"},
- 'BySession': {"text":"按场次","color":"#10b981","value":"BySession"},
+export const ResourcesReservationRuleEnum = {
+ ByDay: { text: '按天', color: '#3b82f6', value: 'ByDay' },
+ BySession: { text: '按场次', color: '#10b981', value: 'BySession' },
};
// ResourcesReservationStatusEnum
-export const ResourcesReservationStatusEnum= {
- 'Fully': {"text":"全部预约","color":"#4caf50","value":"Fully"},
- 'Partially': {"text":"部分预约","color":"#ff9800","value":"Partially"},
- 'Not': {"text":"无预约","color":"#f44336","value":"Not"},
+export const ResourcesReservationStatusEnum = {
+ Fully: { text: '全部预约', color: '#4caf50', value: 'Fully' },
+ Partially: { text: '部分预约', color: '#ff9800', value: 'Partially' },
+ Not: { text: '无预约', color: '#f44336', value: 'Not' },
};
-//
-export const RiskLevelEnum= {
- 'Low': {"text":"低风险","color":"#28a745","value":"Low"},
- 'Medium': {"text":"中风险","color":"#ffc107","value":"Medium"},
- 'High': {"text":"高风险","color":"#dc3545","value":"High"},
+//
+export const RiskLevelEnum = {
+ Low: { text: '低风险', color: '#28a745', value: 'Low' },
+ Medium: { text: '中风险', color: '#ffc107', value: 'Medium' },
+ High: { text: '高风险', color: '#dc3545', value: 'High' },
};
// 性别
-export const SexEnum= {
- 'Male': {"text":"男","color":"#0000ff","value":"Male"},
- 'FeMale': {"text":"女","color":"#ff0000","value":"FeMale"},
+export const SexEnum = {
+ Male: { text: '男', color: '#0000ff', value: 'Male' },
+ FeMale: { text: '女', color: '#ff0000', value: 'FeMale' },
};
// 问卷发布方式枚举
-export const SurveyReleasesTypeEnum= {
- 'Manual': {"text":"手动发布","color":"#4caf50","value":"Manual"},
- 'Timing': {"text":"定时发布","color":"#2196f3","value":"Timing"},
+export const SurveyReleasesTypeEnum = {
+ Manual: { text: '手动发布', color: '#4caf50', value: 'Manual' },
+ Timing: { text: '定时发布', color: '#2196f3', value: 'Timing' },
};
// SysModuleEnum
-export const SysModuleEnum= {
- 'Admin': {"text":"管理员","color":"#cf1322","value":"Admin"},
- 'Company': {"text":"机构","color":"#1890ff","value":"Company"},
- 'Employee': {"text":"员工","color":"#1890ff","value":"Employee"},
+export const SysModuleEnum = {
+ Admin: { text: '管理员', color: '#cf1322', value: 'Admin' },
+ Company: { text: '机构', color: '#1890ff', value: 'Company' },
+ Employee: { text: '员工', color: '#1890ff', value: 'Employee' },
};
// SysPermissionsTypeEnum
-export const SysPermissionsTypeEnum= {
- 'Directory': {"text":"目录","color":"#6d7e14","value":"Directory"},
- 'Page': {"text":"页面","color":"#4d9a13","value":"Page"},
- 'Button': {"text":"按钮","color":"#97224f","value":"Button"},
- 'QuickAction': {"text":"金刚区","color":"#2563eb","value":"QuickAction"},
- 'Module': {"text":"模块","color":"#0d9488","value":"Module"},
+export const SysPermissionsTypeEnum = {
+ Directory: { text: '目录', color: '#6d7e14', value: 'Directory' },
+ Page: { text: '页面', color: '#4d9a13', value: 'Page' },
+ Button: { text: '按钮', color: '#97224f', value: 'Button' },
+ QuickAction: { text: '金刚区', color: '#2563eb', value: 'QuickAction' },
+ Module: { text: '模块', color: '#0d9488', value: 'Module' },
};
// 来访事由
-export const VisitReasonEnum= {
- 'Visit': {"text":"拜访","color":"#2196f3","value":"Visit"},
- 'Business': {"text":"商务","color":"#3f51b5","value":"Business"},
- 'Interview': {"text":"面试","color":"#9c27b0","value":"Interview"},
- 'Private': {"text":"私人","color":"#e91e63","value":"Private"},
- 'Express': {"text":"快递","color":"#00bcd4","value":"Express"},
- 'Renovation': {"text":"装修","color":"#ff5722","value":"Renovation"},
- 'Other': {"text":"其他","color":"#607d8b","value":"Other"},
+export const VisitReasonEnum = {
+ Visit: { text: '拜访', color: '#2196f3', value: 'Visit' },
+ Business: { text: '商务', color: '#3f51b5', value: 'Business' },
+ Interview: { text: '面试', color: '#9c27b0', value: 'Interview' },
+ Private: { text: '私人', color: '#e91e63', value: 'Private' },
+ Express: { text: '快递', color: '#00bcd4', value: 'Express' },
+ Renovation: { text: '装修', color: '#ff5722', value: 'Renovation' },
+ Other: { text: '其他', color: '#607d8b', value: 'Other' },
};
// 访客申请状态
-export const VisitorAppliesStatusEnum= {
- 'Pending': {"text":"审核中","color":"#ff9800","value":"Pending"},
- 'Approved': {"text":"已通过","color":"#4caf50","value":"Approved"},
- 'Rejected': {"text":"已驳回","color":"#f44336","value":"Rejected"},
- 'Expired': {"text":"已失效","color":"#9e9e9e","value":"Expired"},
+export const VisitorAppliesStatusEnum = {
+ Pending: { text: '审核中', color: '#ff9800', value: 'Pending' },
+ Approved: { text: '已通过', color: '#4caf50', value: 'Approved' },
+ Rejected: { text: '已驳回', color: '#f44336', value: 'Rejected' },
+ Expired: { text: '已失效', color: '#9e9e9e', value: 'Expired' },
};
// 访客申请类型
-export const VisitorApplyTypeEnum= {
- 'invite': {"text":"业主邀请","color":"#2196f3","value":"invite"},
- 'register': {"text":"访客登记","color":"#ff9800","value":"register"},
+export const VisitorApplyTypeEnum = {
+ invite: { text: '业主邀请', color: '#2196f3', value: 'invite' },
+ register: { text: '访客登记', color: '#ff9800', value: 'register' },
};
// 通行码状态
-export const VisitorCodeStatusEnum= {
- 'unused': {"text":"未使用","color":"#2196f3","value":"unused"},
- 'used': {"text":"已使用","color":"#4caf50","value":"used"},
- 'expired': {"text":"已过期","color":"#f44336","value":"expired"},
+export const VisitorCodeStatusEnum = {
+ unused: { text: '未使用', color: '#2196f3', value: 'unused' },
+ used: { text: '已使用', color: '#4caf50', value: 'used' },
+ expired: { text: '已过期', color: '#f44336', value: 'expired' },
};
// 访客扫码类型
-export const VisitorScanTypeEnum= {
- 'enter': {"text":"进入","color":"#4caf50","value":"enter"},
- 'exit': {"text":"离开","color":"#f44336","value":"exit"},
+export const VisitorScanTypeEnum = {
+ enter: { text: '进入', color: '#4caf50', value: 'enter' },
+ exit: { text: '离开', color: '#f44336', value: 'exit' },
};
// WechatAuthsPlatformEnum
-export const WechatAuthsPlatformEnum= {
- 'MiniProgram': {"text":"微信小程序","color":"#3b82f6","value":"MiniProgram"},
- 'MpOfficial': {"text":"微信公众号","color":"#22c55e","value":"MpOfficial"},
- 'WorkWechat': {"text":"企业微信","color":"#6366f1","value":"WorkWechat"},
+export const WechatAuthsPlatformEnum = {
+ MiniProgram: { text: '微信小程序', color: '#3b82f6', value: 'MiniProgram' },
+ MpOfficial: { text: '微信公众号', color: '#22c55e', value: 'MpOfficial' },
+ WorkWechat: { text: '企业微信', color: '#6366f1', value: 'WorkWechat' },
};
-
diff --git a/src/pages/contract/contracts/pages/contract_update.tsx b/src/pages/contract/contracts/pages/contract_update.tsx
index c3d998b..be8ddb7 100644
--- a/src/pages/contract/contracts/pages/contract_update.tsx
+++ b/src/pages/contract/contracts/pages/contract_update.tsx
@@ -76,9 +76,9 @@ export default function Index({ title = '编辑合同' }) {
}, [id]);
const onSave = (formData: any, subType: number = 1) => {
- formData?.peoples?.forEach((res: any) => {
- res.company_suppliers_id = res?.counterparty?.split(':')?.[0];
- });
+ // formData?.peoples?.forEach((res: any) => {
+ // res.company_suppliers_id = res?.counterparty?.split(':')?.[0];
+ // });
const contractDataToSave = {
...formData,
is_deposit:
diff --git a/src/pages/contract/contracts_other/modals/Create.tsx b/src/pages/contract/contracts_other/modals/Create.tsx
index 4d238c5..6ed8d64 100644
--- a/src/pages/contract/contracts_other/modals/Create.tsx
+++ b/src/pages/contract/contracts_other/modals/Create.tsx
@@ -131,6 +131,9 @@ export default function Create(props: MyBetaModalFormProps) {
required: true,
title: '选择印章',
colProps: { span: 24 },
+ params: {
+ is_enabled: true,
+ },
fieldProps: {
showSearch: true,
mode: 'multiple',
diff --git a/src/pages/meter/common_meter/index.tsx b/src/pages/meter/common_meter/index.tsx
index e221baf..0f74a3f 100644
--- a/src/pages/meter/common_meter/index.tsx
+++ b/src/pages/meter/common_meter/index.tsx
@@ -38,10 +38,10 @@ export default function CommonMeter({ title = '公摊表' }) {
title={title}
/>
),
- exportmeter: (
+ importmeter_public: (
(
),
toggle: (
diff --git a/src/pages/patrol/patrol_locations/modals/Create.tsx b/src/pages/patrol/patrol_locations/modals/Create.tsx
index 585e822..6169726 100644
--- a/src/pages/patrol/patrol_locations/modals/Create.tsx
+++ b/src/pages/patrol/patrol_locations/modals/Create.tsx
@@ -58,16 +58,16 @@ export default function Create(props: MyBetaModalFormProps) {
placeholder: '请输入点位名称',
},
},
- {
- title: '位置信息',
- key: 'remark',
- formItemProps: { ...rulesHelper.text },
- valueType: 'textarea',
- colProps: { span: 24 },
- fieldProps: {
- placeholder: '请输入点位的具体位置信息',
- },
- },
+ // {
+ // title: '位置信息',
+ // key: 'remark',
+ // // formItemProps: { ...rulesHelper.text },
+ // valueType: 'textarea',
+ // colProps: { span: 24 },
+ // fieldProps: {
+ // placeholder: '请输入点位的具体位置信息',
+ // },
+ // },
{
title: '是否启用',
key: 'is_enabled',
diff --git a/src/pages/patrol/patrol_locations/modals/Update.tsx b/src/pages/patrol/patrol_locations/modals/Update.tsx
index c262a2c..3263d92 100644
--- a/src/pages/patrol/patrol_locations/modals/Update.tsx
+++ b/src/pages/patrol/patrol_locations/modals/Update.tsx
@@ -64,16 +64,16 @@ export default function Update(props: MyBetaModalFormProps) {
placeholder: '请输入点位名称',
},
},
- {
- title: '位置信息',
- key: 'remark',
- formItemProps: { ...rulesHelper.text },
- valueType: 'textarea',
- colProps: { span: 24 },
- fieldProps: {
- placeholder: '请输入点位的具体位置信息',
- },
- },
+ // {
+ // title: '位置信息',
+ // key: 'remark',
+ // // formItemProps: { ...rulesHelper.text },
+ // valueType: 'textarea',
+ // colProps: { span: 24 },
+ // fieldProps: {
+ // placeholder: '请输入点位的具体位置信息',
+ // },
+ // },
{
title: '是否启用',
key: 'is_enabled',
diff --git a/src/pages/quality/emergency/modals/CategoryCreate.tsx b/src/pages/quality/emergency/modals/CategoryCreate.tsx
index 01cff93..4b0c4fb 100644
--- a/src/pages/quality/emergency/modals/CategoryCreate.tsx
+++ b/src/pages/quality/emergency/modals/CategoryCreate.tsx
@@ -10,7 +10,7 @@ import { BetaSchemaForm } from '@ant-design/pro-components';
import { Form, message } from 'antd';
export default function Create(props: MyBetaModalFormProps) {
- const [form] = Form.useForm();
+ const [form] = Form.useForm();
return (
{...MyModalFormProps.props}
@@ -18,7 +18,7 @@ export default function Create(props: MyBetaModalFormProps) {
wrapperCol={{ span: 24 }}
width="500px"
key={new Date().getTime()}
- form={form}
+ form={form}
trigger={}
onOpenChange={(open: any) => {
if (open) {
@@ -26,7 +26,10 @@ export default function Create(props: MyBetaModalFormProps) {
}
}}
onFinish={async (values) =>
- Apis.Emergency.EmergencyEventCategories.Store(values)
+ Apis.Emergency.EmergencyEventCategories.Store({
+ ...values,
+ is_enabled: values.is_enabled ?? 0,
+ })
.then(() => {
props.reload?.();
message.success(props.title + '成功');
diff --git a/src/pages/quality/emergency/modals/CategoryUpdate.tsx b/src/pages/quality/emergency/modals/CategoryUpdate.tsx
index 6b54c92..111f925 100644
--- a/src/pages/quality/emergency/modals/CategoryUpdate.tsx
+++ b/src/pages/quality/emergency/modals/CategoryUpdate.tsx
@@ -27,6 +27,7 @@ export default function Update(props: MyBetaModalFormProps) {
onFinish={async (values) =>
Apis.Emergency.EmergencyEventCategories.Update({
...values,
+ is_enabled: values.is_enabled ?? 0,
id: props.item?.id ?? 0,
})
.then(() => {
diff --git a/src/pages/quality/emergency/modals/LevelCreate.tsx b/src/pages/quality/emergency/modals/LevelCreate.tsx
index f7ec52b..9a7aeea 100644
--- a/src/pages/quality/emergency/modals/LevelCreate.tsx
+++ b/src/pages/quality/emergency/modals/LevelCreate.tsx
@@ -25,7 +25,10 @@ export default function Create(props: MyBetaModalFormProps) {
}}
trigger={}
onFinish={async (values) =>
- Apis.Emergency.EmergencyEventLevels.Store(values)
+ Apis.Emergency.EmergencyEventLevels.Store({
+ ...values,
+ is_enabled: values.is_enabled ?? 0,
+ })
.then(() => {
props.reload?.();
message.success(props.title + '成功');
diff --git a/src/pages/quality/emergency/modals/LevelUpdate.tsx b/src/pages/quality/emergency/modals/LevelUpdate.tsx
index 88045fa..77928f8 100644
--- a/src/pages/quality/emergency/modals/LevelUpdate.tsx
+++ b/src/pages/quality/emergency/modals/LevelUpdate.tsx
@@ -27,6 +27,7 @@ export default function Update(props: MyBetaModalFormProps) {
onFinish={async (values) =>
Apis.Emergency.EmergencyEventLevels.Update({
...values,
+ is_enabled: values.is_enabled ?? 0,
id: props.item?.id ?? 0,
})
.then(() => {
diff --git a/src/pages/quality/renovation/index.tsx b/src/pages/quality/renovation/index.tsx
index 3a4796d..63e34bd 100644
--- a/src/pages/quality/renovation/index.tsx
+++ b/src/pages/quality/renovation/index.tsx
@@ -67,7 +67,7 @@ export default function Index({ title = '装修管理' }) {
MyColumns.ID({ search: false }),
Selects?.AssetProjects({
title: '选择项目',
- key: 'id',
+ key: 'asset_projects_id',
hidden: true,
}),
MyColumns.EnumTag({
@@ -146,16 +146,20 @@ export default function Index({ title = '装修管理' }) {
title="查看"
/>
),
- worker: (
-
- ),
+ worker:
+ item.construction_status === 'PendingConstruction' ||
+ item.construction_status === 'NormalConstruction' ? (
+
+ ) : (
+ ''
+ ),
update: (