import { Button, Row, Col} from 'antd'; import {WeaDialog ,WeaNewScroll ,WeaLocaleProvider ,WeaBrowser ,WeaSelectGroup ,WeaRightMenu} from 'ecCom'; import {observer} from "mobx-react"; import _mapValues from 'lodash/mapValues' import {WeaTableNew} from 'comsMobx'; const WeaTable = WeaTableNew.WeaTable; const getLabel = WeaLocaleProvider.getLabel; @observer class ProjectFieldDetailLogDialog extends React.Component { constructor(props) { super(props); this.state = {hrmid:'',date:[]}; } shouldComponentUpdate(nextProps,nextState){ return true; } render() { const {title,tableStore,store} = this.props; const {fieldDetailLogVisible} = store; const selectLinkageDatas = { "6": { conditionType: "RANGEPICKER", domkey: ["start", "end"] } }; const options = [ { key: "0", showname: getLabel(332,"全部") }, { key: "1", showname: getLabel(15537,"今天") }, { key: "2", showname: getLabel(15539,"本周") }, { key: "3", showname: getLabel(15541,"本月") }, { key: "4", showname: getLabel(21904,"本季") }, { key: "5", showname: getLabel(15384,"本年") }, { key: "6", showname: getLabel(32530,"指定日期范围") } ]; const menu = [ { key: '1', icon: , content: getLabel(388113,'搜索'), onClick: () =>{ store.getPrjFieldDetaiLogList({prjid:store.prjid,fieldname:store.field,...this.state}); } }, { key: '2', icon: , content: getLabel(309,"关闭"), onClick: () =>{ store.setFieldDetailLogVisible(false) } } ]; return (
{store.setFieldDetailLogVisible(false)}} style={{width:'700px', height:'400px'}} > {getLabel(99,'操作者')} { this.setState({hrmid:ids}); } } /> {getLabel(22823,'日期')} { this.setState({date:value}); }} />
) } getButtons(){ const {store} = this.props; let btnArr = []; btnArr.push() return btnArr; } } export default ProjectFieldDetailLogDialog;