双重预防项目-国泰新华二开定制版
马宇豪
2024-06-18 9f6e681425992017debcd39f2d53a4095a0e578d
src/main/resources/templates/tr/TBSpecialCheckScoreAndDangerLog/detail.html
@@ -6,17 +6,17 @@
</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}">
    <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}"/>-->
        <!--        <input id="createBy" name="createBy" type="hidden" th:field="*{createBy}"/>-->
        <div class="form-group">
            <label class="col-sm-3 control-label is-required">风险分析对象:</label>
            <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 readonly="readonly">
                    <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 readonly="readonly">
                    <option th:each="danger : ${dangerList}" th:text="${danger.dangerName}" th:value="${danger.id}"></option>
                </select>
            </div>
        </div>
@@ -37,29 +37,35 @@
            <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 readonly="readonly">
                    <input name="checkDate" th:value="${#dates.format(specialCheckItem.checkDate, 'yyyy-MM-dd')}" class="form-control" type="text" required readonly="readonly">
                </div>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label is-required">是否停产整顿:</label>
            <label class="col-sm-3 control-label is-required">危害类型:</label>
            <div class="col-sm-8">
                <select name="resultStatus" th:field="*{resultStatus}" class="form-control m-b" required id="resultStatus" readonly="readonly">
                <select name="harmType" th:field="*{harmType}" class="form-control m-b" required id="harmType" readonly="readonly">
                    <option value="">请选择</option>
                    <option value="0">否</option>
                    <option value="1">是</option>
                    <option value="1">事故隐患</option>
                    <option value="2">火灾隐患</option>
                </select>
            </div>
        </div>
        <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="*{checkPay}" type="number" name="checkPay" id="checkPay" required readonly="readonly">
            </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/specialCheckTaskLog";
    var prefix = ctx + "tr/TBSpecialCheckScoreAndDangerLog";
    $("input[name='checkDate']").datetimepicker({
        format: "yyyy-mm-dd",