fix task table select
This commit is contained in:
parent
9803f0718c
commit
37a405a1f2
@ -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", "")
|
||||
|
||||
@ -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 },
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user