ปรับทุนระบบพัฒนา
This commit is contained in:
parent
d94e727802
commit
838ae1ae3c
3 changed files with 27 additions and 0 deletions
|
|
@ -118,6 +118,11 @@ const formBody = reactive<FormsSholarship>({
|
|||
guarantorCitizenId: "", //เลขประจำตัวประชาชน(ผู้ค้ำ)
|
||||
guarantorPosition: "", //ตำแหน่ง(ผู้ค้ำ)
|
||||
guarantorPosExecutive: "", //ชื่อตำแหน่งทางการบริหาร(ผู้ค้ำ)
|
||||
guarantorOrg: "",
|
||||
guarantorRootId: null,
|
||||
guarantorRoot: "",
|
||||
guarantorOrgRootShortName: "",
|
||||
guarantorOrgRevisionId: null,
|
||||
posLevelguarantorId: null, //ไอดีระดับตำแหน่ง(ผู้ค้ำ)
|
||||
posTypeguarantorId: null, //ไอดีประเภทตำแหน่ง(ผู้ค้ำ)
|
||||
scholarshipYear: null, //ปีงบประมาณที่ได้รับทุน
|
||||
|
|
@ -178,6 +183,11 @@ function fetchDataDetail(id: string) {
|
|||
formBody.guarantorCitizenId = data.guarantorCitizenId;
|
||||
formBody.guarantorPosition = data.guarantorPosition;
|
||||
formBody.guarantorPosExecutive = data.guarantorPosExecutive;
|
||||
formBody.guarantorOrg = data.guarantorOrg;
|
||||
formBody.guarantorRootId = data.guarantorRootId;
|
||||
formBody.guarantorRoot = data.guarantorRoot;
|
||||
formBody.guarantorOrgRootShortName = data.guarantorOrgRootShortName;
|
||||
formBody.guarantorOrgRevisionId = data.guarantorOrgRevisionId;
|
||||
formBody.posLevelguarantorId = data.posLevelguarantorId;
|
||||
formBody.posTypeguarantorId = data.posTypeguarantorId;
|
||||
formBody.scholarshipYear = data.scholarshipYear;
|
||||
|
|
@ -239,6 +249,7 @@ function fetchDataDetail(id: string) {
|
|||
dataGuarantor.positionSide = data.guarantorPosExecutive
|
||||
? data.guarantorPosExecutive
|
||||
: "-";
|
||||
dataGuarantor.org = data.guarantorOrg ? data.guarantorOrg : "-";
|
||||
isStatus.value = data.status;
|
||||
isGov.value = data.citizenId ? true : false;
|
||||
isGuarantor.value = data.guarantorCitizenId ? true : false;
|
||||
|
|
@ -415,6 +426,11 @@ function upDate(data: DataPerson) {
|
|||
formBody.posTypeguarantorId = data.posTypeId;
|
||||
formBody.posLevelguarantorId = data.posLevelId;
|
||||
formBody.guarantorPosExecutive = data.positionSide;
|
||||
formBody.guarantorOrg = data.org;
|
||||
formBody.guarantorRootId = data.rootId;
|
||||
formBody.guarantorRoot = data.root;
|
||||
formBody.guarantorOrgRootShortName = data.orgRootShortName;
|
||||
formBody.guarantorOrgRevisionId = data.orgRevisionId;
|
||||
|
||||
dataGuarantor.id = data.id ? data.id : "-";
|
||||
dataGuarantor.citizenId = data.citizenId ? data.citizenId : "-";
|
||||
|
|
@ -423,6 +439,7 @@ function upDate(data: DataPerson) {
|
|||
dataGuarantor.type = data.type ? data.type : "-";
|
||||
dataGuarantor.level = data.level ? data.level : "-";
|
||||
dataGuarantor.positionSide = data.positionSide ? data.positionSide : "-";
|
||||
dataGuarantor.org = data.org ? data.org : "-";
|
||||
|
||||
isGuarantor.value = true;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,6 +21,11 @@ interface FormsSholarship {
|
|||
guarantorCitizenId: string; //เลขประจำตัวประชาชน(ผู้ค้ำ)
|
||||
guarantorPosition: string; //ตำแหน่ง(ผู้ค้ำ)
|
||||
guarantorPosExecutive: string; //ชื่อตำแหน่งทางการบริหาร(ผู้ค้ำ)
|
||||
guarantorOrg: string;
|
||||
guarantorRootId: string | null;
|
||||
guarantorRoot: string;
|
||||
guarantorOrgRootShortName: string;
|
||||
guarantorOrgRevisionId: string | null;
|
||||
posLevelguarantorId: string | null; //ไอดีระดับตำแหน่ง(ผู้ค้ำ)
|
||||
posTypeguarantorId: string | null; //ไอดีประเภทตำแหน่ง(ผู้ค้ำ)
|
||||
scholarshipYear: number | null; //ปีงบประมาณที่ได้รับทุน
|
||||
|
|
|
|||
|
|
@ -28,6 +28,11 @@ interface DataSholarship {
|
|||
guarantorCitizenId: string; //เลขประจำตัวประชาชน(ผู้ค้ำ)
|
||||
guarantorPosition: string; //ตำแหน่ง(ผู้ค้ำ)
|
||||
guarantorPosExecutive: string; //ชื่อตำแหน่งทางการบริหาร(ผู้ค้ำ)
|
||||
guarantorOrg: string;
|
||||
guarantorRootId: string | null;
|
||||
guarantorRoot: string;
|
||||
guarantorOrgRootShortName: string;
|
||||
guarantorOrgRevisionId: string | null;
|
||||
posLevelguarantorId: string; //ไอดีระดับตำแหน่ง(ผู้ค้ำ)
|
||||
posTypeguarantorId: string; //ไอดีประเภทตำแหน่ง(ผู้ค้ำ)
|
||||
posTypeguarantorName: string; //ไอดีระดับตำแหน่ง(ผู้ค้ำ)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue