Merge branch 'shenzhen-dev' of http://139.9.66.234:18023/yjlHub/zhgdlarge into shenzhen-dev

This commit is contained in:
Vce 2024-06-03 22:20:59 +08:00
commit 8973095146
2 changed files with 15 additions and 14 deletions

View File

@ -712,7 +712,7 @@ const getCountAlarmNumByEnterprise = async () => {
return {
name: item.enterpriseName,
type: "line",
stack: "Total",
// stack: "Total",
smooth: true,
symbol: "none",
data: item.dataList

View File

@ -193,10 +193,10 @@ const openDialogData = (obj: any) => {
let dateRange = ref([] as any);
let majorDangerCount = ref(20 as any);
let majorDangerRate = ref(50 as any);
let overdueMajorDangerCount = ref(20 as any);
let overdueMajorDangerRate = ref(50 as any);
let majorDangerCount = ref(0 as any);
let majorDangerRate = ref(0 as any);
let overdueMajorDangerCount = ref(0 as any);
let overdueMajorDangerRate = ref(0 as any);
let listData2 = ref([
// { title: '', type: 1, msg: '...' },
@ -339,7 +339,7 @@ function drawEchart() {
icon: "rect",
type: "plain",
orient: "vertical",
right: "-1%",
right: "0%",
top: "20%",
align: "left",
itemGap: 14,
@ -733,7 +733,7 @@ function getRiskEchart() {
{
name: "重大风险",
type: "line",
stack: "Total",
// stack: "Total",
smooth: true,
symbol: "none",
data: riskList.value.map((item: any) => item.greatFaultLevelNum)
@ -741,7 +741,7 @@ function getRiskEchart() {
{
name: "较大风险",
type: "line",
stack: "Total",
// stack: "Total",
smooth: true,
symbol: "none",
data: riskList.value.map((item: any) => item.largerRiskNum)
@ -749,7 +749,7 @@ function getRiskEchart() {
{
name: "一般风险",
type: "line",
stack: "Total",
// stack: "Total",
smooth: true,
symbol: "none",
data: riskList.value.map((item: any) => item.generalRiskNum)
@ -757,7 +757,7 @@ function getRiskEchart() {
{
name: "低风险",
type: "line",
stack: "Total",
// stack: "Total",
smooth: true,
symbol: "none",
data: riskList.value.map((item: any) => item.lowRiskNum)
@ -808,14 +808,15 @@ function getSpecialEchart() {
tooltip: {
trigger: "item",
position: "inside",
// confine: true,
axisPointer: {
// 线
type: "shadow" // 线'line' | 'shadow'
},
textStyle: {
color: "#000000"
},
backgroundColor: "#F3F3F3",
// textStyle: {
// color: "#000000"
// },
// backgroundColor: "#F3F3F3",
extraCssText: "width:120px;white-space:pre-wrap;box-shadow: 0px 4px 4px 0px rgba(0,0,0,0.25);",
formatter: function (params: any) {
console.log(params);