diff --git a/src/components/Table.vue b/src/components/Table.vue
new file mode 100644
index 000000000..cc4dc9d08
--- /dev/null
+++ b/src/components/Table.vue
@@ -0,0 +1,88 @@
+
+
+
+
+
+
diff --git a/src/main.ts b/src/main.ts
index a969335bd..2926f9112 100644
--- a/src/main.ts
+++ b/src/main.ts
@@ -70,6 +70,11 @@ app.component(
defineAsyncComponent(() => import("@/components/Selector.vue"))
);
+app.component(
+ "d-table",
+ defineAsyncComponent(() => import("@/components/Table.vue"))
+);
+
app.config.globalProperties.$http = http;
app.mount("#app");
diff --git a/src/modules/05_placement/components/OrderPlacement/step/step02.vue b/src/modules/05_placement/components/OrderPlacement/step/step02.vue
index c3199cf47..b25dd46c4 100644
--- a/src/modules/05_placement/components/OrderPlacement/step/step02.vue
+++ b/src/modules/05_placement/components/OrderPlacement/step/step02.vue
@@ -46,9 +46,7 @@
/>
-
+
@@ -230,7 +167,7 @@ const columns = ref
([
},
]);
-const rows = [
+const rows = ref([
{
no: "0ac56905-1a74-4606-a120-233340adde95",
name: "นางนัทธ์ เหล่าสกุล",
@@ -297,7 +234,7 @@ const rows = [
idcard: "6598455632145",
educate: "ปริญญาตรี",
},
-];
+]);
const selected = ref([]);
const pagination = ref({
sortBy: "desc",
@@ -332,13 +269,6 @@ const selectData = (row: any) => {};
const refresh = () => {};
-const paginationLabel = (start: number, end: number, total: number) => {
- // if (props.paging == true)
- // return " " + start + " ใน " + end + " จากจำนวน " + total + " รายการ";
- // else
- return start + "-" + end + " ใน " + total;
-};
-
const resetFilter = () => {
// reset ค่าที่ค้นหาเมื่อกดปุ่ม X ในกล่องค้นหา
filter.value = "";
@@ -352,33 +282,4 @@ const getClass = (val: boolean) => {
};
};
-
+
diff --git a/src/modules/05_placement/components/OrderPlacement/step/step03.vue b/src/modules/05_placement/components/OrderPlacement/step/step03.vue
index 3e4e299a4..8d58d929e 100644
--- a/src/modules/05_placement/components/OrderPlacement/step/step03.vue
+++ b/src/modules/05_placement/components/OrderPlacement/step/step03.vue
@@ -46,18 +46,12 @@
/>
-
+
@@ -246,10 +228,7 @@
/>
-
+
@@ -717,34 +681,4 @@ const onSelected = async (id: string) => {
const deleteData = async (id: string) => {};
-
+
diff --git a/src/modules/07_insignia/components/Coin.vue b/src/modules/07_insignia/components/Coin.vue
new file mode 100644
index 000000000..ca851d7bd
--- /dev/null
+++ b/src/modules/07_insignia/components/Coin.vue
@@ -0,0 +1,516 @@
+
+
+
+ ประวัติการยื่นขอพระราชทานเหรียญจักรพรรดิมาลา
+
+
+
+
+
+
+
+
+
+
+
+
filterSelector(inputValue, doneFn,'capYearsOption'
+ ) "
+ />
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ props.rowIndex + 1 }}
+
+
+
+ {{ props.value }}
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/modules/07_insignia/components/ResultInsignia.vue b/src/modules/07_insignia/components/ResultInsignia.vue
new file mode 100644
index 000000000..5cae3b3c6
--- /dev/null
+++ b/src/modules/07_insignia/components/ResultInsignia.vue
@@ -0,0 +1,502 @@
+
+
+
+ บันทึกผลการได้รับพระราชทานเครื่องราชย์อิสริยสภรณ์
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ year + 543 }}
+
+
+ {{ parseInt(value + 543) }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ year + 543 }}
+
+
+ {{ parseInt(value + 543) }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
filterSelector(inputValue, doneFn,'selectTypeOption'
+ ) "
+ />
+ filterSelector(inputValue, doneFn,'selectStatusOption'
+ ) "
+ />
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ props.rowIndex + 1 }}
+
+
+
+ {{ props.value }}
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/modules/07_insignia/router.ts b/src/modules/07_insignia/router.ts
index 20a41a5c3..51f4b44db 100644
--- a/src/modules/07_insignia/router.ts
+++ b/src/modules/07_insignia/router.ts
@@ -3,6 +3,9 @@
*/
const Main = () => import("@/modules/07_insignia/views/Main.vue");
+const ResultInsignia = () =>
+ import("@/modules/07_insignia/components/ResultInsignia.vue");
+const Coin = () => import("@/modules/07_insignia/components/Coin.vue");
export default [
{
@@ -15,4 +18,24 @@ export default [
Role: "insignia",
},
},
+ {
+ path: "/insignia/result-insignia",
+ name: "result-insignia",
+ component: ResultInsignia,
+ meta: {
+ Auth: true,
+ Key: [7],
+ Role: "insignia",
+ },
+ },
+ {
+ path: "/insignia/coin",
+ name: "coin",
+ component: Coin,
+ meta: {
+ Auth: true,
+ Key: [7],
+ Role: "insignia",
+ },
+ },
];