优化
This commit is contained in:
@@ -16,6 +16,18 @@ function activeCustomer(id: string, tenantName: string, legalName: string | null
|
||||
}
|
||||
|
||||
describe('InboundTaskList measurement scope', () => {
|
||||
it('supports selecting only pending measurement reviews for batch approval', () => {
|
||||
const source = readFileSync(resolve('src/modules/inbounds/components/InboundTaskList.vue'), 'utf8')
|
||||
|
||||
expect(source).toContain("key: 'selection', type: 'selection'")
|
||||
expect(source).toContain("row.measureReviewStatus === 'PENDING'")
|
||||
expect(source).toContain('@selection-change="handleReviewSelectionChange"')
|
||||
expect(source).toContain('batchApproveMeasurements')
|
||||
expect(source).toContain('批量审核通过')
|
||||
expect(source).toContain('getMeasurementReviewDetail')
|
||||
expect(source).toContain('approveMeasurement')
|
||||
})
|
||||
|
||||
it('uses the inbound tenant isolation key for measurement and review requests', () => {
|
||||
const source = readFileSync(resolve('src/modules/inbounds/components/InboundTaskList.vue'), 'utf8')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user