From c3aaf28f7316cce12eec007a9f85a96cbcddeec2 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期三, 07 五月 2025 10:34:20 +0800
Subject: [PATCH] 最新版本541200007
---
h5/pages/staff/index.vue | 50 +++++++++++++++++++++++++-------------------------
1 files changed, 25 insertions(+), 25 deletions(-)
diff --git a/h5/pages/staff/index.vue b/h5/pages/staff/index.vue
index 1be8797..d9c3472 100644
--- a/h5/pages/staff/index.vue
+++ b/h5/pages/staff/index.vue
@@ -4,7 +4,7 @@
<view class="name" v-if="userInfo.realname">{{ userInfo.realname || userInfo.username || "" }}锛屾杩庣櫥褰曪綖</view>
<view class="name" v-else>璇峰厛鐧诲綍</view>
<view class="btn" @click="loginOut">{{
- userInfo.username ? "閫�鍑虹櫥褰�" : "鍘荤櫥褰�"
+ userInfo.username ? "璐﹀彿瑙g粦" : "鍘荤櫥褰�"
}}</view>
</view>
<view class="banner_wrap">
@@ -53,7 +53,7 @@
stagingHead,
wxAuthorize,
refreshToken,
- app_url,
+ app_url,
delHkUserOpenid
} from '@/api'
export default {
@@ -145,7 +145,7 @@
} else if (yw == 7) {
this.jump('/pages/staff/task/driver?id=' + ywinfo.ywid)
} else if (yw == 5) {
- this.jump('/pages/staff/vehicle/sendACarDetail')
+ this.jump('/pages/staff/vehicle/sendACarDetail?id=' + ywinfo.ywid)
}
}, 100)
}
@@ -173,25 +173,25 @@
loginOut() {
logoutPost({
isH5: 1
- }).then(res => {
- const userInfo = uni.getStorageSync('userInfo')
- const openId = uni.getStorageSync('openId')
- this.$store.commit('empty')
- if(openId){
- delHkUserOpenid({
- userName: userInfo.username,
- openId
- }).then(ress => {
- setTimeout(() => {
- window.location.href = app_url
- }, 300)
- })
- }else{
- setTimeout(() => {
- window.location.href = app_url
- }, 300)
- }
-
+ }).then(res => {
+ const userInfo = uni.getStorageSync('userInfo')
+ const openId = uni.getStorageSync('openId')
+ this.$store.commit('empty')
+ if(openId){
+ delHkUserOpenid({
+ userName: userInfo.username,
+ openId
+ }).then(ress => {
+ setTimeout(() => {
+ window.location.href = app_url
+ }, 300)
+ })
+ }else{
+ setTimeout(() => {
+ window.location.href = app_url
+ }, 300)
+ }
+
})
},
getTaskInfo() {
@@ -226,9 +226,9 @@
width: 144rpx;
height: 56rpx;
border-radius: 36rpx;
- border: 1rpx solid $uni-color-primary;
+ border: 1rpx solid #B2B2B2;
font-size: 26rpx;
- color: $uni-color-primary;
+ color: #666666;
display: flex;
justify-content: center;
align-items: center;
@@ -328,4 +328,4 @@
height: 40rpx;
}
}
-</style>
\ No newline at end of file
+</style>
--
Gitblit v1.9.3