generated-scene: add scheduled monitoring runtime and helper lifecycle hardening
This commit is contained in:
34
tests/fixtures/generated_scene/g2_comparison_crosscheck/index.html
vendored
Normal file
34
tests/fixtures/generated_scene/g2_comparison_crosscheck/index.html
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>G2 Comparison Crosscheck Fixture</title>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
const sourceUrl = "http://20.76.57.61:18080/gsllys";
|
||||
const reportType = "zeroConsumerCrosscheck";
|
||||
|
||||
async function queryMainRank(orgno, fdate) {
|
||||
return $.ajax({
|
||||
url: "http://20.76.57.61:18080/gsllys/tqLinelossStatis/getTqLinelossInfoListRank",
|
||||
type: "POST",
|
||||
contentType: "application/x-www-form-urlencoded",
|
||||
data: JSON.stringify({ orgno, fdate, page: 1, rows: 40 })
|
||||
});
|
||||
}
|
||||
|
||||
async function queryUserElectric(orgno, consno, fdate) {
|
||||
return $.ajax({
|
||||
url: "http://20.76.57.61:18080/gsllys/tqLinelossStatis/getUserElectricList",
|
||||
type: "POST",
|
||||
contentType: "application/x-www-form-urlencoded",
|
||||
data: JSON.stringify({ orgno, consno, fdate, page: 1, rows: 20 })
|
||||
});
|
||||
}
|
||||
|
||||
function mergeRow(TG_NO, TG_NAME, consno, userNmae, thisMonth, beforeMonth1) {
|
||||
return { TG_NO, TG_NAME, consno, userNmae, thisMonth, beforeMonth1 };
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user