coding,evaluationSrc
This commit is contained in:
parent
cf2fd95acc
commit
21daa49c59
1
public/config.js
vendored
1
public/config.js
vendored
|
@ -4,4 +4,5 @@ window._CONFIG = {
|
||||||
TerrainProviderUrl: '/map/mapDem/',
|
TerrainProviderUrl: '/map/mapDem/',
|
||||||
thirdLoginUrl: 'http://127.0.0.1:8080/thirdLogin',
|
thirdLoginUrl: 'http://127.0.0.1:8080/thirdLogin',
|
||||||
clientId: '0123456789',
|
clientId: '0123456789',
|
||||||
|
evaluationSrc: 'http://127.0.0.1:8000',
|
||||||
}
|
}
|
||||||
|
|
BIN
public/models/F-16.ive
Normal file
BIN
public/models/F-16.ive
Normal file
Binary file not shown.
BIN
public/models/xinxiduikang.glb
Normal file
BIN
public/models/xinxiduikang.glb
Normal file
Binary file not shown.
|
@ -34,7 +34,7 @@ const rootRouter = {
|
||||||
title: '主页',
|
title: '主页',
|
||||||
path: '',
|
path: '',
|
||||||
component: 'BasicLayout',
|
component: 'BasicLayout',
|
||||||
redirect: '/dashboard/equipment',
|
// redirect: '/dashboard/equipment',
|
||||||
meta: {
|
meta: {
|
||||||
title: '首页'
|
title: '首页'
|
||||||
},
|
},
|
||||||
|
|
|
@ -1,10 +1,17 @@
|
||||||
<template>
|
<template>
|
||||||
<div>SimulationSceneEvaluation</div>
|
<div class="evaluation-page">
|
||||||
|
<iframe :src="src" frameborder="0" style="width: 100%; height: 100%"></iframe>
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
name: 'SimulationSceneEvaluation',
|
name: 'SimulationSceneEvaluation',
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
src: window._CONFIG.evaluationSrc,
|
||||||
|
}
|
||||||
|
},
|
||||||
created() {
|
created() {
|
||||||
this.$bus.$emit('set-instructor-system-title', '评估子系统')
|
this.$bus.$emit('set-instructor-system-title', '评估子系统')
|
||||||
},
|
},
|
||||||
|
|
|
@ -1,10 +1,17 @@
|
||||||
<template>
|
<template>
|
||||||
<div>SimulationSceneEvaluation</div>
|
<div class="evaluation-page">
|
||||||
|
<iframe :src="src" frameborder="0" style="width: 100%; height: 100%"></iframe>
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
name: 'SimulationSceneEvaluation',
|
name: 'SimulationSceneEvaluation',
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
src: window._CONFIG.evaluationSrc,
|
||||||
|
}
|
||||||
|
},
|
||||||
created() {
|
created() {
|
||||||
this.$bus.$emit('set-trainer-system-title', '评估子系统')
|
this.$bus.$emit('set-trainer-system-title', '评估子系统')
|
||||||
},
|
},
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
const os = require('os')
|
||||||
const path = require('path')
|
const path = require('path')
|
||||||
const webpack = require('webpack')
|
const webpack = require('webpack')
|
||||||
const GitRevisionPlugin = require('git-revision-webpack-plugin')
|
const GitRevisionPlugin = require('git-revision-webpack-plugin')
|
||||||
|
@ -108,6 +109,7 @@ const vueConfig = {
|
||||||
devServer: {
|
devServer: {
|
||||||
// development server port 8000
|
// development server port 8000
|
||||||
port: 8000,
|
port: 8000,
|
||||||
|
public: os.networkInterfaces().以太网?.slice(-1)[0].address + ':8000',
|
||||||
// If you want to turn on the proxy, please remove the mockjs /src/main.jsL11
|
// If you want to turn on the proxy, please remove the mockjs /src/main.jsL11
|
||||||
proxy: {
|
proxy: {
|
||||||
'/api': {
|
'/api': {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user