change - 监控单元状态信息不可编辑修改

main
wenjy 3 years ago
parent 4e2254d32c
commit c29f1dc5bc

@ -121,6 +121,13 @@ public class BaseSensorInfoController extends BaseController {
return prefix + "/add"; return prefix + "/add";
} }
/**
*
* @author WenJY
* @date 2022/4/26 13:23
* @param baseSensorInfo
* @return java.lang.String
*/
@PostMapping("/checkSensorIdUnique") @PostMapping("/checkSensorIdUnique")
@ResponseBody @ResponseBody
public String checkSensorIdUnique(BaseSensorInfo baseSensorInfo){ public String checkSensorIdUnique(BaseSensorInfo baseSensorInfo){

@ -49,14 +49,14 @@
</select> </select>
</div> </div>
</div> </div>
<div class="form-group"> <!--<div class="form-group">
<label class="col-sm-3 control-label">当前状态:</label> <label class="col-sm-3 control-label">当前状态:</label>
<div class="col-sm-8"> <div class="col-sm-8">
<select name="monitorunitStatus" class="form-control m-b" th:with="type=${@dict.getType('monitorunit_status')}"> <select name="monitorunitStatus" class="form-control m-b" th:with="type=${@dict.getType('monitorunit_status')}">
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option> <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
</select> </select>
</div> </div>
</div> </div>-->
<div class="form-group"> <div class="form-group">
<label class="col-sm-3 control-label">是否启用:</label> <label class="col-sm-3 control-label">是否启用:</label>
<div class="col-sm-8"> <div class="col-sm-8">

@ -50,7 +50,7 @@
</select> </select>
</div> </div>
</div> </div>
<div class="form-group"> <!--<div class="form-group">
<label class="col-sm-3 control-label">当前状态:</label> <label class="col-sm-3 control-label">当前状态:</label>
<div class="col-sm-8"> <div class="col-sm-8">
<select name="monitorunitStatus" class="form-control m-b" th:with="type=${@dict.getType('monitorunit_status')}"> <select name="monitorunitStatus" class="form-control m-b" th:with="type=${@dict.getType('monitorunit_status')}">
@ -58,7 +58,7 @@
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{monitorunitStatus}"></option> <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{monitorunitStatus}"></option>
</select> </select>
</div> </div>
</div> </div>-->
<div class="form-group"> <div class="form-group">
<label class="col-sm-3 control-label">是否启用:</label> <label class="col-sm-3 control-label">是否启用:</label>
<div class="col-sm-8"> <div class="col-sm-8">

Loading…
Cancel
Save