@@ -29,7 +29,7 @@ export default {
},
methods: {
onSubmit () {
- this.$router.replace({ name: 'schedule-list' })
+ this.$router.replace({ name: 'schedule-list', params: { refresh: true }})
}
@@ -319,7 +319,13 @@ export default {
this.getList()
activated () {
- this.getList()
+ if (this.$route.params.refresh) {
+ const status = this.currObj.params.status
+ if (status !== void 0) {
+ this.currObj.params.status = void 0
+ }
+ this.search()
search () {