|
@@ -1,10 +1,10 @@
|
|
|
<template>
|
|
|
<div>
|
|
|
<el-dialog title="配案人员" :visible.sync="visible" width="1000px" :close-on-click-modal="false" :before-close="handleClose" append-to-body>
|
|
|
- <div style="height:calc(100vh - 250px)">
|
|
|
- <handelPersonTable :reportId="reportId" title="IPR" :type="1"></handelPersonTable>
|
|
|
+ <div style="height:calc(100vh - 250px)" v-if="visible">
|
|
|
+ <handelPersonTable :reportId="reportId" title="IPR" :type="1" @isUpdate="isUpdate"></handelPersonTable>
|
|
|
<div style="margin-top:25px">
|
|
|
- <handelPersonTable :reportId="reportId" title="代理所" :type="2"></handelPersonTable>
|
|
|
+ <handelPersonTable :reportId="reportId" title="代理所" :type="2" @isUpdate="isUpdate"></handelPersonTable>
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
@@ -23,6 +23,7 @@ export default {
|
|
|
return {
|
|
|
visible:false,
|
|
|
reportId:null,
|
|
|
+ update:false
|
|
|
};
|
|
|
},
|
|
|
watch: {},
|
|
@@ -32,11 +33,19 @@ export default {
|
|
|
methods: {
|
|
|
open(reportId){
|
|
|
this.reportId =reportId
|
|
|
+ this.update = false
|
|
|
this.visible = true
|
|
|
},
|
|
|
handleClose(){
|
|
|
this.visible = false
|
|
|
+ if(this.update){
|
|
|
+ this.$emit('updateHandlePerson',this.reportId)
|
|
|
+ }
|
|
|
+
|
|
|
},
|
|
|
+ isUpdate(val){
|
|
|
+ this.update = true
|
|
|
+ }
|
|
|
|
|
|
},
|
|
|
};
|