修复:工作人员列表切换后自动加载数据
监听工作人员类型变化,切换安装、配送和运维菜单时自动重置搜索及页码并重新查询;补充资源、搜索和人员关联回归检查,同时更新中文需求说明与操作日志。
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/**
|
||||
* 功能:验证工作人员关联字段过滤、资质来源校验和路由上下文传递契约。
|
||||
* 版本:v1.0.0
|
||||
* 版本:v1.1.0
|
||||
*/
|
||||
import assert from 'node:assert/strict';
|
||||
import { readFile } from 'node:fs/promises';
|
||||
@@ -117,6 +117,10 @@ const listSource = await readFile(
|
||||
'utf8',
|
||||
);
|
||||
assert.match(listSource, /staff_type: staffType\.value/);
|
||||
assert.match(listSource, /'staff_type'/);
|
||||
const listSearchSource = await readFile(
|
||||
new URL('../src/views/shared/use-resource-list-search.ts', import.meta.url),
|
||||
'utf8',
|
||||
);
|
||||
assert.match(listSearchSource, /'staff_type'/);
|
||||
|
||||
console.log('工作人员关联与资质上下文检查通过');
|
||||
|
||||
Reference in New Issue
Block a user