generated-scene: add scheduled monitoring runtime and helper lifecycle hardening
This commit is contained in:
52
tests/fixtures/generated_scene/g2_diagnosis_drilldown/index.html
vendored
Normal file
52
tests/fixtures/generated_scene/g2_diagnosis_drilldown/index.html
vendored
Normal file
@@ -0,0 +1,52 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>G2 Diagnosis Drilldown Fixture</title>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
const sourceUrl = "http://20.76.57.61:18080/gsllys";
|
||||
const reportType = "stealAnalysis";
|
||||
|
||||
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: 100 })
|
||||
});
|
||||
}
|
||||
|
||||
async function queryDiagnose(orgno, tgNo, fdate) {
|
||||
return $.ajax({
|
||||
url: "http://20.76.57.61:18080/gsllys/tqLinelossStatis/tqAutoDiagnoseAnalyse/search",
|
||||
type: "POST",
|
||||
contentType: "application/x-www-form-urlencoded",
|
||||
data: JSON.stringify({ orgno, tgNo, fdate })
|
||||
});
|
||||
}
|
||||
|
||||
async function queryDetail(orgno, tgNo, fdate) {
|
||||
return $.ajax({
|
||||
url: "http://20.76.57.61:18080/gsllys/stealElecAnalyse/getFlqdyhDetailList",
|
||||
type: "POST",
|
||||
contentType: "application/x-www-form-urlencoded",
|
||||
data: JSON.stringify({ orgno, tgNo, fdate, page: 1, rows: 20 })
|
||||
});
|
||||
}
|
||||
|
||||
async function queryRemark(orgno, tgNo, fdate) {
|
||||
return $.ajax({
|
||||
url: "http://20.76.57.61:18080/gsllys/stealElecAnalyse/userVoltsAndElecflowMoniter/search",
|
||||
type: "POST",
|
||||
contentType: "application/x-www-form-urlencoded",
|
||||
data: JSON.stringify({ orgno, tgNo, fdate, page: 1, rows: 20 })
|
||||
});
|
||||
}
|
||||
|
||||
function exportRow(TG_NO, LL_TYPE_NAME, LOSS_PQ, LINELOSS_RATE, remark) {
|
||||
return { TG_NO, LL_TYPE_NAME, LOSS_PQ, LINELOSS_RATE, remark };
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user