| | |
| | | import reportView from "../components/reportView"; |
| | | import rectifyDialog from "./components/rectifyDialog"; |
| | | import {deleteHiddenDangerReport} from "../../../../../api/hiddenDanger"; |
| | | import {getDepartmentList} from "../../../../../api/departmentManage"; |
| | | |
| | | export default { |
| | | name: "rectify", |
| | |
| | | }, |
| | | created() { |
| | | this.hiddenDangerList(); |
| | | |
| | | this.getDepartmentData() |
| | | }, |
| | | methods: { |
| | | queryHandle: function () { |
| | |
| | | window.open(fileurl, '_blank'); |
| | | }, |
| | | |
| | | |
| | | 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 |