From 3dadf7ce4eede2f5f8cc5dd772e1a12f20f0fae5 Mon Sep 17 00:00:00 2001 From: wuxw <928255095@qq.com> Date: Sun, 3 May 2020 22:13:27 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A0=E5=85=A5=E5=B7=A1=E6=A3=80=E8=BF=87?= =?UTF-8?q?=E7=A8=8B=E5=92=8C=E6=89=A7=E8=A1=8C=E5=B7=A1=E6=A3=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 8 +- pages/excuteInspection/excuteInspection.vue | 8 +- .../excuteOneInspection.vue | 111 ++++++++++++++++++ 3 files changed, 125 insertions(+), 2 deletions(-) create mode 100644 pages/excuteOneInspection/excuteOneInspection.vue diff --git a/pages.json b/pages.json index f7b5173..6b5734e 100644 --- a/pages.json +++ b/pages.json @@ -149,7 +149,13 @@ ,{ "path" : "pages/excuteInspection/excuteInspection", "style" : { - "navigationBarTitleText": "执行巡检" + "navigationBarTitleText": "巡检过程" + } + } + ,{ + "path" : "pages/excuteOneInspection/excuteOneInspection", + "style" : { + "navigationBarTitleText": "执行巡检" } } ], diff --git a/pages/excuteInspection/excuteInspection.vue b/pages/excuteInspection/excuteInspection.vue index f14efb1..6bb77ca 100644 --- a/pages/excuteInspection/excuteInspection.vue +++ b/pages/excuteInspection/excuteInspection.vue @@ -8,7 +8,7 @@ {{item.inspectionName}} - @@ -67,6 +67,12 @@ ScrollSteps() { this.scroll= this.scroll == 9 ? 0 : this.scroll + 1 + }, + _excuteInspection:function(_item){ + console.log('巡检点',_item); + uni.navigateTo({ + url:'/pages/excuteOneInspection/excuteOneInspection?taskDetailId='+_item.taskDetailId+"&taskId="+_item.taskId+"&inspectionId="+_item.inspectionId+"&inspectionName="+_item.inspectionName + }); } } } diff --git a/pages/excuteOneInspection/excuteOneInspection.vue b/pages/excuteOneInspection/excuteOneInspection.vue new file mode 100644 index 0000000..36181bd --- /dev/null +++ b/pages/excuteOneInspection/excuteOneInspection.vue @@ -0,0 +1,111 @@ + + + + +