fixed:去掉政策资讯和法规准则里的下载一列合并到名称里

This commit is contained in:
shijing 2023-08-22 09:16:16 +08:00
parent 0517510994
commit 238566a5fe
2 changed files with 12 additions and 6 deletions

View File

@ -29,16 +29,19 @@
>
<el-table-column type="index" width="50" />
<el-table-column label="名称" min-width="110">
<template slot-scope="scope">{{ scope.row.name }}</template>
<template slot-scope="scope" v-if="scope.row.file_.file">
<el-link :href="scope.row.file_.file" type="primary">{{ scope.row.name }}</el-link>
</template>
<template slot-scope="scope" v-else>{{ scope.row.name }}</template>
</el-table-column>
<el-table-column align="center" label="文件下载" width="80">
<!-- <el-table-column align="center" label="文件下载" width="80">
<template slot-scope="scope" v-if="scope.row.file_.file">
<el-link :href="scope.row.file_.file" type="primary">
<el-icon class="el-icon--right"><icon-view /></el-icon>
<i class="el-icon-download"></i>
</el-link>
</template>
</el-table-column>
</el-table-column> -->
<el-table-column label="文件描述" >
<template slot-scope="scope">{{ scope.row.description }}</template>
</el-table-column>

View File

@ -32,15 +32,18 @@
>
<el-table-column type="index" width="50" />
<el-table-column label="名称" min-width="110">
<template slot-scope="scope">{{ scope.row.name }}</template>
<template slot-scope="scope" v-if="scope.row.file_.file">
<el-link :href="scope.row.file_.file" type="primary">{{ scope.row.name }}</el-link>
</template>
<template slot-scope="scope" v-else>{{ scope.row.name }}</template>
</el-table-column>
<el-table-column align="center" label="文件下载" width="80">
<!-- <el-table-column align="center" label="文件下载" width="80">
<template slot-scope="scope" v-if="scope.row.file_.file">
<el-link :href="scope.row.file_.file" type="primary">
<i class="el-icon-download"></i>
</el-link>
</template>
</el-table-column>
</el-table-column> -->
<el-table-column label="文件描述">
<template slot-scope="scope">{{ scope.row.description }}</template>
</el-table-column>