From b35320720bd8ad34d5c28e4093ceef250735db7a Mon Sep 17 00:00:00 2001
From: lion <120344285@qq.com>
Date: Tue, 12 Jul 2022 13:52:51 +0800
Subject: [PATCH] upup
---
order/order/order/order.vue | 397 ++++++++++++++++++
order/order/orderInfo/orderInfo.vue | 259 ++++++++++++
order/order/orderList/orderList.vue | 359 ++++++++++++++++
.../pages/generalPatrol/generalPatrol.vue | 12 +-
.../pages/dailyInspection/dailyInspection.vue | 18 +-
pages.json | 28 +-
pages/index/index.vue | 13 +
pages/mine/mine.vue | 13 +
.../raininspection/raininspection.vue | 25 +-
rainmaintain/rainmaintain/rainmaintain.vue | 18 +-
10 files changed, 1096 insertions(+), 46 deletions(-)
create mode 100644 order/order/order/order.vue
create mode 100644 order/order/orderInfo/orderInfo.vue
create mode 100644 order/order/orderList/orderList.vue
diff --git a/order/order/order/order.vue b/order/order/order/order.vue
new file mode 100644
index 0000000..ba7d0ec
--- /dev/null
+++ b/order/order/order/order.vue
@@ -0,0 +1,397 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 重新获取
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{item.name}}
+
+
+
+
+
+
+ {{item.name}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 提交
+
+
+
+
+
+
+
diff --git a/order/order/orderInfo/orderInfo.vue b/order/order/orderInfo/orderInfo.vue
new file mode 100644
index 0000000..58b2c95
--- /dev/null
+++ b/order/order/orderInfo/orderInfo.vue
@@ -0,0 +1,259 @@
+
+
+
+
+
+
+
+
+
+
+
+ 工单标题:
+
+
+ {{lists.name}}
+
+
+
+
+ 反馈科室:
+
+
+ {{lists.depName}}
+
+
+
+
+ 定位地址:
+
+
+ {{lists.address}}
+
+
+
+
+ 内容:
+
+
+ {{lists.content}}
+
+
+
+
+ 现场照片:
+
+
+
+
+
+
+
+ 异常处置建议:
+
+
+ {{lists.tip}}
+
+
+
+
+ 是否隶属于雨管科:
+
+
+ {{lists.is_rain_name}}
+
+
+
+
+ 是否现场处理:
+
+
+ {{lists.is_scene_name}}
+
+
+
+
+ 现场处理结果:
+
+
+ {{lists.result}}
+
+
+
+
+ 处理后照片:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/order/order/orderList/orderList.vue b/order/order/orderList/orderList.vue
new file mode 100644
index 0000000..a55af5e
--- /dev/null
+++ b/order/order/orderList/orderList.vue
@@ -0,0 +1,359 @@
+
+
+
+
+
+
+
+
+
+
+
+
+ 工单标题:
+
+
+ {{item.name}}
+
+
+
+
+ 反馈科室:
+
+
+ {{item.feedbackName}}
+
+
+
+
+ 定位地址:
+
+
+ {{item.address}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/packageA/pages/generalPatrol/generalPatrol.vue b/packageA/pages/generalPatrol/generalPatrol.vue
index a1d203d..fc69fe2 100644
--- a/packageA/pages/generalPatrol/generalPatrol.vue
+++ b/packageA/pages/generalPatrol/generalPatrol.vue
@@ -148,12 +148,12 @@
toupload(lists, name) {
console.log(lists)
let list = [];
- for (var m of lists) {
- if(m.response){
- this.filesList.push(m)
- }
- }
- // this.form.files_list = list;
+ // for (var m of lists) {
+ // if(m.response){
+ // this.filesList.push(m)
+ // }
+ // }
+ this.filesList = list;
},
confirmUnit(e) {
var that = this;
diff --git a/packageB/pages/dailyInspection/dailyInspection.vue b/packageB/pages/dailyInspection/dailyInspection.vue
index 6423c0b..43bd9e0 100644
--- a/packageB/pages/dailyInspection/dailyInspection.vue
+++ b/packageB/pages/dailyInspection/dailyInspection.vue
@@ -180,17 +180,13 @@
toupload(lists, name, whatfile) {
var that = this;
let list = [];
- for (var m of lists) {
- if(m.response){
- if(whatfile=="filesList"){
- that.filesList.push(m);
- // this.form.files_list = list;
- }
- if(whatfile=="dealFilesList"){
- that.dealFilesList.push(m);
-
- }
- }
+ if(whatfile=="filesList"){
+ that.filesList = lists
+ // this.form.files_list = list;
+ }
+ if(whatfile=="dealFilesList"){
+ that.dealFilesList = lists;
+
}
},
radioChange(val){
diff --git a/pages.json b/pages.json
index 0152375..767d59a 100644
--- a/pages.json
+++ b/pages.json
@@ -126,7 +126,33 @@
}
}]
- }],
+ }, {
+ "root": "order/order",
+ "pages": [{
+ "path": "order/order",
+ "style": {
+ "navigationBarTitleText": "工单执行",
+ "enablePullDownRefresh": false
+ }
+
+ },{
+ "path": "orderList/orderList",
+ "style": {
+ "navigationBarTitleText": "工单执行",
+ "enablePullDownRefresh": true,
+ "navigationStyle": "custom",
+ "disableScroll": true
+ }
+ },{
+ "path": "orderInfo/orderInfo",
+ "style": {
+ "navigationBarTitleText": "工单执行",
+ "enablePullDownRefresh": false,
+ "disableScroll": true
+
+ }
+ }]
+ }],
"globalStyle": {
"navigationBarTextStyle": "white",
"navigationBarTitleText": "巡查养护",
diff --git a/pages/index/index.vue b/pages/index/index.vue
index 99aa87f..1ea79ae 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -20,6 +20,16 @@
雨管养护
+
+
+
+
+
+
+
+ 工单执行
+
+
@@ -85,6 +95,9 @@
}
if (type == 5) {
url = "/raininspection/raininspection/raininspection"
+ }
+ if (type == 6) {
+ url = "/order/order/order/order"
}
uni.navigateTo({
url: url
diff --git a/pages/mine/mine.vue b/pages/mine/mine.vue
index 41adb78..de03647 100644
--- a/pages/mine/mine.vue
+++ b/pages/mine/mine.vue
@@ -20,6 +20,16 @@
我的养护
+
+
+
+
+
+
+
+ 我的工单
+
+
@@ -76,6 +86,9 @@
}
if (type == 4) {
url = "/raininspection/raininspectionlist/raininspectionList"
+ }
+ if (type == 5) {
+ url = "/order/order/orderList/orderList"
}
uni.navigateTo({
url: url
diff --git a/raininspection/raininspection/raininspection.vue b/raininspection/raininspection/raininspection.vue
index c0834ab..9e2baa0 100644
--- a/raininspection/raininspection/raininspection.vue
+++ b/raininspection/raininspection/raininspection.vue
@@ -59,12 +59,7 @@
重新获取
-
-
-
-
-
-
+
@@ -413,17 +408,13 @@
toupload(lists, name, whatfile) {
var that = this;
let list = [];
- for (var m of lists) {
- if(m.response){
- if(whatfile=="filesList"){
- that.filesList.push(m);
- // this.form.files_list = list;
- }
- if(whatfile=="dealFilesList"){
- that.dealFilesList.push(m);
-
- }
- }
+ if(whatfile=="filesList"){
+ that.filesList = lists
+ // this.form.files_list = list;
+ }
+ if(whatfile=="dealFilesList"){
+ that.dealFilesList = lists;
+
}
},
afterSubmit(res) {
diff --git a/rainmaintain/rainmaintain/rainmaintain.vue b/rainmaintain/rainmaintain/rainmaintain.vue
index d0c59d5..991658a 100644
--- a/rainmaintain/rainmaintain/rainmaintain.vue
+++ b/rainmaintain/rainmaintain/rainmaintain.vue
@@ -292,17 +292,13 @@
toupload(lists, name, whatfile) {
var that = this;
let list = [];
- for (var m of lists) {
- if(m.response){
- if(whatfile=="filesList"){
- that.filesList.push(m);
- // this.form.files_list = list;
- }
- if(whatfile=="dealFilesList"){
- that.dealFilesList.push(m);
-
- }
- }
+ if(whatfile=="filesList"){
+ that.filesList = lists
+ // this.form.files_list = list;
+ }
+ if(whatfile=="dealFilesList"){
+ that.dealFilesList = lists;
+
}
},
afterSubmit(res) {