| | |
| | | <span class="icon iconfont icon_clear" @click="clearSearch" slot="append" v-if="fuzzySearch">
|
| | | 
|
| | | </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">
|
| | | 
|
| | | </span>
|
| | |
|
| | |
| | | <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">
|
| | |
| | | name: "operationLog",
|
| | | data() {
|
| | | return {
|
| | | png: "",
|
| | | png: require("../../../../public/images/syslog/没数据.png"),
|
| | | loading: false,
|
| | | loadingText: "",
|
| | | input3: "",
|
| | |
| | | this.getOperationLog(1)
|
| | | this.gongneng = ""
|
| | | getOperations({
|
| | | module: this.curModule
|
| | | module: val.proc_name
|
| | | }).then((res) => {
|
| | | this.gongnengOptions = res.data
|
| | | })
|
| | |
| | | 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) {
|