|
|
|
@ -26,7 +26,7 @@
|
|
|
|
|
<el-button |
|
|
|
|
type="primary" |
|
|
|
|
text |
|
|
|
|
icon="el-icon-edit-outline" |
|
|
|
|
icon="el-icon-edit" |
|
|
|
|
@click.stop="handleDesign(scope.row.name)" |
|
|
|
|
v-if="userInfo.role_name.includes('admin')" |
|
|
|
|
>设计 |
|
|
|
@ -114,14 +114,10 @@ export default {
|
|
|
|
|
}, |
|
|
|
|
methods: { |
|
|
|
|
handlePreview(name) { |
|
|
|
|
this.$router.push({ |
|
|
|
|
path: `/myiframe/urlPath?name=preview-${name}&src=${this.website.reportUrl}/preview?_u=blade-${name}`, |
|
|
|
|
}); |
|
|
|
|
window.open(`${this.website.reportUrl}/preview?_u=blade-${name}`); |
|
|
|
|
}, |
|
|
|
|
handleDesign(name) { |
|
|
|
|
this.$router.push({ |
|
|
|
|
path: `/myiframe/urlPath?name=designer-${name}&src=${this.website.reportUrl}/designer?_u=blade-${name}`, |
|
|
|
|
}); |
|
|
|
|
window.open(`${this.website.reportUrl}/designer?_u=blade-${name}`); |
|
|
|
|
}, |
|
|
|
|
rowDel(row) { |
|
|
|
|
this.$confirm('确定将选择数据删除?', { |
|
|
|
|