feat: 同步权限管理、企业成员排行与消费计费明细
- 接入平台与企业角色权限,按权限展示菜单、页面及操作。 - 企业成员排行按需加载,翻页沿用同一榜单快照,保留连续名次与前三名样式。 - 更新消费日志的费用明细、超管指标和官方价格汇率设置,补齐翻译与回归测试。
This commit is contained in:
@@ -44,8 +44,9 @@ const usageRecord = readFileSync(
|
||||
);
|
||||
|
||||
test('enterprise task records use the organization-scoped endpoint', () => {
|
||||
assert.match(hook, /organizationMode/);
|
||||
assert.match(hook, /`\/api\/org\/tasks\?\$\{params\.toString\(\)\}`/);
|
||||
assert.match(hook, /const url = organizationMode\s*\?\s*'\/api\/org\/tasks'/);
|
||||
assert.match(hook, /const params = \{\s*p: page,\s*page_size: size,\s*task_id,/);
|
||||
assert.match(hook, /API\.get\(url, \{ params, signal \}\)/);
|
||||
assert.match(hook, /DEFAULT_TASK_RANGE_DAYS = 7/);
|
||||
assert.match(hook, /const usesSharedDateRange/);
|
||||
assert.match(filters, /hideDateRange = false/);
|
||||
|
||||
Reference in New Issue
Block a user