Commit 93f60f85 authored by 高宇's avatar 高宇

删除菜单

parent e7654826
......@@ -388,6 +388,7 @@
<el-form ref="form" :model="menuform" label-width="80px">
<el-form-item label="密码">
<el-input v-model="menuform.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="handlemenuConfirm">确定</el-button>
......@@ -419,6 +420,7 @@ export default {
name: 'Draw',
data() {
return {
twoerrorPassword: false,
errorPassword: false,
// 数据字典列表
dictList: [],
......@@ -603,6 +605,7 @@ export default {
}
checkPermission(obj).then(res => {
if (res.code === 200) {
this.twoerrorPassword = false
batchAddition(this.canceList).then(res => {
if (res.code === 200) {
this.loadingDetail = false
......@@ -615,12 +618,7 @@ export default {
})
this.menuform.password = ''
} else if (res.code === null) {
this.$message.warning(res.message)
this.loadingDetail = false
this.multipleSelection = false
this.monthDate = false
this.menu = false
this.menuform.password = ''
this.twoerrorPassword = true
}
})
},
......@@ -748,6 +746,7 @@ export default {
console.log('canceList', this.canceList)
console.log('monthDate', this.monthDate)
if (this.monthDate) {
this.twoerrorPassword = false
this.menu = true
}
if (!this.monthDate) {
......
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