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) => {
|
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) => {
|
export const payGovermentAllList = (params: any) => {
|
||||||
|
|||||||
@ -36,6 +36,7 @@ export const initDynamicRouter = async (params?: any) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 3.添加动态路由
|
// 3.添加动态路由
|
||||||
|
let toNum = 0; // 记录跳转数,只想跳转一次
|
||||||
authStore.flatMenuListGet.forEach((item: any, index: any) => {
|
authStore.flatMenuListGet.forEach((item: any, index: any) => {
|
||||||
item.children && delete item.children;
|
item.children && delete item.children;
|
||||||
if (item.component && isType(item.component) == "string") {
|
if (item.component && isType(item.component) == "string") {
|
||||||
@ -57,9 +58,11 @@ export const initDynamicRouter = async (params?: any) => {
|
|||||||
// console.log("exec");
|
// console.log("exec");
|
||||||
if (globalStore.path == item.path) {
|
if (globalStore.path == item.path) {
|
||||||
router.push(globalStore.path);
|
router.push(globalStore.path);
|
||||||
|
++toNum;
|
||||||
} else {
|
} else {
|
||||||
if (item.path != "/") {
|
if (item.path != "/" && toNum < 1) {
|
||||||
router.push(item.path);
|
router.push(item.path);
|
||||||
|
++toNum;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// globalStore.setPath(null);
|
// globalStore.setPath(null);
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
<div class="mapBox" id="mapBox" ref="AMapRef"></div>
|
<div class="mapBox" id="mapBox" ref="AMapRef"></div>
|
||||||
<div class="infowindows" ref="infoWindowPage" v-show="infoShow">
|
<div class="infowindows" ref="infoWindowPage" v-show="infoShow">
|
||||||
<div class="title flx-justify-between">
|
<div class="title flx-justify-between">
|
||||||
<span>{{ infoName }}</span>
|
<span :title="infoName">{{ infoName }}</span>
|
||||||
<p @click="onClose">x</p>
|
<p @click="onClose">x</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="info-top">
|
<div class="info-top">
|
||||||
@ -206,9 +206,14 @@ onMounted(async () => {
|
|||||||
padding-bottom: 15px;
|
padding-bottom: 15px;
|
||||||
border: 1px solid white;
|
border: 1px solid white;
|
||||||
.title {
|
.title {
|
||||||
height: 70px;
|
// height: 70px;
|
||||||
font-family: "siyuan_Bold";
|
font-family: "siyuan_Bold";
|
||||||
span {
|
span {
|
||||||
|
display: inline-block;
|
||||||
|
width: 95%;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
white-space: nowrap;
|
||||||
font-size: 28px;
|
font-size: 28px;
|
||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
<div class="mapBox" id="mapBox" ref="AMapRef"></div>
|
<div class="mapBox" id="mapBox" ref="AMapRef"></div>
|
||||||
<div class="infowindows" ref="infoWindowPage" v-show="infoShow">
|
<div class="infowindows" ref="infoWindowPage" v-show="infoShow">
|
||||||
<div class="title flx-justify-between">
|
<div class="title flx-justify-between">
|
||||||
<span>{{ infoName }}</span>
|
<span :title="infoName">{{ infoName }}</span>
|
||||||
<p @click="onClose">x</p>
|
<p @click="onClose">x</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="info-top">
|
<div class="info-top">
|
||||||
@ -201,9 +201,14 @@ onMounted(async () => {
|
|||||||
padding-bottom: 15px;
|
padding-bottom: 15px;
|
||||||
border: 1px solid white;
|
border: 1px solid white;
|
||||||
.title {
|
.title {
|
||||||
height: 70px;
|
// height: 70px;
|
||||||
font-family: "siyuan_Bold";
|
font-family: "siyuan_Bold";
|
||||||
span {
|
span {
|
||||||
|
display: inline-block;
|
||||||
|
width: 95%;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
white-space: nowrap;
|
||||||
font-size: 28px;
|
font-size: 28px;
|
||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user