ระบบประเมิน เพิ่มแสดงระดับตำแหน่งที่ได้รับ
This commit is contained in:
parent
9c2071f0c9
commit
abf6d66eae
1 changed files with 15 additions and 4 deletions
|
|
@ -272,6 +272,7 @@ async function downloadFileList(fileName: string) {
|
|||
const author = ref<string>(""); //เจ้าของผลงาน
|
||||
const subject = ref<string>(""); //ชื่อผลงาน
|
||||
const assignedPosition = ref<string>(""); //ตำแหน่ง
|
||||
const assignedPosLevel = ref<string>(""); //ระดับตำแหน่ง
|
||||
|
||||
/** function เรียกข้อมูลผลงาน*/
|
||||
async function fetchDataSigner() {
|
||||
|
|
@ -283,6 +284,7 @@ async function fetchDataSigner() {
|
|||
author.value = data.authorDoc2;
|
||||
subject.value = data.subjectDoc2;
|
||||
assignedPosition.value = data.assignedPosition;
|
||||
assignedPosLevel.value = data.assignedPosLevel;
|
||||
|
||||
nameOfWork.value = data.subjectDoc2 ? data.subjectDoc2[0] : "";
|
||||
nameOfOwner.value = data.authorDoc2;
|
||||
|
|
@ -542,7 +544,7 @@ onMounted(async () => {
|
|||
<q-separator />
|
||||
<q-card-section class="q-pa-md bg-grey-1">
|
||||
<div class="row q-col-gutter-sm">
|
||||
<div class="col-4">
|
||||
<div class="col-12">
|
||||
<q-input
|
||||
v-model="nameOfWork"
|
||||
label="ชื่อผลงาน"
|
||||
|
|
@ -551,7 +553,7 @@ onMounted(async () => {
|
|||
bg-color="white"
|
||||
/>
|
||||
</div>
|
||||
<div class="col-4">
|
||||
<div class="col-6">
|
||||
<q-input
|
||||
v-model="nameOfOwner"
|
||||
label="ชื่อเจ้าของผลงาน"
|
||||
|
|
@ -560,15 +562,24 @@ onMounted(async () => {
|
|||
bg-color="white"
|
||||
/>
|
||||
</div>
|
||||
<div class="col-4">
|
||||
<div class="col-3">
|
||||
<q-input
|
||||
v-model="position"
|
||||
v-model="assignedPosition"
|
||||
label="ตำแหน่งที่ได้รับ"
|
||||
outlined
|
||||
dense
|
||||
bg-color="white"
|
||||
/>
|
||||
</div>
|
||||
<div class="col-3">
|
||||
<q-input
|
||||
v-model="assignedPosLevel"
|
||||
label="ระดับตำแหน่งที่ได้รับ"
|
||||
outlined
|
||||
dense
|
||||
bg-color="white"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row q-gutter-x-sm q-pt-sm">
|
||||
<q-radio
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue