feat: 新增系统全局分页size配置,可根据屏幕大小自行设置

This commit is contained in:
meilin.huang
2023-11-29 17:34:54 +08:00
parent c7bab3a71b
commit e221c2f42e
19 changed files with 151 additions and 130 deletions

View File

@@ -242,7 +242,7 @@ const state = reactive({
tags: [] as any,
params: {
pageNum: 1,
pageSize: 10,
pageSize: 0,
ip: null,
name: null,
tagPath: null,

View File

@@ -38,7 +38,7 @@ import { AuthMethodEnum } from '../enums';
const state = reactive({
query: {
pageNum: 1,
pageSize: 10,
pageSize: 0,
name: null,
},
queryConfig: [TableQuery.text('name', '凭证名称')],
@@ -105,7 +105,9 @@ const deleteAc = async (data: any) => {
await authCertApi.delete.request({ id: data.map((x: any) => x.id).join(',') });
ElMessage.success('删除成功');
search();
} catch (err) {}
} catch (err) {
//
}
};
</script>
<style lang="scss"></style>

View File

@@ -69,7 +69,7 @@ const columns = ref([
const state = reactive({
params: {
pageNum: 1,
pageSize: 10,
pageSize: 0,
ip: null,
name: null,
},
@@ -121,7 +121,9 @@ const deleteCronJob = async () => {
await cronJobApi.delete.request({ id: state.selectionData.map((x: any) => x.id).join(',') });
ElMessage.success('操作成功');
search();
} catch (err) {}
} catch (err) {
//
}
};
/**