no message
This commit is contained in:
parent
ef77fc30ef
commit
5805bd955a
@ -26,8 +26,11 @@
|
|||||||
--el-upload-picture-card-size: 100%;
|
--el-upload-picture-card-size: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-menu {border: none!important;}
|
.el-menu {border: none !important;}
|
||||||
.el-menu .el-menu-item a {color: inherit;text-decoration: none;display: block;width:100%;height:100%;position: absolute;top:0px;left:0px;}
|
.el-menu .el-menu-item a {color: inherit;text-decoration: none;display: block;width:100%;height:100%;position: absolute;top:0px;left:0px;}
|
||||||
|
|
||||||
|
.el-menu-item.is-active {color: var(--el-menu-active-color); background-color: #f9f9f9; }
|
||||||
|
|
||||||
.el-form-item-msg {font-size: 12px;color: #999;clear: both;width: 100%;}
|
.el-form-item-msg {font-size: 12px;color: #999;clear: both;width: 100%;}
|
||||||
.el-container {height: 100%;}
|
.el-container {height: 100%;}
|
||||||
.el-aside {border-right: 1px solid var(--el-border-color-light);}
|
.el-aside {border-right: 1px solid var(--el-border-color-light);}
|
||||||
@ -44,14 +47,10 @@
|
|||||||
.el-card__header {border-bottom: 0;font-size: 17px;font-weight: bold;padding:15px 20px 0px 20px;}
|
.el-card__header {border-bottom: 0;font-size: 17px;font-weight: bold;padding:15px 20px 0px 20px;}
|
||||||
.el-dialog__title {font-size: 17px;font-weight: bold;}
|
.el-dialog__title {font-size: 17px;font-weight: bold;}
|
||||||
|
|
||||||
.el-drawer__header{
|
.el-drawer__header{margin-bottom: 12px; }
|
||||||
margin-bottom: 12px;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
.el-menu--collapse {
|
.el-menu--collapse {--el-menu-base-level-padding: 22px; }
|
||||||
--el-menu-base-level-padding: 22px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.el-drawer__header>:first-child {font-size: 17px;font-weight: bold;}
|
.el-drawer__header>:first-child {font-size: 17px;font-weight: bold;}
|
||||||
.el-tree.menu .el-tree-node__content {height:36px;}
|
.el-tree.menu .el-tree-node__content {height:36px;}
|
||||||
@ -80,9 +79,7 @@
|
|||||||
.el-table th.is-sortable:hover {background: #eee;}
|
.el-table th.is-sortable:hover {background: #eee;}
|
||||||
.el-table .el-table__body-wrapper {background: #f6f8f9;}
|
.el-table .el-table__body-wrapper {background: #f6f8f9;}
|
||||||
|
|
||||||
.el-descriptions__body .el-descriptions__table .el-descriptions__cell{
|
.el-descriptions__body .el-descriptions__table .el-descriptions__cell{font-size: 13px; }
|
||||||
font-size: 13px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.el-radio-button__inner {font-size: 12px;}
|
.el-radio-button__inner {font-size: 12px;}
|
||||||
.el-checkbox-button__inner {font-size: 12px;}
|
.el-checkbox-button__inner {font-size: 12px;}
|
||||||
|
@ -212,7 +212,6 @@
|
|||||||
// this.form = data
|
// this.form = data
|
||||||
Object.assign(this.form, data)
|
Object.assign(this.form, data)
|
||||||
|
|
||||||
this.menu.checked = this.form.authority.menu || [];
|
|
||||||
this.grid.checked = this.form.authority.grid || [];
|
this.grid.checked = this.form.authority.grid || [];
|
||||||
this.dept.checked = this.form.authority.dept || [];
|
this.dept.checked = this.form.authority.dept || [];
|
||||||
|
|
||||||
@ -221,6 +220,14 @@
|
|||||||
if (res.code==200) {
|
if (res.code==200) {
|
||||||
// Object.assign(this.$data, res.data);
|
// Object.assign(this.$data, res.data);
|
||||||
this.menu.list = res.data.menu || [];
|
this.menu.list = res.data.menu || [];
|
||||||
|
//获取接口返回的之前选中的和半选的合并,处理过滤掉有叶子节点的key
|
||||||
|
this.menu.checked = this.form.authority.menu || []
|
||||||
|
this.$nextTick(() => {
|
||||||
|
let filterKeys = this.menu.checked.filter(key => this.$refs.menu.getNode(key).isLeaf)
|
||||||
|
this.$refs.menu.setCheckedKeys(filterKeys, true)
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
this.grid.list = res.data.grid || [];
|
this.grid.list = res.data.grid || [];
|
||||||
this.dept.list = res.data.dept || [];
|
this.dept.list = res.data.dept || [];
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user