@ -26,6 +26,7 @@
"dependencies": {
"@riophae/vue-treeselect": "0.4.0",
"axios": "0.28.1",
"cesium": "^1.95.0",
"clipboard": "2.0.8",
"core-js": "3.37.1",
"echarts": "5.4.0",
@ -47,6 +47,11 @@ export const constantRoutes = [
hidden: true
},
{
path: '/cesiumMap',
component: () => import('@/views/cesiumMap'),
path: '/register',
component: () => import('@/views/register'),
@ -2,6 +2,13 @@
<div class="app-container home">
<el-row :gutter="20">
<el-col :sm="24" :lg="12" style="padding-left: 20px">
<el-button
type="primary"
size="mini"
icon="el-icon-cloudy"
plain
@click="goCesium()"
>cesium地图跳转</el-button>
<h2>若依后台管理框架</h2>
<p>
一直想做一款后台管理系统,看了很多优秀的开源项目但是发现没有合适自己的。于是利用空闲休息时间开始自己写一套后台系统。如此有了若依管理系统,她可以用于所有的Web应用程序,如网站管理后台,网站会员中心,CMS,CRM,OA等等,当然,您也可以对她进行深度定制,以做出更强系统。所有前端后台代码封装过后十分精简易上手,出错概率低。同时支持移动客户端访问。系统会陆续更新一些实用功能。
@ -1100,6 +1107,9 @@ export default {
}
methods: {
goCesium(){
this.$router.push({ path: this.redirect || "/cesiumMap" }).catch(()=>{})
goTarget(href) {
window.open(href, "_blank")
@ -9,7 +9,7 @@ const CompressionPlugin = require('compression-webpack-plugin')
const name = process.env.VUE_APP_TITLE || '若依管理系统' // 网页标题
const baseUrl = 'http://localhost:8080' // 后端接口
const baseUrl = 'http://192.168.50.30:8080' // 后端接口
const port = process.env.port || process.env.npm_config_port || 80 // 端口
@ -59,6 +59,22 @@ module.exports = {
configureWebpack: {
name: name,
module: {
rules: [
test: /\.js$/,
include: /node_modules\/@cesium/,
use: {
loader: 'babel-loader',
options: {
presets: ['@babel/preset-env'],
plugins: ['@babel/plugin-proposal-nullish-coalescing-operator',
'@babel/plugin-proposal-optional-chaining']
]
resolve: {
alias: {
'@': resolve('src')