优化巡检点

This commit is contained in:
java110 2020-03-28 23:52:15 +08:00
parent a23d505a67
commit 6a798106e2
2 changed files with 3 additions and 3 deletions

View File

@ -31,7 +31,7 @@
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<tr v-for="inspectionPoint in inspectionRoutePointManageInfo.inspectionRoutes"> <tr v-for="inspectionPoint in inspectionRoutePointManageInfo.inspectionPoints">
<td class="text-center">{{inspectionPoint.inspectionName}}</td> <td class="text-center">{{inspectionPoint.inspectionName}}</td>
<td class="text-center">{{inspectionPoint.inspectionId}}</td> <td class="text-center">{{inspectionPoint.inspectionId}}</td>
<td class="text-center">{{inspectionPoint.locationObjName}}</td> <td class="text-center">{{inspectionPoint.locationObjName}}</td>

View File

@ -7,7 +7,7 @@
vc.extends({ vc.extends({
data:{ data:{
inspectionRoutePointManageInfo:{ inspectionRoutePointManageInfo:{
inspectionRoutes:[], inspectionPoints:[],
inspectionRouteId:'', inspectionRouteId:'',
total:0, total:0,
records:1, records:1,
@ -50,7 +50,7 @@
var _inspectionRouteManageInfo=JSON.parse(json); var _inspectionRouteManageInfo=JSON.parse(json);
vc.component.inspectionRoutePointManageInfo.total = _inspectionRouteManageInfo.total; vc.component.inspectionRoutePointManageInfo.total = _inspectionRouteManageInfo.total;
vc.component.inspectionRoutePointManageInfo.records = _inspectionRouteManageInfo.records; vc.component.inspectionRoutePointManageInfo.records = _inspectionRouteManageInfo.records;
vc.component.inspectionRoutePointManageInfo.inspectionPonits = _inspectionRouteManageInfo.inspectionPonits; vc.component.inspectionRoutePointManageInfo.inspectionPoints = _inspectionRouteManageInfo.inspectionPoints;
vc.emit('pagination','init',{ vc.emit('pagination','init',{
total:vc.component.inspectionRoutePointManageInfo.records, total:vc.component.inspectionRoutePointManageInfo.records,
currentPage:_page currentPage:_page