Commit 9ba8c8c0 authored by MrShi's avatar MrShi

config.ts更新

parent 8aaedb3b
...@@ -28,14 +28,14 @@ export default defineConfig({ ...@@ -28,14 +28,14 @@ export default defineConfig({
}, },
// umi routes: https://umijs.org/docs/routing // umi routes: https://umijs.org/docs/routing
routes: [ routes: [
{ /* {
path: '/login2', path: '/login2',
component: '../pages/user/login2', component: '../pages/user/login2',
}, },
{ {
path: '/others', path: '/others',
component: '../pages/user/others', component: '../pages/user/others',
}, },*/
{ {
path: '/user', path: '/user',
component: '../layouts/UserLayout', component: '../layouts/UserLayout',
...@@ -61,10 +61,6 @@ export default defineConfig({ ...@@ -61,10 +61,6 @@ export default defineConfig({
component: '../layouts/BasicLayout', component: '../layouts/BasicLayout',
authority: ['admin', 'user'], authority: ['admin', 'user'],
routes: [ routes: [
/* {
path: '/',
redirect: '/runTest',
},*/
{ {
path: '/', path: '/',
...@@ -76,22 +72,22 @@ export default defineConfig({ ...@@ -76,22 +72,22 @@ export default defineConfig({
icon: 'smile', icon: 'smile',
component: './Welcome', component: './Welcome',
},*/ },*/
{ /* {
path: '/admin', path: '/admin',
name: 'admin', name: 'admin',
icon: 'crown', icon: 'crown',
component: './Admin', component: './Admin',
// authority: ['admin'], authority: ['admin'],
routes: [ routes: [
{ {
path: '/admin/sub-page', path: '/admin/sub-page',
name: 'sub-page', name: 'sub-page',
icon: 'smile', icon: 'smile',
component: './Welcome', component: './Welcome',
// authority: ['admin'], authority: ['admin'],
}, },
], ],
}, },*/
/* { /* {
name: 'list.table-list', name: 'list.table-list',
icon: 'table', icon: 'table',
...@@ -250,19 +246,19 @@ export default defineConfig({ ...@@ -250,19 +246,19 @@ export default defineConfig({
component: './device/DeviceDetails', component: './device/DeviceDetails',
hideInMenu: true, hideInMenu: true,
}, },
{ /* {
// path: '/warn', // path: '/warn',
name: 'Commercial Service', name: 'Commercial Service',
icon: 'Alert', icon: 'Alert',
// component: './warn/Warn', // component: './warn/Warn',
routes: [ routes: [
/* { name: '小区保养', path: '/tosMaintain', hidden: true }, /!* { name: '小区保养', path: '/tosMaintain', hidden: true },
{ name: '业主投诉', path: '/owerComplaint', hidden: true }, { name: '业主投诉', path: '/owerComplaint', hidden: true },
{ name: '问题反馈', path: '/feedback', hidden: true }, { name: '问题反馈', path: '/feedback', hidden: true },
{ name: '装修申请', path: '/tosDecoration', hidden: true }, { name: '装修申请', path: '/tosDecoration', hidden: true },
{ name: '住户卡申请', path: '/owerCard', hidden: true }, { name: '住户卡申请', path: '/owerCard', hidden: true },
{ name: '在线报事', path: '/onlineNews', hidden: true }, { name: '在线报事', path: '/onlineNews', hidden: true },
{ name: '保质期服务', path: '/shelfLife', hidden: true },*/ { name: '保质期服务', path: '/shelfLife', hidden: true },*!/
{ name: 'Community Maintenance', { name: 'Community Maintenance',
path: '/tosMaintain', path: '/tosMaintain',
icon: 'smile', icon: 'smile',
...@@ -334,38 +330,60 @@ export default defineConfig({ ...@@ -334,38 +330,60 @@ export default defineConfig({
}, },
// { name: 'Shelf life Service', path: '/shelfLife', hidden: true }, // { name: 'Shelf life Service', path: '/shelfLife', hidden: true },
], ],
},*/
{
path: '/warn',
name: 'Commercial Service',
icon: 'Alert',
component: './warn/Warn',
children: [
/* { name: '小区保养', path: '/tosMaintain', hidden: true },
{ name: '业主投诉', path: '/owerComplaint', hidden: true },
{ name: '问题反馈', path: '/feedback', hidden: true },
{ name: '装修申请', path: '/tosDecoration', hidden: true },
{ name: '住户卡申请', path: '/owerCard', hidden: true },
{ name: '在线报事', path: '/onlineNews', hidden: true },
{ name: '保质期服务', path: '/shelfLife', hidden: true },*/
{ name: 'Community Maintenance', path: '/tosMaintain', hidden: true },
{ name: 'Owners Complaints', path: '/owerComplaint', hidden: true },
{ name: 'Problem Feedback', path: '/feedback', hidden: true },
{ name: 'Renovation Application', path: '/tosDecoration', hidden: true },
{ name: 'Access Card Application', path: '/owerCard', hidden: true },
{ name: 'Report Online', path: '/onlineNews', hidden: true },
{ name: 'Shelf life Service', path: '/shelfLife', hidden: true },
],
}, },
// { {
// path: '/tosMaintain', path: '/tosMaintain',
// component: './tosMaintain/TosMaintain', component: './tosMaintain/TosMaintain',
// hideInMenu: true, hideInMenu: true,
// }, },
// { {
// path: '/tosMaintain/reply', path: '/tosMaintain/reply',
// component: './tosMaintain/ReplyToMaintenance', component: './tosMaintain/ReplyToMaintenance',
// hideInMenu: true, hideInMenu: true,
// }, },
/* { {
path: '/tosMaintain/detail', path: '/tosMaintain/detail',
component: './tosMaintain/TosMaintainDetail', component: './tosMaintain/TosMaintainDetail',
hideInMenu: true, hideInMenu: true,
},*/ },
/* { {
path: '/owerComplaint', path: '/owerComplaint',
component: './owerComplaint/OwerComplaint', component: './owerComplaint/OwerComplaint',
hideInMenu: true, hideInMenu: true,
},*/ },
/* { {
path: '/owerComplaint/reply', path: '/owerComplaint/reply',
component: './owerComplaint/ReplyToComplaint', component: './owerComplaint/ReplyToComplaint',
hideInMenu: true, hideInMenu: true,
},*/ },
/* { {
path: '/owerComplaint/detail', path: '/owerComplaint/detail',
component: './owerComplaint/OwerComplaintDetail', component: './owerComplaint/OwerComplaintDetail',
hideInMenu: true, hideInMenu: true,
},*/ },
/* { {
path: '/feedback', path: '/feedback',
component: './feedback/feedback', component: './feedback/feedback',
hideInMenu: true, hideInMenu: true,
...@@ -379,8 +397,8 @@ export default defineConfig({ ...@@ -379,8 +397,8 @@ export default defineConfig({
path: '/feedback/detail', path: '/feedback/detail',
component: './feedback/FeedbackDetail', component: './feedback/FeedbackDetail',
hideInMenu: true, hideInMenu: true,
},*/ },
/* { {
path: '/tosDecoration', path: '/tosDecoration',
component: './tosDecoration/tosDecoration', component: './tosDecoration/tosDecoration',
hideInMenu: true, hideInMenu: true,
...@@ -394,8 +412,8 @@ export default defineConfig({ ...@@ -394,8 +412,8 @@ export default defineConfig({
path: '/tosDecoration/detail', path: '/tosDecoration/detail',
component: './tosDecoration/tosDecorationDetail', component: './tosDecoration/tosDecorationDetail',
hideInMenu: true, hideInMenu: true,
},*/ },
/* { {
path: '/owerCard', path: '/owerCard',
component: './owerCard/owerCard', component: './owerCard/owerCard',
hideInMenu: true, hideInMenu: true,
...@@ -409,8 +427,8 @@ export default defineConfig({ ...@@ -409,8 +427,8 @@ export default defineConfig({
path: '/owerCard/detail', path: '/owerCard/detail',
component: './owerCard/OwerCardDetail', component: './owerCard/OwerCardDetail',
hideInMenu: true, hideInMenu: true,
},*/ },
/* { {
path: '/onlineNews', path: '/onlineNews',
component: './onlineNews/onlineNews', component: './onlineNews/onlineNews',
hideInMenu: true, hideInMenu: true,
...@@ -424,8 +442,8 @@ export default defineConfig({ ...@@ -424,8 +442,8 @@ export default defineConfig({
path: '/onlineNews/detail', path: '/onlineNews/detail',
component: './onlineNews/OnlineNewsDetail', component: './onlineNews/OnlineNewsDetail',
hideInMenu: true, hideInMenu: true,
},*/ },
/* { {
path: '/shelfLife', path: '/shelfLife',
component: './shelfLife/shelfLife', component: './shelfLife/shelfLife',
hideInMenu: true, hideInMenu: true,
...@@ -439,7 +457,7 @@ export default defineConfig({ ...@@ -439,7 +457,7 @@ export default defineConfig({
path: '/shelfLife/detail', path: '/shelfLife/detail',
component: './shelfLife/ShelfLifeDetail', component: './shelfLife/ShelfLifeDetail',
hideInMenu: true, hideInMenu: true,
},*/ },
{ {
path: '/warn/edit', path: '/warn/edit',
component: './warn/WarnEdit', component: './warn/WarnEdit',
...@@ -549,6 +567,445 @@ export default defineConfig({ ...@@ -549,6 +567,445 @@ export default defineConfig({
{ name: '公司信息', path: '/companyInformation', hidden: true },*/ { name: '公司信息', path: '/companyInformation', hidden: true },*/
{ name: 'Account Management', path: '/account', hidden: false }, { name: 'Account Management', path: '/account', hidden: false },
{ name: 'Company Information', path: '/companyInformation', hidden: true }, { name: 'Company Information', path: '/companyInformation', hidden: true },
{ name: 'Language Settings', path: '/languageSwitch', component: './languageSwitch/LanguageSwitch',hidden: true },
],
},
{
path: '/languageSwitch',
/* name: '语言设置',*/
name: 'Language Settings',
icon: 'user',
component: './languageSwitch/LanguageSwitch.tsx',
hideInMenu: true,
},
{
path: '/companyInformation',
component: './companyInformation/CompanyInformation',
hideInMenu: false,
},
/* {
path: '/',
redirect: '/runTest',
},*/
/* {
path: '/',
redirect: '/tosUser',
},
/!* {
path: '/welcome',
name: 'welcome',
icon: 'smile',
component: './Welcome',
},*!/
{
path: '/admin',
name: 'admin',
icon: 'crown',
component: './Admin',
// authority: ['admin'],
routes: [
{
path: '/admin/sub-page',
name: 'sub-page',
icon: 'smile',
component: './Welcome',
// authority: ['admin'],
},
],
},
/!* {
name: 'list.table-list',
icon: 'table',
path: '/list',
component: './ListTableList',
},*!/
{
path: '/monitorcenter',
name: 'monitorcenter',
icon: 'table',
component: './monitorcenter',
},
/!* {
// path: '/device',
name: 'User Management',
icon: 'Desktop',
// component: './device/Device',
routes: [
{ name: 'LIFE User Management',
path: '/tosUser',
icon: 'smile',
routes: [
{ path: './', component: './tosUser/TosUser' },
{ path: './create', component: './tosUser/TosUserCreate' },
{ path: './detail', component: './tosUser/TosUserDetails' },
{ path: './edit', component: './tosUser/TosUserEdit' },
{ path: './common', component: './tosUser/commonUser' }
]
},
// { name: 'Community Maintenance', path: '/tosMaintain', hidden: true },
{ name: 'Service Provider Management',
path: '/tosBusiness',
icon: 'smile',
routes: [
{ path: './', component: './tosBusiness/TosBusiness' },
{ path: './create', component: './tosBusiness/TosBusinessCreate' },
{ path: './edit', component: './tosBusiness/TosBusinessEdit' },
{ path: './detail', component: './tosBusiness/TosBusinessDetail' },
{ path: './ProviderCreate', component: './tosBusiness/ServiceProviderCreate' },
{ path: './ProviderEdit', component: './tosBusiness/ServiceProviderEdit' },
{ path: './ProviderDetail', component: './tosBusiness/ServiceProviderDetail' },
{ path: './SecurityGuard', component: './tosBusiness/SecurityGuard' }
// { path: './ServiceAvaliable', component: './tosBusiness/ServiceAvaliable' },
]
},
],
},*!/
{
path: '/device',
name: 'User Management',
icon: 'Desktop',
component: './device/Device',
children: [
{ name: 'LIFE User Management', path: '/tosUser', hidden: true },
{ name: 'Service Provider Management', path: '/tosBusiness', hidden: true },
// {name: "状态管理Redux", icon: "inbox", path: "/redux",hidden: true}
],
},
{
path: '/tosBusiness/SecurityGuard',
component: './tosBusiness/SecurityGuard',
hideInMenu: true,
},
{
path: '/tosBusiness/ServiceAvaliable',
component: './tosBusiness/ServiceAvaliable',
hideInMenu: true,
},
{
path: '/tosBusiness/ProviderCreate',
component: './tosBusiness/ServiceProviderCreate',
hideInMenu: true,
},
{
path: '/tosBusiness/ProviderEdit',
component: './tosBusiness/ServiceProviderEdit',
hideInMenu: true,
},
{
path: '/tosBusiness/ProviderDetail',
component: './tosBusiness/ServiceProviderDetail',
hideInMenu: true,
},
{
path: '/tosBusiness/create',
component: './tosBusiness/TosBusinessCreate',
hideInMenu: true,
},
{
path: '/tosBusiness/edit',
component: './tosBusiness/TosBusinessEdit',
hideInMenu: true,
},
{
path: '/tosBusiness/detail',
component: './tosBusiness/TosBusinessDetail',
hideInMenu: true,
},
{
path: '/tosUser/common',
component: './tosUser/commonUser',
hideInMenu: true,
},
{
path: '/tosUser/edit',
component: './tosUser/TosUserEdit',
hideInMenu: true,
},
{
path: '/device/details',
component: './device/DeviceDetails',
hideInMenu: true,
},
{
path: '/tosUser/details',
component: './tosUser/TosUserDetails',
hideInMenu: true,
},
{
path: '/tosUser',
component: './tosUser/TosUser',
hideInMenu: true,
},
{
path: '/tosBusiness',
component: './tosBusiness/TosBusiness',
hideInMenu: true,
},
{
path: '/device/edit',
component: './device/DeviceEdit',
hideInMenu: true,
},
{
path: '/tosUser/create',
component: './tosUser/TosUserCreate',
hideInMenu: true,
},
/!* {
path: '/PropertyManagement',
name: 'propertymanagement',
icon: 'ReconciliationOutlined',
routes: [
{ path: './', component: './PropertyManagement/ChargeManager' },
// { path: './AccoutingDetail', component: './PropertyManagement/AccoutingContent' },
// { path: './AccoutingEdit',component:'./PropertyManagement/AccoutingContent'},
]
},*!/
{
path: '/advertisement/AdvertisementEdit',
component: './advertisement/AdvertisementEdit',
hideInMenu: true,
},
{
path: '/device/details',
component: './device/DeviceDetails',
hideInMenu: true,
},
{
path: '/banner',
name: 'BANNER',
icon: 'user',
component: './banner/Banner',
},
{
name: 'Commercial Service',
icon: 'Alert',
routes: [
{ name: 'Community Maintenance',
path: '/tosMaintain',
icon: 'smile',
routes: [
{ path: './', component: './languageSwitch/LanguageSwitch.tsx' },
{ path: './reply', component: './tosMaintain/ReplyToMaintenance' },
{ path: './detail', component: './tosMaintain/TosMaintainDetail' },
]
},
// { name: 'Community Maintenance', path: '/tosMaintain', hidden: true },
{ name: 'Owners Complaints',
path: '/owerComplaint',
icon: 'smile',
routes: [
{ path: './', component: './owerComplaint/OwerComplaint' },
{ path: './reply', component: './owerComplaint/ReplyToComplaint' },
{ path: './detail', component: './owerComplaint/OwerComplaintDetail' },
]
},
// { name: 'Owners Complaints', path: '/owerComplaint', hidden: true },
{ name: 'Problem Feedback',
path: '/feedback',
icon: 'smile',
routes: [
{ path: './', component: './feedback/feedback' },
{ path: './reply', component: './feedback/ReplyToFeedback' },
{ path: './detail', component: './feedback/FeedbackDetail' },
]
},
// { name: 'Problem Feedback', path: '/feedback', hidden: true },
{ name: 'Renovation Application',
path: '/tosDecoration',
icon: 'smile',
routes: [
{ path: './', component: './tosDecoration/tosDecoration' },
{ path: './reply', component: './tosDecoration/ReplyToDecoration' },
{ path: './detail', component: './tosDecoration/tosDecorationDetail' },
]
},
// { name: 'Renovation Application', path: '/tosDecoration', hidden: true },
{ name: 'Access Card Application',
path: '/owerCard',
icon: 'smile',
routes: [
{ path: './', component: './owerCard/owerCard' },
{ path: './reply', component: './owerCard/ReplyToOwerCard' },
{ path: './detail', component: './owerCard/OwerCardDetail' },
]
},
// { name: 'Access Card Application', path: '/owerCard', hidden: true },
{ name: 'Report Online',
path: '/onlineNews',
icon: 'smile',
routes: [
{ path: './', component: './onlineNews/onlineNews' },
{ path: './reply', component: './onlineNews/ReplyToOnlineNews' },
{ path: './detail', component: './onlineNews/OnlineNewsDetail' },
]
},
// { name: 'Report Online', path: '/onlineNews', hidden: true },
{ name: 'Shelf life Service',
path: '/shelfLife',
icon: 'smile',
routes: [
{ path: './', component: './shelfLife/shelfLife' },
{ path: './reply', component: './shelfLife/ReplyToShelfLife' },
{ path: './detail', component: './shelfLife/ShelfLifeDetail' },
]
},
// { name: 'Shelf life Service', path: '/shelfLife', hidden: true },
],
},
/!* {
path: '/warn/edit',
component: './warn/WarnEdit',
hideInMenu: true,
},*!/
{
path: '/account',
component: './account/Account',
hideInMenu: true,
},
{
path: '/account/edit',
component: './account/AccountEdit',
hideInMenu: true,
},
{
path: '/account/reset',
component: './account/AccountReset',
hideInMenu: true,
},
{
name: 'Order Management',
path: '/orderManagement',
/!*name: '订单管理',*!/
icon: 'Laptop',
component: './orderManagement/OrderManagement',
},
{
path: '/version/modelEdit',
component: './versionModel/Version',
hideInMenu: true,
},
{
path: '/version/edit',
component: './versionModel/VersionEdit',
hideInMenu: true,
},
{
path: '/version/update',
component: './versionModel/VersionUpdate',
hideInMenu: true,
},
{
path: '/version/record',
component: './versionModel/VersionRecord',
hideInMenu: true,
},
{
name: 'Contract Management',
path: '/contractManagement',
/!* name: '合同管理',*!/
icon: 'Desktop',
component: './contractManagement/ContractManagement',
},
{
name: 'Property Management',
path: '/propertyFee',
icon: 'OneToOne',
// component: './propertyFee/PropertyFee.tsx' ,
routes: [
{ path: './', component: './propertyFee/PropertyFee' },
]
},
{
path: '/propertyFee/PaymentSetting',
component: './propertyFee/PaymentSetting',
hideInMenu: true,
},
{
path: '/propertyFee/PaymentDetail',
component: './propertyFee/PaymentDetail',
hideInMenu: true,
},
{
path: '/propertyFee/AddAccounting',
component: './propertyFee/AddAccounting',
hideInMenu: true,
},
{
name: 'Community Management',
path: '/communityManagement',
/!* name: '小区管理',*!/
icon: 'Desktop',
// component: './advertisement/AdvertisementEdit',
routes: [
/!* { name: '小区列表', path: '/housingList', hidden: false },
{ name: '小区公告', path: '/communityNotice', hidden: true },
{ name: '预订设施', path: '/bookFacilities', hidden: true },
{ name: '访客记录', path: '/visitorRecord', hidden: true },*!/
{ name: 'Cell List', path: '/housingList', component: './housingList/HousingList', hidden: false },
{ name: 'Community Announcement', path: '/communityNotice', component: './communityNotice/CommunityNotice',hidden: true },
{ name: 'Facility Bookings', path: '/bookFacilities', component: './bookFacilities/BookFacilities', hidden: true },
{ name: 'Visitor Record', path: '/visitorRecord', component: './visitorRecord/VisitorRecord', hidden: true },
],
},
{
path: '/housingList',
component: './housingList/HousingList',
hideInMenu: true,
},
{
path: '/communityNotice',
component: './communityNotice/CommunityNotice',
hideInMenu: true,
},
{
path: '/bookFacilities',
component: './bookFacilities/BookFacilities',
hideInMenu: true,
},
{
path: '/visitorRecord',
component: './visitorRecord/VisitorRecord',
hideInMenu: true,
},
{
name: 'Account Management',
path: '/device/details',
/!* name: '后台管理',*!/
icon: 'user',
component: './device/DeviceDetails',
routes: [
/!*{ name: '账号管理', path: '/account', hidden: false },
{ name: '公司信息', path: '/companyInformation', hidden: true },*!/
{ name: 'Account Management', path: '/account', hidden: false },
{ name: 'Company Information', path: '/companyInformation', hidden: true },
{ name: 'Language Settings', path: '/languageSwitch', component: './languageSwitch/LanguageSwitch.tsx',hidden: false }, { name: 'Language Settings', path: '/languageSwitch', component: './languageSwitch/LanguageSwitch.tsx',hidden: false },
], ],
}, },
...@@ -558,7 +1015,7 @@ export default defineConfig({ ...@@ -558,7 +1015,7 @@ export default defineConfig({
// { // {
// path: '/languageSwitch', // path: '/languageSwitch',
// /* name: '语言设置',*/ // /!* name: '语言设置',*!/
// name: 'Language Settings', // name: 'Language Settings',
// icon: 'user', // icon: 'user',
// component: './languageSwitch/LanguageSwitch.tsx', // component: './languageSwitch/LanguageSwitch.tsx',
...@@ -568,7 +1025,9 @@ export default defineConfig({ ...@@ -568,7 +1025,9 @@ export default defineConfig({
path: '/companyInformation', path: '/companyInformation',
component: './companyInformation/CompanyInformation', component: './companyInformation/CompanyInformation',
hideInMenu: false, hideInMenu: false,
}, },*/
//合并的另一部分
{ {
path: '/runTest', path: '/runTest',
name: 'monitoringcenter', name: 'monitoringcenter',
...@@ -584,7 +1043,7 @@ export default defineConfig({ ...@@ -584,7 +1043,7 @@ export default defineConfig({
path: './LIFEUserManagement', path: './LIFEUserManagement',
name: 'lifeusers', name: 'lifeusers',
routes: [ routes: [
{ path: './', component: './UserManagement/LIFEUserManagement/Users' }, { path: './', component: './UserManagement/LIFEUserManagement/Users.tsx' },
{ path: './Add', component: './UserManagement/LIFEUserManagement/UsersAdd' }, { path: './Add', component: './UserManagement/LIFEUserManagement/UsersAdd' },
] ]
}, },
......
...@@ -50,7 +50,7 @@ export default { ...@@ -50,7 +50,7 @@ export default {
'menu.editor.mind': 'Mind Editor', 'menu.editor.mind': 'Mind Editor',
'menu.editor.koni': 'Koni Editor', 'menu.editor.koni': 'Koni Editor',
'menu.usemanagement': 'User Management', /*'menu.usemanagement': 'User Management',
'menu.monitoringcenter': 'Monitoring Center', 'menu.monitoringcenter': 'Monitoring Center',
'menu.usemanagement.lifeusers': 'LIFE Users', 'menu.usemanagement.lifeusers': 'LIFE Users',
'menu.usemanagement.serviceproviders': 'Service Providers', 'menu.usemanagement.serviceproviders': 'Service Providers',
...@@ -72,5 +72,5 @@ export default { ...@@ -72,5 +72,5 @@ export default {
'menu.accountmanagement': 'Account Management', 'menu.accountmanagement': 'Account Management',
'menu.accountmanagement.accountmanagement1': 'Account Management', 'menu.accountmanagement.accountmanagement1': 'Account Management',
'menu.accountmanagement.companyinformation': 'Company Information', 'menu.accountmanagement.companyinformation': 'Company Information',
'menu.accountmanagement.languagesettings': 'Language Settings', 'menu.accountmanagement.languagesettings': 'Language Settings',*/
}; };
...@@ -57,8 +57,8 @@ export default { ...@@ -57,8 +57,8 @@ export default {
'menu.account.changePassword': '修改密碼', 'menu.account.changePassword': '修改密碼',
'menu.accountReset':'账号管理', 'menu.accountReset':'账号管理',
'menu.User Management':'用户管理', 'menu.User Management':'用户管理',
'menu.LIFE User Management':'LIFE用户管理', 'menu.User Management.LIFE User Management':'LIFE用户管理',
'menu.Service Provider Management':'服务商管理', 'menu.User Management.Service Provider Management':'服务商管理',
'menu.Commercial Service':'物业服务', 'menu.Commercial Service':'物业服务',
"menu.Order Management":"订单管理", "menu.Order Management":"订单管理",
"menu.Contract Management":"合同管理", "menu.Contract Management":"合同管理",
...@@ -72,4 +72,11 @@ export default { ...@@ -72,4 +72,11 @@ export default {
"menu.Commercial Service.Report Online":"在线报事", "menu.Commercial Service.Report Online":"在线报事",
"menu.Commercial Service.Shelf life Service":"保质期服务", "menu.Commercial Service.Shelf life Service":"保质期服务",
"menu.Community Management.Cell List":"小区列表",
"menu.Community Management.Community Announcement":"小区公告",
"menu.Community Management.Facility Bookings":"预定设施",
"menu.Community Management.Visitor Record":"访客记录",
}; };
@import '~antd/lib/style/themes/default.less'; @import '../../../node_modules/antd/lib/style/themes/default.less';
.pre { .pre {
margin: 12px 0; margin: 12px 0;
......
...@@ -307,6 +307,7 @@ class ServiceAvaliable extends React.Component { ...@@ -307,6 +307,7 @@ class ServiceAvaliable extends React.Component {
} }
} }
// @ts-ignore
const WarnEdit1 = Form.create()(ServiceAvaliable); const WarnEdit1 = Form.create()(ServiceAvaliable);
export default connect(({user}: ConnectState) => ({ export default connect(({user}: ConnectState) => ({
currentUser: user.currentUser, currentUser: user.currentUser,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment