From 12d561aea1143eae863d80edebf8b4cbe3cc85df Mon Sep 17 00:00:00 2001
From: liuwh <hugeinfo123>
Date: Mon, 06 Apr 2020 19:05:16 +0800
Subject: [PATCH] 1

---
 src/components/page/index/rulesList/index.jsx |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/components/page/index/rulesList/index.jsx b/src/components/page/index/rulesList/index.jsx
index c8ecf96..f184734 100644
--- a/src/components/page/index/rulesList/index.jsx
+++ b/src/components/page/index/rulesList/index.jsx
@@ -36,17 +36,17 @@
 
   cancle = (id) => {
     console.log(id)
-    //   // this.props.history.push("/document/create?id=" + id);
-    this.props.history.push({ pathname: "/document/create" });
+  //   // this.props.history.push("/document/create?id=" + id);
+  this.props.history.push({ pathname: "/document/create/"+id });
   }
 
   renderColumns = () => {
     return [
-      { title: '通知标题', dataIndex: 'documentTitle' },
+      { title: '标题', dataIndex: 'documentTitle' },
       { title: '通知内容', dataIndex: 'documentContent' },
       { title: '接受情况', dataIndex: 'groupType', render: (cur, item) => <span>{item.readNumber || 0}/{item.noticeNumber || 0}</span> },
-      { title: '通知时间', dataIndex: 'createTime', render: (cur, item) => cur !== "" && cur != null ? moment(cur).format("YYYY-MM-DD HH:mm") : "" },
-      { title: '操作', render: (text, record) => <a onClick={() => this.cancle(record.id)}>查看</a> }
+      { title: '发布时间', dataIndex: 'createTime', render: (cur, item) => cur !== "" && cur != null ? moment(cur).format("YYYY-MM-DD HH:mm") : "" },
+      { title: '操作', render: (text, record) => <a >下载</a> }
     ];
   }
 

--
Gitblit v1.8.0