优化
This commit is contained in:
@@ -110,4 +110,13 @@ describe('FeeItemsView public master data and access', () => {
|
||||
expect(source).not.toContain("access.can('firstleg:fee-item:edit')\" link")
|
||||
expect(source).not.toContain("access.can('firstleg:fee-item:delete')\" link")
|
||||
})
|
||||
|
||||
it('keeps the prototype table treatment and mobile form fallback without inventing a pricing mode', () => {
|
||||
expect(source).toContain(':page-sizes="[20, 50, 100]"\n border\n stripe')
|
||||
expect(source).toContain('@media (max-width: 720px)')
|
||||
expect(source).toContain('.direction-grid, .form-grid.two-cols { grid-template-columns: 1fr; }')
|
||||
expect(source).not.toContain('pricingMode')
|
||||
expect(source).not.toContain('计价模式')
|
||||
expect(source).not.toContain('固定费用')
|
||||
})
|
||||
})
|
||||
|
||||
@@ -357,6 +357,8 @@ onMounted(() => {
|
||||
:loading="loading"
|
||||
:total="total"
|
||||
:page-sizes="[20, 50, 100]"
|
||||
border
|
||||
stripe
|
||||
preference-key="fee-items-table"
|
||||
aria-label="费用项目列表"
|
||||
row-key="id"
|
||||
|
||||
Reference in New Issue
Block a user