diff --git a/src/views/sunVillage_info/list_complaint_add.vue b/src/views/sunVillage_info/list_complaint_add.vue
index 19180d0e..99362ec9 100644
--- a/src/views/sunVillage_info/list_complaint_add.vue
+++ b/src/views/sunVillage_info/list_complaint_add.vue
@@ -66,7 +66,7 @@
@delete="deleteFile1"
/>
-
+
{
if (r1.code == 200){
- that.$notify({ type: 'success', message: '新增成功' });
- setTimeout(function(){
- history.back(-1);
- },2000)
+ that.$notify({ type: 'success', message: '提交成功' });
+ if(this.$route.query.type != 'code'){
+ location.reload();
+ }else{
+ setTimeout(function(){
+ history.back(-1);
+ },2000)
+ }
}
})
},