|
@@ -31,17 +31,17 @@
|
|
<el-table-column label="标题信息" width="260" show-overflow-tooltip align="center" prop="title"/>
|
|
<el-table-column label="标题信息" width="260" show-overflow-tooltip align="center" prop="title"/>
|
|
<el-table-column label="创建时间" align="center" prop="createTime" >
|
|
<el-table-column label="创建时间" align="center" prop="createTime" >
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
- <span>{{ parseTime(scope.row.createTime, '{y}-{m}-{d}') }}</span>
|
|
|
|
|
|
+ <span>{{ scope.row.createTime }}</span>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column label="更新时间" align="center" prop="updateTime" >
|
|
<el-table-column label="更新时间" align="center" prop="updateTime" >
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
- <span>{{ parseTime(scope.row.updateTime, '{y}-{m}-{d}') }}</span>
|
|
|
|
|
|
+ <span>{{ scope.row.updateTime}}</span>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column label="审核日期" align="center" prop="auditTime" >
|
|
<el-table-column label="审核日期" align="center" prop="auditTime" >
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
- <span>{{ parseTime(scope.row.auditTime, '{y}-{m}-{d}') }}</span>
|
|
|
|
|
|
+ <span>{{ scope.row.auditTime}}</span>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column label="信息状态" align="center" prop="status">
|
|
<el-table-column label="信息状态" align="center" prop="status">
|
|
@@ -62,6 +62,7 @@
|
|
<el-button v-if="scope.row.status == 0 || scope.row.status == 2 ||scope.row.status ==null" size="mini" type="text" @click="handleCommit(scope.row)">提交审核</el-button>
|
|
<el-button v-if="scope.row.status == 0 || scope.row.status == 2 ||scope.row.status ==null" size="mini" type="text" @click="handleCommit(scope.row)">提交审核</el-button>
|
|
<el-button v-if="scope.row.status == 3" size="mini" type="text" @click="handleDownOrUp(scope.row)">上报</el-button>
|
|
<el-button v-if="scope.row.status == 3" size="mini" type="text" @click="handleDownOrUp(scope.row)">上报</el-button>
|
|
<el-button v-if="scope.row.status == 6 || scope.row.status == 4" size="mini" type="text" @click="handleDownOrUp(scope.row)">发布</el-button>
|
|
<el-button v-if="scope.row.status == 6 || scope.row.status == 4" size="mini" type="text" @click="handleDownOrUp(scope.row)">发布</el-button>
|
|
|
|
+ <el-button size="mini" type="text" @click="handleDetail(scope.row)">详情</el-button>
|
|
<el-button v-if="scope.row.status == 0 || scope.row.status == 2 || scope.row.status == 3 || scope.row.status == 6 ||scope.row.status ==null && scope.row.status != 4" size="mini" type="text" @click="handleUpdate(scope.row)">修改</el-button>
|
|
<el-button v-if="scope.row.status == 0 || scope.row.status == 2 || scope.row.status == 3 || scope.row.status == 6 ||scope.row.status ==null && scope.row.status != 4" size="mini" type="text" @click="handleUpdate(scope.row)">修改</el-button>
|
|
<el-button v-if="scope.row.status != 5 && scope.row.status != 1" size="mini" type="text" @click="handleDelete(scope.row)">删除</el-button>
|
|
<el-button v-if="scope.row.status != 5 && scope.row.status != 1" size="mini" type="text" @click="handleDelete(scope.row)">删除</el-button>
|
|
</template>
|
|
</template>
|
|
@@ -247,6 +248,11 @@ export default {
|
|
})
|
|
})
|
|
.catch(() => {});
|
|
.catch(() => {});
|
|
},
|
|
},
|
|
|
|
+ // 详情
|
|
|
|
+ handleDetail(row) {
|
|
|
|
+ const id = row.id || this.ids;
|
|
|
|
+ this.iframe({ obj: edit, param: { id: id, edit:true }, title: '资讯详情', width: '1050px', height: '750px' });
|
|
|
|
+ },
|
|
/** 导出按钮操作 */
|
|
/** 导出按钮操作 */
|
|
handleExport() {
|
|
handleExport() {
|
|
this.download(
|
|
this.download(
|