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
23d0d818
Commit
23d0d818
authored
Mar 25, 2020
by
lvshibao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
数据分析-违规项分析
parent
5b1bca4d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
8 deletions
+15
-8
rule.html
src/inspect_report/templates/inspect/rule.html
+1
-1
rule.js
static/inspect/js/rule.js
+14
-7
No files found.
src/inspect_report/templates/inspect/rule.html
View file @
23d0d818
...
@@ -87,7 +87,7 @@
...
@@ -87,7 +87,7 @@
end-placeholder=
"结束日期"
end-placeholder=
"结束日期"
:default-time=
"['00:00:00', '23:59:59']"
>
:default-time=
"['00:00:00', '23:59:59']"
>
</el-date-picker>
</el-date-picker>
<el-select
v-model=
"taskvalue"
filterable
placeholder=
"请选择"
@
change=
"changeTask"
>
<el-select
v-
if=
"sel_is_show == true"
v-
model=
"taskvalue"
filterable
placeholder=
"请选择"
@
change=
"changeTask"
>
<el-option
<el-option
v-for=
"item in taskList"
v-for=
"item in taskList"
:key=
"item.id"
:key=
"item.id"
...
...
static/inspect/js/rule.js
View file @
23d0d818
...
@@ -31,6 +31,7 @@ new Vue({
...
@@ -31,6 +31,7 @@ new Vue({
"
validate_session
"
:
0
,
"
validate_session
"
:
0
,
"
ratio
"
:
0
,
"
ratio
"
:
0
,
},
},
sel_is_show
:
true
,
loading
:
true
,
loading
:
true
,
poptableData
:
[],
poptableData
:
[],
tableData
:
[]
tableData
:
[]
...
@@ -160,6 +161,12 @@ new Vue({
...
@@ -160,6 +161,12 @@ new Vue({
return
false
;
return
false
;
}
}
that
.
titleInfo
=
data
.
data
;
that
.
titleInfo
=
data
.
data
;
if
([
'
合肥
'
,
'
芜湖
'
,
'
淮北
'
,
'
安庆
'
,
'
黄山
'
,
'
滁州
'
,
'
阜阳
'
,
'
亳州
'
,
'
宿州
'
,
'
六安
'
,
'
宣城
'
,
'
巢湖
'
,
'
池州
'
,
'
淮南
'
,
'
安徽省营业部
'
,
'
蚌埠
'
,
'
马鞍山
'
,
'
铜陵
'
].
indexOf
(
data
.
username
)
!==
-
1
)
{
that
.
sel_is_show
=
false
;
that
.
taskvalue
=
data
.
username
;
}
else
{
that
.
sel_is_show
=
true
;
}
//this.$loading().close();
//this.$loading().close();
})
})
},
},
...
...
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