工程安全分析
This commit is contained in:
parent
26dbe0122f
commit
2091d68715
|
|
@ -192,7 +192,7 @@ function initEchartsOne(data) {
|
|||
},
|
||||
{
|
||||
type: 'value',
|
||||
name: '风速',
|
||||
name: '风速 m/s',
|
||||
nameTextStyle: {
|
||||
color: "#fff", // Y轴名称白色
|
||||
},
|
||||
|
|
@ -400,7 +400,7 @@ function hiddenDanger() {
|
|||
|
||||
function handlDetails(analysisReason){
|
||||
// 分离原因分析和改进措施
|
||||
const [reason, measure] = analysisReason.match(/原因分析:(.*)。改进措施:(.*)/).slice(1);
|
||||
const [reason, measure] = analysisReason.match(/分析原因:(.*)。改进措施:(.*)/).slice(1);
|
||||
|
||||
// 创建一个包含分析原因及改进措施的HTML结构
|
||||
const content = `
|
||||
|
|
@ -409,7 +409,7 @@ function handlDetails(analysisReason){
|
|||
<h3 style="margin-bottom: 10px; color: #fff;">分析原因及改进措施</h3>
|
||||
<div style="display: flex; flex-direction: column;">
|
||||
<div style="margin-bottom: 10px;">
|
||||
<span style="font-weight: bold; color: #CFD3D4;">原因分析:</span>
|
||||
<span style="font-weight: bold; color: #CFD3D4;">分析原因:</span>
|
||||
<span style="color: #fff;">${reason}</span>
|
||||
</div>
|
||||
<div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue