ZZJ
2021-11-10 9e8e7fa9a379eb5a633ad1087211bd5dd38d014a
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;