/* * Author: 黎永顺 * Description: * Date: 2022-05-19 15:18:09 * LastEditTime: 2022-06-29 10:06:13 */ import React from "react"; import { WeaCheckbox, WeaInputSearch, WeaDialog } from "ecCom"; import { Button, Dropdown, Menu, Modal } from "antd"; import "../../pages/dataAcquisition/attendance/index.less" export const items = [ { key: "1", title: "测试", checked: false }, { key: "2", title: "测试2", checked: true } ]; export default class SelectItemModal extends React.Component { constructor(props) { super(props); this.state = { searchValue: "" }; } handleShowChecked(value) { value = value == 1 ? true : false; this.props.onShowChecked(value); } handleMenuClick(e) { if (e.key == "1") { //恢复默认设置 this.props.onRestoreDefault(); } else if (e.key == "2") { this.props.onSetDefault(); } else if (e.key == "3") { } } render() { const menu = (
); return (