แก้ประเมิน step 1

This commit is contained in:
Warunee Tamkoo 2023-12-23 16:21:58 +07:00
parent cbcb32a3dc
commit daafbd3991
3 changed files with 125 additions and 109 deletions

View file

@ -36,8 +36,8 @@ const rows = ref<any[]>([
level: "หลักสูตร ๔ ปี",
expert: "๖ ปี",
special: "๘ ปี",
checked: "ต่ำกว่าปริญญาตรี",
// year: 4,
checked: "ปริญญาตรี",
year: 4,
},
{
degree: "ปริญญาตรี หรือเทียบเท่า",
@ -178,9 +178,9 @@ watch(props, () => {
</q-td>
<q-td key="checked" :props="props">
<!-- v-if="educations?.find((x:any)=> (props.row.year && x.educationLevel == props.row.checked && x.year == props.row.year) || (!props.row.year && x.educationLevel == props.row.checked))" -->
<!-- {{ props.row.year }}-{{ props.row.checked }}-{{ educations }} -->
<q-icon
v-if="props.rowIndex == 0"
v-if="educations?.find((x:any)=> (props.row.year && x.educationLevel == props.row.checked && x.durationYear == props.row.year) || (!props.row.year && x.educationLevel == props.row.checked))"
name="checked"
color="primary"
size="xs"