yanghao 19 ساعت پیش
والد
کامیت
81d91943fc
2فایلهای تغییر یافته به همراه21 افزوده شده و 20 حذف شده
  1. 7 3
      src/components/home/header.vue
  2. 14 17
      src/views/flow/crmTodoList.vue

+ 7 - 3
src/components/home/header.vue

@@ -19,11 +19,11 @@
           <li><a class="hover:text-[#02409b] cursor-pointer">典型案例</a></li>
           <li><a class="hover:text-[#02409b] cursor-pointer">平台服务</a></li>
 
-          <!-- <li>
+          <li>
             <a class="hover:text-[#02409b] cursor-pointer" @click="goFlow"
               >流程门户</a
             >
-          </li> -->
+          </li>
         </ul>
       </nav>
 
@@ -295,7 +295,11 @@
           <li><a class="block py-2">典型案例</a></li>
           <li><a class="block py-2">平台服务</a></li>
           <li><a class="block py-2">应用市场</a></li>
-          <li><a class="block py-2">开源社区</a></li>
+          <li>
+            <a class="hover:text-[#02409b] cursor-pointer" @click="goFlow"
+              >流程门户</a
+            >
+          </li>
         </ul>
         <div class="flex items-center gap-3 mt-3">
           <template v-if="isLoggedIn">

+ 14 - 17
src/views/flow/crmTodoList.vue

@@ -124,23 +124,20 @@ const oaTasks = ref([]);
 const loading = ref(false);
 
 const goBackPage = async (row) => {
-  const res = await ssoLogin({
-    username: userStore.getUser.username,
-  });
-
-  if (res) {
-    const newTab = window.open("", "_blank");
-
-    newTab.location.href =
-      "https://yfoa.keruioil.com/wui/index.html" +
-      "?ssoToken=" +
-      res +
-      "#/main";
-
-    setTimeout(function () {
-      newTab.location.href = `https://yfoa.keruioil.com/spa/workflow/static4form/index.html?_rdm=1776063595284#/main/workflow/req?requestid=${row.requestId}`;
-    }, 50);
-  }
+  // const res = await ssoLogin({
+  //   username: userStore.getUser.username,
+  // });
+  // if (res) {
+  //   const newTab = window.open("", "_blank");
+  //   newTab.location.href =
+  //     "https://yfoa.keruioil.com/wui/index.html" +
+  //     "?ssoToken=" +
+  //     res +
+  //     "#/main";
+  //   setTimeout(function () {
+  //     newTab.location.href = `https://yfoa.keruioil.com/spa/workflow/static4form/index.html?_rdm=1776063595284#/main/workflow/req?requestid=${row.requestId}`;
+  //   }, 50);
+  // }
 };
 onMounted(async () => {
   if (userStore.getUser.username) {