โครงาการ => ลักษณะโครงการ

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-04-17 15:07:21 +07:00
parent 3d60f25246
commit b9dd4c8533
3 changed files with 60 additions and 68 deletions

View file

@ -40,30 +40,7 @@ const ListMenu = ref<ItemsMenu[]>([
},
]);
const nodes = ref<any>([
// {
// orgTreeName: " 20 3",
// level: "0",
// children: [
// {
// orgTreeName: " 1",
// level: "1",
// children: [
// {
// orgTreeName: " 2",
// level: "2",
// children: [
// {
// orgTreeName: " 3",
// level: "3",
// },
// ],
// },
// ],
// },
// ],
// },
]);
const nodes = ref<any>([]);
const filter = ref<string>("");
const notFound = ref<string>("ไม่พบข้อมูลที่ค้นหา");
const noData = ref<string>("ไม่มีข้อมูล");
@ -78,7 +55,9 @@ function fetchDataTree() {
const data = res.data.result;
nodes.value = data;
})
.catch((err) => {})
.catch((err) => {
messageError($q, err);
})
.finally(() => {
hideLoader();
});