diff --git a/.env.development b/.env.development index c380ede..349e64c 100644 --- a/.env.development +++ b/.env.development @@ -5,8 +5,8 @@ ENV = 'development' VUE_APP_BASE_API = '/test-api' -VUE_APP_BASE_TARGET = 'http://192.168.0.229:9999' -# VUE_APP_BASE_TARGET = 'http://192.168.0.135:9999' +# VUE_APP_BASE_TARGET = 'http://192.168.0.229:9999' +VUE_APP_BASE_TARGET = 'http://192.168.0.129:9999' # VUE_APP_BASE_TARGET = 'http://172.16.36.180:9999' # VUE_APP_BASE_TARGET = 'http://172.16.36.176:9998' diff --git a/src/api/train/index.js b/src/api/train/index.js index 8049bb6..cc74370 100644 --- a/src/api/train/index.js +++ b/src/api/train/index.js @@ -51,3 +51,14 @@ export function getClassList(query) { } // 报名 + +// 教师列表 +export function getTeacherList() { + return request({ + url: `/talent/portal/teachers`, + method: 'get', + headers: { + isToken: false + } + }) +} \ No newline at end of file diff --git a/src/page/homepage/traininstitute/train copy.vue b/src/page/homepage/traininstitute/train copy.vue deleted file mode 100644 index 3f18ab1..0000000 --- a/src/page/homepage/traininstitute/train copy.vue +++ /dev/null @@ -1,2467 +0,0 @@ - - - \ No newline at end of file diff --git a/src/page/homepage/traininstitute/train.vue b/src/page/homepage/traininstitute/train.vue index 923bab9..a301463 100644 --- a/src/page/homepage/traininstitute/train.vue +++ b/src/page/homepage/traininstitute/train.vue @@ -190,31 +190,36 @@
- +
{{ activeZj.name }}
-
{{ activeZj.zw }}
+
{{ activeZj.teaching }}
-
职称:{{ activeZj.zc }}
+
职称:{{ activeZj.title }}
- {{ activeZj.content }} + {{ activeZj.profile }}
-
+
- +
{{ it.name }}
-
{{ it.zw }}
+
{{ it.teaching }}
@@ -439,7 +444,7 @@
- \ No newline at end of file diff --git a/src/page/homepage/traininstitute/trainold.vue b/src/page/homepage/traininstitute/trainold.vue deleted file mode 100644 index 0b300b5..0000000 --- a/src/page/homepage/traininstitute/trainold.vue +++ /dev/null @@ -1,180 +0,0 @@ - - - \ No newline at end of file diff --git a/src/page/homepage/traininstitute/trainold1.vue b/src/page/homepage/traininstitute/trainold1.vue deleted file mode 100644 index 683f1f6..0000000 --- a/src/page/homepage/traininstitute/trainold1.vue +++ /dev/null @@ -1,1662 +0,0 @@ - - - \ No newline at end of file