|
@@ -2,7 +2,7 @@ import conditionObjectBase from '../condition-object-base.js'
|
|
|
import { getClass } from '@/api/webApi/elective/dispatch.js'
|
|
|
export default {
|
|
|
...conditionObjectBase,
|
|
|
- dependentKeys: ['localGroupId'],
|
|
|
+ dependentKeys: ['groupId'],
|
|
|
key: 'class',
|
|
|
title: '班级',
|
|
|
isDependencyReady(params) {
|
|
@@ -10,8 +10,10 @@ export default {
|
|
|
},
|
|
|
getList: function(param) {
|
|
|
return new Promise((resolve, reject) => {
|
|
|
- getClass().then(res => {
|
|
|
- console.log(res.data)
|
|
|
+ getClass({
|
|
|
+ groupId: 10
|
|
|
+ }).then(res => {
|
|
|
+ console.log('111111111111',res.data)
|
|
|
resolve(res.data)
|
|
|
})
|
|
|
.catch(e => reject(e))
|