From bbfe4dd2532bbd41c7f9d26285c7f0aae84ccb54 Mon Sep 17 00:00:00 2001
From: whycq <10027870+whycq@user.noreply.gitee.com>
Date: 星期三, 17 七月 2024 14:59:06 +0800
Subject: [PATCH] #

---
 pages/home/menuHome.vue |   55 +++----------------------------------------------------
 1 files changed, 3 insertions(+), 52 deletions(-)

diff --git a/pages/home/menuHome.vue b/pages/home/menuHome.vue
index 9f49465..c9f67c2 100644
--- a/pages/home/menuHome.vue
+++ b/pages/home/menuHome.vue
@@ -32,55 +32,6 @@
 						// cuIcon: 'pullup',
 						url: `/phyz/stationManage/stationManage`
 					},
-					// {
-					// 	title: '鍏ュ嚭搴撶鐞�',
-					// 	name: 'inOutManage',
-					// 	color: 'purple',
-					// 	// cuIcon: 'pullup',
-					// 	url: `/home/inOutManage`
-					// },
-					{
-						title: '鍗曟嵁绠$悊',
-						name: 'ordeManage',
-						color: 'mauve',
-						// cuIcon: 'pullup',
-						url: `/home/orderManage`
-					},
-					{
-						title: '搴撲綅绠$悊',
-						name: 'locManage',
-						color: 'blue',
-						// cuIcon: 'pullup',
-						url: `/home/locMastManage`
-					},
-					{
-						title: '浠诲姟绠$悊',
-						name: 'ordeManage',
-						color: 'olive',
-						// cuIcon: 'pullup',
-						url: `/home/wrkMastManage`
-					},
-					// {
-					// 	title: '娴嬭瘯',
-					// 	name: 'testView',
-					// 	color: 'blue',
-					// 	// cuIcon: 'pullup',
-					// 	url: `/home/testView` 
-					// },
-					/* {
-						title: '骞充粨绠$悊',
-						name: 'basicStore',
-						color: 'mauve',
-						// cuIcon: 'pullup',
-						url: '/home/basicStore'
-					},
-					{
-						title: '鍏朵粬',
-						name: 'other',
-						color: 'brown',
-						// cuIcon: 'pullup',
-						url: '/home/other'
-					}, */
 					{
 						title: '閫�鍑虹櫥褰�',
 						name: 'logOut',
@@ -96,7 +47,7 @@
 		onShow() {
 			this.baseUrl = uni.getStorageSync('baseUrl');
 			this.token = uni.getStorageSync('token');
-			this.getAuth()
+			this.getAuth(1,'0')
 			// this.backGroundRepeat()
 		},
 		methods: {
@@ -111,11 +62,11 @@
 					i++
 				}
 			},
-			getAuth() {
+			getAuth(lev,uid) {
 				let that = this
 				uni.request({
 					url: that.baseUrl + '/menu/pda/auth',
-					data: {level:1,id: '0'},
+					data: {level:lev,id: uid},
 					header: { 'token': uni.getStorageSync('token') },
 					method: 'POST',
 					success(res) {

--
Gitblit v1.9.1