双重预防项目-国泰新华二开定制版
Your Name
2022-11-01 9bab1d44244289fad5f706103ac3cd33afcb0640
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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
<!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-riskMeasure-add">
        <div class="form-group">
            <label class="col-sm-3 control-label">安全风险事件名称:</label>
            <div class="col-sm-8">
                <select name="riskEventId" class="form-control m-b">
                    <option value="">--请选择安全风险事件名称--</option>
                    <option th:each="u :${riskEvents}" th:value="${u.id}" th:text="${u.riskEventName}"></option>
                </select>
                <!--                    <span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>-->
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">风险措施编码:</label>
            <div class="col-sm-8">
                <input name="controlMeasureCode" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">管控方式:</label>
            <div class="col-sm-8">
                <select name="controlType" class="form-control m-b" th:with="type=${@dict.getType('dc_action_type')}">
                    <option value="">--请选择管控方式--</option>
                    <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
                </select>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">管控内容:</label>
            <div class="col-sm-8">
                <input name="checkContent" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">管控措施1:</label>
            <div class="col-sm-8">
                <select name="classify1" class="form-control m-b" th:with="type=${@dict.getType('dc_action_one')}">
                    <option value="">--请选择管控措施1--</option>
                    <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
                </select>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">管控措施2:</label>
            <div class="col-sm-8">
                <select name="classify2" class="form-control m-b" th:with="type=${@dict.getType('dc_action_two')}">
                    <option value="">--请选择管控措施1--</option>
                    <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
                </select>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">管控措施3:</label>
            <div class="col-sm-8">
                <input name="classify3" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">措施说明:</label>
            <div class="col-sm-8">
                <input name="measureDesc" class="form-control" type="text">
            </div>
        </div>
    </form>
</div>
<th:block th:include="include :: footer" />
<script th:inline="javascript">
    var actionTypeDatas = [[${@dict.getType('dc_action_type')}]];
    var actionOneList = [[${@dict.getType('dc_action_one')}]];
    var actionTwoList = [[${@dict.getType('dc_action_two')}]];
    var prefix = ctx + "tr/riskMeasure";
    $("#form-riskMeasure-add").validate({
        focusCleanup: true
    });
 
    function submitHandler() {
        if ($.validate.form()) {
            $.operate.save(prefix + "/add", $('#form-riskMeasure-add').serialize());
        }
    }
</script>
</body>
</html>
 
 
 
 
 
<!--<!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-riskMeasure-add">-->
<!--            <div class="form-group">    -->
<!--                <label class="col-sm-3 control-label">风险事件名称:</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <select name="riskUnitId" class="form-control m-b">-->
<!--&lt;!&ndash;                        <option value="">&#45;&#45;风险事件名称&#45;&#45;</option>&ndash;&gt;-->
<!--                        <option th:each="u :${riskEvents}" th:value="${u.id}" th:text="${u.riskEventName}"></option>-->
<!--                    </select>-->
<!--&lt;!&ndash;                    <span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>&ndash;&gt;-->
<!--                </div>-->
<!--            </div>-->
<!--            <div class="form-group">    -->
<!--                <label class="col-sm-3 control-label">风险措施编码:</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <input name="riskEventName" class="form-control" type="text">-->
<!--                </div>-->
<!--            </div>-->
<!--            <div class="form-group">-->
<!--                <label class="col-sm-3 control-label">管控方式:</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <select name="riskUnitId" class="form-control m-b" th:with="type=${@dict.getType('dc_action_type')}">-->
<!--&lt;!&ndash;                        <option value="">&#45;&#45;管控方式&#45;&#45;</option>&ndash;&gt;-->
<!--                        <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>-->
<!--                    </select>-->
<!--                </div>-->
<!--            </div>-->
<!--            <div class="form-group">    -->
<!--                <label class="col-sm-3 control-label">管控内容:</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <input name="eventResult" class="form-control" type="text">-->
<!--                </div>-->
<!--            </div>-->
<!--            <div class="form-group">-->
<!--                <label class="col-sm-3 control-label">管控措施1:</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <select name="riskUnitId" class="form-control m-b" th:with="type=${@dict.getType('dc_action_one')}">-->
<!--                        <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>-->
<!--                    </select>-->
<!--                </div>-->
<!--            </div>-->
<!--            <div class="form-group">-->
<!--                <label class="col-sm-3 control-label">管控措施2:</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <select name="riskUnitId" class="form-control m-b" th:with="type=${@dict.getType('dc_action_two')}">-->
<!--                        <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>-->
<!--                    </select>-->
<!--                </div>-->
<!--            </div>-->
<!--            <div class="form-group">-->
<!--                <label class="col-sm-3 control-label">管控措施3:</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <input name="eventResult" class="form-control" type="text">-->
<!--                </div>-->
<!--            </div>-->
<!--            <div class="form-group">-->
<!--                <label class="col-sm-3 control-label">措施说明:</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <input name="eventResult" class="form-control" type="text">-->
<!--                </div>-->
<!--            </div>-->
<!--        </form>-->
<!--    </div>-->
<!--    <th:block th:include="include :: footer" />-->
<!--    <script type="text/javascript">-->
<!--        var actionTypeDatas = [[${@dict.getType('dc_action_type')}]];-->
<!--        var actionOneList = [[${@dict.getType('dc_action_one')}]];-->
<!--        var actionTwoList = [[${@dict.getType('dc_action_two')}]];-->
<!--        var prefix = ctx + "tr/riskMeasure";-->
 
<!--        $("#form-riskMeasure-add").validate({-->
<!--            focusCleanup: true-->
<!--        });-->
 
<!--        function submitHandler() {-->
<!--            if ($.validate.form()) {-->
<!--                $.operate.save(prefix + "/add", $('#form-riskMeasure-add').serialize());-->
<!--            }-->
<!--        }-->
 
<!--    </script>-->
<!--</body>-->
<!--</html>-->