Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Z
zhongtong-avi-web
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
中通客车项目
zhongtong-avi-web
Commits
f9eca285
Commit
f9eca285
authored
Oct 11, 2019
by
李志鸣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fea(AVI大屏首页): 功能联调(70%) api文件更新
parent
f2881dbf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
5 deletions
+20
-5
apis.js
src/interface/apis.js
+4
-0
index.vue
src/views/Monitor/index.vue
+16
-5
No files found.
src/interface/apis.js
View file @
f9eca285
...
...
@@ -593,6 +593,10 @@
"url"
:
"/area/bus/statistics"
,
"method"
:
"get"
},
"workOrderNo-get"
:
{
"url"
:
"/area/currentPosition/orderNo/workOrderNo"
,
"method"
:
"get"
},
"busNo-get"
:
{
"url"
:
"/area/detail/busNo"
,
"method"
:
"get"
...
...
src/views/Monitor/index.vue
View file @
f9eca285
...
...
@@ -8,8 +8,9 @@
<el-input
size=
"mini"
style=
"width: 150px"
placeholder=
"请输入订单号"
v-model=
"orderNo"
>
:placeholder=
"workOrderNo !== '' ? '已输入工单号' : '请输入订单号'"
v-model=
"orderNo"
:disabled=
"workOrderNo !== ''"
>
</el-input>
</div>
<div
class=
"work-order-number"
>
...
...
@@ -17,13 +18,15 @@
<el-input
size=
"mini"
style=
"width: 150px"
placeholder=
"请输入工单号"
v-model=
"workOrderNo"
>
:placeholder=
"orderNo !== '' ? '已输入订单号' : '请输入工单号'"
v-model=
"workOrderNo"
:disabled=
"orderNo !== ''"
>
</el-input>
</div>
<el-button
size=
"mini"
type=
"primary"
>
type=
"primary"
@
click=
"doSearchClick"
>
搜索
</el-button>
</div>
...
...
@@ -1521,6 +1524,13 @@
}
else
{
return
'monitor-car-external'
}
},
// 点击搜索按钮
doSearchClick
()
{
let
queryParams
=
{
orderNo
:
this
.
orderNo
,
workOrderNo
:
this
.
workOrderNo
}
this
.
$fetch
(
'area-controller/busNo-get'
,
queryParams
).
then
(
response
=>
{
console
.
log
(
response
)
})
}
},
mounted
()
{
...
...
@@ -1574,6 +1584,7 @@
input
:
:-
webkit-input-placeholder
{
color
:
rgb
(
64
,
158
,
255
);
font-weight
:
bold
;
}
}
}
...
...
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