kueDetail link umbenannt
This commit is contained in:
@@ -105,7 +105,7 @@ function KueModal({ showModal, onClose, slot, onModulNameChange }) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (Object.keys(changes).length > 0) {
|
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) => {
|
Object.keys(changes).forEach((paramKey) => {
|
||||||
url += `&${paramKey}${slot}=${encodeURIComponent(changes[paramKey])}`;
|
url += `&${paramKey}${slot}=${encodeURIComponent(changes[paramKey])}`;
|
||||||
});
|
});
|
||||||
@@ -144,7 +144,6 @@ function KueModal({ showModal, onClose, slot, onModulNameChange }) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const handleDisplayEinschalten = () => {
|
const handleDisplayEinschalten = () => {
|
||||||
//const url = `/CPL?/CPL/Service/kueDetail.HTML&KSD${slot}=1`;
|
|
||||||
const url = `/CPL?/kabelueberwachung.html&KSD${slot}=1`;
|
const url = `/CPL?/kabelueberwachung.html&KSD${slot}=1`;
|
||||||
fetch(url, { method: "GET" })
|
fetch(url, { method: "GET" })
|
||||||
.then((response) => {
|
.then((response) => {
|
||||||
|
|||||||
@@ -99,8 +99,7 @@ function Kue705FO({
|
|||||||
setLoading(true); // Setze den Ladezustand auf true
|
setLoading(true); // Setze den Ladezustand auf true
|
||||||
alert(`Schleifenmessung wird für Slot ${slot + 1} gestartet...`);
|
alert(`Schleifenmessung wird für Slot ${slot + 1} gestartet...`);
|
||||||
|
|
||||||
//fetch(`/CPL?Service/KUEdetail.HTML&KS_${slotFormat}=1&slot=${slot}`, {
|
fetch(`/CPL?kabelueberwachung.html&KS_${slotFormat}=1&slot=${slot}`, {
|
||||||
fetch(`/CPL?index.html&KS_${slotFormat}=1&slot=${slot}`, {
|
|
||||||
method: "GET",
|
method: "GET",
|
||||||
})
|
})
|
||||||
.then((response) => {
|
.then((response) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user