Pārlūkot izejas kodu

确定 GCLS-TC 出现问题所在。

qinpeng 2 gadi atpakaļ
vecāks
revīzija
955069c2b0

+ 2 - 2
src/views/Textanalysis/index.vue

@@ -1046,7 +1046,7 @@ export default {
             : this.base.vocabularyTextCount;
       }
       postapi({
-        url: "GCLSTCServer/tools/TS/statistics",
+        url: "/GCLSTCServer/tools/TS/statistics",
         data: {
           searchType: this.leftNavIndex,
           partitionKey: this.partitionKey,
@@ -1076,7 +1076,7 @@ export default {
     getArticleData() {
       this.loading = true;
       postapi({
-        url: "GCLSTCServer/tools/TS/analysis/parsed/text",
+        url: "/GCLSTCServer/tools/TS/analysis/parsed/text",
         data: {
           partitionKey: this.partitionKey,
         },

+ 1 - 1
src/views/login.vue

@@ -212,7 +212,7 @@ export default {
             .then((res) => {
               let tokenData = res;
               postapi({
-                url: "GCLSTCServer/login",
+                url: "/GCLSTCServer/login",
                 data: {
                   userCode: res.user_code,
                   userType: res.user_type,

+ 2 - 3
src/views/teacher-dev/TextAnalysis.vue

@@ -97,7 +97,7 @@ export default {
     deleteOne(id, index) {
       this.loading = true;
       postapi({
-        url: "GCLSTCServer/tools/TS/analysis/record/del",
+        url: "/GCLSTCServer/tools/TS/analysis/record/del",
         data: {
           id,
         },
@@ -114,7 +114,6 @@ export default {
     },
     anewSubmit(item) {
       this.loading = true;
-
       postapi({
         url: "GCLSTCServer/tools/TS/reparse",
         data: {
@@ -155,7 +154,7 @@ export default {
     getlist(msg) {
       this.loading = true;
       postapi({
-        url: "/qpqpqp/GCLSTCServer/tools/TS/analysis/record/list",
+        url: "/GCLSTCServer/tools/TS/analysis/record/list",
         data: {
           pageIndex: this.page,
           pageSize: this.pageSize,