forked from huge/frontEnd/hugeOA

Mr Ke
2020-04-29 c0c820559b46f3a5ede6fbd7f66e77d09981829f
src/components/page/index/rulesList/index.jsx
@@ -37,7 +37,6 @@
  componentDidMount() { }
  link = (id) => {
    console.log(id)
    this.props.history.push({ pathname: "/document/detail/" + id });
  }
@@ -47,9 +46,9 @@
  renderColumns = () => {
    return [
      { title: '标题', dataIndex: 'documentTitle' },
      { title: '标题', dataIndex: 'documentTitle', ellipsis: true },
      {
        title: '通知内容', dataIndex: 'documentContent', width: '40%', ellipsis: true, render: (cur, item) => {
        title: '通知内容', dataIndex: 'documentContent', ellipsis: true, render: (cur, item) => {
          return cur ? this.emoveTAG(cur) : '无'
        }
      },
@@ -60,14 +59,12 @@
  }
  setFormData = data => {
    console.log('form', data);
    this.setState({
      formData: data,
    });
  }
  onTabsChange = (key) => {
    console.log(key);
  }
@@ -94,7 +91,7 @@
        >
          {
            documentId &&
            <FindAlreadyReadOrNotView key={documentId} documentId={documentId}/>
            <FindAlreadyReadOrNotView key={documentId} documentId={documentId} />
          }
        </Modal>