管道基础大数据平台系统开发-【前端】-新系統界面
Surpriseplus
2023-02-06 4e3d77dcbe421a4d6611ebcdd1ac3165cb36ad4b
src/views/maintenance/blackwhiteList.vue
@@ -14,7 +14,7 @@
        name="first"
      >
        <div>
          <div class="inquire">
          <div class="inquire subpage_Div">
            <el-form
              ref="queryInfo"
              :model="queryInfo"
@@ -42,11 +42,7 @@
                <el-button
                  type="primary"
                  @click="queryBlackInfo()"
                  style="
                  background: #409eff;
                  border: 1px solid #409eff;
                  color: white;
                "
                  size="small"
                  icon="el-icon-search"
                >{{ $t("operatManage.BWL.search") }}
                </el-button>
@@ -56,6 +52,7 @@
                  type="info"
                  @click="resetInfo('queryInfo')"
                  icon="el-icon-refresh"
                  size="small"
                >{{ $t("operatManage.BWL.reset") }}</el-button>
              </el-form-item>
              <el-form-item>
@@ -63,6 +60,7 @@
                  icon="el-icon-edit"
                  v-if="menuStatus.insert"
                  type="success"
                  size="small"
                  @click="showInsertdialog(1)"
                >{{ $t("common.append") }}</el-button>
              </el-form-item>
@@ -71,12 +69,13 @@
                  icon="el-icon-delete"
                  v-if="menuStatus.delete"
                  type="danger"
                  size="small"
                  @click="delBWList"
                >{{ $t("common.delete") }}</el-button>
              </el-form-item>
            </el-form>
          </div>
          <div class="table_box">
          <div class="table_box subpage_Div">
            <el-table
              :data="BTableData"
              @selection-change="blackSelectionChange"
@@ -160,7 +159,7 @@
        :label="$t('operatManage.BWL.whiteList')"
        name="second"
      >
        <div class="inquire">
        <div class="inquire subpage_Div">
          <el-form
            ref="queryInfo"
            :model="queryInfo"
@@ -186,7 +185,8 @@
            </el-form-item>
            <el-form-item>
              <el-button
                style="background: #409eff; border: 1px solid #409eff; color: white"
                size="small"
                type="primary"
                @click="queryWhiteInfo"
              ><i class="el-icon-search"></i> &nbsp;{{
                  $t('operatManage.BWL.search')
@@ -195,14 +195,14 @@
            <el-form-item>
              <el-button
                @click="resetForm('queryInfo')"
                type="info"
                type="info"   size="small"
              ><i class="el-icon-delete"></i> &nbsp;{{
                  $t('operatManage.BWL.reset')
                }}</el-button>
            </el-form-item>
            <el-form-item>
              <el-button
                type="success"
                type="success"   size="small"
                icon="el-icon-edit"
                v-if="menuStatus.insert"
                @click="showInsertdialog(2)"
@@ -212,7 +212,7 @@
            </el-form-item>
            <el-form-item>
              <el-button
                type="danger"
                type="danger" size="small"
                icon="el-icon-delete"
                v-if="menuStatus.delete"
                @click="delBWList"
@@ -222,12 +222,11 @@
            </el-form-item>
          </el-form>
        </div>
        <div class="table_box1">
        <div class="table_box1 subpage_Div">
          <el-table
            :data="WTableData"
            @selection-change="blackSelectionChange"
            style="width: 100%"
          >
            <el-table-column
              type="selection"
@@ -346,12 +345,12 @@
        slot="footer"
        class="dialog-footer"
      >
        <el-button @click="insertFromDataClose">{{
        <el-button size="small" @click="insertFromDataClose">{{
          $t("common.close")
        }}</el-button>
        <el-button
          @click="insertFromData"
          type="primary"
          type="primary" size="small"
        >{{
          $t("common.confirm")
        }}</el-button>
@@ -399,12 +398,12 @@
        slot="footer"
        class="dialog-footer"
      >
        <el-button @click="editFromDataClose">{{
        <el-button size="small" @click="editFromDataClose">{{
          $t("common.close")
        }}</el-button>
        <el-button
          @click="editFromData"
          type="primary"
          type="primary" size="small"
        >{{
          $t("common.confirm")
        }}</el-button>
@@ -703,8 +702,8 @@
.logLog_box {
  height: 98%;
  width: 98%;
  padding: 1%;
  position: absolute;
  padding: 1%;
  overflow: auto;
  .el-input {
    width: 300px;
  }
@@ -712,137 +711,26 @@
    padding: 10px;
    margin-top: 20px;
    border-radius: 5px;
    border: 1px solid rgb(202, 201, 204);
    margin-bottom: 20px;
  }
  .table_box {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid rgb(202, 201, 204);
    overflow: auto;
    height: 322px;
  }
  .table_box1 {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid rgb(202, 201, 204);
    overflow: auto;
     height: 322px;
  }
  .text-center {
    text-align: center;
  }
  .pagination_box {
    /deep/.el-input__inner {
      background-color: transparent !important;
      border: 1px solid;
      color: white;
    }
    /deep/.el-pagination__total {
      color: white;
    }
    /deep/.el-pagination__jump {
      color: white;
    }
    /deep/.el-pager li.active {
      color: #1890ff;
    }
    /deep/.el-pager li {
      color: white;
      background: transparent;
    }
    /deep/.el-pager li {
      color: white;
    }
    /deep/.btn-prev {
      background: transparent;
    }
    /deep/.btn-next {
      background: transparent;
    }
  }
  /deep/ .el-tabs__item {
    color: #409eff;
  }
  /deep/.el-form-item__label {
    color: white;
  }
  /deep/ .el-input__inner {
    background-color: transparent !important;
    border: 1px solid;
    color: white;
  }
  /deep/ .el-dialog {
    background: #303030;
  }
  /deep/.el-range-editor.is-active,
  .el-range-editor.is-active:hover,
  .el-select .el-input.is-focus .el-input__inner {
    border: 1px solid;
  }
  /deep/.el-dialog__title {
    color: white;
  }
  /deep/.el-tabs__active-bar {
    background: #409eff;
  }
  /*修改table 表体的背景颜色和文字颜色*/
  /deep/ .el-table {
    background-color: transparent;
    th,
    td {
      background-color: transparent;
    }
    .el-table__expanded-cell {
      background-color: transparent !important;
    }
    // 表头背景色
    th.el-table__cell {
      background-color: #303030;
      color: #fff;
    }
    tr > td {
      background-color: #303030;
      color: #fff;
    }
    // hover效果
    tr:hover > td {
      background-color: rgba(255, 255, 255, 0.3) !important;
    }
    tbody tr:hover {
      background-color: rgba(255, 255, 255, 0.3) !important;
      // text-align: center;
    }
    // 滚动条宽高
    .el-table__body-wrapper::-webkit-scrollbar {
      width: 5px;
      height: 5px;
    }
    .el-table__body-wrapper::-webkit-scrollbar {
      width: 5px;
      /*滚动条宽度*/
      height: 10px;
      /*滚动条高度*/
    }
    /*定义滚动条轨道 内阴影+圆角*/
    .el-table__body-wrapper::-webkit-scrollbar-track {
      box-shadow: 0px 1px 3px #216fe6 inset;
      /*滚动条的背景区域的内阴影*/
      border-radius: 10px;
    }
    /*定义滑块 内阴影+圆角*/
    .el-table__body-wrapper::-webkit-scrollbar-thumb {
      box-shadow: 0px 1px 3px #216fe6 inset;
      border-radius: 6px;
      background-color: #216fe6;
    }
  }
}
</style>