mirror of
https://gitee.com/pan648540858/wvp-GB28181-pro.git
synced 2026-05-27 07:27:49 +08:00
Compare commits
3 Commits
38b290ab8e
...
85af675739
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
85af675739 | ||
|
|
7704c3a7fb | ||
|
|
34d1dbb399 |
@ -19,23 +19,24 @@ spring:
|
|||||||
max-file-size: 10MB
|
max-file-size: 10MB
|
||||||
max-request-size: 100MB
|
max-request-size: 100MB
|
||||||
# REDIS数据库配置
|
# REDIS数据库配置
|
||||||
redis:
|
data:
|
||||||
# [必须修改] Redis服务器IP, REDIS安装在本机的,使用127.0.0.1
|
redis:
|
||||||
host: 127.0.0.1
|
# [必须修改] Redis服务器IP, REDIS安装在本机的,使用127.0.0.1
|
||||||
# [必须修改] 端口号
|
host: 127.0.0.1
|
||||||
port: 6379
|
# [必须修改] 端口号
|
||||||
# [可选] 数据库 DB
|
port: 6379
|
||||||
database: 6
|
# [可选] 数据库 DB
|
||||||
# [可选] 访问密码,若你的redis服务器没有设置密码,就不需要用密码去连接
|
database: 6
|
||||||
password:
|
# [可选] 访问密码,若你的redis服务器没有设置密码,就不需要用密码去连接
|
||||||
# [可选] 超时时间
|
password:
|
||||||
timeout: 10000
|
# [可选] 超时时间
|
||||||
# [可选] 一个pool最多可分配多少个jedis实例
|
timeout: 10000
|
||||||
poolMaxTotal: 1000
|
# [可选] 一个pool最多可分配多少个jedis实例
|
||||||
# [可选] 一个pool最多有多少个状态为idle(空闲)的jedis实例
|
poolMaxTotal: 1000
|
||||||
poolMaxIdle: 500
|
# [可选] 一个pool最多有多少个状态为idle(空闲)的jedis实例
|
||||||
# [可选] 最大的等待时间(秒)
|
poolMaxIdle: 500
|
||||||
poolMaxWait: 5
|
# [可选] 最大的等待时间(秒)
|
||||||
|
poolMaxWait: 5
|
||||||
# [必选] jdbc数据库配置
|
# [必选] jdbc数据库配置
|
||||||
datasource:
|
datasource:
|
||||||
# kingbase配置
|
# kingbase配置
|
||||||
|
|||||||
@ -13,10 +13,10 @@
|
|||||||
<div id="shared" style="margin-right: 20px;">
|
<div id="shared" style="margin-right: 20px;">
|
||||||
<el-form ref="passwordForm" :rules="rules" status-icon label-width="80px">
|
<el-form ref="passwordForm" :rules="rules" status-icon label-width="80px">
|
||||||
<el-form-item label="新密码" prop="newPassword">
|
<el-form-item label="新密码" prop="newPassword">
|
||||||
<el-input v-model="newPassword" autocomplete="off" />
|
<el-input v-model="newPassword" autocomplete="off" type="password" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="确认密码" prop="confirmPassword">
|
<el-form-item label="确认密码" prop="confirmPassword">
|
||||||
<el-input v-model="confirmPassword" autocomplete="off" />
|
<el-input v-model="confirmPassword" autocomplete="off" type="password" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
@ -88,6 +88,14 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
onSubmit: function() {
|
onSubmit: function() {
|
||||||
|
if (this.newPassword !== this.confirmPassword) {
|
||||||
|
this.$message({
|
||||||
|
showClose: true,
|
||||||
|
message: '两次输入密码不一致!',
|
||||||
|
type: 'error'
|
||||||
|
})
|
||||||
|
return
|
||||||
|
}
|
||||||
this.$store.dispatch('user/changePasswordForAdmin', {
|
this.$store.dispatch('user/changePasswordForAdmin', {
|
||||||
password: this.newPassword,
|
password: this.newPassword,
|
||||||
userId: this.form.id
|
userId: this.form.id
|
||||||
|
|||||||
@ -198,6 +198,7 @@ export default {
|
|||||||
},
|
},
|
||||||
refreshLayer(){
|
refreshLayer(){
|
||||||
this.closeInfoBox()
|
this.closeInfoBox()
|
||||||
|
|
||||||
// 刷新瓦片图层
|
// 刷新瓦片图层
|
||||||
if (channelLayer) {
|
if (channelLayer) {
|
||||||
this.$refs.mapComponent.refreshLayer(channelLayer)
|
this.$refs.mapComponent.refreshLayer(channelLayer)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user