+
@@ -21,4 +21,15 @@ export default {
};
-
+
diff --git a/src/views/pageRoom/leftBottom/index.scss b/src/views/pageRoom/leftBottom/index.scss
new file mode 100644
index 0000000..6878337
--- /dev/null
+++ b/src/views/pageRoom/leftBottom/index.scss
@@ -0,0 +1,38 @@
+.bottomBoxWrap {
+ height: vh(386);
+ box-sizing: border-box;
+ padding: vh(20) vw(54);
+ background-image: url('@/assets/svg/Room/LeftBottom/Box.svg');
+ background-size: 107%;
+ background-position: center;
+ background-repeat: no-repeat;
+ margin-top: vh(24);
+
+ .echartsContainer {
+ height: vh(260)
+ }
+
+ .bottomBox {
+ height: vh(80);
+ padding: 0 vw(24);
+ background: linear-gradient(272deg, rgba(93, 73, 175, 0.045) 2%, rgba(93, 73, 175, 0.066) 99%);
+ border: 1px solid;
+ border-image: linear-gradient(160deg, rgba(158, 136, 246, 0.4) -10%, rgba(93, 73, 175, 0) 41%) 1.5;
+ display: flex;
+ align-items: center;
+ justify-content: space-evenly;
+
+ .left {
+ display: flex;
+ align-items: center;
+
+ span {
+ font-size: vw(16);
+ font-weight: 500;
+ color: #2D126F;
+ margin-left: vw(4);
+ }
+ }
+
+ }
+}
diff --git a/src/views/pageRoom/leftBottom/index.vue b/src/views/pageRoom/leftBottom/index.vue
index 59f441f..4a08e19 100644
--- a/src/views/pageRoom/leftBottom/index.vue
+++ b/src/views/pageRoom/leftBottom/index.vue
@@ -1,10 +1,13 @@
-
+
+
+
+
+

+
平均接台时间(min)
+
+
+
-
diff --git a/src/views/pageRoom/leftTop/index.scss b/src/views/pageRoom/leftTop/index.scss
new file mode 100644
index 0000000..4fc2430
--- /dev/null
+++ b/src/views/pageRoom/leftTop/index.scss
@@ -0,0 +1,55 @@
+.leftBox {
+ height: vh(498);
+ box-sizing: border-box;
+ padding: vh(54) vw(54);
+ background-image: url('@/assets/svg/Room/LeftTop/Box.svg');
+ background-size: 107%;
+ background-position: center;
+ background-repeat: no-repeat;
+
+ .echartsContainer {
+ width: vw(230);
+ height: vh(230);
+ margin: vh(20) auto;
+ }
+
+ .bottomBox {
+ margin-top: vh(40);
+ height: vh(80);
+ padding: 0 vw(24);
+ background: linear-gradient(272deg, rgba(93, 73, 175, 0.045) 2%, rgba(93, 73, 175, 0.066) 99%);
+ border: 1px solid;
+ border-image: linear-gradient(160deg, rgba(158, 136, 246, 0.4) -10%, rgba(93, 73, 175, 0) 41%) 1.5;
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+
+ .left {
+ display: flex;
+ align-items: center;
+
+ span {
+ font-size: vw(16);
+ color: #2D126F;
+ margin-left: vw(4);
+ }
+ }
+
+ .right {
+ font-size: vw(12);
+ color: #571273;
+
+ span {
+ font-weight: 500;
+ font-size: vw(26);
+ color: #5D49AF;
+ vertical-align: sub;
+ }
+ }
+
+ &:first-child {
+ margin-bottom: vh(24);
+ }
+
+ }
+}
diff --git a/src/views/pageRoom/leftTop/index.vue b/src/views/pageRoom/leftTop/index.vue
index e0b1976..a3e26c2 100644
--- a/src/views/pageRoom/leftTop/index.vue
+++ b/src/views/pageRoom/leftTop/index.vue
@@ -1,14 +1,17 @@
-
-
-
-
-

-
手术间数
+
+
+
+
+

+
手术间数
+
+
+ 300
+ 间
-
{{ opTotal }}
-
+
-
diff --git a/src/views/pageRoom/rightMid/index copy.vue b/src/views/pageRoom/rightMid/index copy.vue
deleted file mode 100644
index 666de22..0000000
--- a/src/views/pageRoom/rightMid/index copy.vue
+++ /dev/null
@@ -1,234 +0,0 @@
-
-
-
-
-
-
-
-
-
diff --git a/src/views/pageRoom/rightMid/index.vue b/src/views/pageRoom/rightMid/index.vue
index 289f7e3..4e73d10 100644
--- a/src/views/pageRoom/rightMid/index.vue
+++ b/src/views/pageRoom/rightMid/index.vue
@@ -1,5 +1,5 @@
-
+
@@ -16,19 +16,19 @@ export default {
isLoding: false,
chartOptions: {
grid: {
- width: '86%',
- height: '80%',
- top: '14%',
+ width: '90%',
+ height: '87%',
+ top: '10%',
+ left: '7%',
},
legend: {
data: [],
- selectedMode: 'none',
- top: '6%',
+ selectedMode: false,
+ top: '3%',
right: '4%',
textStyle: {
- color: '#fff',
- fontSize: 14,
- fontFamily: 'DIN-Bold,Microsoft YaHei',
+ color: '#675C88',
+ fontSize: 12,
},
},
xAxis: {
@@ -58,7 +58,6 @@ export default {
color: '#B7BDBF',
fontSize: 12,
margin: 16,
- fontFamily: 'DIN-Bold,Microsoft YaHei',
},
},
series: [],
@@ -136,6 +135,8 @@ export default {
this.formatLegendData();
// 生成series数据
this.chartOptions.series = this.seriesData(timeArr);
+ console.log(this.chartOptions);
+
chart.setOption(this.chartOptions);
},
onGetPageData() {
@@ -278,14 +279,19 @@ export default {
}, this.$store.getters.intervalTime);
}
});
+ window.addEventListener("resize", () => {
+ chart.resize();
+ });
},
};
-