fix: page table default params
This commit is contained in:
parent
9288341c85
commit
6f098cd5c0
@ -22,9 +22,6 @@ const gridOptions: VxeGridProps = {
|
|||||||
isHover: true,
|
isHover: true,
|
||||||
keyField: 'tokenId',
|
keyField: 'tokenId',
|
||||||
},
|
},
|
||||||
round: true,
|
|
||||||
align: 'center',
|
|
||||||
showOverflow: true,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const [BasicTable, tableApi] = useVbenVxeGrid({ gridOptions });
|
const [BasicTable, tableApi] = useVbenVxeGrid({ gridOptions });
|
||||||
|
@ -67,9 +67,6 @@ const gridOptions: VxeGridProps = {
|
|||||||
isHover: true,
|
isHover: true,
|
||||||
keyField: 'id',
|
keyField: 'id',
|
||||||
},
|
},
|
||||||
round: true,
|
|
||||||
align: 'center',
|
|
||||||
showOverflow: true,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const checked = ref(false);
|
const checked = ref(false);
|
||||||
|
@ -54,9 +54,7 @@ const gridOptions: VxeGridProps = {
|
|||||||
isHover: true,
|
isHover: true,
|
||||||
keyField: 'id',
|
keyField: 'id',
|
||||||
},
|
},
|
||||||
round: true,
|
|
||||||
align: 'center',
|
|
||||||
showOverflow: true,
|
|
||||||
treeConfig: {
|
treeConfig: {
|
||||||
parentField: 'parentId',
|
parentField: 'parentId',
|
||||||
rowField: 'id',
|
rowField: 'id',
|
||||||
|
@ -73,9 +73,6 @@ const gridOptions: VxeGridProps = {
|
|||||||
isHover: true,
|
isHover: true,
|
||||||
keyField: 'infoId',
|
keyField: 'infoId',
|
||||||
},
|
},
|
||||||
round: true,
|
|
||||||
align: 'center',
|
|
||||||
showOverflow: true,
|
|
||||||
id: 'monitor-logininfo-index',
|
id: 'monitor-logininfo-index',
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -39,9 +39,6 @@ const gridOptions: VxeGridProps = {
|
|||||||
isHover: true,
|
isHover: true,
|
||||||
keyField: 'tokenId',
|
keyField: 'tokenId',
|
||||||
},
|
},
|
||||||
round: true,
|
|
||||||
align: 'center',
|
|
||||||
showOverflow: true,
|
|
||||||
id: 'monitor-online-index',
|
id: 'monitor-online-index',
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -87,9 +87,6 @@ const gridOptions: VxeGridProps<OperationLog> = {
|
|||||||
sortConfig: {
|
sortConfig: {
|
||||||
remote: true,
|
remote: true,
|
||||||
},
|
},
|
||||||
round: true,
|
|
||||||
align: 'center',
|
|
||||||
showOverflow: true,
|
|
||||||
id: 'monitor-operlog-index',
|
id: 'monitor-operlog-index',
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -60,9 +60,6 @@ const gridOptions: VxeGridProps = {
|
|||||||
keyField: 'id',
|
keyField: 'id',
|
||||||
height: 90,
|
height: 90,
|
||||||
},
|
},
|
||||||
round: true,
|
|
||||||
align: 'center',
|
|
||||||
showOverflow: true,
|
|
||||||
id: 'system-client-index',
|
id: 'system-client-index',
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -70,9 +70,6 @@ const gridOptions: VxeGridProps = {
|
|||||||
isHover: true,
|
isHover: true,
|
||||||
keyField: 'configId',
|
keyField: 'configId',
|
||||||
},
|
},
|
||||||
round: true,
|
|
||||||
align: 'center',
|
|
||||||
showOverflow: true,
|
|
||||||
id: 'system-config-index',
|
id: 'system-config-index',
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -64,9 +64,7 @@ const gridOptions: VxeGridProps = {
|
|||||||
isHover: true,
|
isHover: true,
|
||||||
keyField: 'deptId',
|
keyField: 'deptId',
|
||||||
},
|
},
|
||||||
round: true,
|
|
||||||
align: 'center',
|
|
||||||
showOverflow: true,
|
|
||||||
treeConfig: {
|
treeConfig: {
|
||||||
parentField: 'parentId',
|
parentField: 'parentId',
|
||||||
rowField: 'deptId',
|
rowField: 'deptId',
|
||||||
|
@ -79,9 +79,6 @@ const gridOptions: VxeGridProps = {
|
|||||||
isHover: true,
|
isHover: true,
|
||||||
keyField: 'dictCode',
|
keyField: 'dictCode',
|
||||||
},
|
},
|
||||||
round: true,
|
|
||||||
align: 'center',
|
|
||||||
showOverflow: true,
|
|
||||||
id: 'system-dict-data-index',
|
id: 'system-dict-data-index',
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -84,9 +84,6 @@ const gridOptions: VxeGridProps = {
|
|||||||
isHover: true,
|
isHover: true,
|
||||||
keyField: 'dictId',
|
keyField: 'dictId',
|
||||||
},
|
},
|
||||||
round: true,
|
|
||||||
align: 'center',
|
|
||||||
showOverflow: true,
|
|
||||||
id: 'system-dict-type-index',
|
id: 'system-dict-type-index',
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -61,9 +61,7 @@ const gridOptions: VxeGridProps = {
|
|||||||
isHover: true,
|
isHover: true,
|
||||||
keyField: 'menuId',
|
keyField: 'menuId',
|
||||||
},
|
},
|
||||||
round: true,
|
|
||||||
align: 'center',
|
|
||||||
showOverflow: true,
|
|
||||||
treeConfig: {
|
treeConfig: {
|
||||||
parentField: 'parentId',
|
parentField: 'parentId',
|
||||||
rowField: 'menuId',
|
rowField: 'menuId',
|
||||||
|
@ -66,9 +66,6 @@ const gridOptions: VxeGridProps = {
|
|||||||
isHover: true,
|
isHover: true,
|
||||||
keyField: 'noticeId',
|
keyField: 'noticeId',
|
||||||
},
|
},
|
||||||
round: true,
|
|
||||||
align: 'center',
|
|
||||||
showOverflow: true,
|
|
||||||
id: 'system-notice-index',
|
id: 'system-notice-index',
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -69,9 +69,6 @@ const gridOptions: VxeGridProps = {
|
|||||||
isHover: true,
|
isHover: true,
|
||||||
keyField: 'ossConfigId',
|
keyField: 'ossConfigId',
|
||||||
},
|
},
|
||||||
round: true,
|
|
||||||
align: 'center',
|
|
||||||
showOverflow: true,
|
|
||||||
id: 'system-oss-config-index',
|
id: 'system-oss-config-index',
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -89,9 +89,6 @@ const gridOptions: VxeGridProps = {
|
|||||||
sortConfig: {
|
sortConfig: {
|
||||||
remote: true,
|
remote: true,
|
||||||
},
|
},
|
||||||
round: true,
|
|
||||||
align: 'center',
|
|
||||||
showOverflow: true,
|
|
||||||
id: 'system-oss-index',
|
id: 'system-oss-index',
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -83,9 +83,6 @@ const gridOptions: VxeGridProps = {
|
|||||||
isHover: true,
|
isHover: true,
|
||||||
keyField: 'postId',
|
keyField: 'postId',
|
||||||
},
|
},
|
||||||
round: true,
|
|
||||||
align: 'center',
|
|
||||||
showOverflow: true,
|
|
||||||
id: 'system-post-index',
|
id: 'system-post-index',
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -59,9 +59,6 @@ const gridOptions: VxeGridProps = {
|
|||||||
isHover: true,
|
isHover: true,
|
||||||
keyField: 'userId',
|
keyField: 'userId',
|
||||||
},
|
},
|
||||||
round: true,
|
|
||||||
align: 'center',
|
|
||||||
showOverflow: true,
|
|
||||||
id: 'system-role-assign-index',
|
id: 'system-role-assign-index',
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -60,9 +60,6 @@ const gridOptions: VxeGridProps = {
|
|||||||
isHover: true,
|
isHover: true,
|
||||||
keyField: 'userId',
|
keyField: 'userId',
|
||||||
},
|
},
|
||||||
round: true,
|
|
||||||
align: 'center',
|
|
||||||
showOverflow: true,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const checked = ref(false);
|
const checked = ref(false);
|
||||||
|
@ -89,9 +89,6 @@ const gridOptions: VxeGridProps = {
|
|||||||
isHover: true,
|
isHover: true,
|
||||||
keyField: 'roleId',
|
keyField: 'roleId',
|
||||||
},
|
},
|
||||||
round: true,
|
|
||||||
align: 'center',
|
|
||||||
showOverflow: true,
|
|
||||||
id: 'system-role-index',
|
id: 'system-role-index',
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -78,9 +78,6 @@ const gridOptions: VxeGridProps = {
|
|||||||
isHover: true,
|
isHover: true,
|
||||||
keyField: 'id',
|
keyField: 'id',
|
||||||
},
|
},
|
||||||
round: true,
|
|
||||||
align: 'center',
|
|
||||||
showOverflow: true,
|
|
||||||
id: 'system-tenant-index',
|
id: 'system-tenant-index',
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -75,9 +75,6 @@ const gridOptions: VxeGridProps = {
|
|||||||
isHover: true,
|
isHover: true,
|
||||||
keyField: 'packageId',
|
keyField: 'packageId',
|
||||||
},
|
},
|
||||||
round: true,
|
|
||||||
align: 'center',
|
|
||||||
showOverflow: true,
|
|
||||||
id: 'system-tenant-package-index',
|
id: 'system-tenant-package-index',
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -121,9 +121,6 @@ const gridOptions: VxeGridProps = {
|
|||||||
keyField: 'userId',
|
keyField: 'userId',
|
||||||
height: 48,
|
height: 48,
|
||||||
},
|
},
|
||||||
round: true,
|
|
||||||
align: 'center',
|
|
||||||
showOverflow: true,
|
|
||||||
id: 'system-user-index',
|
id: 'system-user-index',
|
||||||
};
|
};
|
||||||
const checked = ref(false);
|
const checked = ref(false);
|
||||||
|
@ -34,9 +34,6 @@ const gridOptions: VxeGridProps = {
|
|||||||
enabled: true,
|
enabled: true,
|
||||||
},
|
},
|
||||||
data: genInfoData.value.columns,
|
data: genInfoData.value.columns,
|
||||||
round: true,
|
|
||||||
align: 'center',
|
|
||||||
showOverflow: true,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const [BasicTable, tableApi] = useVbenVxeGrid({ gridOptions });
|
const [BasicTable, tableApi] = useVbenVxeGrid({ gridOptions });
|
||||||
|
@ -71,9 +71,6 @@ const gridOptions: VxeGridProps = {
|
|||||||
isHover: true,
|
isHover: true,
|
||||||
keyField: 'tableId',
|
keyField: 'tableId',
|
||||||
},
|
},
|
||||||
round: true,
|
|
||||||
align: 'center',
|
|
||||||
showOverflow: true,
|
|
||||||
id: 'tool-gen-index',
|
id: 'tool-gen-index',
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -84,9 +84,6 @@ const gridOptions: VxeGridProps = {
|
|||||||
isHover: true,
|
isHover: true,
|
||||||
keyField: 'tableId',
|
keyField: 'tableId',
|
||||||
},
|
},
|
||||||
round: true,
|
|
||||||
align: 'center',
|
|
||||||
showOverflow: true,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const [BasicTable, tableApi] = useVbenVxeGrid({ formOptions, gridOptions });
|
const [BasicTable, tableApi] = useVbenVxeGrid({ formOptions, gridOptions });
|
||||||
|
Loading…
Reference in New Issue
Block a user