|
|
@@ -191,11 +191,12 @@ export default {
|
|
|
showModal: false,
|
|
|
showModal2:false,
|
|
|
submitting: false,
|
|
|
+ modified: false
|
|
|
}
|
|
|
},
|
|
|
methods:{
|
|
|
closeDialog() {
|
|
|
- this.$emit("close", false);
|
|
|
+ this.$emit("close", this.modified);
|
|
|
},
|
|
|
handleClick(){
|
|
|
|
|
|
@@ -284,7 +285,11 @@ export default {
|
|
|
//保存成功后回调
|
|
|
this.showModal = false;
|
|
|
//this.closeDialog();
|
|
|
- this.changePage(1,false);
|
|
|
+ this.modified = retObj;
|
|
|
+
|
|
|
+ if(retObj){
|
|
|
+ this.changePage(1,false);
|
|
|
+ }
|
|
|
},
|
|
|
exportXls() {
|
|
|
this.changePage(1,true);
|