import { planDeviceOptions } from "@screen/utils/enum.js"; import { eventSubClassMap, trafficKV } from "@screen/utils/enum.js"; export const searchFormList = [ { label: "事件类型:", key: "eventType", type: "select", options: { clearable: true, options: trafficKV, }, ons: { change(value, ...args) { const { data, formList } = args.slice(-1)[0]; formList[2].options.options = eventSubClassMap[1][value]; data.triggerMechanism ='' }, }, }, { label: "细分类型:", key: "triggerMechanism", type: "select", options: { clearable: true, options: [], }, }, ]; export const defaultTableInfo = { deviceType: 2, searchRule: 1, number: 0, // zx_operationType: 2, // hf_operationType: 2, };