Sfoglia il codice sorgente

日报分享添加买点

zhujindu 4 mesi fa
parent
commit
e7903c1747

+ 5 - 3
src/components/share.vue

@@ -447,12 +447,14 @@ export default {
       //   justify-content: space-between;
 
       img {
-        width: 47.5%;
-        height: 42vw;
+        // width: 47.5%;
+        // height: 42vw;
+        width: 30%;
+        height: vw(188);
         margin-bottom: 15px;
         margin-right: 5%;
         background-color: rgba(255, 255, 255, 0.1);
-        &:nth-child(2n) {
+        &:nth-child(3n) {
           margin-right: 0;
         }
       }

+ 14 - 1
src/views/week/dailyDetails.vue

@@ -553,7 +553,13 @@
 
 <script>
 import history from '@/assets/Icon/history.png';
-import { userTodayPlanNum, loginLog, getDetailById, getReportInfo } from '@/api/index';
+import {
+  userTodayPlanNum,
+  loginLog,
+  getDetailById,
+  getReportInfo,
+  buryingPoint,
+} from '@/api/index';
 import { ImagePreview } from 'vant';
 import visitedRealTime from '@/views/componentsTarget/visitedRealTime';
 import createStoreBJ from '@/views/componentsTarget/createStoreBJ';
@@ -673,6 +679,13 @@ export default {
     },
     // 打开分享
     clickShareFlag(index = -1) {
+      buryingPoint({
+        systemModel: '日报审核',
+        buryingPointType: 2,
+        buryingPointValue: this.$route.query.reportId,
+        buryingPointName: '日报详情',
+        buryingPointPosition: '日报',
+      });
       this.urlList = [];
       this.reportRemarksIndex = index;
       if (this.reportTarget.photos && this.reportTarget.photos.length) {

+ 7 - 0
src/views/week/dailyHistoricalDetails.vue

@@ -733,6 +733,13 @@ export default {
     },
     // 打开分享
     clickShareFlag(index = -1) {
+      buryingPoint({
+        systemModel: '日报审核',
+        buryingPointType: 2,
+        buryingPointValue: this.$route.query.reportId,
+        buryingPointName: '日报详情',
+        buryingPointPosition: '日报',
+      });
       this.urlList = [];
       this.reportRemarksIndex = index;
       if (this.reportTarget.photos && this.reportTarget.photos.length) {