-
+
+
+
-
-
-
-
-
-
+
+
+
+ 欢迎使用软件代码AI智能生成系统
-
+
-
-
+
+
-
-
-
-
-
-
+
- var init = function() {
- var $pageIframe = $('#pageIframe');
- $pageIframe.css({
- height: `${$win.height() - 200}px`
- })
- }
+
+ errorTypeChart.setOption(errorTypeOption);
+
+ // 测试用例执行趋势折线图
+ var testTrendChart = echarts.init(document.getElementById('testTrendChart'));
+ var testTrendOption = {
+ title: {
+ text: '测试用例执行趋势',
+ left: 'center'
+ },
+ tooltip: {
+ trigger: 'axis'
+ },
+ legend: {
+ data: ['通过', '失败'],
+ top: 30
+ },
+ xAxis: {
+ type: 'category',
+ data: ['5月1日', '5月5日', '5月10日', '5月15日', '5月20日', '5月25日', '5月30日', '6月2日', '6月5日', '6月10日']
+ },
+ yAxis: {
+ type: 'value'
+ },
+ series: [
+ {
+ name: '通过',
+ type: 'line',
+ data: [49, 30, 98, 20, 40, 58, 30, 70, 43, 20],
+ itemStyle: {
+ color: '#4ecdc4'
+ }
+ },
+ {
+ name: '失败',
+ type: 'line',
+ data: [1, 0, 2, 5, 0, 2, 5, 0, 2, 0],
+ itemStyle: {
+ color: '#ff6b6b'
+ }
+ }
+ ]
+ };
+ testTrendChart.setOption(testTrendOption);
+
+ // 部署成功率统计柱状图
+ var deployChart = echarts.init(document.getElementById('deployChart'));
+ var deployOption = {
+ title: {
+ text: '项目部署成功率统计',
+ left: 'center'
+ },
+ tooltip: {
+ trigger: 'axis',
+ axisPointer: {
+ type: 'shadow'
+ }
+ },
+ legend: {
+ data: ['成功', '失败'],
+ top: 30
+ },
+ xAxis: {
+ type: 'category',
+ data: ['生产环境', '测试环境', '预生产环境']
+ },
+ yAxis: {
+ type: 'value'
+ },
+ series: [
+ {
+ name: '成功',
+ type: 'bar',
+ data: [4, 2, 2],
+ itemStyle: {
+ color: '#4ecdc4'
+ }
+ },
+ {
+ name: '失败',
+ type: 'bar',
+ data: [0, 2, 0],
+ itemStyle: {
+ color: '#ff6b6b'
+ }
+ }
+ ]
+ };
+ deployChart.setOption(deployOption);
+
diff --git a/sbewmxjxt/src/main/resources/static/route/pages/index.html b/sbewmxjxt/src/main/resources/static/route/pages/index.html
index c700228..d6b6d4c 100644
--- a/sbewmxjxt/src/main/resources/static/route/pages/index.html
+++ b/sbewmxjxt/src/main/resources/static/route/pages/index.html
@@ -1,90 +1,118 @@
-
+
设备二维码巡检系统
-
-
+
+
-
+
-
设备二维码巡检系统
-
+ 设备二维码巡检系统
+
退出系统
-
-
-
![]()
-
账号名称
-
管理人员
-
-
- -
-
-
- -
-
-
- -
-
-
- -
-
-
- -
-
-
- -
-
-
- -
-
-
- -
-
-
- -
-
-
- -
-
-
- -
-
-
-
-
-
-
-
-
-
-
+
+
+
![]()
+
账号名称
+
管理人员
+
+
+ -
+
+
+ -
+
+
+ -
+
+
+ -
+
+
+ -
+
+
+ -
+
+
+ -
+
+
+ -
+
+
+ -
+
+
+ -
+
+
+ -
+
+
+
+
+
-
-
-
+
+
diff --git a/xtbgxt/src/main/resources/static/route/pages/index.html b/xtbgxt/src/main/resources/static/route/pages/index.html
index 9c10ad1..9920a95 100644
--- a/xtbgxt/src/main/resources/static/route/pages/index.html
+++ b/xtbgxt/src/main/resources/static/route/pages/index.html
@@ -1,14 +1,14 @@
-
+
协同办公系统
-
+
@@ -25,9 +25,9 @@
-
+
管理员
@@ -83,21 +83,42 @@
欢迎使用协同办公系统
-
-
+
@@ -120,145 +141,114 @@
}
init();
- var homepage = document.getElementById('homepage');
+ var homepage = document.getElementById('homepage');
$(document).on('click', '.menu-item', function() {
var url = this.dataset.url;
var pageIframe = $('#pageIframe');
pageIframe.attr('src', url);
pageIframe.show();
- homepage.style.display = 'none';
+ homepage.style.display = 'none';
});
- });
- //折线图
- var lineChart = echarts.init(document.getElementById('lineChart'));
- var optionLine = {
- animation: false,
- title: {
- //text: '销售时间统计',//
- left: 'left', // Center align the title horizontally
+
+ // 任务状态分布饼图
+ var taskStatusChart = echarts.init(document.getElementById('taskStatusChart'));
+ var taskStatusOption = {
+ tooltip: {
+ trigger: 'item',
+ formatter: '{a}
{b}: {c} ({d}%)'
+ },
+ legend: {
+ orient: 'vertical',
+ left: 'right'
+ },
+ series: [{
+ name: '任务状态',
+ type: 'pie',
+ radius: ['40%', '70%'],
+ data: [
+ {value: 5, name: '已完成'},
+ {value: 3, name: '进行中'},
+ {value: 2, name: '未开始'}
+ ],
+ itemStyle: {
+ emphasis: {
+ shadowBlur: 10,
+ shadowOffsetX: 0,
+ shadowColor: 'rgba(0, 0, 0, 0.5)'
+ }
+ }
+ }]
+ };
+ taskStatusChart.setOption(taskStatusOption);
+
+ // 月度活动趋势折线图
+ var monthlyTrendChart = echarts.init(document.getElementById('monthlyTrendChart'));
+ var monthlyTrendOption = {
+ tooltip: {
+ trigger: 'axis'
+ },
+ legend: {
+ data: ['任务数量', '日程安排']
},
xAxis: {
type: 'category',
boundaryGap: false,
- data: ['2024-1', '2024-2', '2024-3', '2024-4', '2024-5', '2024-6', '2024-7']
+ data: ['1月', '2月']
},
yAxis: {
type: 'value'
},
- tooltip: {
- trigger: 'axis' // 设置触发类型为坐标轴触发
- },
series: [{
- data: [820, 733, 901, 600, 1290, 500, 1320],
+ name: '任务数量',
type: 'line',
- smooth: true,
- areaStyle: {}
+ data: [5, 5],
+ smooth: true,
+ areaStyle: {}
+ }, {
+ name: '日程安排',
+ type: 'line',
+ data: [5, 5],
+ smooth: true,
+ areaStyle: {}
}]
};
- lineChart.setOption(optionLine);
-
- var currentIndex = -1;
- var interval = 1000; // 切换间隔时间,单位是毫秒
- var timer; // 定时器变量
+ monthlyTrendChart.setOption(monthlyTrendOption);
- // 自动触发选中状态并每隔1秒自动向下一个触发
- function startAutoPlay() {
- timer = setInterval(function() {
- var dataLen = optionLine.series[0].data.length;
- // 取消之前高亮的图形
- lineChart.dispatchAction({
- type: 'downplay',
- seriesIndex: 0,
- dataIndex: currentIndex
- });
- currentIndex = (currentIndex + 1) % dataLen;
- // 高亮当前图形
- lineChart.dispatchAction({
- type: 'highlight',
- seriesIndex: 0,
- dataIndex: currentIndex
- });
- // 显示 tooltip
- lineChart.dispatchAction({
- type: 'showTip',
- seriesIndex: 0,
- dataIndex: currentIndex
- });
- }, interval);
- }
-
- // 开始自动播放
- startAutoPlay();
-
- // 鼠标悬停在图表上时暂停自动播放
- lineChart.on('mouseover', function() {
- clearInterval(timer);
- });
-
- // 鼠标离开图表区域时恢复自动播放
- lineChart.on('mouseout', function() {
- startAutoPlay();
- });
-
- // 饼状图
- var pieChart = echarts.init(document.getElementById('pieChart'));
- var optionPie = {
- animation: false,
- title: {
- //text: '订单占比系统',//
- left: 'left'
- },
+ // 部门人员分布柱状图
+ var departmentChart = echarts.init(document.getElementById('departmentChart'));
+ var departmentOption = {
tooltip: {
- trigger: 'item'
+ trigger: 'axis',
+ axisPointer: {
+ type: 'shadow'
+ }
},
- legend: {
- orient: 'vertical',
- left: 'right'
- },
- series: [{
- name: '嘻嘻',
- type: 'pie',
- radius: ['60%', '70%'],
- data: [
- {value: 150, name: 'data1'},
- {value: 274, name: 'data2'},
- {value: 310, name: 'data3'},
- {value: 335, name: 'data4'},
- {value: 400, name: 'data5'}
- ]
- }]
- };
- pieChart.setOption(optionPie);
- //柱状图
- var barChart = echarts.init(document.getElementById('barChart'));
- var optionBar = {
- animation: false,
- title: {
- // text: '收支情况'//
- },
- tooltip: {},
legend: {
- //data: ['收入', '支出'] ,//
- data: ['data1', 'data2'] ,
- left: 'right'
+ data: ['人员数量']
},
xAxis: {
- data: ['一月', '二月', '三月', '四月', '五月','六月','七月','八月','九月','十月','十一月','十二月',]
+ type: 'category',
+ data: ['生产部', '质检部', '采购部', '物流部', '技术部', '人事部', '财务部', '安环部', 'IT部']
+ },
+ yAxis: {
+ type: 'value'
},
- yAxis: {},
series: [{
- name: 'data1',
+ name: '人员数量',
type: 'bar',
- data: [5, 20, 36, 10, 10,15,16,20,12,13,35,12] // 第一条柱状图的数据
- }, {
- name: 'data2',
- type: 'bar',
- data: [15, 10, 25, 8, 15,8,30,12,11,18,25,12] // 第二条柱状图的数据
+ data: [2, 1, 1, 1, 1, 1, 1, 1, 1],
+ itemStyle: {
+ color: function(params) {
+ var colorList = ['#c23531','#2f4554', '#61a0a8', '#d48265', '#91c7ae','#749f83', '#ca8622', '#bda29a','#6e7074'];
+ return colorList[params.dataIndex];
+ }
+ }
}]
};
- barChart.setOption(optionBar);
-
-
+ departmentChart.setOption(departmentOption);
+ });
+
+
diff --git a/zjkglxt/src/main/resources/static/route/pages/index.html b/zjkglxt/src/main/resources/static/route/pages/index.html
index bb94c7b..4e94d15 100644
--- a/zjkglxt/src/main/resources/static/route/pages/index.html
+++ b/zjkglxt/src/main/resources/static/route/pages/index.html
@@ -1,33 +1,33 @@
-
+
专家库管理系统
-
-
+
+
-
+
-
-
头像
-
账号名称
-
- -
-
-
资源配置
+
+
+
-
+
+
-
管理员
@@ -35,82 +35,119 @@
-
-
- -
-
-
- -
-
-
- -
-
-
- -
-
-
- -
-
-
- -
-
-
- -
-
-
- -
-
-
- -
-
-
- -
-
-
-
+
+
+ -
+
+
+ -
+
+
+ -
+
+
+ -
+
+
+ -
+
+
+ -
+
+
+ -
+
+
+ -
+
+
+ -
+
+
+ -
+
+
+
-
-
-
-
+
diff --git a/zxcpxt/src/main/resources/static/route/pages/index.html b/zxcpxt/src/main/resources/static/route/pages/index.html
index d25bb4b..3bf6880 100644
--- a/zxcpxt/src/main/resources/static/route/pages/index.html
+++ b/zxcpxt/src/main/resources/static/route/pages/index.html
@@ -1,14 +1,14 @@
-
+
在线测评系统
-
+
@@ -69,19 +69,45 @@
欢迎使用在线测评系统
+
-
+
diff --git a/zxyxykhxt/src/main/resources/static/route/pages/index.html b/zxyxykhxt/src/main/resources/static/route/pages/index.html
index 2717ac8..959103c 100644
--- a/zxyxykhxt/src/main/resources/static/route/pages/index.html
+++ b/zxyxykhxt/src/main/resources/static/route/pages/index.html
@@ -1,14 +1,14 @@
-
+
在线研修与考核系统
-
+
@@ -69,15 +69,45 @@
欢迎使用在线研修与考核系统
-
-
-
-
+
+
@@ -90,6 +120,7 @@