Browse Source

铸成提交

master
songguoqiang 10 months ago
parent
commit
4b4f534476
  1. 10
      .env.test
  2. 5
      src/views/report/goview/index.vue
  3. 10
      src/views/tjanalysis/bigView/index.vue

10
.env.test

@ -4,16 +4,16 @@ NODE_ENV=test
VITE_DEV=false
# 请求路径
VITE_BASE_URL='http://dev.ccwin-in.com:25100/api'
VITE_BASE_URL='http://dev.ccwin-in.com:26110'
# 上传路径
VITE_UPLOAD_URL='http://dev.ccwin-in.com:25100/api/admin-api/infra/file/upload'
VITE_UPLOAD_URL='http://dev.ccwin-in.com:26110/api/infra/file/upload'
# 接口前缀
VITE_API_BASEPATH=
# 接口地址
VITE_API_URL=/admin-api
VITE_API_URL=/api
# 是否删除debugger
VITE_DROP_DEBUGGER=true
@ -31,7 +31,7 @@ VITE_BASE_PATH=/
VITE_OUT_DIR=dist-test
# 自定义接口路径
# VITE_INTERFACE_URL='http://dev.ccwin-in.com:25110/magic/web/index.html'
VITE_INTERFACE_URL='http://dev.ccwin-in.com:26112/magic/web/index.html'
# 积木报表请求路径
# VITE_JMREPORT_BASE_URL='http://dev.ccwin-in.com:25110'
VITE_JMREPORT_BASE_URL='http://dev.ccwin-in.com:26112'

5
src/views/report/goview/index.vue

@ -6,6 +6,7 @@
<script lang="ts" setup>
defineOptions({ name: 'GoView' })
const src = 'http://127.0.0.1:3000'
//const src = 'http://10.140.10.4:26111'
//const src = 'http://127.0.0.1:3000'//goview
//const src = 'http://dev.ccwin-in.com:26111'//goview
const src = 'http://10.140.10.4:26111'//goview
</script>

10
src/views/tjanalysis/bigView/index.vue

@ -10,11 +10,13 @@ console.log(router.path)
var str =router.path;
var lastSlashIndex =str.lastIndexOf('/');
if (lastSlashIndex === -1) {
window.open('http://localhost:26111/#/chart/preview/'+str)
//window.open('http://10.140.10.4:26111/#/chart/preview/'+str)
//window.open('http://localhost:3000/#/chart/preview/'+str)//
window.open('http://10.140.10.4:26111/#/chart/preview/'+str)//
//window.open('http://dev.ccwin-in.com:26111/#/chart/preview/'+str)//
}
window.open('http://localhost:26111/#/chart/preview/'+str.slice(lastSlashIndex + 1))
//window.open('http://10.140.10.4:26111/#/chart/preview/'+str.slice(lastSlashIndex + 1))
//window.open('http://localhost:3000/#/chart/preview/'+str.slice(lastSlashIndex + 1))//
window.open('http://10.140.10.4:26111/#/chart/preview/'+str.slice(lastSlashIndex + 1))//
//window.open('http://dev.ccwin-in.com:26111/#/chart/preview/'+str.slice(lastSlashIndex + 1))//
</script>

Loading…
Cancel
Save