大家好,我是java1234_小锋老师,看到一个不错的SpringBoot+Vue教务管理(课程管理)系统,分享下哈。
教务管理工作是高等学校教育工作的一项重要内容,是整个学校管理的核心和基础。教务管理工作是指学校管理人员按照一定教育方针,运用先进的管理手段,组织 、协调 、指挥并指导各方面人员的活动,以便高效率、高质量地完成各项教学任务,完成国家所制定的教育目标。教务管理工作是学校教学工作的中枢,是保证高校教学机制正常运转的枢纽,它是一项目的性、计划性、适用性、创造性和科学性很强的工作。教务管理工作关系到高校教学秩序的稳定和教学质量的提高,关系到高校的发展和人才的培养,教务管理高校中占有相当重要的地位。
随着计算机技术的飞速发展和高等教育体制改革的不断深入,传统教育管理方法、手段以及工作效率已不能适应新的发展需要,无法很好地完成教学管理工作。提高教务管理水平的主要途径是更新管理者的思想,增强对管理活动的科学认识。同时,运用先进的信息技术,开发高校综合教务管理信息系统,是深化教务体制改革的有利措施。
vue是以组件化的编程方式、面向对象的程序设计、快速的Pascal编译器、众多的组件和强大的数据库及网络应用开发支持,在竞争激励的开发工具市场中越来越羸得程序设计者的青睐。vue是Windows系统下的可视化集成开发工具,提供了强大的可视化组件功能,使程序员能够快速、高效地开发出Windows系统下的应用程序,特别是在数据库和网络方面,vue与其它开发工具相比更是胜出一筹。可视化主要是指开发图形用户界面时,不需编写大量程序代码以描述界面的外观特性,而只需把所需的组件加入窗体相应位置即可。









- package com.rainng.coursesystem.controller;
-
- import com.rainng.coursesystem.model.vo.request.LoginVO;
- import com.rainng.coursesystem.model.vo.response.ResultVO;
- import com.rainng.coursesystem.service.UserService;
- import org.springframework.validation.annotation.Validated;
- import org.springframework.web.bind.annotation.PostMapping;
- import org.springframework.web.bind.annotation.RequestBody;
- import org.springframework.web.bind.annotation.RequestMapping;
- import org.springframework.web.bind.annotation.RestController;
-
- @RequestMapping("/user")
- @RestController
- public class UserController extends BaseController {
- private final UserService service;
-
- public UserController(UserService service) {
- this.service = service;
- }
-
- @PostMapping("/login")
- public ResultVO login(@Validated @RequestBody LoginVO loginVO) {
- String username = loginVO.getUsername();
- String password = loginVO.getPassword();
- Integer userType = loginVO.getUserType();
- return service.login(username, password, userType);
- }
-
- @RequestMapping("/login/status")
- public ResultVO getLoginStatus() {
- return service.getLoginStatus();
- }
-
- @RequestMapping("/logout")
- public ResultVO logout() {
- return service.logout();
- }
- }
- <template>
- <div
- class="login-wrap"
- style="height: 100vh;
- display: flex; align-items: center;
- justify-content: center;
- "
- >
- <div
- style="display: flex; background-color: white; width: 54%; border-radius: 5px; overflow: hidden"
- >
- <div style="flex: 1">
- <img src="@/assets/16.jpg" alt="" style="width: 450px;height: 400px" />
- div>
- <div
- style="flex: 1; display: flex; align-items: center; justify-content: center"
- >
- <el-form :model="formData" style="width: 80%" :rules="rules" ref="form">
- <div
- style="font-size: 20px; font-weight: bold; text-align: center; margin-bottom: 20px"
- >
- 欢迎登录教务管理(课程管理)系统
- div>
- <el-form-item prop="username">
-
- <el-input
- v-model="formData.username"
- placeholder="学号/工号/用户名"
- autocomplete="off"
- >
- <i slot="prefix" class="el-input__icon el-icon-user">i>
- el-input>
- el-form-item>
-
- <el-form-item prop="password">
- <el-input
- v-model="formData.password"
- size="medium"
- placeholder="请输入密码"
- clearable
- show-password
- autocomplete="off"
- >
- <i slot="prefix" class="el-input__icon el-icon-lock">i>
- el-input>
- el-form-item>
- <el-form-item prop="userType">
- <el-radio-group v-model="formData.userType" label-width="100%">
- <el-radio-button label="1">学生el-radio-button>
- <el-radio-button label="2">教师el-radio-button>
- <el-radio-button label="3">教务管理员el-radio-button>
- el-radio-group>
- el-form-item>
-
-
-
-
-
-
-
-
- <el-form-item>
- <el-button type="primary" style="width: 100%" @click="submit()"
- >登 录
- >
- el-form-item>
- <a href="http://www.java1234.com/a/bysj/javaweb/" target='_blank'><font color=red>Java1234收藏整理font>a>
-
- el-form>
- div>
- div>
- div>
- template>
-
- <script>
- import { login } from "../api/user";
-
- export default {
- data: function() {
- return {
- formData: {
- username: "",
- password: "",
- userType: "1",
- },
- rules: {
- username: [
- { required: true, message: "请输入用户名", trigger: "blur" },
- ],
- password: [{ required: true, message: "请输入密码", trigger: "blur" }],
- userType: [
- { required: true, message: "请选择用户类型", trigger: "blur" },
- ],
- },
- };
- },
- methods: {
- submit() {
- this.$refs.form.validate((valid) => {
- if (valid) {
- login(
- this.formData.username,
- this.formData.password,
- this.formData.userType
- ).then((res) => {
- this.$message.success("登录成功: " + res.username);
- this.$store.commit("login", res);
- this.$router.push({ name: "container" });
- });
- }
- });
- },
- },
- };
- script>
-
- <style scoped>
- .login-wrap {
- position: relative;
- width: 100%;
- height: 100%;
- /* background: #0f9876; */
- background-color: #5a83c9;
- background-image: url("../assets/img/login-bg.svg");
- background-size: 100% 100%;
- }
-
- .form-title {
- width: 100%;
- line-height: 50px;
- text-align: center;
- font-size: 20px;
- color: #fff;
- border-bottom: 1px solid #ddd;
- }
-
- .login-form {
- position: absolute;
- left: 50%;
- top: 50%;
- width: 350px;
- margin: -190px 0 0 -175px;
- border-radius: 5px;
- background: rgba(0, 0, 0, 0.6);
- overflow: hidden;
- }
-
- .form-content {
- padding: 30px 30px;
- }
-
- .login-btn {
- text-align: center;
- }
-
- .login-btn button {
- width: 100%;
- height: 36px;
- }
-
- .el-radio {
- color: #fff;
- }
- style>
源码下载
CSDN 1积分下载:https://download.csdn.net/download/caofeng891102/89298421
或者免费领取加小锋老师wx:java9266
热门推荐
免费分享一套微信小程序商城系统(电商系统)(SpringBoot+Vue3)【至尊版】,帅呆了~~-CSDN博客
免费分享一套SpringBoot宠物医院管理系统,帅呆了~~-CSDN博客
免费分享一套SpringBoot+Vue在线考试系统(优质版),帅呆了~~-CSDN博客
免费分享一套SpringBoot+Vue敬老院(养老院)管理系统,帅呆了~~-CSDN博客
免费分享一套微信小程序扫码点餐(订餐)系统(uni-app+SpringBoot后端+Vue管理端技术实现) ,帅呆了~~_uniapp微信点餐-CSDN博客