|
@@ -69,9 +69,9 @@
|
|
|
</el-col>
|
|
|
<!-- :offset="showName ? 4 : 0" -->
|
|
|
<el-col :span="10" >
|
|
|
- <el-form-item label="声部" style="margin-right: 0;" >
|
|
|
+ <el-form-item label="声部" style="margin-right: 0;" prop="sound" :rules="[{ required: true, message: '请选择声部',trigger: 'blur' }]">
|
|
|
<el-select
|
|
|
- v-model="sound"
|
|
|
+ v-model="form.sound"
|
|
|
style="width: 100%"
|
|
|
clearable
|
|
|
multiple
|
|
@@ -132,8 +132,8 @@ export default {
|
|
|
data() {
|
|
|
return uniqBy([...this.studentList, ...this.activeListStudent], 'userId')
|
|
|
.filter(item => {
|
|
|
- if (this.sound.length) {
|
|
|
- return this.sound.includes(item.actualSubjectId) || this.seleched.includes(item.userId)
|
|
|
+ if (this.form.sound.length) {
|
|
|
+ return this.form.sound.includes(item.actualSubjectId) || this.seleched.includes(item.userId)
|
|
|
}
|
|
|
return true
|
|
|
})
|