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
3621e8e5
Commit
3621e8e5
authored
Dec 09, 2019
by
zhengjinlei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
录音文件名
parent
d0942ce8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
tasksapi.py
src/inspect_report/api/tasksapi.py
+3
-1
seat_check.html
src/inspect_report/templates/inspect/seat_check.html
+2
-1
No files found.
src/inspect_report/api/tasksapi.py
View file @
3621e8e5
...
...
@@ -398,8 +398,10 @@ class TasksApi(viewsets.ViewSet):
result
=
check
[
'scoreItemRecord'
]
t_name
=
task_name_dict
[
check
[
'taskId'
]]
total_score
=
100
extra
=
json
.
loads
(
check
[
'extra'
])
f_name
=
extra
[
'filename'
]
if
extra
and
'filename'
in
extra
.
keys
()
else
''
detail
=
{
'id'
:
check
[
'id'
],
'sessionId'
:
check
[
'sessionId'
],
'createdAt'
:
check
[
'createdAt'
],
'area'
:
t_name
.
split
(
'_'
)[
0
],
'agentName'
:
check
[
'agentName'
],
'filename'
:
check
[
'extra'
]
,
'area'
:
t_name
.
split
(
'_'
)[
0
],
'agentName'
:
check
[
'agentName'
],
'filename'
:
f_name
,
'remainTime'
:
check
[
'remainTime'
]}
rule_detail
=
{
'fwyy'
:
10
,
'kcb'
:
10
,
'jsy'
:
5
,
'fwtd'
:
10
,
'yssb'
:
5
,
'jysb'
:
5
,
'yycl'
:
10
,
'ywcc'
:
15
,
'yyjlz'
:
15
,
'fwjs'
:
5
,
'wtgbj'
:
5
,
'wzyhfljs'
:
5
,
'wgzlf'
:
100
,
'mgc'
:
100
}
...
...
src/inspect_report/templates/inspect/seat_check.html
View file @
3621e8e5
...
...
@@ -171,7 +171,8 @@
label=
"文件名"
width=
""
>
<template
slot-scope=
"scope"
>
<span
style=
'cursor:pointer;'
:title=
'scope.row.filename'
>
{{scope.row.filename}}
</span>
{#
<span
style=
'cursor:pointer;'
:title=
'scope.row.filename'
>
{{scope.row.filename}}
</span>
#}
<span
style=
'cursor:pointer;'
:title=
'scope.row.filename'
v-html=
"scope.row.filename"
></span>
</template>
</el-table-column>
<el-table-column
...
...
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