flx:管理员配置新增密码过期开启状态
This commit is contained in:
parent
5e2e4eea4d
commit
4048017a81
@ -79,11 +79,17 @@
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="6">
|
||||
<el-form-item label="企业后台" prop="enterpriseBackground">
|
||||
<el-input
|
||||
style="width: 150px"
|
||||
v-model="form.enterpriseBackground"
|
||||
></el-input>
|
||||
<el-form-item :label="'是否开启用户密码超期重置'" prop="enablePasswordReset">
|
||||
<el-switch
|
||||
v-model="enablePasswordReset"
|
||||
active-color="#13ce66"
|
||||
inactive-color="#ff4949"
|
||||
:active-value="1"
|
||||
:inactive-value="0"
|
||||
@change='switchChangePassword'
|
||||
>
|
||||
</el-switch>
|
||||
{{ enablePasswordReset == 1 ? '是' : '否' }}
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
@ -97,10 +103,10 @@
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="6">
|
||||
<el-form-item label="项目后台" prop="projectBackground">
|
||||
<el-form-item label="企业后台" prop="enterpriseBackground">
|
||||
<el-input
|
||||
style="width: 150px"
|
||||
v-model="form.projectBackground"
|
||||
v-model="form.enterpriseBackground"
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
@ -115,10 +121,10 @@
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="6">
|
||||
<el-form-item label="资料中心" prop="dataCenter">
|
||||
<el-form-item label="项目后台" prop="projectBackground">
|
||||
<el-input
|
||||
style="width: 150px"
|
||||
v-model="form.dataCenter"
|
||||
v-model="form.projectBackground"
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
@ -133,17 +139,11 @@
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="6">
|
||||
<el-form-item label="是否显示项目前台" prop="isShowProjectFront">
|
||||
<el-switch
|
||||
v-model="form.isShowProjectFront"
|
||||
active-color="#13ce66"
|
||||
inactive-color="#ff4949"
|
||||
:active-value="1"
|
||||
:inactive-value="0"
|
||||
@change='switchChange'
|
||||
>
|
||||
</el-switch>
|
||||
{{ form.isShowProjectFront == 1 ? '是' : '否' }}
|
||||
<el-form-item label="资料中心" prop="dataCenter">
|
||||
<el-input
|
||||
style="width: 150px"
|
||||
v-model="form.dataCenter"
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
@ -162,6 +162,20 @@
|
||||
{{ form.showFileCenter == 1 ? '是' : '否' }}
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="6">
|
||||
<el-form-item label="是否显示项目前台" prop="isShowProjectFront">
|
||||
<el-switch
|
||||
v-model="form.isShowProjectFront"
|
||||
active-color="#13ce66"
|
||||
inactive-color="#ff4949"
|
||||
:active-value="1"
|
||||
:inactive-value="0"
|
||||
@change='switchChange'
|
||||
>
|
||||
</el-switch>
|
||||
{{ form.isShowProjectFront == 1 ? '是' : '否' }}
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row :gutter="12">
|
||||
<el-col :span="6">
|
||||
@ -358,12 +372,14 @@ export default {
|
||||
showFileCenter: 0, // 是否显示资料中心
|
||||
loginTimeOut:1,
|
||||
zoomType:0,
|
||||
enablePasswordReset: 0, // 是否开启密码重置
|
||||
|
||||
},
|
||||
zoomType: 0,
|
||||
iconType: '1',
|
||||
areaType: '1',
|
||||
loginTimeOut:1,
|
||||
enablePasswordReset: 0, // 是否开启密码重置
|
||||
rules: {
|
||||
platformName: [
|
||||
{
|
||||
@ -424,6 +440,10 @@ export default {
|
||||
//切换登录超时按钮
|
||||
switchChange(val){
|
||||
this.form.loginTimeOut=val
|
||||
},
|
||||
//切换密码超时按钮
|
||||
switchChangePassword(val){
|
||||
this.form.enablePasswordReset=val
|
||||
},
|
||||
getDetail() {
|
||||
selectSystemLogoConfigApi().then((res) => {
|
||||
@ -449,6 +469,7 @@ export default {
|
||||
}
|
||||
this.zoomType = Number(res.result.zoomType)
|
||||
this.loginTimeOut = Number(res.result.loginTimeOut)
|
||||
this.enablePasswordReset = Number(res.result.enablePasswordReset)
|
||||
console.log(res.result.iconType)
|
||||
this.iconType = res.result.iconType ? res.result.iconType : '1'
|
||||
this.areaType = res.result.areaType ? res.result.areaType : '1'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user