소스 검색

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

qinpeng 2 년 전
부모
커밋
955069c2b0
3개의 변경된 파일5개의 추가작업 그리고 6개의 파일을 삭제
  1. 2 2
      src/views/Textanalysis/index.vue
  2. 1 1
      src/views/login.vue
  3. 2 3
      src/views/teacher-dev/TextAnalysis.vue

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

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

+ 1 - 1
src/views/login.vue

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

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

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