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
1fc67647
Commit
1fc67647
authored
Apr 24, 2020
by
lvshibao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rule页面修改
parent
6492e264
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
10 deletions
+10
-10
group.html
src/inspect_report/templates/inspect/group.html
+1
-1
group.js
static/inspect/js/group.js
+4
-4
rule.js
static/inspect/js/rule.js
+5
-5
No files found.
src/inspect_report/templates/inspect/group.html
View file @
1fc67647
...
@@ -95,7 +95,7 @@
...
@@ -95,7 +95,7 @@
:value=
"item.id"
>
:value=
"item.id"
>
</el-option>
</el-option>
</el-select>
</el-select>
<el-select
v-model=
"countryvalue"
v-if=
"country_
c
how == true"
filterable
placeholder=
"请选择县"
@
change=
"changeCountry"
>
<el-select
v-model=
"countryvalue"
v-if=
"country_
s
how == true"
filterable
placeholder=
"请选择县"
@
change=
"changeCountry"
>
<el-option
<el-option
label=
"全部县"
label=
"全部县"
value=
""
>
value=
""
>
...
...
static/inspect/js/group.js
View file @
1fc67647
...
@@ -100,9 +100,9 @@ new Vue({
...
@@ -100,9 +100,9 @@ new Vue({
}
else
{
}
else
{
that
.
countryList
=
data
.
data
.
country_list
;
that
.
countryList
=
data
.
data
.
country_list
;
if
(
that
.
countryList
.
length
>
0
)
{
if
(
that
.
countryList
.
length
>
0
)
{
that
.
country_
c
how
=
true
;
that
.
country_
s
how
=
true
;
}
else
{
}
else
{
that
.
country_
c
how
=
false
;
that
.
country_
s
how
=
false
;
};
};
}
}
})
})
...
@@ -124,9 +124,9 @@ new Vue({
...
@@ -124,9 +124,9 @@ new Vue({
that
.
cityList
=
data
.
data
.
city_list
;
that
.
cityList
=
data
.
data
.
city_list
;
that
.
countryList
=
data
.
data
.
country_list
;
that
.
countryList
=
data
.
data
.
country_list
;
if
(
that
.
countryList
.
length
>
0
)
{
if
(
that
.
countryList
.
length
>
0
)
{
that
.
country_
c
how
=
true
;
that
.
country_
s
how
=
true
;
}
else
{
}
else
{
that
.
country_
c
how
=
false
;
that
.
country_
s
how
=
false
;
};
};
that
.
cityvalue
=
data
.
data
.
city_id
;
that
.
cityvalue
=
data
.
data
.
city_id
;
console
.
log
(
that
.
cityvalue
);
console
.
log
(
that
.
cityvalue
);
...
...
static/inspect/js/rule.js
View file @
1fc67647
...
@@ -8,7 +8,7 @@ new Vue({
...
@@ -8,7 +8,7 @@ new Vue({
countryList
:[],
countryList
:[],
cityvalue
:
null
,
cityvalue
:
null
,
countryvalue
:
null
,
countryvalue
:
null
,
country_
c
how
:
false
,
country_
s
how
:
false
,
start_date
:
''
,
start_date
:
''
,
isscrollTop
:
false
,
isscrollTop
:
false
,
currentPage
:
1
,
currentPage
:
1
,
...
@@ -76,9 +76,9 @@ new Vue({
...
@@ -76,9 +76,9 @@ new Vue({
}
else
{
}
else
{
that
.
countryList
=
data
.
data
.
country_list
;
that
.
countryList
=
data
.
data
.
country_list
;
if
(
that
.
countryList
.
length
>
0
)
{
if
(
that
.
countryList
.
length
>
0
)
{
that
.
country_
c
how
=
true
;
that
.
country_
s
how
=
true
;
}
else
{
}
else
{
that
.
country_
c
how
=
false
;
that
.
country_
s
how
=
false
;
};
};
}
}
})
})
...
@@ -100,9 +100,9 @@ new Vue({
...
@@ -100,9 +100,9 @@ new Vue({
that
.
cityList
=
data
.
data
.
city_list
;
that
.
cityList
=
data
.
data
.
city_list
;
that
.
countryList
=
data
.
data
.
country_list
;
that
.
countryList
=
data
.
data
.
country_list
;
if
(
that
.
countryList
.
length
>
0
)
{
if
(
that
.
countryList
.
length
>
0
)
{
that
.
country_
c
how
=
true
;
that
.
country_
s
how
=
true
;
}
else
{
}
else
{
that
.
country_
c
how
=
false
;
that
.
country_
s
how
=
false
;
};
};
that
.
cityvalue
=
data
.
data
.
city_id
;
that
.
cityvalue
=
data
.
data
.
city_id
;
console
.
log
(
that
.
cityvalue
);
console
.
log
(
that
.
cityvalue
);
...
...
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