diff --git a/SupplierReview.html b/SupplierReview.html
index 0355fc7..33dd44f 100644
--- a/SupplierReview.html
+++ b/SupplierReview.html
@@ -925,7 +925,7 @@
-
供应商审核系统
+ 审核系统
-
-
+
+
+
+
@@ -1067,6 +1069,18 @@
window.location.href = 'login.html';
});
+ // 根据角色控制货源管理按钮的显示
+ const managementBtnEl = document.getElementById('managementBtn');
+ if (managementBtnEl) {
+ if (parsedUserInfo.projectName === '管理员') {
+ // 管理员显示按钮
+ managementBtnEl.style.display = 'block';
+ } else {
+ // 非管理员隐藏按钮
+ managementBtnEl.style.display = 'none';
+ }
+ }
+
return true;
}
diff --git a/index.html b/index.html
new file mode 100644
index 0000000..f1c0319
--- /dev/null
+++ b/index.html
@@ -0,0 +1,12 @@
+
+
+
+
+
+
审核系统
+
+
+
+
正在跳转到审核系统...
+
+
\ No newline at end of file