From 182bb34dbfea255c344aa587f9750459b98b6bdf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E?= <775174143@qq.com>
Date: Sat, 13 Jul 2019 16:23:45 +0800
Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=97=B6=E9=97=B4=E6=98=BE?=
=?UTF-8?q?=E7=A4=BA?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../modules/projectPackages/PackageIndex/PackageConcent.js | 3 ++-
.../PackageIndexNEITaskDetails.js | 6 +++++-
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/public/react/src/modules/projectPackages/PackageIndex/PackageConcent.js b/public/react/src/modules/projectPackages/PackageIndex/PackageConcent.js
index 4e63fb8e..958404d5 100644
--- a/public/react/src/modules/projectPackages/PackageIndex/PackageConcent.js
+++ b/public/react/src/modules/projectPackages/PackageIndex/PackageConcent.js
@@ -261,7 +261,8 @@ class PackageConcent extends Component {
- 发布于:{moment(item.published_at).format("YYYY-MM-DD HH:mm")}
+ {item.published_at===null?更新于:{moment(item.updated_at).format("YYYY-MM-DD HH:mm")} :
+ 发布于:{moment(item.published_at).format("YYYY-MM-DD HH:mm")} }
diff --git a/public/react/src/modules/projectPackages/PackageIndexNEITaskDetails/PackageIndexNEITaskDetails.js b/public/react/src/modules/projectPackages/PackageIndexNEITaskDetails/PackageIndexNEITaskDetails.js
index a12ea841..0f1b6623 100644
--- a/public/react/src/modules/projectPackages/PackageIndexNEITaskDetails/PackageIndexNEITaskDetails.js
+++ b/public/react/src/modules/projectPackages/PackageIndexNEITaskDetails/PackageIndexNEITaskDetails.js
@@ -320,7 +320,11 @@ class PackageIndexNEITaskDetails extends Component {
- 发布时间:{moment(data&&data.published_at).format("YYYY-MM-DD HH:mm")}
+ {data&&data.published_at===null?
+ 更新时间:{moment(data&&data.updated_at).format("YYYY-MM-DD HH:mm")}
+ :
+ 发布时间:{moment(data&&data.published_at).format("YYYY-MM-DD HH:mm")}
+ }
竞标截止时间:{moment(data&&data.deadline_at).format("YYYY-MM-DD HH:mm")}