|
@@ -76,7 +76,7 @@
|
|
|
</span>
|
|
|
</s-table>
|
|
|
</a-spin>
|
|
|
- <userModal :visible="showModal" @refresh="$refs.table.refresh(true)" :nowData="itemData" @close="showModal = false"></userModal>
|
|
|
+ <userModal :visible="showModal" @refresh="$refs.table.refresh(true)" :nowData="itemData" @close="closeModal"></userModal>
|
|
|
<!-- 分区设置 -->
|
|
|
<UpdateArea ref="UpdateArea" :openUdModal="openUdModal" @ok="$refs.table.refresh(true)" @close="openUdModal=false"></UpdateArea>
|
|
|
</a-card>
|
|
@@ -140,6 +140,10 @@ export default {
|
|
|
this.showModal = true
|
|
|
this.itemData = null
|
|
|
},
|
|
|
+ closeModal () {
|
|
|
+ this.showModal = false
|
|
|
+ this.itemData = null
|
|
|
+ },
|
|
|
// 重置
|
|
|
reset () {
|
|
|
this.queryParam.name = ''
|