This commit is contained in:
BianLzhaoMin 2025-11-04 10:19:52 +08:00
parent 339daad1ce
commit a2e9eb51db
2 changed files with 12 additions and 35 deletions

View File

@ -242,7 +242,7 @@ export default {
console.log('导出') console.log('导出')
}, },
onHandleEdit(row) { onHandleEdit(row) {
console.log('编辑', row) // console.log('', row)
this.editRow = row this.editRow = row
this.dialogConfig.outerTitle = '编辑' this.dialogConfig.outerTitle = '编辑'
this.dialogConfig.outerVisible = true this.dialogConfig.outerVisible = true
@ -275,7 +275,6 @@ export default {
// //
async getDocsCenterListFun() { async getDocsCenterListFun() {
const res = await getDocsCenterListAPI(this.queryParams) const res = await getDocsCenterListAPI(this.queryParams)
console.log(res, '9966699')
this.tableData = res?.rows this.tableData = res?.rows
this.total = res?.total this.total = res?.total
}, },

View File

@ -116,21 +116,23 @@
label="创建人" label="创建人"
width="100" width="100"
align="center" align="center"
></el-table-column> />
<el-table-column <el-table-column
prop="modifyTime" prop="modifyTime"
label="修改时间" label="修改时间"
width="120" width="120"
align="center" align="center"
></el-table-column> show-overflow-tooltip
/>
<el-table-column <el-table-column
prop="createTime" prop="createTime"
label="创建时间" label="创建时间"
width="120" width="120"
align="center" align="center"
></el-table-column> show-overflow-tooltip
/>
<el-table-column <el-table-column
prop="readCount" prop="readCount"
@ -139,9 +141,9 @@
align="center" align="center"
> >
<template slot-scope="scope"> <template slot-scope="scope">
<span class="count-text">{{ <span class="count-text">
scope.row.readCount {{ scope.row.readCount }}
}}</span> </span>
</template> </template>
</el-table-column> </el-table-column>
@ -152,35 +154,11 @@
align="center" align="center"
> >
<template slot-scope="scope"> <template slot-scope="scope">
<span class="count-text">{{ <span class="count-text">
scope.row.downloadCount {{ scope.row.downloadCount }}
}}</span> </span>
</template> </template>
</el-table-column> </el-table-column>
<!-- <el-table-column
label="操作"
width="120"
align="center"
fixed="right"
>
<template slot-scope="scope">
<el-button
type="text"
size="mini"
@click="handleView(scope.row)"
>
查看
</el-button>
<el-button
type="text"
size="mini"
@click="handleEdit(scope.row)"
>
编辑
</el-button>
</template>
</el-table-column> -->
</el-table> </el-table>
</div> </div>