提交 6113c8b4 authored 作者: 李忠利's avatar 李忠利

首页数据对接修改

上级 c9002bf2
...@@ -45,12 +45,15 @@ ...@@ -45,12 +45,15 @@
<span class="card-more" @click="handleToCreate"> 更多 </span> <span class="card-more" @click="handleToCreate"> 更多 </span>
</template> </template>
<el-table :data="createList.records" size="small"> <el-table :data="createList.records" size="small">
<el-table-column width="280px" label="名称" prop="name"> <el-table-column width="280px" label="名称" show-overflow-tooltip>
<template slot-scope="scope"> <template slot-scope="{ row }">
<svg-icon icon-class="word"></svg-icon> <span>
<svg-icon icon-class="word"></svg-icon>
{{ row.name }}
</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="作者" prop="author" /> <el-table-column label="作者" prop="creatorName" />
<el-table-column label="修改时间" prop="modifyTime" /> <el-table-column label="修改时间" prop="modifyTime" />
</el-table> </el-table>
</el-card> </el-card>
...@@ -128,7 +131,7 @@ export default { ...@@ -128,7 +131,7 @@ export default {
pageSize, pageSize,
}; };
let res = await getNearRead(params); let res = await getNearRead(params);
this.readList = res.result; this.readList = res.data;
}, },
// 最近创作 // 最近创作
...@@ -139,7 +142,7 @@ export default { ...@@ -139,7 +142,7 @@ export default {
pageSize, pageSize,
}; };
let res = await getNearCreation(params); let res = await getNearCreation(params);
this.createList = res.result; this.createList = res.data;
}, },
/** /**
* 上传文件按钮点击事件 * 上传文件按钮点击事件
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论