|
|
@@ -263,9 +263,8 @@ export default {
|
|
|
message: '拜访中任务结束成功!',
|
|
|
})
|
|
|
.then(() => {
|
|
|
- // this.$router.replace({});
|
|
|
+ store.dispatch('setDeviceOutsidePage', true);
|
|
|
this.onClickLeft();
|
|
|
- // window.location.replace(window.location.origin + '/mobile/outsidelist/index');
|
|
|
});
|
|
|
} else {
|
|
|
this.$dialog.alert({
|
|
|
@@ -565,7 +564,6 @@ export default {
|
|
|
if (this.$route.query.urltype == 1) {
|
|
|
window.location.replace(window.location.origin + '/mobile/home');
|
|
|
} else {
|
|
|
- store.dispatch('setDeviceOutsidePage', true);
|
|
|
// 返回上一页不会刷新页面
|
|
|
this.$router.go(-1);
|
|
|
}
|
|
|
@@ -634,6 +632,7 @@ export default {
|
|
|
loading1.clear();
|
|
|
if (res.code == 200) {
|
|
|
this.editDwellTimes();
|
|
|
+ store.dispatch('setDeviceOutsidePage', true);
|
|
|
if (this.$route.query.linkType == 6) {
|
|
|
window.location.replace(window.location.origin + '/mobile/topStore?info=y');
|
|
|
} else {
|