Jelajahi Sumber

视频中心

yanghao 2 minggu lalu
induk
melakukan
b6d3ab692d
3 mengubah file dengan 9 tambahan dan 6 penghapusan
  1. TEMPAT SAMPAH
      src/assets/images/video.png
  2. 8 6
      src/components/home/CardItem.vue
  3. 1 0
      src/views/index.vue

TEMPAT SAMPAH
src/assets/images/video.png


+ 8 - 6
src/components/home/CardItem.vue

@@ -102,6 +102,7 @@ import dataimage from "@/assets/images/data.png"; // 全局数据治理
 import thinkimage from "@/assets/images/think.png"; // 智能决策
 import aiimage from "@/assets/images/ai.png"; // AI大模型
 import agentimage from "@/assets/images/agent.jpeg"; // ai智能体
+import videoimage from "@/assets/images/video.png"; // ai智能体
 
 const userStore = useUserStore();
 const router = useRouter();
@@ -141,6 +142,7 @@ const iconMap: Record<string, string> = {
   "组织资产管理(AM)": zuzhiimage,
   "风控、合规管理(ECM)": safeimage,
   "中航北斗(ZH)": zhonghangimage,
+  "视频中心(VCS)": videoimage,
   "智能钻井系统(IDS)": zuanjingimage,
   "智能压裂系统(IFS)": yalieimage,
   "智能注气系统(IGIS)": zhuqiimage,
@@ -189,7 +191,7 @@ const handleView = async (item: Item) => {
       if (res) {
         window.open(
           "https://yfoa.keruioil.com/wui/index.html?ssoToken=" + res + "#/main",
-          "_blank"
+          "_blank",
         );
       }
     } else {
@@ -203,7 +205,7 @@ const handleView = async (item: Item) => {
         import.meta.env.VITE_PMS_URL +
           "/portalLogin?username=" +
           userStore.getUser.username,
-        "_blank"
+        "_blank",
       );
     } else {
       router.push({ path: "/login" });
@@ -237,7 +239,7 @@ const handleView = async (item: Item) => {
           userStore.getUser.username +
           "&" +
           extraParam,
-        "_blank"
+        "_blank",
       );
     } else {
       router.push({ path: "/login" });
@@ -253,14 +255,14 @@ const handleView = async (item: Item) => {
           userStore.getUser.username +
           "&" +
           extraParam,
-        "_blank"
+        "_blank",
       );
     } else {
       router.push({ path: "/login" });
     }
   }
 
-  if (item.label === "视频中心") {
+  if (item.label === "视频中心(VCS)") {
     const extraParam = "source=spzx";
     if (userStore.getUser.username && getAccessToken()) {
       window.open(
@@ -269,7 +271,7 @@ const handleView = async (item: Item) => {
           userStore.getUser.username +
           "&" +
           extraParam,
-        "_blank"
+        "_blank",
       );
     } else {
       router.push({ path: "/login" });

+ 1 - 0
src/views/index.vue

@@ -118,6 +118,7 @@ const cards: Card[] = [
       { label: "中航北斗(ZH)" },
       { label: "智能连油系统(ICOTS)" },
       { label: "安全应急(QHSE)" },
+      { label: "视频中心(VCS)" },
       { label: "智能钻井系统(IDS)", tag: "热" },
       { label: "智能压裂系统(IFS)" },
       { label: "智能注气系统(IGIS)" },