浏览代码

1109 16:44

11
mo 5 年之前
父节点
当前提交
f67342fe0f

文件差异内容过多而无法显示
+ 0 - 0
dist/index.html


+ 1 - 1
dist/static/css/chunk-6424a1d2.5c886128.css → dist/static/css/chunk-d3512760.fe9253ef.css

@@ -1 +1 @@
-.m-core[data-v-5c04fefb]{margin-top:30px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:distribute;justify-content:space-around}.m-core .el-input[data-v-5c04fefb]{width:180px}.m-core h4[data-v-5c04fefb]{font-size:16px;background-color:#ccc;color:#fff;text-align:center;width:100%;height:40px;line-height:40px;margin-bottom:20px}.m-core .center[data-v-5c04fefb],.m-core .right[data-v-5c04fefb],.m-core .vipLeft[data-v-5c04fefb]{width:400px}.planList[data-v-5c04fefb]{padding:0 25px}.planList .planTop[data-v-5c04fefb]{height:40px;line-height:40px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;border-bottom:1px solid #ccc;margin-top:20px}.planList .planTop>p[data-v-5c04fefb]{font-size:14px}.planList .planCore .row[data-v-5c04fefb]{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-wrap:nowrap;flex-wrap:nowrap;height:40px;line-height:40px;font-size:14px;text-align:center}.planList .planCore .row div[data-v-5c04fefb]{width:87px}.okBtn[data-v-5c04fefb]{width:120px;height:40px;line-height:40px;text-align:center;color:#fff;border-radius:4px;margin-right:20px;cursor:pointer;background-color:#f97215;float:right}
+.m-core[data-v-3fe36664]{margin-top:30px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:distribute;justify-content:space-around}.m-core .el-input[data-v-3fe36664]{width:180px}.m-core h4[data-v-3fe36664]{font-size:16px;background-color:#ccc;color:#fff;text-align:center;width:100%;height:40px;line-height:40px;margin-bottom:20px}.m-core .center[data-v-3fe36664],.m-core .right[data-v-3fe36664],.m-core .vipLeft[data-v-3fe36664]{width:400px}.planList[data-v-3fe36664]{padding:0 25px}.planList .planTop[data-v-3fe36664]{height:40px;line-height:40px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;border-bottom:1px solid #ccc;margin-top:20px}.planList .planTop>p[data-v-3fe36664]{font-size:14px}.planList .planCore .row[data-v-3fe36664]{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-wrap:nowrap;flex-wrap:nowrap;height:40px;line-height:40px;font-size:14px;text-align:center}.planList .planCore .row div[data-v-3fe36664]{width:87px}.okBtn[data-v-3fe36664]{width:120px;height:40px;line-height:40px;text-align:center;color:#fff;border-radius:4px;margin-right:20px;cursor:pointer;background-color:#f97215;float:right}

文件差异内容过多而无法显示
+ 0 - 0
dist/static/js/app.ce1d493f.js


文件差异内容过多而无法显示
+ 0 - 0
dist/static/js/chunk-09753c97.28e1153d.js


文件差异内容过多而无法显示
+ 0 - 0
dist/static/js/chunk-09753c97.9ad2e1cf.js


文件差异内容过多而无法显示
+ 0 - 0
dist/static/js/chunk-1a6975e6.6e94c27c.js


文件差异内容过多而无法显示
+ 0 - 0
dist/static/js/chunk-1a6975e6.cee07487.js


文件差异内容过多而无法显示
+ 0 - 0
dist/static/js/chunk-40155edf.356b4434.js


文件差异内容过多而无法显示
+ 0 - 0
dist/static/js/chunk-40155edf.be79cd0f.js


文件差异内容过多而无法显示
+ 0 - 0
dist/static/js/chunk-6424a1d2.f0a41ca9.js


文件差异内容过多而无法显示
+ 0 - 0
dist/static/js/chunk-91467b58.5099b67f.js


文件差异内容过多而无法显示
+ 0 - 0
dist/static/js/chunk-d3512760.fcfaf919.js


+ 7 - 0
src/api/teacherManager.js

@@ -155,4 +155,11 @@ export function teacherUpdate (data) {
   })
 }
 // 根据科目id获取相应的老师
+export function getTeacherBySubject (data) {
+  return request({
+    url: api + '/teacher/findOrganTeacherBySubject',
+    method: 'get',
+    params: data
+  })
+}
 

+ 7 - 6
src/views/buildVip/index.vue

@@ -351,7 +351,7 @@
 <script>
 import { getTeacher, getSubject } from '@/api/buildTeam'
 import { vipGroupCategory, vipGroupActivityFind, getVipGroupCostCount, createVip } from '@/api/vipSeting'
-import { getTeachSchool } from '@/api/teacherManager'
+import { getTeachSchool, getTeacherBySubject } from '@/api/teacherManager'
 export default {
   data () {
     return {
@@ -473,11 +473,7 @@ export default {
 
     })
     // 获取所有老师的接口  根据声部id获取老师
-    getTeacher().then(res => {
-      if (res.code == 200) {
-        this.teacherList = res.data;
-      }
-    })
+
     // 获取课程类型的接口
     vipGroupCategory({ organId: this.$store.getters.organ }).then(res => {
       if (res.code == 200) {
@@ -492,6 +488,11 @@ export default {
       this.leftForm.teacher = ''
       this.leftForm.section = ''
       // 根据科目id获取相应的老师
+      getTeacherBySubject({ subjecId: val }).then(res => {
+        if (res.code == 200) {
+          this.teacherList = res.data;
+        }
+      })
     },
     // 选择课程类型
     changeType (val) {

部分文件因为文件数量过多而无法显示