From 2545591f32fa766f32fa6eda7c56d864e7e54055 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=88=98=E7=BF=94=E5=AE=87-=E6=97=85=E7=AE=A1=E5=AE=B6?=
<153298343@qq.com>
Date: Fri, 14 Oct 2022 09:59:31 +0800
Subject: [PATCH 1/3] up
---
pages.json | 358 ++++++++++++++++++-----------------
pages/index/index.vue | 24 +++
raininspection/plan/plan.vue | 246 ++++++++++++++++++++++++
rainmaintain/plan/plan.vue | 22 +++
utils/util.js | 4 +-
5 files changed, 478 insertions(+), 176 deletions(-)
create mode 100644 raininspection/plan/plan.vue
create mode 100644 rainmaintain/plan/plan.vue
diff --git a/pages.json b/pages.json
index 552ff61..9dfa0e9 100644
--- a/pages.json
+++ b/pages.json
@@ -1,179 +1,189 @@
-{
- "easycom": {
- "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue"
- },
- "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
-
- {
- "path": "pages/login/login",
- "style": {
- "navigationBarTitleText": "巡查登录",
- "enablePullDownRefresh": false,
- "navigationStyle": "custom"
- }
-
- },
- {
- "path": "pages/index/index",
- "style": {
- "navigationBarTitleText": "巡查养护",
- "app-plus": { //uni-app项目对应节点名称为"app-plus"
- "titleNView": {
- "autoBackButton":false,
- "buttons": [
- {
- "float": "left",
- "type": "home"
- }
- ]
- }
- }
- }
- }, {
- "path": "pages/mine/mine",
- "style": {
- "navigationBarTitleText": "我的",
- "enablePullDownRefresh": false
- }
-
- }
- ,{
- "path" : "road/road/road",
- "style" :
- {
- "navigationBarTitleText": "选择道路",
- "enablePullDownRefresh": false
- }
-
- }
-
- ],
- "subPackages": [{
- "root": "packageA/pages",
- "pages": [{
- "path": "generalPatrol/generalPatrol",
- "style": {
- "navigationBarTitleText": "通用巡查",
- "enablePullDownRefresh": false
- }
-
- }, {
- "path": "generalList/generalList",
- "style": {
- "navigationBarTitleText": "通用巡查",
- "enablePullDownRefresh": false
- }
-
- }, {
- "path": "generalPatrol/viewPatrol",
- "style": {
- "navigationBarTitleText": "通用巡查",
- "enablePullDownRefresh": false
-
- }
-
- }]
- }, {
- "root": "packageB/pages",
- "pages": [{
- "path": "dailyInspection/dailyInspection",
- "style": {
- "navigationBarTitleText": "日常监管巡查",
- "enablePullDownRefresh": false
- }
-
- },{
- "path": "dailyList/dailyList",
- "style": {
- "navigationBarTitleText": "日常监管巡查",
- "enablePullDownRefresh": true
- }
- },{
- "path": "dailyInfo/dailyInfo",
- "style": {
- "navigationBarTitleText": "日常监管巡查",
- "enablePullDownRefresh": false
-
- }
- }]
- },{
- "root": "rainmaintain",
- "pages": [{
- "path": "rainmaintain/rainmaintain",
- "style": {
- "navigationBarTitleText": "雨管养护",
- "enablePullDownRefresh": false
- }
- }, {
- "path": "rainmaintainlist/rainmaintainList",
- "style": {
- "navigationBarTitleText": "雨管养护",
- "enablePullDownRefresh": true,
- "disableScroll": true
- }
- }, {
- "path": "rainmaintaininfo/rainmaintainInfo",
- "style": {
- "navigationBarTitleText": "雨管养护",
- "enablePullDownRefresh": false,
- "disableScroll": true
+{
+ "easycom": {
+ "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue"
+ },
+ "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
- }
- }]
- },{
- "root": "raininspection",
- "pages": [{
- "path": "raininspection/raininspection",
- "style": {
- "navigationBarTitleText": "雨管巡查",
- "enablePullDownRefresh": false
- }
- }, {
- "path": "raininspectionlist/raininspectionList",
- "style": {
- "navigationBarTitleText": "雨管巡查",
- "enablePullDownRefresh": true,
- "disableScroll": true
- }
- }, {
- "path": "raininspectioninfo/raininspectionInfo",
- "style": {
- "navigationBarTitleText": "雨管巡查",
- "enablePullDownRefresh": false,
- "disableScroll": true
+ {
+ "path": "pages/login/login",
+ "style": {
+ "navigationBarTitleText": "巡查登录",
+ "enablePullDownRefresh": false,
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "pages/index/index",
+ "style": {
+ "navigationBarTitleText": "巡查养护",
+ "app-plus": { //uni-app项目对应节点名称为"app-plus"
+ "titleNView": {
+ "autoBackButton": false,
+ "buttons": [{
+ "float": "left",
+ "type": "home"
+ }]
+ }
}
- }]
- }, {
- "root": "order/order",
- "pages": [{
- "path": "order/order",
- "style": {
- "navigationBarTitleText": "我的工单",
- "enablePullDownRefresh": false
- }
-
- },{
- "path": "orderList/orderList",
- "style": {
- "navigationBarTitleText": "我的工单",
+ }
+ }, {
+ "path": "pages/mine/mine",
+ "style": {
+ "navigationBarTitleText": "我的",
+ "enablePullDownRefresh": false
+ }
+
+ }, {
+ "path": "road/road/road",
+ "style": {
+ "navigationBarTitleText": "选择道路",
+ "enablePullDownRefresh": false
+ }
+
+ }
+
+ ],
+ "subPackages": [{
+ "root": "packageA/pages",
+ "pages": [{
+ "path": "generalPatrol/generalPatrol",
+ "style": {
+ "navigationBarTitleText": "通用巡查",
+ "enablePullDownRefresh": false
+ }
+
+ }, {
+ "path": "generalList/generalList",
+ "style": {
+ "navigationBarTitleText": "通用巡查",
+ "enablePullDownRefresh": false
+ }
+
+ }, {
+ "path": "generalPatrol/viewPatrol",
+ "style": {
+ "navigationBarTitleText": "通用巡查",
+ "enablePullDownRefresh": false
+
+ }
+
+ }]
+ }, {
+ "root": "packageB/pages",
+ "pages": [{
+ "path": "dailyInspection/dailyInspection",
+ "style": {
+ "navigationBarTitleText": "日常监管巡查",
+ "enablePullDownRefresh": false
+ }
+
+ }, {
+ "path": "dailyList/dailyList",
+ "style": {
+ "navigationBarTitleText": "日常监管巡查",
+ "enablePullDownRefresh": true
+ }
+ }, {
+ "path": "dailyInfo/dailyInfo",
+ "style": {
+ "navigationBarTitleText": "日常监管巡查",
+ "enablePullDownRefresh": false
+
+ }
+ }]
+ }, {
+ "root": "rainmaintain",
+ "pages": [{
+ "path": "rainmaintain/rainmaintain",
+ "style": {
+ "navigationBarTitleText": "雨管养护",
+ "enablePullDownRefresh": false
+ }
+ }, {
+ "path": "rainmaintainlist/rainmaintainList",
+ "style": {
+ "navigationBarTitleText": "雨管养护",
+ "enablePullDownRefresh": true,
+ "disableScroll": true
+ }
+ }, {
+ "path": "rainmaintaininfo/rainmaintainInfo",
+ "style": {
+ "navigationBarTitleText": "雨管养护",
+ "enablePullDownRefresh": false,
+ "disableScroll": true
+
+ }
+ }, {
+ "path": "plan/plan",
+ "style": {
+ "navigationBarTitleText": "养护计划",
+ "enablePullDownRefresh": false
+ }
+
+ }]
+ }, {
+ "root": "raininspection",
+ "pages": [{
+ "path": "raininspection/raininspection",
+ "style": {
+ "navigationBarTitleText": "雨管巡查",
+ "enablePullDownRefresh": false
+ }
+ }, {
+ "path": "raininspectionlist/raininspectionList",
+ "style": {
+ "navigationBarTitleText": "雨管巡查",
"enablePullDownRefresh": true,
- "disableScroll": true
- }
- },{
- "path": "orderInfo/orderInfo",
- "style": {
- "navigationBarTitleText": "我的工单",
- "enablePullDownRefresh": false,
- "disableScroll": true
-
- }
- }]
- }],
- "globalStyle": {
- "navigationBarTextStyle": "white",
- "navigationBarTitleText": "巡查养护",
- "navigationBarBackgroundColor": "#0385e5",
- "backgroundColor": "#F8F8F8"
- }
+ "disableScroll": true
+ }
+ }, {
+ "path": "raininspectioninfo/raininspectionInfo",
+ "style": {
+ "navigationBarTitleText": "雨管巡查",
+ "enablePullDownRefresh": false,
+ "disableScroll": true
+
+ }
+ }, {
+ "path": "plan/plan",
+ "style": {
+ "navigationBarTitleText": "巡查计划",
+ "enablePullDownRefresh": false
+ }
+
+ }]
+ }, {
+ "root": "order/order",
+ "pages": [{
+ "path": "order/order",
+ "style": {
+ "navigationBarTitleText": "我的工单",
+ "enablePullDownRefresh": false
+ }
+
+ }, {
+ "path": "orderList/orderList",
+ "style": {
+ "navigationBarTitleText": "我的工单",
+ "enablePullDownRefresh": true,
+ "disableScroll": true
+ }
+ }, {
+ "path": "orderInfo/orderInfo",
+ "style": {
+ "navigationBarTitleText": "我的工单",
+ "enablePullDownRefresh": false,
+ "disableScroll": true
+
+ }
+ }]
+ }],
+ "globalStyle": {
+ "navigationBarTextStyle": "white",
+ "navigationBarTitleText": "巡查养护",
+ "navigationBarBackgroundColor": "#0385e5",
+ "backgroundColor": "#F8F8F8"
+ }
}
diff --git a/pages/index/index.vue b/pages/index/index.vue
index 5ade41f..977defc 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -8,12 +8,24 @@