Merge branch 'nice' into develop
This commit is contained in:
commit
643c26cb37
2 changed files with 6 additions and 9 deletions
|
|
@ -242,10 +242,7 @@ async function postData(action: string) {
|
|||
|
||||
/** ผลการประเมินการทดลองปฏิบัติหน้าที่ราชการ */
|
||||
function selectResult() {
|
||||
if (result.value !== 3) {
|
||||
expand_month.value = "";
|
||||
}
|
||||
|
||||
expand_month.value = "";
|
||||
changeReson52(Number(result.value));
|
||||
}
|
||||
|
||||
|
|
@ -274,7 +271,9 @@ function changeReson52(val: number) {
|
|||
reson52.value = "เห็นควรให้ออกจากราชการ";
|
||||
break;
|
||||
case 3:
|
||||
reson52.value = `เห็นควรให้ขยายเวลาทดลองปฏิบัตหิน้าท่ีราชการต่อไปอีก ${expand_month.value} เดือน`;
|
||||
reson52.value = `เห็นควรให้ขยายเวลาทดลองปฏิบัตหน้าที่ราชการต่อไปอีก ${
|
||||
expand_month.value ? expand_month.value : ""
|
||||
} เดือน`;
|
||||
break;
|
||||
|
||||
default:
|
||||
|
|
@ -522,10 +521,8 @@ onMounted(async () => {
|
|||
<div class="row q-mt-xs" v-if="result === 3">
|
||||
<q-input
|
||||
outlined
|
||||
@update:model-value="changeReson52(3)"
|
||||
dense
|
||||
@update:model-value="
|
||||
reson52 = `เห็นควรให้ขยายเวลาทดลองปฏิบัตหิน้าท่ีราชการต่อไปอีก ${expand_month} เดือน`
|
||||
"
|
||||
v-model="expand_month"
|
||||
label="จำนวนเดือน"
|
||||
:rules="[(val:string) => !!val || 'กรุณากรอกจำนวนเดือน']"
|
||||
|
|
|
|||
|
|
@ -125,7 +125,7 @@ async function onDownloadFile() {
|
|||
}
|
||||
|
||||
async function onUpdateStatusAssign() {
|
||||
http
|
||||
await http
|
||||
.patch(
|
||||
config.API.createformReport(assignId.value) +
|
||||
`&evaluate_no=${round.value}`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue