Commit a18ee02b by xinla

--no commit message

1 parent e03b0b91
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<!-- <keep-alive :include="cachedViews"> <!-- <keep-alive :include="cachedViews">
</keep-alive> --> </keep-alive> -->
</transition> </transition>
<div v-loading="loading" class="height100 micro-app-wrap container"> <div v-loading="loading" class="micro-app-wrap container">
<div id="micro-app" class="height100" v-show="isActiveMicroApp"> <div id="micro-app" class="height100" v-show="isActiveMicroApp">
<!-- <div id="app" class="mask" style="position: absolute"> <!-- <div id="app" class="mask" style="position: absolute">
<i class="el-icon-loading cc"></i> <i class="el-icon-loading cc"></i>
...@@ -85,7 +85,7 @@ export default { ...@@ -85,7 +85,7 @@ export default {
} }
.container { .container {
position: relative; position: relative;
max-height: 100%; height: 100%;
overflow-y: auto; overflow-y: auto;
overflow-x: hidden; overflow-x: hidden;
...@@ -97,7 +97,7 @@ export default { ...@@ -97,7 +97,7 @@ export default {
} }
} }
.page { .page {
padding: 0 20px; padding: 0 15px 0 20px;
// background: #fff; // background: #fff;
// border-radius: var(--border-radius-big); // border-radius: var(--border-radius-big);
} }
......
...@@ -320,41 +320,41 @@ ...@@ -320,41 +320,41 @@
overflow: initial; overflow: initial;
} }
.diy-theme { // .diy-theme {
// .el-date-table td.in-range div { // .el-date-table td.in-range div {
// background-color: #e6f8ef; // background-color: #e6f8ef;
// } // }
// .el-input__inner, // .el-input__inner,
// .tag-input { // .tag-input {
// background-color: transparent; // background-color: transparent;
// } // }
// .tag-input { // .tag-input {
// } // }
// 分页 // 分页
.el-pagination.is-background .btn-prev, .el-pagination.is-background .btn-prev,
.el-pagination.is-background .btn-next, .el-pagination.is-background .btn-next,
.el-pagination.is-background .el-pager li { .el-pagination.is-background .el-pager li {
background-color: transparent; background-color: transparent;
border-radius: 4px; border-radius: 4px;
height: 30px; height: 30px;
border: 1px solid #d4d6d9; border: 1px solid #d4d6d9;
} }
.el-pagination.is-background .el-pager li:not(.disabled).active { .el-pagination.is-background .el-pager li:not(.disabled).active {
background-color: transparent; background-color: transparent;
border-color: var(--color); border-color: var(--color);
color: var(--color); color: var(--color);
} }
// to fixed https://github.com/ElemeFE/element/issues/2461 // to fixed https://github.com/ElemeFE/element/issues/2461
// .el-dialog { // .el-dialog {
// transform: none; // transform: none;
// left: 0; // left: 0;
// position: relative; // position: relative;
// margin: 0 auto; // margin: 0 auto;
// } // }
// 弹窗 // 弹窗
.el-dialog { .el-dialog {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
margin: 0 !important; margin: 0 !important;
...@@ -366,121 +366,122 @@ ...@@ -366,121 +366,122 @@
max-width: calc(100% - 30px); max-width: calc(100% - 30px);
border-radius: var(--border-radius-big); border-radius: var(--border-radius-big);
padding: 20px 30px; padding: 20px 30px;
} }
.el-dialog__title { .el-dialog__title {
font-weight: 500; font-weight: 500;
} }
.el-dialog__header, .el-dialog__header,
.el-dialog__footer, .el-dialog__footer,
.el-dialog__body { .el-dialog__body {
padding: 0; padding: 0;
} }
.el-dialog__body { .el-dialog__body {
flex: 1; flex: 1;
overflow-y: auto; overflow-y: auto;
overflow-x: hidden; overflow-x: hidden;
margin: 20px 0; margin: 20px 0;
} }
.el-dialog__headerbtn { .el-dialog__headerbtn {
top: 18px; top: 18px;
right: 25px; right: 25px;
.el-dialog__close { .el-dialog__close {
font-size: 22px; font-size: 22px;
color: #86909c; color: #86909c;
} }
} }
.el-popover { .el-popover {
// max-width: 99%; // max-width: 99%;
margin-right: 5px; margin-right: 5px;
} }
// 按钮 // 按钮
.el-button--default { .el-button--default {
border-color: var(--color); border-color: var(--color);
color: var(--color); color: var(--color);
} }
// 弹窗的确定按钮 .el-message-box__btns {
.el-button--default.el-button--primary { .el-button--default.el-button--primary {
color: #fff; color: #fff;
} }
.el-button--small:not(.el-button--text) { }
.el-button--small:not(.el-button--text) {
padding: 9px 19px; padding: 9px 19px;
border-radius: var(--border-radius-small); border-radius: var(--border-radius-small);
} }
// 步骤条 // 步骤条
.el-step__icon { .el-step__icon.is-text {
width: 40px; width: 40px;
height: 40px; height: 40px;
border: 0; border: 0;
} }
.el-step.is-center .el-step__main { .el-step.is-center .el-step__main {
position: absolute; position: absolute;
top: 1px; top: 1px;
left: calc(50% + 30px); left: calc(50% + 30px);
} }
.el-step.is-center .el-step__line { .el-step.is-center .el-step__line {
height: 1px; height: 1px;
background: #e8e9ed; background: #e8e9ed;
top: 20px; top: 20px;
left: calc(50% + 30px + 80px); left: calc(50% + 30px + 80px);
right: calc(-50% + 30px); right: calc(-50% + 30px);
} }
.el-step__head.is-success, .el-step__head.is-success,
.el-step__head.is-finish { .el-step__head.is-finish {
.el-step__icon.is-text { .el-step__icon.is-text {
background: #c7eddb; // 图标背景 background: #c7eddb; // 图标背景
} }
} }
.el-step__title.is-process { .el-step__title.is-process {
color: #86909c; // 标题颜色 color: #86909c; // 标题颜色
} }
.el-step__head.is-process { .el-step__head.is-process {
color: #fff; // 数字颜色 color: #fff; // 数字颜色
.el-step__icon.is-text { .el-step__icon.is-text {
background: var(--color); background: var(--color);
} }
} }
.el-step__head.is-wait { .el-step__head.is-wait {
color: #86909c; color: #86909c;
.el-step__icon.is-text { .el-step__icon.is-text {
background: #e8e9ed; background: #e8e9ed;
} }
} }
// 抽屉 // 抽屉
.el-drawer.rtl { .el-drawer.rtl {
top: var(--top-nav-heght); top: var(--top-nav-heght);
height: auto; height: auto;
box-shadow: -4px 0px 40px 0px rgba(29, 33, 41, 0.1); box-shadow: -4px 0px 40px 0px rgba(29, 33, 41, 0.1);
border-radius: 16px 0px 0px 0px; border-radius: 16px 0px 0px 0px;
} }
// 标签页选中高亮线 // 标签页选中高亮线
// .el-tabs__active-bar { // .el-tabs__active-bar {
// display: none; // display: none;
// } // }
// .el-tabs__item.is-active::after { // .el-tabs__item.is-active::after {
// content: ''; // content: '';
// display: inline-block; // display: inline-block;
// position: absolute; // position: absolute;
// width: 40px; // width: 40px;
// height: 2px; // height: 2px;
// bottom: 0; // bottom: 0;
// left: calc(50% - 10px); // left: calc(50% - 10px);
// transform: translateX(-50%); // transform: translateX(-50%);
// background: var(--color); // background: var(--color);
// } // }
// 表格 // 表格
// el-table--scrollable-x // el-table--scrollable-x
// .top-search + .el-table { // .top-search + .el-table {
// @extend .--card; // @extend .--card;
// box-sizing: content-box; // box-sizing: content-box;
// border: 20px solid #fff; border-radius: 20px; background: #fff // border: 20px solid #fff; border-radius: 20px; background: #fff
// } // }
.el-table { .el-table {
font-size: 14px; font-size: 14px;
background-color: transparent; background-color: transparent;
&:not(:first-child) { &:not(:first-child) {
...@@ -556,18 +557,18 @@ ...@@ -556,18 +557,18 @@
border-radius: var(--border-radius) 0 0 var(--border-radius); border-radius: var(--border-radius) 0 0 var(--border-radius);
} }
} }
} }
// 行hover 高亮 // 行hover 高亮
.el-table--enable-row-hover .el-table__body tr:hover > td.el-table__cell, .el-table--enable-row-hover .el-table__body tr:hover > td.el-table__cell,
.el-table__body tr.hover-row > td.el-table__cell, .el-table__body tr.hover-row > td.el-table__cell,
.el-table__body tr.hover-row.current-row > td.el-table__cell, .el-table__body tr.hover-row.current-row > td.el-table__cell,
.el-table__body tr.hover-row.el-table__row--striped > td.el-table__cell, .el-table__body tr.hover-row.el-table__row--striped > td.el-table__cell,
.el-table__body tr.hover-row.el-table__row--striped.current-row > td.el-table__cell { .el-table__body tr.hover-row.el-table__row--striped.current-row > td.el-table__cell {
background-color: #f8fafc; background-color: #f8fafc;
} }
// 滚动条宽度 // 滚动条宽度
.el-scrollbar__bar.is-vertical { .el-scrollbar__bar.is-vertical {
width: 5px; width: 5px;
}
} }
// }
...@@ -228,6 +228,111 @@ div:focus { ...@@ -228,6 +228,111 @@ div:focus {
border-radius: var(--border-radius-big); border-radius: var(--border-radius-big);
margin-top: var(--card-margin); margin-top: var(--card-margin);
} }
// 左右分类列表
&left-right {
display: flex;
justify-content: space-between;
height: 100%;
.left {
flex: auto;
display: flex;
flex-direction: column;
margin-right: var(--border-radius-big);
.title {
display: flex;
justify-content: space-between;
align-items: center;
.title-name {
color: rgba(0, 0, 0, 0.9);
font-size: 14px;
font-weight: 600;
// color: #333333;
display: flex;
align-items: center;
}
.title-btn {
cursor: pointer;
display: flex;
align-items: center;
font-size: 14px;
font-weight: normal;
color: var(--color);
&:hover {
opacity: 0.8;
}
}
}
.item-list {
margin-top: 15px;
display: flex;
flex-direction: column;
overflow-x: hidden;
overflow-y: auto;
.item {
cursor: pointer;
display: flex;
justify-content: space-between;
align-items: center;
font-size: 14px;
color: rgba(0, 0, 0, 0.6);
height: 40px;
line-height: 40px;
width: 100%;
padding-left: 20px;
.name {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.dropdown {
// display: none;
.dot {
cursor: pointer;
width: 15px;
height: 15px;
line-height: 15px;
font-size: 14px;
font-family: JMT-Font, JMT;
font-weight: normal;
color: rgba(0, 0, 0, 0.6);
margin-right: 10px;
margin-left: 5px;
font-weight: 500;
.content-icon {
color: rgba(0, 0, 0, 0.6);
font-size: 12px;
transform: rotate(90deg);
}
}
}
&:hover {
color: rgba(0, 0, 0, 0.9);
background: #f5f8fe;
opacity: 0.8;
border-radius: 2px;
.dropdown {
// display: block;
}
}
}
.active {
// border-left: 2px solid #3c88f0;
color: rgba(0, 0, 0, 0.9);
background: #f5f8fe;
border-radius: 2px;
}
}
}
.right {
width: 78%;
display: flex;
flex-direction: column;
flex: none;
}
}
} }
.card-group-index + .g-card { .card-group-index + .g-card {
......
...@@ -541,10 +541,9 @@ export default { ...@@ -541,10 +541,9 @@ export default {
</script> </script>
<template> <template>
<div class="page"> <div class="">
<div style="margin-top: 16px"> <div class="g-left-right" style="height: calc(100vh - 182px)">
<el-row type="flex" justify="space-between"> <div class="left g-card">
<el-col :span="5" class="left pad20" style="border-radius: 4px; background: #fff">
<!-- <div> --> <!-- <div> -->
<!-- v-hasPermi="['wechat:category:add']" --> <!-- v-hasPermi="['wechat:category:add']" -->
<!-- <el-button slot="reference" type="primary" @click="treeEdit({}, 0)">添加分类</el-button> --> <!-- <el-button slot="reference" type="primary" @click="treeEdit({}, 0)">添加分类</el-button> -->
...@@ -573,10 +572,10 @@ export default { ...@@ -573,10 +572,10 @@ export default {
</el-dropdown> </el-dropdown>
</div> </div>
</div> </div>
</el-col> </div>
<el-col :span="19" style="margin-top: 0px"> <div class="right">
<div class="g-card"> <div class="g-card fxnone">
<el-input <el-input
v-model="query.materialName" v-model="query.materialName"
:placeholder="'请输入' + typeTitle[type] + '标题'" :placeholder="'请输入' + typeTitle[type] + '标题'"
...@@ -585,11 +584,7 @@ export default { ...@@ -585,11 +584,7 @@ export default {
style="width: 300px" style="width: 300px"
@keyup.enter.native="search()" /> @keyup.enter.native="search()" />
<el-select v-model="query.type" placeholder="请选择海报类型" class="ml20" v-if="type === '5'"> <el-select v-model="query.type" placeholder="请选择海报类型" class="ml20" v-if="type === '5'">
<el-option <el-option v-for="item in posterType" :key="item.value" :label="item.label" :value="item.value"></el-option>
v-for="item in posterType"
:key="item.value"
:label="item.label"
:value="item.value"></el-option>
</el-select> </el-select>
<el-button style="margin-left: 10px" type="primary" @click="getList(1)">查询</el-button> <el-button style="margin-left: 10px" type="primary" @click="getList(1)">查询</el-button>
<el-button @click="resetQuery">重置</el-button> <el-button @click="resetQuery">重置</el-button>
...@@ -632,8 +627,7 @@ export default { ...@@ -632,8 +627,7 @@ export default {
:limit.sync="query.pageSize" :limit.sync="query.pageSize"
@pagination="getList()" /> @pagination="getList()" />
</div> </div>
</el-col> </div>
</el-row>
</div> </div>
<!-- 分组弹框 --> <!-- 分组弹框 -->
<el-dialog <el-dialog
...@@ -930,98 +924,6 @@ export default { ...@@ -930,98 +924,6 @@ export default {
color: #999; color: #999;
font-size: 12px; font-size: 12px;
} }
.left {
margin-right: 16px;
.title {
color: var(--color);
display: flex;
justify-content: space-between;
align-items: center;
.title-name {
color: rgba(0, 0, 0, 0.9);
font-size: 16px;
font-weight: 600;
// color: #333333;
display: flex;
align-items: center;
}
.title-btn {
cursor: pointer;
display: flex;
align-items: center;
font-size: 14px;
font-weight: normal;
color: var(--color);
&:hover {
opacity: 0.8;
}
}
}
.item-list {
max-height: 700px;
padding-top: 15px;
display: flex;
flex-direction: column;
height: 100%;
overflow-x: hidden;
overflow-y: auto;
.item {
cursor: pointer;
display: flex;
justify-content: space-between;
align-items: center;
font-size: 14px;
color: rgba(0, 0, 0, 0.6);
height: 40px;
line-height: 40px;
width: 100%;
padding-left: 20px;
.name {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.dropdown {
// display: none;
.dot {
cursor: pointer;
width: 15px;
height: 15px;
line-height: 15px;
font-size: 14px;
font-family: JMT-Font, JMT;
font-weight: normal;
color: rgba(0, 0, 0, 0.6);
margin-right: 10px;
margin-left: 5px;
font-weight: 500;
.content-icon {
color: rgba(0, 0, 0, 0.6);
font-size: 12px;
transform: rotate(90deg);
}
}
}
&:hover {
color: rgba(0, 0, 0, 0.9);
background: #f5f8fe;
opacity: 0.8;
border-radius: 2px;
.dropdown {
// display: block;
}
}
}
.active {
// border-left: 2px solid var(--color);
color: rgba(0, 0, 0, 0.9);
background: #f5f8fe;
border-radius: 2px;
}
}
}
.custom-tree-node { .custom-tree-node {
overflow: hidden; overflow: hidden;
......
...@@ -390,9 +390,8 @@ export default { ...@@ -390,9 +390,8 @@ export default {
<template> <template>
<div class="page"> <div class="page">
<div style="margin-top: 16px"> <div class="g-left-right">
<el-row type="flex" justify="space-between"> <div class="left g-card">
<el-col :span="5" class="left pad20" style="border-radius: 4px; background: #fff">
<div class="title"> <div class="title">
<div class="title-name">{{ typeTitle[type] }}分组</div> <div class="title-name">{{ typeTitle[type] }}分组</div>
<div class="title-btn" @click="addGroup">添加</div> <div class="title-btn" @click="addGroup">添加</div>
...@@ -417,10 +416,10 @@ export default { ...@@ -417,10 +416,10 @@ export default {
</el-dropdown> </el-dropdown>
</div> </div>
</div> </div>
</el-col> </div>
<el-col :span="19" style="margin-top: 0px"> <div class="right">
<div class="g-card"> <div class="g-card fxnone">
<el-input <el-input
v-model="query.talkTitle" v-model="query.talkTitle"
:placeholder="'请输入' + typeTitle[type] + '标题'" :placeholder="'请输入' + typeTitle[type] + '标题'"
...@@ -477,8 +476,7 @@ export default { ...@@ -477,8 +476,7 @@ export default {
:limit.sync="query.pageSize" :limit.sync="query.pageSize"
@pagination="getList()" /> @pagination="getList()" />
</div> </div>
</el-col> </div>
</el-row>
</div> </div>
<!-- 分组弹框 --> <!-- 分组弹框 -->
<el-dialog <el-dialog
...@@ -509,99 +507,6 @@ export default { ...@@ -509,99 +507,6 @@ export default {
</template> </template>
<style lang="scss" scoped> <style lang="scss" scoped>
.left {
margin-right: 16px;
.title {
color: var(--color);
display: flex;
justify-content: space-between;
align-items: center;
.title-name {
color: rgba(0, 0, 0, 0.9);
font-size: 16px;
font-weight: 600;
// color: #333333;
display: flex;
align-items: center;
}
.title-btn {
cursor: pointer;
display: flex;
align-items: center;
font-size: 14px;
font-weight: normal;
color: var(--color);
&:hover {
opacity: 0.8;
}
}
}
.item-list {
max-height: 700px;
padding-top: 15px;
display: flex;
flex-direction: column;
height: 100%;
overflow-x: hidden;
overflow-y: auto;
.item {
cursor: pointer;
display: flex;
justify-content: space-between;
align-items: center;
font-size: 14px;
color: rgba(0, 0, 0, 0.6);
height: 40px;
line-height: 40px;
width: 100%;
padding-left: 20px;
.name {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.dropdown {
// display: none;
.dot {
cursor: pointer;
width: 15px;
height: 15px;
line-height: 15px;
font-size: 14px;
font-family: JMT-Font, JMT;
font-weight: normal;
color: rgba(0, 0, 0, 0.6);
margin-right: 10px;
margin-left: 5px;
font-weight: 500;
.content-icon {
color: rgba(0, 0, 0, 0.6);
font-size: 12px;
transform: rotate(90deg);
}
}
}
&:hover {
color: rgba(0, 0, 0, 0.9);
background: #f5f8fe;
opacity: 0.8;
border-radius: 2px;
.dropdown {
// display: block;
}
}
}
.active {
// border-left: 2px solid var(--color);
color: rgba(0, 0, 0, 0.9);
background: #f5f8fe;
border-radius: 2px;
}
}
}
.custom-tree-node { .custom-tree-node {
overflow: hidden; overflow: hidden;
flex-shrink: 1; flex-shrink: 1;
......
<template> <template>
<div> <div>
<el-form class="top-search" :model="query" ref="queryForm" label-position="left" :inline="true" label-width="80px"> <div class="g-left-right">
<el-form-item label="员工姓名" prop="title">
<el-input v-model="query.userName" placeholder="请输入" clearable />
</el-form-item>
<el-form-item label="角色">
<el-select v-model="query.roleId">
<el-option label="全部" value=""></el-option>
<el-option
v-for="(data, key) in roleList"
:key="data.roleId"
:label="data.roleName"
:value="data.roleId"></el-option>
</el-select>
</el-form-item>
<el-form-item label>
<el-button type="primary" @click="getList(1)">查询</el-button>
<el-button @click="resetFn()">重置</el-button>
</el-form-item>
</el-form>
<el-row type="flex" justify="space-between" class="g-card">
<!--部门数据--> <!--部门数据-->
<el-col :span="4"> <div class="left g-card head-container">
<div class="head-container">
<!-- <div>部门架构</div> --> <!-- <div>部门架构</div> -->
<!-- :filter-node-method="filterNode" --> <!-- :filter-node-method="filterNode" -->
<!-- default-expand-all --> <!-- default-expand-all -->
...@@ -52,9 +32,28 @@ ...@@ -52,9 +32,28 @@
</div> </div>
</el-tree> </el-tree>
</div> </div>
</el-col>
<!--用户数据--> <!--用户数据-->
<el-col :span="19"> <div class="right">
<el-form class="top-search" :model="query" ref="queryForm" label-position="left" :inline="true" label-width="">
<el-form-item label="员工姓名" prop="title">
<el-input v-model="query.userName" placeholder="请输入" clearable />
</el-form-item>
<el-form-item label="角色">
<el-select v-model="query.roleId">
<el-option label="全部" value=""></el-option>
<el-option
v-for="(data, key) in roleList"
:key="data.roleId"
:label="data.roleName"
:value="data.roleId"></el-option>
</el-select>
</el-form-item>
<el-form-item label>
<el-button type="primary" @click="getList(1)">查询</el-button>
<el-button @click="resetFn()">重置</el-button>
</el-form-item>
</el-form>
<div class="g-card">
<el-table v-loading="loading" :data="userList" @selection-change="handleSelectionChange"> <el-table v-loading="loading" :data="userList" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="50" align="center" /> <el-table-column type="selection" width="50" align="center" />
<el-table-column label="员工姓名" align="center" prop="userName" :show-overflow-tooltip="true" /> <el-table-column label="员工姓名" align="center" prop="userName" :show-overflow-tooltip="true" />
...@@ -75,7 +74,12 @@ ...@@ -75,7 +74,12 @@
<show-tag :list="row.rolesDepts" keyStr="roleName" /> <show-tag :list="row.rolesDepts" keyStr="roleName" />
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="操作" align="center" fixed="right" width="100" class-name="small-padding fixed-width"> <el-table-column
label="操作"
align="center"
fixed="right"
width="100"
class-name="small-padding fixed-width">
<template slot-scope="{ row }"> <template slot-scope="{ row }">
<!-- v-hasPermi="['contacts:organization:view']" --> <!-- v-hasPermi="['contacts:organization:view']" -->
<el-button type="text" @click="editRoles(row)" :disabled="setDisabled(row)">修改角色</el-button> <el-button type="text" @click="editRoles(row)" :disabled="setDisabled(row)">修改角色</el-button>
...@@ -88,8 +92,9 @@ ...@@ -88,8 +92,9 @@
:page.sync="query.pageNum" :page.sync="query.pageNum"
:limit.sync="query.pageSize" :limit.sync="query.pageSize"
@pagination="getList()" /> @pagination="getList()" />
</el-col> </div>
</el-row> </div>
</div>
<el-dialog title="设置角色" :visible.sync="modalStatus" append-to-body width="400px"> <el-dialog title="设置角色" :visible.sync="modalStatus" append-to-body width="400px">
<el-form class="" inline="" label-position="" label-width=""> <el-form class="" inline="" label-position="" label-width="">
......
<template> <template>
<div> <div class="g-left-right">
<div class="g-card"> <div class="left g-card">
<el-row type="flex" justify="space-between">
<el-col :span="5" class="left pad20">
<div class="title"> <div class="title">
<div class="title-name">角色列表</div> <div class="title-name">角色列表</div>
<div class="title-btn" @click="addFn">新建</div> <div class="title-btn" @click="addFn">新建</div>
...@@ -20,8 +18,8 @@ ...@@ -20,8 +18,8 @@
</div> </div>
</div> </div>
</div> </div>
</el-col> </div>
<el-col :span="19" class="pad20"> <div class="right g-card mt0">
<div class="title-name"> <div class="title-name">
{{ currentStatus === 'detail' ? '角色详情' : currentStatus === 'add' ? '新建角色' : '编辑角色' }} {{ currentStatus === 'detail' ? '角色详情' : currentStatus === 'add' ? '新建角色' : '编辑角色' }}
</div> </div>
...@@ -54,7 +52,7 @@ ...@@ -54,7 +52,7 @@
</el-form-item> </el-form-item>
</el-form> </el-form>
</div> </div>
<div class="bottom" v-if="roles[activeIndex]"> <div class="g-footer-sticky bottom" v-if="roles[activeIndex]">
<el-button plain type="danger">删除</el-button> <el-button plain type="danger">删除</el-button>
<el-button type="primary" @click="edtiFn">编辑</el-button> <el-button type="primary" @click="edtiFn">编辑</el-button>
</div> </div>
...@@ -71,8 +69,6 @@ ...@@ -71,8 +69,6 @@
@cancel="cancel" @cancel="cancel"
:list="menuOptions" /> :list="menuOptions" />
</div> </div>
</el-col>
</el-row>
</div> </div>
</div> </div>
</template> </template>
...@@ -251,11 +247,8 @@ export default { ...@@ -251,11 +247,8 @@ export default {
align-items: center; align-items: center;
} }
.bottom { .bottom {
display: flex;
justify-content: flex-end; justify-content: flex-end;
border-radius: 5px;
padding: 20px; padding: 20px;
background-color: #f5f5f5;
} }
.left { .left {
border-right: 1px solid #f1f1f1; border-right: 1px solid #f1f1f1;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!