fixed:去掉政策资讯和法规准则里的下载一列合并到名称里
This commit is contained in:
parent
0517510994
commit
238566a5fe
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue