Lines 69-75
export default {
Link Here
|
69 |
searchable_av_options: [], |
69 |
searchable_av_options: [], |
70 |
tableOptions: { |
70 |
tableOptions: { |
71 |
columns: this.getTableColumns(), |
71 |
columns: this.getTableColumns(), |
72 |
url: this.getResourceTableUrl(), |
72 |
url: this.tableURL(), |
73 |
options: { embed: "vendor,extended_attributes,+strings" }, |
73 |
options: { embed: "vendor,extended_attributes,+strings" }, |
74 |
table_settings: this.license_table_settings, |
74 |
table_settings: this.license_table_settings, |
75 |
add_filters: true, |
75 |
add_filters: true, |
Lines 113-118
export default {
Link Here
|
113 |
error => {} |
113 |
error => {} |
114 |
) |
114 |
) |
115 |
}, |
115 |
}, |
|
|
116 |
tableURL() { |
117 |
let url = this.getResourceTableUrl() |
118 |
|
119 |
const vendorId = this.$route.query.vendor_id |
120 |
if (vendorId) { |
121 |
url += "?vendor_id=" + vendorId |
122 |
} |
123 |
return url |
124 |
}, |
116 |
async getSearchableAdditionalFields() { |
125 |
async getSearchableAdditionalFields() { |
117 |
const client = APIClient.additional_fields |
126 |
const client = APIClient.additional_fields |
118 |
await client.additional_fields.getAll("license").then( |
127 |
await client.additional_fields.getAll("license").then( |