|
|
@@ -483,6 +483,7 @@ import { ImagePreview } from 'vant';
|
|
|
import clewentDetails from './clewentDetails';
|
|
|
import radioGroup from './complaintDetail/radioGroup';
|
|
|
import { clewMixins } from '@/mixin/clew.js';
|
|
|
+import store from '@/store';
|
|
|
export default {
|
|
|
name: 'MyHistoricalWeekly',
|
|
|
mixins: [clewMixins],
|
|
|
@@ -702,7 +703,8 @@ export default {
|
|
|
if (this.$route.query.token != undefined) {
|
|
|
window.location.replace(window.location.origin + '/mobile/clew');
|
|
|
} else {
|
|
|
- this.$router.go(-1);
|
|
|
+ store.dispatch('setRefreshClewPage', true);
|
|
|
+ this.$router.replace({ path: '/clew' });
|
|
|
}
|
|
|
return done(true);
|
|
|
} else {
|
|
|
@@ -911,7 +913,8 @@ export default {
|
|
|
if (this.$route.query.token != undefined) {
|
|
|
window.location.replace(window.location.origin + '/mobile/clew');
|
|
|
} else {
|
|
|
- this.$router.go(-1);
|
|
|
+ store.dispatch('setRefreshClewPage', true);
|
|
|
+ this.$router.replace({ path: '/clew' });
|
|
|
}
|
|
|
} else {
|
|
|
this.$toast(res.msg);
|
|
|
@@ -1004,7 +1007,8 @@ export default {
|
|
|
if (this.$route.query.token != undefined) {
|
|
|
window.location.replace(window.location.origin + '/mobile/clew');
|
|
|
} else {
|
|
|
- this.$router.go(-1);
|
|
|
+ store.dispatch('setRefreshClewPage', true);
|
|
|
+ this.$router.replace({ path: '/clew' });
|
|
|
}
|
|
|
} else {
|
|
|
this.$toast(res.msg);
|