feat(M08-D): 补会员与员工用户管理
This commit is contained in:
@@ -14,11 +14,13 @@ for (const pattern of [
|
||||
"activeModule = 'orders'",
|
||||
"activeModule = 'payments'",
|
||||
"activeModule = 'thirdParty'",
|
||||
"activeModule = 'people'",
|
||||
'平台运营总览',
|
||||
'StoresRoomsPanel',
|
||||
'OrdersPanel',
|
||||
'PaymentsPanel',
|
||||
'ThirdPartyPanel',
|
||||
'MembersStaffPanel',
|
||||
'运营总览',
|
||||
'savedToken',
|
||||
'loadCleaningWorkspace'
|
||||
@@ -140,6 +142,23 @@ const thirdPartyRoutes = read('backend/src/routes/third-party.ts');
|
||||
assert.match(thirdPartyRoutes, /'\/admin-api\/third-party\/setup'/);
|
||||
assert.match(thirdPartyRoutes, /'\/admin-api\/group-vouchers\/redeem'/);
|
||||
|
||||
const people = read('admin/src/components/MembersStaffPanel.vue');
|
||||
for (const pattern of [
|
||||
'listMembers',
|
||||
'getMember',
|
||||
'listStaffUsers',
|
||||
'createStaffUser',
|
||||
'updateStaffUser',
|
||||
'resetStaffSessions',
|
||||
'memberDetail',
|
||||
'staffForm'
|
||||
]) {
|
||||
assert.match(people, new RegExp(pattern));
|
||||
}
|
||||
|
||||
const userRoutes = read('backend/src/routes/user-management.ts');
|
||||
assert.match(userRoutes, /userType: z\.enum\(\['STAFF'\]\)\.optional\(\)/);
|
||||
|
||||
const routes = read('backend/src/routes/business-statistics.ts');
|
||||
assert.match(routes, /'\/app-api\/management\/statistics', '\/admin-api\/statistics'/);
|
||||
|
||||
@@ -173,6 +192,8 @@ for (const pattern of [
|
||||
'.payment-tools-grid',
|
||||
'.third-party-metrics',
|
||||
'.settings-preview',
|
||||
'.people-metrics',
|
||||
'.member-detail-grid',
|
||||
'@media (max-width: 980px)',
|
||||
'@media (max-width: 560px)'
|
||||
]) {
|
||||
|
||||
Reference in New Issue
Block a user