fix bug
This commit is contained in:
parent
d0e7154d35
commit
1e892b89f4
1 changed files with 1 additions and 2 deletions
|
|
@ -100,10 +100,10 @@ const yearOptions = ref<any>([{ id: "", year: "ทั้งหมด" }]);
|
|||
// ประกาศเกษียณอายุราชการ
|
||||
async function fetchRetirement(type: string, year: any) {
|
||||
showLoader();
|
||||
rows.value = [];
|
||||
await http
|
||||
.get(config.API.retirement(type, year))
|
||||
.then((res) => {
|
||||
rows.value = [];
|
||||
let data = res.data.result;
|
||||
rows.value = data.map((items: any) => ({
|
||||
id: items.id,
|
||||
|
|
@ -335,7 +335,6 @@ onMounted(async () => {
|
|||
map-options
|
||||
:options="columns"
|
||||
option-value="name"
|
||||
|
||||
style="min-width: 140px"
|
||||
class="col-xs-12 col-sm-3 col-md-2"
|
||||
/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue