แก้ไขสิทธิ์ของประเมิน และเพิ่มเมนูออกคำสั่งลงโทษทางวินัย

This commit is contained in:
Warunee Tamkoo 2023-12-18 16:07:20 +07:00
parent a0c6c4eb8e
commit f9d37f990d
9 changed files with 40 additions and 68 deletions

View file

@ -463,6 +463,12 @@ const menuList = readonly<any[]>([
path: "appealComplain",
role: "discipline",
},
{
key: 11.5,
label: "ออกคำสั่งลงโทษทางวินัย",
path: "disciplineOrder",
role: "discipline",
},
{
label: "ข้อมูลพื้นฐาน",
path: "",
@ -483,46 +489,12 @@ const menuList = readonly<any[]>([
},
],
},
// {
// key: 11,
// icon: "mdi-account-check",
// activeIcon: "mdi-account-check",
// label: "ประเมิน",
// // path: "evaluate",
// role: "discipline", // evaluate
// children: [
// {
// key: 12.1,
// label: "ประเมินบุคคล",
// path: "evaluate",
// role: "discipline",
// },
// {
// label: "ข้อมูลพื้นฐาน",
// path: "",
// key: 12.2,
// role: "discipline",
// children: [
// {
// label: "กรรมการ",
// path: "evaluateDirector",
// role: "discipline",
// },
// {
// label: "การประชุม",
// path: "evaluateMeeting",
// role: "discipline",
// },
// ],
// },
// ],
// },
{
key: 11,
icon: "mdi-account-check",
activeIcon: "mdi-account-check",
label: "ประเมินบุคคล",
role: "discipline",
role: "evaluate",
children: [
{
key: 11.1,
@ -534,17 +506,17 @@ const menuList = readonly<any[]>([
label: "กรรมการและการประชุม",
path: "",
key: 11.7,
role: "discipline",
role: "evaluate",
children: [
{
label: "กรรมการ",
path: "evaluateDirector",
role: "discipline",
role: "evaluate",
},
{
label: "การประชุม",
path: "evaluateMeeting",
role: "discipline",
role: "evaluate",
},
],
},

View file

@ -4,7 +4,7 @@ import { useRouter } from "vue-router";
import type { DataList, DataListRes } from "../../interface/response/order";
import { useOrderStore } from "@/modules/11_discipline/store/OrderStore";
import tableOrder from "@/modules/11_discipline/components/4_Order/TableOrder.vue";
import tableOrder from "@/modules/11_discipline/components/9_Order/TableOrder.vue";
const router = useRouter();
const OrderStore = useOrderStore();

View file

@ -3,9 +3,9 @@ import { ref } from "vue";
import { useRouter } from "vue-router";
/** import step */
import step01 from "@/modules/11_discipline/components/4_Order/Step01.vue";
import step02 from "@/modules/11_discipline/components/4_Order/Step02.vue";
import step03 from "@/modules/11_discipline/components/4_Order/Step03.vue";
import step01 from "@/modules/11_discipline/components/9_Order/Step01.vue";
import step02 from "@/modules/11_discipline/components/9_Order/Step02.vue";
import step03 from "@/modules/11_discipline/components/9_Order/Step03.vue";
const router = useRouter();
const step = ref<number>(1);

View file

@ -50,10 +50,10 @@ const InvestigateDisciplinaryAdd = () =>
import(
"@/modules/11_discipline/components/3_InvestigateDisciplinary/AddPage.vue"
);
// const orderPage = () =>
// import("@/modules/11_discipline/components/4_Order/OrderPage.vue");
// const oredrMain = () =>
// import("@/modules/11_discipline/components/4_Order/MainPage.vue");
const orderPage = () =>
import("@/modules/11_discipline/components/9_Order/OrderPage.vue");
const oredrMain = () =>
import("@/modules/11_discipline/components/9_Order/MainPage.vue");
/** หน้ารายการสรุปผลการพิจารณาทางวินัย */
const resultMainPage = () =>
@ -316,24 +316,24 @@ export default [
},
},
// {
// path: "/discipline-order",
// name: "disciplineOrder",
// component: oredrMain,
// meta: {
// Auth: true,
// Key: [11.4],
// Role: "discipline",
// },
// },
// {
// path: "/discipline-order/add",
// name: "disciplineOrderAdd",
// component: orderPage,
// meta: {
// Auth: true,
// Key: [11.4],
// Role: "discipline",
// },
// },
{
path: "/discipline-order",
name: "disciplineOrder",
component: oredrMain,
meta: {
Auth: true,
Key: [11.4],
Role: "discipline",
},
},
{
path: "/discipline-order/add",
name: "disciplineOrderAdd",
component: orderPage,
meta: {
Auth: true,
Key: [11.4],
Role: "discipline",
},
},
];

View file

@ -10,7 +10,7 @@ export default [
meta: {
Auth: true,
Key: [1.1],
Role: "discipline",
Role: "evaluate",
},
},
{
@ -20,7 +20,7 @@ export default [
meta: {
Auth: true,
Key: [12.2],
Role: "discipline",
Role: "evaluate",
},
},
];