MicroCommunityWeb/public/components/chooseInspectionPlan/chooseInspectionPlan.html
2020-03-07 21:46:54 +08:00

73 lines
4.3 KiB
HTML

<div id = "chooseInspectionPlanModel" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="chooseInspectionPlanModelLabel" aria-hidden="true" >
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<h3 class="modal-title" id="chooseInspectionPlanModelLabel">选择巡检计划</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="输入巡检计划名称" type="text" v-model="chooseInspectionPlanInfo._currentInspectionPlanName" class="form-control form-control-sm">
<span class="input-group-append">
<button type="button" class="btn btn-sm btn-primary" v-on:click="queryInspectionPlans()">查询</button>
</span>
</div>
</div>
</div>
<div class="table-responsive" style="margin-top:15px">
<table class="table table-striped">
<thead>
<tr>
<th class="text-center">巡检计划名称</th>
<th class="text-center">计划名称</th>
<th class="text-center">巡检路线</th>
<th class="text-center">执行周期</th>
<th class="text-center">执行人员</th>
<th class="text-center">开始时间</th>
<th class="text-center">结束时间</th>
<th class="text-center">签到方式</th>
<th class="text-center">状态</th>
<th class="text-center">备注</th>
<th class="text-center">操作</th>
</tr>
</thead>
<tbody>
<tr v-for="inspectionPlan in chooseInspectionPlanInfo.inspectionPlans">
<td class="text-center">{{inspectionPlan.inspectionPlanId}}</td>
<td class="text-center">{{inspectionPlan.inspectionPlanName}}</td>
<td class="text-center">{{inspectionPlan.inspectionRouteId}}</td>
<td class="text-center">{{inspectionPlan.inspectionPlanPeriod}}</td>
<td class="text-center">{{inspectionPlan.staffId}}</td>
<td class="text-center">{{inspectionPlan.startTime}}</td>
<td class="text-center">{{inspectionPlan.endTime}}</td>
<td class="text-center">{{inspectionPlan.signType}}</td>
<td class="text-center">{{inspectionPlan.state}}</td>
<td class="text-center">{{inspectionPlan.remark}}</td>
<td>
<button class="btn btn-primary btn-xs" v-on:click="chooseInspectionPlan(inspectionPlan)">选择</button>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>