dedsudiyu 2 年之前
父節點
當前提交
deef8091ac
共有 1 個文件被更改,包括 15 次插入1 次删除
  1. 15 1
      src/views/safetyCheck/laboratorySelfTest/selfInspectionManagement/infoDialog.vue

+ 15 - 1
src/views/safetyCheck/laboratorySelfTest/selfInspectionManagement/infoDialog.vue

@@ -150,6 +150,7 @@
           class="iframe"
           :src="iframeSrc" scrolling="auto" frameborder="0">
         </iframe>
+        <p class="out-button" @click="outLook">返回</p>
       </div>
     </div>
   </el-dialog>
@@ -225,7 +226,7 @@
       },
       //点击查看文档
       lookDocument(url){
-        url = 'http://localhost/#/safetyCheck/laboratorySelfTest/selfInspectionManagement'
+        url = 'http://192.168.1.43/labSystem/statics/bigFile/2023042514/96ca9fcb-bb8e-4e90-a74a-5e94abea3816.pdf'
         this.iframeSrc = this.urlJudge(url)
         this.$set(this,'infoDialogCheckIndex','document');
       },
@@ -553,6 +554,19 @@
           flex:1;
           height:700px;
         }
+        .out-button{
+          width:60px;
+          line-height:30px;
+          color:#999;
+          background-color: #dedede;
+          border-radius:4px;
+          text-align: center;
+          cursor: pointer;
+          position: absolute;
+          top:17px;
+          right:17px;
+          z-index:99999;
+        }
       }
     }
   }