修改手机端返回跳到pc的首页

This commit is contained in:
范强强
2023-06-25 15:33:58 +08:00
parent 46ef4d4580
commit ff7f02984a
2 changed files with 6 additions and 7 deletions
+1 -1
View File
@@ -198,7 +198,7 @@
this.$router.push({ this.$router.push({
path: '/phoneToDoCenter', path: '/phoneToDoCenter',
query: { query: {
flowType: num searchFlowType: num
} }
}) })
}, },
+5 -6
View File
@@ -278,8 +278,8 @@
}, },
mounted() { mounted() {
document.title = 'NIO GRP' document.title = 'NIO GRP'
if (this.$route.query.flowType) { if (this.$route.query.searchFlowType) {
let flowType = this.$route.query.flowType let flowType = this.$route.query.searchFlowType
flowType = flowType.split(',') flowType = flowType.split(',')
this.form.flowType = [] this.form.flowType = []
this.form.flowType = this.form.flowType.concat(flowType) this.form.flowType = this.form.flowType.concat(flowType)
@@ -289,7 +289,6 @@
} }
if (this.$route.query.activeTab) { if (this.$route.query.activeTab) {
this.activeTab = this.$route.query.activeTab this.activeTab = this.$route.query.activeTab
this.form.flowType = this.$route.query.searchFlowType
this.form.checked = JSON.parse(this.$route.query.checked) this.form.checked = JSON.parse(this.$route.query.checked)
this.form.selectModel = this.$route.query.selectModel this.form.selectModel = this.$route.query.selectModel
} }
@@ -485,7 +484,7 @@
activeTab: this.activeTab, activeTab: this.activeTab,
checked: this.form.checked, checked: this.form.checked,
selectModel: this.form.selectModel, selectModel: this.form.selectModel,
searchFlowType: this.form.flowType searchFlowType: this.form.flowType.join(','),
} }
this.$router.push({ this.$router.push({
path: '/phoneProcessManagement', path: '/phoneProcessManagement',
@@ -509,7 +508,7 @@
goRouter: '/phoneToDoCenter', goRouter: '/phoneToDoCenter',
searchValue: this.phoneQueryValue, searchValue: this.phoneQueryValue,
activeTab: this.activeTab, activeTab: this.activeTab,
searchFlowType: this.form.flowType, searchFlowType: this.form.flowType.join(','),
checked: this.form.checked, checked: this.form.checked,
selectModel: this.form.selectModel selectModel: this.form.selectModel
} }
@@ -531,7 +530,7 @@
goRouter: '/phoneToDoCenter', goRouter: '/phoneToDoCenter',
searchValue: this.phoneQueryValue, searchValue: this.phoneQueryValue,
activeTab: this.activeTab, activeTab: this.activeTab,
searchFlowType: this.form.flowType, searchFlowType: this.form.flowType.join(','),
checked: this.form.checked, checked: this.form.checked,
selectModel: this.form.selectModel selectModel: this.form.selectModel
} }