From e4ab1980499a14ab04c4670ca27d543def028f4b 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 09:49:55 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../PackageIndexNEITaskDetails.js | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/public/react/src/modules/projectPackages/PackageIndexNEITaskDetails/PackageIndexNEITaskDetails.js b/public/react/src/modules/projectPackages/PackageIndexNEITaskDetails/PackageIndexNEITaskDetails.js index 0a5f081e..17d1918a 100644 --- a/public/react/src/modules/projectPackages/PackageIndexNEITaskDetails/PackageIndexNEITaskDetails.js +++ b/public/react/src/modules/projectPackages/PackageIndexNEITaskDetails/PackageIndexNEITaskDetails.js @@ -224,8 +224,8 @@ class PackageIndexNEITaskDetails extends Component { render() { let {overtype,data}=this.state; - console.log(data) - console.log(this.props) + console.log(data&&data.creator) + // console.log(this.props) return (
@@ -275,7 +275,7 @@ class PackageIndexNEITaskDetails extends Component { {data&&data.creator.name}
- {this.props.current_user.login!=data&&data.creator.login?
@@ -366,7 +366,7 @@ class PackageIndexNEITaskDetails extends Component {
- 报名列表(12) + 报名列表({data&&data.bidding_users.length})
{data&&data.operation.can_bidding===true?:""} @@ -393,6 +393,14 @@ class PackageIndexNEITaskDetails extends Component {
) })} + + {data&&data.bidding_users.length===0?
+
+ +

暂无人员竞标~

+
:""} + +
@@ -402,7 +410,7 @@ class PackageIndexNEITaskDetails extends Component {
- 报名列表(12) + 报名列表({data&&data.bidding_users.length})