Prechádzať zdrojové kódy

style: 组织架构

ystl_myq 8 mesiacov pred
rodič
commit
fa16f84cd8

+ 1 - 1
src/views/background/framework/proson/prosonDepartment.vue

@@ -220,7 +220,7 @@ const editRoles = row => {
           </el-dropdown>
         </template>
       </el-tree>
-      <el-button type="primary" plain @click="addDepartment"
+      <el-button class="w-full mt-4" type="primary" plain @click="addDepartment"
         >添加部门</el-button
       >
     </div>

+ 2 - 0
src/views/background/framework/roles/rolePower.vue

@@ -262,6 +262,7 @@ const deltetePerson = item => {
 </template>
 <style lang="scss" scoped>
 .box-left {
+  position: relative;
   width: 25%;
   // border: 1px solid red;
   height: 100%;
@@ -278,6 +279,7 @@ const deltetePerson = item => {
 .addRole {
   position: absolute;
   bottom: 70px;
+  width: calc(100% - 50px);
 }
 // ::v-deep .el-dropdown {
 //   line-height: 1;

+ 2 - 0
src/views/background/framework/users/index.vue

@@ -222,6 +222,7 @@ const deltetePerson = row => {
 </template>
 <style lang="scss" scoped>
 .box-left {
+  position: relative;
   width: 25%;
   // border: 1px solid red;
   height: 100%;
@@ -238,6 +239,7 @@ const deltetePerson = row => {
 .addRole {
   position: absolute;
   bottom: 70px;
+  width: calc(100% - 50px);
 }
 
 .userName {