
import { Button, Popconfirm } from 'antd'
import FormPage from '../../components/FormPage';
import {initFilter} from "../../utils/common";

//用户列表页
export default {
  btnShow:({record,close,loadData,login,dispatch})=> {
    const data= {
      rules: [{field: 'JOB_WORKSTAGE_ID', operator: 1, value: record.ID}],
      onlyFirst:false
    }
    return {content: <FormPage formCode={'FM012'} data={data} />}
  },
  btnNew:({record,close,loadData,login,dispatch})=> {
    const data= {
      rules: [{field: 'TYPE', operator: 1, value: 0}],
    }
    
    return {content: <FormPage formCode={'FM002'} data={data} />}
  }
  
}
