1<script setup>
2
3import Table from "@/examples/tables/Table.vue";
4
5
6import team2 from "@/assets/img/team-2.jpg";
7import team3 from "@/assets/img/team-3.jpg";
8import team4 from "@/assets/img/team-4.jpg";
9
10
11const tableData = {
12 headers: ["Author", "Function", "Status", "Employed", "Action"],
13 rows: [
14 {
15 image: team2,
16 name: "John Michael",
17 email: "[email protected]",
18 position: ["Manager", "Organization"],
19 status: true,
20 date: "23/04/18",
21 action: { label: "Edit", route: "/" },
22 },
23 {
24 image: team3,
25 name: "Alexa Liras",
26 email: "[email protected]",
27 position: ["Programator", "Developer"],
28 status: false,
29 date: "11/01/19",
30 action: { label: "Edit", route: "/" },
31 },
32 {
33 image: team4,
34 name: "Laurent Perrier",
35 email: "[email protected]",
36 position: ["Executive", "Projects"],
37 status: true,
38 date: "19/09/17",
39 action: { label: "Edit", route: "/" },
40 },
41 {
42 image: team3,
43 name: "Michael Levi",
44 email: "[email protected]",
45 position: ["Programator", "Developer"],
46 status: true,
47 date: "24/12/08",
48 action: { label: "Edit", route: "/" },
49 },
50 {
51 image: team2,
52 name: "Richard Gran",
53 email: "[email protected]",
54 position: ["Manager", "Executive"],
55 status: false,
56 date: "04/10/21",
57 action: { label: "Edit", route: "/" },
58 },
59 {
60 image: team4,
61 name: "Miriam Eric",
62 email: "[email protected]",
63 position: ["Programator", "Developer"],
64 status: false,
65 date: "14/09/20",
66 action: { label: "Edit", route: "/" },
67 },
68 ],
69};
70</script>
71<template>
72 <Table v-bind="tableData" />
73</template>