fix task table select
This commit is contained in:
parent
9803f0718c
commit
37a405a1f2
2 changed files with 2 additions and 2 deletions
|
|
@ -76,7 +76,7 @@ def get_job_task_table_data(filters={}, sortings={}, page=1, page_size=10):
|
||||||
tableRows = []
|
tableRows = []
|
||||||
for task in tasks:
|
for task in tasks:
|
||||||
tableRow = {}
|
tableRow = {}
|
||||||
tableRow["name"] = task["name"]
|
tableRow["id"] = task["name"]
|
||||||
tableRow["subject"] = task["subject"]
|
tableRow["subject"] = task["subject"]
|
||||||
tableRow["address"] = task.get("custom_property", "")
|
tableRow["address"] = task.get("custom_property", "")
|
||||||
tableRow["status"] = task.get("status", "")
|
tableRow["status"] = task.get("status", "")
|
||||||
|
|
|
||||||
|
|
@ -77,7 +77,7 @@ const taskList = ref(null);
|
||||||
|
|
||||||
const columns = [
|
const columns = [
|
||||||
{ label: "Task", fieldName: "subject", type: "text" },
|
{ 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: "Address", fieldname: "address", type: "text" },
|
||||||
{ label: "Category", fieldName: "", type: "text", sortable: true, filterable: true },
|
{ label: "Category", fieldName: "", type: "text", sortable: true, filterable: true },
|
||||||
{ label: "Status", fieldName: "status", type: "text", sortable: true, filterable: true },
|
{ label: "Status", fieldName: "status", type: "text", sortable: true, filterable: true },
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue