Merge branch 'develop' into devTee

This commit is contained in:
setthawutttty 2025-04-03 17:38:39 +07:00
commit bfb9acfb05
10 changed files with 42 additions and 14 deletions

View file

@ -137,6 +137,8 @@ function convertText(val: string) {
return "รอดำเนินการ";
case "REPORT":
return "ส่งไปออกคำสั่ง";
case "WAITING":
return "รอออกคำสั่ง";
case "DONE":
return "ออกคำสั่งเสร็จสิ้น";
default:

View file

@ -147,7 +147,7 @@ const probation_statusOP = ref<any>([
},
{
id: 9,
label: "ออกคำสั่งเสร็จแล้ว",
label: "ออกคำสั่งเสร็จสิ้น",
disable: true,
},
]);

View file

@ -355,7 +355,7 @@ export const useTransferDataStore = defineStore("transferDataStore", () => {
},
{
id: "9",
value: "ออกคำสั่งเสร็จแล้ว",
value: "ออกคำสั่งเสร็จสิ้น",
},
]);
const statusMainOp = ref<DataOptions[]>([
@ -364,7 +364,8 @@ export const useTransferDataStore = defineStore("transferDataStore", () => {
{ id: "APPROVE", name: "อนุมัติ" },
{ id: "REJECT", name: "ไม่อนุมัติ" },
{ id: "REPORT", name: "ส่งรายชื่อไปออกคำสั่ง" },
{ id: "DONE", name: "ออกคำสั่งเสร็จแล้ว" },
{ id: "WAITING", name: "รอออกคำสั่ง" },
{ id: "DONE", name: "ออกคำสั่งเสร็จสิ้น" },
]);
const statusOp = ref<DataOptions[]>(statusMainOp.value);
@ -380,8 +381,10 @@ export const useTransferDataStore = defineStore("transferDataStore", () => {
return "ไม่อนุมัติ";
case "REPORT":
return "ส่งรายชื่อไปออกคำสั่ง";
case "WAITING":
return "รอออกคำสั่ง";
case "DONE":
return "ออกคำสั่งเสร็จแล้ว";
return "ออกคำสั่งเสร็จสิ้น";
default:
return "-";
@ -422,7 +425,7 @@ export const useTransferDataStore = defineStore("transferDataStore", () => {
case 8:
return "ส่งรายชื่อไปออกคำสั่ง";
case 9:
return "ออกคำสั่งเสร็จแล้ว";
return "ออกคำสั่งเสร็จสิ้น";
default:
return "-";
}

View file

@ -261,7 +261,10 @@ watchEffect(() => {
{{ props.rowIndex + 1 }}
</div>
<div v-else-if="col.name == 'org'" class="text-html">
<div
v-else-if="col.name == 'organizationPositionOld'"
class="text-html"
>
{{
props.row.organizationPositionOld
? props.row.organizationPositionOld

View file

@ -13,8 +13,10 @@ export const useRetirementDataStore = defineStore("retirement", () => {
return "ไม่อนุมัติ";
case "REPORT":
return "ส่งรายชื่อไปออกคำสั่ง";
case "WAITING":
return "รอออกคำสั่ง";
case "DONE":
return "ออกคำสั่งเสร็จแล้ว";
return "ออกคำสั่งเสร็จสิ้น";
case "DONECANCEL":
return "ยกเลิกการลาออก";
case "CANCEL":

View file

@ -13,7 +13,7 @@ export const useDataStore = defineStore("resign", () => {
group: "1",
},
{
name: "รอออกคำสั่ง",
name: "อนุมัติแล้ว",
value: "APPROVE",
group: "1",
},
@ -23,7 +23,12 @@ export const useDataStore = defineStore("resign", () => {
group: "1",
},
{
name: "ออกคำสั่งเสร็จแล้ว",
name: "รอออกคำสั่ง",
value: "WAITING",
group: "1",
},
{
name: "ออกคำสั่งเสร็จสิ้น",
value: "DONE",
group: "1",
},
@ -39,7 +44,7 @@ export const useDataStore = defineStore("resign", () => {
group: "2",
},
{
name: "รอออกคำสั่ง",
name: "อนุมัติแล้ว",
value: "APPROVE",
group: "2",
},
@ -48,6 +53,11 @@ export const useDataStore = defineStore("resign", () => {
value: "REPORT",
group: "2",
},
{
name: "รอออกคำสั่ง",
value: "WAITING",
group: "2",
},
{
name: "ออกคำสั่งสำเร็จ",
value: "DONE",

View file

@ -97,8 +97,10 @@ export const useRegistryEmployeeDataStore = defineStore(
return "ไม่อนุมัติ";
case "REPORT":
return "ส่งรายชื่อไปออกคำสั่ง";
case "WAITING":
return "รอออกคำสั่ง";
case "DONE":
return "ออกคำสั่งเสร็จแล้ว";
return "ออกคำสั่งเสร็จสิ้น";
default:
return "-";

View file

@ -44,8 +44,10 @@ export const useRegistryEmp = defineStore("registryEmployeeTemp", () => {
return "ไม่อนุมัติ";
case "REPORT":
return "ส่งรายชื่อไปออกคำสั่ง";
case "WAITING":
return "รอออกคำสั่ง";
case "DONE":
return "ออกคำสั่งเสร็จแล้ว";
return "ออกคำสั่งเสร็จสิ้น";
default:
return "-";
}

View file

@ -83,8 +83,10 @@ export const useDisciplineSuspendStore = defineStore(
return "ไม่อนุมัติ";
case "REPORT":
return "ส่งรายชื่อไปออกคำสั่ง";
case "WAITING":
return "รอออกคำสั่ง";
case "DONE":
return "ออกคำสั่งเสร็จแล้ว";
return "ออกคำสั่งเสร็จสิ้น";
default:
return "-";

View file

@ -190,8 +190,10 @@ function statusText(val: string) {
return "ไม่อนุมัติ";
case "REPORT":
return "ส่งรายชื่อไปออกคำสั่ง";
case "WAITING":
return "รอออกคำสั่ง";
case "DONE":
return "ออกคำสั่งเสร็จแล้ว";
return "ออกคำสั่งเสร็จสิ้น";
default:
return "-";