generated-scene: add scheduled monitoring runtime and helper lifecycle hardening

This commit is contained in:
木炎
2026-05-06 09:47:12 +08:00
parent 6cdd71b682
commit 8162118e6d
183 changed files with 103674 additions and 130 deletions

View File

@@ -0,0 +1,50 @@
<html>
<head>
<meta charset="utf-8">
<title>G2 Mixed Linked Workflow Fixture</title>
</head>
<body>
<script>
const sourceUrl = "http://20.76.57.61:18080/gsllys";
async function queryMainRank(formDate) {
return $.ajax({
url: "http://20.76.57.61:18080/gsllys/tqLinelossStatis/getTqLinelossInfoListRank",
type: "POST",
contentType: "application/x-www-form-urlencoded",
data: JSON.stringify(formDate)
});
}
async function queryUserElectric(query) {
return $.ajax({
url: "http://20.76.57.61:18080/gsllys/tqLinelossStatis/getUserElectricList",
type: "POST",
contentType: "application/x-www-form-urlencoded",
data: JSON.stringify(query)
});
}
async function queryPeerSystemToken(dlMesage) {
return $.ajax({
url: "http://10.4.39.180/xsgl/syncLineLoss/rest/syncLineLossService/workbench",
type: "POST",
contentType: "application/json;charset=UTF-8",
data: JSON.stringify({
userName: dlMesage.userName,
loginName: dlMesage.loginName,
urlType: "WORKBENCH",
url: "/loginInfo/getToken"
})
});
}
function bootScene() {
return sgBrowserExcuteJsCode(
"http://20.76.57.61:18080/gsllys/tqLinelossStatis/tqQualifyRateMonitor",
"run"
);
}
</script>
</body>
</html>