enhanced duplicate finder
This commit is contained in:
@@ -5,7 +5,7 @@ Vue.component('a-d-b-wohneinheit-duplicate', {
|
||||
<tt-table :data="window['TT_CONFIG']['DUPLICATE_HOMES']" :config="DuplicateHomesTableConfig" excel-export>
|
||||
|
||||
<template v-slot:extref="{ row }">
|
||||
<span class="badge badge-warning">{{ row.extref }}</span>
|
||||
<span class="badge badge-warning">{{ row.duplicateType === 'extref' ? row.extref : row.oaid }}</span>
|
||||
</template>
|
||||
|
||||
<template v-slot:count="{ row }">
|
||||
@@ -19,6 +19,8 @@ Vue.component('a-d-b-wohneinheit-duplicate', {
|
||||
<tr>
|
||||
<th>ID</th>
|
||||
<th>OAID</th>
|
||||
<th>SDIBuilding</th>
|
||||
<th>Firma</th>
|
||||
<th>Num</th>
|
||||
<th>Nutzung</th>
|
||||
<th>Rimo Ex State</th>
|
||||
@@ -32,6 +34,8 @@ Vue.component('a-d-b-wohneinheit-duplicate', {
|
||||
<tr v-for="home in row.homeData" :key="home.id" :class="{'bg-light': home.id % 2 === 0}">
|
||||
<td>{{ home.id }}</td>
|
||||
<td>{{ home.oaid || 'N/A' }}</td>
|
||||
<td>{{ home.hausnummer_extref || 'N/A' }}</td>
|
||||
<td>{{ home.network_company || 'N/A' }}</td>
|
||||
<td>{{ home.num }}</td>
|
||||
<td>{{ home.nutzung || 'N/A' }}</td>
|
||||
<td>{{ home.rimo_ex_state || 'N/A' }}</td>
|
||||
@@ -65,15 +69,19 @@ Vue.component('a-d-b-wohneinheit-duplicate', {
|
||||
tableHeader: 'Doppelte HomeID Liste',
|
||||
defaultPageSize: 10,
|
||||
headers: [
|
||||
{text: 'HomeID', key: 'extref', sortable: true, class: 'text-nowrap', priority: 10},
|
||||
{text: 'Anzahl gleicher HomeIDs', key: 'count', sortable: true, class: 'text-center', priority: 9},
|
||||
{text: 'HomeID | OAID', key: 'extref', sortable: true, class: 'text-nowrap', priority: 10},
|
||||
{text: 'Duplicate Type', key: 'duplicateType', sortable: true, class: 'text-nowrap', priority: 9, filter: 'select', filterOptions: [
|
||||
{text: 'HomeID', value: 'extref'},
|
||||
{text: 'OAID', value: 'oaid'},
|
||||
]},
|
||||
{text: 'Anzahl gleicher HomeIDs', key: 'count', sortable: true, class: 'text-center', priority: 8},
|
||||
{
|
||||
text: 'Home Details',
|
||||
key: 'homeDetails',
|
||||
sortable: false,
|
||||
class: 'w-75',
|
||||
filter: false,
|
||||
priority: 8
|
||||
priority: 7
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user