Browse Source

chatAI页面

zhujindu 6 months ago
parent
commit
89abc633f5
1 changed files with 9 additions and 1 deletions
  1. 9 1
      src/views/chatAIPage/index.vue

+ 9 - 1
src/views/chatAIPage/index.vue

@@ -5,7 +5,11 @@
       <div class="titleTip">欢迎进入随身邦chatBl,智能助理为您提供以下服务</div>
     </div>
     <div class="content">
-      <div class="tabItem" v-for="item in tabData" :style="{ background: item.backColor }">
+      <div
+        class="tabItem"
+        v-for="item in tabData"
+        :style="{ background: item.backColor }"
+        @click="openAiPage">
         <div class="tabName">{{ item.tabName }}</div>
         <div class="message">{{ item.message }}</div>
         <div class="icon">
@@ -71,6 +75,10 @@ export default {
           this.$toast(error.msg);
         });
     },
+    openAiPage() {
+      window.location.href =
+        'http://bi.dgtis.com/cboard/h5/index.html?token=' + this.AIToken + '#/chatbi';
+    },
   },
 };
 </script>