2024-05-31 16:40:06 +07:00
|
|
|
<script setup lang="ts">
|
2024-05-31 15:08:11 +07:00
|
|
|
import { reactive, ref } from "vue";
|
|
|
|
|
import { useRouter } from "vue-router";
|
2024-05-31 16:40:06 +07:00
|
|
|
import type { FormRole } from "@/modules/02_users/interface/request/Main";
|
2024-05-31 15:08:11 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
const attrPrivilege = ref<any[]>([]);
|
|
|
|
|
const attrPrivilegeOp = ref<any[]>([
|
|
|
|
|
{
|
|
|
|
|
id: "ROOT",
|
|
|
|
|
name: "มีสิทธิเข้าถึงข้อมูลในทุกระดับ",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: "CHILD",
|
|
|
|
|
name: "มีสิทธิเข้าถึงข้อมูลเฉพาะระดับชั้นปัจจุบันของตัวเอง",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: "NORMAL",
|
|
|
|
|
name: "มีสิทธิเข้าถึงข้อมูลเฉพาะในระดับชั้นตัวเองเท่านั้น",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: "SPECIFIC",
|
|
|
|
|
name: "มีสิทธิเข้าถึงข้อมูลเฉพาะเจาะจง",
|
|
|
|
|
},
|
|
|
|
|
]);
|
2024-05-31 15:08:11 +07:00
|
|
|
const router = useRouter();
|
2024-05-31 16:40:06 +07:00
|
|
|
const formData = reactive<FormRole>({
|
|
|
|
|
role: "",
|
|
|
|
|
description: "",
|
|
|
|
|
});
|
2024-05-31 15:08:11 +07:00
|
|
|
|
2024-05-31 16:40:06 +07:00
|
|
|
const columns = ref<any>([]);
|
2024-05-31 15:08:11 +07:00
|
|
|
|
2024-05-31 16:40:06 +07:00
|
|
|
const systemLists = ref<any>([
|
2024-05-31 15:08:11 +07:00
|
|
|
{
|
|
|
|
|
key: "SYS_METADATA_KPI",
|
|
|
|
|
name: "ข้อมูลการประเมิน",
|
|
|
|
|
selected: true,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
2024-06-05 15:46:56 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
attrIsCreate: true,
|
|
|
|
|
attrIsList: true,
|
|
|
|
|
attrIsGet: true,
|
|
|
|
|
attrIsUpdate: true,
|
|
|
|
|
attrIsDelete: true,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
children: [
|
|
|
|
|
{
|
|
|
|
|
key: "INDICATOR",
|
|
|
|
|
name: "ตัวชี้วัด",
|
|
|
|
|
selected: true,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: true,
|
2024-06-05 15:46:56 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
attrIsCreate: true,
|
|
|
|
|
attrIsList: true,
|
|
|
|
|
attrIsGet: true,
|
|
|
|
|
attrIsUpdate: true,
|
|
|
|
|
attrIsDelete: true,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
|
|
|
|
|
children: [
|
|
|
|
|
{
|
|
|
|
|
key: "INDICATOR_PLAN",
|
|
|
|
|
name: "ตามแผน",
|
|
|
|
|
selected: false,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
2024-06-05 15:46:56 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
key: "INDICATOR_POSITION",
|
|
|
|
|
name: "ตามตำแหน่ง",
|
|
|
|
|
selected: false,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
2024-06-05 15:46:56 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
key: "INDICATOR_SPECIAL",
|
|
|
|
|
name: "งานที่ได้รับมอบหมาย",
|
|
|
|
|
selected: false,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
2024-06-05 15:46:56 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
key: "COMPETENCY",
|
|
|
|
|
name: "สมรรถนะ",
|
|
|
|
|
selected: false,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
2024-06-05 15:46:56 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
key: "STRATEGY",
|
|
|
|
|
name: "ยุทธศาสตร์",
|
|
|
|
|
selected: false,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
2024-06-05 15:46:56 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
key: "SYS_ORG",
|
|
|
|
|
name: "โครงสร้างอัตรากำลัง",
|
|
|
|
|
selected: false,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
2024-06-05 15:46:56 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
key: "SYS_ORG_EMPLOYEE",
|
|
|
|
|
name: "อัตรากำลังลูกจ้างประจำฯ",
|
|
|
|
|
selected: false,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
2024-06-05 15:46:56 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
key: "SYS_REGISTRY",
|
|
|
|
|
name: "ทะเบียนประวัติ",
|
|
|
|
|
selected: false,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
2024-06-05 15:46:56 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
key: "COMMAND",
|
|
|
|
|
name: "ออกคำสั่ง",
|
|
|
|
|
selected: false,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
2024-06-05 15:46:56 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
key: "SYS_EXAM",
|
|
|
|
|
name: "สรรหา",
|
|
|
|
|
selected: false,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
2024-06-05 15:46:56 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
children: [
|
|
|
|
|
{
|
|
|
|
|
key: "SETTING_WEB_EXAM",
|
|
|
|
|
name: "ตั้งค่าเว็บสรรหา",
|
|
|
|
|
selected: false,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
2024-06-05 15:46:56 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
key: "COMPETITIVE_EXAM",
|
|
|
|
|
name: "สอบแข่งขัน",
|
|
|
|
|
selected: false,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
2024-06-05 15:46:56 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
|
|
|
|
|
children: [
|
|
|
|
|
{
|
|
|
|
|
key: "MANAGE_ROUND",
|
|
|
|
|
name: "จัดการรอบสอบแข่งขัน",
|
|
|
|
|
selected: false,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
2024-06-05 15:46:56 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
key: "STAT_APPLY_EXAM",
|
|
|
|
|
name: "สถิติสมัครสอบแข่งขัน",
|
|
|
|
|
selected: false,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
2024-06-05 15:46:56 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
key: "QUALIFY_EXAM",
|
|
|
|
|
name: "คัดเลือก",
|
|
|
|
|
selected: false,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
2024-06-05 15:46:56 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
|
|
|
|
|
children: [
|
|
|
|
|
{
|
|
|
|
|
key: "QUALIFY_MANAGE_ROUND",
|
|
|
|
|
name: "จัดการรอบคัดเลือก",
|
|
|
|
|
selected: false,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
2024-06-05 15:46:56 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
key: "QUALIFY_ROUND_DISABLED",
|
|
|
|
|
name: "จัดการรอบคัดเลือกคนพิการ",
|
|
|
|
|
selected: false,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
2024-06-05 15:46:56 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
key: "QUALIFY_MANAGE_LIST",
|
|
|
|
|
name: "จัดการรายชื่อคัดเลือก",
|
|
|
|
|
selected: false,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
2024-06-05 15:46:56 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
key: "QUALIFY_APPLY_STAT",
|
|
|
|
|
name: "สถิติสมัครคัดเลือก",
|
|
|
|
|
selected: false,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
2024-06-05 15:46:56 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
key: "QUALIFY_APPLY_STAT_DISABLED",
|
|
|
|
|
name: "สถิติสมัครคัดเลือกคนพิการ",
|
|
|
|
|
selected: false,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
2024-06-05 15:46:56 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
key: "SYS_PLACEMENT",
|
|
|
|
|
name: "บรรจุ แต่งตั้ง ย้าย โอน",
|
|
|
|
|
selected: false,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
2024-06-05 15:46:56 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
|
|
|
|
|
children: [
|
|
|
|
|
{
|
|
|
|
|
key: "PLACEMENT_LIST",
|
|
|
|
|
name: "รายชื่อผู้สอบผ่าน",
|
|
|
|
|
selected: false,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
2024-06-05 15:46:56 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
key: "PLACEMENT_TRANSFER",
|
|
|
|
|
name: "รายการขอโอน",
|
|
|
|
|
selected: false,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
2024-06-05 15:46:56 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
key: "PLACEMENT_RECEIVE",
|
|
|
|
|
name: "รายการรับโอน",
|
|
|
|
|
selected: false,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
2024-06-05 15:46:56 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
key: "PLACEMENT_HELP_GOVERNMENT",
|
|
|
|
|
name: "รายการช่วยราชการ",
|
|
|
|
|
selected: false,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
2024-06-05 15:46:56 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
key: "PLACEMENT_REPATRIATE",
|
|
|
|
|
name: "รายการส่งตัวกลับ",
|
|
|
|
|
selected: false,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
2024-06-05 15:46:56 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
key: "PLACEMENT_APPOINT",
|
|
|
|
|
name: "รายการแต่งตั้ง-เลื่อน-ย้าย",
|
|
|
|
|
selected: false,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
|
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
key: "PLACEMENT_APPOINT_EMPLOYEE",
|
|
|
|
|
name: "ปรับระดับชั้นงาน-ย้ายลูกจ้าง",
|
|
|
|
|
selected: false,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
2024-06-05 15:46:56 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
key: "PLACEMENT_OTHER",
|
|
|
|
|
name: "รายการอื่นๆ",
|
|
|
|
|
selected: false,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
2024-06-05 15:46:56 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
key: "SYS_PROBATION",
|
|
|
|
|
name: "การทดลองปฏิบัติหน้าที่ราชการ",
|
|
|
|
|
selected: false,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
2024-06-05 15:46:56 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
key: "SYS_RETIREMENT",
|
|
|
|
|
name: "พ้นจากราชการ",
|
|
|
|
|
selected: false,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
2024-06-05 15:46:56 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
|
|
|
|
|
children: [
|
|
|
|
|
{
|
|
|
|
|
key: "RETIREMENT",
|
|
|
|
|
name: "ประกาศเกษียณ",
|
|
|
|
|
selected: false,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
2024-06-05 15:46:56 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
key: "RESIGN",
|
|
|
|
|
name: "รายการลาออก",
|
|
|
|
|
selected: false,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
2024-06-05 15:46:56 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
key: "EXIT_INTERVIEW",
|
|
|
|
|
name: "Exit interview",
|
|
|
|
|
selected: false,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
2024-06-05 15:46:56 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
key: "DECEASED",
|
|
|
|
|
name: "รายการบันทึกการถึงแก่กรรม",
|
|
|
|
|
selected: false,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
2024-06-05 15:46:56 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
key: "DISMISS",
|
|
|
|
|
name: "รายการให้ออก",
|
|
|
|
|
selected: false,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
2024-06-05 15:46:56 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
key: "SYS_INSIGNIA",
|
|
|
|
|
name: "เครื่องราชฯ",
|
|
|
|
|
selected: false,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
2024-06-05 15:46:56 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
|
|
|
|
|
children: [
|
|
|
|
|
{
|
|
|
|
|
key: "INSIGNIA_ROUND",
|
|
|
|
|
name: "รอบการเสนอขอ",
|
|
|
|
|
selected: false,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
2024-06-05 15:46:56 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
key: "INSIGNIA_MANAGE",
|
|
|
|
|
name: "จัดการคำขอ",
|
|
|
|
|
selected: false,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
2024-06-05 15:46:56 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
key: "INSIGNIA_RECORD",
|
|
|
|
|
name: "บันทึกผลการเสนอขอ",
|
|
|
|
|
selected: false,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
2024-06-05 15:46:56 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
key: "INSIGNIA_ALLOCATE",
|
|
|
|
|
name: "จัดสรรเครื่องราชฯ",
|
|
|
|
|
selected: false,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
2024-06-05 15:46:56 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
key: "INSIGNIA_BORROW",
|
|
|
|
|
name: "ยืม-คืนเครื่องราชฯ",
|
|
|
|
|
selected: false,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
2024-06-05 15:46:56 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
key: "INSIGNIA_REPORT",
|
|
|
|
|
name: "รายงาน",
|
|
|
|
|
selected: false,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
2024-06-05 15:46:56 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
key: "SYS_LEAVE",
|
|
|
|
|
name: "การลา",
|
|
|
|
|
selected: false,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
2024-06-05 15:46:56 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
|
|
|
|
|
children: [
|
|
|
|
|
{
|
|
|
|
|
key: "LEAVE_ROUND",
|
|
|
|
|
name: "รอบการปฏิบัติงาน",
|
|
|
|
|
selected: false,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
2024-06-05 15:46:56 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
key: "CHANGE_LEAVE",
|
|
|
|
|
name: "แก้ไขรอบการปฎิบัติงานผู้ใช้งาน",
|
|
|
|
|
selected: false,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
2024-06-05 15:46:56 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
key: "WORKTIME_LIST",
|
|
|
|
|
name: "รายการลงเวลาปฏิบัติงาน",
|
|
|
|
|
selected: false,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
2024-06-05 15:46:56 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
key: "WORKTIME_SPECIAL",
|
|
|
|
|
name: "ลงเวลากรณีพิเศษ",
|
|
|
|
|
selected: false,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
2024-06-05 15:46:56 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
key: "LEAVE_LIST",
|
|
|
|
|
name: "รายการลา",
|
|
|
|
|
selected: false,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
|
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
key: "LEAVE_REPORT",
|
|
|
|
|
name: "รายงานสถิติการลา",
|
|
|
|
|
selected: false,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
2024-06-05 15:46:56 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
key: "SYS_DISCIPLINE",
|
|
|
|
|
name: "วินัย",
|
|
|
|
|
selected: true,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
|
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
|
|
|
|
|
children: [
|
|
|
|
|
{
|
|
|
|
|
key: "DISCIPLINE_COMPLAINTS",
|
|
|
|
|
name: "เรื่องร้องเรียน",
|
|
|
|
|
selected: false,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
2024-06-05 15:46:56 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
key: "DISCIPLINE_INVESTIGATE",
|
|
|
|
|
name: "สืบสวนข้อเท็จจริง",
|
|
|
|
|
selected: false,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
2024-06-05 15:46:56 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
key: "DISCIPLINE_DISCIPLINARY",
|
|
|
|
|
name: "สอบสวนความผิดทางวินัย",
|
|
|
|
|
selected: false,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
2024-06-05 15:46:56 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
key: "DISCIPLINE_RESULT",
|
|
|
|
|
name: "สรุปผลการพิจารณาความผิดทางวินัย",
|
|
|
|
|
selected: false,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
2024-06-05 15:46:56 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
key: "DISCIPLINE_SUSPEND",
|
|
|
|
|
name: "รายชื่อผู้ถูกพักราชการ",
|
|
|
|
|
selected: false,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
2024-06-05 15:46:56 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
key: "DISCIPLINE_APPEAL",
|
|
|
|
|
name: "อุทธรณ์/ร้องทุกข์",
|
|
|
|
|
selected: false,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
2024-06-05 15:46:56 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
key: "DISCIPLINE_COMMAND",
|
|
|
|
|
name: "ออกคำสั่งลงโทษทางวินัย",
|
|
|
|
|
selected: false,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
2024-06-05 15:46:56 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
key: "DISCIPLINE_BASIC",
|
|
|
|
|
name: "ข้อมูลพื้นฐาน",
|
|
|
|
|
selected: false,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
2024-06-05 15:46:56 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
|
|
|
|
|
children: [
|
|
|
|
|
{
|
|
|
|
|
key: "DISCIPLINE_DIRECTOR",
|
|
|
|
|
name: "กรรมการ",
|
|
|
|
|
selected: false,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
2024-06-05 15:46:56 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
key: "DISCIPLINE_CHANNEL",
|
|
|
|
|
name: "ช่องทางการร้องเรียน",
|
|
|
|
|
selected: false,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
2024-06-05 15:46:56 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
key: "SYS_EVALUATE",
|
|
|
|
|
name: "ประเมินบุคคล",
|
|
|
|
|
selected: false,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
2024-06-05 15:46:56 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
|
|
|
|
|
children: [
|
|
|
|
|
{
|
|
|
|
|
key: "EVALUATE_REQUEST",
|
|
|
|
|
name: "คำขอประเมิน",
|
|
|
|
|
selected: false,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
2024-06-05 15:46:56 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
key: "EVALUATE_DIRECTOR_METTING",
|
|
|
|
|
name: "กรรมการและการประชุม",
|
|
|
|
|
selected: false,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
2024-06-05 15:46:56 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
|
|
|
|
|
children: [
|
|
|
|
|
{
|
|
|
|
|
key: "EVALUATE_DIRECTOR",
|
|
|
|
|
name: "กรรมการ",
|
|
|
|
|
selected: false,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
2024-06-05 15:46:56 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
key: "EVALUATE_METTING",
|
|
|
|
|
name: "การประชุม",
|
|
|
|
|
selected: false,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
2024-06-05 15:46:56 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
key: "SYS_SALARY",
|
|
|
|
|
name: "เงินเดือน/ค่าจ้าง",
|
|
|
|
|
selected: false,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
2024-06-05 15:46:56 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
|
|
|
|
|
children: [
|
|
|
|
|
{
|
|
|
|
|
key: "SALARY_CHART",
|
|
|
|
|
name: "ผังบัญชีเงินเดือนข้าราชการ ฯ",
|
|
|
|
|
selected: false,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
2024-06-05 15:46:56 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
key: "SALARY_EMPLOYEE_CHART",
|
|
|
|
|
name: "ผังบัญชีค่าจ้างลูกจ้างประจำ",
|
|
|
|
|
selected: false,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
2024-06-05 15:46:56 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
key: "SALARY_ROUND",
|
|
|
|
|
name: "รอบการเลื่อนเงินเดือน",
|
|
|
|
|
selected: false,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
2024-06-05 15:46:56 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
key: "SALARY_SLIP",
|
|
|
|
|
name: "เลื่อนเงินเดือนข้าราชการ ฯ",
|
|
|
|
|
selected: false,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
2024-06-05 15:46:56 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
key: "SALARY_EMPLOYEE_SLIP",
|
|
|
|
|
name: "เลื่อนค่าจ้างลูกจ้างประจำ",
|
|
|
|
|
selected: false,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
2024-06-05 15:46:56 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
key: "SALARY_COMMAND",
|
|
|
|
|
name: "ออกคำสั่งเลื่อนเงินเดือน/ค่าจ้าง",
|
|
|
|
|
selected: false,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
2024-06-05 15:46:56 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
key: "SYS_KPI",
|
|
|
|
|
name: "ประเมินผลการปฏิบัติราชการระดับบุคคล",
|
|
|
|
|
selected: false,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
2024-06-05 15:46:56 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
|
|
|
|
|
children: [
|
|
|
|
|
{
|
|
|
|
|
key: "KPI_Round",
|
|
|
|
|
name: "รอบการประเมิน",
|
|
|
|
|
selected: false,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
2024-06-05 15:46:56 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
key: "KPI_List",
|
|
|
|
|
name: "รายการการประเมินผล",
|
|
|
|
|
selected: false,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
2024-06-05 15:46:56 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
key: "SYS_DEVELOPMENT",
|
|
|
|
|
name: "พัฒนาบุคลากร",
|
|
|
|
|
selected: false,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
2024-06-05 15:46:56 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
|
|
|
|
|
children: [
|
|
|
|
|
{
|
|
|
|
|
key: "DEVELOPMENT_PROJECT",
|
|
|
|
|
name: "โครงการ/หลักสูตรการฝึกอบรม",
|
|
|
|
|
selected: false,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
2024-06-05 15:46:56 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
key: "DEVELOPMENT_HISTORY",
|
|
|
|
|
name: "ประวัติฝึกอบรม/ดูงาน ขรก.",
|
|
|
|
|
selected: false,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
2024-06-05 15:46:56 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
key: "DEVELOPMENT_HISTORY_EMPLOYEE",
|
|
|
|
|
name: "ประวัติฝึกอบรม/ดูงานลูกจ้าง",
|
|
|
|
|
selected: false,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
2024-06-05 15:46:56 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
key: "DEVELOPMENT_SCHOLARSHIP",
|
|
|
|
|
name: "ทุนการศึกษา/ฝึกอบรม",
|
|
|
|
|
selected: false,
|
2024-06-10 13:14:55 +07:00
|
|
|
attrOwnership: "",
|
|
|
|
|
attrIsCreate: false,
|
|
|
|
|
attrIsList: false,
|
|
|
|
|
attrIsGet: false,
|
|
|
|
|
attrIsUpdate: false,
|
|
|
|
|
attrIsDelete: false,
|
2024-06-10 15:31:50 +07:00
|
|
|
attrPrivilege: "",
|
2024-05-31 15:08:11 +07:00
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
]);
|
2024-05-31 16:40:06 +07:00
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
function onSubmit() {
|
2024-06-10 15:31:50 +07:00
|
|
|
console.log(systemLists.value);
|
2024-06-10 13:14:55 +07:00
|
|
|
}
|
2024-05-31 15:08:11 +07:00
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<template>
|
|
|
|
|
<div class="toptitle col-12 row items-center">
|
|
|
|
|
<q-btn
|
|
|
|
|
icon="mdi-arrow-left"
|
|
|
|
|
unelevated
|
|
|
|
|
round
|
|
|
|
|
dense
|
|
|
|
|
flat
|
|
|
|
|
color="primary"
|
|
|
|
|
class="q-mr-sm"
|
|
|
|
|
@click="router.go(-1)"
|
|
|
|
|
/>
|
|
|
|
|
จัดการสิทธิ์บทบาท
|
|
|
|
|
</div>
|
|
|
|
|
|
2024-05-31 16:40:06 +07:00
|
|
|
<q-form greedy @submit.prevent @validation-success="onSubmit">
|
2024-06-05 15:46:56 +07:00
|
|
|
<q-card flast bordered>
|
2024-05-31 16:40:06 +07:00
|
|
|
<div class="col-12">
|
|
|
|
|
<q-card>
|
|
|
|
|
<q-card-section>
|
|
|
|
|
<div class="row q-col-gutter-md">
|
|
|
|
|
<div class="col-4">
|
|
|
|
|
<q-input
|
|
|
|
|
v-model="formData.role"
|
|
|
|
|
outlined
|
|
|
|
|
dense
|
|
|
|
|
:rules="[(val:string) => !!val || `${'กรุณากรอกชื่อบทบาท'}`,]"
|
|
|
|
|
lazy-rules
|
|
|
|
|
hide-bottom-space
|
|
|
|
|
class="inputgreen"
|
|
|
|
|
label="ชื่อบทบาท"
|
|
|
|
|
/>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-8">
|
|
|
|
|
<q-input
|
|
|
|
|
v-model="formData.description"
|
|
|
|
|
outlined
|
|
|
|
|
dense
|
|
|
|
|
lazy-rules
|
|
|
|
|
hide-bottom-space
|
|
|
|
|
class="inputgreen"
|
|
|
|
|
label="คำอิบาย"
|
|
|
|
|
type="textarea"
|
|
|
|
|
/>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</q-card-section>
|
|
|
|
|
</q-card>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="col-12">
|
|
|
|
|
<q-table
|
|
|
|
|
flat
|
|
|
|
|
bordered
|
|
|
|
|
:rows="systemLists"
|
|
|
|
|
:columns="columns"
|
|
|
|
|
separator="cell"
|
|
|
|
|
:pagination="{
|
|
|
|
|
page: 1,
|
|
|
|
|
rowsPerPage: 100,
|
|
|
|
|
}"
|
|
|
|
|
hide-bottom
|
|
|
|
|
>
|
|
|
|
|
<template v-slot:header>
|
|
|
|
|
<q-tr>
|
|
|
|
|
<q-th rowspan="2" colspan="3" style="font-size: 1rem"
|
|
|
|
|
>รายการระบบ</q-th
|
|
|
|
|
>
|
2024-06-05 15:46:56 +07:00
|
|
|
<q-th colspan="3" style="font-size: 1rem"
|
|
|
|
|
>ความเป็นเจ้าของ (Ownership)</q-th
|
2024-05-31 16:40:06 +07:00
|
|
|
>
|
|
|
|
|
<q-th colspan="5" style="text-align: center; font-size: 1rem"
|
2024-06-05 15:46:56 +07:00
|
|
|
>สิทธิ์ดำเนินการ (Permission)</q-th
|
2024-05-31 16:40:06 +07:00
|
|
|
>
|
2024-06-10 13:14:55 +07:00
|
|
|
<q-th
|
2024-06-10 15:31:50 +07:00
|
|
|
class="relative-position"
|
2024-06-10 13:14:55 +07:00
|
|
|
colspan="2"
|
|
|
|
|
rowspan="2"
|
|
|
|
|
style="text-align: center; font-size: 1rem"
|
2024-06-10 15:31:50 +07:00
|
|
|
>สิทธิการเข้าถึง<br />
|
|
|
|
|
(Privilege)
|
|
|
|
|
<q-btn
|
|
|
|
|
class="absolute-customH"
|
|
|
|
|
color="grey-4"
|
|
|
|
|
round
|
|
|
|
|
icon="info"
|
|
|
|
|
flat
|
|
|
|
|
size="12px"
|
|
|
|
|
><q-tooltip class="text-body1 ">
|
|
|
|
|
<div class="column">
|
|
|
|
|
<div class="row no-wrap"><strong>ROOT</strong>-มีสิทธิเข้าถึงข้อมูลในทุกระดับ ตั้งแต่ระดับของตัวเองลงไปชั้นล่างสุด และขึ้นไปถึงชั้นบนสุด</div>
|
|
|
|
|
<div class="row no-wrap"><strong>CHILD</strong>-มีสิทธิเข้าถึงข้อมูลเฉพาะระดับชั้นปัจจุบันของตัวเอง ลงไปถึงชั้นล่างสุด</div>
|
|
|
|
|
<div class="row no-wrap"><strong>NORMAL</strong>-มีสิทธิเข้าถึงข้อมูลเฉพาะในระดับชั้นตัวเองเท่านั้น ไม่สามารถขึ้นหรือลงได้</div>
|
|
|
|
|
<div class="row no-wrap"><strong>SPECIFIC</strong>-มีสิทธิเข้าถึงข้อมูลเฉพาะเจาะจง ซึ่งจะต้องกำ หนด ID ของข้อมูลที่ต้องการเข้าถึงด้วย</div>
|
|
|
|
|
</div>
|
|
|
|
|
</q-tooltip></q-btn
|
|
|
|
|
></q-th
|
2024-06-10 13:14:55 +07:00
|
|
|
>
|
2024-05-31 16:40:06 +07:00
|
|
|
</q-tr>
|
|
|
|
|
<q-tr>
|
2024-06-10 13:14:55 +07:00
|
|
|
<q-th class="relative-position"
|
|
|
|
|
>OWNER
|
|
|
|
|
<q-btn
|
|
|
|
|
class="absolute-custom"
|
2024-06-10 15:31:50 +07:00
|
|
|
color="grey-4"
|
2024-06-10 13:14:55 +07:00
|
|
|
round
|
|
|
|
|
icon="info"
|
|
|
|
|
flat
|
|
|
|
|
size="10px"
|
|
|
|
|
><q-tooltip class="text-body2">
|
|
|
|
|
เป็นเจ้าของระบบ มีสิทธิเต็มที่จะทำทุกอย่างในระบบนั้น ๆ
|
|
|
|
|
ได้ทั้งหมดทุกหน่วยงานโดยไม่สนใจสิทธิและลำดับชั้นการเข้าถึง
|
|
|
|
|
</q-tooltip></q-btn
|
|
|
|
|
>
|
|
|
|
|
</q-th>
|
|
|
|
|
<q-th class="relative-position"
|
|
|
|
|
>STAFF
|
|
|
|
|
<q-btn
|
|
|
|
|
class="absolute-custom"
|
2024-06-10 15:31:50 +07:00
|
|
|
color="grey-4"
|
2024-06-10 13:14:55 +07:00
|
|
|
round
|
|
|
|
|
icon="info"
|
|
|
|
|
flat
|
|
|
|
|
size="10px"
|
|
|
|
|
><q-tooltip class="text-body2">
|
|
|
|
|
เป็นเจ้าหน้าที่
|
|
|
|
|
ซึ่งอาจจะมีสิทธิในการเข้าใช้ระบบได้เพียงอย่างใดอย่างหนึ่งหรือทั้งหมด
|
|
|
|
|
ทั้งนี้ขึ้นกับสิทธิและลำดับชั้นการเข้าถึง
|
|
|
|
|
</q-tooltip></q-btn
|
|
|
|
|
></q-th
|
|
|
|
|
>
|
|
|
|
|
<q-th class="relative-position"
|
|
|
|
|
>GUEST
|
|
|
|
|
<q-btn
|
|
|
|
|
class="absolute-custom"
|
2024-06-10 15:31:50 +07:00
|
|
|
color="grey-4"
|
2024-06-10 13:14:55 +07:00
|
|
|
round
|
|
|
|
|
icon="info"
|
|
|
|
|
flat
|
|
|
|
|
size="10px"
|
|
|
|
|
><q-tooltip class="text-body2">
|
|
|
|
|
เป็นผู้มาเยือน ใช้ในกรณีกำหนดบทบาทชั่วคราว และบทบาทเฉพาะกิจ
|
|
|
|
|
</q-tooltip></q-btn
|
|
|
|
|
></q-th
|
|
|
|
|
>
|
|
|
|
|
<q-th class="relative-position"
|
|
|
|
|
>CREATE
|
|
|
|
|
<q-btn
|
|
|
|
|
class="absolute-custom"
|
2024-06-10 15:31:50 +07:00
|
|
|
color="grey-4"
|
2024-06-10 13:14:55 +07:00
|
|
|
round
|
|
|
|
|
icon="info"
|
|
|
|
|
flat
|
|
|
|
|
size="10px"
|
|
|
|
|
><q-tooltip class="text-body2">
|
|
|
|
|
มีสิทธิในการสร้างข้อมูล
|
|
|
|
|
</q-tooltip></q-btn
|
|
|
|
|
></q-th
|
|
|
|
|
>
|
|
|
|
|
<q-th class="relative-position"
|
|
|
|
|
>LIST
|
|
|
|
|
<q-btn
|
|
|
|
|
class="absolute-custom"
|
2024-06-10 15:31:50 +07:00
|
|
|
color="grey-4"
|
2024-06-10 13:14:55 +07:00
|
|
|
round
|
|
|
|
|
icon="info"
|
|
|
|
|
flat
|
|
|
|
|
size="10px"
|
|
|
|
|
><q-tooltip class="text-body2">
|
|
|
|
|
มีสิทธิในการดูรายการข้อมูล
|
|
|
|
|
</q-tooltip></q-btn
|
|
|
|
|
></q-th
|
|
|
|
|
>
|
|
|
|
|
<q-th class="relative-position"
|
|
|
|
|
>GET
|
|
|
|
|
<q-btn
|
|
|
|
|
class="absolute-custom"
|
2024-06-10 15:31:50 +07:00
|
|
|
color="grey-4"
|
2024-06-10 13:14:55 +07:00
|
|
|
round
|
|
|
|
|
icon="info"
|
|
|
|
|
flat
|
|
|
|
|
size="10px"
|
|
|
|
|
><q-tooltip class="text-body2">
|
|
|
|
|
มีสิทธิในการดูรายละเอียดข้อมูล
|
|
|
|
|
</q-tooltip></q-btn
|
|
|
|
|
></q-th
|
|
|
|
|
>
|
|
|
|
|
<q-th class="relative-position"
|
|
|
|
|
>UPDATE
|
|
|
|
|
<q-btn
|
|
|
|
|
class="absolute-custom"
|
2024-06-10 15:31:50 +07:00
|
|
|
color="grey-4"
|
2024-06-10 13:14:55 +07:00
|
|
|
round
|
|
|
|
|
icon="info"
|
|
|
|
|
flat
|
|
|
|
|
size="10px"
|
|
|
|
|
><q-tooltip class="text-body2">
|
|
|
|
|
มีสิทธิในการแก้ไขข้อมูล
|
|
|
|
|
</q-tooltip></q-btn
|
|
|
|
|
></q-th
|
|
|
|
|
>
|
|
|
|
|
<q-th class="relative-position"
|
|
|
|
|
>DELETE
|
|
|
|
|
<q-btn
|
|
|
|
|
class="absolute-custom"
|
2024-06-10 15:31:50 +07:00
|
|
|
color="grey-4"
|
2024-06-10 13:14:55 +07:00
|
|
|
round
|
|
|
|
|
icon="info"
|
|
|
|
|
flat
|
|
|
|
|
size="10px"
|
|
|
|
|
><q-tooltip class="text-body2">
|
|
|
|
|
มีสิทธิในการลบข้อมูล
|
|
|
|
|
</q-tooltip></q-btn
|
|
|
|
|
></q-th
|
2024-05-31 16:40:06 +07:00
|
|
|
>
|
|
|
|
|
</q-tr>
|
|
|
|
|
</template>
|
|
|
|
|
<template v-slot:body="props">
|
|
|
|
|
<q-tr>
|
|
|
|
|
<q-td auto-width colspan="3">
|
2024-06-05 15:46:56 +07:00
|
|
|
<q-checkbox
|
|
|
|
|
v-model="props.row.selected"
|
|
|
|
|
@update:model-value="
|
2024-06-10 13:14:55 +07:00
|
|
|
!props.row.selected && (props.row.attrOwnership = ''),
|
|
|
|
|
(props.row.attrIsCreate = false),
|
|
|
|
|
(props.row.attrIsList = false),
|
|
|
|
|
(props.row.attrIsGet = false),
|
|
|
|
|
(props.row.attrIsUpdate = false),
|
|
|
|
|
(props.row.attrIsDelete = false)
|
2024-06-05 15:46:56 +07:00
|
|
|
"
|
|
|
|
|
/>
|
2024-05-31 16:40:06 +07:00
|
|
|
<strong>{{ props.row.name }}</strong>
|
|
|
|
|
</q-td>
|
|
|
|
|
<q-td style="text-align: center">
|
2024-06-05 15:46:56 +07:00
|
|
|
<q-radio
|
2024-06-10 13:14:55 +07:00
|
|
|
v-model="props.row.attrOwnership"
|
2024-06-05 15:46:56 +07:00
|
|
|
val="OWNER"
|
|
|
|
|
@update:model-value="
|
2024-06-10 15:31:50 +07:00
|
|
|
props.row.attrOwnership === 'OWNER' &&
|
|
|
|
|
(props.row.attrIsCreate = true),
|
2024-06-10 13:14:55 +07:00
|
|
|
(props.row.attrIsList = true),
|
|
|
|
|
(props.row.attrIsGet = true),
|
|
|
|
|
(props.row.attrIsUpdate = true),
|
|
|
|
|
(props.row.attrIsDelete = true)
|
2024-06-05 15:46:56 +07:00
|
|
|
"
|
|
|
|
|
v-if="!props.row.children"
|
|
|
|
|
:disable="!props.row.selected"
|
|
|
|
|
/>
|
2024-05-31 16:40:06 +07:00
|
|
|
</q-td>
|
|
|
|
|
<q-td style="text-align: center">
|
2024-06-05 15:46:56 +07:00
|
|
|
<q-radio
|
2024-06-10 13:14:55 +07:00
|
|
|
v-model="props.row.attrOwnership"
|
2024-06-05 15:46:56 +07:00
|
|
|
val="STAFF"
|
|
|
|
|
v-if="!props.row.children"
|
|
|
|
|
:disable="!props.row.selected"
|
|
|
|
|
/>
|
2024-05-31 16:40:06 +07:00
|
|
|
</q-td>
|
|
|
|
|
<q-td style="text-align: center">
|
2024-06-05 15:46:56 +07:00
|
|
|
<q-radio
|
2024-06-10 13:14:55 +07:00
|
|
|
v-model="props.row.attrOwnership"
|
2024-06-05 15:46:56 +07:00
|
|
|
val="GUEST"
|
|
|
|
|
v-if="!props.row.children"
|
|
|
|
|
:disable="!props.row.selected"
|
|
|
|
|
/>
|
2024-05-31 16:40:06 +07:00
|
|
|
</q-td>
|
|
|
|
|
<q-td style="text-align: center">
|
2024-06-05 15:46:56 +07:00
|
|
|
<q-checkbox
|
2024-06-10 13:14:55 +07:00
|
|
|
v-model="props.row.attrIsCreate"
|
2024-06-05 15:46:56 +07:00
|
|
|
v-if="!props.row.children"
|
|
|
|
|
:disable="
|
|
|
|
|
!props.row.selected ||
|
2024-06-10 13:14:55 +07:00
|
|
|
(props.row.selected && props.row.attrOwnership === 'OWNER')
|
2024-06-05 15:46:56 +07:00
|
|
|
"
|
|
|
|
|
/>
|
2024-05-31 16:40:06 +07:00
|
|
|
</q-td>
|
|
|
|
|
<q-td style="text-align: center">
|
2024-06-05 15:46:56 +07:00
|
|
|
<q-checkbox
|
2024-06-10 13:14:55 +07:00
|
|
|
v-model="props.row.attrIsList"
|
2024-06-05 15:46:56 +07:00
|
|
|
v-if="!props.row.children"
|
|
|
|
|
:disable="
|
|
|
|
|
!props.row.selected ||
|
2024-06-10 13:14:55 +07:00
|
|
|
(props.row.selected && props.row.attrOwnership === 'OWNER')
|
2024-06-05 15:46:56 +07:00
|
|
|
"
|
|
|
|
|
/>
|
|
|
|
|
</q-td>
|
|
|
|
|
<q-td style="text-align: center">
|
|
|
|
|
<q-checkbox
|
2024-06-10 13:14:55 +07:00
|
|
|
v-model="props.row.attrIsGet"
|
2024-06-05 15:46:56 +07:00
|
|
|
v-if="!props.row.children"
|
|
|
|
|
:disable="
|
|
|
|
|
!props.row.selected ||
|
2024-06-10 13:14:55 +07:00
|
|
|
(props.row.selected && props.row.attrOwnership === 'OWNER')
|
2024-06-05 15:46:56 +07:00
|
|
|
"
|
|
|
|
|
/>
|
2024-05-31 16:40:06 +07:00
|
|
|
</q-td>
|
|
|
|
|
<q-td style="text-align: center">
|
2024-06-05 15:46:56 +07:00
|
|
|
<q-checkbox
|
2024-06-10 13:14:55 +07:00
|
|
|
v-model="props.row.attrIsUpdate"
|
2024-06-05 15:46:56 +07:00
|
|
|
v-if="!props.row.children"
|
|
|
|
|
:disable="
|
|
|
|
|
!props.row.selected ||
|
2024-06-10 13:14:55 +07:00
|
|
|
(props.row.selected && props.row.attrOwnership === 'OWNER')
|
2024-06-05 15:46:56 +07:00
|
|
|
"
|
|
|
|
|
/>
|
2024-05-31 16:40:06 +07:00
|
|
|
</q-td>
|
|
|
|
|
<q-td style="text-align: center">
|
2024-06-05 15:46:56 +07:00
|
|
|
<q-checkbox
|
2024-06-10 13:14:55 +07:00
|
|
|
v-model="props.row.attrIsDelete"
|
2024-06-05 15:46:56 +07:00
|
|
|
v-if="!props.row.children"
|
|
|
|
|
:disable="
|
|
|
|
|
!props.row.selected ||
|
2024-06-10 13:14:55 +07:00
|
|
|
(props.row.selected && props.row.attrOwnership === 'OWNER')
|
2024-06-05 15:46:56 +07:00
|
|
|
"
|
|
|
|
|
/>
|
2024-05-31 16:40:06 +07:00
|
|
|
</q-td>
|
2024-06-10 15:31:50 +07:00
|
|
|
<q-td style="min-width: 120px">
|
|
|
|
|
<q-select
|
|
|
|
|
v-if="!props.row.children"
|
|
|
|
|
v-model="props.row.attrPrivilege"
|
|
|
|
|
:options="attrPrivilegeOp"
|
|
|
|
|
option-value="id"
|
|
|
|
|
option-label="id"
|
|
|
|
|
emit-value
|
|
|
|
|
map-options
|
|
|
|
|
dense
|
|
|
|
|
outlined
|
|
|
|
|
:disable="
|
|
|
|
|
!props.row.selected ||
|
|
|
|
|
(props.row.selected && props.row.attrOwnership === 'OWNER')
|
|
|
|
|
"
|
|
|
|
|
label="สิทธิเข้าถึงข้อมูล"
|
|
|
|
|
style="min-width: 120px"
|
|
|
|
|
>
|
|
|
|
|
</q-select>
|
2024-06-10 13:14:55 +07:00
|
|
|
</q-td>
|
2024-05-31 16:40:06 +07:00
|
|
|
</q-tr>
|
|
|
|
|
<q-tr
|
|
|
|
|
v-if="props.row.selected && props.row.children"
|
|
|
|
|
v-for="(item, index) in props.row.children"
|
|
|
|
|
:key="index"
|
2024-05-31 15:08:11 +07:00
|
|
|
>
|
2024-05-31 16:40:06 +07:00
|
|
|
<q-td></q-td>
|
|
|
|
|
<q-td auto-width colspan="2">
|
2024-06-05 15:46:56 +07:00
|
|
|
<q-checkbox
|
|
|
|
|
v-model="item.selected"
|
|
|
|
|
@update:model-value="
|
2024-06-10 13:14:55 +07:00
|
|
|
!item.selected && (item.attrOwnership = ''),
|
|
|
|
|
(item.attrIsCreate = false),
|
|
|
|
|
(item.attrIsList = false),
|
|
|
|
|
(item.attrIsGet = false),
|
|
|
|
|
(item.attrIsUpdate = false),
|
|
|
|
|
(item.attrIsDelete = false)
|
2024-06-05 15:46:56 +07:00
|
|
|
"
|
|
|
|
|
/>
|
2024-05-31 16:40:06 +07:00
|
|
|
{{ item.name }}
|
|
|
|
|
</q-td>
|
|
|
|
|
<q-td style="text-align: center">
|
2024-06-05 15:46:56 +07:00
|
|
|
<q-radio
|
2024-06-10 13:14:55 +07:00
|
|
|
v-model="item.attrOwnership"
|
2024-06-05 15:46:56 +07:00
|
|
|
val="OWNER"
|
|
|
|
|
@update:model-value="
|
2024-06-10 15:31:50 +07:00
|
|
|
item.attrOwnership === 'OWNER' &&
|
|
|
|
|
(item.attrIsCreate = true),
|
2024-06-10 13:14:55 +07:00
|
|
|
(item.attrIsList = true),
|
|
|
|
|
(item.attrIsGet = true),
|
|
|
|
|
(item.attrIsUpdate = true),
|
|
|
|
|
(item.attrIsDelete = true)
|
2024-06-05 15:46:56 +07:00
|
|
|
"
|
|
|
|
|
:disable="!item.selected"
|
|
|
|
|
/>
|
|
|
|
|
</q-td>
|
|
|
|
|
<q-td style="text-align: center">
|
|
|
|
|
<q-radio
|
2024-06-10 13:14:55 +07:00
|
|
|
v-model="item.attrOwnership"
|
2024-06-05 15:46:56 +07:00
|
|
|
val="STAFF"
|
|
|
|
|
:disable="!item.selected"
|
|
|
|
|
/>
|
2024-05-31 16:40:06 +07:00
|
|
|
</q-td>
|
|
|
|
|
<q-td style="text-align: center">
|
2024-06-05 15:46:56 +07:00
|
|
|
<q-radio
|
2024-06-10 13:14:55 +07:00
|
|
|
v-model="item.attrOwnership"
|
2024-06-05 15:46:56 +07:00
|
|
|
val="GUEST"
|
|
|
|
|
:disable="!item.selected"
|
|
|
|
|
/>
|
2024-05-31 16:40:06 +07:00
|
|
|
</q-td>
|
|
|
|
|
<q-td style="text-align: center">
|
2024-06-05 15:46:56 +07:00
|
|
|
<q-checkbox
|
2024-06-10 13:14:55 +07:00
|
|
|
v-model="item.attrIsCreate"
|
2024-06-05 15:46:56 +07:00
|
|
|
:disable="
|
2024-06-10 15:31:50 +07:00
|
|
|
!item.selected ||
|
|
|
|
|
(item.selected && item.attrOwnership === 'OWNER')
|
2024-06-05 15:46:56 +07:00
|
|
|
"
|
|
|
|
|
/>
|
2024-05-31 16:40:06 +07:00
|
|
|
</q-td>
|
|
|
|
|
<q-td style="text-align: center">
|
2024-06-05 15:46:56 +07:00
|
|
|
<q-checkbox
|
2024-06-10 13:14:55 +07:00
|
|
|
v-model="item.attrIsList"
|
2024-06-05 15:46:56 +07:00
|
|
|
:disable="
|
2024-06-10 15:31:50 +07:00
|
|
|
!item.selected ||
|
|
|
|
|
(item.selected && item.attrOwnership === 'OWNER')
|
2024-06-05 15:46:56 +07:00
|
|
|
"
|
|
|
|
|
/>
|
2024-05-31 16:40:06 +07:00
|
|
|
</q-td>
|
|
|
|
|
<q-td style="text-align: center">
|
2024-06-05 15:46:56 +07:00
|
|
|
<q-checkbox
|
2024-06-10 13:14:55 +07:00
|
|
|
v-model="item.attrIsGet"
|
2024-06-05 15:46:56 +07:00
|
|
|
:disable="
|
2024-06-10 15:31:50 +07:00
|
|
|
!item.selected ||
|
|
|
|
|
(item.selected && item.attrOwnership === 'OWNER')
|
2024-06-05 15:46:56 +07:00
|
|
|
"
|
|
|
|
|
/>
|
2024-05-31 16:40:06 +07:00
|
|
|
</q-td>
|
|
|
|
|
<q-td style="text-align: center">
|
2024-06-05 15:46:56 +07:00
|
|
|
<q-checkbox
|
2024-06-10 13:14:55 +07:00
|
|
|
v-model="item.attrIsUpdate"
|
2024-06-05 15:46:56 +07:00
|
|
|
:disable="
|
2024-06-10 15:31:50 +07:00
|
|
|
!item.selected ||
|
|
|
|
|
(item.selected && item.attrOwnership === 'OWNER')
|
2024-06-05 15:46:56 +07:00
|
|
|
"
|
|
|
|
|
/>
|
2024-05-31 16:40:06 +07:00
|
|
|
</q-td>
|
|
|
|
|
<q-td style="text-align: center">
|
2024-06-05 15:46:56 +07:00
|
|
|
<q-checkbox
|
2024-06-10 13:14:55 +07:00
|
|
|
v-model="item.attrIsDelete"
|
2024-06-05 15:46:56 +07:00
|
|
|
:disable="
|
2024-06-10 15:31:50 +07:00
|
|
|
!item.selected ||
|
|
|
|
|
(item.selected && item.attrOwnership === 'OWNER')
|
2024-06-05 15:46:56 +07:00
|
|
|
"
|
|
|
|
|
/>
|
2024-05-31 16:40:06 +07:00
|
|
|
</q-td>
|
2024-06-10 15:31:50 +07:00
|
|
|
<q-td style="min-width: 120px">
|
|
|
|
|
<q-select
|
|
|
|
|
v-model="item.attrPrivilege"
|
|
|
|
|
:options="attrPrivilegeOp"
|
|
|
|
|
option-value="id"
|
|
|
|
|
option-label="id"
|
|
|
|
|
dense
|
|
|
|
|
outlined
|
|
|
|
|
emit-value
|
|
|
|
|
map-options
|
|
|
|
|
:disable="
|
|
|
|
|
!item.selected ||
|
|
|
|
|
(item.selected && item.attrOwnership === 'OWNER')
|
|
|
|
|
"
|
|
|
|
|
label="สิทธิเข้าถึงข้อมูล"
|
|
|
|
|
style="min-width: 120px"
|
|
|
|
|
>
|
|
|
|
|
</q-select
|
|
|
|
|
></q-td>
|
2024-05-31 16:40:06 +07:00
|
|
|
</q-tr>
|
|
|
|
|
<!-- <q-tr
|
2024-06-05 15:46:56 +07:00
|
|
|
v-if="item.children"
|
|
|
|
|
v-for="(item3, index) in item.children"
|
|
|
|
|
:key="index"
|
|
|
|
|
>
|
|
|
|
|
<q-td></q-td>
|
|
|
|
|
<q-td auto-width colspan="2">
|
|
|
|
|
<q-checkbox v-model="item3.selected" />
|
|
|
|
|
{{ item3.name }}
|
|
|
|
|
</q-td>
|
|
|
|
|
<q-td style="text-align: center">
|
2024-06-10 13:14:55 +07:00
|
|
|
<q-checkbox v-model="item3.attrOwnership" />
|
2024-06-05 15:46:56 +07:00
|
|
|
</q-td>
|
|
|
|
|
<q-td style="text-align: center">
|
|
|
|
|
<q-checkbox v-model="item3.officer" />
|
|
|
|
|
</q-td>
|
|
|
|
|
<q-td style="text-align: center">
|
2024-06-10 13:14:55 +07:00
|
|
|
<q-checkbox v-model="item3.attrIsCreate" />
|
2024-06-05 15:46:56 +07:00
|
|
|
</q-td>
|
|
|
|
|
<q-td style="text-align: center">
|
2024-06-10 13:14:55 +07:00
|
|
|
<q-checkbox v-model="item3.attrIsList" />
|
2024-06-05 15:46:56 +07:00
|
|
|
</q-td>
|
|
|
|
|
<q-td style="text-align: center">
|
2024-06-10 13:14:55 +07:00
|
|
|
<q-checkbox v-model="item3.attrIsGet" />
|
2024-06-05 15:46:56 +07:00
|
|
|
</q-td>
|
|
|
|
|
<q-td style="text-align: center">
|
|
|
|
|
<q-checkbox v-model="item3.update" />
|
|
|
|
|
</q-td>
|
|
|
|
|
<q-td style="text-align: center">
|
2024-06-10 13:14:55 +07:00
|
|
|
<q-checkbox v-model="item3.attrIsDelete" />
|
2024-06-05 15:46:56 +07:00
|
|
|
</q-td>
|
|
|
|
|
</q-tr> -->
|
2024-05-31 16:40:06 +07:00
|
|
|
</template>
|
|
|
|
|
</q-table>
|
|
|
|
|
</div>
|
|
|
|
|
|
2024-06-05 15:46:56 +07:00
|
|
|
<q-card-actions align="right">
|
2024-05-31 16:40:06 +07:00
|
|
|
<q-btn label="บันทึก" color="secondary" type="submit"
|
|
|
|
|
><q-tooltip>บันทึกข้อมูล</q-tooltip></q-btn
|
|
|
|
|
>
|
2024-06-05 15:46:56 +07:00
|
|
|
</q-card-actions>
|
2024-05-31 16:40:06 +07:00
|
|
|
</q-card>
|
|
|
|
|
</q-form>
|
2024-05-31 15:08:11 +07:00
|
|
|
</template>
|
2024-06-10 13:14:55 +07:00
|
|
|
<style scoped>
|
|
|
|
|
.absolute-custom {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: -5px;
|
|
|
|
|
right: -5px;
|
|
|
|
|
}
|
2024-06-10 15:31:50 +07:00
|
|
|
.absolute-customH{
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: -2px;
|
|
|
|
|
right: -2px;
|
|
|
|
|
}
|
|
|
|
|
|
2024-06-10 13:14:55 +07:00
|
|
|
</style>
|