Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
founder_vue
Overview
Overview
Details
Activity
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
常超
founder_vue
Commits
bd447687
Commit
bd447687
authored
Mar 08, 2021
by
cc150520900118
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
命案系统基础环境搭建
parent
f74ab64b
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
65 deletions
+12
-65
src/api/base.js
+4
-57
src/api/interface/dictionaryCode.js
+3
-3
src/assets/img/img.gif
+0
-0
vue.config.js
+5
-5
yarn.lock
+0
-0
No files found.
src/api/base.js
View file @
bd447687
...
...
@@ -3,23 +3,8 @@ var relUrlIp = window.location.host.substring(
window
.
location
.
host
.
length
-
5
);
let
base
=
{
eqMhUrl
:
''
,
bigurl
:
""
,
mapurl
:
""
,
ztptURL
:
''
,
codeUrl
:
''
,
BaseURL
:
''
,
//基础查询页得ip
rzURL
:
''
,
//刑专二期得(日志)ip
// bigwfwurl: "",
// bigservicesurl: "",
// alyIP: "",
naotuPath
:
""
,
XingZhen
:
""
,
ZhiTu_url
:
""
,
// naotuurl: "",
Ptlogin
:
""
,
ebss
:
""
,
test
:
""
};
if
(
relUrlIp
==
"133.8.5.1"
||
relUrlIp
==
"68.174.69.46"
||
...
...
@@ -32,55 +17,17 @@ if (relUrlIp == "133.8.5.1"||
relUrlIp
==
"133.8.5.67"
||
relUrlIp
==
"26.3.13.120"
)
{
//------------------------------刑侦字典服务路径**公安网**--------------------------------
base
.
BaseURL
=
"/api
Ajzb
Gaw"
base
.
BaseURL
=
"/api
Maxt
Gaw"
//------------------------------刑专二期(日志)服务路径**公安网**--------------------------------
base
.
rzURL
=
"/apiXzxtGaw"
//------------------------------ 在逃URL------------------------------
base
.
ztptURL
=
'http://26.3.13.120:8088'
;
//------------------------------ 门户URL------------------------------
base
.
eqMhUrl
=
'http://zhyy.xzxt.nm:8080'
;
//------------------------------刑侦后台服务路径**公安网**--------------------------------
//base.XingZhen = "http://68.174.69.95";
//------------------------------地图后台服务路径**公安网**--------------------------------
//base.mapurl = "http://68.174.25.99:8051";
//------------------------------登陆后台服务路径**公安网**--------------------------------
//base.Ptlogin = "http://68.174.25.99:8061";
//------------------------------ebss后台服务路径**公安网**--------------------------------
//base.ebss = "http://68.174.25.107:8090";
//------------------------------脑图后台服务路径**公安网**--------------------------------
//base.bigurl = "http://77.1.24.51:8080";
//------------------------------东莞智通后台服务路径**公安网**----------------------------
//base.ZhiTu_url = "http://39.99.159.210:8053";
//------------------------------脑图后台服务路径**公安网**--------------------------------
//base.bigwfwurl = "http://77.1.24.51:8050";
}
else
{
//------------------------------刑侦字典服务路径**阿里云**--------------------------------
//base.BaseURL="http://192.168.31.210:8080"/*杨洋本地端口号8080*/
//base.BaseURL="http://192.168.31.210:8001"/*192.168.31.210*//*localhost*/
base
.
BaseURL
=
"/api
Ajzb
"
base
.
BaseURL
=
"/api
Maxt
"
//------------------------------刑专二期(日志)服务路径**阿里云**--------------------------------
base
.
rzURL
=
"/apiXzxt"
//------------------------------ 在逃URL------------------------------
base
.
ztptURL
=
'http://26.3.13.120:8088'
;
//------------------------------ 门户URL------------------------------
base
.
eqMhUrl
=
'http://39.99.155.173/'
;
//------------------------------刑侦后台服务路径**阿里云**--------------------------------
base
.
XingZhen
=
"http://68.174.69.95"
;
//------------------------------地图后台服务路径**阿里云**--------------------------------
base
.
mapurl
=
"http://68.174.25.99:8051"
;
//------------------------------登陆后台服务路径**阿里云**--------------------------------
base
.
Ptlogin
=
"http://68.174.25.99:8061"
;
//------------------------------ebss后台服务路径**阿里云**--------------------------------
base
.
ebss
=
"http://68.174.25.107:8090"
;
//------------------------------脑图后台服务路径**阿里云**--------------------------------
base
.
bigurl
=
"http://77.1.24.51:8080"
;
//------------------------------东莞智通后台服务路径**阿里云**----------------------------
base
.
ZhiTu_url
=
"http://39.99.159.210:8053"
;
//------------------------------脑图后台服务路径**阿里云**--------------------------------
base
.
bigwfwurl
=
"http://77.1.24.51:8050"
;
}
/*else {
//------------------------------脑图后台服务路径**测试**----------------------------------
base.test = "http://39.99.159.210:8052";
}*/
}
export
default
base
;
src/api/interface/dictionaryCode.js
View file @
bd447687
...
...
@@ -4,10 +4,10 @@ import url from "@/api/base";
/*code*/
export
default
{
/*登录*/
login
(
username
,
password
)
{
login
(
account
,
password
)
{
return
request
({
url
:
url
.
BaseURL
+
"/
logi
n"
,
params
:
{
username
,
password
},
url
:
url
.
BaseURL
+
"/
blade-auth/toke
n"
,
params
:
{
account
,
password
},
method
:
"post"
});
},
...
...
src/assets/img/img.gif
0 → 100644
View file @
bd447687
3.8 KB
vue.config.js
View file @
bd447687
...
...
@@ -60,12 +60,12 @@ module.exports = {
errors
:
false
},
proxy
:
{
"/api
Ajzb
"
:
{
target
:
"http://
39.99.224.27:8001
/"
,
//统一的请求头部每次修改都要重启才会生效
"/api
Maxt
"
:
{
target
:
"http://
192.168.0.140:9022
/"
,
//统一的请求头部每次修改都要重启才会生效
ws
:
true
,
changeOrigin
:
true
,
pathRewrite
:
{
'^/api
Ajzb
'
:
'/'
'^/api
Maxt
'
:
'/'
}
},
"/apiXzxt"
:
{
...
...
@@ -76,12 +76,12 @@ module.exports = {
'^/apiXzxt'
:
'/'
}
},
"/api
Ajzb
Gaw"
:
{
"/api
Maxt
Gaw"
:
{
target
:
"http://26.13.5.1:8001/"
,
//公安网案件侦办地址
ws
:
true
,
changeOrigin
:
true
,
pathRewrite
:
{
'^/api
Ajzb
Gaw'
:
'/'
'^/api
Maxt
Gaw'
:
'/'
}
},
"/apiXzxtGaw"
:
{
...
...
yarn.lock
View file @
bd447687
This source diff could not be displayed because it is too large. You can
view the blob
instead.
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