fix task table select

This commit is contained in:
Casey 2026-01-09 05:48:12 -06:00
parent 9803f0718c
commit 37a405a1f2
2 changed files with 2 additions and 2 deletions

View File

@ -76,7 +76,7 @@ def get_job_task_table_data(filters={}, sortings={}, page=1, page_size=10):
tableRows = []
for task in tasks:
tableRow = {}
tableRow["name"] = task["name"]
tableRow["id"] = task["name"]
tableRow["subject"] = task["subject"]
tableRow["address"] = task.get("custom_property", "")
tableRow["status"] = task.get("status", "")

View File

@ -77,7 +77,7 @@ const taskList = ref(null);
const columns = [
{ label: "Task", fieldName: "subject", type: "text" },
{ label: "ID", fieldName: "name", type: "text", sortable: true, filterable: true },
{ label: "ID", fieldName: "id", type: "text", sortable: true, filterable: true },
{ label: "Address", fieldname: "address", type: "text" },
{ label: "Category", fieldName: "", type: "text", sortable: true, filterable: true },
{ label: "Status", fieldName: "status", type: "text", sortable: true, filterable: true },