Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
NewTruckTerminalSyetem
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
SQL_Mou
NewTruckTerminalSyetem
Commits
adef5e25
Commit
adef5e25
authored
Sep 02, 2022
by
xxx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
d479ac66
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
24 deletions
+26
-24
config.js
src/config.js
+4
-4
index.vue
src/views/MLargeScreen/index.vue
+6
-4
vue.config.js
vue.config.js
+16
-16
No files found.
src/config.js
View file @
adef5e25
// 项目配置相关
const
config
=
{
BASE_URL
:
'
http://8.143.203.103:9090
'
,
//线上地址2
REAL_URL
:
'
http://8.143.203.103:9090
'
,
//线上地址2
//
BASE_URL: 'http://8.143.203.103:9090', //线上地址2
//
REAL_URL: 'http://8.143.203.103:9090', //线上地址2
//
BASE_URL: 'http://192.168.0.108:8001',
//
REAL_URL: 'http://192.168.0.108:8001',
BASE_URL
:
'
http://192.168.0.108:8001
'
,
REAL_URL
:
'
http://192.168.0.108:8001
'
,
TOKEN_KEY
:
'
token
'
,
USER_KEY
:
'
userInfo
'
,
...
...
src/views/MLargeScreen/index.vue
View file @
adef5e25
...
...
@@ -204,12 +204,14 @@ export default {
this
.
$refs
.
startOrderReceivingMethod
.
loadData
(
this
.
carnumber
);
this
.
$refs
.
voiceApplicationMethod
.
loadData3
(
this
.
carnumber
);
httpGet
(
vehicleInformationQuery
,{
number
:
this
.
carnumber
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
){
if
(
res
.
data
.
totalElements
==
0
){
httpGet
(
vehicleInformationQuery
,{
number
:
this
.
carnumber
}).
then
((
res
1
)
=>
{
if
(
res
1
.
code
==
200
){
if
(
res
1
.
data
.
totalElements
==
0
){
return
}
else
{
this
.
carclass
=
res
.
data
.
content
[
0
].
carclass
;
//修改车辆状态为在线
putForJson
(
vehicleInformationUpdate
,{
id
:
res1
.
data
.
content
[
0
].
id
,
odo
:
3
}).
then
((
res2
)
=>
{});
this
.
carclass
=
res1
.
data
.
content
[
0
].
carclass
;
if
(
this
.
carclass
==
'
铲车
'
){
this
.
loadData1
();
this
.
systemTitle
=
'
卡车调度系统铲车终端
'
;
...
...
vue.config.js
View file @
adef5e25
...
...
@@ -16,30 +16,30 @@ module.exports = {
open
:
true
,
// 配置自动启动浏览器
proxy
:
{
'
/dianziweilan
'
:
{
target
:
'
http://8.143.203.103:9090
'
},
'
/auth
'
:
{
target
:
'
http://8.143.203.103:9090
'
,
},
'
/pic
'
:
{
target
:
'
http://8.143.203.103/avatar/
'
,
pathRewrite
:
{
'
^/pic
'
:
''
},
changeOrigin
:
true
,
},
// '/dianziweilan': {
// target: 'http://
192.168.0.108:8001
'
// target: 'http://
8.143.203.103:9090
'
// },
// '/auth': {
// target: 'http://
192.168.0.108:8001
',
// target: 'http://
8.143.203.103:9090
',
// },
// '/pic': {
// target: 'http://
192.168.0.108
/avatar/',
// target: 'http://
8.143.203.103
/avatar/',
// pathRewrite: { '^/pic': '' },
// changeOrigin: true,
// },
'
/dianziweilan
'
:
{
target
:
'
http://192.168.0.108:8001
'
},
'
/auth
'
:
{
target
:
'
http://192.168.0.108:8001
'
,
},
'
/pic
'
:
{
target
:
'
http://192.168.0.108/avatar/
'
,
pathRewrite
:
{
'
^/pic
'
:
''
},
changeOrigin
:
true
,
},
},
//https: 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