优化字母车位

This commit is contained in:
java110 2022-06-17 11:23:53 +08:00
parent 46a74633ca
commit b6aa206264
2 changed files with 16 additions and 34 deletions

View File

@ -1,5 +1,4 @@
<div id="addCarModal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel"
aria-hidden="true">
<div id="addCarModal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-body">
@ -10,15 +9,13 @@
<div class="form-group row">
<label class="col-sm-2 col-form-label"><span><vc:i18n name="车牌号" namespace="addCarModal"></vc:i18n></span></label>
<div class="col-sm-10">
<input v-model="addCarModelInfo.carNum" type="text" :placeholder="vc.i18n('必填,请填写车牌号','addCarModal')"
class="form-control">
<input v-model="addCarModelInfo.carNum" type="text" :placeholder="vc.i18n('必填,请填写车牌号','addCarModal')" class="form-control">
</div>
</div>
<div class="form-group row">
<label class="col-sm-2 col-form-label"><span><vc:i18n name="车品牌" namespace="addCarModal"></vc:i18n></span></label>
<div class="col-sm-10">
<input v-model="addCarModelInfo.carBrand" type="text" :placeholder="vc.i18n('必填,请填写车品牌,如 宝马','addCarModal')X6"
class="form-control">
<input v-model="addCarModelInfo.carBrand" type="text" :placeholder="vc.i18n('必填,请填写车品牌,如 宝马X6','addCarModal')" class="form-control">
</div>
</div>
<div class="form-group row">
@ -35,25 +32,21 @@
<div class="form-group row">
<label class="col-sm-2 col-form-label"><span><vc:i18n name="颜色" namespace="addCarModal"></vc:i18n></span></label>
<div class="col-sm-10">
<input v-model="addCarModelInfo.carColor" type="text" :placeholder="vc.i18n('必填,请填写车颜色,如白色','addCarModal')"
class="form-control">
<input v-model="addCarModelInfo.carColor" type="text" :placeholder="vc.i18n('必填,请填写车颜色,如白色','addCarModal')" class="form-control">
</div>
</div>
<div class="form-group row">
<label class="col-sm-2 col-form-label"><span><vc:i18n name="备注" namespace="addCarModal"></vc:i18n></span></label>
<div class="col-sm-10">
<textarea v-model="addCarModelInfo.remark" type="text" :placeholder="vc.i18n('请填写备注信息','addCarModal')"
rows="3" class="form-control">
<textarea v-model="addCarModelInfo.remark" type="text" :placeholder="vc.i18n('请填写备注信息','addCarModal')" rows="3" class="form-control">
</textarea>
</div>
</div>
<div class="ibox-content">
<button class="btn btn-primary float-right" type="button"
v-on:click="saveAddCarInfo()">
<button class="btn btn-primary float-right" type="button" v-on:click="saveAddCarInfo()">
<i class="fa fa-check"></i>&nbsp;保存
</button>
<button type="button" class="btn btn-warning float-right" style="margin-right:20px;"
data-dismiss="modal">
<button type="button" class="btn btn-warning float-right" style="margin-right:20px;" data-dismiss="modal">
<i class="fa fa-times"></i>&nbsp;取消
</button>
</div>
@ -63,4 +56,4 @@
</div>
</div>
</div>
</div>
</div>

View File

@ -90,25 +90,6 @@
<div class="row">
<div class="col-lg-12">
<div class="ibox">
<!-- <div class="ibox-title">
<h5>
<span>
<vc:i18n name="房屋信息" namespace="room"></vc:i18n>
</span>
</h5>
<div class="ibox-tools" style="top:10px;" v-if="vc.hasPrivilege('502020082453087940')">
<button type="button" class="btn btn-primary btn-sm" style="margin-left:10px"
v-on:click="_openAddRoom()">
<i class="fa fa-plus"></i> <span>
<vc:i18n name="添加" namespace="room"></vc:i18n>
</span>
</button>
<button type="button" class="btn btn-white btn-sm" style="margin-left:10px"
v-on:click="_openImportRoomInfo()">
房产导入
</button>
</div>
</div> -->
<div class="ibox-content">
<table class="footable table table-stripped toggle-arrow-tiny" style="margin-top:10px" data-page-size="10">
<thead>
@ -159,6 +140,11 @@
<vc:i18n name="房屋状态" namespace="room"></vc:i18n>
</span>
</th>
<th data-hide="phone" class="text-center">
<span>
<vc:i18n name="入住时间" namespace="room"></vc:i18n>
</span>
</th>
<th v-for="(item,index) in roomInfo.listColumns" class="text-center">{{item}}
</th>
<th class="text-center">
@ -209,6 +195,9 @@
<td class="text-center">
{{room.stateName}}
</td>
<td class="text-center">
{{room.startTime}}
</td>
<td v-for="item in room.listValues" class="text-center">
{{item}}
</td>