From 8848a17b9a7bf7b5e5ba36d1ce607e9b776c0aac Mon Sep 17 00:00:00 2001
From: zhangqun <179111901@qq.com>
Date: Sun, 8 Oct 2023 15:34:36 +0800
Subject: [PATCH] =?UTF-8?q?20231008=E6=9D=83=E9=99=90=E6=8A=A5=E9=80=81?=
=?UTF-8?q?=E5=8F=98=E6=9B=B4=E9=9C=80=E6=B1=82?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages.json | 4 +-
pages/bus/busDataInfo/form.vue | 98 ++-
pages/highWay/runData/form.vue | 28 +-
pages/highWay/runData/list.vue | 2 +-
pages/highWay/runStatusData/list.vue | 2 +-
pages/home/index.vue | 2 +-
.../portShipping/waterInternational/form.vue | 707 +++++++++++++-----
pages/railway/railwayRunData/form.vue | 431 ++++++++---
pages/railway/railwayRunData/list.vue | 2 +-
pages/roadTransport/transportData/form.vue | 77 +-
pages/roadTransport/transportData/list.vue | 83 +-
pages/water/waterWay/form.vue | 56 ++
12 files changed, 1075 insertions(+), 417 deletions(-)
diff --git a/pages.json b/pages.json
index c6fc74d..2cb74fa 100644
--- a/pages.json
+++ b/pages.json
@@ -2,7 +2,7 @@
"pages": [{
"path": "pages/home/home",
"style": {
- "navigationBarTitleText": "交通运输报送系统"
+ "navigationBarTitleText": "青岛交通信息"
}
},
{
@@ -14,7 +14,7 @@
{
"path": "pages/login/login",
"style": {
- "navigationBarTitleText": "交通运输报送系统",
+ "navigationBarTitleText": "青岛交通信息",
"navigationBarBackgroundColor": "#2D8CF0"
}
},
diff --git a/pages/bus/busDataInfo/form.vue b/pages/bus/busDataInfo/form.vue
index 67eb7c7..deb2a1e 100644
--- a/pages/bus/busDataInfo/form.vue
+++ b/pages/bus/busDataInfo/form.vue
@@ -38,6 +38,85 @@
+
+
+ 投入车辆统计:
+
+ {{form.entranceVehicleCount === 0 ? form.entranceVehicleCount : form.entranceVehicleCount || ''}}
+
+
+
+
+
+
+ 投入车辆统计环比
+
+ {{formatDigit(form.entranceVehicleCountMom)}}%
+
+
+
+
+ 投入车辆统计同比
+
+ {{formatDigit(form.entranceVehicleCountYoy)}}%
+
+
+
+
+ 人数统计:
+
+ {{form.exitVehicleCount === 0 ? form.exitVehicleCount : form.exitVehicleCount || ''}}
+
+
+
+
+
+
+ 人数统计环比
+
+ {{formatDigit(form.exitVehicleCountMom)}}%
+
+
+
+
+ 人数统计同比
+
+ {{formatDigit(form.exitVehicleCountYoy)}}%
+
+
+
+
+ 班次统计:
+
+ {{form.exitVehicleCount === 0 ? form.exitVehicleCount : form.exitVehicleCount || ''}}
+
+
+
+
+
+
+ 班次统计环比
+
+ {{formatDigit(form.exitVehicleCountMom)}}%
+
+
+
+
+ 班次统计同比
+
+ {{formatDigit(form.exitVehicleCountYoy)}}%
+
+
+
@@ -246,6 +325,9 @@
phoneNumber: tel
});
},
+ checkNotEmpty(data) {
+ return checkNotEmpty(data);
+ },
formatDigit(data) {
return (data+'').indexOf('.') > -1 && (data+'').substring((data+'').indexOf('.')).length > 2 ? data.toFixed(2) : data;
},
@@ -292,20 +374,20 @@
busUnit:item.stationName,
// busIndex:'',
vehicleInput:'',
- vehicleInputMom:0,
- vehicleInputYoy:0,
- operatingShiftsMom:0,
- operatingShiftsYoy:0,
+ vehicleInputMom:'',
+ vehicleInputYoy:'',
+ operatingShiftsMom:'',
+ operatingShiftsYoy:'',
passengerCount:'',
- passengerCountMom:0,
- passengerCountYoy:0,
+ passengerCountMom:'',
+ passengerCountYoy:'',
yestVehicleInput:'',
yestOperatingShifts:'',
yestPassengerCount:'',
lyVehicleInput:'',
lyPassengerCount:'',
lyOperatingShifts:'',
- isPassengerCountConvert:0,
+ isPassengerCountConvert:'',
})
})
} else {
@@ -338,7 +420,7 @@
"yestPassengerCount": '',
"yesterdayvehicleInput": '',
"yestOperatingShifts":'',
- "isPassengerCountConvert":0,
+ "isPassengerCountConvert":'',
})
}
})
diff --git a/pages/highWay/runData/form.vue b/pages/highWay/runData/form.vue
index 4096609..c58a9f4 100644
--- a/pages/highWay/runData/form.vue
+++ b/pages/highWay/runData/form.vue
@@ -6,7 +6,7 @@
基本信息
-
+
统计日期:
@@ -271,11 +271,11 @@
},
onLoad(options) {
this.userInfo = uni.getStorageSync('userInfo');
- let arr = uni.getStorageSync('deptName');
- this.deptNameList = checkNotEmpty(arr) ? arr : [];
+ // let arr = uni.getStorageSync('deptName');
+ // this.deptNameList = checkNotEmpty(arr) ? arr : [];
if (options.type == 'add') {
- this.form.organizationName = this.deptNameList.length > 0 ? this.deptNameList[0].deptName : '';
- this.form.organizationNameIndex = this.deptNameList.length > 0 ? 0 : '';
+ // this.form.organizationName = this.deptNameList.length > 0 ? this.deptNameList[0].deptName : '';
+ // this.form.organizationNameIndex = this.deptNameList.length > 0 ? 0 : '';
this.pageType = 'add';
let now = new Date();
this.form.statDate = getDateStr(now, -1); //默认前一天
@@ -307,14 +307,14 @@
this.$request(getApp().globalData.baseUrl + '/api/biz/highwayParentDataController/selectById/' + id, {},
'GET').then(res => {
this.form = res.data;
- if (checkNotEmpty(this.deptNameList)) {
- let idx = this.deptNameList.findIndex(item => item.deptName == this.form.organizationName);
- this.form.organizationNameIndex = idx > -1 ? idx : '';
- if(!checkNotEmpty(this.form.organizationName)) {
- this.form.organizationName = this.deptNameList.length > 0 ? this.deptNameList[0].deptName : '';
- this.form.organizationNameIndex = this.deptNameList.length > 0 ? 0 : '';
- }
- }
+ // if (checkNotEmpty(this.deptNameList)) {
+ // let idx = this.deptNameList.findIndex(item => item.deptName == this.form.organizationName);
+ // this.form.organizationNameIndex = idx > -1 ? idx : '';
+ // if(!checkNotEmpty(this.form.organizationName)) {
+ // this.form.organizationName = this.deptNameList.length > 0 ? this.deptNameList[0].deptName : '';
+ // this.form.organizationNameIndex = this.deptNameList.length > 0 ? 0 : '';
+ // }
+ // }
this.queryTime();
this.queryStation();
})
diff --git a/pages/highWay/runData/list.vue b/pages/highWay/runData/list.vue
index 460ade3..d6dc7c4 100644
--- a/pages/highWay/runData/list.vue
+++ b/pages/highWay/runData/list.vue
@@ -7,7 +7,7 @@
{{item.statDate || ''}}{{item.statPeriodValue || ''}}
- {{item.organizationName || ''}}
+
diff --git a/pages/highWay/runStatusData/list.vue b/pages/highWay/runStatusData/list.vue
index 13b02fd..e6cf3f6 100644
--- a/pages/highWay/runStatusData/list.vue
+++ b/pages/highWay/runStatusData/list.vue
@@ -6,7 +6,7 @@
{{item.statDate || ''}}{{item.statPeriodValue || ''}}
- {{item.organizationName || ''}}
+
diff --git a/pages/home/index.vue b/pages/home/index.vue
index 1d460ad..74a6f54 100644
--- a/pages/home/index.vue
+++ b/pages/home/index.vue
@@ -44,7 +44,7 @@
if(this.routersData.length == 0 && options.routers) {
this.routersData = JSON.parse(options.routers);
uni.setNavigationBarTitle({
- title: this.routersData.meta.title || '交通运输报送系统'
+ title: this.routersData.meta.title || '青岛交通信息'
})
this.routersData.children.map((item,index) => {
item.show = index == 0 ? true : false;
diff --git a/pages/portShipping/waterInternational/form.vue b/pages/portShipping/waterInternational/form.vue
index ab8e304..a0afff3 100644
--- a/pages/portShipping/waterInternational/form.vue
+++ b/pages/portShipping/waterInternational/form.vue
@@ -9,13 +9,19 @@
所属单位:
-
{{form.organizationName?form.organizationName:'请选择'}}
- {{form.organizationName}}
+ {{form.organizationName}} -->
+
+ {{form.organizationName}}
@@ -55,9 +61,9 @@
航线:
- changeRoute(e, index)">
- {{item.route?item.route:'请选择'}}
+ changeRoute(e, index)">
+ {{item.route?item.route:'请选择'}}
@@ -65,9 +71,10 @@
航次:
- changeVoyage(e, index)">
- {{item.voyage?item.voyage:'请选择'}}
+ changeVoyage(e, index)">
+ {{item.voyage?item.voyage:'请选择'}}
@@ -75,8 +82,8 @@
航次数:
-
+
@@ -103,26 +110,25 @@
{{item.direction == '1' ? '入青' : item.direction == '2' ? '出青' : ''}}旅客人数:
-
+
-
+
-
- {{item.direction == '1' ? '入青' : item.direction == '2' ? '出青' : ''}}旅客人数环比
-
+
+ {{item.direction == '1' ? '入青' : item.direction == '2' ? '出青' : ''}}旅客人数环比
+
+
{{formatDigit(form.passengerDod)}}%
- {{item.direction == '1' ? '入青' : item.direction == '2' ? '出青' : ''}}旅客人数同比
+ {{item.direction == '1' ? '入青' : item.direction == '2' ? '出青' : ''}}旅客人数同比
+
{{formatDigit(item.passengerYoy)}}%
@@ -131,16 +137,16 @@
-
+
国际邮轮-{{ index+1 }}
@@ -149,9 +155,9 @@
航线:
- changeRoute(e, index)">
- {{item.route?item.route:'请选择'}}
+ changeRoute(e, index)">
+ {{item.route?item.route:'请选择'}}
@@ -159,9 +165,10 @@
航次:
- changeVoyage(e, index)">
- {{item.voyage?item.voyage:'请选择'}}
+ changeVoyage(e, index)">
+ {{item.voyage?item.voyage:'请选择'}}
@@ -169,8 +176,8 @@
航次数:
-
+
@@ -197,26 +204,25 @@
{{item.direction == '1' ? '入青' : item.direction == '2' ? '出青' : ''}}旅客人数:
-
+
-
+
-
- {{item.direction == '1' ? '入青' : item.direction == '2' ? '出青' : ''}}旅客人数环比
-
+
+ {{item.direction == '1' ? '入青' : item.direction == '2' ? '出青' : ''}}旅客人数环比
+
+
{{formatDigit(form.passengerDod)}}%
- {{item.direction == '1' ? '入青' : item.direction == '2' ? '出青' : ''}}旅客人数同比
+ {{item.direction == '1' ? '入青' : item.direction == '2' ? '出青' : ''}}旅客人数同比
+
{{formatDigit(item.passengerYoy)}}%
@@ -225,9 +231,8 @@
@@ -238,6 +243,99 @@
+
+
+
+
+
+
+ 填报单位
+
+
+
+
+
+ 取消
+ 确认
+
+
+
+