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
cc8b061d
Commit
cc8b061d
authored
Apr 24, 2020
by
lvshibao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
group页面修改
parent
d72a8084
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
group.html
src/inspect_report/templates/inspect/group.html
+5
-1
group.js
static/inspect/js/group.js
+5
-1
No files found.
src/inspect_report/templates/inspect/group.html
View file @
cc8b061d
...
...
@@ -95,7 +95,11 @@
:value=
"item.id"
>
</el-option>
</el-select>
<el-select
v-model=
"countryvalue"
filterable
placeholder=
"请选择县"
@
change=
"changeCountry"
>
<el-select
v-model=
"countryvalue"
v-if=
"country_chow == true"
filterable
placeholder=
"请选择县"
@
change=
"changeCountry"
>
<el-option
label=
"全部县"
value=
""
>
</el-option>
<el-option
v-for=
"item in countryList"
:key=
"item.id"
...
...
static/inspect/js/group.js
View file @
cc8b061d
...
...
@@ -23,6 +23,7 @@ new Vue({
popcurrentPage
:
1
,
isHidePage
:
true
,
scrollTop
:
0
,
country_chow
:
false
,
BASEURL
:
window_url
,
end_date
:
''
,
sortObj
:{
...
...
@@ -69,7 +70,7 @@ new Vue({
this
.
sortObj
=
{
name
:
item
.
prop
,
sort
:
order
}
}
;
this
.
getRule
(
this
.
cityvalue
,
this
.
countryvalue
,
this
.
start_date
,
this
.
end_date
,
this
.
takevalue
);
// 获取统计数据
},
changeRange
(
dateRange
){
...
...
@@ -117,6 +118,9 @@ new Vue({
}
else
{
that
.
cityList
=
data
.
data
.
city_list
;
that
.
countryList
=
data
.
data
.
country_list
;
if
(
that
.
countryList
.
length
>
0
)
{
that
.
country_chow
=
true
}
that
.
cityvalue
=
data
.
data
.
city_id
;
console
.
log
(
that
.
cityvalue
);
that
.
init_simple
=
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