Commit d649f9bc authored by 黄奎's avatar 黄奎

页面修改

parent bc536633
......@@ -140,7 +140,9 @@
</div>
</template>
<script>
import {
GetClassTypePageList
} from "../../../api/system/index";
import {
GetStudentList
} from "../../../api/course/class";
......@@ -226,24 +228,21 @@
DepartmentList: [] //部门列表
};
},
computed: mapState({
//是否有下载权限
isReturnperiods(state) {
if (
state.user.userInfo &&
state.user.userInfo.ActionMenuList &&
state.user.userInfo.ActionMenuList.length > 0
) {
let action = state.user.userInfo.ActionMenuList.find(x => {
computed: {
//获取计算后的问题分类(读音选择题、汉字选择题等)
isReturnperiods() {
let UserInfo = this.getLocalStorage();
let isAuth = false;
if (UserInfo.ActionMenuList && UserInfo.ActionMenuList.length > 0) {
UserInfo.ActionMenuList.forEach(x => {
if (x.FunctionCode == "Edit_Returnperiods") {
return x;
isAuth = true;
}
});
return action && action.FunctionCode;
}
return false;
return isAuth;
}
}),
},
created() {
this.getCustomFrom();
this.queryDeptList();
......
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