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