|
|
|
@ -5,12 +5,12 @@
|
|
|
|
|
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px"> |
|
|
|
|
<el-form-item label="项目名" prop="projectId"> |
|
|
|
|
<el-select v-model="queryParams.projectId" filterable placeholder="请单选"> |
|
|
|
|
<el-option v-for="item in projectList" :key="item.id" :label="item.name" :value="item.id"> |
|
|
|
|
{{ item.name }} |
|
|
|
|
<el-option v-for="item in projectList" :key="item.id" :label="item.id" :value="item.id"> |
|
|
|
|
{{ item.id }} |
|
|
|
|
</el-option> |
|
|
|
|
</el-select> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="讨论发表时间"> |
|
|
|
|
<el-form-item label="创建时间"> |
|
|
|
|
<el-date-picker v-model="dateRangeCreateTime" style="width: 240px" value-format="yyyy-MM-dd" |
|
|
|
|
type="daterange" range-separator="-" start-placeholder="开始日期" end-placeholder="结束日期" /> |
|
|
|
|
</el-form-item> |
|
|
|
@ -39,7 +39,7 @@
|
|
|
|
|
<!-- 列表 --> |
|
|
|
|
<el-table v-loading="loading" stripe :data="list"> |
|
|
|
|
<el-table-column label="讨论ID" align="center" prop="id" /> |
|
|
|
|
<el-table-column label="项目ID名" align="center" prop="projectId"> |
|
|
|
|
<el-table-column label="项目ID/名" align="center" prop="projectId"> |
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
<span v-if="scope.row.projectId">{{convertProject(scope.row.projectId)}}</span> |
|
|
|
|
</template> |
|
|
|
|