浏览代码

Merge commit '497a3b9697ae32bbee55f6378a286ad61ed8aa81' into gzb

gzb
guozhongbo 8 个月前
父节点
当前提交
1770c8e2a7
共有 2 个文件被更改,包括 16 次插入2 次删除
  1. 3
    0
      src/assets/less/common.less
  2. 13
    2
      src/views/schoolSection/networkManage/whitelist.vue

+ 3
- 0
src/assets/less/common.less 查看文件

@@ -359,6 +359,9 @@ fieldset[disabled] .ivu-input,
359 359
 // 多选框禁用时选中颜色修改
360 360
 .ivu-checkbox-indeterminate.ivu-checkbox-disabled,
361 361
 .ivu-checkbox-disabled {
362
+  & + span {
363
+    color: #798cb5;
364
+  }
362 365
   &.ivu-checkbox-checked .ivu-checkbox-inner,
363 366
   .ivu-checkbox-inner {
364 367
     background-color: #d2dbf3;

+ 13
- 2
src/views/schoolSection/networkManage/whitelist.vue 查看文件

@@ -31,8 +31,19 @@
31 31
           <div class="action_list">
32 32
             <div @click="toView(row)" v-if="row.whiteType !== 2">查看</div>
33 33
             <div @click="toEdit(row)" v-if="row.whiteType !== 2">编辑</div>
34
-            <div class="action_del" @click="toDel(row)">
35
-              {{ row.whiteType === 2 ? "移除" : "删除" }}
34
+            <div
35
+              class="action_del"
36
+              v-if="row.whiteType === 2 && row.rtype === 3"
37
+              @click="toDel(row)"
38
+            >
39
+              移除
40
+            </div>
41
+            <div
42
+              class="action_del"
43
+              v-else-if="row.whiteType !== 2"
44
+              @click="toDel(row)"
45
+            >
46
+              删除
36 47
             </div>
37 48
           </div>
38 49
         </template>

正在加载...
取消
保存