mirror of
https://github.com/chillzhuang/Saber.git
synced 2024-11-24 11:29:28 +08:00
🎉 4.2.0.RELEASE 重构包名,分类core模块与starter模块
This commit is contained in:
parent
df87608e5d
commit
50454e01b7
@ -1,5 +1,5 @@
|
|||||||
<p align="center">
|
<p align="center">
|
||||||
<img src="https://img.shields.io/badge/Release-V4.1.0-green.svg" alt="Downloads">
|
<img src="https://img.shields.io/badge/Release-V4.2.0-green.svg" alt="Downloads">
|
||||||
<img src="https://img.shields.io/badge/JDK-17+-green.svg" alt="Build Status">
|
<img src="https://img.shields.io/badge/JDK-17+-green.svg" alt="Build Status">
|
||||||
<img src="https://img.shields.io/badge/license-Apache%202-blue.svg" alt="Build Status">
|
<img src="https://img.shields.io/badge/license-Apache%202-blue.svg" alt="Build Status">
|
||||||
<img src="https://img.shields.io/badge/Spring%20Cloud-2023-blue.svg" alt="Coverage Status">
|
<img src="https://img.shields.io/badge/Spring%20Cloud-2023-blue.svg" alt="Coverage Status">
|
||||||
@ -33,9 +33,9 @@
|
|||||||
|----------------------|------------|
|
|----------------------|------------|
|
||||||
| Java | 17+ |
|
| Java | 17+ |
|
||||||
| NodeJS | 18+ |
|
| NodeJS | 18+ |
|
||||||
| Spring | 6.1.10 |
|
| Spring | 6.1.12 |
|
||||||
| Spring Boot | 3.2.7 |
|
| Spring Boot | 3.2.9 |
|
||||||
| Spring Cloud | 2023.0.2 |
|
| Spring Cloud | 2023.0.3 |
|
||||||
| Spring Cloud Alibaba | 2023.0.1.0 |
|
| Spring Cloud Alibaba | 2023.0.1.0 |
|
||||||
| Nacos Alibaba | 2.3.2 |
|
| Nacos Alibaba | 2.3.2 |
|
||||||
| Mybatis Plus | 3.5.7 |
|
| Mybatis Plus | 3.5.7 |
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "saber-admin",
|
"name": "saber-admin",
|
||||||
"version": "4.1.0",
|
"version": "4.2.0",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite --host",
|
"dev": "vite --host",
|
||||||
"prod": "vite --mode production",
|
"prod": "vite --mode production",
|
||||||
|
@ -2,7 +2,7 @@ import request from '@/axios';
|
|||||||
|
|
||||||
export const getList = (current, size, params) => {
|
export const getList = (current, size, params) => {
|
||||||
return request({
|
return request({
|
||||||
url: '/blade-user/list',
|
url: '/blade-system/user/list',
|
||||||
method: 'get',
|
method: 'get',
|
||||||
params: {
|
params: {
|
||||||
...params,
|
...params,
|
||||||
@ -13,7 +13,7 @@ export const getList = (current, size, params) => {
|
|||||||
}
|
}
|
||||||
export const remove = (ids) => {
|
export const remove = (ids) => {
|
||||||
return request({
|
return request({
|
||||||
url: '/blade-user/remove',
|
url: '/blade-system/user/remove',
|
||||||
method: 'post',
|
method: 'post',
|
||||||
params: {
|
params: {
|
||||||
ids,
|
ids,
|
||||||
@ -23,7 +23,7 @@ export const remove = (ids) => {
|
|||||||
|
|
||||||
export const add = (row) => {
|
export const add = (row) => {
|
||||||
return request({
|
return request({
|
||||||
url: '/blade-user/submit',
|
url: '/blade-system/user/submit',
|
||||||
method: 'post',
|
method: 'post',
|
||||||
data: row
|
data: row
|
||||||
})
|
})
|
||||||
@ -31,7 +31,7 @@ export const add = (row) => {
|
|||||||
|
|
||||||
export const update = (row) => {
|
export const update = (row) => {
|
||||||
return request({
|
return request({
|
||||||
url: '/blade-user/update',
|
url: '/blade-system/user/update',
|
||||||
method: 'post',
|
method: 'post',
|
||||||
data: row
|
data: row
|
||||||
})
|
})
|
||||||
@ -39,7 +39,7 @@ export const update = (row) => {
|
|||||||
|
|
||||||
export const grant = (userIds, roleIds) => {
|
export const grant = (userIds, roleIds) => {
|
||||||
return request({
|
return request({
|
||||||
url: '/blade-user/grant',
|
url: '/blade-system/user/grant',
|
||||||
method: 'post',
|
method: 'post',
|
||||||
params: {
|
params: {
|
||||||
userIds,
|
userIds,
|
||||||
@ -50,7 +50,7 @@ export const grant = (userIds, roleIds) => {
|
|||||||
|
|
||||||
export const getUser = (id) => {
|
export const getUser = (id) => {
|
||||||
return request({
|
return request({
|
||||||
url: '/blade-user/detail',
|
url: '/blade-system/user/detail',
|
||||||
method: 'get',
|
method: 'get',
|
||||||
params: {
|
params: {
|
||||||
id,
|
id,
|
||||||
@ -60,14 +60,14 @@ export const getUser = (id) => {
|
|||||||
|
|
||||||
export const getUserInfo = () => {
|
export const getUserInfo = () => {
|
||||||
return request({
|
return request({
|
||||||
url: '/blade-user/info',
|
url: '/blade-system/user/info',
|
||||||
method: 'get',
|
method: 'get',
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
export const resetPassword = (userIds) => {
|
export const resetPassword = (userIds) => {
|
||||||
return request({
|
return request({
|
||||||
url: '/blade-user/reset-password',
|
url: '/blade-system/user/reset-password',
|
||||||
method: 'post',
|
method: 'post',
|
||||||
params: {
|
params: {
|
||||||
userIds,
|
userIds,
|
||||||
@ -77,7 +77,7 @@ export const resetPassword = (userIds) => {
|
|||||||
|
|
||||||
export const updatePassword = (oldPassword, newPassword, newPassword1) => {
|
export const updatePassword = (oldPassword, newPassword, newPassword1) => {
|
||||||
return request({
|
return request({
|
||||||
url: '/blade-user/update-password',
|
url: '/blade-system/user/update-password',
|
||||||
method: 'post',
|
method: 'post',
|
||||||
params: {
|
params: {
|
||||||
oldPassword,
|
oldPassword,
|
||||||
|
@ -54,7 +54,7 @@ export const refreshToken = (refreshToken) => request({
|
|||||||
})
|
})
|
||||||
|
|
||||||
export const registerGuest = (form, oauthId) => request({
|
export const registerGuest = (form, oauthId) => request({
|
||||||
url: '/blade-user/register-guest',
|
url: '/blade-system/user/register-guest',
|
||||||
method: 'post',
|
method: 'post',
|
||||||
params: {
|
params: {
|
||||||
tenantId: form.tenantId,
|
tenantId: form.tenantId,
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
<template #menu="scope">
|
<template #menu="scope">
|
||||||
<el-button text
|
<el-button text
|
||||||
type="primary"
|
type="primary"
|
||||||
icon="el-icon-edit-outline"
|
icon="el-icon-edit"
|
||||||
@click.stop="handleDesign(scope.row.name)">设计
|
@click.stop="handleDesign(scope.row.name)">设计
|
||||||
</el-button>
|
</el-button>
|
||||||
<el-button text
|
<el-button text
|
||||||
@ -110,10 +110,10 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
handlePreview(name) {
|
handlePreview(name) {
|
||||||
this.$router.push({ path: `/myiframe/urlPath?name=preview-${name}&src=${website.reportUrl}/preview?_u=blade-${name}` });
|
window.open(`${this.website.reportUrl}/preview?_u=blade-${name}`);
|
||||||
},
|
},
|
||||||
handleDesign(name) {
|
handleDesign(name) {
|
||||||
this.$router.push({ path: `/myiframe/urlPath?name=designer-${name}&src=${website.reportUrl}/designer?_u=blade-${name}` });
|
window.open(`${this.website.reportUrl}/designer?_u=blade-${name}`);
|
||||||
},
|
},
|
||||||
rowDel (row) {
|
rowDel (row) {
|
||||||
this.$confirm("确定将选择数据删除?", {
|
this.$confirm("确定将选择数据删除?", {
|
||||||
|
@ -41,7 +41,7 @@
|
|||||||
<el-button type="success"
|
<el-button type="success"
|
||||||
plain
|
plain
|
||||||
v-if="userInfo.authority.includes('admin')"
|
v-if="userInfo.authority.includes('admin')"
|
||||||
icon="el-icon-upload2"
|
icon="el-icon-upload"
|
||||||
@click="handleImport">导入
|
@click="handleImport">导入
|
||||||
</el-button>
|
</el-button>
|
||||||
<el-button type="warning"
|
<el-button type="warning"
|
||||||
@ -353,7 +353,7 @@ export default {
|
|||||||
res: 'data'
|
res: 'data'
|
||||||
},
|
},
|
||||||
tip: '请上传 .xls,.xlsx 标准格式文件',
|
tip: '请上传 .xls,.xlsx 标准格式文件',
|
||||||
action: baseUrl + "/blade-user/import-user"
|
action: baseUrl + "/blade-system/user/import-user"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '模板下载',
|
label: '模板下载',
|
||||||
@ -547,11 +547,11 @@ export default {
|
|||||||
cancelButtonText: "取消",
|
cancelButtonText: "取消",
|
||||||
type: "warning"
|
type: "warning"
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
window.open(`${baseUrl}/blade-user/export-user?blade-auth=${getToken()}&account=${this.search.account}&realName=${this.search.realName}`);
|
window.open(`${baseUrl}/blade-system/user/export-user?blade-auth=bearer ${getToken()}&account=${this.search.account}&realName=${this.search.realName}`);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
handleTemplate () {
|
handleTemplate () {
|
||||||
window.open(`${baseUrl}/blade-user/export-template?blade-auth=${getToken()}`);
|
window.open(`${baseUrl}/blade-system/user/export-template?blade-auth=bearer ${getToken()}`);
|
||||||
},
|
},
|
||||||
beforeOpen (done, type) {
|
beforeOpen (done, type) {
|
||||||
if (["edit", "view"].includes(type)) {
|
if (["edit", "view"].includes(type)) {
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<basic-container>
|
<basic-container>
|
||||||
<third-register></third-register>
|
<third-register></third-register>
|
||||||
<p style="text-align: center;">
|
<p style="text-align: center;">
|
||||||
<img src="https://img.shields.io/badge/Release-V4.1.0-green.svg"
|
<img src="https://img.shields.io/badge/Release-V4.2.0-green.svg"
|
||||||
alt="Downloads"/>
|
alt="Downloads"/>
|
||||||
<img src="https://img.shields.io/badge/JDK-17+-green.svg"
|
<img src="https://img.shields.io/badge/JDK-17+-green.svg"
|
||||||
alt="Build Status"/>
|
alt="Build Status"/>
|
||||||
@ -156,6 +156,17 @@
|
|||||||
<basic-container>
|
<basic-container>
|
||||||
<el-collapse v-model="logActiveNames"
|
<el-collapse v-model="logActiveNames"
|
||||||
@change="handleChange">
|
@change="handleChange">
|
||||||
|
<el-collapse-item title="4.2.0发布 底层架构升级,分类core模块与starter模块"
|
||||||
|
name="38">
|
||||||
|
<div>1.[升级]SpringBoot 至 3.2.9</div>
|
||||||
|
<div>2.[升级]SpringCloud 至 2023.0.3</div>
|
||||||
|
<div>3.[升级]底层架构升级,分类core模块与starter模块</div>
|
||||||
|
<div>4.[新增]Geo坐标工具</div>
|
||||||
|
<div>5.[新增]JsonUtil新增readListMap方法</div>
|
||||||
|
<div>6.[优化]将user模块合并至system模块,统一api入口</div>
|
||||||
|
<div>7.[修复]vue3版本报表列表跳转路径出错的问题</div>
|
||||||
|
<div>8.[修复]excel导出工具类版本冲突的问题</div>
|
||||||
|
</el-collapse-item>
|
||||||
<el-collapse-item title="4.1.0发布 登录认证升级为国密算法,数据库password字段内容无需变动"
|
<el-collapse-item title="4.1.0发布 登录认证升级为国密算法,数据库password字段内容无需变动"
|
||||||
name="37">
|
name="37">
|
||||||
<div>1.[升级]SpringBoot 至 3.2.7</div>
|
<div>1.[升级]SpringBoot 至 3.2.7</div>
|
||||||
@ -617,7 +628,7 @@ export default {
|
|||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
activeNames: ['1', '2', '3', '5'],
|
activeNames: ['1', '2', '3', '5'],
|
||||||
logActiveNames: ['37']
|
logActiveNames: ['38']
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
Loading…
Reference in New Issue
Block a user