fix: 跳转功能修改
This commit is contained in:
parent
cf24fa108e
commit
aaacfcb54e
@ -12,7 +12,7 @@ import router from "@/routers";
|
|||||||
|
|
||||||
const config = {
|
const config = {
|
||||||
// 默认地址请求地址,可在 .env.*** 文件中修改
|
// 默认地址请求地址,可在 .env.*** 文件中修改
|
||||||
baseURL: import.meta.env.VITE_API_URL as string,
|
// baseURL: import.meta.env.VITE_API_URL as string,
|
||||||
// baseURL: import.meta.env.NODE_ENV=='development' ?'/api' : window.http,
|
// baseURL: import.meta.env.NODE_ENV=='development' ?'/api' : window.http,
|
||||||
// 设置超时时间(10s)
|
// 设置超时时间(10s)
|
||||||
timeout: ResultEnum.TIMEOUT as number,
|
timeout: ResultEnum.TIMEOUT as number,
|
||||||
|
|||||||
@ -1,10 +1,10 @@
|
|||||||
<!-- 经典布局 -->
|
<!-- 经典布局 -->
|
||||||
<template>
|
<template>
|
||||||
<el-container class="layout">
|
<el-container class="layout">
|
||||||
<!-- <el-container class="classic-main">
|
<el-container class="classic-main">
|
||||||
<Main />
|
<Main />
|
||||||
</el-container> -->
|
</el-container>
|
||||||
<el-header>
|
<!-- <el-header>
|
||||||
<div class="header-lf">
|
<div class="header-lf">
|
||||||
<div @click="goHome" class="logo flx-center">
|
<div @click="goHome" class="logo flx-center">
|
||||||
<img src="@/assets/images/login/china.png" style="margin: 0 15px" alt="logo" />
|
<img src="@/assets/images/login/china.png" style="margin: 0 15px" alt="logo" />
|
||||||
@ -15,10 +15,10 @@
|
|||||||
<ToolBarLeft />
|
<ToolBarLeft />
|
||||||
</div>
|
</div>
|
||||||
<ToolBarRight />
|
<ToolBarRight />
|
||||||
</el-header>
|
</el-header> -->
|
||||||
<el-container class="classic-content">
|
<!-- <el-container class="classic-content">
|
||||||
<el-aside>
|
<el-aside>
|
||||||
<!-- <div class="menu" :style="{ width: isCollapse ? '65px' : '210px' }"> 根据屏幕自动收缩 -->
|
<div class="menu" :style="{ width: isCollapse ? '65px' : '210px' }"> 根据屏幕自动收缩
|
||||||
<div class="menu">
|
<div class="menu">
|
||||||
<el-scrollbar>
|
<el-scrollbar>
|
||||||
<el-menu
|
<el-menu
|
||||||
@ -39,7 +39,7 @@
|
|||||||
<el-container class="classic-main">
|
<el-container class="classic-main">
|
||||||
<Main />
|
<Main />
|
||||||
</el-container>
|
</el-container>
|
||||||
</el-container>
|
</el-container> -->
|
||||||
<!-- <el-dialog class="overview" :show-close="false" v-model="visible1" width="50%" @close="visible1 = false">
|
<!-- <el-dialog class="overview" :show-close="false" v-model="visible1" width="50%" @close="visible1 = false">
|
||||||
<template #title>
|
<template #title>
|
||||||
<div class="title-detail">
|
<div class="title-detail">
|
||||||
|
|||||||
@ -97,6 +97,10 @@ import { jxj_User } from "@/api/types";
|
|||||||
import { useHandleData } from "@/hooks/useHandleData";
|
import { useHandleData } from "@/hooks/useHandleData";
|
||||||
import { getDicList } from "@/api/modules/jxjview";
|
import { getDicList } from "@/api/modules/jxjview";
|
||||||
import divDialogComponent from "@/components/divDialogComponent/index.vue";
|
import divDialogComponent from "@/components/divDialogComponent/index.vue";
|
||||||
|
import { sendIframeMessage } from "@/utils/util";
|
||||||
|
import { useRoute, useRouter } from "vue-router";
|
||||||
|
const route = useRoute();
|
||||||
|
const router = useRouter();
|
||||||
const newTitle = ref("新增");
|
const newTitle = ref("新增");
|
||||||
const scoreCount = ref(0);
|
const scoreCount = ref(0);
|
||||||
const activeMenuTab = ref(0);
|
const activeMenuTab = ref(0);
|
||||||
@ -380,6 +384,7 @@ onMounted(async () => {
|
|||||||
companyType.value = dicMainData.value[0].dictLabel;
|
companyType.value = dicMainData.value[0].dictLabel;
|
||||||
proTable.value.getTableList();
|
proTable.value.getTableList();
|
||||||
await getSumScore();
|
await getSumScore();
|
||||||
|
await sendIframeMessage({ obj: { path: route.path } }, 2, undefined);
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user