第八天
今天我们团队完成了风险评估报表,历史记录表和相似度判断查询的功能。问题是在为保证风险编码唯一时,由于增加和修改前端的复用。导致修改时如果不修改风险编码,修改也无法生效。
安全风险评估报表:
安全风险评估报表
<!-- 风险等级分布柱状图 -->
<div class="mb-8">
<h3 class="text-xl font-bold mb-4">风险等级分布</h3>
<canvas id="riskLevelChart" style="height: 400px;"></canvas>
</div>
<!-- 危害程度饼图 -->
<div class="mb-8">
<h3 class="text-xl font-bold mb-4">危害程度分布</h3>
<canvas id="harmDegreeChart" style="height: 400px;"></canvas>
</div>
<!-- 数据表格 -->
<table class="min-w-full bg-white border border-gray-300">
<thead>
<tr>
<th class="py-2 px-4 border-b">编号</th>
<th class="py-2 px-4 border-b">风险编码</th>
<th class="py-2 px-4 border-b">责任部门/工区</th>
<th class="py-2 px-4 border-b">专业系统</th>
<th class="py-2 px-4 border-b">风险类别</th>
<th class="py-2 px-4 border-b">风险项目</th>
<th class="py-2 px-4 border-b">风险项点</th>
<th class="py-2 px-4 border-b">风险等级</th>
<th class="py-2 px-4 border-b">危害程度</th>
<th class="py-2 px-4 border-b">管控措施</th>
<th class="py-2 px-4 border-b">管控岗位</th>
<th class="py-2 px-4 border-b">管控人员</th>
<th class="py-2 px-4 border-b">量化要求</th>
<th class="py-2 px-4 border-b">开始录入日期</th>
<th class="py-2 px-4 border-b">结束录入日期</th>
<th class="py-2 px-4 border-b">审核状态</th>
<th class="py-2 px-4 border-b">审核日期</th>
</tr>
</thead>
<tbody th:each="risk : ${safetyRisks}">
<tr>
<td class="py-2 px-4 border-b" th:text="${risk.id}"></td>
<td class="py-2 px-4 border-b" th:text="${risk.risk_code}"></td>
<td class="py-2 px-4 border-b" th:text="${risk.department}"></td>
<td class="py-2 px-4 border-b" th:text="${risk.professional_system}"></td>
<td class="py-2 px-4 border-b" th:text="${risk.risk_category}"></td>
<td class="py-2 px-4 border-b" th:text="${risk.risk_item}"></td>
<td class="py-2 px-4 border-b" th:text="${risk.risk_point}"></td>
<td class="py-2 px-4 border-b" th:text="${risk.risk_level}"></td>
<td class="py-2 px-4 border-b" th:text="${risk.harm_degree}"></td>
<td class="py-2 px-4 border-b" th:text="${risk.control_measures}"></td>
<td class="py-2 px-4 border-b" th:text="${risk.control_position}"></td>
<td class="py-2 px-4 border-b" th:text="${risk.control_personnel}"></td>
<td class="py-2 px-4 border-b" th:text="${risk.quantified_requirements}"></td>
<td class="py-2 px-4 border-b" th:text="${#dates.format(risk.entry_start_date, 'yyyy-MM-dd HH:mm:ss')}"></td>
<td class="py-2 px-4 border-b" th:text="${#dates.format(risk.entry_end_date, 'yyyy-MM-dd HH:mm:ss')}"></td>
<td class="py-2 px-4 border-b" th:text="${risk.review_status}"></td>
<td class="py-2 px-4 border-b" th:text="${#dates.format(risk.review_date, 'yyyy-MM-dd HH:mm:ss')}"></td>
</tr>
</tbody>
</table>

浙公网安备 33010602011771号