diff --git a/Management.html b/Management.html
index 52e91d7..38f97a3 100644
--- a/Management.html
+++ b/Management.html
@@ -980,7 +980,7 @@
if (userInfo.projectName === '采购员') {
window.location.href = 'supply.html';
} else {
- window.location.href = 'Reject.html';
+ window.location.href = 'SupplierReview.html';
}
return;
}
@@ -1180,7 +1180,7 @@
function initEventListeners() {
// 返回按钮点击事件
backBtn.addEventListener('click', () => {
- window.location.href = 'Reject.html';
+ window.location.href = 'SupplierReview.html';
});
// 时间筛选按钮
diff --git a/SupplierReview.html b/SupplierReview.html
index 76eb723..84d444e 100644
--- a/SupplierReview.html
+++ b/SupplierReview.html
@@ -936,10 +936,7 @@
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
overflow: hidden;
">
-
-
-
-
+
@@ -1069,17 +1066,7 @@
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/login.html b/login.html
index a23655d..d3a83c8 100644
--- a/login.html
+++ b/login.html
@@ -237,7 +237,7 @@
window.location.href = 'supply.html';
} else {
// 其他角色默认跳转到审核页面
- window.location.href = 'Reject.html';
+ window.location.href = 'SupplierReview.html';
}
} else {
// 登录失败
@@ -258,7 +258,7 @@
// 检查是否已登录
if (localStorage.getItem('userInfo') && localStorage.getItem('token')) {
// 如果已经登录,直接跳转到审核页面
- window.location.href = 'Reject.html';
+ window.location.href = 'SupplierReview.html';
}