From 0978691dc9047c7090dca64406f5d0ac027e8df4 Mon Sep 17 00:00:00 2001 From: qingyiay <2386314947@qq.com> Date: 星期一, 30 十月 2023 17:59:31 +0800 Subject: [PATCH] 自主配送功能优化 部分功能增删 提煤单详情页面修改 --- pages/driver-page/appointment/appointment.vue | 31 +++++++++++++++++++++++++------ 1 files changed, 25 insertions(+), 6 deletions(-) diff --git a/pages/driver-page/appointment/appointment.vue b/pages/driver-page/appointment/appointment.vue index 3c9cdd5..339fe4c 100644 --- a/pages/driver-page/appointment/appointment.vue +++ b/pages/driver-page/appointment/appointment.vue @@ -1,5 +1,9 @@ <template> <view class="appointment"> + <view class="appointment-description" + v-if="isRCSQ"> + *鎮ㄥ綋鍓嶇殑棰勭害鏃堕棿娈�<text>{{yuYueSection}}</text> + </view> <combined-title :title="yuYueData.length != 0 ? yuYueData[0].filedName + '鈥斺��' + yuYueData[0].sendDate : '鏆傛棤棰勭害鍒楄〃'"></combined-title> <view class="appointment-table"> @@ -55,13 +59,15 @@ deptId: '', filedId: '', remark: '' - } + }, + yuYueSection: '' }; }, onLoad(params) { if (params.type == '鍏ュ満鐢宠') { this.isRCSQ = true; this.rcsqData.originalYyId = params.yyId; + this.yuYueSection = params.yuYueSection } this.yuYuePostParams.takeCoalId = params.takeCoalId; this.yuYueListParams.filedId = params.filedId; @@ -109,10 +115,10 @@ this.yuYueList(); this.$u.toast('棰勭害鎴愬姛'); let timer = setTimeout(() => { - uni.navigateBack({ - delta: 1 - }); - }, 500); + uni.switchTab({ + url: '/pages/tabbar-page/index-tabbar/index-tabbar' + }) + }, 1500); } else { this.$u.toast(res.msg ? res.msg : '棰勭害澶辫触'); } @@ -130,7 +136,7 @@ uni.switchTab({ url: '/pages/tabbar-page/index-tabbar/index-tabbar' }) - }, 500); + }, 1500); } else { this.$u.toast(res.msg ? res.msg : '鍏ュ満鐢宠澶辫触锛岃绋嶅悗閲嶈瘯'); } @@ -146,6 +152,19 @@ width: 94%; margin: 0 auto; + // 棰勭害鐣岄潰鎻忚堪 + .appointment-description { + margin: vww(8) 0; + color: #fd1446; + + text { + font-weight: bold; + display: inline-block; + margin-left: vww(5); + color: #252525; + } + } + h1 { font-size: vww(20); text-align: center; -- Gitblit v1.9.1