|
@@ -249,31 +249,32 @@ const ActivityTypeDetail: React.FC<IActivityTypeDetail> = props => {
|
|
|
<span className="activity-detail-label">活动时间:</span>
|
|
|
{data?.Detail.ActivityTimeText}
|
|
|
</div>
|
|
|
- {data?.Detail.DistinguishedGuest && (
|
|
|
+
|
|
|
+ {data?.Detail.DistinguishedGuest && data?.HasPermission === INewPermissionType.OK && (
|
|
|
<div className="activity-detail-line">
|
|
|
<span className="activity-detail-label">嘉宾:</span>
|
|
|
{data?.Detail.DistinguishedGuest}
|
|
|
</div>
|
|
|
)}
|
|
|
- {data?.Detail.Host && (
|
|
|
+ {data?.Detail.Host && data?.HasPermission === INewPermissionType.OK && (
|
|
|
<div className="activity-detail-line">
|
|
|
<span className="activity-detail-label">主持人:</span>
|
|
|
{data?.Detail.Host}
|
|
|
</div>
|
|
|
)}
|
|
|
- {data?.Detail.Speaker && (
|
|
|
+ {data?.Detail.Speaker && data?.HasPermission === INewPermissionType.OK && (
|
|
|
<div className="activity-detail-line">
|
|
|
<span className="activity-detail-label">主讲人:</span>
|
|
|
{data?.Detail.Speaker}
|
|
|
</div>
|
|
|
)}
|
|
|
- {data?.Detail.Expert && (
|
|
|
+ {data?.Detail.Expert && data?.HasPermission === INewPermissionType.OK && (
|
|
|
<div className="activity-detail-line">
|
|
|
<span className="activity-detail-label">专家背景:</span>
|
|
|
<div dangerouslySetInnerHTML={{ __html: data?.Detail.Expert }} className="reset-pm" />
|
|
|
</div>
|
|
|
)}
|
|
|
- {login2p.jwt && data?.HasPermission === INewPermissionType.OK && data?.Detail.Address && (
|
|
|
+ {login2p.jwt && data?.Detail.Address && data?.HasPermission === INewPermissionType.OK && (
|
|
|
<div className="activity-detail-line">
|
|
|
<span className="activity-detail-label">活动地点:</span>
|
|
|
{data.Detail.ActivityTypeId === 4
|
|
@@ -284,33 +285,33 @@ const ActivityTypeDetail: React.FC<IActivityTypeDetail> = props => {
|
|
|
</div>
|
|
|
)}
|
|
|
|
|
|
- {data?.Detail.MainlandTell && (
|
|
|
+ {data?.Detail.MainlandTell && data?.HasPermission === INewPermissionType.OK && (
|
|
|
<div className="activity-detail-line">
|
|
|
<span className="activity-detail-label">大陆拨入:</span>
|
|
|
<span className="detail-link">{data?.Detail.MainlandTell}</span>
|
|
|
</div>
|
|
|
)}
|
|
|
- {data?.Detail.HongKongTell && (
|
|
|
+ {data?.Detail.HongKongTell && data?.HasPermission === INewPermissionType.OK && (
|
|
|
<div className="activity-detail-line">
|
|
|
<span className="activity-detail-label">香港拨入:</span>
|
|
|
<span className="detail-link">{data?.Detail.HongKongTell}</span>
|
|
|
</div>
|
|
|
)}
|
|
|
- {data?.Detail.TaiwanTell && (
|
|
|
+ {data?.Detail.TaiwanTell && data?.HasPermission === INewPermissionType.OK && (
|
|
|
<div className="activity-detail-line">
|
|
|
<span className="activity-detail-label">台湾拨入:</span>
|
|
|
<span className="detail-link">{data?.Detail.TaiwanTell}</span>
|
|
|
</div>
|
|
|
)}
|
|
|
- {data?.Detail.AmericaTell && (
|
|
|
+ {data?.Detail.AmericaTell && data?.HasPermission === INewPermissionType.OK && (
|
|
|
<div className="activity-detail-line">
|
|
|
<span className="activity-detail-label">美国拨入:</span>
|
|
|
<span className="detail-link">{data?.Detail.AmericaTell}</span>
|
|
|
</div>
|
|
|
)}
|
|
|
{login2p.jwt &&
|
|
|
- data?.HasPermission === INewPermissionType.OK &&
|
|
|
- data?.Detail.ParticipationCode && (
|
|
|
+ data?.Detail.ParticipationCode &&
|
|
|
+ data?.HasPermission === INewPermissionType.OK && (
|
|
|
<div className="activity-detail-line">
|
|
|
<span className="activity-detail-label">拨入密码:</span>
|
|
|
{!!data?.Detail.IsLimitPeople
|
|
@@ -321,8 +322,8 @@ const ActivityTypeDetail: React.FC<IActivityTypeDetail> = props => {
|
|
|
</div>
|
|
|
)}
|
|
|
{login2p.jwt &&
|
|
|
- data?.HasPermission === INewPermissionType.OK &&
|
|
|
- data?.Detail.OnlineParticipation && (
|
|
|
+ data?.Detail.OnlineParticipation &&
|
|
|
+ data?.HasPermission === INewPermissionType.OK && (
|
|
|
<div className="activity-detail-line">
|
|
|
<span className="activity-detail-label">网络参会:</span>
|
|
|
{!!data?.Detail.IsLimitPeople &&
|
|
@@ -342,8 +343,8 @@ const ActivityTypeDetail: React.FC<IActivityTypeDetail> = props => {
|
|
|
</div>
|
|
|
)}
|
|
|
{login2p.jwt &&
|
|
|
- data?.HasPermission === INewPermissionType.OK &&
|
|
|
- data?.Detail.LinkParticipants && (
|
|
|
+ data?.Detail.LinkParticipants &&
|
|
|
+ data?.HasPermission === INewPermissionType.OK && (
|
|
|
<div className="activity-detail-line">
|
|
|
<span className="activity-detail-label">链接参会:</span>
|
|
|
{!!data?.Detail.IsLimitPeople
|
|
@@ -353,14 +354,15 @@ const ActivityTypeDetail: React.FC<IActivityTypeDetail> = props => {
|
|
|
: formatLinkText(data?.Detail.LinkParticipants)}
|
|
|
</div>
|
|
|
)}
|
|
|
- {(data?.Detail?.ArticleList?.length || 0) > 0 && (
|
|
|
- <div className="activity-detail-line">
|
|
|
- <span className="activity-detail-label">相关报告:</span>
|
|
|
- <div onClick={handleArticleLink} className="detail-btn-link">
|
|
|
- 点击查看
|
|
|
+ {(data?.Detail?.ArticleList?.length || 0) > 0 &&
|
|
|
+ data?.HasPermission === INewPermissionType.OK && (
|
|
|
+ <div className="activity-detail-line">
|
|
|
+ <span className="activity-detail-label">相关报告:</span>
|
|
|
+ <div onClick={handleArticleLink} className="detail-btn-link">
|
|
|
+ 点击查看
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
- )}
|
|
|
+ )}
|
|
|
{data?.Detail.Theme && (
|
|
|
<div className="activity-detail-line">
|
|
|
<span className="activity-detail-label">主题:</span>
|
|
@@ -368,8 +370,8 @@ const ActivityTypeDetail: React.FC<IActivityTypeDetail> = props => {
|
|
|
</div>
|
|
|
)}
|
|
|
{login2p.jwt &&
|
|
|
- data?.HasPermission === INewPermissionType.OK &&
|
|
|
- data?.Detail.TencentConferenceNumber && (
|
|
|
+ data?.Detail.TencentConferenceNumber &&
|
|
|
+ data?.HasPermission === INewPermissionType.OK && (
|
|
|
<div className="activity-detail-line">
|
|
|
<span className="activity-detail-label">腾讯会议号:</span>
|
|
|
<div className="detail-link">
|
|
@@ -381,15 +383,15 @@ const ActivityTypeDetail: React.FC<IActivityTypeDetail> = props => {
|
|
|
</div>
|
|
|
</div>
|
|
|
)}
|
|
|
- {data?.Detail.AppAttendance && (
|
|
|
+ {data?.Detail.AppAttendance && data?.HasPermission === INewPermissionType.OK && (
|
|
|
<div className="activity-detail-line">
|
|
|
<span className="activity-detail-label">App参会:</span>
|
|
|
{data.Detail.AppAttendance}
|
|
|
</div>
|
|
|
)}
|
|
|
{login2p.jwt &&
|
|
|
- data?.HasPermission === INewPermissionType.OK &&
|
|
|
- data?.Detail.ConferencePassword && (
|
|
|
+ data?.Detail.ConferencePassword &&
|
|
|
+ data?.HasPermission === INewPermissionType.OK && (
|
|
|
<div className="activity-detail-line">
|
|
|
<span className="activity-detail-label">会议密码:</span>
|
|
|
{!!data?.Detail.IsLimitPeople
|
|
@@ -405,7 +407,7 @@ const ActivityTypeDetail: React.FC<IActivityTypeDetail> = props => {
|
|
|
<div dangerouslySetInnerHTML={{ __html: data?.Detail.Highlights }} className="reset-pm" />
|
|
|
</div>
|
|
|
)}
|
|
|
- {data?.Detail.Remarks && (
|
|
|
+ {data?.Detail.Remarks && data?.HasPermission === INewPermissionType.OK && (
|
|
|
<div className="activity-detail-line">
|
|
|
<span className="activity-detail-label">备注:</span>
|
|
|
<div dangerouslySetInnerHTML={{ __html: data?.Detail.Remarks }} className="reset-pm" />
|