|
@@ -306,16 +306,18 @@ export default {
|
|
|
this.$toast.clear()
|
|
|
if(result.code == 200) {
|
|
|
this.$toast('作业布置成功')
|
|
|
- let query = this.$route.query
|
|
|
- this.$router.replace({
|
|
|
- path: '/courseEvaluation',
|
|
|
- query: {
|
|
|
- id: query.id,
|
|
|
- reviewId: query.reviewId,
|
|
|
- isInside: query.isInside,
|
|
|
- work: 1
|
|
|
- }
|
|
|
- })
|
|
|
+ setTimeout(() => {
|
|
|
+ let query = this.$route.query
|
|
|
+ this.$router.replace({
|
|
|
+ path: '/courseEvaluation',
|
|
|
+ query: {
|
|
|
+ id: query.id,
|
|
|
+ reviewId: query.reviewId,
|
|
|
+ isInside: query.isInside,
|
|
|
+ work: 1
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }, 500);
|
|
|
} else {
|
|
|
this.$toast(result.msg)
|
|
|
}
|