diff --git a/src/modules/05_placement/views/Main.vue b/src/modules/05_placement/views/Main.vue index 4ea1b9ca7..aac02886c 100644 --- a/src/modules/05_placement/views/Main.vue +++ b/src/modules/05_placement/views/Main.vue @@ -1,28 +1,201 @@ @@ -50,6 +223,7 @@ const fiscalyearOP = ref([ :borderless="false" :outlined="true" :hide-dropdown-icon="false" + @change="searchFiscalyear" /> @@ -57,7 +231,7 @@ const fiscalyearOP = ref([ ([ class="q-ml-sm" > - + ([ @@ -97,14 +272,14 @@ const fiscalyearOP = ref([ ([ ([ /> - - - - + + + + + + + {{ props.row.id }} + + + {{ props.row.ExamRound }} + + + {{ props.row.ExamOrder }} + + + {{ props.row.FiscalYear }} + + + {{ props.row.NumberofCandidates }} + + + {{ props.row.ExamType == 1 ? 'สอบแข่งขัน' : 'คัดเลือก' }} + + + {{ textDate(props.row.AccountExpirationDate) }} + + + + + @@ -150,4 +369,42 @@ const fiscalyearOP = ref([ .filter-card { background-color: #EDEDED; } + +.toggle-expired-account{ + font-size: 12px; + font-weight: 400; + font-size: 15px; + line-height: 150%; + color: #35373C; +} + +.icon-color { + color: #4154b3; + } + .custom-header-table { + max-height: 64vh; + .q-table tr:nth-child(odd) td { + background: white; + } + .q-table tr:nth-child(even) td { + background: #f8f8f8; + } + + .q-table thead tr { + background: #ecebeb; + } + + .q-table thead tr th { + position: sticky; + z-index: 1; + } + /* this will be the loading indicator */ + .q-table thead tr:last-child th { + /* height of all previous header rows */ + top: 48px; + } + .q-table thead tr:first-child th { + top: 0; + } + }