zouling vor 3 Monaten
Ursprung
Commit
7bc8e641f2
3 geänderte Dateien mit 12 neuen und 3 gelöschten Zeilen
  1. 4 1
      work/pages/record/clockin.vue
  2. 4 1
      work/pages/yyorder/eatlist.vue
  3. 4 1
      work/pages/yyorder/meetlist.vue

+ 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){