bding před 1 rokem
rodič
revize
dc50ee02f8

+ 5 - 0
config/api.js

@@ -38,6 +38,11 @@ export const Mine = {
   advice: (params) => {
     return postHttp("/advice/add", params);
   },
+  /* 关于我们浏览记录 */
+  addHistory: (params) => {
+    return postHttp("/config/aboutUs/addHistory", params);
+  },
+  
 };
 /* 搜索 */
 export const Search = {

+ 5 - 9
pageMy/followUs/followUs.vue

@@ -7,14 +7,8 @@
         id="myVideo"
         src="https://hzstatic.hzinsights.com/static/yb/video/8617330c2a76e0c35999f6466b4470c4.mp4"
         @ended="handleVideoEnd"
-        @play="handelVideoPlay"
       ></video>
-      <image
-        class="video-img"
-        @click="isPlay = true"
-        v-else
-        src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/my_video.png"
-      ></image>
+      <image class="video-img" @click="playHandler" v-else src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/my_video.png"></image>
       <view class="text-introduce">三分钟了解弘则研究体系和方法论</view>
     </view>
     <view class="my-log">
@@ -24,6 +18,7 @@
 </template>
 
 <script>
+import { Mine } from "@/config/api";
 export default {
   data() {
     return {
@@ -37,8 +32,9 @@ export default {
       this.videoContext.exitFullScreen();
     },
     // 点击了播放
-    handelVideoPlay() {
-      console.log("点击了播放");
+    async playHandler() {
+      this.isPlay = true;
+      const res = await Mine.addHistory();
     },
   },
   onReady() {

+ 9 - 2
pageMy/myPage/myPage.vue

@@ -63,8 +63,7 @@
       </view>
       <view class="info-bot">
         <view class="list-item border_bottom" v-for="type in typeArr" :key="type" @click="itemClickHandle(type)">
-          <text v-if="type !== '产品内测'">{{ type }}</text>
-          <text v-if="type == '产品内测' && wholeShowListData.IsBelongRai">{{ type }}</text>
+          <text>{{ type }}</text>
           <view class="my-bot-box">
             <block v-if="type == '外呼号码'">
               <text v-if="userInfo.OutboundCountryCode && userInfo.OutboundMobile" style="margin-right: 40rpx; font-size: 28rpx"
@@ -136,6 +135,14 @@ export default {
       this.isLogin = false;
     }
   },
+  watch: {
+    "wholeShowListData.IsBelongRai": {
+      handler(newVal) {
+        !newVal && this.typeArr.splice(5, 1);
+      },
+      deep: true,
+    },
+  },
   methods: {
     //获取胶囊位置
     initNavBar() {

+ 1 - 1
pages/index/components/ItemContent.vue

@@ -2,7 +2,7 @@
   <view class="morning-item" @click="isGoDetalisOfDlgHandler(list)">
     <block v-if="list.Source == 'meetingreviewchapt'">
       <view class="item-title" v-if="list.IndustryName">
-        <mp-html :content="richTextClamp(3) + list.IndustryName + '</div>'" />
+        <mp-html :content="richTextClamp(3) + `【${list.IndustryName}】晨会精华 ` + '</div>'" />
       </view>
       <view class="item-rich-text">
         <mp-html :content="richTextClamp(10) + list.Content + '</div>'" />

+ 14 - 3
reportPages/internalDetials/internalDetials.vue

@@ -57,6 +57,7 @@ export default {
       haveData: true,
       hasPermission: "",
       reportId: 0,
+      titleTxT: "",
     };
   },
   components: { statement },
@@ -69,6 +70,10 @@ export default {
         this.hasPermission = res.Data.HasPermission;
         this.reportDetail = res.Data.Detail;
         this.haveData = this.reportDetail ? true : false;
+        this.titleTxT = this.reportDetail.Title;
+        uni.setNavigationBarTitle({
+          title: this.titleTxT,
+        });
       } else {
         this.haveData = false;
       }
@@ -77,7 +82,7 @@ export default {
     applyAuth() {
       this.hasPermission === 4
         ? uni.navigateTo({
-            url: "/pageMy/applyTrial/applyTrial?tryType=Article&detailId=" + this.id,
+            url: "/pageMy/applyTrial/applyTrial?tryType=ProductInterior&detailId=" + this.id,
           })
         : uni.showModal({
             title: "",
@@ -118,6 +123,12 @@ export default {
           "";
       }
     },
+    // 返回首頁
+    backIndex() {
+      uni.switchTab({
+        url: "/pages/index/index",
+      });
+    },
   },
   onLoad(options) {
     this.reportId = Number(options.id) || "";
@@ -129,8 +140,8 @@ export default {
   },
   onShareAppMessage() {
     return {
-      title: "xxxxxx",
-      path: "/reportPages/internalDetials/internalDetials",
+      title: this.titleTxT,
+      path: "/reportPages/internalDetials/internalDetials?id=" + this.reportId,
     };
   },
 };

+ 1 - 1
reportPages/keyCompany/keyCompany.vue

@@ -214,7 +214,7 @@ export default {
     applyAuth() {
       this.hasPermission === 4
         ? uni.navigateTo({
-            url: "/pageMy/applyTrial/applyTrial?tryType=Article&detailId=" + this.id,
+            url: "/pageMy/applyTrial/applyTrial?tryType=ReportSelection&detailId=" + this.id,
           })
         : uni.showModal({
             title: "",

+ 1 - 0
reportPages/reportSecretDetail/reportSecretDetail.vue

@@ -229,6 +229,7 @@ export default {
     },
     /* 无权限申请开通权限 */
     applyAuth() {
+      let istype = this.isType == 2 ? "Researchsummary" : "Minutessummary"
       this.hasPermission === 4
         ? uni.navigateTo({
             url: "/pageMy/applyTrial/applyTrial?tryType=Article&detailId=" + this.id,