|
|
@ -75,8 +75,7 @@ const onEdit = (targetKey: number, action: string) => { |
|
|
|
v-if="isUIAllowed('csvImport')" |
|
|
|
v-if="isUIAllowed('csvImport')" |
|
|
|
key="quick-import-csv" |
|
|
|
key="quick-import-csv" |
|
|
|
v-t="['a:actions:import-csv']" |
|
|
|
v-t="['a:actions:import-csv']" |
|
|
|
@click="fileImportDialog = true" |
|
|
|
@click="fileImportDialog = true; importType = 'csv';" |
|
|
|
importType="csv" |
|
|
|
|
|
|
|
> |
|
|
|
> |
|
|
|
<span class="flex items-center gap-2"> |
|
|
|
<span class="flex items-center gap-2"> |
|
|
|
<MdiCsvIcon class="text-primary" /> |
|
|
|
<MdiCsvIcon class="text-primary" /> |
|
|
@ -88,8 +87,7 @@ const onEdit = (targetKey: number, action: string) => { |
|
|
|
v-if="isUIAllowed('jsonImport')" |
|
|
|
v-if="isUIAllowed('jsonImport')" |
|
|
|
key="quick-import-json" |
|
|
|
key="quick-import-json" |
|
|
|
v-t="['a:actions:import-json']" |
|
|
|
v-t="['a:actions:import-json']" |
|
|
|
@click="fileImportDialog = true" |
|
|
|
@click="fileImportDialog = true; importType = 'json';" |
|
|
|
importType="json" |
|
|
|
|
|
|
|
> |
|
|
|
> |
|
|
|
<span class="flex items-center gap-2"> |
|
|
|
<span class="flex items-center gap-2"> |
|
|
|
<MdiJSONIcon class="text-primary" /> |
|
|
|
<MdiJSONIcon class="text-primary" /> |
|
|
@ -101,8 +99,8 @@ const onEdit = (targetKey: number, action: string) => { |
|
|
|
v-if="isUIAllowed('excelImport')" |
|
|
|
v-if="isUIAllowed('excelImport')" |
|
|
|
key="quick-import-excel" |
|
|
|
key="quick-import-excel" |
|
|
|
v-t="['a:actions:import-excel']" |
|
|
|
v-t="['a:actions:import-excel']" |
|
|
|
@click="fileImportDialog = true" |
|
|
|
@click="fileImportDialog = true; importType = 'excel'" |
|
|
|
importType="excel" |
|
|
|
|
|
|
|
> |
|
|
|
> |
|
|
|
<span class="flex items-center gap-2"> |
|
|
|
<span class="flex items-center gap-2"> |
|
|
|
<MdiExcelIcon class="text-primary" /> |
|
|
|
<MdiExcelIcon class="text-primary" /> |
|
|
|