|
|
@ -28,7 +28,7 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="topbox-item-right">
|
|
|
|
<div class="topbox-item-right">
|
|
|
|
<!-- <div class="redStyle">较去年</div> -->
|
|
|
|
<!-- <div class="redStyle">较去年</div> -->
|
|
|
|
<div >较去年</div>
|
|
|
|
<div>较去年</div>
|
|
|
|
<!-- <span class="spanxia">↑</span> -->
|
|
|
|
<!-- <span class="spanxia">↑</span> -->
|
|
|
|
<span class="spanshang">↓</span>
|
|
|
|
<span class="spanshang">↓</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
@ -44,7 +44,7 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="topbox-item-right">
|
|
|
|
<div class="topbox-item-right">
|
|
|
|
<!-- <div class="redStyle">较去年</div> -->
|
|
|
|
<!-- <div class="redStyle">较去年</div> -->
|
|
|
|
<div >较去年</div>
|
|
|
|
<div>较去年</div>
|
|
|
|
<!-- <span class="spanxia">↑</span> -->
|
|
|
|
<!-- <span class="spanxia">↑</span> -->
|
|
|
|
<span class="spanshang">↓</span>
|
|
|
|
<span class="spanshang">↓</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
@ -55,20 +55,20 @@
|
|
|
|
<div class="bottom-box" ref="bottom-box"></div>
|
|
|
|
<div class="bottom-box" ref="bottom-box"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="rights">
|
|
|
|
<div class="rights">
|
|
|
|
<div>
|
|
|
|
<div v-for="(item, index) in pieDatalist">
|
|
|
|
<div class="pt-top">
|
|
|
|
<div class="pt-top">
|
|
|
|
<div class="ptleftbox">
|
|
|
|
<div class="ptleftbox">
|
|
|
|
<div class="rectangular1"></div>
|
|
|
|
<div :class="'rectangular' + (index + 1)"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="texts">一般不良反应</div>
|
|
|
|
<div class="texts">{{ item.name }}</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="pt-top">
|
|
|
|
<div class="pt-top">
|
|
|
|
<div class="ptleftbox"></div>
|
|
|
|
<div class="ptleftbox"></div>
|
|
|
|
<div class="boxLine"></div>
|
|
|
|
<div class="boxLine"></div>
|
|
|
|
<div class="ptStyle react1">0%</div>
|
|
|
|
<div :class="('react' + (index + 1))" class="ptStyle">{{item.percent}}%</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<!-- <div>
|
|
|
|
<div class="pt-top">
|
|
|
|
<div class="pt-top">
|
|
|
|
<div class="ptleftbox">
|
|
|
|
<div class="ptleftbox">
|
|
|
|
<div class="rectangular2"></div>
|
|
|
|
<div class="rectangular2"></div>
|
|
|
@ -80,8 +80,8 @@
|
|
|
|
<div class="boxLine"></div>
|
|
|
|
<div class="boxLine"></div>
|
|
|
|
<div class="ptStyle react2">0%</div>
|
|
|
|
<div class="ptStyle react2">0%</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div> -->
|
|
|
|
<div>
|
|
|
|
<!-- <div>
|
|
|
|
<div class="pt-top">
|
|
|
|
<div class="pt-top">
|
|
|
|
<div class="ptleftbox">
|
|
|
|
<div class="ptleftbox">
|
|
|
|
<div class="rectangular3"></div>
|
|
|
|
<div class="rectangular3"></div>
|
|
|
@ -93,7 +93,7 @@
|
|
|
|
<div class="boxLine"></div>
|
|
|
|
<div class="boxLine"></div>
|
|
|
|
<div class="ptStyle react3">0%</div>
|
|
|
|
<div class="ptStyle react3">0%</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div> -->
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
@ -115,6 +115,7 @@ export default {
|
|
|
|
option1: {},
|
|
|
|
option1: {},
|
|
|
|
// echarts
|
|
|
|
// echarts
|
|
|
|
myChart1: {},
|
|
|
|
myChart1: {},
|
|
|
|
|
|
|
|
|
|
|
|
a1: 0,
|
|
|
|
a1: 0,
|
|
|
|
a2: 0,
|
|
|
|
a2: 0,
|
|
|
|
a3: 0,
|
|
|
|
a3: 0,
|
|
|
@ -133,10 +134,24 @@ export default {
|
|
|
|
name: "发生死亡不良反应",
|
|
|
|
name: "发生死亡不良反应",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
],
|
|
|
|
|
|
|
|
pieDatalist: [
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
percent: 0,
|
|
|
|
|
|
|
|
name: "一般不良反应",
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
percent: 0,
|
|
|
|
|
|
|
|
name: "严重不良反应",
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
percent: 0,
|
|
|
|
|
|
|
|
name: "发生死亡不良反应",
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
],
|
|
|
|
total: 0,
|
|
|
|
total: 0,
|
|
|
|
};
|
|
|
|
};
|
|
|
|
},
|
|
|
|
},
|
|
|
|
created() {},
|
|
|
|
created() { },
|
|
|
|
mounted() {
|
|
|
|
mounted() {
|
|
|
|
this.getData();
|
|
|
|
this.getData();
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -376,6 +391,13 @@ export default {
|
|
|
|
normal: {
|
|
|
|
normal: {
|
|
|
|
show: false,
|
|
|
|
show: false,
|
|
|
|
formatter: "",
|
|
|
|
formatter: "",
|
|
|
|
|
|
|
|
formatter: (params)=> {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (params.name == "一般不良反应") this.pieDatalist[0].percent = params.percent || 0;
|
|
|
|
|
|
|
|
if (params.name == "严重不良反应") this.pieDatalist[1].percent = params.percent || 0;
|
|
|
|
|
|
|
|
if (params.name == "发生死亡不良反应") this.pieDatalist[2].percent = params.percent || 0;
|
|
|
|
|
|
|
|
return (params.percent || 0) + "%";
|
|
|
|
|
|
|
|
},
|
|
|
|
textStyle: {
|
|
|
|
textStyle: {
|
|
|
|
fontSize: 12,
|
|
|
|
fontSize: 12,
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -447,7 +469,7 @@ export default {
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: bottom;
|
|
|
|
background-position: bottom;
|
|
|
|
|
|
|
|
|
|
|
|
> div {
|
|
|
|
>div {
|
|
|
|
display: flex;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -505,6 +527,7 @@ export default {
|
|
|
|
|
|
|
|
|
|
|
|
.topbox-item-right {
|
|
|
|
.topbox-item-right {
|
|
|
|
flex: 1;
|
|
|
|
flex: 1;
|
|
|
|
|
|
|
|
|
|
|
|
.redStyle {
|
|
|
|
.redStyle {
|
|
|
|
font-size: 16px;
|
|
|
|
font-size: 16px;
|
|
|
|
font-family: Alibaba PuHuiTi;
|
|
|
|
font-family: Alibaba PuHuiTi;
|
|
|
@ -515,6 +538,7 @@ export default {
|
|
|
|
-webkit-text-fill-color: transparent;
|
|
|
|
-webkit-text-fill-color: transparent;
|
|
|
|
margin-right: 5px;
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
div {
|
|
|
|
div {
|
|
|
|
font-size: 16px;
|
|
|
|
font-size: 16px;
|
|
|
|
font-family: Alibaba PuHuiTi;
|
|
|
|
font-family: Alibaba PuHuiTi;
|
|
|
@ -542,6 +566,7 @@ export default {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.footers {
|
|
|
|
.footers {
|
|
|
|
height: calc(100% - 120px);
|
|
|
|
height: calc(100% - 120px);
|
|
|
|
display: flex;
|
|
|
|
display: flex;
|
|
|
@ -550,11 +575,13 @@ export default {
|
|
|
|
height: 100%;
|
|
|
|
height: 100%;
|
|
|
|
width: 50%;
|
|
|
|
width: 50%;
|
|
|
|
padding: 10px;
|
|
|
|
padding: 10px;
|
|
|
|
|
|
|
|
|
|
|
|
.bottom-box {
|
|
|
|
.bottom-box {
|
|
|
|
height: 100%;
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.rights {
|
|
|
|
.rights {
|
|
|
|
height: 100%;
|
|
|
|
height: 100%;
|
|
|
|
padding-left: 15px;
|
|
|
|
padding-left: 15px;
|
|
|
@ -569,25 +596,30 @@ export default {
|
|
|
|
display: flex;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
align-items: center;
|
|
|
|
position: relative;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
|
|
|
|
.ptleftbox {
|
|
|
|
.ptleftbox {
|
|
|
|
width: 12%;
|
|
|
|
width: 12%;
|
|
|
|
height: 100%;
|
|
|
|
height: 100%;
|
|
|
|
|
|
|
|
|
|
|
|
.rectangular1 {
|
|
|
|
.rectangular1 {
|
|
|
|
height: 8px;
|
|
|
|
height: 8px;
|
|
|
|
width: 8px;
|
|
|
|
width: 8px;
|
|
|
|
background: #2e87e8;
|
|
|
|
background: #2e87e8;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.rectangular2 {
|
|
|
|
.rectangular2 {
|
|
|
|
height: 8px;
|
|
|
|
height: 8px;
|
|
|
|
width: 8px;
|
|
|
|
width: 8px;
|
|
|
|
background: #f0a436;
|
|
|
|
background: #f0a436;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.rectangular3 {
|
|
|
|
.rectangular3 {
|
|
|
|
height: 8px;
|
|
|
|
height: 8px;
|
|
|
|
width: 8px;
|
|
|
|
width: 8px;
|
|
|
|
background: #f35656;
|
|
|
|
background: #f35656;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.texts {
|
|
|
|
.texts {
|
|
|
|
width: 60%;
|
|
|
|
width: 60%;
|
|
|
|
font-size: 16px;
|
|
|
|
font-size: 16px;
|
|
|
@ -595,6 +627,7 @@ export default {
|
|
|
|
font-weight: 400;
|
|
|
|
font-weight: 400;
|
|
|
|
color: #b7d4f5;
|
|
|
|
color: #b7d4f5;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.react1 {
|
|
|
|
.react1 {
|
|
|
|
// font-size: 20px;
|
|
|
|
// font-size: 20px;
|
|
|
|
font-family: Alibaba PuHuiTi;
|
|
|
|
font-family: Alibaba PuHuiTi;
|
|
|
@ -602,6 +635,7 @@ export default {
|
|
|
|
color: #2e87e8;
|
|
|
|
color: #2e87e8;
|
|
|
|
padding-left: 10px;
|
|
|
|
padding-left: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.react2 {
|
|
|
|
.react2 {
|
|
|
|
// font-size: 20px;
|
|
|
|
// font-size: 20px;
|
|
|
|
font-family: Alibaba PuHuiTi;
|
|
|
|
font-family: Alibaba PuHuiTi;
|
|
|
@ -609,6 +643,7 @@ export default {
|
|
|
|
color: #f0a436;
|
|
|
|
color: #f0a436;
|
|
|
|
padding-left: 10px;
|
|
|
|
padding-left: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.react3 {
|
|
|
|
.react3 {
|
|
|
|
// font-size: 20px;
|
|
|
|
// font-size: 20px;
|
|
|
|
font-family: Alibaba PuHuiTi;
|
|
|
|
font-family: Alibaba PuHuiTi;
|
|
|
@ -617,15 +652,15 @@ export default {
|
|
|
|
|
|
|
|
|
|
|
|
color: #f35656;
|
|
|
|
color: #f35656;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.ptStyle {
|
|
|
|
.ptStyle {
|
|
|
|
width: 60%;
|
|
|
|
width: 60%;
|
|
|
|
margin-top: 5px;
|
|
|
|
margin-top: 5px;
|
|
|
|
background: linear-gradient(
|
|
|
|
background: linear-gradient(to right,
|
|
|
|
to right,
|
|
|
|
|
|
|
|
rgba(36, 64, 97, 1),
|
|
|
|
rgba(36, 64, 97, 1),
|
|
|
|
rgba(36, 64, 97, 0)
|
|
|
|
rgba(36, 64, 97, 0));
|
|
|
|
);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.boxLine {
|
|
|
|
.boxLine {
|
|
|
|
position: absolute;
|
|
|
|
position: absolute;
|
|
|
|
width: 18px;
|
|
|
|
width: 18px;
|
|
|
|