job creation working
This commit is contained in:
parent
bd9e00c6f1
commit
d3818d1985
22 changed files with 591 additions and 179 deletions
|
|
@ -40,8 +40,7 @@ const showCompleted = ref(false);
|
|||
const statusOptions = ref([
|
||||
"Open",
|
||||
"Working",
|
||||
"Pending",
|
||||
"Review",
|
||||
"Pending Review",
|
||||
"Overdue",
|
||||
"Completed",
|
||||
"Cancelled",
|
||||
|
|
@ -92,7 +91,7 @@ const tableActions = [
|
|||
console.log("Setting status for row:", rowData, "to:", option);
|
||||
try {
|
||||
// Uncomment when API is ready
|
||||
// await Api.setTaskStatus(rowData.id, option);
|
||||
await Api.setTaskStatus(rowData.id, option);
|
||||
|
||||
// Find and update the row in the table data
|
||||
const rowIndex = tableData.value.findIndex(row => row.id === rowData.id);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue