Răsfoiți Sursa

归档文件样式调整

cfort 3 ani în urmă
părinte
comite
f91a0aa901
1 a modificat fișierele cu 13 adăugiri și 3 ștergeri
  1. 13 3
      src/views/platform/bpmn/bpmInstHis/list.vue

+ 13 - 3
src/views/platform/bpmn/bpmInstHis/list.vue

@@ -412,7 +412,9 @@
                 console.log(sql)
                 curdPost('sql', sql).then(res => {
                     const { data = [] } = res.variables || {}
-                    this.record.special = data
+                    if (data.length) {
+                        this.record.special = data.filter(i => i.beforeImprove || i.afterImprove)
+                    }
                 })
             },
             // 打开报表
@@ -607,12 +609,13 @@
     }
     .sub_content {
         .title {
-            margin-bottom: 4px;
+            margin: 0;
+            margin-top: 6px;
             font-weight: bold;
         }
         .sub_item {
             display: flex;
-            align-items: center;
+            align-items: baseline;
             .desc {
                 margin-top: 6px;
             }
@@ -621,6 +624,13 @@
             }
         }
     }
+    .content_item {
+        &:first-child{
+            .sub_content .title {
+                margin-top: 0px;
+            }
+        }
+    }
     .main-container .el-popover.popverClass {
         .div_content {
             .content_checkbox {