@@ -28,6 +28,7 @@ export const tableOption = {
},
{
label: '回复时间',
+ slot: true,
prop: 'replyTime',
width: '200',
dicData: [
@@ -14,7 +14,8 @@ export const tableOption = {
label: '标签名称',
prop: 'title',
- search: true
+ search: true,
+ slot: true
label: '状态',
@@ -14,7 +14,10 @@
slot="nickName">
{{scope.row.user.nickName}}
</template>
-
+ <template slot-scope="scope"
+ slot="replyTime">
+ {{scope.row.replyTime ? scope.row.replyTime : '-'}}
+ </template>
<template slot-scope="scope"
slot="menu">
<el-button type="primary"
@@ -15,7 +15,10 @@
icon="el-icon-plus"
@click="addOrUpdateHandle()">新增</el-button>
+ slot="title">
+ {{ scope.row.title || '-' }}
slot="status">
<el-tag v-if="scope.row.status === 0"
@@ -51,6 +51,7 @@
width="150"
:show-overflow-tooltip="true"
label="菜单URL">
+ <template slot-scope="scope">{{scope.row.url || '-'}}</template>
</el-table-column>
<el-table-column prop="perms"
header-align="center"
@@ -58,6 +59,7 @@
label="授权标识">
+ <template slot-scope="scope">{{scope.row.perms || '-'}}</template>
<el-table-column fixed="right"