viewold.js 788 B

12345678910
  1. location.hash = '#/chart/preview/' + screen.id;
  2. window.location.replace(window.location.href.toString().replace(window.location.hash, '')+'#/chart/preview/' + screen.id)
  3. window.fetchChartApi = createLink('screen', 'ajaxGetChart', 'year=' + year + '&month=' + month + '&dept=' + dept + '&account=' + account);
  4. window.fetchMetricDataApi = createLink('screen', 'ajaxGetMetricData');
  5. window.fetchScreenSchemeApi = createLink('screen', 'ajaxGetScreenScheme', 'screenID=' + screen.id + '&year=' + year + '&month=' + month + '&dept=' + dept + '&account=' + account);
  6. window.fetchFilterOptionsApi = createLink('screen', 'ajaxGetFilterOptions');
  7. window.drillModalApi = parent.window.drillModalApi;
  8. $('link[href^="/theme/zui/css"]').remove();
  9. $('link[href^="/theme/default/style.css"]').remove();