1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
| /**
| * 查询字段名:{
| * type:组件查询类型,
| * sql_type:数据库查询类型,
| * meltiple:是否多选(select时生效),
| * width:组件宽度,
| * placeholder:placeholder,
| * options:选项(select时生效)
| * default:默认选项
| * text:label文字
| * }
| */
|
| let filterOptions = {
| Device: {
| address: {
| type: "input",
| text: "地址",
| multiple: false,
| sql_type: "8",
| width: "140px",
| placeholder: "请输入地址"
| },
| log_id: {
| type: 'input',
| text: '逻辑编号',
| multiple: false,
| sql_type: '8',
| width: '140px',
| placeholder: '请输入逻辑编号'
| },
| phy_id: {
| type: 'input',
| text: '物理编号',
| multiple: false,
| sql_type: '8',
| width: '140px',
| placeholder: '请输入物理编号'
| }
| },
| Cycle: {
| detail: {
| type: "input",
| text: "任务说明",
| multiple: false,
| sql_type: "8",
| width: "140px",
| placeholder: "请输入说明"
| }
| },
| TaskRecord: {
| task_type: {
| type: "select",
| text: "任务类型",
| width: "150px",
| sql_type: "1",
| placeholder: "请选择",
| options: [
| { name: "周期任务", id: "周期任务" },
| { name: "即时任务", id: "即时任务" }
| ]
| },
| task_id: {
| type: "input",
| text: "任务号",
| width: "150px",
| sql_type: "8",
| placeholder: "请输入任务号"
| },
| start_time: {
| sql_type: "4",
| type: "daterange",
| text: "执行时间",
| width: "300px"
| }
| },
| RadioRecord: {
| result: {
| type: "select",
| sql_type: "1",
| text: "电台类型",
| width: "120px",
| placeholder: "请选择",
| options: [{ name: '合法电台', id: '1' }, { name: '区域非法', id: '2' }, { name: '时间非法', id: '3' }, { name: '频率非法', id: '4' }, { name: '内容非法', id: '5' }]
| },
| frequency: {
| type: "input",
| text: "频率",
| sql_type: "8",
| width: "120px",
| placeholder: "请输入频率"
| },
| upload_day: {
| type: "daterange",
| text: "上传时间",
| width: "300px",
| sql_type: "4"
| }
| },
| WhiteList: {
| name: {
| type: "input",
| sql_type: "8",
| text: "电台名称",
| width: "170px",
| placeholder: "请输入电台名称",
| options: null
| }
| },
| Keyword: {
| name: {
| type: "input",
| sql_type: "8",
| text: "关键词",
| width: "170px",
| placeholder: "请输入关键词",
| options: null
| }
| },
| roleMembers: {
| role_key: {
| type: "select",
| sql_type: "1",
| text: "用户权限",
| width: "170px",
| placeholder: "请选择",
| options: null
| },
| user_name: {
| type: "input",
| sql_type: "8",
| text: "用户名称",
| width: "170px",
| placeholder: "请输入用户名称"
| }
| },
| systemLog: {
| log_type: {
| type: "select",
| sql_type: "1",
| text: "日志类型",
| width: "150px",
| placeholder: "请选择",
| options: [
| { name: "响应日志", id: "响应日志" },
| { name: "错误日志", id: "错误日志" },
| { name: "登入登出", id: "登入登出" }
| ]
| },
| create_day: {
| type: "date",
| sql_type: "1",
| text: "记录日期",
| width: "150px",
| placeholder: "请选择日期"
| },
| response_status: {
| type: "select",
| sql_type: "1",
| text: "响应状态",
| width: "150px",
| options: [
| { name: "200", id: "200" },
| { name: "201", id: "201" },
| { name: "400", id: "400" },
| { name: "403", id: "403" },
| { name: "404", id: "404" },
| { name: "500", id: "500" },
| { name: "503", id: "503" },
| { name: "505", id: "505" }
| ]
| },
| logDes: {
| type: "input",
| sql_type: "8",
| text: "描述查询",
| width: "150px",
| placeholder: "请描述关键词"
| }
| },
| version: {
| version_name: {
| type: "input",
| sql_type: "8",
| text: "版本号",
| width: "170px",
| placeholder: "请输入版本号",
| options: null
| }
| },
| InforRelease: {
| type: {
| type: "radioGroup",
| sql_type: "1",
| width: "200px",
| placeholder: "请选择",
| options: [
| { name: "通知短信", id: "SMS" },
| { name: "邮件通知", id: "EMAIL" }
| ]
| },
| send_day: {
| type: "date",
| sql_type: "1",
| text: '发送日期',
| width: "150px",
| placeholder: "请选择"
| }
| },
| ReportExport: {
| user_name: {
| type: "input",
| sql_type: "8",
| text: "姓名",
| width: "170px",
| placeholder: "请输入用户名",
| options: null
| }
| },
| frequencyAddress: {
| frequency: {
| type: "input",
| sql_type: "8",
| text: "广播频率",
| width: "170px",
| placeholder: "请输入频率"
| }
| },
| manageDay: {
| send_day: {
| type: "date",
| sql_type: "1",
| text: '发送日期',
| width: "150px",
| placeholder: "请选择"
| }
| },
| dictionary: {
| prarm_id: {
| type: "input",
| sql_type: "8",
| text: '参数ID',
| width: "150px",
| placeholder: "请选择"
| }
| }
| };
|
| export default filterOptions;
|
|