fix: BUG修改
This commit is contained in:
parent
c9432799dd
commit
5b814bc9df
@ -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) => {
|
||||
|
||||
@ -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);
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
<div class="mapBox" id="mapBox" ref="AMapRef"></div>
|
||||
<div class="infowindows" ref="infoWindowPage" v-show="infoShow">
|
||||
<div class="title flx-justify-between">
|
||||
<span>{{ infoName }}</span>
|
||||
<span :title="infoName">{{ infoName }}</span>
|
||||
<p @click="onClose">x</p>
|
||||
</div>
|
||||
<div class="info-top">
|
||||
@ -206,9 +206,14 @@ onMounted(async () => {
|
||||
padding-bottom: 15px;
|
||||
border: 1px solid white;
|
||||
.title {
|
||||
height: 70px;
|
||||
// height: 70px;
|
||||
font-family: "siyuan_Bold";
|
||||
span {
|
||||
display: inline-block;
|
||||
width: 95%;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
font-size: 28px;
|
||||
color: white;
|
||||
}
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
<div class="mapBox" id="mapBox" ref="AMapRef"></div>
|
||||
<div class="infowindows" ref="infoWindowPage" v-show="infoShow">
|
||||
<div class="title flx-justify-between">
|
||||
<span>{{ infoName }}</span>
|
||||
<span :title="infoName">{{ infoName }}</span>
|
||||
<p @click="onClose">x</p>
|
||||
</div>
|
||||
<div class="info-top">
|
||||
@ -201,9 +201,14 @@ onMounted(async () => {
|
||||
padding-bottom: 15px;
|
||||
border: 1px solid white;
|
||||
.title {
|
||||
height: 70px;
|
||||
// height: 70px;
|
||||
font-family: "siyuan_Bold";
|
||||
span {
|
||||
display: inline-block;
|
||||
width: 95%;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
font-size: 28px;
|
||||
color: white;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user