Commit 47a85cae by chenshu

fix:修复学员标签显示

parent 1f70803e
...@@ -78,11 +78,6 @@ function EmployeeManage() { ...@@ -78,11 +78,6 @@ function EmployeeManage() {
avatar: "", avatar: "",
}); });
const [roleIds, setRoleIds] = useState<Array<RoleItemType>>([]); const [roleIds, setRoleIds] = useState<Array<RoleItemType>>([]);
const roleMap = {
CloudManager: "管理员",
CloudLecturer: "讲师",
StoreManager: "学院管理员",
};
const storeId = User.getStoreId(); const storeId = User.getStoreId();
const StoreType = User.getStoreType(); const StoreType = User.getStoreType();
const isWorkWechat = !!(StoreType === "WE_CHAT_STORE"); const isWorkWechat = !!(StoreType === "WE_CHAT_STORE");
......
...@@ -11,6 +11,7 @@ const roleMap = { ...@@ -11,6 +11,7 @@ const roleMap = {
CloudManager: "管理员", CloudManager: "管理员",
CloudLecturer: "讲师", CloudLecturer: "讲师",
StoreManager: "学院管理员", StoreManager: "学院管理员",
CloudOperator: '运营师',
}; };
export default class CollegeManagePage extends React.Component { export default class CollegeManagePage extends React.Component {
......
...@@ -80,11 +80,6 @@ function EmployeesManagePage() { ...@@ -80,11 +80,6 @@ function EmployeesManagePage() {
avatar: "", avatar: "",
}); });
const [roleIds, setRoleIds] = useState<Array<RoleItemType>>([]); const [roleIds, setRoleIds] = useState<Array<RoleItemType>>([]);
const roleMap = {
CloudManager: "管理员",
CloudLecturer: "讲师",
StoreManager: "学院管理员",
};
const storeId = User.getStoreId(); const storeId = User.getStoreId();
const StoreType = User.getStoreType(); const StoreType = User.getStoreType();
const isWorkWechat = !!(StoreType === "WE_CHAT_STORE"); const isWorkWechat = !!(StoreType === "WE_CHAT_STORE");
......
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