zengyicheng 1 år sedan
förälder
incheckning
12d10fa098
1 ändrade filer med 25 tillägg och 7 borttagningar
  1. 25 7
      src/components/pages/evaBox/index.vue

+ 25 - 7
src/components/pages/evaBox/index.vue

@@ -112,9 +112,16 @@
                       alt=""
                     />
                   </div>
-                  <div class="cEvaTitle">
-                    {{ item.name }}
-                  </div>
+                  <el-tooltip
+                    class="item"
+                    effect="light"
+                    :content="item.name"
+                    placement="bottom"
+                  >
+                    <div class="cEvaTitle">
+                      {{ item.name }}
+                    </div>
+                  </el-tooltip>
                 </div>
 
                 <div :class="isHoverId == item.id ? 'iscEvaIcon' : 'cEvaIcon'">
@@ -383,7 +390,6 @@ export default {
       page: 1,
       pageSize: 10,
       total: 0,
-      array: [],
       loading: false,
       ppid: "",
       res: [],
@@ -461,6 +467,11 @@ export default {
       this.typea = "";
       this.typeb = "";
       this.typeE = [];
+      this.isHalf = false;
+      this.json = [];
+      this.isHoverId = "";
+      this.evaName = "";
+      this.$forceUpdate();
       this.$emit("update:dialogVisibleEva", false);
     },
     close1() {
@@ -979,6 +990,8 @@ export default {
   max-height: 500px;
   overflow: auto;
   height: 100%;
+  justify-content: unset;
+  align-items: unset;
 }
 
 .cEvaItem {
@@ -1011,9 +1024,9 @@ export default {
 }
 
 .titleIcon {
-  width: 30px;
-  min-width: 30px;
-  height: 30px;
+  width: 25px;
+  min-width: 25px;
+  height: 25px;
   margin-right: 5px;
 }
 
@@ -1025,6 +1038,11 @@ export default {
 
 .cEvaTitle {
   font-size: 16px;
+  max-width: 250px;
+  white-space: nowrap;
+  overflow: hidden;
+  text-overflow: ellipsis;
+  word-break: break-word;
 }
 
 .cEvaIcon,