This commit is contained in:
2021-04-30 21:28:13 +00:00
parent 3a008f6572
commit 61fdb419ab

View File

@@ -119,10 +119,16 @@ export default {
this.value.alertViz = null;
const custId = this.value.customerId;
if (custId != null) {
const res = await window.$gz.api.get(`customer/alert/${custId}`);
//------ Alert notes
let res = await window.$gz.api.get(`customer/alert/${custId}`);
if (res.data) {
this.value.alertViz = res.data;
}
//------ Addresses
res = await window.$gz.api.get(`customer/address/${custId}`);
if (res.data) {
console.log("woheaderfldvalchng-address:", res.data);
}
}
}
}