fix
This commit is contained in:
parent
ebcce92c32
commit
f107247807
@ -1,6 +1,6 @@
|
|||||||
import actions from './actions';
|
import actions from './actions';
|
||||||
|
|
||||||
const { VITE_APP_SUB_OS, VITE_APP_SUB_OA, VITE_APP_SUB_ADMIN, VITE_APP_SUB_GAS, VITE_APP_SUB_GSS } = import.meta.env;
|
const { VITE_APP_SUB_OS, VITE_APP_SUB_OA, VITE_APP_SUB_APP, VITE_APP_SUB_GAA, VITE_APP_SUB_GAS, VITE_APP_SUB_GSS } = import.meta.env;
|
||||||
|
|
||||||
export const leftApps = [
|
export const leftApps = [
|
||||||
{
|
{
|
||||||
@ -19,14 +19,14 @@ export const leftApps = [
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'sub-app',
|
name: 'sub-app',
|
||||||
entry: VITE_APP_SUB_ADMIN,
|
entry: VITE_APP_SUB_APP,
|
||||||
activeRule: '/sub-app',
|
activeRule: '/sub-app',
|
||||||
title: 'APP',
|
title: 'APP',
|
||||||
icon: 'images/platform/icon-app.png',
|
icon: 'images/platform/icon-app.png',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'sub-government-screen-service',
|
name: 'sub-government-screen-service',
|
||||||
entry: VITE_APP_SUB_ADMIN,
|
entry: VITE_APP_SUB_GSS,
|
||||||
activeRule: '/sub-government-screen-service',
|
activeRule: '/sub-government-screen-service',
|
||||||
title: '数据大屏',
|
title: '数据大屏',
|
||||||
icon: 'images/platform/icon-screen.png',
|
icon: 'images/platform/icon-screen.png',
|
||||||
@ -43,14 +43,14 @@ export const rightApps = [
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'sub-government-admin',
|
name: 'sub-government-admin',
|
||||||
entry: VITE_APP_SUB_ADMIN,
|
entry: VITE_APP_SUB_GAA,
|
||||||
activeRule: '/sub-government-admin',
|
activeRule: '/sub-government-affairs-service',
|
||||||
title: '管理后台',
|
title: '管理后台',
|
||||||
icon: 'images/platform/icon-admin.png',
|
icon: 'images/platform/icon-admin.png',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'sub-app',
|
name: 'sub-app',
|
||||||
entry: VITE_APP_SUB_ADMIN,
|
entry: VITE_APP_SUB_APP,
|
||||||
activeRule: '/sub-app',
|
activeRule: '/sub-app',
|
||||||
title: 'APP',
|
title: 'APP',
|
||||||
icon: 'images/platform/icon-app.png',
|
icon: 'images/platform/icon-app.png',
|
||||||
@ -65,20 +65,6 @@ export const rightApps = [
|
|||||||
];
|
];
|
||||||
|
|
||||||
export const defaultApps = [
|
export const defaultApps = [
|
||||||
{
|
|
||||||
name: 'sub-government-affairs-service',
|
|
||||||
entry: VITE_APP_SUB_GAS,
|
|
||||||
activeRule: '/sub-government-affairs-service',
|
|
||||||
title: '政务服务',
|
|
||||||
icon: 'images/platform/icon-home.png',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'sub-government-screen-service',
|
|
||||||
entry: VITE_APP_SUB_GSS,
|
|
||||||
activeRule: '/sub-government-screen-service',
|
|
||||||
title: '数据大屏',
|
|
||||||
icon: 'images/platform/icon-screen.png',
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
name: 'sub-operation-service',
|
name: 'sub-operation-service',
|
||||||
entry: VITE_APP_SUB_OS,
|
entry: VITE_APP_SUB_OS,
|
||||||
@ -93,9 +79,22 @@ export const defaultApps = [
|
|||||||
title: '运营管理后台',
|
title: '运营管理后台',
|
||||||
icon: 'images/platform/icon-admin.png',
|
icon: 'images/platform/icon-admin.png',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: 'sub-government-affairs-service',
|
||||||
|
entry: VITE_APP_SUB_GAS,
|
||||||
|
activeRule: '/sub-government-affairs-service',
|
||||||
|
title: '政务服务',
|
||||||
|
icon: 'images/platform/icon-home.png',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'sub-government-screen-service',
|
||||||
|
entry: VITE_APP_SUB_GSS,
|
||||||
|
activeRule: '/sub-government-screen-service',
|
||||||
|
title: '数据大屏',
|
||||||
|
icon: 'images/platform/icon-screen.png',
|
||||||
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
// export const microApps = [...defaultApps, ...leftApps, ...rightApps];
|
|
||||||
export const microApps = [...defaultApps];
|
export const microApps = [...defaultApps];
|
||||||
|
|
||||||
const apps = microApps.map((item) => {
|
const apps = microApps.map((item) => {
|
||||||
|
@ -31,8 +31,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
import { leftApps, rightApps, microApps } from '@/micro/app';
|
import { leftApps, rightApps } from '@/micro/app';
|
||||||
import actions from '@/micro/actions';
|
|
||||||
import { getAssetsFile } from '@/utils';
|
import { getAssetsFile } from '@/utils';
|
||||||
|
|
||||||
const gotoPage = (row) => {
|
const gotoPage = (row) => {
|
||||||
|
@ -3,14 +3,14 @@
|
|||||||
* @Author: zenghua.wang
|
* @Author: zenghua.wang
|
||||||
* @Date: 2023-06-20 14:29:45
|
* @Date: 2023-06-20 14:29:45
|
||||||
* @LastEditors: zenghua.wang
|
* @LastEditors: zenghua.wang
|
||||||
* @LastEditTime: 2025-03-20 14:04:09
|
* @LastEditTime: 2025-04-10 10:16:25
|
||||||
-->
|
-->
|
||||||
<template>
|
<template>
|
||||||
<el-breadcrumb class="layout-breadcrumb" separator="/">
|
<el-breadcrumb class="layout-breadcrumb" separator="/">
|
||||||
<transition-group name="breadcrumb">
|
<transition-group name="breadcrumb">
|
||||||
<el-breadcrumb-item v-if="matched[0].meta.title !== '政务服务'" key="home" :to="{ path: '/' }">
|
<el-breadcrumb-item v-if="matched[0].meta.title !== '运营服务'" key="home" :to="{ path: '/' }">
|
||||||
<div class="layout-breadcrumb-item">
|
<div class="layout-breadcrumb-item">
|
||||||
<span class="layout-breadcrumb-title">政务服务</span>
|
<span class="layout-breadcrumb-title">运营服务</span>
|
||||||
</div>
|
</div>
|
||||||
</el-breadcrumb-item>
|
</el-breadcrumb-item>
|
||||||
<el-breadcrumb-item v-for="(item, index) in matched" :key="item.name">
|
<el-breadcrumb-item v-for="(item, index) in matched" :key="item.name">
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
* @Author: zenghua.wang
|
* @Author: zenghua.wang
|
||||||
* @Date: 2023-06-20 11:48:41
|
* @Date: 2023-06-20 11:48:41
|
||||||
* @LastEditors: zenghua.wang
|
* @LastEditors: zenghua.wang
|
||||||
* @LastEditTime: 2025-04-10 09:36:34
|
* @LastEditTime: 2025-04-10 10:24:09
|
||||||
*/
|
*/
|
||||||
import { createRouter, createWebHistory } from 'vue-router';
|
import { createRouter, createWebHistory } from 'vue-router';
|
||||||
import Layout from '@/layouts/index.vue';
|
import Layout from '@/layouts/index.vue';
|
||||||
@ -28,7 +28,7 @@ export const constantRoutes = [
|
|||||||
name: 'layout',
|
name: 'layout',
|
||||||
component: Layout,
|
component: Layout,
|
||||||
redirect: '/sub-operation-admin/home',
|
redirect: '/sub-operation-admin/home',
|
||||||
meta: { title: '运营管理', icon: 'House' },
|
meta: { title: '运营服务', icon: 'House' },
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
path: '/sub-operation-admin/home',
|
path: '/sub-operation-admin/home',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user