fix(development): path API profile/development

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-10-03 16:13:35 +07:00
parent d38f488935
commit 17afb2ed0d
3 changed files with 13 additions and 8 deletions

View file

@ -8,10 +8,7 @@ import config from "@/app.config";
import { useCounterMixin } from "@/stores/mixin";
import { usePagination } from "@/composables/usePagination";
import type {
DataOption,
FormFilter,
} from "@/modules/15_development/interface/index/Main";
import type { DataOption } from "@/modules/15_development/interface/index/Main";
import Header from "@/components/DialogHeader.vue";
@ -146,13 +143,19 @@ function closeDialog() {
rows.value = [];
selected.value = [];
inputSearch.value = "";
pagination.value = {
page: 1,
rowsPerPage: 10,
rowsNumber: 0,
sortBy: "",
};
}
/** ดึงข้อมูลตาม keyword */
async function searchFilter() {
showLoader();
await http
.get(config.API.registryNew(""), {
.get(config.API.developmentProfile, {
params: {
...params.value,
searchField: search.value,