zhuliu 6 miesięcy temu
rodzic
commit
b7695fa3a2

+ 11 - 0
public/index.html

@@ -9,7 +9,18 @@
 </head>
 <!-- <script type="text/javascript" src="http://192.168.2.24:9997/web-apps/apps/api/documents/api.js"></script> -->
 <script type="text/javascript" src="https://fms.xsip.cn/web-apps/apps/api/documents/api.js"></script>
+
 <body>
 <div id="app" ></div>
 </body>
+
+<style>
+    #dify-chatbot-bubble-button {
+        background-color: #1C64F2 !important;
+    }
+    #dify-chatbot-bubble-window {
+        width: 30rem;
+        height: 40rem;
+    }
+</style>
 </html>

+ 10 - 0
src/api/newApi/common.js

@@ -284,4 +284,14 @@ export default {
   setEvidenceReasonTableColumns(data) {
     return axios.post("/xiaoshi/personField/setEvidenceReasonTableColumns", data);
   }, 
+
+  /**
+      * 添加AI使用情况
+      * @param {*} data 
+      * @returns 
+      */
+  addAiUseRecord(params) {
+    return axios.get("/xiaoshi/common/addAiUseRecord", {params});
+  }, 
+  
 };

BIN
src/assets/小世AI.png


Plik diff jest za duży
+ 3 - 0
src/icons/svg/小世AI.svg


+ 12 - 6
src/router/index.js

@@ -25,7 +25,8 @@ const routes = [
     path: '/login',
     name: 'Login',
     meta: {
-      title: '系统登录'
+      title: '系统登录',
+      notReturn:true
     },
     component: () => import("@/views/login/index.vue")
   },
@@ -33,7 +34,8 @@ const routes = [
     path: "/agreeConceal",
     name: 'agreeConceal',
     meta: {
-      title: '用户须知'
+      title: '用户须知',
+      notReturn:true
     },
     component: () => import('@/views/login/compoments/invite/components/index.vue')
   },
@@ -216,7 +218,8 @@ const routes = [
             meta: {
               title: '可视化',
               sign: 'mindIndex',
-              belong: 'Product'
+              belong: 'Product',
+              notReturn:true
             },
             component: () => import('@/views/product/components/jsMind'),
           },
@@ -226,7 +229,8 @@ const routes = [
             meta: {
               title: '趋势图',
               sign: 'chartIndex',
-              belong: 'Product'
+              belong: 'Product',
+              notReturn:true
             },
             component: () => import('@/views/product/components/echarts'),
           },
@@ -594,6 +598,7 @@ const routes = [
         meta: {
           aside: true,
           sign: 'checkFile',
+          notReturn:true
         },
         component: () => import('@/views/components/view/checkFile.vue'),
       },
@@ -667,7 +672,7 @@ const routes = [
         meta: {
           title: '标注库',
           sign: 'indicia',
-          permission:'xiaoshi/annotationLibrary'
+          permission:'xiaoshi/annotationLibrary',
         },
         component: () => import('@/views/components/indicia/index.vue'),
       },
@@ -715,7 +720,8 @@ const routes = [
             meta: {
               title: '在线编辑',
               sign: 'onlyOffice',
-              belong: 'onlyOffice'
+              belong: 'onlyOffice',
+              notReturn:true
             },
             component: () => import('@/views/components/onlyOffice/index.vue'),
           },

Plik diff jest za duży
+ 270 - 0
src/utils/model/AIHelper/index.vue


+ 5 - 1
src/utils/model/index.js

@@ -29,6 +29,9 @@ import inventionPointDialog from '@/views/noveltySearch/components/dialog/invent
 //可监视的dom
 import observerDom from './observerDom/index.vue'
 
+//AI助手
+import AIHelper from './AIHelper/index.vue'
+
 var models = {
   myCustomSvg,
   myTree,
@@ -54,7 +57,8 @@ var models = {
   myTabs,
   myTabsItem,
   inventionPointDialog,
-  observerDom
+  observerDom,
+  AIHelper
 }
 export default {
   install(Vue) {

+ 1 - 0
src/views/layout/index.vue

@@ -30,6 +30,7 @@
       </el-main>
     </el-container>
     <help></help>
+    <AIHelper></AIHelper>
   </div>
 </template>
 

+ 1 - 0
src/views/project/patentCollection/components/views/Abstract.vue

@@ -374,6 +374,7 @@ export default {
         }else{
           downLoad2(patent.pdf[0].pdfGuid,patent.publicNo)
         }
+        return
       }
       this.$message.warning('该专利暂无说明书!')
       return true