You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
818 B
41 lines
818 B
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[1].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,
|
|
};
|
|
|