CRM_26-04-22#story#8495,潜在供应商H5页面提交信息,信息审核,提交补充信息与退回理由的优化与修复(跳转详情修改--修改跳转)

This commit is contained in:
2026-05-15 13:47:35 +08:00
parent 2970dca3e0
commit 0b4127a0e2

View File

@@ -203,13 +203,14 @@
}, },
async mounted() { async mounted() {
const lastRoute = localStorage.getItem('lastRoute'); const lastRoute = localStorage.getItem('lastRoute');
if (lastRoute) { this.id = this.$route.query.id || urlParams.get('id');
if (lastRoute && !this.id) {
const { name, query } = JSON.parse(lastRoute); const { name, query } = JSON.parse(lastRoute);
this.$router.replace({ name, query }); this.$router.replace({ name, query });
return; return;
} }
const urlParams = new URLSearchParams(window.location.search); const urlParams = new URLSearchParams(window.location.search);
this.id = this.$route.query.id || urlParams.get('id');
await this.getAreaTree(); await this.getAreaTree();
if(this.id) { if(this.id) {
await this.getInfoHandler(); await this.getInfoHandler();