|
|
@ -29,7 +29,7 @@ |
|
|
|
<el-form-item label="试错次数" prop="tryCount"> |
|
|
|
<el-input-number |
|
|
|
v-model="passwordConfig.tryCount" |
|
|
|
:min="0" |
|
|
|
:min="3" |
|
|
|
:precision="0" |
|
|
|
style="margin-right: 10px" |
|
|
|
/>每分钟 |
|
|
@ -39,7 +39,7 @@ |
|
|
|
<el-form-item label="锁定时长" prop="lockMinutes"> |
|
|
|
<el-input-number |
|
|
|
v-model="passwordConfig.lockMinutes" |
|
|
|
:min="0" |
|
|
|
:min="1" |
|
|
|
:precision="0" |
|
|
|
style="margin-right: 10px" |
|
|
|
/>小时 |
|
|
@ -49,7 +49,7 @@ |
|
|
|
<el-form-item label="试错次数" prop="tryCount"> |
|
|
|
<el-input-number |
|
|
|
v-model="passwordConfig.dayTryCount" |
|
|
|
:min="0" |
|
|
|
:min="3" |
|
|
|
:precision="0" |
|
|
|
style="margin-right: 10px" |
|
|
|
/>每天 |
|
|
@ -59,7 +59,7 @@ |
|
|
|
<el-form-item label="更新周期" prop="updatePeriod"> |
|
|
|
<el-input-number |
|
|
|
v-model="passwordConfig.updatePeriod" |
|
|
|
:min="0" |
|
|
|
:min="3" |
|
|
|
:precision="0" |
|
|
|
style="margin-right: 10px" |
|
|
|
/>天 |
|
|
@ -69,7 +69,7 @@ |
|
|
|
<el-form-item label="更新预警期" prop="updateRemind"> |
|
|
|
<el-input-number |
|
|
|
v-model="passwordConfig.updateRemind" |
|
|
|
:min="0" |
|
|
|
:min="1" |
|
|
|
:precision="0" |
|
|
|
style="margin-right: 10px" |
|
|
|
/>天 |
|
|
@ -109,8 +109,9 @@ const reset = () => { |
|
|
|
ruleDesc: "", |
|
|
|
tryCount: 3, |
|
|
|
lockMinutes: 1, |
|
|
|
updatePeriod: 1, |
|
|
|
updatePeriod: 30, |
|
|
|
dayTryCount: 3, |
|
|
|
updateRemind: 7, |
|
|
|
} |
|
|
|
} |
|
|
|
const passwordConfig = ref({ |
|
|
@ -119,8 +120,9 @@ const passwordConfig = ref({ |
|
|
|
ruleDesc: "", |
|
|
|
tryCount: 3, |
|
|
|
lockMinutes: 1, |
|
|
|
updatePeriod: 1, |
|
|
|
updatePeriod: 30, |
|
|
|
dayTryCount: 3, |
|
|
|
updateRemind: 7, |
|
|
|
}) |
|
|
|
/** 查询配置 */ |
|
|
|
const getConfig = async () => { |
|
|
|