This commit is contained in:
2026-09-14 18:34:34 +08:00
parent 25825685c3
commit 66f49b97e5
40 changed files with 472 additions and 304 deletions
@@ -141,8 +141,8 @@ describe('TruckAppointmentsView', () => {
expect(source).toContain('flex:0 0 auto')
expect(source).not.toContain('platform:firstleg:truck-appointment:view')
expect(source).toContain("access.can('platform:firstleg:truck-appointment:edit') && ['DRAFT', 'PENDING_DISPATCH', 'RESCHEDULED'].includes(row.status)")
expect(source).toContain('<Eye :size="15" />详情')
expect(source).toContain('<Pencil :size="15" />编辑')
expect(source).toContain('@click="openDetail(row as TruckAppointmentResource)">详情</el-button>')
expect(source).toContain('编辑</el-button>')
expect(source).not.toContain('MoreHorizontal')
})