Commit cf025967 authored by 高宇's avatar 高宇

删除菜单

parent 93f60f85
......@@ -377,6 +377,7 @@
<el-form ref="form" :model="loginform" label-width="80px">
<el-form-item label="密码">
<el-input v-model="loginform.password" type="password" placeholder="请输入密码" />
<span v-if="twoerrorPassword" style="font-size: 14px;color: red">密码错误,请重试</span>
</el-form-item>
<el-form-item>
<el-button type="primary" @click="handleConfirm">确定</el-button>
......@@ -400,6 +401,7 @@ export default {
name: 'Draw',
data() {
return {
twoerrorPassword: false,
// 字典数据
dictList: [],
number: '',
......@@ -534,6 +536,7 @@ export default {
handleClose() {
this.openLogin = false
this.openHandle = true
this.twoerrorPassword = false
this.loadingDetail = false
},
// 判断时间范围 是否是一个月以内的的时间
......@@ -580,6 +583,7 @@ export default {
},
// 菜单权限验证确定
handleConfirm() {
this.twoerrorPassword = false
const obj = {
passWord: this.loginform.password
}
......@@ -588,6 +592,7 @@ export default {
this.openLogin = false
batchAddition(this.canceList).then(res => {
if (res.code === 200) {
this.twoerrorPassword = false
this.loadingDetail = false
this.openHandle = false
this.isCheck = false
......@@ -598,10 +603,7 @@ export default {
}
})
} else if (res.code === null) {
this.$message.warning(res.message)
this.loginform.password = ''
this.openHandle = true
this.openLogin = false
this.twoerrorPassword = true
}
})
},
......
......@@ -585,6 +585,7 @@ export default {
this.menu = false
this.loadingDetail = false
this.openHandle = true
this.twoerrorPassword = false
this.menuform.passWord = ''
},
handleClose() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment