diff --git a/pages/inspectionReexamine/inspectionReexamine.vue b/pages/inspectionReexamine/inspectionReexamine.vue
index e8d1e85..d7bf9e5 100644
--- a/pages/inspectionReexamine/inspectionReexamine.vue
+++ b/pages/inspectionReexamine/inspectionReexamine.vue
@@ -4,40 +4,40 @@
巡检任务(补检)
- 补检日期
+ 补检日期
-
-
-
- {{item.taskId}}
- {{item.stateName}}
+
+
+
+ {{item.taskId}}
+ {{item.stateName}}
+
+
+ 巡检计划
+ {{item.inspectionPlanName}}
+
+
+ 计划编码
+ {{item.inspectionPlanId}}
+
+
+ 巡检人
+ {{item.planUserName}}
+
+
+ 巡检时间
+ {{item.planInsTime }}
+
+
+ 巡检方式
+ {{item.signTypeName}}
+
+
+
+
+
-
- 巡检计划
- {{item.inspectionPlanName}}
-
-
- 计划编码
- {{item.inspectionPlanId}}
-
-
- 巡检人
- {{item.planUserName}}
-
-
- 巡检时间
- {{item.planInsTime }}
-
-
- 巡检方式
- {{item.signTypeName}}
-
-
-
-
-
-
@@ -82,13 +82,6 @@
},
methods: {
_startInspection:function(_item){
- // if(dateUtil.compareDate(_item.planInsTime.replace(/-/g, '/'), dateUtil.getCurrentDateTime().replace(/-/g, '/'))){
- // uni.showToast({
- // title: "尚未开始",
- // icon: "none"
- // });
- // return;
- // }
console.log('开始巡检',_item);
uni.navigateTo({
url:'/pages/excuteInspection/excuteInspection?taskId='+_item.taskId+'&inspectionPlanName='+_item.inspectionPlanName
@@ -96,7 +89,6 @@
},
_queryInstpectionTasks: function() {
let _that = this;
-
_that.java110Context.request({
header: _that.java110Context.getHeaders(),
url: url.listInspectionTasks,
@@ -104,17 +96,17 @@
data: {
communityId: _that.communityId,
page: 1,
- row: 10,
+ row: 20,
planUserId: _that.userId,
moreState:'20200405,20200406',
canReexamine:'2000',
planInsTime: _that.planInsTime,
- isToday: 1
+ //isToday: 1
},
success: function(res) {
// TODO 判断
console.log(res);
- res.data.inspectionTasks.forEach(function(item, index) {
+ res.data.inspectionTasks.forEach(item => {
item.timeStr = item.planInsTime.replace(/:\d{1,2}$/, ' ');
});
_that.tasks = res.data.inspectionTasks;