zengyicheng 2 年之前
父节点
当前提交
5702d0289c

+ 13 - 5
src/components/pages/components/worksDetail2.vue

@@ -1384,7 +1384,7 @@ export default {
                 res.data[0][k].stage == worksDetail[i].stage &&
                 res.data[0][k].task == worksDetail[i].task
               ) {
-                workJson[k].img.push({ src: JSON.parse(worksDetail[i].content).url, id: i });
+                workJson[k].img.push({ src: worksDetail[i].content, id: i });
               }
             }
             for (var i = 0; i < askInfo.length; i++) {
@@ -1515,18 +1515,26 @@ export default {
                 var a = ["PPT", "PPTX", "XLSX", "XLS", "DOC", "DOCX"];
                 if (
                   a.indexOf(
-                    JSON.parse(pptInfo[i].content).url.split(".")[JSON.parse(pptInfo[i].content).url.split(".").length - 1].toLocaleUpperCase()
+                    pptInfo[i].content
+                      .split(".")
+                      [
+                        pptInfo[i].content.split(".").length - 1
+                      ].toLocaleUpperCase()
                   ) != -1
                 ) {
                   var a =
                     "https://view.officeapps.live.com/op/view.aspx?src=" +
-                    JSON.parse(pptInfo[i].content).url;
+                    pptInfo[i].content;
                   workJson[k].wpptInfo.push(a);
                   this.showPDF = false;
                 } else if (
-                  JSON.parse(pptInfo[i].content).url.split(".")[JSON.parse(pptInfo[i].content).url.split(".").length - 1].toLocaleUpperCase() == "PDF"
+                  pptInfo[i].content
+                    .split(".")
+                    [
+                      pptInfo[i].content.split(".").length - 1
+                    ].toLocaleUpperCase() == "PDF"
                 ) {
-                  workJson[k].wpptInfo.push(JSON.parse(pptInfo[i].content).url);
+                  workJson[k].wpptInfo.push(pptInfo[i].content);
                   this.showPDF = true;
                 }
               }

+ 1 - 0
src/components/pages/learnAnalysis/components/lookModel.vue

@@ -639,6 +639,7 @@ export default {
 .isWorkCss {
   width: 100%;
   height: 100%;
+  overflow: auto;
 }
 .modelTopRight {
   display: flex;

+ 1 - 0
src/components/pages/learnAnalysis/components/modelReport.vue

@@ -685,6 +685,7 @@ export default {
 .isWorkCss {
   width: 100%;
   height: 100%;
+  overflow: auto;
 }
 .modelButton {
   background: #409efe;

+ 1 - 0
src/components/pages/myReport/myReport.vue

@@ -628,5 +628,6 @@ export default {
 .isWorkCss {
   width: 100%;
   height: 100%;
+  overflow: auto;
 }
 </style>