| | |
| | | <span class="icon iconfont icon_clear" @click="clearSearch" slot="append" v-if="fuzzySearch">
|
| | | 
|
| | | </span>
|
| | | <span class="icon iconfont icon_search" @click="getVaSystemLog(1)" slot="append" v-else>
|
| | | <span class="icon iconfont icon_search" @click="getVaSystemLog(1)" slot="append">
|
| | | 
|
| | | </span>
|
| | | </el-input>
|
| | |
| | | <div class="bar">
|
| | | <div class="name">级别:</div>
|
| | |
|
| | | <el-select v-model="level" placeholder="请选择" size="small" @change="levelChange">
|
| | | <el-select v-model="level" placeholder="请选择" size="small" @change="getVaSystemLog">
|
| | | <el-option v-for="(item, index) in levelOptions" :key="index" :label="item.label" :value="item.value">
|
| | | </el-option>
|
| | | </el-select>
|
| | |
| | | export default {
|
| | | data() {
|
| | | return {
|
| | | png: "",
|
| | | png: require("../../../../public/images/syslog/没数据.png"),
|
| | | loading: false,
|
| | | loadingText: "",
|
| | | tableData: [],
|
| | |
| | | },
|
| | | handleSizeChange(val) {
|
| | | this.pageSize = val
|
| | | this.getVaSystemLog()
|
| | | },
|
| | | handleCurrentChange(val) {
|
| | | this.page = val
|
| | | },
|
| | | levelChange(val) {
|
| | | // this.hostName = "";
|
| | | // getOperations({
|
| | | // module: this.level,
|
| | | // }).then((res) => {
|
| | | // this.hostNameOptions = res.data;
|
| | | // });
|
| | | this.getVaSystemLog()
|
| | | },
|
| | | getOptions() {
|
| | | queryProcName().then((res) => {
|
| | | this.procOptions = res.data
|
| | | // this.png = require("../../../../public/images/syslog/没数据.png")
|
| | | })
|
| | | },
|
| | | choseRange(item, i) {
|
| | |
| | | break
|
| | | }
|
| | | this.activeDateChoise = i
|
| | | this.getVaSystemLog()
|
| | | },
|
| | | getVaSystemLog(typ) {
|
| | | if (typ == 1) {
|
| | |
| | | timeEnd: this.timeEnd,
|
| | | level: this.level,
|
| | | procName: this.procName,
|
| | | fuzzySearch: this.fuzzySearch,
|
| | | page: this.page,
|
| | | pageSize: this.pageSize
|
| | | }).then((res) => {
|