Introduced Paginated Data, Listing to StandardEntitys

This commit is contained in:
2025-10-14 15:13:30 +02:00
parent 2d332f1ded
commit 9658ad621a
5 changed files with 546 additions and 5 deletions

View File

@@ -214,7 +214,8 @@ export const useDataStore = defineStore('data', () => {
},
inputColumn: "Allgemeines",
sortable: true,
maxLength: 20
maxLength: 20,
distinct: true,
}, {
key: "nameAddition",
label: "Firmenname Zusatz",
@@ -226,7 +227,8 @@ export const useDataStore = defineStore('data', () => {
return item.isCompany
},
inputColumn: "Allgemeines",
maxLength: 20
maxLength: 20,
distinct: true,
},{
key: "salutation",
label: "Anrede",
@@ -253,7 +255,8 @@ export const useDataStore = defineStore('data', () => {
return !item.isCompany
},
inputColumn: "Allgemeines",
sortable: true
sortable: true,
distinct: true
},{
key: "title",
label: "Titel",

View File

@@ -6,6 +6,7 @@ export const useTempStore = defineStore('temp', () => {
const searchStrings = ref({})
const filters = ref({})
const columns = ref({})
const pages = ref({})
function modifySearchString(type,input) {
searchStrings.value[type] = input
@@ -23,6 +24,10 @@ export const useTempStore = defineStore('temp', () => {
columns.value[type] = input
}
function modifyPages(type,input) {
pages.value[type] = input
}
return {
searchStrings,
@@ -32,6 +37,8 @@ export const useTempStore = defineStore('temp', () => {
modifyFilter,
columns,
modifyColumns,
modifyPages,
pages
}