|
@@ -73,7 +73,7 @@
|
|
|
{{$t('schoolBaseInfo.tab2')}}
|
|
|
</span>
|
|
|
<!-- 编辑教室 -->
|
|
|
- <Button v-if="$access.can('admin.*|classroom-upd')" class="save-btn" :loading="isSaveLoading" :disabled="!updated" icon="ios-albums-outline" @click="saveClassroom()" v-show="currentTabIndex == 0">
|
|
|
+ <Button class="save-btn" :loading="isSaveLoading" :disabled="!updated" icon="ios-albums-outline" @click="saveClassroom()" v-show="currentTabIndex == 0">
|
|
|
{{$t('schoolBaseInfo.saveInfo')}}
|
|
|
</Button>
|
|
|
<!-- 添加学生 -->
|
|
@@ -294,7 +294,7 @@ export default {
|
|
|
{ required: true, message: this.$t('schoolBaseInfo.typeWarning'), trigger: 'change' }
|
|
|
],
|
|
|
year: [
|
|
|
- { required: true, type:Number, message: this.$t('schoolBaseInfo.gradeWarning'), trigger: 'change' }
|
|
|
+ { required: true, type:'number', message: this.$t('schoolBaseInfo.gradeWarning'), trigger: 'change' }
|
|
|
]
|
|
|
}
|
|
|
}
|
|
@@ -625,7 +625,7 @@ export default {
|
|
|
this.curClassIndex = 0
|
|
|
this.filterYear = 'all'
|
|
|
if (this.filterPeriod) {
|
|
|
- this.classListShow = this.classList.filter(item => item.periodId == this.filterPeriod || !item.periodId)
|
|
|
+ this.classListShow = this.classList.filter(item => item.periodId == this.filterPeriod)
|
|
|
} else {
|
|
|
this.classListShow = [...this.classList]
|
|
|
}
|