Added a column for Project in the tasklist.

This commit is contained in:
rocketdebris 2026-01-12 17:03:33 -05:00
parent 94e1c4dfed
commit 6853950cc5
2 changed files with 2 additions and 0 deletions

View File

@ -32,6 +32,7 @@ def get_job_task_table_data(filters={}, sortings={}, page=1, page_size=10):
tableRow = {}
tableRow["id"] = task["name"]
tableRow["subject"] = task["subject"]
tableRow["project"] = task["project"]
tableRow["address"] = task.get("custom_property", "")
tableRow["status"] = task.get("status", "")
tableRow["type"] = task.get("type", "")

View File

@ -37,6 +37,7 @@ const isLoading = ref(false);
const columns = [
{ label: "Task", fieldName: "subject", type: "text", sortable: true, filterable: true },
{ label: "Project", fieldName: "project", type: "link", sortable: true },
{ label: "Address", fieldName: "address", type: "text", sortable: true },
{ label: "Type", fieldName: "type", type: "text", sortable: true },
{ label: "Overall Status", fieldName: "status", type: "status", sortable: true },