reafactor(issues): add status HELPDESK_IN_PROGRESS and REPLIED
This commit is contained in:
parent
3cc8d9e974
commit
b22ae37eec
2 changed files with 45 additions and 29 deletions
|
|
@ -13,8 +13,10 @@ export const useIssueStore = defineStore("issue", () => {
|
|||
const statusOptions = ref<Options[]>([
|
||||
{ label: "ทั้งหมด", value: "" },
|
||||
{ label: "ใหม่", value: "NEW" },
|
||||
{ label: "กำลังดำเนินการ", value: "IN_PROGRESS" },
|
||||
{ label: "Dev กำลังดำเนินการ", value: "IN_PROGRESS" },
|
||||
{ label: "แก้ไขแล้ว", value: "RESOLVED" },
|
||||
{ label: "Helpdesk กำลังดำเนินการ", value: "HELPDESK_IN_PROGRESS" },
|
||||
{ label: "แจ้งกลับแล้ว", value: "REPLIED " },
|
||||
{ label: "ปิดแล้ว", value: "CLOSED" },
|
||||
]);
|
||||
|
||||
|
|
@ -29,6 +31,10 @@ export const useIssueStore = defineStore("issue", () => {
|
|||
return "แก้ไขแล้ว";
|
||||
case "CLOSED":
|
||||
return "ปิดแล้ว";
|
||||
case "HELPDESK_IN_PROGRESS":
|
||||
return "Helpdesk กำลังดำเนินการ";
|
||||
case "REPLIED":
|
||||
return "แจ้งกลับแล้ว";
|
||||
default:
|
||||
return "-";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue