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
413eb2d1
Commit
413eb2d1
authored
Dec 12, 2019
by
zhengjinlei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
点击文件
parent
75e0ac77
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
seat_check.html
src/inspect_report/templates/inspect/seat_check.html
+1
-0
mutiHeadTable.js
static/inspect/js/mutiHeadTable.js
+9
-1
No files found.
src/inspect_report/templates/inspect/seat_check.html
View file @
413eb2d1
...
@@ -152,6 +152,7 @@
...
@@ -152,6 +152,7 @@
:data=
"tableData"
:data=
"tableData"
v-if=
'tableData.length != 2'
v-if=
'tableData.length != 2'
size=
'min'
size=
'min'
@
row-click=
'rowClick'
:span-method=
'arraySpanMethod'
:span-method=
'arraySpanMethod'
id=
'mutiTable'
id=
'mutiTable'
style=
"width: 100%"
>
style=
"width: 100%"
>
...
...
static/inspect/js/mutiHeadTable.js
View file @
413eb2d1
...
@@ -178,7 +178,15 @@ new Vue({
...
@@ -178,7 +178,15 @@ new Vue({
this
.
getRule
(
this
.
taskvalue
,
this
.
start_date
,
this
.
end_date
,
this
.
takevalue
);
// 获取统计数据
this
.
getRule
(
this
.
taskvalue
,
this
.
start_date
,
this
.
end_date
,
this
.
takevalue
);
// 获取统计数据
//that.allData = data.data;
//that.allData = data.data;
},
},
rowClick
(
row
,
column
,
event
){
console
.
log
(
row
)
;
let
url
=
"
/quality/audio/check-detail/
"
+
row
.
sessionCollectionId
+
"
/
"
+
row
.
taskId
+
"
?from=checkTask&sessionId=
"
+
row
.
sessionId
;
let
autoMessage
=
{
jumplink
:
url
};
console
.
log
(
autoMessage
);
window
.
parent
.
postMessage
(
autoMessage
,
'
*
'
);
},
init
(){
init
(){
this
.
dateRange
=
[
new
Date
(
new
Date
()
-
24
*
60
*
60
*
1000
),
new
Date
()];
this
.
dateRange
=
[
new
Date
(
new
Date
()
-
24
*
60
*
60
*
1000
),
new
Date
()];
this
.
start_date
=
this
.
dateFormat
(
new
Date
(
new
Date
()
-
24
*
60
*
60
*
1000
));
this
.
start_date
=
this
.
dateFormat
(
new
Date
(
new
Date
()
-
24
*
60
*
60
*
1000
));
...
...
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