Commit 66b84e7a by fukai

修改快照显示

parent 3623126c
...@@ -343,6 +343,7 @@ export default { ...@@ -343,6 +343,7 @@ export default {
}, },
display(index, row){ display(index, row){
window.open("/#/display/"+row['10'].toLowerCase()+"?trn="+row['1']); let viewurl ="/#/display/"+row['10'].toLowerCase()+"?trn="+row['1']
window.open(viewurl, 'newwindow', 'height=1200,width=900,top=100,left=100,toolbar=no,resizable=no,menubar=no,location=no, status=no');
} }
} }
\ No newline at end of file
...@@ -228,7 +228,7 @@ ...@@ -228,7 +228,7 @@
width="100"> width="100">
<template slot-scope="scope"> <template slot-scope="scope">
<!-- <a :href="`/#/display/${scope.row['10'].toLowerCase()}?trn=${scope.row['1']}`" target="_blank" >显示快照</a>--> <!-- <a :href="`/#/display/${scope.row['10'].toLowerCase()}?trn=${scope.row['1']}`" target="_blank" >显示快照</a>-->
<a @click="display(scope.$index, scope.row)">显示快照</a> <a href="javascript:void(0)" @click="display(scope.$index, scope.row)">显示快照</a>
</template> </template>
</el-table-column> </el-table-column>
......
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