Vue.component('a-d-b-wohneinheit-duplicate', { //language=Vue template: ` `, data() { return { window: window, markedForDeletion: [], DuplicateHomesTableConfig: { key: 'DuplicateHomesTable', tableHeader: 'Datenqualitäts-Checks', defaultPageSize: 10, headers: [ {text: 'Netzgebiet', key: 'netzgebiet_id', sortable: true, class: 'text-nowrap', priority: 11, filter: 'select', filterOptions: window['TT_CONFIG']['ADB_NETZGEBIETE']}, {text: 'Firma', key: 'netzgebiet_owner', sortable: true, class: 'text-nowrap', priority: 11, filter: 'select', filterOptions: window['TT_CONFIG']['NETWORK_OWNERS']}, {text: 'HomeID/OAID', key: 'extref', sortable: true, class: 'text-nowrap', priority: 10}, {text: 'Check-Typ', key: 'duplicateType', sortable: true, class: 'text-nowrap', priority: 9, filter: 'select', filterOptions: [ {text: 'HomeID', value: 'extref'}, {text: 'OAID', value: 'oaid'}, {text: 'RIMO gelöscht', value: 'rimo_deleted'}, {text: 'Unsch. + BE', value: 'rml_unscheduled_with_order'}, {text: 'Greenfield + BE', value: 'greenfield_with_order'}, ]}, {text: 'Anz. HomeIDs', key: 'count', sortable: true, class: 'text-center', priority: 8}, { text: 'Home Details', key: 'homeDetails', sortable: false, class: 'w-75', filter: false, priority: 7 }, ], }, } }, methods: { formatDate(timestamp) { if (!timestamp) return 'N/A'; return this.window.moment.unix(timestamp).format('DD.MM.YYYY HH:mm:ss'); }, }, })