3 changed files with 87 additions and 1 deletions
@ -0,0 +1,56 @@ |
|||||
|
import * as PresetFormItems from "@screen/common/PresetFormItems.js"; |
||||
|
import { merge, cloneDeep } from "lodash"; |
||||
|
|
||||
|
export const searchFormList = [ |
||||
|
{ |
||||
|
label: "启用日期:", |
||||
|
key: "daterange", |
||||
|
required: false, |
||||
|
type: "datePicker", |
||||
|
options: { |
||||
|
type: "daterange", |
||||
|
format: "yyyy-MM-dd HH:mm:ss", |
||||
|
valueFormat: "yyyy-MM-dd HH:mm:ss", |
||||
|
}, |
||||
|
}, |
||||
|
PresetFormItems.eventType, |
||||
|
PresetFormItems.releaseChannel, |
||||
|
{ |
||||
|
label: "信息级别:", |
||||
|
key: "level", |
||||
|
type: "RadioGroup", |
||||
|
isAlone: true, |
||||
|
options: { |
||||
|
activeColor: "linear-gradient(180deg, #37E7FF 0%, #009BCC 100%)", |
||||
|
options: [ |
||||
|
{ |
||||
|
key: "1", |
||||
|
label: "影响通行", |
||||
|
}, |
||||
|
{ |
||||
|
key: "2", |
||||
|
label: "不影响通行", |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
}, |
||||
|
{ |
||||
|
label: "启用状态:", |
||||
|
key: "status", |
||||
|
type: "RadioGroup", |
||||
|
isAlone: true, |
||||
|
options: { |
||||
|
activeColor: "linear-gradient(180deg, #37E7FF 0%, #009BCC 100%)", |
||||
|
options: [ |
||||
|
{ |
||||
|
key: "1", |
||||
|
label: "启用", |
||||
|
}, |
||||
|
{ |
||||
|
key: "2", |
||||
|
label: "停用", |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
}, |
||||
|
]; |
Loading…
Reference in new issue