BRS车辆状态

This commit is contained in:
19173159168
2025-09-07 13:35:25 +08:00
parent 7f50080a3b
commit ae5b589624
3 changed files with 29 additions and 4 deletions

View File

@ -67,7 +67,14 @@
</select> </select>
</div> </div>
</div> </div>
<div class="form-group">
<label class="col-sm-3 control-label">BRS车辆状态</label>
<div class="col-sm-8">
<select name="brsStatus" class="form-control m-b" th:with="type=${@dict.getType('key_car_brs_status')}">
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
</select>
</div>
</div>
<div class="form-group"> <div class="form-group">
<label class="col-sm-3 control-label">IoT识别码</label> <label class="col-sm-3 control-label">IoT识别码</label>
<div class="col-sm-8"> <div class="col-sm-8">

View File

@ -37,6 +37,13 @@
<label>所属门店:</label> <label>所属门店:</label>
<input type="text" name="storeName"/> <input type="text" name="storeName"/>
</li> </li>
<li>
<label>BRS车辆状态</label>
<select name="brsStatus" th:with="type=${@dict.getType('key_car_brs_status')}">
<option value="">所有</option>
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
</select>
</li>
<li> <li>
<label>车辆状态:</label> <label>车辆状态:</label>
<select name="status" th:with="type=${@dict.getType('key_car_status')}"> <select name="status" th:with="type=${@dict.getType('key_car_status')}">
@ -81,6 +88,7 @@
var distributeFlag = [[${@permission.hasPermi('operation:car:distribute')}]]; var distributeFlag = [[${@permission.hasPermi('operation:car:distribute')}]];
var removeFlag = [[${@permission.hasPermi('operation:car:remove')}]]; var removeFlag = [[${@permission.hasPermi('operation:car:remove')}]];
var statusDatas = [[${@dict.getType('key_car_status')}]]; var statusDatas = [[${@dict.getType('key_car_status')}]];
var brsStatusDatas = [[${@dict.getType('key_car_brs_status')}]];
var batteryTypeDatas = [[${@dict.getType('key_car_battery_type')}]]; var batteryTypeDatas = [[${@dict.getType('key_car_battery_type')}]];
var belongTypeDatas = [[${@dict.getType('key_car_belong_type')}]]; var belongTypeDatas = [[${@dict.getType('key_car_belong_type')}]];
var prefix = ctx + "operation/car"; var prefix = ctx + "operation/car";
@ -140,7 +148,10 @@
}, },
{ {
field: 'brsStatus', field: 'brsStatus',
title: 'BRS车辆状态' title: 'BRS车辆状态',
formatter: function(value, row, index) {
return $.table.selectDictLabel(brsStatusDatas, value);
}
}, },
{ {
field: 'iotStatus', field: 'iotStatus',
@ -160,7 +171,7 @@
}, },
{ {
field: 'status', field: 'status',
title: '车辆状态', title: '状态',
formatter: function(value, row, index) { formatter: function(value, row, index) {
return $.table.selectDictLabel(statusDatas, value); return $.table.selectDictLabel(statusDatas, value);
} }

View File

@ -69,7 +69,14 @@
</select> </select>
</div> </div>
</div> </div>
<div class="form-group">
<label class="col-sm-3 control-label">BRS车辆状态</label>
<div class="col-sm-8">
<select name="brsStatus" class="form-control m-b" th:with="type=${@dict.getType('key_car_brs_status')}">
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{brsStatus}"></option>
</select>
</div>
</div>
<div class="form-group"> <div class="form-group">
<label class="col-sm-3 control-label">IoT识别码</label> <label class="col-sm-3 control-label">IoT识别码</label>
<div class="col-sm-8"> <div class="col-sm-8">