Introduced Paginated Data, Listing to StandardEntitys
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user