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
7a2bcd22
Commit
7a2bcd22
authored
May 16, 2022
by
caicaicai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
2663283e
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
20 deletions
+26
-20
index.vue
...ews/MLargeScreen/components/startOrderReceiving/index.vue
+22
-16
index.vue
src/views/MLargeScreen/index.vue
+2
-2
vue.config.js
vue.config.js
+2
-2
No files found.
src/views/MLargeScreen/components/startOrderReceiving/index.vue
View file @
7a2bcd22
...
@@ -39,14 +39,17 @@ export default {
...
@@ -39,14 +39,17 @@ export default {
httpGet
(
vehicleInformationQuery
,{
number
:
this
.
carnumber
,
size
:
1
}).
then
((
resSon1
)
=>
{
httpGet
(
vehicleInformationQuery
,{
number
:
this
.
carnumber
,
size
:
1
}).
then
((
resSon1
)
=>
{
if
(
resSon1
.
code
==
200
){
if
(
resSon1
.
code
==
200
){
if
(
resSon1
.
data
.
content
[
0
].
workStatus
==
0
){
if
(
resSon1
.
data
.
content
[
0
].
workStatus
==
0
){
if
(
res
.
data
.
content
[
0
].
orderClass
==
0
){
this
.
showDe
=
true
;
this
.
showDe
=
true
;
this
.
btnShow1
=
true
;
this
.
btnShow1
=
true
;
this
.
btnShow2
=
false
;
this
.
btnShow2
=
false
;
this
.
carDestination
=
res
.
data
.
content
[
0
].
destination
;
this
.
carDestination
=
res
.
data
.
content
[
0
].
destination
;
this
.
startOrderSrcUrl
=
newOrder
;
}
else
{
let
au
=
document
.
getElementById
(
'
audio1
'
);
this
.
showDe
=
true
;
au
.
currentTime
=
0
;
this
.
btnShow1
=
false
;
au
.
play
();
this
.
btnShow2
=
true
;
this
.
carDestination
=
res
.
data
.
content
[
0
].
destination
;
}
}
}
}
}
});
});
...
@@ -65,14 +68,17 @@ export default {
...
@@ -65,14 +68,17 @@ export default {
httpGet
(
vehicleInformationQuery
,{
number
:
this
.
carnumber
,
size
:
1
}).
then
((
resSon1
)
=>
{
httpGet
(
vehicleInformationQuery
,{
number
:
this
.
carnumber
,
size
:
1
}).
then
((
resSon1
)
=>
{
if
(
resSon1
.
code
==
200
){
if
(
resSon1
.
code
==
200
){
if
(
resSon1
.
data
.
content
[
0
].
workStatus
==
0
){
if
(
resSon1
.
data
.
content
[
0
].
workStatus
==
0
){
if
(
res
.
data
.
content
[
0
].
orderClass
==
0
){
this
.
showDe
=
true
;
this
.
showDe
=
true
;
this
.
btnShow1
=
true
;
this
.
btnShow1
=
true
;
this
.
btnShow2
=
false
;
this
.
btnShow2
=
false
;
this
.
carDestination
=
res
.
data
.
content
[
0
].
destination
;
this
.
carDestination
=
res
.
data
.
content
[
0
].
destination
;
this
.
startOrderSrcUrl
=
newOrder
;
}
else
{
let
au
=
document
.
getElementById
(
'
audio1
'
);
this
.
showDe
=
true
;
au
.
currentTime
=
0
;
this
.
btnShow1
=
false
;
au
.
play
();
this
.
btnShow2
=
true
;
this
.
carDestination
=
res
.
data
.
content
[
0
].
destination
;
}
}
}
}
}
});
});
...
...
src/views/MLargeScreen/index.vue
View file @
7a2bcd22
...
@@ -370,9 +370,9 @@ export default {
...
@@ -370,9 +370,9 @@ export default {
}
}
});
});
//车辆信息状态修改
//车辆信息状态修改
httpGet
(
vehicleInformationQuery
,{
number
:
this
.
car
number
}).
then
((
res
)
=>
{
httpGet
(
vehicleInformationQuery
,{
number
:
number
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
){
if
(
res
.
code
==
200
){
putForJson
(
vehicleInformationUpdate
,{
id
:
res
.
data
.
content
[
0
].
id
,
number
:
this
.
carnumber
,
workStatus
:
0
,
weightStatus
:
1
,
oddStatus
:
1
}).
then
((
res
)
=>
{});
putForJson
(
vehicleInformationUpdate
,{
id
:
res
.
data
.
content
[
0
].
id
,
workStatus
:
0
,
weightStatus
:
1
,
oddStatus
:
1
}).
then
((
res
)
=>
{});
}
}
});
});
//智能调度是否完成
//智能调度是否完成
...
...
vue.config.js
View file @
7a2bcd22
...
@@ -10,8 +10,8 @@ module.exports = {
...
@@ -10,8 +10,8 @@ module.exports = {
productionSourceMap
:
false
,
//去掉打包的时候生成的map文件
productionSourceMap
:
false
,
//去掉打包的时候生成的map文件
lintOnSave
:
false
,
// 是否在开发环境下通过 eslint-loader 在每次保存时 lint 代码
lintOnSave
:
false
,
// 是否在开发环境下通过 eslint-loader 在每次保存时 lint 代码
devServer
:
{
devServer
:
{
//
host: '192.168.0.101', // 也可以直接写IP地址这样方便真机测试
host
:
'
192.168.0.101
'
,
// 也可以直接写IP地址这样方便真机测试
host
:
'
localhost
'
,
//
host: 'localhost',
port
:
3002
,
// 端口号
port
:
3002
,
// 端口号
https
:
false
,
// https:{type:Boolean}
https
:
false
,
// https:{type:Boolean}
open
:
true
,
// 配置自动启动浏览器
open
:
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