En route пре 1 година
родитељ
комит
dd1f656052

+ 2 - 2
src/utils/request.js

@@ -8,8 +8,8 @@ import { paramMate } from "@/utils/common";
 
 
 axios.defaults.headers['Content-Type'] = 'application/json;charset=utf-8'
 axios.defaults.headers['Content-Type'] = 'application/json;charset=utf-8'
 // 创建axios实例
 // 创建axios实例
-// export const baseURL = process.env.VUE_APP_BASE_API
-export const baseURL = 'http://192.168.1.24:5030/'
+export const baseURL = process.env.VUE_APP_BASE_API
+// export const baseURL = 'http://192.168.1.24:5030/'
 // export const baseURL = 'https://cloud.xyyxt.net/'
 // export const baseURL = 'https://cloud.xyyxt.net/'
 
 
 export const BASE_IMG_URL = process.env.VUE_APP_IMG_API
 export const BASE_IMG_URL = process.env.VUE_APP_IMG_API

+ 4 - 0
src/views/education/classManageMent/classList/addClass/index.vue

@@ -547,6 +547,10 @@ export default {
     },
     },
     //获取官方接口
     //获取官方接口
     getGFList() {
     getGFList() {
+      this.type1List = []
+      this.type2List = []
+      this.type3List = []
+      this.type4List = []
       this.$api.inquirelistInterfaceVo().then((res) => {
       this.$api.inquirelistInterfaceVo().then((res) => {
         res.rows.forEach((item) => {
         res.rows.forEach((item) => {
           if (item.type === 1) {
           if (item.type === 1) {

+ 4 - 0
src/views/education/classManageMent/classList/classList/addClass.vue

@@ -599,6 +599,10 @@ export default {
     },
     },
     //获取官方接口
     //获取官方接口
     getGFList() {
     getGFList() {
+      this.type1List = []
+      this.type2List = []
+      this.type3List = []
+      this.type4List = []
       this.$api.inquirelistInterfaceVo().then((res) => {
       this.$api.inquirelistInterfaceVo().then((res) => {
         res.rows.forEach((item) => {
         res.rows.forEach((item) => {
           if (item.type === 1) {
           if (item.type === 1) {

+ 4 - 0
src/views/education/classManageMent/classList/manageClass/baseInfo.vue

@@ -591,6 +591,10 @@ export default {
     },
     },
     //获取官方接口
     //获取官方接口
     getGFList() {
     getGFList() {
+      this.type1List = []
+      this.type2List = []
+      this.type3List = []
+      this.type4List = []
       this.$api.inquirelistInterfaceVo().then((res) => {
       this.$api.inquirelistInterfaceVo().then((res) => {
         res.rows.forEach((item) => {
         res.rows.forEach((item) => {
           if (item.type === 1) {
           if (item.type === 1) {

+ 1 - 1
src/views/education/classManageMent/classList/trainee/tabClassDialog.vue

@@ -63,7 +63,7 @@ export default {
         },
         },
         {
         {
           label: "班级人数",
           label: "班级人数",
-          prop1: "studentNum",
+          prop1: "studentNumAll",
           prop2: "studentUpper",
           prop2: "studentUpper",
           hidden: true,
           hidden: true,
           scope: "peopleNums",
           scope: "peopleNums",

+ 4 - 0
src/views/education/classManageMent/otherPlatforms/manageClass/baseInfo.vue

@@ -533,6 +533,10 @@ export default {
     },
     },
     //获取官方接口
     //获取官方接口
     getGFList() {
     getGFList() {
+      this.type1List = []
+      this.type2List = []
+      this.type3List = []
+      this.type4List = []
       this.$api.inquirelistInterfaceVo().then((res) => {
       this.$api.inquirelistInterfaceVo().then((res) => {
         res.rows.forEach((item) => {
         res.rows.forEach((item) => {
           if (item.type === 1) {
           if (item.type === 1) {

+ 1 - 1
src/views/education/classManageMent/studentMenu/tabClassDialog.vue

@@ -70,7 +70,7 @@ export default {
         },
         },
         {
         {
           label: "班级人数",
           label: "班级人数",
-          prop1: "studentNum",
+          prop1: "studentNumAll",
           prop2: "studentUpper",
           prop2: "studentUpper",
           hidden: true,
           hidden: true,
           scope: "peopleNums",
           scope: "peopleNums",