import dayjs from "dayjs/esm"; let newDate = dayjs(Date.now()).format('YYYY-MM-DD'); let endDate = dayjs().subtract(0, 'day').format('YYYY-MM-DD'); // 木马和僵尸列表表头数据 const tableColumnlist: any[] = [ { type: "selection", width: "65px", }, { width: "190px", label: "发现时间", prop: "findTime", fixed: "left", }, { prop: "zombieType", label: "僵尸类型", width: "160px", fixed: "left", }, { prop: "controlledEndIp", label: "受控端IP", minWidth: "160px", }, { prop: "controlledEndPort", label: "受控端端口", width: "140px", }, { prop: "controlledEndArea", label: "受控端地区", width: "140px", }, { prop: "controlledEndOperator", label: "受控端IP运营商", width: "150px", }, { prop: "controlledEnterprise", label: "受控端IP单位", minWidth: "200px", }, { prop: "controlEndIp", label: "控制端IP", minWidth: "160px", }, { prop: "controlEndPort", label: "控制端端口", width: "140px", }, { prop: "controlEndArea", label: "控制端地区", width: "140px", }, // { // prop: "controlEndDomainName", // label: "控制域名", // width: "160px" // }, { prop: "controlEndOperator", label: "控制端IP运营商", width: "150px", }, // { // prop: "controlEnterprise", // label: "控制端IP单位", // width: "200px", // }, // { // prop: "spreadNum", // label: "传播次数", // width: "140px" // }, // { // prop: "zombieRating", // label: "僵尸分级", // fixed:'right', // width: "140px", // slotName: 'active' // } ]; // 蠕虫列表表头数据 const tableColumnWormlist: any[] = [ { type: "selection", width: "65px", }, { width: "190px", label: "发现时间", prop: "findTime", fixed: "left", }, { prop: "wormType", label: "蠕虫类型", fixed: "left", }, { prop: "hostIp", label: "感染主机IP", }, { prop: "hostPort", label: "感染主机端口", }, { prop: "city", label: "主机所在城市", }, // { // prop: "protocol", // label: "协议", // }, { prop: "controlEndOperator", label: "运营商", width: "120px", }, { prop: "infactedEnterprise", label: "单位", }, // { // prop: "spreadNum", // label: "传播次数", // }, // { // prop: "rating", // label: "蠕虫分级", // fixed:'right', // slotName: 'active' // } ]; // 僵尸查询参数 const queryZoomList: any[] = [ { key: "time", type: "daterange", label: "时间范围", col: 6, valueFormat: "YYYY-MM-DD", startPlaceholder: "开始时间", endPlaceholder: "结束时间", }, { key: "zombieType", type: "input", label: "僵尸类型", placeholder: "请输入僵尸类型", col: 6, // options: [] }, // { // key: 'zombieRating', // type: 'select', // label: '僵尸分级', // placeholder: '请选择僵尸分级', // col: 6, // options: [] // }, { key: "controlledEndIp", type: "input", label: "受控端IP", placeholder: "请输入受控端IP", col: 6, }, { key: "controlEndIp", type: "input", label: "控制端IP", placeholder: "请输入控制端IP", col: 6, }, ]; // 木马查询参数 const queryColumnsList: any[] = [ { key: "time", type: "daterange", label: "时间范围", col: 6, valueFormat: "YYYY-MM-DD", startPlaceholder: "开始时间", endPlaceholder: "结束时间", }, { key: "trojanType", type: "input", label: "木马类型", placeholder: "请输入木马类型", col: 6, // options: [] }, // { // key: 'rating', // type: 'select', // label: '木马分级', // placeholder: '请选择木马分级', // col: 6, // options: [] // }, { key: "controlledEndIp", type: "input", label: "受控端IP", placeholder: "请输入受控端IP", col: 6, }, { key: "controlEndIp", type: "input", label: "控制端IP", placeholder: "请输入控制端IP", col: 6, }, ]; // 蠕虫查询参数 const queryWormList: any[] = [ { key: "time", type: "daterange", label: "时间范围", col: 6, valueFormat: "YYYY-MM-DD", startPlaceholder: "开始时间", endPlaceholder: "结束时间", }, { key: "wormType", type: "input", label: "蠕虫类型", placeholder: "请输入蠕虫类型", // options: [], col: 6, }, // { // key: 'rating', // type: 'select', // label: '蠕虫分级', // placeholder: '请选择蠕虫分级', // col: 6, // options: [] // }, { key: "hostIp", type: "input", label: "感染主机IP", placeholder: "请输入感染主机IP", col: 6, }, { key: "hostPort", type: "input", label: "感染主机端口", placeholder: "请输入感染主机端口", col: 6, }, ]; // 僵尸查询 const serachZoomData = { time: [newDate,endDate], zombieType: "", zombieRating: "", controlledEndIp: "", controlEndIp: "", }; // 木马查询 const serachMuData = { time: [newDate,endDate], trojanType: "", rating: "", controlledEndIp: "", controlEndIp: "", }; // 蠕虫查询 const serachWormData = { time: [newDate,endDate], wormType: "", rating: "", hostIp: "", hostPort: "", }; // 不同select下 列表表头数据 const selectDataObj = { wormSelectObj: { wormSortList: [ { title: "排名", }, { title: "蠕虫类型", }, { title: "事件数量(个)", }, { title: "感染主机数量(个)", }, { title: "感染端口数量(个)", }, ], wormOperatorList: [ { title: "排名", }, { title: "运营商名称", }, { title: "事件数量(个)", }, { title: "感染主机数量(个)", }, { title: "感染端口数量(个)", }, ], wormZoneList: [ { title: "排名", }, { title: "感染区域名称", }, { title: "事件数量(个)", }, { title: "感染主机数量(个)", }, { title: "感染端口数量(个)", }, ], }, zoomSelectObj: { zoomSortList: [ { title: "排名", }, { title: "僵尸类型", }, { title: "事件数量(个)", }, { title: "受控端数量(个)", }, { title: "控制端数量(个)", }, ], zoomOperatorList: [ { title: "排名", }, { title: "运营商名称", }, { title: "事件数量(个)", }, { title: "受控端数量(个)", }, { title: "控制端数量(个)", }, ], zoomZoneList: [ { title: "排名", }, { title: "城市名称", }, { title: "事件数量(个)", }, { title: "受控端数量(个)", }, { title: "控制端数量(个)", }, ], }, }; export { tableColumnlist, tableColumnWormlist, queryColumnsList, queryWormList, queryZoomList, serachMuData, serachZoomData, serachWormData, selectDataObj, };