Merge branch 'develop' of github.com:Frappet/BMA-EHR-RECRUIT-EXAM-VUE3 into develop
This commit is contained in:
commit
c16c062bcb
1 changed files with 7 additions and 3 deletions
|
|
@ -80,7 +80,7 @@
|
||||||
v-model="position"
|
v-model="position"
|
||||||
:rules="[(val) => !!val || `${'กรุณากรอกตำแหน่ง/ลักษณะงาน'}`]"
|
:rules="[(val) => !!val || `${'กรุณากรอกตำแหน่ง/ลักษณะงาน'}`]"
|
||||||
:label="`${'ตำแหน่ง/ลักษณะงาน'}`"
|
:label="`${'ตำแหน่ง/ลักษณะงาน'}`"
|
||||||
@update:modelValue="clickEditRow"
|
@update:modelValue="clickEditRowPosition"
|
||||||
hide-bottom-space
|
hide-bottom-space
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -96,7 +96,7 @@
|
||||||
:options="opType"
|
:options="opType"
|
||||||
:rules="[(val) => !!val || `${'กรุณาเลือกประเภท'}`]"
|
:rules="[(val) => !!val || `${'กรุณาเลือกประเภท'}`]"
|
||||||
:label="`${'ประเภท'}`"
|
:label="`${'ประเภท'}`"
|
||||||
@update:modelValue="clickEditRow"
|
@update:modelValue="clickEditRowPosition"
|
||||||
hide-bottom-space
|
hide-bottom-space
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -593,7 +593,7 @@ const checkRowPage = () => {
|
||||||
//validate วันที่สิ้นสุด
|
//validate วันที่สิ้นสุด
|
||||||
|
|
||||||
const endDateValidation = (value: Date) => {
|
const endDateValidation = (value: Date) => {
|
||||||
if (startDate.value < endDate.value) {
|
if (startDate.value <= endDate.value) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
return false
|
return false
|
||||||
|
|
@ -774,6 +774,10 @@ const clickEditRow = () => {
|
||||||
editRow.value = true
|
editRow.value = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const clickEditRowPosition = () => {
|
||||||
|
editRow.value = true
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* validate input ใน dialog
|
* validate input ใน dialog
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue