优化巡检任务记录

This commit is contained in:
java110 2020-03-29 19:47:16 +08:00
parent 8f0dfc98a5
commit 505db27f94
2 changed files with 54 additions and 57 deletions

View File

@ -56,13 +56,13 @@
<table class="footable table table-stripped toggle-arrow-tiny" data-page-size="15"> <table class="footable table table-stripped toggle-arrow-tiny" data-page-size="15">
<thead> <thead>
<tr> <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>
<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>
@ -70,21 +70,17 @@
</thead> </thead>
<tbody> <tbody>
<tr v-for="inspectionTask in inspectionTaskManageInfo.inspectionTasks"> <tr v-for="inspectionTask in inspectionTaskManageInfo.inspectionTasks">
<td class="text-center">{{inspectionTask.taskId}}</td>
<td class="text-center">{{inspectionTask.taskId}}</td> <td class="text-center">{{inspectionTask.taskId}}</td>
<td class="text-center">{{inspectionTask.inspectionPlanId}}</td> <td class="text-center">{{inspectionTask.inspectionPlanId}}</td>
<td class="text-center">{{inspectionTask.planInsTime}}</td> <td class="text-center">{{inspectionTask.planInsTime}}</td>
<td class="text-center">{{inspectionTask.actInsTime}}</td> <td class="text-center">{{inspectionTask.actInsTime}}</td>
<td class="text-center">{{inspectionTask.planUserName}}</td> <td class="text-center">{{inspectionTask.planUserName}}</td>
<td class="text-center">{{inspectionTask.signType}}</td> <td class="text-center">{{inspectionTask.signType}}</td>
<td class="text-center">{{inspectionTask.state}}</td>
<td class="text-center"> <td class="text-center">
<div class="btn-group"> <div class="btn-group">
<button class="btn-white btn btn-xs" <button class="btn-white btn btn-xs"
v-on:click="_openEditInspectionTaskModel(inspectionTask)">修改</button> v-on:click="_openDeleteInspectionTaskModel(inspectionTask)">详情</button>
</div>
<div class="btn-group">
<button class="btn-white btn btn-xs"
v-on:click="_openDeleteInspectionTaskModel(inspectionTask)">删除</button>
</div> </div>
</td> </td>

View File

@ -37,6 +37,7 @@ actInsTime:'',
vc.component.inspectionTaskManageInfo.conditions.page = _page; vc.component.inspectionTaskManageInfo.conditions.page = _page;
vc.component.inspectionTaskManageInfo.conditions.row = _rows; vc.component.inspectionTaskManageInfo.conditions.row = _rows;
$that.inspectionTaskManageInfo.conditions.communityId = vc.getCurrentCommunity().communityId;
var param = { var param = {
params: vc.component.inspectionTaskManageInfo.conditions params: vc.component.inspectionTaskManageInfo.conditions
}; };