|
@@ -571,6 +571,7 @@ export default {
|
|
|
teacherUpdate(this.topForm).then((res) => {
|
|
|
if (res.code == 200) {
|
|
|
// this.$emit('onTeacher')
|
|
|
+ this.$store.dispatch('delVisitedViews', this.$route)
|
|
|
this.$router.push({
|
|
|
path: "/business/teacherList",
|
|
|
query: { rules: this.Frules, search: this.Fsearch },
|
|
@@ -588,6 +589,7 @@ export default {
|
|
|
if (permission("/teacherAdd/salarySeting")) {
|
|
|
this.$emit("onTeacher", res.data);
|
|
|
} else {
|
|
|
+ this.$store.dispatch('delVisitedViews', this.$route)
|
|
|
this.$router.push({
|
|
|
path: "/business/teacherList",
|
|
|
query: { rules: this.Frules, search: this.Fsearch },
|
|
@@ -647,6 +649,7 @@ export default {
|
|
|
this.$refs[formName].resetFields();
|
|
|
},
|
|
|
onCancel() {
|
|
|
+ this.$store.dispatch('delVisitedViews', this.$route)
|
|
|
this.$router.push({
|
|
|
path: "/business/teacherList",
|
|
|
query: { rules: this.Frules, search: this.Fsearch },
|