Browse Source

lhj 0511xg

liuhj 1 year ago
parent
commit
340fce057a
5 changed files with 141 additions and 3 deletions
  1. 14 0
      package-lock.json
  2. 1 0
      package.json
  3. 116 0
      src/components/GPT/GPTindex.vue
  4. 4 3
      src/main.js
  5. 6 0
      src/router/index.js

+ 14 - 0
package-lock.json

@@ -18,6 +18,7 @@
         "tippy.js": "^6.3.7",
         "vue": "^2.5.2",
         "vue-router": "^3.0.1",
+        "vue-typed-js": "^0.1.2",
         "vue2-org-tree": "^1.3.6",
         "vuex": "^3.6.2"
       },
@@ -13359,6 +13360,11 @@
         "url": "https://github.com/sponsors/ljharb"
       }
     },
+    "node_modules/typed.js": {
+      "version": "2.0.16",
+      "resolved": "git+ssh://git@github.com/mattboldt/typed.js.git#cd02e533c772e35ad60ee48656b33e610eadaca7",
+      "license": "MIT"
+    },
     "node_modules/typedarray": {
       "version": "0.0.6",
       "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz",
@@ -13967,6 +13973,14 @@
       "integrity": "sha512-4gDntzrifFnCEvyoO8PqyJDmguXgVPxKiIxrBKjIowvL9l+N66196+72XVYR8BBf1Uv1Fgt3bGevJ+sEmxfZzw==",
       "dev": true
     },
+    "node_modules/vue-typed-js": {
+      "version": "0.1.2",
+      "resolved": "https://registry.npmjs.org/vue-typed-js/-/vue-typed-js-0.1.2.tgz",
+      "integrity": "sha512-9kDGuz17uYJghe/1hepRWiWYssgUFtrKnMGPHlWjVRxdvs/d9xYYWMkgzztjhx1R1B33hXkN8ctmkzCYHQ+caA==",
+      "dependencies": {
+        "typed.js": "git+https://github.com/mattboldt/typed.js.git"
+      }
+    },
     "node_modules/vue2-org-tree": {
       "version": "1.3.6",
       "resolved": "https://registry.npmjs.org/vue2-org-tree/-/vue2-org-tree-1.3.6.tgz",

+ 1 - 0
package.json

@@ -20,6 +20,7 @@
     "tippy.js": "^6.3.7",
     "vue": "^2.5.2",
     "vue-router": "^3.0.1",
+    "vue-typed-js": "^0.1.2",
     "vue2-org-tree": "^1.3.6",
     "vuex": "^3.6.2"
   },

File diff suppressed because it is too large
+ 116 - 0
src/components/GPT/GPTindex.vue


+ 4 - 3
src/main.js

@@ -7,10 +7,11 @@ import ElementUI from 'element-ui';
 import 'element-ui/lib/theme-chalk/index.css';
 import './assets/icon/iconfont.css'
 import store from './store/index.js';
-
+import VueTypedJs from 'vue-typed-js'
+Vue.use(VueTypedJs)
 import axios from 'axios';
-//axios.defaults.baseURL = 'http://132.232.92.186:8888';
-axios.defaults.baseURL = 'http://localhost:5256/';
+axios.defaults.baseURL = 'http://132.232.92.186:8888';
+// axios.defaults.baseURL = 'http://localhost:5256/';
 import { Message } from "element-ui";
 Vue.prototype.$message = Message
 Vue.prototype.$axios = axios;

+ 6 - 0
src/router/index.js

@@ -48,6 +48,7 @@ import OCRIdentify from '@/components/OP/OCRIdentify';
 import GroupsTaskAssignment from '@/components/OP/GroupsTaskAssignment';
 import DailyFeePayment from '@/components/Finance/DailyFeePayment';
 import DailyFeeedit from '@/components/Finance/DailyFeeedit';
+import GPTindex from '@/components/GPT/GPTindex';
 
 Vue.use(Router)
 
@@ -276,6 +277,11 @@ export default new Router({
           name: 'DailyFeeedit',
           component: DailyFeeedit
         },
+        {
+          path: '/home/GPTindex',
+          name: 'GPTindex',
+          component: GPTindex
+        },
       ]
     },
     {