From 9f6e681425992017debcd39f2d53a4095a0e578d Mon Sep 17 00:00:00 2001
From: 马宇豪 <978517621@qq.com>
Date: 星期二, 18 六月 2024 17:14:53 +0800
Subject: [PATCH] 添加
---
src/main/resources/templates/tr/TBSpecialCheckScoreAndDangerLog/edit.html | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/src/main/resources/templates/tr/TBSpecialCheckScoreAndDangerLog/edit.html b/src/main/resources/templates/tr/TBSpecialCheckScoreAndDangerLog/edit.html
index 6fcf470..947cfd1 100644
--- a/src/main/resources/templates/tr/TBSpecialCheckScoreAndDangerLog/edit.html
+++ b/src/main/resources/templates/tr/TBSpecialCheckScoreAndDangerLog/edit.html
@@ -6,8 +6,8 @@
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
- <form class="form-horizontal m" id="form-job-edit" th:object="${specialCheckTaskLog}">
- <input id="id" name="id" type="hidden" th:field="*{id}"/>
+ <form class="form-horizontal m" id="form-job-edit" th:object="${specialCheckItem}">
+ <input id="indexId" name="indexId" type="hidden" th:field="*{indexId}"/>
<!-- <input id="createUserId" name="createUserId" type="hidden" th:field="*{createUserId}"/>-->
@@ -15,8 +15,8 @@
<div class="form-group">
<label class="col-sm-3 control-label is-required">关联隐患:</label>
<div class="col-sm-8">
- <select id="hazardCode" name="hazardCode" th:field="*{hazardCode}" class="form-control" required>
- <option th:each="hazard : ${hazardList}" th:text="${hazard.riskListName}" th:value="${hazard.riskListNum}"></option>
+ <select id="dangerId" name="dangerId" th:field="*{dangerId}" class="form-control" required>
+ <option th:each="danger : ${dangerList}" th:text="${danger.dangerName}" th:value="${danger.id}"></option>
</select>
</div>
</div>
@@ -37,14 +37,14 @@
<div class="col-sm-8">
<div class="input-group date">
<span class="input-group-addon"><i class="fa fa-calendar"></i></span>
- <input name="checkDate" th:value="${#dates.format(specialCheckTaskLog.checkDate, 'yyyy-MM-dd')}" class="form-control" type="text" required>
+ <input name="checkDate" th:value="${#dates.format(specialCheckItem.checkDate, 'yyyy-MM-dd')}" class="form-control" type="text" required>
</div>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label is-required">危害类型:</label>
<div class="col-sm-8">
- <select name="checkType" th:field="*{checkType}" class="form-control m-b" required id="checkType">
+ <select name="harmType" th:field="*{harmType}" class="form-control m-b" required id="harmType">
<option value="">请选择</option>
<option value="1">事故隐患</option>
<option value="2">火灾隐患</option>
@@ -54,17 +54,17 @@
<div class="form-group">
<label class="col-sm-3 control-label is-required">罚款金额(元):</label>
<div class="col-sm-8">
- <input class="form-control" th:field="*{jobName}" type="number" name="jobName" id="jobName" required>
+ <input class="form-control" th:field="*{checkPay}" type="number" name="checkPay" id="checkPay" required>
</div>
</div>
-<!-- <input id="jobGroup" name="jobGroup" type="hidden" value="specialCheckTaskLog"/>-->
+<!-- <input id="jobGroup" name="jobGroup" type="hidden" value="specialCheckItem"/>-->
</form>
</div>
<th:block th:include="include :: footer"/>
<th:block th:include="include :: datetimepicker-js"/>
<script th:inline="javascript">
- var prefix = ctx + "tr/tbBaseCheckScore";
+ var prefix = ctx + "tr/TBSpecialCheckScoreAndDangerLog";
$("input[name='checkDate']").datetimepicker({
format: "yyyy-mm-dd",
--
Gitblit v1.9.2