diff --git a/src/assets/dataJson/masterData.json b/src/assets/dataJson/masterData.json index 16a5401..a17f99e 100644 --- a/src/assets/dataJson/masterData.json +++ b/src/assets/dataJson/masterData.json @@ -1,5 +1,17 @@ { "ranks": [ + { + "label": "นาย", + "value": "นาย" + }, + { + "label": "นาง", + "value": "นาง" + }, + { + "label": "นางสาว", + "value": "นางสาว" + }, { "label": "ส.ต.ต.", "value": "ส.ต.ต." @@ -102,6 +114,7 @@ } ], "position": [ + { "label": "รอง สว.", "value": "รอง สว." @@ -140,6 +153,10 @@ } ], "Affiliation": [ + { + "label": "ลูกจ้าง", + "value": "ลูกจ้าง" + }, { "label": "บช.ตซด.", "value": "บช.ตซด." @@ -211,6 +228,7 @@ "name": "อาคารแฟลต 1/11", "room": "24", "floor": "4", + "roomnumber": "12,13", "type": "ช.2" }, { @@ -218,6 +236,7 @@ "name": "อาคารแฟลต 1/12", "room": "20", "floor": "4", + "roomnumber": "12,13", "type": "ช.2" }, { @@ -225,6 +244,7 @@ "name": "อาคารแฟลต 1/13", "room": "24", "floor": "4", + "roomnumber": "12,13", "type": "ช.2" }, { @@ -232,6 +252,7 @@ "name": "อาคารแฟลต 1/14", "room": "18", "floor": "3", + "roomnumber": "12,13", "type": "ช.3" }, { @@ -239,6 +260,7 @@ "name": "อาคารแฟลต 1/15", "room": "32", "floor": "4", + "roomnumber": "12,13", "type": "ช.2" }, { @@ -246,6 +268,7 @@ "name": "อาคารแฟลต 1/16", "room": "24", "floor": "4", + "roomnumber": "12,13", "type": "ช.2" }, { @@ -253,6 +276,7 @@ "name": "อาคารแฟลต 1/17", "room": "32", "floor": "4", + "roomnumber": "12,13", "type": "ช.2" }, { @@ -260,6 +284,7 @@ "name": "อาคารแฟลต 1/18", "room": "60", "floor": "5", + "roomnumber": "12,13", "type": "-" }, { @@ -267,6 +292,7 @@ "name": "แฟลตลือชา 1", "room": "50", "floor": "5", + "roomnumber": "12,13", "type": "-" }, { @@ -274,6 +300,7 @@ "name": "แฟลตลือชา 2", "room": "50", "floor": "5", + "roomnumber": "12,13", "type": "-" }, { @@ -281,6 +308,7 @@ "name": "แฟลตลือชา 3", "room": "40", "floor": "5", + "roomnumber": "12,13", "type": "ช.2" }, { @@ -288,6 +316,7 @@ "name": "แฟลตบางเขน 1", "room": "50", "floor": "5", + "roomnumber": "12,13", "type": "-" }, { @@ -295,49 +324,8 @@ "name": "แฟลตบางเขน 2", "room": "50", "floor": "5", + "roomnumber": "12,13", "type": "ช.2" - }, - { - "buil": "อาคารบ้านพักส่วนกลาง", - "name": "ลือชา ตร.", - "room": "-", - "floor": "-", - "type": "-" - }, - { - "buil": "อาคารบ้านพักส่วนกลาง", - "name": "ทุ่งสองห้อง", - "room": "-", - "floor": "-", - "type": "-" - }, - { - "buil": "อาคารบ้านพักส่วนกลาง", - "name": "วิภาวดี", - "room": "-", - "floor": "-", - "type": "-" - }, - { - "buil": "อาคารบ้านพักส่วนกลาง", - "name": "ถนอมมิตร", - "room": "-", - "floor": "-", - "type": "-" - }, - { - "buil": "อาคารบ้านพักส่วนกลาง", - "name": "อุดมสุข", - "room": "-", - "floor": "-", - "type": "-" - }, - { - "buil": "อาคารบ้านพักส่วนกลาง", - "name": "เฉลิมลาภ", - "room": "-", - "floor": "-", - "type": "-" } ] } \ No newline at end of file diff --git a/src/assets/dataJson/rooms.json b/src/assets/dataJson/rooms.json index 0332188..30d3204 100644 --- a/src/assets/dataJson/rooms.json +++ b/src/assets/dataJson/rooms.json @@ -2,6 +2,7 @@ { "title": "ห้อง 1", "dataIndex": "1", + "ranks": "", "firstName": "", "laststName": "", "Affiliation": "", @@ -10,6 +11,7 @@ { "title": "ห้อง 2", "dataIndex": "2", + "ranks": "ส.ต.ต.", "firstName": "ปิติ2", "laststName": "มีดี", "Affiliation": "ฝอ. 2", @@ -18,6 +20,7 @@ { "title": "ห้อง 3", "dataIndex": "3", + "ranks": "", "firstName": "", "laststName": "", "Affiliation": "", @@ -26,6 +29,7 @@ { "title": "ห้อง 4", "dataIndex": "4", + "ranks": "ส.ต.ต.", "firstName": "ปิติ2", "laststName": "มีดี", "Affiliation": "ฝอ. 1", @@ -34,6 +38,7 @@ { "title": "ห้อง 5", "dataIndex": "5", + "ranks": "ส.ต.ต.", "firstName": "ปิติ3", "laststName": "มีดี", "Affiliation": "ฝอ. 1", @@ -42,6 +47,7 @@ { "title": "ห้อง 6", "dataIndex": "6", + "ranks": "ส.ต.ต.", "firstName": "ปิติ4", "laststName": "มีดี", "Affiliation": "ฝอ. 1", @@ -50,6 +56,7 @@ { "title": "ห้อง 7", "dataIndex": "7", + "ranks": "ส.ต.ต.", "firstName": "ปิติ3", "laststName": "มีดี", "Affiliation": "ฝอ. 1", @@ -58,6 +65,7 @@ { "title": "ห้อง 8", "dataIndex": "8", + "ranks": "ส.ต.ต.", "firstName": "ปิติ9", "laststName": "มีดี", "Affiliation": "ฝอ. 1", @@ -66,6 +74,7 @@ { "title": "ห้อง 9", "dataIndex": "9", + "ranks": "ส.ต.ต.", "firstName": "ปิติ5", "laststName": "มีดี", "Affiliation": "ฝอ. 4", @@ -74,6 +83,7 @@ { "title": "ห้อง 10", "dataIndex": "10", + "ranks": "ส.ต.ต.", "firstName": "ปิติ6", "laststName": "มีดี", "Affiliation": "ฝอ. 7", @@ -82,6 +92,7 @@ { "title": "ห้อง 11", "dataIndex": "11", + "ranks": "", "firstName": "", "laststName": "", "Affiliation": "", @@ -90,6 +101,7 @@ { "title": "ห้อง 12", "dataIndex": "12", + "ranks": "", "firstName": "", "laststName": "", "Affiliation": "", @@ -98,6 +110,7 @@ { "title": "ห้อง 13", "dataIndex": "13", + "ranks": "ส.ต.ต.", "firstName": "ปิติ7", "laststName": "มีดี", "Affiliation": "ฝอ. 2", diff --git a/src/assets/img/accounting.png b/src/assets/img/accounting.png new file mode 100644 index 0000000..0a3444d Binary files /dev/null and b/src/assets/img/accounting.png differ diff --git a/src/main.js b/src/main.js index 43e6b41..3d5162d 100644 --- a/src/main.js +++ b/src/main.js @@ -2,7 +2,7 @@ import { createApp } from "vue"; import { createPinia } from "pinia"; import App from "./App.vue"; import router from "./router"; -import '@trevoreyre/autocomplete-vue/dist/style.css' +// import '@trevoreyre/autocomplete-vue/dist/style.css' // Nucleo Icons import "./assets/css/nucleo-icons.css"; diff --git a/src/router/index.js b/src/router/index.js index d325f63..a26232f 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -33,6 +33,7 @@ import addUserRoom from "../views/Restroom/AddRoom.vue" import Reports from "../views/Reports/ReportlistView.vue" import searchFilter from "../views/SearchAll/SearchView.vue" import Queue from "../views/Queue/QueueView.vue" +import Expenses from "../views/Expenses/ExpensesView.vue" const router = createRouter({ history: createWebHistory(import.meta.env.BASE_URL), routes: [ @@ -76,6 +77,11 @@ const router = createRouter({ name: "searchfilter", component: searchFilter, }, + { + path: "/expenses", + name: "expenses", + component: Expenses, + }, { path: "/queue", name: "queue", diff --git a/src/views/Expenses/ExpensesView.vue b/src/views/Expenses/ExpensesView.vue new file mode 100644 index 0000000..d02e7ca --- /dev/null +++ b/src/views/Expenses/ExpensesView.vue @@ -0,0 +1,503 @@ + + + diff --git a/src/views/Presentation/Sections/PresentationInformation.vue b/src/views/Presentation/Sections/PresentationInformation.vue index 6193eef..c9614ef 100644 --- a/src/views/Presentation/Sections/PresentationInformation.vue +++ b/src/views/Presentation/Sections/PresentationInformation.vue @@ -38,7 +38,7 @@ -
+ +

ระบบคิว

@@ -71,6 +71,17 @@
+
+
+
+

บันทึกค่าใช้จ่ายรายเดือน ตร

+ title + + บันทึกค่าใช้จ่ายรายเดือน ตร + +
+
+
diff --git a/src/views/Queue/QueueView.vue b/src/views/Queue/QueueView.vue index b8a13cc..4d50d26 100644 --- a/src/views/Queue/QueueView.vue +++ b/src/views/Queue/QueueView.vue @@ -32,6 +32,7 @@ const userlist = [ Affiliation: "ฝอ.2", //สังกัด rank: "ส.ต.ต.", //ยศ old: "32", + status: "สมรส", birthday: "04/03/2534", idcard: "134044411441122", phone: "0325647846", @@ -43,6 +44,7 @@ const userlist = [ Affiliation: "ฝอ.2", //สังกัด rank: "ส.ต.ต.", //ยศ old: "32", + status: "โสด", birthday: "14/07/2534", idcard: "134044411441178", phone: "0325647845", @@ -131,39 +133,62 @@ export default {