<template>
  <div class="q-pa-md q-gutter-y-md">
    <div
      class="flex justify-between items-center bg-white q-pa-md rounded-borders"
    >
      <div class="column justify-center text-h5" style="min-height: 36px">
        {{ $t('task.label') }}
      </div>
    </div>
    <div class="bg-white rounded-borders">
      <BaseTable
        :columns="columns"
        :data="list"
        :loading="model.loading"
        :title="$t('task.listOfAllUserTasks')"
        :visible-columns="model.visibleColumns"
        :pagination.sync="model.pagination"
        @requestTable="init"
        @update="init"
        saveQuery
      />
    </div>
  </div>
</template>

<script lang="ts" src="./index.ts"></script>
