|
@@ -24,7 +24,7 @@ const getReport = (id) => {
|
|
}).then((res) => {
|
|
}).then((res) => {
|
|
if (res.Ret === 200) {
|
|
if (res.Ret === 200) {
|
|
haveData.value = res.Data.HasPermission === 1 ? true : false;
|
|
haveData.value = res.Data.HasPermission === 1 ? true : false;
|
|
- mobile.value = res.Data.Mobile
|
|
|
|
|
|
+ mobile.value = res.Data.Mobile;
|
|
if (res.Data.HasPermission === 1) {
|
|
if (res.Data.HasPermission === 1) {
|
|
//有访问权限
|
|
//有访问权限
|
|
state.reportInfo = res.Data.Detail;
|
|
state.reportInfo = res.Data.Detail;
|
|
@@ -44,6 +44,16 @@ const getReport = (id) => {
|
|
}
|
|
}
|
|
});
|
|
});
|
|
};
|
|
};
|
|
|
|
+const lookDeeperReport = () => {
|
|
|
|
+ router.push({
|
|
|
|
+ path: "/strategyReport",
|
|
|
|
+ query: {
|
|
|
|
+ url: state.reportInfo.ReportLink,
|
|
|
|
+ pc: "true",
|
|
|
|
+ },
|
|
|
|
+ });
|
|
|
|
+};
|
|
|
|
+
|
|
onMounted(() => {
|
|
onMounted(() => {
|
|
if (localStorage.getItem("cygx_token")) {
|
|
if (localStorage.getItem("cygx_token")) {
|
|
rerportId.value = route.query.id;
|
|
rerportId.value = route.query.id;
|
|
@@ -57,7 +67,7 @@ const { reportInfo, reportResearch } = toRefs(state);
|
|
|
|
|
|
<template>
|
|
<template>
|
|
<div class="container-cygx-pc" v-if="haveData" :class="reportInfo.IsResearch ? 'no-cv' : ''">
|
|
<div class="container-cygx-pc" v-if="haveData" :class="reportInfo.IsResearch ? 'no-cv' : ''">
|
|
- <div class="z-index-content" v-if="reportInfo.ArticleId">
|
|
|
|
|
|
+ <div class="z-index-content" v-if="reportInfo.ArticleId">
|
|
<div class="content-top">
|
|
<div class="content-top">
|
|
<div class="report-title">{{ reportInfo.Title }}</div>
|
|
<div class="report-title">{{ reportInfo.Title }}</div>
|
|
<div class="report-text">
|
|
<div class="report-text">
|
|
@@ -67,14 +77,14 @@ const { reportInfo, reportResearch } = toRefs(state);
|
|
<span>{{ reportInfo.PublishDate }}</span>
|
|
<span>{{ reportInfo.PublishDate }}</span>
|
|
</div> -->
|
|
</div> -->
|
|
<!-- <div class="seller-list"> -->
|
|
<!-- <div class="seller-list"> -->
|
|
- <!-- <span>联系人:</span>
|
|
|
|
|
|
+ <!-- <span>联系人:</span>
|
|
<span v-for="(item, index) in reportInfo.SellerList" :key="index"> {{ item.SellerName }}({{ item.SellerMobile }}) </span> -->
|
|
<span v-for="(item, index) in reportInfo.SellerList" :key="index"> {{ item.SellerName }}({{ item.SellerMobile }}) </span> -->
|
|
<!-- </div> -->
|
|
<!-- </div> -->
|
|
<div class="report-research">
|
|
<div class="report-research">
|
|
<div style="display: flex">
|
|
<div style="display: flex">
|
|
<img :src="reportInfo.DepartmentImgUrl" v-if="reportInfo.DepartmentImgUrl" />
|
|
<img :src="reportInfo.DepartmentImgUrl" v-if="reportInfo.DepartmentImgUrl" />
|
|
<div class="research-author">
|
|
<div class="research-author">
|
|
- <p >{{ reportInfo.NickName }}</p>
|
|
|
|
|
|
+ <p>{{ reportInfo.NickName }}</p>
|
|
<p class="time">{{ reportInfo.PublishDate }}</p>
|
|
<p class="time">{{ reportInfo.PublishDate }}</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -101,6 +111,7 @@ const { reportInfo, reportResearch } = toRefs(state);
|
|
<div class="detail-report" :class="reportInfo.IsResearch ? '' : 'detail-bottom'">
|
|
<div class="detail-report" :class="reportInfo.IsResearch ? '' : 'detail-bottom'">
|
|
<div id="report-content" v-html="reportInfo.Body"></div>
|
|
<div id="report-content" v-html="reportInfo.Body"></div>
|
|
</div>
|
|
</div>
|
|
|
|
+ <div class="deeperReport" @click="lookDeeperReport" v-if="reportInfo.ReportLink">查看报告链接</div>
|
|
</div>
|
|
</div>
|
|
<div class="btn-returntop" v-if="reportInfo.ArticleId">
|
|
<div class="btn-returntop" v-if="reportInfo.ArticleId">
|
|
<img src="~@/assets/cygx/returntop.png" @click="scrolltop" style="width: 40px" />
|
|
<img src="~@/assets/cygx/returntop.png" @click="scrolltop" style="width: 40px" />
|
|
@@ -267,6 +278,21 @@ const { reportInfo, reportResearch } = toRefs(state);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+ .deeperReport {
|
|
|
|
+ width: 128px;
|
|
|
|
+ height: 40px;
|
|
|
|
+ background: #1890ff;
|
|
|
|
+ box-shadow: 0px 2px 0px 0px rgba(0, 0, 0, 0.04);
|
|
|
|
+ border-radius: 2px 2px 2px 2px;
|
|
|
|
+ font-size: 16px;
|
|
|
|
+ font-weight: 400;
|
|
|
|
+ color: #ffffff;
|
|
|
|
+ display: flex;
|
|
|
|
+ align-items: center;
|
|
|
|
+ justify-content: center;
|
|
|
|
+ margin: 80px auto 0 auto;
|
|
|
|
+ cursor: pointer;
|
|
|
|
+ }
|
|
.report-link {
|
|
.report-link {
|
|
font-size: 14px;
|
|
font-size: 14px;
|
|
line-height: 40px;
|
|
line-height: 40px;
|