อัพโหลดคะแนนภาค ข ค

This commit is contained in:
Kittapath 2023-04-25 03:45:41 +07:00
parent 9b9432f779
commit b768d7e754
5 changed files with 118 additions and 27 deletions

View file

@ -71,6 +71,7 @@
:rules="[(val) => !!val || `${'กรุณากรอกสถานที่ทำงาน/ฝึกงาน'}`]"
:label="`${'สถานที่ทำงาน/ฝึกงาน'}`"
@update:modelValue="clickEditRow"
hide-bottom-space
/>
</div>
<div class="col-xs-12 col-sm-6 col-md-6">
@ -85,6 +86,7 @@
:rules="[(val) => !!val || `${'กรุณากรอกตำแหน่ง/ลักษณะงาน'}`]"
:label="`${'ตำแหน่ง/ลักษณะงาน'}`"
@update:modelValue="clickEditRow"
hide-bottom-space
/>
</div>
<div class="col-xs-12 col-sm-6 col-md-6">
@ -100,6 +102,7 @@
:label="`${'เงินเดือนสุดท้ายก่อนออก'}`"
@update:modelValue="clickEditRow"
type="number"
hide-bottom-space
/>
</div>
<div class="col-xs-12 col-sm-6 col-md-6">
@ -127,6 +130,7 @@
lazy-rules
:borderless="!edit"
:model-value="dateThaiRange(duration)"
hide-bottom-space
>
<template v-slot:prepend>
<q-icon
@ -153,6 +157,7 @@
:label="`${'เหตุผลที่ออก'}`"
@update:modelValue="clickEditRow"
type="textarea"
hide-bottom-space
/>
</div>
</div>
@ -384,7 +389,7 @@ const clickDeleteRow = async () => {
if (rawItem.value != null) {
loader.value = true
await http
.delete(config.API.candidateCareer(rawItem.value.id,""))
.delete(config.API.candidateCareer(rawItem.value.id, ''))
.then(() => {
success($q, 'ลบข้อมูลสำเร็จ')
})
@ -461,7 +466,7 @@ const saveData = async () => {
const editData = async () => {
loader.value = true
await http
.put(config.API.candidateCareer(id.value,""), {
.put(config.API.candidateCareer(id.value, ''), {
name: location.value,
position: position.value,
salary: salary.value,