zhangzengfei
2022-01-28 870f8569cf90e24cb8a80ec247f458ff87401f42
src/pages/syslog/views/operationLog.vue
@@ -28,7 +28,7 @@
            <span class="icon iconfont icon_clear" @click="clearSearch" slot="append" v-if="fuzzySearch">
              &#xe785;
            </span>
            <span class="icon iconfont icon_search" @click="getOperationLog(1)" slot="append" v-else>
            <span class="icon iconfont icon_search" @click="getOperationLog(1)" slot="append">
              &#xe714;
            </span>
@@ -44,10 +44,9 @@
        <div class="bar">
          <div class="name">操作模块:</div>
          <el-select v-model="curModule" placeholder="请选择" size="small" @change="moduleChange">
          <el-select v-model="curModule" placeholder="请选择" size="small" @change="moduleChange" value-key="proc_name">
            <el-option label="全部" :value="''"> </el-option>
            <el-option v-for="(item, i) in moduleOptions" :key="i" :label="item.proc_name" :value="item.proc_name">
            </el-option>
            <el-option v-for="(item, i) in moduleOptions" :key="i" :label="item.name_zh" :value="item"> </el-option>
          </el-select>
        </div>
        <div class="bar">
@@ -123,7 +122,7 @@
  name: "operationLog",
  data() {
    return {
      png: "",
      png: require("../../../../public/images/syslog/没数据.png"),
      loading: false,
      loadingText: "",
      input3: "",
@@ -176,7 +175,7 @@
      this.getOperationLog(1)
      this.gongneng = ""
      getOperations({
        module: this.curModule
        module: val.proc_name
      }).then((res) => {
        this.gongnengOptions = res.data
      })
@@ -229,14 +228,13 @@
        timeEnd: this.timeEnd,
        page: this.page,
        pageSize: this.pageSize,
        module: this.curModule,
        module: this.curModule.name_zh,
        function: this.gongneng,
        result: this.result,
        fuzzySearch: this.fuzzySearch
      }).then((res) => {
        this.tableData = res.data.logs
        this.total = res.data.total
        this.png = require("../../../../public/images/syslog/没数据.png")
      })
    },
    getTimeStr(date) {