Files
PropertyDeployment/resources/Web/MicroCommunityWeb/html/components/property/chooseUnit/chooseUnit.html
2025-12-09 20:22:03 +08:00

77 lines
4.5 KiB
HTML

<div id="chooseUnitModel" class="modal fade" role="dialog" aria-labelledby="chooseUnitModelLabel" aria-hidden="true">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<h3 class="modal-title" id="chooseUnitModelLabel">
<span><vc:i18n name="选择单元" namespace="chooseUnit"></vc:i18n></span>
</h3>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body">
<div class="row">
<div class="col-lg-12">
<div class="ibox ">
<div class="row">
<div class="col-sm-7 m-b-xs">
</div>
<div class="col-sm-5">
<div class="input-group">
<input :placeholder="vc.i18n('输入单元名称','chooseUnit')" type="text" v-model="chooseUnitInfo._currentUnitName" class="form-control form-control-sm">
<span class="input-group-append">
<button type="button" class="btn btn-sm btn-primary"
v-on:click="queryUnits()"><span><vc:i18n name="查询" namespace="chooseUnit"></vc:i18n></span></button>
</span>
</div>
</div>
</div>
<div class="table-responsive" style="margin-top:15px">
<table class="table table-striped">
<thead>
<tr>
<th class="text-center">
<span><vc:i18n name="单元" namespace="chooseUnit"></vc:i18n></span>ID</th>
<th class="text-center">
<span><vc:i18n name="单元编号" namespace="chooseUnit"></vc:i18n></span>
</th>
<th class="text-center">
<span><vc:i18n name="总层数" namespace="chooseUnit"></vc:i18n></span>
</th>
<th class="text-center">
<span><vc:i18n name="电梯" namespace="chooseUnit"></vc:i18n></span>
</th>
<th class="text-center">
<span><vc:i18n name="备注" namespace="chooseUnit"></vc:i18n></span>
</th>
<th class="text-center">
<span><vc:i18n name="操作" namespace="chooseUnit"></vc:i18n></span>
</th>
</tr>
</thead>
<tbody>
<tr v-for="unit in chooseUnitInfo.units">
<td class="text-center">{{unit.unitId}}</td>
<td class="text-center">{{unit.unitNum}}</td>
<td class="text-center">{{unit.layerCount}}</td>
<td class="text-center">{{unit.lift == '1010'?'有':'无'}}</td>
<td class="text-center">{{unit.remark}}</td>
<td>
<button class="btn btn-primary btn-xs" v-on:click="chooseUnit(unit)"><span><vc:i18n name="选择" namespace="chooseUnit"></vc:i18n></span></button>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>