Browse Source

修改关闭标签页方法

xuefy 3 years ago
parent
commit
ec5973c7e4

+ 1 - 2
flowable-front/src/components/views/deal.vue

@@ -379,8 +379,7 @@
 							});
 							this.attachmentVisible = false;
 							this.tableloading = false;
-							window.parent.goParent();
-							// this.closeDeal();
+							this.closeDeal();
 						} else {
 							this.$message.error({message : response.data.message, offset : 70});
 							this.tableloading = false;

+ 2 - 1
flowable-front/src/components/views/openDeal.vue

@@ -130,7 +130,8 @@ import { METHODS } from 'http';
                     })
                 },
             closeDealVue(){
-                history.go(-1);
+                // history.go(-1);
+                window.parent.goParent();
                 // alert("关闭此窗口!");
             },
             getQueryString(name) {