提交 4be30207 编写于 作者: haochangdi's avatar haochangdi

修复刷新的问题

上级 e6a0fb85
......@@ -16,12 +16,15 @@
:circleId='circleId'
:roleType='roleType'
@setOrgTotal="setOrgTotal"
@refreshRenYuan='refreshRenYuan'
ref='org'
></org>
<renyaun
v-show="tab == 2"
:circleId='circleId'
:roleType='roleType'
@setPleTotal="setPleTotal"
ref='renyaun'
></renyaun>
</div>
</div>
......@@ -91,6 +94,9 @@ export default {
},
getRole() {
this.role = localStorage.getItem("highMainManager") || localStorage.getItem("mainManager") || (localStorage.getItem("storageIdType") == 1 ? 1 : 0)
},
refreshRenYuan() {
this.$refs.renyaun.initRange()
}
}
}
......
......@@ -390,6 +390,7 @@ export default {
});
this.deleteVisible = false
this.searchOrganization()
this.$emit('refreshRenYuan')
}
}).catch(() => {
this.deleteVisible = false
......@@ -412,7 +413,8 @@ export default {
},
addOrg() {
this.dialogOrg = false
this.initRange()
this.searchOrganization()
this.$emit('refreshRenYuan')
}
}
}
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册