Commit 413eb2d1 authored by zhengjinlei's avatar zhengjinlei

点击文件

parent 75e0ac77
...@@ -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%">
......
...@@ -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));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment