mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-06-12 10:00:56 +08:00
150 lines
7.7 KiB
HTML
150 lines
7.7 KiB
HTML
<div class=" animated fadeInRight ecommerce">
|
|
<div class="row" v-if="inspectionPlanManageInfo.inspectionPlanStaffModel == false">
|
|
<div class="col-lg-12">
|
|
<div class="ibox ">
|
|
<div class="ibox-title">
|
|
<h5>查询条件</h5>
|
|
<div class="ibox-tools" style="top:10px;">
|
|
|
|
</div>
|
|
</div>
|
|
<div class="ibox-content">
|
|
<div class="row">
|
|
<div class="col-sm-4">
|
|
<div class="form-group">
|
|
<input type="text" placeholder="计划名称"
|
|
v-model="inspectionPlanManageInfo.conditions.inspectionPlanName" class=" form-control">
|
|
</div>
|
|
</div>
|
|
<div class="col-sm-3">
|
|
<div class="form-group">
|
|
<input type="text" placeholder="执行人员姓名"
|
|
v-model="inspectionPlanManageInfo.conditions.staffName" class=" form-control">
|
|
</div>
|
|
</div>
|
|
<div class="col-sm-4">
|
|
<select class="custom-select" v-model="inspectionPlanManageInfo.conditions.state">
|
|
<option selected disabled value="">请选择状态</option>
|
|
<option v-for="(item,index) in inspectionPlanManageInfo.states" :key="index"
|
|
v-bind:value="item.statusCd">{{item.name}}
|
|
</option>
|
|
</select>
|
|
</div>
|
|
<div class="col-sm-1">
|
|
<button type="button" class="btn btn-primary btn-sm"
|
|
v-on:click="_queryInspectionPlanMethod()">
|
|
<i class="fa fa-search"></i> 查询
|
|
</button>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="row" v-if="inspectionPlanManageInfo.inspectionPlanStaffModel == false">
|
|
<div class="col-lg-12">
|
|
<div class="ibox">
|
|
<div class="ibox-title">
|
|
<h5>巡检计划信息</h5>
|
|
<div class="ibox-tools" style="top:10px;">
|
|
<button type="button" class="btn btn-primary btn-sm" v-on:click="_openAddInspectionPlanModal()">
|
|
<i class="fa fa-plus"></i>
|
|
添加
|
|
</button>
|
|
</div>
|
|
</div>
|
|
<div class="ibox-content">
|
|
|
|
<table class="footable table table-stripped toggle-arrow-tiny"
|
|
data-page-size="15"
|
|
>
|
|
<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-right">操作</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr v-for="inspectionPlan in inspectionPlanManageInfo.inspectionPlans">
|
|
<td class="text-center">{{inspectionPlan.inspectionPlanName}}</td>
|
|
<td class="text-center">{{inspectionPlan.inspectionRouteName}}</td>
|
|
<td class="text-center">{{inspectionPlan.inspectionPlanPeriodName}}</td>
|
|
<!-- <td class="text-center">{{inspectionPlan.staffName}}</td> -->
|
|
<td class="text-center">{{inspectionPlan.signTypeName}}</td>
|
|
<td class="text-center">{{inspectionPlan.startTime}}</td>
|
|
<td class="text-center">{{inspectionPlan.endTime}}</td>
|
|
<td class="text-center">{{inspectionPlan.createUserName}}</td>
|
|
<td class="text-center">{{inspectionPlan.createTime}}</td>
|
|
<td class="text-center">{{inspectionPlan.stateName}}</td>
|
|
<td class="text-right">
|
|
<div class="btn-group">
|
|
<button class="btn-white btn btn-xs" v-on:click="_openPlanStaff(inspectionPlan)">设置巡检人
|
|
</button>
|
|
<button class="btn-white btn btn-xs dropdown-toggle" data-toggle="dropdown"
|
|
aria-haspopup="true" aria-expanded="false">变更
|
|
</button>
|
|
|
|
|
|
<div class="dropdown-menu p-4 text-muted" style="max-width: 200px;">
|
|
<p style="margin:10px 0;">
|
|
<a href="javascript:void(0)"
|
|
v-on:click="_openEditInspectionPlanModel(inspectionPlan)">修改计划</a>
|
|
<span>|</span>
|
|
<a href="javascript:void(0)"
|
|
v-on:click="_openDeleteInspectionPlanModel(inspectionPlan)">删除计划</a>
|
|
</p>
|
|
<p style="margin:10px 0;">
|
|
<a href="javascript:void(0)"
|
|
v-on:click="_openEnabledInspectionPlanModel(inspectionPlan)">启用计划</a>
|
|
<span>|</span>
|
|
<a href="javascript:void(0)"
|
|
v-on:click="_openDisabledInspectionPlanModel(inspectionPlan)">停用计划</a>
|
|
</p>
|
|
|
|
</div>
|
|
</div>
|
|
</td>
|
|
|
|
</tr>
|
|
</tbody>
|
|
<tfoot>
|
|
<tr>
|
|
<td colspan="7">
|
|
<ul class="pagination float-right"></ul>
|
|
</td>
|
|
</tr>
|
|
</tfoot>
|
|
</table>
|
|
<!-- 分页 -->
|
|
<vc:create path="frame/pagination"></vc:create>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div v-show="inspectionPlanManageInfo.inspectionPlanStaffModel == true">
|
|
<vc:create path="/pages/property/inspectionPlanStaffManage"></vc:create>
|
|
</div>
|
|
|
|
|
|
<vc:create path="property/addInspectionPlan"
|
|
callBackListener=""
|
|
callBackFunction=""
|
|
></vc:create>
|
|
<vc:create path="property/editInspectionPlan"></vc:create>
|
|
<vc:create path="property/deleteInspectionPlan"></vc:create>
|
|
<vc:create path="property/inspectionPlanState"></vc:create>
|
|
|
|
</div>
|