lyfO_o
2022-06-13 fe2617a36f52c16f83e7d3cb19d911bb91a3b79f
src/views/doublePreventAction/riskLevelManage/safetyRiskSpace/index.vue
@@ -232,6 +232,7 @@
                        descInfo: null,
                        img: null,
                    }
                    this.fileList = []
                }else{
                    this.title = '查看'
                    this.safetyRiskSpaceForm = value
@@ -241,7 +242,6 @@
            submitSafetyRiskSpace(){
                this.$refs["safetyRiskSpaceForm"].validate((valid) =>{
                    if(valid){
                        debugger
                        addSafetyRiskSpace(this.safetyRiskSpaceForm).then((res)=>{
                            if(res.data.code === '200'){
                                this.safetyRiskSpaceVisible = false
@@ -292,7 +292,6 @@
            },
            onFileSuccess(response){
                if(response.code === '200'){
                    debugger
                    this.safetyRiskSpaceForm.img = response.result.path
                    this.fileList = []
                    this.fileList.push({url:process.env.IMG_API + response.result.path})
@@ -310,7 +309,6 @@
                }
            },
            handleFile(file){
                debugger
                this.dialogImageUrl = file.url;
                this.dialogVisible = true;
            },