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