Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
inspect_report
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
zhengjinlei
inspect_report
Commits
26eb7051
Commit
26eb7051
authored
Apr 26, 2020
by
lvshibao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
check页面修改
parent
5ef5130d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
seat_check.js
static/inspect/js/seat_check.js
+17
-0
No files found.
static/inspect/js/seat_check.js
View file @
26eb7051
...
...
@@ -127,6 +127,23 @@ new Vue({
this
.
getRule
(
this
.
cityvalue
,
this
.
countryvalue
,
this
.
teamvalue
,
this
.
start_date
,
this
.
end_date
,
this
.
seatvalue
);
// 获取统计数据
console
.
log
(
msg
);
},
getCountry
()
{
let
that
=
this
;
RquestsGet
(
'
api/v1/agency/country/?city_id=
'
+
this
.
cityvalue
).
then
(
data
=>
{
//console.log(data);
if
(
data
.
code
!=
0
)
{
that
.
$message
(
'
服务器错误
'
)
}
else
{
that
.
countryList
=
data
.
data
.
country_list
;
if
(
that
.
countryList
.
length
>
0
)
{
that
.
country_show
=
true
;
}
else
{
that
.
country_show
=
false
;
};
}
})
},
getTeam
()
{
let
that
=
this
;
RquestsGet
(
'
api/v1/agency/team/?country_id=
'
+
this
.
countryvalue
+
'
&city_id=
'
+
this
.
cityvalue
).
then
(
data
=>
{
...
...
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