From 0becab45282781f281ad5aa04202b83039ab275e Mon Sep 17 00:00:00 2001
From: qingyiay <2386314947@qq.com>
Date: 星期五, 14 四月 2023 17:42:08 +0800
Subject: [PATCH] 增加发运统计页面,修改websocket,增加消息推送
---
pages/freight-forwarder-page/freightForwarder-my/freightForwarder-my.vue | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/pages/freight-forwarder-page/freightForwarder-my/freightForwarder-my.vue b/pages/freight-forwarder-page/freightForwarder-my/freightForwarder-my.vue
index ca82383..01a7f7b 100644
--- a/pages/freight-forwarder-page/freightForwarder-my/freightForwarder-my.vue
+++ b/pages/freight-forwarder-page/freightForwarder-my/freightForwarder-my.vue
@@ -34,7 +34,10 @@
<view class="addCarButton"><u-button text="娣诲姞" type="primary" @click="addNewGroupClick"></u-button></view>
</u-popup>
</view>
+
+ <view class="statistics"><u-button text="鍙戣繍缁熻" type="primary" @click="statistics"></u-button></view>
<view class="utils"><u-button text="閫�鍑虹櫥褰�" type="primary" @click="logout"></u-button></view>
+
<!-- 鍒犻櫎杞﹂槦妯℃�佹 -->
<view class="deleteFleetModal">
<u-modal
@@ -146,6 +149,8 @@
console.log('鍒犻櫎杞﹂槦', res);
if (res.code == 0) {
this.$u.toast('鍒犻櫎鎴愬姛');
+ } else {
+ this.$u.toast(res.msg ? res.msg : '鍒犻櫎澶辫触');
}
uni.hideLoading();
this.getFleet();
@@ -165,12 +170,22 @@
},
logoutCancel() {
this.logoutShow = false;
+ },
+ // 璺宠浆鍙戣繍缁熻椤甸潰
+ statistics() {
+ uni.navigateTo({
+ url: '/pages/customer-page/customer-my/faYunstatistics/faYunstatistics'
+ });
}
}
};
</script>
<style lang="scss" scoped>
+.statistics {
+ margin-top: vww(10);
+ margin-bottom: vww(10);
+}
::v-deep.freightForwarder-my {
width: 94%;
margin: 0 auto;
@@ -198,6 +213,7 @@
.addCarButton {
width: 40%;
margin: 0 auto;
+ color: rgb(10, 108, 255);
}
}
}
--
Gitblit v1.9.1