Dateimodal überarbeiten und Dateitypen pflegen
This commit is contained in:
@@ -2337,6 +2337,66 @@ export const useDataStore = defineStore('data', () => {
|
||||
labelSingle: "Datei",
|
||||
selectWithInformation: "*",
|
||||
},
|
||||
filetags: {
|
||||
isArchivable: true,
|
||||
label: "Dateitypen",
|
||||
labelSingle: "Dateityp",
|
||||
isStandardEntity: true,
|
||||
redirect: true,
|
||||
inputColumns: [
|
||||
"Allgemeines",
|
||||
"Automatik",
|
||||
],
|
||||
filters: [{
|
||||
name: "Archivierte ausblenden",
|
||||
default: true,
|
||||
"filterFunction": function (row) {
|
||||
return !row.archived
|
||||
}
|
||||
}],
|
||||
canArchiveFunction: function (row) {
|
||||
return !row.isSystemUsed
|
||||
},
|
||||
templateColumns: [
|
||||
{
|
||||
key: "name",
|
||||
label: "Name",
|
||||
title: true,
|
||||
required: true,
|
||||
inputType: "text",
|
||||
inputColumn: "Allgemeines",
|
||||
sortable: true,
|
||||
},
|
||||
{
|
||||
key: "color",
|
||||
label: "Farbe",
|
||||
inputType: "text",
|
||||
inputColumn: "Allgemeines",
|
||||
},
|
||||
{
|
||||
key: "createdDocumentType",
|
||||
label: "Ausgangsbeleg-Typ",
|
||||
inputType: "text",
|
||||
inputColumn: "Automatik",
|
||||
},
|
||||
{
|
||||
key: "incomingDocumentType",
|
||||
label: "Eingangsbeleg-Typ",
|
||||
inputType: "text",
|
||||
inputColumn: "Automatik",
|
||||
},
|
||||
{
|
||||
key: "isSystemUsed",
|
||||
label: "Systemtyp",
|
||||
inputType: "bool",
|
||||
inputColumn: "Automatik",
|
||||
disabledFunction: function () {
|
||||
return true
|
||||
}
|
||||
},
|
||||
],
|
||||
showTabs: [{label: "Informationen"}]
|
||||
},
|
||||
folders: {
|
||||
isArchivable: true,
|
||||
label: "Ordner",
|
||||
|
||||
Reference in New Issue
Block a user