yusm 3 周之前
父節點
當前提交
ddc296c5ac
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      fhKeeper/formulahousekeeper/timesheet/src/components/taskComponent.vue

+ 2 - 2
fhKeeper/formulahousekeeper/timesheet/src/components/taskComponent.vue

@@ -1810,7 +1810,7 @@
                       > -->
                       > -->
                       <el-link
                       <el-link
                         v-for="item in JSON.parse(item2.attachment)"
                         v-for="item in JSON.parse(item2.attachment)"
-                        @click.prevent="viewOnline2(item)"
+                        @click.stop.native="viewOnline2(item)"
                       >
                       >
                         <span style="margin-left: 8px; color: #262626">{{
                         <span style="margin-left: 8px; color: #262626">{{
                           item.originName
                           item.originName
@@ -3312,7 +3312,7 @@ export default {
         console.log(routeUrl.href);
         console.log(routeUrl.href);
         window.open(routeUrl.href, "_blank");
         window.open(routeUrl.href, "_blank");
       } else {
       } else {
-        window.open(row.url, "_blank");
+        window.open("/upload/" + row.serverName, "_blank");
       }
       }
     },
     },
     // 提交按钮
     // 提交按钮