UI โครงสร้างอัตรากำลัง
This commit is contained in:
parent
531b5a33db
commit
790af39fb1
2 changed files with 18 additions and 6 deletions
|
|
@ -50,7 +50,11 @@ async function fetchDetailTree(id: string, type: string) {
|
|||
formData.orgType = range != "DEPARTMENT" ? "ส่วนราชการ" : "หน่วยงาน";
|
||||
formData.orgLevel = store.convertType(range);
|
||||
formData.status =
|
||||
store.typeOrganizational === "current" ? "ปัจจุบัน" : "แบบร่าง";
|
||||
store.typeOrganizational === "current"
|
||||
? "ปกติ"
|
||||
: store.typeOrganizational === "draft"
|
||||
? "แบบร่าง"
|
||||
: "ยุบ";
|
||||
formData.orgPhoneEx = data[`org${type}PhoneEx`];
|
||||
formData.orgPhoneIn = data[`org${type}PhoneIn`];
|
||||
formData.orgFax = data[`org${type}Fax`];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue