添加正则过滤器,关键词过滤器

This commit is contained in:
Peng-YM
2020-08-31 23:57:34 +08:00
parent ea90f16e54
commit 089b36c4fe
10 changed files with 118 additions and 75 deletions

View File

@@ -173,6 +173,8 @@
import {showError, showInfo} from "@/utils";
import TypeFilter from "@/components/TypeFilter";
import RegionFilter from "@/components/RegionFilter";
import KeywordFilter from "@/components/KeywordFilter";
import RegexFilter from "@/components/RegexFilter";
const AVAILABLE_PROCESSORS = {
"Type Filter": {
@@ -182,11 +184,19 @@ const AVAILABLE_PROCESSORS = {
"Region Filter": {
component: "RegionFilter",
name: "区域过滤器"
},
"Keyword Filter": {
component: "KeywordFilter",
name: "关键词过滤器"
},
"Regex Filter": {
component: "RegexFilter",
name: "正则过滤器"
}
}
export default {
components: {RegionFilter, TypeFilter},
components: {KeywordFilter, RegexFilter, RegionFilter, TypeFilter},
data: function () {
return {
selectedProcess: null,