|
@@ -34,7 +34,7 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
<script>
|
|
|
-import {getTeacherSettings,keepAllOfTeacher,publish,saveTeacherSettings} from '@/api/webApi/elective/dispatch'
|
|
|
+import {getTeacherSettings,keepAllOfTeacher,getPublish,saveTeacherSettings,lockPublishTeachers} from '@/api/webApi/elective/dispatch'
|
|
|
import ChooseMasterTeacher from './components/choose-master-teacher'
|
|
|
import classTreeMixin from '@/components/Cache/modules/mx-classTree-translate-mixin'
|
|
|
import ChooseClass from './components/choose-class'
|
|
@@ -104,7 +104,7 @@ export default {
|
|
|
},
|
|
|
methods: {
|
|
|
getPublish() {
|
|
|
- publish({
|
|
|
+ getPublish({
|
|
|
roundId:this.queryParams.roundId
|
|
|
}).then(res => {
|
|
|
console.log(res)
|
|
@@ -138,7 +138,7 @@ export default {
|
|
|
},
|
|
|
send() {
|
|
|
if(true) {
|
|
|
- this.$message.warning('还有班级未分配')
|
|
|
+ this.$message.warning('还有班级未分配新班主任和新班级号')
|
|
|
return
|
|
|
}
|
|
|
|
|
@@ -149,7 +149,7 @@ export default {
|
|
|
this.$message.warning('请先设定新班级')
|
|
|
return
|
|
|
}
|
|
|
- await this.$confirm(`是否取消?`)
|
|
|
+ await this.$confirm(`是否撤回你对该班级(原${row.className})的操作?`)
|
|
|
saveTeacherSettings({
|
|
|
roundId: this.queryParams.roundId,
|
|
|
classId: row.newClassId,
|