diff --git a/jero-boot/jero-boot-starter/jero-boot-starter-cloud/nacos/jero.yaml b/jero-boot/jero-boot-starter/jero-boot-starter-cloud/nacos/jero.yaml
index 18a8c944..e4d39af7 100644
--- a/jero-boot/jero-boot-starter/jero-boot-starter-cloud/nacos/jero.yaml
+++ b/jero-boot/jero-boot-starter/jero-boot-starter-cloud/nacos/jero.yaml
@@ -205,9 +205,9 @@ jero :
uploadType: local
path :
#文件上传根目录 设置
- upload: D://opt//upFiles
+ upload: G://opt//upFiles
#webapp文件路径
- webapp: D://opt//webapp
+ webapp: G://opt//webapp
shiro:
excludeUrls: /test/jeroDemo/demo3,/test/jeroDemo/redisDemo/**,/category/**,/visual/**,/map/**,/jmreport/bigscreen2/**
#阿里云oss存储配置
diff --git a/jero-web/public/color.less b/jero-web/public/color.less
index 0f799c1d..20c86f4c 100644
--- a/jero-web/public/color.less
+++ b/jero-web/public/color.less
@@ -2352,7 +2352,9 @@ i.trigger:hover {
background-color: white;
}
.sider.light .logo {
- background-color: @primary-color !important;
+ //顶部logo背景的颜色变化 注释
+ //background-color: @primary-color !important;
+ background-color: #001529 !important;
box-shadow: 1px 1px 0 0 #e8e8e8;
}
.sider.light .logo h1 {
@@ -5347,7 +5349,8 @@ form .ant-upload {
border-radius: 4px;
}
.ant-menu-submenu > .ant-menu {
- background-color: #fff;
+ //background-color: #fff;
+ background: none;
border-radius: 4px;
}
.ant-menu-submenu-vertical > .ant-menu-submenu-title .ant-menu-submenu-arrow:before,
diff --git a/jero-web/src/assets/bgImg.png b/jero-web/src/assets/bgImg.png
new file mode 100644
index 00000000..ab4f48f5
Binary files /dev/null and b/jero-web/src/assets/bgImg.png differ
diff --git a/jero-web/src/assets/logo.png b/jero-web/src/assets/logo.png
deleted file mode 100644
index 4c98ab5b..00000000
Binary files a/jero-web/src/assets/logo.png and /dev/null differ
diff --git a/jero-web/src/components/menu/SideMenu.vue b/jero-web/src/components/menu/SideMenu.vue
index 48e0f4f2..4560a783 100644
--- a/jero-web/src/components/menu/SideMenu.vue
+++ b/jero-web/src/components/menu/SideMenu.vue
@@ -1,4 +1,5 @@
+
+
+
@@ -149,29 +152,75 @@ export default {
diff --git a/jero-web/src/components/tools/UserMenu.vue b/jero-web/src/components/tools/UserMenu.vue
index 35f6926a..4350bfe3 100644
--- a/jero-web/src/components/tools/UserMenu.vue
+++ b/jero-web/src/components/tools/UserMenu.vue
@@ -2,11 +2,11 @@
-
-
-
+
+
+
-
+
+
{{site.meta.title}}
-
+
@@ -266,15 +267,16 @@ export default {
/* update_begin author:zhaoxin date:20191129 for: 让搜索框颜色能随主题颜色变换*/
/* update-begin author:sunjianlei date:20191220 for: 解决全局样式冲突问题 */
.user-wrapper .search-input {
- width: 180px;
+ width: 210px;
color: inherit;
/deep/ .ant-select-selection {
- background-color: inherit;
+ background-color: #F7F8FA !important;
border: 0;
border-bottom: 1px solid white;
+ color: #86909C ;
&__placeholder, &__field__placeholder {
- color: inherit;
+ color: #86909C ;
}
}
}
diff --git a/jero-web/src/components/tools/UserPassword.vue b/jero-web/src/components/tools/UserPassword.vue
index 0976dde5..4c5105b5 100644
--- a/jero-web/src/components/tools/UserPassword.vue
+++ b/jero-web/src/components/tools/UserPassword.vue
@@ -50,11 +50,13 @@
import { postAction } from '@/api/manage'
import { mapActions } from 'vuex'
-
+import { JSEncrypt } from 'jsencrypt'
+import { getRSAPublicKey } from '@/utils/encryption.js'
export default {
name: 'UserPassword',
data () {
return {
+ rsaPublicKey: '',
passwordType1: 'password',
passwordType2: 'password',
passwordType3: 'password',
@@ -118,30 +120,48 @@ export default {
this.disableSubmit = false
this.selectedRole = []
},
+ // 获取RSA公钥
+ getPublicKey () {
+ // 获取公钥
+ getRSAPublicKey().then(res => {
+ this.rsaPublicKey = res.result
+ })
+ },
handleOk () {
const that = this
// 触发表单验证
- this.form.validateFields((err, values) => {
- if (!err) {
- that.confirmLoading = true
- const params = Object.assign({ username: this.username }, values)
- console.log('修改密码提交数据', params)
- postAction(this.url, params).then((res) => {
- if (res.success) {
- console.log(res)
- that.$message.success(res.message)
- that.close()
- that.Logout().then(()=>{
- window.location.replace('/user/login')
- })
- } else {
- that.$message.warning(res.message)
- }
- }).finally(() => {
- that.confirmLoading = false
- })
- }
+ getRSAPublicKey().then(res => {
+ this.rsaPublicKey = res.result
+ this.form.validateFields((err, values) => {
+ if (!err) {
+ that.confirmLoading = true
+ const params = Object.assign({ username: this.username, rsaPublicKey:this.rsaPublicKey}, values)
+ console.log('修改密码提交数据', params)
+ const encrypt = new JSEncrypt()
+ encrypt.setPublicKey(this.rsaPublicKey)
+ // 公钥加密
+ params.confirmpassword = encrypt.encrypt(values.confirmpassword)
+ params.password = encrypt.encrypt(values.password)
+ params.oldpassword = encrypt.encrypt(values.oldpassword)
+
+ postAction(this.url, params).then((res) => {
+ if (res.success) {
+ console.log(res)
+ that.$message.success(res.message)
+ that.close()
+ that.Logout().then(()=>{
+ window.location.replace('/user/login')
+ })
+ } else {
+ that.$message.warning(res.message)
+ }
+ }).finally(() => {
+ that.confirmLoading = false
+ })
+ }
+ })
})
+
},
validateToNextPassword (rule, value, callback) {
const form = this.form