|
@ -12,7 +12,7 @@ |
|
|
<el-form-item><el-input v-model="menuName" placeholder="请输入菜单名称" :clearable="true"></el-input></el-form-item> |
|
|
<el-form-item><el-input v-model="menuName" placeholder="请输入菜单名称" :clearable="true"></el-input></el-form-item> |
|
|
<el-form-item><el-button type="primary" @click="search()">查询</el-button></el-form-item> |
|
|
<el-form-item><el-button type="primary" @click="search()">查询</el-button></el-form-item> |
|
|
</el-form> |
|
|
</el-form> |
|
|
|
|
|
|
|
|
<div class="div_btn"> |
|
|
<div class="div_btn"> |
|
|
<el-button type="primary" @click="open('')">开启</el-button> |
|
|
<el-button type="primary" @click="open('')">开启</el-button> |
|
|
<el-button type="primary" @click="close('')">关闭</el-button> |
|
|
<el-button type="primary" @click="close('')">关闭</el-button> |
|
@ -74,7 +74,7 @@ export default { |
|
|
|
|
|
|
|
|
mixinViewModuleOptions: { |
|
|
mixinViewModuleOptions: { |
|
|
getDataListURL: '/gov/access/menu/customerMenuList', |
|
|
getDataListURL: '/gov/access/menu/customerMenuList', |
|
|
createdIsNeed:false |
|
|
createdIsNeed: false |
|
|
} |
|
|
} |
|
|
}; |
|
|
}; |
|
|
}, |
|
|
}, |
|
@ -89,9 +89,9 @@ export default { |
|
|
if (this.menuName != '') { |
|
|
if (this.menuName != '') { |
|
|
let saveList = []; |
|
|
let saveList = []; |
|
|
this.onFuzzyTreeList('name', this.menuName, this.dataList, saveList); |
|
|
this.onFuzzyTreeList('name', this.menuName, this.dataList, saveList); |
|
|
this.$refs.form.data = saveList; |
|
|
this.dataList = [...saveList]; |
|
|
} else { |
|
|
} else { |
|
|
this.$refs.form.data = this.dataList; |
|
|
this.query(); |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
@ -115,7 +115,7 @@ export default { |
|
|
resolve(saveList); |
|
|
resolve(saveList); |
|
|
}); |
|
|
}); |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
open(id) { |
|
|
open(id) { |
|
|
let menuIds = []; |
|
|
let menuIds = []; |
|
|
if (id != '') { |
|
|
if (id != '') { |
|
@ -222,8 +222,9 @@ export default { |
|
|
.div_btn { |
|
|
.div_btn { |
|
|
margin: 0 0 20px 0; |
|
|
margin: 0 0 20px 0; |
|
|
} |
|
|
} |
|
|
.little-head{ |
|
|
.little-head { |
|
|
border-bottom: dashed 1px #ccc; line-height: 50px; |
|
|
border-bottom: dashed 1px #ccc; |
|
|
|
|
|
line-height: 50px; |
|
|
margin-bottom: 20px; |
|
|
margin-bottom: 20px; |
|
|
} |
|
|
} |
|
|
</style> |
|
|
</style> |
|
|