Files
claw/tests/fixtures/generated_scene/g2_weekly_single_mode/index.html

43 lines
1.1 KiB
HTML

<html>
<head>
<meta charset="utf-8">
<title>G2 Weekly Single Mode Fixture</title>
</head>
<body>
<script>
const sourceUrl = "http://20.76.57.61:18080/gsllys";
async function queryWeeklyLineloss(orgno, weekSfdate, weekEfdate) {
const params = {
orgno,
tjzq: "week",
level: "02",
rows: 20,
page: 1,
weekSfdate,
weekEfdate
};
return $.ajax({
url: "http://20.76.57.61:18080/gsllys/tqLinelossStatis/getYearMonWeekLinelossAnalysisList",
type: "POST",
contentType: "application/x-www-form-urlencoded",
data: JSON.stringify(params)
});
}
async function queryWeeklyRank(orgno) {
return $.ajax({
url: "http://20.76.57.61:18080/gsllys/tqLinelossStatis/getTqLinelossInfoListRank",
type: "POST",
contentType: "application/x-www-form-urlencoded",
data: JSON.stringify({ orgno, page: 1, rows: 20 })
});
}
function runWeeklyReport() {
return queryWeeklyLineloss("6201001", "2026-04-01", "2026-04-07");
}
</script>
</body>
</html>