<!DOCTYPE html>
|
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
|
<head>
|
<th:block th:include="include :: header('修改隐患排查')" />
|
<th:block th:include="include :: datetimepicker-css" />
|
</head>
|
<body class="white-bg">
|
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
|
<form class="form-horizontal m" id="form-troubleshootList-edit" th:object="${troubleshootList}">
|
<input name="troubleshootId" th:field="*{troubleshootId}" type="hidden">
|
<div class="form-group">
|
<label class="col-sm-3 control-label">排查计划名称:</label>
|
<div class="col-sm-8">
|
<input name="troubleshootName" th:field="*{troubleshootName}" 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="troubleshootType" class="form-control m-b">
|
<option value="">所有</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">
|
<select name="troubleshootDept" class="form-control m-b">
|
<option value="">所有</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">风险单元ID:</label>
|
<div class="col-sm-8">
|
<select name="troubleshootRistId" class="form-control m-b">
|
<option value="">所有</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">
|
<select name="troubleshootCheckUserId" class="form-control m-b">
|
<option value="">所有</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">
|
<select name="troubleshootCheckedDeptId" class="form-control m-b">
|
<option value="">所有</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">
|
<div class="input-group date">
|
<span class="input-group-addon"><i class="fa fa-calendar"></i></span>
|
<input name="troubleshootBiginTime" th:value="${#dates.format(troubleshootList.troubleshootBiginTime, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text">
|
</div>
|
</div>
|
</div>
|
<div class="form-group">
|
<label class="col-sm-3 control-label">排查结束日期:</label>
|
<div class="col-sm-8">
|
<div class="input-group date">
|
<span class="input-group-addon"><i class="fa fa-calendar"></i></span>
|
<input name="troubleshootEndTime" th:value="${#dates.format(troubleshootList.troubleshootEndTime, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text">
|
</div>
|
</div>
|
</div>
|
<div class="form-group">
|
<label class="col-sm-3 control-label">分发状态(0未分发1已经分发):</label>
|
<div class="col-sm-8">
|
<select name="troubleshootDistributeStatus" class="form-control m-b" th:with="type=${@dict.getType('tr_distribute_status')}">
|
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{troubleshootDistributeStatus}"></option>
|
</select>
|
</div>
|
</div>
|
<div class="form-group">
|
<label class="col-sm-3 control-label">排查状态(0,未排查,1,已排查,2上报隐患):</label>
|
<div class="col-sm-8">
|
<select name="troubleshootStatus" class="form-control m-b" th:with="type=${@dict.getType('tr_troubleshoot_status')}">
|
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{troubleshootStatus}"></option>
|
</select>
|
</div>
|
</div>
|
<div class="form-group">
|
<label class="col-sm-3 control-label">隐患名称:</label>
|
<div class="col-sm-8">
|
<input name="troubleshootTroubleName" th:field="*{troubleshootTroubleName}" class="form-control" type="text">
|
</div>
|
</div>
|
<div class="form-group">
|
<label class="col-sm-3 control-label">隐患描述:</label>
|
<div class="col-sm-8">
|
<textarea name="troubleshootTroubleDescription" class="form-control">[[*{troubleshootTroubleDescription}]]</textarea>
|
</div>
|
</div>
|
<div class="form-group">
|
<label class="col-sm-3 control-label">隐患级别(1.一般隐患,2.重大隐患):</label>
|
<div class="col-sm-8">
|
<select name="troubleshootTroubleLevel" class="form-control m-b" th:with="type=${@dict.getType('tr_trouble_level')}">
|
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{troubleshootTroubleLevel}"></option>
|
</select>
|
</div>
|
</div>
|
<div class="form-group">
|
<label class="col-sm-3 control-label">隐患类别:</label>
|
<div class="col-sm-8">
|
<select name="troubleshootTroubleType" class="form-control m-b">
|
<option value="">所有</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">
|
<select name="troubleshootTroubleDept" class="form-control m-b">
|
<option value="">所有</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="troubleshootTroubleAddress" th:field="*{troubleshootTroubleAddress}" class="form-control" type="text">
|
</div>
|
</div>
|
<div class="form-group">
|
<label class="col-sm-3 control-label">排查时间:</label>
|
<div class="col-sm-8">
|
<div class="input-group date">
|
<span class="input-group-addon"><i class="fa fa-calendar"></i></span>
|
<input name="troubleshootTime" th:value="${#dates.format(troubleshootList.troubleshootTime, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text">
|
</div>
|
</div>
|
</div>
|
<div class="form-group">
|
<label class="col-sm-3 control-label">隐患整改前照片:</label>
|
<div class="col-sm-8">
|
<textarea name="troubleshootBeforeChangeImageUrl" class="form-control">[[*{troubleshootBeforeChangeImageUrl}]]</textarea>
|
</div>
|
</div>
|
<div class="form-group">
|
<label class="col-sm-3 control-label">核查人:</label>
|
<div class="col-sm-8">
|
<select name="troubleshootReviewUserId" class="form-control m-b">
|
<option value="">所有</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">
|
<select name="troubleshootRectificationUserId" class="form-control m-b">
|
<option value="">所有</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">隐患类型(1,风险单元隐患,2.上报隐患):</label>
|
<div class="col-sm-8">
|
<select name="hiddenTroubleType" class="form-control m-b" th:with="type=${@dict.getType('tr_hidden_trouble_type')}">
|
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{hiddenTroubleType}"></option>
|
</select>
|
</div>
|
</div>
|
<div class="form-group">
|
<label class="col-sm-3 control-label">隐患状态,(0,未填写,1,正常,2,有隐患):</label>
|
<div class="col-sm-8">
|
<select name="hiddenTroubleStatus" class="form-control m-b" th:with="type=${@dict.getType('tr_hidden_trouble_status')}">
|
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{hiddenTroubleStatus}"></option>
|
</select>
|
</div>
|
</div>
|
<div class="form-group">
|
<label class="col-sm-3 control-label">整改措施:</label>
|
<div class="col-sm-8">
|
<textarea name="troubleshootRectificationMeasures" class="form-control">[[*{troubleshootRectificationMeasures}]]</textarea>
|
</div>
|
</div>
|
<div class="form-group">
|
<label class="col-sm-3 control-label">整改情况:</label>
|
<div class="col-sm-8">
|
<textarea name="troubleshootRectificationHappening" class="form-control">[[*{troubleshootRectificationHappening}]]</textarea>
|
</div>
|
</div>
|
<div class="form-group">
|
<label class="col-sm-3 control-label">整改资金:</label>
|
<div class="col-sm-8">
|
<input name="troubleshootRectificationMoney" th:field="*{troubleshootRectificationMoney}" class="form-control" type="text">
|
</div>
|
</div>
|
<div class="form-group">
|
<label class="col-sm-3 control-label">整改完成时间:</label>
|
<div class="col-sm-8">
|
<div class="input-group date">
|
<span class="input-group-addon"><i class="fa fa-calendar"></i></span>
|
<input name="troubleshootRectificationCompleteTime" th:value="${#dates.format(troubleshootList.troubleshootRectificationCompleteTime, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text">
|
</div>
|
</div>
|
</div>
|
<div class="form-group">
|
<label class="col-sm-3 control-label">验收负责人:</label>
|
<div class="col-sm-8">
|
<select name="troubleshootAcceptanceUserId" class="form-control m-b">
|
<option value="">所有</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">
|
<textarea name="troubleshootAfterChangeImageUrl" class="form-control">[[*{troubleshootAfterChangeImageUrl}]]</textarea>
|
</div>
|
</div>
|
<div class="form-group">
|
<label class="col-sm-3 control-label">验收意见:</label>
|
<div class="col-sm-8">
|
<textarea name="troubleshootAcceptanceOpinion" class="form-control">[[*{troubleshootAcceptanceOpinion}]]</textarea>
|
</div>
|
</div>
|
<div class="form-group">
|
<label class="col-sm-3 control-label">验收结果(1未审核,2审核通过,3,审核不通过):</label>
|
<div class="col-sm-8">
|
<select name="troubleshootAcceptanceResult" class="form-control m-b" th:with="type=${@dict.getType('tr_acceptance_result')}">
|
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{troubleshootAcceptanceResult}"></option>
|
</select>
|
</div>
|
</div>
|
<div class="form-group">
|
<label class="col-sm-3 control-label">验收文件上传:</label>
|
<div class="col-sm-8">
|
<textarea name="troubleshootAcceptanceImageUrl" class="form-control">[[*{troubleshootAcceptanceImageUrl}]]</textarea>
|
</div>
|
</div>
|
<div class="form-group">
|
<label class="col-sm-3 control-label">排查进度(1计划阶段,2排查阶段,3核查阶段,4整改阶段,5验收阶段):</label>
|
<div class="col-sm-8">
|
<select name="troubleshootProgress" class="form-control m-b" th:with="type=${@dict.getType('tr_progress')}">
|
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{troubleshootProgress}"></option>
|
</select>
|
</div>
|
</div>
|
</form>
|
</div>
|
<th:block th:include="include :: footer" />
|
<th:block th:include="include :: datetimepicker-js" />
|
<script type="text/javascript">
|
var prefix = ctx + "tr/troubleshootList";
|
$("#form-troubleshootList-edit").validate({
|
focusCleanup: true
|
});
|
|
function submitHandler() {
|
if ($.validate.form()) {
|
$.operate.save(prefix + "/edit", $('#form-troubleshootList-edit').serialize());
|
}
|
}
|
|
$("input[name='troubleshootBiginTime']").datetimepicker({
|
format: "yyyy-mm-dd",
|
minView: "month",
|
autoclose: true
|
});
|
|
$("input[name='troubleshootEndTime']").datetimepicker({
|
format: "yyyy-mm-dd",
|
minView: "month",
|
autoclose: true
|
});
|
|
$("input[name='troubleshootTime']").datetimepicker({
|
format: "yyyy-mm-dd",
|
minView: "month",
|
autoclose: true
|
});
|
|
$("input[name='troubleshootRectificationCompleteTime']").datetimepicker({
|
format: "yyyy-mm-dd",
|
minView: "month",
|
autoclose: true
|
});
|
</script>
|
</body>
|
</html>
|