From 9e8e7fa9a379eb5a633ad1087211bd5dd38d014a Mon Sep 17 00:00:00 2001
From: ZZJ <zzjdsg2300@163.com>
Date: 星期三, 10 十一月 2021 17:45:51 +0800
Subject: [PATCH] 暂存

---
 src/pages/syslog/views/operationLog.vue |   22 ++++++++++++++++++----
 1 files changed, 18 insertions(+), 4 deletions(-)

diff --git a/src/pages/syslog/views/operationLog.vue b/src/pages/syslog/views/operationLog.vue
index f904cfb..a7425ec 100644
--- a/src/pages/syslog/views/operationLog.vue
+++ b/src/pages/syslog/views/operationLog.vue
@@ -172,6 +172,7 @@
 import { queryOperationLog, getOperations, getModules } from "@/api/log";
 
 export default {
+  name: "operationLog",
   data() {
     return {
       loading: false,
@@ -233,7 +234,19 @@
     },
     getOptions() {
       getModules().then((res) => {
+        const indexArr = [];
+        res.data.forEach((item, index) => {
+          if (item.proc_name == "") {
+            indexArr.push(index);
+          }
+        });
+        if (indexArr.length != 0) {
+          indexArr.forEach((i) => {
+            res.data.splice(i);
+          });
+        }
         this.moduleOptions = res.data;
+        console.log(this.moduleOptions);
       });
     },
     choseRange(item, i) {
@@ -368,13 +381,14 @@
             border: 2px solid #f2f2f7;
             border-right: none;
 
-            // &:focus + .el-input-group__append {
-            //   border-color: #409eff;
-            // }
+            &:focus,
+            &:focus + .el-input-group__append {
+              border-color: #409eff;
+            }
           }
 
           .el-input-group__append {
-            //    transition: border-color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
+            transition: border-color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
             background-color: #fff;
             border: 2px solid #f2f2f7;
             border-radius: 0 18px 18px 0;

--
Gitblit v1.8.0