From d8e0af2ce345f3b40581ad05c596f965ae729c01 Mon Sep 17 00:00:00 2001
From: guoshilong <123456>
Date: Fri, 14 Oct 2022 10:15:11 +0800
Subject: [PATCH] 维修列表若为未开始时间显示为创建时间,其他显示为更新时间
---
pages.json | 78 ++++++++++++++++++++++++++++++--------
1 files changed, 61 insertions(+), 17 deletions(-)
diff --git a/pages.json b/pages.json
index 132c21b..28eb95b 100644
--- a/pages.json
+++ b/pages.json
@@ -2,7 +2,8 @@
"easycom": {
"^u-(.*)": "@/uview-ui/components/u-$1/u-$1.vue"
},
- "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
+ "pages": [
+ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
{
"path": "pages/login/login-account",
"style": {
@@ -25,7 +26,46 @@
"navigationBarTitleText": "任务列表",
"enablePullDownRefresh": false
}
+ },
+ {
+ "path": "pages/home/home",
+ "style": {
+ "navigationBarTitleText": "主页",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/taskinfo/detail",
+ "style": {
+ "navigationBarTitleText": "任务详情",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/eventgm/eventsReported",
+ "style": {
+ "navigationBarTitleText": "事件上报",
+ "enablePullDownRefresh": false
+ }
+ }, {
+ "path": "pages/repairsorder/list",
+ "style": {
+ "navigationBarTitleText": "维修工单",
+ "enablePullDownRefresh": false
+ }
+ }, {
+ "path": "pages/repairsorder/detail",
+ "style": {
+ "navigationBarTitleText": "工单详情",
+ "enablePullDownRefresh": false
+ }
+ },{
+ "path": "pages/inventory/materialRequire",
+ "style": {
+ "navigationBarTitleText": "维修材料申请",
+ "enablePullDownRefresh": false
+ }
}
],
"globalStyle": {
@@ -40,23 +80,27 @@
"borderStyle": "white",
"backgroundColor": "#ffffff",
"list": [{
- "pagePath": "pages/service/service",
- "iconPath": "static/images/tabbar/home.png",
- "selectedIconPath": "static/images/tabbar/home_selected.png",
- "text": "首页"
- }, {
- "pagePath": "pages/demo/demo",
- "iconPath": "static/images/tabbar/demo.png",
- "selectedIconPath": "static/images/tabbar/demo_selected.png",
- "text": "示例"
- }, {
- "pagePath": "pages/user/center",
- "iconPath": "static/images/tabbar/user.png",
- "selectedIconPath": "static/images/tabbar/user_selected.png",
- "text": "我的"
- }]
+ "pagePath": "pages/service/service",
+ "iconPath": "static/images/tabbar/home.png",
+ "selectedIconPath": "static/images/tabbar/home_selected.png",
+ "text": "首页"
+ },
+ {
+ "pagePath": "pages/demo/demo",
+ "iconPath": "static/images/tabbar/demo.png",
+ "selectedIconPath": "static/images/tabbar/demo_selected.png",
+ "text": "示例"
+ },
+ {
+ "pagePath": "pages/user/center",
+ "iconPath": "static/images/tabbar/user.png",
+ "selectedIconPath": "static/images/tabbar/user_selected.png",
+ "text": "我的"
+ }
+ ]
},
- "condition": { //模式配置,仅开发期间生效
+ "condition": {
+ //模式配置,仅开发期间生效
"current": 0, //当前激活的模式(list 的索引项)
"list": [{
"name": "", //模式名称
--
Gitblit v1.9.3