双重预防项目-国泰新华二开定制版
heheng
2024-11-15 9015e720487b737743232b0b3aa464c2ac9e8d17
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <th:block th:include="include :: header('查看检查点隐患登记信息')"/>
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
    <form class="form-horizontal m" id="form-hiddenDangerCheckPoint-detail" th:object="${hiddenDangerCheckPoint}">
        <input name="id" th:field="*{id}" type="hidden">
 
        <div class="form-group">
            <label class="col-sm-3 control-label ">隐患名称:</label>
            <div class="col-sm-8">
                <textarea th:field="*{dangerName}" class="form-control" type="text" rows="4" readonly="readonly"></textarea>
            </div>
        </div>
 
 
        <div class="form-group">
            <label class="col-sm-3 control-label ">隐患描述:</label>
            <div class="col-sm-8">
                <textarea th:field="*{dangerDescription}" class="form-control" type="text" rows="4" readonly="readonly"></textarea>
            </div>
        </div>
 
 
        <div class="form-group">
            <label class="col-sm-3 control-label ">隐患级别:</label>
            <div class="col-sm-8" th:switch="*{dangerLevel}">
                <input value="一般隐患" class="form-control" type="text" readonly="readonly" th:case="0">
                <input value="重大隐患" class="form-control" type="text" readonly="readonly" th:case="1">
            </div>
        </div>
 
 
        <div class="form-group">
            <label class="col-sm-3 control-label ">隐患类别:</label>
            <div class="col-sm-8">
                <input th:value="*{troubleTypeName}" class="form-control" type="text" readonly="readonly">
            </div>
        </div>
 
 
        <div class="form-group">
            <label class="col-sm-3 control-label ">隐患责任部门:</label>
            <div class="col-sm-8">
                <input th:value="*{dangerDeptName}"  class="form-control" type="text" readonly="readonly">
            </div>
        </div>
 
        <div class="form-group">
            <label class="col-sm-3 control-label ">隐患地点:</label>
            <div class="col-sm-8">
                <input th:value="*{dangerPlaceName}" class="form-control" type="text" readonly="readonly">
            </div>
        </div>
 
 
      <!--  <div class="form-group">
            <label class="col-sm-3 control-label ">排查时间:</label>
            <div class="col-sm-8">
                <input th:value="${#dates.format(hiddenDangerCheckPoint.registerCreateTime,'yyyy-MM-dd')}"
                       class="form-control" type="text" readonly="readonly">
            </div>
        </div>-->
 
 
        <div class="form-group">
            <label class="col-sm-3 control-label ">隐患整改前视图:</label>
            <div class="col-sm-8">
                <img style="width: 100px; height: 100px;cursor:pointer;"
                     title="查看图片"
                     th:src="*{preRectifyPhoto}"
                     onclick="showPicture(this.getAttribute('data-id'),'preRectifyPhoto')"
                     th:data-id="${hiddenDangerCheckPoint.id}">
            </div>
        </div>
 
 
        <!--<div class="form-group">-->
            <!--<label class="col-sm-3 control-label  ">隐患核查人:</label>-->
            <!--<div class="col-sm-8">-->
                <!--<input th:value="*{examineUserName}" class="form-control" type="text" readonly="readonly">-->
            <!--</div>-->
        <!--</div>-->
    </form>
</div>
<th:block th:include="include :: footer"/>
<script type="text/javascript">
    /* 图片--查看 */
    function showPicture(id,type) {
        var showPictureUrl = "/tr/hiddenDangerCheck/dangerBase/showPicture/{type}/{id}";
        var urlLast = showPictureUrl.replace("{type}", type).replace("{id}", id);
        $.operate.openDetailInfo("查看图片", urlLast);
    }
 
</script>
</body>
</html>