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,29 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Single Request Table Fixture</title>
</head>
<body>
<script>
const sourceUrl = "http://yx.gs.sgcc.com.cn/report";
async function queryReport(orgCode, periodValue) {
return $.ajax({
url: "http://yx.gs.sgcc.com.cn/report/list",
type: "POST",
contentType: "application/json",
data: JSON.stringify({ orgCode, periodValue })
});
}
function normalizeRows(response) {
return (response.rows || []).map((item) => ({
org_code: item.orgCode,
org_name: item.orgName,
total: item.total
}));
}
</script>
</body>
</html>