diff --git a/src/components/CardLocation.vue b/src/components/CardLocation.vue index dbda61b..4ad2d2a 100644 --- a/src/components/CardLocation.vue +++ b/src/components/CardLocation.vue @@ -1,7 +1,7 @@ + + + + \ No newline at end of file diff --git a/src/components/FormChangePassword.vue b/src/components/FormChangePassword.vue new file mode 100644 index 0000000..b542f0c --- /dev/null +++ b/src/components/FormChangePassword.vue @@ -0,0 +1,144 @@ + + + + + \ No newline at end of file diff --git a/src/views/CarriersView.vue b/src/views/CarriersView.vue index f2b3ec7..15bc52b 100644 --- a/src/views/CarriersView.vue +++ b/src/views/CarriersView.vue @@ -17,7 +17,7 @@ import Pagination from '../components/Pagination.vue'; const selectedCities = ref([]); const filterQuery = ref([]); - const limit = 5; + const limit = 10; onMounted(() => { filterQuery.value.company_type = 'carrier'; diff --git a/src/views/EditProfileView.vue b/src/views/EditProfileView.vue index d3f7ed2..60822d0 100644 --- a/src/views/EditProfileView.vue +++ b/src/views/EditProfileView.vue @@ -5,6 +5,8 @@ import CustomInput from '../components/ui/CustomInput.vue'; import { storeToRefs } from 'pinia'; import NotificationBadge from '../components/ui/NotificationBadge.vue'; + import FormChangePassword from '../components/FormChangePassword.vue'; +import FormChangeEmail from '../components/FormChangeEmail.vue'; const auth = useAuthStore(); @@ -13,6 +15,7 @@ const loading = ref(false) const msgError = ref(''); const msgSuccess = ref(''); + const form = ref(0); const userForm = reactive({ name: '', @@ -36,6 +39,7 @@ userForm.name = user.value?.first_name userForm.lastName = user.value?.last_name userForm.phone1 = user.value?.phone + } const handleSave = async() => { @@ -82,18 +86,38 @@ } } + const setForm = (val) => { + form.value = val + } + @@ -135,11 +161,16 @@ /* .profile { margin: 0 auto; } */ + .box-btns { display: flex; justify-content: flex-end; gap: 2rem; } + + .selection { + color: #333; + } .form-content { margin-top: 1rem; max-width: 768px; diff --git a/src/views/LoadsPublishedView.vue b/src/views/LoadsPublishedView.vue index 80ef112..aa6b5e2 100644 --- a/src/views/LoadsPublishedView.vue +++ b/src/views/LoadsPublishedView.vue @@ -13,7 +13,7 @@ const loading = ref(false); const query = ref(''); const filterQuery = ref([]); - const limit = 5; + const limit = 10; onMounted(() =>{ console.log('init') diff --git a/src/views/LocationsView.vue b/src/views/LocationsView.vue index 2c88636..9a7b40c 100644 --- a/src/views/LocationsView.vue +++ b/src/views/LocationsView.vue @@ -19,7 +19,7 @@ getInitData(); }) - const limit = 5; + const limit = 10; const getInitData = async() => { loading.value = true; diff --git a/src/views/ShippersView.vue b/src/views/ShippersView.vue index 0844908..73b55cd 100644 --- a/src/views/ShippersView.vue +++ b/src/views/ShippersView.vue @@ -17,7 +17,7 @@ const selectedCities = ref([]); const filterQuery = ref([]); - const limit = 5; + const limit = 10; onMounted(() => { filterQuery.value.company_type = 'shipper'; diff --git a/src/views/TrucksPublishedView.vue b/src/views/TrucksPublishedView.vue index ab26fe8..dccb251 100644 --- a/src/views/TrucksPublishedView.vue +++ b/src/views/TrucksPublishedView.vue @@ -12,7 +12,7 @@ const proposalCurrent = ref(null); const openModal = ref(false); const openModalProposal = ref(false); - const limit = 5; + const limit = 10; onMounted(() =>{ getInitData(); diff --git a/src/views/UsersView.vue b/src/views/UsersView.vue index 19a80aa..d1c5695 100644 --- a/src/views/UsersView.vue +++ b/src/views/UsersView.vue @@ -16,7 +16,7 @@ import { useAuthStore } from '../stores/auth'; const currentUser = ref(null); const openModal = ref(false); - const limit = 3; + const limit = 10; const getInitData = async() => { console.log('callll') diff --git a/src/views/VehiclesView.vue b/src/views/VehiclesView.vue index 38b737c..fd2fa50 100644 --- a/src/views/VehiclesView.vue +++ b/src/views/VehiclesView.vue @@ -21,7 +21,7 @@ const editStatusVehicle = ref(false); const editDriverVehicle = ref(false); - const limit = 3; + const limit = 10; onMounted(() => { getInitData();