职业健康安全危险源辨识与评价导出明细

This commit is contained in:
2023-05-04 10:23:00 +08:00
parent 62ae3c559d
commit bd928dabfe
3 changed files with 36 additions and 3 deletions
@@ -387,7 +387,7 @@ namespace FineUIPro.Web.HSSE.Hazard
LEFT JOIN Base_WorkStage AS WorkStage ON WorkStage.WorkStageId = SelectedItem.WorkStage
LEFT JOIN Technique_HazardListType AS HazardListType ON HazardListType.HazardListTypeId=SelectedItem.HazardListTypeId
LEFT JOIN Technique_HazardListType AS SuperHazardListType ON SuperHazardListType.HazardListTypeId = HazardListType.SupHazardListTypeId
where HazardList.ProjectId='"+CurrUser.UserId+"'";
where HazardList.ProjectId='"+CurrUser.LoginProjectId+"'";
if (!string.IsNullOrEmpty(this.txtHazardListCode.Text.Trim()))
{
strSql += " AND HazardListCode LIKE '%"+this.txtHazardListCode.Text.Trim()+"%'";
@@ -52,7 +52,7 @@
<Items>
<f:ContentPanel ShowHeader="false" runat="server" ID="cpAccidentTime" Margin="0 0 0 0" >
<div id="divAccidentTime" style="width: 1000px; height: 300px;">
<div id="divAccidentTime" style=" height: 300px;">
</div>
@@ -82,7 +82,7 @@
grid: {
left: '3%',
right: '4%',
bottom: '3%',
bottom: '10%',
containLabel: true
},
xAxis: [
@@ -100,6 +100,22 @@
series: series
};
if (xAxis.length > 5) {
option.dataZoom = [{
type: 'slider',
show: true,
startValue: 0,
endValue: 4,
height: '10',
backgroundColor: '#aed0ea',
fillerColor: '#107f8b',
bottom: '0%',
zoomLock: true,
moveOnMouseWheel: true,
brushSelect: true,
showDetail: false,
}]
}
var myChart = echarts.init(document.getElementById("divAccidentTime"));
myChart.setOption(option);