| | |
| | | <span>{{ scope.row.eventSource === 2 ? '人工上报' : '视频上传' }}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column :prop="myproblem === 1 ? 'category' : 'category'" |
| | | :label="myproblem === 1 ? '大类名称' : '违建类别'" :min-width="myproblem === 1 ? '10' : '20'"> |
| | | </el-table-column> |
| | | <el-table-column :prop="myproblem === 1 ? 'categories' : 'site'" |
| | | :label="myproblem === 1 ? '小类名称' : '违建地点'" min-width="10"> |
| | | </el-table-column> |
| | | <el-table-column :prop="myproblem === 1 ? 'actionCause' : 'communityId'" |
| | | :label="myproblem === 1 ? '案由' : '所属社区'" min-width="10"> |
| | | </el-table-column> |
| | | <el-table-column :prop="myproblem === 1 ? 'site' : ''" |
| | | :label="myproblem === 1 ? '报警点位' : '违法建筑长、宽、高'" :min-width="myproblem === 1 ? '10' : '20'"> |
| | | <template slot-scope="scope"> |
| | | <div v-if="myproblem === 2"><span>{{ scope.row.buildingLength + '米' + '、' + |
| | | scope.row.buildingWidth + '米' + '、' + scope.row.buildingHigh + '米' |
| | | }}</span></div> |
| | | <div v-else>{{ scope.row.site }}</div> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column :prop="myproblem === 1 ? 'street' : 'buildingArea'" |
| | | :label="myproblem === 1 ? '所属区域' : '违法建筑面积'" min-width="10"> |
| | | <el-table-column prop="communityText" label="社区" min-width="8"> |
| | | </el-table-column> |
| | | <el-table-column prop="alarmTime" label="报警时间" min-width="15" v-if="myproblem === 1"> |
| | | <template slot-scope="scope"> |
| | | <span>{{ filterTime(scope.row.alarmTime) }}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column :prop="myproblem === 1 ? 'continueTime' : 'materials'" |
| | | :label="myproblem === 1 ? '持续时间' : '违法建筑材料'" min-width="15"> |
| | | </el-table-column> |
| | | </el-table> |
| | | <!-- 审核页面 --> |
| | |
| | | <div class="tools"> |
| | | <div class="funs"> |
| | | <div class="funsItem funs-sp"> |
| | | <el-checkbox v-model="all" @change="selectAll()">全选</el-checkbox> |
| | | <el-checkbox v-model="all" @change="selectAll()" |
| | | :disabled="tableData.length === 0">全选</el-checkbox> |
| | | </div> |
| | | <div class="funsItem funs-sp"> |
| | | <el-checkbox v-model="unsame" @change="disSame(tableData)">反选</el-checkbox> |
| | |
| | | getList() { |
| | | casequery.baseCaseQuery({ current: this.currentPage, pageSize: this.pageSize, ...this.searchData }) |
| | | .then((res) => { |
| | | this.tableData = res; |
| | | this.tableData = res.records; |
| | | this.totalNum=res.total; |
| | | }) |
| | | .catch(err => this.$message({ type: 'error', message: err })) |
| | | .catch(err => { |
| | | this.tableData = []; |
| | | }) |
| | | }, |
| | | // 设置表格斑马纹 |
| | | tableRowClassName({ row, rowIndex }) { |