refactor: 系统水印重构

This commit is contained in:
meilin.huang
2023-10-14 00:38:51 +08:00
parent e0f1f40ba0
commit 77ae6e3bab
20 changed files with 139 additions and 123 deletions

View File

@@ -195,15 +195,6 @@
操作
</template>
<template #default="scope">
<el-link
@click="downloadFile(scope.row)"
v-if="scope.row.type == '-'"
v-auth="'machine:file:write'"
type="primary"
icon="download"
:underline="false"
></el-link>
<el-link
@click="deleteFile([scope.row])"
v-if="!dontOperate(scope.row)"
@@ -211,7 +202,18 @@
type="danger"
icon="delete"
:underline="false"
title="删除"
></el-link>
<el-link
@click="downloadFile(scope.row)"
v-if="scope.row.type == '-'"
v-auth="'machine:file:write'"
type="primary"
icon="download"
:underline="false"
class="ml10"
title="下载"
></el-link>
<el-popover placement="top-start" :title="`${scope.row.path}-文件详情`" :width="520" trigger="click" @show="showFileStat(scope.row)">