|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
|
<div id="main" class="main">
|
|
|
<header-bar></header-bar>
|
|
|
- <img src="/file/2023-02/08/17fa5541-541e-4ac2-a3d5-ff0eb88652f7.jpg " alt="">
|
|
|
+ <notice :data="[{title:'123',content:'434'}]" v-model="open"></notice>
|
|
|
<!-- <el-table
|
|
|
:data="tableData"
|
|
|
style="width: 100%;margin;top:200px"
|
|
@@ -93,6 +93,7 @@
|
|
|
import leftMneu from '@/components/left-menu'
|
|
|
import { registerMicroApps, start } from 'qiankun'
|
|
|
import headerBar from '@/components/header-bar'
|
|
|
+import notice from '@/components/notice'
|
|
|
import { getAll } from '@/libs/micros'
|
|
|
import router from '../router'
|
|
|
import store from '../store'
|
|
@@ -102,15 +103,15 @@ state.router = router
|
|
|
const isTest = window.location.host == '36.134.91.96:10003'
|
|
|
const isServe = process.env.NODE_ENV === "development"
|
|
|
registerMicroApps([
|
|
|
- {
|
|
|
- name: 'app-vue-hash',
|
|
|
- entry: 'http://localhost:8081',
|
|
|
- container: '#appContainer',
|
|
|
- activeRule: '/main/app-vue-hash',
|
|
|
- props:{
|
|
|
+ // {
|
|
|
+ // name: 'app-vue-hash',
|
|
|
+ // entry: 'http://localhost:8081',
|
|
|
+ // container: '#appContainer',
|
|
|
+ // activeRule: '/main/app-vue-hash',
|
|
|
+ // props:{
|
|
|
|
|
|
- },
|
|
|
- },
|
|
|
+ // },
|
|
|
+ // },
|
|
|
{
|
|
|
name: 'fjhxCloudVue',
|
|
|
entry: isServe ?
|
|
@@ -122,36 +123,38 @@ registerMicroApps([
|
|
|
data:state,
|
|
|
},
|
|
|
},
|
|
|
- {
|
|
|
- name: 'iotPlatformRoom',
|
|
|
- entry: 'http://localhost:1888',
|
|
|
- container: '#appContainer',
|
|
|
- activeRule: '/main/iotPlatformRoom',
|
|
|
- props:{
|
|
|
- data:state,
|
|
|
- },
|
|
|
- },
|
|
|
- {
|
|
|
- name: 'canvas',
|
|
|
- entry: 'http://localhost:8080',
|
|
|
- container: '#appContainer',
|
|
|
- activeRule: '/main/canvas',
|
|
|
- props:{
|
|
|
- data:getAll()
|
|
|
- },
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // name: 'iotPlatformRoom',
|
|
|
+ // entry: 'http://localhost:1888',
|
|
|
+ // container: '#appContainer',
|
|
|
+ // activeRule: '/main/iotPlatformRoom',
|
|
|
+ // props:{
|
|
|
+ // data:state,
|
|
|
+ // },
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // name: 'canvas',
|
|
|
+ // entry: 'http://localhost:8080',
|
|
|
+ // container: '#appContainer',
|
|
|
+ // activeRule: '/main/canvas',
|
|
|
+ // props:{
|
|
|
+ // data:getAll()
|
|
|
+ // },
|
|
|
+ // },
|
|
|
]);
|
|
|
start();
|
|
|
export default {
|
|
|
components:{
|
|
|
leftMneu,
|
|
|
- headerBar
|
|
|
+ headerBar,
|
|
|
+ notice
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
input1: null,
|
|
|
tableData:[],
|
|
|
bankList:[],
|
|
|
+ open:true,
|
|
|
}
|
|
|
},
|
|
|
computed: {
|