瀏覽代碼

跳转路径 修改

bding 11 月之前
父節點
當前提交
80322a753b
共有 1 個文件被更改,包括 1 次插入18 次删除
  1. 1 18
      src/views/custom_manage/contacts/mixins/mutualAssistance.js

+ 1 - 18
src/views/custom_manage/contacts/mixins/mutualAssistance.js

@@ -121,24 +121,7 @@ export const mutualMixin = {
     /* 表格行的点击事件 */
     handleRowClick(row, key) {
       if (key === "Title") {
-        if (row.SpecialType > 0) {
-          let href = `${process.env.CYGX_WEB}/column/detail/${row.ArticleId}`;
-          window.open(href, "_blank");
-          return;
-        }
-        if (row.ArticleType == 1) {
-          let url =
-            process.env.NODE_ENV === "production"
-              ? "https://details.hzinsights.com/cygx/report"
-              : process.env.NODE_ENV === "test"
-              ? "http://xcxh5test.hzinsights.com/xcx_h5/cygx/report"
-              : "http://xcxh5test.hzinsights.com/xcx_h5/cygx/report";
-          let href = `${url}?id=${row.ArticleIdMd5}`;
-          window.open(href, "_blank");
-        } else {
-          let href = `https://vmp.hzinsights.com/v2/articles/${row.ArticleId}`;
-          window.open(href, "_blank");
-        }
+        window.open(row.HttpUrl, "_blank");
       } else if (key === "ActivityName" && this.activeName === 8) {
         this.themeDetails(row.ActivityId);
       }