Browse Source

🐛 修复报表管理外链打开问题

fix_bug_pro20231227
smallchill 2 years ago
parent
commit
8144afcc7b
  1. 10
      src/views/report/reportlist.vue

10
src/views/report/reportlist.vue

@ -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('确定将选择数据删除?', {

Loading…
Cancel
Save