| | |
| | | total: 0, |
| | | }, |
| | | option: { |
| | | height: 'auto', |
| | | calcHeight: 32, |
| | | // height: 'auto', |
| | | // calcHeight: 32, |
| | | tip: false, |
| | | searchShow: true, |
| | | searchMenuSpan: 6, |
| | |
| | | dialogType: 'drawer', |
| | | column: [ |
| | | { |
| | | label: '服务id', |
| | | label: '服务名称', |
| | | prop: 'serviceId', |
| | | search: true, |
| | | searchSpan:4, |
| | | width: '120', |
| | | }, |
| | | |
| | | { |
| | | label: '服务host', |
| | | prop: 'serverHost', |
| | | search: true, |
| | | width: '150', |
| | | }, |
| | | { |
| | | label: '服务ip', |
| | |
| | | { |
| | | label: '请求接口', |
| | | prop: 'requestUri', |
| | | search: true, |
| | | searchSpan:6, |
| | | }, |
| | | { |
| | | label: '操作人', |
| | | prop: 'createBy', |
| | | search: true, |
| | | searchSpan:4, |
| | | width: '120', |
| | | }, |
| | | { |
| | | label: '日志时间', |
| | |
| | | this.onLoad(this.page, this.query); |
| | | }, |
| | | onLoad(page, params = {}) { |
| | | let values = { |
| | | ...params, |
| | | ...this.query, |
| | | }; |
| | | this.loading = true; |
| | | getErrorList(page.currentPage, page.pageSize, Object.assign(params, this.query)).then(res => { |
| | | getErrorList(page.currentPage, page.pageSize, values).then(res => { |
| | | const data = res.data.data; |
| | | this.page.total = data.total; |
| | | this.data = data.records; |
| | |
| | | }; |
| | | </script> |
| | | |
| | | <style></style> |
| | | <style scoped lang="scss"> |
| | | :deep(){ |
| | | .avue-crud__body{ |
| | | .el-form{ |
| | | height: 745px; |
| | | overflow: auto; |
| | | } |
| | | } |
| | | } |
| | | </style> |