Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
9
91isoft_web_vue
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张伯涛
91isoft_web_vue
Commits
6dddcc91
Commit
6dddcc91
authored
Mar 08, 2024
by
张伯涛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除注释
parent
e63fdddc
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1 addition
and
101 deletions
+1
-101
.env.development
.env.development
+0
-15
.env.production
.env.production
+0
-31
.env.test
.env.test
+0
-15
vue.config.js
vue.config.js
+1
-40
No files found.
.env.development
View file @
6dddcc91
...
...
@@ -4,21 +4,6 @@ ENV = 'development'
# base api
VUE_APP_BASE_API = '/dev-api'
# workFlow链接地址
# VUE_APP_WORKFLOW = 'http://106.2.17.219:10180'
VUE_APP_WORKFLOW = '/workFlow'
# internal链接地址
VUE_APP_INTERNAL = '/internal'
# login地址
VUE_APP_LOGIN = 'http://login.court.com/#/login'
# 中台地址
VUE_APP_ZT = 'http://main.court.com'
# 内勤地址
VUE_APP_NQ = 'http://nq.court.com'
# 根域名
VUE_APP_ROOT = 'court.com'
# 模板地址
VUE_APP_TEMPLATE = 'http://192.168.1.17:8072/'
# vue-cli uses the VUE_CLI_BABEL_TRANSPILE_MODULES environment variable,
# to control whether the babel-plugin-dynamic-import-node plugin is enabled.
...
...
.env.production
View file @
6dddcc91
# just a flag
ENV = 'production'
# 私有环境
# base api
#VUE_APP_BASE_API = 'http://zt.51newsoftware.com:10184'
# workFlow链接地址
#VUE_APP_WORKFLOW = 'http://zt.51newsoftware.com:10184/workFlow'
# internal链接地址
#VUE_APP_INTERNAL = 'http://zt.51newsoftware.com:10184/internal'
# login地址
#VUE_APP_LOGIN = 'http://login.51newsoftware.com:10181/#/login'
# 中台地址
#VUE_APP_ZT = 'http://zt.51newsoftware.com:10181'
# 内勤地址
#VUE_APP_NQ = 'http://nq.51newsoftware.com:10181'
# 根域名
#VUE_APP_ROOT = '51newsoftware.com'
# 模板地址
#VUE_APP_TEMPLATE = 'http://zt.51newsoftware.com:10191/'
# 生产环境
# base api
VUE_APP_BASE_API = 'http://zt.cebitic.com:10184'
# workFlow链接地址
VUE_APP_WORKFLOW = 'http://zt.cebitic.com:10184/workFlow'
# internal链接地址
VUE_APP_INTERNAL = 'http://zt.cebitic.com:10184/internal'
# login地址
VUE_APP_LOGIN = 'http://login.cebitic.com:10181/#/login'
# 中台地址
VUE_APP_ZT = 'http://zt.cebitic.com:10181'
# 内勤地址
VUE_APP_NQ = 'http://nq.cebitic.com:10181'
# 根域名
VUE_APP_ROOT = 'cebitic.com'
# 模板地址
VUE_APP_TEMPLATE = 'http://zt.cebitic.com:10191/'
.env.test
View file @
6dddcc91
...
...
@@ -3,19 +3,4 @@ ENV = 'test'
# 测试环境
# base api
# VUE_APP_BASE_API = 'http://192.144.239.97:20070/'
VUE_APP_BASE_API
=
'http://192.144.239.97:20075/'
#workFlow链接地址
VUE_APP_WORKFLOW
=
'http://zt.91isoft.com:10184/workFlow'
#internal链接地址
VUE_APP_INTERNAL
=
'http://zt.91isoft.com:10184/internal'
# login地址
VUE_APP_LOGIN
=
'http://login.91isoft.com:10181/#/login'
# 中台地址
VUE_APP_ZT
=
'http://zt.91isoft.com:10181'
# 内勤地址
VUE_APP_NQ
=
'http://nq.91isoft.com:10181'
# 根域名
VUE_APP_ROOT
=
'91isoft.com'
# 模板地址
VUE_APP_TEMPLATE
=
'http://zt.91isoft.com:10190/'
vue.config.js
View file @
6dddcc91
...
...
@@ -14,14 +14,9 @@ function resolve(dir) {
const
name
=
defaultSettings
.
title
||
'vue Admin Template'
// page title
// If your port is set to 80,
// use administrator privileges to execute the command line.
// For example, Mac: sudo npm run
// You can change the port by the following methods:
// port = 9528 npm run dev OR npm run dev --port = 9528
const
port
=
process
.
env
.
port
||
process
.
env
.
npm_config_port
||
8080
// dev port
// All configuration item explanations can be find in https://cli.vuejs.org/config/
module
.
exports
=
{
/**
* You will need to set publicPath if you plan to deploy your site under a sub path,
...
...
@@ -51,41 +46,7 @@ module.exports = {
// errors: true
// },
proxy
:
{
// detail: https://cli.vuejs.org/config/#devserver-proxy
// [process.env.VUE_APP_BASE_API]: {
// // target: `http://10.5.87.231:10010/`,
// target: `http://zt.91isoft.com:10184/`,
// // target: 'http://192.168.1.17:10010/',
// changeOrigin: true,
// pathRewrite: {
// ['^' + process.env.VUE_APP_BASE_API]: ''
// }
// },
// [process.env.VUE_APP_WORKFLOW]: {
// target: 'http://zt.91isoft.com:10184/workFlow/',
// // target: 'http://192.168.1.17:10010/workFlow/',
// // target: 'http://10.5.87.231:10010/workFlow/',
// changeOrigin: true,
// pathRewrite: {
// ['^' + process.env.VUE_APP_WORKFLOW]: ''
// }
// },
// [process.env.VUE_APP_INTERNAL]: {
// target: 'http://zt.91isoft.com:10184/internal/',
// // target: 'http://192.168.1.17:10010/internal/',
// // target: 'http://10.5.87.231:10010/internal/',
// changeOrigin: true,
// pathRewrite: {
// ['^' + process.env.VUE_APP_INTERNAL]: ''
// }
// },
[
process
.
env
.
VUE_APP_BASE_API
]:
{
// target: `http://192.168.1.29:8082/`,
// target: `http://10.5.87.231:10010/internal`,
// target: `http://117.122.212.91:32012/`,
// target: `http://192.168.1.31:8082/`,
// target: `http://192.168.1.12:8082/`, // 孙浩
// target: `http://192.168.1.41:8082/`,
target
:
`http://49.232.167.247:20014/`
,
// 线上
// target: `http://192.168.1.30:8082/`,
// changeOrigin: true,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment