Lines 75-88
export default {
Link Here
|
75 |
table_settings: this.license_table_settings, |
75 |
table_settings: this.license_table_settings, |
76 |
add_filters: true, |
76 |
add_filters: true, |
77 |
filters_options: { |
77 |
filters_options: { |
78 |
1: () => |
78 |
2: () => |
79 |
this.vendors.map(e => { |
79 |
this.vendors.map(e => { |
80 |
e["_id"] = e["id"]; |
80 |
e["_id"] = e["id"]; |
81 |
e["_str"] = e["name"]; |
81 |
e["_str"] = e["name"]; |
82 |
return e; |
82 |
return e; |
83 |
}), |
83 |
}), |
84 |
3: () => this.map_av_dt_filter("av_license_types"), |
84 |
4: () => this.map_av_dt_filter("av_license_types"), |
85 |
4: () => this.map_av_dt_filter("av_license_statuses"), |
85 |
5: () => this.map_av_dt_filter("av_license_statuses"), |
86 |
}, |
86 |
}, |
87 |
actions: { |
87 |
actions: { |
88 |
0: ["show"], |
88 |
0: ["show"], |
Lines 117-127
export default {
Link Here
|
117 |
tableURL() { |
117 |
tableURL() { |
118 |
let url = "/api/v1/erm/licenses"; |
118 |
let url = "/api/v1/erm/licenses"; |
119 |
|
119 |
|
120 |
const vendorId = this.$route.query.vendor_id |
120 |
const vendorId = this.$route.query.vendor_id; |
121 |
if (vendorId) { |
121 |
if (vendorId) { |
122 |
url += "?vendor_id=" + vendorId |
122 |
url += "?vendor_id=" + vendorId; |
123 |
} |
123 |
} |
124 |
return url |
124 |
return url; |
125 |
}, |
125 |
}, |
126 |
async getSearchableAdditionalFields() { |
126 |
async getSearchableAdditionalFields() { |
127 |
const client = APIClient.additional_fields; |
127 |
const client = APIClient.additional_fields; |
128 |
- |
|
|