Lines 190-196
import AgreementLicenses from "./AgreementLicenses.vue"
Link Here
|
190 |
import AgreementRelationships from "./AgreementRelationships.vue" |
190 |
import AgreementRelationships from "./AgreementRelationships.vue" |
191 |
import Documents from "./Documents.vue" |
191 |
import Documents from "./Documents.vue" |
192 |
import { setMessage, setError, setWarning } from "../../messages" |
192 |
import { setMessage, setError, setWarning } from "../../messages" |
193 |
import { ERMAPIClient } from "../../fetch/erm-api-client.js" |
193 |
import { APIClient } from "../../fetch/api-client.js" |
194 |
import { storeToRefs } from "pinia" |
194 |
import { storeToRefs } from "pinia" |
195 |
|
195 |
|
196 |
export default { |
196 |
export default { |
Lines 253-259
export default {
Link Here
|
253 |
}, |
253 |
}, |
254 |
methods: { |
254 |
methods: { |
255 |
async getAgreement(agreement_id) { |
255 |
async getAgreement(agreement_id) { |
256 |
const client = new ERMAPIClient() |
256 |
const client = new APIClient.erm() |
257 |
try { |
257 |
try { |
258 |
await client.agreements.get(agreement_id).then(data => { |
258 |
await client.agreements.get(agreement_id).then(data => { |
259 |
this.agreement = data |
259 |
this.agreement = data |
Lines 375-381
export default {
Link Here
|
375 |
|
375 |
|
376 |
delete agreement.agreement_packages |
376 |
delete agreement.agreement_packages |
377 |
|
377 |
|
378 |
const client = new ERMAPIClient() |
378 |
const client = APIClient.erm |
379 |
;(async () => { |
379 |
;(async () => { |
380 |
try { |
380 |
try { |
381 |
if (agreement_id) { |
381 |
if (agreement_id) { |