добавил запись настроек BucLnb
This commit is contained in:
@@ -863,18 +863,21 @@
|
||||
// TODO сделать всплывающее окно с подтверждением того, что настройки действительно нужно применить
|
||||
let query = {
|
||||
"buc.refClk10M": this.param.buc.refClk10M,
|
||||
"buc.powering": this.param.buc.powering,
|
||||
"buc.powering": parseInt(this.param.buc.powering),
|
||||
"lnb.refClk10M": this.param.lnb.refClk10M,
|
||||
"lnb.powering": this.param.lnb.powering,
|
||||
"lnb.powering": parseInt(this.param.lnb.powering),
|
||||
"serviceSettings.refClk10M": this.param.serviceSettings.refClk10M,
|
||||
"serviceSettings.autoStart": this.param.serviceSettings.autoStart
|
||||
}
|
||||
fetch('/api/set/bucLnb', {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json'
|
||||
},
|
||||
body: JSON.stringify(query)
|
||||
}).then(() => {
|
||||
}).then(async (resp) => {
|
||||
this.submitStatus.bucLnb = false
|
||||
this.performUpdateSettings()
|
||||
this.updateBucLnbSettings(await resp.json())
|
||||
})
|
||||
},
|
||||
|
||||
@@ -926,10 +929,13 @@
|
||||
console.log(query)
|
||||
fetch('/api/set/qos', {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json'
|
||||
},
|
||||
body: JSON.stringify(query)
|
||||
}).then(async (response) => {
|
||||
}).then(async (resp) => {
|
||||
this.submitStatus.qos = false
|
||||
this.updateQosSettings(await response.json())
|
||||
this.updateQosSettings(await resp.json())
|
||||
})
|
||||
},
|
||||
|
||||
|
Reference in New Issue
Block a user