|
@@ -15,7 +15,7 @@
|
|
|
</view>
|
|
|
<view class="description">
|
|
|
<mp-html :content="reportDetail.MarketStrategy" />
|
|
|
- <view class="detailed">
|
|
|
+ <view class="detailed" v-if="reportDetail.CeLueArticleId > 0">
|
|
|
<text>详细策略报告请</text>
|
|
|
<text @click="reportDetailLink">点击查看</text>
|
|
|
</view>
|
|
@@ -48,7 +48,7 @@
|
|
|
<view class="li-item" v-for="key in item.List" :key="key.IndustrialSubjectId">
|
|
|
<view :id="'subject' + key.IndustrialSubjectId" class="li-subject">
|
|
|
<view class="item-name">
|
|
|
- <text style="display: inline-block;vertical-align: middle;">{{ key.SubjectName }}</text>
|
|
|
+ <text style="display: inline-block; vertical-align: middle">{{ key.SubjectName }}</text>
|
|
|
<image v-if="key.IsNew" src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/new_report.png"></image>
|
|
|
</view>
|
|
|
<text class="itel-label" v-for="val in key.CompanyLabel" :key="val"># {{ val }}</text>
|
|
@@ -56,7 +56,7 @@
|
|
|
<mp-html :content="key.Body" />
|
|
|
<view class="subject-detali" v-if="key.OverviewArticleId > 0">
|
|
|
<text style="display: inline-block">公司综述报告请</text>
|
|
|
- <text style="color: #3385ff; margin-left: 10rpx; display: inline-block" @click="IndustryReport(key.OverviewArticleId)">点击查看</text>
|
|
|
+ <text style="color: #3385ff; margin-left: 10rpx; display: inline-block" @click="goArticle(key.OverviewArticleId)">点击查看</text>
|
|
|
</view>
|
|
|
<view class="subject-detali" v-if="key.List">
|
|
|
<text style="display: inline-block">相关调研纪要、深度报告请</text>
|
|
@@ -118,7 +118,15 @@ export default {
|
|
|
},
|
|
|
// 详细策略报告请
|
|
|
reportDetailLink() {
|
|
|
- this.$store.dispatch("checkHandle", "/pageMy/reportDetail/reportDetail?id=" + this.reportDetail.CeLueArticleId);
|
|
|
+ if (this.reportDetail.CeLueArticleId > 0) {
|
|
|
+ this.$store.dispatch("checkHandle", "/pageMy/reportDetail/reportDetail?id=" + this.reportDetail.CeLueArticleId);
|
|
|
+ } else {
|
|
|
+ uni.showToast({
|
|
|
+ title: "文章ID有误",
|
|
|
+ icon: "error",
|
|
|
+ duration: 2000,
|
|
|
+ });
|
|
|
+ }
|
|
|
},
|
|
|
// 锚点
|
|
|
positionSubject(item) {
|
|
@@ -143,8 +151,8 @@ export default {
|
|
|
.exec();
|
|
|
},
|
|
|
// 公司综述报告请
|
|
|
- IndustryReport(id) {
|
|
|
- this.$store.dispatch("checkHandle", "/reportPages/IndustryReport/IndustryReport?id=" + id);
|
|
|
+ goArticle(id) {
|
|
|
+ this.$store.dispatch("checkHandle", "/pageMy/reportDetail/reportDetail?id=" + id);
|
|
|
},
|
|
|
// 判断一个还是多个
|
|
|
industry(item) {
|