diff --git a/src/api/modules/huizhou.ts b/src/api/modules/huizhou.ts index dc7d91e..b00a5e2 100644 --- a/src/api/modules/huizhou.ts +++ b/src/api/modules/huizhou.ts @@ -135,7 +135,7 @@ export const payGovermentContactEdit = (params: any) => { }; // 投资支付合同设置结算定案日期 export const payGovermentContactSet = (params: any) => { - return http.post(BASEURL + `/gov/engineering/edit`, params); + return http.post(BASEURL + `/gov/engineering/editSettlementTime`, params); }; // 投资支付列表 export const payGovermentAllList = (params: any) => { diff --git a/src/routers/modules/dynamicRouter.ts b/src/routers/modules/dynamicRouter.ts index f6cd44e..a012afe 100644 --- a/src/routers/modules/dynamicRouter.ts +++ b/src/routers/modules/dynamicRouter.ts @@ -36,6 +36,7 @@ export const initDynamicRouter = async (params?: any) => { } // 3.添加动态路由 + let toNum = 0; // 记录跳转数,只想跳转一次 authStore.flatMenuListGet.forEach((item: any, index: any) => { item.children && delete item.children; if (item.component && isType(item.component) == "string") { @@ -57,9 +58,11 @@ export const initDynamicRouter = async (params?: any) => { // console.log("exec"); if (globalStore.path == item.path) { router.push(globalStore.path); + ++toNum; } else { - if (item.path != "/") { + if (item.path != "/" && toNum < 1) { router.push(item.path); + ++toNum; } } // globalStore.setPath(null); diff --git a/src/views/goverment/huizhou/largeScreen/largeScreenOne/components/BDmaps.vue b/src/views/goverment/huizhou/largeScreen/largeScreenOne/components/BDmaps.vue index b1ed977..65274c3 100644 --- a/src/views/goverment/huizhou/largeScreen/largeScreenOne/components/BDmaps.vue +++ b/src/views/goverment/huizhou/largeScreen/largeScreenOne/components/BDmaps.vue @@ -2,7 +2,7 @@
x
x