<script setup lang="ts">
import { useRouter } from "vue-router";

const router = useRouter();
</script>

<template>
  <div class="col-12 row justify-center">
    <div class="col-xs-12 col-sm-12 col-md-11">
      <div class="toptitle text-white col-12 row items-center">
        <q-btn
          icon="mdi-arrow-left"
          unelevated
          round
          dense
          flat
          color="primary"
          class="q-mr-sm"
          @click="router.push(`/KPI`)"
        />
        เพิ่ม/แก้ไข
      </div>
      <div class="col-12">
        <q-card bordered class="q-pa-md"> เพิ่ม/แก้ไข </q-card>
      </div>
    </div>
  </div>
</template>
