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
2e25aecb
Commit
2e25aecb
authored
Sep 02, 2022
by
xxx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
adef5e25
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
344 additions
and
129 deletions
+344
-129
config.js
src/config.js
+4
-4
index.vue
...ews/MLargeScreen/components/startOrderReceiving/index.vue
+313
-85
index.vue
src/views/MLargeScreen/index.vue
+11
-24
vue.config.js
vue.config.js
+16
-16
No files found.
src/config.js
View file @
2e25aecb
// 项目配置相关
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/components/startOrderReceiving/index.vue
View file @
2e25aecb
This diff is collapsed.
Click to expand it.
src/views/MLargeScreen/index.vue
View file @
2e25aecb
...
...
@@ -16,11 +16,8 @@
</div>
</div>
<div
class=
"centerViews"
>
<!--
<div
:class=
"orderReceiving == '停止接单' ? 'IntelligentDis1' : 'IntelligentDis2'"
@
click=
"IntelligentDisFn()"
>
<div
:class=
"orderReceiving == '停止接单' ? 'centerViewsTitle1' : 'centerViewsTitle2'"
>
{{
orderReceiving
}}
</div>
</div>
-->
<div
class=
"IntelligentDis1"
>
<div
class=
"centerViewsTitle1"
>
接收派单
</div>
<div
:class=
"orderReceiving ? 'IntelligentDis1' : 'IntelligentDis2'"
@
click=
"IntelligentDisFn()"
>
<div
:class=
"orderReceiving ? 'centerViewsTitle1' : 'centerViewsTitle2'"
>
智能派单
</div>
</div>
<div
:class=
"selectFunction == 2 ? 'voiceAp2' : 'voiceAp1'"
@
click=
"voiceApFn()"
>
<div
:class=
"selectFunction == 2 ? 'centerViewsTitle1' : 'centerViewsTitle2'"
>
语音申请
</div>
...
...
@@ -118,7 +115,7 @@ export default {
configUrl
:
basePathUrl
+
'
config/config.json
'
,
notifyPromise
:
Promise
.
resolve
(),
systemTitle
:
'
卡车调度系统卡车终端
'
,
orderReceiving
:
'
开始接单
'
,
orderReceiving
:
false
,
personalName
:
''
,
zongTimer1
:
null
,
zongTimer2
:
null
,
...
...
@@ -224,7 +221,7 @@ export default {
}
});
//展示二维地图
//
this.$refs.mars3dViewerMapMethod.getCarInforFn();
this
.
$refs
.
mars3dViewerMapMethod
.
getCarInforFn
();
},
//获取待装卡车列表
...
...
@@ -257,23 +254,13 @@ export default {
},
//接受派单
IntelligentDisFn
(){
// if(this.orderReceiving == "停止接单"){
// this.orderReceiving = '开始接单';
// this.$refs.startOrderReceivingMethod.loadData(this.carnumber,false);
// }else{
// this.orderReceiving = '停止接单';
// this.$refs.startOrderReceivingMethod.loadData(this.carnumber,true);
// }
// this.$refs.voiceApplicationMethod.voiceAppCloseFn();
// this.$refs.failureDeclarationMethod.failureDeCloseFn();
// this.$refs.performanceStatisticsMethod.achievementCloseFn();
// this.$refs.carInformationMethod.carInCloseFn();
// this.$refs.personalCenterMethod.personalCenCloseFn();
// this.$refs.smallWindowMethod.carInCloseFn();
if
(
this
.
orderReceiving
){
this
.
orderReceiving
=
false
;
this
.
$refs
.
startOrderReceivingMethod
.
zhinengpaidanFn
(
false
);
}
else
{
this
.
orderReceiving
=
true
;
this
.
$refs
.
startOrderReceivingMethod
.
zhinengpaidanFn
(
true
);
}
},
//语音申请
voiceApFn
(
tishi
){
...
...
vue.config.js
View file @
2e25aecb
...
...
@@ -16,31 +16,31 @@ 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