diff --git a/src/assets/images/map-bg-2.png b/src/assets/images/map-bg-2.png
new file mode 100644
index 0000000..6b255f7
Binary files /dev/null and b/src/assets/images/map-bg-2.png differ
diff --git a/src/assets/images/small-v-bg.png b/src/assets/images/small-v-bg.png
new file mode 100644
index 0000000..b098598
Binary files /dev/null and b/src/assets/images/small-v-bg.png differ
diff --git a/src/assets/images/work-icon-1.png b/src/assets/images/work-icon-1.png
new file mode 100644
index 0000000..1984316
Binary files /dev/null and b/src/assets/images/work-icon-1.png differ
diff --git a/src/assets/images/work-icon-m-1.png b/src/assets/images/work-icon-m-1.png
new file mode 100644
index 0000000..36b7013
Binary files /dev/null and b/src/assets/images/work-icon-m-1.png differ
diff --git a/src/assets/images/work-n-bg-1.png b/src/assets/images/work-n-bg-1.png
new file mode 100644
index 0000000..4950b36
Binary files /dev/null and b/src/assets/images/work-n-bg-1.png differ
diff --git a/src/assets/images/work-n-bg-2.png b/src/assets/images/work-n-bg-2.png
new file mode 100644
index 0000000..49dec5e
Binary files /dev/null and b/src/assets/images/work-n-bg-2.png differ
diff --git a/src/assets/images/work-n-bg-3.png b/src/assets/images/work-n-bg-3.png
new file mode 100644
index 0000000..8e88a0f
Binary files /dev/null and b/src/assets/images/work-n-bg-3.png differ
diff --git a/src/router/index.js b/src/router/index.js
index 4dec471..8db8c61 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -36,7 +36,12 @@ const router = createRouter({
path: '/sentiment',
name: 'sentiment',
component: () => import('@/views/sentiment/index.vue')
- }
+ },
+ {
+ path: '/workOrder',
+ name: 'workOrder',
+ component: () => import('@/views/workOrder/index.vue')
+ }
]
})
diff --git a/src/views/testing/index.vue b/src/views/testing/index.vue
index 4ef0ac4..b487a1a 100644
--- a/src/views/testing/index.vue
+++ b/src/views/testing/index.vue
@@ -54,61 +54,6 @@ const navLeft = [{
height: 100vh;
overflow: hidden;
background-color: #0a254b;
- .header {
- position: absolute;
- left: vw(326);
- .title {
- width: vw(3133);
- height: vh(120);
- font-size: vw(48);
- font-weight: 800;
- text-align: center;
- padding-top: vh(20);
- color: #fff;
- letter-spacing: vw(10);
- box-sizing: border-box;
- text-shadow: 0px 4px 7px rgba(0, 150, 255, 0.75);
- background-image: url('@/assets/images/title.png');
- background-size: 100% 100%;
- }
- .nav-left {
- position: absolute;
- left: vw(380);
- top: vh(34);
- display: flex;
- &-item {
- cursor: pointer;
- margin-left: vh(-10);
- width: vw(210);
- height: vh(56);
- padding-top: vh(10);
- font-weight: 600;
- font-size: vw(28);
- text-align: center;
- color: rgba(208, 236, 255, 0.9);
- background-image: url('@/assets/images/title-2.png');
- background-size: 100% 100%;
- }
- }
- .nav-right {
- position: absolute;
- right: vw(424);
- top: vh(34);
- display: flex;
- &-item {
- cursor: pointer;
- margin-right: vh(-10);
- width: vw(210);
- height: vh(56);
- padding-top: vh(10);
- font-weight: 600;
- font-size: vw(28);
- text-align: center;
- color: rgba(208, 236, 255, 0.9);
- background-image: url('@/assets/images/title-3.png');
- background-size: 100% 100%;
- }
- }
- }
+
}
diff --git a/src/views/traffic/components/box-1.vue b/src/views/traffic/components/box-1.vue
index 0447219..9de0a6d 100644
--- a/src/views/traffic/components/box-1.vue
+++ b/src/views/traffic/components/box-1.vue
@@ -55,9 +55,9 @@
legend: {
type: 'scroll',
orient: 'vertical',
- right: 10,
- top: 70,
- bottom: 20,
+ right: fitChartSize(10),
+ top: fitChartSize(70),
+ bottom: fitChartSize(20),
itemWidth:5,
itemHeight:5,
padding: [20,10,20,10],
@@ -79,7 +79,7 @@
backgroundColor: '1',
},
a: {
- width: 75,
+ width: fitChartSize(75),
align: 'left',
fontSize:fitChartSize(16),
// backgroundColor:'1'
@@ -114,8 +114,8 @@
{
name: 'Access From',
type: 'pie',
- left:-50,
- top:40,
+ left:fitChartSize(-50),
+ top:fitChartSize(40),
width:fitChartSize(350),
height:fitChartSize(350),
// width:200,
@@ -129,14 +129,48 @@
label: {
show: false,
position: 'center',
-
+ fontWeight: 'bold',
+ // formatter: function (o) {
+ // let data = o.data.value
+ // return `{value|${data}}` + '\n' + `{name|整改率}`
+ // },
+ // rich: {
+
+ // value: {
+ // color: '#fff',
+ // fontSize: fitChartSize(24),
+ // fontWeight: 'bold',
+ // padding: [0, 0, 5, 0]
+ // },
+ // name: {
+ // color: '#7894A8',
+ // fontSize: fitChartSize(12)
+ // }
+ // }
},
emphasis: {
label: {
show: true,
fontSize: fitChartSize(16),
fontWeight: 'bold',
- color:'#fff'
+ color:'#fff',
+ fontWeight: 'bold',
+ formatter: function (o) {
+ let data = o.data.value
+ return `{value|${data}}` + '\n' + `{name|整改率}`
+ },
+ rich: {
+ value: {
+ color: '#fff',
+ fontSize: fitChartSize(24),
+ fontWeight: 'bold',
+ padding: [0, 0, 5, 0]
+ },
+ name: {
+ color: '#7894A8',
+ fontSize: fitChartSize(12)
+ }
+ }
}
},
labelLine: {
@@ -149,7 +183,7 @@
{ value: 135, name: '异常状况4' },
{ value: 100, name: '异常状况5' },
{ value: 777, name: '异常状况6' },
- { value: 777, name: '其他' },
+ { value: 888, name: '其他' },
]
},
diff --git a/src/views/traffic/components/box-2.vue b/src/views/traffic/components/box-2.vue
new file mode 100644
index 0000000..f4fd32a
--- /dev/null
+++ b/src/views/traffic/components/box-2.vue
@@ -0,0 +1,99 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/traffic/components/box-3.vue b/src/views/traffic/components/box-3.vue
new file mode 100644
index 0000000..d41c9ca
--- /dev/null
+++ b/src/views/traffic/components/box-3.vue
@@ -0,0 +1,14 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/traffic/index.vue b/src/views/traffic/index.vue
index 11831ac..fd34854 100644
--- a/src/views/traffic/index.vue
+++ b/src/views/traffic/index.vue
@@ -2,6 +2,7 @@
+
@@ -9,6 +10,7 @@
\ No newline at end of file
diff --git a/src/views/workOrder/components/box-2.vue b/src/views/workOrder/components/box-2.vue
new file mode 100644
index 0000000..1057c18
--- /dev/null
+++ b/src/views/workOrder/components/box-2.vue
@@ -0,0 +1,720 @@
+
+
+
+
+
+
+

+
+ 今日工单总条数 456789
+
+
+ 工单完成数 456789
+
+
+ 紧急工单数 456789
+
+
+ 重要工单数 456789
+
+
+ 普通工单数 456789
+
+
+
+
+
+
+
+
+
+
异常告警占比
+
+
+
+
+
+
+

+ 异常点位告警排名
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/workOrder/index.vue b/src/views/workOrder/index.vue
new file mode 100644
index 0000000..129b84f
--- /dev/null
+++ b/src/views/workOrder/index.vue
@@ -0,0 +1,26 @@
+
+
+
+
+
+
+
+
+
+
+
+
+