kueDetail link umbenannt

This commit is contained in:
ISA
2024-11-07 14:35:07 +01:00
parent 662f74011f
commit 2d0b1f6693
2 changed files with 2 additions and 4 deletions

View File

@@ -105,7 +105,7 @@ function KueModal({ showModal, onClose, slot, onModulNameChange }) {
}
if (Object.keys(changes).length > 0) {
let url = `/cpl?/CPL/SERVICE/kueDetail.HTML&slot=${slot}`;
let url = `/cpl?/kabelueberwachung.html&slot=${slot}`;
Object.keys(changes).forEach((paramKey) => {
url += `&${paramKey}${slot}=${encodeURIComponent(changes[paramKey])}`;
});
@@ -144,7 +144,6 @@ function KueModal({ showModal, onClose, slot, onModulNameChange }) {
};
const handleDisplayEinschalten = () => {
//const url = `/CPL?/CPL/Service/kueDetail.HTML&KSD${slot}=1`;
const url = `/CPL?/kabelueberwachung.html&KSD${slot}=1`;
fetch(url, { method: "GET" })
.then((response) => {

View File

@@ -99,8 +99,7 @@ function Kue705FO({
setLoading(true); // Setze den Ladezustand auf true
alert(`Schleifenmessung wird für Slot ${slot + 1} gestartet...`);
//fetch(`/CPL?Service/KUEdetail.HTML&KS_${slotFormat}=1&slot=${slot}`, {
fetch(`/CPL?index.html&KS_${slotFormat}=1&slot=${slot}`, {
fetch(`/CPL?kabelueberwachung.html&KS_${slotFormat}=1&slot=${slot}`, {
method: "GET",
})
.then((response) => {