浏览代码

显示配置类型

duy 2 年之前
父节点
当前提交
c6b769cbfd
共有 2 个文件被更改,包括 28 次插入0 次删除
  1. 14 0
      src/views/manager/archivetree.vue
  2. 14 0
      src/views/manager/projectinfo/archivetreeRule.vue

+ 14 - 0
src/views/manager/archivetree.vue

@@ -298,6 +298,9 @@
                           </el-tooltip>
                        <span  class="marleft10"
                               v-show="data.moreShow">
+                              <div class="config_type" v-if="data.type == 1">最</div>
+                              <div class="config_type" v-if="data.type == 2">分</div>
+                              <div  class="config_type" v-if="data.type == 3">独</div>
                           <el-button
                             type="text"
                             size="mini"
@@ -1969,4 +1972,15 @@ cursor: pointer;
 .contextmenu li:hover {
 background: #eee;
 }
+.config_type{
+  display: inline-block;
+  background: rgb(254, 110, 34);
+    color: #fff;
+    width: 18px;
+    height: 18px;
+    border-radius: 50%;
+    text-align: center;
+    line-height: 20px;
+    margin-right: 8px;
+}
 </style>

+ 14 - 0
src/views/manager/projectinfo/archivetreeRule.vue

@@ -295,6 +295,9 @@
                             </el-tooltip>
                        <span  class="marleft10"
                               v-show="data.moreShow">
+                              <div class="config_type" v-if="data.type == 1">最</div>
+                              <div class="config_type" v-if="data.type == 2">分</div>
+                              <div  class="config_type" v-if="data.type == 3">独</div>
                           <el-button
                             type="text"
                             size="mini"
@@ -1998,4 +2001,15 @@ cursor: pointer;
 .contextmenu li:hover {
 background: #eee;
 }
+.config_type{
+  display: inline-block;
+  background: rgb(254, 110, 34);
+    color: #fff;
+    width: 18px;
+    height: 18px;
+    border-radius: 50%;
+    text-align: center;
+    line-height: 20px;
+    margin-right: 8px;
+}
 </style>