Added a column for Project in the tasklist.
This commit is contained in:
parent
94e1c4dfed
commit
6853950cc5
@ -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", "")
|
||||
|
||||
@ -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 },
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user