diff --git a/src/modules/19_condition/components/DialogCondition.vue b/src/modules/19_condition/components/DialogCondition.vue new file mode 100644 index 000000000..6401d18f8 --- /dev/null +++ b/src/modules/19_condition/components/DialogCondition.vue @@ -0,0 +1,96 @@ + + + + + + + + + + + + + + + + + + + + + + + บันทึกข้อมูล + + + + + + + diff --git a/src/modules/19_condition/router.ts b/src/modules/19_condition/router.ts new file mode 100644 index 000000000..8a51b1869 --- /dev/null +++ b/src/modules/19_condition/router.ts @@ -0,0 +1,14 @@ +const mainView = () => import("@/modules/19_condition/view/Main.vue"); + +export default [ + { + path: "/position-condition", + name: "positionCondition", + component: mainView, + meta: { + Auth: true, + Key: "COMMAND", + Role: "STAFF", + }, + }, +]; diff --git a/src/modules/19_condition/view/Main.vue b/src/modules/19_condition/view/Main.vue new file mode 100644 index 000000000..6da1a888c --- /dev/null +++ b/src/modules/19_condition/view/Main.vue @@ -0,0 +1,555 @@ + + + + + จัดการตำแหน่งติดเงื่อนไข + + + + + + + + + + + + + + + + + + + + + {{ prop.node.orgTreeName }} + + + {{ prop.node.orgCode == null ? null : prop.node.orgCode }} + {{ + prop.node.orgTreeShortName == null + ? null + : prop.node.orgTreeShortName + }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ col.label }} + + + + + + + + + + + + + + + {{ col.value ? col.value : "-" }} + + + + + + + + + + + + {{ + col.label + }} + + + + + + + + {{ props.rowIndex + 1 }} + + + {{ col.value ? col.value : "-" }} + + + + {{ col.value ? col.value : "-" }} + + + + {{ col.value ? col.value : "-" }} + + + + {{ col.value }} + + + + + + + + + + + ทั้งหมด {{ totalRow }} รายการ + + + + + + + + + + + + + + + + diff --git a/src/router/index.ts b/src/router/index.ts index 044391b25..40b972575 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -28,6 +28,7 @@ import ModuleDevelopment from "@/modules/15_development/router"; import ModuleSupport from "@/modules/00_support/router"; import ModuleActing from "@/modules/17_acting/router"; import ModuleCommand from "@/modules/18_command/router"; +import ModulePositionCondition from "@/modules/19_condition/router"; // TODO: ใช้หรือไม่? import { authenticated } from "@/plugins/auth"; @@ -76,6 +77,7 @@ const router = createRouter({ ...ModuleSupport, ...ModuleActing, ...ModuleCommand, + ...ModulePositionCondition, ], }, /**