<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('userTask.label') }}
      </div>
      <div class="row q-gutter-x-md">
        <user-tasks-upload-component />
      </div>
    </div>
    <div class="bg-white rounded-borders">
      <BaseTable
        :columns="columns"
        :data="list"
        :loading="model.loading"
        :pagination.sync="model.pagination"
        :title="$t('userTask.listOfAllUserTasks')"
        :visible-columns="model.visibleColumns"
        @requestTable="init"
        @update="init"
        saveQuery
      />
    </div>
  </div>
</template>

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