From 2333a2db4ce91114ef31da49689a6a9ca2c654da Mon Sep 17 00:00:00 2001 From: zhangqun <179111901@qq.com> Date: Fri, 1 Sep 2023 11:30:54 +0800 Subject: [PATCH] =?UTF-8?q?=E9=AB=98=E9=80=9F=E8=BF=90=E8=A1=8C=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E5=88=97=E8=A1=A8=E5=92=8C=E8=81=94=E8=B0=83=E5=AE=8C?= =?UTF-8?q?=E6=88=90=EF=BC=8C=E8=AF=A6=E6=83=85=E5=AE=8C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 6 + pages/highWay/runData/detail.vue | 389 +++++++++++++++++++++++++++++++ pages/highWay/runData/form.vue | 71 +++++- pages/highWay/runData/list.vue | 212 ++++++++++++----- pages/login/login.vue | 2 +- 5 files changed, 618 insertions(+), 62 deletions(-) create mode 100644 pages/highWay/runData/detail.vue diff --git a/pages.json b/pages.json index fe7a304..ddbc85d 100644 --- a/pages.json +++ b/pages.json @@ -30,6 +30,12 @@ "navigationBarTitleText": "高速运行数据报送" } }, + { + "path": "pages/highway/runData/detail", + "style": { + "navigationBarTitleText": "高速运行数据详情" + } + }, { "path": "pages/highway/runStatusData/list", "style": { diff --git a/pages/highWay/runData/detail.vue b/pages/highWay/runData/detail.vue new file mode 100644 index 0000000..3e7aa77 --- /dev/null +++ b/pages/highWay/runData/detail.vue @@ -0,0 +1,389 @@ + + + + + diff --git a/pages/highWay/runData/form.vue b/pages/highWay/runData/form.vue index 5ac0ba7..fbdac73 100644 --- a/pages/highWay/runData/form.vue +++ b/pages/highWay/runData/form.vue @@ -25,8 +25,15 @@ + + + 夏庄收费站 + 夏庄收费站 + 夏庄收费站 + 夏庄收费站 + 夏庄收费站 + - 运行数据-1 高速公路名称: @@ -101,8 +108,12 @@ codeImg: '', //图形验证码 } }, - onLoad() { - this.getVerCode(); + onLoad(options) { + if(options.type == 'add'){ + + }else if(options.item) { + this.form = JSON.parse(options.item) + } }, methods: { //获取图形验证码 @@ -176,24 +187,70 @@ font-size: 30rpx; font-family: PingFang SC-Bold, PingFang SC; font-weight: bold; + margin-bottom: 30rpx; } .form_item { display: flex; align-items: center; - justify-content: space-around; - margin-bottom: 32rpx; + justify-content: space-between; + line-height: 37rpx; + font-family: PingFang SC-Regular, PingFang SC; + font-weight: 400; + margin-bottom: 30rpx; + .form_item_label{ + width: 240rpx; + color: #666666; + font-size: 26rpx; + word-break: break-all; + } + .form_item_input{ + color: #333; + text-align: right; + word-break: break-all; + } + } + } + } + //收费站 + .station_box{ + display: flex; + flex-wrap: wrap; + .station_item{ + height: 60rpx; + color: #666666; + line-height: 60rpx; + font-size: 26rpx; + font-family: PingFang SC-Regular, PingFang SC; + font-weight: 400; + border-radius: 20rpx; + border: 1rpx solid #C1C1C1; + padding:0 20rpx; + &.active{ + position: relative; + color: #1ECE5F; + border-color: #1ECE5F; + background: #EBFAF2; + .tag{ + position: absolute; + top: 0; + right: 0; + width: 34rpx; + height: 23rpx; + background: #1ECE5F; + border-radius: 0rpx 20rpx 0rpx 5rpx; + text-align: center; + } } } } - .foot_btn { position: fixed; left: 30rpx; right: 30rpx; bottom: 0; display: flex; - justify-content: space-around; + justify-content: space-between; padding: 40rpx 0; .act_btn { diff --git a/pages/highWay/runData/list.vue b/pages/highWay/runData/list.vue index ee66891..4c164e6 100644 --- a/pages/highWay/runData/list.vue +++ b/pages/highWay/runData/list.vue @@ -7,85 +7,93 @@ {{item.statDate || ''}}{{item.statPeriod || ''}} - - + + 收费站名称: - {{item2.tollStationName}}{{item2.show}} + {{item2.tollStationName}} - + 高速公路名称: - {{item2.highwayName}} + {{item2.highwayName || ''}} 收费站入口车辆数: - {{item2.entranceVehicleCount}} + {{item2.entranceVehicleCount || ''}} 收费站出口车辆数: - {{item2.exitVehicleCount}} + {{item2.exitVehicleCount || ''}} 免收通行费车辆数: - {{item2.tollExemptVehicleCount}} + {{item2.tollExemptVehicleCount || ''}} 免收通行费金额: - {{item2.tollExemptAmount}} + {{item2.tollExemptAmount || ''}} 出口通行费: - {{item2.exitToll}} + {{item2.exitToll || ''}} 报送人员及联系方式: - {{item2.submitPersonnelContact}} + {{item2.submitPersonnelContact || ''}} + + + + 收起 - 编辑 - 查看详情 + 编辑 + 查看详情 - 新建 - 查询 + 新建 + 查询 - - + + - 查询 + 查询条件 + 统计起止时间 - + - 统计时段 - - - + 统计时段 + + + {{index>-1?array[index].dictLabel:'请选择时段'}} + + +

重置

确认

-
-
+
+
@@ -182,7 +234,7 @@