Gitlab@Informatics

Skip to content
Snippets Groups Projects
Commit a31b2c3b authored by Pattaradanai Srisarakorn's avatar Pattaradanai Srisarakorn
Browse files

feat: add EmployeeSector component to ProductQueueView and update employee display

parent 7741355c
Branches
No related tags found
No related merge requests found
<script setup>
import { ref } from 'vue'
import GanttChart from '@/components/GanttChart/GanttChart.vue'
import EmployeeSector from '@/components/EmployeeSector.vue'
const selectedDate = ref('1/1/2024')
const employees = Array.from({ length: 10 }, (_, i) => `EM${i + 1}`)
......@@ -50,7 +51,7 @@ const handleDrop = (targetOrder) => {
<v-col cols="auto" class="d-flex align-center" style="background-color: #7E9CD3; border-radius: 15px; ">
<v-btn class="mr-2" style="background-color: #2B2E3F; color: white; border-radius: 10px;">&lt; Back</v-btn>
<v-btn style="background-color: white; color: black; min-width: 200px; border-radius: 15px;">{{ selectedDate
}}</v-btn>
}}</v-btn>
<v-btn class="ml-2" style="background-color: #2B2E3F; color: white; border-radius: 10px;">Next &gt;</v-btn>
<v-btn class="ml-2"
style="background-color: white; color: black; border-radius: 10px;"><v-icon>mdi-dots-horizontal</v-icon></v-btn>
......@@ -74,12 +75,7 @@ const handleDrop = (targetOrder) => {
<v-col cols="6">
<v-card class="pa-4" style="background-color: white; border-radius: 15px; min-height: 280px;">
<!-- เลือกพนักงานวางทับตรงนี้ -->
<v-container>
<v-row>
<v-col v-for="employee in employees" :key="employee" cols="4" class="text-center">
</v-col>
</v-row>
</v-container>
<EmployeeSector :employees="employees" />
</v-card>
</v-col>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment