| | |
| | | >
|
| | | <el-option label="全部" :value="''"> </el-option>
|
| | | <el-option
|
| | | v-for="item in levelOptions"
|
| | | :key="item.proc_name"
|
| | | v-for="(item, index) in levelOptions"
|
| | | :key="index"
|
| | | :label="item.proc_name"
|
| | | :value="item.proc_name"
|
| | | >
|
| | |
| | | @change="getOperationLog(1)"
|
| | | >
|
| | | <el-option
|
| | | v-for="item in hostNameOptions"
|
| | | :key="item.value"
|
| | | v-for="(item, index) in hostNameOptions"
|
| | | :key="index"
|
| | | :label="item.label"
|
| | | :value="item.value"
|
| | | >
|
| | |
| | | :data="tableData"
|
| | | :header-cell-style="{ background: '#f8f8f8', color: '#222222' }"
|
| | | style="width: 100%"
|
| | | border
|
| | | >
|
| | | <template slot="empty">
|
| | | <img :src="png" class="empty_img" alt="" />
|
| | | </template>
|
| | | <!-- <el-table-column :align="'center'" label="序号" type="index" width="50">
|
| | | </el-table-column> -->
|
| | | <el-table-column
|
| | |
| | |
|
| | | <script>
|
| | | import { deleteDate } from "@/api/system";
|
| | | import { getModules } from "@/api/log";
|
| | | import { pad0 } from "@/api/utils";
|
| | | import {} from "@/api/log";
|
| | |
|
| | | export default {
|
| | | data() {
|
| | | return {
|
| | | png: "",
|
| | | loading: false,
|
| | | loadingText: "",
|
| | | input3: "",
|
| | |
| | | getOptions() {
|
| | | getModules().then((res) => {
|
| | | this.levelOptions = res.data;
|
| | | this.png = require("../../../../public/images/syslog/没数据.png");
|
| | | });
|
| | | },
|
| | | choseRange(item, i) {
|
| | |
| | | margin-top: 16px;
|
| | | border-radius: 5px;
|
| | | padding: 12px;
|
| | | background-color: white;
|
| | | background-color: rgb(255, 255, 255);
|
| | | .empty_img {
|
| | | margin: 80px auto;
|
| | | width: 164px;
|
| | | }
|
| | | .tableBox {
|
| | | border: none;
|
| | | &::before,
|
| | | &::after {
|
| | | display: none;
|
| | | }
|
| | |
|
| | | tr {
|
| | | &.current-row td {
|
| | | background-color: #4e94ff !important;
|
| | | color: #fff;
|
| | | }
|
| | | &:hover td {
|
| | | background-color: rgb(242, 242, 247);
|
| | | }
|
| | | }
|
| | | th {
|
| | | padding: 0 !important;
|
| | | height: 40px;
|
| | | line-height: 40px;
|
| | | border-color: #fff !important;
|
| | | border-right: 2px solid #fff;
|
| | | border-radius: 4px;
|
| | | font-size: 12px;
|
| | | background: #f2f2f7;
|
| | | }
|
| | | td {
|
| | | padding: 0 !important;
|
| | | height: 34px;
|
| | | line-height: 34px;
|
| | | border: none;
|
| | | font-size: 12px;
|
| | | }
|
| | | }
|
| | | }
|