Kaynağa Gözat

Merge commit '497a3b9697ae32bbee55f6378a286ad61ed8aa81' into gzb

gzb
guozhongbo 8 ay önce
ebeveyn
işleme
1770c8e2a7

+ 3
- 0
src/assets/less/common.less Dosyayı Görüntüle

@@ -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 Dosyayı Görüntüle

@@ -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>

Loading…
İptal
Kaydet