Your Name
2022-08-31 9f0eeddb0d3977dd39f3e317fedc50faf389c375
src/views/doublePreventAction/hiddenDanger/hiddenDangerReform/rectify/index.vue
@@ -95,6 +95,7 @@
    import reportView from "../components/reportView";
    import rectifyDialog from "./components/rectifyDialog";
    import {deleteHiddenDangerReport} from "../../../../../api/hiddenDanger";
    import {getDepartmentList} from "../../../../../api/departmentManage";
    export default {
        name: "rectify",
@@ -130,7 +131,7 @@
        },
        created() {
            this.hiddenDangerList();
            this.getDepartmentData()
        },
        methods: {
            queryHandle: function () {
@@ -162,7 +163,20 @@
                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