diff --git a/hb_client/src/layout/components/Sidebar/Logo.vue b/hb_client/src/layout/components/Sidebar/Logo.vue
index 99731ef..01998f6 100644
--- a/hb_client/src/layout/components/Sidebar/Logo.vue
+++ b/hb_client/src/layout/components/Sidebar/Logo.vue
@@ -25,7 +25,7 @@ export default {
data() {
return {
// title: '航玻生产管理系统',
- title: '玻璃生加工生产管理系统',
+ title: '玻璃深加工生产管理系统',
logo: 'https://wpimg.wallstcn.com/69a1c46c-eb1c-4b46-8bd4-e9e686ef5251.png'
}
}
diff --git a/hb_client/src/router/index.js b/hb_client/src/router/index.js
index 7307b1a..c5b855f 100644
--- a/hb_client/src/router/index.js
+++ b/hb_client/src/router/index.js
@@ -459,6 +459,21 @@ export const asyncRoutes = [
]
},
+ // {
+ // path: '/energyManage',
+ // component: Layout,
+ // redirect: '/energyManage/energy',
+ // name: 'energyManage',
+ // meta: { title: '能源管理', icon: 'materialStatistics' },
+ // children: [
+ // {
+ // path: 'energy',
+ // name: 'energy',
+ // component: () => import('@/views/energyManage/energy'),
+ // meta: { title: '能源统计', icon: 'materialStatistics'}
+ // },
+ // ]
+ // },
{
path: '/personnel',
component: Layout,
diff --git a/hb_client/src/views/dashboard/index.vue b/hb_client/src/views/dashboard/index.vue
index 7217e08..86c24ec 100644
--- a/hb_client/src/views/dashboard/index.vue
+++ b/hb_client/src/views/dashboard/index.vue
@@ -376,8 +376,10 @@
data:newData.xData,
top: 'top',
left: 'right',
+ right:'5%',
orient: "vertical",
textStyle: {
+ fontSize:10,
color: "#556677", // 文字的颜色。
}
},
@@ -393,8 +395,8 @@
{
name: '人员到岗率',
type: 'pie', // 设置图表类型为饼图
- radius: ['30%', '50%'], // 饼图的半径,外半径为可视区尺寸(容器高宽中较小一项)的 55% 长度。
- center: ['50%', '45%'], //圆心位置
+ radius: ['25%', '45%'], // 饼图的半径,外半径为可视区尺寸(容器高宽中较小一项)的 55% 长度。
+ center: ['50%', '35%'], //圆心位置
avoidLabelOverlap: false,
itemStyle: {
borderRadius: 20,
@@ -1033,11 +1035,11 @@
},
},
mounted() {
- let hei = document.getElementsByClassName('app-main')[0].clientHeight;
+ let hei = document.getElementById('app').clientHeight;
let heig = document.getElementsByClassName('dashboardTopCard')[0].clientHeight;
- let domHeight = ((hei - heig - 240) / 2);
+ let domHeight = ((hei - heig - 165) / 2)-77;
this.cardTabelHeight = domHeight;
- this.pieHeight=domHeight+'px';
+ this.pieHeight=(domHeight-76)+'px';
this.ganttHeight = domHeight;
document.getElementById('chartColumn').style.height = domHeight + 'px';
this.getUserList();//用户列表
@@ -1120,7 +1122,7 @@
float: left;
font-size: 14px;
border-radius: 15px;
- padding: 30px 20px 30px 40px;
+ padding: 30px 20px 30px 30px;
background-color: #ffffff;
}
diff --git a/hb_client/src/views/energyManage/energy.vue b/hb_client/src/views/energyManage/energy.vue
new file mode 100644
index 0000000..947ad4a
--- /dev/null
+++ b/hb_client/src/views/energyManage/energy.vue
@@ -0,0 +1,515 @@
+
+
+
+
能源范围
+
+
+
+
时间类型
+
+
+
+
开始时间
+
+
+
结束时间
+
+
+
查询
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ | {{ item }} |
+
+
+ {{ itemtd }} |
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file