فهرست منبع

修改权限管理弹窗样式

lm 2 هفته پیش
والد
کامیت
bf0fb57540
1فایلهای تغییر یافته به همراه9 افزوده شده و 6 حذف شده
  1. 9 6
      src/views/school/authConfig.vue

+ 9 - 6
src/views/school/authConfig.vue

@@ -23,14 +23,14 @@
       </div>
 
       <!-- 开通系统 选项配置 -->
-      <div v-if="authType == '2'" class="grade_content">
+      <div v-if="authType == '2'" class="system_content">
         <el-checkbox-group v-model="selectedSystem">
           <el-checkbox v-for="item in systemList" :key="item.id" :label="item.name" :value="item.id" />
         </el-checkbox-group>
       </div>
 
       <!-- 开通模块 选项配置  -->
-      <div v-if="authType == '3'" class="grade_content">
+      <div v-if="authType == '3'" class="module_content">
         <div v-for="(module, index) in moduleList" :key="module.id" class="grade_level">
           <el-checkbox v-model="moduleCheckAll[index]" :indeterminate="!moduleCheckAll[index] && selectedModules[index]?.length > 0" :label="module.name" 
               @click="CheckAllChange(index,'module')" />
@@ -360,6 +360,9 @@ const SubmitForm = async () => {
     font-size: 16px !important;
   }
 }
+
+.module_content,
+.system_content,
 .grade_content {
   padding: 0 20px;
   .grade_level {
@@ -368,10 +371,10 @@ const SubmitForm = async () => {
       font-weight: 600;
       color: #333;
     }
-    :deep(.el-checkbox__label){
-      font-size: 16px !important;
-      color: #666;
-    }
+  }
+  :deep(.el-checkbox__label){
+    font-size: 16px !important;
+    color: #666;
   }
 }
 </style>