added radius link to cpeprovisioning
This commit is contained in:
@@ -251,8 +251,25 @@ const RadiusUsers = {
|
||||
mounted() {
|
||||
const urlParams = new URLSearchParams(window.location.search);
|
||||
const infoParam = urlParams.get('info');
|
||||
const custnumParam = urlParams.get('custnum');
|
||||
const estmkParam = urlParams.get('estmk_nr');
|
||||
|
||||
if (infoParam) {
|
||||
this.info = infoParam;
|
||||
}
|
||||
|
||||
// Handle customer number search from URL (e.g., from Cpeprovisioning)
|
||||
if (estmkParam) {
|
||||
// ESTMK search mode (for 7000* customer numbers)
|
||||
this.searchMode = 'text';
|
||||
this.billAddrDisplay = estmkParam;
|
||||
this.loadRadiusUsers();
|
||||
} else if (custnumParam) {
|
||||
// Autocomplete mode - set custnum directly and search
|
||||
this.billAddrCustnum = custnumParam;
|
||||
this.billAddrDisplay = custnumParam;
|
||||
this.loadRadiusUsers();
|
||||
} else if (infoParam) {
|
||||
this.loadRadiusUsers();
|
||||
}
|
||||
this.observer = new IntersectionObserver(([e]) => {
|
||||
|
||||
Reference in New Issue
Block a user