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 @@