浏览代码

Merge branch 'master' of http://8.136.199.33:3000/Karsa/raiwechat_link_h5 into yh238

ldong 6 月之前
父节点
当前提交
66c80f0385

+ 0 - 1
index.html

@@ -10,6 +10,5 @@
   <body>
     <div id="app"></div>
     <script type="module" src="/src/main.js"></script>
-    <script type="text/javascript" src="https://gitee.com/dcloud/uni-app/raw/master/dist/uni.webview.1.5.2.js"></script>
   </body>
 </html>

+ 2 - 2
package.json

@@ -9,8 +9,8 @@
   },
   "dependencies": {
     "@fullcalendar/core": "^5.10.1",
-    "@fullcalendar/interaction": "^5.10.1",
     "@fullcalendar/daygrid": "^5.10.1",
+    "@fullcalendar/interaction": "^5.10.1",
     "@fullcalendar/timegrid": "^5.10.1",
     "@fullcalendar/vue3": "^5.10.1",
     "@vant/touch-emulator": "^1.3.2",
@@ -20,7 +20,7 @@
     "moment": "^2.29.1",
     "normalize.css": "^8.0.1",
     "vant": "^3.3.4",
-    "vue": "^3.2.16",
+    "vue": "^3.5.2",
     "vue-pdf-embed": "^1.1.6",
     "vue-router": "^4.0.12",
     "vuex": "^4.0.2"

+ 7 - 0
src/api/hzyb/common.js

@@ -34,4 +34,11 @@ export const apiReportingErrInfo=params=>{
         page:window.location.href
     }
     return post('/public/wechat_warning',{content:JSON.stringify(obj)})
+}
+
+/**
+ * 获取基本配置
+ */
+export const apiBaseConfig=()=>{
+    return get('/base/business_conf',{})
 }

+ 1 - 1
src/views/hzsl/report/newReport/ChapterDetail.vue

@@ -5,7 +5,7 @@
       <!-- <div class="title">【第{{info.report_chapter_item.stage}}期 | {{info.report_chapter_item.classify_name_first}}  | {{info.report_chapter_item.type_name}}】{{info.report_chapter_item.title}}</div> -->
       <div class="title">{{title}}</div>
       <div class="flex time">
-        <span>FICC团队</span>
+        <span>{{info.report_chapter_item.author}}</span>
         <span>{{formatTime(info.report_chapter_item.publish_time)}}</span>
       </div>
       <!-- 音频模块 -->

+ 1 - 1
src/views/hzsl/report/newReport/Detail.vue

@@ -50,7 +50,7 @@
             <!-- <div class="title">【第{{info.report_info.stage}}期|{{info.report_info.classify_name_second}}】{{info.report_info.title}}</div> -->
             <div class="title">{{title}}</div>
             <div class="flex time">
-                <span>FICC团队</span>
+                <span>{{info.report_info.author}}</span>
                 <span>{{formatTime(info.report_info.publish_time)}}</span>
             </div>
             <!-- 音频模块 -->

+ 10 - 3
src/views/hzyb/chart/Detail.vue

@@ -342,7 +342,7 @@ const getChartInfo=async (type)=>{
     loading.value=true
 
     //通用类根据code获取详情
-    if(![1,11].includes(chartSource)) return getCommonChartDetail();
+    if(![1,11,12].includes(chartSource)) return getCommonChartDetail();
 
     let res=null
     // 如果是从我的图库中来的
@@ -412,6 +412,8 @@ const getChartInfo=async (type)=>{
         // 截面组合图
         res.data.ChartInfo.ChartType === 14 && initSectionalCombinationChart(res.data);
 
+        // 区间分析
+        res.data.ChartInfo.Source===12 &&initIntervalAnalysisChartData(res.data)
         
 
         // 向小程序发送分享数据
@@ -1052,7 +1054,7 @@ const filterInvalidData = (item)=> {
     let temArr=[]
     commodityXData.value.forEach((i,index)=>{
         if(i.IsHide!==1){
-            temArr.push(arr[index]||null)
+            temArr.push(arr[index])
         }
     })
 
@@ -1568,6 +1570,11 @@ const setRadarChart = () => {
     }
 }
 
+//区间分析
+const initIntervalAnalysisChartData=(data)=>{
+    setSplineOpt(data.EdbInfoList)
+}
+
 
 // 路由改变 解决从搜索页返回数据不刷新问题
 onBeforeRouteUpdate((nval)=>{
@@ -1698,7 +1705,7 @@ const setSplineOpt=(data)=>{
             },
             tickWidth: sameSideIndex !== index ? 0 : 1,
             title: {
-                text:  sameSideIndex !== index ? '' : `${item.Unit||''}`,
+                text:  sameSideIndex !== index ? '' : `${resData.value.ChartInfo.Source==12?item.ConvertUnit : item.Unit||''}`,
                 align: 'high',
                 rotation: 0,
                 y: -15,

+ 43 - 0
src/views/hzyb/components/Disclaimer.vue

@@ -0,0 +1,43 @@
+<script setup>
+import { ref } from 'vue'
+import { apiBaseConfig } from '@/api/hzyb/common'
+import {Popup} from 'vant'
+
+const show = defineModel('show', { type: Boolean, default: false })
+
+const disclaimer = ref('')
+function getConfig() {
+  apiBaseConfig().then(res => {
+    if (res.code == 200) {
+      disclaimer.value = res.data.disclaimer
+    }
+  })
+}
+getConfig()
+
+</script>
+
+<template>
+  <Popup :show="show" @close="show = false" round closeable>
+    <div class="disclaimers-box">
+      <div
+        style="
+          text-align: center;
+          font-size: 16px;
+          font-weight: bold;
+          margin-bottom: 20px;
+        "
+      >
+        免责声明
+      </div>
+      <div v-html="disclaimer"></div>
+    </div>
+  </Popup>
+</template>
+
+<style lang="scss" scoped>
+.disclaimers-box{
+        width: 94vw;
+        padding: 32px;
+    }
+</style>

+ 5 - 15
src/views/hzyb/report/ChapterDetail.vue

@@ -15,7 +15,7 @@
         <template v-if="(!info.report_chapter_item.head_img) && (!info.report_chapter_item.end_img)">
           <div class="title">{{title}}</div>
           <div class="flex time">
-            <span>FICC团队</span>
+            <span>{{info.report_chapter_item.author}}</span>
             <span>{{formatTime(info.report_chapter_item.publish_time)}}</span>
           </div>
         </template>
@@ -124,19 +124,7 @@
     </div>
 
     <!-- 免责声明 -->
-    <van-popup :show="showDisclaimers" @close="showDisclaimers = false" round closeable>
-      <div class="disclaimers-box">
-        <div style="text-align: center; font-size: 16px; font-weight: bold; margin-bottom: 20px">免责声明</div>
-        <div style="margin-bottom: 10rpx">1、本报告仅供弘则弥道(上海)投资咨询有限公司正式签约的机构客户使用,不会因接收人/接收机构收到本报告而将其视为客户。</div>
-        <div style="margin-bottom: 10rpx"
-          >2、本报告根据国际和行业通行的准则,以合法渠道获得这些信息,尽可能保证可靠、准确和完整,但并不保证报告所述信息的准确性和完整性,也不保证本报告所包含的信息或建议在本报告发出后不会发生任何变更。本报告中所提供的信息仅供参考。</div
-        >
-        <div style="margin-bottom: 10rpx"
-          >3、报告中的内容不对投资者做出的最终操作建议做任何的担保,也没有任何形式的分享投资收益或者分担投资损失的书面或口头承诺。不作为客户在投资、法律、会计或税务等方面的最终操作建议,也不作为道义的、责任的和法律的依据或者凭证,无论是否已经明示或者暗示。</div
-        >
-        <div style="margin-bottom: 10rpx">4、在任何情况下,本公司不对客户/接收人/接收机构因使用报告中内容所引致的一切损失负责任,客户/接收人/接收机构需自行承担全部风险。</div>
-      </div>
-    </van-popup>
+    <Disclaimer v-model:show="showDisclaimers"/>
 
     <!-- 申请提示弹窗 -->
     <van-popup :show="pupData.show" @close="pupData.show=false" :close-on-click-overlay="false">
@@ -196,6 +184,7 @@ import _ from 'lodash';
 import collectIcon from '@/assets/hzyb/collect-icon.png'
 import collectIcons from '@/assets/hzyb/collect-icon-s.png'
 import reportCancel from './components/reportCancel.vue'
+import Disclaimer from '../components/Disclaimer.vue'
 export default {
   components:{
     [Popup.name]:Popup,
@@ -210,7 +199,8 @@ export default {
     AudioBox,
     SharePoster,
     LeaveMessage,
-    reportCancel
+    reportCancel,
+    Disclaimer
   },
   computed:{
     code_scene(){

+ 16 - 14
src/views/hzyb/report/Detail.vue

@@ -72,7 +72,7 @@
                 <template v-if="(!info.report_info.head_img) && (!info.report_info.end_img)">
                     <div class="title">{{title}}</div>
                     <div class="flex time">
-                        <span>FICC团队</span>
+                        <span>{{info.report_info.author}}</span>
                         <span>{{formatTime(info.report_info.publish_time)}}</span>
                     </div>
                 </template>
@@ -196,15 +196,7 @@
         </div>
 
         <!-- 免责声明 -->
-        <van-popup :show="showDisclaimers" @close="showDisclaimers=false" round closeable>
-            <div class="disclaimers-box">
-                <div style="text-align:center;font-size:16px;font-weight:bold;margin-bottom:20px">免责声明</div>
-                <div style="margin-bottom:10px">1、本报告仅供弘则弥道(上海)投资咨询有限公司正式签约的机构客户使用,不会因接收人/接收机构收到本报告而将其视为客户。</div>
-                <div style="margin-bottom:10px">2、本报告根据国际和行业通行的准则,以合法渠道获得这些信息,尽可能保证可靠、准确和完整,但并不保证报告所述信息的准确性和完整性,也不保证本报告所包含的信息或建议在本报告发出后不会发生任何变更。本报告中所提供的信息仅供参考。</div>
-                <div style="margin-bottom:10px">3、报告中的内容不对投资者做出的最终操作建议做任何的担保,也没有任何形式的分享投资收益或者分担投资损失的书面或口头承诺。不作为客户在投资、法律、会计或税务等方面的最终操作建议,也不作为道义的、责任的和法律的依据或者凭证,无论是否已经明示或者暗示。</div>
-                <div style="margin-bottom:10px">4、在任何情况下,本公司不对客户/接收人/接收机构因使用报告中内容所引致的一切损失负责任,客户/接收人/接收机构需自行承担全部风险。</div>
-            </div>
-        </van-popup>
+        <Disclaimer v-model:show="showDisclaimers"/>
 
         <!-- 申请提示弹窗 -->
         <van-popup :show="pupData.show" @close="pupData.show=false" :close-on-click-overlay="false">
@@ -239,6 +231,7 @@ import LeaveMessage from '../components/leaveMessage/index.vue'
 import collectIcon from '@/assets/hzyb/collect-icon.png'
 import collectIcons from '@/assets/hzyb/collect-icon-s.png'
 import reportCancel from './components/reportCancel.vue'
+import Disclaimer from '../components/Disclaimer.vue'
 
 export default {
     components:{
@@ -251,7 +244,8 @@ export default {
         AudioBox,
         SharePoster,
         LeaveMessage,
-        reportCancel
+        reportCancel,
+        Disclaimer
     },
     computed:{
         code_scene(){
@@ -482,9 +476,17 @@ export default {
                     video_img:res.data.report_info.video_img
                 }
                 this.chapterList=res.data.report_chapter_list
-                document.title = res.data.report_info.classify_name_first
-
-                this.splitContentHandle(this.info.report_info.content);
+                document.title = res.data.report_info.classify_name_first||'';
+                
+                //非章节报告处理内容分页
+                (!res.data.report_info.has_chapter) && this.splitContentHandle(this.info.report_info.content);
+                
+                //章节拼接报告拼接iframe token
+                if(res.data.report_info.has_chapter&&res.data.report_detail_show_type===1) {
+                    res.data.report_chapter_list.forEach(chapter => {
+                        chapter.content = addTokenToIframe(chapter.content,this.reportId,chapter.report_chapter_id)
+                    })
+                }
 
                 if(!res.data.auth_ok){
                     // 获取详情如果为联系销售根据判断条件是否主动申请一次

+ 19 - 1
src/views/ssbg/components/calendar.vue

@@ -112,6 +112,23 @@ function getPopoverContent(){
             content:`${CooperationName}`,
             RoadshowType:RoadshowType
         }].filter(item=>item.RoadshowType===RoadshowType)
+      const SalonContent = [
+        {
+            key:'RoadshowPlatform',
+            label:'会议平台:',
+            content:`${RoadshowPlatform}`,
+            RoadshowType:'线上'
+        },{
+            key:'RoadshowCity',
+            label:'会议城市:',
+            content:`${Province}${City}`,
+            RoadshowType:'线下'
+        },{
+            key:'Theme',
+            label:'会议主题:',
+            content:`${Theme}`,
+            RoadshowType:RoadshowType
+        }].filter(item=>item.RoadshowType===RoadshowType)
     ////ActivityType不为空时,需要显示的内容
     const {ResearcherName,SysUserRealName} = selectEventInfo.value
     const SuppleContent=[{
@@ -139,6 +156,7 @@ function getPopoverContent(){
     const contentMap = {
         '路演':RoadshowContent,
         '公开会议':MeetingContent,
+        '沙龙':SalonContent,
     }
     if(ActivityType){
         popContentArr.value = [...popContent,...contentMap[ActivityType]||[],...SuppleContent]
@@ -221,7 +239,7 @@ const getReservationList = () => {
       ? item.Title 
       : item.ActivityType==='路演'
       ? `${item.CompanyName}${item.CompanyStatus ? '('+ item.CompanyStatus + ')' : ''}` 
-      : item.ActivityType==='公开会议'
+      : item.ActivityType==='公开会议' || item.ActivityType==='沙龙'
       ? item.Theme 
       : setDynamicTitle(item);