diff --git a/src/components/home/MenuItem.vue b/src/components/home/MenuItem.vue
index 98a33b0d..4c1df5ba 100644
--- a/src/components/home/MenuItem.vue
+++ b/src/components/home/MenuItem.vue
@@ -1,9 +1,13 @@
@@ -28,6 +36,7 @@ defineProps<{
v-for="(v, i) in list"
:key="i"
:bordered="$q.dark.isActive"
+ @click="navigateTo(v.value)"
>
+Branch Management
diff --git a/src/pages/02_personnel-management/MainPage.vue b/src/pages/02_personnel-management/MainPage.vue
new file mode 100644
index 00000000..47495eb2
--- /dev/null
+++ b/src/pages/02_personnel-management/MainPage.vue
@@ -0,0 +1,2 @@
+
+Personnel Management
diff --git a/src/pages/MainPage.vue b/src/pages/MainPage.vue
index 5089fab0..80c434b5 100644
--- a/src/pages/MainPage.vue
+++ b/src/pages/MainPage.vue
@@ -6,101 +6,114 @@ import UsersDetailCardComponent from 'components/UsersDetailCardComponent.vue';
const menu = [
{
- icon: 'mdi-home',
+ value: 'branch-management',
+ icon: 'mdi-chart-donut',
color: 'green',
- title: 'Home',
- caption: 'Home Caption',
+ title: 'จัดการสาขา',
+ caption: 'จัดการสาขาภายในองค์กร',
},
{
- icon: 'mdi-home',
- color: 'red',
- title: 'Home',
- caption: 'Home Caption',
- },
- {
- icon: 'mdi-home',
- color: 'orange',
- title: 'Home',
- caption: 'Home Caption',
- },
- {
- icon: 'mdi-home',
+ value: 'personnel-management',
+ icon: 'mdi-account',
color: 'cyan',
- title: 'Home',
- caption: 'Home Caption',
+ title: 'จัดการบุคลากร',
+ caption: 'จัดการคนภายในองค์กร',
},
{
- icon: 'mdi-home',
- color: 'camo',
- title: 'Home',
- caption: 'Home Caption',
+ value: '',
+ icon: 'mdi-account',
+ color: 'cyan',
+ title: 'จัดการลูกค้า',
+ caption: 'จัดการคนภายในองค์กร',
},
{
- icon: 'mdi-home',
- color: 'purple',
- title: 'Home',
- caption: 'Home Caption',
+ value: '',
+ icon: 'mdi-truck',
+ color: 'orange',
+ title: 'สินค้าและบริการ',
+ caption: 'รายการสินค้าและบริการ',
},
{
- icon: 'mdi-home',
+ value: '',
+ icon: 'mdi-file-document',
color: 'violet',
- title: 'Home',
- caption: 'Home Caption',
+ title: 'ใบเสนอราคา',
+ caption: 'รายการใบเสนอราคา',
},
{
- icon: 'mdi-home',
- color: 'indigo',
- title: 'Home',
- caption: 'Home Caption',
+ value: '',
+ icon: 'mdi-monitor',
+ color: 'purple',
+ title: 'รายการคำขอ',
+ caption: 'แสดงรายการคำขอ',
},
{
- icon: 'mdi-home',
+ value: '',
+ icon: 'mdi-receipt-text',
+ color: 'red',
+ title: 'ใบสั่งซื้อ',
+ caption: 'รายการใบสั่งซื้อ',
+ },
+ {
+ value: '',
+ icon: 'mdi-package',
+ color: 'camo',
+ title: 'ใบรับสินค้า',
+ caption: 'รายการใบรับสินค้า',
+ },
+ {
+ value: '',
+ icon: 'mdi-currency-usd',
color: 'lime',
- title: 'Home',
- caption: 'Home Caption',
+ title: 'การจัดการการเงิน',
+ caption: 'รายการบัญชีทั้งหมด',
+ },
+ {
+ value: '',
+ icon: 'mdi-view-dashboard',
+ color: 'cyan',
+ title: 'Dashboard',
+ caption: 'แสดงข้อมูลสถิติ',
+ },
+ {
+ value: '',
+ icon: 'mdi-file-document',
+ color: 'indigo',
+ title: 'รายงาน',
+ caption: 'แสดงรายงาน',
},
] satisfies InstanceType['$props']['list'];
-const person = [
- {
- name: 'Person 1',
- badge: 'Badge 1',
- detail: [
- { label: 'Label 1', value: 'Detail 1' },
- { label: 'Label 2', value: 'Detail 2' },
- ],
- male: true,
- },
- {
- name: 'Person 1',
- badge: 'Badge 1',
- detail: [
- { label: 'Label 1', value: 'Detail 1' },
- { label: 'Label 2', value: 'Detail 2' },
- { label: 'Label 3', value: 'Detail 3' },
- ],
- female: true,
- },
-] satisfies InstanceType['$props']['list'];
-
-const input = ref('');
+// const person = [
+// {
+// name: 'Person 1',
+// badge: 'Badge 1',
+// detail: [
+// { label: 'Label 1', value: 'Detail 1' },
+// { label: 'Label 2', value: 'Detail 2' },
+// ],
+// male: true,
+// },
+// {
+// name: 'Person 1',
+// badge: 'Badge 1',
+// detail: [
+// { label: 'Label 1', value: 'Detail 1' },
+// { label: 'Label 2', value: 'Detail 2' },
+// { label: 'Label 3', value: 'Detail 3' },
+// ],
+// female: true,
+// },
+// ] satisfies InstanceType['$props']['list'];
-
-
-
-
+
-
+