Browse Source

修改细节

凉纪 2 years ago
parent
commit
e64763ac8c
2 changed files with 5 additions and 6 deletions
  1. 1 1
      src/assets/styles/ruoyi.scss
  2. 4 5
      src/views/system/dept/index.vue

+ 1 - 1
src/assets/styles/ruoyi.scss

@@ -291,7 +291,7 @@
 .el-table thead{
   >tr{
     >th{
-      background-color: #CCE8F7!important;
+      background-color: #B5E0F619 !important;
     }
   }
 }

+ 4 - 5
src/views/system/dept/index.vue

@@ -115,7 +115,7 @@
             prop="shortName"
             label="机构简称"
           ></el-table-column>
-          <el-table-column align="center" prop="type" width="150" label="机构类型">
+          <el-table-column align="center" prop="type" label="机构类型">
             <template v-slot="scope">
               <dict-tag
                 :options="dict.type.sys_org_type"
@@ -123,7 +123,7 @@
               />
             </template>
           </el-table-column>
-           <el-table-column  prop="code" label="机构编码" min-width="50"></el-table-column>
+           <el-table-column  prop="code" align="center" label="机构编码"></el-table-column>
 
             <el-table-column prop="isLock" align="center" label="机构状态">
               <template v-slot="scope">
@@ -138,8 +138,6 @@
               align="center"
               prop="sort"
               label="排序"
-              min-width="60"
-              width="60"
             ></el-table-column>
             <el-table-column v-if="false"
               align="center"
@@ -169,7 +167,7 @@
             ></el-table-column>
             <el-table-column
               label="操作"
-              align="center"
+              align="left"
               class-name="small-padding fixed-width"
             >
               <template slot-scope="scope">
@@ -190,6 +188,7 @@
                   @click="handleReplenish(scope.row.id)"
                   >补充信息</el-button
                 >
+                <span v-else style="display: inline-block;width: 70px;height: 20px;"></span>
                 <!-- </router-link> -->
                 <el-divider direction="vertical"></el-divider>
                 <el-button