Your Name
2022-07-23 a3bd29f6e592bde951b309f6f628d158cfc7c6c3
src/views/doublePreventAction/riskLevelManage/safetyRiskSpace/index.vue
@@ -232,16 +232,17 @@
                        descInfo: null,
                        img: null,
                    }
                    this.fileList = []
                }else{
                    this.title = '查看'
                    this.safetyRiskSpaceForm = value
                    this.fileList = []
                    this.fileList.push({url:value.img})
                }
            },
            submitSafetyRiskSpace(){
                this.$refs["safetyRiskSpaceForm"].validate((valid) =>{
                    if(valid){
                        debugger
                        addSafetyRiskSpace(this.safetyRiskSpaceForm).then((res)=>{
                            if(res.data.code === '200'){
                                this.safetyRiskSpaceVisible = false
@@ -292,7 +293,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 +310,6 @@
                }
            },
            handleFile(file){
                debugger
                this.dialogImageUrl = file.url;
                this.dialogVisible = true;
            },