| | |
| | | ></el-option> |
| | | </el-select> |
| | | </div> |
| | | |
| | | <div class="basic_search"> |
| | | <span>验收部门:</span> |
| | | <el-select v-model="filter.depId" clearable filterable class="analyseUnit_box"> |
| | | <el-option |
| | | v-for="item in departmentList" |
| | | :key="item.id" |
| | | :label="item.department" |
| | | :value="item.id" |
| | | ></el-option> |
| | | </el-select> </div> |
| | | <el-button class="filter-item" style="margin-left: 10px;" type="primary" icon="el-icon-search" |
| | | @click="queryHandle">搜索</el-button> |
| | | </div> |
| | |
| | | import {deleteHiddenDangerReport, hiddenDangerAcceptList} from "../../../../../api/hiddenDanger"; |
| | | import {safetyInspectionItemName} from "../../../../../api/safetySelfInspection"; |
| | | import AcceptDialog from "./components/acceptDialog"; |
| | | import {getAllProductionDeviceList} from "../../../../../api/riskSource"; |
| | | import {getDepartmentList} from "../../../../../api/departmentManage"; |
| | | |
| | | export default { |
| | | name: "rectify", |
| | |
| | | pageIndex:1, |
| | | pageSize:10, |
| | | checkAcceptPersonid: null, |
| | | depId: null, |
| | | } |
| | | } |
| | | }, |
| | | created() { |
| | | this.hiddenDangerList(); |
| | | this.getUser() |
| | | this.getDepartmentData() |
| | | }, |
| | | methods: { |
| | | queryHandle: function () { |
| | |
| | | } |
| | | }, |
| | | |
| | | |
| | | async getDepartmentData(){ |
| | | let res = await getDepartmentList({pageSize:1000,pageIndex:1}) |
| | | if(res.data.code === '200'){ |
| | | this.departmentList = res.data.result.result |
| | | }else{ |
| | | this.$message({ |
| | | message:res.data.message, |
| | | type:'warning' |
| | | }) |
| | | if(res.data.code === '50001'){ |
| | | this.riskSourceData = [] |
| | | } |
| | | } |
| | | }, |
| | | |
| | | hiddenDangerList(){ |
| | | this.listLoading = true |
| | | hiddenDangerAcceptList(this.filter) |