权限
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
type="text"
|
||||
size="mini"
|
||||
v-show="data.show"
|
||||
v-btn-permission="'764f630a49072d76a237dbcc9a1831e1'"
|
||||
v-btn-permission="'e9e80920563325fa7f6e91213ee98466'"
|
||||
@click="() => append(data)">
|
||||
新增
|
||||
</el-button>
|
||||
@@ -34,7 +34,7 @@
|
||||
type="text"
|
||||
size="mini"
|
||||
v-show="data.show"
|
||||
v-btn-permission="'afdef0736eb111e9865e19fa3129d0ac'"
|
||||
v-btn-permission="'0b95246d8ad2da6c54381deffa3d0fa2'"
|
||||
@click="() => update(data)">
|
||||
编辑
|
||||
</el-button>
|
||||
@@ -42,7 +42,7 @@
|
||||
type="text"
|
||||
size="mini"
|
||||
v-show="data.showDel"
|
||||
v-btn-permission="'c517df26b904cb8f69495f7f38f8f77b'"
|
||||
v-btn-permission="'07ba9d907841a62a18267198da3873b1'"
|
||||
@click="() => remove(node, data)">
|
||||
删除
|
||||
</el-button>
|
||||
@@ -93,6 +93,7 @@
|
||||
<el-button
|
||||
type="primary"
|
||||
size="mini"
|
||||
v-btn-permission="'39784f04404cdf50891e9d033f6373c3'"
|
||||
@click="searchInfo">
|
||||
查询
|
||||
</el-button>
|
||||
@@ -109,6 +110,7 @@
|
||||
<el-button
|
||||
size="mini"
|
||||
type="primary"
|
||||
v-btn-permission="'45db41d367f474e10a7ae5dbe8cb0f6e'"
|
||||
@click="addInfo">新增
|
||||
</el-button>
|
||||
</div>
|
||||
@@ -160,12 +162,14 @@
|
||||
<el-button
|
||||
size="mini"
|
||||
type="primary"
|
||||
v-btn-permission="'d9698737e801822ab8f96dbcd47b7d62'"
|
||||
@click="editInfo(scope.row)"
|
||||
>编辑
|
||||
</el-button>
|
||||
<el-button
|
||||
size="mini"
|
||||
type="danger"
|
||||
v-btn-permission="'1cae70abf414bacc33f3ed794cdfa903'"
|
||||
@click="deleteInfo(scope.row)"
|
||||
>删除
|
||||
</el-button>
|
||||
@@ -823,25 +827,25 @@ export default {
|
||||
background: #fff;
|
||||
width: 16%;
|
||||
position: relative;
|
||||
|
||||
|
||||
.tree {
|
||||
/deep/ .el-card__body {
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
|
||||
.el-card {
|
||||
width: 500px;
|
||||
min-width: 2000px;
|
||||
max-width: 100%;
|
||||
//min-width: min-content;
|
||||
}
|
||||
|
||||
|
||||
height: 95%;
|
||||
width: calc(~'100% - 15px');
|
||||
position: absolute;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
|
||||
.tree-collapse {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
@@ -856,19 +860,19 @@ export default {
|
||||
height: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
|
||||
.content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
position: relative;
|
||||
flex: auto;
|
||||
|
||||
|
||||
.table-wrap {
|
||||
flex: auto;
|
||||
overflow: hidden;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
|
||||
.collection-btn {
|
||||
padding: 0;
|
||||
border: none;
|
||||
@@ -878,17 +882,17 @@ export default {
|
||||
height: 18px;
|
||||
background-color: transparent;
|
||||
/*background: rgba(244, 162, 39, 0.1);*/
|
||||
|
||||
|
||||
//.icon-collection {
|
||||
// background-image: url("~assets/images/shangqi/standardDetails/collection.png");
|
||||
//}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.pagination {
|
||||
position: static;
|
||||
|
||||
|
||||
/deep/ .pagination-slot {
|
||||
padding: 0;
|
||||
}
|
||||
@@ -905,11 +909,11 @@ export default {
|
||||
padding-left: 0px; // 缩进量
|
||||
line-height: 30px;
|
||||
}
|
||||
|
||||
|
||||
.el-tree-node__children {
|
||||
padding-left: 16px; // 缩进量
|
||||
}
|
||||
|
||||
|
||||
// 竖线
|
||||
.el-tree-node::before {
|
||||
content: "";
|
||||
@@ -921,12 +925,12 @@ export default {
|
||||
border-width: 1px;
|
||||
border-left: 1px dashed #858990e0;
|
||||
}
|
||||
|
||||
|
||||
// 当前层最后一个节点的竖线高度固定
|
||||
.el-tree-node:last-child::before {
|
||||
height: 38px; // 可以自己调节到合适数值
|
||||
}
|
||||
|
||||
|
||||
// 横线
|
||||
.el-tree-node::after {
|
||||
content: "";
|
||||
@@ -938,16 +942,16 @@ export default {
|
||||
border-width: 1px;
|
||||
border-top: 1px dashed #858990e0;
|
||||
}
|
||||
|
||||
|
||||
// 去掉最顶层的虚线,放最下面样式才不会被上面的覆盖了
|
||||
& > .el-tree-node::after {
|
||||
border-top: none;
|
||||
}
|
||||
|
||||
|
||||
& > .el-tree-node::before {
|
||||
border-left: none;
|
||||
}
|
||||
|
||||
|
||||
// 展开关闭的icon
|
||||
.el-tree-node__expand-icon {
|
||||
font-size: 16px;
|
||||
|
||||
Reference in New Issue
Block a user