|
|
@@ -33,10 +33,11 @@
|
|
|
<template>
|
|
|
<el-table :data="tableData" style="width: 100%">
|
|
|
<el-table-column fixed prop="id" label="编号" width="50"></el-table-column>
|
|
|
- <el-table-column prop="title" label="留言标题" width="240"></el-table-column>
|
|
|
- <el-table-column prop="created_at" label="创建时间" width="240"></el-table-column>
|
|
|
- <el-table-column prop="updated_at" label="修改时间"></el-table-column>
|
|
|
- <el-table-column prop="status" label="状态">
|
|
|
+ <el-table-column prop="title" label="留言标题" width="500"></el-table-column>
|
|
|
+ <el-table-column prop="nickname" label="发布人" v-if="creatNews_user_type == 10000" ></el-table-column>
|
|
|
+ <el-table-column prop="created_at" label="创建时间" ></el-table-column>
|
|
|
+ <el-table-column prop="updated_at" label="修改时间" ></el-table-column>
|
|
|
+ <el-table-column prop="status" label="状态" width="100">
|
|
|
<template slot-scope="scope">
|
|
|
<span v-if="scope.row.status == 0" class="status0">待审核</span>
|
|
|
<span v-if="scope.row.status == 1" class="status1">已通过</span>
|