feat(M08-D): 补设备运营后台
This commit is contained in:
@@ -15,12 +15,14 @@ for (const pattern of [
|
||||
"activeModule = 'payments'",
|
||||
"activeModule = 'thirdParty'",
|
||||
"activeModule = 'people'",
|
||||
"activeModule = 'devices'",
|
||||
'平台运营总览',
|
||||
'StoresRoomsPanel',
|
||||
'OrdersPanel',
|
||||
'PaymentsPanel',
|
||||
'ThirdPartyPanel',
|
||||
'MembersStaffPanel',
|
||||
'DevicesPanel',
|
||||
'运营总览',
|
||||
'savedToken',
|
||||
'loadCleaningWorkspace'
|
||||
@@ -159,6 +161,20 @@ for (const pattern of [
|
||||
const userRoutes = read('backend/src/routes/user-management.ts');
|
||||
assert.match(userRoutes, /userType: z\.enum\(\['STAFF'\]\)\.optional\(\)/);
|
||||
|
||||
const devices = read('admin/src/components/DevicesPanel.vue');
|
||||
for (const pattern of [
|
||||
'getDeviceTopology',
|
||||
'createDeviceAsset',
|
||||
'bindDeviceChannel',
|
||||
'bindSubDevice',
|
||||
'addDeviceMaintenance',
|
||||
'controlDevice',
|
||||
'openAlerts',
|
||||
'Sub‑1G'
|
||||
]) {
|
||||
assert.match(devices, new RegExp(pattern));
|
||||
}
|
||||
|
||||
const routes = read('backend/src/routes/business-statistics.ts');
|
||||
assert.match(routes, /'\/app-api\/management\/statistics', '\/admin-api\/statistics'/);
|
||||
|
||||
@@ -194,6 +210,8 @@ for (const pattern of [
|
||||
'.settings-preview',
|
||||
'.people-metrics',
|
||||
'.member-detail-grid',
|
||||
'.device-metrics',
|
||||
'.device-topology-grid',
|
||||
'@media (max-width: 980px)',
|
||||
'@media (max-width: 560px)'
|
||||
]) {
|
||||
|
||||
Reference in New Issue
Block a user