zouling 3 hónapja
szülő
commit
7bc8e641f2

+ 4 - 1
work/pages/record/clockin.vue

@@ -151,7 +151,10 @@
 					pageSize: this.pageSize,
 					pageNum: this.pageNum,
 				}
-				if(!checkRole(['administrators'])){
+				// if(!checkRole(['administrators'])){
+				// 	params.userId=this.userId
+				// }
+				if(!checkPermi(['system:clock:glylist'])){
 					params.userId=this.userId
 				}
 				if(this.time){

+ 4 - 1
work/pages/yyorder/eatlist.vue

@@ -168,7 +168,10 @@
 					pageSize: this.pageSize,
 					pageNum: this.pageNum,
 				}
-				if(!checkRole(['administrators'])){
+				// if(!checkRole(['administrators'])){
+				// 	params.orderFoodUserId=this.userId
+				// }
+				if(!checkPermi(['system:clock:glylist'])){
 					params.orderFoodUserId=this.userId
 				}
 				if(this.jclx){

+ 4 - 1
work/pages/yyorder/meetlist.vue

@@ -178,7 +178,10 @@
 					pageSize: this.pageSize,
 					pageNum: this.pageNum,
 				}
-				if(!checkRole(['administrators'])){
+				// if(!checkRole(['administrators'])){
+				// 	params.orderUserId=this.userId
+				// }
+				if(!checkPermi(['system:clock:glylist'])){
 					params.orderUserId=this.userId
 				}
 				if(this.adrname){