โครงาการ => ลักษณะโครงการ
This commit is contained in:
parent
3d60f25246
commit
b9dd4c8533
3 changed files with 60 additions and 68 deletions
|
|
@ -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();
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue