更改表格尺寸
This commit is contained in:
11
components.d.ts
vendored
11
components.d.ts
vendored
@@ -10,9 +10,9 @@ declare module 'vue' {
|
|||||||
export interface GlobalComponents {
|
export interface GlobalComponents {
|
||||||
AButton: typeof import('ant-design-vue/es')['Button']
|
AButton: typeof import('ant-design-vue/es')['Button']
|
||||||
ACard: typeof import('ant-design-vue/es')['Card']
|
ACard: typeof import('ant-design-vue/es')['Card']
|
||||||
|
ACheckbox: typeof import('ant-design-vue/es')['Checkbox']
|
||||||
ACol: typeof import('ant-design-vue/es')['Col']
|
ACol: typeof import('ant-design-vue/es')['Col']
|
||||||
AConfigProvider: typeof import('ant-design-vue/es')['ConfigProvider']
|
AConfigProvider: typeof import('ant-design-vue/es')['ConfigProvider']
|
||||||
ActionButtons: typeof import('./src/components/common/ActionButtons/index.vue')['default']
|
|
||||||
ADatePicker: typeof import('ant-design-vue/es')['DatePicker']
|
ADatePicker: typeof import('ant-design-vue/es')['DatePicker']
|
||||||
ADescriptions: typeof import('ant-design-vue/es')['Descriptions']
|
ADescriptions: typeof import('ant-design-vue/es')['Descriptions']
|
||||||
ADescriptionsItem: typeof import('ant-design-vue/es')['DescriptionsItem']
|
ADescriptionsItem: typeof import('ant-design-vue/es')['DescriptionsItem']
|
||||||
@@ -20,6 +20,7 @@ declare module 'vue' {
|
|||||||
AForm: typeof import('ant-design-vue/es')['Form']
|
AForm: typeof import('ant-design-vue/es')['Form']
|
||||||
AFormItem: typeof import('ant-design-vue/es')['FormItem']
|
AFormItem: typeof import('ant-design-vue/es')['FormItem']
|
||||||
AInput: typeof import('ant-design-vue/es')['Input']
|
AInput: typeof import('ant-design-vue/es')['Input']
|
||||||
|
AInputPassword: typeof import('ant-design-vue/es')['InputPassword']
|
||||||
AMenu: typeof import('ant-design-vue/es')['Menu']
|
AMenu: typeof import('ant-design-vue/es')['Menu']
|
||||||
AMenuItem: typeof import('ant-design-vue/es')['MenuItem']
|
AMenuItem: typeof import('ant-design-vue/es')['MenuItem']
|
||||||
AModal: typeof import('ant-design-vue/es')['Modal']
|
AModal: typeof import('ant-design-vue/es')['Modal']
|
||||||
@@ -40,12 +41,16 @@ declare module 'vue' {
|
|||||||
ILucideBuilding: typeof import('~icons/lucide/building')['default']
|
ILucideBuilding: typeof import('~icons/lucide/building')['default']
|
||||||
ILucideChevronDown: typeof import('~icons/lucide/chevron-down')['default']
|
ILucideChevronDown: typeof import('~icons/lucide/chevron-down')['default']
|
||||||
ILucideCopy: typeof import('~icons/lucide/copy')['default']
|
ILucideCopy: typeof import('~icons/lucide/copy')['default']
|
||||||
|
ILucideCpu: typeof import('~icons/lucide/cpu')['default']
|
||||||
|
ILucideLoader: typeof import('~icons/lucide/loader')['default']
|
||||||
|
ILucideLock: typeof import('~icons/lucide/lock')['default']
|
||||||
|
ILucideRefreshCw: typeof import('~icons/lucide/refresh-cw')['default']
|
||||||
ILucideRotateCcw: typeof import('~icons/lucide/rotate-ccw')['default']
|
ILucideRotateCcw: typeof import('~icons/lucide/rotate-ccw')['default']
|
||||||
ILucideRotateCw: typeof import('~icons/lucide/rotate-cw')['default']
|
ILucideRotateCw: typeof import('~icons/lucide/rotate-cw')['default']
|
||||||
Lucide: typeof import('./src/components/common/Lucide/index.vue')['default']
|
ILucideShieldCheck: typeof import('~icons/lucide/shield-check')['default']
|
||||||
|
ILucideUser: typeof import('~icons/lucide/user')['default']
|
||||||
RouterLink: typeof import('vue-router')['RouterLink']
|
RouterLink: typeof import('vue-router')['RouterLink']
|
||||||
RouterView: typeof import('vue-router')['RouterView']
|
RouterView: typeof import('vue-router')['RouterView']
|
||||||
Subtitle: typeof import('./src/components/common/Subtitle/index.vue')['default']
|
|
||||||
Title: typeof import('./src/components/common/Title/index.vue')['default']
|
Title: typeof import('./src/components/common/Title/index.vue')['default']
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -130,7 +130,7 @@ fetchBoundEquipmentList()
|
|||||||
<a-col :span="14">
|
<a-col :span="14">
|
||||||
<div class="table-wrapper" ref="customTable">
|
<div class="table-wrapper" ref="customTable">
|
||||||
<a-table :dataSource="equipmentTableData" :columns="equipmentColumns as ColumnsType<EquipmentTableItem>"
|
<a-table :dataSource="equipmentTableData" :columns="equipmentColumns as ColumnsType<EquipmentTableItem>"
|
||||||
:pagination="false" bordered sticky size="middle" :scroll="{ y: tableHeight }" :loading="loadingEquipmentTableData">
|
:pagination="false" bordered sticky :scroll="{ y: tableHeight }" :loading="loadingEquipmentTableData">
|
||||||
<template #bodyCell="{ column, index, record }">
|
<template #bodyCell="{ column, index, record }">
|
||||||
<template v-if="column.key === 'index'">{{ index + 1 }}</template>
|
<template v-if="column.key === 'index'">{{ index + 1 }}</template>
|
||||||
<template v-if="column.key === 'action'">
|
<template v-if="column.key === 'action'">
|
||||||
|
|||||||
@@ -140,7 +140,7 @@ fetchBoundMaskList()
|
|||||||
<a-button size="large" @click="() => openMaskModal = true">绑定治具组合</a-button>
|
<a-button size="large" @click="() => openMaskModal = true">绑定治具组合</a-button>
|
||||||
<div class="table-wrapper" ref="customTable">
|
<div class="table-wrapper" ref="customTable">
|
||||||
<a-table :dataSource="maskTableData" :columns="maskColumns as ColumnsType<MaskTableItem>"
|
<a-table :dataSource="maskTableData" :columns="maskColumns as ColumnsType<MaskTableItem>"
|
||||||
:pagination="false" bordered sticky size="middle" :scroll="{ y: tableHeight }" :loading="loadingMask">
|
:pagination="false" bordered sticky :scroll="{ y: tableHeight }" :loading="loadingMask">
|
||||||
<template #bodyCell="{ column, index, record }">
|
<template #bodyCell="{ column, index, record }">
|
||||||
<template v-if="column.key === 'index'">{{ index + 1 }}</template>
|
<template v-if="column.key === 'index'">{{ index + 1 }}</template>
|
||||||
<template v-if="column.key === 'action'">
|
<template v-if="column.key === 'action'">
|
||||||
|
|||||||
Reference in New Issue
Block a user