| | |
| | | @selection-change="tableChange"> |
| | | <el-table-column type="selection" min-width="5"> |
| | | </el-table-column> |
| | | <el-table-column prop="id" label="事件编号" min-width="10"> |
| | | <el-table-column prop="code" label="事件编号" min-width="10"> |
| | | <template slot-scope="scope"> |
| | | <el-link @click="JumpView(scope.row)">{{scope.row.id}}</el-link> |
| | | <el-link @click="JumpView(scope.row)">{{scope.row.code}}</el-link> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="eventSource" label="问题来源" min-width="10"> |
| | | <template slot-scope="scope"> |
| | | <span>{{scope.row.eventSource === 2 ? '人工上报' : '视频上传'}}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="category" label="大类名称" min-width="10"> |
| | | </el-table-column> |
| | |
| | | <el-table-column prop="operation" label="操作" min-width="20"> |
| | | <template slot-scope="scope"> |
| | | <div class="btn"> |
| | | <span @click="opernDialog(scope.row)">重新处置</span> |
| | | <span @click="handleReset(scope.row)">重新处置</span> |
| | | </div> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | <!-- 查看修改页面 --> |
| | | <!-- <el-dialog :visible.sync="dialogUpdate" width="80%" title="基础信息(人工)" |
| | | v-if="dialogUpdate" :before-close="handleClose"> |
| | | <updateUser :info=info /> |
| | | </el-dialog> --> |
| | | <!-- 详情页展示 --> |
| | | <el-dialog :visible.sync="dialogView" width="80%" title="基础信息(人工)" v-if="dialogView" |
| | | :before-close="handleClose"> |
| | |
| | | <el-checkbox v-model="unsame" @change="disSame(tableData)">反选</el-checkbox> |
| | | </div> |
| | | <div class="funsItem"> |
| | | <el-select v-model="myIdx" placeholder="批量操作" @change="selectChange"> |
| | | <el-select v-model="myIdx" placeholder="批量操作" @change="selectChange" disabled> |
| | | <el-option v-for="item in options" :key="item.value" :label="item.label" |
| | | :value="item.value" :disabled="item.disabled"> |
| | | </el-option> |
| | |
| | | this.dialogView = true; |
| | | }) |
| | | }, |
| | | opernDialog(data){ |
| | | this.dialogUpload = true; |
| | | this.caseId = data.id; |
| | | // console.log(data); |
| | | // opernDialog(data){ |
| | | // this.dialogUpload = true; |
| | | // this.caseId = data.id; |
| | | // // console.log(data); |
| | | // }, |
| | | // 重新处置 |
| | | handleReset({id}){ |
| | | console.log(id); |
| | | this.$axios({ |
| | | method:'put', |
| | | url:'sccg/base_case/case_status_update?caseId='+id+'&state=0' |
| | | }) |
| | | .then(res=>{ |
| | | console.log(res); |
| | | if(res.code === 200){ |
| | | this.$message({ |
| | | type:'success', |
| | | message:'处置成功', |
| | | }) |
| | | this.getUserList(); |
| | | }else{ |
| | | this.$message({ |
| | | type:'error', |
| | | message:'操作失败' |
| | | }) |
| | | } |
| | | }) |
| | | }, |
| | | // 关闭上传界面 |
| | | closeDialog({flag}){ |
| | |
| | | margin-top: 20px; |
| | | padding-bottom: 50px; |
| | | border: 1pox solid #fff; |
| | | |
| | | .btn span:hover{ |
| | | cursor: pointer; |
| | | } |
| | | .type-nav { |
| | | display: flex; |
| | | line-height: 40px; |