Commit 805eac1c by chenshu

feat:完善各页面

parent 9482011c
...@@ -58,7 +58,7 @@ function UserManagePage() { ...@@ -58,7 +58,7 @@ function UserManagePage() {
} }
function parseColumn() { function parseColumn() {
return [ const list = [
{ {
title: "用户姓名", title: "用户姓名",
dataIndex: "nickName", dataIndex: "nickName",
...@@ -91,6 +91,10 @@ function UserManagePage() { ...@@ -91,6 +91,10 @@ function UserManagePage() {
}, },
}, },
]; ];
if (User.getUserRole() !== 'StoreManager') {
list.splice(1, 1);
}
return list;
} }
function handleToAddEmployee() { function handleToAddEmployee() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment