权限和页面调整

This commit is contained in:
pan
2024-09-02 18:07:02 +08:00
parent b13ea924b3
commit fc1603c786
3 changed files with 16 additions and 4 deletions

View File

@@ -37,6 +37,10 @@
</el-tab-pane><!--el-tab-pane-->
</el-tabs><!--el-tabs-->
</div><!--fl 左侧页签-->
<el-dialog :title="viewDialogTitle" :visible.sync="viewDialogOpen" fullscreen width="500px" append-to-body :before-close="handleBeforeClose">
<i-frame :src="previewUrl" v-if="viewDialogOpen"/>
</el-dialog>
</div><!--fbox1 左右分栏-->
</template>
@@ -115,6 +119,7 @@
this.getDocList()
},
handlePriew(row){
console.info("1111111==============")
this.previewUrl = process.env.VUE_APP_TOOL_TECH_FILE_VIEW_API + '/onlinePreview?url=' + encodeURIComponent(Base64.encode(process.env.VUE_APP_BASE_API + row.docUrl));
this.viewDialogTitle = '文档在线预览'
this.viewDialogOpen = true;
@@ -297,6 +302,9 @@
this.$set(parentItem.replyContentSon, repIndex, '');
this.$set(parentItem.showReplyFormSon, repIndex, false);
},
handleBeforeClose() {
this.viewDialogOpen = false
}
}
}
</script>