gaoluyang
5 天以前 bc365ef47ae4e01754aeadbae26170e11c9bb80e
src/views/safeProduction/safeWorkApproval/fileList.vue
@@ -6,7 +6,7 @@
        <template #default="scope">
          <el-button link type="primary" size="small" @click="downLoadFile(scope.row)">下载</el-button>
          <el-button link type="primary" size="small" @click="lookFile(scope.row)">预览</el-button>
          <el-button link type="danger" size="small" @click="handleDelete(scope.row)">删除</el-button>
          <el-button link type="danger" size="small" @click="handleDelete(scope.row)" v-hasPermi="['safeProduction:safeWorkApproval:remove']">删除</el-button>
        </template>
      </el-table-column>
    </el-table>
@@ -32,7 +32,7 @@
  tableData.value = list
}
const downLoadFile = (row) => {
  proxy.$download.name(row.url);
   proxy.$download.byUrl(row.url, row.originalFilename);
}
const lookFile = (row) => {