From dae4dd37d7d716aea8020c6f83a435453b9b9a15 Mon Sep 17 00:00:00 2001 From: jinna Date: Fri, 8 Sep 2023 18:01:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=81=93=E8=B7=AF=E8=BF=90?= =?UTF-8?q?=E8=BE=93=E4=B8=8E=E5=85=AC=E4=BA=A4=E4=BF=AE=E6=94=B9=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 17 +- pages/bus/busDataInfo/form-copy.vue | 617 +++++++++++++ pages/bus/busDataInfo/form.vue | 954 ++++++++++++-------- pages/home/index.vue | 4 +- pages/portShipping/pilotStation/form.vue | 22 + pages/portShipping/pilotStation/list.vue | 23 + pages/roadTransport/dataSubmission/form.vue | 94 +- pages/roadTransport/transportData/form.vue | 241 ++--- 8 files changed, 1462 insertions(+), 510 deletions(-) create mode 100644 pages/bus/busDataInfo/form-copy.vue create mode 100644 pages/portShipping/pilotStation/form.vue create mode 100644 pages/portShipping/pilotStation/list.vue diff --git a/pages.json b/pages.json index dc0d926..ca75977 100644 --- a/pages.json +++ b/pages.json @@ -156,7 +156,8 @@ { "path": "pages/roadTransport/transportData/list", "style": { - "navigationBarTitleText": "道路运输" + "navigationBarTitleText": "道路运输", + "enablePullDownRefresh": true } }, { @@ -206,6 +207,20 @@ "style": { "navigationBarTitleText": "公交投入数据报送" } + }, + { + "path": "pages/portShipping/pilotStation/list", + "style": { + "navigationBarTitleText": "引航站" + } + } + ,{ + "path" : "pages/bus/busDataInfo/form-copy", + "style" : + { + "navigationBarTitleText": "", + "enablePullDownRefresh": false + } } ], diff --git a/pages/bus/busDataInfo/form-copy.vue b/pages/bus/busDataInfo/form-copy.vue new file mode 100644 index 0000000..2e95c02 --- /dev/null +++ b/pages/bus/busDataInfo/form-copy.vue @@ -0,0 +1,617 @@ + + + + + diff --git a/pages/bus/busDataInfo/form.vue b/pages/bus/busDataInfo/form.vue index 2e95c02..dea9e39 100644 --- a/pages/bus/busDataInfo/form.vue +++ b/pages/bus/busDataInfo/form.vue @@ -1,14 +1,29 @@ - + + diff --git a/pages/portShipping/pilotStation/list.vue b/pages/portShipping/pilotStation/list.vue new file mode 100644 index 0000000..fddae25 --- /dev/null +++ b/pages/portShipping/pilotStation/list.vue @@ -0,0 +1,23 @@ + + + + + diff --git a/pages/roadTransport/dataSubmission/form.vue b/pages/roadTransport/dataSubmission/form.vue index 46e62ef..dc3efda 100644 --- a/pages/roadTransport/dataSubmission/form.vue +++ b/pages/roadTransport/dataSubmission/form.vue @@ -9,12 +9,12 @@ 基本信息 - +

统计日期

@@ -43,19 +43,57 @@
- 综合运输数据 + 交通运行情况

交通运输情况:

+ +

较大以上安全事故次数

+ + + +
+ +

当日人员伤者数(人)

+ + + +
+ +

交通运行情况

+ + + +
+ +

当日人员亡者数(人)

+ + + +
+ +

应急情况报告

+

{{synthData.emergencySituationReport}}

+ + + +
+
-

取消

-

确认

+ +

保存

+

修改并保存

@@ -137,7 +175,6 @@ // 点击确认按钮 confirmRoad(){ let params = this.synthData; - console.log(params) if(params.reportDatetime == ''){ uni.showToast({ title:'请选择统计日期', @@ -151,18 +188,28 @@ }else{ uni.showModal({ title:"提示", - content:"您确定,提交修改吗?", + content:params.id == undefined ? "您确认提交该条报送数据?" : "您确认将该条数据进行修改?", success:(res) =>{ if(res.confirm){ this.$request(getApp().globalData.baseUrl + '/api/biz/roadtransport/operation/saveOrUpdate',params,'POST').then(res =>{ if(res.code == 200){ uni.showToast({ - title:'填报成功', - icon:"none" - }); - setTimeout(() =>{ - uni.navigateBack() - },500) + title:"报送提交成功", + icon:"none", + success: () => { + if(params.id == undefined){ + setTimeout(() =>{ + uni.redirectTo({ + url:"/pages/roadTransport/dataSubmission/list" + }) + },300) + }else{ + setTimeout(() =>{ + uni.navigateBack() + },300) + } + } + }) } }) }else if(res.cancel){} @@ -181,13 +228,14 @@