Commit 80fc3ebd8c569a55bce822d28eebc7f4b67c99f1

Authored by 谭毅彬
1 parent ef991e90

接口日志查询接口根据请求内容,响应内容查询时必须选择接口名称

Signed-off-by: TanYibin <5491541@qq.com>
ant-design-vue-jeecg/src/views/system/monitor/ApiLogList.vue
... ... @@ -245,6 +245,17 @@ export default {
245 245 }
246 246 },
247 247 methods: {
  248 + searchQuery() {
  249 + if (!!this.queryParam.requestBody && this.queryParam.requestBody != '**' && !this.queryParam.apiName) {
  250 + this.$message.warning('请选择接口名称!');
  251 + return
  252 + }
  253 + if (!!this.queryParam.responseBody && this.queryParam.responseBody != '**' && !this.queryParam.apiName) {
  254 + this.$message.warning('请选择接口名称!');
  255 + return
  256 + }
  257 + this.loadData(1, this.value)
  258 + },
248 259 searchReset() {
249 260 let that = this;
250 261 Object.keys(that.queryParam).forEach(function (key) {
... ...