import React, { Component } from "react"; import st from "styled-components"; import { Button, Alert } from "antd"; import SearchForm from './SearchForm'; import columnsFun from './columns'; import PTable from '../../../../components/Pro/PTable'; import { getShareTempTaskList } from '../../../../services/api'; export default class CoInsurance extends Component { constructor(props, context) { super(props, context); this.state = { forceUpdate: false, //是否更新表格 pageParm: { //表格参数 pageSize: 10, pageNumber: 1, }, searchDataReady: false, //筛选参数是否准备就绪 }; } componentDidMount() { } _search = (values) => { this.setState({ pageParm: { ...this.state.pageParm, ...values } }, () => { if (!this.state.searchDataReady) { this.setState({ searchDataReady: true }); } }); } //更新列表 _updateTable = () => { this.setState({ forceUpdate: true }, () => { this.setState({ forceUpdate: false }); }); } render() { const columns = columnsFun.call(this); return (