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
ba0cf715
Commit
ba0cf715
authored
Mar 26, 2020
by
lvshibao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
配置文件模板,将姓名列表加入config.js
parent
5d96cd74
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
11 additions
and
6 deletions
+11
-6
config.example.py
src/config/config.example.py
+0
-1
group.html
src/inspect_report/templates/inspect/group.html
+1
-0
rule.html
src/inspect_report/templates/inspect/rule.html
+1
-0
score.html
src/inspect_report/templates/inspect/score.html
+1
-0
seat.html
src/inspect_report/templates/inspect/seat.html
+1
-0
seat_check.html
src/inspect_report/templates/inspect/seat_check.html
+1
-0
config.js
static/inspect/js/config.js
+1
-0
group.js
static/inspect/js/group.js
+1
-1
rule.js
static/inspect/js/rule.js
+1
-1
score.js
static/inspect/js/score.js
+1
-1
seat.js
static/inspect/js/seat.js
+1
-1
seat_check.js
static/inspect/js/seat_check.js
+1
-1
No files found.
src/config/config.example.py
View file @
ba0cf715
...
@@ -13,7 +13,6 @@ DB_PORT = 111
...
@@ -13,7 +13,6 @@ DB_PORT = 111
DB_USERNAME
=
''
DB_USERNAME
=
''
# 数据库密码
# 数据库密码
DB_PASSWORD
=
''
DB_PASSWORD
=
''
# DB_PASSWORD = '19910626zjl'
# 数据库表前缀
# 数据库表前缀
TABLE_PRE
=
''
TABLE_PRE
=
''
...
...
src/inspect_report/templates/inspect/group.html
View file @
ba0cf715
...
@@ -287,6 +287,7 @@
...
@@ -287,6 +287,7 @@
<script
src=
"{% static "
inspect
/
js
/
vue
.
min
.
js
"
%}"
></script>
<script
src=
"{% static "
inspect
/
js
/
vue
.
min
.
js
"
%}"
></script>
<script
src=
"{% static "
inspect
/
js
/
element
.
js
"
%}"
></script>
<script
src=
"{% static "
inspect
/
js
/
element
.
js
"
%}"
></script>
<script
src=
"{% static "
inspect
/
js
/
http
.
js
"
%}"
></script>
<script
src=
"{% static "
inspect
/
js
/
http
.
js
"
%}"
></script>
<script
src=
"{% static "
inspect
/
js
/
config
.
js
"
%}"
></script>
<script
type=
"text/javascript"
src=
"{% static "
inspect
/
js
/
group
.
js
"
%}"
></script>
<script
type=
"text/javascript"
src=
"{% static "
inspect
/
js
/
group
.
js
"
%}"
></script>
</body>
</body>
</html>
</html>
src/inspect_report/templates/inspect/rule.html
View file @
ba0cf715
...
@@ -193,6 +193,7 @@
...
@@ -193,6 +193,7 @@
<script
src=
"{% static "
inspect
/
js
/
vue
.
min
.
js
"
%}"
></script>
<script
src=
"{% static "
inspect
/
js
/
vue
.
min
.
js
"
%}"
></script>
<script
src=
"{% static "
inspect
/
js
/
element
.
js
"
%}"
></script>
<script
src=
"{% static "
inspect
/
js
/
element
.
js
"
%}"
></script>
<script
src=
"{% static "
inspect
/
js
/
http
.
js
"
%}"
></script>
<script
src=
"{% static "
inspect
/
js
/
http
.
js
"
%}"
></script>
<script
src=
"{% static "
inspect
/
js
/
config
.
js
"
%}"
></script>
<script
type=
"text/javascript"
src=
"{% static "
inspect
/
js
/
rule
.
js
"
%}"
></script>
<script
type=
"text/javascript"
src=
"{% static "
inspect
/
js
/
rule
.
js
"
%}"
></script>
</body>
</body>
</html>
</html>
src/inspect_report/templates/inspect/score.html
View file @
ba0cf715
...
@@ -264,6 +264,7 @@
...
@@ -264,6 +264,7 @@
<script
src=
"{% static "
inspect
/
js
/
vue
.
min
.
js
"
%}"
></script>
<script
src=
"{% static "
inspect
/
js
/
vue
.
min
.
js
"
%}"
></script>
<script
src=
"{% static "
inspect
/
js
/
element
.
js
"
%}"
></script>
<script
src=
"{% static "
inspect
/
js
/
element
.
js
"
%}"
></script>
<script
src=
"{% static "
inspect
/
js
/
http
.
js
"
%}"
></script>
<script
src=
"{% static "
inspect
/
js
/
http
.
js
"
%}"
></script>
<script
src=
"{% static "
inspect
/
js
/
config
.
js
"
%}"
></script>
<script
type=
"text/javascript"
src=
"{% static "
inspect
/
js
/
score
.
js
"
%}"
></script>
<script
type=
"text/javascript"
src=
"{% static "
inspect
/
js
/
score
.
js
"
%}"
></script>
</body>
</body>
</html>
</html>
src/inspect_report/templates/inspect/seat.html
View file @
ba0cf715
...
@@ -117,6 +117,7 @@
...
@@ -117,6 +117,7 @@
<script
src=
"{% static "
inspect
/
js
/
vue
.
min
.
js
"
%}"
></script>
<script
src=
"{% static "
inspect
/
js
/
vue
.
min
.
js
"
%}"
></script>
<script
src=
"{% static "
inspect
/
js
/
element
.
js
"
%}"
></script>
<script
src=
"{% static "
inspect
/
js
/
element
.
js
"
%}"
></script>
<script
src=
"{% static "
inspect
/
js
/
echarts
.
js
"
%}"
></script>
<script
src=
"{% static "
inspect
/
js
/
echarts
.
js
"
%}"
></script>
<script
src=
"{% static "
inspect
/
js
/
config
.
js
"
%}"
></script>
<script
type=
"text/javascript"
src=
"{% static "
inspect
/
js
/
http
.
js
"
%}"
></script>
<script
type=
"text/javascript"
src=
"{% static "
inspect
/
js
/
http
.
js
"
%}"
></script>
<script
type=
"text/javascript"
src=
"{% static "
inspect
/
js
/
seat
.
js
"
%}"
></script>
<script
type=
"text/javascript"
src=
"{% static "
inspect
/
js
/
seat
.
js
"
%}"
></script>
...
...
src/inspect_report/templates/inspect/seat_check.html
View file @
ba0cf715
...
@@ -304,6 +304,7 @@
...
@@ -304,6 +304,7 @@
<script
src=
"{% static "
inspect
/
js
/
vue
.
min
.
js
"
%}"
></script>
<script
src=
"{% static "
inspect
/
js
/
vue
.
min
.
js
"
%}"
></script>
<script
src=
"{% static "
inspect
/
js
/
element
.
js
"
%}"
></script>
<script
src=
"{% static "
inspect
/
js
/
element
.
js
"
%}"
></script>
<script
src=
"{% static "
inspect
/
js
/
http
.
js
"
%}"
></script>
<script
src=
"{% static "
inspect
/
js
/
http
.
js
"
%}"
></script>
<script
src=
"{% static "
inspect
/
js
/
config
.
js
"
%}"
></script>
<script
type=
"text/javascript"
src=
"{% static "
inspect
/
js
/
seat_check
.
js
"
%}"
></script>
<script
type=
"text/javascript"
src=
"{% static "
inspect
/
js
/
seat_check
.
js
"
%}"
></script>
</body>
</body>
</html>
</html>
static/inspect/js/config.js
0 → 100644
View file @
ba0cf715
var
name_list
=
[
'
合肥
'
,
'
芜湖
'
,
'
淮北
'
,
'
安庆
'
,
'
黄山
'
,
'
滁州
'
,
'
阜阳
'
,
'
亳州
'
,
'
宿州
'
,
'
六安
'
,
'
宣城
'
,
'
巢湖
'
,
'
池州
'
,
'
淮南
'
,
'
安徽省营业部
'
,
'
蚌埠
'
,
'
马鞍山
'
,
'
铜陵
'
];
static/inspect/js/group.js
View file @
ba0cf715
...
@@ -184,7 +184,7 @@ new Vue({
...
@@ -184,7 +184,7 @@ new Vue({
return
false
;
return
false
;
}
}
that
.
titleInfo
=
data
.
data
;
that
.
titleInfo
=
data
.
data
;
if
(
[
'
合肥
'
,
'
芜湖
'
,
'
淮北
'
,
'
安庆
'
,
'
黄山
'
,
'
滁州
'
,
'
阜阳
'
,
'
亳州
'
,
'
宿州
'
,
'
六安
'
,
'
宣城
'
,
'
巢湖
'
,
'
池州
'
,
'
淮南
'
,
'
安徽省营业部
'
,
'
蚌埠
'
,
'
马鞍山
'
,
'
铜陵
'
]
.
indexOf
(
data
.
username
)
!==
-
1
)
{
if
(
name_list
.
indexOf
(
data
.
username
)
!==
-
1
)
{
that
.
sel_is_show
=
false
;
that
.
sel_is_show
=
false
;
that
.
taskvalue
=
data
.
username
;
that
.
taskvalue
=
data
.
username
;
}
else
{
}
else
{
...
...
static/inspect/js/rule.js
View file @
ba0cf715
...
@@ -161,7 +161,7 @@ new Vue({
...
@@ -161,7 +161,7 @@ new Vue({
return
false
;
return
false
;
}
}
that
.
titleInfo
=
data
.
data
;
that
.
titleInfo
=
data
.
data
;
if
(
[
'
合肥
'
,
'
芜湖
'
,
'
淮北
'
,
'
安庆
'
,
'
黄山
'
,
'
滁州
'
,
'
阜阳
'
,
'
亳州
'
,
'
宿州
'
,
'
六安
'
,
'
宣城
'
,
'
巢湖
'
,
'
池州
'
,
'
淮南
'
,
'
安徽省营业部
'
,
'
蚌埠
'
,
'
马鞍山
'
,
'
铜陵
'
]
.
indexOf
(
data
.
username
)
!==
-
1
)
{
if
(
name_list
.
indexOf
(
data
.
username
)
!==
-
1
)
{
that
.
sel_is_show
=
false
;
that
.
sel_is_show
=
false
;
that
.
taskvalue
=
data
.
username
;
that
.
taskvalue
=
data
.
username
;
}
else
{
}
else
{
...
...
static/inspect/js/score.js
View file @
ba0cf715
...
@@ -144,7 +144,7 @@ new Vue({
...
@@ -144,7 +144,7 @@ new Vue({
that
.
takeList
=
data
.
data
;
that
.
takeList
=
data
.
data
;
}
}
if
(
[
'
合肥
'
,
'
芜湖
'
,
'
淮北
'
,
'
安庆
'
,
'
黄山
'
,
'
滁州
'
,
'
阜阳
'
,
'
亳州
'
,
'
宿州
'
,
'
六安
'
,
'
宣城
'
,
'
巢湖
'
,
'
池州
'
,
'
淮南
'
,
'
安徽省营业部
'
,
'
蚌埠
'
,
'
马鞍山
'
,
'
铜陵
'
]
.
indexOf
(
data
.
username
)
!==
-
1
)
{
if
(
name_list
.
indexOf
(
data
.
username
)
!==
-
1
)
{
that
.
sel_is_show
=
false
;
that
.
sel_is_show
=
false
;
that
.
taskvalue
=
data
.
username
;
that
.
taskvalue
=
data
.
username
;
}
else
{
}
else
{
...
...
static/inspect/js/seat.js
View file @
ba0cf715
...
@@ -127,7 +127,7 @@ new Vue({
...
@@ -127,7 +127,7 @@ new Vue({
that
.
$message
(
'
服务器错误
'
)
that
.
$message
(
'
服务器错误
'
)
}
}
}
}
if
(
[
'
合肥
'
,
'
芜湖
'
,
'
淮北
'
,
'
安庆
'
,
'
黄山
'
,
'
滁州
'
,
'
阜阳
'
,
'
亳州
'
,
'
宿州
'
,
'
六安
'
,
'
宣城
'
,
'
巢湖
'
,
'
池州
'
,
'
淮南
'
,
'
安徽省营业部
'
,
'
蚌埠
'
,
'
马鞍山
'
,
'
铜陵
'
]
.
indexOf
(
data
.
username
)
!==
-
1
)
{
if
(
name_list
.
indexOf
(
data
.
username
)
!==
-
1
)
{
that
.
sel_is_show
=
false
;
that
.
sel_is_show
=
false
;
that
.
taskvalue
=
data
.
username
;
that
.
taskvalue
=
data
.
username
;
}
else
{
}
else
{
...
...
static/inspect/js/seat_check.js
View file @
ba0cf715
...
@@ -148,7 +148,7 @@ new Vue({
...
@@ -148,7 +148,7 @@ new Vue({
that
.
takeList
=
data
.
data
;
that
.
takeList
=
data
.
data
;
}
}
if
(
[
'
合肥
'
,
'
芜湖
'
,
'
淮北
'
,
'
安庆
'
,
'
黄山
'
,
'
滁州
'
,
'
阜阳
'
,
'
亳州
'
,
'
宿州
'
,
'
六安
'
,
'
宣城
'
,
'
巢湖
'
,
'
池州
'
,
'
淮南
'
,
'
安徽省营业部
'
,
'
蚌埠
'
,
'
马鞍山
'
,
'
铜陵
'
]
.
indexOf
(
data
.
username
)
!==
-
1
)
{
if
(
name_list
.
indexOf
(
data
.
username
)
!==
-
1
)
{
that
.
sel_is_show
=
false
;
that
.
sel_is_show
=
false
;
that
.
taskvalue
=
data
.
username
;
that
.
taskvalue
=
data
.
username
;
}
else
{
}
else
{
...
...
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