Browse Source

1、修改密码策略参数文案

hella_online_20240913
bjang03 2 months ago
parent
commit
875fda2c04
  1. 17
      src/views/system/passwordRule/index.vue

17
src/views/system/passwordRule/index.vue

@ -1,7 +1,7 @@
<template> <template>
<!-- 搜索 --> <!-- 搜索 -->
<div v-loading="loading" class="box"> <div v-loading="loading" class="box">
<el-form ref="formSmsLogin" :model="data" :rules="rules" label-width="110px" size="large"> <el-form ref="formSmsLogin" :model="data" :rules="rules" label-width="180px" size="large">
<div <div
class="title" class="title"
style="font-size: 20px; text-align: center; margin-bottom: 20px; font-weight: bold" style="font-size: 20px; text-align: center; margin-bottom: 20px; font-weight: bold"
@ -26,17 +26,17 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col> <el-col>
<el-form-item label="试错次数" prop="tryCount"> <el-form-item label="每分钟密码输入错误" prop="tryCount">
<el-input-number <el-input-number
v-model="passwordConfig.tryCount" v-model="passwordConfig.tryCount"
:min="3" :min="3"
:precision="0" :precision="0"
style="margin-right: 10px" style="margin-right: 10px"
/> />
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col> <el-col>
<el-form-item label="锁定时长" prop="lockMinutes"> <el-form-item label="锁定" prop="lockMinutes">
<el-input-number <el-input-number
v-model="passwordConfig.lockMinutes" v-model="passwordConfig.lockMinutes"
:min="1" :min="1"
@ -46,17 +46,18 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col> <el-col>
<el-form-item label="试错次数" prop="tryCount"> <el-form-item label="密码输入错误" prop="tryCount">
<el-input-number <el-input-number
v-model="passwordConfig.dayTryCount" v-model="passwordConfig.dayTryCount"
:min="3" :min="3"
:precision="0" :precision="0"
style="margin-right: 10px" style="margin-right: 10px"
/> />1
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col> <el-col>
<el-form-item label="更新周期" prop="updatePeriod"> <el-form-item label="强制更换密码周期" prop="updatePeriod">
<el-input-number <el-input-number
v-model="passwordConfig.updatePeriod" v-model="passwordConfig.updatePeriod"
:min="3" :min="3"
@ -66,7 +67,7 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col> <el-col>
<el-form-item label="更新预警期" prop="updateRemind"> <el-form-item label="强制更换密码到期提醒" prop="updateRemind">
<el-input-number <el-input-number
v-model="passwordConfig.updateRemind" v-model="passwordConfig.updateRemind"
:min="1" :min="1"

Loading…
Cancel
Save