|
|
@ -1,6 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
<template>
|
|
|
|
<template>
|
|
|
|
<div class="box">
|
|
|
|
<div class="box" style="height: calc(100% - 41px)">
|
|
|
|
<div class="top-box">
|
|
|
|
<div class="top-box">
|
|
|
|
<div class="topbox-item">
|
|
|
|
<div class="topbox-item">
|
|
|
|
<div class="topbox-item-left">
|
|
|
|
<div class="topbox-item-left">
|
|
|
@ -8,12 +8,13 @@
|
|
|
|
<span>不良反应</span>
|
|
|
|
<span>不良反应</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="topbox-item-content">
|
|
|
|
<div class="topbox-item-content">
|
|
|
|
<div class="topbox-itemleft-color">12121111111111111111</div>
|
|
|
|
<div class="topbox-itemleft-color">{{ pieData[0].value || 0 }}</div>
|
|
|
|
<span>例</span>
|
|
|
|
<span>例</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="topbox-item-right">
|
|
|
|
<div class="topbox-item-right">
|
|
|
|
<div>较去年</div>
|
|
|
|
<div>较去年</div>
|
|
|
|
<span class="spanshang">↑</span> <span class="spanxia">↓</span>
|
|
|
|
<!-- <span class="spanxia">↑</span> -->
|
|
|
|
|
|
|
|
<span class="spanshang">↓</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="topbox-item">
|
|
|
|
<div class="topbox-item">
|
|
|
@ -22,12 +23,13 @@
|
|
|
|
<span>严重不良反应</span>
|
|
|
|
<span>严重不良反应</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="topbox-item-content">
|
|
|
|
<div class="topbox-item-content">
|
|
|
|
<div class="topbox-itemleft-color">1212</div>
|
|
|
|
<div class="topbox-itemleft-color">{{ pieData[1].value || 0 }}</div>
|
|
|
|
<span>例</span>
|
|
|
|
<span>例</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="topbox-item-right">
|
|
|
|
<div class="topbox-item-right">
|
|
|
|
<div class="redStyle">较去年</div>
|
|
|
|
<div class="redStyle">较去年</div>
|
|
|
|
<span class="spanshang">↑</span> <span class="spanxia">↓</span>
|
|
|
|
<span class="spanxia">↑</span>
|
|
|
|
|
|
|
|
<!-- <span class="spanshang">↓</span> -->
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="topbox-item">
|
|
|
|
<div class="topbox-item">
|
|
|
@ -36,17 +38,63 @@
|
|
|
|
<span>发生死亡不良反应</span>
|
|
|
|
<span>发生死亡不良反应</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="topbox-item-content">
|
|
|
|
<div class="topbox-item-content">
|
|
|
|
<div class="topbox-itemleft-color">1212</div>
|
|
|
|
<div class="topbox-itemleft-color">{{ pieData[2].value || 0 }}</div>
|
|
|
|
<span>例</span>
|
|
|
|
<span>例</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="topbox-item-right">
|
|
|
|
<div class="topbox-item-right">
|
|
|
|
<div class="redStyle">较去年</div>
|
|
|
|
<div class="redStyle">较去年</div>
|
|
|
|
<span class="spanshang">↑</span> <span class="spanxia">↓</span>
|
|
|
|
<span class="spanxia">↑</span>
|
|
|
|
|
|
|
|
<!-- <span class="spanshang">↓</span> -->
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="footers">
|
|
|
|
|
|
|
|
<div class="lefts">
|
|
|
|
<div class="bottom-box" ref="bottom-box"></div>
|
|
|
|
<div class="bottom-box" ref="bottom-box"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="rights">
|
|
|
|
|
|
|
|
<div>
|
|
|
|
|
|
|
|
<div class="pt-top">
|
|
|
|
|
|
|
|
<div class="ptleftbox">
|
|
|
|
|
|
|
|
<div class="rectangular1"></div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="texts">一般不良反应</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="pt-top">
|
|
|
|
|
|
|
|
<div class="ptleftbox"></div>
|
|
|
|
|
|
|
|
<div class="boxLine"></div>
|
|
|
|
|
|
|
|
<div class="ptStyle react1">0%</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div>
|
|
|
|
|
|
|
|
<div class="pt-top">
|
|
|
|
|
|
|
|
<div class="ptleftbox">
|
|
|
|
|
|
|
|
<div class="rectangular2"></div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="texts">严重不良反应</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="pt-top">
|
|
|
|
|
|
|
|
<div class="ptleftbox"></div>
|
|
|
|
|
|
|
|
<div class="boxLine"></div>
|
|
|
|
|
|
|
|
<div class="ptStyle react2">0%</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div>
|
|
|
|
|
|
|
|
<div class="pt-top">
|
|
|
|
|
|
|
|
<div class="ptleftbox">
|
|
|
|
|
|
|
|
<div class="rectangular3"></div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="texts">发生死亡不良反应</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="pt-top">
|
|
|
|
|
|
|
|
<div class="ptleftbox"></div>
|
|
|
|
|
|
|
|
<div class="boxLine"></div>
|
|
|
|
|
|
|
|
<div class="ptStyle react3">0%</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
<script>
|
|
|
@ -65,7 +113,25 @@ export default {
|
|
|
|
option1: {},
|
|
|
|
option1: {},
|
|
|
|
// echarts
|
|
|
|
// echarts
|
|
|
|
myChart1: {},
|
|
|
|
myChart1: {},
|
|
|
|
center: ["30%", "50%"],
|
|
|
|
a1: 0,
|
|
|
|
|
|
|
|
a2: 0,
|
|
|
|
|
|
|
|
a3: 0,
|
|
|
|
|
|
|
|
center: ["50%", "50%"],
|
|
|
|
|
|
|
|
pieData: [
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
value: 0,
|
|
|
|
|
|
|
|
name: "一般不良反应",
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
value: 0,
|
|
|
|
|
|
|
|
name: "严重不良反应",
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
value: 0,
|
|
|
|
|
|
|
|
name: "发生死亡不良反应",
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
total: 0,
|
|
|
|
};
|
|
|
|
};
|
|
|
|
},
|
|
|
|
},
|
|
|
|
created() {},
|
|
|
|
created() {},
|
|
|
@ -75,11 +141,26 @@ export default {
|
|
|
|
methods: {
|
|
|
|
methods: {
|
|
|
|
getData() {
|
|
|
|
getData() {
|
|
|
|
let newRouter = this.$route.query;
|
|
|
|
let newRouter = this.$route.query;
|
|
|
|
console.log(newRouter.type);
|
|
|
|
|
|
|
|
if (newRouter.type == 1) {
|
|
|
|
if (newRouter.type == 1) {
|
|
|
|
//药品
|
|
|
|
//药品
|
|
|
|
getDrugBL({ name: newRouter.code }).then((res) => {
|
|
|
|
getDrugBL({ name: newRouter.code }).then((res) => {
|
|
|
|
console.log(res);
|
|
|
|
res.data.result.forEach((value, index) => {
|
|
|
|
|
|
|
|
this.pieData.forEach((value1, index1) => {
|
|
|
|
|
|
|
|
if (value.reportType == "一般" && value1.name == "一般不良反应") {
|
|
|
|
|
|
|
|
this.pieData[index1].value = value.reportCount;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
if (value.reportType == "严重" && value1.name == "严重不良反应") {
|
|
|
|
|
|
|
|
this.pieData[index1].value = value.reportCount;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
if (
|
|
|
|
|
|
|
|
value.reportType != "一般" &&
|
|
|
|
|
|
|
|
value.reportType != "严重" &&
|
|
|
|
|
|
|
|
value1.name == "发生死亡不良反应"
|
|
|
|
|
|
|
|
) {
|
|
|
|
|
|
|
|
this.pieData[index1].value = value.reportCount;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
});
|
|
|
|
this.$nextTick(() => {
|
|
|
|
this.$nextTick(() => {
|
|
|
|
let chartDom = this.$refs["bottom-box"];
|
|
|
|
let chartDom = this.$refs["bottom-box"];
|
|
|
|
this.myChart1 = echarts.init(chartDom);
|
|
|
|
this.myChart1 = echarts.init(chartDom);
|
|
|
@ -90,7 +171,23 @@ export default {
|
|
|
|
if (newRouter.type != 1 && newRouter.type != 2) {
|
|
|
|
if (newRouter.type != 1 && newRouter.type != 2) {
|
|
|
|
//化妆品
|
|
|
|
//化妆品
|
|
|
|
getCosmeticsBL({ name: newRouter.code }).then((res) => {
|
|
|
|
getCosmeticsBL({ name: newRouter.code }).then((res) => {
|
|
|
|
console.log(res);
|
|
|
|
res.data.result.forEach((value, index) => {
|
|
|
|
|
|
|
|
this.pieData.forEach((value1, index1) => {
|
|
|
|
|
|
|
|
if (value.reportType == "一般" && value1.name == "一般不良反应") {
|
|
|
|
|
|
|
|
this.pieData[index1].value = value.reportCount;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
if (value.reportType == "严重" && value1.name == "严重不良反应") {
|
|
|
|
|
|
|
|
this.pieData[index1].value = value.reportCount;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
if (
|
|
|
|
|
|
|
|
value.reportType != "一般" &&
|
|
|
|
|
|
|
|
value.reportType != "严重" &&
|
|
|
|
|
|
|
|
value1.name == "发生死亡不良反应"
|
|
|
|
|
|
|
|
) {
|
|
|
|
|
|
|
|
this.pieData[index1].value = value.reportCount;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
});
|
|
|
|
this.$nextTick(() => {
|
|
|
|
this.$nextTick(() => {
|
|
|
|
let chartDom = this.$refs["bottom-box"];
|
|
|
|
let chartDom = this.$refs["bottom-box"];
|
|
|
|
this.myChart1 = echarts.init(chartDom);
|
|
|
|
this.myChart1 = echarts.init(chartDom);
|
|
|
@ -101,7 +198,26 @@ export default {
|
|
|
|
if (newRouter.type == 2) {
|
|
|
|
if (newRouter.type == 2) {
|
|
|
|
//医疗器械
|
|
|
|
//医疗器械
|
|
|
|
getMedicalDevicesBL({ name: newRouter.code }).then((res) => {
|
|
|
|
getMedicalDevicesBL({ name: newRouter.code }).then((res) => {
|
|
|
|
console.log(res);
|
|
|
|
res.data.result.forEach((value, index) => {
|
|
|
|
|
|
|
|
this.pieData.forEach((value1, index1) => {
|
|
|
|
|
|
|
|
if (
|
|
|
|
|
|
|
|
value.reportType == "严重伤害" &&
|
|
|
|
|
|
|
|
value1.name == "严重不良反应"
|
|
|
|
|
|
|
|
) {
|
|
|
|
|
|
|
|
this.pieData[index1].value = value.reportCount;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
if (value.reportType == "其他" && value1.name == "一般不良反应") {
|
|
|
|
|
|
|
|
this.pieData[index1].value = value.reportCount;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
if (
|
|
|
|
|
|
|
|
value.reportType != "严重伤害" &&
|
|
|
|
|
|
|
|
value.reportType != "其他" &&
|
|
|
|
|
|
|
|
value1.name == "发生死亡不良反应"
|
|
|
|
|
|
|
|
) {
|
|
|
|
|
|
|
|
this.pieData[index1].value = value.reportCount;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
});
|
|
|
|
this.$nextTick(() => {
|
|
|
|
this.$nextTick(() => {
|
|
|
|
let chartDom = this.$refs["bottom-box"];
|
|
|
|
let chartDom = this.$refs["bottom-box"];
|
|
|
|
this.myChart1 = echarts.init(chartDom);
|
|
|
|
this.myChart1 = echarts.init(chartDom);
|
|
|
@ -112,116 +228,19 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
initEcharts() {
|
|
|
|
initEcharts() {
|
|
|
|
this.option1 = {
|
|
|
|
this.option1 = {
|
|
|
|
grid: {
|
|
|
|
|
|
|
|
left: "10%",
|
|
|
|
|
|
|
|
top: 0,
|
|
|
|
|
|
|
|
bottom: 0,
|
|
|
|
|
|
|
|
right: "60%",
|
|
|
|
|
|
|
|
containLabel: true,
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
tooltip: {
|
|
|
|
tooltip: {
|
|
|
|
trigger: "item",
|
|
|
|
trigger: "item",
|
|
|
|
formatter: "{b} : {c} ({d}%)",
|
|
|
|
formatter: "{b} : {c} ({d}%)",
|
|
|
|
position: "right",
|
|
|
|
position: "right",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
legend: {
|
|
|
|
|
|
|
|
type: "scroll",
|
|
|
|
|
|
|
|
orient: "vartical",
|
|
|
|
|
|
|
|
top: "center",
|
|
|
|
|
|
|
|
right: "20",
|
|
|
|
|
|
|
|
itemWidth: 10,
|
|
|
|
|
|
|
|
itemHeight: 8,
|
|
|
|
|
|
|
|
itemGap: 16,
|
|
|
|
|
|
|
|
icon: "circle",
|
|
|
|
|
|
|
|
textStyle: {
|
|
|
|
|
|
|
|
color: "#A3E2F4",
|
|
|
|
|
|
|
|
fontSize: 12,
|
|
|
|
|
|
|
|
fontWeight: 0,
|
|
|
|
|
|
|
|
rich: {
|
|
|
|
|
|
|
|
name: {
|
|
|
|
|
|
|
|
fontSize: 12,
|
|
|
|
|
|
|
|
padding: [25, 0, 5, 0], //图例位置
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
percent: {
|
|
|
|
|
|
|
|
fontSize: 12,
|
|
|
|
|
|
|
|
color: "#ccc",
|
|
|
|
|
|
|
|
width: 80, // 设置宽度
|
|
|
|
|
|
|
|
height: 20, // 设置高度
|
|
|
|
|
|
|
|
backgroundColor: {
|
|
|
|
|
|
|
|
type: "linear",
|
|
|
|
|
|
|
|
x: 0,
|
|
|
|
|
|
|
|
y: 0,
|
|
|
|
|
|
|
|
x2: 1,
|
|
|
|
|
|
|
|
y2: 0,
|
|
|
|
|
|
|
|
colorStops: [
|
|
|
|
|
|
|
|
{ offset: 0, color: "rgba(36, 64, 97, 1)" }, // 渐变起始色,淡白色
|
|
|
|
|
|
|
|
{ offset: 1, color: "rgba(36, 64, 97, 0)" }, // 渐变结束色,逐渐透明
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
data: [
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
value: 10,
|
|
|
|
|
|
|
|
name: "一般不良反应",
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
value: 5,
|
|
|
|
|
|
|
|
name: "严重不良反应",
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
value: 15,
|
|
|
|
|
|
|
|
name: "发生死亡不良反应",
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
formatter: function (name) {
|
|
|
|
|
|
|
|
let data = [
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
value: 10,
|
|
|
|
|
|
|
|
name: "一般不良反应",
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
value: 5,
|
|
|
|
|
|
|
|
name: "严重不良反应",
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
value: 15,
|
|
|
|
|
|
|
|
name: "发生死亡不良反应",
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 获取该选项在数据数组中的索引
|
|
|
|
|
|
|
|
var index = data.findIndex(function (item) {
|
|
|
|
|
|
|
|
return item.name == name;
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 获取该选项的值
|
|
|
|
|
|
|
|
var value = data[index].value;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 计算该选项的百分比
|
|
|
|
|
|
|
|
var percent =
|
|
|
|
|
|
|
|
(
|
|
|
|
|
|
|
|
(value /
|
|
|
|
|
|
|
|
data.reduce(function (sum, item) {
|
|
|
|
|
|
|
|
return sum + item.value;
|
|
|
|
|
|
|
|
}, 0)) *
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
|
).toFixed(2) + "%";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 返回自定义的显示内容
|
|
|
|
|
|
|
|
return "{name|" + name + "}\n{percent|" + percent + "}";
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
polar: { center: this.center, color: "#0B3A72" },
|
|
|
|
polar: { center: this.center, color: "#0B3A72" },
|
|
|
|
angleAxis: { center: this.center, color: "#0B3A72" },
|
|
|
|
angleAxis: { center: this.center, color: "#0B3A72" },
|
|
|
|
radiusAxis: {
|
|
|
|
radiusAxis: {
|
|
|
|
color: "#0B3A72",
|
|
|
|
color: "#0B3A72",
|
|
|
|
center: this.center,
|
|
|
|
center: this.center,
|
|
|
|
min: 40,
|
|
|
|
min: 10,
|
|
|
|
max: 120,
|
|
|
|
max: 70,
|
|
|
|
interval: 20,
|
|
|
|
interval: 10,
|
|
|
|
axisLine: {
|
|
|
|
axisLine: {
|
|
|
|
show: false,
|
|
|
|
show: false,
|
|
|
|
lineStyle: {
|
|
|
|
lineStyle: {
|
|
|
@ -251,8 +270,9 @@ export default {
|
|
|
|
color: "#0B3A72",
|
|
|
|
color: "#0B3A72",
|
|
|
|
center: this.center,
|
|
|
|
center: this.center,
|
|
|
|
type: "pie",
|
|
|
|
type: "pie",
|
|
|
|
radius: ["5%", "10%"],
|
|
|
|
radius: ["9%", "16%"],
|
|
|
|
hoverAnimation: false,
|
|
|
|
hoverAnimation: false,
|
|
|
|
|
|
|
|
tooltip: { show: false },
|
|
|
|
labelLine: {
|
|
|
|
labelLine: {
|
|
|
|
normal: {
|
|
|
|
normal: {
|
|
|
|
show: false,
|
|
|
|
show: false,
|
|
|
@ -269,7 +289,7 @@ export default {
|
|
|
|
value: 0,
|
|
|
|
value: 0,
|
|
|
|
itemStyle: {
|
|
|
|
itemStyle: {
|
|
|
|
normal: {
|
|
|
|
normal: {
|
|
|
|
color: "#0B3E5E",
|
|
|
|
color: "#fff",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -278,7 +298,7 @@ export default {
|
|
|
|
{
|
|
|
|
{
|
|
|
|
center: this.center,
|
|
|
|
center: this.center,
|
|
|
|
type: "pie",
|
|
|
|
type: "pie",
|
|
|
|
radius: ["100%", "99%"],
|
|
|
|
radius: ["96%", "95%"],
|
|
|
|
color: "#0B3A72",
|
|
|
|
color: "#0B3A72",
|
|
|
|
hoverAnimation: false,
|
|
|
|
hoverAnimation: false,
|
|
|
|
labelLine: {
|
|
|
|
labelLine: {
|
|
|
@ -308,7 +328,7 @@ export default {
|
|
|
|
center: this.center,
|
|
|
|
center: this.center,
|
|
|
|
stack: "a",
|
|
|
|
stack: "a",
|
|
|
|
type: "pie",
|
|
|
|
type: "pie",
|
|
|
|
radius: ["20%", "90%"],
|
|
|
|
radius: ["26%", "68%"],
|
|
|
|
roseType: "area",
|
|
|
|
roseType: "area",
|
|
|
|
zlevel: 10,
|
|
|
|
zlevel: 10,
|
|
|
|
label: {
|
|
|
|
label: {
|
|
|
@ -333,20 +353,7 @@ export default {
|
|
|
|
show: false,
|
|
|
|
show: false,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
data: [
|
|
|
|
data: this.pieData,
|
|
|
|
{
|
|
|
|
|
|
|
|
value: 10,
|
|
|
|
|
|
|
|
name: "一般不良反应",
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
value: 5,
|
|
|
|
|
|
|
|
name: "严重不良反应",
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
value: 15,
|
|
|
|
|
|
|
|
name: "发生死亡不良反应",
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
],
|
|
|
|
};
|
|
|
|
};
|
|
|
@ -358,9 +365,6 @@ export default {
|
|
|
|
};
|
|
|
|
};
|
|
|
|
</script>
|
|
|
|
</script>
|
|
|
|
<style scoped lang='scss'>
|
|
|
|
<style scoped lang='scss'>
|
|
|
|
.box {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.top-box {
|
|
|
|
.top-box {
|
|
|
|
.topbox-item {
|
|
|
|
.topbox-item {
|
|
|
|
&:nth-child(1) {
|
|
|
|
&:nth-child(1) {
|
|
|
@ -424,7 +428,7 @@ export default {
|
|
|
|
font-family: Alibaba PuHuiTi;
|
|
|
|
font-family: Alibaba PuHuiTi;
|
|
|
|
font-weight: 400;
|
|
|
|
font-weight: 400;
|
|
|
|
color: #b7d4f5;
|
|
|
|
color: #b7d4f5;
|
|
|
|
line-height: 50px;
|
|
|
|
// line-height: 50px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -453,7 +457,7 @@ export default {
|
|
|
|
font-family: Alibaba PuHuiTi;
|
|
|
|
font-family: Alibaba PuHuiTi;
|
|
|
|
font-weight: 400;
|
|
|
|
font-weight: 400;
|
|
|
|
color: #b7d4f5;
|
|
|
|
color: #b7d4f5;
|
|
|
|
line-height: 50px;
|
|
|
|
// line-height: 50px;
|
|
|
|
opacity: 0.5;
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -497,9 +501,99 @@ export default {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.footers {
|
|
|
|
|
|
|
|
height: calc(100% - 120px);
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.lefts {
|
|
|
|
|
|
|
|
height: 100%;
|
|
|
|
|
|
|
|
width: 50%;
|
|
|
|
|
|
|
|
padding: 10px;
|
|
|
|
.bottom-box {
|
|
|
|
.bottom-box {
|
|
|
|
height: 170px;
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.rights {
|
|
|
|
|
|
|
|
height: 100%;
|
|
|
|
|
|
|
|
padding-left: 15px;
|
|
|
|
|
|
|
|
width: 50%;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
justify-content: space-evenly;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.pt-top {
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
.ptleftbox {
|
|
|
|
|
|
|
|
width: 12%;
|
|
|
|
|
|
|
|
height: 100%;
|
|
|
|
|
|
|
|
.rectangular1 {
|
|
|
|
|
|
|
|
height: 8px;
|
|
|
|
|
|
|
|
width: 8px;
|
|
|
|
|
|
|
|
background: #2e87e8;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.rectangular2 {
|
|
|
|
|
|
|
|
height: 8px;
|
|
|
|
|
|
|
|
width: 8px;
|
|
|
|
|
|
|
|
background: #f0a436;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.rectangular3 {
|
|
|
|
|
|
|
|
height: 8px;
|
|
|
|
|
|
|
|
width: 8px;
|
|
|
|
|
|
|
|
background: #f35656;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.texts {
|
|
|
|
|
|
|
|
width: 60%;
|
|
|
|
|
|
|
|
font-size: 16px;
|
|
|
|
|
|
|
|
font-family: Alibaba PuHuiTi;
|
|
|
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
|
|
|
color: #b7d4f5;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.react1 {
|
|
|
|
|
|
|
|
// font-size: 20px;
|
|
|
|
|
|
|
|
font-family: Alibaba PuHuiTi;
|
|
|
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
|
|
|
color: #2e87e8;
|
|
|
|
|
|
|
|
padding-left: 10px;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.react2 {
|
|
|
|
|
|
|
|
// font-size: 20px;
|
|
|
|
|
|
|
|
font-family: Alibaba PuHuiTi;
|
|
|
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
|
|
|
color: #f0a436;
|
|
|
|
|
|
|
|
padding-left: 10px;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.react3 {
|
|
|
|
|
|
|
|
// font-size: 20px;
|
|
|
|
|
|
|
|
font-family: Alibaba PuHuiTi;
|
|
|
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
|
|
|
padding-left: 10px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
color: #f35656;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.ptStyle {
|
|
|
|
|
|
|
|
width: 60%;
|
|
|
|
|
|
|
|
margin-top: 5px;
|
|
|
|
|
|
|
|
background: linear-gradient(
|
|
|
|
|
|
|
|
to right,
|
|
|
|
|
|
|
|
rgba(36, 64, 97, 1),
|
|
|
|
|
|
|
|
rgba(36, 64, 97, 0)
|
|
|
|
|
|
|
|
);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.boxLine {
|
|
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
|
|
width: 18px;
|
|
|
|
|
|
|
|
height: 20px;
|
|
|
|
|
|
|
|
border: 1px solid #0e2339;
|
|
|
|
|
|
|
|
border-right: none;
|
|
|
|
|
|
|
|
border-top: none;
|
|
|
|
|
|
|
|
left: 3px;
|
|
|
|
|
|
|
|
top: -5px;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</style>
|
|
|
|