Browse Source

编辑按钮权限

xyxie 9 months ago
parent
commit
8385618d32
1 changed files with 2 additions and 2 deletions
  1. 2 2
      services/data/excel/excel_info.go

+ 2 - 2
services/data/excel/excel_info.go

@@ -226,7 +226,7 @@ func GetBalanceExcelInfoOpButton(sysUserId, belongUserId int, haveOperaAuth bool
 
 	belongUserId = parentSysUserId
 	if sysUserId == belongUserId {
-		button.OpEdbButton = true
+		button.OpButton = true
 		button.RefreshEdbButton = true
 		button.OpWorkerButton = true
 	} else {
@@ -235,7 +235,7 @@ func GetBalanceExcelInfoOpButton(sysUserId, belongUserId int, haveOperaAuth bool
 		if err == nil {
 			for _, v := range workerList {
 				if v.SysUserId == sysUserId {
-					button.OpEdbButton = true
+					button.OpButton = true
 					button.RefreshEdbButton = true
 					break
 				}