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
67fef3de
Commit
67fef3de
authored
Mar 08, 2024
by
张伯涛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除注释
parent
17de21bc
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
108 deletions
+2
-108
.env.development
.env.development
+1
-21
.env.production
.env.production
+0
-31
.env.test
.env.test
+0
-15
vue.config.js
vue.config.js
+1
-41
No files found.
.env.development
View file @
67fef3de
...
@@ -4,27 +4,7 @@ ENV = 'development'
...
@@ -4,27 +4,7 @@ ENV = 'development'
# base api
# base api
VUE_APP_BASE_API = '/dev-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.
# It only does one thing by converting all import() to require().
# This configuration can significantly increase the speed of hot updates,
# when you have a large number of pages.
# Detail: https://github.com/vuejs/vue-cli/blob/dev/packages/@vue/babel-preset-app/index.js
VUE_CLI_BABEL_TRANSPILE_MODULES = true
VUE_CLI_BABEL_TRANSPILE_MODULES = true
.env.production
View file @
67fef3de
# just a flag
# just a flag
ENV = 'production'
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
# base api
VUE_APP_BASE_API = 'http://zt.cebitic.com:10184'
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 @
67fef3de
...
@@ -3,19 +3,4 @@ ENV = 'test'
...
@@ -3,19 +3,4 @@ ENV = 'test'
# 测试环境
# 测试环境
# base api
# base api
# VUE_APP_BASE_API = 'http://192.144.239.97:20070/'
VUE_APP_BASE_API
=
'http://192.144.239.97:20075/'
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 @
67fef3de
...
@@ -14,11 +14,6 @@ function resolve(dir) {
...
@@ -14,11 +14,6 @@ function resolve(dir) {
const
name
=
defaultSettings
.
title
||
'vue Admin Template'
// page title
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
const
port
=
process
.
env
.
port
||
process
.
env
.
npm_config_port
||
8080
// dev port
// 引入等比适配插件
// 引入等比适配插件
...
@@ -30,7 +25,7 @@ const postcss = px2rem({
...
@@ -30,7 +25,7 @@ const postcss = px2rem({
remUnit
:
16
remUnit
:
16
})
})
// All configuration item explanations can be find in https://cli.vuejs.org/config/
module
.
exports
=
{
module
.
exports
=
{
css
:
{
css
:
{
loaderOptions
:
{
loaderOptions
:
{
...
@@ -59,40 +54,7 @@ module.exports = {
...
@@ -59,40 +54,7 @@ module.exports = {
// errors: true
// errors: true
// },
// },
proxy
:
{
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
]:
{
[
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://49.232.167.247:20014/`
,
target
:
`http://49.232.167.247:20014/`
,
// target: `http://192.168.1.30:8082/`,
// target: `http://192.168.1.30:8082/`,
// changeOrigin: true,
// changeOrigin: true,
...
@@ -103,8 +65,6 @@ module.exports = {
...
@@ -103,8 +65,6 @@ module.exports = {
}
}
},
},
configureWebpack
:
{
configureWebpack
:
{
// provide the app's title in webpack's name field, so that
// it can be accessed in index.html to inject the correct title.
name
:
name
,
name
:
name
,
resolve
:
{
resolve
:
{
alias
:
{
alias
:
{
...
...
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