springboot+VUE前后端分離實(shí)現(xiàn)疫情防疫平臺(tái)JAVA
主要模塊:
管理員用戶登錄:用戶登錄。 用戶信息: 用戶信息數(shù)據(jù)的列表查看、修改和刪除、用戶綁定角色來(lái)顯示對(duì)應(yīng)的菜單顯示。
角色管理:角色信息數(shù)據(jù)的列表查看、修改和刪除、每個(gè)角色可以設(shè)置不同菜單顯示、超級(jí)管理員擁有最高權(quán)限。
菜單管理: 菜單信息數(shù)據(jù)的列表查看、修改和刪除、可以通過(guò)用戶角色來(lái)設(shè)置 菜單權(quán)限:根據(jù)用戶綁定角色、角色綁定菜單顯示、以及基礎(chǔ)菜單的添加、修改和刪除操作。
實(shí)時(shí)疫情狀態(tài):通過(guò)echarts圖標(biāo)來(lái)模擬實(shí)現(xiàn)數(shù)據(jù)驅(qū)動(dòng)標(biāo)識(shí)、實(shí)時(shí)顯示疫情分布圖和感染人員信息等。
歷史行程管理:
每日登記管理:
外出報(bào)備管理:
復(fù)工申請(qǐng)管理:
審核信息管理:
通知公告管理:管理員發(fā)布一些通知公告信息以及管理查看等
系統(tǒng)主要實(shí)現(xiàn)如下:
用戶登錄、輸入賬號(hào)驗(yàn)證碼進(jìn)行登錄

登錄之后進(jìn)入系統(tǒng)首頁(yè):目前系統(tǒng)主要功能如下


用戶管理模塊:用戶添加、修改、刪除、查詢等基本操作

角色管理模塊、通過(guò)用戶綁定角色、角色控制菜單顯示、靈活控制菜單。


前端VUE代碼添加菜單
<template>
<div class="mod-menu">
<el-form :inline="true" :model="dataForm">
<el-form-item>
<el-button v-if="isAuth('sys:menu:save')" type="primary" @click="addOrUpdateHandle()">新增</el-button>
</el-form-item>
</el-form>
<el-table :data="dataList" row-key="menuId" border style="width: 100%; ">
<el-table-column prop="name" header-align="center" min-width="150" label="名稱" ></el-table-column>
<el-table-column prop="parentName" header-align="center" align="center" width="120" label="上級(jí)菜單">
</el-table-column>
<el-table-column header-align="center" align="center" label="圖標(biāo)"><template slot-scope="scope">
<icon-svg :name="scope.row.icon || ''"></icon-svg></template>
</el-table-column>
<el-table-column prop="type" header-align="center" align="center" label="類型">
<template slot-scope="scope">
<el-tag v-if="scope.row.type === 0" size="small">目錄</el-tag>
<el-tag v-else-if="scope.row.type === 1" size="small" type="success">菜單</el-tag>
<el-tag v-else-if="scope.row.type === 2" size="small" type="info">按鈕</el-tag>
</template>
</el-table-column>
<el-table-column prop="orderNum" header-align="center" align="center" label="排序號(hào)">
</el-table-column>
<el-table-column prop="url" header-align="center" align="center" width="150" :show-overflow-tooltip="true" label="菜單URL">
</el-table-column>
<el-table-column
prop="perms"
header-align="center"
align="center"
width="150"
:show-overflow-tooltip="true"
label="授權(quán)標(biāo)識(shí)">
</el-table-column>
<el-table-column
fixed="right"
header-align="center"
align="center"
width="150"
label="操作">
<template slot-scope="scope">
<el-button v-if="isAuth('sys:menu:update')" type="text" size="small" @click="addOrUpdateHandle(scope.row.menuId)">修改</el-button>
<el-button v-if="isAuth('sys:menu:delete')" type="text" size="small" @click="deleteHandle(scope.row.menuId)">刪除</el-button>
</template>
</el-table-column>
</el-table>
<!-- 彈窗, 新增 / 修改 -->
<add-or-update v-if="addOrUpdateVisible" ref="addOrUpdate" @refreshDataList="getDataList"></add-or-update>
</div>
</template>
<script>
import AddOrUpdate from './menu-add-or-update'
import { treeDataTranslate } from '@/utils'
export default {
data () {
return {
dataForm: {},
dataList: [],
dataListLoading: false,
addOrUpdateVisible: false
}
},
components: {
AddOrUpdate
},
activated () {
this.getDataList()
},
methods: {
// 獲取數(shù)據(jù)列表
getDataList () {
this.dataListLoading = true
this.$http({
url: this.$http.adornUrl('/sys/menu/list'),
method: 'get',
params: this.$http.adornParams()
}).then(({data}) => {
this.dataList = treeDataTranslate(data, 'menuId')
this.dataListLoading = false
})
},
// 新增 / 修改
addOrUpdateHandle (id) {
this.addOrUpdateVisible = true
this.$nextTick(() => {
this.$refs.addOrUpdate.init(id)
})
},
// 刪除
deleteHandle (id) {
this.$confirm(`確定對(duì)[id=${id}]進(jìn)行[刪除]操作?`, '提示', {
confirmButtonText: '確定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
this.$http({
url: this.$http.adornUrl(`/sys/menu/delete/${id}`),
method: 'post',
data: this.$http.adornData()
}).then(({data}) => {
if (data && data.code === 0) {
this.$message({
message: '操作成功',
type: 'success',
duration: 1500,
onClose: () => {
this.getDataList()
}
})
} else {
this.$message.error(data.msg)
}
})
}).catch(() => {})
}
}
}
</script>
菜單添加修改列表層操作

歷史行程數(shù)據(jù)管理:添加修改刪除等操作

用戶每日健康打卡列表數(shù)據(jù)展示以及添加打卡信息

員工出行外出報(bào)備管理申請(qǐng)

員工復(fù)工申請(qǐng)


管理員審核


通知公告模塊:

一些設(shè)計(jì)報(bào)告和文檔描述參考

數(shù)據(jù)庫(kù)連接:
spring:
datasource:
type: com.alibaba.druid.pool.DruidDataSource
druid:
driver-class-name: com.mysql.jdbc.Driver
url: jdbc:mysql://localhost:3306/renren_fast?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
username: root
password: 123456
initial-size: 10
max-active: 100
min-idle: 10
max-wait: 60000
pool-prepared-statements: true
max-pool-prepared-statement-per-connection-size: 20
time-between-eviction-runs-millis: 60000
min-evictable-idle-time-millis: 300000
#Oracle需要打開(kāi)注釋
#validation-query: SELECT 1 FROM DUAL
test-while-idle: true
test-on-borrow: false
test-on-return: false
stat-view-servlet:
enabled: true
url-pattern: /druid/*
#login-username: admin
#login-password: admin
filter:
stat:
log-slow-sql: true
slow-sql-millis: 1000
merge-sql: false
wall:
config:
multi-statement-allow: true
##多數(shù)據(jù)源的配置
#dynamic:
# datasource:
# slave1:
# driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
# url: jdbc:sqlserver://localhost:1433;DatabaseName=renren_security
# username: sa
# password: 123456
# slave2:
# driver-class-name: org.postgresql.Driver
# url: jdbc:postgresql://localhost:5432/renren_security
# username: renren
# password: 123456
到此,基于JAVA的springboot+VUE前后端分離疫情防疫小平臺(tái)實(shí)現(xiàn)的文章就介紹到這了,更多相關(guān)springboot+VUE前后端分離的內(nèi)容請(qǐng)搜索腳本之家以前的文章或繼續(xù)瀏覽下面的相關(guān)文章希望大家以后多多支持腳本之家!
- SpringBoot和Vue.js實(shí)現(xiàn)的前后端分離的用戶權(quán)限管理系統(tǒng)
- Springboot與vue實(shí)例講解實(shí)現(xiàn)前后端分離的人事管理系統(tǒng)
- SpringBoot+Vue+JWT的前后端分離登錄認(rèn)證詳細(xì)步驟
- SpringBoot+VUE實(shí)現(xiàn)前后端分離的實(shí)戰(zhàn)記錄
- SpringBoot+Vue前后端分離實(shí)現(xiàn)請(qǐng)求api跨域問(wèn)題
- 部署vue+Springboot前后端分離項(xiàng)目的步驟實(shí)現(xiàn)
- vue+springboot前后端分離工程跨域問(wèn)題解決方案解析
- 詳解springboot和vue前后端分離開(kāi)發(fā)跨域登陸問(wèn)題
- SpringBoot+Vue前后端分離實(shí)現(xiàn)審核功能的示例
相關(guān)文章
梳理總結(jié)Java?static關(guān)鍵字的方法作用
這篇文章主要介紹了梳理總結(jié)Java?static關(guān)鍵字的方法作用,?static?關(guān)鍵字可以用來(lái)修飾的成員變量和成員方法,被修飾的成員是屬于類的,而不是單單是屬于某個(gè)對(duì)象的2022-06-06
idea中g(shù)it如何修改commit(ChangeList的使用)
這篇文章主要介紹了idea中g(shù)it如何修改commit(ChangeList的使用),具有很好的參考價(jià)值,希望對(duì)大家有所幫助。如有錯(cuò)誤或未考慮完全的地方,望不吝賜教2023-04-04
Mybatis全局配置及映射關(guān)系的實(shí)現(xiàn)
本文主要介紹了Mybatis全局配置及映射關(guān)系的實(shí)現(xiàn),文中通過(guò)示例代碼介紹的非常詳細(xì),具有一定的參考價(jià)值,感興趣的小伙伴們可以參考一下2022-03-03
springboot集成redis并使用redis生成全局唯一索引ID
本文主要介紹了springboot集成redis并使用redis生成全局唯一索引ID,文中通過(guò)示例代碼介紹的非常詳細(xì),具有一定的參考價(jià)值,感興趣的小伙伴們可以參考一下2022-03-03

