| | |
| | | @selection-change="tableChange"> |
| | | <el-table-column type="selection" min-width="5"> |
| | | </el-table-column> |
| | | <el-table-column prop="baseId" label="所属事件编号" min-width="18"> |
| | | <el-table-column prop="code" label="所属事件编号" min-width="18"> |
| | | </el-table-column> |
| | | <el-table-column prop="category" label="问题类别" min-width="8"> |
| | | <template slot-scope="scope"> |
| | | <template v-if="scope.row.category" slot-scope="scope"> |
| | | <span>{{ getCategory(scope.row.category).label }}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="eventSource" label="事件来源" min-width="8"> |
| | | <template slot-scope="scope"> |
| | | <template v-if="scope.row.eventSource" slot-scope="scope"> |
| | | <span>{{ getEventSource(scope.row.eventSource).label }}</span> |
| | | </template> |
| | | </el-table-column> |
| | |
| | | </el-table> |
| | | <el-dialog |
| | | :visible.sync="isShowUploadDialog" |
| | | :destroy-on-close="true" |
| | | :key="dialogType" |
| | | width="40%" |
| | | :title="getDialogTitle" |
| | | > |
| | | <updateUser @closeDialog="closeDialog" :dialogType="dialogType" :originalData="originalData" /> |
| | | <updateUser v-if="isShowUploadDialog" @closeDialog="closeDialog" :dialogType="dialogType" :originalData="originalData" /> |
| | | </el-dialog> |
| | | <div class="tools"> |
| | | <div class="funs"> |
| | |
| | | dateParams.startTime = dateParams[0]; |
| | | dateParams.endTime = dateParams[1] |
| | | } |
| | | imageManagement.getImageResources({ current: this.currentPage, size: this.size, type: this.type, ...dateParams }) |
| | | imageManagement.getImageResources({ current: this.currentPage, size: this.pageSize, type: this.size, ...dateParams }) |
| | | .then(({ records, total }) => { |
| | | this.tableData = records; |
| | | this.totalNum = total; |
| | |
| | | |
| | | closeDialog() { |
| | | this.isShowUploadDialog = false; |
| | | this.getImageResourceList(); |
| | | }, |
| | | |
| | | getCategory(value) { |
| | |
| | | margin-bottom: 10px; |
| | | |
| | | .type-item { |
| | | width: 80px; |
| | | min-width: 80px; |
| | | text-align: center; |
| | | padding-right: 10px; |
| | | |
| | | &:hover { |
| | | cursor: pointer; |