82 lines
5.3 KiB
HTML
82 lines
5.3 KiB
HTML
<div id="chooseLampMachineModel" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="chooseLampMachineModelLabel" aria-hidden="true">
|
|
<div class="modal-dialog modal-lg">
|
|
<div class="modal-content">
|
|
<div class="modal-header">
|
|
<h3 class="modal-title" id="chooseLampMachineModelLabel">
|
|
<vc:i18n name="选择路灯设备" namespace="chooseLampMachine"></vc:i18n>
|
|
</h3>
|
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
|
<span aria-hidden="true">×</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-4">
|
|
<button type="button" class="btn btn-primary btn-sm"
|
|
v-on:click="_submitSelectLampMachine()">
|
|
<vc:i18n name="确定" namespace="chooselampMachine"></vc:i18n>
|
|
</button>
|
|
</div>
|
|
<div class="col-sm-8">
|
|
<div class="input-group">
|
|
<input :placeholder="vc.i18n('输入路灯名称','chooseLampMachine')" type="text"
|
|
v-model="chooseLampMachineInfo._currentLampMachineName" class="form-control form-control-sm">
|
|
<input :placeholder="vc.i18n('输入路灯编号','chooseLampMachine')" type="text"
|
|
v-model="chooseLampMachineInfo._currentLampMachineCode" class="form-control form-control-sm">
|
|
<input :placeholder="vc.i18n('输入路灯位置','chooseLampMachine')" type="text"
|
|
v-model="chooseLampMachineInfo._currentLampLocationName" class="form-control form-control-sm">
|
|
<span class="input-group-append">
|
|
<button type="button" class="btn btn-sm btn-primary"
|
|
v-on:click="queryLampMachines()">
|
|
<vc:i18n name="查询"></vc:i18n>
|
|
</button>
|
|
<button type="button" class="btn btn-sm btn-primary"
|
|
v-on:click="reset()">
|
|
<vc:i18n name="重置"></vc:i18n>
|
|
</button>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="table-responsive" style="margin-top:15px">
|
|
<table class="table table-striped">
|
|
<thead>
|
|
<tr>
|
|
<th class="text-center">
|
|
<input type="checkbox" class="i-checks" @click="selectAll($event)">
|
|
</th>
|
|
<th class="text-center">
|
|
<vc:i18n name='路灯名称' namespace='chooselampMachine'></vc:i18n>
|
|
</th>
|
|
<th class="text-center">
|
|
<vc:i18n name='路灯编号' namespace='chooselampMachine'></vc:i18n>
|
|
</th>
|
|
<th class="text-center">
|
|
<vc:i18n name='路灯位置' namespace='chooselampMachine'></vc:i18n>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr v-for="lampMachine in chooseLampMachineInfo.lampMachines">
|
|
<td class="text-center">
|
|
<input type="checkbox" class="i-checks checkItem" v-bind:value="lampMachine"
|
|
v-model="chooseLampMachineInfo.selectLampMachineList">
|
|
</td>
|
|
<td class="text-center">{{lampMachine.machineName}}</td>
|
|
<td class="text-center">{{lampMachine.machineCode}}</td>
|
|
<td class="text-center">{{lampMachine.locationName}}</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|