flx:提交企业密码超期
This commit is contained in:
parent
4048017a81
commit
805996f577
@ -155,6 +155,20 @@
|
||||
{{ form.showFileCenter == 1 ? '是' : '否' }}
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="6">
|
||||
<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>
|
||||
<el-row :gutter="12">
|
||||
<el-col :span="6">
|
||||
@ -319,10 +333,12 @@ export default {
|
||||
isShowProjectFront: 0, // 是否显示项目前台
|
||||
isOpenCertificateExpireWarn: 0, // 是否开启施工人员资质证书到期预警
|
||||
certificateExpireWarnAheadDay: 0, // 提前多少天
|
||||
enablePasswordReset: 0, // 是否开启密码重置
|
||||
},
|
||||
zoomType: '0',
|
||||
iconType: '1',
|
||||
areaType: '1',
|
||||
enablePasswordReset: 0, // 是否开启密码重置
|
||||
rules: {
|
||||
platformName: [
|
||||
{
|
||||
@ -371,6 +387,7 @@ export default {
|
||||
this.upload_btn4 = true;
|
||||
}
|
||||
this.zoomType = res.result.zoomType
|
||||
this.enablePasswordReset = 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'
|
||||
@ -395,6 +412,7 @@ export default {
|
||||
this.form.zoomType = this.zoomType
|
||||
this.form.iconType = this.iconType
|
||||
this.form.areaType = this.areaType
|
||||
this.form.enablePasswordReset = this.enablePasswordReset
|
||||
this.form.headquartersSn = this.$store.state.userInfo.headquartersSn
|
||||
// console.log('参数',this.form)
|
||||
editSystemLogoConfigApi(this.form).then((res) => {
|
||||
@ -525,7 +543,11 @@ export default {
|
||||
handlePictureCardPreview(file) {
|
||||
this.dialogImageUrl = file.url
|
||||
this.dialogVisible = true
|
||||
}
|
||||
},
|
||||
//切换密码超时按钮
|
||||
switchChangePassword(val){
|
||||
this.form.enablePasswordReset=val
|
||||
},
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user