| | |
| | | v-model="fuzzySearch"
|
| | | size="small"
|
| | | class="input-with-select"
|
| | | @keyup.enter.native="getOperationLog(1)"
|
| | | @keyup.enter.native="getScheduleLog(1)"
|
| | | >
|
| | | <span
|
| | | class="icon iconfont icon_clear"
|
| | |
| | | </span>
|
| | | <span
|
| | | class="icon iconfont icon_search"
|
| | | @click="getOperationLog(1)"
|
| | | @click="getScheduleLog(1)"
|
| | | slot="append"
|
| | | v-else
|
| | | >
|
| | | 
|
| | | </span>
|
| | |
| | | <el-table-column
|
| | | :align="'center'"
|
| | | sortable
|
| | | prop="procName"
|
| | | prop="info"
|
| | | label="摄像机"
|
| | | ></el-table-column>
|
| | | <el-table-column
|
| | |
| | | export default {
|
| | | data() {
|
| | | return {
|
| | | png: "",
|
| | | png: require("../../../../public/images/syslog/没数据.png"),
|
| | | loading: false,
|
| | | loadingText: "",
|
| | | tableData: [],
|
| | |
| | | methods: {
|
| | | handleSizeChange(val) {
|
| | | this.pageSize = val;
|
| | | this.getOperationLog();
|
| | | this.getScheduleLog();
|
| | | },
|
| | | handleCurrentChange(val) {
|
| | | this.page = val;
|
| | | this.getOperationLog();
|
| | | this.getScheduleLog();
|
| | | },
|
| | | cancelShow() {
|
| | | this.dialogVisible = false;
|
| | |
| | | this.moduleOptions = res.data;
|
| | | });
|
| | | },
|
| | | getScheduleLog() {
|
| | | getScheduleLog(typ) {
|
| | | if (typ == 1) {
|
| | | this.page = 1;
|
| | | }
|
| | |
|
| | | const data = {
|
| | | timeStart: this.timeStart,
|
| | | timeEnd: this.timeEnd,
|
| | | page: this.page,
|
| | | pageSize: this.pageSize,
|
| | | fuzzySearch: this.fuzzySearch,
|
| | | procID: this.procID,
|
| | | procName: this.procName,
|
| | | };
|
| | | queryScheduleLog(data).then((res) => {
|
| | | this.tableData = res.data.logs;
|
| | | this.total = res.data.total;
|
| | | this.png = require("../../../../public/images/syslog/没数据.png");
|
| | | });
|
| | | },
|
| | | dateChange(val) {
|
| | |
| | | },
|
| | | handleSelectionChange() {},
|
| | | handleClose() {},
|
| | | getOperationLog() {},
|
| | | clearSearch() {
|
| | | this.fuzzySearch = "";
|
| | | this.getOperationLog(1);
|
| | | this.getScheduleLog(1);
|
| | | },
|
| | | },
|
| | | };
|