更新一版

main
@0Melon0 2 years ago
parent dd08e3be54
commit 3061e33d46

@ -19,6 +19,7 @@ export default {
mounted() { mounted() {
setTimeout(() => { setTimeout(() => {
this.isLoding = false; this.isLoding = false;
this.enterFullscreen();
}, 1000); }, 1000);
}, },
methods: { methods: {

@ -23,38 +23,29 @@ export default {
series: [ series: [
{ {
type: 'pie', type: 'pie',
radius: ['40%', '55%'], radius: ['32%', '44%'],
itemStyle: {
borderRadius: 10,
borderColor: '#fff',
borderWidth: 2,
},
data: [ data: [
{ {
name: '一级', name: '一级',
value: 300, value: 148,
}, },
{ {
name: '二级', name: '二级',
value: 250, value: 87,
}, },
{ {
name: '三级', name: '三级',
value: 250, value: 75,
}, },
{ {
name: '四级', name: '四级',
value: 100, value: 40,
},
{
name: '五级',
value: 80,
}, },
], ],
outsideLabel: { outsideLabel: {
formatter: '{name} {value}', formatter: '{name}{value}',
labelLineBendGap: '8%', labelLineBendGap: '8%',
labelLineEndLength: 8, labelLineEndLength: 10,
style: { style: {
fontSize: 16, fontSize: 16,
}, },
@ -66,29 +57,33 @@ export default {
series: [ series: [
{ {
type: 'pie', type: 'pie',
radius: ['40%', '55%'], radius: ['32%', '44%'],
data: [ data: [
{ {
name: 'I级', name: 'I级',
value: 80, value: 137,
}, },
{ {
name: 'II级', name: 'II级',
value: 50, value: 105,
}, },
{ {
name: 'III级', name: 'III级',
value: 10, value: 58,
}, },
{ {
name: 'IV级', name: 'IV级',
value: 20, value: 37,
},
{
name: 'V级',
value: 13,
}, },
], ],
outsideLabel: { outsideLabel: {
formatter: '{name} {value}', formatter: '{name}{value}',
labelLineBendGap: '8%', labelLineBendGap: '8%',
labelLineEndLength: 8, labelLineEndLength: 10,
style: { style: {
fontSize: 16, fontSize: 16,
}, },
@ -103,7 +98,7 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.bottomLeft { .bottomLeft {
flex-basis: 40%; flex-basis: 38%;
.chartsBox { .chartsBox {
width: 100%; width: 100%;
height: 100%; height: 100%;

@ -41,7 +41,7 @@ export default {
}, },
yAxis: { yAxis: {
type: 'category', type: 'category',
data: ['择期手术', '急诊手术', '门诊手术', '无痛手术', '日间手术', '外科手术'], data: ['无痛手术', '门诊手术', '日间手术', '急诊手术', '择期手术'],
axisLabel: { axisLabel: {
style: { style: {
stroke: '#fff', stroke: '#fff',
@ -56,7 +56,7 @@ export default {
series: [ series: [
{ {
type: 'bar', type: 'bar',
data: [10, 20, 25, 30, 40, 80], data: [160, 238, 326, 352, 724],
barWidth: '40%', barWidth: '40%',
label: { label: {
show: true, show: true,
@ -84,7 +84,7 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.bottomMiddle { .bottomMiddle {
flex-basis: 28%; flex-basis: 30%;
.chartsBox { .chartsBox {
width: 100%; width: 100%;
height: 100%; height: 100%;

@ -38,6 +38,7 @@ export default {
type: 'value', type: 'value',
data: 'value', data: 'value',
max: '1%', max: '1%',
min: 0,
axisLabel: { axisLabel: {
style: { style: {
stroke: '#fff', stroke: '#fff',
@ -50,7 +51,7 @@ export default {
series: [ series: [
{ {
type: 'bar', type: 'bar',
data: [200, 150, 120, 80, 70], data: [180, 165, 155, 148, 137],
barWidth: '40%', barWidth: '40%',
label: { label: {
show: true, show: true,
@ -75,7 +76,7 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.bottomRight { .bottomRight {
flex-basis: 28%; flex-basis: 30%;
.chartsBox { .chartsBox {
width: 100%; width: 100%;
height: 100%; height: 100%;

@ -6,8 +6,8 @@
<topRight></topRight> <topRight></topRight>
</div> </div>
<div class="bottomBox"> <div class="bottomBox">
<bottomLeft></bottomLeft>
<bottomMiddle></bottomMiddle> <bottomMiddle></bottomMiddle>
<bottomLeft></bottomLeft>
<bottomRight></bottomRight> <bottomRight></bottomRight>
</div> </div>
</section> </section>
@ -42,6 +42,7 @@ export default {
} }
.topBox { .topBox {
display: flex; display: flex;
justify-content: space-between;
} }
.bottomBox { .bottomBox {
display: flex; display: flex;

@ -11,12 +11,12 @@
<p>手术间利用率</p> <p>手术间利用率</p>
</dv-border-box-2> </dv-border-box-2>
<dv-border-box-2 class="item"> <dv-border-box-2 class="item">
<p>总人数 <span class="numFont">400</span></p> <p>总人数 <span class="numFont">350</span></p>
<p>进行中 <span class="numFont">180</span></p> <p>进行中 <span class="numFont">50</span></p>
<p>待进行 <span class="numFont">220</span></p> <p>待进行 <span class="numFont">220</span></p>
</dv-border-box-2> </dv-border-box-2>
<dv-border-box-2 class="item"> <dv-border-box-2 class="item">
<p class="active numFont">80</p> <p class="active numFont">50</p>
<p>急诊患者</p> <p>急诊患者</p>
</dv-border-box-2> </dv-border-box-2>
</div> </div>
@ -34,7 +34,7 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.topLeft { .topLeft {
flex-basis: 32%; flex-basis: 30%;
.box { .box {
height: 100%; height: 100%;
display: flex; display: flex;
@ -75,6 +75,12 @@ export default {
} }
} }
} }
.item:nth-child(3) {
p {
min-width: 13vh;
text-align: left;
}
}
} }
} }
</style> </style>

@ -6,7 +6,7 @@
<template v-for="(item1, index) in 21"> <template v-for="(item1, index) in 21">
<div class="item" :key="item1"> <div class="item" :key="item1">
<dv-border-box-2> <dv-border-box-2>
<p class="numFont">WK{{ String(index + 1).padStart(2, '0') }}</p> <p class="numFont">{{ String(index + 1).padStart(3, '0') }}</p>
<p v-if="index % 3" style="color: #f00"></p> <p v-if="index % 3" style="color: #f00"></p>
<p v-else-if="index % 5" style="color: #ff0">麻醉结束</p> <p v-else-if="index % 5" style="color: #ff0">麻醉结束</p>
<p v-else style="color: #fff">空置中</p> <p v-else style="color: #fff">空置中</p>
@ -31,8 +31,7 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.topRight { .topRight {
flex-basis: 65%; flex-basis: 69%;
margin-left: 3%;
:deep(.el-carousel) { :deep(.el-carousel) {
height: 100%; height: 100%;
.el-carousel__container { .el-carousel__container {

@ -3,8 +3,8 @@
<dv-border-box-13> <dv-border-box-13>
<dv-charts :option="option"></dv-charts> <dv-charts :option="option"></dv-charts>
<section class="dataSection"> <section class="dataSection">
<p>总人数<span class="numFont">400</span></p> <p>总人数<span class="numFont">350</span></p>
<p>进行中<span class="numFont">180</span></p> <p>进行中<span class="numFont">50</span></p>
<p>待进行<span class="numFont">220</span></p> <p>待进行<span class="numFont">220</span></p>
</section> </section>
</dv-border-box-13> </dv-border-box-13>
@ -23,7 +23,7 @@ export default {
endAngle: Math.PI * 1.5, endAngle: Math.PI * 1.5,
arcLineWidth: 35, arcLineWidth: 35,
center: ['50%', '45%'], center: ['50%', '45%'],
data: [{ name: 'itemA', value: 80, gradient: ['#03c2fd', '#1ed3e5', '#2fded6'] }], data: [{ name: 'itemA', value: 86, gradient: ['#03c2fd', '#1ed3e5', '#2fded6'] }],
axisLabel: { axisLabel: {
show: false, show: false,
}, },
@ -69,15 +69,16 @@ export default {
} }
} }
.dataSection { .dataSection {
width: 100%;
position: absolute; position: absolute;
bottom: 1.2vh; bottom: 1.2vh;
left: 50%;
transform: translateX(-50%);
p { p {
color: #fff; color: #fff;
font-size: 2.4vh; font-size: 2.4vh;
text-align: center;
letter-spacing: .2vh; letter-spacing: .2vh;
line-height: 4vh; line-height: 4vh;
text-align: left;
span { span {
font-size: 2.6vh; font-size: 2.6vh;
color: aqua; color: aqua;

@ -4,7 +4,7 @@
<dv-border-box-2 class="item"> <dv-border-box-2 class="item">
<dv-charts :option="option"></dv-charts> <dv-charts :option="option"></dv-charts>
<section class="dataSection"> <section class="dataSection">
<p>手术间数<span class="numFont">100</span></p> <p>手术间数<span class="numFont">60</span></p>
</section> </section>
</dv-border-box-2> </dv-border-box-2>
<dv-decoration-2 /> <dv-decoration-2 />
@ -30,7 +30,7 @@ export default {
endAngle: Math.PI * 1.5, endAngle: Math.PI * 1.5,
arcLineWidth: 35, arcLineWidth: 35,
center: ['50%', '45%'], center: ['50%', '45%'],
data: [{ name: 'itemA', value: 80, gradient: ['#03c2fd', '#1ed3e5', '#2fded6'] }], data: [{ name: 'itemA', value: 86, gradient: ['#03c2fd', '#1ed3e5', '#2fded6'] }],
axisLabel: { axisLabel: {
show: false, show: false,
}, },

@ -25,7 +25,7 @@ export default {
type: 'scroll', type: 'scroll',
data: ['手术准备', '手术中', '完成手术'], data: ['手术准备', '手术中', '完成手术'],
top: 10, top: 10,
left: 10, right: 1,
textStyle: { textStyle: {
color: '#fff', color: '#fff',
fontSize: 14, fontSize: 14,

Loading…
Cancel
Save