From 95688fbabcde0e4fd8dbb622cc1b890aee1cc8ca Mon Sep 17 00:00:00 2001
From: wjt <1797368093@qq.com>
Date: 星期六, 22 六月 2024 19:39:26 +0800
Subject: [PATCH] Merge branch 'master' of http://218.28.192.34:9999/r/sqys/sqys_xcx

---
 qiye/my/my.vue |   23 +++++++++++++++++++++--
 1 files changed, 21 insertions(+), 2 deletions(-)

diff --git a/qiye/my/my.vue b/qiye/my/my.vue
index 63d3551..f5cf9eb 100644
--- a/qiye/my/my.vue
+++ b/qiye/my/my.vue
@@ -20,7 +20,7 @@
 				<text>{{msg.companyPhone}}</text>
 			</view>
 			<view class="wbox">
-				<view class="item">
+				<view class="item" @click="tousu()">
 					<view class="set-flex">
 						<image src="/static/qiye/q06.png" mode="widthFix"></image>
 						<text class="change">鎶曡瘔璁板綍</text>
@@ -50,7 +50,7 @@
 			
 		
 		</view> -->
-		<view class="logout">
+		<view class="logout" @click="logout()">
 			閫�鍑虹櫥褰�
 		</view>
 		<tabsCom :activeNumber.sync="activeNumber"></tabsCom>
@@ -77,6 +77,25 @@
 				uni.navigateTo({
 					url: '/policy/changePhone/changePhone?code=02'
 				})
+			},
+			tousu(){
+				uni.navigateTo({
+					url: '/qiye/complaint/complaint'
+				})
+			},
+			logout(){
+				uni.showModal({
+				     title: '鎻愮ず',
+				     content: '纭閫�鍑虹櫥褰曪紵',
+				     success: res => {
+				      if(res.confirm) {
+				       uni.clearStorageSync()
+				       uni.redirectTo({
+				        url: '/pages/index/index'
+				       })
+				      }
+				     }
+				    })
 			}
 		}
 	}

--
Gitblit v1.9.1