This commit is contained in:
bwcx_jzy 2019-09-18 22:32:43 +08:00
parent dd6c17543c
commit 3dc7d77841
2 changed files with 10 additions and 5 deletions

View File

@ -6,10 +6,12 @@ import io.jpom.model.log.SystemMonitorLog;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
/** /**
* @author bwcx_jzy * @author Arno
* @date 2019/9/13
*/ */
@Service @Service
public class DbSystemMonitorLogService extends BaseDbLogService<SystemMonitorLog> { public class DbSystemMonitorLogService extends BaseDbLogService<SystemMonitorLog> {
public DbSystemMonitorLogService() { public DbSystemMonitorLogService() {
super(SystemMonitorLog.TABLE_NAME, SystemMonitorLog.class); super(SystemMonitorLog.TABLE_NAME, SystemMonitorLog.class);
setKey("id"); setKey("id");

View File

@ -270,10 +270,14 @@
}, },
series: series series: series
}; };
try {
if (!myEcharts) { if (!myEcharts) {
myEcharts = echarts.init(document.getElementById('echarts')); myEcharts = echarts.init(document.getElementById('echarts'));
} }
myEcharts.setOption(option); myEcharts.setOption(option);
} catch (e) {
console.error(e);
}
} }
function loadProcessList() { function loadProcessList() {
@ -289,7 +293,6 @@
} }
}); });
} }
</script> </script>
</html> </html>