Revert "* Add fetch api for screen preview chart data."

This reverts commit df96e69034.
This commit is contained in:
qixinzhi
2023-12-18 10:53:04 +08:00
parent a01bcd65d6
commit c19e06db79
4 changed files with 4 additions and 11 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ self["MonacoEnvironment"] = (function(paths) {
});
location.hash = '#/chart/preview/' + screen.id;
window.chartData = screen.chartData;
window.location.replace(window.location.href.toString().replace(window.location.hash, '')+'#/chart/preview/' + screen.id)
window.fetchChartApi = createLink('screen', 'ajaxGetChart');
window.fetchMetricDataApi = createLink('screen', 'ajaxGetMetricData');
window.fetchScreenSchemeApi = createLink('screen', 'ajaxGetScreenScheme', 'screenID=' + screen.id + '&year=' + year + '&month=' + month + '&dept=' + dept + '&account=' + account);