แก้ไขสิทธิ์ของประเมิน และเพิ่มเมนูออกคำสั่งลงโทษทางวินัย
This commit is contained in:
parent
a0c6c4eb8e
commit
f9d37f990d
9 changed files with 40 additions and 68 deletions
|
|
@ -463,6 +463,12 @@ const menuList = readonly<any[]>([
|
||||||
path: "appealComplain",
|
path: "appealComplain",
|
||||||
role: "discipline",
|
role: "discipline",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
key: 11.5,
|
||||||
|
label: "ออกคำสั่งลงโทษทางวินัย",
|
||||||
|
path: "disciplineOrder",
|
||||||
|
role: "discipline",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
label: "ข้อมูลพื้นฐาน",
|
label: "ข้อมูลพื้นฐาน",
|
||||||
path: "",
|
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,
|
key: 11,
|
||||||
icon: "mdi-account-check",
|
icon: "mdi-account-check",
|
||||||
activeIcon: "mdi-account-check",
|
activeIcon: "mdi-account-check",
|
||||||
label: "ประเมินบุคคล",
|
label: "ประเมินบุคคล",
|
||||||
role: "discipline",
|
role: "evaluate",
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
key: 11.1,
|
key: 11.1,
|
||||||
|
|
@ -534,17 +506,17 @@ const menuList = readonly<any[]>([
|
||||||
label: "กรรมการและการประชุม",
|
label: "กรรมการและการประชุม",
|
||||||
path: "",
|
path: "",
|
||||||
key: 11.7,
|
key: 11.7,
|
||||||
role: "discipline",
|
role: "evaluate",
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
label: "กรรมการ",
|
label: "กรรมการ",
|
||||||
path: "evaluateDirector",
|
path: "evaluateDirector",
|
||||||
role: "discipline",
|
role: "evaluate",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "การประชุม",
|
label: "การประชุม",
|
||||||
path: "evaluateMeeting",
|
path: "evaluateMeeting",
|
||||||
role: "discipline",
|
role: "evaluate",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ import { useRouter } from "vue-router";
|
||||||
import type { DataList, DataListRes } from "../../interface/response/order";
|
import type { DataList, DataListRes } from "../../interface/response/order";
|
||||||
|
|
||||||
import { useOrderStore } from "@/modules/11_discipline/store/OrderStore";
|
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 router = useRouter();
|
||||||
const OrderStore = useOrderStore();
|
const OrderStore = useOrderStore();
|
||||||
|
|
@ -3,9 +3,9 @@ import { ref } from "vue";
|
||||||
import { useRouter } from "vue-router";
|
import { useRouter } from "vue-router";
|
||||||
|
|
||||||
/** import step */
|
/** import step */
|
||||||
import step01 from "@/modules/11_discipline/components/4_Order/Step01.vue";
|
import step01 from "@/modules/11_discipline/components/9_Order/Step01.vue";
|
||||||
import step02 from "@/modules/11_discipline/components/4_Order/Step02.vue";
|
import step02 from "@/modules/11_discipline/components/9_Order/Step02.vue";
|
||||||
import step03 from "@/modules/11_discipline/components/4_Order/Step03.vue";
|
import step03 from "@/modules/11_discipline/components/9_Order/Step03.vue";
|
||||||
|
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
const step = ref<number>(1);
|
const step = ref<number>(1);
|
||||||
|
|
@ -50,10 +50,10 @@ const InvestigateDisciplinaryAdd = () =>
|
||||||
import(
|
import(
|
||||||
"@/modules/11_discipline/components/3_InvestigateDisciplinary/AddPage.vue"
|
"@/modules/11_discipline/components/3_InvestigateDisciplinary/AddPage.vue"
|
||||||
);
|
);
|
||||||
// const orderPage = () =>
|
const orderPage = () =>
|
||||||
// import("@/modules/11_discipline/components/4_Order/OrderPage.vue");
|
import("@/modules/11_discipline/components/9_Order/OrderPage.vue");
|
||||||
// const oredrMain = () =>
|
const oredrMain = () =>
|
||||||
// import("@/modules/11_discipline/components/4_Order/MainPage.vue");
|
import("@/modules/11_discipline/components/9_Order/MainPage.vue");
|
||||||
|
|
||||||
/** หน้ารายการสรุปผลการพิจารณาทางวินัย */
|
/** หน้ารายการสรุปผลการพิจารณาทางวินัย */
|
||||||
const resultMainPage = () =>
|
const resultMainPage = () =>
|
||||||
|
|
@ -316,24 +316,24 @@ export default [
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
// {
|
{
|
||||||
// path: "/discipline-order",
|
path: "/discipline-order",
|
||||||
// name: "disciplineOrder",
|
name: "disciplineOrder",
|
||||||
// component: oredrMain,
|
component: oredrMain,
|
||||||
// meta: {
|
meta: {
|
||||||
// Auth: true,
|
Auth: true,
|
||||||
// Key: [11.4],
|
Key: [11.4],
|
||||||
// Role: "discipline",
|
Role: "discipline",
|
||||||
// },
|
},
|
||||||
// },
|
},
|
||||||
// {
|
{
|
||||||
// path: "/discipline-order/add",
|
path: "/discipline-order/add",
|
||||||
// name: "disciplineOrderAdd",
|
name: "disciplineOrderAdd",
|
||||||
// component: orderPage,
|
component: orderPage,
|
||||||
// meta: {
|
meta: {
|
||||||
// Auth: true,
|
Auth: true,
|
||||||
// Key: [11.4],
|
Key: [11.4],
|
||||||
// Role: "discipline",
|
Role: "discipline",
|
||||||
// },
|
},
|
||||||
// },
|
},
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ export default [
|
||||||
meta: {
|
meta: {
|
||||||
Auth: true,
|
Auth: true,
|
||||||
Key: [1.1],
|
Key: [1.1],
|
||||||
Role: "discipline",
|
Role: "evaluate",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
@ -20,7 +20,7 @@ export default [
|
||||||
meta: {
|
meta: {
|
||||||
Auth: true,
|
Auth: true,
|
||||||
Key: [12.2],
|
Key: [12.2],
|
||||||
Role: "discipline",
|
Role: "evaluate",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
Loading…
Add table
Add a link
Reference in a new issue