diff --git a/src/components/common/VnTable.vue b/src/components/common/VnTable.vue new file mode 100644 index 0000000000..a537c5215a --- /dev/null +++ b/src/components/common/VnTable.vue @@ -0,0 +1,243 @@ + + + + + + + + + + + + + + + + + {{ col.label }} + + + + + + + + {{ row[col.field] }} + + + + + + 1234123 + + + + + + {{ prop[0] }} : {{ prop[1] }} + + + + + + + + + + diff --git a/src/pages/Customer/ExtendedList/CustomerExtendedList.vue b/src/pages/Customer/ExtendedList/CustomerExtendedList.vue index a24d3211ae..789e908345 100644 --- a/src/pages/Customer/ExtendedList/CustomerExtendedList.vue +++ b/src/pages/Customer/ExtendedList/CustomerExtendedList.vue @@ -2,6 +2,8 @@ import { ref, computed, onBeforeMount, onMounted } from 'vue'; import { useI18n } from 'vue-i18n'; import { useRouter } from 'vue-router'; +import VnInput from 'src/components/common/VnInput.vue'; +import VnTable from 'components/common/VnTable.vue'; import { QBtn, QIcon } from 'quasar'; import WorkerDescriptorProxy from 'src/pages/Worker/Card/WorkerDescriptorProxy.vue'; @@ -266,28 +268,30 @@ const tableColumnComponents = { const columns = computed(() => [ { align: 'left', - field: '', - label: '', + field: 'customerStatus', + label: 'customerStatus', name: 'customerStatus', - format: () => ' ', }, { align: 'left', field: 'id', label: t('customer.extendedList.tableVisibleColumns.id'), name: 'id', + isId: true, }, { align: 'left', field: 'name', label: t('customer.extendedList.tableVisibleColumns.name'), name: 'name', + cardVisible: true, }, { align: 'left', field: 'fi', label: t('customer.extendedList.tableVisibleColumns.fi'), name: 'fi', + cardVisible: true, }, { align: 'left', @@ -494,7 +498,7 @@ const selectSalesPersonId = (id) => (selectedSalesPersonId.value = id); /> - + - - navigateToTravelId(row.id)" - > + navigateToTravelId(row.id)" + > + +