This commit is contained in:
Warunee Tamkoo 2024-08-01 12:12:28 +07:00
parent 46533bbd62
commit 15d3ac574d
128 changed files with 347 additions and 322 deletions

View file

@ -155,7 +155,7 @@ async function fetchProfileGov(id: string) {
}
function redirecToRegistry() {
router.push(`/registry-new${empType.value}/${props.id}`);
router.push(`/registry-person${empType.value}/${props.id}`);
modal.value = false;
}
@ -270,7 +270,9 @@ async function fetchProfile(id: string, avatarName: string) {
<q-input
borderless
readonly
:model-value="imformation.citizenId ? imformation.citizenId:'-'"
:model-value="
imformation.citizenId ? imformation.citizenId : '-'
"
label="เลขประจำตัวประชาชน"
></q-input>
</div>
@ -278,7 +280,9 @@ async function fetchProfile(id: string, avatarName: string) {
<q-input
borderless
readonly
:model-value="imformation.prefix ? imformation.prefix:'-'"
:model-value="
imformation.prefix ? imformation.prefix : '-'
"
label="คำนำหน้าชื่อ"
/>
</div>
@ -286,7 +290,9 @@ async function fetchProfile(id: string, avatarName: string) {
<q-input
borderless
readonly
:model-value="imformation.firstName ? imformation.firstName:'-'"
:model-value="
imformation.firstName ? imformation.firstName : '-'
"
label="ชื่่อ"
/>
</div>
@ -294,7 +300,9 @@ async function fetchProfile(id: string, avatarName: string) {
<q-input
borderless
readonly
:model-value="imformation.lastName ? imformation.lastName:'-'"
:model-value="
imformation.lastName ? imformation.lastName : '-'
"
label="นามสกุล"
/>
</div>
@ -302,7 +310,9 @@ async function fetchProfile(id: string, avatarName: string) {
<q-input
borderless
readonly
:model-value="imformation.birthDate ? imformation.birthDate:'-'"
:model-value="
imformation.birthDate ? imformation.birthDate : '-'
"
label="วัน/เดือน/ปีเกิด"
/>
</div>
@ -310,7 +320,9 @@ async function fetchProfile(id: string, avatarName: string) {
<q-input
borderless
readonly
:model-value="imformation.gender ? imformation.gender:'-'"
:model-value="
imformation.gender ? imformation.gender : '-'
"
label="เพศ"
/>
</div>
@ -318,7 +330,7 @@ async function fetchProfile(id: string, avatarName: string) {
<q-input
borderless
readonly
:model-value="imformation.age ? imformation.age:'-'"
:model-value="imformation.age ? imformation.age : '-'"
label="อายุ"
/>
</div>
@ -346,7 +358,7 @@ async function fetchProfile(id: string, avatarName: string) {
<q-input
borderless
readonly
:model-value="goverment.posNo ? goverment.posNo:'-'"
:model-value="goverment.posNo ? goverment.posNo : '-'"
label="ตำแหน่งเลขที่"
/>
</div>
@ -354,7 +366,9 @@ async function fetchProfile(id: string, avatarName: string) {
<q-input
borderless
readonly
:model-value="goverment.position ? goverment.position:'-'"
:model-value="
goverment.position ? goverment.position : '-'
"
label="ตำแหน่ง"
/>
</div>
@ -362,7 +376,11 @@ async function fetchProfile(id: string, avatarName: string) {
<q-input
borderless
readonly
:model-value="goverment.positionPathSide ? goverment.positionPathSide:'-'"
:model-value="
goverment.positionPathSide
? goverment.positionPathSide
: '-'
"
label="ด้าน/สาขา"
/>
</div>
@ -370,7 +388,9 @@ async function fetchProfile(id: string, avatarName: string) {
<q-input
borderless
readonly
:model-value="goverment.positionLine ? goverment.positionLine:'-'"
:model-value="
goverment.positionLine ? goverment.positionLine : '-'
"
label="สายงาน"
/>
</div>
@ -378,7 +398,9 @@ async function fetchProfile(id: string, avatarName: string) {
<q-input
borderless
readonly
:model-value="goverment.positionType ? goverment.positionType:'-'"
:model-value="
goverment.positionType ? goverment.positionType : '-'
"
label="ประเภทตำแหน่ง"
/>
</div>
@ -386,7 +408,11 @@ async function fetchProfile(id: string, avatarName: string) {
<q-input
borderless
readonly
:model-value="goverment.positionLevel ? goverment.positionLevel:'-'"
:model-value="
goverment.positionLevel
? goverment.positionLevel
: '-'
"
label="ระดับตำแหน่ง"
/>
</div>
@ -397,7 +423,11 @@ async function fetchProfile(id: string, avatarName: string) {
<q-input
borderless
readonly
:model-value="goverment.positionExecutive ? goverment.positionExecutive:'-'"
:model-value="
goverment.positionExecutive
? goverment.positionExecutive
: '-'
"
label="ตำแหน่งทางการบริหาร"
/>
</div>
@ -408,7 +438,11 @@ async function fetchProfile(id: string, avatarName: string) {
<q-input
borderless
readonly
:model-value="goverment.positionExecutiveSide ? goverment.positionExecutiveSide:'-'"
:model-value="
goverment.positionExecutiveSide
? goverment.positionExecutiveSide
: '-'
"
label="ด้านตำแหน่งทางการบริหาร"
/>
</div>