|
@ -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="90px" size="large"> |
|
|
<el-form ref="formSmsLogin" :model="data" :rules="rules" label-width="110px" 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" |
|
@ -32,7 +32,7 @@ |
|
|
:min="0" |
|
|
:min="0" |
|
|
: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> |
|
@ -45,6 +45,16 @@ |
|
|
/>小时 |
|
|
/>小时 |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-col> |
|
|
</el-col> |
|
|
|
|
|
<el-col> |
|
|
|
|
|
<el-form-item label="试错次数" prop="tryCount"> |
|
|
|
|
|
<el-input-number |
|
|
|
|
|
v-model="passwordConfig.dayTryCount" |
|
|
|
|
|
:min="0" |
|
|
|
|
|
:precision="0" |
|
|
|
|
|
style="margin-right: 10px" |
|
|
|
|
|
/>每天 |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
</el-col> |
|
|
<el-col> |
|
|
<el-col> |
|
|
<el-form-item label="更新周期" prop="updatePeriod"> |
|
|
<el-form-item label="更新周期" prop="updatePeriod"> |
|
|
<el-input-number |
|
|
<el-input-number |
|
@ -100,6 +110,7 @@ const reset = () => { |
|
|
tryCount: 3, |
|
|
tryCount: 3, |
|
|
lockMinutes: 1, |
|
|
lockMinutes: 1, |
|
|
updatePeriod: 1, |
|
|
updatePeriod: 1, |
|
|
|
|
|
dayTryCount: 3, |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
const passwordConfig = ref({ |
|
|
const passwordConfig = ref({ |
|
@ -109,6 +120,7 @@ const passwordConfig = ref({ |
|
|
tryCount: 3, |
|
|
tryCount: 3, |
|
|
lockMinutes: 1, |
|
|
lockMinutes: 1, |
|
|
updatePeriod: 1, |
|
|
updatePeriod: 1, |
|
|
|
|
|
dayTryCount: 3, |
|
|
}) |
|
|
}) |
|
|
/** 查询配置 */ |
|
|
/** 查询配置 */ |
|
|
const getConfig = async () => { |
|
|
const getConfig = async () => { |
|
|